/*
 * Sajilo Shopping theme – main stylesheet.
 * Mobile-first. All colours/spacing come from the tokens below
 * (brand colours are overridable in Appearance → Customize → Sajilo brand).
 *
 * Contents
 *  1. Tokens            8. Home sections
 *  2. Base              9. Product cards
 *  3. Layout           10. Shop & filters
 *  4. Buttons/forms    11. Single product
 *  5. Header           12. Cart & checkout
 *  6. Navigation       13. Account & auth
 *  7. Footer           14. Utilities & responsive
 */

/* 1. Tokens -------------------------------------------------------------- */
:root {
	--primary: #ff5a1f;
	--primary-dark: #e04a12;
	--primary-soft: #fff1eb;
	--secondary: #1e2a78;
	--secondary-dark: #161f5a;
	--accent: #ffb800;
	--background: #f5f6fa;
	--surface: #ffffff;
	--text: #1a1d29;
	--text-muted: #5f6577;
	--border: #e6e8f0;
	--success: #16a34a;
	--warning: #d97706;
	--error: #dc2626;
	--star: #f59e0b;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	--radius: 14px;
	--radius-sm: 10px;
	--radius-xs: 6px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
	--shadow-lg: 0 12px 40px rgba(16, 24, 40, .14);
	--container: 1320px;
	--gutter: 16px;
	--header-h: 64px;
	--bottom-nav-h: 64px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--background); -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.01em; color: var(--text); }
