/* Candy Geekland — palette & overrides sur base Wayne (lgk-wayne-storefront.css) */

/* Masquer sections IT hors home Candy (déjà géré en partie dans theme.liquid) */
html.lgk-storefront--candy-geekland body.template-index #main > .shopify-section--footer .lgk-instant-gaming-affiliate,
html.lgk-storefront--candy-geekland body.template-index #main > .shopify-section--footer .shopify-section--instant-gaming-affiliate,
html.lgk-storefront--candy-geekland body.template-index .lgk-nl-cta:not(.lgk-candy-home__nl):not(.lgk-nl-cta--product):not(.lgk-nl-cta--collection),
html.lgk-storefront--candy-geekland body.template-index .lgk-newsletter-cta:not(.lgk-candy-home__nl),
html.lgk-storefront--candy-geekland .lgk-ig-gta6,
html.lgk-storefront--candy-geekland #lgk-gd-cross {
  display: none !important;
}

html.lgk-storefront--candy-geekland body.template-index .lgk-candy-home .lgk-candy-home__nl.lgk-nl-cta {
  display: grid !important;
  width: 100%;
  max-width: 100%;
}

/* Newsletter Candy : plus de teal LGK */
.lgk-candy-home .lgk-candy-home__nl.lgk-nl-cta:focus-visible {
  outline-color: #ff4d8d;
}

.lgk-candy-home .lgk-candy-home__nl .lgk-nl-cta__badge {
  background: linear-gradient(135deg, #ff4d8d, #ff7a59);
  color: #1a0f14;
  box-shadow: 0 4px 16px rgba(255, 77, 141, 0.35);
}

.lgk-candy-home .lgk-candy-home__nl.lgk-nl-cta--banner {
  border-color: rgba(255, 77, 141, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 77, 141, 0.16) 0%, rgba(255, 122, 89, 0.1) 100%),
    rgba(26, 15, 20, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.lgk-candy-home .lgk-candy-home__nl.lgk-nl-cta--banner:hover {
  border-color: rgba(255, 77, 141, 0.62);
  box-shadow: 0 12px 32px rgba(255, 77, 141, 0.18);
}

.lgk-candy-home .lgk-candy-home__nl .lgk-nl-cta__title {
  color: #fff5f0;
}

.lgk-candy-home .lgk-candy-home__nl .lgk-nl-cta__subtitle {
  color: rgba(255, 245, 240, 0.72);
}

.lgk-candy-home .lgk-candy-home__nl .lgk-nl-cta__subtitle strong {
  color: #ff7a59;
}

.lgk-candy-home .lgk-candy-home__nl .lgk-nl-cta__action {
  background: linear-gradient(135deg, #ff4d8d, #ff7a59);
  color: #1a0f14;
  border: none;
  box-shadow: 0 8px 22px rgba(255, 77, 141, 0.28);
}

.lgk-candy-home .lgk-candy-home__nl.lgk-nl-cta--banner:hover .lgk-nl-cta__action {
  filter: brightness(1.06);
}

/* Trust bar Candy : accents rose (plus d’or Wayne) */
.lgk-candy-home .lgk-wayne-home__trust-card--action {
  border-color: rgba(255, 77, 141, 0.4);
  background: rgba(255, 77, 141, 0.1);
}

.lgk-candy-home .lgk-wayne-home__trust-card--action:hover {
  border-color: rgba(255, 77, 141, 0.7);
  background: rgba(255, 77, 141, 0.16);
}

.lgk-candy-home .lgk-wayne-home__trust-label {
  color: #ff4d8d;
}

@media (max-width: 999px) {
  html.lgk-storefront--candy-geekland .lgk-candy-home__nl.lgk-nl-cta--banner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      'badge body'
      'action action';
  }
  html.lgk-storefront--candy-geekland .lgk-candy-home__nl.lgk-nl-cta--banner > .lgk-nl-cta__badge { grid-area: badge; }
  html.lgk-storefront--candy-geekland .lgk-candy-home__nl.lgk-nl-cta--banner > .lgk-nl-cta__body { grid-area: body; }
  html.lgk-storefront--candy-geekland .lgk-candy-home__nl.lgk-nl-cta--banner > .lgk-nl-cta__action {
    grid-area: action;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 749px) {
  html.lgk-storefront--candy-geekland .lgk-candy-home__nl.lgk-nl-cta--banner {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      'badge'
      'body'
      'action';
    justify-items: center;
    text-align: center;
  }
  html.lgk-storefront--candy-geekland .lgk-candy-home__nl .lgk-nl-cta__body {
    text-align: center;
    width: 100%;
  }
  html.lgk-storefront--candy-geekland .lgk-candy-home__nl .lgk-nl-cta__action {
    width: 100%;
    white-space: normal;
  }
}

html.lgk-storefront--candy-geekland {
  --container-max-width: 100%;
  --container-xxs-max-width: 100%;
  --container-xs-max-width: 100%;
  --container-sm-max-width: 100%;
  --container-md-max-width: 100%;
  --container-lg-max-width: 100%;
  --container-xl-max-width: 100%;
  --page-width: 100%;
  --header-logo-width: 340px;
  --lgk-navi-accent: #ff4d8d;
  --lgk-navi-accent-2: #ff7a59;
  /* Contraste cartes / prix (évite text-subdued sombre sur fond dark) */
  --text-color: 255 245 240;
  --text-color-rgb: 255, 245, 240;
  --color-foreground: 255 245 240;
}

html.lgk-storefront--candy-geekland body {
  background: #1a0f14;
  color: #fff5f0;
}

html.lgk-storefront--candy-geekland .container,
html.lgk-storefront--candy-geekland .container.container--lg,
html.lgk-storefront--candy-geekland .container.container--xl,
html.lgk-storefront--candy-geekland .container.container--md {
  --container-max-width: 100% !important;
  margin-inline-start: var(--container-gutter) !important;
  margin-inline-end: var(--container-gutter) !important;
  max-width: none !important;
}

/* Palette Candy sur shell Wayne */
.lgk-wayne-home.lgk-candy-home {
  --wayne-ink: #1a0f14;
  --wayne-cream: #fff5f0;
  --wayne-accent: #ff4d8d;
  --wayne-mute: rgba(255, 245, 240, 0.72);
  background: var(--wayne-ink);
  color: var(--wayne-cream);
}

.lgk-candy-home__logo {
  width: min(280px, 72vw) !important;
  max-width: 280px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 28px rgba(255, 77, 141, 0.28));
}

.lgk-candy-home .lgk-wayne-home__hero-img {
  object-position: 68% center;
  transform: scale(1.02);
  animation: lgk-candy-hero-ken 18s ease-in-out infinite alternate;
}

@keyframes lgk-candy-hero-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lgk-candy-home .lgk-wayne-home__hero-img {
    animation: none;
    transform: none;
  }
}

.lgk-candy-home .lgk-wayne-home__hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 10, 14, 0.92) 0%, rgba(18, 10, 14, 0.72) 38%, rgba(18, 10, 14, 0.28) 68%, rgba(18, 10, 14, 0.45) 100%),
    linear-gradient(180deg, rgba(18, 10, 14, 0.25) 0%, transparent 35%, rgba(18, 10, 14, 0.82) 100%);
}

