/* Apron Stitch Shop Style */
:root {
	--as-brown: #3B2418;
	--as-tan: #A8743F;
	--as-cream: #F6F0E7;
	--as-charcoal: #1E1E1E;
	--as-white: #FFFFFF;
	--as-line: #E4D9CA;
	--as-muted: #6B5D52;
	--as-sale: #9E2B25;
	--as-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
	--as-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--as-radius: 10px;
	--as-container: 1280px;
	--as-cols: 4;
	--as-cols-m: 2;
}

.as-shop { color: var(--as-charcoal); font-family: var(--as-font-body); }
.as-shop h1, .as-shop h2, .as-shop h3, .as-faq h2, .as-faq h3 { font-family: var(--as-font-heading); color: var(--as-brown); }
.as-shop-container { width: 100%; max-width: var(--as-container); margin: 0 auto; padding: 24px 20px 64px; box-sizing: border-box; }

/* Buttons (also restyle WooCommerce buttons on our screens) */
.as-btn, .as-shop .button, .as-shop button.button, .as-shop a.button, .as-shop input.button,
.as-shop .wc-block-components-button:not(.is-link), .as-shop .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
	background: var(--as-brown); color: var(--as-white);
	font: 600 15px/1.1 var(--as-font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.as-btn:hover, .as-btn:focus-visible, .as-shop .button:hover, .as-shop .button:focus-visible,
.as-shop .wc-block-components-button:not(.is-link):hover, .as-shop .wp-element-button:hover { background: var(--as-charcoal); color: var(--as-white); }
.as-shop .button.alt, .as-shop .single_add_to_cart_button, .as-shop .checkout-button, .as-shop #place_order,
.as-shop .wc-block-cart__submit-button, .as-shop .wc-block-components-checkout-place-order-button { background: var(--as-tan); color: var(--as-white); }
.as-shop .button.alt:hover, .as-shop .single_add_to_cart_button:hover, .as-shop .checkout-button:hover, .as-shop #place_order:hover,
.as-shop .wc-block-cart__submit-button:hover, .as-shop .wc-block-components-checkout-place-order-button:hover { background: var(--as-brown); }
.as-btn--outline { background: transparent; color: var(--as-brown); box-shadow: inset 0 0 0 1.5px var(--as-brown); }
.as-btn--outline:hover { background: var(--as-brown); color: var(--as-white); }
.as-shop .button.disabled, .as-shop .button:disabled { opacity: .5; cursor: not-allowed; }
.as-shop :focus-visible { outline: 2px solid var(--as-tan); outline-offset: 2px; }
.as-shop input[type="text"], .as-shop input[type="email"], .as-shop input[type="tel"], .as-shop input[type="number"], .as-shop input[type="password"], .as-shop select, .as-shop textarea {
	border: 1px solid var(--as-line); border-radius: 8px; background: var(--as-white); color: var(--as-charcoal); font: 400 16px/1.4 var(--as-font-body); min-height: 46px; padding: 10px 14px; box-sizing: border-box;
}
.as-shop input:focus, .as-shop select:focus, .as-shop textarea:focus { outline: 2px solid var(--as-tan); outline-offset: 0; border-color: var(--as-tan); }

/* Breadcrumb */
.as-breadcrumb { margin: 0 0 14px; font-size: 13.5px; color: var(--as-muted); }
.as-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.as-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #BFB2A3; }
.as-breadcrumb a { color: var(--as-muted); text-decoration: none; }
.as-breadcrumb a:hover { color: var(--as-tan); }
.as-breadcrumb .rank-math-breadcrumb p { margin: 0; }
.as-breadcrumb .separator { margin: 0 6px; color: #BFB2A3; }

/* Archive header */
.as-archive__header { margin-bottom: 20px; }
.as-archive__title { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
.as-archive__intro { max-width: 860px; color: #3d3632; font-size: 16.5px; line-height: 1.65; }
.as-archive__intro p { margin: 0 0 .6em; }
.as-archive__intro a { color: var(--as-brown); text-decoration: underline; text-decoration-color: var(--as-tan); text-underline-offset: 3px; }
.as-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.as-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid var(--as-line); border-radius: 999px; background: var(--as-white); color: var(--as-brown); font: 500 14px/1 var(--as-font-body); text-decoration: none; transition: all .2s; }
.as-chip:hover { border-color: var(--as-tan); background: var(--as-cream); color: var(--as-brown); }
.as-archive__children { margin-top: 18px; }
.as-chips__title { font-size: 22px; margin: 0 0 14px; }
.as-archive__related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--as-line); }

/* Toolbar */
.as-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 20px; padding: 10px 0; border-top: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); }
.as-toolbar .woocommerce-result-count { margin: 0; color: var(--as-muted); font-size: 14px; }
.as-toolbar .woocommerce-ordering { margin: 0; }
.as-toolbar select { min-height: 40px; padding: 6px 36px 6px 12px; font-size: 14px; }

