/* === Giftorea — CSS-only Floating Background (no parallax, clear motion) === */
:root{
  /* brand + glass tokens */
  --navy:#0B2A4A; --light-blue:#A8D4FF; --purple:#6B4BFF; --pink:#E38CFF;
  --bg:#F5F7FA; --text:#1B2B3A; --muted:#5B6B7C;
  --glass-bg: rgba(255,255,255,0.45); --glass-border: rgba(255,255,255,0.60);
  --glass-blur: blur(30px); --glass-webkit: blur(30px);
  --radius:18px; --shadow: 0 6px 18px rgba(6,24,44,.10);

  /* base gradient */
  --bg-top:#F7F9FE; --bg-mid:#F1F6FE; --bg-bot:#EAF1FB;

  --veil: 0.06;
}

html, body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  overflow-x:hidden;
  background:transparent !important;
}

/* hero banner */
.banner-container{
  width:100%;
  aspect-ratio: 14 / 5;       /* desktop/tablet */
}
@media (max-width:768px){
  .banner-container{ aspect-ratio: 1 / 1; } /* mobile = square */
}

/* make the image fill the box cleanly */
.banner-container picture,
.banner-container img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}


/* ===== Fixed background holder ===== */
.site-bgmesh{
  position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; isolation:isolate;
  background:
    radial-gradient(420px 300px at 14% 16%, rgba(120,170,255,0.16) 0%, transparent 60%),
    radial-gradient(460px 340px at 86% 56%, rgba(150,180,220,0.14) 0%, transparent 62%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 44%, var(--bg-bot) 100%);
  background-attachment:fixed;
}

/* Frost veil ABOVE blobs, BELOW content */
.site-bgmesh::after{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(100,140,220, calc(var(--veil) * 0.40)) 0%, transparent 20%),
    linear-gradient(0deg,  rgba(100,140,220, calc(var(--veil) * 0.30)) 0%, transparent 26%),
    rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ===== Mesh plates — always floating (no scroll coupling) ===== */
.mesh{
  position:absolute;
  width:var(--mesh-w, 200px);
  height:var(--mesh-h, 140px);
  filter:saturate(120%);
  opacity:.30; /* visible */
  will-change:transform, opacity;
  pointer-events:none;
  background:
    radial-gradient(100% 100% at 30% 40%, rgba(78,162,255,.22), transparent 70%),
    radial-gradient(80% 70% at 70% 60%, rgba(141,178,238,.16), transparent 70%);
}

/* A — top-left (smaller on mobile) */
.mesh.m-a{
  --mesh-w: clamp(150px, 26vw, 460px);
  --mesh-h: calc(var(--mesh-w) * .68);
  top:-16px; left:-48px;                 /* moved further left for spacing */
}

/* B — right middle (more spacing from center) */
.mesh.m-b{
  --mesh-w: clamp(170px, 30vw, 520px);
  --mesh-h: calc(var(--mesh-w) * .68);
  top:50%; right:-90px;                  /* pushed further right for separation */
  transform: translateY(-48%);           /* anchor to vertical center-ish */
  opacity:.28;
  background:
    radial-gradient(120% 90% at 70% 30%, rgba(158,188,255,.18), transparent 68%),
    radial-gradient(90% 80% at 30% 70%, rgba(120,168,255,.14), transparent 72%);
}

