/* AFIWAI Smart Shop 2.29.76 — structural width contract.
   Smart Shop owns geometry only: 100% page canvas, ~80% centered content. */
body.afiwai-smart-shop-managed-page{
  --afiwai-ss-content-width:80vw;
  --afiwai-ss-gutter:24px;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  overflow-x:hidden;
}
body.afiwai-smart-shop-managed-page #page-container,
body.afiwai-smart-shop-managed-page #et-boc,
body.afiwai-smart-shop-managed-page #et-main-area{
  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;
}
body.afiwai-smart-shop-managed-page .afiwai-smart-shop-ecosystem,
body.afiwai-smart-shop-managed-page .afiwai-smart-shop-integrated,
body.afiwai-smart-shop-managed-page #afiwai-smart-shop-content,
body.afiwai-smart-shop-managed-page .afiwai-smart-shop-main,
body.afiwai-smart-shop-managed-page .afiwai-premium-home,
body.afiwai-smart-shop-managed-page .afiwai-storefront-v3,
body.afiwai-smart-shop-managed-page .afiwai-smart-home-primary{
  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-smart-shop-managed-page .afiwai-shop-utility,
body.afiwai-smart-shop-managed-page .afiwai-template-header,
body.afiwai-smart-shop-managed-page .afiwai-template-footer{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body.afiwai-smart-shop-managed-page :where(
  .afiwai-shop-utility__inner,
  .afiwai-template-header-inner,
  .afiwai-template-back-link,
  .afiwai-home-hero,
  .afiwai-smart-shop-home-hero,
  .afiwai-smart-shop-page-hero,
  .afiwai-home-search,
  .afiwai-home-section,
  .afiwai-v3-section,
  .afiwai-storefront-section,
  .afiwai-shop-showcase-section,
  .afiwai-smart-home-section,
  .afiwai-home-benefits,
  .afiwai-home-seo-content,
  .afiwai-home-faq,
  .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-account-overview,
  .afiwai-favorites-hero,
  .afiwai-favorites-content,
  .afiwai-favorites-suggestions,
  .afiwai-tracking-hero,
  .afiwai-tracking-workspace,
  .afiwai-contact-page,
  .afiwai-footer-benefits,
  .afiwai-footer-main,
  .afiwai-footer-bottom
){
  width:min(var(--afiwai-ss-content-width),calc(100% - (var(--afiwai-ss-gutter) * 2)))!important;
  max-width:min(var(--afiwai-ss-content-width),calc(100% - (var(--afiwai-ss-gutter) * 2)))!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
body.afiwai-smart-shop-managed-page .afiwai-smart-catalog-shell .afiwai-catalog-v3,
body.afiwai-smart-shop-managed-page .afiwai-smart-cart-layout,
body.afiwai-smart-shop-managed-page .afiwai-smart-cart-content,
body.afiwai-smart-shop-managed-page .afiwai-smart-checkout-grid,
body.afiwai-smart-shop-managed-page .afiwai-contact-page > :where(.afiwai-contact-hero,.afiwai-contact-layout){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:1100px){
  body.afiwai-smart-shop-managed-page{--afiwai-ss-content-width:calc(100vw - 48px);}
}
@media(max-width:900px){
  body.afiwai-smart-shop-managed-page{--afiwai-ss-content-width:calc(100vw - 32px);--afiwai-ss-gutter:16px;}
}
@media(max-width:680px){
  body.afiwai-smart-shop-managed-page{--afiwai-ss-content-width:calc(100vw - 20px);--afiwai-ss-gutter:10px;}
}

/* 2.30.8 — NOVA form shadow explicitly disabled */
body.afiwai-goodies-pro.afiwai-theme-nova :where(
	.afiwai-catalog-v3__toolbar,
	.afiwai-smart-catalog-filters,
	.afiwai-smart-catalog-filter-accordion,
	.afiwai-home-search,
	.afiwai-smart-cart,
	.afiwai-smart-checkout,
	.afiwai-account-main,
	.afiwai-tracking-workspace,
	.afiwai-product-v3,
	.afiwai-product-page
) :where(input,select,textarea):not(.afc-product-entry *):not(.afc-customizer-shell *):not([data-afc-product] *){
	box-shadow:none!important;
}

/* 2.30.10 — payment radio authority */
body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-smart-payment-choice input[type="radio"],
.afiwai-smart-shop-ecosystem .afiwai-smart-payment-choice input[type="radio"]{
	-webkit-appearance:none!important;
	appearance:none!important;
	display:inline-block!important;
	position:relative!important;
	flex:0 0 16px!important;
	width:16px!important;
	height:16px!important;
	min-width:16px!important;
	min-height:16px!important;
	max-width:16px!important;
	max-height:16px!important;
	margin:0!important;
	padding:0!important;
	border:1.5px solid #71879c!important;
	border-radius:50%!important;
	background:#fff!important;
	box-shadow:none!important;
	overflow:visible!important;
	vertical-align:middle!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-smart-payment-choice input[type="radio"]:checked,
.afiwai-smart-shop-ecosystem .afiwai-smart-payment-choice input[type="radio"]:checked{
	border:5px solid var(--afiwai-shop-primary)!important;
	background:#fff!important;
	box-shadow:none!important;
}

body.afiwai-goodies-pro.afiwai-theme-nova .afiwai-smart-payment-choice label:has(input[type="radio"]:checked),
.afiwai-smart-shop-ecosystem .afiwai-smart-payment-choice label:has(input[type="radio"]:checked){
	box-shadow:none!important;
	overflow:visible!important;
}


/* 2.30.18 — Footer benefits brand mark must remain legible with every presentation owner. */
body.afiwai-smart-shop-managed-page .afiwai-footer-benefits__brand > .afiwai-footer-benefits__mark {
	color: #fff !important;
}

/* ==========================================================================
   Footer structural contract — 2.30.27
   Loaded last even when Theme Pro owns presentation. SmartShop keeps the
   footer geometry and media dimensions while Theme Pro remains free to own
   the visual treatment.
   ========================================================================== */
body.afiwai-smart-shop-managed-page .afiwai-footer-main.has-side-image{
	grid-template-columns:
		minmax(0,1.25fr)
		minmax(0,.62fr)
		minmax(0,.62fr)
		minmax(0,.82fr)
		minmax(0,1.05fr)
		minmax(0,var(--afiwai-footer-side-image-desktop,180px))!important;
	gap:clamp(24px,2.4vw,38px)!important;
	align-items:start!important;
}
body.afiwai-smart-shop-managed-page .afiwai-footer-side-image{
	display:flex!important;
	align-items:flex-start!important;
	justify-content:flex-end!important;
	justify-self:end!important;
	width:var(--afiwai-footer-side-image-desktop,180px)!important;
	max-width:100%!important;
	min-width:0!important;
	box-sizing:border-box!important;
}
body.afiwai-smart-shop-managed-page .afiwai-footer-side-image > a{
	display:inline-flex!important;
	align-items:flex-start!important;
	justify-content:flex-end!important;
	width:100%!important;
	max-width:100%!important;
	line-height:0!important;
	text-decoration:none!important;
}
body.afiwai-smart-shop-managed-page .afiwai-footer-side-image img{
	display:block!important;
	width:100%!important;
	max-width:100%!important;
	height:auto!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	border-radius:0!important;
	background:transparent!important;
	object-fit:contain!important;
	box-shadow:none!important;
}

/* Payment logos are functional footer media: their dimensions must not
   depend on the active visual theme. */
body.afiwai-smart-shop-managed-page .afiwai-footer-payments{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	gap:9px!important;
	flex-wrap:wrap!important;
}
body.afiwai-smart-shop-managed-page .afiwai-footer-payment-logo{
	display:inline-flex!important;
	flex:0 0 auto!important;
	align-items:center!important;
	justify-content:center!important;
	width:auto!important;
	height:auto!important;
	min-width:0!important;
	min-height:0!important;
	margin:0!important;
	padding:0!important;
	line-height:0!important;
	overflow:hidden!important;
}
body.afiwai-smart-shop-managed-page .afiwai-footer-payment-logo img{
	display:block!important;
	width:auto!important;
	height:28px!important;
	max-width:84px!important;
	max-height:28px!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	object-fit:contain!important;
	box-shadow:none!important;
	vertical-align:top!important;
}

@media(max-width:1100px){
	body.afiwai-smart-shop-managed-page .afiwai-footer-main.has-side-image{
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
	}
	body.afiwai-smart-shop-managed-page .afiwai-footer-side-image{
		justify-self:end!important;
		width:var(--afiwai-footer-side-image-desktop,180px)!important;
		max-width:100%!important;
	}
}
@media(max-width:680px){
	body.afiwai-smart-shop-managed-page .afiwai-footer-main.has-side-image{
		grid-template-columns:1fr!important;
	}
	body.afiwai-smart-shop-managed-page .afiwai-footer-side-image{
		justify-content:center!important;
		justify-self:stretch!important;
		width:var(--afiwai-footer-side-image-mobile,140px)!important;
		max-width:100%!important;
		margin-inline:auto!important;
		padding-top:4px!important;
	}
	body.afiwai-smart-shop-managed-page .afiwai-footer-side-image > a{
		justify-content:center!important;
	}
}