/* Product grid */
.as-archive ul.products, .as-shop .related ul.products, .as-shop .upsells ul.products, .as-shop .cross-sells ul.products {
	display: grid !important; grid-template-columns: repeat(var(--as-cols), minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none;
}
.as-archive ul.products::before, .as-archive ul.products::after, .as-shop .related ul.products::before, .as-shop .related ul.products::after { display: none !important; }
.as-archive ul.products li.product, .as-shop .related ul.products li.product, .as-shop .upsells ul.products li.product, .as-shop .cross-sells ul.products li.product {
	position: relative; width: auto !important; margin: 0 !important; padding: 0; float: none !important; display: flex; flex-direction: column; background: transparent; text-align: left;
}
.as-shop ul.products li.product img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--as-radius); background: var(--as-cream); margin: 0 0 14px; transition: transform .5s ease; }
.as-shop ul.products li.product .woocommerce-loop-image-link, .as-shop ul.products li.product a:first-child { display: block; overflow: hidden; border-radius: var(--as-radius); }
.as-shop ul.products li.product:hover img { transform: scale(1.03); }
.as-shop ul.products li.product .woocommerce-loop-product__title { margin: 0 0 6px; padding: 0; font: 600 17px/1.35 var(--as-font-heading); color: var(--as-charcoal); }
.as-shop ul.products li.product .woocommerce-loop-product__title a { color: inherit; text-decoration: none; }
.as-shop ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--as-tan); }
.as-shop ul.products li.product .price { display: block; margin: 0 0 12px; color: var(--as-brown); font: 600 16px/1.3 var(--as-font-body); }
.as-shop ul.products li.product .price del { color: var(--as-muted); font-weight: 400; margin-right: 6px; opacity: .8; }
.as-shop ul.products li.product .price ins { text-decoration: none; color: var(--as-sale); }
.as-shop ul.products li.product .star-rating { margin: 0 0 8px; font-size: 13px; color: var(--as-tan); }
.as-shop ul.products li.product .button { margin-top: auto; min-height: 42px; padding: 0 18px; font-size: 14px; align-self: flex-start; }
.as-shop span.onsale { position: absolute; top: 12px; left: 12px; z-index: 2; min-height: 0; min-width: 0; padding: 6px 10px; border-radius: 999px; background: var(--as-sale); color: var(--as-white); font: 700 12px/1 var(--as-font-body); letter-spacing: .03em; text-transform: uppercase; }
.as-shop ul.products li.product .added_to_cart { display: inline-block; margin-top: 8px; color: var(--as-brown); font-weight: 600; font-size: 14px; }