h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.sj-skip { position: absolute; left: -9999px; top: 8px; z-index: 100001; background: var(--text); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.sj-skip:focus { left: 8px; }
.sj-icon { flex: none; }
::selection { background: var(--primary); color: #fff; }

/* 3. Layout ----------------------------------------------------------------- */
.sj-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sj-container--narrow { max-width: 820px; }
.sj-main { display: block; padding: 16px 0 40px; min-height: 50vh; outline: none; }
.sj-home { padding-top: 12px; }
.sj-section { margin: 28px auto; }
.sj-page-head { margin: 8px 0 20px; }
.sj-page-head h1 { margin: 0; }
.sj-entry { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
.sj-entry--wide { background: transparent; border: 0; padding: 0; }
.sj-entry > *:first-child { margin-top: 0; }
.sj-bc { font-size: .82rem; color: var(--text-muted); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sj-bc a { color: var(--text-muted); text-decoration: none; }
.sj-bc a:hover { color: var(--primary); }
.sj-bc__sep { opacity: .5; }

/* Section heading */
.sj-sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.sj-sec-head__title { margin: 0; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sj-sec-head__title .sj-icon { color: var(--primary); width: 22px; height: 22px; }
.sj-sec-head__extra { flex: 1 1 auto; min-width: 0; }
.sj-sec-head__link { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.sj-sec-head__link .sj-icon { width: 16px; height: 16px; }

/* 4. Buttons & forms ---------------------------------------------------------- */
.sj-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .9rem; line-height: 1; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.sj-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { border-color: var(--primary); color: var(--primary); background: var(--surface); }
.sj-btn:active { transform: translateY(1px); }
.sj-btn--primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order, .woocommerce .checkout-button, .woocommerce button[name="apply_coupon"]:hover {
	background: var(--primary); border-color: var(--primary); color: #fff;
}
.sj-btn--primary:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover, .woocommerce .checkout-button:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.woocommerce button.button.alt.disabled, .woocommerce button.button.alt:disabled { background: var(--primary); opacity: .5; color: #fff; }
.sj-btn--light { background: #fff; color: var(--text); border-color: #fff; }
.sj-btn--light:hover { background: var(--primary-soft); color: var(--primary-dark); border-color: var(--primary-soft); }
.sj-btn--buy { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.sj-btn--buy:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: #fff; }
.sj-btn--block { width: 100%; }
.sj-btn--sm { min-height: 34px; padding: 0 12px; font-size: .82rem; }
.sj-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; text-decoration: none; }
.sj-icon-btn:hover { background: var(--background); color: var(--primary); }
.sj-icon-btn .sj-icon { width: 22px; height: 22px; }
.sj-badge-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; border: 2px solid var(--surface); box-sizing: content-box; }
[hidden] { display: none !important; }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-page form .form-row input.input-text,
.select2-container--default .select2-selection--single, input[type=text], input[type=email], input[type=search], input[type=tel], input[type=password], input[type=number], input[type=url], textarea, select {
	min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text); font: inherit; font-size: 16px; width: 100%; max-width: 100%;
}
textarea { min-height: 96px; }
@media (min-width: 768px) { input, select, textarea { font-size: .95rem !important; } }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.select2-container--default .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce form .form-row label, label { font-weight: 600; font-size: .88rem; }
.woocommerce form .form-row { margin-bottom: 14px; }

/* WooCommerce notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); background: var(--surface); padding: 14px 16px 14px 44px; margin: 0 0 16px; color: var(--text); list-style: none; position: relative; }
.woocommerce-message { border-left-color: var(--success); }
.woocommerce-error { border-left-color: var(--error); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 14px; left: 16px; color: inherit; }
.woocommerce-message::before { color: var(--success); }
.woocommerce-info::before { color: var(--secondary); }
.woocommerce-error::before { color: var(--error); }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 32px; padding: 0 12px; }

/* 5. Header ------------------------------------------------------------------ */
.sj-announce { background: var(--secondary); color: #e6e9ff; font-size: .8rem; }
.sj-announce__inner { display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 34px; }
.sj-announce__text { margin: 0; text-align: center; }
.sj-announce__links { display: none; gap: 18px; }
.sj-announce__links a { color: #e6e9ff; text-decoration: none; }
.sj-announce__links a:hover { color: #fff; text-decoration: underline; }
.sj-header { position: sticky; top: 0; z-index: 1000; background: var(--surface); box-shadow: 0 1px 0 var(--border); }
.admin-bar .sj-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .sj-header { top: 32px; } }
.sj-header.is-scrolled { box-shadow: 0 4px 20px rgba(16, 24, 40, .08); }
.sj-masthead__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: var(--header-h); }
.sj-masthead__logo { min-width: 0; }
.sj-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--primary); }
.sj-logo__text { display: flex; flex-direction: column; line-height: 1; }
.sj-logo__text strong { font-size: 1.25rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.sj-logo__text em { font-style: normal; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--primary); margin-top: 2px; }
.custom-logo { max-height: 44px; width: auto; }
.sj-masthead__search { grid-column: 1 / -1; order: 5; display: none; padding-bottom: 10px; }
.sj-masthead__search.is-open { display: block; }
.sj-masthead__actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.sj-account { position: relative; display: none; }
.sj-account__btn { display: flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 6px 8px; border-radius: var(--radius-sm); font: inherit; color: var(--text); text-align: left; }
.sj-account__btn:hover { background: var(--background); }
.sj-account__btn .sj-icon { width: 24px; height: 24px; }
.sj-account__text { display: flex; flex-direction: column; line-height: 1.2; }
.sj-account__text small { color: var(--text-muted); font-size: .72rem; }
.sj-account__text strong { font-size: .85rem; }
.sj-masthead__wishlist { display: none; }
.sj-header-cart { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text); }
.sj-header-cart__text { display: none; flex-direction: column; line-height: 1.2; }
.sj-header-cart__text small { color: var(--text-muted); font-size: .72rem; }
.sj-header-cart__total { font-weight: 700; font-size: .85rem; }
.sj-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; min-width: 230px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; }
.sj-account__menu a { display: block; padding: 9px 12px; border-radius: var(--radius-xs); color: var(--text); text-decoration: none; font-size: .9rem; }
.sj-account__menu a:hover { background: var(--background); color: var(--primary); }
.sj-account__menu a.is-strong { color: var(--primary); font-weight: 700; }
.sj-account__menu .sj-btn { display: flex; color: #fff; margin-bottom: 4px; }
.sj-account__menu hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.sj-bell { position: relative; }
.sj-bell__panel { width: min(360px, calc(100vw - 24px)); padding: 0; right: -60px; }
.sj-bell__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: .88rem; }
.sj-bell__list { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }
.sj-bell__list li a, .sj-bell__list li > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--border); font-size: .86rem; }
.sj-bell__list li.is-unread a { background: var(--primary-soft); }
.sj-bell__list span { color: var(--text-muted); }
.sj-bell__list time { color: var(--text-muted); font-size: .74rem; }
.sj-bell__list .sj-empty-text { padding: 16px; }
.sj-bell__all { display: block; text-align: center; padding: 10px; font-weight: 600; font-size: .86rem; text-decoration: none; }

/* Search */
.sj-search { position: relative; display: flex; align-items: stretch; background: var(--background); border: 2px solid var(--primary); border-radius: 12px; overflow: visible; }
.sj-search__cat { display: none; width: auto !important; min-height: 44px; border: 0 !important; border-right: 1px solid var(--border) !important; border-radius: 10px 0 0 10px !important; background: transparent !important; font-size: .85rem !important; max-width: 150px; padding: 0 10px !important; }
.sj-search input[type=search] { flex: 1; border: 0; background: transparent; min-height: 44px; border-radius: 0; box-shadow: none !important; min-width: 0; }
.sj-search__btn { display: flex; align-items: center; gap: 6px; border: 0; background: var(--primary); color: #fff; padding: 0 16px; border-radius: 0 9px 9px 0; cursor: pointer; font: inherit; font-weight: 700; }
.sj-search__btn:hover { background: var(--primary-dark); }
.sj-search__btn-text { display: none; }
.sj-search__results { position: absolute; left: -2px; right: -2px; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 60; max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; }
.sj-sr__group { padding: 4px 0; }
.sj-sr__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); padding: 6px 10px; font-weight: 700; }
.sj-sr__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-xs); text-decoration: none; color: var(--text); }
.sj-sr__item:hover, .sj-sr__item.is-active { background: var(--background); }
.sj-sr__item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--background); }
.sj-sr__name { flex: 1; min-width: 0; font-size: .9rem; }
.sj-sr__name mark { background: none; color: var(--primary); font-weight: 700; }
.sj-sr__price { font-weight: 700; font-size: .85rem; white-space: nowrap; }
.sj-sr__price del { color: var(--text-muted); font-weight: 400; font-size: .78rem; }
.sj-sr__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 8px; }
.sj-sr__chip { padding: 5px 10px; border-radius: 99px; background: var(--background); color: var(--text); text-decoration: none; font-size: .82rem; }
.sj-sr__chip:hover { background: var(--primary-soft); color: var(--primary); }
.sj-sr__all { display: block; text-align: center; padding: 10px; font-weight: 700; text-decoration: none; border-top: 1px solid var(--border); margin-top: 4px; }
.sj-sr__empty { padding: 14px; color: var(--text-muted); font-size: .9rem; }

/* 6. Navigation ----------------------------------------------------------------- */
.sj-nav { display: none; border-top: 1px solid var(--border); }
.sj-nav__inner { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.sj-cats-menu { position: relative; }
.sj-cats-menu__btn { display: flex; align-items: center; gap: 8px; border: 0; background: var(--primary); color: #fff; font: inherit; font-weight: 700; padding: 0 14px; height: 38px; border-radius: var(--radius-sm); cursor: pointer; }
.sj-cats-menu__btn .sj-icon { width: 18px; height: 18px; }
.sj-mega { left: 0; right: auto; width: min(760px, 90vw); padding: 12px; }
.sj-mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
.sj-mega__cat { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.sj-mega__cat img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.sj-mega__cat:hover { background: var(--background); color: var(--primary); }
.sj-mega__sub { list-style: none; margin: 0 0 6px 54px; padding: 0; }
.sj-mega__sub a { color: var(--text-muted); text-decoration: none; font-size: .84rem; line-height: 1.8; }
.sj-mega__sub a:hover { color: var(--primary); }
.sj-menu { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex: 1; }
.sj-menu > li { position: relative; }
.sj-menu a { display: block; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; border-radius: var(--radius-xs); }
.sj-menu a:hover, .sj-menu .current-menu-item > a { color: var(--primary); }
.sj-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); list-style: none; padding: 6px; margin: 0; min-width: 200px; z-index: 30; }
.sj-menu li:hover > .sub-menu, .sj-menu li:focus-within > .sub-menu { display: block; }
.sj-nav__seller { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 700; font-size: .88rem; text-decoration: none; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--primary-soft); }
.sj-nav__seller .sj-icon { width: 18px; height: 18px; }