@media (max-width: 699px) {
  .lgk-candy-home .lgk-wayne-home__hero-img {
    object-position: 72% center;
  }
  .lgk-candy-home .lgk-wayne-home__hero-shade {
    background:
      linear-gradient(180deg, rgba(18, 10, 14, 0.35) 0%, rgba(18, 10, 14, 0.55) 40%, rgba(18, 10, 14, 0.92) 100%);
  }
}

.lgk-candy-home .lgk-wayne-home__btn--primary {
  background: linear-gradient(135deg, #ff4d8d, #ff7a59);
  color: #1a0f14;
  border: none;
}

.lgk-candy-home .lgk-wayne-home__btn--primary:hover {
  filter: brightness(1.06);
}

.lgk-candy-home__promise.lgk-wayne-home__klarna {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 77, 141, 0.16), transparent 60%),
    var(--wayne-ink);
}

.lgk-candy-home .lgk-wayne-home__finale {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 77, 141, 0.18), transparent 60%),
    var(--wayne-ink);
}

.lgk-candy-home .lgk-wayne-home__finale-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* —— Cartes produit : prix lisibles + CTA séparés —— */
html.lgk-storefront--candy-geekland .product-card,
html.lgk-storefront--candy-geekland .lgk-card-v2 {
  color: #fff5f0;
}