/* Infinite scroll + pagination */
.as-grid { position: relative; }
.as-grid__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.as-grid.is-loading::after { content: ""; display: block; width: 32px; height: 32px; margin: 28px auto 0; border: 3px solid var(--as-line); border-top-color: var(--as-tan); border-radius: 50%; animation: as-spin .8s linear infinite; }
@keyframes as-spin { to { transform: rotate(360deg); } }
.as-grid__more { display: flex; margin: 28px auto 0; }
.as-grid__more[hidden] { display: none; }
.as-grid__pagination { margin-top: 36px; }
.as-grid.is-infinite .as-grid__pagination { opacity: .85; }
.as-shop .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; list-style: none; }
.as-shop .woocommerce-pagination ul.page-numbers li { border: 0; float: none; }
.as-shop .woocommerce-pagination .page-numbers a, .as-shop .woocommerce-pagination .page-numbers span { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--as-line); border-radius: 999px; color: var(--as-brown); text-decoration: none; font-weight: 600; box-sizing: border-box; }
.as-shop .woocommerce-pagination .page-numbers .current { background: var(--as-brown); border-color: var(--as-brown); color: var(--as-white); }
.as-shop .woocommerce-pagination .page-numbers a:hover { border-color: var(--as-tan); background: var(--as-cream); }

/* Long description */
.as-archive__long { margin-top: 56px; padding: 40px 0 0; border-top: 1px solid var(--as-line); }
.as-prose { max-width: 860px; font-size: 16.5px; line-height: 1.75; color: #2c2724; }
.as-prose h2 { margin: 1.6em 0 .5em; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; }
.as-prose h2:first-child { margin-top: 0; }
.as-prose h3 { margin: 1.4em 0 .4em; font-size: 21px; }
.as-prose p, .as-prose ul, .as-prose ol { margin: 0 0 1em; }
.as-prose ul, .as-prose ol { padding-left: 1.3em; }
.as-prose li { margin-bottom: .35em; }
.as-prose a { color: var(--as-brown); text-decoration: underline; text-decoration-color: var(--as-tan); text-underline-offset: 3px; }
.as-prose img { max-width: 100%; height: auto; border-radius: var(--as-radius); }
.as-prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 15px; display: block; overflow-x: auto; }
.as-prose th, .as-prose td { padding: 10px 14px; border: 1px solid var(--as-line); text-align: left; }
.as-prose thead th { background: var(--as-cream); color: var(--as-brown); font-weight: 600; }
.as-prose blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 3px solid var(--as-tan); background: var(--as-cream); }