/* ===== Blobs — reduced blur + offset to avoid crowding ===== */
.blob{
  position:absolute;
  width:var(--blob, 340px); height:var(--blob, 340px);
  filter:blur(24px) saturate(120%);
  opacity:.28;
  mix-blend-mode:multiply;
  background: radial-gradient(circle at 30% 30%, #4ea2ff, #0b1e3a);
  will-change:transform, opacity;
}
.blob.one{ left:-130px; top:10vh; }      /* a bit higher & left */
.blob.two{
  right:-160px; bottom:14vh;              /* a bit lower & right */
  background: radial-gradient(circle at 70% 70%, #0b1e3a, #4ea2ff);
}

/* Rays (subtle) */
.rays{
  position:absolute; inset:-12%;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(255,255,255,.06) 36%,
      rgba(255,255,255,.12) 50%,
      rgba(255,255,255,.06) 64%,
      transparent 100%);
  opacity:.06;
}
/* 2) Let the browser skip painting closed categories until opened */
.gft-cat { content-visibility: auto; contain-intrinsic-size: 1px 900px; }

/* Reusable centered container */
.container-xl{
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (max-width:768px){
  .container-xl{ padding-inline: 10px; }
}

/* Lift normal page sections above the fixed background */
.site-layer,
.gft-hero-content,
.gallery-container,
#gftIndustrySlider,
#gft-categories,
.gft-marquee-stack {
  position: relative;
  z-index: 2;
}

/* ===== Responsive scaling & extra spacing on small screens ===== */
@media (max-width: 767px){
  .mesh.m-a{ --mesh-w: clamp(140px, 42vw, 280px); top:-12px; left:-42px; }
  .mesh.m-b{ --mesh-w: clamp(160px, 46vw, 300px); top:64%; right:-66px; transform:translateY(-50%); }
  .blob{ --blob: 300px; filter:blur(22px); }
}
@media (min-width: 1024px){
  .mesh.m-a{ --mesh-w: clamp(320px, 30vw, 560px); }
  .mesh.m-b{ --mesh-w: clamp(360px, 32vw, 620px); right:-100px; }
  .blob{ --blob: 520px; filter:blur(28px); }
}
@media (min-width: 1440px){
  .mesh.m-a{ --mesh-w: clamp(460px, 28vw, 720px); }
  .mesh.m-b{ --mesh-w: clamp(520px, 30vw, 800px); right:-120px; }
  .blob{ --blob: 640px; filter:blur(30px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .mesh, .blob, .rays{ animation:none !important; }
}

/* Giftorea • Boot Gate (glassmorphism, minimal) */
#gft-gate{
  position: fixed; inset: 0; z-index: 99999;
  display: grid; place-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.gft-gate-card{
  min-width: 220px;
  padding: 16px 18px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.74));
  border: 1px solid rgba(11,42,74,.14);
  box-shadow: 0 20px 60px rgba(11,30,58,.18);
  display:flex; align-items:center; gap:12px;
  color:#0B2A4A; font-weight:900; letter-spacing:.2px;
}
.gft-gate-spinner{
  width: 16px; height: 16px; border-radius: 999px;
  border: 2px solid rgba(11,42,74,.25);
  border-top-color: #0B2A4A;
  animation: gftspin .8s linear infinite;
}
.gft-gate-text{ margin: 0; font-size: 14px; }
@keyframes gftspin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce){
  .gft-gate-spinner{ animation: none; }
}

/* HERO WRAPPER LAYOUT */
.gft-hero-wrap{
  max-width:1400px;
  margin:0 auto;
  padding:0 16px 8px;
  display:grid;
  grid-template-rows:auto auto;
  row-gap:12px;
}
@media (max-width:640px){
  .gft-hero-wrap{ padding:0 10px 8px; row-gap:10px; }
}

.gft-hero-marquee-slot{ /* full width row for the marquee */ }
.gft-hero-content-slot{ /* row for the text */ }

/* === GFT Marquees (Blue Glass) — Shared CSS === */

/* Wrapper: smaller top margin; even smaller on mobile */
.gft-marquee-stack{ margin-top: 28px; 
margin-bottom: 28px;}
@media (max-width:768px){ .gft-marquee-stack{ margin-top: 16px; margin-bottom: 16px; }}

/* Direction via CSS (no JS direction) */
.gft-marquee.dir-left  { --dir: -1; }
.gft-marquee.dir-right { --dir:  1; }

/* Each marquee (keep your blue glass look) */
.gft-marquee{
  position: relative;
  width: 100%;
  margin-inline: clamp(8px, 2vw, 16px);
  overflow: hidden;
  border-radius: 18px;

  min-height: 52px;
  display: flex;
  align-items: center;

  background:
    radial-gradient(130% 160% at 10% 0%,
      rgba(56, 132, 255, 0.22),
      rgba(39, 77, 141, 0.18) 60%
    ),
    linear-gradient(180deg,
      rgba(39, 77, 141, 0.36),
      rgba(56, 132, 255, 0.28)
    );
  border: 1px solid rgba(168, 212, 255, 0.30);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.18);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

/* Tighter gap between marquees */
.gft-marquee + .gft-marquee{ margin-top: 6px; }
@media (max-width:768px){ .gft-marquee + .gft-marquee{ margin-top: 4px; } }

/* Tracks: transform driven by CSS variables */
.gft-marquee__track{
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  padding-block: 10px; /* vertical only */
  margin: 0;
  transform: translateZ(0.001px);
}

/* Clone sits next to the original by formula below */
.gft-marquee__track--clone{
  position: absolute; top: 0; left: 0;
}

/* Items */
.gft-marquee__item{
  display: inline-flex; align-items: center; gap: 10px;
  padding-inline: clamp(16px, 2.4vw, 32px);
  font-weight: 700; letter-spacing: 0.2px;
  color: #f0f6ff; text-shadow: 0 1px 0 rgba(0,0,0,0.25);
  opacity: .98; user-select: none;
}

/* Seamless translate based on CSS variables:
   --dir  : -1 (left) or 1 (right)
   --x    : current offset (px) set by JS
   --w    : track width (px) set by JS
*/
.gft-marquee.dir-left  .gft-marquee__track{ transform: translate3d(calc(var(--dir) * var(--x)), 0, 0); }
.gft-marquee.dir-left  .gft-marquee__track--clone{ transform: translate3d(calc(var(--dir) * (var(--x) - var(--w))), 0, 0); }

.gft-marquee.dir-right .gft-marquee__track{ transform: translate3d(calc(var(--dir) * var(--x)), 0, 0); }
.gft-marquee.dir-right .gft-marquee__track--clone{ transform: translate3d(calc(var(--dir) * (var(--x) - var(--w))), 0, 0); }

@media (max-width:768px){
  :root{ --mobile-gutter: 8px; } /* tweak: 6–12px = slight gutters */
  .gft-marquee{
    margin-inline: 0;
    width: calc(100vw - var(--mobile-gutter) * 2); /* equal space left/right */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 14px;
  }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .gft-marquee__track,
  .gft-marquee__track--clone{
    transform: none !important; position: static !important;
  }
}

.banner-container {
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;

}

.banner-container img {
    width: 100%;
    height: auto;
    display: block;
}

.gft-content-container{
    max-width: 1400px;
}

/* HERO CONTENT STYLES */
.gft-hero-content{
    padding:24px 0 4px; text-align:center;
    max-width: 1400px;
    direction: rtl;
    margin:20px auto;
}
.gft-hero-content h1{font-size:clamp(30px,4.6vw,54px); margin:30px 0 10px; color:var(--navy);}
.gft-hero-lead{max-width:980px; margin:8px auto 0; color:#314355; font-size:clamp(15px,2.2vw,18px);}
.gft-hero-bullets{display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:16px;}
.gft-pill{background:rgba(168,212,255,.3); border:1px solid rgba(168,212,255,.6); color:var(--navy); padding:8px 12px; border-radius:999px; font-weight:700; font-size:14px;}
.gft-hero-subcopy{max-width:1024px; margin:16px auto 0; color:#405063; line-height:1.75;}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    direction: rtl;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Tablet - 2 images per row */
@media (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile - 1 image per row */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
    .gallery-item{
      width: 80%;
      margin-inline: auto;      /* horizontal centering */
    }
}

/* ===== OFFERS INTRO — Ultra-polished, text-only ===== */
.gft-offers-copy.pro{
  text-align: right;
  margin-block: clamp(16px, 5vw, 42px);
  /* keep it snug to what follows without feeling cramped */
}

/* Grand headline with iridescent ink + living underline (inside the glyphs only) */
.gft-hero-text{
  --ink1: color-mix(in oklab, var(--navy, #0f172a) 95%, #2b5fb8 5%);
  --ink2: #164067;
  --ink3: #2c6bdc;
  --ink4: #0f233f;

  font-weight: 1000;
  font-size: clamp(28px, 6.2vw, 64px);
  line-height: 1.06;
  letter-spacing: .01em;
  margin: 0 0 clamp(6px, 1.6vw, 12px);
  text-wrap: balance;

  /* gradient ink inside text only */
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;

  /* Layer 1: base duotone ink
     Layer 2: subtle “chrome” highlight that glides across */
  background-image:
    linear-gradient(100deg, var(--ink1) 0%, var(--ink2) 35%, var(--ink3) 60%, var(--ink4) 100%),
    linear-gradient(110deg, transparent 45%, rgba(255,255,255,.85) 50%, transparent 55%);
  background-size: 200% 100%, 280% 100%;
  background-position: 0% 50%, -180% 50%;

  /* crisp edges + depth, without any box UI */
  -webkit-text-stroke: .5px rgba(255,255,255,.25);
  text-shadow:
    0 1px 0 rgba(255,255,255,.18),
    0 10px 28px rgba(10,30,60,.16);
     background-position: 0% 50%, -180% 50%; /* Keep static position */
  position: relative;
}

/* Small, elegant underline that breathes */
.gft-hero-text::after{
  content:"";
  display:block;
  height: 4px;
  width: clamp(120px, 42%, 380px);
  margin-top: clamp(8px, 1.6vw, 12px);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(36,118,196,.95), rgba(11,42,74,.95));
  box-shadow:
    0 1px 0 rgba(255,255,255,.25) inset,
    0 8px 22px rgba(20,60,100,.18);
  transform-origin: right center;
}

/* Exclamation gets a tiny lift */
.gft-hero-text .bang{
  display:inline-block;
  transform: translateY(-2px);
}

/* Subline: confident, readable, premium */
.gft-hero-sub{
  margin: 0;
  font-weight: 700;
  font-size: clamp(15px, 2.6vw, 20px);
  line-height: 1.9;
  letter-spacing: .005em;
  color: color-mix(in oklab, var(--navy, #0f172a) 96%, #000 4%);
  text-wrap: pretty;
}
/* ——— Social proof: minimal, elegant ——— */
.gft-proof-wrap{
  max-width: 1400px;           /* same page max width */
  margin: 12px auto 14px;      /* tiny space above industries */
  padding: 0 16px;
}

.gft-proof{
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5ch;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--navy, #0b2a4a);
  font-weight: 800;
  letter-spacing: .01em;
  font-size: clamp(16px, 2.4vw, 22px);
}

/* “300+” — gradient ink, subtle sheen */
.gft-proof__num{
  position: relative;
  font-weight: 1000;
  font-size: clamp(20px, 3.8vw, 32px);
  background-image: linear-gradient(90deg, #2c6bdc, #6b4bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
}
@media (hover:hover){
  .gft-proof__num{ filter: saturate(1.06); }
}

/* Underline highlight on “خليك التالي” (no box) */
.gft-proof__cta{
  position: relative;
  font-weight: 1000;
}
.gft-proof__cta::after{
  content:"";
  position:absolute; left:0; right:0; bottom:.08em;
  height:.52em;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(36,118,196,.22), rgba(11,42,74,.18));
  z-index:-1;
}

/* Slight emphasis on “ما تتنساش” */
.gft-proof__pop{
  font-weight: 900;
  letter-spacing: .01em;
  filter: saturate(1.05);
}

/* Respect reduced-motion users (no animation here, just in case later) */
@media (prefers-reduced-motion: reduce){
  .gft-proof__num,
  .gft-proof__cta::after{ animation: none !important; }
}

/* Hover niceties (desktop) */
@media (hover:hover){
  .gft-hero-text{
    transition: filter .35s ease, text-shadow .35s ease;
  }
  .gft-hero-text:hover{
    text-shadow:
      0 1px 0 rgba(255,255,255,.2),
      0 12px 34px rgba(20,60,110,.22);
    filter: saturate(1.05);
  }
}

/* Reduced motion: keep the look, pause the motion */
@media (prefers-reduced-motion: reduce){
  .gft-hero-text{ animation: none; background-position: 0% 50%, -180% 50% !important; }
  .gft-hero-text::after{ animation: none; }
}


/* Fallback for browsers without background-clip:text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)){
  .gft-hero-text{
    color: var(--navy, #0f172a);
    -webkit-text-stroke: 0;
    text-shadow: 0 1px 0 rgba(255,255,255,.18);
    background: none;
  }
}


/* OFFERS BANNER */
.gft-offers{position:relative;margin:24px 0;overflow:hidden;border-radius:12px;box-shadow:0 10px 26px rgba(6,24,44,.10)}
.gft-offersTrack{display:flex;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.gft-slide{min-width:100%;height:clamp(220px, 34vw, 420px);position:relative}
.gft-slide img{width:100%;height:100%;object-fit:cover;display:block;image-rendering:auto}
.gft-cta{position:absolute;right:14px;bottom:14px;background:#fff;color:var(--navy);padding:10px 14px;border-radius:12px;font-weight:900;border:0;box-shadow:0 6px 16px rgba(0,0,0,.12);cursor:pointer}
.gft-offerArrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.9);border:0;border-radius:999px;width:38px;height:38px;display:grid;place-items:center;box-shadow:0 10px 20px rgba(0,0,0,.12);cursor:pointer}
.gft-offerArrow.left{left:10px} .gft-offerArrow.right{right:10px}
.gft-offerDots{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.gft-dot{width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.8)}
.gft-dot.active{background:#fff}


 .slider-container {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1400 / 500; /* ✅ Forces 1400:500 ratio */
}


.slider-wrapper {
    height: 100%;
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    flex-shrink: 0;
    height: 100%;
    position: relative;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ Back to cover */
    object-position: center center; /* ✅ Center the image */
    display: block;
}

.slide .mobile-img {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.cta-button {
    position: absolute;
    bottom: 30px;
    right: 30px;
    padding: 14px 35px;
    background: rgba(15, 35, 80, 0.3);
    backdrop-filter: blur(30px);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    z-index: 10;
}

.dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .slider-container { aspect-ratio: 1 / 1;}
    .slide .desktop-img { display: none; }
    .slide .mobile-img { display: block; }
    .cta-button { right:20px; padding: 10px 22px; border-radius: 10px; font-size: 10px;}
    .dots { bottom: 16px;}
.dot {width: 8px; height: 8px;}
.slider-btn { font-size: 30px; width: 50px; height: 50px; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
}

/* INDUSTRIES */
.gft-sec-title{
  margin:0 0 8px;
  color:var(--navy);
  font-weight:900;
}


/* ---------- Slider (use the SAME drag/scroll behavior as product cards) ---------- */
.gft-industry-slider{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:visible;
  padding:10px 6px;
  margin-bottom: 48px;

  /* hide native bars */
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.gft-industry-slider::-webkit-scrollbar{display:none}

/* Match product cards’ interaction flags */
.gft-industry-slider{
  cursor:grab;
  touch-action: pan-y;                   /* same as .gft-cards */
}
.gft-industry-slider.dragging{           /* same class name used by the JS above */
  cursor:grabbing;
  user-select:none;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  -webkit-touch-callout:none;
}
.gft-industry-slider.dragging a{ pointer-events:none; }
.gft-industry-slider.dragging img{ pointer-events:none; }

/* Card = full clickable glass tile */
.gft-industry-card{
  --tile-br: 18px;
  min-width: 180px;
  height: 140px;
  display:grid;
  grid-template-rows: 1fr auto;
  align-items:center;
  justify-items:center;
  gap:10px;
  position:relative;
  padding:16px;
  border-radius: var(--tile-br);
  background: var(--glass-bg);
  border:1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  text-decoration:none;
  scroll-snap-align:start;
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
}
.gft-industry-card::before{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  background:
    radial-gradient(90% 70% at 12% -10%, rgba(255,255,255,.18), transparent 48%),
    radial-gradient(110% 80% at 110% 120%, rgba(255,255,255,.08), transparent 42%);
  pointer-events:none;
}
.gft-industry-card::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius:inherit;
  background: conic-gradient(from 180deg at 50% 50%, rgba(255,255,255,.0), rgba(255,255,255,.22), rgba(255,255,255,.0));
  opacity:0; transition: opacity .25s ease;
  pointer-events:none;
}
.gft-industry-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  border-color: rgba(255,255,255,.45);
}
.gft-industry-card:hover::after{ opacity:.9; }
.gft-industry-card:active{
  transform: translateY(-1px) scale(0.985);
  filter: brightness(0.98);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Emoji + Label */
.gft-industry-card .emoji{
  font-size:42px;
  line-height:1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.08));
}
.gft-industry-card strong{
  font-weight:900;
  color:var(--navy);
  font-size:0.98rem;
  letter-spacing:.2px;
}

/* Glass arrow chip — TOP RIGHT */
.gft-industry-card .go{
  position:absolute;
  top:10px; right:10px;
  width:34px; height:34px;
  border-radius:12px;
  display:grid; place-items:center;
  font-style:normal; font-weight:900;
  line-height:1; font-size:16px;
  color:#fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)),
    color-mix(in oklab, var(--navy) 76%, transparent);
  border:1px solid color-mix(in oklab, var(--navy) 48%, #fff 22%);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,.16), inset 0 0 0 0 rgba(255,255,255,.0);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease;
  pointer-events:none;
}
.gft-industry-card:hover .go{
  transform: translateX(1px) translateY(-1px) rotate(3deg);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.gft-industry-card:active .go{
  transform: translateX(0) translateY(0) scale(0.98);
  opacity: .95;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .gft-industry-card,
  .gft-industry-card .go{ transition: none; }
}

/* Responsive */
@media (max-width:540px){
  .gft-industry-card{
    min-width: 170px;
    height: 132px;
    padding:14px;
  }
  .gft-industry-card .emoji{ font-size:38px; }
  .gft-industry-card strong{ font-size:0.95rem; }
}

/* =========================
   CATEGORIES & PRODUCT CARDS
   ========================= */
   
.gft-sec-title{
  margin:0 0 8px;
  color:var(--navy);
  font-weight:900;
}
@media (max-width:768px){
.gft-sec-title {font-size: 20px;}
 .slider-container {margin-top: 0;}
  .gallery-container { margin-bottom: 20px;}
}
/* Category block */
.gft-cat{
  margin-bottom:16px;
  border:1px solid var(--glass-border);
  border-radius:var(--radius);
  background:var(--glass-bg);
  overflow:visible;
  backdrop-filter: var(--glass-blur);
  --cat-anim: .26s;
}
.gft-cat > summary{
  cursor:pointer;
  padding:14px 18px;
  font-weight:800;
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  position:relative;
  -webkit-tap-highlight-color: rgba(36,118,196,.25);
}
.gft-cat > summary::-webkit-details-marker{display:none}

/* Caret AFTER the text */
.gft-cat > summary::after{
  content:'';
  width:10px; height:10px; display:inline-block;
  border-right:2px solid var(--navy);
  border-bottom:2px solid var(--navy);
  border-radius:2px;
  margin-left:8px;
  transform:rotate(-45deg);
  transition:transform .22s cubic-bezier(.2,.7,.2,1);
  transform-origin:50% 50%;
}
.gft-cat[open] > summary::after{ transform:rotate(45deg); }
.gft-cat > summary:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(82,141,255,.35) inset;
  border-radius:8px;
}

/* Content fade (height anim handled by JS) */
.gft-cat > :not(summary){
  opacity:0;
  transform:translateY(-4px);
  transition:opacity var(--cat-anim) ease, transform var(--cat-anim) ease;
  will-change:opacity, transform;
}
.gft-cat[open] > :not(summary){
  opacity:1;
  transform:translateY(0);
}

/* Horizontal rows */
.gft-cards{
  display:flex;
  gap:16px;
  overflow-x:auto;
  overflow-y:visible; /* important for inner elements; portal fixes any clipping anyway */
  padding:20px 6px 22px;
  scrollbar-width:none;
  -ms-overflow-style:none;
  cursor:grab;
  touch-action:pan-y;
}
.gft-cards::-webkit-scrollbar{display:none}
.gft-cards.dragging{ cursor:grabbing; user-select:none; }
.gft-cards.dragging .gft-stepper,
.gft-cards.dragging .gft-stepper * ,
.gft-cards.dragging .gft-view{ pointer-events:none; }

.gft-cards.dragging,
.gft-cards.scrolling {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}
.gft-cards.dragging img,
.gft-cards.scrolling img { pointer-events: none; }

/* Product card */
.gft-card{
  display:flex;
  gap:clamp(10px,2.4vw,20px);
  align-items:center;
  min-width:clamp(280px,58vw,520px);
  padding:clamp(14px,3.2vw,20px);
  border-radius:var(--radius);
  background:var(--glass-bg);
  backdrop-filter:blur(8px);
  border:1px solid var(--glass-border);
  box-shadow:var(--shadow);
  position:relative;
}

/* Media */
.gft-media{
  flex:0 0 clamp(120px,30vw,170px);
  height:clamp(120px,30vw,170px);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.5);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  -webkit-touch-callout: none; 
}
.gft-media::before{
  content:"";
  position:absolute; inset:0;
  background:transparent;
  z-index:1;
  pointer-events:auto;
}
.gft-media img{
  max-width:100%; max-height:100%; object-fit:contain; display:block;
  -webkit-user-drag:none;
  user-select:none;
  -webkit-touch-callout:none;
  pointer-events:none;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: transparent;  /* ensure no white box behind transparent assets */
}

/* Recommended label with modern glassmorphism effect */
.recommended {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  
  /* Green glass effect */
  background: linear-gradient(135deg, 
    rgba(34, 197, 94, 0.25) 0%, 
    rgba(22, 163, 74, 0.2) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  
  color: #166534;
  padding: 4px 28px;
  border-radius: 50px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  
  /* Multi-layered glass borders and shadows */
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 
    0 8px 32px rgba(34, 197, 94, 0.15),
    0 2px 8px rgba(34, 197, 94, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -1px 1px rgba(34, 197, 94, 0.2);
  
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

/* Glass reflection effect */
.recommended::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.4) 0%, 
    transparent 100%);
  border-radius: 50px 50px 0 0;
  pointer-events: none;
}

/* Glass shine animation */
.recommended::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 70%);
  pointer-events: none;
}

.recommended:hover {
  transform: translateX(-50%) translateY(-2px) scale(1.03);
  box-shadow: 
    0 16px 48px rgba(34, 197, 94, 0.25),
    0 6px 16px rgba(34, 197, 94, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(34, 197, 94, 0.3);
}

/* Style for the star (larger and more refined) */
.star {
  font-size: 18px;
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
  position: relative;
  z-index: 2;
}

/* Style for the recommended text */
.recommended-text {
  font-size: 12px;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

/* Product card media image */
.gft-media {
  position: relative;
}

.gft-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

  
.gft-view{ z-index:2; }

/* View button — icon + label */
.gft-view{
  position:absolute;
  bottom:8px; right:8px;
  color:#fff;
  border:none; border-radius:12px;
  padding:9px 14px;
  font-size:13px;
  cursor:pointer;
  display:inline-flex; align-items:center; gap:8px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)),
    linear-gradient(135deg, rgba(18,52,92,1), rgba(36,118,196,1));
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 6px 22px rgba(20,60,100,.25), inset 0 1px 0 rgba(255,255,255,.25);

  -webkit-tap-highlight-color: rgba(36,118,196,.25);
  isolation:isolate;
}
.gft-view::after{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  background:radial-gradient(60% 60% at 30% 20%, rgba(255,255,255,.25), transparent 60%);
  opacity:0; 
  z-index:-1;
}
@media (hover:hover){
  .gft-view:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(20,60,100,.32), 0 0 0 3px rgba(36,118,196,.18) inset, inset 0 1px 0 rgba(255,255,255,.35);
    filter: saturate(1.06);
  }
  .gft-view:hover::after{ opacity:.75; }
}
.gft-view:active,
.gft-view.is-pressed{
  transform: translateY(0) scale(.985);
  box-shadow: 0 4px 16px rgba(20,60,100,.25), inset 0 0 0 100vmax rgba(255,255,255,.03);
}
.gft-view:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(36,118,196,.35), 0 6px 20px rgba(20,60,100,.28);
}
.gft-eye{ display:block; width:17px; height:17px; }
.gft-view__label{ font-weight:700; letter-spacing:.02em; }

/* Body + Typography */
.gft-body{flex:1 1 auto;min-width:0}
.gft-name{
  font-weight:800;
  margin:0 0 6px;
  font-size:clamp(18px,2.5vw,22px);
  letter-spacing:.02em
}
.gft-meta{display:flex;align-items:center;gap:10px;color:var(--navy);font-weight:600;flex-wrap:wrap}
.gft-range{
  font-size:clamp(15px,2.4vw,18px);
  font-weight:800;
  color:var(--navy)
}
.gft-moq{
  font-size:14px;
  color:var(--navy);
  background:rgba(168,212,255,.3);
  border:1px solid rgba(168,212,255,.6);
  padding:2px 8px;
  border-radius:999px;
  white-space:nowrap;
}
.gft-row{display:flex;align-items:center;gap:clamp(6px,1.6vw,12px);flex-wrap:wrap}

/* Stepper */
.gft-stepper{
  display:inline-flex; align-items:center;
  border:1px solid var(--glass-border);
  border-radius:12px; overflow:hidden;
  background:rgba(255,255,255,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  accent-color:#2476C4;
}
.gft-stepper button{
  background: linear-gradient(180deg, rgba(255,255,255,.64), rgba(236,245,255,.52)) !important;
  border:0; padding:8px 12px; font-size:18px; color:var(--navy);
  cursor:pointer; border-right:1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: rgba(36,118,196,.25);
  position:relative; isolation:isolate;
  outline-color: #2476C4;
}
.gft-stepper button:last-child{ border-right:0; }
@media (hover:hover){
  .gft-stepper button:hover{
    filter: none;
    box-shadow: inset 0 0 0 1px rgba(11,42,74,.28) !important;
    background: linear-gradient(180deg, rgba(11,42,74,.95), rgba(11,42,74,.88)) !important; 
    color:#fff !important;
  }
}
.gft-stepper button:active,
.gft-stepper button.is-pressed{
  transform: scale(.965);
  background: linear-gradient(180deg, rgba(11,42,74,1), rgba(7,30,55,1)) !important; 
  color:#fff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15) !important;
}
.gft-stepper input{
  width:72px; min-width:76px;
  border:0; padding:8px 6px; text-align:center;
  font-weight:900; color:var(--text); background:transparent; font-size:15px;
  outline:none;
  -webkit-tap-highlight-color: rgba(36,118,196,.25);
  caret-color:#2476C4;
}
.gft-stepper input:focus-visible{
  box-shadow: inset 0 0 0 2px rgba(36,118,196,.4) !important;
  border-radius:8px;
}

/* Total */
.gft-total{
  margin-top:clamp(6px,1.8vw,8px);
  font-weight:800;
  font-size:clamp(16px,2.4vw,19px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .gft-cat > :not(summary),
  .gft-view,
  .gft-stepper button{ transition: none !important; }
}

/* -------- Mobile adjustments -------- */
@media (max-width: 600px){

  .gft-card{
    min-width: clamp(320px, 95vw, 560px);
    gap: 12px;
    padding: 12px 12px 14px;
  }

  .gft-media{
    flex: 0 0 min(36vw, 153px);
    height: min(36vw, 153px);
  }

  .gft-view{
    padding: 6px 8px;
    min-height: 40px;
    gap:6px;
    font-size: 6px !important;
  }
  .gft-eye{ width:15px; height:15px; }
  .gft-view__label{ font-size:12px; }

  .gft-stepper button{ padding:8px 10px !important; }
  .gft-stepper input{
    min-width: 60px;
    width: 60px;
    font-size: 15px;
  }

  .gft-row{
    align-items:center;
    gap:10px;
    flex-wrap: nowrap;
  }
  .gft-row .gft-moq{
    background:rgba(168,212,255,.3) !important;
    border:1px solid rgba(168,212,255,.6) !important;
    padding:3px 8px !important;
    border-radius:999px !important;
    margin-left:6px;
    position:relative;
    white-space:nowrap;
    line-height:1.1;
  }
  .gft-row .gft-moq::before{
    content:"";
    position:absolute;
    left:-8px; top:50%;
    transform:translateY(-50%);
    width:1px; height:18px;
    background: rgba(13,52,94,.18);
  }
}

/* NAVY hover overrides for View */
@media (hover:hover){
  #gft-categories .gft-view:hover{
    background:
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04)),
      linear-gradient(180deg, var(--navy), var(--navy)) !important;
    color:#fff !important;
    box-shadow: 0 10px 26px rgba(11,42,74,.40),
                0 0 0 3px rgba(11,42,74,.28) inset !important;
    filter:none;
  }
}
#gft-categories .gft-view:active,
#gft-categories .gft-view.is-pressed{
  background: linear-gradient(180deg, #0b2a4a, #08223a) !important;
  color:#fff !important;
}

/* FIX: Mobile stepper clipping */
@media (max-width: 600px){
  .gft-media{
    flex: 0 0 min(32vw, 140px) !important;
    height: min(32vw, 140px) !important;
  }
  .gft-row{ gap: 8px; }
  .gft-stepper button{ padding: 8px 8px !important; }
  .gft-stepper input{
    width: 54px;
    min-width: 54px;
    font-size: 14px;
  }
  .gft-row .gft-moq{
    font-size: 13px;
    padding: 3px 7px !important;
  }
}
@media (max-width: 340px){
  .gft-row{ flex-wrap: wrap; row-gap: 6px; }
  .gft-row .gft-moq{ margin-left: 0; }
  .gft-row .gft-moq::before{ display: none; }
}

/* =========================
   PRICE DROPDOWN (glass, portal to body so it never clips)
   ========================= */

/* Toggle beside price (larger + effects) */
.gft-price-toggle{
  appearance:none;
  border:0;
  background:transparent;
  padding:4px;
  margin:0 0 0 2px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  -webkit-tap-highlight-color: rgba(36,118,196,.25);
  color: var(--navy);
  border-radius:10px;
}
.gft-price-toggle:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px rgba(36,118,196,.28);
}
@media (hover:hover)){
  .gft-price-toggle:hover{
    background: rgba(36,118,196,.10);
    box-shadow: inset 0 0 0 1px rgba(11,42,74,.15);
    transform: translateY(-1px);
  }
}
.gft-price-toggle:active,
.gft-price-toggle.is-open{
  transform: scale(.95);
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(236,245,255,.55));
  box-shadow: 0 6px 18px rgba(20,60,100,.18), inset 0 0 0 1px rgba(11,42,74,.22);
}
.gft-price-toggle.is-open .gft-price-chev{
  transform: rotate(180deg) scale(1.05);
}