html.lgk-storefront--candy-geekland .product-card__title,
html.lgk-storefront--candy-geekland .product-card__title a,
html.lgk-storefront--candy-geekland .lgk-card-v2 .product-card__title,
html.lgk-storefront--candy-geekland .product-card .product-title,
html.lgk-storefront--candy-geekland .product-card a.product-title,
html.lgk-storefront--candy-geekland .lgk-card-v2 .product-title {
  color: #fff5f0 !important;
}

html.lgk-storefront--candy-geekland .product-card .price-list,
html.lgk-storefront--candy-geekland .product-card .price-list *,
html.lgk-storefront--candy-geekland .product-card .text-subdued,
html.lgk-storefront--candy-geekland .product-card__price,
html.lgk-storefront--candy-geekland .product-card .price,
html.lgk-storefront--candy-geekland .product-card sale-price,
html.lgk-storefront--candy-geekland .product-card compare-at-price {
  color: #fff5f0 !important;
  opacity: 1 !important;
}

html.lgk-storefront--candy-geekland .product-card .text-on-sale {
  color: #ff7a59 !important;
}

html.lgk-storefront--candy-geekland .product-card__figure {
  background: #2a1520;
  border-radius: 1rem;
  overflow: hidden;
}

html.lgk-storefront--candy-geekland .lgk-card-v2__buy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin-top: 0.55rem;
  width: 100%;
}

html.lgk-storefront--candy-geekland .lgk-card-v2__stock {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(255, 245, 240, 0.65);
}

html.lgk-storefront--candy-geekland .lgk-card-v2__stock--ok {
  color: #4ade80;
}

html.lgk-storefront--candy-geekland .lgk-card-v2__stock--preorder {
  color: #fbbf24;
}

html.lgk-storefront--candy-geekland .lgk-card-v2__form,
html.lgk-storefront--candy-geekland .lgk-card-v2__form-el {
  display: block;
  width: 100%;
  margin: 0;
}

html.lgk-storefront--candy-geekland .lgk-card-v2__cta,
html.lgk-storefront--candy-geekland .lgk-card-v2__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: #1a0f14 !important;
  background: linear-gradient(135deg, #ff4d8d, #ff7a59) !important;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  line-height: 1.2;
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
  filter: none;
}

html.lgk-storefront--candy-geekland .lgk-card-v2__cta:hover,
html.lgk-storefront--candy-geekland .lgk-card-v2__cta-link:hover {
  filter: brightness(1.08);
}

html.lgk-storefront--candy-geekland .lgk-card-v2__cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

/* ==========================================================================
   Tiroir panier — Candy Geekland
   ========================================================================== */
html.lgk-storefront--candy-geekland .cart-drawer,
html.lgk-storefront--candy-geekland cart-drawer.drawer {
  --drawer-max-width: min(94vw, 26.5rem);
  --cg-drawer-bg: #1a0f14;
  --cg-drawer-surface: #24141c;
  --cg-drawer-line: rgba(255, 245, 240, 0.12);
  --cg-drawer-cream: #fff5f0;
  --cg-drawer-mute: rgba(255, 245, 240, 0.68);
  --cg-pink: #ff4d8d;
  --cg-coral: #ff7a59;
  color: var(--cg-drawer-cream);
}

html.lgk-storefront--candy-geekland .cart-drawer::part(overlay) {
  background: rgba(10, 4, 8, 0.72);
  backdrop-filter: blur(4px);
}

html.lgk-storefront--candy-geekland .cart-drawer::part(content) {
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(255, 77, 141, 0.18), transparent 55%),
    radial-gradient(90% 50% at 0% 100%, rgba(255, 122, 89, 0.1), transparent 50%),
    var(--cg-drawer-bg) !important;
  background-image: none;
  border-left: 1px solid rgba(255, 77, 141, 0.22);
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.45);
}

html.lgk-storefront--candy-geekland .cart-drawer::part(header) {
  border-block-end: 1px solid var(--cg-drawer-line);
  background: rgba(0, 0, 0, 0.22);
  padding-block: 1rem;
}

html.lgk-storefront--candy-geekland .cart-drawer::part(close-button) {
  color: var(--cg-drawer-cream);
  opacity: 0.85;
}

html.lgk-storefront--candy-geekland .cart-drawer::part(close-button):hover {
  opacity: 1;
  color: #ffc2d6;
}

html.lgk-storefront--candy-geekland .cart-drawer::part(body) {
  padding-block: 0.85rem 1rem;
}

