/* ==========================================================================
   Nexora Marketplace — storefront styles
   Mirrors the React/Tailwind design system (src/styles.css):
   tokens, 0.75rem radius, Inter, soft borders, Tailwind breakpoints
   sm 640 · md 768 · lg 1024 · xl 1280 · 2xl 1536.
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens */
:root {
	--radius: 0.75rem;
	--radius-sm: calc(var(--radius) - 4px);
	--radius-md: calc(var(--radius) - 2px);
	--radius-lg: var(--radius);
	--radius-xl: calc(var(--radius) + 4px);
	--radius-2xl: calc(var(--radius) + 8px);
	--background: oklch(0.978 0.005 285);
	--foreground: oklch(0.229 0.026 279);
	--card: oklch(1 0 0);
	--primary: oklch(0.554 0.243 280.5);
	--primary-foreground: oklch(1 0 0);
	--primary-soft: oklch(0.955 0.024 283);
	--secondary: oklch(0.965 0.005 285);
	--muted: oklch(0.965 0.005 285);
	--muted-foreground: oklch(0.551 0.019 274);
	--accent: oklch(0.955 0.024 283);
	--accent-foreground: oklch(0.474 0.219 281);
	--destructive: oklch(0.577 0.222 27.3);
	--destructive-soft: oklch(0.958 0.019 22);
	--success: oklch(0.596 0.152 149.5);
	--success-soft: oklch(0.958 0.036 150);
	--warning: oklch(0.769 0.163 70.1);
	--warning-foreground: oklch(0.25 0.05 70);
	--warning-soft: oklch(0.968 0.043 84);
	--info: oklch(0.546 0.215 262.9);
	--info-soft: oklch(0.958 0.024 259);
	--ink: oklch(0.229 0.026 279);
	--ink-foreground: oklch(0.975 0.005 285);
	--border: oklch(0.937 0.006 285);
	--input: oklch(0.937 0.006 285);
	--ring: oklch(0.554 0.243 280.5);
	--shadow-card: 0 1px 2px 0 oklch(0.18 0.03 275 / 0.025);
	--shadow-raised: 0 2px 10px -3px oklch(0.18 0.03 275 / 0.06);
	--shadow-pop: 0 8px 24px -10px oklch(0.18 0.03 275 / 0.1);
	--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
	--header-h: 60px;
}
@media (min-width: 768px) { :root { --header-h: 72px; } }
@media (min-width: 1280px) { :root { --header-h: 108px; } }

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.5;
	font-feature-settings: "cv02", "cv03", "cv04", "cv11";
	-webkit-font-smoothing: antialiased;
}
@media (max-width: 767px) { html, body { overflow-x: clip; max-width: 100%; } }
h1, h2, h3, h4 { margin: 0; letter-spacing: 0; text-wrap: balance; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 1000; top: 8px; left: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow-pop); }

/* ------------------------------------------------------------- Utilities */
.container-page { margin-inline: auto; width: 100%; max-width: 1440px; padding-inline: 0.625rem; }
@media (min-width: 768px) { .container-page { padding-inline: 1.5rem; } }
@media (min-width: 1280px) { .container-page { padding-inline: 2rem; } }
.surface { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.hide-scrollbar { scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.mesh-hero {
	background-image:
		radial-gradient(at 12% 10%, oklch(0.554 0.243 280.5 / 0.16) 0px, transparent 55%),
		radial-gradient(at 88% 0%, oklch(0.546 0.215 262.9 / 0.12) 0px, transparent 50%),
		radial-gradient(at 60% 100%, oklch(0.68 0.16 330 / 0.1) 0px, transparent 55%);
}
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--muted-foreground); }
.small { font-size: 12px; }
.w-full { width: 100%; }
.mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-6 { margin-top: 1.5rem; }
.py-6 { padding-block: 1.5rem; } .py-8 { padding-block: 1.5rem; } .py-10 { padding-block: 2.5rem; } .py-12 { padding-block: 3rem; }
@media (min-width: 640px) { .py-8 { padding-block: 2rem; } }
.content-narrow { max-width: 860px; }
.sm-only { display: inline; } .md-only { display: none; }
@media (min-width: 768px) { .sm-only { display: none; } .md-only { display: inline; } }

/* --------------------------------------------------------------- Buttons */
.btn, .button, button.button, a.button, input.button, .woocommerce .button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	white-space: nowrap; height: 2.25rem; padding: 0 1rem; border-radius: var(--radius-md);
	font-size: 14px; font-weight: 500; line-height: 1; border: 1px solid transparent;
	cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, opacity .15s;
	background: var(--secondary); color: var(--foreground); text-decoration: none;
}
.btn .icon, .button .icon { width: 1rem; height: 1rem; }
.btn:disabled, .btn.disabled, .button:disabled, .button.disabled { opacity: .5; pointer-events: none; cursor: not-allowed; }
.btn-primary, .button-primary, .button.alt, .woocommerce button.button.alt, #place_order, .single_add_to_cart_button, .checkout-button {
	background: var(--primary); color: var(--primary-foreground); box-shadow: 0 1px 3px oklch(0.18 0.03 275 / .1);
}
.btn-primary:hover, .button-primary:hover, .button.alt:hover, #place_order:hover, .checkout-button:hover { background: oklch(0.554 0.243 280.5 / .9); }
.btn-secondary { background: var(--secondary); color: var(--foreground); box-shadow: var(--shadow-card); }
.btn-secondary:hover { background: oklch(0.965 0.005 285 / .8); filter: brightness(.97); }
.btn-outline { background: var(--background); border-color: var(--input); box-shadow: var(--shadow-card); }
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-sm { height: 2rem; padding: 0 .75rem; font-size: 12px; }
.btn-lg { height: 2.5rem; padding: 0 2rem; }
.btn-icon { width: 2.25rem; padding: 0; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.icon-btn {
	position: relative; display: grid; place-items: center; width: 2.375rem; height: 2.375rem;
	border-radius: var(--radius-md); color: var(--muted-foreground); transition: background-color .15s, color .15s;
}
.icon-btn:hover { background: var(--muted); color: var(--foreground); }

/* ---------------------------------------------------------------- Inputs */
.input, input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=url], textarea, select {
	width: 100%; height: 2.25rem; padding: .25rem .75rem; border: 1px solid var(--input); border-radius: var(--radius-md);
	background: transparent; font-size: 14px; color: var(--foreground); outline: none; box-shadow: var(--shadow-card);
	transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 6rem; padding: .5rem .75rem; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.25rem; background: var(--card); cursor: pointer; }
.input:focus, input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.554 0.243 280.5 / .15); }
::placeholder { color: var(--muted-foreground); opacity: 1; }
.select-wrap { position: relative; display: block; }
.select-wrap .select-chev { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); pointer-events: none; }
.check-row { display: flex; align-items: center; gap: .625rem; margin-top: .5rem; font-size: 14px; cursor: pointer; }
.check-row input, input[type=checkbox], input[type=radio] { width: 1rem; height: 1rem; margin: 0; accent-color: var(--primary); flex-shrink: 0; }
.field { display: grid; gap: .375rem; min-width: 0; margin: 0 0 1rem; }
.field label, .form-row label { font-size: 13px; font-weight: 500; }
.required { color: var(--destructive); text-decoration: none; border: 0; }