/* Bigger chevron icon */
.gft-price-chev{
  width:18px; height:18px; display:block;
  transition: transform .18s ease;
}
@media (max-width:600px){
  .gft-price-chev{ width:16px; height:16px; }
}

/* Portal root (injected in JS): #gft-portal { fixed, z-index:9999; pointer-events:none } */

/* Floating dropdown menu */
.gft-price-menu{
  position:fixed; /* key change: detached from card, never clipped */
  z-index:10000;
  min-width:220px;
  max-width:min(86vw, 360px);
  max-height:min(60vh, 420px);
  overflow:auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.58));
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,.6);
  box-shadow: 0 16px 36px rgba(10,36,66,.20), inset 0 1px 0 rgba(255,255,255,.35);
  border-radius:14px;
  padding:8px;
  opacity:0;
  transform: translateY(-6px) scale(.98);
  pointer-events:auto; /* re-enable inside portal */
  transition: opacity .18s ease, transform .18s ease, top .08s linear, left .08s linear;
}
.gft-price-menu.is-open{
  opacity:1;
  transform: translateY(0) scale(1);
}

/* Arrow (auto-centered toward toggle via --arrow-x) */
.gft-price-menu::before{
  content:"";
  position:fixed; /* follow the menu because it's fixed */
  top: calc(var(--menu-top, 0px) - 8px); /* kept for safety; JS positions with top/left directly */
  left: calc(var(--menu-left, 0px) + var(--arrow-x, 18px));
  /* but we override using direct positioning by JS via --arrow-x only */
  position:absolute;
  top:-8px;
  left: var(--arrow-x, 18px);
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  border-bottom:8px solid rgba(255,255,255,.72);
  filter: drop-shadow(0 -1px 0 rgba(255,255,255,.6));
}
.gft-price-menu.is-flip::before{
  top: auto;
  bottom: -8px;
  border-bottom: none;
  border-top: 8px solid rgba(255,255,255,.72);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.6));
}