/* Drawer */
.sj-drawer { position: fixed; inset: 0; z-index: 10000; }
.sj-drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 18, 30, .5); }
.sj-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); background: var(--surface); overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; animation: sj-slide-in .22s ease; outline: none; }
@keyframes sj-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
.sj-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sj-drawer__menu { list-style: none; margin: 0; padding: 0; }
.sj-drawer__menu a { display: block; padding: 11px 8px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; }
.sj-drawer__label { margin: 14px 0 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 700; }
.sj-drawer__foot { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 16px; }

/* Mobile bottom nav */
.sj-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(16, 24, 40, .06); }
.sj-bottom-nav a, .sj-bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-muted); text-decoration: none; font: inherit; font-size: .7rem; font-weight: 600; border: 0; background: none; cursor: pointer; }
.sj-bottom-nav .sj-icon { width: 22px; height: 22px; }
.sj-bottom-nav .is-active { color: var(--primary); }
.sj-bottom-nav .sj-badge-count { top: 6px; right: calc(50% - 22px); }

/* 7. Footer --------------------------------------------------------------------- */
.sj-trust-strip { background: var(--surface); border-top: 1px solid var(--border); padding: 18px 0; margin-top: 24px; }
.sj-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sj-trust__item { display: flex; align-items: center; gap: 10px; }
.sj-trust__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none; }
.sj-trust__text { display: flex; flex-direction: column; line-height: 1.3; }
.sj-trust__text strong { font-size: .88rem; }
.sj-trust__text small { color: var(--text-muted); font-size: .76rem; }
.sj-home-trust .sj-trust { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.sj-footer { background: #11142a; color: #b9bdd3; font-size: .9rem; }
.sj-footer a { color: #d7daea; text-decoration: none; }
.sj-footer a:hover { color: #fff; text-decoration: underline; }
.sj-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding-top: 32px; padding-bottom: 20px; }
.sj-footer__about { margin-bottom: 16px; }
.sj-footer__about p { max-width: 380px; }
.sj-footer .sj-logo__text strong { color: #fff; }
.sj-footer__social { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sj-footer__social a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #2c3050; border-radius: 99px; font-size: .8rem; }
.sj-footer__social .sj-icon { width: 14px; height: 14px; }
.sj-footer__col { border-bottom: 1px solid #23264a; }
.sj-footer__col summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 700; color: #fff; display: flex; justify-content: space-between; }
.sj-footer__col summary::-webkit-details-marker { display: none; }
.sj-footer__col summary::after { content: "+"; font-weight: 400; }
.sj-footer__col[open] summary::after { content: "–"; }
.sj-footer__links, .sj-footer__contact { list-style: none; margin: 0 0 14px; padding: 0; }
.sj-footer__links li, .sj-footer__contact li { padding: 4px 0; }
.sj-footer__contact li { display: flex; gap: 8px; align-items: flex-start; }
.sj-footer__contact .sj-icon { width: 16px; height: 16px; margin-top: 3px; color: var(--primary); }
.sj-footer__policies { border-top: 1px solid #23264a; padding: 12px 0; }
.sj-footer__policies .sj-footer__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: .82rem; }
.sj-footer__bottom { border-top: 1px solid #23264a; padding: 14px 0; font-size: .8rem; }
.sj-footer__bottom-inner { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sj-footer__bottom p { margin: 0; }
.sj-payments { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sj-payments li { background: #fff; color: #1a1d29; font-weight: 700; font-size: .72rem; padding: 4px 8px; border-radius: 5px; }

/* 8. Home sections ------------------------------------------------------------------ */
.sj-hero__grid { display: grid; gap: 12px; }
.sj-slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--secondary); aspect-ratio: 16 / 10; }
.sj-slider__track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; }
.sj-slide { position: relative; flex: 0 0 100%; height: 100%; background: var(--slide-bg, var(--secondary)); overflow: hidden; }
.sj-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.sj-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--slide-bg) 88%, transparent) 0%, color-mix(in srgb, var(--slide-bg) 30%, transparent) 60%, transparent 100%); }
.sj-slide__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 22px; max-width: 520px; color: #fff; }
.sj-slide--dark .sj-slide__content { color: var(--text); }
.sj-slide__eyebrow { display: inline-block; background: var(--accent); color: #1a1d29; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 99px; }
.sj-slide__title { margin: 0; color: inherit; font-size: clamp(1.4rem, 4.2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.sj-slide__text { margin: 0 0 6px; opacity: .92; font-size: clamp(.9rem, 1.5vw, 1.05rem); max-width: 42ch; }
.sj-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--text); display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); }
.sj-slider__prev { left: 12px; } .sj-slider__next { right: 12px; }
.sj-slider__dots { position: absolute; bottom: 12px; left: 22px; z-index: 3; display: flex; gap: 6px; }
.sj-slider__dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; padding: 0; transition: width .2s; }
.sj-slider__dots button[aria-selected=true] { width: 24px; background: #fff; }
.sj-hero__sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.sj-promo { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--slide-bg, var(--secondary)); color: #fff; text-decoration: none; min-height: 140px; }
.sj-promo:hover { color: #fff; }
.sj-promo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .4s; }
.sj-promo:hover .sj-promo__img { transform: scale(1.04); }
.sj-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--slide-bg) 90%, transparent) 0%, transparent 75%); }
.sj-promo__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; max-width: 70%; height: 100%; justify-content: center; }
.sj-promo__content strong { font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 800; line-height: 1.15; }
.sj-promo__content span { font-size: .85rem; opacity: .9; }
.sj-promo__content em { font-style: normal; font-weight: 700; font-size: .82rem; margin-top: 4px; }
.sj-promo__content .sj-btn { margin-top: 6px; }
.sj-promo--side { min-height: 120px; }
.sj-promo-grid { display: grid; gap: 12px; }
.sj-promo-grid .sj-promo { min-height: 160px; }