html.lgk-storefront--candy-geekland .cart-drawer::part(footer) {
  background: linear-gradient(180deg, rgba(36, 20, 28, 0.92), #1a0f14) !important;
  border-block-start: 1px solid rgba(255, 77, 141, 0.22);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.28);
  padding-block: 1rem 1.15rem;
}

html.lgk-storefront--candy-geekland .cart-drawer__heading .h4,
html.lgk-storefront--candy-geekland .cart-drawer__title {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

html.lgk-storefront--candy-geekland .cart-drawer__count {
  background: linear-gradient(135deg, var(--cg-pink), var(--cg-coral));
  color: #1a0f14;
  box-shadow: 0 4px 14px rgba(255, 77, 141, 0.35);
}

html.lgk-storefront--candy-geekland .cart-drawer__items {
  gap: 1rem;
  padding-block: 0.85rem 1rem;
}

html.lgk-storefront--candy-geekland .cart-drawer .line-item {
  --line-item-media-width: 4.75rem;
  align-items: flex-start;
  column-gap: 0.9rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--cg-drawer-line);
  background: rgba(255, 245, 240, 0.04);
}

html.lgk-storefront--candy-geekland .cart-drawer .line-item__media {
  border-radius: 10px;
  overflow: hidden;
  background: #2a1520;
  aspect-ratio: 1;
  object-fit: cover;
}

html.lgk-storefront--candy-geekland .cart-drawer .line-item-info a,
html.lgk-storefront--candy-geekland .cart-drawer .line-item-info .h6,
html.lgk-storefront--candy-geekland .cart-drawer .line-item-info p {
  color: var(--cg-drawer-cream);
}

html.lgk-storefront--candy-geekland .cart-drawer .line-item-info a {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  line-height: 1.3;
}

html.lgk-storefront--candy-geekland .cart-drawer .line-item-info a:hover {
  color: #ffc2d6;
}

html.lgk-storefront--candy-geekland .cart-drawer .text-subdued,
html.lgk-storefront--candy-geekland .cart-drawer .price-list,
html.lgk-storefront--candy-geekland .cart-drawer .smallcaps {
  color: var(--cg-drawer-mute) !important;
}

html.lgk-storefront--candy-geekland .cart-drawer .free-shipping-bar {
  display: none !important;
}

html.lgk-storefront--candy-geekland .cart-drawer__shipping {
  margin: 0 0 0.35rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 77, 141, 0.22);
  background: rgba(255, 77, 141, 0.07);
}

html.lgk-storefront--candy-geekland .cart-drawer__shipping .lgk-cart-shipping-tip {
  border: 0;
  padding: 0;
}

/* Popups upsell parasites — ShipGuard / footer-addons restent visibles (revenus) */
html.lgk-storefront--candy-geekland shopify-app-block[id*='essential' i],
html.lgk-storefront--candy-geekland shopify-app-block[id*='50627fd9'],
html.lgk-storefront--candy-geekland .cart-drawer [class*='essential-upsell' i],
html.lgk-storefront--candy-geekland .cart-drawer [class*='upsell-modal' i],
html.lgk-storefront--candy-geekland .cart-drawer [class*='upsell_popup' i] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Popups Essential Upsell hors drawer (overlay blanc) */
html.lgk-storefront--candy-geekland body > [class*='essential' i],
html.lgk-storefront--candy-geekland body > div[id*='essential' i],
html.lgk-storefront--candy-geekland [class*='eu-popup' i],
html.lgk-storefront--candy-geekland [class*='eu_popup' i],
html.lgk-storefront--candy-geekland [id*='essential-upsell' i] {
  display: none !important;
}

html.lgk-storefront--candy-geekland .lgk-cart-shipping-tip {
  border-color: var(--cg-drawer-line);
  padding: 0;
}

html.lgk-storefront--candy-geekland .lgk-cart-shipping-tip__bar {
  background: rgba(255, 245, 240, 0.08);
}

html.lgk-storefront--candy-geekland .cart-drawer__complementary-products,
html.lgk-storefront--candy-geekland .cart-drawer__upsell {
  border-color: var(--cg-drawer-line) !important;
  background: rgba(255, 245, 240, 0.03);
}

html.lgk-storefront--candy-geekland .cart-drawer__footer {
  gap: 0.85rem;
}