/* ----------------------------------------------------------- Badges etc. */
.status-badge {
	display: inline-flex; align-items: center; gap: .375rem; white-space: nowrap; border-radius: var(--radius-sm);
	padding: .25rem .5rem; font-size: 11px; font-weight: 600; line-height: 1;
}
.status-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.status-badge .dot.pulse { opacity: 1; animation: nx-pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes nx-pulse { 50% { opacity: .4; } }
.tone-neutral { background: var(--muted); color: var(--muted-foreground); }
.tone-primary { background: var(--primary-soft); color: var(--accent-foreground); }
.tone-success { background: var(--success-soft); color: var(--success); }
.tone-warning { background: var(--warning-soft); color: var(--warning-foreground); }
.tone-danger { background: var(--destructive-soft); color: var(--destructive); }
.tone-info { background: var(--info-soft); color: var(--info); }
.counter {
	position: absolute; right: -2px; top: -2px; display: grid; place-items: center; min-width: 1.125rem; padding: 0 .25rem;
	border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 10px; font-weight: 700; line-height: 1.125rem;
}
.counter[data-count="0"] { display: none; }
.avatar { display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; font-weight: 600; color: #fff; }
.rating { display: inline-flex; align-items: center; gap: .25rem; }
.rating .stars { display: inline-flex; }
.rating .stars .icon { width: var(--star, 14px); height: var(--star, 14px); fill: var(--muted); color: oklch(0.551 0.019 274 / .4); }
.rating .stars .icon.is-on { fill: var(--warning); color: var(--warning); }
.rating-value { font-size: 12px; font-weight: 600; }
.rating-count { font-size: 12px; color: var(--muted-foreground); }

.price-display { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; row-gap: .125rem; min-width: 0; }
.price-display .pd-now { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.price-display.size-sm .pd-now { font-size: 15px; }
.price-display .pd-old { font-size: 12px; color: var(--muted-foreground); text-decoration: line-through; }
.pd-off { border-radius: var(--radius-sm); background: var(--success-soft); color: var(--success); padding: .125rem .375rem; font-size: 11px; font-weight: 600; }

.page-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-header-text { min-width: 0; max-width: 100%; }
.page-header h1 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; word-break: break-word; text-wrap: wrap; }
.page-header p { margin-top: .25rem; font-size: 14px; color: var(--muted-foreground); }
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.section-heading h2 { font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
@media (min-width: 640px) { .section-heading h2 { font-size: 24px; } }
.section-heading p { margin-top: .25rem; font-size: 14px; color: var(--muted-foreground); }
.empty-state {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	border: 1px dashed var(--border); border-radius: var(--radius-xl); background: var(--card); padding: 3.5rem 1.5rem;
}
.empty-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-xl); background: var(--primary-soft); color: var(--accent-foreground); }
.empty-icon .icon { width: 1.5rem; height: 1.5rem; }
.empty-state h3 { margin-top: 1rem; font-size: 16px; font-weight: 600; }
.empty-state p { margin-top: .375rem; max-width: 24rem; font-size: 14px; color: var(--muted-foreground); }
.empty-action { margin-top: 1.25rem; }
.stats-card { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: 1rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.stats-card > div { min-width: 0; }
.stats-label { font-size: 13px; font-weight: 500; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-value { margin-top: .375rem; font-size: 22px; font-weight: 700; line-height: 1.25; word-break: break-word; }
.stats-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-md); flex-shrink: 0; }
.stats-icon .icon { width: 1.125rem; height: 1.125rem; }

/* ---------------------------------------------------------------- Header */
.site-shell { display: flex; min-height: 100vh; flex-direction: column; }
.site-main { flex: 1; padding-bottom: 5rem; }
@media (min-width: 768px) { .site-main { padding-bottom: 0; } }
.site-header {
	position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border);
	background: oklch(1 0 0 / .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@supports (backdrop-filter: blur(1px)) { .site-header { background: oklch(1 0 0 / .8); } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.brand { display: flex; flex-shrink: 0; align-items: center; }
.brand-word { display: flex; align-items: center; height: 2.25rem; max-width: 160px; overflow: hidden; white-space: nowrap; font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.brand-compact .brand-word { max-width: 120px; }
.custom-logo-link img { max-height: 36px; width: auto; }
.header-mobile { position: relative; display: flex; height: 60px; align-items: center; gap: .5rem; min-width: 0; }
.header-mobile-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.header-mobile-actions { margin-left: auto; display: flex; align-items: center; gap: .125rem; }
.header-tablet, .header-desktop { display: none; }
.header-search { min-width: 0; }
.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: .125rem; }
.mobile-search { padding-bottom: .75rem; }
@media (min-width: 768px) {
	.header-mobile, .mobile-search { display: none !important; }
	.header-tablet { display: grid; height: 72px; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-width: 0; }
	.header-tablet .header-search { padding-inline: .25rem; }
}
@media (min-width: 1024px) { .header-tablet .header-search { padding-inline: 1rem; } .header-actions { gap: .25rem; } }
@media (min-width: 1280px) {
	.header-tablet { display: none; }
	.header-desktop { display: flex; height: 4rem; align-items: center; gap: 1.5rem; min-width: 0; }
	.header-desktop .header-search { flex: 1; }
}
.currency-select { position: relative; display: inline-block; flex-shrink: 0; }
.currency-select.mr-1 { margin-right: .25rem; }
.currency-select select {
	height: 2.25rem; width: 86px; padding: 0 1.75rem 0 .625rem; border-radius: var(--radius-md);
	background: oklch(0.965 0.005 285 / .6); border-color: var(--border); font-size: 12px; font-weight: 600; box-shadow: none;
}
.currency-select .select-chev { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; opacity: .5; pointer-events: none; }
.currency-select.w-full, .currency-select.w-full select { width: 100%; }
.currency-switch { display: none; }

.store-nav { display: none; border-top: 1px solid var(--border); }
@media (min-width: 1280px) { .store-nav { display: block; } }
.store-nav-inner { display: flex; height: 2.75rem; align-items: center; }
.store-menu { display: flex; gap: .25rem; list-style: none; }
.store-menu a { display: block; border-radius: var(--radius-md); padding: .375rem .75rem; font-size: 14px; font-weight: 500; color: var(--muted-foreground); transition: background-color .15s, color .15s; }
.store-menu a:hover { background: var(--muted); color: var(--foreground); }
.store-menu .current-menu-item > a, .store-menu a[aria-current] { background: var(--primary-soft); color: var(--accent-foreground); }

/* Account dropdown */
.dropdown { position: relative; }
.account-menu.with-gap { margin-left: .25rem; }
.avatar-btn { display: flex; align-items: center; flex-shrink: 0; padding: .25rem; border-radius: var(--radius-md); transition: background-color .15s; }
.avatar-btn:hover { background: var(--muted); }
.dropdown-panel {
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; width: 15rem; padding: .25rem;
	background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-pop);
	opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top right; transition: opacity .12s, transform .12s, visibility .12s;
}
.dropdown.is-open .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-label { display: flex; flex-direction: column; gap: .125rem; padding: .375rem .5rem; font-size: 14px; font-weight: 600; }
.dropdown-label small { font-size: 12px; font-weight: 400; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; }
.dropdown-panel hr { margin: .25rem -.25rem; border: 0; border-top: 1px solid var(--border); }
.dropdown-panel a { display: flex; align-items: center; gap: .5rem; padding: .375rem .5rem; border-radius: var(--radius-sm); font-size: 14px; outline: none; }
.dropdown-panel a:hover, .dropdown-panel a:focus { background: var(--accent); color: var(--accent-foreground); }
.dropdown-panel a .icon { width: 1rem; height: 1rem; }

/* ----------------------------------------------------------- Search box */
.search-box { position: relative; width: 100%; }
.search-form { position: relative; margin: 0; }
.search-form .search-icon { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); width: 1.125rem; height: 1.125rem; color: var(--muted-foreground); pointer-events: none; }
.search-form input[type=search] {
	height: 2.625rem; padding: 0 2.5rem 0 2.75rem; border-radius: 10px; border: 1px solid var(--border);
	background: var(--card); font-size: 14px; box-shadow: none; -webkit-appearance: none;
}
.search-form input[type=search]::-webkit-search-cancel-button { display: none; }
.search-form input[type=search]:focus { border-color: var(--primary); box-shadow: none; }
.search-form.search-lg input[type=search] { height: 3.25rem; font-size: 16px; }
.search-clear { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.search-clear:hover { color: var(--foreground); }
.search-clear .icon { width: 1rem; height: 1rem; }
.search-pop {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; max-height: 70vh; overflow-y: auto;
	padding: .5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-pop);
}
.sp-group { margin-bottom: .25rem; }
.sp-group:last-child { margin-bottom: 0; }
.sp-title { display: flex; align-items: center; gap: .375rem; padding: .375rem .75rem; font-size: 11px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--muted-foreground); }
.sp-title .icon { width: .875rem; height: .875rem; }
.sp-row { display: block; padding: .5rem .75rem; border-radius: var(--radius-md); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; outline: none; }
.sp-row:hover, .sp-row:focus, .sp-product:hover, .sp-product:focus { background: var(--muted); }
.sp-product { display: flex; align-items: center; gap: .75rem; padding: .5rem; border-radius: var(--radius-md); outline: none; }
.sp-product img { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); object-fit: cover; background: var(--muted); flex-shrink: 0; }
.sp-name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.sp-price { font-size: 14px; font-weight: 600; }
.sp-empty { padding: 2rem .75rem; text-align: center; }
.sp-empty p { font-size: 14px; font-weight: 600; }
.sp-empty small { display: block; margin-top: .25rem; font-size: 12px; color: var(--muted-foreground); }

/* ---------------------------------------------------------------- Drawer */
.site-drawer {
	position: fixed; z-index: 70; inset: 0 auto 0 0; width: 86vw; max-width: 24rem; overflow-y: auto;
	background: var(--card); box-shadow: var(--shadow-pop); transform: translateX(-100%); transition: transform .25s ease; visibility: hidden;
}
.site-drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--border); }
.drawer-body { padding: 1rem; }
.drawer-cats { display: grid; gap: .125rem; }
.drawer-cats a { display: flex; align-items: center; justify-content: space-between; padding: .625rem .75rem; border-radius: var(--radius-md); font-size: 14px; transition: background-color .15s; }
.drawer-cats a:hover { background: var(--muted); }
.drawer-cats span { font-size: 12px; color: var(--muted-foreground); }
.drawer-label { padding: 1rem .25rem .5rem; font-size: 11px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--muted-foreground); }
.drawer-actions { display: grid; gap: .5rem; margin-top: 1rem; }
.drawer-scrim { position: fixed; inset: 0; z-index: 65; background: oklch(0 0 0 / .5); opacity: 0; transition: opacity .2s; }
.drawer-scrim.is-open { opacity: 1; }

/* ---------------------------------------------------------------- Footer */
.site-footer { margin-top: 4rem; border-top: 1px solid var(--border); background: var(--ink); color: var(--ink-foreground); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } .footer-brand { grid-column: span 2; } }
.footer-brand p { margin-top: 1rem; max-width: 24rem; font-size: 14px; color: oklch(0.975 0.005 285 / .65); }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer-social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-md); border: 1px solid oklch(1 0 0 / .12); font-size: 12px; font-weight: 600; color: oklch(0.975 0.005 285 / .75); transition: border-color .15s, color .15s; }
.footer-social a:hover { border-color: var(--primary); color: var(--ink-foreground); }
.site-footer h3 { font-size: 13px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: oklch(0.975 0.005 285 / .5); }
.site-footer nav ul { list-style: none; margin-top: 1rem; display: grid; gap: .625rem; }
.site-footer nav a { font-size: 14px; color: oklch(0.975 0.005 285 / .75); transition: color .15s; }
.site-footer nav a:hover { color: var(--ink-foreground); }
.footer-bottom { border-top: 1px solid oklch(1 0 0 / .1); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: .5rem; padding-block: 1.25rem; font-size: 12px; color: oklch(0.975 0.005 285 / .55); }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Mobile bottom nav */
.mobile-bottom-nav {
	position: fixed; inset: auto 0 0 0; z-index: 40; border-top: 1px solid var(--border); background: var(--card);
	padding-bottom: env(safe-area-inset-bottom); contain: layout paint style; isolation: isolate; transform: translate3d(0,0,0);
}
@media (min-width: 768px) { .mobile-bottom-nav { display: none; } }
.mobile-bottom-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; }
.mobile-bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding-block: .625rem; font-size: 11px; font-weight: 500; color: var(--muted-foreground); transition: color .15s; }
.mobile-bottom-nav a.is-active { color: var(--primary); }
.bn-icon { position: relative; }