/* Rows inside */
.gft-price-item{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items:center;
  padding:8px 10px;
  border-radius:10px;
  font-weight:700;
  color: var(--navy);
  transition: background .16s ease, transform .12s ease;
}

  
@media (hover:hover){
  .gft-price-item:hover{
    background: rgba(36,118,196,.10);
  }
}
.gft-price-item.is-active{
  background: linear-gradient(180deg, rgba(11,42,74,.96), rgba(11,42,74,.9));
  color:#fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.gft-price-q{ opacity:.85; font-weight:800; }
.gft-price-v{ font-variant-numeric: tabular-nums; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .gft-price-chev,
  .gft-price-menu,
  .gft-price-toggle{ transition: none !important; }
}

/* Optional: subtle scrollbar for long menus */
.gft-price-menu::-webkit-scrollbar{ width:10px; }
.gft-price-menu::-webkit-scrollbar-thumb{
  background: rgba(11,42,74,.25);
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.45);
}
.gft-price-menu::-webkit-scrollbar-track{
  background: transparent;
}

/* ======================================================
   ORDER PANEL — GLASS • LIST-ONLY SCROLL • REDUCED HEIGHT
   ====================================================== */
.gft-orderPanel{
  position:fixed;
  right:16px;
  bottom:max(12px, env(safe-area-inset-bottom));
  width:clamp(280px,30vw,420px);
  background:var(--glass-bg);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid var(--glass-border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:16px;
  display:flex; flex-direction:column; gap:12px;
  z-index:5;

  /* ↓ reduced by ~25% from 72vh → 54vh */
  max-height:54vh;

  /* Panel itself does NOT scroll; only the list does */
  overflow:hidden;

  transition:opacity .28s ease, transform .28s ease;
}
.gft-orderPanel.is-hidden{ opacity:0; transform:translateY(10px); pointer-events:none; }

:root{
  --gft-navy:   #0F1A37;
  --gft-blue:   #2C57FF;
  --gft-purple: #4B1FEF;
  --gft-purple-2:#6B2BFF;
  --danger:     #d9363e;
  --restore:    #2e9d65;
}

.gft-orderPanel .top{
  order:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.gft-orderPanel .total-wrap{ display:flex; align-items:baseline; gap:8px; }
.gft-orderPanel .label{
  color:var(--muted); font-size:16px; font-weight:800;
  text-transform:uppercase; letter-spacing:.08em;
}
.gft-orderPanel .value{ font-size:28px; font-weight:900; }

/* CLEAR / RESTORE (auto-toggles via JS) */
.gft-orderPanel .gft-clear{
  flex:0 0 auto;
  border:0;
  border-radius:12px;
  padding:8px 12px;
  font-weight:800; font-size:13px; letter-spacing:.02em;
  color:#fff;
  cursor:pointer;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)),
    linear-gradient(135deg, color-mix(in srgb, var(--danger) 85%, transparent), color-mix(in srgb, #ff6b73 75%, transparent));
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 6px 18px rgba(120,20,30,.26), inset 0 1px 0 rgba(255,255,255,.25);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
@media (hover:hover){
  .gft-orderPanel .gft-clear:hover{
    transform: translateY(-1px);
    box-shadow:0 10px 24px rgba(120,20,30,.34), inset 0 1px 0 rgba(255,255,255,.30);
  }
}
.gft-orderPanel .gft-clear:active{
  transform: translateY(0) scale(.985);
  box-shadow:0 4px 12px rgba(120,20,30,.28), inset 0 0 0 100vmax rgba(255,255,255,.04);
}
.gft-orderPanel .gft-clear.is-undo{
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)),
    linear-gradient(135deg, color-mix(in srgb, var(--restore) 85%, transparent), color-mix(in srgb, #46c282 75%, transparent));
  box-shadow:0 6px 18px rgba(30,110,70,.26), inset 0 1px 0 rgba(255,255,255,.25);
}
@media (hover:hover){
  .gft-orderPanel .gft-clear.is-undo:hover{
    box-shadow:0 10px 24px rgba(30,110,70,.34), inset 0 1px 0 rgba(255,255,255,.30);
  }
}

/* Full-width collapse/expand at the top (desktop only) */
.gft-orderPanel .gft-cartToggle{
  order:0;
  width:100%;
  min-height:40px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid rgba(255,255,255,.38);
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08)),
    linear-gradient(135deg, rgba(18,52,92,1), rgba(36,118,196,1));
  color:#fff;
  cursor:pointer;
  -webkit-tap-highlight-color: rgba(36,118,196,.25);
  transition: transform .16s ease, box-shadow .22s ease, filter .22s ease, opacity .2s ease, background .2s ease;
  box-shadow:0 6px 22px rgba(20,60,100,.20), inset 0 1px 0 rgba(255,255,255,.25);
}
.gft-orderPanel .gft-cartToggle .ico{
  width:18px; height:18px; display:block; transition: transform .20s ease;
}
.gft-orderPanel .gft-cartToggle .lbl{ font-weight:800; letter-spacing:.02em; font-size:14px; }
@media (hover:hover){
  .gft-orderPanel .gft-cartToggle:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(20,60,100,.30), inset 0 1px 0 rgba(255,255,255,.30);
    background:
      linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)),
      linear-gradient(180deg, var(--navy), var(--navy));
  }
}
.gft-orderPanel .gft-cartToggle:active{
  transform: translateY(0) scale(.985);
  box-shadow: 0 4px 16px rgba(20,60,100,.20), inset 0 0 0 100vmax rgba(255,255,255,.04);
}
.gft-orderPanel .gft-cartToggle.is-collapsed .ico{ transform: rotate(180deg) scale(1.02); }
@media (max-width:1023px){ .gft-orderPanel .gft-cartToggle{ display:none; } }

