/** Shopify CDN: Minification failed

Line 393:0 Unexpected "{"
Line 393:1 Expected identifier but found "%"
Line 396:12 Expected identifier but found whitespace
Line 396:14 Unexpected "{"
Line 396:23 Expected ":"
Line 396:48 Expected ":"
Line 402:12 Expected identifier but found whitespace
Line 402:14 Unexpected "{"
Line 402:23 Expected ":"
Line 402:48 Expected ":"
... and 6 more hidden warnings

**/
/* =============================
   GK Collection UX – CSS
============================= */

.gk-section{
  background:#000;
  padding:60px 0;
}

.gk-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.gk-title{
  text-align:left;
  margin-bottom:30px;
  position:relative;
}

.gk-title::after{
  content:"";
  display:block;
  width:80px;
  height:3px;
  background:#eab308;
  margin-top:12px;
}

.gk-title{
  color:#fff;
  font-weight:900;
  font-size:40px;
  margin:0 0 40px;
}

/* Desktop grid align left */
.gk-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:var(--gk-gap);
}

.gk-grid__item{
  display:flex;
  justify-content:flex-start;
}

.gk-card{
  width:100%;
  max-width:var(--gk-card-max);
  background:linear-gradient(180deg,#111,#0a0a0a);
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  position:relative;
}

/* IMAGE SQUARE */
.gk-img{
  display:block;
  width:100%;
  aspect-ratio: 1 / 1;
  overflow:hidden;
  background:#0b0b0b;
}
.gk-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.gk-body{
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:18px;
  position:relative;
  z-index:2;
}

/* Title + price */
.gk-header-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

.gk-name{
  margin:0;
  min-width:0;
  flex:1 1 auto;
}

.gk-name a{
  color:#fff !important;
  text-decoration:none !important;
  font-weight:900;
  font-size:var(--gk-title-size);
  line-height:1.05;
  display:block;
}
.gk-name a:hover{ color:#eab308 !important; }

.gk-price{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:var(--gk-price-gap);
  white-space:nowrap;
}
.gk-now{
  font-size:var(--gk-price-size);
  font-weight:950;
  color:#22c55e;
  line-height:1;
}
.gk-was{
  font-size:var(--gk-compare-size);
  font-weight:900;
  color:#ef4444;
  text-decoration:line-through;
  text-decoration-thickness:2px;
  margin-top:-2px;
  line-height:1;
}

/* Variants */
.gk-variants{
  display:flex;
  flex-direction:column;
  gap:12px;
  position:relative;
  z-index:5;
}

.gk-variant-btn{
  width:100%;
  text-align:left;
  padding:14px 18px;
  padding-right:110px; /* place for badge */
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  color:#fff;
  cursor:pointer;
  transition:.2s ease;
  position:relative;
  z-index:10;
}

.gk-variant-btn:hover{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.gk-variant-btn.is-active{
  border-color:#eab308;
  background: rgba(234,179,8,.10);
}

.gk-variant-btn.is-soldout{
  opacity:1; /* IMPORTANT on supprime l'opacité */
  cursor:not-allowed;
  border-color: rgba(255,255,255,.05);
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.55);
}

/* effet visuel "désactivé" sans toucher au badge */
.gk-variant-btn.is-soldout::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
  border-radius:14px;
  z-index:1;
}

/* on force le badge au-dessus */
.gk-variant-btn.is-soldout .gk-stock-badge{
  z-index:100;
  opacity:1 !important;
  filter:none !important;
}

.gk-variant-btn.is-soldout .gk-stock-badge{
  filter: none !important;
  opacity: 1 !important;
}

/* STOCK OUT badge – PREMIUM FRONT */
.gk-stock-badge{
  position:absolute;

  right:-8px; /* décale vers l'extérieur */
  top:50%;
  transform:translateY(-50%) rotate(-15deg);

  background:linear-gradient(135deg,#ff2b2b,#8b0000);
  color:#fff;

  font-size:10px;      /* plus petit */
  font-weight:800;
  letter-spacing:0.6px;

  padding:5px 12px;    /* plus compact */
  border-radius:999px;

  box-shadow:
    0 0 8px rgba(255,0,0,.7),
    0 0 16px rgba(255,0,0,.5);

  text-transform:uppercase;
  z-index:100;
  white-space:nowrap;
}

.gk-stock-badge{
  animation: gkPulse 1.8s infinite alternate;
}

@keyframes gkPulse{
  from{
    box-shadow:
      0 0 10px rgba(255,0,0,.6),
      0 0 20px rgba(255,0,0,.4);
  }
  to{
    box-shadow:
      0 0 18px rgba(255,0,0,.9),
      0 0 35px rgba(255,0,0,.7);
  }
}

.gk-footer{
  margin-top:auto;
  display:flex;
  justify-content:center;
}

.gk-add{
  width:100%;
  background:#eab308;
  color:#000;
  border:0;
  border-radius:16px;
  padding:16px;
  font-weight:950;
  cursor:pointer;
  transition:.2s ease;
}
.gk-add{
  transition: all .25s ease;
}

.gk-add:hover{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 25px rgba(34,197,94,.45);
}
.gk-add.is-loading{ opacity:.0; cursor:wait; }

/* ===== MOBILE SLIDER ===== */
@media (max-width: 900px){
  .gk-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;

    overflow-x:auto !important;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;

    gap:16px !important;

    padding: 0 var(--gk-peek-pad) 18px !important;
    scroll-padding-left: var(--gk-peek-pad);
    scroll-padding-right: var(--gk-peek-pad);

    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .gk-grid::-webkit-scrollbar{ display:none !important; height:0 !important; }

  .gk-grid__item{
    flex: 0 0 var(--gk-slide-w) !important;
    scroll-snap-align: start;
  }

  .gk-card{
    max-width: var(--gk-card-max-m) !important;
  }

  .gk-body{ padding:18px; gap:14px; }

  /* Title clamp */
  .gk-name a{
    font-size: 24px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;

    display:-webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow:hidden !important;
  }

  .gk-now{ font-size: 20px !important; }
  .gk-was{ font-size: 14px !important; }

  .gk-variant-btn{ padding:12px 16px; padding-right:110px; }
  .gk-add{ padding:14px; font-size:15px; }
}

html, body{ overflow-x:hidden; }
.gk-badge,
.stock-out-badge {
  position: relative;
  z-index: 50 !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
.gk-name a{
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.gk-add{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.gk-cart-gif{
  height:20px;  /* ajuste ici si trop gros */
  width:auto;
}

.gk-cart-gif{
  height:200px;
  opacity:.9;
}

/* ✅ MOBILE : carrousel scroll-snap, cartes larges */
@media (max-width: 749px){
  .gk-grid, .gk-products, .product-grid, .grid{
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(86%, 1fr); /* largeur carte */
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .gk-grid > *, .gk-products > *, .product-grid > *, .grid > *{
    scroll-snap-align: start;
  }
  /* optionnel: masquer scrollbar */
  .gk-grid::-webkit-scrollbar,
  .gk-products::-webkit-scrollbar,
  .product-grid::-webkit-scrollbar,
  .grid::-webkit-scrollbar{
    height: 0;
  }
}

{%- style -%}

.gk-card-title{
  font-size: {{ section.settings.title_size }}px;
  font-weight: 700;
  letter-spacing: 1px;
}

.gk-card-price{
  font-size: {{ section.settings.price_size }}px;
  font-weight: 700;
}

.gk-card-price-compare{
  font-size: {{ section.settings.compare_price_size }}px;
  text-decoration: line-through;
  opacity: 0.6;
}
/* ---------------------------
   TYPO (Nom + Prix)
--------------------------- */
.gk-grid [data-gk-titlelink]{
  font-size: var(--gk-title-size);
  line-height: 1.1;
}

.gk-grid [data-gk-price]{
  font-size: var(--gk-price-size);
  font-weight: 700;
}

.gk-grid [data-gk-compare]{
  font-size: var(--gk-compare-size);
  text-decoration: line-through;
  opacity: .65;
}

/* =========================
   TYPO DESKTOP (base)
========================= */
.gk-colbox .gk-grid [data-gk-titlelink],
.gk-colbox .gk-grid .gk-card__title,
.gk-colbox .gk-grid .card__heading a{
  font-size: var(--gk-title-size) !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

.gk-colbox .gk-grid [data-gk-price]{
  font-size: var(--gk-price-size) !important;
  font-weight: 700 !important;
}

.gk-colbox .gk-grid [data-gk-compare]{
  font-size: var(--gk-compare-size) !important;
  text-decoration: line-through !important;
  opacity: .65 !important;
}

/* =========================
   TYPO MOBILE (prioritaire)
   (989px pour couvrir plus de thèmes)
========================= */
@media (max-width: 989px){
  .gk-colbox .gk-grid [data-gk-titlelink],
  .gk-colbox .gk-grid .gk-card__title,
  .gk-colbox .gk-grid .card__heading a{
    font-size: var(--gk-title-size-m) !important;
  }

  .gk-colbox .gk-grid [data-gk-price]{
    font-size: var(--gk-price-size-m) !important;
  }

  .gk-colbox .gk-grid [data-gk-compare]{
    font-size: var(--gk-compare-size-m) !important;
  }
}
{%- endstyle -%}