/* FAQ accordion */
.as-faq { max-width: 860px; margin: 56px 0 0; }
.as-faq__title { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 32px); }
.as-faq__item { border-bottom: 1px solid var(--as-line); }
.as-faq__item:first-child { border-top: 1px solid var(--as-line); }
.as-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; }
.as-faq__q::-webkit-details-marker { display: none; }
.as-faq__q h3 { margin: 0; font: 600 17.5px/1.4 var(--as-font-body); color: var(--as-charcoal); }
.as-faq__q:hover h3 { color: var(--as-brown); }
.as-faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--as-cream); }
.as-faq__icon::before, .as-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--as-brown); border-radius: 2px; transition: transform .2s; }
.as-faq__icon::after { transform: rotate(90deg); }
details[open] > summary .as-faq__icon::after { transform: rotate(0); }
.as-faq__a { padding: 0 2px 18px; color: #3d3632; line-height: 1.7; }
.as-faq__a p:last-child { margin-bottom: 0; }

/* Empty state */
.as-empty { padding: 48px 24px; border-radius: var(--as-radius); background: var(--as-cream); text-align: center; }

/* ---------- Single product ---------- */
.as-shop.single-product div.product { position: relative; }
.as-shop.single-product .product_title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 10px; }
.as-shop.single-product .summary .price { color: var(--as-brown); font: 600 24px/1.3 var(--as-font-body); margin: 0 0 16px; }
.as-shop.single-product .summary .price del { color: var(--as-muted); font-weight: 400; font-size: .8em; }
.as-shop.single-product .summary .price ins { text-decoration: none; color: var(--as-sale); }
.as-shop.single-product .woocommerce-product-details__short-description { color: #3d3632; font-size: 16px; line-height: 1.65; margin-bottom: 20px; }
.as-shop.single-product .woocommerce-product-gallery { border-radius: var(--as-radius); }
.as-shop.single-product .woocommerce-product-gallery__image img, .as-shop.single-product .woocommerce-product-gallery img { border-radius: var(--as-radius); background: var(--as-cream); }
.as-shop.single-product .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 12px 0 0 !important; padding: 0; }
.as-shop.single-product .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.as-shop.single-product .flex-control-thumbs img { border-radius: 8px; opacity: .6; border: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.as-shop.single-product .flex-control-thumbs img.flex-active, .as-shop.single-product .flex-control-thumbs img:hover { opacity: 1; border-color: var(--as-tan); }
.as-shop.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 0 0 18px; }
.as-shop.single-product form.variations_form { display: block; }
.as-shop.single-product form.cart .quantity input.qty { width: 84px; min-height: 52px; text-align: center; border-radius: 999px; }
.as-shop.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 16px; }
.as-shop.single-product table.variations { width: 100%; margin: 0 0 14px; border: 0; }
.as-shop.single-product table.variations th, .as-shop.single-product table.variations td { display: block; padding: 0 0 6px; border: 0; text-align: left; background: none; }
.as-shop.single-product table.variations label { font-weight: 600; color: var(--as-brown); }
.as-shop.single-product table.variations select { width: 100%; }
.as-shop.single-product .reset_variations { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--as-muted); }
.as-shop.single-product .woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; }
.as-shop.single-product .woocommerce-variation-price .price { font-size: 20px; }
.as-shop.single-product .stock { font-weight: 600; font-size: 14px; color: #2e7d32; }
.as-shop.single-product .stock.out-of-stock { color: var(--as-sale); }
.as-shop.single-product .product_meta { font-size: 13.5px; color: var(--as-muted); border-top: 1px solid var(--as-line); padding-top: 14px; margin-top: 18px; }
.as-shop.single-product .product_meta a { color: var(--as-brown); }

/* Trust badges */
.as-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.as-badge { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--as-radius); background: var(--as-cream); }
.as-badge .as-ico { flex: none; color: var(--as-tan); }
.as-badge strong { display: block; font-size: 14px; color: var(--as-brown); line-height: 1.3; }
.as-badge small { display: block; font-size: 12.5px; color: var(--as-muted); line-height: 1.35; margin-top: 2px; }

/* Tabs as accordions */
.as-tabs { clear: both; max-width: 900px; margin: 48px 0 0; }
.as-tabs__item { border-bottom: 1px solid var(--as-line); }
.as-tabs__item:first-child { border-top: 1px solid var(--as-line); }
.as-tabs__title { display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; cursor: pointer; list-style: none; font: 600 19px/1.3 var(--as-font-heading); color: var(--as-brown); }
.as-tabs__title::-webkit-details-marker { display: none; }
.as-tabs__panel { padding: 0 2px 24px; line-height: 1.7; }
.as-tabs__panel > h2:first-child { display: none; } /* WooCommerce repeats the tab title inside the panel. */
.as-tabs__panel table.shop_attributes { width: 100%; border-collapse: collapse; }
.as-tabs__panel table.shop_attributes th, .as-tabs__panel table.shop_attributes td { padding: 10px 12px; border-bottom: 1px solid var(--as-line); text-align: left; font-style: normal; }
.as-tabs__panel table.shop_attributes th { width: 35%; color: var(--as-brown); }
.as-shop.single-product #product-faq { margin-top: 48px; }
.as-shop.single-product .related, .as-shop.single-product .upsells { clear: both; margin-top: 64px; }
.as-shop.single-product .related > h2, .as-shop.single-product .upsells > h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 24px; }