/* ------------------------------------------------------------------ Home */
.hero { border-bottom: 1px solid var(--border); background-color: var(--card); }
.hero-grid { display: grid; gap: 2.5rem; padding-block: 3rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr .85fr; padding-block: 4rem; } }
.hero-copy { max-width: 42rem; }
.hero-pill { margin-bottom: 1rem; }
.hero h1 { font-size: 30px; font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
@media (min-width: 640px) { .hero h1 { font-size: 36px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 46px; } }
.hero-lead { margin-top: 1rem; max-width: 36rem; font-size: 15px; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 640px) { .hero-lead { font-size: 16px; } }
.hero-search { margin-top: 1.5rem; max-width: 36rem; }
.popular-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .75rem; font-size: 12px; color: var(--muted-foreground); }
.popular-tags > span { font-weight: 500; }
.popular-tags a { border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: .25rem .625rem; transition: border-color .15s, color .15s; }
.popular-tags a:hover { border-color: var(--primary); color: var(--primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 32rem; margin: 2.25rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.hero-stats > div { min-width: 0; }
.hero-stats dt { font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
@media (min-width: 640px) { .hero-stats dt { font-size: 24px; } }
.hero-stats dd { margin: .125rem 0 0; font-size: 12px; color: var(--muted-foreground); }
.hero-side { display: none; }
@media (min-width: 1024px) { .hero-side { display: block; } }
.activity-card { display: grid; gap: .75rem; padding: 1rem; box-shadow: var(--shadow-raised); }
.activity-head { display: flex; align-items: center; justify-content: space-between; }
.activity-head p { font-size: 14px; font-weight: 600; }
.activity-row { display: flex; align-items: center; gap: .75rem; padding: .625rem; border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color .15s; }
.activity-row:hover { border-color: var(--primary); }
.activity-text { min-width: 0; flex: 1; }
.activity-text .t { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; }
.activity-text .s { display: block; font-size: 12px; color: var(--muted-foreground); }
.activity-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; padding-top: .25rem; }
.activity-perks div { display: flex; align-items: center; gap: .5rem; border-radius: var(--radius-md); background: var(--primary-soft); padding: .625rem .75rem; font-size: 12px; font-weight: 600; color: var(--accent-foreground); }
.activity-perks .icon { width: 1rem; height: 1rem; }
.category-row { display: flex; gap: .75rem; overflow-x: auto; margin-inline: -.625rem; padding: 0 .625rem .5rem; }
@media (min-width: 640px) { .category-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
@media (min-width: 1024px) { .category-row { grid-template-columns: repeat(6, 1fr); } }
.category-tile { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 132px; flex-shrink: 0; padding: 1rem; text-align: center; transition: border-color .2s; }
@media (min-width: 640px) { .category-tile { width: auto; } }
.category-tile:hover { border-color: var(--primary); }
.category-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: background-color .2s, color .2s; }
.category-tile:hover .category-icon { background: var(--primary); color: var(--primary-foreground); }
.category-name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.category-count { font-size: 11px; color: var(--muted-foreground); }
.benefits { border-block: 1px solid var(--border); background: var(--card); }
.benefit-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit-card { padding: 1.25rem; }
.benefit-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-md); background: var(--primary-soft); color: var(--accent-foreground); }
.benefit-card h3 { margin-top: 1rem; font-size: 15px; font-weight: 600; }
.benefit-card p { margin-top: .375rem; font-size: 14px; line-height: 1.625; color: var(--muted-foreground); }

/* ---------------------------------------------------------- Product grid */
ul.products, .product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 640px) { .product-grid { gap: 1rem; } }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.catalog-results .catalog-grid { gap: .625rem; }
@media (min-width: 640px) { .catalog-results .catalog-grid { gap: 1rem; } }
@media (min-width: 1280px) { .catalog-results .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1536px) { .catalog-results .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
ul.products::before, ul.products::after { display: none; }

.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; margin: 0 !important; width: auto !important; float: none !important; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.card-media { position: relative; display: block; }
.media-frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; margin: 0 !important; }
.card-badge { position: absolute; left: .5rem; top: .5rem; }
.card-badge:empty { display: none; }
.sold-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: oklch(0.229 0.026 279 / .55); }
.card-wish { position: absolute; right: .5rem; top: .5rem; z-index: 2; }
.wishlist-toggle { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--radius-md); color: var(--muted-foreground); transition: color .15s, opacity .15s; }
.wishlist-toggle .icon { width: 1rem; height: 1rem; }
.wishlist-toggle:hover { color: var(--destructive); }
.wishlist-toggle.is-active { color: var(--destructive); }
.wishlist-toggle.is-active .icon { fill: var(--destructive); }
@media (min-width: 768px) {
	.card-wish .wishlist-toggle { border: 1px solid var(--border); background: oklch(1 0 0 / .95); box-shadow: var(--shadow-card); opacity: 0; }
	.product-card:hover .card-wish .wishlist-toggle, .card-wish .wishlist-toggle:focus-visible, .card-wish .wishlist-toggle.is-active { opacity: 1; }
}
@media (hover: none) { .card-wish .wishlist-toggle { opacity: 1; } }
.card-body { display: flex; flex: 1; flex-direction: column; padding: .75rem; }
.card-cat { font-size: 11px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 16px; }
.card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .25rem; height: 2.5rem; font-size: 14px; font-weight: 600; line-height: 1.375; word-break: break-word; }
.card-title:hover { color: var(--primary); }
.card-meta { margin-top: .375rem; display: flex; flex-wrap: wrap; align-items: center; column-gap: .75rem; row-gap: .25rem; font-size: 12px; color: var(--muted-foreground); }
.card-sold, .card-desc, .list-only { display: none; }
.card-foot { margin-top: auto; padding-top: .625rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.card-cart { width: 2rem; height: 2rem; flex-shrink: 0; }
.card-cart.loading { opacity: .6; }
.card-cart.added::after { content: none; }
.product-card .added_to_cart { display: none; }

/* List layout (Catalog view = list) */
.catalog-grid.is-list { display: flex; flex-direction: column; gap: .75rem; }
.catalog-grid.is-list .product-card { flex-direction: row; gap: 1rem; padding: .75rem; overflow: visible; }
.catalog-grid.is-list .product-card:hover { transform: none; }
.catalog-grid.is-list .card-media { flex-shrink: 0; width: 7rem; }
@media (min-width: 640px) { .catalog-grid.is-list .card-media { width: 8rem; } }
.catalog-grid.is-list .media-frame { aspect-ratio: 1; border-radius: var(--radius-md); }
.catalog-grid.is-list .card-badge { left: .25rem; top: .25rem; }
.catalog-grid.is-list .card-wish { right: .75rem; top: .75rem; }
.catalog-grid.is-list .card-wish .wishlist-toggle { opacity: 1; border: 0; background: none; box-shadow: none; }
.catalog-grid.is-list .card-body { padding: 0 2.25rem 0 0; min-width: 0; }
.catalog-grid.is-list .card-title { height: auto; margin-top: .125rem; font-size: 15px; }
.catalog-grid.is-list .card-sold { display: inline; }
@media (min-width: 640px) { .catalog-grid.is-list .card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .5rem; font-size: 14px; color: var(--muted-foreground); } }
.catalog-grid.is-list .card-foot { flex-wrap: wrap; padding-top: .75rem; margin-right: -2.25rem; }
.catalog-grid.is-list .price-display .pd-now { font-size: 18px; }
.catalog-grid.is-list .card-cart { width: auto; height: 2rem; padding: 0 .75rem; font-size: 12px; background: var(--primary); color: var(--primary-foreground); }
.catalog-grid.is-list .card-cart .icon { display: none; }
.catalog-grid.is-list .list-only { display: inline; }

