/* SnusDirect design system — loaded after Hello Elementor + WooCommerce styles. */
:root {
	--sd-ink: #0f1d2b;
	--sd-text: #1f2a37;
	--sd-muted: #5b6776;
	--sd-line: #e2e8ee;
	--sd-bg: #ffffff;
	--sd-soft: #f3f6f9;
	--sd-brand: #0b4f6c;
	--sd-brand-dark: #083b51;
	--sd-brand-tint: #e6f1f6;
	--sd-accent: #f2b33d;
	--sd-danger: #b42318;
	--sd-ok: #067647;
	--sd-radius: 14px;
	--sd-wrap: 1240px;
	--sd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sd-font); color: var(--sd-text); background: var(--sd-bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--sd-ink); line-height: 1.2; font-weight: 750; letter-spacing: -0.01em; }
a { color: var(--sd-brand); }
a:hover { color: var(--sd-brand-dark); }
:focus-visible { outline: 3px solid var(--sd-accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.sd-wrap { max-width: var(--sd-wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Hello Elementor content wrapper: use our width everywhere */
.site-main, body:not([class*=elementor-page-]) .site-main { max-width: var(--sd-wrap); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; width: 100%; box-sizing: border-box; }
.site-main .page-content, .site-main .page-header { max-width: none; padding-left: 0; padding-right: 0; }
/* Hello Elementor gives .alignwide negative side margins; keep WooCommerce cart/checkout blocks inside the viewport */
.page-content .alignwide, .page-content .alignfull, .wp-block-woocommerce-cart.alignwide, .wp-block-woocommerce-checkout.alignwide { margin-left: 0 !important; margin-right: 0 !important; max-width: 100%; width: 100%; box-sizing: border-box; }
body.home .site-main, body.home .page-content { max-width: none !important; padding: 0 !important; }
body.home .page-content > p:empty { display: none; }
.home .page-header { display: none; }
.page-header .entry-title, .woocommerce-products-header__title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 28px 0 12px; }

/* Buttons */
.sd-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link), .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--sd-brand);
	background: var(--sd-brand); color: #fff !important; font-weight: 650; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.sd-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--sd-brand-dark); border-color: var(--sd-brand-dark); color: #fff; }
.sd-btn--ghost { background: transparent; color: var(--sd-brand) !important; }
.sd-btn--ghost:hover { background: var(--sd-brand-tint); color: var(--sd-brand-dark) !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--sd-brand); }
.woocommerce .button.disabled, .woocommerce button.button:disabled { opacity: .55; }

