/* v112: BRIDGE — maps Woo HTML onto the source site's actual CSS system.
   The ref-*.css files ARE the source site's CSS. This bridge:
   1. defines the CSS variables the ref CSS needs
   2. maps Woo selectors to source-site visual appearance
   3. overrides Woo defaults that conflict with source CSS */

/* GTStandard-M — the source site's actual custom font */
@font-face {
  font-family: 'GTStandard-M';
  src: url('../fonts/GTStandard-MRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GTStandard-M';
  src: url('../fonts/GTStandard-MMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GTStandard-M';
  src: url('../fonts/GTStandard-MSemibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Source site CSS variables (extracted from crawl HTML inline styles) */
:root {
  --font-body-family: 'GTStandard-M', Arial, Helvetica, sans-serif;
  --font-body-style: normal;
  --font-body-weight: 400;
  --font-body-weight-bold: 700;
  --font-heading-family: 'GTStandard-M', Arial, Helvetica, sans-serif;
  --font-heading-style: normal;
  --font-heading-weight: 400;
  --font-body-scale: 1.0;
  --font-heading-scale: 1.0;
  --page-width: 162rem;
  --page-width-margin: 0rem;
  --color-base-text: 36,28,23;
  --color-base-background-1: 247,241,231;
  --color-base-background-2: 36,28,23;
  --color-base-accent-1: 184,135,70;
  --color-base-accent-2: 36,28,23;
  --color-foreground: 36,28,23;
  --color-background: 247,241,231;
  --color-background-contrast: 215,185,135;
  --color-shadow: 36,28,23;
  --color-button: 184,135,70;
  --color-button-text: 36,28,23;
  --color-secondary-button: 247,241,231;
  --color-secondary-button-text: 36,28,23;
  --color-link: 36,28,23;
  --color-badge-foreground: 36,28,23;
  --color-badge-background: 247,241,231;
  --color-badge-border: 36,28,23;
  --gradient-background: #f7f1e7;
  --media-radius: 0px;
  --media-border-width: 1px;
  --media-border-opacity: 0.05;
  --media-shadow-visible: 0;
  --media-shadow-opacity: 0.0;
  --media-shadow-horizontal-offset: 0px;
  --media-shadow-vertical-offset: 4px;
  --media-shadow-blur-radius: 5px;
  --product-card-corner-radius: 0rem;
  --product-card-shadow-opacity: 0.0;
  --product-card-shadow-horizontal-offset: 0px;
  --product-card-shadow-vertical-offset: 4px;
  --product-card-shadow-blur-radius: 8px;
  --collection-card-corner-radius: 0rem;
  --blog-card-corner-radius: 0rem;
  --badge-corner-radius: 0rem;
  --text-boxes-radius: 0px;
  --buttons-radius: 6px;
  --buttons-radius-outset: 7px;
  --buttons-shadow-blur-radius: 5px;
  --inputs-radius: 0px;
  --inputs-shadow-blur-radius: 5px;
  --spacing-sections-desktop: 0px;
  --spacing-sections-mobile: 0px;
  --border-radius: 0px;
}

/* Body defaults from source — !important overrides Woo */
body, .woocommerce, .woocommerce-page {
  font-family: var(--font-body-family) !important;
  font-size: 1.5rem !important;
  letter-spacing: 0;
  line-height: calc(1 + .8 / var(--font-body-scale));
  color: rgb(var(--color-foreground)) !important;
  background-color: rgb(var(--color-background)) !important;
  overflow-x: clip;
  margin: 0;
}
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

/* Typography from source */
h1,h2,h3,h4,h5,.h0,.h1,.h2,.h3,.h4,.h5{font-family:var(--font-heading-family);font-style:var(--font-heading-style);font-weight:var(--font-heading-weight);letter-spacing:calc(var(--font-heading-scale) * .06rem);line-height:calc(1 + .3/max(1,var(--font-heading-scale)));word-break:break-word}
h1,.h1{font-size:calc(var(--font-heading-scale) * 3rem)}@media(min-width:750px){h1,.h1{font-size:calc(var(--font-heading-scale) * 4rem)}}
h2,.h2{font-size:calc(var(--font-heading-scale) * 2rem)}@media(min-width:750px){h2,.h2{font-size:calc(var(--font-heading-scale) * 2.4rem)}}
h3,.h3{font-size:calc(var(--font-heading-scale) * 1.6rem)}@media(min-width:750px){h3,.h3{font-size:calc(var(--font-heading-scale) * 1.8rem)}}

/* Page width */
.page-width { max-width: var(--page-width); margin-inline: auto; padding-inline: 3rem; }

/* Buttons — source CSS needs to apply to Woo buttons too */
.button, button.single_add_to_cart_button, .cps__continue, .wc-proceed-to-checkout .checkout-button, #place_order {
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  letter-spacing: .04rem;
  font-weight: var(--font-body-weight-bold);
  line-height: 1.2;
  padding: 1.4rem 3rem;
  border-radius: var(--buttons-radius);
  background: rgb(var(--color-button));
  color: rgb(var(--color-button-text));
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 4.6rem;
}

/* === WOO → SOURCE VISUAL BRIDGE === */

/* Product cards: Woo li → source card look */
.woocommerce ul.products li.product, .g3d-grid li.type-product {
  text-align: center;
  color: rgb(var(--color-foreground));
}
.woocommerce ul.products li.product a img, .g3d-card__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--product-card-corner-radius);
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: all .5s ease;
}
.woocommerce ul.products li.product:hover a img, li.type-product:hover .g3d-card__media img {
  transform: scale(1.1);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title, .g3d-card__body .woocommerce-loop-product__title {
  font-family: var(--font-body-family);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .02rem;
  padding: 1rem 0 0;
  color: rgb(var(--color-foreground));
  line-height: 1.3;
}
.woocommerce ul.products li.product .price, .g3d-card__body .price {
  font-size: 1.5rem;
  font-weight: var(--font-body-weight-bold);
  color: rgb(var(--color-foreground));
  margin-top: .4rem;
  letter-spacing: .02rem;
}
.woocommerce ul.products li.product .price del, .g3d-card__body .price del { opacity: .55; margin-right: .6rem; }
.woocommerce ul.products li.product .price ins, .g3d-card__body .price ins { text-decoration: none; color: rgb(var(--color-base-accent-1)); font-weight: var(--font-body-weight-bold); }
.onsale, .g3d-badge--sale {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgb(var(--color-base-background-2));
  color: rgb(247,241,231);
  font-size: 1.1rem;
  font-weight: var(--font-body-weight-bold);
  letter-spacing: .08rem;
  text-transform: uppercase;
  padding: .4rem .8rem;
  border-radius: var(--badge-corner-radius);
  z-index: 2;
}

/* Grid: 4 cols like source */
.woocommerce ul.products, .g3d-grid.products {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Announcement bar */
.g3d-announcement {
  background: rgb(var(--color-base-background-2));
  color: rgb(247,241,231);
  font-size: 1.3rem;
  letter-spacing: .04rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
}
.g3d-announcement .swiper-wrapper { align-items: center; }
.g3d-announcement__slide { text-align: center; width: 100%; }

/* Header */
.g3d-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(var(--color-background));
  border-bottom: 0;
}
.g3d-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 6.5rem;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: 3rem;
}
.g3d-nav__list > li > a {
  font-size: 1.3rem;
  font-weight: var(--font-body-weight);
  letter-spacing: .04rem;
  text-transform: uppercase;
  color: rgb(var(--color-foreground));
  padding: 1rem 1.1rem;
  display: block;
  white-space: nowrap;
}

/* Footer */
.g3d-footer { background: rgb(var(--color-base-background-2)); color: rgb(247,241,231); margin-top: 6rem; }
.g3d-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 4.8rem; padding: 8.4rem 3rem 15rem 3rem; max-width: var(--page-width); margin-inline: auto; }
.g3d-footer h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .08rem; color: rgb(var(--color-base-accent-1)); font-weight: var(--font-body-weight-bold); margin-bottom: 1.6rem; }
.g3d-footer__menu { font-size: 1.5rem; gap: 1.4rem; }
.g3d-footer a { color: rgb(247,241,231); opacity: .85; }