/* -------------------------------------------------------------- Catalogue */
.catalog { padding-block: 1.5rem; }
@media (min-width: 1024px) { .catalog { padding-block: 2rem; } }
.catalog-head { margin-bottom: 1.25rem; }
.catalog-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
@media (min-width: 640px) { .catalog-head h1 { font-size: 30px; } }
.catalog-head p { margin-top: .375rem; font-size: 14px; color: var(--muted-foreground); }
.catalog-layout { display: flex; gap: 1.5rem; }
.catalog-sidebar { display: none; width: 248px; flex-shrink: 0; }
@media (min-width: 1024px) { .catalog-sidebar { display: block; } }
.sidebar-inner { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; padding: 1rem; }
.catalog-results { min-width: 0; flex: 1; }
.filter-panel { display: grid; gap: 1.5rem; }
.filter-block h3, .filter-widget h3 { margin-bottom: .625rem; font-size: 13px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--muted-foreground); }
.filter-cats { display: grid; gap: .125rem; max-height: 16rem; overflow-y: auto; padding-right: .25rem; }
.filter-cat { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .375rem .625rem; border-radius: var(--radius-md); font-size: 14px; transition: background-color .15s; }
.filter-cat:hover { background: var(--muted); }
.filter-cat.is-active { background: var(--primary-soft); font-weight: 600; color: var(--accent-foreground); }
.filter-cat .count { font-size: 12px; font-weight: 400; color: var(--muted-foreground); }
.price-inputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.price-inputs label { display: grid; gap: .375rem; }
.price-inputs span { font-size: 12px; color: var(--muted-foreground); }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .625rem; }
.result-count { margin-right: auto; padding-left: .25rem; font-size: 14px; color: var(--muted-foreground); }
.result-count strong { font-weight: 600; color: var(--foreground); }
.filter-count { margin-left: .25rem; border-radius: var(--radius-sm); background: var(--primary); color: var(--primary-foreground); padding: 0 .375rem; font-size: 10px; font-weight: 700; line-height: 1.5; }
@media (min-width: 1024px) { .filter-toggle { display: none !important; } }
.sort-form { margin: 0; }
.sort-form select { height: 2.25rem; width: 168px; font-size: 14px; }
.view-toggle { display: none; align-items: center; gap: .125rem; padding: .125rem; border: 1px solid var(--border); border-radius: 10px; }
@media (min-width: 640px) { .view-toggle { display: flex; } }
.view-toggle button { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--radius-md); color: var(--muted-foreground); transition: background-color .15s, color .15s; }
.view-toggle button:hover { background: var(--muted); }
.view-toggle button.is-active { background: var(--primary-soft); color: var(--accent-foreground); }
.view-toggle .icon { width: 1rem; height: 1rem; }
.catalog-pagination { margin-top: 2rem; display: flex; justify-content: center; }
.catalog-pagination ul { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; }
.catalog-pagination .page-numbers { display: grid; place-items: center; min-width: 2.25rem; height: 2.25rem; padding: 0 .625rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); font-size: 14px; font-weight: 500; }
.catalog-pagination a.page-numbers:hover { background: var(--muted); }
.catalog-pagination .current { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.catalog-pagination .dots { border: 0; background: none; }
.load-more-products { margin-top: 2rem; display: flex; justify-content: center; }
.filter-sheet {
	position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; margin-inline: auto; width: 100%; max-height: 85vh; overflow-y: auto;
	background: var(--card); border-radius: 1rem 1rem 0 0; box-shadow: var(--shadow-pop); transform: translateY(100%); transition: transform .25s ease; visibility: hidden;
}
@media (min-width: 640px) { .filter-sheet { max-width: 28rem; } }
.filter-sheet.is-open { transform: none; visibility: visible; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1rem .5rem; }
.sheet-head h2 { font-size: 18px; font-weight: 600; }
.sheet-body { padding: 0 1rem 1.5rem; }

/* Categories page */
.categories-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 640px) { .categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .categories-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cat-card { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: .5rem; padding: 1rem; text-align: center; transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.cat-card-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radius-xl); background: var(--primary-soft); color: var(--primary); }
.cat-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-name { width: 100%; word-break: break-word; font-size: 14px; font-weight: 600; }
.cat-card-count { font-size: 12px; color: var(--muted-foreground); }