/* LIST: the only scroll container */
.gft-orderPanel .list{
  order:2;
  flex:1 1 auto;
  min-height:90px;
  will-change: height, opacity;
  overflow:auto;
  -webkit-overflow-scrolling: touch;

  /* keep content clear of the bottom CTA just in case */
  padding-bottom: 6px;

  font-size:14px; display:flex; flex-direction:column; gap:10px;
}

/* Rows */
.gft-orderPanel .row{
  flex: 0 0 auto;
  position:relative;
  display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:center;
  background:rgba(255,255,255,.55);
  border:1px solid var(--glass-border);
  border-radius:12px; padding:10px;
  overflow:hidden;
}
.gft-orderPanel .th{
  width:56px; height:56px; border-radius:12px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.6);
  border:1px solid rgba(255,255,255,.7);
}
.gft-orderPanel .th img{ max-width:100%; max-height:100%; object-fit:contain; display:block; }
.gft-orderPanel .nm{ font-weight:800; font-size:14px; }
.gft-orderPanel .mt{ font-size:12px; color:var(--muted); }
.gft-orderPanel .ln{ font-weight:900; }

/* Hover actions (only "Modifier") — desktop use */
.gft-orderPanel .ac{
  position:absolute;
  inset:auto 10px 10px auto;
  display:flex; gap:8px;
  opacity:0; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events:none;
}
.gft-orderPanel .row:hover .ac,
.gft-orderPanel .row:focus-within .ac{
  opacity:1; transform: translateY(0); pointer-events:auto;
}
.gft-orderPanel .ac .btn{
  display:inline-flex; align-items:center; gap:6px;
  border:0; border-radius:10px; padding:8px 10px;
  font-weight:800; font-size:12px; letter-spacing:.02em;
  cursor:pointer; -webkit-tap-highlight-color: rgba(0,0,0,0);
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  color:#fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)),
    linear-gradient(135deg, rgba(18,52,92,1), rgba(36,118,196,1));
  border:1px solid rgba(255,255,255,.40);
  box-shadow: 0 6px 14px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.30);
}
@media (hover:hover){
  .gft-orderPanel .ac .btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 18px rgba(0,0,0,.12); }
}
.gft-orderPanel .ac .btn:active{ transform: translateY(0) scale(.985); }

