
/* ==========================================================================
   AFIWAI GOODIES SHOP PRO 1.0.0
   Exclusive storefront experience for goodies.afiwai.com
   ========================================================================== */

body.afiwai-goodies-pro{
  --agsp-primary:#0064C0;
  --agsp-secondary:#0F4C81;
  --agsp-accent:#00A6C7;
  --agsp-background:#F3F7FB;
  --agsp-surface:#FFFFFF;
  --agsp-header-bg:#FFFFFF;
  --agsp-hero-start:#FFFFFF;
  --agsp-hero-end:#E7F2FD;
  --agsp-hero-glow:#5BC4E5;
  --agsp-section-bg:#FFFFFF;
  --agsp-catalog-bg:#EAF3FB;
  --agsp-media-bg:#F7FAFD;
  --agsp-text:#15263A;
  --agsp-muted:#66788A;
  --agsp-section-pad:24px;
  --agsp-section-gap:30px;
  --agsp-card-gap:22px;
  --agsp-card-pad:18px;
  --agsp-radius:20px;
  --agsp-media-ratio:1 / 1;
  --agsp-image-fit:contain;
  --agsp-title-lines:2;
  --agsp-excerpt-lines:2;
  --agsp-hero-height:500px;
  --agsp-motion:.22s;
}

/* ---------- Root stage --------------------------------------------------- */
body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem{
  position:relative;
  isolation:isolate;
  min-height:100vh;
  overflow:clip;
  background:
    radial-gradient(circle at 12% 5%,color-mix(in srgb,var(--agsp-primary) 10%,transparent),transparent 28%),
    radial-gradient(circle at 88% 30%,color-mix(in srgb,var(--agsp-accent) 8%,transparent),transparent 26%),
    linear-gradient(180deg,#F8FBFE 0%,var(--agsp-background) 45%,#EEF4F9 100%)!important;
  color:var(--agsp-text)!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  opacity:.34;
  background-image:
    linear-gradient(rgba(0,100,192,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,100,192,.035) 1px,transparent 1px);
  background-size:80px 80px;
  mask-image:linear-gradient(to bottom,black 0 64%,transparent 96%);
}

body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem::after{
  content:"";
  position:fixed;
  width:520px;
  height:520px;
  right:-240px;
  top:24vh;
  border-radius:50%;
  border:1px solid rgba(0,100,192,.10);
  box-shadow:0 0 0 52px rgba(0,100,192,.018),0 0 0 104px rgba(0,166,199,.012);
  pointer-events:none;
  z-index:-1;
}

/* ---------- Universal geometry ----------------------------------------- */


body.afiwai-goodies-pro :where(
  #afiwai-smart-shop-content,
  .afiwai-smart-shop-main,
  .afiwai-storefront-v3,
  .afiwai-premium-home,
  .afiwai-smart-home-primary
){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-v3-section,
  .afiwai-shop-showcase-section,
  .afiwai-storefront-section,
  .afiwai-smart-home-section,
  .afiwai-home-section,
  .afiwai-home-seo-content,
  .afiwai-home-faq,
  .afiwai-home-search,
  .afiwai-home-benefits,
  .afiwai-home-cta,
  .afiwai-catalog-v3,
  .afiwai-smart-catalog-shell,
  .afiwai-product-v3,
  .afiwai-product-page,
  .afiwai-smart-cart,
  .afiwai-smart-checkout,
  .afiwai-account-hero,
  .afiwai-account-main,
  .afiwai-favorites-hero,
  .afiwai-favorites-content,
  .afiwai-favorites-suggestions,
  .afiwai-tracking-hero,
  .afiwai-tracking-workspace
){
  padding:var(--agsp-section-pad)!important;
  margin-top:var(--agsp-section-gap)!important;
  margin-bottom:var(--agsp-section-gap)!important;
  min-width:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/*
 * Theme Pro geometry is strictly limited to its header and shop content.
 * The native Smart Shop footer is intentionally outside this scope so its
 * original CSS, dimensions, images and responsive behavior remain untouched.
 */


/* ---------- Header ------------------------------------------------------ */
body.afiwai-goodies-pro .afiwai-template-header{
  position:sticky!important;
  top:0;
  z-index:90!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:rgba(248,251,254,.88)!important;
  backdrop-filter:blur(20px) saturate(1.15);
  box-shadow:0 1px 0 rgba(21,38,58,.07),0 12px 34px rgba(21,38,58,.035)!important;
}

body.afiwai-goodies-pro .afiwai-template-header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
}

body.afiwai-goodies-pro .afiwai-smart-shop-brand{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:var(--agsp-text)!important;
}

body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand){
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-width:0!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark{
  width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  overflow:hidden!important;
  box-shadow:0 8px 20px rgba(0,100,192,.14);
}

/* ---------- Hero -------------------------------------------------------- */
body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
){
  position:relative!important;
  isolation:isolate;
  min-height:var(--agsp-hero-height)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr)!important;
  align-items:center!important;
  gap:clamp(32px,5vw,76px)!important;
  border:0!important;
  border-radius:clamp(24px,2.5vw,36px)!important;
  background:
    radial-gradient(circle at 78% 20%,rgba(0,166,199,.14),transparent 28%),
    linear-gradient(135deg,#FFFFFF 0%,#F5FAFF 60%,#EAF4FD 100%)!important;
  box-shadow:0 28px 80px rgba(25,59,91,.10)!important;
  overflow:hidden!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero
)::before{
  content:"GOODIES / LOCAL / CUSTOM";
  position:absolute;
  left:var(--agsp-section-pad);
  bottom:18px;
  z-index:-1;
  color:rgba(0,100,192,.045);
  font-size:clamp(38px,7vw,110px);
  font-weight:900;
  letter-spacing:-.05em;
  line-height:.82;
  white-space:nowrap;
  pointer-events:none;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero__content,
  .afiwai-smart-shop-page-hero__content
){
  max-width:720px!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero__eyebrow,
  .afiwai-smart-shop-page-hero__eyebrow,
  .afiwai-page-kicker
){
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:rgba(0,100,192,.08)!important;
  color:var(--agsp-primary)!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero h1,
  .afiwai-home-hero h1,
  .afiwai-smart-shop-page-hero h1,
  .afiwai-account-hero h1,
  .afiwai-favorites-hero h1,
  .afiwai-tracking-hero h1
){
  margin:.24em 0 .22em!important;
  max-width:850px!important;
  color:var(--agsp-text)!important;
  font-size:clamp(42px,5.5vw,76px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
  font-weight:850!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero p,
  .afiwai-home-hero p,
  .afiwai-smart-shop-page-hero p,
  .afiwai-account-hero p,
  .afiwai-favorites-hero p,
  .afiwai-tracking-hero p
){
  max-width:680px!important;
  color:var(--agsp-muted)!important;
  font-size:clamp(16px,1.5vw,19px)!important;
  line-height:1.7!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-home-hero__actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin-top:24px!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-home-hero__actions :where(a,button){
  min-height:48px!important;
  padding:12px 19px!important;
  border-radius:999px!important;
  font-weight:800!important;
}

/* ---------- Section system --------------------------------------------- */
body.afiwai-goodies-pro .agsp-module{
  position:relative;
}

body.afiwai-goodies-pro .agsp-module-alt{
  border-radius:28px!important;
  background:rgba(255,255,255,.72)!important;
  box-shadow:0 18px 60px rgba(25,59,91,.055)!important;
  backdrop-filter:blur(12px);
}

body.afiwai-goodies-pro :where(
  .afiwai-v3-section__header,
  .afiwai-section-heading,
  .afiwai-shop-section-heading,
  .afiwai-smart-section-heading,
  .afiwai-catalog-v3__header
){
  margin-bottom:clamp(18px,2vw,28px)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-v3-section__header h2,
  .afiwai-section-heading h2,
  .afiwai-shop-section-heading h2,
  .afiwai-smart-section-heading h2,
  .afiwai-catalog-v3__header h1,
  .afiwai-catalog-v3__header h2
){
  color:var(--agsp-text)!important;
  font-size:clamp(28px,3vw,44px)!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-v3-section__header p,
  .afiwai-section-heading p,
  .afiwai-shop-section-heading p,
  .afiwai-smart-section-heading p
){
  color:var(--agsp-muted)!important;
  line-height:1.65!important;
}

/* ---------- Merchandising grids ---------------------------------------- */
body.afiwai-goodies-pro .agsp-merch-grid,
body.afiwai-goodies-pro :where(
  .afiwai-v3-product-grid,
  .afiwai-home-product-grid,
  .afiwai-smart-catalog-grid,
  .afiwai-catalog-v3__grid,
  .afiwai-shop-featured-grid,
  .afiwai-favorites-grid,
  .afiwai-v3-category-grid,
  .afiwai-home-category-grid,
  .afiwai-v3-collection-grid,
  .afiwai-shop-category-grid,
  .afiwai-shop-collection-grid,
  .afiwai-storefront-navigation-cards
){
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:auto!important;
  align-items:start!important;
  align-content:start!important;
  gap:var(--agsp-card-gap)!important;
  min-width:0!important;
}

@media(min-width:1360px){
  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid,
    .afiwai-v3-category-grid,
    .afiwai-home-category-grid,
    .afiwai-v3-collection-grid,
    .afiwai-shop-category-grid,
    .afiwai-shop-collection-grid,
    .afiwai-storefront-navigation-cards
  ){
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

body.afiwai-goodies-pro .agsp-merch-grid>*,
body.afiwai-goodies-pro :where(
  .afiwai-v3-product-grid,
  .afiwai-home-product-grid,
  .afiwai-smart-catalog-grid,
  .afiwai-catalog-v3__grid,
  .afiwai-shop-featured-grid,
  .afiwai-favorites-grid
)>*{
  grid-column:auto!important;
  grid-row:auto!important;
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  transform:none!important;
}

/* ---------- Product cards ---------------------------------------------- */
body.afiwai-goodies-pro :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card
){
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  border:1px solid rgba(21,38,58,.09)!important;
  border-radius:var(--agsp-radius)!important;
  background:var(--agsp-surface)!important;
  color:var(--agsp-text)!important;
  box-shadow:0 12px 34px rgba(25,59,91,.07)!important;
  transition:
    transform var(--agsp-motion) ease,
    box-shadow var(--agsp-motion) ease,
    border-color var(--agsp-motion) ease!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card
):hover{
  transform:translateY(-4px)!important;
  border-color:rgba(0,100,192,.17)!important;
  box-shadow:0 20px 48px rgba(25,59,91,.11)!important;
}

body.afiwai-goodies-pro .afiwai-favorite-button{
  position:absolute!important;
  top:14px!important;
  right:14px!important;
  z-index:8!important;
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(21,38,58,.08)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.94)!important;
  color:var(--agsp-secondary)!important;
  box-shadow:0 8px 22px rgba(21,38,58,.10)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card__media,
  .afiwai-v3-product-card__media,
  .afiwai-product-media,
  .afiwai-favorites-card__media,
  .afiwai-favorites-card__media-wrap
){
  position:relative!important;
  width:100%!important;
  aspect-ratio:var(--agsp-media-ratio)!important;
  min-height:0!important;
  max-height:none!important;
  flex:none!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:
    linear-gradient(145deg,#FFFFFF,#F1F6FA)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card__media,
  .afiwai-v3-product-card__media,
  .afiwai-product-media,
  .afiwai-favorites-card__media,
  .afiwai-favorites-card__media-wrap
) :where(img,picture,video){
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:var(--agsp-image-fit)!important;
  object-position:center!important;
  display:block!important;
  transform:none!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card__body,
  .afiwai-v3-product-card__body,
  .afiwai-favorites-card__body,
  .afiwai-favorites-card__content
){
  display:flex!important;
  flex-direction:column!important;
  flex:none!important;
  min-height:0!important;
  max-height:none!important;
  gap:8px!important;
  padding:var(--agsp-card-pad)!important;
  overflow:hidden!important;
  border:0!important;
  background:var(--agsp-surface)!important;
}

body.afiwai-goodies-pro .afiwai-product-card-kicker{
  display:block!important;
  margin:0!important;
  color:var(--agsp-primary)!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card h3,
  .afiwai-product-card-title,
  .afiwai-product-card__title,
  .afiwai-v3-product-card h3,
  .afiwai-favorites-card h3
){
  margin:0!important;
  color:var(--agsp-text)!important;
  font-size:clamp(17px,1.25vw,21px)!important;
  font-weight:800!important;
  line-height:1.25!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:var(--agsp-title-lines)!important;
  overflow:hidden!important;
  min-height:calc(var(--agsp-title-lines) * 1.25em)!important;
  max-height:calc(var(--agsp-title-lines) * 1.25em)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card h3 a,
  .afiwai-product-card-title a,
  .afiwai-product-card__title a,
  .afiwai-v3-product-card h3 a,
  .afiwai-favorites-card h3 a
){
  color:inherit!important;
  text-decoration:none!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-excerpt,
  .afiwai-product-card__excerpt,
  .afiwai-component__description,
  .afiwai-product-card p,
  .afiwai-v3-product-card p,
  .afiwai-favorites-card p
){
  margin:0!important;
  color:var(--agsp-muted)!important;
  font-size:13px!important;
  line-height:1.5!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:var(--agsp-excerpt-lines)!important;
  overflow:hidden!important;
  min-height:calc(var(--agsp-excerpt-lines) * 1.5em)!important;
  max-height:calc(var(--agsp-excerpt-lines) * 1.5em)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-excerpt,
  .afiwai-product-card__excerpt,
  .afiwai-component__description
).is-empty{
  visibility:hidden!important;
}

body.afiwai-goodies-pro .afiwai-product-card-read-more{
  align-self:flex-start!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  color:var(--agsp-primary)!important;
  font-size:12px!important;
  font-weight:800!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-swatches,
  .afiwai-product-card__swatches
){
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  max-width:100%!important;
  max-height:46px!important;
  overflow:hidden!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-footer,
  .afiwai-product-card__footer,
  .afiwai-v3-product-card__footer,
  .afiwai-favorites-card__actions
){
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(104px,auto)!important;
  align-items:end!important;
  gap:10px!important;
  margin-top:8px!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}

body.afiwai-goodies-pro .afiwai-product-card-price-group{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:0!important;
}

body.afiwai-goodies-pro .afiwai-product-card-price-prefix{
  color:var(--agsp-muted)!important;
  font-size:10px!important;
  font-weight:700!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-price,
  .afiwai-product-card__price,
  .afiwai-v3-product-card__price,
  .afiwai-favorites-card__price
){
  color:var(--agsp-text)!important;
  font-size:clamp(18px,1.4vw,22px)!important;
  line-height:1.05!important;
  overflow-wrap:anywhere!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-action,
  .afiwai-product-card__action,
  .afiwai-product-card__add,
  .afiwai-v3-product-card__quick,
  .afiwai-favorites-card__cart,
  .afiwai-favorites-card__view,
  .afiwai-smart-add-to-cart
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:104px!important;
  max-width:100%!important;
  min-height:42px!important;
  padding:9px 14px!important;
  border:1px solid rgba(0,100,192,.08)!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#E9F3FC,#DCEBF8)!important;
  color:var(--agsp-secondary)!important;
  font-weight:800!important;
  line-height:1.15!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
  overflow:hidden!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-action,
  .afiwai-product-card__action,
  .afiwai-product-card__add,
  .afiwai-v3-product-card__quick,
  .afiwai-favorites-card__cart,
  .afiwai-favorites-card__view,
  .afiwai-smart-add-to-cart
):hover{
  background:var(--agsp-primary)!important;
  border-color:var(--agsp-primary)!important;
  color:#fff!important;
}

/* ---------- Category & collection cards -------------------------------- */
body.afiwai-goodies-pro :where(
  .afiwai-v3-category-card,
  .afiwai-v3-collection-card,
  .afiwai-storefront-navigation-cards > *
){
  position:relative!important;
  min-height:210px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:var(--agsp-radius)!important;
  background:linear-gradient(145deg,#fff,#EFF6FC)!important;
  box-shadow:0 14px 40px rgba(25,59,91,.07)!important;
  transition:transform var(--agsp-motion) ease,box-shadow var(--agsp-motion) ease!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-v3-category-card,
  .afiwai-v3-collection-card,
  .afiwai-storefront-navigation-cards > *
):hover{
  transform:translateY(-4px)!important;
  box-shadow:0 22px 52px rgba(25,59,91,.11)!important;
}

/* ---------- Search / benefit / CTA ------------------------------------- */
body.afiwai-goodies-pro :where(
  .afiwai-home-search,
  .afiwai-home-benefits,
  .afiwai-home-cta,
  .afiwai-v3-cta,
  .afiwai-shop-value-banner
){
  border:0!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(239,247,253,.90))!important;
  box-shadow:0 16px 50px rgba(25,59,91,.065)!important;
}

body.afiwai-goodies-pro .afiwai-home-search input{
  min-height:50px!important;
  border:1px solid rgba(21,38,58,.10)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--agsp-text)!important;
  box-shadow:0 8px 22px rgba(21,38,58,.04)!important;
}

/* ---------- SEO content ------------------------------------------------- */
body.afiwai-goodies-pro .afiwai-home-seo-content{
  display:grid!important;
  grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr)!important;
  gap:clamp(30px,5vw,72px)!important;
  align-items:start!important;
  border:0!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.76)!important;
  box-shadow:0 18px 60px rgba(25,59,91,.055)!important;
  backdrop-filter:blur(12px);
}

body.afiwai-goodies-pro .afiwai-home-seo-content h2{
  margin:0!important;
  color:var(--agsp-text)!important;
  font-size:clamp(32px,4vw,54px)!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
}

body.afiwai-goodies-pro .afiwai-home-seo-content>div{
  columns:1!important;
  color:var(--agsp-muted)!important;
  line-height:1.8!important;
}

/* ---------- FAQ --------------------------------------------------------- */
body.afiwai-goodies-pro .afiwai-home-faq{
  border:0!important;
  border-radius:28px!important;
}

body.afiwai-goodies-pro .afiwai-home-faq header{
  display:grid!important;
  grid-template-columns:.65fr 1.35fr!important;
  align-items:end!important;
  gap:24px!important;
  margin-bottom:18px!important;
}

body.afiwai-goodies-pro .afiwai-home-faq header span{
  color:var(--agsp-primary)!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}

body.afiwai-goodies-pro .afiwai-home-faq h2{
  margin:0!important;
  color:var(--agsp-text)!important;
  font-size:clamp(30px,3.7vw,50px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
}

body.afiwai-goodies-pro .afiwai-home-faq details{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid rgba(21,38,58,.10)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.afiwai-goodies-pro .afiwai-home-faq details:last-child{
  border-bottom:0!important;
}

body.afiwai-goodies-pro .afiwai-home-faq summary{
  position:relative!important;
  padding:20px 46px 20px 4px!important;
  color:var(--agsp-text)!important;
  font-size:16px!important;
  font-weight:800!important;
  cursor:pointer!important;
}

body.afiwai-goodies-pro .afiwai-home-faq details>div{
  padding:0 4px 20px!important;
  color:var(--agsp-muted)!important;
  line-height:1.75!important;
}

/* ---------- Catalog ----------------------------------------------------- */
body.afiwai-goodies-pro .afiwai-catalog-v3{
  border:0!important;
  background:transparent!important;
}

body.afiwai-goodies-pro .afiwai-catalog-v3__toolbar{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:12px!important;
  margin-bottom:24px!important;
  padding:14px!important;
  border:0!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 10px 30px rgba(25,59,91,.055)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-catalog-filters,
  .afiwai-smart-catalog-filter-accordion
){
  border:0!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(25,59,91,.06)!important;
}

/* ---------- Product page ------------------------------------------------ */
body.afiwai-goodies-pro :where(
  .afiwai-product-v3,
  .afiwai-product-page
){
  border:0!important;
  border-radius:30px!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:0 22px 70px rgba(25,59,91,.075)!important;
  backdrop-filter:blur(12px);
}

body.afiwai-goodies-pro .afiwai-product-v3__layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr)!important;
  gap:clamp(28px,4.5vw,64px)!important;
  align-items:start!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-gallery,
  .afiwai-product-gallery-system,
  .afiwai-product-v3__gallery,
  .afiwai-product-v3__media
){
  border:0!important;
  border-radius:24px!important;
  background:linear-gradient(145deg,#fff,#EEF5FA)!important;
  overflow:hidden!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-v3__buybox,
  .afiwai-product-buybox,
  .afiwai-product-detail-card
){
  border:0!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 14px 40px rgba(25,59,91,.065)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-v3__price,
  .afiwai-product-price
){
  color:var(--agsp-primary)!important;
  font-weight:850!important;
}

/* ---------- Cart / checkout -------------------------------------------- */
body.afiwai-goodies-pro :where(
  .afiwai-smart-cart,
  .afiwai-smart-checkout,
  .afiwai-account-main,
  .afiwai-tracking-workspace,
  .afiwai-favorites-content,
  .afiwai-favorites-suggestions
){
  border:0!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.80)!important;
  box-shadow:0 20px 64px rgba(25,59,91,.07)!important;
  backdrop-filter:blur(10px);
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-cart-line,
  .afiwai-smart-checkout-card,
  .afiwai-account-panel,
  .afiwai-product-detail-card
){
  overflow:hidden!important;
  border:1px solid rgba(21,38,58,.08)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 26px rgba(25,59,91,.045)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-checkout-submit,
  .afiwai-smart-add-to-cart,
  .afiwai-product-purchase button
):not(:where(.afc-product-entry *, .afc-customizer-shell *, [data-afc-product] *)){
  min-height:48px!important;
  border-radius:12px!important;
  background:var(--agsp-primary)!important;
  color:#fff!important;
  font-weight:850!important;
}




























/* ---------- Responsive -------------------------------------------------- */
@media(max-width:1180px){
  body.afiwai-goodies-pro :where(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-account-hero,
    .afiwai-favorites-hero,
    .afiwai-tracking-hero
  ){
    grid-template-columns:1fr minmax(220px,.65fr)!important;
  }

  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid,
    .afiwai-v3-category-grid,
    .afiwai-home-category-grid,
    .afiwai-v3-collection-grid,
    .afiwai-shop-category-grid,
    .afiwai-shop-collection-grid,
    .afiwai-storefront-navigation-cards
  ){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  

  
}

@media(max-width:900px){
  body.afiwai-goodies-pro :where(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-account-hero,
    .afiwai-favorites-hero,
    .afiwai-tracking-hero
  ){
    min-height:auto!important;
    grid-template-columns:1fr!important;
  }

  body.afiwai-goodies-pro .afiwai-product-v3__layout{
    grid-template-columns:1fr!important;
  }

  body.afiwai-goodies-pro .afiwai-home-seo-content{
    grid-template-columns:1fr!important;
  }

  body.afiwai-goodies-pro .afiwai-home-faq header{
    grid-template-columns:1fr!important;
  }

  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid,
    .afiwai-v3-category-grid,
    .afiwai-home-category-grid,
    .afiwai-v3-collection-grid,
    .afiwai-shop-category-grid,
    .afiwai-shop-collection-grid,
    .afiwai-storefront-navigation-cards
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro{
    --agsp-width:calc(100vw - 20px);
  }

  body.afiwai-goodies-pro .afiwai-template-header-inner{
    min-height:64px;
  }

  body.afiwai-goodies-pro :where(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-account-hero,
    .afiwai-favorites-hero,
    .afiwai-tracking-hero
  ){
    border-radius:20px!important;
  }

  body.afiwai-goodies-pro :where(
    .afiwai-smart-shop-home-hero h1,
    .afiwai-home-hero h1,
    .afiwai-smart-shop-page-hero h1,
    .afiwai-account-hero h1,
    .afiwai-favorites-hero h1,
    .afiwai-tracking-hero h1
  ){
    font-size:clamp(34px,11vw,52px)!important;
  }

  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid,
    .afiwai-v3-category-grid,
    .afiwai-home-category-grid,
    .afiwai-v3-collection-grid,
    .afiwai-shop-category-grid,
    .afiwai-shop-collection-grid,
    .afiwai-storefront-navigation-cards
  ){
    grid-template-columns:1fr!important;
  }

  body.afiwai-goodies-pro :where(
    .afiwai-product-card-footer,
    .afiwai-product-card__footer,
    .afiwai-v3-product-card__footer,
    .afiwai-favorites-card__actions
  ){
    grid-template-columns:1fr!important;
  }

  body.afiwai-goodies-pro :where(
    .afiwai-product-card-action,
    .afiwai-product-card__action,
    .afiwai-product-card__add,
    .afiwai-v3-product-card__quick,
    .afiwai-favorites-card__cart,
    .afiwai-favorites-card__view,
    .afiwai-smart-add-to-cart
  ){
    width:100%!important;
  }

  

  

  
}

