/* AI Pro — storefront layer.
   FUNCTIONAL ONLY. The theme owns the design; this file just removes the
   abandoned cart/checkout UI and styles the buy affordances using the theme's
   own tokens so they look native rather than bolted on. */

/* ------------------------------------------- Remove abandoned commerce UI */

#cartDrawer,#cartDrawerOverlay,.nt-cart-drawer-v6,
.header-cart-btn,.cart-count,.nt-header-icon.header-cart-btn,
.woocommerce-cart-form,.cart-collaterals,.wc-proceed-to-checkout,
.added_to_cart,
.woocommerce div.product form.cart,.woocommerce-variation-add-to-cart,
.single_add_to_cart_button,.single-add-to-cart-ajax-trigger,
.nt-mobile-purchase-bar,
.woocommerce-MyAccount-navigation,
.woocommerce .quantity,.woocommerce-grouped-product-list,
.mobile-commerce-dock a[href*="/cart"],
.nt-mobile-menu-v6 a[href*="/cart"],
.nt-mobile-menu-v6 a[href*="/checkout"]{
	display:none  !important;
}

/* ------------------------------------------------------ Buy affordances */

/* Inherit the theme's own primary button so nothing looks foreign. */
.acp-buy-link{
	min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;
	padding:0 24px;border:1px solid var(--nt-orange,#ff4d16);border-radius:var(--nt-pill,999px);
	background:var(--nt-orange,#ff4d16);color:#fff  !important;
	font-size:13px;font-weight:800;letter-spacing:-.01em;text-decoration:none  !important;
	box-shadow:0 10px 30px color-mix(in srgb,var(--nt-orange,#ff4d16) 16%,transparent);
	transition:transform 200ms cubic-bezier(.2,.7,.2,1),box-shadow 200ms;
}
.acp-buy-link:hover{transform:translateY(-2px);box-shadow:0 14px 34px color-mix(in srgb,var(--nt-orange,#ff4d16) 22%,transparent);}

.acp-buybox{
	display:grid;gap:16px;margin-top:26px;padding-block:24px;
	border-top:1px solid var(--nt-border,rgba(28, 20, 16, 0.12));
	border-bottom:1px solid var(--nt-border,rgba(28, 20, 16, 0.12));
}
.acp-buybox__price{font-size:32px;font-weight:800;letter-spacing:-.05em;color:var(--nt-text,#1C1410);}
.acp-buybox__price del{color:var(--nt-muted,#6B5E54);font-size:.5em;font-weight:500;margin-right:9px;}
.acp-buybox__price ins{text-decoration:none;}
.acp-buybox__note{color:var(--nt-text-2,#3F352E);font-size:12px;}
.acp-buybox__trust{
	display:grid;grid-template-columns:repeat(2,1fr);gap:8px;
	margin:0;padding:0;list-style:none;
}
.acp-buybox__trust li{
	min-height:44px;display:flex;align-items:center;gap:9px;padding:0 12px;
	border:1px solid var(--nt-border-subtle,rgba(28, 20, 16, 0.08));border-radius:12px;
	color:var(--nt-muted,#6B5E54);font-size:10px;
}
.acp-buybox__trust i{color:var(--nt-emerald,#10b981);font-style:normal;font-weight:800;}

/* Loop card signals that replace the add-to-cart button */
.acp-sf-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px;}
.acp-sf-stock,.acp-sf-delivery{
	display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 9px;
	border:1px solid var(--nt-border-subtle,rgba(28, 20, 16, 0.08));border-radius:var(--nt-pill,999px);
	font-size:8px;font-weight:760;letter-spacing:.08em;text-transform:uppercase;
}
.acp-sf-stock{color:var(--nt-emerald,#10b981);}
.acp-sf-stock::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;}
.acp-sf-stock.is-out{color:var(--nt-danger,#ef4444);}
.acp-sf-delivery{color:var(--nt-muted,#6B5E54);}

/* Breadcrumbs */
.acp-crumbs ol{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;font-size:10px;}
.acp-crumbs li{display:flex;align-items:center;gap:8px;color:var(--nt-muted,#6B5E54);}
.acp-crumbs li:not(:last-child)::after{content:"/";opacity:.4;}
.acp-crumbs a:hover{color:#1C1410;}
.acp-crumbs li[aria-current]{color:var(--nt-text,#1C1410);}

/* Panel entry in the menu */
.acp-menu-panel > a{
	display:inline-flex  !important;align-items:center;gap:8px;
	min-height:40px;padding:0 16px  !important;border-radius:var(--nt-pill,999px)  !important;
	background:var(--nt-orange,#ff4d16)  !important;color:#fff  !important;font-weight:800  !important;
}

/* Floating balance / sign-in button */
.acp-sf-fab{
	position:fixed;z-index:9050;right:20px;bottom:20px;
	min-height:48px;display:inline-flex;align-items:center;gap:11px;
	padding:0 18px 0 12px;border:1px solid rgba(28, 20, 16, 0.132);border-radius:var(--nt-pill,999px);
	background:rgba(255, 255, 255, 0.86);color:var(--nt-text,#1C1410)  !important;text-decoration:none  !important;
	backdrop-filter:blur(22px) saturate(140%);box-shadow:0 16px 52px rgba(28, 20, 16, 0.119);
	transition:transform 200ms cubic-bezier(.2,.7,.2,1),border-color 200ms;
}
.acp-sf-fab:hover{transform:translateY(-2px);border-color:rgba(28, 20, 16, 0.2);}
.acp-sf-fab svg{width:19px;height:19px;fill:none;stroke:var(--nt-orange,#ff4d16);stroke-width:1.8;stroke-linecap:round;}
.acp-sf-fab small{display:block;color:var(--nt-muted,#6B5E54);font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;line-height:1.2;}
.acp-sf-fab strong{display:block;font-size:14px;font-weight:800;letter-spacing:-.02em;line-height:1.2;}

/* Sticky buy bar on phones */
.acp-sf-buybar{
	position:fixed;z-index:9060;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));
	display:none;align-items:center;justify-content:space-between;gap:14px;
	padding:8px 8px 8px 18px;border:1px solid rgba(28, 20, 16, 0.192);border-radius:22px;
	background:rgba(255, 255, 255, 0.94);backdrop-filter:blur(22px);box-shadow:0 20px 50px rgba(28, 20, 16, 0.12);
}
.acp-sf-buybar__info{display:grid;gap:2px;min-width:0;}
.acp-sf-buybar__info strong{font-size:18px;font-weight:800;letter-spacing:-.04em;}
.acp-sf-buybar__info strong del{font-size:.6em;color:var(--nt-muted,#6B5E54);font-weight:500;margin-right:5px;}
.acp-sf-buybar__info strong ins{text-decoration:none;}
.acp-sf-buybar__info small{color:var(--nt-muted,#6B5E54);font-size:10px;}
.acp-sf-buybar__btn{
	flex:0 0 auto;min-height:48px;display:inline-flex;align-items:center;justify-content:center;
	padding:0 22px;border-radius:var(--nt-pill,999px);
	background:var(--nt-orange,#ff4d16);color:#fff  !important;
	font-size:13px;font-weight:800;text-decoration:none  !important;
}

@media (max-width:860px){
	.acp-sf-buybar{display:flex;}
	.acp-sf-fab.is-hidden-mobile{display:none;}
	.acp-sf-fab{right:12px;bottom:calc(84px + env(safe-area-inset-bottom));}
	body.single-product{padding-bottom:88px;}
	.acp-buybox__trust{grid-template-columns:1fr;}
}


/* v2.1.2: the public product summary must keep its panel purchase CTA visible.
   Only WooCommerce's native cart form is suppressed; the theme's panel link is not. */
.nt-native-purchase-form{display:block !important;margin-top:20px;}
.nt-native-purchase-form .nt-panel-purchase-link{
  width:100%;min-height:52px;display:inline-flex !important;align-items:center;justify-content:center;gap:10px;
  padding:0 22px;border:1px solid var(--nt-orange,#ff4d16) !important;border-radius:var(--nt-pill,999px) !important;
  background:var(--nt-orange,#ff4d16) !important;color:#fff !important;text-decoration:none !important;
  font-size:13px;font-weight:800;line-height:1;box-shadow:0 12px 32px rgba(255,77,22,.16);
}
.nt-native-purchase-form .nt-panel-purchase-link:hover{transform:translateY(-1px);box-shadow:0 16px 38px rgba(255,77,22,.22);}

/* 3.18.0 optional SEO supporting copy — intentionally neutral so the theme design stays unchanged. */
.acp-ai-seo-copy{max-width:1180px;margin:24px auto;padding:20px 22px;border:1px solid rgba(15,23,42,.10);border-radius:16px;background:var(--surface,#fff);color:inherit;line-height:1.72;}
.acp-ai-seo-copy p{margin:0 0 12px;}.acp-ai-seo-copy p:last-child{margin-bottom:0;}

/* 3.20.1 — source-grounded product content */
.acp-ai-seo-copy__head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid rgba(15,23,42,.08);}
.acp-ai-seo-copy__head strong{font-size:18px;line-height:1.25;}
.acp-ai-seo-copy__head small{color:#6B5E54;font-size:12px;white-space:nowrap;}
.acp-ai-seo-copy h2,.acp-ai-seo-copy h3{margin:20px 0 8px;line-height:1.3;}
.acp-ai-seo-copy h2:first-of-type,.acp-ai-seo-copy h3:first-of-type{margin-top:0;}
.acp-ai-seo-copy ul,.acp-ai-seo-copy ol{margin:10px 0 14px 20px;}
@media(max-width:640px){.acp-ai-seo-copy__head{align-items:flex-start;flex-direction:column;gap:4px;}.acp-ai-seo-copy__head small{white-space:normal;}}

/* 4.4.1 — single product image refinement.
   Keep the theme's product layout intact; only reduce the primary gallery image
   so the product summary has more visual breathing room. */
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a > img,
body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > img{
	width:74%  !important;
	max-width:520px  !important;
	height:auto  !important;
	margin-left:auto  !important;
	margin-right:auto  !important;
	object-fit:contain;
}
@media (max-width:1024px){
	body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a > img,
	body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > img{
		width:82%  !important;
		max-width:480px  !important;
	}
}
@media (max-width:640px){
	body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > a > img,
	body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image > img{
		width:90%  !important;
		max-width:420px  !important;
	}
}