//* ===== Simple Gradient CTA (overrides) ===== */
.gft-orderPanel .gft-place{
  order:3;
  width:100%;
  min-height:52px;
  border-radius:16px;
  padding:12px 16px;
  font-weight:800;
  font-size:16px;
  border:0;
  cursor:pointer;
  user-select:none;
  color:#fff;


  /* kill heavy effects */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;

  /* clean gradient (with fallbacks if vars missing) */
  background: linear-gradient(
    135deg,
    var(--gft-purple, #6B4BFF),
    var(--gft-purple-2, #7C4DFF)
  );

  /* subtle shadow only */
  box-shadow: 0 6px 16px rgba(75,31,239,.22);

  /* tiny interaction polish */
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  will-change: transform;
}

/* remove shimmer/extra layers from previous version */
.gft-orderPanel .gft-place::before,
.gft-orderPanel .gft-place::after{
  content: none !important;
}

/* hover/active (no animation) */
@media (hover:hover){
  .gft-orderPanel .gft-place:hover{
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 10px 22px rgba(75,31,239,.28);
  }
}
.gft-orderPanel .gft-place:active{
  transform: translateY(0);
  filter: brightness(.96);
}

/* focus ring (accessible) */
.gft-orderPanel .gft-place:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.96),
    0 0 0 6px rgba(124,77,255,.32);
}

/* disabled state */
.gft-orderPanel .gft-place:disabled{
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}


/* Mobile (panel shell tweaks) */
@media (max-width:1023px){
  .gft-orderPanel{ left:10px; right:10px; bottom:max(10px, env(safe-area-inset-bottom)); width:auto; max-height:none; }
  .gft-orderPanel .list{ display:none; }
  .gft-orderPanel .value{ font-size:24px; }
  .gft-orderPanel .gft-place{ min-height:52px; padding:12px 16px; border-radius:16px; }
}

/* Catalog card highlight when jumping from panel/sheet */
.gft-card--highlight{
  outline: 3px solid rgba(36,118,196,.55);
  box-shadow: 0 0 0 3px rgba(36,118,196,.25), 0 10px 26px rgba(20,60,100,.25);
  transition: box-shadow .2s ease, outline-color .2s ease;
}

/* ==============================
   ORDER PANEL — Mobile overrides
   ============================== */
@media (max-width:1023px){
  /* Navy "Voir Panier" (simple, no shimmer) */
  .gft-orderPanel .gft-place{
    background: linear-gradient(135deg, #12345c, #2476c4) !important;
    color:#fff !important;
    box-shadow: 0 8px 24px rgba(16,42,79,.28) !important;
    animation:none !important;
  }
  .gft-orderPanel .gft-place::before,
  .gft-orderPanel .gft-place::after{
    content:none !important;
  }

  /* Ensure the desktop clear button never appears on mobile */
  .gft-orderPanel .gft-clear{ display:none !important; }
}

/* ======================================================
   CART SHEET — Mobile drawer (no peek, anti-flicker)
   ====================================================== */
.gft-sheet{
  position:fixed; inset:0;
  display:flex; align-items:flex-end; justify-content:center;
  z-index:10010;
  pointer-events:none;
  overscroll-behavior:contain;
}
.gft-sheet .bk{
  position:absolute; inset:0;
  background:rgba(255,255,255,.65);
  backdrop-filter:blur(8px);
  opacity:0; transition:opacity .25s ease;
}
.gft-sheet .pn{
  position:relative;
  margin:0 10px;
  background:var(--glass-bg);
  backdrop-filter:blur(16px);
  border:1px solid var(--glass-border);
  border-radius:22px 22px 18px 18px;
  width:100%; max-width:720px;

  transform:translate3d(0,110%,0);
  transition:transform .35s cubic-bezier(.22,.7,.18,1);
  will-change:transform;
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
  contain:paint;
  box-shadow:none;
}
.gft-sheet.on{ pointer-events:auto; }
.gft-sheet.on .bk{ opacity:1; }
.gft-sheet.on .pn{ transform:translate3d(0,0,0); box-shadow:var(--shadow); }

/* Header / Footer on their own layers */
.gft-sheet .hd,
.gft-sheet .ft{
  transform: translateZ(0); -webkit-transform: translateZ(0);
  will-change: transform;
  z-index: 1;
}

.gft-sheet .hd{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px 8px;
}
.gft-sheet .tt{ font-weight:900; }

/* Close button */
.gft-sheet .x{
  background:var(--navy); color:#fff; border:0;
  border-radius:999px; width:34px; height:34px;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
  -webkit-tap-highlight-color: rgba(36,118,196,.25);
}
.gft-sheet .x:hover{
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 16px rgba(11,42,74,.30), inset 0 1px 0 rgba(255,255,255,.25);
  background: linear-gradient(180deg, var(--navy), #0a2542);
}
.gft-sheet .x:active{ transform: scale(.97); }
.gft-sheet .x:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px rgba(36,118,196,.35), 0 6px 20px rgba(20,60,100,.28);
}

/* Body */
.gft-sheet .bd{ max-height:60vh; overflow:auto; padding:8px 16px 16px; }
.gft-sheet .lt{ display:flex; flex-direction:column; gap:10px; }

/* Rows */
.gft-sheet .row{
  display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:center;
  background:rgba(255,255,255,.55);
  border:1px solid var(--glass-border);
  border-radius:12px; padding:10px;
}
.gft-sheet .th{
  width:56px; height:56px; border-radius:12px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.6);
  border:1px solid rgba(255,255,255,.7);
}
.gft-sheet .th img{ max-width:100%; max-height:100%; object-fit:contain; display:block; }
.gft-sheet .nm{ font-weight:800; font-size:14px; }
.gft-sheet .mt{ font-size:12px; color:var(--muted); }
.gft-sheet .ln{ font-weight:900; }