html.lgk-storefront--candy-geekland .cart-drawer__totals {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 141, 0.22);
  background: rgba(255, 77, 141, 0.08);
}

html.lgk-storefront--candy-geekland .cart-drawer__totals-label {
  color: var(--cg-drawer-mute);
}

html.lgk-storefront--candy-geekland .cart-drawer__totals-value {
  color: #ffc2d6;
}

html.lgk-storefront--candy-geekland .cart-drawer__checkout-actions {
  gap: 0.55rem;
}

html.lgk-storefront--candy-geekland .cart-drawer .button,
html.lgk-storefront--candy-geekland .cart-drawer .button--primary,
html.lgk-storefront--candy-geekland .cart-drawer button[name='checkout'] {
  min-height: 3rem;
  border-radius: 999px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--cg-pink), var(--cg-coral)) !important;
  color: #1a0f14 !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(255, 77, 141, 0.28);
}

html.lgk-storefront--candy-geekland .cart-drawer .button:hover,
html.lgk-storefront--candy-geekland .cart-drawer button[name='checkout']:hover {
  filter: brightness(1.06);
}

html.lgk-storefront--candy-geekland .cart-drawer .button--outline,
html.lgk-storefront--candy-geekland .cart-drawer a.button--outline {
  background: transparent !important;
  border: 1px solid var(--cg-drawer-line) !important;
  color: var(--cg-drawer-cream) !important;
  box-shadow: none;
}

html.lgk-storefront--candy-geekland .cart-drawer .button.is-pressed,
html.lgk-storefront--candy-geekland .cart-drawer button[name='checkout'].is-pressed {
  transform: scale(0.98);
}

html.lgk-storefront--candy-geekland .cart-drawer__checkout-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(26, 15, 20, 0.25);
  border-top-color: #1a0f14;
  border-radius: 50%;
  display: inline-block;
  animation: lgk-cg-spin 0.7s linear infinite;
}

@keyframes lgk-cg-spin {
  to { transform: rotate(360deg); }
}

html.lgk-storefront--candy-geekland .cart-drawer__empty {
  color: var(--cg-drawer-cream);
}

html.lgk-storefront--candy-geekland .cart-drawer__empty-cta {
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--cg-pink), var(--cg-coral)) !important;
  color: #1a0f14 !important;
  font-weight: 800;
  padding: 0.7rem 1.25rem;
  box-shadow: 0 10px 24px rgba(255, 77, 141, 0.28);
}

html.lgk-storefront--candy-geekland .cart-drawer .quantity-selector,
html.lgk-storefront--candy-geekland .cart-drawer .quantity-input {
  border-color: var(--cg-drawer-line) !important;
  background: rgba(0, 0, 0, 0.25) !important;
  color: var(--cg-drawer-cream) !important;
  border-radius: 10px !important;
}

html.lgk-storefront--candy-geekland .cart-drawer .link-faded-reverse {
  color: #ff9ebd;
}

@media (max-width: 699px) {
  html.lgk-storefront--candy-geekland .cart-drawer {
    --drawer-max-width: min(100vw, 26.5rem);
  }

  html.lgk-storefront--candy-geekland .cart-drawer .line-item {
    --line-item-media-width: 4.25rem;
    padding: 0.65rem;
  }
}

/* Header logo Candy */
html.lgk-storefront--candy-geekland .lgk-navi-slide {
  --lgk-navi-accent: #ff4d8d;
}

html.lgk-storefront--candy-geekland .header__logo-image--candy {
  display: block;
  width: clamp(220px, 32vw, 340px);
  max-width: none;
  max-height: 110px;
  height: auto;
  object-fit: contain;
  opacity: 1;
  position: static;
}

html.lgk-storefront--candy-geekland .header__logo {
  max-width: none;
}

@media (max-width: 699px) {
  html.lgk-storefront--candy-geekland .header__logo-image--candy {
    width: clamp(168px, 52vw, 240px);
    max-height: 78px;
  }
}

html:not(.lgk-storefront--candy-geekland) .header__logo-candy-pair,
html:not(.lgk-storefront--candy-geekland) .header__logo-image--candy,
html:not(.lgk-storefront--candy-geekland) .header__logo-text--candy {
  display: none !important;
}