/* Sticky add to cart (mobile) */
.as-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--as-white); border-top: 1px solid var(--as-line); box-shadow: 0 -8px 24px rgba(30, 30, 30, .08); transform: translateY(110%); transition: transform .25s ease; }
.as-sticky-atc.is-visible { transform: none; }
.as-sticky-atc__info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.as-sticky-atc__img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.as-sticky-atc__name { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
.as-sticky-atc__price { margin: 0; font-size: 14px; color: var(--as-brown); font-weight: 600; }
.as-sticky-atc__price del { display: none; }
.as-sticky-atc__btn { min-height: 46px; padding: 0 18px; background: var(--as-tan); flex: none; }
@media (min-width: 769px) { .as-sticky-atc { display: none !important; } }
@media (max-width: 768px) { .has-as-sticky .scroll-up-wrap, .has-as-sticky #kt-scroll-up { bottom: 80px !important; } }

/* ---------- Cart (classic) ---------- */
.as-shop.woocommerce-cart table.shop_table { border: 1px solid var(--as-line); border-radius: var(--as-radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.as-shop.woocommerce-cart table.shop_table th { background: var(--as-cream); color: var(--as-brown); font-weight: 600; padding: 14px; }
.as-shop.woocommerce-cart table.shop_table td { padding: 14px; border-top: 1px solid var(--as-line); }
.as-shop.woocommerce-cart table.cart img { width: 72px; border-radius: 8px; }
.as-shop.woocommerce-cart table.cart .product-name a { color: var(--as-charcoal); font-weight: 600; text-decoration: none; }
.as-shop.woocommerce-cart a.remove { color: var(--as-muted) !important; border-radius: 50%; }
.as-shop.woocommerce-cart a.remove:hover { background: var(--as-sale); color: var(--as-white) !important; }
.as-shop .cart-collaterals .cart_totals, .as-shop .woocommerce-checkout-review-order { padding: 24px; border-radius: var(--as-radius); background: var(--as-cream); }
.as-shop .cart_totals h2 { font-size: 24px; margin-top: 0; }
.as-shop .coupon input.input-text { min-width: 180px; }

/* ---------- Checkout (classic) ---------- */
.as-shop.woocommerce-checkout h3, .as-shop.woocommerce-checkout #order_review_heading { font-size: 24px; }
.as-shop .woocommerce-billing-fields label, .as-shop .woocommerce-shipping-fields label, .as-shop .woocommerce-additional-fields label { font-weight: 600; font-size: 14px; color: var(--as-brown); }
.as-shop #payment { background: var(--as-white); border-radius: var(--as-radius); border: 1px solid var(--as-line); }
.as-shop #payment ul.payment_methods { border-bottom-color: var(--as-line); }
.as-shop #payment div.payment_box { background: var(--as-cream); color: var(--as-charcoal); }
.as-shop #payment div.payment_box::before { border-bottom-color: var(--as-cream); }
.as-shop .woocommerce-info, .as-shop .woocommerce-message { border-top-color: var(--as-tan); background: var(--as-cream); color: var(--as-charcoal); }
.as-shop .woocommerce-info::before, .as-shop .woocommerce-message::before { color: var(--as-tan); }
.as-shop .woocommerce-error { border-top-color: var(--as-sale); }

/* ---------- Cart & Checkout blocks ---------- */
.as-shop .wc-block-cart, .as-shop .wc-block-checkout { font-family: var(--as-font-body); color: var(--as-charcoal); }
.as-shop .wc-block-cart .wc-block-cart__totals-title, .as-shop .wc-block-components-title, .as-shop .wc-block-components-checkout-step__title { font-family: var(--as-font-heading) !important; color: var(--as-brown); }
.as-shop .wc-block-cart-items { border-color: var(--as-line) !important; }
.as-shop .wc-block-cart-items__header { color: var(--as-muted); }
.as-shop .wc-block-cart-item__image img { border-radius: 8px; }
.as-shop .wc-block-components-product-name { color: var(--as-charcoal) !important; font-weight: 600; text-decoration: none; }
.as-shop .wc-block-components-sidebar .wc-block-components-totals-wrapper, .as-shop .wp-block-woocommerce-cart-totals-block, .as-shop .wp-block-woocommerce-checkout-order-summary-block { background: var(--as-cream); border-radius: var(--as-radius); border-color: var(--as-line) !important; }
.as-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .as-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { color: var(--as-brown); font-weight: 700; }
.as-shop .wc-block-components-text-input input, .as-shop .wc-block-components-combobox .wc-block-components-combobox-control input, .as-shop .wc-blocks-components-select .wc-blocks-components-select__select { border-color: var(--as-line) !important; border-radius: 8px !important; }
.as-shop .wc-block-components-text-input.is-active input:focus, .as-shop .wc-block-components-text-input input:focus { box-shadow: 0 0 0 1px var(--as-tan) !important; border-color: var(--as-tan) !important; }
.as-shop .wc-block-components-radio-control__option-checked, .as-shop .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--as-tan) !important; }
.as-shop .wc-block-components-radio-control__input:checked { border-color: var(--as-tan); background: var(--as-tan); }
.as-shop .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--as-tan); border-color: var(--as-tan); }
.as-shop .wc-block-components-sale-badge { color: var(--as-sale); border-color: var(--as-sale); }
.as-shop .wc-block-components-button:not(.is-link) { border-radius: 999px !important; }
.as-shop .wc-block-components-quantity-selector { border-radius: 999px; border-color: var(--as-line); }

