/* Connected storefront components. Load after release.css while legacy layers are retired. */
.gfa-home-actions,
.gfa-category-mosaic,
.gfa-storefront-v2 {
  --gfa-surface: #151511;
  --gfa-text: #dfdbcf;
  --gfa-secondary: #b8b2a5;
  --gfa-outline: rgba(212, 175, 55, .27);
  --gfa-accent: #d4af37;
}

.gfa-home-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-block: 44px 12px;
}
.gfa-home-action {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 30px 24px 26px;
  border: 1px solid var(--gfa-outline);
  border-radius: 7px;
  background: radial-gradient(ellipse at 50% 0, rgba(186, 129, 21, .10), transparent 75%), #0c0c09;
  text-align: center;
  transition: border-color .18s ease, background-color .18s ease;
}
.gfa-home-action:hover { border-color: var(--gfa-accent); background-color: #15130b; }
.gfa-home-action > svg { width: 42px; height: 42px; fill: none; stroke: #d4af37; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.gfa-home-action h2 { margin: 18px 0 9px; color: var(--gfa-text); font: 600 clamp(19px, 1.6vw, 25px)/1.3 "Cinzel", Georgia, serif; }
.gfa-home-action p { max-width: 30ch; margin: 0 0 18px; color: var(--gfa-secondary); font: 400 15px/1.6 "Lato", Arial, sans-serif; }
.gfa-home-action > span { margin-top: auto; color: #e3c756; font-size: 13px; line-height: 1.5; }
.gfa-home-action > span span { margin-left: 6px; }
.gfa-home-action:focus-visible,
.gfa-category-tile:focus-visible,
.gfa-storefront-v2 a:focus-visible { outline: 2px solid #f3e370; outline-offset: 5px; }

.gfa-category-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gfa-category-tile { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--gfa-outline); border-radius: 7px; overflow: hidden; background: #11110e; }
.gfa-category-tile-media { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; background: radial-gradient(ellipse, #282419, #0d0d0b); }
.gfa-category-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gfa-category-tile:hover .gfa-category-tile-media img { transform: scale(1.035); }
.gfa-category-tile-media svg { width: 34%; height: auto; fill: none; stroke: #ba8115; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gfa-category-tile-caption { padding: 19px 20px 21px; text-align: center; }
.gfa-category-tile-caption h3 { margin: 0 0 8px; color: var(--gfa-text); font: 500 clamp(18px, 1.8vw, 25px)/1.35 "Cinzel", Georgia, serif; }
.gfa-category-tile-caption > span { color: #e3c756; font-size: 13px; }
.gfa-category-tile-caption > span span { margin-left: 8px; }

/* These two !important overrides are needed only for legacy fixed-height WooCommerce images. */
.gfa-square-products .woocommerce ul.products li.product a img,
.gfa-square-products.woocommerce ul.products li.product a img,
.gfa-square-products .woocommerce ul.products li.product img {
  width: 100%; height: auto !important; aspect-ratio: 1 / 1;
  object-fit: contain; box-sizing: border-box; padding: 12px;
  background: #f3f1eb; border-radius: 6px;
}
.gfa-square-products ul.products li.product { min-width: 0; display: flex; flex-direction: column; }
.gfa-square-products li.product .woocommerce-LoopProduct-link { display: flex; flex: 1; flex-direction: column; }
.gfa-square-products li.product .woocommerce-loop-product__title { min-height: 2.7em; overflow-wrap: anywhere; }
.gfa-square-products li.product .price { margin-top: auto; }
.gfa-square-products .woocommerce ul.products li.product .price {
  color: #e3c756 !important; background: none; -webkit-text-fill-color: currentColor;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px;
}
.gfa-square-products li.product .price ins { text-decoration: none; }
.gfa-square-products li.product .price del { opacity: .8; font-size: .84em; }

.gfa-storefront-v2 { color: var(--gfa-text); background: #060605; }
.gfa-store-hero-v2 { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 370px; padding-block: 64px 44px; border-bottom: 1px solid var(--gfa-outline); }
.gfa-store-hero-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: #11110e; }
.gfa-store-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.gfa-store-hero-v2::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(6, 6, 5, .91), rgba(6, 6, 5, .40)), linear-gradient(0deg, #060605, transparent 70%); }
.gfa-store-identity { display: flex; align-items: center; gap: 28px; }
.gfa-store-logo-v2 { flex: 0 0 106px; display: grid; place-items: center; width: 106px; height: 106px; border: 1px solid var(--store-accent); border-radius: 50%; overflow: hidden; background: #10100d; color: #e3c756; font: 500 40px/1 "Cinzel", Georgia, serif; }
.gfa-store-logo-v2 img { width: 100%; height: 100%; object-fit: contain; }
.gfa-store-identity > div { min-width: 0; }
.gfa-store-identity .eyebrow { margin: 0 0 8px; color: #e3c756; }
.gfa-store-identity h1 { margin: 0; max-width: 23ch; color: #f0e8d7; font: 500 clamp(32px, 4.5vw, 58px)/1.17 "Cinzel", Georgia, serif; overflow-wrap: anywhere; }
.gfa-store-tagline { max-width: 64ch; margin: 14px 0 0; color: #e0d8c8; font: 400 clamp(17px, 1.6vw, 22px)/1.5 "Inria Serif", Georgia, serif; }
.gfa-store-location { margin: 9px 0 0; color: #c3bcad; font-size: 14px; }
.gfa-store-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; padding-block: 14px; border-bottom: 1px solid var(--gfa-outline); }
.gfa-store-navigation a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: #dfdbcf; font-size: 14px; }
.gfa-store-navigation a:hover { color: #f3e370; }
.gfa-store-navigation a > span:not([aria-hidden]) { padding: 1px 7px; border: 1px solid var(--gfa-outline); border-radius: 4px; color: #e3c756; font-size: 12px; }
.gfa-store-navigation .gfa-store-back { margin-left: auto; color: #e3c756; }
.gfa-store-story-v2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding-block: 48px; border-bottom: 1px solid var(--gfa-outline); }
.gfa-store-story-v2 h2 { margin: 7px 0 0; font: 400 clamp(27px, 3vw, 40px)/1.2 "Inria Serif", Georgia, serif; }
.gfa-store-story-copy { color: #c1bbad; overflow-wrap: anywhere; }
.gfa-store-story-copy > :first-child { margin-top: 0; }
.gfa-store-story-copy > :last-child { margin-bottom: 0; }
.gfa-store-products-section { padding-block: 48px; scroll-margin-top: 24px; }
.gfa-store-products-section + .gfa-store-products-section { border-top: 1px solid var(--gfa-outline); }
.gfa-store-products-section .section-heading { gap: 24px; margin-bottom: 28px; }
.gfa-store-products-section .section-heading h2,
.gfa-store-sale-heading h2 { margin: 0 0 10px; color: #dfdbcf; font: 400 clamp(30px, 3.1vw, 44px)/1.2 "Inria Serif", Georgia, serif; }
.gfa-store-products-section .section-heading p:not(.eyebrow),
.gfa-store-sale-heading p:not(.eyebrow) { color: var(--gfa-secondary); }
.gfa-storefront-v2 .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.gfa-storefront-v2 .woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gfa-storefront-v2 .woocommerce ul.products li.product { background: #10100d; border-color: var(--gfa-outline); border-radius: 6px; overflow: hidden; }
.gfa-storefront-v2 .woocommerce ul.products li.product .button { width: calc(100% - 36px); margin-top: 18px !important; }
.gfa-storefront-v2 .woocommerce ul.products li.product a img { border-radius: 0; }
.gfa-store-sale-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 32px; margin-bottom: 28px; padding: 28px; border: 1px solid var(--store-accent); border-radius: 6px; background: linear-gradient(110deg, rgba(186, 129, 21, .14), #10100d); }
.gfa-store-sale-heading .eyebrow { margin-top: 0; }
.gfa-store-sale-heading p { margin-bottom: 0; }
.gfa-store-sale-heading .gfa-sale-price-note { font-size: 13px; line-height: 1.6; }
.gfa-store-layout-classic .gfa-store-hero-v2 { min-height: 300px; }
.gfa-store-layout-classic .gfa-store-story-v2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.gfa-store-layout-minimal .gfa-store-hero-v2 { min-height: 240px; }
.gfa-store-layout-minimal .gfa-store-hero-media img { opacity: .25; }
.gfa-store-layout-minimal .gfa-store-story-v2 { padding-block: 32px; }
.gfa-store-layout-minimal .gfa-store-products-section { padding-block: 36px; }
.gfa-store-pagination { margin-top: 32px; }
.gfa-store-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.gfa-store-pagination a,
.gfa-store-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid var(--gfa-outline); border-radius: 5px; }
.gfa-store-pagination .current { background: #d4af37; color: #060605; border-color: #d4af37; }

@media (max-width: 1024px) {
  .gfa-home-actions { gap: 16px; }
  .gfa-home-action { padding: 25px 16px; }
  .gfa-category-mosaic { gap: 18px; }
  .gfa-storefront-v2 .woocommerce ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .gfa-home-actions { grid-template-columns: 1fr; padding-top: 28px; }
  .gfa-home-action { min-height: 0; }
  .gfa-category-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gfa-store-hero-v2 { min-height: 310px; padding-block: 40px 32px; }
  .gfa-store-identity { gap: 20px; }
  .gfa-store-logo-v2 { flex-basis: 86px; width: 86px; height: 86px; }
  .gfa-store-navigation { gap: 0 20px; }
  .gfa-store-navigation .gfa-store-back { margin-left: 0; }
  .gfa-store-story-v2,
  .gfa-store-layout-classic .gfa-store-story-v2,
  .gfa-store-sale-heading { grid-template-columns: 1fr; gap: 22px; }
  .gfa-storefront-v2 .woocommerce ul.products,
  .gfa-storefront-v2 .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .gfa-category-mosaic { grid-template-columns: 1fr; gap: 20px; }
  .gfa-store-identity { flex-direction: column; align-items: flex-start; }
  .gfa-store-hero-v2 { min-height: 360px; }
  .gfa-storefront-v2 .woocommerce ul.products,
  .gfa-storefront-v2 .woocommerce ul.products.columns-4 { grid-template-columns: 1fr; }
  .gfa-store-products-section .section-heading { align-items: flex-start; flex-direction: column; }
  .gfa-store-sale-heading { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .gfa-home-action,
  .gfa-category-tile-media img { transition: none; }
}

/* Keep the cart reachable in the former 801–820px breakpoint gap. */
.site-header .cart-link { display: inline-flex !important; align-items: center; justify-content: center; }
.gfa-membership-offer { display: block; margin: 20px 0; padding: 24px; border: 1px solid #ba811566; border-radius: 12px; background: #151511; }
.gfa-membership-offer h2 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
.gfa-membership-offer ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.gfa-membership-offer li { padding: 14px; border: 1px solid #ba811544; border-radius: 8px; color: #dfdbcf; }
.gfa-enterprise-offer { margin-top: 24px; padding: 24px; border: 1px solid #ba811566; border-radius: 12px; }
.gfa-portal-metrics { gap: 18px; margin-block: 24px; }
.gfa-portal-stat { min-width: 0; }
.gfa-suite-two-column > *, .gfa-portal-form-grid > * { min-width: 0; }
@media (max-width: 800px) { .gfa-membership-offer ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gfa-membership-offer ul { grid-template-columns: 1fr; } }

/* Keep hero copy in normal flow; earlier mobile rules collapsed its absolute-positioned container. */
.gfa-figma-hero { height: auto !important; }
.gfa-figma-hero-inner { display: grid; height: auto !important; align-items: center; }
.gfa-figma-hero-copy { position: relative !important; inset: auto !important; width: auto !important; padding-block: 54px !important; }
.gfa-figma-hero-copy h1 { width: auto !important; font-size: clamp(46px, 5.3vw, 76px) !important; }
.gfa-figma-hero-copy > p { width: auto !important; }
.gfa-figma-hero-image { position: relative !important; inset: auto !important; width: 100% !important; }
@media (max-width: 1000px) {
  .gfa-figma-hero-inner { display: block; padding: 0 !important; }
  .gfa-figma-hero-copy { padding: 62px 18px !important; max-width: 660px; }
  .gfa-figma-hero-copy h1 { font-size: clamp(40px, 7.5vw, 64px) !important; }
  .gfa-figma-hero-image { position: absolute !important; inset: 0 !important; height: 100% !important; }
  .gfa-figma-hero-image::before { background: linear-gradient(90deg, rgba(6,6,5,.94), rgba(6,6,5,.68)); }
}
@media (max-width: 480px) {
  .gfa-figma-hero-copy { padding: 48px 12px !important; }
  .gfa-figma-hero-copy h1 { font-size: 42px !important; line-height: 1.09 !important; }
  .gfa-figma-hero-copy > p { font-size: 18px !important; }
  .gfa-figma-hero .button-row { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 25px; }
}