/* Top bar + header */
.sd-topbar { background: var(--sd-ink); color: #dfe7ee; font-size: 13px; text-align: center; padding: 7px 0; }
.sd-topbar strong { color: #fff; }
.sd-header { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--sd-line); }
.admin-bar .sd-header { top: 32px; }
.sd-header__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions"; align-items: center; gap: 24px; min-height: 72px; }
.sd-logo { grid-area: logo; font-size: 26px; font-weight: 800; color: var(--sd-ink); text-decoration: none; letter-spacing: -0.03em; margin: 0; }
.sd-logo span { color: var(--sd-brand); }
.sd-logo:hover { color: var(--sd-ink); }
.sd-logo--light { color: #fff; }
.sd-logo--light span { color: #7cc4e0; }
.sd-menu-toggle { display: none; grid-area: toggle; background: none; border: 0; padding: 10px; color: var(--sd-ink); min-width: 44px; min-height: 44px; }
.sd-icon { display: block; flex: none; }

.sd-search { grid-area: search; position: relative; display: flex; max-width: 640px; width: 100%; justify-self: center; }
.sd-search input[type=search] { width: 100%; height: 48px; border: 1.5px solid var(--sd-line); border-radius: 999px; padding: 0 56px 0 20px; font-size: 16px; background: var(--sd-soft); color: var(--sd-text); }
.sd-search input[type=search]:focus { border-color: var(--sd-brand); background: #fff; outline: none; box-shadow: 0 0 0 3px var(--sd-brand-tint); }
.sd-search__btn { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sd-brand); color: #fff; display: grid; place-items: center; padding: 0; }
.sd-search__btn .sd-icon { width: 18px; height: 18px; }
.sd-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--sd-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(15, 29, 43, .14); z-index: 1000; overflow: hidden; }
.sd-suggest a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; text-decoration: none; color: var(--sd-text); }
.sd-suggest a:hover, .sd-suggest a[aria-selected=true] { background: var(--sd-soft); }
.sd-suggest img { width: 48px; height: 48px; object-fit: contain; background: var(--sd-soft); border-radius: 8px; }
.sd-suggest .sd-suggest__price { font-weight: 650; color: var(--sd-ink); font-size: 14px; }
.sd-suggest .sd-suggest__all { display: block; text-align: center; font-weight: 650; color: var(--sd-brand); border-top: 1px solid var(--sd-line); padding: 10px; }
.sd-suggest .sd-suggest__empty { padding: 12px 16px; color: var(--sd-muted); margin: 0; }

.sd-actions { grid-area: actions; display: flex; gap: 6px; }
.sd-action { position: relative; display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 999px; color: var(--sd-ink); text-decoration: none; font-weight: 600; font-size: 14px; min-height: 44px; }
.sd-action:hover { background: var(--sd-soft); color: var(--sd-ink); }
.sd-cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--sd-accent); color: var(--sd-ink); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.sd-cart-count[data-count="0"] { background: var(--sd-line); }

.sd-nav { border-top: 1px solid var(--sd-line); }
.sd-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.sd-menu > li { position: relative; }
.sd-menu a { display: block; padding: 12px 14px; color: var(--sd-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.sd-menu a:hover, .sd-menu .current-menu-item > a { color: var(--sd-brand); }
.sd-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--sd-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(15, 29, 43, .12); display: none; z-index: 950; }
.sd-menu .sub-menu a { padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.sd-menu .sub-menu a:hover { background: var(--sd-soft); }
.sd-menu li:hover > .sub-menu, .sd-menu li:focus-within > .sub-menu { display: block; }

/* Footer */
.sd-footer { background: var(--sd-ink); color: #c8d3dd; margin-top: 64px; padding: 48px 0 24px; font-size: 15px; }
.sd-footer a { color: #fff; }
.sd-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.sd-footer__title { color: #fff; font-size: 16px; margin: 0 0 12px; }
.sd-footer__links { list-style: none; padding: 0; margin: 0; }
.sd-footer__links li { margin: 0 0 8px; }
.sd-footer__links a { color: #c8d3dd; text-decoration: none; }
.sd-footer__links a:hover { color: #fff; text-decoration: underline; }
.sd-footer__email { display: flex; align-items: center; gap: 8px; }
.sd-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; font-size: 13px; }
.sd-warning { background: #fff; color: #000; padding: 10px 14px; border-radius: 6px; display: inline-block; }

/* Sections */
.sd-section { margin: 56px 0; }
.sd-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sd-section__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.sd-more { font-weight: 650; text-decoration: none; white-space: nowrap; }
.sd-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--sd-brand); margin: 0 0 12px; }

/* Hero */
.sd-hero { background: linear-gradient(135deg, #eaf3f8 0%, #f7fafc 55%, #fdf6e7 100%); border-bottom: 1px solid var(--sd-line); }
.sd-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.sd-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 16px; letter-spacing: -0.03em; }
.sd-hero__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--sd-muted); max-width: 36em; margin: 0 0 24px; }
.sd-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.sd-hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--sd-ink); font-weight: 600; }
.sd-hero__facts li::before { content: "✓"; color: var(--sd-ok); margin-right: 6px; }
.sd-hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: center; }
.sd-hero__can { position: absolute; width: 56%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; }
.sd-hero__can--1 { left: 22%; top: 20%; z-index: 4; width: 60%; }
.sd-hero__can--2 { left: 0; top: 0; z-index: 2; }
.sd-hero__can--3 { right: 0; top: 2%; z-index: 1; }
.sd-hero__can--4 { right: 4%; bottom: 0; z-index: 3; width: 46%; }

/* Category tiles + brands */
.sd-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sd-cats a { display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box; padding: 18px; border-radius: var(--sd-radius); background: var(--sd-soft); border: 1px solid var(--sd-line); text-decoration: none; color: var(--sd-text); transition: border-color .15s, transform .15s; }
.sd-cats a:hover { border-color: var(--sd-brand); transform: translateY(-2px); }
.sd-cats__name { font-weight: 750; color: var(--sd-ink); font-size: 17px; }
.sd-cats__sub { color: var(--sd-muted); font-size: 14px; }
.sd-cats__count { margin-top: 8px; font-size: 13px; font-weight: 650; color: var(--sd-brand); }
.sd-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sd-brands a { display: block; padding: 10px 18px; border: 1.5px solid var(--sd-line); border-radius: 999px; font-weight: 700; color: var(--sd-ink); text-decoration: none; }
.sd-brands a:hover { border-color: var(--sd-brand); color: var(--sd-brand); }

/* Intro + FAQ + posts */
.sd-intro { background: var(--sd-soft); border-radius: 20px; padding: clamp(24px, 4vw, 48px); }
.sd-intro__text { max-width: 820px; }
.sd-intro h2 { margin-top: 0; }
.sd-intro h3 { margin: 24px 0 6px; font-size: 1.15rem; }
.sd-faq { max-width: 860px; }
.sd-faq__item { border-bottom: 1px solid var(--sd-line); }
.sd-faq__item summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; color: var(--sd-ink); list-style: none; position: relative; }
.sd-faq__item summary::-webkit-details-marker { display: none; }
.sd-faq__item summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 22px; color: var(--sd-brand); }
.sd-faq__item[open] summary::after { content: "–"; }
.sd-faq__item p { margin: 0 0 18px; color: var(--sd-muted); }
.sd-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sd-posts a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--sd-text); }
.sd-posts img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; width: 100%; }
.sd-posts__title { font-weight: 750; color: var(--sd-ink); font-size: 18px; line-height: 1.3; }
.sd-posts__excerpt { color: var(--sd-muted); font-size: 15px; }

