:root {
  --pink: #f06b9a;
  --pink-dark: #bf3a69;
  --pink-ink: #c93f6e;
  --orange: #f28c48;
  --gold: #ca8a04;
  --ink: #1a1a2e;
  --muted: #6f6358;
  --muted-2: #5c5266;
  --bg: #faf8f6;
  --card: #ffffff;
  --img-bg: #f3f0ec;
  --border: #e8e4df;
  --border-strong: #ece8e2;
  --topbar-bg: #f7f4ef;
  --radius: 16px;
  --radius-sm: 10px;
  --font-serif: 'Playfair Display', 'Playfair Display Fallback', ui-serif, Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.topbar { background: var(--topbar-bg); color: #1a1a1a; font-size: 13px; line-height: 20px; text-align: center; padding: 10px 16px; border-bottom: 1px solid var(--border-strong); }
.topbar strong { font-weight: 700; text-decoration: underline; }

header.site-header { background: #fff; border-bottom: 1px solid var(--border-strong); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02); }
.header-row { display: flex; align-items: center; gap: 20px; padding: 15px 0; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); }
.hamburger svg { width: 22px; height: 22px; }
.brand { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.brand-logo { flex-shrink: 0; display: block; }
.search-form { flex: 1; display: flex; position: relative; max-width: 620px; }
.search-form input { width: 100%; padding: 12px 46px 12px 18px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 14px; font-family: inherit; background: #fff; }
.search-form input:focus { outline: none; border-color: var(--pink); }
.search-form button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 34px; border: none; background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.search-form button:hover { background: var(--img-bg); }
.header-links { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; white-space: nowrap; }
.header-links a { display: flex; align-items: center; gap: 6px; }
.util-pill { background: #f3f4f6; color: #374151; font-size: 12px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background 0.15s; }
.util-pill:hover { background: #e5e7eb; }
.icon-link { position: relative; width: 40px; height: 40px; justify-content: center; border-radius: 999px; color: #111827; }
.icon-link:hover { background: #f3f4f6; }
.cart-link .cart-count { position: absolute; top: -2px; right: -2px; background: #c2410c; color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

nav.main-nav { border-top: 1px solid #e5e7eb; }
/* overflow stays visible at desktop widths so the mega-menu dropdowns
   (absolutely positioned inside .nav-dropdown, a child of this row) aren't
   clipped — CSS makes overflow-y auto too as soon as overflow-x isn't
   visible, which would otherwise cut the dropdown panels off. Horizontal
   scrolling only kicks in on narrow viewports (see the max-width:860px
   block), where hover dropdowns aren't the interaction anyway (mobile uses
   the hamburger drawer instead). */
.nav-row { display: flex; justify-content: center; flex-wrap: nowrap; gap: 0; padding: 0 16px; overflow: visible; scrollbar-width: none; position: relative; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-row > a, .nav-dropdown > a { display: inline-flex; align-items: center; gap: 2px; line-height: 21px; padding: 12px 10px; font-weight: 600; font-size: 14px; white-space: nowrap; color: #374151; }
.nav-row > a:hover, .nav-dropdown > a:hover { opacity: 0.85; }
.nav-row a.tone-purple { color: #6d28d9; }
.nav-row a.tone-blue { color: #1e40af; }
.nav-row .chev { opacity: 0.5; transition: transform 0.15s; }
.nav-dropdown:hover .chev { transform: rotate(180deg); }

.nav-dropdown { position: static; }
.nav-dropdown.simple { position: relative; }
.mega-panel { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(1140px, calc(100vw - 32px)); max-height: calc(100vh - 150px); overflow-y: auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 20px 60px rgba(17, 24, 39, 0.16); padding: 0; z-index: 60; }
.nav-dropdown:hover .mega-panel, .nav-dropdown:focus-within .mega-panel { display: block; }
.mega-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding: 12px 16px; margin: 0; }
.mega-head strong { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: #111827; }
.mega-viewall { border: 1px solid #e5e7eb; border-radius: 999px; padding: 6px 12px; color: #111827; font-weight: 600; font-size: 12px; }
.mega-viewall:hover { border-color: #d1d5db; background: #f9fafb; }
.mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px 16px; }
.mega-col { min-width: 0; border: 1px solid #eef2f7; background: #fcfcfd; border-radius: 12px; padding: 12px; }
.mega-col h5 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; font-weight: 600; }
.mega-col a { display: block; padding: 6px 8px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #374151; }
.mega-col a:hover { background: #fff; color: #111827; }
.mega-col a.mega-seeall { color: #9a3412; font-weight: 600; }
.mega-panel-simple { left: 0; transform: none; width: auto; min-width: 220px; border-radius: 10px; padding: 8px 0; box-shadow: 0 10px 30px rgba(17, 24, 39, 0.14); }
.mega-panel-simple a { display: block; padding: 10px 16px; font-size: 14px; font-weight: 500; color: #374151; }
.mega-panel-simple a:hover { background: #f9fafb; }

.cat-rail { display: flex; gap: 12px; overflow-x: auto; padding: 16px 0 6px; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail a { flex-shrink: 0; min-width: 150px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border-strong); background: #fff; border-radius: var(--radius-sm); padding: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06); font-weight: 600; font-size: 13.5px; transition: transform 0.15s, border-color 0.15s; }
.cat-rail a:hover { border-color: var(--pink); transform: translateY(-1px); }
.cat-rail .cat-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--img-bg); flex-shrink: 0; }

main { min-height: 60vh; }
.site-main { padding-top: 24px; padding-bottom: 56px; }
.site-main:has(.pdp-crumbs) { padding-top: 12px; padding-bottom: 56px; }
@media (min-width: 768px) { .site-main { padding-top: 32px; padding-bottom: 64px; } }
@media (min-width: 1024px) { .site-main:has(.pdp-crumbs) { padding-top: 20px; padding-bottom: 64px; } }

.hero { position: relative; border-radius: 24px; overflow: hidden; margin-bottom: 12px; min-height: 320px; display: flex; align-items: center; background: linear-gradient(135deg, #fdeef5, #f2ecff); }
.hero .hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0.1) 100%); }
.hero .hero-content { position: relative; padding: 48px 40px; max-width: 480px; }
.hero .hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-dark); margin-bottom: 10px; }
.hero h1 { font-family: var(--font-serif); font-size: 40px; margin: 0 0 14px; color: var(--ink); line-height: 1.1; }
.hero p { color: #4b4453; max-width: 420px; margin: 0 0 20px; line-height: 1.5; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 999px; background: var(--pink-ink); color: #fff; font-weight: 600; border: none; cursor: pointer; font-size: 14px; font-family: inherit; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: var(--pink-dark); }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--border-strong); }
.btn.secondary:hover { border-color: var(--pink); }
.btn.small { padding: 8px 16px; font-size: 13px; }
.btn.danger { background: #d9455f; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-strong); }
.btn.ghost:hover { background: var(--img-bg); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2c2b45; }
.btn.wide { width: 100%; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 44px 0 18px; }
h2.section-title { font-family: var(--font-serif); font-size: 26px; margin: 0; font-weight: 600; }
.section-head .browse-more { color: var(--orange); font-weight: 700; font-size: 13.5px; }
.section-head .browse-more:hover { text-decoration: underline; }

.site-main h1 { font-family: var(--font-serif); font-weight: 600; font-size: 30px; margin: 4px 0 20px; }
.site-main .admin-card h3 { font-family: var(--font-serif); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

.product-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06); transition: transform 0.15s, box-shadow 0.15s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); }
.product-card .thumb { aspect-ratio: 1 / 1; background: var(--img-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.product-card:hover .thumb img { transform: scale(1.03); }
.product-card .body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .name { font-weight: 500; font-size: 14px; line-height: 1.3; height: 2.6em; overflow: hidden; color: var(--ink); }
.product-card .rating-row { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.product-card .stars { color: var(--gold); letter-spacing: 1px; }
.product-card .rating-num { font-weight: 600; color: var(--muted-2); }
.product-card .price { font-family: var(--font-serif); font-weight: 600; font-size: 17px; color: var(--ink); }
.product-card .price .cur { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.muted-line { font-size: 12px; color: var(--muted); }

.category-card { background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 18px; text-align: center; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.category-card:hover { border-color: var(--pink); }
.category-card .sub { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 4px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.toolbar select { padding: 9px 12px; border-radius: 999px; border: 1px solid var(--border-strong); font-family: inherit; background: #fff; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 13px; }
.pagination a.active { background: var(--pink); color: #fff; border-color: var(--pink); }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--pink-dark); }

.plp-sub { color: var(--muted); font-size: 13.5px; margin: -10px 0 18px; }
.sort-form { display: inline-flex; }

.grid-plp .product-card .price { color: #d97706; font-family: var(--font-sans); }
.grid-plp .product-card .price .cur { color: #d97706; opacity: 0.75; }
.show-more-wrap { text-align: center; margin-top: 28px; }

@media (max-width: 860px) {
}



.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.cart-item .name { font-weight: 600; margin-bottom: 4px; }
.cart-item .meta { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.cart-summary { background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 20px; position: sticky; top: 90px; }
.cart-summary .label { font-size: 13px; color: var(--muted); }
.cart-summary .total { font-family: var(--font-serif); font-size: 28px; font-weight: 600; margin: 4px 0 6px; }
.pay-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.pay-divider::before, .pay-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.empty-card { background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 24px; color: var(--muted); }

.trust-bar { background: var(--ink); color: #fff; text-align: center; padding: 16px 20px; border-radius: 14px; margin: 44px 0; font-size: 14px; }
.trust-bar a { text-decoration: underline; font-weight: 600; }

.brand-story { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 50px 0; padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brand-story p { color: var(--muted); line-height: 1.7; margin: 0; font-size: 15px; }
.trending-searches { margin: 44px 0; text-align: center; }
@media (max-width: 860px) { .brand-story { grid-template-columns: 1fr; } }

.video-rail-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.video-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; scrollbar-width: none; flex: 1; }
.video-rail::-webkit-scrollbar { display: none; }
.video-card { position: relative; flex-shrink: 0; width: 220px; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #000; scroll-snap-align: start; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-mute-btn { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); color: #fff; border: none; cursor: pointer; font-size: 13px; }
.video-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent); color: #fff; font-size: 12.5px; font-weight: 600; }
.video-nav { flex-shrink: 0; width: 34px; height: 34px; border-radius: 999px; background: #fff; border: 1px solid var(--border-strong); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); cursor: pointer; font-size: 18px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .video-nav { display: none; } }

.pill-rail { display: flex; gap: 10px; overflow-x: auto; padding: 16px 0 4px; scrollbar-width: none; }
.pill-rail::-webkit-scrollbar { display: none; }
.pill-link { flex-shrink: 0; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border-strong); font-weight: 600; font-size: 13.5px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.pill-link:hover { border-color: var(--pink); color: var(--pink-dark); }

.interest-band { background: #fbf6f0; border-radius: 24px; padding: 40px 28px; margin: 44px 0; }
.interest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; max-width: 760px; margin: 0 auto; }
.interest-pill { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 600; font-size: 13px; color: var(--ink); }
.interest-icon { width: 54px; height: 54px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); transition: transform 0.15s; }
.interest-pill:hover .interest-icon { transform: translateY(-3px); }

.nl-modal { display: none; position: fixed; inset: 0; z-index: 60; align-items: center; justify-content: center; padding: 20px; }
.nl-modal-backdrop { position: absolute; inset: 0; background: rgba(20, 15, 25, 0.55); }
.nl-modal-card { position: relative; background: #fff; border-radius: 20px; max-width: 380px; width: 100%; padding: 32px 28px 26px; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.nl-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.nl-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-dark); margin-bottom: 8px; }
.nl-modal-card h3 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 10px; }
.nl-modal-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; line-height: 1.5; }
.nl-modal-card input[type=email] { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-strong); font-family: inherit; margin-bottom: 10px; }
.nl-skip { display: block; margin-top: 12px; font-size: 12.5px; color: var(--muted); text-decoration: underline; }

table.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; }
table.admin-table th, table.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-strong); text-align: left; font-size: 13.5px; }
table.admin-table th { background: #faf8f6; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.badge.pending { background: #fff3d6; color: #8a6100; }
.badge.paid { background: #dff5e6; color: #1a7a3d; }
.badge.in_production { background: #e4e9ff; color: #33409e; }
.badge.shipped { background: #e2f6fb; color: #16748f; }

.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 5px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.flash.notice { background: #dff5e6; color: #1a7a3d; }
.flash.error { background: #fde2e2; color: #a1252a; }

.admin-shell { display: grid; grid-template-columns: 210px 1fr; gap: 24px; }
.admin-nav { background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; padding: 14px; align-self: start; position: sticky; top: 20px; }
.admin-nav a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 2px; color: #374151; }
.admin-nav a:hover, .admin-nav a.active { background: #fdf0f5; color: var(--pink-dark); }
.admin-card { background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; padding: 20px; margin-bottom: 20px; }

.pay-provider-card { background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.pay-provider-head { display: flex; align-items: center; gap: 14px; }
.pay-provider-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.pay-provider-details { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.pay-provider-details summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--pink-dark); list-style: none; }
.pay-provider-details summary::-webkit-details-marker { display: none; }
.pay-provider-details summary::before { content: '\25B8  '; }
.pay-provider-details[open] summary::before { content: '\25BE  '; }

footer.site-footer { background: #1a1a2e; color: #c9c4d6; padding: 44px 0 0; margin-top: 60px; font-size: 13.5px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; }
.footer-brand h5 { color: #fff; margin: 0 0 8px; font-family: var(--font-serif); }
.footer-tagline { color: #fff; font-weight: 600; margin: 0 0 10px; }
.footer-blurb { color: #9d97ac; line-height: 1.6; margin: 0; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.footer-cols h5 { color: #fff; margin: 0 0 10px; font-family: var(--font-serif); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-cols a { display: block; margin-bottom: 6px; color: #c9c4d6; }
.footer-cols a:hover { color: #fff; }
.footer-newsletter { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid #34324a; margin-top: 36px; padding: 28px 20px; }
.footer-newsletter h5 { color: #fff; margin: 0 0 6px; font-family: var(--font-serif); }
.footer-newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-newsletter-form input { padding: 10px 14px; border-radius: 999px; border: 1px solid #45435c; background: #232236; color: #fff; min-width: 220px; }
.footer-newsletter-form input::placeholder { color: #8a86a0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #34324a; padding: 18px 20px; font-size: 12px; color: #8a86a0; }
.footer-bottom a { color: #c9c4d6; text-decoration: underline; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }

.help-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; background: #c2570c; color: #fff; border: none; border-radius: 999px; padding: 10px 20px 10px 14px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); cursor: pointer; text-decoration: none; }
.help-fab:hover { filter: brightness(1.05); }
.scroll-top-fab { position: fixed; right: 22px; bottom: 78px; z-index: 40; background: #fff; color: var(--ink); border: 1px solid var(--border-strong); width: 38px; height: 38px; border-radius: 999px; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); cursor: pointer; }
.scroll-top-fab.visible { display: flex; }

/* mobile nav (checkbox-driven drawer) */
#mobile-nav-toggle { display: none; }
.mobile-nav-panel { display: none; }

@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
  .header-links > a:not(.cart-link) { display: none; }
  .header-row { padding: 8px 0; }
  .hamburger { display: inline-flex; }
  .search-form { order: 3; flex-basis: 100%; max-width: none; margin-top: 4px; display: none; }
  .search-form.open { display: flex; }
  .search-toggle { display: flex; }
  .header-row { flex-wrap: wrap; }
  .hero { min-height: 260px; }
  .hero .hero-content { padding: 28px 24px; }
  .hero h1 { font-size: 30px; }
  .hero .hero-overlay { background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 45%, rgba(255, 255, 255, 0.55) 100%); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nav-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 16px; }
  .mega-panel, .mega-panel-simple { display: none !important; } /* no hover on touch — use the hamburger drawer instead */

  #mobile-nav-toggle:checked ~ .mobile-nav-panel { display: block; }
  .mobile-nav-panel { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.35); }
  .mobile-nav-panel .drawer { background: #fff; width: 78%; max-width: 300px; height: 100%; padding: 18px; overflow-y: auto; }
  .mobile-nav-panel .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
  .mobile-nav-panel a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--ink); }
  .mnav-group { border-bottom: 1px solid var(--border); }
  .mnav-group summary { padding: 12px 4px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .mnav-group summary::-webkit-details-marker { display: none; }
  .mnav-group summary::after { content: '+'; font-size: 18px; color: var(--muted); }
  .mnav-group[open] summary::after { content: '\2212'; }
  .mnav-group[open] summary { border-bottom: 1px solid var(--border); }
  .mnav-col-title { padding: 10px 4px 2px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; }
  .mobile-nav-panel a.mnav-sublink { padding: 8px 4px 8px 14px; border-bottom: none; font-weight: 500; font-size: 13.5px; }
}

@media (min-width: 861px) {
  .mobile-nav-panel { display: none !important; }
}

/* ===== Homepage (mirrors the original page.tsx section-for-section) ===== */
[hidden] { display: none !important; }
.site-main-full { padding: 0; min-height: 60vh; }
.hp-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.hp-inner.narrow { max-width: 896px; text-align: center; }
@media (min-width: 768px) { .hp-inner { padding: 0 24px; } }

.hp-rail-sec { background: #faf8f6; border-bottom: 1px solid #ece8e2; }
.hp-rail-sec .hp-inner { padding-top: 12px; padding-bottom: 8px; }
.hp-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.hp-rail::-webkit-scrollbar { display: none; }
.hp-rail-card { flex: 0 0 auto; min-width: 138px; display: flex; align-items: center; gap: 10px; padding: 8px; background: #fff; border: 1px solid #ece8e2; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); transition: transform 0.15s, box-shadow 0.15s; }
.hp-rail-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.hp-rail-thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #ede8ff, #fce8ef, #fff7ed); flex-shrink: 0; }
.hp-rail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-rail-label { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--ink); }
@media (min-width: 768px) {
  .hp-rail-sec .hp-inner { padding-bottom: 16px; }
  .hp-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; overflow: visible; }
  .hp-rail-card { min-width: 0; gap: 12px; padding: 10px; border-radius: 16px; }
  .hp-rail-thumb { width: 56px; height: 56px; }
  .hp-rail-label { font-size: 14px; }
}

.hp-hero-sec { background: #fff; }
.hp-hero-sec .hp-inner { padding-top: 12px; padding-bottom: 12px; }
.hp-heroes { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hp-heroes::-webkit-scrollbar { display: none; }
.hp-hero { position: relative; flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; border-radius: 16px; border: 1px solid #ece8e2; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); display: block; }
.hp-hero img { display: block; width: 100%; height: 44vh; min-height: 260px; object-fit: cover; transition: transform 0.3s; }
.hp-hero:hover img { transform: scale(1.02); }
.hp-hero-a { background: #f7f2ee; }
.hp-hero-b { background: #e8eef8; }
.hp-hero-shade-a { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 244, 243, 0.95), rgba(255, 244, 243, 0.55), transparent); }
.hp-hero-shade-b { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 63, 134, 0.2), transparent 50%, rgba(247, 242, 234, 0.6)); }
.hp-hero-copy { position: absolute; inset: 0 auto 0 0; width: 100%; max-width: min(100%, 20rem); display: flex; flex-direction: column; justify-content: center; padding: 20px 16px; }
.hp-hero-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #8e4b55; }
.hp-hero-copy h1 { font-family: var(--font-serif); font-weight: 600; font-size: 30px; line-height: 0.95; color: #c46a7a; margin: 8px 0 0; }
.hp-hero-btn { display: inline-flex; width: fit-content; margin-top: 20px; padding: 10px 20px; border-radius: 999px; background: #c93f6e; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: 0 10px 24px rgba(201, 63, 110, 0.35); }
.hp-hero-btn.blue { background: #114d97; box-shadow: 0 10px 24px rgba(17, 77, 151, 0.35); padding: 10px 24px; font-size: 14px; }
.hp-hero-tags { display: none; }
.hp-hero-top { position: absolute; left: 0; right: 0; top: 0; padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hp-b-1 { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #0c3f86; }
.hp-b-2 { font-size: 40px; font-weight: 700; line-height: 1; color: #1f4b9a; margin-top: 4px; }
.hp-b-3 { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #8a7d72; margin-top: 4px; }
.hp-hero-bottom { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; }
.hp-hero-bottom .hp-hero-btn { margin-top: 0; }
@media (min-width: 640px) {
  .hp-hero-copy { max-width: 58%; padding: 20px 32px; }
  .hp-hero-kicker { font-size: 14px; }
  .hp-hero-copy h1 { font-size: 48px; margin-top: 12px; }
  .hp-hero-btn { margin-top: 32px; padding: 12px 32px; font-size: 16px; }
  .hp-hero-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
  .hp-hero-tags span { border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(4px); border-radius: 12px; padding: 10px 16px; font-size: 14px; color: #5c4a42; }
  .hp-b-1 { font-size: 15px; } .hp-b-2 { font-size: 60px; } .hp-b-3 { font-size: 14px; }
  .hp-hero-btn.blue { padding: 12px 32px; font-size: 16px; }
}
@media (min-width: 768px) {
  .hp-hero-sec .hp-inner { padding-top: 24px; padding-bottom: 24px; }
  .hp-heroes { display: grid; grid-template-columns: 1fr; gap: 16px; overflow: visible; }
  .hp-hero { flex: initial; border-radius: 26px; }
  .hp-hero img { height: 420px; }
  .hp-hero-copy h1 { font-size: 60px; }
  .hp-hero-bottom { bottom: 28px; }
}
@media (min-width: 1024px) { .hp-heroes { grid-template-columns: 1.85fr 1fr; } }

.hp-sec { padding: 28px 0; }
@media (min-width: 768px) { .hp-sec { padding: 48px 0; } }
.hp-title-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
@media (min-width: 640px) { .hp-title-row { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; } }
.hp-title { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; color: #202024; margin: 0; font-size: 20px; text-align: left; }
.hp-title.serif { font-family: var(--font-serif); color: var(--ink); letter-spacing: 0; }
@media (min-width: 640px) { .hp-title { font-size: 30px; } }
@media (min-width: 768px) { .hp-title { font-size: 36px; } }
.hp-sub { margin: 8px 0 0; font-size: 14px; color: #6b5b4f; }
.hp-sub.center { margin-top: 12px; color: #52525b; text-align: center; }
.hp-center { text-align: center; }
.hp-center .hp-title { text-align: center; }
.hp-browse { flex-shrink: 0; font-size: 13px; font-weight: 600; color: #b45309; }
.hp-browse:hover { text-decoration: underline; }
@media (min-width: 640px) { .hp-browse { font-size: 14px; } }

.hp-trending { background: #faf8f6; }
.hp-grid5 { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.hp-grid5::-webkit-scrollbar { display: none; }
.hp-grid5 .product-card { flex: 0 0 min(188px, 72vw); border-radius: 12px; }
.hp-grid5 .product-card .body { padding: 12px; }
@media (min-width: 640px) {
  .hp-grid5 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; overflow: visible; }
  .hp-grid5 .product-card { flex: initial; border-radius: 16px; }
  .hp-grid5 .product-card .body { padding: 16px; }
  .hp-grid5 .product-card .name { font-size: 16px; }
  .hp-grid5 .product-card .price { font-size: 18px; margin-top: 4px; }
}
@media (min-width: 1024px) { .hp-grid5 { grid-template-columns: repeat(5, 1fr); } }

.hp-trust { background: #1a1a2e; text-align: center; padding: 14px 16px; }
.hp-trust p { margin: 0; color: #fff; font-size: 14px; font-weight: 500; }
.hp-trust a { text-decoration: underline; text-underline-offset: 2px; }
.hp-trust a:hover { color: #fde68a; }
@media (min-width: 640px) { .hp-trust p { font-size: 16px; } }
@media (min-width: 768px) { .hp-trust { padding: 16px 24px; } .hp-trust p { font-size: 18px; } }

.hp-videos { background: #fffcfa; border-bottom: 1px solid #e8e4df; }
.hp-videos .hp-title-row { margin-bottom: 20px; }
.vr-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.vr-tab { border: none; cursor: pointer; font-family: inherit; border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 600; background: #fff; color: #4b5563; box-shadow: inset 0 0 0 1px #e3e7ee; }
.vr-tab:hover { background: #f9fafb; }
.vr-tab.active { background: #1f2937; color: #fff; box-shadow: none; }
@media (min-width: 640px) { .vr-tab { font-size: 12px; } }
.vr-wrap { position: relative; }
.vr-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.vr-track::-webkit-scrollbar { display: none; }
.vr-card { flex: 0 0 min(232px, 74vw); scroll-snap-align: start; overflow: hidden; border-radius: 12px; border: 1px solid #dfe3ea; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08); }
@media (min-width: 768px) { .vr-track { gap: 12px; } .vr-card { flex: 0 0 calc((100% - 36px) / 4); } }
.vr-media { position: relative; }
.vr-media video { display: block; width: 100%; aspect-ratio: 10 / 16; object-fit: cover; background: #000; cursor: pointer; }
.vr-mute { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 999px; background: rgba(0, 0, 0, 0.4); color: #fff; cursor: pointer; }
.vr-mute:hover { background: rgba(0, 0, 0, 0.6); }
.vr-ctrls { position: absolute; right: 8px; bottom: 16px; z-index: 10; display: flex; align-items: center; gap: 6px; }
.vr-play, .vr-expand { display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(0, 0, 0, 0.35); color: #fff; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.7); }
.vr-play { width: 28px; height: 28px; }
.vr-expand { width: 32px; height: 32px; border-color: rgba(255, 255, 255, 0.6); background: rgba(0, 0, 0, 0.3); }
.vr-product { position: relative; z-index: 20; margin-top: -8px; display: flex; gap: 12px; height: 88px; padding: 12px; background: #f2f3f5; }
.vr-product:hover { background: #ebeef2; }
.vr-pimg { width: 60px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 10px; border: 1px solid #d5dae2; background: #fff; display: block; }
.vr-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vr-pinfo { min-width: 0; flex: 1; display: block; }
.vr-pname { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 36px; font-size: 12px; line-height: 18px; color: #202124; }
.vr-pprice { display: block; margin-top: 6px; font-size: 16px; font-weight: 900; line-height: 1; color: #101827; }
.vr-arrow { position: absolute; top: 50%; z-index: 20; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); font-size: 22px; font-weight: 600; color: #111827; cursor: pointer; transform: translateY(-50%); }
.vr-arrow:hover { background: #f9fafb; }
.vr-arrow.prev { left: 0; transform: translate(-50%, -50%); }
.vr-arrow.next { right: 0; transform: translate(50%, -50%); }
@media (max-width: 860px) { .vr-arrow { display: none; } }

.vr-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: #000; }
@media (min-width: 768px) { .vr-modal { background: rgba(0, 0, 0, 0.75); } }
.vr-modal-bg { position: absolute; inset: 0; border: 0; background: transparent; padding: 0; cursor: default; }
.vr-modal-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; pointer-events: none; }
.vr-stage { pointer-events: auto; position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; }
.vr-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vr-side { display: none; }
.vr-step { display: none; }
@media (min-width: 768px) {
  .vr-stage { width: auto; height: min(100vh, 900px); aspect-ratio: 9 / 16; max-width: min(420px, calc(100vw - 10rem)); flex: none; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5); }
  .vr-side { display: block; pointer-events: auto; width: 160px; height: min(100vh, 900px); object-fit: cover; border-radius: 12px; opacity: 0.4; flex: none; }
  .vr-step { pointer-events: auto; display: flex; flex-direction: column; gap: 8px; }
  .vr-step button { width: 44px; height: 44px; border-radius: 999px; border: none; background: rgba(255, 255, 255, 0.15); color: #fff; font-size: 18px; cursor: pointer; }
  .vr-step button:hover { background: rgba(255, 255, 255, 0.25); }
}
.vr-x { position: absolute; z-index: 30; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 999px; border: none; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.vr-bigplay { position: absolute; z-index: 10; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.8); background: rgba(0, 0, 0, 0.35); color: #fff; cursor: pointer; }
.vr-side-ctrls { position: absolute; z-index: 20; right: 8px; bottom: 100px; display: flex; flex-direction: column; gap: 8px; }
.vr-side-ctrls button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 16px; cursor: pointer; }
.vr-mprod { position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 8px; min-height: 92px; padding: 12px 10px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55), transparent); color: #fff; }
.vr-mprod .vr-pimg { width: 56px; height: 56px; border-color: rgba(255, 255, 255, 0.35); }
.vr-mprod .vr-pname { color: #fff; font-size: 12px; }
.vr-mprod .vr-pprice { color: #fff; }
.vr-cta { flex-shrink: 0; margin-bottom: 4px; border-radius: 999px; background: #f97316; color: #fff; padding: 6px 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
#vr-seek { position: absolute; z-index: 30; left: 0; right: 0; bottom: 0; width: 100%; height: 6px; margin: 0; cursor: pointer; accent-color: #fff; background: rgba(255, 255, 255, 0.25); }

.hp-why-sec .hp-inner { padding-top: 28px; padding-bottom: 28px; }
.hp-why { border: 1px solid #e8e4df; border-radius: 24px; background: #fff; padding: 36px 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.hp-why-title { text-align: center; font-family: var(--font-serif); font-weight: 600; font-size: 24px; margin: 0; color: var(--ink); }
.hp-why-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
.hp-why-item { text-align: center; }
.hp-why-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 999px; border: 1px solid #ece8e2; background: #faf8f6; font-size: 18px; color: #b45309; }
.hp-why-item h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.hp-why-item p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #6b5b4f; }
@media (min-width: 640px) { .hp-why { padding: 36px 40px; } .hp-why-title { font-size: 30px; } .hp-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .hp-why-sec .hp-inner { padding-top: 48px; padding-bottom: 48px; } .hp-why { padding: 44px 56px; } .hp-why-title { font-size: 36px; } }
@media (min-width: 1024px) { .hp-why-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.hp-speak { background: #fffdfb; border-top: 1px solid #e8e4df; border-bottom: 1px solid #e8e4df; padding: 32px 0; }
.hp-speak h2 { margin: 0; font-family: var(--font-sans); font-weight: 600; font-size: 24px; line-height: 1.25; color: #202024; }
.hp-speak h2 span { color: #f06d8a; }
.hp-speak p { max-width: 672px; margin: 16px auto 0; font-size: 14px; line-height: 1.6; color: #6b5b4f; }
@media (min-width: 640px) { .hp-speak h2 { font-size: 30px; } .hp-speak p { font-size: 16px; } }
@media (min-width: 768px) { .hp-speak { padding: 56px 0; } .hp-speak h2 { font-size: 36px; } }

.hp-who { background: #fafafa; }
.hp-strip-wrap { position: relative; margin-top: 20px; }
.hp-strip { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding: 2px 0 4px; scrollbar-width: none; }
.hp-strip::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .hp-strip { gap: 16px; } }
.hp-arrow { position: absolute; top: 50%; z-index: 5; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); font-size: 22px; color: #111827; cursor: pointer; }
.hp-arrow.prev { left: 0; transform: translate(-30%, -50%); }
.hp-arrow.next { right: 0; transform: translate(30%, -50%); }
.hp-arrow:hover { background: #f9fafb; }
@media (max-width: 860px) { .hp-arrow { display: none; } }
.hp-cat { flex: 0 0 min(260px, 83vw); scroll-snap-align: start; overflow: hidden; border-radius: 16px; border: 1px solid #e8e4df; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); transition: transform 0.15s, box-shadow 0.15s; display: block; }
.hp-cat:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }
@media (min-width: 768px) { .hp-cat { flex-basis: 300px; } }
.hp-cat-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #ede8ff, #fce8ef, #fff7ed); }
.hp-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.hp-cat:hover .hp-cat-img img { transform: scale(1.05); }
.hp-cat-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 26, 46, 0.65), rgba(26, 26, 46, 0.15), transparent); }
.hp-cat-name { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; font-size: 16px; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.hp-cat-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 12px; font-size: 12px; line-height: 1.6; color: #70707b; }
@media (min-width: 768px) { .hp-cat-name { font-size: 18px; } }

.hp-match { background: #fff; border-top: 1px solid #e8e4df; }
.hp-match .hp-title-row { margin-bottom: 0; }
.hp-new { background: #f1fcff; border-top: 1px solid rgba(212, 238, 248, 0.6); border-bottom: 1px solid rgba(212, 238, 248, 0.6); }
.hp-new .hp-title-row { margin-bottom: 0; }
.hp-strip .product-card.strip-card { flex: 0 0 min(188px, 72vw); scroll-snap-align: start; border-color: #ece8e2; border-radius: 12px; }
@media (min-width: 768px) { .hp-strip .product-card.strip-card { flex-basis: 240px; } }
.strip-card .body { padding: 12px; }
.strip-card .name { font-size: 13px; font-weight: 500; color: #202024; }
.strip-card .price { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: #f34028; margin-top: 4px; }
.strip-card .price .cur { color: #f34028; opacity: 0.8; font-size: 15px; font-weight: 600; margin-left: 3px; }

.hp-aff-sec .hp-inner { padding-bottom: 28px; padding-top: 0; }
@media (min-width: 768px) { .hp-aff-sec .hp-inner { padding-bottom: 48px; } }
.hp-aff { overflow: hidden; border-radius: 16px; border: 1px solid #fde4c4; background: linear-gradient(135deg, #fff8f0, #fff3e8, #ffe8d4); padding: 32px 20px; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); margin-top: 28px; }
.hp-aff h2 { margin: 0; font-family: var(--font-sans); font-weight: 600; font-size: 20px; line-height: 1.35; color: #202024; }
.hp-aff h2 span { color: #cf2f24; }
.hp-aff p { max-width: 512px; margin: 16px auto 0; font-size: 14px; line-height: 1.6; color: #52525b; }
.hp-aff p strong { color: #202024; }
.hp-aff-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; min-height: 44px; padding: 10px 32px; border-radius: 999px; background: #ed7123; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12); transition: background 0.15s; }
.hp-aff-btn:hover { background: #d8651c; }
@media (min-width: 640px) { .hp-aff { padding: 48px; margin-top: 0; } .hp-aff h2 { font-size: 24px; } .hp-aff-btn { padding: 12px 40px; } }
@media (min-width: 768px) { .hp-aff h2 { font-size: 26px; } }

.hp-story { background: #fff; border-top: 1px solid #e8e4df; padding: 32px 16px; }
.hp-inner.story { max-width: 1024px; }
.hp-story h2 { margin: 0; text-align: center; font-family: var(--font-sans); font-weight: 600; font-size: 24px; color: #202024; }
.hp-story-cols { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
.hp-story h3 { margin: 0; font-size: 18px; font-weight: 600; color: #202024; }
.hp-story p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: #52525b; }
@media (min-width: 640px) { .hp-story h2 { font-size: 30px; } .hp-story h3 { font-size: 20px; } }
@media (min-width: 768px) { .hp-story { padding: 56px 24px; } .hp-story h2 { font-size: 36px; text-align: left; } .hp-story-cols { grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; } }

.hp-trend-sec { background: #faf8f6; border-top: 1px solid #e8e4df; padding: 28px 0 28px; }
.hp-trend-sec h2 { margin: 0; text-align: center; font-family: var(--font-sans); font-weight: 600; font-size: 20px; color: #202024; }
.hp-trend-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 768px; margin: 24px auto 0; }
.hp-trend-pills a { padding: 8px 16px; border-radius: 999px; border: 1px solid #e8e4df; background: #fff; font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color 0.15s, background 0.15s; }
.hp-trend-pills a:hover { border-color: rgba(180, 83, 9, 0.4); background: #fffdfb; }
@media (min-width: 640px) { .hp-trend-sec h2 { font-size: 24px; } }
@media (min-width: 768px) { .hp-trend-sec { padding-bottom: 48px; } }

@media (max-width: 1023px) { .util-pill { display: none; } }

/* Home tiles: names clamp at two lines but don't reserve the space (original uses line-clamp, not fixed height). */
.hp-grid5 .product-card .name, .strip-card .name { height: auto; max-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hp-trust p { line-height: 20px; }
@media (min-width: 640px) { .hp-trust p { line-height: 24px; } }
@media (min-width: 768px) { .hp-trust p { line-height: 28px; } }
.hp-who .hp-strip-wrap { margin-top: 0; }
.hp-match .hp-strip-wrap, .hp-new .hp-strip-wrap { margin-top: 24px; }
@media (min-width: 640px) { .hp-videos .hp-title-row { margin-bottom: 32px; } }

.search-toggle { background: none; border: none; cursor: pointer; align-items: center; justify-content: center; padding: 0; }
@media (min-width: 861px) { .search-toggle { display: none; } }

/* ===== Product listing (port of collection-sidebar.tsx + products/page.tsx) ===== */
.plp-layout { display: flex; flex-direction: column; gap: 32px; }
#filters-toggle { display: none; }
.plp-main { min-width: 0; flex: 1; }
.plp-side { display: none; }
.plp-box { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; border: 1px solid #c7c9cc; background: #fff; color: transparent; font-size: 11px; line-height: 1; }
.active > .plp-opt-main .plp-box, .plp-opt.active .plp-box, .plp-sheet-opt.active .plp-box { border-color: #0f766e; background: #e6f4f1; color: #0f766e; }
.plp-none { padding: 6px 4px; font-size: 12px; color: #8c9196; list-style: none; margin: 0; }

.plp-head { display: flex; flex-direction: column; gap: 16px; padding: 4px 4px 20px; border-bottom: 1px solid #ece8e2; margin-bottom: 24px; }
.plp-head h1 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; font-size: 30px; line-height: 36px; color: #1a1a2e; margin: 0; }
.plp-count { margin: 20px 0 0; font-size: 14px; color: #6b5b4f; }
.plp-tools { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; margin-top: 6px; }
.plp-filters-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 98px; padding: 14px 16px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; font-size: 16px; font-weight: 600; line-height: 1; color: #1f2937; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); cursor: pointer; }
.plp-sort { position: relative; }
.plp-sort::after { content: ''; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid #6b7280; border-bottom: 1.5px solid #6b7280; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.plp-sort select { width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; padding: 12px 44px 12px 16px; font-family: inherit; font-size: 16px; font-weight: 500; color: #1f2937; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); outline: none; }
.plp-sort select:focus { border-color: #0ea5b7; box-shadow: 0 0 0 3px #bfeef4; }

.plp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plp-card .price { color: #d97706; font-family: var(--font-sans); }
.plp-card .price .cur { color: #d97706; opacity: 0.75; }
.plp-more-btn { cursor: pointer; font-family: inherit; border-radius: 999px; border: 1px solid #e8e4df; background: #fff; padding: 12px 40px; font-size: 14px; font-weight: 600; color: #1a1a2e; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.plp-more-btn:hover:not(:disabled) { border-color: #b45309; }
.plp-more-btn:disabled { opacity: 0.6; cursor: default; }
.plp-empty { margin-top: 24px; border-radius: 16px; border: 1px dashed #c4bbb0; background: #fff; padding: 40px 24px; text-align: center; color: #6b5b4f; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.plp-empty a { font-weight: 500; color: #1a1a2e; text-decoration: underline; }
@media (min-width: 640px) { .plp-head h1 { font-size: 36px; line-height: 40px; } }
@media (min-width: 768px) { .plp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Mobile/tablet filter sheet */
.plp-sheet { display: none; position: fixed; inset: 0; z-index: 70; flex-direction: column; background: #f7f7f8; }
#filters-toggle:checked ~ .plp-sheet { display: flex; }
body:has(#filters-toggle:checked) { overflow: hidden; }
.plp-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.plp-sheet-head h2 { margin: 0; font-family: var(--font-sans); font-size: 36px; font-weight: 600; letter-spacing: -0.01em; color: #1f2937; }
.plp-sheet-x { font-size: 30px; line-height: 1; color: #6b7280; cursor: pointer; }
.plp-sheet-body { flex: 1; overflow-y: auto; padding-bottom: 150px; }
.plp-sheet-sec { border-bottom: 1px solid #e5e7eb; padding: 8px 20px; }
.plp-sheet-sec summary { list-style: none; padding: 8px 0; font-size: 18px; font-weight: 600; color: #2f3138; cursor: pointer; }
.plp-sheet-sec summary::-webkit-details-marker { display: none; }
.plp-sheet-list { max-height: 42vh; overflow-y: auto; padding: 4px 4px 8px 0; }
.plp-sheet-opt { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px; border-radius: 8px; font-size: 16px; color: #374151; }
.plp-sheet-opt.active { font-weight: 600; color: #1f2937; }
.plp-sheet-opt-main { display: flex; align-items: center; gap: 8px; }
.plp-sheet-count { color: #6b7280; }
.plp-sheet-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: #f7f7f8; border-top: 1px solid #e5e7eb; }
.plp-show-btn { display: block; cursor: pointer; border-radius: 12px; background: #41c0cf; padding: 12px 16px; text-align: center; font-size: 18px; font-weight: 600; color: #fff; }
.plp-reset-btn { display: block; margin-top: 12px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; padding: 12px 16px; text-align: center; font-size: 18px; font-weight: 600; color: #9ca3af; }

@media (min-width: 1024px) {
  .plp-layout { flex-direction: row; align-items: flex-start; }
  .plp-side { display: block; flex: 0 0 220px; width: 220px; position: sticky; top: 96px; }
  .plp-sheet, #filters-toggle:checked ~ .plp-sheet { display: none; }
  body:has(#filters-toggle:checked) { overflow: auto; }
  .plp-filters-btn { display: none; }
  .plp-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .plp-tools { display: block; margin-top: 6px; padding-bottom: 2px; }
  .plp-sort { width: 220px; }
  .plp-sort select { border-radius: 999px; border-color: #e8e4df; padding: 10px 40px 10px 16px; font-size: 14px; color: #1a1a2e; }
  .plp-sort select:focus { border-color: #b45309; box-shadow: 0 0 0 3px #f5d0a7; }
  .plp-sort::after { right: 16px; }
  .plp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1280px) { .plp-side { flex-basis: 240px; width: 240px; } }

/* Desktop sidebar */
.plp-side-nav { border: 1px solid #e8e4df; border-radius: 2px; background: #f6f6f7; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); max-height: calc(100vh - 120px); overflow-y: auto; }
.plp-side-selected { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #fff; border-bottom: 1px solid #e4e5e7; }
.plp-side-selected p { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #6b7280; }
.plp-side-selected a, .plp-sec-clear { font-size: 12px; font-weight: 600; color: #b45309; }
.plp-side-selected a:hover, .plp-sec-clear:hover { text-decoration: underline; }
.plp-sec { border-bottom: 1px solid #e4e5e7; }
.plp-sec summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 12px; background: #efeff1; cursor: pointer; }
.plp-sec summary::-webkit-details-marker { display: none; }
.plp-sec-title { font-size: 18px; font-weight: 600; line-height: 24px; color: #2f3138; }
.plp-sec-count { margin-left: 4px; font-size: 16px; font-weight: 400; color: #4b5563; }
.plp-sec-tools { display: flex; align-items: center; gap: 8px; }
.plp-chev { width: 8px; height: 8px; border-right: 1.5px solid #7b7f88; border-bottom: 1.5px solid #7b7f88; transform: translateY(-2px) rotate(-135deg); }
.plp-sec:not([open]) .plp-chev { transform: translateY(-4px) rotate(45deg); }
.plp-sec-list { list-style: none; margin: 0; padding: 12px; background: #fff; max-height: 340px; overflow-y: auto; }
.plp-sec-list li { margin: 0 0 2px; }
.plp-opt { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 6px 4px; border-radius: 4px; transition: background 0.15s; }
.plp-opt:hover { background: #f7f7f8; }
.plp-opt-main { display: flex; align-items: flex-start; gap: 8px; }
.plp-opt-main .plp-box { margin-top: 4px; }
.plp-opt-label { font-size: 14px; line-height: 24px; color: #3a3d44; }
.plp-opt.active .plp-opt-label { font-weight: 500; color: #2f3138; }
.plp-opt-count { padding-top: 2px; font-size: 14px; line-height: 24px; color: #60646d; }
@media (min-width: 1280px) { .plp-sec-list { max-height: 380px; } }

/* ===== Product detail (port of products/[slug]/page.tsx spacing) ===== */
.pdp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 20px; font-size: 12px; color: #8a7d72; }
.pdp-crumbs a:hover { color: #1a1a2e; }
.pdp-crumbs span { color: #c4bbb0; }
.pdp-crumbs b { font-weight: 500; color: #1a1a2e; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: min(100%, 14rem); }
@media (min-width: 640px) { .pdp-crumbs { font-size: 14px; } .pdp-crumbs b { display: inline; max-width: none; } }

.pdp-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .pdp-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 26rem); column-gap: 48px; align-items: start; } }
@media (min-width: 1280px) { .pdp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 28rem); column-gap: 64px; } }

.pdp-gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pdp-main-wrap { position: relative; min-width: 0; flex: 1; order: 1; }
.pdp-main { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; border: 1px solid #ebe6e0; background: #f4f1ec; }
.pdp-main img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pdp-thumbs-v { order: 2; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pdp-thumbs-v::-webkit-scrollbar { display: none; }
.pdp-thumb { flex: 0 0 68px; width: 68px; height: 68px; padding: 0; overflow: hidden; border-radius: 12px; border: 1px solid #e8e4df; background: #fff; cursor: pointer; transition: border-color 0.15s; }
.pdp-thumb:hover { border-color: #c4bbb0; }
.pdp-thumb.active { border-color: #1a1a2e; box-shadow: 0 0 0 2px rgba(26, 26, 46, 0.15); }
.pdp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdp-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #e8e4df; background: rgba(255, 255, 255, 0.95); color: #1a1a2e; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); }
.pdp-nav:hover { background: #fff; }
.pdp-nav.prev { left: 8px; } .pdp-nav.next { right: 8px; }
@media (min-width: 1024px) {
  .pdp-gallery { flex-direction: row; gap: 16px; }
  .pdp-main-wrap { order: 2; }
  .pdp-thumbs-v { order: 1; flex-direction: column; flex: 0 0 72px; width: 72px; align-self: stretch; overflow: auto; padding: 0 2px 0 0; max-height: 640px; }
  .pdp-thumb { flex: 0 0 72px; width: 72px; height: 72px; }
}

.pdp-buy { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .pdp-buy { max-width: 28rem; justify-self: end; width: 100%; } .pdp-gallery { position: sticky; top: 112px; } }
@media (min-width: 1280px) { .pdp-buy { max-width: 32rem; } }
.pdp-buy > * { margin: 0; }
.pdp-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a7d72; }
.pdp-title { font-family: var(--font-serif); font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: #1a1a2e; }
@media (min-width: 640px) { .pdp-title { font-size: 32px; } }
@media (min-width: 1024px) { .pdp-title { font-size: 34px; } }
.site-main .pdp-title { margin: 0; font-size: inherit; }
.pdp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: -4px; font-size: 14px; color: #8a7d72; }
.pdp-rating .stars { color: #ca8a04; letter-spacing: 1px; }
.pdp-rating b { font-weight: 500; color: #5c5266; }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-tags span { border-radius: 999px; background: #f0ebe6; padding: 4px 12px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6b5b4f; }
.pdp-teaser { font-size: 14px; line-height: 1.625; color: #5c5348; }
@media (min-width: 640px) { .pdp-teaser { font-size: 15px; } .pdp-tags span { font-size: 11px; } }
.pdp-checks { border-top: 1px solid #e5e0d8; border-bottom: 1px solid #e5e0d8; padding: 16px 0; }
.pdp-checks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.375; color: #5c5348; }
.pdp-checks li { display: flex; gap: 8px; }
.pdp-checks li > span:first-child { margin-top: 2px; flex-shrink: 0; color: #c2410c; }
@media (min-width: 640px) { .pdp-checks ul { font-size: 14px; } }

.pdp-card { border-radius: 16px; border: 1px solid #e8e4df; background: #fff; padding: 20px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
@media (min-width: 640px) { .pdp-card { padding: 24px; } }
.pdp-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #f0ebe6; }
.pdp-card-head h2 { margin: 0; font-family: var(--font-sans); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: #1a1a2e; }
.pdp-card-head p { margin: 4px 0 0; font-size: 14px; color: #6b5b4f; }
@media (min-width: 640px) { .pdp-card-head h2 { font-size: 20px; } }
.pdp-tpl-count { flex-shrink: 0; border-radius: 12px; background: #fff7ed; padding: 8px 12px; text-align: right; }
.pdp-tpl-count span { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #9a3412; }
.pdp-tpl-count b { display: block; font-size: 16px; font-weight: 700; color: #7c2d12; }
.pdp-tpl-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pdp-tpl-list li { display: flex; flex-direction: column; gap: 4px; border-radius: 12px; border: 1px solid #f0ebe6; background: #faf8f6; padding: 10px 12px; }
.pdp-tpl-list .n { margin: 0; font-size: 14px; font-weight: 600; color: #1a1a2e; }
.pdp-tpl-list .m { margin: 2px 0 0; font-size: 12px; color: #6b7280; }
.pdp-tpl-list li > span { align-self: flex-start; border-radius: 999px; background: #fff; padding: 2px 10px; font-size: 11px; font-weight: 500; color: #8a7d72; }
@media (min-width: 640px) { .pdp-tpl-list li { flex-direction: row; align-items: center; justify-content: space-between; } }

.pdp-form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.pdp-form.with-tpl { margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0ebe6; }
.pdp-ai { border-radius: 16px; border: 1px solid #e6ddff; background: #f8f5ff; padding: 16px; }
.pdp-ai .t { margin: 0; font-size: 14px; font-weight: 600; color: #4c1d95; }
.pdp-ai .s { margin: 4px 0 0; font-size: 12px; color: #6d28d9; }
.pdp-btn-violet { margin-top: 10px; border: none; cursor: pointer; font-family: inherit; border-radius: 999px; background: #6d28d9; padding: 8px 16px; font-size: 14px; font-weight: 600; color: #fff; transition: background 0.15s; }
.pdp-btn-violet:hover { background: #5b21b6; }
.pdp-ai-result { margin-top: 8px; font-size: 12px; color: #6d28d9; }
.pdp-ai-result:empty { display: none; }
.pdp-field { display: block; font-size: 14px; color: #5c5266; }
.pdp-field textarea, .pdp-field input { display: block; width: 100%; margin-top: 4px; border-radius: 8px; border: 1px solid #d9d2ca; background: #fff; padding: 10px 12px; font-family: inherit; font-size: 14px; color: #1a1a2e; outline: none; }
.pdp-field textarea { resize: vertical; min-height: 84px; }
.pdp-field input.qty { width: 112px; }
.pdp-field textarea:focus, .pdp-field input:focus { border-color: #b45309; }
.pdp-add { align-self: flex-start; border: none; cursor: pointer; font-family: inherit; border-radius: 999px; background: #1a1a2e; padding: 10px 20px; font-size: 14px; font-weight: 600; color: #fff; transition: background 0.15s; }
.pdp-add:hover { background: #2d2d44; }

.pdp-trust { display: flex; gap: 12px; overflow-x: auto; margin-top: 40px; padding-bottom: 4px; scrollbar-width: none; }
.pdp-trust::-webkit-scrollbar { display: none; }
.pdp-trust > div { flex: 0 0 200px; border-radius: 16px; border: 1px solid #e8e4df; background: #fff; padding: 16px; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.pdp-trust .ic { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto; border-radius: 999px; background: #fff7ed; color: #c2410c; }
.pdp-trust p { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #1a1a2e; }
@media (min-width: 640px) { .pdp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; overflow: visible; } .pdp-trust > div { flex: initial; } }

.pdp-block { margin-top: 40px; border-radius: 16px; border: 1px solid #e8e4df; background: #fff; padding: 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
@media (min-width: 640px) { .pdp-block { padding: 24px; } }
.pdp-block h2 { margin: 0; font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: #1a1a2e; }
@media (min-width: 640px) { .pdp-block h2 { font-size: 20px; } }
.pdp-why-grid { display: grid; gap: 12px; margin-top: 16px; }
.pdp-why-grid > div { border-radius: 16px; background: #faf7f2; padding: 16px; }
.pdp-why-grid .k { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #9a3412; }
.pdp-why-grid p:not(.k) { margin: 8px 0 0; font-size: 14px; line-height: 1.625; color: #6b5b4f; }
@media (min-width: 640px) { .pdp-why-grid { grid-template-columns: repeat(3, 1fr); } }

.pdp-details { margin-top: 32px; }
.pdp-details[open] { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px #ebe6e0; }
.pdp-details summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: #1a1a2e; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary svg { color: #8a7d72; transition: transform 0.2s; }
.pdp-details[open] summary svg { transform: rotate(180deg); }
.pdp-details-body { margin-top: 16px; white-space: pre-wrap; font-size: 14px; line-height: 1.625; color: #5c5348; }
@media (min-width: 640px) { .pdp-details-body { font-size: 15px; } .pdp-details summary { font-size: 18px; } }

.pdp-reviews { margin-top: 40px; }
@media (min-width: 640px) { .pdp-reviews { margin-top: 48px; padding: 32px; } .pdp-reviews h2 { font-size: 24px; } }
.pdp-reviews .sub { margin: 4px 0 0; font-size: 14px; color: #6b5b4f; }
.pdp-reviews-body { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.pdp-review-list { display: flex; flex-direction: column; gap: 16px; }
.pdp-review-list .empty { margin: 0; font-size: 14px; color: #6b5b4f; }
.pdp-review { border-radius: 16px; border: 1px solid #e8e4df; background: #fffcfa; padding: 16px; font-size: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.pdp-review .who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pdp-review .stars { color: #ca8a04; letter-spacing: 1px; }
.pdp-review .who b { color: #1a1a2e; font-weight: 600; }
.pdp-review .t { margin: 8px 0 0; font-weight: 500; color: #1a1a2e; }
.pdp-review .b { margin: 4px 0 0; line-height: 1.625; color: #6b5b4f; }
.pdp-review img { display: block; width: 100%; max-height: 288px; margin-top: 12px; border-radius: 12px; border: 1px solid #ece8e2; object-fit: cover; }
.pdp-write { border-radius: 16px; border: 1px solid #e8e4df; background: #fff; padding: 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.pdp-write h3 { margin: 0; font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: #1a1a2e; }
.pdp-write .s { margin: 4px 0 0; font-size: 12px; color: #9ca3af; }
.pdp-write form { display: grid; gap: 12px; margin-top: 16px; }
.pdp-write label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #8a7d72; }
.pdp-write input[type=text], .pdp-write select, .pdp-write textarea { display: block; width: 100%; margin-top: 4px; border-radius: 12px; border: 1px solid #e8e4df; background: #fff; padding: 8px 12px; font-family: inherit; font-size: 14px; color: #1a1a2e; outline: none; }
.pdp-write form > input[type=text] { margin-top: 0; }
.pdp-write input:focus, .pdp-write select:focus, .pdp-write textarea:focus { border-color: #b45309; box-shadow: 0 0 0 3px #f5d0a7; }
.pdp-write input[type=file] { margin-top: 6px; font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 400; }
@media (min-width: 1024px) { .pdp-reviews-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 32px; } }

/* Listing cards: borderless, 18px radius, compact text block (measured from the reference) */
.plp-card { border: 0; border-radius: 18px; box-shadow: none; }
.plp-card:hover { transform: translateY(-2px); box-shadow: none; }
.plp-card .body { padding: 12px 4px 8px; gap: 4px; }
.plp-card .name { height: auto; font-size: 15px; line-height: 20px; }
.plp-card .rating-row { line-height: 20px; }
.plp-card .price { font-size: 18px; line-height: 24px; }

.nav-row { justify-content: safe center; }
@media (max-width: 1279px) and (min-width: 861px) {
  .nav-row { padding: 0 8px; }
  .nav-row > a, .nav-dropdown > a { padding: 12px 7px; font-size: 13.5px; }
}

@media (max-width: 860px) {
  .header-row { gap: 8px; }
  .brand { font-size: 20px; }
  .brand-logo { width: 28px; height: 28px; }
  .header-links { gap: 2px; }
}

/* ===== Admin: supply chain ===== */
.badge.submitted { background: #e9edff; color: #3b49a8; }
.badge.failed { background: #fde2e2; color: #a1252a; }
.badge.cancelled { background: #eee; color: #666; }
.badge.delivered { background: #dff5e6; color: #1a7a3d; }
.sup-h { font-family: var(--font-sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 22px 0 10px; }
.sup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.sup-card { background: #fff; border: 1px solid var(--border-strong); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.sup-head { display: flex; align-items: center; gap: 12px; }
.sup-head h3 { margin: 0 0 4px; font-family: var(--font-sans); font-size: 16px; }
.sup-logo { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--pink), var(--orange)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.sup-state { margin-left: auto; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.sup-state.on { background: #dff5e6; color: #1a7a3d; }
.sup-state.off { background: #eee; color: #666; }
.sup-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.sup-badge.ok { background: #e6f4f1; color: #0f766e; }
.sup-badge.warn { background: #fff3d6; color: #8a6100; }
.sup-badge.info { background: #eef0f4; color: #4b5563; }
.sup-tag { margin: 12px 0 8px; font-weight: 500; line-height: 1.45; }
.sup-facts { margin: 0; display: grid; grid-template-columns: 92px 1fr; gap: 6px 10px; font-size: 13px; }
.sup-facts dt { color: var(--muted); }
.sup-facts dd { margin: 0; line-height: 1.45; }
.sup-stats { display: flex; gap: 16px; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.sup-stats b { color: var(--ink); }
.sup-check { margin: 10px 0 0; font-size: 12.5px; }
.sup-check.ok { color: #1a7a3d; }
.sup-check.bad { color: #a1252a; }
.sup-actions { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.cat-list { display: flex; flex-direction: column; gap: 10px; }
.cat-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px; }
.cat-img { width: 64px; height: 64px; border-radius: 10px; background: var(--img-bg); overflow: hidden; flex-shrink: 0; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-info { flex: 1; min-width: 0; }
.cat-title { font-weight: 600; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-price { font-size: 13px; margin-top: 4px; }
.cat-import { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.cat-import select, .cat-import input { padding: 7px 8px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; font-size: 13px; }
.od-grid { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.od-sup { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.sup-pop { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14); min-width: 200px; }
.sup-pop select, .sup-pop input { padding: 7px 8px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; font-size: 13px; }
details summary::-webkit-details-marker { display: none; }
@media (max-width: 860px) { .od-grid { grid-template-columns: 1fr; } .cat-row { flex-wrap: wrap; } }

.cz-lines { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; color: var(--muted-2); line-height: 1.7; }
.cz-lines b { color: var(--ink); font-weight: 600; }
.cz-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-strong); vertical-align: middle; margin: 0 4px 0 0; }

/* ===== Product customization (storefront) ===== */
.cz-group { margin: 0; }
.cz-label { font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; }
.cz-label i { color: #c2410c; font-style: normal; }
.cz-picked { font-weight: 400; color: #6b5b4f; }
.cz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cz-chip { position: relative; cursor: pointer; }
.cz-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cz-chip > span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: 9px 14px; border-radius: 10px; border: 1.5px solid #d9d2ca; background: #fff; font-size: 13.5px; text-align: center; transition: border-color 0.15s, box-shadow 0.15s; position: relative; }
.cz-chip > span b { font-weight: 600; }
.cz-chip > span small { font-size: 11.5px; color: #8a7d72; margin-top: 2px; }
.cz-chip:hover > span { border-color: #b9b0a6; }
.cz-chip input:checked + span { border-color: #1a1a2e; box-shadow: 0 0 0 1px #1a1a2e; background: #faf8f6; }
.cz-chip input:focus-visible + span { outline: 2px solid #b45309; outline-offset: 2px; }
.cz-badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: #ea580c; color: #fff; font-style: normal; font-size: 9.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.cz-chips-grid .cz-chip > span { min-width: 56px; padding: 14px 16px; }
.cz-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.cz-sw { cursor: pointer; position: relative; }
.cz-sw input { position: absolute; opacity: 0; }
.cz-sw span { display: block; width: 34px; height: 34px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px #d9d2ca; overflow: hidden; }
.cz-sw span img { width: 100%; height: 100%; object-fit: cover; }
.cz-sw input:checked + span { box-shadow: 0 0 0 2px #1a1a2e; }
.cz-select { width: 100%; padding: 10px 12px; border: 1px solid #d9d2ca; border-radius: 8px; font-family: inherit; font-size: 14px; background: #fff; }

.cz-panel { display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: 14px; border: 1px solid #ece8e2; background: #faf8f6; }
.cz-field[hidden] { display: none; }
.cz-inline { display: flex; gap: 8px; align-items: center; }
.cz-input { display: block; width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #d9d2ca; background: #fff; font-family: inherit; font-size: 14px; color: #1a1a2e; outline: none; }
textarea.cz-input { resize: vertical; min-height: 78px; }
.cz-input:focus { border-color: #b45309; }
.cz-count { font-size: 11.5px; color: #8a7d72; margin-top: 4px; }
.cz-ai { border: none; cursor: pointer; font-family: inherit; border-radius: 999px; background: #6d28d9; color: #fff; padding: 7px 14px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.cz-ai:hover { background: #5b21b6; }
.cz-ai:disabled { opacity: 0.6; }
.cz-help { margin: 6px 0 0; font-size: 12px; color: #8a7d72; }
.cz-photo .cz-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.cz-thumb-wrap { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid #d9d2ca; background: #fff; display: flex; align-items: center; justify-content: center; color: #8a7d72; }
.cz-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cz-thumb-wrap button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 999px; border: none; background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer; line-height: 1; font-size: 14px; }
.cz-drop { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; cursor: pointer; margin-top: 8px; }
.cz-drop[hidden] { display: none; }
.cz-photo .cz-thumbs:empty + .cz-drop { margin-top: 0; }
.cz-drop-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1.5px dashed #b9b0a6; background: #fff; font-size: 14px; font-weight: 600; color: #1a1a2e; }
.cz-drop:hover .cz-drop-btn { border-color: #1a1a2e; }
.cz-drop-hint { font-size: 11.5px; color: #8a7d72; }
.cz-guide { margin-top: 8px; font-size: 12.5px; color: #6b5b4f; }
.cz-guide summary { cursor: pointer; text-decoration: underline; }
.cz-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.cz-design { cursor: pointer; position: relative; }
.cz-design input { position: absolute; opacity: 0; }
.cz-design-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 12px; border: 1.5px solid #d9d2ca; background: #fff; overflow: hidden; }
.cz-design-img img { width: 100%; height: 100%; object-fit: cover; }
.cz-design-img i { font-style: normal; font-size: 26px; font-weight: 700; color: #b9b0a6; }
.cz-design-name { display: block; margin-top: 5px; font-size: 12.5px; text-align: center; font-weight: 500; }
.cz-design-name small { color: #8a7d72; }
.cz-design input:checked + .cz-design-img { border-color: #1a1a2e; box-shadow: 0 0 0 2px #1a1a2e; }

.cz-regions { border-radius: 14px; border: 1px solid #e6ddff; background: #f8f5ff; padding: 14px; }
.cz-regions-note { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.cz-regions-note b { color: #4c1d95; font-size: 14px; }
.cz-regions-note span { color: #6d28d9; font-size: 12px; }
.cz-mock { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #e8e4df; background: #faf8f6; aspect-ratio: 4 / 5; }
.cz-mock > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cz-region { position: absolute; box-sizing: border-box; border-radius: 3px; border: 2px solid rgba(37, 99, 235, 0.55); background: rgba(37, 99, 235, 0.08); cursor: pointer; padding: 0; }
.cz-region:hover { border-color: rgba(37, 99, 235, 0.85); }
.cz-region.filled { background: rgba(22, 163, 74, 0.14); border-color: rgba(22, 163, 74, 0.7); }
.cz-region.active { border-color: #b45309; background: rgba(180, 83, 9, 0.15); }
.cz-region-editor { margin-top: 12px; border-radius: 12px; border: 1px solid #f0ebe6; background: #fff; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.cz-region-head { display: flex; justify-content: space-between; align-items: baseline; }
.cz-region-head span { font-size: 12px; color: #6b7280; }
.cz-rl { display: block; font-size: 13px; color: #5c5266; }
.cz-rl textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #d9d2ca; border-radius: 8px; font-family: inherit; font-size: 14px; outline: none; }
.cz-rl textarea:focus { border-color: #b45309; }
.cz-region-ai { align-self: flex-start; }
.cz-region-list { list-style: none; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px solid #f0ebe6; display: flex; flex-direction: column; gap: 4px; }
.cz-region-list button { width: 100%; display: flex; justify-content: space-between; padding: 8px 10px; border: none; background: transparent; border-radius: 8px; font-family: inherit; font-size: 13.5px; cursor: pointer; text-align: left; }
.cz-region-list button.on { background: #faf8f6; box-shadow: inset 0 0 0 1px #e8e4df; }
.cz-region-list em { font-style: normal; font-size: 12px; color: #8a7d72; }

.cz-addons { display: flex; flex-direction: column; gap: 10px; }
.cz-addon { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; border: 1px solid #e8e4df; background: #fff; cursor: pointer; }
.cz-addon img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cz-addon-body { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cz-addon-body small { color: #6b5b4f; font-size: 12.5px; }
.cz-addon-body em { font-style: normal; font-weight: 700; color: #ea580c; font-size: 13.5px; }
.cz-addon-box { width: 20px; height: 20px; accent-color: #1a1a2e; }
.cz-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: #5c5348; cursor: pointer; }
.cz-consent input { margin-top: 3px; accent-color: #1a1a2e; }
.cz-errors { border-radius: 10px; background: #fde2e2; color: #a1252a; padding: 10px 14px; font-size: 13px; line-height: 1.6; }
.cz-errors[hidden] { display: none; }
.pdp-actions { display: flex; flex-direction: column; gap: 10px; }
.pdp-preview { cursor: pointer; font-family: inherit; border-radius: 12px; border: 1.5px solid #1a1a2e; background: #fff; color: #1a1a2e; padding: 12px 20px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.pdp-preview:hover { background: #faf8f6; }
.pdp-actions .pdp-add { align-self: stretch; padding: 14px 20px; font-size: 15px; }

.cz-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cz-modal-bg { position: absolute; inset: 0; background: rgba(20, 15, 25, 0.6); }
.cz-modal-card { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 18px; background: #fff; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.cz-modal-x { position: absolute; top: 10px; right: 14px; border: none; background: none; font-size: 26px; cursor: pointer; color: #6b7280; }
.cz-modal-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .cz-modal-grid { grid-template-columns: 1fr 1fr; } }
.cz-modal-img { position: relative; border-radius: 14px; overflow: hidden; background: #f4f1ec; aspect-ratio: 1 / 1; }
.cz-modal-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cz-ov { position: absolute; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.cz-ov img { width: 100%; height: 100%; object-fit: cover; }
.cz-ov span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 2px; font-size: 13px; font-weight: 700; color: #1a1a2e; text-shadow: 0 0 4px #fff; }
.cz-ov-photo { position: absolute; right: 10px; bottom: 10px; width: 28%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
.cz-modal-info h3 { margin: 0 0 8px; font-family: var(--font-serif); font-size: 20px; }
.cz-modal-note { font-size: 12px; color: #8a7d72; line-height: 1.5; }
.cz-modal-total { font-size: 15px; margin: 12px 0; }
.cz-modal-total b { font-size: 20px; }
.cz-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cz-modal-actions .pdp-add { align-self: auto; }

/* ===== Admin: customization plan builder ===== */
#plan-builder { background: #fff; }
.pb-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.pb-toolbar select { padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; }
.pb-h { margin: 22px 0 8px; font-size: 14px; font-family: var(--font-sans); }
.pb-h small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.pb-card { border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: #fcfbfa; }
.pb-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 8px; }
.pb-f { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--muted); font-weight: 600; flex: 1 1 140px; min-width: 110px; }
.pb-f input, .pb-f select, #plan-builder .pb-showif select { padding: 8px 9px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; font-size: 13.5px; width: 100%; font-weight: 400; color: var(--ink); background: #fff; }
.pb-f.pb-num { flex: 0 0 96px; min-width: 80px; }
.pb-f.pb-col { flex: 0 0 64px; min-width: 56px; }
.pb-f.pb-col input { padding: 2px; height: 36px; }
.pb-f.pb-badge { flex: 0 1 120px; }
.pb-f.pb-img { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 8px; }
.pb-f.pb-img img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border-strong); }
.pb-chk { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 500; cursor: pointer; }
.pb-chk input { width: auto; }
.pb-btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-family: inherit; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: #fff; color: var(--ink); }
.pb-btn:hover { border-color: var(--pink); }
.pb-add { border-style: dashed; margin-top: 4px; color: var(--pink-dark); }
.pb-del { color: #a1252a; margin-left: auto; }
.pb-x { padding: 4px 9px; color: #a1252a; align-self: flex-end; height: 34px; }
.pb-choices { display: flex; flex-direction: column; gap: 8px; padding: 8px 0 0 10px; border-left: 3px solid #f0ebe6; }
.pb-choice { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.pb-choice .pb-f { flex: 1 1 110px; }
.pb-showif { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; font-size: 12.5px; }
.pb-showif select { width: auto !important; max-width: 280px; }
.pb-showin { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.pb-id { margin-top: 6px; font-size: 11px; color: #b0a89f; font-family: monospace; }
.pb-hint { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.pb-stage { position: relative; max-width: 380px; aspect-ratio: 4 / 5; border: 1px solid var(--border-strong); border-radius: 12px; background: #faf8f6; margin-bottom: 12px; overflow: hidden; user-select: none; }
.pb-stage > img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.pb-none { padding: 20px; color: var(--muted); font-size: 13px; }
.pb-rect { position: absolute; box-sizing: border-box; border: 2px solid #2563eb; background: rgba(37, 99, 235, 0.14); cursor: move; border-radius: 3px; }
.pb-rect span { position: absolute; left: 2px; top: 2px; font-size: 10px; font-weight: 700; color: #1d4ed8; background: rgba(255, 255, 255, 0.85); padding: 1px 4px; border-radius: 3px; pointer-events: none; max-width: 95%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pb-handle { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; background: #2563eb; border-radius: 3px; cursor: nwse-resize; }

/* ===== Admin: design library ===== */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.lib-card { background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.lib-card.off { opacity: 0.5; }
.lib-img { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: repeating-conic-gradient(#f3f0ec 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.lib-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lib-meta { display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; min-width: 0; }
.lib-meta b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-meta span { color: var(--muted); font-size: 11.5px; }
.lib-edit summary { cursor: pointer; font-size: 12px; color: var(--pink-dark); font-weight: 600; }
.lib-edit form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.lib-edit input[type=text], .lib-edit select { padding: 6px 8px; border: 1px solid var(--border-strong); border-radius: 6px; font-family: inherit; font-size: 12.5px; }

.cz-style { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.cz-font { padding: 7px 10px; border: 1px solid #d9d2ca; border-radius: 8px; font-family: inherit; font-size: 13px; background: #fff; }
.cz-colors { display: flex; flex-wrap: wrap; gap: 7px; }
.cz-colors label { cursor: pointer; position: relative; }
.cz-colors input { position: absolute; opacity: 0; }
.cz-colors span { display: block; width: 24px; height: 24px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px #d9d2ca; }
.cz-colors input:checked + span { box-shadow: 0 0 0 2px #1a1a2e; }
.cz-modal-img:has(.cz-canvas) { aspect-ratio: 4 / 5; }
.cz-canvas { width: 100%; height: 100%; display: block; }

.pb-lib { border: 1px dashed var(--border-strong); border-radius: 10px; padding: 10px; margin: 6px 0 10px; background: #fff; }
.pb-lib-h { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.pb-lib-h small { font-weight: 400; color: var(--muted); }
.pb-lib-g { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin: 4px 0; }
.pb-lib-g > b { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); min-width: 78px; }
.pb-lib-g small { color: var(--muted); }
.pb-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pb-modal-bg { position: absolute; inset: 0; background: rgba(20, 15, 25, 0.55); }
.pb-modal-card { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 18px; }
.pb-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pb-modal-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pb-modal-tools input, .pb-modal-tools select { padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 8px; font-family: inherit; }
.pb-modal-grid { overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; padding: 2px; }
.pb-asset { cursor: pointer; border: 2px solid transparent; border-radius: 10px; background: #fff; padding: 4px; display: flex; flex-direction: column; gap: 4px; font-family: inherit; }
.pb-asset img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 6px; background: #f3f0ec; }
.pb-asset span { font-size: 11.5px; text-align: center; line-height: 1.2; }
.pb-asset.on { border-color: var(--pink); background: #fff5f9; }

/* ===== Product page v2 (modelled on pawfecthouse.com's buy box) ===== */
.pdp-promo { text-align: center; font-size: 13px; font-weight: 500; color: #0e7490; background: #eaf9fd; border-radius: 10px; padding: 8px 14px; margin: 0 0 14px; }
.pdp-promo a { text-decoration: underline; font-weight: 700; }
.pdp-rating { text-decoration: none; color: inherit; }
.pdp-rating:hover b { text-decoration: underline; }
.pdp-bought { display: inline-flex; align-items: center; gap: 6px; width: fit-content; background: #fff3e8; border-radius: 8px; padding: 6px 10px; font-size: 13px; color: #1a1a2e; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0; }
.pdp-price .now { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; color: #cc1a40; }
.pdp-price .was { font-size: 16px; color: #9ca3af; font-weight: 500; }
.pdp-price .save { font-style: normal; font-size: 12.5px; font-weight: 700; color: #0f766e; background: #dcf6ea; border-radius: 6px; padding: 3px 8px; }
@media (min-width: 640px) { .pdp-price .now { font-size: 32px; } }

.pdp-ship { border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; overflow: hidden; }
.pdp-ship-head { padding: 10px 14px; font-size: 14px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pdp-ship-head select { border: none; background: transparent; color: #0e7490; font-weight: 600; font-family: inherit; font-size: 14px; cursor: pointer; max-width: 220px; padding: 2px 0; }
.pdp-ship-cols { display: grid; grid-template-columns: 1fr 1fr; }
.pdp-ship-cols > div { padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.pdp-ship-cols > div + div { border-left: 1px solid #f1f5f9; }
.pdp-ship-cols b { font-weight: 600; font-size: 13.5px; }
.pdp-ship-cols u { font-weight: 700; color: #1a1a2e; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

.pdp-buyrow { display: flex; gap: 10px; align-items: stretch; }
.pdp-qty { display: inline-flex; align-items: center; border: 1.5px solid #1a1a2e; border-radius: 10px; overflow: hidden; background: #fff; }
.pdp-qty button { width: 40px; align-self: stretch; border: none; background: transparent; font-size: 20px; cursor: pointer; color: #1a1a2e; font-family: inherit; }
.pdp-qty button:hover { background: #f4f1ec; }
.pdp-qty input { width: 44px; border: none; text-align: center; font-size: 16px; font-weight: 600; font-family: inherit; background: transparent; padding: 0; -moz-appearance: textfield; outline: none; }
.pdp-qty input::-webkit-outer-spin-button, .pdp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-atc { flex: 1; border: none; cursor: pointer; font-family: inherit; border-radius: 10px; background: #c2570c; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 14px 20px; transition: background 0.15s, transform 0.1s; }
.pdp-atc:hover { background: #a84a09; }
.pdp-atc:active { transform: translateY(1px); }
.pdp-atc:disabled { opacity: 0.7; cursor: progress; }

.pdp-arrive { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #374151; }
.pdp-arrive b { color: #1a1a2e; }
.pdp-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; text-align: center; }
.pdp-timeline::before { content: ''; position: absolute; left: 16%; right: 16%; top: 17px; border-top: 2px dotted #cbd5e1; }
.pdp-timeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12.5px; }
.pdp-timeline .ic { width: 34px; height: 34px; border-radius: 999px; background: #e0f7fa; color: #0e7490; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; box-shadow: 0 0 0 4px #fff; }
.pdp-timeline b { font-weight: 700; }
.pdp-timeline small { color: #6b7280; font-size: 12px; }

.pdp-acc { border-top: 1px solid #e5e7eb; }
.pdp-acc details { border-bottom: 1px solid #e5e7eb; }
.pdp-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; font-size: 14px; font-weight: 600; }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: ''; width: 8px; height: 8px; border-right: 1.8px solid #6b7280; border-bottom: 1.8px solid #6b7280; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.pdp-acc details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.pdp-acc-body { padding: 0 2px 16px; font-size: 13.5px; line-height: 1.65; color: #4b5563; }
.pdp-acc-body p { margin: 0 0 8px; }
.pdp-acc-body a { color: #0e7490; text-decoration: underline; }
.pdp-share { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6b7280; }
.pdp-share a, .pdp-share button { width: 28px; height: 28px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #374151; cursor: pointer; font-family: inherit; padding: 0; }
.pdp-share a:hover, .pdp-share button:hover { background: #f3f4f6; }

.pdp-counter { position: absolute; left: 12px; bottom: 12px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
#pdp-zoom { cursor: zoom-in; }
.pdp-lb { position: fixed; inset: 0; z-index: 95; background: rgba(10, 8, 14, 0.92); display: flex; align-items: center; justify-content: center; }
.pdp-lb img { max-width: 94vw; max-height: 92vh; object-fit: contain; border-radius: 8px; }
.pdp-lb-x { position: absolute; top: 14px; right: 18px; background: none; border: none; color: #fff; font-size: 34px; cursor: pointer; }
.pdp-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px; border: none; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 28px; cursor: pointer; }
.pdp-lb-nav.l { left: 16px; } .pdp-lb-nav.r { right: 16px; }

.pdp-sec { margin-top: 56px; }
.pdp-sec h2 { margin: 0 0 22px; text-align: center; font-family: var(--font-sans); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; color: #1a1a2e; }
.pdp-sec-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pdp-sec-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .pdp-sec-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.pdp-sec-card { background: #fff; border: 1px solid #e8e4df; border-radius: 16px; padding: 22px 20px; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.pdp-sec-card .ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size: 17px; margin-bottom: 10px; }
.pdp-sec-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #1a1a2e; }
.pdp-sec-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #6b5b4f; }
.pdp-sec-details .pdp-sec-card .ic { background: #e0f7fa; color: #0e7490; }
.pdp-sec-good .pdp-sec-card .ic { background: #eef2ff; color: #4338ca; }

.pdp-reviews2 { margin-top: 64px; padding-top: 40px; border-top: 1px solid #e8e4df; }
.pdp-reviews2 h2 { margin: 0; text-align: center; font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #374151; }
.pdp-rv-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; margin: 22px 0 28px; }
.pdp-rv-score { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pdp-rv-score b { font-size: 46px; line-height: 1; font-weight: 700; }
.pdp-rv-score span { font-size: 13px; color: #6b7280; }
.pdp-rv-score .stars { color: #ca8a04; letter-spacing: 2px; font-size: 16px; margin-top: 4px; }
.pdp-rv-score small { color: #6b7280; font-size: 12.5px; }
.pdp-rv-bars { display: flex; flex-direction: column; gap: 5px; min-width: 220px; }
.pdp-rv-bars > div { display: grid; grid-template-columns: 34px 1fr 28px; gap: 8px; align-items: center; font-size: 12px; color: #6b7280; }
.pdp-rv-bars i { height: 8px; border-radius: 999px; background: #eceff3; overflow: hidden; display: block; }
.pdp-rv-bars i b { display: block; height: 100%; background: #ca8a04; border-radius: 999px; }
.pdp-rv-bars em { font-style: normal; text-align: right; }
.pdp-rv-write { cursor: pointer; font-family: inherit; border: 1.5px solid #1a1a2e; background: #fff; color: #1a1a2e; border-radius: 10px; padding: 11px 24px; font-size: 13.5px; font-weight: 700; }
.pdp-rv-write:hover { background: #1a1a2e; color: #fff; }
#rv-form { max-width: 520px; margin: 0 auto 28px; }
.pdp-rv-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid #e8e4df; border-bottom: 1px solid #e8e4df; margin-bottom: 18px; font-size: 14px; }
.pdp-rv-bar label { font-size: 13px; color: #6b7280; display: flex; gap: 6px; align-items: center; }
.pdp-rv-bar select { border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 8px; font-family: inherit; font-size: 13px; background: #fff; }
.pdp-rv-list { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .pdp-rv-list { grid-template-columns: 1fr 1fr; } }
.pdp-rv-list .empty { grid-column: 1 / -1; text-align: center; color: #6b7280; margin: 8px 0; }
.pdp-review .who { display: flex; align-items: center; gap: 10px; }
.pdp-review .av { width: 36px; height: 36px; border-radius: 999px; background: #fde7ef; color: #be185d; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pdp-review .who > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pdp-review .who small { color: #0f766e; font-size: 11.5px; }

.pdp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08); }
.pdp-sticky-info { display: flex; flex-direction: column; min-width: 0; }
.pdp-sticky-info b { font-size: 18px; color: #cc1a40; }
.pdp-sticky-info small { color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-sticky button { flex-shrink: 0; border: none; cursor: pointer; font-family: inherit; border-radius: 10px; background: #c2570c; color: #fff; font-weight: 800; font-size: 14px; padding: 12px 20px; }
@media (min-width: 861px) { .pdp-sticky { display: none !important; } }

/* ===== Cart rows ===== */
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.cart-thumb { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--img-bg); display: block; flex-shrink: 0; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-info .name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.cart-info .name a:hover { text-decoration: underline; }
.cart-qty-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cart-qty { display: inline-flex; align-items: center; border: 1.5px solid #d9d2ca; border-radius: 10px; overflow: hidden; background: #fff; }
.cart-qty button { width: 34px; height: 34px; border: none; background: transparent; font-size: 18px; cursor: pointer; font-family: inherit; }
.cart-qty button:hover { background: #f4f1ec; }
.cart-qty input { width: 40px; height: 34px; border: none; text-align: center; font-weight: 600; font-family: inherit; font-size: 14px; background: transparent; -moz-appearance: textfield; outline: none; padding: 0; }
.cart-qty input::-webkit-outer-spin-button, .cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line-total { font-weight: 700; font-size: 16px; }
.cart-remove { background: none; border: none; color: var(--muted-2); font-size: 13px; text-decoration: underline; cursor: pointer; font-family: inherit; padding: 0; }
.cart-remove:hover { color: #a1252a; }
@media (max-width: 560px) { .cart-item { grid-template-columns: 72px 1fr; } .cart-thumb { width: 72px; height: 72px; } .cart-line-end { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; } }

@media (max-width: 860px) {
  .cart-layout, .admin-shell { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .admin-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-nav a { margin-bottom: 0; }
}

/* ===== Accessibility ===== */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #1a1a2e; color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, [role=button]:focus-visible, label.btn:focus-visible { outline: 2px solid #b45309; outline-offset: 2px; border-radius: 6px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid #b45309; outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Admin language switch (EN | 中文) */
.lang-switch { display: inline-flex; border: 1px solid var(--border, #ddd); border-radius: 999px; overflow: hidden; font-size: 12px; margin-right: 6px; background: #fff; }
.lang-switch a { padding: 4px 10px; color: inherit; text-decoration: none; }
.lang-switch a.on { background: var(--ink); color: #fff; }