/* Search / blog lists, 404 */
.result-list { list-style: none; display: grid; gap: .75rem; }
.result-list li { padding: 1rem; }
.result-list a { font-size: 15px; font-weight: 600; }
.result-list a:hover { color: var(--primary); }
.result-list p { margin-top: .25rem; font-size: 14px; color: var(--muted-foreground); }
.not-found { max-width: 36rem; padding-block: 4rem; text-align: center; }
.nf-code { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--primary); }
.not-found h1 { margin-top: 1rem; font-size: 24px; font-weight: 700; }
.nf-text { margin-top: .5rem; font-size: 14px; color: var(--muted-foreground); }
.nf-search { margin: 1.5rem auto 0; max-width: 28rem; text-align: left; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

/* ----------------------------------------------------------- Product page */
.product-page-wrap { width: 100%; }
.product-page { --radius: 0.5rem; margin-inline: auto; width: 100%; max-width: 1280px; padding: .75rem 0 6rem; }
@media (min-width: 640px) { .product-page { padding: 1.25rem 1.25rem 3.5rem; } }
@media (max-width: 767px) { .product-page .surface { border-radius: 12px; box-shadow: none; } }
.breadcrumb { display: flex; min-width: 0; align-items: center; gap: .375rem; margin-bottom: .75rem; padding-inline: .625rem; font-size: 12px; color: var(--muted-foreground); }
@media (min-width: 640px) { .breadcrumb { padding-inline: 0; } }
.breadcrumb a { flex-shrink: 0; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .icon { width: .75rem; height: .75rem; }
.breadcrumb .current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--primary); }
.pdp-grid { display: grid; min-width: 0; align-items: start; gap: 1rem; }
@media (min-width: 1024px) { .pdp-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (min-width: 1280px) { .pdp-grid { gap: 1.25rem; } }
.pdp-main { display: grid; gap: 1rem; min-width: 0; }
.pdp-hero { min-width: 0; padding: .75rem 1rem; }
@media (min-width: 640px) { .pdp-hero { padding: 1.25rem; } }
.pdp-hero-grid { display: grid; min-width: 0; gap: 1rem; }
@media (min-width: 640px) { .pdp-hero-grid { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 1.5rem; } }
.pdp-gallery { min-width: 0; }
.gallery-mobile { position: relative; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); }
.gallery-slide { width: 100%; flex-shrink: 0; scroll-snap-align: center; }
.gallery-slide img, .gallery-desktop img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; margin: 0; }
.fav-flag { position: absolute; right: .5rem; top: 0; display: grid; place-items: center; width: 1.75rem; height: 2.25rem; }
.fav-flag svg { width: 1.75rem; height: 2.25rem; }
.fav-flag .flag { fill: #384250; transition: fill .15s; }
.fav-flag.is-active .flag { fill: #f54848; }
.gallery-dots { position: absolute; inset: auto 0 .375rem 0; display: flex; justify-content: center; gap: .25rem; pointer-events: none; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: oklch(1 0 0 / .55); transition: background-color .2s; }
.gallery-dots span.is-active { background: var(--primary); }
.gallery-desktop { display: none; position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); }
.gallery-wish { position: absolute; right: .5rem; top: .5rem; background: oklch(1 0 0 / .95); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .gallery-mobile { display: none; } .gallery-desktop { display: block; } }
.pdp-info { min-width: 0; }
.pdp-info h1 { width: 100%; font-size: 20px; font-weight: 700; line-height: 1.25; text-wrap: wrap; }
@media (min-width: 640px) { .pdp-info h1 { font-size: 24px; } }
.pdp-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; row-gap: .375rem; margin-top: .625rem; font-size: 13px; color: var(--muted-foreground); }
@media (min-width: 640px) { .pdp-meta { margin-top: .75rem; column-gap: .625rem; font-size: 14px; } }
.pdp-meta > span:first-child { display: flex; align-items: center; gap: .375rem; }
.pdp-meta .icon { width: .875rem; height: .875rem; }
.pdp-meta .sep { color: oklch(0.551 0.019 274 / .5); }
.reviews-link { display: inline-flex; align-items: center; gap: .25rem; font-weight: 500; color: var(--primary); text-underline-offset: 4px; }
.reviews-link:hover { text-decoration: underline; }
.pdp-price-mobile { margin-top: .875rem; }
@media (min-width: 640px) { .pdp-price-mobile { display: none; } }
.pdp-short { margin-top: .75rem; font-size: 14px; line-height: 1.5rem; color: var(--muted-foreground); }
.pdp-short p + p { margin-top: .5rem; }
.pdp-extras { margin-top: .75rem; font-size: 13px; color: var(--muted-foreground); }
.pdp-extras:empty { display: none; }
.pdp-extras .product-taxonomy a { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--primary); }
.detail-list { list-style: none; display: grid; gap: .375rem; margin-top: .5rem; }
.detail-list li { position: relative; padding-left: 1rem; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.stock.in-stock { margin-top: .5rem; color: var(--success); font-weight: 500; }
.big-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.big-price.is-muted-box { border-radius: var(--radius-md); background: oklch(0.965 0.005 285 / .6); padding: .625rem .75rem; }
.big-price-now { font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.big-price.is-xl { align-items: center; }
.big-price.is-xl .big-price-now { font-size: 30px; }
.big-price-old { font-size: 14px; color: var(--muted-foreground); text-decoration: line-through; }
.big-price-off { border-radius: var(--radius-sm); background: oklch(0.577 0.222 27.3 / .1); padding: .125rem .5rem; font-size: 12px; font-weight: 700; color: var(--destructive); }

/* Plan & duration options (WooCommerce variations form) */
.pdp-options { margin-top: 1.25rem; min-width: 0; border-top: 1px solid var(--border); padding-top: 1.25rem; }
@media (min-width: 640px) { .pdp-options { margin-top: 1.5rem; } }
.pdp-options:not(.is-variable) { margin: 0; padding: 0; border: 0; }
.pdp-options h2 { font-size: 14px; font-weight: 700; }
.pdp-options > p { margin-top: .125rem; font-size: 12px; color: var(--muted-foreground); }
.pdp-form form.cart { margin: 0; }
.pdp-form form.cart:not(.variations_form) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pdp-form table.variations { display: grid; margin-top: .75rem; min-width: 0; gap: .75rem; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--card); padding: .75rem 1rem; border-spacing: 0; }
@media (min-width: 640px) { .pdp-form table.variations { padding: 1rem; } .pdp-form table.variations tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
.pdp-form table.variations tbody { display: grid; gap: .75rem; }
.pdp-form table.variations tr { display: block; min-width: 0; }
.pdp-form table.variations th, .pdp-form table.variations td { display: block; padding: 0; text-align: left; }
.pdp-form table.variations th.label { margin-bottom: .375rem; font-size: 12px; font-weight: 500; }
.pdp-form table.variations th.label label::after { content: " *"; color: var(--destructive); }
.pdp-form table.variations td.value { position: relative; }
.pdp-form table.variations select { height: 2.5rem; padding-left: .75rem; padding-right: 2.25rem; border-radius: var(--radius-md); background: var(--card); font-size: 14px; font-weight: 500; box-shadow: none; }
.pdp-form table.variations select:hover { border-color: oklch(0.554 0.243 280.5 / .4); }
.pdp-form table.variations td.value .select-chev { top: 1.25rem; }
.pdp-form .reset_variations { display: inline-block; margin-top: .5rem; font-size: 12px; color: var(--muted-foreground); }
.pdp-form .reset_variations:hover { color: var(--primary); }
.pdp-form .single_variation_wrap .woocommerce-variation-price, .pdp-form .woocommerce-variation-add-to-cart { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pdp-form .woocommerce-variation-availability, .pdp-form .woocommerce-variation-description { margin-top: .5rem; font-size: 13px; color: var(--muted-foreground); }
.pdp-form .woocommerce-variation-availability .out-of-stock { color: var(--destructive); }
.pdp-tablet-buy { display: none; padding: 1.25rem; }
@media (min-width: 640px) and (max-width: 1023px) { .pdp-tablet-buy { display: grid; gap: 1rem; } }
@media (min-width: 768px) and (max-width: 1023px) { .pdp-tablet-buy { grid-template-columns: minmax(0, 1fr) 280px; align-items: center; } }
.pdp-tablet-buy .buy-row { display: none; }
@media (min-width: 768px) { .pdp-tablet-buy .buy-row { display: grid; } }
.buy-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem; min-width: 0; }
.buy-row .buy-cart { width: 2.75rem; height: 2.75rem; }
.buy-row .buy-cart .icon { width: 1rem; height: 1rem; }
.buy-row .buy-now { height: 2.75rem; font-size: 16px; }
.pdp-aside { display: none; min-width: 0; }
@media (min-width: 1024px) { .pdp-aside { display: block; position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.pdp-aside .surface { padding: 1rem; }
.pdp-aside .buy-row { margin-top: 1rem; }
.buy-terms { margin-top: .5rem; font-size: 11px; line-height: 1rem; color: var(--muted-foreground); }
.buy-terms a { color: var(--primary); }
.promo-link { display: flex; align-items: center; gap: .375rem; margin-top: .75rem; font-size: 12px; font-weight: 500; color: var(--primary); }
.promo-link .icon { width: .875rem; height: .875rem; }
.aside-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 12px; }
.aside-perks span { display: flex; align-items: center; gap: .375rem; }
.aside-perks .icon { width: .875rem; height: .875rem; }
.icon.is-success { color: var(--success); } .icon.is-primary { color: var(--primary); }
.mobile-buy-bar { position: fixed; inset: auto 0 calc(3.8125rem + env(safe-area-inset-bottom)) 0; z-index: 50; max-width: 100%; overflow: hidden; background: var(--card); padding: .5rem; }
@media (min-width: 768px) { .mobile-buy-bar { display: none; } }
.mobile-buy-inner { display: flex; min-width: 0; max-width: 32rem; margin-inline: auto; align-items: center; gap: .5rem; }
.mobile-buy-inner .buy-cart { width: 2.25rem; height: 2.25rem; border-radius: 8px; box-shadow: none; flex-shrink: 0; }
.mobile-buy-inner .buy-cart .icon { width: 1rem; height: 1rem; }
.mobile-buy-inner .buy-now { height: 2.25rem; min-width: 0; flex: 1; border-radius: 8px; font-size: 12px; box-shadow: none; }

/* Description / tabs */
.pdp-desc { min-width: 0; max-width: 100%; overflow: hidden; padding: .75rem 1rem; }
@media (min-width: 640px) { .pdp-desc { padding: 1.25rem; } }
.tab-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; min-width: 0; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .tab-list { display: flex; gap: 1.5rem; } }
.tab-list button { margin-bottom: -1px; min-width: 0; border-bottom: 2px solid transparent; padding: 0 .125rem .625rem; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted-foreground); transition: color .15s; }
@media (min-width: 640px) { .tab-list button { flex-shrink: 0; padding-inline: .25rem; font-size: 14px; letter-spacing: .025em; } }
.tab-list button:hover { color: var(--foreground); }
.tab-list button.is-active { border-color: var(--primary); color: var(--primary); }
.tab-panel { padding-top: 1rem; min-width: 0; }
.desc-body { font-size: 14px; line-height: 1.5rem; color: var(--muted-foreground); word-break: break-word; }
.desc-body > * + * { margin-top: .75rem; }
.desc-body img { border-radius: var(--radius-md); }
.pdp-desc h3 { margin-top: 1.25rem; font-size: 14px; font-weight: 700; }
.dot-list { list-style: none; display: grid; gap: .5rem; margin-top: .625rem; font-size: 14px; color: var(--muted-foreground); }
.dot-list li { position: relative; padding-left: 1rem; word-break: break-word; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.dot-list.is-muted li::before { background: oklch(0.551 0.019 274 / .5); }
.gallery-grid:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
@media (min-width: 640px) { .gallery-grid:not([hidden]) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius-md); }
.accordion { min-width: 0; overflow: hidden; }
.accordion-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem; text-align: left; font-size: 14px; font-weight: 600; }
.accordion-toggle .icon { width: 1rem; height: 1rem; color: var(--muted-foreground); transition: transform .2s; }
.accordion-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.accordion-body { display: grid; gap: .75rem; border-top: 1px solid var(--border); padding: 1rem; font-size: 14px; line-height: 1.5rem; color: var(--muted-foreground); word-break: break-word; }
.scroll-target { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* Reviews */
.reviews-card { min-width: 0; overflow: hidden; padding: 1rem .75rem; }
@media (min-width: 768px) { .reviews-card { padding: 1.25rem; } }
.reviews-card > h2 { font-size: 13px; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
@media (min-width: 768px) { .reviews-card > h2 { font-size: 14px; } }
.reviews-grid { display: grid; min-width: 0; gap: .75rem; margin-top: .75rem; }
@media (min-width: 768px) { .reviews-grid { gap: 1rem; margin-top: 1rem; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; } }
.reviews-summary { min-width: 0; align-self: start; border-radius: var(--radius-xl); background: oklch(0.965 0.005 285 / .6); padding: .75rem; }
@media (min-width: 768px) { .reviews-summary { padding: 1rem; } }
.rs-top { display: flex; align-items: center; gap: .625rem; }
@media (min-width: 768px) { .rs-top { display: block; } .rs-top .rating { margin-top: .25rem; } }
.rs-score { font-size: 24px; font-weight: 700; line-height: 1; }
@media (min-width: 768px) { .rs-score { font-size: 30px; line-height: 1.2; } }
.rs-based { margin-top: .125rem; font-size: 11px; color: var(--muted-foreground); }
@media (min-width: 768px) { .rs-based { margin-top: .25rem; font-size: 12px; } }
.rs-bars { display: grid; gap: .25rem; margin-top: .625rem; }
@media (min-width: 768px) { .rs-bars { gap: .375rem; margin-top: .75rem; } }
.rs-bar { display: grid; grid-template-columns: 26px minmax(0, 1fr) 30px; align-items: center; gap: .5rem; font-size: 10px; }
@media (min-width: 768px) { .rs-bar { grid-template-columns: 30px minmax(0, 1fr) 34px; font-size: 11px; } }
.rs-label { display: flex; align-items: center; gap: .125rem; }
.rs-label .icon { width: .625rem; height: .625rem; fill: var(--warning); color: var(--warning); }
.rs-track { height: 6px; overflow: hidden; border-radius: 999px; background: var(--card); }
.rs-track span { display: block; height: 100%; border-radius: 999px; background: var(--warning); }
.rs-pc { text-align: right; color: var(--muted-foreground); }
.reviews-list-wrap { min-width: 0; }
.review-filters { display: flex; min-width: 0; align-items: center; gap: .5rem; }
.chips { display: flex; min-width: 0; flex: 1; gap: .375rem; overflow-x: auto; margin-inline: -.25rem; padding: .125rem .25rem; }
@media (min-width: 768px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex-shrink: 0; white-space: nowrap; border-radius: 999px; background: var(--muted); padding: .25rem .625rem; font-size: 11px; font-weight: 500; color: var(--muted-foreground); transition: background-color .15s, color .15s; }
@media (min-width: 768px) { .chip { padding: .375rem .75rem; font-size: 12px; } }
.chip:hover { color: var(--foreground); }
.chip.is-active { background: var(--primary); color: var(--primary-foreground); }
.write-review { display: flex; flex-shrink: 0; align-items: center; gap: .25rem; font-size: 11px; font-weight: 500; color: var(--muted-foreground); }
@media (min-width: 768px) { .write-review { gap: .375rem; font-size: 12px; } }
.write-review:hover { color: var(--foreground); }
.write-review .icon { width: .875rem; height: .875rem; }
.review-form-wrap { margin-top: .75rem; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1rem; }
.review-form-wrap .comment-reply-title { font-size: 16px; font-weight: 600; margin-bottom: .75rem; }
.review-form-wrap .comment-form { display: grid; gap: 0; }
@media (min-width: 640px) { .review-form-wrap .comment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; } .review-form-wrap .comment-form > .comment-form-rating, .review-form-wrap .comment-form > .comment-form-comment, .review-form-wrap .comment-form > .form-submit, .review-form-wrap .comment-form > .comment-form-cookies-consent, .review-form-wrap .comment-reply-title { grid-column: 1 / -1; } }
.review-form-wrap .comment-form-rating select { max-width: 12rem; }
.review-form-wrap .comment-form-cookies-consent { display: flex; gap: .5rem; align-items: center; font-size: 13px; color: var(--muted-foreground); margin-bottom: 1rem; }
.review-form-wrap .form-submit { margin: 0; }
.notice-box { border-radius: var(--radius-md); background: var(--muted); padding: .75rem; font-size: 14px; color: var(--muted-foreground); }
.notice-box a { color: var(--primary); font-weight: 500; }
.review-list { margin-top: .75rem; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .review-list { margin-top: .5rem; border-top: 0; } }
.review-empty { padding-block: 1.25rem; font-size: 14px; color: var(--muted-foreground); }
.customer-review { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; padding-block: 1.5rem; }
.customer-review + .customer-review { border-top: 1px solid var(--border); }
.cr-body { min-width: 0; }
.cr-head { display: grid; min-width: 0; gap: .5rem; }
@media (min-width: 640px) { .cr-head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1rem; } }
.cr-who { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; column-gap: .5rem; row-gap: .25rem; }
.cr-name { font-size: 14px; font-weight: 700; }
.cr-verified { display: inline-flex; align-items: center; gap: .25rem; font-size: 12px; font-weight: 500; color: var(--success); }
.cr-verified .icon { width: .875rem; height: .875rem; }
.cr-rating { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 12px; }
.cr-sep { width: 1px; height: 1.25rem; background: var(--border); }
.cr-date { color: var(--muted-foreground); }
.cr-text { margin-top: .75rem; font-size: 14px; line-height: 1.5rem; }
@media (min-width: 640px) { .cr-text { margin-top: .5rem; } }
.cr-text p + p { margin-top: .5rem; }
.cr-helpful { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: 12px; color: var(--muted-foreground); }
.cr-helpful .icon { width: 1rem; height: 1rem; }
.load-more-wrap { display: flex; justify-content: center; margin-top: .75rem; }
.load-more { display: flex; align-items: center; gap: .25rem; font-size: 12px; font-weight: 500; }
.load-more:hover { text-decoration: underline; }
.load-more .icon { width: 1rem; height: 1rem; }