/* Isolation home Candy */
html:not(.lgk-storefront--candy-geekland) .shopify-section--lgk-candy-geekland-home,
html:not(.lgk-storefront--candy-geekland) .lgk-candy-home,
html:not(.lgk-storefront--candy-geekland) [data-lgk-candy-geekland-home] {
  display: none !important;
}

/* Origins merchandising */
.lgk-candy-home__origins {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.lgk-candy-home__origin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}
@media (max-width: 699px) {
  .lgk-candy-home__origin-grid {
    grid-template-columns: 1fr;
  }
}
.lgk-candy-home__origin-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(145deg, rgba(255, 77, 141, 0.18), rgba(26, 10, 46, 0.55));
  border: 1px solid rgba(255, 77, 141, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lgk-candy-home__origin-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 77, 141, 0.7);
}
.lgk-candy-home__origin-flag {
  font-size: 1.5rem;
  line-height: 1;
}
.lgk-candy-home__origin-title {
  font-weight: 700;
  font-size: 1.05rem;
}
.lgk-candy-home__origin-count {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ——— Blog Confiserie ——— */
html.lgk-storefront--candy-geekland body.template-blog,
html.lgk-storefront--candy-geekland body.template-article {
  background: #140b12;
  color: #fff5f0;
}

html.lgk-storefront--candy-geekland .shopify-section--main-blog,
html.lgk-storefront--candy-geekland .lgk-candy-blog {
  --lgk-candy-pink: #ff4d8d;
  --lgk-candy-coral: #ff7a59;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 77, 141, 0.18), transparent 60%),
    #140b12 !important;
  color: #fff5f0;
}

html.lgk-storefront--candy-geekland .shopify-section--main-blog .color-scheme,
html.lgk-storefront--candy-geekland .lgk-candy-blog.color-scheme {
  background: transparent !important;
  color: #fff5f0;
}

html.lgk-storefront--candy-geekland .shopify-section--main-blog .section-header .h2,
html.lgk-storefront--candy-geekland .shopify-section--main-blog h1,
html.lgk-storefront--candy-geekland .lgk-candy-blog h1 {
  color: #fff5f0;
  letter-spacing: -0.02em;
}

html.lgk-storefront--candy-geekland .shopify-section--main-blog .blog-tags,
html.lgk-storefront--candy-geekland .lgk-candy-blog .blog-tags {
  max-height: 7.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: flex-start;
  gap: 0.45rem 0.55rem;
  padding: 0.35rem 0.15rem 0.85rem;
  mask-image: linear-gradient(180deg, #000 72%, transparent);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 77, 141, 0.45) transparent;
}

/* Filet de sécurité : masquer tags produit même si le filtre Liquid rate */
html.lgk-storefront--candy-geekland .blog-tags li:has(a[href*="/tagged/product-"]),
html.lgk-storefront--candy-geekland .blog-tags li:has(a[title*="product:"]),
html.lgk-storefront--candy-geekland .blog-tags a[href*="/tagged/product-"],
html.lgk-storefront--candy-geekland .blog-tags a[title*="product:"] {
  display: none !important;
}

html.lgk-storefront--candy-geekland .blog-tags li:nth-child(n + 32) {
  display: none !important;
}

html.lgk-storefront--candy-geekland .shopify-section--main-blog .blog-tags li,
html.lgk-storefront--candy-geekland .shopify-section--main-blog .blog-tags a,
html.lgk-storefront--candy-geekland .lgk-candy-blog .blog-tags li,
html.lgk-storefront--candy-geekland .lgk-candy-blog .blog-tags a {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 245, 240, 0.16);
  background: rgba(255, 77, 141, 0.1);
  color: #fff5f0;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.lgk-storefront--candy-geekland .shopify-section--main-blog .blog-tags li:first-child a,
html.lgk-storefront--candy-geekland .lgk-candy-blog .blog-tags li:first-child a {
  border-color: rgba(255, 77, 141, 0.55);
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.35), rgba(255, 122, 89, 0.18));
}

html.lgk-storefront--candy-geekland .shopify-section--main-blog .blog-tags a:hover,
html.lgk-storefront--candy-geekland .lgk-candy-blog .blog-tags a:hover {
  border-color: #ff4d8d;
  background: rgba(255, 77, 141, 0.28);
}

html.lgk-storefront--candy-geekland .blog-post-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

html.lgk-storefront--candy-geekland .blog-post-card > a.overflow-hidden {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255, 77, 141, 0.08);
  border: 1px solid rgba(255, 245, 240, 0.1);
}