/* Actions (only Modifier) */
.gft-sheet .act{
  grid-column: 1 / -1;
  display:flex; gap:8px; justify-content:flex-end;
  margin-top:6px;
}
.gft-sheet .btn{
  display:inline-flex; align-items:center; gap:6px;
  border:0; border-radius:10px; padding:8px 10px;
  font-weight:800; font-size:12px; letter-spacing:.02em;
  cursor:pointer; -webkit-tap-highlight-color: rgba(0,0,0,0);
  color:#fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)),
    linear-gradient(135deg, rgba(18,52,92,1), rgba(36,118,196,1));
  border:1px solid rgba(255,255,255,.40);
  box-shadow: 0 6px 14px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.30);
}
.gft-sheet .btn:active{ transform: translateY(0) scale(.985); }

/* Footer */
.gft-sheet .ft{ padding:12px 16px 16px; display:flex; flex-direction:column; gap:10px; }

/* Total + Clear/Restore row */
.gft-sheet .gr{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.gft-sheet .tot-wrap{
  display:flex; align-items:baseline; gap:10px;
  background: rgba(255,255,255,.72);
  border:1px solid var(--glass-border);
  border-radius:14px;
  padding:8px 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.gft-sheet .lb{
  font-size:12px; color:var(--muted);
  font-weight:900; letter-spacing:.12em; text-transform:uppercase;
}
.gft-sheet .vl{
  font-size:22px; font-weight:900; letter-spacing:.01em;
}

/* Clear / Restore button */
.gft-sheet .clr{
  flex:0 0 auto;
  border:0;
  border-radius:12px;
  padding:10px 12px;
  font-weight:800; font-size:13px; letter-spacing:.02em;
  color:#fff;
  cursor:pointer;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)),
    linear-gradient(135deg, #c62931, #ff6b73);
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 6px 18px rgba(120,20,30,.26), inset 0 1px 0 rgba(255,255,255,.25);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  transition: transform .16s ease, box-shadow .22s ease, filter .22s ease;
}
.gft-sheet .clr.is-undo{
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)),
    linear-gradient(135deg, #2e9d65, #46c282);
  box-shadow:0 6px 18px rgba(30,110,70,.26), inset 0 1px 0 rgba(255,255,255,.25);
}
.gft-sheet .clr:active{ transform: translateY(0) scale(.985); }

/* Commander CTA (purple) */
.gft-sheet .go{
  position:relative; overflow:hidden; isolation:isolate;
  border-radius:16px; padding:12px 16px;
  border:1px solid rgba(255,255,255,.18);
  font-weight:800; font-size:16px; color:#fff;
  background: linear-gradient(45deg,
    color-mix(in srgb, #4B1FEF 85%, transparent) 0%,
    color-mix(in srgb, #6B2BFF 85%, transparent) 50%,
    color-mix(in srgb, #4B1FEF 85%, transparent) 100%);
  background-size:300% 300%;
  box-shadow: 0 8px 28px rgba(16,42,79,.14),
              inset 0 1px 1px rgba(255,255,255,.25),
              inset 0 -1px 1px rgba(16,42,79,.10);
}

.gft-sheet .go::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background: linear-gradient(-45deg, rgba(75,31,239,.20), rgba(107,43,255,.28),
                              rgba(70,88,255,.22), rgba(107,43,255,.28),
                              rgba(75,31,239,.20));
  background-size:400% 400%;
}
.gft-sheet .go::after{
  content:""; position:absolute; inset:0; left:-100%; z-index:1; pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.60), transparent);
}
.gft-sheet .go[disabled]{ opacity:.55; animation:none !important; }

/* Desktop: sheet hidden */
@media(min-width:1024px){ .gft-sheet{ display:none; } }


/* while sheet is open, ignore panel */
body.gft-sheet-open .gft-orderPanel{ pointer-events: none; }

/* ==========================================
   MODAL GALLERY — visual refresh (no JS changes)
   ========================================== */

/* Prevent background scroll while modal is open */
.gft-modal-open { overflow: hidden; }

/* Backdrop */
.gft-modal{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(1100px 600px at 10% -10%, rgba(36,118,196,.10), transparent 40%),
    rgba(10,25,55,.35);
  backdrop-filter: blur(10px) saturate(1.05);

  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.gft-modal.on{
  opacity: 1;
  pointer-events: auto;
}

/* Panel */
.gft-modalContent{
  width: min(96vw, 860px);
  max-height: 90vh;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  padding: 16px;

  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 60px rgba(8,22,48,.28), var(--shadow);

  transform: translateY(8px) scale(.985);
  transition: transform .25s ease, opacity .25s ease;
}
.gft-modal.on .gft-modalContent{ transform: none; }

/* Header */
.gft-modalHeader{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Close button (uses your “×” text) */
.gft-modalClose{
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;

  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  box-shadow:
    0 10px 22px rgba(11,42,74,.22),
    inset 0 1px 0 rgba(255,255,255,.70);

  -webkit-tap-highlight-color: rgba(36,118,196,.25);
  transition: transform .16s ease, box-shadow .22s ease, filter .22s ease, opacity .18s ease;

  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}
@media (hover:hover){
  .gft-modalClose:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(11,42,74,.30), inset 0 1px 0 rgba(255,255,255,.75);
  }
}
.gft-modalClose:active{ transform: scale(.96); }

/* Gallery */
.gft-modalGallery{ position: relative; width: 100%; }

.gft-galleryFrame{
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.62));
}

.gft-galleryImg{
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;

  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.08));
}

/* Arrows (keep your ‹ ›, just prettier) */
.gft-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;

  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.80)),
    linear-gradient(180deg, var(--navy), var(--navy));
  box-shadow: 0 12px 26px rgba(11,42,74,.28), inset 0 1px 0 rgba(255,255,255,.65);

  -webkit-tap-highlight-color: rgba(36,118,196,.25);
  transition: transform .16s ease, box-shadow .22s ease, filter .22s ease, opacity .2s ease;

  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}
.gft-arrow.left  { left: 10px;  }
.gft-arrow.right { right: 10px; }
@media (hover:hover){
  .gft-arrow:hover{
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 16px 32px rgba(11,42,74,.34);
  }
}
.gft-arrow:active{ transform: translateY(-50%) scale(.96); }

/* Description */
.gft-modalDescWrap{
  max-height: 300px;
  overflow: auto;
  padding: 14px;

  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
}

/* Keep it simple: pre-wrap supports plain text with \n and bullets */
.gft-modalDesc{
  color: var(--navy);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  font-variant-numeric: tabular-nums;
}
.gft-modalDesc b,
.gft-modalDesc strong{
  font-weight: 900;
}

/* Subtle scrollbar (WebKit) */
.gft-modalDescWrap::-webkit-scrollbar{ width: 10px; }
.gft-modalDescWrap::-webkit-scrollbar-thumb{
  background: rgba(11,42,74,.25);
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.55);
}
.gft-modalDescWrap::-webkit-scrollbar-track{ background: transparent; }

/* Responsive */
@media (max-width: 560px){
  .gft-modalContent{ padding: 12px; gap: 10px; }
  .gft-galleryImg{ max-height: 50vh; }
}