/* Product shelves */
.product-shelf { min-width: 0; margin-top: 1rem; padding: .75rem .5rem; }
@media (min-width: 640px) { .product-shelf { margin-top: 1.25rem; padding: 1.25rem .75rem; } }
.product-shelf h2 { margin-bottom: 1rem; font-size: 20px; font-weight: 700; }
@media (min-width: 640px) { .product-shelf h2 { font-size: 24px; } }
.shelf-wrap { position: relative; min-width: 0; }
.shelf-track { display: flex !important; gap: .75rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: .25rem; }
@media (min-width: 640px) { .shelf-track { gap: 1rem; } }
.shelf-track > li { min-width: 160px; flex: 0 0 47%; scroll-snap-align: start; }
@media (min-width: 640px) { .shelf-track > li { flex-basis: 34%; } }
@media (min-width: 768px) { .shelf-track > li { flex-basis: 28%; } }
@media (min-width: 1024px) { .shelf-track > li { flex-basis: 22%; } }
.shelf-track .product-card:hover { transform: none; }
.shelf-arrow { position: absolute; top: 50%; z-index: 10; display: none; place-items: center; width: 1.75rem; height: 1.75rem; transform: translateY(-50%); border-radius: var(--radius-md); color: oklch(0.551 0.019 274 / .6); transition: color .15s, opacity .15s; }
.shelf-arrow.prev { left: -.75rem; } .shelf-arrow.next { right: -.75rem; }
.shelf-arrow:hover { color: var(--foreground); background: var(--accent); }
.shelf-arrow:disabled { opacity: 0; pointer-events: none; }
.shelf-arrow .icon { width: 1rem; height: 1rem; }
@media (min-width: 768px) { .shelf-arrow { display: grid; } }