@media(prefers-reduced-motion:reduce){
  body.afiwai-goodies-pro *,
  body.afiwai-goodies-pro *::before,
  body.afiwai-goodies-pro *::after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}

@supports not (color:color-mix(in srgb,red 50%,blue)){
  body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem{
    background:linear-gradient(180deg,#F8FBFE,#F4F8FC 45%,#EEF4F9)!important;
  }
}


/* ---------- Ambient stage art ------------------------------------------ */
body.afiwai-goodies-pro .agsp-stage-art{
  position:absolute;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
}
body.afiwai-goodies-pro .agsp-stage-art i{
  position:absolute;
  display:block;
}
body.afiwai-goodies-pro .agsp-stage-art i:nth-child(1){
  width:280px;height:280px;left:-150px;top:28vh;border-radius:50%;
  border:1px solid rgba(0,100,192,.08);
}
body.afiwai-goodies-pro .agsp-stage-art i:nth-child(2){
  width:160px;height:160px;right:4vw;top:72vh;border-radius:42px;
  border:1px solid rgba(0,166,199,.08);transform:rotate(24deg);
}
body.afiwai-goodies-pro .agsp-stage-art i:nth-child(3){
  width:38vw;height:1px;left:12vw;top:56vh;
  background:linear-gradient(90deg,transparent,rgba(0,100,192,.09),transparent);
}
body.afiwai-goodies-pro .agsp-stage-art i:nth-child(4){
  width:100px;height:100px;right:18vw;top:18vh;border-radius:50%;
  background:radial-gradient(circle,rgba(0,166,199,.08),transparent 68%);
}


/* ==========================================================================
   1.0.1 — Product grid: exactly 3 cards across the full shop content width
   ========================================================================== */
@media (min-width:901px){
  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid
  ){
    width:100%!important;
    max-width:none!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    justify-content:stretch!important;
    align-items:start!important;
  }

  body.afiwai-goodies-pro .agsp-merch-grid > *,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid
  ) > *{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
  }
}


/* ==========================================================================
   1.0.2 — HARD CONTAINMENT FIX
   Prevent product cards and grids from exceeding their parent block.
   ========================================================================== */

/* The section owns the width. Inner grids must never create a second width. */
body.afiwai-goodies-pro :where(
  .afiwai-v3-section,
  .afiwai-shop-showcase-section,
  .afiwai-storefront-section,
  .afiwai-smart-home-section,
  .afiwai-home-section,
  .afiwai-catalog-v3,
  .afiwai-smart-catalog-shell,
  .afiwai-favorites-content,
  .afiwai-favorites-suggestions
){
  overflow:hidden!important;
}