html.lgk-storefront--candy-geekland .blog-post-card__image {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

html.lgk-storefront--candy-geekland .featured-blog-post {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 141, 0.28);
  background: #1a0f14;
}

html.lgk-storefront--candy-geekland .featured-blog-post .content-over-media {
  min-height: clamp(220px, 36vw, 420px);
  aspect-ratio: 21 / 9;
}

html.lgk-storefront--candy-geekland .featured-blog-post img,
html.lgk-storefront--candy-geekland .featured-blog-post .zoom-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

html.lgk-storefront--candy-geekland .featured-blog-post .prose {
  color: #fff5f0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

html.lgk-storefront--candy-geekland .blog-post-card__title a,
html.lgk-storefront--candy-geekland .blog-post-card__title {
  color: #fff5f0;
}

html.lgk-storefront--candy-geekland .blog-post-card__excerpt,
html.lgk-storefront--candy-geekland .blog-post-card__category,
html.lgk-storefront--candy-geekland .blog-post-card__meta {
  color: rgba(255, 245, 240, 0.72);
}

html.lgk-storefront--candy-geekland .blog-post-card__read-more {
  color: var(--lgk-candy-pink);
  font-weight: 700;
}

html.lgk-storefront--candy-geekland .blog-post-list {
  --blog-post-list-column-gap: 1.25rem;
  --blog-post-list-row-gap: 1.75rem;
}

@media screen and (min-width: 1000px) {
  html.lgk-storefront--candy-geekland .blog-post-list {
    --blog-post-list-column-gap: 1.75rem;
  }

  html.lgk-storefront--candy-geekland .featured-blog-post {
    display: block !important;
  }

  html.lgk-storefront--candy-geekland .featured-blog-post + .blog-post-card {
    display: none !important;
  }
}

/* Candy : tags plus digérés */
html.lgk-storefront--candy-geekland .shopify-section--main-blog .blog-tags {
  max-height: 5.5rem;
}

html.lgk-storefront--candy-geekland .shopify-section--main-blog .blog-tags li:nth-child(n + 16) {
  display: none !important;
}

/* Hub collections Candy (grille featured + rail) */
.lgk-candy-home__cats .lgk-wayne-home__feature-media:empty,
.lgk-candy-home__cats .lgk-wayne-home__tile-media:empty {
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255, 77, 141, 0.35), transparent 55%),
    linear-gradient(145deg, #2a1024 0%, #120812 100%);
}

.lgk-candy-home__cats .lgk-wayne-home__btn--primary {
  background: #ff4d8d;
  border-color: #ff4d8d;
  color: #fff;
}

.lgk-candy-home__cats .lgk-wayne-home__link-faded:hover {
  color: #ff7a59;
}

.lgk-candy-home__origin-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 11rem;
}

.lgk-candy-home__origin-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lgk-candy-home__origin-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.lgk-candy-home__origin-card:hover .lgk-candy-home__origin-media img {
  transform: scale(1.05);
}

.lgk-candy-home__origin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(20, 8, 18, 0.92) 0%, rgba(20, 8, 18, 0.35) 55%, transparent 80%);
  pointer-events: none;
}

.lgk-candy-home__origin-card strong,
.lgk-candy-home__origin-card > span:not(.lgk-candy-home__origin-media) {
  position: relative;
  z-index: 2;
  padding-inline: 1.15rem;
}

.lgk-candy-home__origin-card strong {
  margin-top: auto;
  padding-top: 5.5rem;
  font-size: 1.2rem;
}

.lgk-candy-home__origin-card > span:last-child {
  padding-bottom: 1.15rem;
  font-size: 0.88rem;
  opacity: 0.85;
}

.lgk-candy-home__rayon-tabs .lgk-wayne-home__tab {
  text-decoration: none;
  cursor: pointer;
}

html.lgk-storefront--candy-geekland .lgk-topbar--v2 {
  border-bottom-color: rgba(255, 77, 141, 0.22) !important;
}

html.lgk-storefront--candy-geekland .lgk-topbar__nav a:hover {
  border-bottom-color: rgba(255, 77, 141, 0.85);
  color: #fff5f0;
}

html.lgk-storefront--candy-geekland .lgk-header-menu-btn {
  border-color: rgba(255, 77, 141, 0.35) !important;
}