/* ------------------------------------------------------------------ Cart */
.wc-page { padding-block: 1.5rem; }
@media (min-width: 640px) { .wc-page { padding-block: 2rem; } }
.cart-page { margin-inline: auto; }
@media (min-width: 768px) and (max-width: 1023px) { .cart-page { max-width: 48rem; } }
.cart-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .cart-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
.cart-lines { display: grid; gap: .75rem; align-content: start; margin: 0; }
.cart-line { display: flex; gap: 1rem; padding: .75rem; }
.cart-thumb { width: 6rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--muted); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-main { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.cart-line-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; }
.cart-line-title:hover { color: var(--primary); }
.cart-line-sub { margin-top: .25rem; font-size: 12px; color: var(--muted-foreground); }
.cart-line-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .75rem; }
.qty-stepper { display: flex; align-items: center; gap: .5rem; }
.qty-stepper .qty-btn { width: 2rem; height: 2rem; font-size: 16px; }
.qty-stepper .quantity { margin: 0; }
.qty-stepper input.qty { width: 2rem; height: 2rem; padding: 0; border: 0; box-shadow: none; background: none; text-align: center; font-size: 14px; font-weight: 600; -moz-appearance: textfield; }
.qty-stepper input.qty::-webkit-inner-spin-button, .qty-stepper input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input.qty:focus { box-shadow: none; }
.qty-value { width: 2rem; text-align: center; font-size: 14px; font-weight: 600; }
.cart-line-price { display: flex; align-items: center; gap: .75rem; }
.cart-line-price .pd-now { font-size: 15px; font-weight: 700; letter-spacing: -.015em; }
.cart-line-price .remove .icon { width: 1rem; height: 1rem; }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; padding: .75rem; }
.cart-actions .coupon { position: relative; display: flex; flex: 1; min-width: 0; gap: .5rem; align-items: center; }
.cart-actions .coupon > .icon { position: absolute; left: .75rem; width: 1rem; height: 1rem; color: var(--muted-foreground); pointer-events: none; }
.cart-actions .coupon .input { flex: 1; min-width: 0; padding-left: 2.25rem; }
.cart-actions .update-cart[disabled] { opacity: .5; }
.js .cart-actions .update-cart { display: none; }
.cart-summary { height: fit-content; padding: 1.25rem; }
@media (min-width: 1024px) { .cart-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.cart_totals h2 { font-size: 16px; font-weight: 600; }
.summary-list { display: grid; gap: .625rem; margin: 1rem 0 0; font-size: 14px; }
.summary-list > div { display: flex; justify-content: space-between; gap: 1rem; }
.summary-list dt { color: var(--muted-foreground); }
.summary-list dd { margin: 0; font-weight: 500; text-align: right; }
.summary-list .is-discount dd { color: var(--success); }
.summary-list .is-total { border-top: 1px solid var(--border); padding-top: .75rem; font-size: 16px; font-weight: 700; }
.summary-list .is-total dt { color: var(--foreground); }
.summary-list .is-total dd { font-weight: 700; }
.summary-list .is-block { display: block; }
.summary-list small, .summary-list .includes_tax { display: block; font-size: 11px; font-weight: 400; color: var(--muted-foreground); }
.wc-proceed-to-checkout { margin-top: 1.25rem; padding: 0; }
.wc-proceed-to-checkout .checkout-button { width: 100%; height: 2.5rem; }
.summary-note { display: flex; align-items: center; justify-content: center; gap: .375rem; margin-top: .75rem; text-align: center; font-size: 12px; color: var(--muted-foreground); }
.summary-note .icon { width: .875rem; height: .875rem; }
.nx-charge-note, .nx-charged { margin-top: .5rem; font-size: 12px; color: var(--muted-foreground); }
.woocommerce-shipping-methods { list-style: none; }

/* -------------------------------------------------------------- Checkout */
.checkout-grid { display: grid; align-items: start; gap: 1.5rem; }
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.checkout-main { display: grid; gap: 1.25rem; min-width: 0; }
.checkout-step { padding: 1rem; }
@media (min-width: 640px) { .checkout-step { padding: 1.5rem; } }
.step-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1rem; }
.step-kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--primary); }
.checkout-step h2, .checkout-aside h2 { margin-top: .25rem; font-size: 18px; font-weight: 600; }
.step-sub { margin-top: .25rem; font-size: 14px; color: var(--muted-foreground); }
.pill-success { flex-shrink: 0; border-radius: 999px; background: var(--success-soft); color: var(--success); padding: .25rem .625rem; font-size: 12px; font-weight: 500; }
.step-fields { margin-top: 1.25rem; }
.step-fields h3 { font-size: 15px; font-weight: 600; margin: 0 0 .75rem; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-account-fields { display: grid; gap: 1rem; }
@media (min-width: 640px) { .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-row-wide, .form-row.notes, #billing_address_1_field, #billing_address_2_field { grid-column: 1 / -1; } }
.form-row { display: grid; gap: .375rem; min-width: 0; margin: 0; }
.form-row label { font-size: 14px; font-weight: 500; }
.form-row label .optional { font-weight: 400; color: var(--muted-foreground); }
.form-row .woocommerce-input-wrapper { display: block; }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid select { border-color: var(--destructive); }
.form-row .select2-container .select2-selection--single { height: 2.25rem; border: 1px solid var(--input); border-radius: var(--radius-md); }
.form-row .select2-container .select2-selection__rendered { line-height: 2.25rem; padding-left: .75rem; font-size: 14px; }
.form-row .select2-container .select2-selection__arrow { height: 2.25rem; }
.woocommerce-form__label-for-checkbox, .woocommerce-form__label-checkbox { display: inline-flex !important; align-items: center; gap: .5rem; font-size: 14px; font-weight: 400; color: var(--muted-foreground); cursor: pointer; }
#ship-to-different-address { font-size: 14px; margin: 1rem 0 .75rem; }
.woocommerce-additional-fields { margin-top: 1rem; }
.info-note { display: flex; align-items: flex-start; gap: .5rem; margin-top: 1rem; border-radius: var(--radius-sm); background: var(--muted); padding: .625rem .75rem; font-size: 14px; line-height: 1.25rem; color: var(--muted-foreground); }
.info-note .icon { margin-top: .125rem; width: 1rem; height: 1rem; color: var(--primary); }
#payment { margin-top: 1rem; background: none; }
#payment ul.payment_methods { list-style: none; display: grid; gap: .75rem; padding: 0; border: 0; }
#payment ul.payment_methods li { border: 1px solid var(--border); border-radius: var(--radius-md); padding: .875rem; font-size: 14px; transition: border-color .15s, background-color .15s; }
#payment ul.payment_methods li:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
#payment ul.payment_methods li > label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; cursor: pointer; }
#payment ul.payment_methods li img { display: inline; max-height: 22px; width: auto; }
#payment ul.payment_methods li input[type=radio] { margin-right: .5rem; vertical-align: middle; }
#payment .payment_box { margin-top: .625rem; font-size: 13px; color: var(--muted-foreground); }
#payment .payment_box fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .75rem; }
#payment .place-order { margin-top: 1rem; padding: 0; }
#payment .place-order #place_order { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-js #payment .place-order #place_order { position: static; width: 100%; height: 2.5rem; clip: auto; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--muted-foreground); }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-link { color: var(--primary); }
.checkout-aside { height: fit-content; min-width: 0; padding: 1rem; }
@media (min-width: 640px) { .checkout-aside { padding: 1.25rem; } }
@media (min-width: 1024px) { .checkout-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.checkout-aside .js-place-order { margin-top: 1.25rem; }
.review-table { width: 100%; margin-top: .75rem; border-collapse: collapse; font-size: 14px; }
.review-table td, .review-table th { padding: .25rem 0; vertical-align: middle; font-weight: 400; text-align: left; border: 0; }
.review-table .product-total { text-align: right; font-weight: 500; white-space: nowrap; padding-left: .75rem; }
.ro-thumb { width: 2.5rem; height: 2.5rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--muted); }
.ro-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ro-title { min-width: 0; flex: 0 1 auto; color: var(--muted-foreground); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.ro-item .product-quantity { flex: none; font-weight: 500; white-space: nowrap; color: var(--foreground); }
.ro-title .variation { display: none; }
.review-table tfoot tr:first-child th, .review-table tfoot tr:first-child td { border-top: 1px solid var(--border); padding-top: 1rem; }
.review-table tfoot th { color: var(--muted-foreground); }
.review-table tfoot td { text-align: right; }
.review-table tfoot .cart-discount td { color: var(--success); }
.review-table tfoot .order-total th, .review-table tfoot .order-total td { border-top: 1px solid var(--border); padding-top: .75rem; font-size: 16px; font-weight: 700; color: var(--foreground); }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 1rem; }
form.checkout_coupon, .woocommerce-form-login.login:not(.auth-form) { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; padding: 1rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); }
form.checkout_coupon p { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1; }
form.checkout_coupon .clear { display: none; }
.woocommerce-checkout.processing { opacity: .7; pointer-events: none; }
.blockUI.blockOverlay { background: oklch(1 0 0 / .6) !important; }

/* Thank you */
.thankyou { max-width: 42rem; margin-inline: auto; display: grid; gap: 1.25rem; padding-block: 1rem 2rem; }
.ty-hero { text-align: center; }
.ty-check { display: grid; place-items: center; width: 4rem; height: 4rem; margin-inline: auto; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.ty-check .icon { width: 2rem; height: 2rem; stroke-width: 3; }
.ty-hero h1 { margin-top: 1rem; font-size: 24px; font-weight: 700; }
@media (min-width: 640px) { .ty-hero h1 { font-size: 30px; } }
.ty-hero p { margin-top: .5rem; font-size: 14px; line-height: 1.5rem; color: var(--muted-foreground); }
.ty-hero strong { font-weight: 500; color: var(--foreground); }
.ty-card { padding: 1rem; }
@media (min-width: 640px) { .ty-card { padding: 1.5rem; } }
.ty-card h1, .ty-card h2 { font-size: 18px; font-weight: 600; }
.ty-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.ty-meta { display: grid; column-gap: 1.5rem; row-gap: .75rem; margin: 1rem 0 0; font-size: 14px; }
@media (min-width: 640px) { .ty-meta { grid-template-columns: repeat(2, 1fr); } }
.ty-meta dt { color: var(--muted-foreground); }
.ty-meta dd { margin: .125rem 0 0; font-weight: 500; word-break: break-word; }
.ty-items { list-style: none; display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 14px; }
.ty-items li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ty-name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted-foreground); }
.ty-price { font-weight: 500; }
.ty-card .summary-list { padding-top: 1rem; border-top: 1px solid var(--border); }
.ty-steps { list-style: none; display: grid; gap: 1rem; margin-top: 1rem; }
.ty-steps li { display: flex; align-items: flex-start; gap: .75rem; }
.ty-steps li > span { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.ty-steps li > span .icon { width: 1rem; height: 1rem; }
.ty-steps .t { font-size: 14px; font-weight: 600; }
.ty-steps p:not(.t) { margin-top: .125rem; font-size: 14px; line-height: 1.25rem; color: var(--muted-foreground); }
.ty-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin-top: 1rem; }
.ty-details:empty { display: none; }
.ty-details .woocommerce-order-downloads, .ty-details .woocommerce-order-details, .ty-details .woocommerce-customer-details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1rem; margin-top: 1rem; }

/* ------------------------------------------------------------- Account */
.wc-account-page > .woocommerce { display: block; }
.account-strip { border-bottom: 1px solid var(--border); background: var(--card); }
@media (min-width: 1024px) { .account-strip { display: none; } }
.account-strip nav { display: flex; overflow-x: auto; padding-block: .5rem; }
.account-strip .acc-link { flex-shrink: 0; padding: .5rem .75rem; font-size: 13px; }
.account-shell { display: grid; min-width: 0; align-items: start; }
@media (min-width: 1024px) { .account-shell { grid-template-columns: 210px minmax(0, 1fr); gap: 2rem; } }
@media (min-width: 1280px) { .account-shell { grid-template-columns: 224px minmax(0, 1fr); } }
.account-sidebar { display: none; position: sticky; top: var(--header-h); max-height: calc(100vh - var(--header-h)); overflow-y: auto; border-right: 1px solid var(--border); padding: 1.75rem 1.25rem 1.75rem 0; }
@media (min-width: 1024px) { .account-sidebar { display: block; } }
.acc-user { display: flex; min-width: 0; align-items: center; gap: .75rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.acc-user > div { min-width: 0; }
.acc-user .n { font-size: 14px; font-weight: 600; }
.acc-user .s { font-size: 12px; color: var(--muted-foreground); }
.acc-group { margin-bottom: 1.25rem; }
.acc-group-title { margin-bottom: .375rem; padding-inline: .5rem; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted-foreground); }
.acc-group ul { list-style: none; display: grid; gap: .125rem; }
.acc-link { display: flex; align-items: center; gap: .625rem; padding: .5rem .625rem; border-radius: var(--radius-md); font-size: 13.5px; font-weight: 500; color: var(--muted-foreground); transition: background-color .15s, color .15s; }
.acc-link .icon { width: 1rem; height: 1rem; }
.acc-link:hover { background: var(--muted); color: var(--foreground); }
.acc-link.is-active { background: var(--primary-soft); color: var(--accent-foreground); }
.acc-logout { border-top: 1px solid var(--border); padding-top: .75rem; }
.acc-link.is-danger:hover { background: var(--destructive-soft); color: var(--destructive); }
.account-content { min-width: 0; padding-block: 1.25rem; }
@media (min-width: 640px) { .account-content { padding-block: 1.75rem; } }
@media (min-width: 1024px) { .account-content { padding-block: 2rem; } }
.stats-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .stats-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem; border-bottom: 1px solid var(--border); }
.panel-head h2 { font-size: 16px; font-weight: 600; }
.panel-head a { font-size: 14px; font-weight: 500; color: var(--primary); }
.panel-body { padding: 1rem; }
.order-rows { list-style: none; }
.order-rows li { display: grid; grid-template-columns: 1fr auto; gap: .25rem .75rem; padding: .875rem 1rem; font-size: 14px; }
.order-rows li + li { border-top: 1px solid var(--border); }
@media (min-width: 768px) { .order-rows li { grid-template-columns: 1fr 1fr 1fr 1fr auto; align-items: center; } }
.or-id { font-weight: 600; color: var(--primary); }
.or-total { font-weight: 600; text-align: right; }
@media (min-width: 768px) { .or-total { order: 4; } }
.or-date, .or-items { font-size: 13px; color: var(--muted-foreground); }
.or-status { justify-self: end; }
.woocommerce-MyAccount-content .woocommerce-orders-table, .woocommerce-MyAccount-content .shop_table, .woocommerce-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; font-size: 14px; }
.woocommerce-MyAccount-content table th, .woocommerce-MyAccount-content table td, .woocommerce-table th, .woocommerce-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.woocommerce-MyAccount-content table thead th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: var(--muted-foreground); background: oklch(0.965 0.005 285 / .5); }
.woocommerce-MyAccount-content table tr:last-child td { border-bottom: 0; }
.woocommerce-MyAccount-content table .button { height: 2rem; padding: 0 .75rem; font-size: 12px; margin: .125rem; }
@media (max-width: 767px) {
	.woocommerce-orders-table thead, .shop_table_responsive thead { display: none; }
	.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--border); padding: .5rem 0; }
	.shop_table_responsive td { display: flex; justify-content: space-between; gap: 1rem; border: 0 !important; padding: .375rem 1rem !important; }
	.shop_table_responsive td::before { content: attr(data-title); font-weight: 500; color: var(--muted-foreground); }
}
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .woocommerce-column__title, .woocommerce-order-details__title { font-size: 18px; font-weight: 600; margin: 1.5rem 0 .75rem; }
.woocommerce-MyAccount-content > p { font-size: 14px; color: var(--muted-foreground); margin-bottom: 1rem; }
.woocommerce-MyAccount-content mark { background: var(--primary-soft); color: var(--accent-foreground); border-radius: 4px; padding: 0 .25rem; }
.woocommerce-Addresses { display: grid; gap: 1rem; }
@media (min-width: 768px) { .woocommerce-Addresses { grid-template-columns: repeat(2, 1fr); } }
.woocommerce-Address { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1rem; }
.woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { margin: 0; font-size: 16px; }
.woocommerce-Address-title a { font-size: 13px; color: var(--primary); font-weight: 500; }
.woocommerce-Address address { margin-top: .75rem; font-style: normal; font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }
.woocommerce-EditAccountForm, .woocommerce-address-fields, .woocommerce-ResetPassword, .lost_reset_password { display: grid; gap: 1rem; max-width: 40rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.25rem; }
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; display: grid; gap: 1rem; margin: 0; }
.woocommerce-EditAccountForm legend { font-weight: 600; font-size: 14px; padding: 0 .25rem; }
.woocommerce-EditAccountForm .clear { display: none; }
.woocommerce-EditAccountForm em { font-size: 12px; color: var(--muted-foreground); }
.woocommerce-MyAccount-content .products { margin-top: 0; }
.woocommerce-MyAccount-content .woocommerce-pagination { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }
.nx-keys code { font-size: 13px; background: var(--muted); padding: .125rem .375rem; border-radius: 4px; }