/* Exact inner content box: full parent width minus its own padding only. */
body.afiwai-goodies-pro .agsp-merch-grid,
body.afiwai-goodies-pro :where(
  .afiwai-v3-product-grid,
  .afiwai-home-product-grid,
  .afiwai-smart-catalog-grid,
  .afiwai-catalog-v3__grid,
  .afiwai-shop-featured-grid,
  .afiwai-favorites-grid
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Grid items must shrink inside their track instead of forcing overflow. */
body.afiwai-goodies-pro .agsp-merch-grid > *,
body.afiwai-goodies-pro :where(
  .afiwai-v3-product-grid,
  .afiwai-home-product-grid,
  .afiwai-smart-catalog-grid,
  .afiwai-catalog-v3__grid,
  .afiwai-shop-featured-grid,
  .afiwai-favorites-grid
) > *{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

/* Cards themselves never exceed their grid track. */
body.afiwai-goodies-pro :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

/* Every internal row can shrink. */
body.afiwai-goodies-pro :where(
  .afiwai-product-card__body,
  .afiwai-v3-product-card__body,
  .afiwai-favorites-card__body,
  .afiwai-favorites-card__content,
  .afiwai-product-card-footer,
  .afiwai-product-card__footer,
  .afiwai-v3-product-card__footer,
  .afiwai-favorites-card__actions
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Price/button row: prevent the CTA from widening the card. */
body.afiwai-goodies-pro :where(
  .afiwai-product-card-footer,
  .afiwai-product-card__footer,
  .afiwai-v3-product-card__footer,
  .afiwai-favorites-card__actions
){
  grid-template-columns:minmax(0,1fr) minmax(88px,38%)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-action,
  .afiwai-product-card__action,
  .afiwai-product-card__add,
  .afiwai-v3-product-card__quick,
  .afiwai-favorites-card__cart,
  .afiwai-favorites-card__view,
  .afiwai-smart-add-to-cart
){
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Media never exceeds the card box. */
body.afiwai-goodies-pro :where(
  .afiwai-product-card__media,
  .afiwai-v3-product-card__media,
  .afiwai-product-media,
  .afiwai-favorites-card__media,
  .afiwai-favorites-card__media-wrap
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card__media,
  .afiwai-v3-product-card__media,
  .afiwai-product-media,
  .afiwai-favorites-card__media,
  .afiwai-favorites-card__media-wrap
) :where(img,picture,video){
  width:100%!important;
  max-width:100%!important;
  height:100%!important;
  object-fit:var(--agsp-image-fit)!important;
}

/* Tablet/mobile retain containment with fewer columns. */
@media(max-width:900px){
  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid
  ){
    grid-template-columns:1fr!important;
  }

  body.afiwai-goodies-pro :where(
    .afiwai-product-card-footer,
    .afiwai-product-card__footer,
    .afiwai-v3-product-card__footer,
    .afiwai-favorites-card__actions
  ){
    grid-template-columns:1fr!important;
  }
}


/* ========================================================================== 
   1.0.4 — CANONICAL PAGE ALIGNMENT
   One horizontal axis for the complete Smart Shop experience.
   ========================================================================== */

body.afiwai-goodies-pro{
  --agsp-safe-gutter:15px;
  overflow-x:hidden!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow-x:hidden!important;
}

body.afiwai-goodies-pro :where(
  #afiwai-smart-shop-content,
  .afiwai-smart-shop-main,
  .afiwai-storefront-v3,
  .afiwai-premium-home,
  .afiwai-smart-home-primary
){
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Only true top-level content blocks own the page width. */


/* Inner structures never re-center themselves. */
body.afiwai-goodies-pro :where(
  .afiwai-v3-section__header,
  .afiwai-section-heading,
  .afiwai-shop-section-heading,
  .afiwai-smart-section-heading,
  .afiwai-catalog-v3__header,
  .afiwai-catalog-v3__toolbar,
  .afiwai-product-v3__layout,
  .afiwai-smart-cart-layout,
  .afiwai-smart-cart-content,
  .afiwai-smart-checkout-grid,
  .afiwai-account-overview,
  .afiwai-favorites-grid,
  .afiwai-tracking-workspace > *,
  .afiwai-home-faq header,
  .afiwai-home-seo-content > *
){
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* Merchandising: exactly 3 aligned tracks inside the same content box. */
body.afiwai-goodies-pro .agsp-merch-grid,
body.afiwai-goodies-pro :where(
  .afiwai-v3-product-grid,
  .afiwai-home-product-grid,
  .afiwai-smart-catalog-grid,
  .afiwai-catalog-v3__grid,
  .afiwai-shop-featured-grid,
  .afiwai-favorites-grid,
  .afiwai-v3-category-grid,
  .afiwai-home-category-grid,
  .afiwai-v3-collection-grid,
  .afiwai-shop-category-grid,
  .afiwai-shop-collection-grid,
  .afiwai-storefront-navigation-cards
){
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  grid-auto-rows:auto!important;
  align-items:start!important;
  justify-items:stretch!important;
  gap:var(--agsp-card-gap)!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro .agsp-merch-grid > *,
body.afiwai-goodies-pro :where(
  .afiwai-v3-product-grid,
  .afiwai-home-product-grid,
  .afiwai-smart-catalog-grid,
  .afiwai-catalog-v3__grid,
  .afiwai-shop-featured-grid,
  .afiwai-favorites-grid,
  .afiwai-v3-category-grid,
  .afiwai-home-category-grid,
  .afiwai-v3-collection-grid,
  .afiwai-shop-category-grid,
  .afiwai-shop-collection-grid,
  .afiwai-storefront-navigation-cards
) > *{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  justify-self:stretch!important;
  align-self:start!important;
  box-sizing:border-box!important;
  transform:none!important;
}

/* Cards keep their content inside without clipping the whole grid. */
body.afiwai-goodies-pro :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

/* Section spacing is vertical only: no rogue horizontal offsets. */
body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-v3-section,
  .afiwai-shop-showcase-section,
  .afiwai-storefront-section,
  .afiwai-smart-home-section,
  .afiwai-home-section,
  .afiwai-home-seo-content,
  .afiwai-home-faq,
  .afiwai-home-search,
  .afiwai-home-benefits,
  .afiwai-home-cta,
  .afiwai-catalog-v3,
  .afiwai-smart-catalog-shell,
  .afiwai-product-v3,
  .afiwai-product-page,
  .afiwai-smart-cart,
  .afiwai-smart-checkout,
  .afiwai-account-hero,
  .afiwai-account-main,
  .afiwai-favorites-hero,
  .afiwai-favorites-content,
  .afiwai-favorites-suggestions,
  .afiwai-tracking-hero,
  .afiwai-tracking-workspace
){
  margin-top:var(--agsp-section-gap)!important;
  margin-bottom:var(--agsp-section-gap)!important;
  padding-left:var(--agsp-section-pad)!important;
  padding-right:var(--agsp-section-pad)!important;
}


body.afiwai-goodies-pro .afiwai-template-header{
  width:100%!important;
  margin:0!important;
  left:auto!important;
  right:auto!important;
}

body.afiwai-goodies-pro .afiwai-template-header-inner{
  padding-left:0!important;
  padding-right:0!important;
}



/* Responsive alignment keeps the same single axis. */
@media(max-width:900px){
  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid,
    .afiwai-v3-category-grid,
    .afiwai-home-category-grid,
    .afiwai-v3-collection-grid,
    .afiwai-shop-category-grid,
    .afiwai-shop-collection-grid,
    .afiwai-storefront-navigation-cards
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro{
    --agsp-safe-gutter:10px;
  }

  body.afiwai-goodies-pro .agsp-merch-grid,
  body.afiwai-goodies-pro :where(
    .afiwai-v3-product-grid,
    .afiwai-home-product-grid,
    .afiwai-smart-catalog-grid,
    .afiwai-catalog-v3__grid,
    .afiwai-shop-featured-grid,
    .afiwai-favorites-grid,
    .afiwai-v3-category-grid,
    .afiwai-home-category-grid,
    .afiwai-v3-collection-grid,
    .afiwai-shop-category-grid,
    .afiwai-shop-collection-grid,
    .afiwai-storefront-navigation-cards
  ){
    grid-template-columns:1fr!important;
  }

  body.afiwai-goodies-pro :where(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-v3-section,
    .afiwai-shop-showcase-section,
    .afiwai-storefront-section,
    .afiwai-smart-home-section,
    .afiwai-home-section,
    .afiwai-home-seo-content,
    .afiwai-home-faq,
    .afiwai-home-search,
    .afiwai-home-benefits,
    .afiwai-home-cta,
    .afiwai-catalog-v3,
    .afiwai-smart-catalog-shell,
    .afiwai-product-v3,
    .afiwai-product-page,
    .afiwai-smart-cart,
    .afiwai-smart-checkout,
    .afiwai-account-hero,
    .afiwai-account-main,
    .afiwai-favorites-hero,
    .afiwai-favorites-content,
    .afiwai-favorites-suggestions,
    .afiwai-tracking-hero,
    .afiwai-tracking-workspace
  ){
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
  }
}


/* ==========================================================================
   1.0.5 — NESTED CATALOG WIDTH FIX
   The screenshot exposed two consecutive width owners:
   .afiwai-smart-catalog-shell -> .afiwai-catalog-v3.
   Only the outer shell may own the page axis.
   ========================================================================== */

/* Outer catalogue shell = page-width owner. */
body.afiwai-goodies-pro .afiwai-smart-catalog-shell{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - (var(--agsp-safe-gutter) * 2)))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

/* Inner AJAX result = content-width child, never another page-width owner. */
body.afiwai-goodies-pro .afiwai-smart-catalog-shell > .afiwai-catalog-v3,
body.afiwai-goodies-pro .afiwai-smart-catalog-shell [data-afiwai-catalog-results] > .afiwai-catalog-v3,
body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Header/count, toolbar and grid are sized by the inner catalogue content box. */
body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__header,
body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__toolbar,
body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__grid{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* Restore the native two-column header without letting the counter escape. */
body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:clamp(18px,2vw,32px)!important;
  align-items:end!important;
}

body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__header > div:first-child{
  min-width:0!important;
  max-width:900px!important;
}

body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__count{
  min-width:58px!important;
  max-width:100%!important;
  justify-self:end!important;
  justify-items:end!important;
  box-sizing:border-box!important;
}

/* Toolbar keeps its own padding INSIDE its available width. */
body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__toolbar{
  display:flex!important;
  padding-left:18px!important;
  padding-right:18px!important;
}

/* Product tracks consume exactly the catalogue content width. */
body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:var(--agsp-card-gap)!important;
  padding:0!important;
  overflow:visible!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:820px){
  body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__header{
    grid-template-columns:1fr!important;
    align-items:start!important;
  }
  body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__count{
    justify-self:start!important;
    justify-items:start!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-smart-catalog-shell{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
  }
  body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3__grid{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================================
   1.0.6 — TRUE VIEWPORT CENTERING
   Reset WordPress/theme wrappers so Smart Shop centers against the viewport,
   not against an inherited content column or offset container.
   ========================================================================== */

/* Host-theme wrappers must be neutral on Smart Shop managed pages. */
body.afiwai-goodies-pro :where(
  .site,
  #page,
  .site-content,
  #content,
  .content-area,
  .site-main,
  main.site-main,
  .entry-content,
  .container,
  .wp-site-blocks,
  article.page,
  article.type-page,
  .hentry
){
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  box-sizing:border-box!important;
}

/* The AFIWAI ecosystem itself is always a true viewport-width stage. */
body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem,
body.afiwai-goodies-pro .afiwai-smart-shop-integrated,
body.afiwai-goodies-pro #afiwai-smart-shop-content,
body.afiwai-goodies-pro .afiwai-smart-shop-main{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Home wrapper is a full-width neutral parent. */
body.afiwai-goodies-pro :where(
  .afiwai-premium-home,
  .afiwai-storefront-v3,
  .afiwai-smart-home-primary
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Every major page block is centered from the viewport axis. */
body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-v3-section,
  .afiwai-shop-showcase-section,
  .afiwai-storefront-section,
  .afiwai-smart-home-section,
  .afiwai-home-section,
  .afiwai-home-seo-content,
  .afiwai-home-faq,
  .afiwai-home-search,
  .afiwai-home-benefits,
  .afiwai-home-cta,
  .afiwai-smart-catalog-shell,
  .afiwai-product-v3,
  .afiwai-product-page,
  .afiwai-smart-cart,
  .afiwai-smart-checkout,
  .afiwai-account-hero,
  .afiwai-account-main,
  .afiwai-favorites-hero,
  .afiwai-favorites-content,
  .afiwai-favorites-suggestions,
  .afiwai-tracking-hero,
  .afiwai-tracking-workspace
){
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  left:auto!important;
  right:auto!important;
  box-sizing:border-box!important;
}

/* Header uses the exact same axis as the content. */
body.afiwai-goodies-pro .afiwai-template-header-inner{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Nested catalogue remains a child of its centered outer shell. */
body.afiwai-goodies-pro .afiwai-smart-catalog-shell .afiwai-catalog-v3{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

@media(max-width:680px){
  body.afiwai-goodies-pro :where(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-v3-section,
    .afiwai-shop-showcase-section,
    .afiwai-storefront-section,
    .afiwai-smart-home-section,
    .afiwai-home-section,
    .afiwai-home-seo-content,
    .afiwai-home-faq,
    .afiwai-home-search,
    .afiwai-home-benefits,
    .afiwai-home-cta,
    .afiwai-smart-catalog-shell,
    .afiwai-product-v3,
    .afiwai-product-page,
    .afiwai-smart-cart,
    .afiwai-smart-checkout,
    .afiwai-account-hero,
    .afiwai-account-main,
    .afiwai-favorites-hero,
    .afiwai-favorites-content,
    .afiwai-favorites-suggestions,
    .afiwai-tracking-hero,
    .afiwai-tracking-workspace,
    .afiwai-template-header-inner
  ){
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }
}


/* ==========================================================================
   1.0.7 — ACCOUNT OVERVIEW WIDTH ALIGNMENT
   Align "Commandes / Favoris / Informations" with .afiwai-account-main.
   ========================================================================== */

body.afiwai-goodies-pro .afiwai-account-overview{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

body.afiwai-goodies-pro .afiwai-account-overview > article{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-account-overview{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-account-overview{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }
}


/* ==========================================================================
   1.0.8 — HEADER BRAND ICON + MENU BACKGROUND
   ========================================================================== */

/* Brand icon: true square, stable at every viewport. */
body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark,
body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark img,
body.afiwai-goodies-pro .afiwai-smart-shop-brand > img{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  min-height:54px!important;
  max-width:54px!important;
  max-height:54px!important;
  aspect-ratio:1 / 1!important;
  object-fit:contain!important;
  flex:0 0 54px!important;
  box-sizing:border-box!important;
}

/* Header becomes a coherent full-width visual band.
   The gradient is horizontal and progressively fades downward into the page. */
body.afiwai-goodies-pro .afiwai-template-header{
  position:relative!important;
  isolation:isolate!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  background:
    linear-gradient(90deg,
      rgba(232,244,255,.98) 0%,
      rgba(246,250,255,.98) 48%,
      rgba(235,247,255,.96) 100%)!important;
  border-bottom:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}

/* Soft vertical fade under the horizontal menu background. */
body.afiwai-goodies-pro .afiwai-template-header::after{
  position:absolute!important;
  z-index:-1!important;
  top:100%!important;
  left:0!important;
  width:100%!important;
  height:clamp(56px,7vw,110px)!important;
  pointer-events:none!important;
  content:""!important;
  background:linear-gradient(
    180deg,
    rgba(232,244,255,.88) 0%,
    rgba(238,247,255,.52) 42%,
    rgba(244,249,253,.18) 72%,
    rgba(244,249,253,0) 100%
  )!important;
}

/* Keep menu content aligned with the shop axis. */
body.afiwai-goodies-pro .afiwai-template-header-inner{
  position:relative!important;
  z-index:2!important;
  min-height:100px!important;
  display:flex!important;
  align-items:center!important;
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark,
  body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark img,
  body.afiwai-goodies-pro .afiwai-smart-shop-brand > img{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
    max-width:46px!important;
    max-height:46px!important;
    flex-basis:46px!important;
  }

  body.afiwai-goodies-pro .afiwai-template-header-inner{
    min-height:84px!important;
  }
}


/* ==========================================================================
   1.0.9 — HEADER GRADIENT ONLY
   Zone 1: gradient strictly behind the menu.
   Zone 2: no gradient extension below the menu.
   ========================================================================== */

body.afiwai-goodies-pro .afiwai-template-header{
  position:relative!important;
  isolation:isolate!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  background:
    linear-gradient(
      90deg,
      rgba(226,241,255,.98) 0%,
      rgba(247,250,254,.98) 50%,
      rgba(231,245,255,.98) 100%
    )!important;
  border-bottom:1px solid rgba(0,100,192,.08)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

/* Remove the 1.0.8 vertical fade completely. */
body.afiwai-goodies-pro .afiwai-template-header::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  background:none!important;
}

/* Content immediately below the menu uses the normal shop background. */
body.afiwai-goodies-pro #afiwai-smart-shop-content,
body.afiwai-goodies-pro .afiwai-smart-shop-main,
body.afiwai-goodies-pro .afiwai-premium-home,
body.afiwai-goodies-pro .afiwai-storefront-v3,
body.afiwai-goodies-pro .afiwai-smart-home-primary{
  background:transparent!important;
}

/* Keep the first content block separated naturally from the menu,
   without adding any decorative gradient between them. */
body.afiwai-goodies-pro .afiwai-template-header + #afiwai-smart-shop-content,
body.afiwai-goodies-pro .afiwai-template-header + .afiwai-smart-shop-main{
  position:relative!important;
  z-index:1!important;
}


/* ==========================================================================
   1.0.10 — ACCOUNT HERO VISUAL CLEANUP
   Smart Shop injects a standalone admin-users icon as the second hero column.
   It has no useful visual role in this Goodies Pro composition.
   ========================================================================== */

body.afiwai-goodies-pro .afiwai-account-hero{
  grid-template-columns:1fr!important;
}

body.afiwai-goodies-pro .afiwai-account-hero__visual{
  display:none!important;
}

body.afiwai-goodies-pro .afiwai-account-hero > div:first-child{
  width:100%!important;
  max-width:760px!important;
  min-width:0!important;
}


/* ==========================================================================
   1.0.11 — CART CENTERING + PREMIUM NAV BUTTONS
   ========================================================================== */

/* Cart page: the cart section owns the same centered axis as the hero. */
body.afiwai-goodies-pro .afiwai-smart-cart{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro .afiwai-smart-cart-layout{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(0,1.62fr) minmax(320px,.68fr)!important;
  gap:22px!important;
  align-items:start!important;
}

body.afiwai-goodies-pro .afiwai-smart-cart-content,
body.afiwai-goodies-pro .afiwai-smart-cart-summary{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

@media(max-width:920px){
  body.afiwai-goodies-pro .afiwai-smart-cart-layout{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-smart-cart{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }
}

@media(max-width:1180px){
}

@media(max-width:680px){
}


/* ==========================================================================
   1.0.12 — CART PAGE COMPOSITION
   ========================================================================== */

/* 1. Reassurance strip: 80% of viewport, centered. */
body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
  width:80%!important;
  max-width:80%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* 2. Cart hero: same centered axis as the rest of the shop. */
body.afiwai-goodies-pro .afiwai-smart-shop-page-hero.afiwai-smart-shop-page-hero-cart,
body.afiwai-goodies-pro .afiwai-smart-shop-page-hero-compact.afiwai-smart-shop-page-hero-cart{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Empty cart: there is no summary aside in the markup, so do NOT reserve a
   phantom right-hand column. This was the cause of the large blank area. */
body.afiwai-goodies-pro .afiwai-smart-cart.is-empty .afiwai-smart-cart-layout{
  grid-template-columns:1fr!important;
}

body.afiwai-goodies-pro .afiwai-smart-cart.is-empty .afiwai-smart-cart-content{
  width:100%!important;
  max-width:100%!important;
}

/* Populated cart: keep the summary because it contains subtotal, delivery,
   provisional total and the checkout CTA. */
body.afiwai-goodies-pro .afiwai-smart-cart:not(.is-empty) .afiwai-smart-cart-layout{
  grid-template-columns:minmax(0,1.58fr) minmax(300px,.72fr)!important;
}

/* More polished cart action buttons. */
body.afiwai-goodies-pro :where(
  .afiwai-smart-section-heading > a,
  .afiwai-smart-cart-empty > a,
  .afiwai-smart-shop-primary-action,
  .afiwai-smart-shop-secondary-action
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:46px!important;
  padding:0 18px!important;
  border-radius:13px!important;
  font-weight:850!important;
  line-height:1.1!important;
  text-decoration:none!important;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease!important;
}

/* Secondary / continue-shopping button. */
body.afiwai-goodies-pro :where(
  .afiwai-smart-section-heading > a,
  .afiwai-smart-shop-secondary-action
){
  border:1px solid rgba(0,100,192,.24)!important;
  background:linear-gradient(180deg,#ffffff 0%,#f1f7fd 100%)!important;
  color:#0064c0!important;
  box-shadow:
    0 8px 18px rgba(23,72,126,.06),
    inset 0 1px 0 rgba(255,255,255,.95)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-section-heading > a,
  .afiwai-smart-shop-secondary-action
):hover{
  border-color:rgba(0,100,192,.40)!important;
  background:linear-gradient(180deg,#ffffff 0%,#e8f3fe 100%)!important;
  box-shadow:0 11px 24px rgba(0,100,192,.10)!important;
  transform:translateY(-1px)!important;
}

/* Primary checkout / discovery CTA. */
body.afiwai-goodies-pro :where(
  .afiwai-smart-cart-empty > a,
  .afiwai-smart-shop-primary-action
){
  border:1px solid rgba(0,82,164,.18)!important;
  background:linear-gradient(180deg,#1688f4 0%,#0064c0 100%)!important;
  color:#fff!important;
  box-shadow:
    0 12px 24px rgba(0,100,192,.18),
    inset 0 1px 0 rgba(255,255,255,.22)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-cart-empty > a,
  .afiwai-smart-shop-primary-action
):hover{
  background:linear-gradient(180deg,#2093ff 0%,#0056aa 100%)!important;
  box-shadow:
    0 15px 30px rgba(0,100,192,.24),
    inset 0 1px 0 rgba(255,255,255,.25)!important;
  transform:translateY(-1px)!important;
}

/* Empty state itself gains a more intentional visual hierarchy. */
body.afiwai-goodies-pro .afiwai-smart-cart-empty{
  min-height:300px!important;
  border-radius:18px!important;
  background:
    radial-gradient(circle at 50% 28%,rgba(0,166,199,.08),transparent 26%),
    linear-gradient(180deg,#fff 0%,#f8fbfe 100%)!important;
}

@media(max-width:920px){
  body.afiwai-goodies-pro .afiwai-smart-cart:not(.is-empty) .afiwai-smart-cart-layout{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-page-hero.afiwai-smart-shop-page-hero-cart,
  body.afiwai-goodies-pro .afiwai-smart-shop-page-hero-compact.afiwai-smart-shop-page-hero-cart{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }
}


/* ==========================================================================
   1.0.13 — RESPONSIVE PREMIUM NAVIGATION
   Tablet: compact inline nav.
   Mobile: accessible hamburger + accordion panel.
   ========================================================================== */

body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  padding:0;
  border:1px solid rgba(0,100,192,.14);
  border-radius:14px;
  background:rgba(255,255,255,.72);
  color:var(--agsp-primary);
  box-shadow:
    0 8px 22px rgba(16,63,108,.08),
    inset 0 1px 0 rgba(255,255,255,.88);
  cursor:pointer;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle:hover,
body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle:focus-visible{
  background:#fff;
  border-color:rgba(0,100,192,.28);
  box-shadow:0 10px 26px rgba(0,100,192,.12);
  outline:none;
  transform:translateY(-1px);
}

body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__icon{
  position:relative;
  width:20px;
  height:14px;
  display:block;
}

body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__icon::before,
body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__icon::after,
body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__icon span{
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  content:"";
  transition:
    transform .2s ease,
    top .2s ease,
    opacity .2s ease;
}

body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__icon::before{
  top:0;
}
body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__icon span{
  top:6px;
}
body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__icon::after{
  top:12px;
}

body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle[aria-expanded="true"] .afiwai-smart-shop-nav-toggle__icon::before{
  top:6px;
  transform:rotate(45deg);
}
body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle[aria-expanded="true"] .afiwai-smart-shop-nav-toggle__icon span{
  opacity:0;
}
body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle[aria-expanded="true"] .afiwai-smart-shop-nav-toggle__icon::after{
  top:6px;
  transform:rotate(-45deg);
}

/* Tablet: preserve inline menu but reduce visual weight. */
@media (max-width:1180px) and (min-width:761px){
}

/* Mobile accordion. */
@media (max-width:760px){

  body.afiwai-goodies-pro .afiwai-smart-shop-brand{
    min-width:0!important;
    flex:1 1 auto!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy{
    min-width:0!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy strong{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle{
    display:inline-flex!important;
    flex:0 0 46px!important;
  }
}


/* ==========================================================================
   1.0.14 — MOBILE NAV FAIL-SAFE
   Never hide navigation unless JS has successfully inserted the toggle.
   ========================================================================== */

@media(max-width:760px){
}

body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle{
  display:none!important;
}

/* Mobile: classic dropdown menu. */
@media(max-width:760px){
  body.afiwai-goodies-pro .afiwai-template-header{
    overflow:visible!important;
  }

  body.afiwai-goodies-pro .afiwai-template-header-inner{
    min-height:auto!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand{
    min-width:0!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy strong{
    font-size:16px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy small{
    font-size:11px!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle{
    display:inline-flex!important;
    width:44px!important;
    height:44px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    border:1px solid rgba(0,100,192,.16)!important;
    border-radius:11px!important;
    background:#fff!important;
    color:#0f4c81!important;
    box-shadow:0 6px 16px rgba(20,65,105,.08)!important;
    cursor:pointer!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__bars{
    display:grid!important;
    gap:4px!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle__bars i{
    display:block!important;
    width:20px!important;
    height:2px!important;
    border-radius:2px!important;
    background:currentColor!important;
    transition:transform .18s ease, opacity .18s ease!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle[aria-expanded="true"] .afiwai-smart-shop-nav-toggle__bars i:nth-child(1){
    transform:translateY(6px) rotate(45deg)!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle[aria-expanded="true"] .afiwai-smart-shop-nav-toggle__bars i:nth-child(2){
    opacity:0!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle[aria-expanded="true"] .afiwai-smart-shop-nav-toggle__bars i:nth-child(3){
    transform:translateY(-6px) rotate(-45deg)!important;
  }
}


/* ==========================================================================
   1.0.16 — MOBILE MENU HARD RESET
   Logo left + hamburger right + vertical dropdown below header.
   ========================================================================== */

/* Desktop remains horizontal. */
@media(min-width:761px){

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle{
    display:none!important;
  }
}

/* Mobile layout. */
@media(max-width:760px){
  body.afiwai-goodies-pro .afiwai-template-header{
    overflow:visible!important;
  }

  body.afiwai-goodies-pro .afiwai-template-header-inner{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:0!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand{
    grid-column:1!important;
    grid-row:1!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    align-self:center!important;
    justify-self:start!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark,
  body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark img,
  body.afiwai-goodies-pro .afiwai-smart-shop-brand > img{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    max-width:44px!important;
    max-height:44px!important;
    flex-basis:44px!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy{
    min-width:0!important;
    max-width:calc(100vw - 120px)!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy strong{
    display:block!important;
    max-width:100%!important;
    font-size:16px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy small{
    display:block!important;
    margin-top:2px!important;
    font-size:11px!important;
    line-height:1.2!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle{
    grid-column:2!important;
    grid-row:1!important;
    position:static!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    justify-self:end!important;
    align-self:center!important;
    border:1px solid rgba(15,76,129,.24)!important;
    border-radius:11px!important;
    background:#ffffff!important;
    color:#0f4c81!important;
    box-shadow:0 6px 16px rgba(23,72,126,.08)!important;
    z-index:110!important;
  }
}




@media(max-width:760px){

  /* 1 — no mobile toggle button */
  body.afiwai-goodies-pro .afiwai-smart-shop-nav-toggle{
    display:none!important;
  }

  /* 2 — center logo + texts */
  body.afiwai-goodies-pro .afiwai-smart-shop-brand{
    width:auto!important;
    max-width:100%!important;
    margin:0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;
    text-align:center!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark,
  body.afiwai-goodies-pro .afiwai-smart-shop-brand-mark img,
  body.afiwai-goodies-pro .afiwai-smart-shop-brand > img{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    max-width:48px!important;
    max-height:48px!important;
    flex:0 0 48px!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy strong{
    max-width:none!important;
    font-size:17px!important;
    line-height:1.15!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    text-align:center!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand-copy small{
    margin-top:3px!important;
    font-size:11px!important;
    line-height:1.2!important;
    text-align:center!important;
  }
}

@media(max-width:420px){
}


/* ==========================================================================
   1.0.18 — MOBILE NAV TRUE CENTERING
   Force brand and navigation block onto the exact same center axis.
   ========================================================================== */
@media(max-width:760px){

  body.afiwai-goodies-pro .afiwai-smart-shop-brand{
    grid-column:1!important;
    justify-self:center!important;
    align-self:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

@media(max-width:420px){
}




/* Reassurance block: centered and symmetrical on responsive layouts. */
@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
    width:min(92%,720px)!important;
    max-width:min(92%,720px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
    justify-items:stretch!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-reassurance > .afiwai-reassurance-card{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
    width:calc(100% - 24px)!important;
    max-width:calc(100% - 24px)!important;
  }
}





/* ==========================================================================
   1.0.20 — REASSURANCE BLOCK: GLOBAL TRUE CENTERING
   Same centered content axis on desktop, tablet and mobile.
   ========================================================================== */

/* The reassurance strip itself is always centered in the viewport/page axis. */
body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
  width:var(--afiwai-ss-content-width,80vw)!important;
  max-width:var(--afiwai-ss-content-width,80vw)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

/* Neutralize parent/full-bleed offsets that can pull the strip to one side. */
body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-ecosystem,
  .afiwai-smart-shop-main,
  .afiwai-smart-shop-page,
  .afiwai-smart-cart
) > .afiwai-smart-shop-reassurance{
  margin-inline:auto!important;
}

/* Cards remain symmetrical inside the centered strip. */
body.afiwai-goodies-pro .afiwai-smart-shop-reassurance > *{
  box-sizing:border-box!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
    width:calc(100% - 32px)!important;
    max-width:720px!important;
    margin-inline:auto!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
    width:calc(100% - 24px)!important;
    max-width:calc(100% - 24px)!important;
    margin-inline:auto!important;
  }
}


/* ==========================================================================
   1.0.21 — REASSURANCE: ABSOLUTE HORIZONTAL PAGE CENTER
   Center against the page/viewport axis, regardless of parent positioning.
   ========================================================================== */

body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
  position:relative!important;
  left:50%!important;
  right:auto!important;
  width:var(--afiwai-ss-content-width,80vw)!important;
  max-width:var(--afiwai-ss-content-width,80vw)!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:translateX(-50%)!important;
  box-sizing:border-box!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
    width:min(calc(100vw - 32px),720px)!important;
    max-width:min(calc(100vw - 32px),720px)!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-smart-shop-reassurance{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
  }
}


/* ==========================================================================
   1.0.22 — CONFIGURABLE CARD BORDERS
   ========================================================================== */

body.afiwai-goodies-pro :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card,
  .afiwai-v3-category-card,
  .afiwai-v3-collection-card,
  .afiwai-shop-category-card,
  .afiwai-shop-collection-card,
  .afiwai-shop-featured-card
){
  border-width:var(--agsp-card-border-width)!important;
  border-style:var(--agsp-card-border-style)!important;
  border-color:var(--agsp-card-border-color)!important;
}

/* Keep the border readable on hover without changing the chosen style. */
body.afiwai-goodies-pro :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card,
  .afiwai-v3-category-card,
  .afiwai-v3-collection-card,
  .afiwai-shop-category-card,
  .afiwai-shop-collection-card,
  .afiwai-shop-featured-card
):hover{
  border-width:var(--agsp-card-border-width)!important;
  border-style:var(--agsp-card-border-style)!important;
  border-color:var(--agsp-card-border-color)!important;
}


/* ==========================================================================
   1.0.23 — CATEGORIES PAGE CENTERING + CARD BORDER FRONT FIX
   ========================================================================== */

/* Image 1 — Categories hero: centered on the page axis. */
body.afiwai-goodies-pro .afiwai-smart-shop-page-hero-categories{
  width:var(--afiwai-ss-content-width,80vw)!important;
  max-width:var(--afiwai-ss-content-width,80vw)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* Image 2 — Categories/collections directory: exactly 80% and centered. */
body.afiwai-goodies-pro .afiwai-smart-shop-term-directory{
  width:80%!important;
  max-width:80%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:clamp(24px,2.6vw,50px)!important;
  padding-right:clamp(24px,2.6vw,50px)!important;
  box-sizing:border-box!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-term-directory > :where(
  .afiwai-shop-section-heading,
  .afiwai-smart-shop-term-grid
){
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* Actual Smart Shop term cards were missing from the configurable border map. */
body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-term-card,
  .afiwai-home-category-grid > a,
  .afiwai-v3-category-grid > a,
  .afiwai-v3-collection-grid > a
){
  border-width:var(--agsp-card-border-width)!important;
  border-style:var(--agsp-card-border-style)!important;
  border-color:var(--agsp-card-border-color)!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-smart-shop-page-hero-categories,
  body.afiwai-goodies-pro .afiwai-smart-shop-term-directory{
    width:calc(100% - 32px)!important;
    max-width:calc(100% - 32px)!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-smart-shop-page-hero-categories,
  body.afiwai-goodies-pro .afiwai-smart-shop-term-directory{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-term-directory{
    padding-left:16px!important;
    padding-right:16px!important;
  }
}


/* ==========================================================================
   1.0.24 — CATEGORIES HERO: EXACT 80% DESKTOP WIDTH
   ========================================================================== */
@media(min-width:901px){
  body.afiwai-goodies-pro .afiwai-smart-shop-page-hero-categories{
    width:80%!important;
    max-width:80%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    margin-inline:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
}


/* ==========================================================================
   1.0.25 — CARD BORDER AUTHORITATIVE FRONT OVERRIDE
   Beats Smart Shop Pro's native `border:2px ... !important`.
   ========================================================================== */

body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
.afiwai-smart-shop-ecosystem
.afiwai-product-card,
body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
.afiwai-smart-shop-ecosystem
.afiwai-preview-product-card.afiwai-product-card,
body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
.afiwai-template-pro
.afiwai-preview-product-card.afiwai-product-card{
  border-width:var(--agsp-card-border-width)!important;
  border-style:var(--agsp-card-border-style)!important;
  border-color:var(--agsp-card-border-color)!important;
}

body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
.afiwai-smart-shop-ecosystem
.afiwai-product-card:hover,
body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
.afiwai-smart-shop-ecosystem
.afiwai-product-card:focus-within,
body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
.afiwai-template-pro
.afiwai-preview-product-card.afiwai-product-card:hover,
body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
.afiwai-template-pro
.afiwai-preview-product-card.afiwai-product-card:focus-within{
  border-width:var(--agsp-card-border-width)!important;
  border-style:var(--agsp-card-border-style)!important;
  border-color:var(--agsp-card-border-color)!important;
}


/* ==========================================================================
   1.0.26 — PRODUCT CTA INTERACTION SAFETY
   ========================================================================== */
body.afiwai-goodies-pro .afiwai-product-card :where(
  .afiwai-smart-add-to-cart,
  .afiwai-product-card-action,
  .afiwai-product-card__action,
  .afiwai-product-card__add
){
  position:relative!important;
  z-index:20!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}

body.afiwai-goodies-pro .afiwai-product-card :where(
  .afiwai-smart-add-to-cart,
  .afiwai-product-card-action,
  .afiwai-product-card__action,
  .afiwai-product-card__add
):disabled{
  cursor:wait!important;
  opacity:.72!important;
}

body.afiwai-goodies-pro .afiwai-product-card :where(
  .afiwai-smart-add-to-cart,
  .afiwai-product-card-action,
  .afiwai-product-card__action,
  .afiwai-product-card__add
).has-error{
  outline:2px solid #b42318!important;
  outline-offset:2px!important;
}


/* ==========================================================================
   1.0.27 — NATIVE SMART SHOP CART BUTTONS
   Visual layer only. No theme-side cart interception.
   ========================================================================== */
body.afiwai-goodies-pro button[data-afiwai-cart-add]:not(:where(.afc-product-entry *, .afc-customizer-shell *, [data-afc-product] *)){
  position:relative!important;
  z-index:30!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}


/* ==========================================================================
   1.0.28 — PRODUCT CTA CLICK LAYER RESET
   Remove theme-created stacking contexts around card CTA.
   ========================================================================== */
body.afiwai-goodies-pro .afiwai-product-card{
  isolation:auto!important;
}
body.afiwai-goodies-pro .afiwai-product-card :where(
  .afiwai-product-card-footer,
  .afiwai-product-card__footer,
  .afiwai-preview-bottom
){
  position:relative!important;
  z-index:5!important;
  pointer-events:auto!important;
}
body.afiwai-goodies-pro button[data-afiwai-cart-add]:not(:where(.afc-product-entry *, .afc-customizer-shell *, [data-afc-product] *)){
  position:relative!important;
  z-index:6!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}


/* Product CTA visibility is owned by Smart Shop. */

/* ==========================================================================
   1.0.39 — CONFIGURABLE PRODUCT GRID + NATIVE FOOTER ISOLATION
   ========================================================================== */
/*
 * The footer is deliberately not selected anywhere in this section.
 * Desktop columns are provided through --agsp-product-columns by dynamic CSS.
 */
@media(min-width:901px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content :is(
    .agsp-merch-grid,
    .afiwai-v3-product-grid,
    .afiwai-shop-featured-grid,
    .afiwai-catalog-grid,
    .afiwai-smart-catalog-grid
  ){
    grid-template-columns:repeat(var(--agsp-product-columns,3),minmax(0,1fr))!important;
  }
}
@media(max-width:900px) and (min-width:681px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content :is(
    .agsp-merch-grid,
    .afiwai-v3-product-grid,
    .afiwai-shop-featured-grid,
    .afiwai-catalog-grid,
    .afiwai-smart-catalog-grid
  ){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:680px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content :is(
    .agsp-merch-grid,
    .afiwai-v3-product-grid,
    .afiwai-shop-featured-grid,
    .afiwai-catalog-grid,
    .afiwai-smart-catalog-grid
  ){
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================================
   1.0.40 — PRODUCT THUMBNAIL TRUE VERTICAL CENTERING
   ========================================================================== */
/*
 * On horizontal product cards the media column can be taller than the image
 * viewport. Make the complete left media column stretch to the card height,
 * then center the real Smart Shop gallery viewport inside it.
 */
@media(min-width:783px){
  body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
  #afiwai-smart-shop-content
  .afiwai-preview-product-card.afiwai-product-card
  > .afiwai-preview-product-image.afiwai-product-media{
    align-self:stretch!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:100%!important;
    min-height:100%!important;
    max-height:none!important;
    aspect-ratio:auto!important;
  }

  body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
  #afiwai-smart-shop-content
  .afiwai-preview-product-card.afiwai-product-card
  > .afiwai-preview-product-image.afiwai-product-media
  > .afiwai-card-gallery{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    max-height:none!important;
  }

  body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
  #afiwai-smart-shop-content
  .afiwai-preview-product-card.afiwai-product-card
  .afiwai-card-gallery__viewport{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
  }

  body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
  #afiwai-smart-shop-content
  .afiwai-preview-product-card.afiwai-product-card
  .afiwai-card-gallery__image,
  body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
  #afiwai-smart-shop-content
  .afiwai-preview-product-card.afiwai-product-card
  > .afiwai-preview-product-image.afiwai-product-media > img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:auto!important;
    object-fit:contain!important;
    object-position:50% 50%!important;
  }
}


/* ==========================================================================
   1.0.41 — CONFIGURABLE RESPONSIVE HERO LOGO
   ========================================================================== */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-hero-logo{
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(260px,.88fr)!important;
  align-items:center!important;
  column-gap:clamp(28px,4vw,72px)!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-hero-logo > div:first-child{
  min-width:0!important;
  position:relative!important;
  z-index:2!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero .agsp-hero-logo{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  min-height:clamp(280px,29vw,430px)!important;
  padding:clamp(20px,3vw,46px)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero .agsp-hero-logo img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:min(100%,420px)!important;
  max-height:360px!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  filter:none!important;
}

@media(max-width:1100px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-hero-logo{
    grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr)!important;
    column-gap:28px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero .agsp-hero-logo{
    min-height:260px!important;
    padding:20px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero .agsp-hero-logo img{
    max-width:min(100%,300px)!important;
    max-height:270px!important;
  }
}

@media(max-width:760px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-hero-logo{
    grid-template-columns:1fr!important;
    row-gap:18px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero .agsp-hero-logo{
    grid-row:2!important;
    min-height:0!important;
    height:auto!important;
    padding:8px 14px 18px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero .agsp-hero-logo img{
    max-width:min(72vw,240px)!important;
    max-height:210px!important;
  }
}

@media(max-width:480px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero .agsp-hero-logo img{
    max-width:min(68vw,200px)!important;
    max-height:180px!important;
  }
}


/*
 * IMPORTANT — AFIWAI Customizable / Studio:
 * Thème Pro reste actif sur la fiche produit et conserve l'habillage NOVA de
 * la page. En revanche, ses règles génériques de contrôles ne doivent jamais
 * entrer dans .afc-product-entry, .afc-customizer-shell ou [data-afc-product].
 * La compatibilité est donc assurée par scoping CSS ciblé, sans désactiver les
 * feuilles Thème Pro/NOVA ni retirer les classes visuelles du body.
 */


/* ==========================================================================
   1.0.44 — HERO SANS ICONE + FORMES DECORATIVES
   ========================================================================== */

/* Supprime uniquement les icônes des zones visuelles des Hero. */
body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
) > :is(.dashicons,svg,img){
  display:none!important;
}

/* Le conteneur visuel reste présent pour porter les formes de fond. */
body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
){
  position:relative!important;
  display:block!important;
  min-height:220px!important;
  overflow:visible!important;
  pointer-events:none!important;
}

/* Deux formes légères, sans pictogramme. */
body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
)::before{
  content:""!important;
  position:absolute!important;
  width:clamp(180px,20vw,320px)!important;
  aspect-ratio:1 / 1!important;
  right:8%!important;
  top:8%!important;
  border-radius:50%!important;
  border:1px solid rgba(0,100,192,.12)!important;
  background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.88),rgba(0,166,199,.08) 54%,rgba(0,100,192,.04) 100%)!important;
  box-shadow:0 24px 70px rgba(0,100,192,.06)!important;
  transform:rotate(-8deg)!important;
}

body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
)::after{
  content:""!important;
  position:absolute!important;
  width:clamp(120px,13vw,210px)!important;
  height:clamp(78px,8vw,130px)!important;
  right:1%!important;
  bottom:6%!important;
  border:1px solid rgba(0,100,192,.10)!important;
  border-radius:32px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(0,100,192,.035))!important;
  transform:rotate(18deg)!important;
}

/* Hero principal avec logo configuré : on garde le logo choisi par l'utilisateur. */
body.afiwai-goodies-pro .afiwai-home-hero .agsp-hero-logo::before,
body.afiwai-goodies-pro .afiwai-home-hero .agsp-hero-logo::after{
  content:none!important;
}

/* Responsive : formes plus petites et non envahissantes. */
@media(max-width:900px){
  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-page-hero__visual,
    .afiwai-favorites-hero__visual,
    .afiwai-tracking-hero__visual,
    .afiwai-account-hero__visual
  ){
    min-height:170px!important;
  }

  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-page-hero__visual,
    .afiwai-favorites-hero__visual,
    .afiwai-tracking-hero__visual,
    .afiwai-account-hero__visual
  )::before{
    width:190px!important;
    right:4%!important;
    top:10%!important;
  }

  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-page-hero__visual,
    .afiwai-favorites-hero__visual,
    .afiwai-tracking-hero__visual,
    .afiwai-account-hero__visual
  )::after{
    width:128px!important;
    height:82px!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-page-hero__visual,
    .afiwai-favorites-hero__visual,
    .afiwai-tracking-hero__visual,
    .afiwai-account-hero__visual
  ){
    min-height:120px!important;
  }

  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-page-hero__visual,
    .afiwai-favorites-hero__visual,
    .afiwai-tracking-hero__visual,
    .afiwai-account-hero__visual
  )::before{
    width:135px!important;
    right:8%!important;
    opacity:.8!important;
  }

  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-page-hero__visual,
    .afiwai-favorites-hero__visual,
    .afiwai-tracking-hero__visual,
    .afiwai-account-hero__visual
  )::after{
    width:92px!important;
    height:58px!important;
    right:2%!important;
    opacity:.72!important;
  }
}


/* ==========================================================================
   1.0.45 — HERO MON COMPTE PLUS COMPACT
   ========================================================================== */
body.afiwai-goodies-pro .afiwai-account-hero{
  min-height:0!important;
  padding-top:clamp(28px,3vw,46px)!important;
  padding-bottom:clamp(28px,3vw,46px)!important;
}

body.afiwai-goodies-pro .afiwai-account-hero__visual{
  min-height:150px!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-account-hero{
    padding-top:26px!important;
    padding-bottom:26px!important;
  }

  body.afiwai-goodies-pro .afiwai-account-hero__visual{
    min-height:120px!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-account-hero{
    padding-top:22px!important;
    padding-bottom:22px!important;
  }

  body.afiwai-goodies-pro .afiwai-account-hero__visual{
    min-height:90px!important;
  }
}


/* ==========================================================================
   1.0.46 — MON COMPTE : SUPPRESSION DE L'ESPACE VIDE SOUS LE TEXTE
   ========================================================================== */
body.afiwai-goodies-pro .afiwai-account-hero{
  min-height:0!important;
  height:auto!important;
  padding-top:34px!important;
  padding-bottom:34px!important;
}

body.afiwai-goodies-pro .afiwai-account-hero__content{
  align-self:center!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

body.afiwai-goodies-pro .afiwai-account-hero__visual{
  min-height:0!important;
  height:190px!important;
  align-self:center!important;
}

/* Empêche la zone visuelle droite de déterminer une hauteur excessive du Hero. */
body.afiwai-goodies-pro .afiwai-account-hero__visual::before{
  width:180px!important;
}

body.afiwai-goodies-pro .afiwai-account-hero__visual::after{
  width:120px!important;
  height:76px!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-account-hero{
    padding-top:28px!important;
    padding-bottom:28px!important;
  }

  body.afiwai-goodies-pro .afiwai-account-hero__visual{
    height:130px!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-account-hero{
    padding-top:24px!important;
    padding-bottom:24px!important;
  }

  body.afiwai-goodies-pro .afiwai-account-hero__visual{
    height:92px!important;
  }
}


/* ==========================================================================
   1.0.47 — MON COMPTE : HAUTEUR REELLEMENT COMPACTE
   ========================================================================== */
/*
 * Cause réelle : depuis le nettoyage du Hero Mon compte, le Hero est en une
 * seule colonne mais .afiwai-account-hero__visual restait un second item de
 * grille. Les formes décoratives ajoutées ensuite donnaient donc au Hero une
 * deuxième ligne de 150/190px sous le texte.
 *
 * On retire complètement ce second item. Les formes sont portées directement
 * par le Hero, en position absolue, donc elles n'influencent plus sa hauteur.
 */
body.afiwai-goodies-pro .afiwai-account-hero{
  position:relative!important;
  grid-template-columns:1fr!important;
  min-height:0!important;
  height:auto!important;
  padding-top:32px!important;
  padding-bottom:32px!important;
  overflow:hidden!important;
}

body.afiwai-goodies-pro .afiwai-account-hero__visual{
  display:none!important;
}

/* Forme décorative principale à droite, sans impact sur le flux. */
body.afiwai-goodies-pro .afiwai-account-hero::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  width:180px!important;
  height:180px!important;
  right:9%!important;
  top:50%!important;
  transform:translateY(-50%) rotate(-8deg)!important;
  border:1px solid rgba(0,100,192,.10)!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at 34% 30%,rgba(255,255,255,.86),rgba(0,166,199,.07) 56%,rgba(0,100,192,.035) 100%)!important;
  box-shadow:0 20px 55px rgba(0,100,192,.05)!important;
  pointer-events:none!important;
}

/* Seconde forme plus discrète. */
body.afiwai-goodies-pro .afiwai-account-hero::after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  width:112px!important;
  height:70px!important;
  right:2.5%!important;
  bottom:20%!important;
  transform:rotate(17deg)!important;
  border:1px solid rgba(0,100,192,.09)!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.68),rgba(0,100,192,.025))!important;
  pointer-events:none!important;
}

body.afiwai-goodies-pro .afiwai-account-hero > :not(.afiwai-account-hero__visual){
  position:relative!important;
  z-index:1!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro .afiwai-account-hero{
    padding-top:28px!important;
    padding-bottom:28px!important;
  }

  body.afiwai-goodies-pro .afiwai-account-hero::before{
    width:140px!important;
    height:140px!important;
    right:5%!important;
    opacity:.78!important;
  }

  body.afiwai-goodies-pro .afiwai-account-hero::after{
    width:88px!important;
    height:54px!important;
    opacity:.65!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-account-hero{
    padding-top:24px!important;
    padding-bottom:24px!important;
  }

  body.afiwai-goodies-pro .afiwai-account-hero::before{
    width:108px!important;
    height:108px!important;
    right:-18px!important;
    opacity:.58!important;
  }

  body.afiwai-goodies-pro .afiwai-account-hero::after{
    display:none!important;
  }
}


/* ==========================================================================
   1.0.48 — HAUTEUR UNIFORME DE TOUS LES HERO THEME PRO
   ========================================================================== */
/*
 * Tous les Hero gérés par AFIWAI Thème Pro utilisent maintenant exactement
 * la même hauteur à chaque breakpoint.
 *
 * Desktop : 380 px
 * Tablette : 330 px
 * Mobile : 300 px
 *
 * Les formes décoratives restent hors du flux et ne peuvent pas modifier
 * cette hauteur.
 */
body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
){
  height:380px!important;
  min-height:380px!important;
  max-height:380px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  align-items:center!important;
}

/* Aucun visuel décoratif ne doit créer une ligne supplémentaire. */
body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
){
  position:absolute!important;
  inset:0 0 0 auto!important;
  width:44%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  pointer-events:none!important;
}

/* Mon compte conserve son traitement compact en une seule ligne de grille. */
body.afiwai-goodies-pro .afiwai-account-hero{
  grid-template-columns:1fr!important;
  padding-top:32px!important;
  padding-bottom:32px!important;
}

body.afiwai-goodies-pro .afiwai-account-hero__visual{
  display:none!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-smart-shop-page-hero-compact,
    .afiwai-account-hero,
    .afiwai-favorites-hero,
    .afiwai-tracking-hero
  ){
    height:330px!important;
    min-height:330px!important;
    max-height:330px!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-smart-shop-page-hero-compact,
    .afiwai-account-hero,
    .afiwai-favorites-hero,
    .afiwai-tracking-hero
  ){
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
  }

  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-page-hero__visual,
    .afiwai-favorites-hero__visual,
    .afiwai-tracking-hero__visual
  ){
    width:38%!important;
    opacity:.72!important;
  }
}


/* ==========================================================================
   1.0.49 — HERO UNIFORMES SANS ROGNAGE
   ========================================================================== */
/*
 * Règle de sécurité :
 * - même hauteur minimale pour tous les Hero gérés par Thème Pro ;
 * - jamais de hauteur maximale imposée ;
 * - jamais de contenu rogné ;
 * - si un Hero contient davantage d'informations, il peut grandir naturellement.
 */
body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
){
  height:auto!important;
  min-height:380px!important;
  max-height:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  align-items:center!important;
}

/* Le contenu textuel reste entièrement visible. */
body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
) :is(
  .afiwai-home-hero__content,
  .afiwai-smart-shop-page-hero__content,
  .afiwai-account-hero__content,
  .afiwai-favorites-hero__content,
  .afiwai-tracking-hero__content
){
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
}

/* Les éléments décoratifs ne participent jamais au calcul de hauteur. */
body.afiwai-goodies-pro :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
){
  position:absolute!important;
  right:0!important;
  top:0!important;
  bottom:auto!important;
  width:44%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  pointer-events:none!important;
}

/* Le Hero Mon compte ne crée toujours aucune seconde ligne visuelle. */
body.afiwai-goodies-pro .afiwai-account-hero{
  position:relative!important;
  grid-template-columns:1fr!important;
}

body.afiwai-goodies-pro .afiwai-account-hero__visual{
  display:none!important;
}

/* Tablette : même logique, min-height commune mais extensible. */
@media(max-width:900px){
  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-smart-shop-page-hero-compact,
    .afiwai-account-hero,
    .afiwai-favorites-hero,
    .afiwai-tracking-hero
  ){
    height:auto!important;
    min-height:330px!important;
    max-height:none!important;
    overflow:visible!important;
  }
}

/* Mobile : aucun rognage, le Hero grandit selon les retours à la ligne. */
@media(max-width:680px){
  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-home-hero,
    .afiwai-home-hero,
    .afiwai-smart-shop-page-hero,
    .afiwai-smart-shop-page-hero-compact,
    .afiwai-account-hero,
    .afiwai-favorites-hero,
    .afiwai-tracking-hero
  ){
    height:auto!important;
    min-height:300px!important;
    max-height:none!important;
    overflow:visible!important;
  }

  body.afiwai-goodies-pro :is(
    .afiwai-smart-shop-page-hero__visual,
    .afiwai-favorites-hero__visual,
    .afiwai-tracking-hero__visual
  ){
    width:36%!important;
    opacity:.66!important;
  }
}


/* ==========================================================================
   1.0.50 — MENU STICKY PC/TABLETTE + BANDEAU PUBLICITAIRE BOUTIQUE
   ========================================================================== */

/* Menu sticky sur ordinateur et tablette uniquement. */
@media(min-width:681px){
  body.afiwai-goodies-pro .afiwai-template-header{
    position:sticky!important;
    top:0!important;
    z-index:9990!important;
    background:rgba(255,255,255,.94)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
    box-shadow:0 8px 28px rgba(14,47,78,.08)!important;
  }
}

/* Mobile : navigation normale pour préserver l'espace vertical. */
@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-template-header{
    position:relative!important;
    top:auto!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}

/*
 * Boutique : conserver le H1 et le texte SEO, mais transformer le Hero en
 * bloc plus compact avec emplacement publicitaire à droite.
 */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce{
  position:relative!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(360px,.9fr)!important;
  gap:clamp(24px,3vw,48px)!important;
  align-items:center!important;
  min-height:360px!important;
  padding-top:34px!important;
  padding-bottom:34px!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad > div:first-child{
  min-width:0!important;
  position:relative!important;
  z-index:2!important;
}

/* Si une ancienne zone logo existe dans ce Hero, la publicité la remplace. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad > .agsp-hero-logo{
  display:none!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:220px!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 18px 44px rgba(17,57,94,.10)!important;
  text-decoration:none!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:220px!important;
  max-height:280px!important;
  object-fit:cover!important;
  object-position:center!important;
}

/* Formes décoratives légères derrière le bandeau, sans pictogramme. */
body.afiwai-goodies-pro
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad::before{
  content:""!important;
  position:absolute!important;
  width:220px!important;
  height:220px!important;
  right:20px!important;
  top:16px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(0,166,199,.09),rgba(0,100,192,.03) 62%,transparent 63%)!important;
  pointer-events:none!important;
}

body.afiwai-goodies-pro
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad::after{
  content:""!important;
  position:absolute!important;
  width:130px!important;
  height:90px!important;
  right:5%!important;
  bottom:18px!important;
  border:1px solid rgba(0,100,192,.10)!important;
  border-radius:28px!important;
  transform:rotate(15deg)!important;
  background:rgba(255,255,255,.38)!important;
  pointer-events:none!important;
}

@media(max-width:1100px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad{
    grid-template-columns:minmax(0,1fr) minmax(300px,.82fr)!important;
  }
}

@media(max-width:820px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad{
    grid-template-columns:1fr!important;
    min-height:0!important;
    gap:20px!important;
  }

  body.afiwai-goodies-pro .agsp-retired-shop-ad{
    min-height:190px!important;
  }

  body.afiwai-goodies-pro .agsp-retired-shop-ad img{
    min-height:190px!important;
    max-height:240px!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad{
    padding-top:24px!important;
    padding-bottom:24px!important;
  }

  body.afiwai-goodies-pro .agsp-retired-shop-ad{
    min-height:160px!important;
    border-radius:14px!important;
  }

  body.afiwai-goodies-pro .agsp-retired-shop-ad img{
    min-height:160px!important;
    max-height:210px!important;
  }
}


/* ==========================================================================
   1.0.51 — PUBLICITE BOUTIQUE SEPAREE DU HERO
   ========================================================================== */
/*
 * Le Hero Boutique reste un Hero complet et indépendant.
 * La publicité est un bloc autonome placé immédiatement APRES le Hero.
 * Les anciennes règles 1.0.50 de composition Hero + publicité sont annulées.
 */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad{
  display:revert!important;
  grid-template-columns:revert!important;
  gap:revert!important;
  min-height:380px!important;
  padding-top:revert!important;
  padding-bottom:revert!important;
}

/* Le bandeau publicitaire possède exactement le même axe que les contenus. */
body.afiwai-goodies-pro .agsp-retired-shop-ad-section{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  margin:var(--agsp-section-gap) auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Le visuel remplit son espace sans imposer de hauteur artificielle. */
body.afiwai-goodies-pro .agsp-retired-shop-ad-section .agsp-retired-shop-ad{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 38px rgba(17,57,94,.09)!important;
  text-decoration:none!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad-section .agsp-retired-shop-ad img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Les pseudo-éléments publicitaires 1.0.50 ne s'appliquent plus au Hero. */
body.afiwai-goodies-pro
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad::before,
body.afiwai-goodies-pro
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad::after{
  content:none!important;
  display:none!important;
}

@media(max-width:680px){
  body.afiwai-goodies-pro .agsp-retired-shop-ad-section{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    margin:20px auto!important;
  }

  body.afiwai-goodies-pro .agsp-retired-shop-ad-section .agsp-retired-shop-ad{
    border-radius:14px!important;
  }
}


/* ==========================================================================
   1.0.53 — EMPLACEMENT PUBLICITAIRE REEL SUR LA PAGE BOUTIQUE
   ========================================================================== */

/*
 * Structure frontend :
 * HERO BOUTIQUE
 * ↓
 * EMPLACEMENT PUBLICITAIRE
 * ↓
 * CONTENU BOUTIQUE
 *
 * Le bloc publicitaire est totalement indépendant du Hero.
 */
body.afiwai-goodies-pro #afiwai-smart-shop-content > .afiwai-premium-home .agsp-retired-shop-ad-section,
body.afiwai-goodies-pro #afiwai-smart-shop-content .agsp-retired-shop-ad-section{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  margin:24px auto var(--agsp-section-gap)!important;
  padding:0!important;
  position:relative!important;
  box-sizing:border-box!important;
  clear:both!important;
}

/* Publicité configurée. */
body.afiwai-goodies-pro .agsp-retired-shop-ad-section.has-ad .agsp-retired-shop-ad{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
  border:1px solid rgba(0,100,192,.10)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 32px rgba(17,57,94,.08)!important;
  text-decoration:none!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad-section.has-ad .agsp-retired-shop-ad img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Aperçu de l'emplacement pour les administrateurs avant ajout de l'image. */
body.afiwai-goodies-pro .agsp-retired-shop-ad-section.is-empty{
  min-height:150px!important;
  border:2px dashed rgba(0,100,192,.22)!important;
  border-radius:18px!important;
  background:
    linear-gradient(135deg,rgba(0,100,192,.035),rgba(0,166,199,.025))!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad-placeholder{
  min-height:150px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  padding:24px!important;
  color:#52697d!important;
  text-align:left!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad-placeholder .dashicons{
  width:38px!important;
  height:38px!important;
  font-size:38px!important;
  line-height:38px!important;
  color:#0064C0!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad-placeholder strong,
body.afiwai-goodies-pro .agsp-retired-shop-ad-placeholder small{
  display:block!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad-placeholder strong{
  margin-bottom:4px!important;
  color:#18364f!important;
  font-size:16px!important;
}

body.afiwai-goodies-pro .agsp-retired-shop-ad-placeholder small{
  color:#6b7f91!important;
  font-size:13px!important;
}

/* Le Hero ne reçoit aucune classe ni règle de composition publicitaire. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce.has-agsp-retired-shop-ad{
  display:revert!important;
  grid-template-columns:revert!important;
  gap:revert!important;
}

@media(max-width:680px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content .agsp-retired-shop-ad-section{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    margin:18px auto 22px!important;
  }

  body.afiwai-goodies-pro .agsp-retired-shop-ad-section.has-ad .agsp-retired-shop-ad,
  body.afiwai-goodies-pro .agsp-retired-shop-ad-section.is-empty{
    border-radius:14px!important;
  }

  body.afiwai-goodies-pro .agsp-retired-shop-ad-placeholder{
    min-height:120px!important;
    padding:18px!important;
  }
}


/* ==========================================================================
   1.0.54 — MENU REELLEMENT FIXE SUR PC ET TABLETTE
   ========================================================================== */
/*
 * La version précédente utilisait position:sticky, qui pouvait être neutralisé
 * par le conteneur Smart Shop (overflow-x:clip). Le menu utilise désormais
 * position:fixed et un espace compensateur mesuré en JavaScript.
 */
@media(min-width:681px){
  body.afiwai-goodies-pro.agsp-fixed-menu-active .afiwai-template-header{
    position:fixed!important;
    top:var(--agsp-admin-bar-offset,0px)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    z-index:99990!important;
    background:
      linear-gradient(
        90deg,
        rgba(226,241,255,.98) 0%,
        rgba(247,250,254,.98) 50%,
        rgba(231,245,255,.98) 100%
      )!important;
    border-bottom:1px solid rgba(0,100,192,.10)!important;
    box-shadow:0 10px 30px rgba(14,47,78,.10)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }

  /* Compense exactement la hauteur retirée du flux par position:fixed. */
  body.afiwai-goodies-pro.agsp-fixed-menu-active #afiwai-smart-shop-content{
    margin-top:var(--agsp-fixed-header-height,100px)!important;
  }
}

/* Sur mobile, aucune fixation du menu. */
@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-template-header,
  body.afiwai-goodies-pro.agsp-fixed-menu-active .afiwai-template-header{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    box-shadow:none!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content,
  body.afiwai-goodies-pro.agsp-fixed-menu-active #afiwai-smart-shop-content{
    margin-top:0!important;
  }
}


/* ==========================================================================
   1.0.55 — HERO BOUTIQUE REDUIT AU STRICT MINIMUM SEO
   ========================================================================== */
/*
 * Uniquement la page Boutique racine :
 * - conserve le H1 visible ;
 * - conserve l'introduction textuelle SEO ;
 * - supprime les éléments purement visuels et les CTA du Hero ;
 * - aucune hauteur fixe/minimale ;
 * - aucune coupure de contenu.
 */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce{
  display:block!important;
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:20px auto 0!important;
  padding:24px 28px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  border:1px solid rgba(0,100,192,.10)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:none!important;
  text-align:left!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce > div:first-child{
  width:100%!important;
  max-width:900px!important;
  margin:0!important;
  padding:0!important;
}

/* Le contenu et les actions Smart Shop restent présents ; seul le logo injecté
   par Thème Pro démarre masqué avant son activation configurée. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
  display:none!important;
}

/* Neutralise les formes/arrière-plans décoratifs de ce Hero uniquement. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce::before,
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce::after{
  content:none!important;
  display:none!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce h1{
  margin:0!important;
  padding:0!important;
  max-width:100%!important;
  color:var(--agsp-text,#15263A)!important;
  font-size:clamp(28px,3vw,40px)!important;
  line-height:1.12!important;
  letter-spacing:-.02em!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce p{
  margin:10px 0 0!important;
  padding:0!important;
  max-width:820px!important;
  color:var(--agsp-muted,#66788A)!important;
  font-size:15px!important;
  line-height:1.55!important;
}

/* L'espace publicitaire reste bien distinct et directement après l'en-tête SEO. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce + .agsp-retired-shop-ad-section{
  margin-top:18px!important;
}

@media(max-width:680px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    margin-top:14px!important;
    padding:18px 20px!important;
    border-radius:14px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce h1{
    font-size:clamp(24px,8vw,32px)!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce p{
    margin-top:8px!important;
    font-size:14px!important;
  }
}


/* ==========================================================================
   1.0.56 — HERO BOUTIQUE TRANSPARENT + LOGO A DROITE
   ========================================================================== */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:32px!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}

/* Le contenu SEO reste compact à gauche. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce > div:first-child{
  grid-column:1!important;
  min-width:0!important;
  width:100%!important;
  max-width:900px!important;
}

/* Réactive uniquement le logo configuré du Hero Boutique, à droite. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
  display:flex!important;
  grid-column:2!important;
  position:relative!important;
  inset:auto!important;
  width:clamp(100px,10vw,150px)!important;
  min-width:100px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  justify-self:end!important;
  pointer-events:none!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
  display:block!important;
  width:100%!important;
  max-width:150px!important;
  height:auto!important;
  max-height:150px!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Aucun décor de fond ne revient avec le logo. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce::before,
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce::after{
  content:none!important;
  display:none!important;
}

/* Mobile : logo compact à droite sans agrandir artificiellement le Hero. */
@media(max-width:680px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce{
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:16px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    width:72px!important;
    min-width:72px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    max-width:72px!important;
    max-height:72px!important;
  }
}


/* ==========================================================================
   1.0.57 — HERO BOUTIQUE PLUS COMPACT + LOGO DROIT CENTRE ET AGRANDI
   ========================================================================== */

/* Le Hero Boutique ne réserve que la hauteur réellement nécessaire. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce{
  grid-template-columns:minmax(0,1fr) minmax(180px,260px)!important;
  align-items:center!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:10px auto 0!important;
  padding:10px 18px!important;
  column-gap:24px!important;
}

/* Texte SEO compact : H1 + introduction, sans espace superflu. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce > div:first-child{
  align-self:center!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce h1{
  margin:0!important;
  font-size:clamp(26px,2.5vw,36px)!important;
  line-height:1.08!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce p{
  margin:6px 0 0!important;
  font-size:14px!important;
  line-height:1.4!important;
}

/*
 * Le logo est plus grand mais n'impose pas une grande hauteur au Hero.
 * Il est centré horizontalement et verticalement dans toute la colonne droite.
 */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
  display:flex!important;
  grid-column:2!important;
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  min-width:0!important;
  height:110px!important;
  margin:0!important;
  padding:0!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  justify-self:stretch!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
  display:block!important;
  width:auto!important;
  max-width:220px!important;
  height:100px!important;
  max-height:100px!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* L'espace publicitaire remonte avec le Hero compact. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-home-hero.afiwai-home-hero--commerce + .agsp-retired-shop-ad-section{
  margin-top:10px!important;
}

@media(max-width:680px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce{
    grid-template-columns:minmax(0,1fr) 112px!important;
    margin-top:8px!important;
    padding:8px 10px!important;
    column-gap:10px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce h1{
    font-size:clamp(22px,7vw,29px)!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce p{
    margin-top:5px!important;
    font-size:13px!important;
    line-height:1.35!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    width:100%!important;
    min-width:0!important;
    height:86px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    width:auto!important;
    max-width:108px!important;
    height:80px!important;
    max-height:80px!important;
  }
}


/* ==========================================================================
   1.0.58 — HERO BOUTIQUE : SUPPRESSION DE LA HAUTEUR RESIDUELLE
   ========================================================================== */
/*
 * Le min-height global des Heroes (1.0.49) est neutralisé avec une
 * spécificité supérieure pour la Boutique. Le logo reste grand, mais il est
 * sorti du flux afin qu'il ne détermine jamais la hauteur du bloc.
 */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce{
  position:relative!important;
  display:block!important;
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:8px auto 0!important;
  padding:12px 300px 12px 16px!important;
  overflow:visible!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* H1 et introduction : seuls éléments qui déterminent la hauteur réelle. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce > div:first-child{
  display:block!important;
  width:100%!important;
  max-width:900px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce h1{
  margin:0!important;
  padding:0!important;
  font-size:clamp(26px,2.45vw,36px)!important;
  line-height:1.08!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce p{
  margin:5px 0 0!important;
  padding:0!important;
  font-size:14px!important;
  line-height:1.38!important;
}

/*
 * Logo centré dans la zone droite du Hero, sans participation au flux :
 * il peut donc être visuellement grand sans augmenter la hauteur.
 */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
  display:flex!important;
  position:absolute!important;
  top:50%!important;
  right:20px!important;
  bottom:auto!important;
  left:auto!important;
  transform:translateY(-50%)!important;
  width:250px!important;
  min-width:0!important;
  height:120px!important;
  margin:0!important;
  padding:0!important;
  align-items:center!important;
  justify-content:center!important;
  pointer-events:none!important;
}

body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
  display:block!important;
  width:auto!important;
  max-width:240px!important;
  height:auto!important;
  max-height:112px!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Pas de formes décoratives autour du Hero Boutique. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce::before,
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce::after{
  content:none!important;
  display:none!important;
}

/* Le bandeau publicitaire suit immédiatement ce petit en-tête SEO. */
body.afiwai-goodies-pro #afiwai-smart-shop-content
.afiwai-premium-home.is-commerce-first
.afiwai-home-hero.afiwai-home-hero--commerce + .agsp-retired-shop-ad-section{
  margin-top:8px!important;
}

@media(max-width:760px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    padding:10px 126px 10px 10px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    right:8px!important;
    width:112px!important;
    height:80px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    max-width:108px!important;
    max-height:76px!important;
  }
}

@media(max-width:480px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    padding-right:94px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    width:82px!important;
    height:68px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    max-width:80px!important;
    max-height:64px!important;
  }
}


/* ==========================================================================
   1.0.59 — RESPONSIVE RENFORCE DU HERO BOUTIQUE COMPACT
   ========================================================================== */

@media(min-width:1281px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    padding:12px 320px 12px 18px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    right:28px!important;
    width:270px!important;
    height:124px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    max-width:255px!important;
    max-height:116px!important;
  }
}

@media(min-width:901px) and (max-width:1280px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    padding:12px 245px 12px 16px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    right:16px!important;
    width:215px!important;
    height:106px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    max-width:205px!important;
    max-height:98px!important;
  }
}

@media(min-width:681px) and (max-width:900px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    width:calc(100% - 28px)!important;
    max-width:calc(100% - 28px)!important;
    padding:10px 180px 10px 14px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce h1{
    font-size:clamp(24px,4vw,31px)!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce p{
    font-size:13.5px!important;
    line-height:1.38!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    right:12px!important;
    width:155px!important;
    height:94px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    max-width:148px!important;
    max-height:88px!important;
  }
}

@media(min-width:521px) and (max-width:680px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    padding:9px 116px 9px 10px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce h1{
    font-size:clamp(22px,6vw,28px)!important;
    line-height:1.08!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce p{
    font-size:13px!important;
    line-height:1.34!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    right:6px!important;
    width:100px!important;
    height:74px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    max-width:96px!important;
    max-height:70px!important;
  }
}

@media(max-width:520px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    width:calc(100% - 18px)!important;
    max-width:calc(100% - 18px)!important;
    padding:9px 10px 8px!important;
    gap:8px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce > div:first-child{
    width:100%!important;
    max-width:none!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce h1{
    font-size:clamp(21px,7.2vw,27px)!important;
    line-height:1.08!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce p{
    margin-top:5px!important;
    font-size:12.8px!important;
    line-height:1.34!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    transform:none!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    align-self:stretch!important;
    justify-content:center!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    width:auto!important;
    max-width:132px!important;
    height:auto!important;
    max-height:74px!important;
  }
}

@media(max-width:360px){
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    width:calc(100% - 12px)!important;
    max-width:calc(100% - 12px)!important;
    padding:8px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce h1{
    font-size:21px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce p{
    font-size:12.5px!important;
  }

  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    max-width:118px!important;
    max-height:68px!important;
  }
}


/* ==========================================================================
   1.0.60 — REGLAGES RESPONSIVE MOBILE DE L'EN-TETE BOUTIQUE
   ========================================================================== */
@media(max-width:680px){

  /* Zone 1 — identité. */
  body.afiwai-goodies-pro.agsp-mobile-zone1-off .afiwai-smart-shop-brand{
    display:none!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand{
    width:100%!important;
    justify-content:var(--agsp-mobile-zone1-align,center)!important;
    text-align:var(--agsp-mobile-zone1-align,center)!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-mobile-image-only
  > :not(.agsp-mobile-header-image){
    display:none!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-mobile-header-image{
    display:block!important;
    width:min(var(--agsp-mobile-zone1-width,210px),100%)!important;
    max-width:100%!important;
    height:auto!important;
    max-height:120px!important;
    margin:0!important;
    object-fit:contain!important;
  }

  /* Zone 3 — texte SEO. */
  body.afiwai-goodies-pro.agsp-mobile-zone3-off #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce>div:first-child{
    display:none!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone3-on #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce>div:first-child{
    display:block!important;
    padding:10px 12px!important;
    border-radius:12px!important;
    background:var(--agsp-mobile-zone3-bg,#F4F8FC)!important;
    text-align:var(--agsp-mobile-zone3-align,left)!important;
    box-sizing:border-box!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone3-on #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce>div:first-child h1,
  body.afiwai-goodies-pro.agsp-mobile-zone3-on #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce>div:first-child p{
    text-align:inherit!important;
  }

  /* Zone 4 — logo Hero. */
  body.afiwai-goodies-pro.agsp-mobile-zone4-off #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    display:none!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone4-on #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:6px 0 0!important;
    padding:0!important;
    justify-content:var(--agsp-mobile-zone4-align,center)!important;
    align-items:center!important;
    align-self:stretch!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone4-on #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo img{
    width:min(var(--agsp-mobile-zone4-width,132px),100%)!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    object-fit:contain!important;
  }

  /* On empile texte + logo proprement sur tout mobile réglable. */
  body.afiwai-goodies-pro #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:6px!important;
    width:calc(100% - 18px)!important;
    max-width:calc(100% - 18px)!important;
    padding:6px!important;
  }

  /* Zone 5 — publicité. */
  body.afiwai-goodies-pro.agsp-mobile-zone5-off .agsp-retired-shop-ad-section{
    display:none!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone5-on .agsp-retired-shop-ad-section{
    display:flex!important;
    justify-content:var(--agsp-mobile-zone5-align,center)!important;
    align-items:center!important;
    width:calc(100% - 18px)!important;
    max-width:calc(100% - 18px)!important;
    margin:10px auto 18px!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone5-on .agsp-retired-shop-ad-section .agsp-retired-shop-ad{
    width:100%!important;
    max-width:100%!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone5-on .agsp-retired-shop-ad-section .agsp-retired-shop-ad img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone5-on[style*="--agsp-mobile-zone5-format:16x9"] .agsp-retired-shop-ad img,
  body.afiwai-goodies-pro.agsp-mobile-zone5-on[style*="--agsp-mobile-zone5-format:4x3"] .agsp-retired-shop-ad img,
  body.afiwai-goodies-pro.agsp-mobile-zone5-on[style*="--agsp-mobile-zone5-format:1x1"] .agsp-retired-shop-ad img{
    height:100%!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone5-on .agsp-retired-shop-ad{
    aspect-ratio:auto!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone5-on[style*="--agsp-mobile-zone5-format:16x9"] .agsp-retired-shop-ad{
    aspect-ratio:16/9!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone5-on[style*="--agsp-mobile-zone5-format:4x3"] .agsp-retired-shop-ad{
    aspect-ratio:4/3!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone5-on[style*="--agsp-mobile-zone5-format:1x1"] .agsp-retired-shop-ad{
    aspect-ratio:1/1!important;
  }

  /* Menu fixe mobile — uniquement si activé dans le nouveau panneau. */
  body.afiwai-goodies-pro.agsp-mobile-fixed-menu-active .afiwai-template-header{
    position:fixed!important;
    top:var(--agsp-admin-bar-offset,0px)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    z-index:99990!important;
    background:rgba(239,247,255,.98)!important;
    border-bottom:1px solid rgba(0,100,192,.10)!important;
    box-shadow:0 8px 24px rgba(14,47,78,.10)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-fixed-menu-active #afiwai-smart-shop-content{
    margin-top:var(--agsp-mobile-fixed-header-height,0px)!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-header-static:not(.agsp-mobile-fixed-menu-active) .afiwai-template-header{
    position:relative!important;
    top:auto!important;
  }
}


/* ==========================================================================
   1.0.64 — CORRECTION REDIMENSIONNEMENT IMAGE ZONE 1
   ========================================================================== */
@media(max-width:680px){
  /*
   * La limite max-height:120px de 1.0.60 empêchait visuellement le curseur
   * de largeur d'agrandir certaines images selon leur ratio.
   * La largeur configurée devient désormais la valeur autoritaire.
   */
  body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-mobile-image-only{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-mobile-image-only
  .agsp-mobile-header-image{
    display:block!important;
    width:var(--agsp-mobile-zone1-width,210px)!important;
    max-width:calc(100vw - 32px)!important;
    min-width:0!important;
    height:auto!important;
    max-height:none!important;
    flex:0 0 auto!important;
    object-fit:contain!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-mobile-image-only
  .agsp-mobile-header-image[style]{
    height:auto!important;
    max-height:none!important;
  }
}


/* ==========================================================================
   1.0.65 — ZONE 1 : CONTENEUR AU FORMAT REEL DE L'IMAGE
   ========================================================================== */
@media(max-width:680px){

  /*
   * En mode "image seule", le bloc identité ne doit jamais réserver un carré
   * ou une surface pleine largeur. Sa boîte suit les dimensions naturelles
   * de l'image : largeur configurée + hauteur calculée par son ratio natif.
   */
  body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-mobile-image-only{
    display:flex!important;
    width:fit-content!important;
    max-width:calc(100vw - 32px)!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    flex:0 0 auto!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
    line-height:0!important;
    align-self:auto!important;
  }

  body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-mobile-image-only
  .agsp-mobile-header-image{
    display:block!important;
    width:var(--agsp-mobile-zone1-width,210px)!important;
    max-width:calc(100vw - 32px)!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  body.afiwai-goodies-pro .afiwai-template-header-inner{
    min-height:0!important;
    height:auto!important;
  }
}


/* ==========================================================================
   1.0.67 — FOND DU HERO MOBILE OPTIONNEL
   ========================================================================== */
@media(max-width:680px){
  /*
   * Le contenu SEO de la Zone 3 reste toujours présent.
   * Seule sa surface graphique peut être supprimée.
   */
  body.afiwai-goodies-pro.agsp-mobile-zone3-bg-off #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce > div:first-child{
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    border-color:transparent!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone3-bg-on #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce > div:first-child{
    background:var(--agsp-mobile-zone3-bg,#F4F8FC)!important;
  }
}


/* ==========================================================================
   1.0.68 — LOGO DU HERO MOBILE : DESACTIVATION GARANTIE
   ========================================================================== */
@media(max-width:680px){
  body.afiwai-goodies-pro.agsp-mobile-zone4-off #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo,
  body.afiwai-goodies-pro.agsp-mobile-zone4-off #afiwai-smart-shop-content
  .afiwai-home-hero.afiwai-home-hero--commerce .agsp-hero-logo{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    height:0!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  body.afiwai-goodies-pro.agsp-mobile-zone4-off #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first
  .afiwai-home-hero.afiwai-home-hero--commerce{
    gap:0!important;
  }
}


/* ==========================================================================
   1.0.70 — FINITION DU BLOC REASSURANCE ET DU FOOTER
   ========================================================================== */
body.afiwai-goodies-pro .afiwai-footer-benefits__mark.dashicons-store{
  display:grid!important;
  place-items:center!important;
  width:56px!important;
  height:56px!important;
  flex:0 0 56px!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#0A7FFF,#005BC9)!important;
  color:#fff!important;
  font-size:25px!important;
  line-height:56px!important;
  box-shadow:0 12px 24px rgba(0,95,210,.18)!important;
}

@media(max-width:680px){
  body.afiwai-goodies-pro .afiwai-footer-benefits{
    overflow:hidden!important;
  }

  body.afiwai-goodies-pro .afiwai-footer-benefits__brand{
    gap:14px!important;
  }

  body.afiwai-goodies-pro .afiwai-footer-benefits__brand strong{
    line-height:1.12!important;
  }

  /* Aucun retrait horizontal caché dans la carte claire. */
  body.afiwai-goodies-pro .afiwai-footer-benefits__brand,
  body.afiwai-goodies-pro .afiwai-footer-benefits__brand > div,
  body.afiwai-goodies-pro .afiwai-footer-benefits > article{
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Le footer sombre exploite toute sa colonne avant d'aligner son contenu. */
  body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-column{
    max-width:none!important;
    box-sizing:border-box!important;
  }
}


/* ==========================================================================
   1.0.71 — BADGES DE PAIEMENT ET ICONE DE TRADUCTION DU FOOTER
   ========================================================================== */
body.afiwai-goodies-pro.agsp-footer-payment-visa-off
.afiwai-template-footer .afiwai-payment-brand--visa{
  display:none!important;
}

body.afiwai-goodies-pro.agsp-footer-payment-mastercard-off
.afiwai-template-footer .afiwai-payment-brand--mastercard{
  display:none!important;
}

body.afiwai-goodies-pro.agsp-footer-payment-paypal-off
.afiwai-template-footer .afiwai-payment-brand--paypal{
  display:none!important;
}

body.afiwai-goodies-pro.agsp-footer-payment-stripe-off
.afiwai-template-footer .afiwai-payment-brand--stripe{
  display:none!important;
}

body.afiwai-goodies-pro.agsp-footer-payment-apple-pay-off
.afiwai-template-footer .afiwai-payment-brand--apple-pay{
  display:none!important;
}

body.afiwai-goodies-pro.agsp-footer-payment-google-pay-off
.afiwai-template-footer .afiwai-payment-brand--google-pay{
  display:none!important;
}

body.afiwai-goodies-pro.agsp-footer-payments-all-off
.afiwai-template-footer .afiwai-footer-payments{
  display:none!important;
}

body.afiwai-goodies-pro.agsp-footer-translation-icon-off
.afiwai-template-footer .afiwai-footer-language > .dashicons-translation{
  display:none!important;
}


/* ==========================================================================
   1.0.80 — COMPTE : ALIGNEMENT DES BLOCS D’AUTHENTIFICATION ET CONNECTÉ
   --------------------------------------------------------------------------
   Ces deux blocs sont générés par AFIWAI Smart Shop en dehors des conteneurs
   déjà normalisés par Thème Pro. Ils doivent suivre exactement le même axe
   et la même largeur que le reste de la page Compte.
   ========================================================================== */

body.afiwai-goodies-pro .afiwai-account-auth__intro,
body.afiwai-goodies-pro .afiwai-account-connected{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100% - (var(--agsp-safe-gutter) * 2)))!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Le texte d’introduction reste lisible et aligné dans son conteneur centré. */
body.afiwai-goodies-pro .afiwai-account-auth__intro > *{
  max-width:100%!important;
}

/* Le bloc du compte connecté ne peut plus s’étirer sur toute la fenêtre. */
body.afiwai-goodies-pro .afiwai-account-connected{
  overflow:hidden!important;
}

@media (max-width: 782px){
  body.afiwai-goodies-pro .afiwai-account-auth__intro,
  body.afiwai-goodies-pro .afiwai-account-connected{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
  }
}


/* ==========================================================================
   1.0.80 — COMPTE : SUPPRESSION DE L’INTRO AUTHENTIFICATION REDONDANTE
   L’introduction séparée au-dessus des formulaires du Smart Shop duplique
   le Hero "Mon compte" et consomme inutilement de la hauteur. Les cartes
   connexion / inscription restent la seule zone d’action.
   ========================================================================== */
body.afiwai-goodies-pro .afiwai-account-auth__intro{
  display:none!important;
}

/*
 * Responsive Theme Pro rules may still control width, grid-column, flex basis,
 * display, justify-content and the menu container. They must not restyle the
 * button itself. Re-assert the Smart Shop visual contract inside mobile ranges.
 */
@media (max-width: 980px) {
}

@media (max-width: 680px) {
}

/* ==========================================================================
   1.0.87 — PARTNER SHOP : MISE EN PAGE SMART SHOP FIABLE
   ==========================================================================
   Theme Pro owns presentation only.
   Smart Shop remains owner of the main menu/shell.
   Partner Shop owns the partner content.
   ========================================================================== */

body.afiwai-goodies-pro-partner-page{
  --agsp-partner-content-width:min(
    var(--afiwai-ss-content-width,80vw),
    calc(100vw - (var(--agsp-safe-gutter,24px) * 2))
  );
}

body.afiwai-goodies-pro-partner-page :where(
  .afiwai-smart-shop-ecosystem,
  .afiwai-smart-shop-integrated,
  #afiwai-smart-shop-content,
  .afiwai-smart-shop-main
){
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro-partner-page :where(
  .afiwai-partner-portal,
  .afiwai-partner-login,
  .afiwai-partner-alert
){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro-partner-page :where(
  .afiwai-partner-portal > .afiwai-smart-shop-page-hero,
  .afiwai-partner-portal > .afiwai-smart-shop-page-hero-compact,
  .afiwai-partner-nav,
  .afiwai-partner-page,
  .afiwai-partner-login,
  .afiwai-partner-alert
){
  width:var(--agsp-partner-content-width)!important;
  max-width:var(--agsp-partner-content-width)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro-partner-page
.afiwai-partner-portal > .afiwai-smart-shop-page-hero{
  margin-top:clamp(28px,3vw,46px)!important;
  margin-bottom:24px!important;
}

body.afiwai-goodies-pro-partner-page .afiwai-partner-nav{
  margin-top:0!important;
  margin-bottom:24px!important;
}

body.afiwai-goodies-pro-partner-page .afiwai-partner-page{
  margin-top:0!important;
  margin-bottom:clamp(42px,6vw,84px)!important;
}

body.afiwai-goodies-pro-partner-page .afiwai-partner-page > :where(
  .afiwai-smart-shop-reassurance,
  .afiwai-partner-panel,
  .afiwai-partner-products,
  .afiwai-partner-table-wrap,
  .afiwai-partner-public-shop
){
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro-partner-page .afiwai-partner-metrics{
  width:100%!important;
  max-width:100%!important;
  margin-inline:auto!important;
  justify-content:center!important;
}

body.afiwai-goodies-pro-partner-page .afiwai-partner-login{
  margin-top:clamp(36px,5vw,72px)!important;
  margin-bottom:clamp(48px,7vw,96px)!important;
  padding:clamp(26px,4vw,48px)!important;
  border:1px solid rgba(0,100,192,.14)!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(20,65,110,.08)!important;
}

body.afiwai-goodies-pro-partner-page .afiwai-partner-login form{
  max-width:620px!important;
  margin:24px auto 0!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro-partner-page{
    --agsp-partner-content-width:calc(100vw - 32px);
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro-partner-page{
    --agsp-partner-content-width:calc(100vw - 24px);
  }

  body.afiwai-goodies-pro-partner-page
  .afiwai-partner-portal > .afiwai-smart-shop-page-hero{
    margin-top:20px!important;
  }
}


/* ==========================================================================
   1.0.88 — CONTRAT DE LARGEUR GLOBAL POUR TOUTES LES PAGES AFIWAI
   ==========================================================================
   Toute page déclarée `_afiwai_smart_shop_managed_page` utilise désormais
   une largeur canonique unique. Cette règle finale neutralise les anciennes
   corrections locales susceptibles de décaler un bloc ou de lui donner une
   largeur différente. Aucun sélecteur de navigation principale n'est géré ici.
   ========================================================================== */

body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page{
  --agsp-page-content-width:min(
    var(--afiwai-ss-content-width,80vw),
    calc(100vw - (var(--agsp-safe-gutter,24px) * 2))
  );
}

/* Les couches techniques restent pleine largeur. */
body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page :where(
  .afiwai-smart-shop-ecosystem,
  .afiwai-smart-shop-integrated,
  #afiwai-smart-shop-content,
  .afiwai-smart-shop-main
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* Tout nouveau bloc racine ajouté à une page gérée hérite automatiquement
   du même axe et de la même largeur, sans avoir besoin d'un correctif dédié. */
body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page
.afiwai-smart-shop-main > :not(
  .afiwai-smart-shop-ecosystem,
  .afiwai-smart-shop-integrated,
  script,
  style
){
  width:var(--agsp-page-content-width)!important;
  max-width:var(--agsp-page-content-width)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  margin-inline:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* Contrat commun des composants connus. Cette règle est volontairement
   placée en fin de feuille pour écraser les anciens ajustements ponctuels. */
body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page :where(
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-account-hero,
  .afiwai-account-main,
  .afiwai-favorites-hero,
  .afiwai-favorites-content,
  .afiwai-favorites-suggestions,
  .afiwai-tracking-hero,
  .afiwai-tracking-workspace,
  .afiwai-smart-catalog-shell,
  .afiwai-product-page,
  .afiwai-product-v3,
  .afiwai-smart-cart,
  .afiwai-smart-checkout,
  .afiwai-smart-shop-reassurance,
  .afiwai-partner-portal,
  .afiwai-partner-nav,
  .afiwai-partner-page,
  .afiwai-partner-alert,
  .afiwai-partner-access-gate
){
  width:var(--agsp-page-content-width)!important;
  max-width:var(--agsp-page-content-width)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  margin-inline:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* Un portail ou shell déjà centré ne réduit jamais une deuxième fois ses
   enfants : ils utilisent 100% de la largeur canonique du parent. */
body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page
.afiwai-partner-portal > :where(
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-partner-nav,
  .afiwai-partner-page,
  .afiwai-partner-alert
){
  width:100%!important;
  max-width:100%!important;
}

/* Neutralisation définitive des anciens centrages par translateX. */
body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page
.afiwai-smart-shop-reassurance{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

/* Les enfants métier ne peuvent jamais dépasser leur conteneur canonique. */
body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page :where(
  .afiwai-partner-page,
  .afiwai-account-main,
  .afiwai-smart-cart,
  .afiwai-smart-checkout,
  .afiwai-favorites-content,
  .afiwai-tracking-workspace
) > *{
  max-width:100%!important;
  box-sizing:border-box!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page{
    --agsp-page-content-width:calc(100vw - 32px);
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page{
    --agsp-page-content-width:calc(100vw - 24px);
  }
}

/* ==========================================================================
   1.0.90 — PARTNER SHOP : PERSONNALISATION VISUELLE CONTRAINTE
   ==========================================================================
   Theme Pro conserve la structure, les dimensions, les Hero et l'alignement.
   Partner Shop ne peut personnaliser que polices, couleurs, bordures, logo
   et fond général. La navigation Smart Shop reste hors périmètre.
   ========================================================================== */
body.afiwai-goodies-pro.afiwai-partner-public-shop{
  background-color:var(--afiwai-partner-bg,#f6fafe)!important;
  color:var(--afiwai-partner-text,#58728d)!important;
  font-family:var(--afiwai-partner-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop #afiwai-smart-shop-content{
  font-family:var(--afiwai-partner-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop #afiwai-smart-shop-content :where(h1,h2,h3,h4,h5,h6){
  font-family:var(--afiwai-partner-font-heading,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
  color:var(--afiwai-partner-heading,#102844)!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop #afiwai-smart-shop-content :where(
  button,
  .button,
  .afiwai-template-button,
  .afiwai-product-card__add,
  .afiwai-product-card-action,
  .afiwai-product-card-read-more
){
  font-family:var(--afiwai-partner-font-button,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop :where(
  .afiwai-product-card,
  .afiwai-preview-product-card,
  .afiwai-shop-category-card,
  .afiwai-shop-collection-card,
  .afiwai-shop-featured-card,
  .afiwai-reassurance-card,
  .afiwai-smart-card,
  .afiwai-smart-secondary-card,
  .afiwai-smart-overview-card,
  .afiwai-smart-checkout-card,
  .afiwai-product-detail-card,
  .afiwai-account-auth__card,
  .afiwai-account-module-card,
  .afiwai-partner-brand
){
  background:var(--afiwai-partner-surface,#fff)!important;
  border-style:solid!important;
  border-color:var(--afiwai-partner-border,#dceaf7)!important;
  border-width:var(--afiwai-partner-border-width,1px)!important;
  border-radius:var(--afiwai-partner-radius,18px)!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop #afiwai-smart-shop-content :where(
  p,small,.afiwai-product-card-excerpt,.afiwai-product-card__excerpt
){
  color:var(--afiwai-partner-text,#58728d)!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop #afiwai-smart-shop-content :where(
  .afiwai-template-button,
  .afiwai-product-card__add,
  .afiwai-product-card-action,
  .afiwai-product-card-read-more,
  .afiwai-product-v3__purchase button,
  .afiwai-smart-checkout button,
  button[type="submit"]
){
  background:var(--afiwai-partner-button,#0064c0)!important;
  border-color:var(--afiwai-partner-border,#dceaf7)!important;
  border-width:var(--afiwai-partner-border-width,1px)!important;
  border-style:solid!important;
  border-radius:var(--afiwai-partner-radius,18px)!important;
  color:var(--afiwai-partner-button-text,#fff)!important;
}

body.afiwai-goodies-pro.afiwai-goodies-pro-managed-page.afiwai-partner-public-shop
.afiwai-partner-brand{
  width:var(--agsp-page-content-width)!important;
  max-width:var(--agsp-page-content-width)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}


/* ==========================================================================
   1.0.94 — PROTECTION DU BANDEAU GOODIES D'ORIGINE
   ========================================================================== */
/*
 * La désactivation de la zone publicitaire mobile historique ne peut plus
 * supprimer le bandeau principal rendu côté serveur sur la boutique Goodies.
 * Les boutiques dérivées doivent utiliser le filtre PHP dédié dans leur
 * propre contexte.
 */
body.afiwai-goodies-pro.agsp-mobile-zone5-off
.agsp-retired-shop-ad-section.agsp-retired-shop-ad-section--server{
  display:block!important;
}

/* 1.0.95 — garde-fou final : le bandeau serveur ne dépend d'aucune classe body. */
.agsp-retired-shop-ad-section--server{display:block!important;box-sizing:border-box!important;width:min(1200px,calc(100% - 32px))!important;margin:24px auto!important;padding:0!important;position:relative!important;visibility:visible!important;opacity:1!important;height:auto!important;max-height:none!important;overflow:visible!important}
.agsp-retired-shop-ad-section--server .agsp-retired-shop-ad{display:block!important;width:100%!important;height:auto!important;visibility:visible!important;opacity:1!important}
.agsp-retired-shop-ad-section--server .agsp-retired-shop-ad img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;visibility:visible!important;opacity:1!important}

/* ==========================================================================
   1.0.97 — BANDEAU PUBLICITAIRE : VISIBILITE DU NOEUD REEL
   ========================================================================== */
/*
 * Le DOM de production confirme que le bandeau existe sous forme runtime
 * (.agsp-retired-shop-ad-section.has-ad) mais sans classe --server. Il ne s'agit donc
 * plus d'un problème d'emplacement : cette règle protège le noeud réellement
 * présent contre les anciennes règles responsive et les variations de body.
 */
.agsp-retired-shop-ad-section--runtime,
.agsp-retired-shop-ad-section--server{
  display:block!important;
  box-sizing:border-box!important;
  width:min(1200px,calc(100% - 32px))!important;
  max-width:1200px!important;
  margin:24px auto!important;
  padding:0!important;
  position:relative!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  min-height:1px!important;
  max-height:none!important;
  overflow:visible!important;
}
.agsp-retired-shop-ad-section--runtime .agsp-retired-shop-ad,
.agsp-retired-shop-ad-section--server .agsp-retired-shop-ad{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:1px!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
}
.agsp-retired-shop-ad-section--runtime .agsp-retired-shop-ad img,
.agsp-retired-shop-ad-section--server .agsp-retired-shop-ad img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:1px!important;
  max-height:none!important;
  visibility:visible!important;
  opacity:1!important;
  object-fit:contain!important;
}
@media(max-width:680px){
  body.afiwai-goodies-pro.agsp-mobile-zone5-off .agsp-retired-shop-ad-section--runtime,
  body.afiwai-goodies-pro.agsp-mobile-zone5-off .agsp-retired-shop-ad-section--server{
    display:block!important;
  }
}

/* ==========================================================================
   1.0.98 — BANDEAU GOODIES : CONTRAT DE RENDU AUTONOME
   ========================================================================== */
.agsp-retired-shop-ad-section--server,
.agsp-retired-shop-ad-section--server .agsp-retired-shop-ad,
.agsp-retired-shop-ad-section--server .agsp-retired-shop-ad img{
  visibility:visible!important;
  opacity:1!important;
  max-height:none!important;
}
.agsp-retired-shop-ad-section--server .agsp-retired-shop-ad,
.agsp-retired-shop-ad-section--server .agsp-retired-shop-ad img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:1px!important;
}


/* ==========================================================================
   AFIWAI Thème Pro 1.0.99 — BANDEAU PUBLICITAIRE RECONSTRUIT
   --------------------------------------------------------------------------
   Composant autonome. Aucun héritage des anciennes classes agsp-shop-ad,
   aucune Zone 5 mobile, aucun rendu JavaScript.
   ========================================================================== */
.afiwai-theme-pro-ad{
  box-sizing:border-box;
  display:block;
  width:min(1200px,calc(100% - 32px));
  max-width:1200px;
  margin:24px auto;
  padding:0;
  position:relative;
  clear:both;
}
.afiwai-theme-pro-ad__media{
  box-sizing:border-box;
  display:block;
  width:100%;
  margin:0;
  padding:0;
  overflow:hidden;
  border-radius:var(--agsp-radius,18px);
  text-decoration:none;
  line-height:0;
}
.afiwai-theme-pro-ad__image{
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  margin:0;
  padding:0;
  border:0;
  object-fit:contain;
  object-position:center;
}
@media(max-width:680px){
  .afiwai-theme-pro-ad{
    width:calc(100% - 24px);
    margin:16px auto;
  }
}


/* ==========================================================================
   1.0.101 — BOUTIQUE PUBLIQUE PARTENAIRE : CONTRAT DE LARGEUR FINAL
   --------------------------------------------------------------------------
   Une route /boutique/{slug}/ réutilise la page racine Smart Shop. Elle ne
   doit jamais hériter d'une largeur réduite provenant des anciennes couches
   Home/Theme Pro. Theme Pro conserve uniquement la présentation.
   ========================================================================== */
body.afiwai-goodies-pro.afiwai-partner-public-shop
.afiwai-smart-shop-ecosystem{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop
#afiwai-smart-shop-content{
  display:block!important;
  width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  margin-inline:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop
#afiwai-smart-shop-content > .afiwai-premium-home{
  display:grid!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  float:none!important;
  clear:both!important;
  overflow:visible!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop
#afiwai-smart-shop-content > .afiwai-premium-home > :where(
  .afiwai-home-hero,
  .afiwai-home-catalog-anchor,
  .afiwai-home-benefits,
  .afiwai-home-section,
  .afiwai-home-cta
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  float:none!important;
}

body.afiwai-goodies-pro.afiwai-partner-public-shop
#afiwai-smart-shop-content .afiwai-home-catalog-anchor >
.afiwai-smart-catalog-shell{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

@media(max-width:900px){
  body.afiwai-goodies-pro.afiwai-partner-public-shop
  #afiwai-smart-shop-content{
    width:calc(100vw - 32px)!important;
    max-width:calc(100vw - 32px)!important;
  }
}

@media(max-width:680px){
  body.afiwai-goodies-pro.afiwai-partner-public-shop
  #afiwai-smart-shop-content{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
  }
}


/* ==========================================================================
   1.0.102 — PARTNER SHOP + DIVI : CANVAS PLEINE LARGEUR
   --------------------------------------------------------------------------
   /boutique/{slug}/ utilise le template Smart Shop à l'intérieur des wrappers
   structurels Divi. Ceux-ci ne doivent ni réduire ni clipper le canvas public.
   Règles strictement limitées aux boutiques publiques Partner Shop.
   ========================================================================== */
body.afiwai-partner-public-shop #page-container,
body.afiwai-partner-public-shop #et-boc,
body.afiwai-partner-public-shop #et-boc.et-boc,
body.afiwai-partner-public-shop #et-main-area{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  clear:both!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

body.afiwai-partner-public-shop #et-main-area >
.afiwai-smart-shop-skip-link{
  position:absolute!important;
}

body.afiwai-partner-public-shop #et-main-area >
.afiwai-smart-shop-ecosystem{
  display:block!important;
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
  float:none!important;
  clear:both!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

/* Aucun décor Theme Pro ne doit pouvoir créer un masque/plan d'empilement
   sur le contenu de la boutique partenaire. */
body.afiwai-partner-public-shop .agsp-stage-art{
  display:none!important;
}

/* Le canvas métier est maintenant dimensionné relativement au viewport et
   non à un éventuel parent Divi historiquement contraint. */
body.afiwai-partner-public-shop
#et-main-area >
.afiwai-smart-shop-ecosystem >
#afiwai-smart-shop-content{
  display:block!important;
  position:relative!important;
  width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  margin-inline:auto!important;
  float:none!important;
  clear:both!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

body.afiwai-partner-public-shop
#et-main-area >
.afiwai-smart-shop-ecosystem >
#afiwai-smart-shop-content >
.afiwai-premium-home{
  display:grid!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

@media(max-width:900px){
  body.afiwai-partner-public-shop
  #et-main-area >
  .afiwai-smart-shop-ecosystem >
  #afiwai-smart-shop-content{
    width:calc(100vw - 32px)!important;
    max-width:calc(100vw - 32px)!important;
  }
}

@media(max-width:680px){
  body.afiwai-partner-public-shop
  #et-main-area >
  .afiwai-smart-shop-ecosystem >
  #afiwai-smart-shop-content{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
  }
}


/* ==========================================================================
   1.0.103 — PARTNER SHOP : NEUTRALISATION DE LA GRILLE RACINE
   --------------------------------------------------------------------------
   DevTools confirme que <body> est un conteneur CSS Grid sur /boutique/{slug}/.
   Cette grille place #page-container dans une colonne réduite. Une boutique
   publique Partner Shop doit rester un document normal pleine largeur.
   ========================================================================== */
html body.afiwai-partner-public-shop{
  display:block!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  grid-template-areas:none!important;
  grid-auto-columns:auto!important;
  grid-auto-rows:auto!important;
  grid-auto-flow:row!important;
  justify-content:normal!important;
  align-content:normal!important;
  justify-items:normal!important;
  align-items:normal!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}

html body.afiwai-partner-public-shop > #page-container{
  display:block!important;
  grid-column:auto!important;
  grid-row:auto!important;
  grid-area:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* Le canevas Smart Shop reste centré dans le viewport une fois la grille
   racine neutralisée. */
html body.afiwai-partner-public-shop
#et-main-area >
.afiwai-smart-shop-ecosystem{
  width:100%!important;
  max-width:none!important;
}

html body.afiwai-partner-public-shop
#et-main-area >
.afiwai-smart-shop-ecosystem >
#afiwai-smart-shop-content{
  width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
  max-width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
  margin-inline:auto!important;
}

@media(max-width:900px){
  html body.afiwai-partner-public-shop
  #et-main-area >
  .afiwai-smart-shop-ecosystem >
  #afiwai-smart-shop-content{
    width:calc(100vw - 32px)!important;
    max-width:calc(100vw - 32px)!important;
  }
}

@media(max-width:680px){
  html body.afiwai-partner-public-shop
  #et-main-area >
  .afiwai-smart-shop-ecosystem >
  #afiwai-smart-shop-content{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
  }
}


/* ==========================================================================
   1.0.104 — PARTNER SHOP : CONTRAT RESPONSIVE GLOBAL
   --------------------------------------------------------------------------
   Audit : les breakpoints Theme Pro ne sont pas inversés.
   La fausse apparence "mobile sur PC" provient du body qui redevient une
   grille sur certaines sous-pages Partner Shop (produit, compte, panier...).
   Ce contrat s'applique à TOUTE page publique partenaire, pas uniquement root.
   ========================================================================== */
@media (min-width:981px){
  html > body.afiwai-partner-public-shop.afiwai-smart-shop-managed-page.afiwai-goodies-pro{
    display:block!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    grid-template-areas:none!important;
    grid-auto-columns:auto!important;
    grid-auto-rows:auto!important;
    grid-auto-flow:row!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
  }

  html > body.afiwai-partner-public-shop.afiwai-smart-shop-managed-page.afiwai-goodies-pro > #page-container,
  html > body.afiwai-partner-public-shop.afiwai-smart-shop-managed-page.afiwai-goodies-pro #et-boc,
  html > body.afiwai-partner-public-shop.afiwai-smart-shop-managed-page.afiwai-goodies-pro #et-main-area{
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    grid-area:auto!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    clear:both!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  html > body.afiwai-partner-public-shop.afiwai-smart-shop-managed-page.afiwai-goodies-pro
  #et-main-area > .afiwai-smart-shop-ecosystem{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html > body.afiwai-partner-public-shop.afiwai-smart-shop-managed-page.afiwai-goodies-pro
  #et-main-area > .afiwai-smart-shop-ecosystem > #afiwai-smart-shop-content{
    display:block!important;
    width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
    max-width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    margin-inline:auto!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  /* Les principaux écrans Smart Shop retrouvent leur largeur desktop réelle. */
  html > body.afiwai-partner-public-shop.afiwai-smart-shop-managed-page.afiwai-goodies-pro
  #afiwai-smart-shop-content > :where(
    .afiwai-premium-home,
    .afiwai-product-v3,
    .afiwai-product-page,
    .afiwai-smart-cart,
    .afiwai-smart-checkout,
    .afiwai-account-main,
    .afiwai-favorites-content,
    .afiwai-tracking-workspace
  ){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
}


/* ==========================================================================
   1.0.105 — PARTNER PRODUCT : RESPONSIVE LAYOUT-ONLY
   --------------------------------------------------------------------------
   Product pages remain 100% Smart Shop native. Theme Pro only repairs the
   outer desktop canvas when Partner Shop is active.
   ========================================================================== */
@media (min-width:981px){
  html > body.afiwai-partner-public-shop.afiwai-theme-pro-partner-product-layout{
    display:block!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    grid-template-areas:none!important;
    grid-auto-columns:auto!important;
    grid-auto-rows:auto!important;
    grid-auto-flow:row!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
  }

  html > body.afiwai-partner-public-shop.afiwai-theme-pro-partner-product-layout > #page-container,
  html > body.afiwai-partner-public-shop.afiwai-theme-pro-partner-product-layout #et-boc,
  html > body.afiwai-partner-public-shop.afiwai-theme-pro-partner-product-layout #et-main-area{
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    grid-area:auto!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    clear:both!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  html > body.afiwai-partner-public-shop.afiwai-theme-pro-partner-product-layout
  #et-main-area > .afiwai-smart-shop-ecosystem{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html > body.afiwai-partner-public-shop.afiwai-theme-pro-partner-product-layout
  #et-main-area > .afiwai-smart-shop-ecosystem > #afiwai-smart-shop-content{
    display:block!important;
    width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
    max-width:min(var(--afiwai-ss-content-width,80vw),calc(100vw - 48px))!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    margin-inline:auto!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }

  html > body.afiwai-partner-public-shop.afiwai-theme-pro-partner-product-layout
  #afiwai-smart-shop-content > :where(.afiwai-product-v3,.afiwai-product-page){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
}


/* ==========================================================================
   AFIWAI Thème Pro 1.0.115 — BANDEAU PUBLICITAIRE EN DIAPORAMA
   --------------------------------------------------------------------------
   La première diapositive fixe la hauteur du bandeau. Les suivantes se
   superposent exactement dans le même cadre afin d'éviter tout saut de page.
   ========================================================================== */
.afiwai-theme-pro-ad__viewport{
  position:relative;
  display:block;
  width:100%;
  overflow:hidden;
  border-radius:var(--agsp-radius,18px);
}
.afiwai-theme-pro-ad__slide{
  box-sizing:border-box;
  display:block;
  width:100%;
  margin:0;
  padding:0;
}
.afiwai-theme-pro-ad.is-slider .afiwai-theme-pro-ad__slide:not(:first-child){
  position:absolute;
  inset:0;
}
.afiwai-theme-pro-ad.is-slider .afiwai-theme-pro-ad__slide{
  z-index:1;
  opacity:0;
  pointer-events:none;
  visibility:hidden;
}
.afiwai-theme-pro-ad.is-slider .afiwai-theme-pro-ad__slide.is-active{
  z-index:3;
  opacity:1;
  pointer-events:auto;
  visibility:visible;
}
.afiwai-theme-pro-ad.is-slider .afiwai-theme-pro-ad__slide.is-exiting{
  z-index:2;
  visibility:visible;
}
.afiwai-theme-pro-ad.is-slider .afiwai-theme-pro-ad__media{
  height:100%;
}
.afiwai-theme-pro-ad.is-slider .afiwai-theme-pro-ad__image{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

/* Fondu */
.afiwai-theme-pro-ad--fade .afiwai-theme-pro-ad__slide{
  transition:opacity .7s ease,visibility .7s ease;
}
.afiwai-theme-pro-ad--fade .afiwai-theme-pro-ad__slide.is-exiting{
  opacity:0;
}

/* Glissement horizontal */
.afiwai-theme-pro-ad--slide .afiwai-theme-pro-ad__slide{
  transform:translate3d(100%,0,0);
  transition:transform .7s cubic-bezier(.22,.61,.36,1),opacity .7s ease,visibility .7s ease;
}
.afiwai-theme-pro-ad--slide .afiwai-theme-pro-ad__slide.is-active{
  transform:translate3d(0,0,0);
}
.afiwai-theme-pro-ad--slide .afiwai-theme-pro-ad__slide.is-exiting{
  opacity:1;
  transform:translate3d(-100%,0,0);
}

/* Zoom doux */
.afiwai-theme-pro-ad--zoom .afiwai-theme-pro-ad__slide{
  transform:scale(.965);
  transition:opacity .7s ease,transform .7s ease,visibility .7s ease;
}
.afiwai-theme-pro-ad--zoom .afiwai-theme-pro-ad__slide.is-active{
  transform:scale(1);
}
.afiwai-theme-pro-ad--zoom .afiwai-theme-pro-ad__slide.is-exiting{
  opacity:0;
  transform:scale(1.025);
}

/* Sans animation */
.afiwai-theme-pro-ad--none .afiwai-theme-pro-ad__slide{
  transition:none!important;
}

@media (prefers-reduced-motion:reduce){
  .afiwai-theme-pro-ad.is-slider .afiwai-theme-pro-ad__slide{
    transition:none!important;
    transform:none!important;
  }
}


/* ==========================================================================
   AFIWAI Thème Pro 1.0.116 — SYSTÈME VISUEL PREMIUM PAR ZONES
   --------------------------------------------------------------------------
   Les couleurs ci-dessous viennent exclusivement des réglages Thème Pro.
   Le but est de différencier clairement header, Hero, catalogue et contenus
   tout en conservant les composants et la navigation Smart Shop intacts.
   ========================================================================== */
body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem{
  background:
    radial-gradient(circle at 7% 4%,color-mix(in srgb,var(--agsp-primary) 12%,transparent),transparent 25%),
    radial-gradient(circle at 94% 20%,color-mix(in srgb,var(--agsp-accent) 11%,transparent),transparent 28%),
    linear-gradient(180deg,color-mix(in srgb,var(--agsp-background) 84%,#fff) 0%,var(--agsp-background) 48%,color-mix(in srgb,var(--agsp-secondary) 7%,var(--agsp-background)) 100%)!important;
}
body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem::before{
  opacity:.24;
  background-image:
    linear-gradient(color-mix(in srgb,var(--agsp-primary) 5%,transparent) 1px,transparent 1px),
    linear-gradient(90deg,color-mix(in srgb,var(--agsp-primary) 5%,transparent) 1px,transparent 1px);
}
body.afiwai-goodies-pro .afiwai-smart-shop-ecosystem::after{
  border-color:color-mix(in srgb,var(--agsp-primary) 14%,transparent);
  box-shadow:
    0 0 0 52px color-mix(in srgb,var(--agsp-primary) 2.8%,transparent),
    0 0 0 104px color-mix(in srgb,var(--agsp-accent) 2.2%,transparent);
}

body.afiwai-goodies-pro .afiwai-template-header{
  background:color-mix(in srgb,var(--agsp-header-bg) 91%,transparent)!important;
  box-shadow:
    0 1px 0 color-mix(in srgb,var(--agsp-primary) 10%,transparent),
    0 16px 38px rgba(21,38,58,.045)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
){
  border:1px solid color-mix(in srgb,var(--agsp-primary) 10%,transparent)!important;
  background:
    radial-gradient(circle at 83% 14%,color-mix(in srgb,var(--agsp-hero-glow) 34%,transparent),transparent 31%),
    radial-gradient(circle at 14% 88%,color-mix(in srgb,var(--agsp-primary) 10%,transparent),transparent 34%),
    linear-gradient(135deg,var(--agsp-hero-start) 0%,color-mix(in srgb,var(--agsp-hero-start) 45%,var(--agsp-hero-end)) 52%,var(--agsp-hero-end) 100%)!important;
  box-shadow:0 30px 82px color-mix(in srgb,var(--agsp-secondary) 12%,transparent)!important;
}

body.afiwai-goodies-pro .agsp-module-alt{
  border:1px solid color-mix(in srgb,var(--agsp-primary) 8%,transparent)!important;
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--agsp-section-bg) 96%,#fff),color-mix(in srgb,var(--agsp-catalog-bg) 42%,var(--agsp-section-bg)))!important;
  box-shadow:0 20px 60px rgba(25,59,91,.055)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-catalog-v3,
  .afiwai-smart-catalog-shell,
  .afiwai-shop-showcase-section
){
  border:1px solid color-mix(in srgb,var(--agsp-primary) 7%,transparent)!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 90% 10%,color-mix(in srgb,var(--agsp-accent) 8%,transparent),transparent 28%),
    linear-gradient(145deg,var(--agsp-catalog-bg),color-mix(in srgb,var(--agsp-catalog-bg) 58%,var(--agsp-section-bg)))!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card,
  .afiwai-v3-category-card,
  .afiwai-v3-collection-card,
  .afiwai-storefront-navigation-cards > *
){
  background:var(--agsp-surface)!important;
  box-shadow:0 14px 38px color-mix(in srgb,var(--agsp-secondary) 9%,transparent)!important;
}
body.afiwai-goodies-pro :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card,
  .afiwai-v3-category-card,
  .afiwai-v3-collection-card,
  .afiwai-storefront-navigation-cards > *
):hover{
  box-shadow:0 24px 54px color-mix(in srgb,var(--agsp-secondary) 15%,transparent)!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card__media,
  .afiwai-v3-product-card__media,
  .afiwai-product-media,
  .afiwai-favorites-card__media,
  .afiwai-favorites-card__media-wrap,
  .afiwai-product-gallery,
  .afiwai-product-gallery-system,
  .afiwai-product-v3__gallery,
  .afiwai-product-v3__media
){
  background:
    radial-gradient(circle at 50% 35%,#fff 0%,color-mix(in srgb,var(--agsp-media-bg) 86%,#fff) 52%,var(--agsp-media-bg) 100%)!important;
}

body.afiwai-goodies-pro :where(.afiwai-product-v3,.afiwai-product-page){
  border:1px solid color-mix(in srgb,var(--agsp-primary) 8%,transparent)!important;
  background:
    radial-gradient(circle at 7% 14%,color-mix(in srgb,var(--agsp-primary) 7%,transparent),transparent 25%),
    radial-gradient(circle at 94% 72%,color-mix(in srgb,var(--agsp-accent) 7%,transparent),transparent 25%),
    linear-gradient(145deg,var(--agsp-section-bg),color-mix(in srgb,var(--agsp-catalog-bg) 55%,var(--agsp-section-bg)))!important;
  box-shadow:0 26px 76px color-mix(in srgb,var(--agsp-secondary) 10%,transparent)!important;
}
body.afiwai-goodies-pro :where(
  .afiwai-product-v3__buybox,
  .afiwai-product-buybox,
  .afiwai-product-detail-card
){
  border:1px solid color-mix(in srgb,var(--agsp-primary) 8%,transparent)!important;
  background:var(--agsp-surface)!important;
  box-shadow:0 18px 44px color-mix(in srgb,var(--agsp-secondary) 9%,transparent)!important;
}
body.afiwai-goodies-pro :where(.afiwai-product-v3__price,.afiwai-product-price){
  border-color:color-mix(in srgb,var(--agsp-primary) 11%,transparent)!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--agsp-primary) 6%,#fff),color-mix(in srgb,var(--agsp-accent) 5%,#fff))!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-smart-cart,
  .afiwai-smart-checkout,
  .afiwai-account-main,
  .afiwai-tracking-workspace,
  .afiwai-favorites-content,
  .afiwai-favorites-suggestions
){
  border:1px solid color-mix(in srgb,var(--agsp-primary) 7%,transparent)!important;
  background:linear-gradient(145deg,var(--agsp-section-bg),color-mix(in srgb,var(--agsp-catalog-bg) 38%,var(--agsp-section-bg)))!important;
}

body.afiwai-goodies-pro :where(
  .afiwai-product-card-action,
  .afiwai-product-card__action,
  .afiwai-product-card__add,
  .afiwai-v3-product-card__quick,
  .afiwai-favorites-card__cart,
  .afiwai-smart-add-to-cart
){
  border-color:color-mix(in srgb,var(--agsp-primary) 16%,transparent)!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--agsp-primary) 10%,#fff),color-mix(in srgb,var(--agsp-accent) 8%,#fff))!important;
  color:var(--agsp-secondary)!important;
}
body.afiwai-goodies-pro :where(
  .afiwai-product-card-action,
  .afiwai-product-card__action,
  .afiwai-product-card__add,
  .afiwai-v3-product-card__quick,
  .afiwai-favorites-card__cart,
  .afiwai-smart-add-to-cart
):hover{
  background:linear-gradient(135deg,var(--agsp-primary),var(--agsp-secondary))!important;
  border-color:transparent!important;
  color:#fff!important;
}

@media(max-width:680px){
  body.afiwai-goodies-pro :where(.afiwai-product-v3,.afiwai-product-page,.afiwai-catalog-v3,.afiwai-smart-catalog-shell){
    border-radius:22px!important;
  }
}

/* 1.0.130 — Smart Shop conserve la géométrie de son en-tête. Thème Pro
   personnalise son apparence sans réintroduire l'ancienne largeur à 80 %. */
body.afiwai-smart-shop-managed-page.afiwai-goodies-pro
.afiwai-template-header .afiwai-template-header-inner{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* ========================================================================== 
   1.0.140 — IDENTITÉ CONFIGURABLE À GAUCHE DU HEADER
   --------------------------------------------------------------------------
   Le conteneur Smart Shop, son lien et sa position restent inchangés.
   Seul le contenu visuel de .afiwai-smart-shop-brand est substitué.
   ========================================================================== */

body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-header-identity
.afiwai-smart-shop-brand-mark:not(.agsp-header-identity__native-mark),
body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-header-identity
.afiwai-smart-shop-brand-copy,
body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-header-identity
> img:not(.agsp-mobile-header-image):not(.agsp-header-identity__icon):not(.agsp-header-identity__logo){
  display:none!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity{
  display:inline-flex!important;
  align-items:center!important;
  gap:11px!important;
  min-width:0!important;
  color:inherit!important;
  line-height:1!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__icon,
body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__native-mark,
body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__native-mark img{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  aspect-ratio:1 / 1!important;
  object-fit:contain!important;
  flex:0 0 44px!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__icon{
  border-radius:13px!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__text{
  display:block!important;
  min-width:0!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.1!important;
  letter-spacing:-.018em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__logo{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:var(--agsp-header-logo-width,220px)!important;
  max-height:62px!important;
  object-fit:contain!important;
}

@media(max-width:760px){
  body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__icon,
  body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__native-mark,
  body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__native-mark img{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
    flex-basis:42px!important;
  }
  body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__text{
    max-width:calc(100vw - 118px)!important;
    font-size:16px!important;
  }
  body.afiwai-goodies-pro .afiwai-smart-shop-brand .agsp-header-identity__logo{
    max-width:min(180px,calc(100vw - 92px))!important;
    max-height:43px!important;
  }

  /* L’image mobile historique conserve la priorité si elle est activée. */
  body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-mobile-image-only
  .agsp-header-identity{
    display:none!important;
  }
}



/* ========================================================================== 
   1.0.141 — L’identité configurable du header gauche est réservée à
   l’ordinateur. Sur tablette/mobile, Smart Shop et les réglages mobiles
   conservent la priorité visuelle.
   ========================================================================== */
@media(max-width:980px){
  body.afiwai-goodies-pro .afiwai-smart-shop-brand.has-agsp-header-identity
  .agsp-header-identity{
    display:none!important;
  }
}


/* ==========================================================================
   1.0.216 — séparation stricte Thème Pro / AFIWAI Customizable
   --------------------------------------------------------------------------
   Le fullscreen et les contextes d'empilement du Studio sont désormais gérés
   exclusivement par AFIWAI Customizable. Thème Pro ne neutralise plus les
   conteneurs produit en fonction de la présence ou de l'ouverture du Studio.
   ========================================================================== */

/* ========================================================================== 
   1.0.146 — HEADER PC : COMPATIBILITÉ MENU SMART SHOP 2.29.x
   --------------------------------------------------------------------------
   Smart Shop 2.29.x n'utilise plus .afiwai-smart-shop-brand dans son menu
   principal : l'identité est portée par [data-afiwai-shop-brand] /
   .afiwai-shop-menu__brand. Ces règles étendent le système 1.0.140 au
   contrat de menu actuel sans supprimer la compatibilité historique.
   ========================================================================== */

/* ========================================================================== 
   1.0.199 — BADGE MADE IN BLOIS INDÉPENDANT DU LIEN DU LOGO
   --------------------------------------------------------------------------
   Le badge est un frère du lien de marque : il ne fait donc plus partie de la
   zone cliquable. Sa position avant/après le logo est pilotée par l'admin.
   ========================================================================== */
@media(min-width:981px){
  body.afiwai-goodies-pro .agsp-made-in-blois{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    min-height:34px!important;
    padding:7px 12px!important;
    border:1px solid rgba(255,255,255,.24)!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.17) 0%,rgba(255,255,255,.08) 100%)!important;
    box-shadow:0 8px 20px rgba(7,21,39,.14),inset 0 1px 0 rgba(255,255,255,.24)!important;
    -webkit-backdrop-filter:blur(10px) saturate(1.08)!important;
    backdrop-filter:blur(10px) saturate(1.08)!important;
    color:#F9FCFF!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
    pointer-events:none!important;
    cursor:default!important;
    user-select:none!important;
    text-decoration:none!important;
  }

  body.afiwai-goodies-pro .agsp-made-in-blois[data-agsp-made-in-blois-position="before"]{
    margin-right:2px!important;
  }

  body.afiwai-goodies-pro .agsp-made-in-blois[data-agsp-made-in-blois-position="after"]{
    margin-left:2px!important;
  }

  body.afiwai-goodies-pro .agsp-made-in-blois__flag{
    display:inline-grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    width:20px!important;
    height:14px!important;
    border-radius:4px!important;
    overflow:hidden!important;
    box-shadow:0 0 0 1px rgba(10,28,54,.08)!important;
    flex:0 0 20px!important;
  }

  body.afiwai-goodies-pro .agsp-made-in-blois__flag span:nth-child(1){background:#1D5FD1!important;}
  body.afiwai-goodies-pro .agsp-made-in-blois__flag span:nth-child(2){background:#FFFFFF!important;}
  body.afiwai-goodies-pro .agsp-made-in-blois__flag span:nth-child(3){background:#E74444!important;}

  body.afiwai-goodies-pro .agsp-made-in-blois__text{
    display:block!important;
    max-width:var(--agsp-made-in-blois-text-max,200px)!important;
    color:#F9FCFF!important;
    font-size:12px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:.14em!important;
    text-transform:uppercase!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media(max-width:980px){
  body.afiwai-goodies-pro .agsp-made-in-blois{display:none!important;}
}

@media(min-width:981px){
  body.afiwai-goodies-pro .afiwai-shop-menu__brand.has-agsp-header-identity
  :where(.afiwai-shop-menu__brand-mark,[data-afiwai-shop-brand-mark]):not(.agsp-header-identity__native-mark),
  body.afiwai-goodies-pro [data-afiwai-shop-brand].has-agsp-header-identity
  :where(.afiwai-shop-menu__brand-mark,[data-afiwai-shop-brand-mark]):not(.agsp-header-identity__native-mark),
  body.afiwai-goodies-pro .afiwai-shop-menu__brand.has-agsp-header-identity .afiwai-shop-menu__brand-copy,
  body.afiwai-goodies-pro [data-afiwai-shop-brand].has-agsp-header-identity .afiwai-shop-menu__brand-copy{
    display:none!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand]) .agsp-header-identity{
    display:inline-flex!important;
    align-items:center!important;
    gap:11px!important;
    min-width:0!important;
    color:inherit!important;
    line-height:1!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand]) :where(
    .agsp-header-identity__icon,
    .agsp-header-identity__native-mark,
    .agsp-header-identity__native-mark img
  ){
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    max-width:44px!important;
    max-height:44px!important;
    aspect-ratio:1 / 1!important;
    object-fit:contain!important;
    flex:0 0 44px!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand]) .agsp-header-identity__icon{
    border-radius:13px!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand]) .agsp-header-identity__text{
    display:block!important;
    min-width:0!important;
    font-size:17px!important;
    font-weight:800!important;
    line-height:1.1!important;
    letter-spacing:-.018em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand]) .agsp-header-identity__logo{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:var(--agsp-header-logo-width,220px)!important;
    max-height:62px!important;
    object-fit:contain!important;
  }
}


/* ========================================================================== 
   1.0.149 — HEADER PC : TAILLE DU LOGO RÉELLEMENT APPLIQUÉE
   Base 1.0.147 conservée : seul le dimensionnement du logo PC est corrigé.
   ========================================================================== */
@media(min-width:981px){
  body.afiwai-goodies-pro :where(
    .afiwai-shop-menu__brand,
    [data-afiwai-shop-brand],
    .afiwai-smart-shop-brand
  ) .agsp-header-identity__logo{
    width:var(--agsp-header-logo-width,220px)!important;
    height:auto!important;
    max-width:none!important;
    max-height:72px!important;
    object-fit:contain!important;
  }
}


/* ==========================================================================
   1.0.162 — VIGNETTES PROPRES + HEROS BLEUS REELS
   ========================================================================== */

/* Image 1 — Supprime les fonds/ombres parasites derrière les images des
   vignettes produit tout en conservant un fond de vignette blanc. */
body.afiwai-goodies-pro.afiwai-theme-nova :where(
  .afiwai-preview-product-card.afiwai-product-card > .afiwai-preview-product-image.afiwai-product-media,
  .afiwai-product-card__media,
  .afiwai-v3-product-card__media,
  .afiwai-product-media,
  .afiwai-favorites-card__media,
  .afiwai-favorites-card__media-wrap,
  .afiwai-card-gallery__viewport,
  .afiwai-card-gallery
){
  background:#FFFFFF!important;
  background-image:none!important;
  box-shadow:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova :where(
  .afiwai-card-gallery__image,
  .afiwai-product-card__media img,
  .afiwai-v3-product-card__media img,
  .afiwai-favorites-card__media img,
  .afiwai-preview-product-card.afiwai-product-card > .afiwai-preview-product-image.afiwai-product-media > img
){
  filter:none!important;
  box-shadow:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova :where(
  .afiwai-product-card,
  .afiwai-v3-product-card,
  .afiwai-favorites-card
):is(:hover,:focus-within) :where(
  .afiwai-card-gallery__image,
  .afiwai-product-card__media img,
  .afiwai-v3-product-card__media img,
  .afiwai-favorites-card__media img
){
  filter:none!important;
  transform:none!important;
}

/* Image 2 — Force réellement les héros en bleu uniquement. Les anciennes
   couches goodies-pro.css plus tardives sont neutralisées ici, dans le même
   fichier et en fin de cascade. */
body.afiwai-goodies-pro.afiwai-theme-nova :is(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
){
  border:1px solid rgba(22,96,147,.18)!important;
  background:
    radial-gradient(circle at 14% 12%,rgba(255,255,255,.92),transparent 28%),
    radial-gradient(circle at 84% 18%,rgba(121,210,255,.17),transparent 32%),
    repeating-linear-gradient(135deg,rgba(22,96,147,.016) 0 1px,transparent 1px 22px),
    linear-gradient(135deg,#F4FBFF 0%,#E2F1FF 48%,#D3E9FF 100%)!important;
  box-shadow:0 24px 58px rgba(18,74,114,.08)!important;
}

/* Désactive les anciennes formes pseudo-éléments encore actives sur certains
   héros (ex. compte) et les rend vraiment sobres. */
body.afiwai-goodies-pro.afiwai-theme-nova :is(
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
)::before,
body.afiwai-goodies-pro.afiwai-theme-nova :is(
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
)::after{
  content:none!important;
  display:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
){
  background:none!important;
  box-shadow:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
)::before,
body.afiwai-goodies-pro.afiwai-theme-nova :is(
  .afiwai-smart-shop-page-hero__visual,
  .afiwai-favorites-hero__visual,
  .afiwai-tracking-hero__visual,
  .afiwai-account-hero__visual
)::after{
  content:none!important;
  display:none!important;
}


/* ==========================================================================
   1.0.163 — HERO DARK-BLUE FALLBACK FOR NOVA
   ========================================================================== */
body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content :is(
  .afiwai-smart-shop-home-hero,
  .afiwai-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,
  .afiwai-account-hero,
  .afiwai-favorites-hero,
  .afiwai-tracking-hero
){
  color:#F7FCFF!important;
  border-color:rgba(151,220,247,.18)!important;
  background-color:#103E63!important;
  background:
    radial-gradient(44rem 22rem at 92% -15%,rgba(92,197,226,.24),transparent 72%),
    radial-gradient(30rem 18rem at 4% 115%,rgba(43,140,184,.20),transparent 72%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.018) 0 1px,transparent 1px 25px),
    linear-gradient(120deg,#103E63 0%,#156A93 54%,#2B8CB8 100%)!important;
  box-shadow:0 24px 58px rgba(10,47,76,.20),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content :is(
  .afiwai-smart-shop-home-hero,.afiwai-home-hero,.afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,.afiwai-account-hero,.afiwai-favorites-hero,.afiwai-tracking-hero
) :where(h1,h2,h3,strong){color:#FFFFFF!important;}
body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content :is(
  .afiwai-smart-shop-home-hero,.afiwai-home-hero,.afiwai-smart-shop-page-hero,
  .afiwai-smart-shop-page-hero-compact,.afiwai-account-hero,.afiwai-favorites-hero,.afiwai-tracking-hero
) p{color:#D9EDF8!important;}


/* ==========================================================================
   1.0.165 — CORRECTION EXACTE : TOOLBAR BLANCHE + OMBRE IMAGE SUPPRIMEE
   Base : 1.0.163. Aucun changement du fond général du catalogue.
   ========================================================================== */

/* 1 — UNIQUEMENT la barre "Affichage catalogue / Voir les catégories". */
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-home-catalog-anchor
.afiwai-smart-catalog-shell
.afiwai-catalog-v3__toolbar{
  background:#FFFFFF!important;
  background-image:none!important;
}

/* 2 — Zone image des vignettes : blanc pur, sans ombre ni halo. */
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
> .afiwai-preview-product-image.afiwai-product-media,
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-card-gallery,
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-card-gallery__viewport{
  background:#FFFFFF!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
> .afiwai-preview-product-image.afiwai-product-media::before,
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
> .afiwai-preview-product-image.afiwai-product-media::after,
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-card-gallery::before,
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-card-gallery::after,
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-card-gallery__viewport::before,
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-card-gallery__viewport::after{
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
:where(.afiwai-card-gallery__image,.afiwai-preview-product-image > img){
  filter:none!important;
  box-shadow:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card:is(:hover,:focus-within)
:where(.afiwai-card-gallery__image,.afiwai-preview-product-image > img){
  filter:none!important;
  box-shadow:none!important;
  transform:none!important;
}

/* La bande basse appartient aussi au footer interne de la carte sur le layout
   horizontal. On retire seulement son fond/ombre, sans modifier son placement. */
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-preview-bottom.afiwai-product-card-footer{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}


/* ==========================================================================
   1.0.166 — OMBRE CATALOGUE + BLOC SEO BLEU HERO
   ========================================================================== */

/* Image 1 — Ajoute une ombre au bloc interne du catalogue d'accueil. */
body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-results > #afiwai-smart-catalog.afiwai-catalog-v3,
body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-results > .afiwai-catalog-v3{
  box-shadow:0 24px 56px rgba(12,57,89,.12), 0 10px 22px rgba(12,57,89,.08)!important;
}

/* Image 2 — Retravaille le bloc SEO avec le même langage visuel que les héros. */
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content{
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 12% 14%,rgba(255,255,255,.18),transparent 24%),
    radial-gradient(circle at 88% 18%,rgba(92,197,226,.18),transparent 26%),
    linear-gradient(128deg,#103E63 0%,#156A93 52%,#2B8CB8 100%)!important;
  box-shadow:0 26px 64px rgba(10,44,70,.18), inset 0 1px 0 rgba(255,255,255,.12)!important;
  backdrop-filter:none!important;
  overflow:hidden!important;
  position:relative!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content::before{
  content:""!important;
  position:absolute!important;
  inset:auto auto -18% -6%!important;
  width:320px!important;
  height:320px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(255,255,255,.14),rgba(255,255,255,0) 70%)!important;
  pointer-events:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content::after{
  content:""!important;
  position:absolute!important;
  right:-5%!important;
  top:-12%!important;
  width:280px!important;
  height:280px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(92,197,226,.20),rgba(92,197,226,0) 72%)!important;
  pointer-events:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content > *{
  position:relative!important;
  z-index:1!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content h2{
  color:#FFFFFF!important;
  text-shadow:0 2px 12px rgba(6,27,42,.16)!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content > div,
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content p,
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content li{
  color:rgba(240,248,255,.88)!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content :where(strong,b){
  color:#FFFFFF!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content a{
  color:#D9F3FF!important;
  text-decoration-color:rgba(217,243,255,.62)!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content a:hover{
  color:#FFFFFF!important;
}


/* ==========================================================================
   1.0.167 — FINE BORDURE SOMBRE
   ========================================================================== */
body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-results > #afiwai-smart-catalog.afiwai-catalog-v3,
body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-results > .afiwai-catalog-v3,
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-seo-content{
  border:1px solid rgba(10,44,70,.38)!important;
}


/* ==========================================================================
   1.0.209 — CONTENEUR ACCORDÉON INVISIBLE
   ========================================================================== */
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}


/* ==========================================================================
   1.0.169 — BLOCS BLEU CLAIR HARMONISES AVEC LES HEROES
   ========================================================================== */

/* Dégradés bleu glacier / bleu héro pour les grands blocs bleu clair du body.
   On ne touche pas aux vignettes produit (blanches) ni à la toolbar blanche. */
body.afiwai-goodies-pro.afiwai-theme-nova :where(
  .afiwai-home-search,
  .afiwai-home-benefits,
  .afiwai-home-faq,
  .afiwai-shop-showcase-section,
  #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-results > #afiwai-smart-catalog.afiwai-catalog-v3,
  #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-results > .afiwai-catalog-v3
){
  border-color:rgba(10,44,70,.24)!important;
  background:
    radial-gradient(circle at 12% 12%,rgba(255,255,255,.92),transparent 26%) padding-box,
    radial-gradient(circle at 88% 14%,rgba(92,197,226,.16),transparent 28%) padding-box,
    linear-gradient(180deg,rgba(255,255,255,.26),transparent 38%) padding-box,
    repeating-linear-gradient(135deg,rgba(16,62,99,.015) 0 1px,transparent 1px 22px) padding-box,
    linear-gradient(145deg,#F5FAFF 0%,#E7F1FB 44%,#D7E8F7 100%) padding-box!important;
  box-shadow:0 18px 42px rgba(10,44,70,.10), inset 0 1px 0 rgba(255,255,255,.90)!important;
}

/* Le bloc bénéfices peut accepter une présence bleue un peu plus dense pour
   dialoguer avec le Hero, tout en restant clair. */
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-benefits{
  background:
    radial-gradient(circle at 14% 14%,rgba(255,255,255,.88),transparent 24%) padding-box,
    radial-gradient(circle at 86% 12%,rgba(92,197,226,.18),transparent 28%) padding-box,
    repeating-linear-gradient(135deg,rgba(16,62,99,.016) 0 1px,transparent 1px 20px) padding-box,
    linear-gradient(145deg,#EDF7FF 0%,#DDEDFC 52%,#CFE4F5 100%) padding-box!important;
}

/* FAQ : détails et séparateurs accordés au nouveau fond bleu. */
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-faq details{
  border-bottom-color:rgba(10,44,70,.12)!important;
}
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-faq details[open] summary,
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-home-faq summary:hover{
  background:rgba(92,197,226,.10)!important;
}


/* ==========================================================================
   1.0.170 — BLOC RECHERCHE CATALOGUE BLEU HERO
   ========================================================================== */
body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion > .afiwai-smart-catalog-filters :where(label,.afiwai-smart-filter-label,.afiwai-catalog-filter-label,.afiwai-field-label,h2,h3,h4,p,span):not(button):not(.select2-selection__rendered){
  color: rgba(244,250,255,.92) !important;
}

body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion :where(input,select,textarea){
  background: rgba(255,255,255,.97) !important;
  border-color: rgba(10,44,70,.18) !important;
  color: #17344E !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}

body.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion ::placeholder{
  color: #6A8093 !important;
  opacity: 1 !important;
}


/* ==========================================================================
   1.0.178 — HARMONIE VIGNETTES : BADGE NOUVEAU + BOUTON PERSONNALISER
   ========================================================================== */
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-preview-product-card .afiwai-preview-badge,
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-product-card .afiwai-preview-badge,
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-v3-product-card .afiwai-preview-badge{
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:999px!important;
  background-color:var(--afiwai-new-badge-bg,#0064c0)!important;
  background-image:radial-gradient(circle at 20% 18%,rgba(255,255,255,.24),transparent 24%)!important;
  color:var(--afiwai-new-badge-text,#fff)!important;
  text-shadow:0 1px 1px rgba(10,44,70,.24)!important;
  box-shadow:0 10px 20px rgba(16,62,99,.18), inset 0 1px 0 rgba(255,255,255,.16)!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-preview-product-card :where(.afiwai-smart-add-to-cart,.afiwai-product-card-action,.afiwai-product-card__action,.afiwai-product-card__add),
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-product-card :where(.afiwai-smart-add-to-cart,.afiwai-product-card-action,.afiwai-product-card__action,.afiwai-product-card__add),
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-v3-product-card :where(.afiwai-smart-add-to-cart,.afiwai-product-card-action,.afiwai-product-card__action,.afiwai-product-card__add){
  border:1px solid rgba(12,54,83,.24)!important;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.24), transparent 22%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 44%) padding-box,
    linear-gradient(120deg, #103E63 0%, #156A93 54%, #2B8CB8 100%) padding-box!important;
  color:#FFFFFF!important;
  text-shadow:0 1px 1px rgba(10,44,70,.24)!important;
  box-shadow:0 14px 26px rgba(16,62,99,.16), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -1px 0 rgba(8,33,53,.14)!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-preview-product-card :where(.afiwai-smart-add-to-cart,.afiwai-product-card-action,.afiwai-product-card__action,.afiwai-product-card__add):is(:hover,:focus-visible),
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-product-card :where(.afiwai-smart-add-to-cart,.afiwai-product-card-action,.afiwai-product-card__action,.afiwai-product-card__add):is(:hover,:focus-visible),
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-v3-product-card :where(.afiwai-smart-add-to-cart,.afiwai-product-card-action,.afiwai-product-card__action,.afiwai-product-card__add):is(:hover,:focus-visible){
  background:
    radial-gradient(circle at 82% 14%, rgba(255,255,255,.28), transparent 24%) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 44%) padding-box,
    linear-gradient(120deg, #13517F 0%, #1A78A8 56%, #35A2C8 100%) padding-box!important;
  color:#FFFFFF!important;
  box-shadow:0 18px 30px rgba(16,62,99,.20), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(8,33,53,.16)!important;
}

/* ==========================================================================
   1.0.183 — PERSONNALISER : STYLE + HALO PROPRE, SANS RESIDUS
   ========================================================================== */

/*
 * Important : aucune dimension, aucun padding, aucun display, aucun overflow
 * et aucun border-radius n'est imposé ici au bouton. Smart Shop + NOVA restent
 * propriétaires de son format. Cette règle ne gère que sa couleur visible.
 */
body.afiwai-smart-shop-managed-page.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-preview-bottom.afiwai-product-card-footer
.afiwai-smart-add-to-cart.afiwai-smart-customize-link.afiwai-product-card-action.afiwai-product-card__action.afiwai-action.afiwai-action--customize{
  border-color:rgba(8,38,62,.34)!important;
  background-color:#156A93!important;
  background-image:
    radial-gradient(circle at 18% 14%,rgba(255,255,255,.24),transparent 22%),
    linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,0) 44%),
    linear-gradient(120deg,#103E63 0%,#156A93 54%,#2B8CB8 100%)!important;
  background-repeat:no-repeat!important;
  color:#FFFFFF!important;
  text-shadow:0 1px 1px rgba(10,44,70,.26)!important;
}

body.afiwai-smart-shop-managed-page.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-preview-bottom.afiwai-product-card-footer
.afiwai-smart-add-to-cart.afiwai-smart-customize-link.afiwai-product-card-action.afiwai-product-card__action.afiwai-action.afiwai-action--customize:is(:hover,:focus-visible){
  border-color:rgba(8,38,62,.24)!important;
  background-color:#1A78A8!important;
  background-image:
    radial-gradient(circle at 82% 14%,rgba(255,255,255,.30),transparent 24%),
    linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0) 44%),
    linear-gradient(120deg,#13517F 0%,#1A78A8 56%,#35A2C8 100%)!important;
  color:#FFFFFF!important;
}


/* ==========================================================================
   1.0.185 — HALO CLIGNOTANT REELLEMENT VISIBLE
   ========================================================================== */
/*
 * Les ombres du bouton sont définies en !important dans NOVA. Une animation
 * directe de box-shadow ne peut donc pas gagner la cascade. On anime ici des
 * variables CSS, puis l'unique box-shadow !important lit ces variables.
 */
@property --afiwai-customize-halo-alpha{
  syntax:"<number>";
  inherits:false;
  initial-value:.14;
}
@property --afiwai-customize-halo-spread{
  syntax:"<length>";
  inherits:false;
  initial-value:2px;
}
@property --afiwai-customize-halo-blur{
  syntax:"<length>";
  inherits:false;
  initial-value:10px;
}

@keyframes afiwai-customize-halo-vars{
  0%,100%{
    --afiwai-customize-halo-alpha:.12;
    --afiwai-customize-halo-spread:2px;
    --afiwai-customize-halo-blur:9px;
  }
  48%{
    --afiwai-customize-halo-alpha:.72;
    --afiwai-customize-halo-spread:5px;
    --afiwai-customize-halo-blur:28px;
  }
  68%{
    --afiwai-customize-halo-alpha:.34;
    --afiwai-customize-halo-spread:3px;
    --afiwai-customize-halo-blur:17px;
  }
}

body.afiwai-customize-button-attention.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-preview-bottom.afiwai-product-card-footer
.afiwai-smart-add-to-cart.afiwai-smart-customize-link.afiwai-product-card-action.afiwai-product-card__action.afiwai-action.afiwai-action--customize{
  animation:afiwai-customize-halo-vars 1.45s ease-in-out infinite!important;
  box-shadow:
    0 12px 24px rgba(16,62,99,.18),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(8,33,53,.15),
    0 0 0 var(--afiwai-customize-halo-spread) rgba(92,197,226,var(--afiwai-customize-halo-alpha)),
    0 0 var(--afiwai-customize-halo-blur) rgba(92,197,226,var(--afiwai-customize-halo-alpha)),
    0 0 calc(var(--afiwai-customize-halo-blur) + 10px) rgba(43,140,184,.22)!important;
  will-change:box-shadow!important;
}

/* Le halo continue également au survol/focus. */
body.afiwai-customize-button-attention.afiwai-goodies-pro.afiwai-theme-nova
#afiwai-smart-shop-content
.afiwai-preview-product-card.afiwai-product-card
.afiwai-preview-bottom.afiwai-product-card-footer
.afiwai-smart-add-to-cart.afiwai-smart-customize-link.afiwai-product-card-action.afiwai-product-card__action.afiwai-action.afiwai-action--customize:is(:hover,:focus-visible){
  animation:afiwai-customize-halo-vars 1.28s ease-in-out infinite!important;
}

@media(prefers-reduced-motion:reduce){
  body.afiwai-customize-button-attention.afiwai-goodies-pro.afiwai-theme-nova
  #afiwai-smart-shop-content
  .afiwai-preview-product-card.afiwai-product-card
  .afiwai-preview-bottom.afiwai-product-card-footer
  .afiwai-smart-add-to-cart.afiwai-smart-customize-link.afiwai-product-card-action.afiwai-product-card__action.afiwai-action.afiwai-action--customize{
    animation:none!important;
    --afiwai-customize-halo-alpha:.22;
    --afiwai-customize-halo-spread:2px;
    --afiwai-customize-halo-blur:12px;
  }
}


/* ========================================================================== 
   1.0.207 — HEADER RESPONSIVE / BADGE LOCAL / RECHERCHE MOBILE
   --------------------------------------------------------------------------
   Corrections ciblées demandées :
   A. Le texte long du badge local n'est plus tronqué sur PC.
   B1. L'identité configurée du header PC est reprise en responsive, sauf si
       une image mobile dédiée a explicitement été choisie.
   B2. Le menu Smart Shop reste propriétaire de sa structure ; Theme Pro
       harmonise uniquement son rendu NOVA avec la nouvelle grille responsive.
   B3. Le bouton « Rechercher et filtrer » reste lisible sur fond clair.
   B4. Le badge local reste visible et alignable sur tablette/mobile.
   ========================================================================== */

/* A — badge desktop : largeur dictée par le vrai contenu, jamais ellipsé. */
@media(min-width:981px){
  body.afiwai-goodies-pro .agsp-made-in-blois{
    max-width:none!important;
    min-width:max-content!important;
    padding:8px 14px!important;
  }
  body.afiwai-goodies-pro .agsp-made-in-blois__text{
    width:auto!important;
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    font-size:11px!important;
    letter-spacing:.095em!important;
  }
}

/* B1 + B4 — identité et badge aussi disponibles sur tablette/mobile. */
@media(max-width:980px){
  body.afiwai-goodies-pro .afiwai-shop-menu{
    align-items:stretch!important;
    overflow:visible!important;
  }
  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand)[data-agsp-responsive-align="left"]{justify-content:flex-start!important;text-align:left!important;}
  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand)[data-agsp-responsive-align="center"]{justify-content:center!important;text-align:center!important;}
  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand)[data-agsp-responsive-align="right"]{justify-content:flex-end!important;text-align:right!important;}

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand).has-agsp-header-identity
  :where(.afiwai-shop-menu__brand-mark,[data-afiwai-shop-brand-mark],.afiwai-smart-shop-brand-mark):not(.agsp-header-identity__native-mark),
  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand).has-agsp-header-identity
  :where(.afiwai-shop-menu__brand-copy,.afiwai-smart-shop-brand-copy){
    display:none!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand).has-agsp-header-identity
  .agsp-header-identity{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:inherit!important;
    gap:10px!important;
    max-width:100%!important;
    min-width:0!important;
    color:inherit!important;
    line-height:1!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand)
  .agsp-header-identity__logo{
    display:block!important;
    width:auto!important;
    max-width:min(var(--agsp-header-logo-width,220px),calc(100vw - 40px))!important;
    height:auto!important;
    max-height:58px!important;
    object-fit:contain!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand)
  :where(.agsp-header-identity__icon,.agsp-header-identity__native-mark,.agsp-header-identity__native-mark img){
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
    flex:0 0 42px!important;
    object-fit:contain!important;
  }

  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand)
  .agsp-header-identity__text{
    display:block!important;
    min-width:0!important;
    max-width:min(70vw,360px)!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
    font-size:16px!important;
    font-weight:850!important;
    line-height:1.12!important;
  }

  body.afiwai-goodies-pro .agsp-made-in-blois{
    display:inline-flex!important;
    order:2!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:max-content!important;
    max-width:calc(100% - 8px)!important;
    min-height:34px!important;
    padding:7px 12px!important;
    border:1px solid rgba(255,255,255,.24)!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.17),rgba(255,255,255,.08))!important;
    box-shadow:0 8px 20px rgba(7,21,39,.14),inset 0 1px 0 rgba(255,255,255,.24)!important;
    color:#F9FCFF!important;
    pointer-events:none!important;
    white-space:normal!important;
  }
  body.afiwai-goodies-pro .agsp-made-in-blois[data-agsp-mobile-align="left"]{margin-left:0!important;margin-right:auto!important;}
  body.afiwai-goodies-pro .agsp-made-in-blois[data-agsp-mobile-align="center"]{margin-left:auto!important;margin-right:auto!important;}
  body.afiwai-goodies-pro .agsp-made-in-blois[data-agsp-mobile-align="right"]{margin-left:auto!important;margin-right:0!important;}

  body.afiwai-goodies-pro .agsp-made-in-blois__flag{
    display:inline-grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    width:20px!important;
    height:14px!important;
    flex:0 0 20px!important;
    overflow:hidden!important;
    border-radius:4px!important;
  }
  body.afiwai-goodies-pro .agsp-made-in-blois__flag span:nth-child(1){background:#1D5FD1!important;}
  body.afiwai-goodies-pro .agsp-made-in-blois__flag span:nth-child(2){background:#FFFFFF!important;}
  body.afiwai-goodies-pro .agsp-made-in-blois__flag span:nth-child(3){background:#E74444!important;}
  body.afiwai-goodies-pro .agsp-made-in-blois__text{
    display:block!important;
    width:auto!important;
    max-width:calc(100vw - 92px)!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
    color:#F9FCFF!important;
    font-size:10.5px!important;
    font-weight:900!important;
    line-height:1.15!important;
    letter-spacing:.07em!important;
    text-transform:uppercase!important;
    text-align:center!important;
  }

  /* La marque reste première, le badge deuxième et la navigation troisième. */
  body.afiwai-goodies-pro .afiwai-shop-menu > :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand],.afiwai-smart-shop-brand){order:1!important;}
  body.afiwai-goodies-pro .afiwai-shop-menu > .afiwai-shop-menu__items{order:3!important;}
}

/* B2 — NOVA : aucun scroll horizontal du menu, boutons adaptés à la grille Smart Shop. */
@media(max-width:900px){
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-shop-menu__items{
    overflow:visible!important;
    scrollbar-width:none!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-shop-menu__item{
    min-width:0!important;
    width:100%!important;
    min-height:46px!important;
    padding:8px 9px!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-shop-menu__label{
    min-width:0!important;
    overflow-wrap:anywhere!important;
  }
}

/* B3 — bouton accordéon recherche/filtre : contraste + dimensions fiables. */
@media(max-width:782px){
  body.afiwai-goodies-pro.afiwai-theme-nova
  #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 14px!important;
    box-sizing:border-box!important;
  }

  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-smart-catalog-filter-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:52px!important;
    height:auto!important;
    padding:12px 15px!important;
    border:1px solid rgba(14,76,116,.28)!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,#FFFFFF 0%,#F2F8FD 100%)!important;
    box-shadow:0 8px 20px rgba(12,58,91,.08),inset 0 1px 0 #FFFFFF!important;
    color:#153A59!important;
    font-size:14px!important;
    font-weight:850!important;
    line-height:1.2!important;
    text-align:left!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-smart-catalog-filter-toggle :where(span,.dashicons){
    color:#153A59!important;
    opacity:1!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-smart-catalog-filter-toggle > span:nth-child(2){
    flex:1 1 auto!important;
    min-width:0!important;
    white-space:normal!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-smart-catalog-filter-toggle > .dashicons:first-child{
    color:#078BC7!important;
  }
}

/* 1.0.207 — compatibilité de l'image mobile dédiée avec le menu Smart Shop 2.29.x. */
@media(max-width:680px){
  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand]).has-agsp-mobile-image-only
  :where(.afiwai-shop-menu__brand-mark,[data-afiwai-shop-brand-mark],.afiwai-shop-menu__brand-copy,.agsp-header-identity){
    display:none!important;
  }
  body.afiwai-goodies-pro :where(.afiwai-shop-menu__brand,[data-afiwai-shop-brand]).has-agsp-mobile-image-only
  .agsp-mobile-header-image{
    display:block!important;
    width:var(--agsp-mobile-zone1-width,210px)!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    object-fit:contain!important;
  }
}


/* ========================================================================== 
   1.0.208 — COMPACTAGE MOBILE / CENTRAGES / RECHERCHE
   --------------------------------------------------------------------------
   Ajustements uniquement responsive NOVA. Smart Shop reste propriétaire de
   la structure du menu et du catalogue.
   ========================================================================== */
@media(max-width:640px){
  /* 1 — menu plus compact : 3 entrées par ligne, deux lignes sur le menu standard. */
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-template-header .afiwai-shop-menu{
    gap:9px!important;
    padding-top:10px!important;
    padding-bottom:11px!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-template-header .afiwai-shop-menu__items{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px 6px!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-template-header .afiwai-shop-menu__item{
    min-height:42px!important;
    padding:4px 5px!important;
    gap:5px!important;
    font-size:11.5px!important;
    line-height:1.08!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-template-header .afiwai-shop-menu__item:not([data-afiwai-menu-key="cart"]):not(.agsp-menu-partner) .dashicons{
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    margin-right:3px!important;
    font-size:16px!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-template-header .afiwai-shop-menu__label{
    overflow-wrap:normal!important;
    word-break:normal!important;
  }

  /* 2 — CTA du Hero centrés comme un seul groupe. */
  body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content
  .afiwai-premium-home.is-commerce-first .afiwai-home-hero .afiwai-home-actions{
    width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* 4 — informations du catalogue centrées sur petit écran. */
  body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content .afiwai-catalog-v3__header{
    text-align:center!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content .afiwai-catalog-v3__header>div:first-child{
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content .afiwai-catalog-v3__count{
    width:100%!important;
    justify-items:center!important;
    text-align:center!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova #afiwai-smart-shop-content .afiwai-catalog-v3__toolbar{
    align-items:center!important;
    text-align:center!important;
  }
}

@media(max-width:782px){
  /* 3 — le bloc conserve les mêmes 10 px que le catalogue sans jamais déborder. */
  body.afiwai-goodies-pro.afiwai-theme-nova
  #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    min-width:0!important;
    margin:10px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova
  #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion > .afiwai-smart-catalog-filter-toggle,
  body.afiwai-goodies-pro.afiwai-theme-nova
  #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion > .afiwai-smart-catalog-filter-toggle > span:nth-child(2){
    color:#111820!important;
  }
  body.afiwai-goodies-pro.afiwai-theme-nova
  #afiwai-smart-shop-content .afiwai-home-catalog-anchor > .afiwai-smart-catalog-shell > .afiwai-smart-catalog-filter-accordion > .afiwai-smart-catalog-filter-toggle{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
}

@media(max-width:360px){
  body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-template-header .afiwai-shop-menu__items{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* ========================================================================== 
   1.0.213 — PAYSAGE MOBILE : HEADER NON FIXE, SANS INTERFÉRER AVEC LE STUDIO
   --------------------------------------------------------------------------
   Sur certains téléphones, le passage en paysage donne une largeur > 680 px.
   L'ancien système de navigation fixe les classait alors comme tablette/PC et
   réservait une grande partie de la faible hauteur disponible au header.

   Cette correction dépend uniquement des dimensions du viewport :
   - aucune détection .afc-* ;
   - aucun :has() ;
   - aucune modification du DOM ou du JavaScript du Studio ;
   - aucun impact en portrait ou sur les écrans paysage suffisamment hauts.
   ========================================================================== */
@media (orientation:landscape) and (max-width:1180px) and (max-height:600px){
  html body.afiwai-goodies-pro .afiwai-template-header,
  html body.afiwai-goodies-pro.agsp-fixed-menu-active .afiwai-template-header,
  html body.afiwai-goodies-pro.agsp-mobile-fixed-menu-active .afiwai-template-header{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    transform:none!important;
    z-index:auto!important;
  }

  html body.afiwai-goodies-pro #afiwai-smart-shop-content,
  html body.afiwai-goodies-pro.agsp-fixed-menu-active #afiwai-smart-shop-content,
  html body.afiwai-goodies-pro.agsp-mobile-fixed-menu-active #afiwai-smart-shop-content{
    margin-top:0!important;
  }
}


/* ==========================================================================
   1.0.220 — AFIWAI Customizable / Studio : restauration du viewport réel
   --------------------------------------------------------------------------
   Customizable ouvre .afc-customizer-shell en position:fixed et ajoute
   body.afc-studio-open. Thème Pro applique par ailleurs overflow:hidden et
   backdrop-filter à la fiche produit ; ce couple crée un contexte de clipping
   qui peut enfermer le Studio dans la carte produit et rendre la page figée
   alors que le Studio est bien ouvert.

   Cette protection ne change ni le DOM, ni les clics, ni le moteur du Studio.
   Elle neutralise uniquement le confinement pendant l'ouverture puis laisse
   le rendu normal revenir automatiquement à la fermeture.
   ========================================================================== */
html body.afiwai-goodies-pro.afc-studio-open .afiwai-smart-shop-ecosystem{
  overflow:visible!important;
}

html body.afiwai-goodies-pro.afc-studio-open :where(
  .afiwai-product-v3,
  .afiwai-product-page
){
  overflow:visible!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}


/* AFIWAI Thème Pro 1.0.224 — shortcode compact dans l'identité du footer */
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode{
  display:block;
  width:100%;
  min-width:0;
  margin:8px 0 10px;
  text-align:inherit;
}
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode > :first-child{margin-top:0!important;}
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode > :last-child{margin-bottom:0!important;}

/* Le bloc de confiance Google devient volontairement compact dans le footer. */
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust{
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  width:auto!important;
  max-width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:6px 9px!important;
  gap:5px 7px!important;
  border-radius:10px!important;
  line-height:1.05!important;
  font-size:11px!important;
  white-space:nowrap;
}
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__google{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  font-size:11px!important;
}
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__brand,
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__score{
  gap:4px!important;
}
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__label,
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__score span,
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__link{
  font-size:10px!important;
}
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__stars{
  letter-spacing:0!important;
  font-size:10px!important;
}
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__score strong{
  font-size:11px!important;
}
body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust__link{
  margin-left:2px!important;
}
@media (max-width:520px){
  body.afiwai-goodies-pro .afiwai-template-footer .afiwai-footer-brand__shortcode .afiwai-google-trust{
    flex-wrap:wrap!important;
    white-space:normal;
  }
}