/* WARN TIP */
.gft-warn{position:fixed;z-index:80;right:18px;bottom:86px;background:#fff4f4;color:#8a0f0f;border:1px solid #ffb3b3;border-radius:12px;padding:10px 12px;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.08);max-width:320px;display:none}
.gft-warn.on{display:block}

/* ===== Footer CTA ===== */
:root{
  --navy: #0B2A4A;
  --purple:#6B4BFF;
  --gft-blue:#2476C4;
  --cta-bg-1: #0f172a;
  --cta-bg-2: #1c2f57;
  --wa-green:#25D366;
}

.gft-cta-end{
  position: relative;
  isolation: isolate;
  margin: clamp(24px,5vw,48px) auto 0;
  padding: 0 clamp(12px,2vw,16px);
margin-bottom: 140px; !important
}

.gft-cta-end__inner{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding: clamp(18px,4.2vw,32px) clamp(14px,3.2vw,24px);

  /* soft premium band */
  background:
    radial-gradient(120% 140% at 80% -20%, rgba(107,75,255,.18), transparent 50%),
    radial-gradient(120% 120% at 0% 120%, rgba(36,118,196,.22), transparent 60%),
    linear-gradient(135deg, color-mix(in oklab, var(--cta-bg-2) 86%, #000 14%), var(--cta-bg-1));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(11,30,58,.22);
}

.gft-cta-end__tag{
  display: inline-block;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .06em;
  padding: 6px 10px;
  margin-bottom: 10px;
  color: #cee6ff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
}

.gft-cta-end__title{
  font-weight: 1000;
  font-size: clamp(22px,4.8vw,34px);
  line-height: 1.2;
  margin: 0 0 8px;
  color: #f7fbff;
  text-shadow: 0 1px 0 rgba(255,255,255,.12);
}

.gft-cta-end__lead{
  margin: 0 auto clamp(14px,3.2vw,20px);
  max-width: 820px;
  font-size: clamp(18px,2.6vw,17px);
  line-height: 1.9;
  color: rgba(240,248,255,.92);
}

.gft-cta-end__actions{
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.gft-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.25);
  text-decoration: none;
  will-change: transform;
}

.gft-btn:hover{ transform: translateY(-1px); }
.gft-btn:active{ transform: translateY(0) scale(.98); }

/* Primary (purple/blue) */
.gft-btn--primary{
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)),
    linear-gradient(135deg, var(--purple), color-mix(in srgb, var(--gft-blue) 92%, #000 8%));
  box-shadow: 0 10px 26px rgba(75,31,239,.30), inset 0 1px 0 rgba(255,255,255,.25);
}

/* Ghost (outline) */
.gft-btn--ghost{
  color:#eaf4ff;
  background: transparent;
  border-color: rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}

/* WhatsApp (green + pulse) */
.gft-btn--whatsapp{
  color:#081c10;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06)), var(--wa-green);
  border-color: color-mix(in oklab, var(--wa-green) 40%, #fff 30%);
  box-shadow:
    0 10px 26px rgba(37,211,102,.30),
    inset 0 1px 0 rgba(255,255,255,.35);
  overflow: visible;
}

.gft-btn--whatsapp .pulse{
  position:absolute; inset:-6px;
  border-radius:16px;
  pointer-events:none;
  box-shadow: 0 0 0 0 rgba(37,211,102,.45);
}
@media (max-width: 767px){.gft-cta-end{ width: 100%;}}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .gft-btn, .gft-btn--whatsapp .pulse{ animation: none !important; transition: none !important; }
}

/* MOBILE PERFORMANCE MODE */
@media (max-width: 1024px){
  /* turn off background meshes/particles */
  .site-bgmesh, .mesh, .blob, .rays { display: none !important; }

  /* avoid fixed backgrounds (janky on mobile) */
  html, body { background-attachment: scroll !important; }

  /* remove backdrop-filter/filters */
  .glass, .gft-bg, .gft-orderPanel, .gft-orderPanel .gft-gallery {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.08) !important;
    background: #fff !important;
  }

  /* lighter cards */
  .card, .gft-card {
    box-shadow: 0 6px 14px rgba(0,0,0,.08) !important;
    background: #fff !important;
  }
}

/* reduce shadow weight everywhere */
.card, .gft-card, .gft-section {
  box-shadow: 0 8px 18px rgba(6,24,44,.10);
}

/* stop any remaining running animations the page might have */
@media (prefers-reduced-motion: reduce){
   { animation: none !important; transition: none !important; }
}
/* DESKTOP: Commander button (purple gradient) */
@media (min-width: 992px){
  .gft-orderPanel .gft-place{
    /* size/layout stays the same */
    min-height: 52px;
    border-radius: 16px;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 16px;
    border: 0;
    cursor: pointer;
    user-select: none;

    /* simple glass border + subtle shadow (no animations) */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255,255,255,.18);
    border-top-color: rgba(255,255,255,.30);
    box-shadow: 0 10px 24px rgba(75,31,239,.22);

    /* purple gradient */
    color: #fff;
    background: linear-gradient(135deg, #6B4BFF 0%, #E38CFF 100%);
    transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
  }
  .gft-orderPanel .gft-place:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(75,31,239,.30);
    filter: brightness(1.03);
  }
  .gft-orderPanel .gft-place:active{
    transform: translateY(0);
    filter: none;
  }
  .gft-orderPanel .gft-place:focus-visible{
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255,255,255,.96), 0 0 0 6px rgba(124,77,255,.32);
  }
}
@media (max-width: 767px){
  body{ padding-bottom: 120px; }               
  .gft-page, .gft-container, main{ padding-bottom: 40px; }
}
.gallery-item, .gallery-item img { background:transparent!important }
.gallery-item img { display:block }
/* replace JS preventers with CSS */
img, .gft-media, .gft-card {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* VERY IMPORTANT so the browser knows you don't hijack vertical scroll: */
.gft-cards, .gft-marquee, .slider-container {
  touch-action: pan-y;  /* allow natural vertical scrolling */
}
/* GPU LAYER FIX - stops main-thread repaints */
.gft-media,
.gft-media img {
  transform: translateZ(0);
  will-change: auto; /* don't keep it always on */
}

/* During scroll, promote to GPU */
.gft-cards.scrolling .gft-media,
.gft-cards.dragging .gft-media {
  will-change: transform;
}
/* CRITICAL: Tell browser to skip rendering offscreen categories */
.gft-cat {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px; /* estimated height */
}

/* When category is open, render normally */
.gft-cat[open] {
  content-visibility: visible;
}
/* Prevent expensive recalcs during scroll */
.gft-cards {
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

/* Simpler rendering for images during motion */
.gft-cards.scrolling img,
.gft-cards.dragging img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (max-width: 1024px){
  /* Panel (desktop - but just in case) */
  .gft-orderPanel,
  .gft-orderPanel .list,
  .gft-orderPanel .row {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  /* Sheet (mobile) */
  .gft-sheet .pn,
  .gft-sheet .row,
  .gft-sheet .tot-wrap {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  /* Modal */
  .gft-modal,
  .gft-modalContent,
  .gft-galleryFrame {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
/* MOBILE: kill heavy desktop panel, keep only the "Voir panier" button */
@media (max-width: 1023px) {
  /* Turn the whole panel into a simple bottom bar */
  .gft-orderPanel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none; /* container itself not clickable */
    z-index: 9998;
  }

  /* Default: nothing inside it is clickable or visible */
  .gft-orderPanel * {
    pointer-events: none;
  }

  /* === KEEP ONLY THE MAIN BUTTON === */
  #gftPlaceOrder {
    display: block !important;
    pointer-events: auto;        /* clickable */
    width: 100%;
    max-width: 100%;
  }

  /* Hide list, clear button, toggle etc. so they don't animate / repaint */
  #gftCartItems,
  #gftClearAll,
  #gftCartToggle {
    display: none !important;
  }
}
/* MOBILE: remove glass effect from sheet + modal + panel */
@media (max-width: 1023px) {
  /* Desktop panel + modal can be solid white */
  .gft-orderPanel,
  .gft-modal,
  .gft-modalContent {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: #ffffff !important;
  }

  /* Sheet ROOT must stay transparent, only the panel inside is white */
  .gft-sheet {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: transparent !important;   /* 🔥 important */
  }

  /* Inner sheet panel + backdrop */
  .gft-sheet .bk,
  .gft-sheet .pn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: #ffffff !important;
  }
}

@media (max-width: 1023px) {
  /* Keep portal root transparent */
  #gft-portal {
    background-color: transparent !important;    /* 🔥 */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Style only the actual floating menu */
  .gft-price-menu {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  }
}