/* Auth (sign in / register) */
.auth-page { position: relative; display: flex; min-height: calc(100vh - var(--header-h)); flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 2.5rem 1rem; background: linear-gradient(to bottom, oklch(0.955 0.024 283 / .6), var(--background), oklch(0.955 0.024 283 / .4)); }
@media (min-width: 640px) { .auth-page { padding: 3.5rem 1.5rem; } }
.auth-glow { position: absolute; width: 22rem; height: 22rem; border-radius: 50%; filter: blur(90px); pointer-events: none; }
@media (min-width: 640px) { .auth-glow { width: 30rem; height: 30rem; } }
.auth-glow.a { left: -6rem; top: -6rem; background: oklch(0.554 0.243 280.5 / .15); }
.auth-glow.b { right: -6rem; bottom: -7rem; background: oklch(0.554 0.243 280.5 / .1); }
.auth-wrap { position: relative; width: 100%; max-width: 420px; }
.auth-card { border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); padding: 1.25rem; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 18px 44px -20px rgba(16,24,40,.25); }
@media (min-width: 640px) { .auth-card { padding: 1.75rem; } }
.auth-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth-kicker { margin-top: .75rem; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.auth-head h1 { margin-top: .375rem; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
@media (min-width: 640px) { .auth-head h1 { font-size: 24px; } }
.auth-sub { margin-top: .375rem; font-size: 13px; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 640px) { .auth-sub { font-size: 14px; } }
.auth-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.auth-form .field { margin: 0; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-foreground); pointer-events: none; }
.auth-form .input { height: 2.75rem; border-radius: var(--radius-xl); background: var(--background); box-shadow: none; }
.input-icon .input { padding-left: 2.25rem; }
.input-icon input[type=password], .input-icon input.has-toggle { padding-right: 2.5rem; }
.pw-toggle { position: absolute; right: .625rem; top: 50%; transform: translateY(-50%); padding: .25rem; border-radius: var(--radius-sm); color: var(--muted-foreground); }
.pw-toggle:hover, .pw-toggle.is-on { color: var(--foreground); }
.pw-toggle .icon { width: 1rem; height: 1rem; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: 13px; }
.auth-row .check-row { margin: 0; font-size: 13px; color: var(--muted-foreground); }
.auth-row a { font-weight: 500; color: var(--primary); }
.btn-auth { height: 2.75rem; border-radius: var(--radius-xl); font-size: 14px; font-weight: 600; }
.hint { font-size: 12px; color: var(--muted-foreground); }
.auth-switch { margin-top: 1.25rem; text-align: center; font-size: 13px; color: var(--muted-foreground); }
@media (min-width: 640px) { .auth-switch { font-size: 14px; } }
.auth-switch button { font-weight: 600; color: var(--primary); }
.auth-switch button:hover { text-decoration: underline; }
.auth-back { margin-top: 1.25rem; text-align: center; font-size: 13px; color: var(--muted-foreground); }
.auth-back a:hover { color: var(--foreground); }
.auth-links { margin-top: 1rem; text-align: center; font-size: 14px; }
.auth-links a { color: var(--primary); }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted-foreground); }

/* ------------------------------------------------------ Content pages */
.page-content { padding: 1.25rem; }
@media (min-width: 640px) { .page-content { padding: 2rem; } }
.prose, .info-content { font-size: 15px; line-height: 1.75; color: oklch(0.229 0.026 279 / .9); }
.prose > * + *, .info-content > * + * { margin-top: 1em; }
.prose h2, .info-content h2 { margin-top: 1.75em; font-size: 20px; font-weight: 700; }
.prose h3, .info-content h3 { margin-top: 1.5em; font-size: 17px; font-weight: 600; }
.prose ul, .prose ol, .info-content ul, .info-content ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .375rem; }
.prose a, .info-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-md); }
.post-cover { width: 100%; border-radius: var(--radius-md); margin-bottom: 1.25rem; }
.comments-area { padding: 1.25rem; margin-top: 1.5rem; }
.comments-area h2 { font-size: 18px; font-weight: 600; }
.comment-list { list-style: none; margin-top: 1rem; }
.comment-list li { padding: .875rem 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.comment-list .avatar { display: inline-block; border-radius: 50%; vertical-align: middle; margin-right: .5rem; }
.comment-form { display: grid; gap: .75rem; margin-top: 1rem; }
.comment-form p { margin: 0; display: grid; gap: .375rem; font-size: 14px; }
.comment-form label { font-weight: 500; font-size: 13px; }

/* ---------------------------------------------------- Notices / toast */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0 0 1rem; padding: .75rem 1rem;
	border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); font-size: 14px; box-shadow: var(--shadow-card);
}
.product-page > .woocommerce-notices-wrapper { padding-inline: .625rem; }
@media (min-width: 640px) { .product-page > .woocommerce-notices-wrapper { padding-inline: 0; } }
.woocommerce-message { border-color: oklch(0.596 0.152 149.5 / .3); background: var(--success-soft); color: oklch(0.4 0.12 150); }
.woocommerce-info { border-color: oklch(0.546 0.215 262.9 / .25); background: var(--info-soft); color: oklch(0.4 0.18 262); }
.woocommerce-error { display: block; border-color: oklch(0.577 0.222 27.3 / .3); background: var(--destructive-soft); color: var(--destructive); }
.woocommerce-error li + li { margin-top: .25rem; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; height: 2rem; padding: 0 .75rem; font-size: 12px; background: var(--card); border: 1px solid var(--border); }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a { font-weight: 600; text-decoration: underline; }
.nexora-toast { position: fixed; z-index: 500; left: 50%; bottom: calc(5.5rem + env(safe-area-inset-bottom)); transform: translate(-50%, 10px); max-width: calc(100vw - 2rem); border-radius: var(--radius-md); background: var(--ink); color: var(--ink-foreground); padding: .6875rem 1rem; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
@media (min-width: 768px) { .nexora-toast { left: auto; right: 1.5rem; bottom: 1.5rem; transform: translateY(10px); } }
.nexora-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 768px) { .nexora-toast.show { transform: none; } }

/* Plugin price markup from Nexora Core (cart subtotals etc.) */
.nx-price { font-weight: 600; }
.nx-price del { opacity: .6; font-weight: 500; margin-right: 4px; }
.nx-discount { margin-left: 6px; font-size: .78em; font-weight: 700; color: var(--success); }
.woocommerce-Price-currencySymbol { margin-right: 1px; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1rem 1rem 0; } .alignright { float: right; margin: 0 0 1rem 1rem; } .aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 12px; color: var(--muted-foreground); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Checkout review table: stay inside the summary card */
.review-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.review-table td, .review-table th { padding: .625rem 0; border-bottom: 1px solid var(--border); vertical-align: middle; text-align: left; font-weight: 400; color: var(--muted-foreground); }
.review-table td:last-child, .review-table th + td { text-align: right; width: 34%; padding-left: .5rem; color: var(--foreground); font-weight: 600; white-space: nowrap; }
.review-table .ro-item { display: flex; align-items: center; gap: .625rem; min-width: 0; }
.review-table .ro-thumb { flex: none; }
.review-table .ro-thumb img { width: 40px; height: 40px; border-radius: var(--radius-md); object-fit: cover; flex: none; }
.review-table .ro-title { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.review-table .order-total th, .review-table .order-total td { color: var(--foreground); font-weight: 700; font-size: 16px; border-bottom: 0; }
.review-table .cart-discount td { white-space: normal; overflow-wrap: anywhere; }
.review-table .cart-discount .woocommerce-remove-coupon { display: block; font-size: 12px; font-weight: 500; }