/* ---------- WooCommerce product grid ---------- */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 12px !important; box-sizing: border-box;
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); position: relative; transition: box-shadow .15s, border-color .15s;
}
.woocommerce ul.products li.product:hover { border-color: #c9d5df; box-shadow: 0 10px 28px rgba(15, 29, 43, .08); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; text-decoration: none; color: inherit; }
.woocommerce ul.products li.product a img {
	display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: contain;
	background: var(--sd-soft); border-radius: 10px; padding: 10px; box-sizing: border-box; margin: 0 0 12px !important; box-shadow: none; mix-blend-mode: multiply;
}
.woocommerce ul.products li.product .sd-from { font-weight: 500; color: var(--sd-muted); font-size: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px !important; font-weight: 650; color: var(--sd-ink); line-height: 1.35; padding: 0 !important; margin: 0 0 6px !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.woocommerce ul.products li.product .price { color: var(--sd-ink) !important; font-weight: 750; font-size: 16px !important; margin: auto 0 10px !important; display: block; }
.woocommerce ul.products li.product .price del { color: var(--sd-muted); font-weight: 500; }
.woocommerce ul.products li.product .button { width: 100%; margin: 0 !important; min-height: 42px; font-size: 14px; padding: 8px 12px; }
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; margin-top: 6px; font-size: 14px; font-weight: 600; }
.woocommerce span.onsale { background: var(--sd-accent); color: var(--sd-ink); border-radius: 999px; min-height: auto; min-width: auto; padding: 4px 10px; line-height: 1.4; font-size: 12px; font-weight: 800; top: 18px !important; left: 18px !important; right: auto !important; margin: 0 !important; }
.woocommerce ul.products li.product .star-rating { margin: 0 0 6px; }

/* Shop toolbar */
.sd-shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.sd-chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sd-chips a { display: block; padding: 7px 14px; border-radius: 999px; background: var(--sd-soft); border: 1px solid var(--sd-line); color: var(--sd-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.sd-chips a:hover, .sd-chips a.is-current { background: var(--sd-brand); border-color: var(--sd-brand); color: #fff; }
.sd-brand-filter { display: flex; align-items: center; gap: 8px; }
.sd-brand-filter label { font-weight: 650; font-size: 14px; }
.sd-brand-filter select, .woocommerce .woocommerce-ordering select { height: 42px; border: 1.5px solid var(--sd-line); border-radius: 10px; padding: 0 12px; background: #fff; font-size: 15px; max-width: 100%; }
.woocommerce .woocommerce-result-count { color: var(--sd-muted); font-size: 14px; margin: 10px 0 16px; }
.woocommerce .woocommerce-ordering { margin: 0 0 16px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--sd-line); font-weight: 650; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--sd-brand); color: #fff; border-color: var(--sd-brand); }
.term-description, .woocommerce-products-header .term-description { max-width: 820px; color: var(--sd-muted); margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--sd-muted); margin: 18px 0 0 !important; }

/* Single product */
.woocommerce div.product { margin-top: 12px; }
.woocommerce div.product div.images { background: var(--sd-soft); border-radius: 18px; padding: 18px; box-sizing: border-box; }
.woocommerce div.product div.images img { aspect-ratio: 1 / 1; object-fit: contain; max-height: 560px; width: 100%; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.woocommerce div.product .product_title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--sd-ink) !important; font-size: 1.6rem !important; font-weight: 800; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.woocommerce div.product form.cart .quantity input.qty { height: 46px; width: 76px; border-radius: 10px; border: 1.5px solid var(--sd-line); font-size: 16px; }
.woocommerce div.product form.cart .single_add_to_cart_button { min-width: 200px; }
.woocommerce div.product form.variations_form { display: block; }
.woocommerce div.product form.cart table.variations { margin-bottom: 12px; }
.woocommerce div.product form.cart .variations select { height: 44px; min-width: 180px; border-radius: 10px; border: 1.5px solid var(--sd-line); padding: 0 10px; font-size: 16px; }
.woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-product-warning { border: 2px solid #000; padding: 10px 14px; font-size: 14px; background: #fff; color: #000; }
.sd-product-notes { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--sd-muted); }
.sd-product-notes li { padding-left: 22px; position: relative; margin-bottom: 4px; }
.sd-product-notes li::before { content: "✓"; position: absolute; left: 0; color: var(--sd-ok); font-weight: 800; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 999px !important; background: var(--sd-soft) !important; border: 1px solid var(--sd-line) !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--sd-brand) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 12px; font-style: normal; }
.related.products > h2, .upsells.products > h2 { font-size: 1.5rem; margin: 40px 0 18px; }

/* Cart & checkout (block + classic) */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { max-width: 100%; box-sizing: border-box; }
.woocommerce table.shop_table { border-radius: 12px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; border-radius: 10px; border: 1.5px solid var(--sd-line); padding: 8px 12px; font-size: 16px; }

/* Forms (contact) */
.sd-contact { max-width: 760px; }
.sd-form label { display: block; font-weight: 650; margin-bottom: 6px; color: var(--sd-ink); }
.sd-form input[type=text], .sd-form input[type=email], .sd-form select, .sd-form textarea { width: 100%; box-sizing: border-box; min-height: 48px; border: 1.5px solid var(--sd-line); border-radius: 10px; padding: 10px 14px; font-size: 16px; background: #fff; color: var(--sd-text); }
.sd-form input:focus, .sd-form select:focus, .sd-form textarea:focus { border-color: var(--sd-brand); outline: none; box-shadow: 0 0 0 3px var(--sd-brand-tint); }
.sd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.sd-form__note { color: var(--sd-muted); font-size: 14px; }
.sd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sd-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.sd-notice--ok { background: #ecfdf3; color: var(--sd-ok); border: 1px solid #abefc6; }
.sd-notice--err { background: #fef3f2; color: var(--sd-danger); border: 1px solid #fecdca; }

/* Content pages & blog */
.page-content, .single .entry-content { font-size: 17px; }
.single-post .site-main, .page:not(.home):not(.woocommerce-page) .site-main { max-width: 860px; }
.page-content h2 { margin-top: 1.8em; }
.page-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.page-content th, .page-content td { border: 1px solid var(--sd-line); padding: 8px 12px; text-align: left; }
.sd-post-cta { background: var(--sd-brand-tint); border-radius: 14px; padding: 20px 24px; margin: 32px 0; }
.blog .site-main article, .archive:not(.woocommerce-page) .site-main article { border-bottom: 1px solid var(--sd-line); padding: 20px 0; }

/* Age gate */
.sd-age { display: none; position: fixed; inset: 0; z-index: 100000; background: rgba(9, 18, 28, .82); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 16px; }
html.sd-age-pending .sd-age { display: flex; }
html.sd-age-pending body { overflow: hidden; }
.sd-age__box { background: #fff; border-radius: 20px; max-width: 460px; width: 100%; padding: 32px 28px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.sd-age__box h2 { font-size: 1.7rem; margin: 12px 0 10px; }
.sd-age__box p { color: var(--sd-muted); }
.sd-age__actions { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.sd-age__warn { font-size: 13px; color: #000 !important; border: 2px solid #000; padding: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sd-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-action__label { display: none; }
}
@media (max-width: 860px) {
	.sd-header__row { grid-template-columns: auto 1fr auto; grid-template-areas: "toggle logo actions" "search search search"; gap: 8px 8px; min-height: 0; padding-top: 8px; padding-bottom: 10px; }
	.sd-menu-toggle { display: grid; place-items: center; }
	.sd-logo { font-size: 22px; justify-self: start; }
	.sd-search { max-width: none; }
	.sd-search input[type=search] { height: 44px; }
	.sd-search__btn { width: 36px; height: 36px; }
	.sd-nav { display: none; border-top: 1px solid var(--sd-line); max-height: calc(100vh - 140px); overflow-y: auto; }
	.sd-nav.is-open { display: block; }
	.sd-menu { flex-direction: column; gap: 0; padding: 8px 0 14px; }
	.sd-menu a { padding: 12px 4px; border-bottom: 1px solid var(--sd-soft); }
	.sd-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
	.sd-hero__grid { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; gap: 16px; }
	.sd-hero__art { max-width: 300px; order: -1; }
	.sd-footer__grid { grid-template-columns: 1fr 1fr; }
	.sd-footer__brand { grid-column: 1 / -1; }
	.sd-posts { grid-template-columns: 1fr; }
	.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; }
}
@media (max-width: 782px) { .admin-bar .sd-header { top: 0; } }
@media (max-width: 640px) {
	.sd-wrap, .site-main { padding-left: 16px !important; padding-right: 16px !important; }
	.home .site-main { padding: 0 !important; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { padding: 8px !important; }
	.woocommerce ul.products li.product a img { padding: 6px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	.woocommerce ul.products li.product .button { font-size: 13px; padding: 6px 8px; min-height: 40px; }
	.sd-section { margin: 40px 0; }
	.sd-section__head { flex-direction: column; align-items: flex-start; gap: 4px; }
	.sd-form__row { grid-template-columns: 1fr; }
	.sd-shop-toolbar { flex-direction: column; align-items: stretch; }
	.sd-chips ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.sd-chips li { flex: none; }
	.woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count { float: none; width: 100%; }
	.woocommerce .woocommerce-ordering select { width: 100%; }
	.sd-topbar { font-size: 12px; }
	.sd-hero__ctas .sd-btn { flex: 1 1 100%; }
	.sd-hero__art { display: none; }
	.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; }
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { text-align: right; }
}
@media (max-width: 360px) {
	.sd-cats { grid-template-columns: 1fr; }
	.sd-footer__grid { grid-template-columns: 1fr; }
	.sd-logo { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