.sj-cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sj-cat-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--text); padding: 10px 4px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .15s, box-shadow .15s, transform .15s; height: 100%; }
.sj-cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--primary); }
.sj-cat-card__img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--background); }
.sj-cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sj-cat-card__name { font-size: .78rem; font-weight: 600; line-height: 1.25; }

.sj-flash__box { background: linear-gradient(135deg, #fff5ef 0%, #fff 60%); border: 1px solid #ffd9c7; border-radius: var(--radius); padding: 16px; }
.sj-flash__timer { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.sj-countdown { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--primary); }
.sj-countdown--boxes { display: inline-flex; gap: 4px; }
.sj-countdown--boxes .sj-cd__unit { background: var(--text); color: #fff; border-radius: 6px; padding: 3px 6px; min-width: 30px; text-align: center; font-size: .85rem; }
.sj-countdown--boxes .sj-cd__sep { color: var(--text); }

.sj-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; }
.sj-tabs::-webkit-scrollbar { display: none; }
.sj-tab { flex: none; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .84rem; padding: 7px 14px; border-radius: 99px; cursor: pointer; }
.sj-tab:hover { border-color: var(--primary); color: var(--primary); }
.sj-tab.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.sj-collection-body { position: relative; min-height: 200px; transition: opacity .2s; }
.sj-collection-body.is-loading { opacity: .45; pointer-events: none; }

.sj-vendor-grid--rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.sj-vendor-grid--rail > * { scroll-snap-align: start; }
.sj-brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sj-brand { display: flex; align-items: center; justify-content: center; height: 80px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; transition: border-color .15s; text-decoration: none; color: var(--text); font-weight: 700; }
.sj-brand:hover { border-color: var(--primary); }
.sj-brand img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.sj-brand:hover img { filter: none; opacity: 1; }

/* 9. Product cards ---------------------------------------------------------------- */
.woocommerce ul.products, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; }
.sj-rail--scroll { grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: minmax(160px, 46%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.sj-rail--scroll > li { scroll-snap-align: start; }
.sj-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.sj-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-2px); }
.sj-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--background); overflow: hidden; }
.sj-card__img { display: block; width: 100%; height: 100%; }
.sj-card__img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; transition: transform .4s; }
.sj-card:hover .sj-card__img img { transform: scale(1.05); }
.sj-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 2; }
.sj-badge-sale, .sj-badge-flash, .sj-badge-hot { display: inline-flex; align-items: center; gap: 3px; font-size: .7rem; font-weight: 800; padding: 3px 7px; border-radius: 6px; color: #fff; line-height: 1.2; }
.sj-badge-sale { background: var(--primary); }
.sj-badge-flash { background: var(--text); color: var(--accent); }
.sj-badge-flash .sj-icon { width: 12px; height: 12px; }
.sj-badge-hot { background: var(--secondary); }
.sj-card__wish { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: transform .15s, color .15s; }
.sj-card__wish:hover { transform: scale(1.08); color: var(--primary); }
.sj-card__wish .sj-icon { width: 18px; height: 18px; }
[data-sj-wishlist].is-active { color: var(--primary); }
[data-sj-wishlist].is-active .sj-icon { fill: currentColor; }
[data-sj-compare].is-active { color: var(--secondary); background: #e8eaff; }
.sj-card__quick { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; display: none; gap: 6px; }
.sj-card__quick button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 0; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .96); color: var(--text); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.sj-card__quick button:last-child:not(:first-child) { flex: 0 0 36px; }
.sj-card__quick button:hover { color: var(--primary); }
.sj-card__quick .sj-icon { width: 16px; height: 16px; }
.sj-card__soldout { position: absolute; inset: auto 0 0; background: rgba(26, 29, 41, .75); color: #fff; text-align: center; font-size: .78rem; font-weight: 700; padding: 6px; z-index: 1; }
.sj-card__body { display: flex; flex-direction: column; gap: 4px; padding: 10px; flex: 1; }
.sj-vendor-line { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: .74rem; color: var(--text-muted); }
.sj-vendor-line .sj-icon { width: 13px; height: 13px; }
.sj-vendor-line a { color: var(--text-muted); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sj-vendor-line a:hover { color: var(--primary); }
.sj-vendor-line .sj-verified { width: 14px; height: 14px; font-size: 9px; margin-left: 0; }
.sj-vendor-line__rating { color: var(--star); font-weight: 700; margin-left: auto; white-space: nowrap; }
.sj-card__title { margin: 0; font-size: .88rem !important; font-weight: 600; line-height: 1.35; padding: 0 !important; }
.sj-card__title a { color: var(--text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.sj-card__title a:hover { color: var(--primary); }
.sj-card__rating { display: flex; align-items: center; gap: 4px; font-size: .75rem; }
.sj-stars { position: relative; display: inline-block; font-size: .85rem; line-height: 1; letter-spacing: 1px; }
.sj-stars__bg { color: #dfe2ea; }
.sj-stars__fg { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--star); }
.sj-stars__count { color: var(--text-muted); font-size: .75rem; }
.sj-card__price, .woocommerce ul.products li.product .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 2px 0 0 !important; color: var(--text) !important; font-weight: 800; font-size: 1rem !important; }
.sj-card__price ins, .woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--primary); order: -1; }
.sj-card__price del, .woocommerce ul.products li.product .price del { color: var(--text-muted); font-weight: 400; font-size: .8rem; opacity: 1; }
.sj-card__stock { margin: 0; font-size: .74rem; color: var(--success); }
.sj-card__stock.is-low { color: var(--warning); font-weight: 600; }
.sj-card__cta { margin-top: auto; padding-top: 6px; }
.sj-card__cta .button, .sj-btn--cart { width: 100%; min-height: 38px !important; font-size: .84rem !important; margin: 0 !important; background: var(--primary-soft) !important; border-color: var(--primary-soft) !important; color: var(--primary-dark) !important; }
.sj-card__cta .button:hover { background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
.sj-card__cta .button.loading { opacity: .6; }
.sj-card__cta .button.added::after { margin-left: 6px; }
.sj-card__cta .added_to_cart { display: block; text-align: center; font-size: .78rem; font-weight: 600; margin-top: 6px; text-decoration: none; }

/* 10. Shop & filters ------------------------------------------------------------------- */
.sj-shop-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.sj-shop-head__title { margin: 0; }
.sj-shop-head__desc { color: var(--text-muted); max-width: 70ch; }
.sj-shop-head__desc p { margin: 6px 0 0; }
.sj-shop-head__logo img { max-height: 64px; width: auto; }
.sj-shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.sj-shop__sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 10001; width: min(340px, 88vw); background: var(--surface); overflow-y: auto; transform: translateX(-105%); transition: transform .25s ease; padding: 0 0 24px; }
.sj-shop.is-filters-open .sj-shop__sidebar { transform: none; box-shadow: var(--shadow-lg); }
.sj-shop__overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(15, 18, 30, .5); }
.sj-shop__results { min-width: 0; }
.sj-shop__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.sj-shop__toolbar .woocommerce-result-count { margin: 0 !important; color: var(--text-muted); font-size: .85rem; flex: 1; }
.sj-shop__toolbar .woocommerce-ordering { margin: 0 !important; }
.sj-shop__toolbar .woocommerce-ordering select { min-height: 38px; width: auto; font-size: .85rem !important; padding: 0 32px 0 10px; }
.sj-shop.is-loading .sj-shop__results { opacity: .5; pointer-events: none; transition: opacity .15s; }
.sj-filters__head { position: sticky; top: 0; z-index: 2; background: var(--surface); display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.sj-filters__head h2 { margin: 0; font-size: 1.05rem; flex: 1; }
.sj-filters__clear { font-size: .82rem; font-weight: 600; }
.sj-filters__close { border: 0; background: none; cursor: pointer; padding: 4px; color: var(--text); }
.sj-filter { border-bottom: 1px solid var(--border); padding: 0 16px; }
.sj-filter__title { list-style: none; cursor: pointer; font-weight: 700; font-size: .9rem; padding: 14px 0; display: flex; justify-content: space-between; margin: 0; }
.sj-filter__title::-webkit-details-marker { display: none; }
.sj-filter__title::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); margin-top: 3px; transition: transform .2s; }
.sj-filter[open] > .sj-filter__title::after { transform: rotate(-135deg); margin-top: 7px; }
.sj-filter ul { list-style: none; margin: 0 0 12px; padding: 0; max-height: 280px; overflow-y: auto; }
.sj-filter__cats a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--text); text-decoration: none; font-size: .88rem; }
.sj-filter__cats a:hover, .sj-filter__cats a.is-current { color: var(--primary); font-weight: 600; }
.sj-filter__back { color: var(--text-muted) !important; justify-content: flex-start !important; gap: 4px; }
.sj-filter__back .sj-icon { width: 16px; height: 16px; }
.sj-fopt { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--text); text-decoration: none; font-size: .88rem; }
.sj-fopt:hover { color: var(--primary); }
.sj-fopt__box { flex: none; width: 18px; height: 18px; border: 2px solid #c6cad6; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #fff; }
.sj-fopt__box .sj-icon { width: 12px; height: 12px; stroke-width: 3; }
.sj-fopt__box--radio { border-radius: 50%; }
.sj-fopt.is-on .sj-fopt__box { background: var(--primary); border-color: var(--primary); }
.sj-fopt.is-on .sj-fopt__box--radio { box-shadow: inset 0 0 0 3px #fff; }
.sj-fopt__label { flex: 1; }
.sj-fopt__count { color: var(--text-muted); font-size: .76rem; }
.sj-fopt__swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border); flex: none; }
.sj-price-form { padding-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.sj-price-inputs { display: flex; align-items: center; gap: 6px; }
.sj-price-inputs input { min-height: 38px; padding: 6px 8px; }
.sj-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sj-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px 5px 12px; background: var(--primary-soft); color: var(--primary-dark); border-radius: 99px; font-size: .8rem; font-weight: 600; text-decoration: none; }
.sj-chip .sj-icon { width: 14px; height: 14px; }
.woocommerce nav.woocommerce-pagination { margin-top: 24px; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 38px; height: 38px; display: flex !important; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--border) !important; background: var(--surface); color: var(--text); padding: 0 10px !important; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }

/* 11. Single product --------------------------------------------------------------------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.single-product div.product > * { min-width: 0; max-width: 100%; }
.single-product div.product .woocommerce-product-gallery { overflow: hidden; }
.woocommerce div.product div.images .flex-viewport { max-width: 100%; }
.woocommerce div.product div.images img { max-width: 100%; height: auto; }
.single-product div.product .woocommerce-product-gallery { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; position: relative; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { border-radius: var(--radius-sm); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 68px !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 8px; border: 2px solid transparent; opacity: .7; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { border-color: var(--primary); opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 18px; right: 18px; background: #fff; box-shadow: var(--shadow); }
.single-product div.product .summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.sj-pdp-top { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: .82rem; margin-bottom: 6px; }
.sj-pdp-brand { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.sj-pdp-sku { color: var(--text-muted); }
.woocommerce div.product .product_title { font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 800; margin: 0 0 8px; }
.sj-pdp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .85rem; margin-bottom: 12px; }
.sj-pdp-rating .sj-stars { font-size: 1rem; }
.sj-pdp-rating__link { color: var(--secondary); }
.sj-pdp-sold { color: var(--text-muted); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--primary) !important; font-size: 1.8rem !important; font-weight: 800; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.woocommerce div.product p.price ins { text-decoration: none; order: -1; }
.woocommerce div.product p.price del { color: var(--text-muted); font-size: 1rem; font-weight: 500; opacity: 1; }
.sj-pdp-discount { display: inline-block; vertical-align: middle; margin-left: 8px; background: var(--primary); color: #fff; font-weight: 800; font-size: .8rem; padding: 3px 8px; border-radius: 6px; }
.sj-pdp-stock { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; margin: 10px 0; }
.sj-pdp-stock .sj-icon { width: 16px; height: 16px; }
.sj-pdp-stock.is-in { color: var(--success); }
.sj-pdp-stock.is-out { color: var(--error); }
.sj-pdp-flash { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #1a1d29; color: #fff; border-radius: var(--radius-sm); padding: 10px 14px; margin: 10px 0; font-weight: 600; font-size: .88rem; }
.sj-pdp-flash .sj-icon { color: var(--accent); }
.sj-pdp-flash .sj-countdown { color: var(--accent); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-muted); font-size: .92rem; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 16px 0 !important; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart .button, .woocommerce div.product form.cart .sj-btn--buy { flex: 1 1 140px; min-height: 48px; font-size: .95rem; margin: 0 !important; float: none !important; }
.woocommerce div.product form.cart .single_add_to_cart_button:not(.sj-btn--buy) { background: var(--primary); border-color: var(--primary); color: #fff; }
.woocommerce div.product form.cart .single_add_to_cart_button:not(.sj-btn--buy):hover { background: var(--primary-dark); }
.woocommerce div.product form.cart .variations { margin-bottom: 8px; width: 100%; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { display: block; padding: 0 0 6px; text-align: left; }
.woocommerce div.product form.cart .variations select { min-width: 0; width: 100%; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.quantity .qty { width: 52px !important; min-height: 46px; text-align: center; border: 0 !important; border-radius: 0 !important; -moz-appearance: textfield; padding: 0 !important; box-shadow: none !important; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sj-qty-btn { width: 38px; border: 0; background: var(--background); cursor: pointer; font-size: 1.1rem; color: var(--text); }
.sj-qty-btn:hover { background: var(--primary-soft); color: var(--primary); }
.sj-pdp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.sj-pdp-action { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: var(--surface); border-radius: 99px; padding: 7px 14px; font: inherit; font-size: .84rem; font-weight: 600; color: var(--text); cursor: pointer; }
.sj-pdp-action:hover { border-color: var(--primary); color: var(--primary); }
.sj-pdp-action .sj-icon { width: 17px; height: 17px; }
.sj-pdp-info { list-style: none; margin: 0 0 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--background); border-radius: var(--radius-sm); }
.sj-pdp-info li { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; }
.sj-pdp-info .sj-icon { color: var(--primary); margin-top: 2px; }
.sj-pdp-info div { display: flex; flex-direction: column; }
.sj-pdp-info span { color: var(--text-muted); }
.sj-pdp-vendor { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }
.sj-pdp-vendor__logo { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--background); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary); text-decoration: none; }
.sj-pdp-vendor__logo img { width: 100%; height: 100%; object-fit: cover; }
.sj-pdp-vendor__info { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: .85rem; }
.sj-pdp-vendor__name { font-weight: 700; color: var(--text); text-decoration: none; font-size: .95rem; }
.sj-pdp-vendor__info .sj-verified-badge { margin: 2px 0; align-self: flex-start; }
.sj-pdp-vendor__meta { color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.sj-pdp-vendor__meta .sj-icon { width: 14px; height: 14px; }
.sj-pdp-vendor__btns { grid-column: 1 / -1; display: flex; gap: 8px; }
.sj-pdp-vendor__btns .sj-btn { flex: 1; }
.woocommerce div.product .product_meta { font-size: .82rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 16px; }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }

.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 16px 16px; margin: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 0 !important; margin: 0 -16px 16px !important; border-bottom: 1px solid var(--border); scrollbar-width: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; flex: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 16px !important; color: var(--text-muted) !important; font-weight: 700 !important; border-bottom: 3px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--primary) !important; border-bottom-color: var(--primary); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 1.1rem; }
.woocommerce table.shop_attributes { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; border-collapse: separate; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--border); padding: 10px 12px; font-style: normal; }
.woocommerce table.shop_attributes th { background: var(--background); width: 180px; }
.woocommerce table.shop_attributes tr:last-child th, .woocommerce table.shop_attributes tr:last-child td { border-bottom: 0; }
.woocommerce table.shop_attributes td p { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-radius: var(--radius-sm); border-color: var(--border); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border-radius: 50%; border: 0; padding: 0; background: none; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--star); }
.woocommerce #review_form #respond .form-submit input { background: var(--primary); color: #fff; border-color: var(--primary); }
.single-product .related, .single-product .upsells, .single-product .sj-recent-section { grid-column: 1 / -1; margin: 8px 0 0; }
.single-product .related > h2, .single-product .upsells > h2 { font-size: 1.25rem; font-weight: 800; margin: 0 0 14px; }
.sj-sticky-atc { position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); z-index: 8990; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(16, 24, 40, .08); }
.sj-sticky-atc__price { font-weight: 800; color: var(--primary); }
.sj-sticky-atc__price del { color: var(--text-muted); font-weight: 400; font-size: .8rem; }
.sj-sticky-atc__price ins { text-decoration: none; }

/* 12. Cart & checkout -------------------------------------------------------------------- */
.woocommerce-cart .sj-wc-page .woocommerce, .woocommerce-checkout .sj-wc-page .woocommerce { display: block; }
.woocommerce table.shop_table { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--background); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top-color: var(--border); padding: 12px; }
.woocommerce-cart table.cart img { width: 72px; border-radius: var(--radius-xs); }
.woocommerce-cart table.cart td.product-name a { color: var(--text); font-weight: 600; text-decoration: none; }
.woocommerce a.remove { color: var(--error) !important; }
.woocommerce a.remove:hover { background: var(--error); color: #fff !important; }
.sj-cart-meta { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.sj-save-later { border: 0; background: none; padding: 0; font: inherit; font-size: .78rem; color: var(--secondary); text-decoration: underline; cursor: pointer; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 180px !important; min-height: 42px; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.woocommerce-cart .cart-collaterals .cart_totals table { border: 0; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 1.1rem; margin-top: 0; }
.woocommerce .cart-collaterals .cart_totals .order-total .amount, .woocommerce-checkout .order-total .amount { color: var(--primary); font-size: 1.2rem; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 50px; font-size: 1rem !important; }
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100% !important; float: none !important; }
.woocommerce-checkout .col2-set::before, .woocommerce-checkout .col2-set::after { display: none; }
.woocommerce-checkout h3 { font-size: 1.1rem; margin-top: 0; }
#order_review_heading { font-size: 1.1rem; margin: 20px 0 10px; }
.woocommerce-checkout #payment { background: var(--background); border-radius: var(--radius-sm); }
.woocommerce-checkout #payment div.payment_box { background: var(--surface); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--surface); }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 52px; font-size: 1.05rem; float: none; }
.sj-checkout-trust { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--text-muted); margin: 12px 0 0; }
.sj-checkout-trust .sj-icon { width: 16px; height: 16px; color: var(--success); flex: none; margin-top: 2px; }
.woocommerce-form-coupon-toggle .woocommerce-info { border-left-color: var(--accent); }
.sj-empty-cart { margin-bottom: 24px; }
.sj-empty-cart .sj-empty-state__icon .sj-icon { width: 56px; height: 56px; color: var(--primary); }
.woocommerce-order-received .woocommerce-order { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; }
.woocommerce ul.order_details li { border: 1px solid var(--border) !important; border-radius: var(--radius-sm); padding: 10px 14px !important; margin: 0 !important; background: var(--background); }

/* 13. Account & auth ------------------------------------------------------------------------- */
.woocommerce-account .sj-wc-page .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }
.sj-account-nav ul { display: none; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.sj-account-nav__select { width: 100%; }
.sj-account-nav li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 500; font-size: .92rem; }
.sj-account-nav li a .sj-icon { width: 18px; height: 18px; color: var(--text-muted); }
.sj-account-nav li a span:not(.sj-count) { flex: 1; }
.sj-account-nav li a:hover { background: var(--background); }
.sj-account-nav li.is-active a { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; }
.sj-account-nav li.is-active a .sj-icon { color: var(--primary); }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { color: var(--text-muted); }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table { font-size: .9rem; }
.woocommerce-account .addresses .woocommerce-Address { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.woocommerce-account .woocommerce-MyAccount-content form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.woocommerce-account .woocommerce-MyAccount-content .sj-inbox__compose, .woocommerce-account .woocommerce-MyAccount-content .sj-rate-form, .woocommerce-account .woocommerce-MyAccount-content .sj-qa__answer { border: 0; padding: 10px; }

.sj-auth { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.sj-auth__intro { background: linear-gradient(145deg, var(--secondary) 0%, color-mix(in srgb, var(--secondary) 55%, var(--primary)) 100%); color: #fff; border-radius: var(--radius); padding: 24px; }
.sj-auth__intro h2 { color: #fff; margin: 0 0 12px; }
.sj-auth__intro ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sj-auth__intro li { display: flex; gap: 10px; align-items: center; }
.sj-auth__intro .sj-icon { color: var(--accent); }
.sj-auth__box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 18px 20px; }
.sj-auth__tabs { display: flex; border-bottom: 1px solid var(--border); margin: 0 -18px 16px; padding: 0 10px; overflow-x: auto; }
.sj-auth__tabs button { flex: 1; border: 0; background: none; padding: 14px 8px; font: inherit; font-weight: 700; font-size: .9rem; color: var(--text-muted); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.sj-auth__tabs button[aria-selected=true] { color: var(--primary); border-bottom-color: var(--primary); }
.sj-auth__hint { color: var(--text-muted); font-size: .88rem; margin-top: 0; }
.sj-auth form.login, .sj-auth form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
.sj-auth__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 16px; font-size: .88rem; }
.sj-auth__row label { font-weight: 500; display: flex; gap: 6px; align-items: center; }
.sj-auth__resend { margin-top: 14px; font-size: .86rem; }
.sj-auth__resend summary { cursor: pointer; color: var(--secondary); }
.sj-auth__resend-form { display: flex; gap: 8px; margin-top: 8px; }
.sj-auth .user-role, .sj-auth .show_if_seller { display: none !important; }
/* Sajilo → Settings → Vendors → "Dokan quick signup": show Dokan's customer/vendor choice. */
.sj-dokan-quick-signup .sj-auth .user-role { display: block !important; margin: 4px 0 12px; }
.sj-dokan-quick-signup .sj-auth .user-role label { display: inline-flex; align-items: center; gap: 6px; margin-right: 16px; font-weight: 600; }
.sj-dokan-quick-signup .sj-auth .show_if_seller { display: none; }
.sj-dokan-quick-signup .sj-auth .show_if_seller[style*="block"] { display: block !important; }
.sj-password { position: relative; }
.sj-password__toggle { position: absolute; right: 6px; bottom: 6px; border: 0; background: none; padding: 6px; color: var(--text-muted); cursor: pointer; }

/* 404, posts, misc */
.sj-404 { text-align: center; padding: 40px 0; max-width: 640px; margin: 0 auto; }
.sj-404__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; margin: 0; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sj-404__search { margin: 20px auto; max-width: 520px; text-align: left; }
.sj-404 .sj-btn { margin: 4px; }
.sj-post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sj-post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sj-post-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.sj-post-card__body { padding: 16px; }
.sj-post-card__title { margin: 0 0 4px; font-size: 1.1rem; }
.sj-post-card__title a { color: var(--text); text-decoration: none; }
.sj-post-meta { color: var(--text-muted); font-size: .82rem; margin: 0 0 8px; }
.sj-post-thumb { margin: 0 0 16px; }
.sj-post-thumb img { border-radius: var(--radius); }

/* Quick view modal wrapper (component CSS lives in the core plugin) */
.sj-modal .sj-qv__cart .quantity { border-radius: var(--radius-sm); }

/* Store page (theme spacing) */
.sj-store-body { margin-top: 4px; }

/* 14. Responsive ------------------------------------------------------------------------------ */
@media (min-width: 480px) {
	.sj-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sj-rail--scroll { grid-auto-columns: minmax(180px, 36%); }
}
@media (min-width: 640px) {
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.sj-cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.sj-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sj-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sj-promo-grid--2, .sj-promo-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sj-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sj-slide__content { padding: 36px 44px; }
	.sj-card__body { padding: 12px; }
	.sj-footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 768px) {
	.sj-masthead__search { display: block; grid-column: auto; order: 0; padding: 0; }
	.sj-masthead__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; min-height: 76px; }
	.sj-masthead__search-toggle { display: none; }
	.sj-search__cat { display: block; }
	.sj-search__btn-text { display: inline; }
	.sj-masthead__wishlist { display: inline-flex; }
	.sj-slider { aspect-ratio: 21 / 9; }
	.sj-slider__nav { display: flex; }
	.single-product div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
	.woocommerce-checkout .col2-set { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sj-auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
	.sj-vendor-grid--rail { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-auto-columns: auto; overflow: visible; }
	.sj-sticky-atc { display: none !important; }
	.sj-card__quick { display: flex; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
	.sj-card:hover .sj-card__quick, .sj-card:focus-within .sj-card__quick { opacity: 1; transform: none; }
}
@media (min-width: 992px) {
	:root { --gutter: 24px; }
	body { padding-bottom: 0; font-size: 15px; }
	.sj-bottom-nav { display: none; }
	.sj-masthead__menu { display: none; }
	.sj-announce__inner { justify-content: space-between; }
	.sj-announce__links { display: flex; }
	.sj-account { display: block; }
	.sj-header-cart__text { display: flex; }
	.sj-nav { display: block; }
	.sj-main { padding-top: 20px; }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.sj-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
	.sj-rail--scroll { grid-auto-columns: calc((100% - 64px) / 5); }
	.sj-hero__grid.has-sides { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
	.sj-hero__sides { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
	.sj-slider { aspect-ratio: auto; height: 400px; }
	.sj-promo-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sj-cat-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
	.sj-cat-card__img { width: 72px; height: 72px; }
	.sj-trust { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.sj-brand-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.sj-shop { grid-template-columns: 270px minmax(0, 1fr); }
	.sj-shop__sidebar { position: sticky; top: 150px; transform: none; width: auto; z-index: 1; max-height: calc(100vh - 170px); border: 1px solid var(--border); border-radius: var(--radius); padding-bottom: 8px; }
	.sj-shop__filter-btn, .sj-filters__close, .sj-shop__overlay { display: none !important; }
	.sj-shop .woocommerce ul.products, .sj-shop ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.woocommerce-account .sj-wc-page .woocommerce { grid-template-columns: 250px minmax(0, 1fr); }
	.sj-account-nav ul { display: block; position: sticky; top: 150px; }
	.sj-account-nav__select { display: none; }
	.sj-footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 48px; }
	.sj-footer__col { border: 0; }
	.sj-footer__col summary { pointer-events: none; padding-top: 0; }
	.sj-footer__col summary::after { display: none; }
	.sj-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.woocommerce-cart .sj-wc-page .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
	.woocommerce-cart .sj-wc-page .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.woocommerce-cart .cart-collaterals { width: auto; }
	.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; float: none !important; position: sticky; top: 150px; }
	.woocommerce-cart .sj-empty-cart, .woocommerce-cart .return-to-shop, .woocommerce-cart .sj-section { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
	.sj-shop .woocommerce ul.products, .sj-shop ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sj-slider { height: 430px; }
}
@media (max-width: 991px) {
	.single-product .sj-main { padding-bottom: 80px; }
}
@media (max-width: 767px) {
	.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--border); padding: 8px 0; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100% !important; }
	.woocommerce-cart table.cart td.actions .coupon .button, .woocommerce-cart table.cart td.actions > .button { width: 100%; }
	.sj-sec-head__extra { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sj-slider__track { transition: none; }
}
@media print {
	.sj-header, .sj-footer, .sj-bottom-nav, .sj-announce, .sj-trust-strip { display: none !important; }
	body { background: #fff; padding: 0; }
}

/* Refinements ----------------------------------------------------------------- */
.sj-card__cta .button { display: flex !important; justify-content: center; align-items: center; text-align: center; }
@media (max-width: 639px) {
	.sj-slide::after { background: linear-gradient(90deg, var(--slide-bg) 0%, color-mix(in srgb, var(--slide-bg) 85%, transparent) 55%, color-mix(in srgb, var(--slide-bg) 20%, transparent) 100%); }
	.sj-slide__img { object-position: 85% center; }
	.sj-promo::after { background: linear-gradient(90deg, var(--slide-bg) 0%, color-mix(in srgb, var(--slide-bg) 80%, transparent) 60%, transparent 100%); }
	.sj-promo--side .sj-promo__content { max-width: 100%; }
	.sj-promo--side .sj-promo__img { opacity: .55; }
}

/* Dokan dashboard styles live in assets/css/dokan.css (loaded only on Dokan pages). */
.sj-seller-dashboard .sj-page-head { display: none; }
.single-product .product_meta .sku_wrapper { display: none !important; }
@media (min-width: 992px) {
	.woocommerce-account .sj-wc-page .woocommerce > * { grid-column: 1 / -1; }
	.woocommerce-account .sj-wc-page .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: span 20; }
	.woocommerce-account .sj-wc-page .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; }
}
.woocommerce-account .sj-wc-page .woocommerce::before, .woocommerce-account .sj-wc-page .woocommerce::after { display: none; }

/* Header: tablet row = menu · logo · search · actions (no wrapping). */
@media (min-width: 768px) and (max-width: 991px) {
	.sj-masthead__inner { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 12px; }
	.sj-search__cat { display: none; }
}
/* Nav bar: never break labels inside a link; tighten on small laptops. */
.sj-cats-menu__btn, .sj-menu a, .sj-nav__seller { white-space: nowrap; }
.sj-menu { flex-wrap: wrap; min-width: 0; }
@media (min-width: 992px) and (max-width: 1199px) {
	.sj-nav__inner { gap: 4px; }
	.sj-menu a { padding: 10px 8px; font-size: .85rem; }
	.sj-cats-menu__btn { padding: 0 10px; }
	.sj-nav__seller { padding: 8px 10px; font-size: .82rem; }
}
/* Variable products: a price range is long, so it uses a smaller size. */
.woocommerce div.product.product-type-variable p.price, .woocommerce div.product.product-type-grouped p.price { font-size: 1.35rem !important; }
@media (max-width: 479px) { .woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.55rem !important; } .woocommerce div.product.product-type-variable p.price { font-size: 1.2rem !important; } }