/* Hero */
.g3d-hero { position: relative; height: min(72vh, 64.8rem); overflow: hidden; background: rgb(var(--color-base-background-2)); }
.g3d-hero .swiper-wrapper, .g3d-hero .swiper-slide { height: 100%; }
.g3d-hero__img { width: 100%; height: 100%; object-fit: cover; }
.g3d-hero__copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: var(--page-width); margin-inline: auto; padding: 0 6rem; color: #fff; }
.g3d-hero__copy h2 { font-size: calc(var(--font-heading-scale) * 5rem); max-width: 62rem; margin-bottom: 1rem; color: #fff; text-align: left; }
.g3d-hero__copy p { font-size: 1.6rem; max-width: 52rem; margin: 0 0 2rem; }

/* Banners */
.g3d-banners { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; padding: 4rem 3rem; max-width: var(--page-width); margin-inline: auto; }
.g3d-banner { position: relative; display: block; overflow: hidden; }
.g3d-banner img { width: 100%; height: auto; object-fit: cover; transition: all .5s ease; }
.g3d-banner:hover img { transform: scale(1.1); }
.g3d-banner__overlay { position: absolute; top: 3rem; left: 3rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 275px; color: #fff; z-index: 2; }
.g3d-banner__overlay h3 { font-size: 3.6rem; color: #fff; font-weight: var(--font-heading-weight); text-align: left; margin: 0 0 2rem; }

/* Newsletter */
.g3d-newsletter { background: rgb(var(--color-background)); padding: 2.6rem 3rem 3rem; text-align: center; }
.g3d-newsletter h2 { font-size: 2.4rem; margin: 0; }
.g3d-newsletter__form { display: flex; gap: 1rem; justify-content: center; max-width: 46rem; margin: 1rem auto 0; }
.g3d-newsletter__form input[type="email"] { flex: 1; padding: 1.2rem 1.6rem; border: 1px solid rgb(var(--color-background-contrast)); font-size: 1.5rem; background: #fff; font-family: var(--font-body-family); }

/* Breadcrumb */
.g3d-breadcrumb { font-size: 1.3rem; color: rgba(var(--color-foreground),.7); padding: 1.2rem 3rem; max-width: var(--page-width); margin-inline: auto; }
.g3d-breadcrumb a { color: rgb(var(--color-foreground)); }

/* CPS */
.cps { margin-top: 1.8rem; padding: 1.8rem; background: rgb(var(--color-background)); }
.cps__heading-row h2 { font-size: 1.4rem; font-weight: var(--font-body-weight-bold); text-transform: uppercase; letter-spacing: .08rem; margin: 0 0 1rem; color: rgb(var(--color-foreground)); text-align: left; }
.cps__shapes { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .8rem; margin-bottom: 1.6rem; }
.cps__shape { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .8rem 1rem; border: 1px solid rgba(var(--color-foreground),.1); min-width: 9.2rem; font-size: 1.2rem; background: #fff; }
.cps__shape-icon svg { width: 4rem; height: 4rem; fill: none; stroke: rgb(var(--color-foreground)); stroke-width: 1.2; }
.cps__shape.is-active .cps__shape-icon svg { stroke: rgb(var(--color-base-accent-1)); }
.cps__shape strong { font-size: 1.15rem; text-align: center; font-weight: 600; }
.cps__options { display: grid; grid-template-columns: repeat(auto-fill,minmax(14.2rem,1fr)); gap: 1rem; }
.cps__option { display: flex; flex-direction: column; gap: .4rem; background: #fff; border: 1px solid rgba(var(--color-foreground),.1); padding: 1.2rem 1.4rem; text-align: left; min-height: 14rem; }
.cps__option.is-selected { border-color: rgb(var(--color-base-accent-1)); box-shadow: inset 0 0 0 1px rgb(var(--color-base-accent-1)); }
.cps__option-price b { color: rgb(var(--color-base-accent-1)); font-size: 1.5rem; }
.cps__option-price s { opacity: .55; font-size: 1.3rem; margin-right: .6rem; }

/* Shipping */
.g3d-shipping-details { margin-top: 1.4rem; background: rgb(var(--color-background)); padding: 1.4rem 1.6rem; }
.ag-shipping-details__heading { font-size: 1.6rem; font-weight: var(--font-body-weight-bold); }
.ag-shipping-details__table-head, .ag-shipping-details__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed rgba(var(--color-foreground),.2); font-size: 1.4rem; }

/* Trust badges */
.ag-trust-badges ul { list-style: none; display: flex; justify-content: space-between; gap: .6rem; margin: 1.8rem 0 0; padding: 1.4rem .4rem 0; border-top: 1px solid rgba(var(--color-foreground),.1); }
.ag-trust-badges__icon svg { width: 3.4rem; height: 3.4rem; fill: none; stroke: rgb(var(--color-base-accent-1)); stroke-width: 1; }
.ag-trust-badges__facet { fill: rgba(var(--color-base-accent-1),.1); }
.ag-trust-badges__label { font-size: 1.1rem; color: rgba(var(--color-foreground),.6); }

/* Floating CTA */
.ag-floating-personalization { position: fixed; right: 2.2rem; bottom: 3rem; z-index: 80; display: inline-flex; align-items: center; gap: 1.2rem; background: rgba(var(--color-base-accent-1),.55); backdrop-filter: blur(8px); color: rgb(var(--color-foreground)); padding: 1rem 1.8rem 1rem 1.2rem; font-size: 1.4rem; }
.ag-floating-personalization__icon { display: inline-flex; width: 5.2rem; height: 5.2rem; align-items: center; justify-content: center; background: rgb(var(--color-base-accent-1)); border-radius: 50%; }
.ag-floating-personalization__icon svg { width: 3rem; height: 3rem; fill: none; stroke: #fff; stroke-width: 2.4; }

/* Marquee */
.g3d-marquee { overflow: hidden; background: rgb(var(--color-background)); border-block: 1px solid rgba(var(--color-foreground),.1); padding: 1.6rem 0; }
.g3d-marquee__track { display: flex; gap: 4.8rem; width: max-content; animation: g3d-marquee 26s linear infinite; }
.g3d-marquee__icon { display: inline-flex; gap: 4.8rem; }
.g3d-marquee__icon svg { width: 3.4rem; height: 3.4rem; fill: none; stroke: rgb(var(--color-base-accent-1)); stroke-width: 1; opacity: .85; }
@keyframes g3d-marquee { from{transform:translateX(0)}to{transform:translateX(-50%)} }
.g3d-marquee__row2,.g3d-marquee__row3{display:flex;margin-top:1.4rem;animation-direction:reverse}
@media(max-width:767px){.g3d-marquee__row2,.g3d-marquee__row3{display:none!important}}

/* Mobile menu */
.g3d-mobile-bottom { display: none; }

/* Tabs */
.g3d-tabs__list button { background: none; border: 1px solid rgba(var(--color-foreground),.2); border-radius: var(--buttons-radius); padding: .8rem 2.2rem; font-size: 1.4rem; font-weight: 600; }
.g3d-tabs__list button.is-active { background: rgb(var(--color-base-background-2)); border-color: rgb(var(--color-base-background-2)); color: rgb(247,241,231); }

/* Product page */
.g3d-shop-layout { max-width: none; }
.woocommerce div.product:not(.related) { display: grid !important; grid-template-columns: 45% 1fr !important; gap: 2.4rem; padding: 2rem 3rem 4rem; align-items: start; max-width: var(--page-width) !important; margin-inline: auto; }
.woocommerce div.product:not(.related) > div.images, .woocommerce div.product:not(.related) > div.summary { float: none !important; width: auto !important; min-width: 0; max-width: 100%; }
.woocommerce div.product .summary .product_title { font-size: calc(var(--font-heading-scale) * 4rem); font-weight: var(--font-heading-weight); }
.woocommerce div.product .summary .price { font-size: 2.4rem; font-weight: var(--font-body-weight-bold); }
.woocommerce div.product > .onsale { display: none; }

/* Breakpoints */
@media(max-width:1429px){ :root{ --page-width: 150rem } }
@media(max-width:1199px){ :root{ --page-width: 114rem } .g3d-grid.products,.woocommerce ul.products{grid-template-columns:repeat(3,1fr);gap:2rem} }
@media(max-width:991px){ .g3d-nav{display:none} .g3d-burger{display:block} .g3d-grid.products,.woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:1.4rem} .g3d-footer__grid{grid-template-columns:1fr 1fr;gap:2.8rem;padding-top:4.8rem;padding-bottom:8rem} .woocommerce div.product:not(.related){grid-template-columns:1fr!important;gap:2.2rem;padding:1.6rem 2rem 3rem} .woocommerce div.product>.woocommerce-product-gallery{position:static} .ag-floating-personalization{right:1.2rem;bottom:7rem} .g3d-banners{grid-template-columns:1fr;gap:1.2rem;padding:2.4rem 3rem} .g3d-videos__grid{grid-template-columns:repeat(2,1fr)} .g3d-about{grid-template-columns:1fr;gap:2.2rem} .g3d-hero{height:40rem} .g3d-hero__copy{padding:0 3rem} }
@media(max-width:767px){ :root{font-size:55%} .g3d-lang-switcher{display:none} .g3d-mobile-bottom{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid rgba(var(--color-foreground),.1);z-index:90;padding:.6rem 0 max(.6rem,env(safe-area-inset-bottom))} .g3d-mobile-bottom a{display:flex;flex-direction:column;align-items:center;gap:.2rem;font-size:1.1rem;color:rgb(var(--color-foreground))} .g3d-mobile-bottom svg{width:2.2rem;height:2.2rem} body{padding-bottom:5.8rem} .g3d-footer__grid{grid-template-columns:1fr} }
@media(max-width:575px){ .g3d-newsletter__form{flex-direction:column} .cps__options{grid-template-columns:1fr 1fr} .g3d-banner__overlay h3{font-size:2.4rem} .g3d-banner__overlay{top:1.6rem;left:1.6rem} }