/* ---------- My account ---------- */
.as-shop.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border-radius: var(--as-radius); background: var(--as-cream); }
.as-shop.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--as-charcoal); text-decoration: none; font-weight: 500; }
.as-shop.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .as-shop.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--as-white); color: var(--as-brown); }
.as-shop.woocommerce-account .woocommerce-MyAccount-content { line-height: 1.7; }
.as-shop.woocommerce-account table.shop_table { border-radius: var(--as-radius); border-color: var(--as-line); }
.as-shop.woocommerce-account .woocommerce-form-login, .as-shop.woocommerce-account .woocommerce-form-register { padding: 28px; border: 1px solid var(--as-line); border-radius: var(--as-radius); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.as-archive ul.products, .as-shop .related ul.products, .as-shop .upsells ul.products { grid-template-columns: repeat(min(var(--as-cols), 3), minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.as-shop-container { padding: 16px 16px 48px; }
	.as-archive ul.products, .as-shop .related ul.products, .as-shop .upsells ul.products, .as-shop .cross-sells ul.products { grid-template-columns: repeat(var(--as-cols-m), minmax(0, 1fr)); gap: 24px 14px; }
	.as-shop ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
	.as-shop ul.products li.product .button { width: 100%; padding: 0 10px; }
	.as-archive__intro { font-size: 15.5px; }
	.as-badges { grid-template-columns: 1fr 1fr; }
	.as-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
	.as-chip { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.as-shop ul.products li.product img, .as-sticky-atc, .as-faq__icon::after { transition: none; }
	.as-grid.is-loading::after { animation: none; }
}

/* ---- Theme (Kadence) overrides ---- */
.as-shop ul.products li.product.content-bg, .as-shop ul.products li.product .product-details.content-bg { background: transparent; box-shadow: none; }
.as-shop ul.products li.product .product-details { padding: 0 2px; }
.as-shop ul.products li.product .product-excerpt:empty { display: none; }
.as-shop ul.products li.product .woocommerce-loop-image-link img { margin-bottom: 0; }
.as-shop ul.products li.product .woocommerce-loop-image-link { margin-bottom: 14px; }
.as-shop .as-tabs.woocommerce-tabs { border: 0; padding: 0; background: none; box-shadow: none; }
.as-shop.single-product div.product form.cart .single_add_to_cart_button, .as-shop.single-product div.product form.cart .button { background: var(--as-tan); color: var(--as-white); border-radius: 999px; box-shadow: none; }
.as-shop.single-product div.product form.cart .single_add_to_cart_button:hover { background: var(--as-brown); }
.as-shop .as-faq summary, .as-shop .as-tabs summary, .as-faq summary { background: none; }
