/* ===========================================================================
   ÚJRA. 3.0 | FULL FRONT-END DESIGN REBUILD
   Fresh visual system applied across all existing functional marketplace routes.
   app.css = legacy functional layout. luxury.css = v2 interactions.
   This final layer owns the whole visible brand: NO old green UI accents.
   =========================================================================== */
:root {
  --ink:#1B1A18; --deep:#1B1A18; --muted:#79736B;
  --pale:#F8F7F4; --line:#E7E0D6; --white:#FFFFFF;
  --lime:#C6A66B; --dark-lime:#B4945E; --cream:#F4EFE6;
  --red:#B44D44; --shadow:0 20px 56px rgba(39,31,21,.075);
  --u-bg:#F8F7F4;--u-card:#FFFFFF;--u-surface:#F1EEE8;--u-surface2:#EAE4D9;
  --u-heading:#171717;--u-text:#39352F;--u-subtle:#81796F;--u-quiet:#A49A8E;
  --u-line:#E5DCD0;--u-line-strong:#D2C1A8;--u-accent:#B99B68;
  --u-accent-bg:#F1E8DA;--u-accent-text:#765936;--u-contrast:#171717;
  --u-contrast-text:#FDF9F2;--u-nav:#FFFFFF;--u-glass:rgba(255,255,255,.95);
  --u-soft-shadow:0 12px 35px rgba(31,27,20,.065);--u-float-shadow:0 26px 72px rgba(36,29,20,.15);
  --u-radius:22px;--u-inner-radius:15px;
  font-family:Manrope,Inter,"Segoe UI",system-ui,sans-serif;
  color:var(--u-text);background:var(--u-bg);
}
body[data-theme='dark']{
  --ink:#F5F0E9;--deep:#E9D0A8;--muted:#B7ADA1;--pale:#0C0D0F;
  --line:#3A3735;--white:#1C1D20;--cream:#252321;--lime:#C6A66B;
  --u-bg:#0C0D0F;--u-card:#1A1B1E;--u-surface:#232427;--u-surface2:#302C27;
  --u-heading:#F5F1EB;--u-text:#E6E0D8;--u-subtle:#B6ADA2;--u-quiet:#9A9288;
  --u-line:#383639;--u-line-strong:#6B5843;--u-accent:#D4B37F;
  --u-accent-bg:#352C21;--u-accent-text:#E5C99A;--u-contrast:#C6A66B;
  --u-contrast-text:#171717;--u-nav:#18191B;--u-glass:rgba(25,26,29,.96);
  --u-soft-shadow:0 12px 35px rgba(0,0,0,.22);--u-float-shadow:0 24px 72px rgba(0,0,0,.48);
  --shadow:0 20px 56px rgba(0,0,0,.20);background:var(--u-bg);color:var(--u-text);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:156px}
body,body:has(.form-page),body[data-theme='dark'],body[data-theme='dark']:has(.form-page){background:var(--u-bg);color:var(--u-text)}
body{font-family:Manrope,Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
#app{min-height:calc(100dvh - 420px)}
::selection{background:#E1CDAA;color:#171717}
:where(button,a,input,select,textarea):focus-visible{outline:2px solid var(--u-accent)!important;outline-offset:3px}
a,button,input,select,textarea{font-family:inherit}
button{touch-action:manipulation}
.container{width:min(1450px,calc(100% - 88px));margin-inline:auto}
[hidden]{display:none!important}
h1,h2,h3,h4{color:var(--u-heading);letter-spacing:-.045em;font-weight:790;text-wrap:pretty}
h1{font-weight:790}p{line-height:1.68}small,.small-muted{color:var(--u-subtle)}
.eyebrow{font-size:10px;font-weight:790;letter-spacing:.18em;text-transform:uppercase;color:var(--u-accent-text)}
.eyebrow:before{background:var(--u-accent);width:20px}
.text-link{font-size:12px;color:var(--u-accent-text);font-weight:760}
.text-link:hover,.footer-grid a:hover{text-decoration:underline;text-underline-offset:3px}
/* ----------------------------------------------------
   BRAND + FLOATING TWO LEVEL NAVIGATION
   ---------------------------------------------------- */
.top-strip{background:transparent;color:var(--u-subtle);font-size:10px;letter-spacing:.08em}
.strip-inner{min-height:27px;padding-inline:23px}
.site-header,body[data-theme='dark'] .site-header{
  background:var(--u-bg);position:sticky;top:0;z-index:70;
  box-shadow:none;border:0;padding-top:7px;backdrop-filter:none;
}
.header-main{
  min-height:78px;display:grid;grid-template-columns:auto minmax(245px,1fr) auto;
  align-items:center;gap:clamp(17px,2vw,31px);padding:10px 20px 10px 22px;
  background:var(--u-glass);border:1px solid var(--u-line);
  border-radius:999px;box-shadow:var(--u-soft-shadow);
  transition:box-shadow .24s,border-color .24s;
}
body[data-theme='dark'] .header-main{background:var(--u-glass);border-color:var(--u-line-strong);box-shadow:var(--u-soft-shadow)}
.site-header.vnext-scrolled .header-main{box-shadow:0 13px 39px rgba(34,29,21,.1)}
body[data-theme='dark'] .site-header.vnext-scrolled .header-main{box-shadow:0 13px 43px rgba(0,0,0,.35)}
.brand,.footer-brand{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;flex-shrink:0;color:var(--u-heading)!important;letter-spacing:0;font-size:inherit;line-height:1;text-decoration:none}
.brand-mark,.footer-brand .brand-mark{
  position:relative;flex:none;width:47px;height:47px;border-radius:50%;
  display:grid;place-items:center;background:#171717!important;
  font-size:0!important;color:transparent!important;line-height:0!important;
  box-shadow:inset 0 0 0 1px rgba(231,201,149,.10)
}
.brand-mark::after{content:"";display:block;width:32px;height:22px;background-image:url('/infinity-mark.svg');background-repeat:no-repeat;background-position:center;background-size:contain;transform:none}
.brand-wordmark{display:inline-block;color:var(--u-heading);font-size:27px;line-height:1;font-weight:850;letter-spacing:.21em;margin-right:-.21em}
.brand-dot{display:none!important}
.header-search,#header-search{
  display:flex;min-width:0;width:min(100%,570px);max-width:570px;
  height:49px;min-height:49px;padding:5px 5px 5px 17px;
  gap:12px;border-radius:999px;background:var(--u-bg);
  border:1px solid var(--u-line);box-shadow:inset 0 1px 1px rgba(0,0,0,.01);
  transition:border-color .18s,box-shadow .18s;
}
.header-search:focus-within{border-color:var(--u-accent);box-shadow:0 0 0 4px var(--u-accent-bg)}
.header-search svg{color:var(--u-subtle);width:21px;height:21px}
.header-search input,#search-input{flex:1;min-width:0;width:100%;font-size:13px!important;color:var(--u-heading)!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important}
.header-search input::placeholder{color:var(--u-quiet)!important}
.search-submit{flex:none;border:0;border-radius:999px;min-height:38px;padding:9px 19px;background:var(--u-contrast);color:var(--u-contrast-text);font-size:12px;font-weight:760;transition:transform .18s,filter .18s}
.search-submit:hover{filter:brightness(1.14);transform:translateY(-1px)}
.header-actions{display:flex;align-items:center;gap:clamp(6px,1vw,17px);margin-left:0;min-width:0}
.header-icon{display:grid;justify-items:center;gap:4px;min-width:48px;font-size:10px;font-weight:700;color:var(--u-subtle)!important;line-height:1.1;transition:color .18s,transform .18s}
.header-icon svg{width:23px;height:23px;stroke-width:1.7;color:inherit}
.header-icon:hover,.header-icon:focus-visible{color:var(--u-accent-text)!important;transform:translateY(-2px)}
.header-icon span{font-size:10px}
.header-sell{min-width:123px;min-height:45px;padding:0 18px;height:45px;font-size:13px;box-shadow:none}
.btn,.btn-primary,.btn-dark,.btn-outline,.btn-light{border-radius:999px;font-weight:760;letter-spacing:0;min-height:41px}
.btn-primary,body[data-theme='dark'] .btn-primary,.btn-dark,.header-sell,body[data-theme='dark'] .header-sell{color:var(--u-contrast-text)!important;background:var(--u-contrast)!important;border-color:transparent!important}
.btn-primary:hover,.btn-dark:hover,.header-sell:hover{filter:brightness(1.10);box-shadow:0 9px 23px rgba(43,35,22,.14)}
.btn-outline,.btn-light,body[data-theme='dark'] .btn-outline,body[data-theme='dark'] .btn-light{background:var(--u-card)!important;border:1px solid var(--u-line-strong)!important;color:var(--u-text)!important}
.btn-outline:hover,.btn-light:hover{background:var(--u-accent-bg)!important;border-color:var(--u-accent)!important}
.btn-danger{background:#F9EEE9;color:#AD5345}
.theme-toggle,body[data-theme='dark'] .theme-toggle{width:45px;height:45px;min-width:45px;border-radius:50%;padding:0;display:grid;place-items:center;background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important;border:1px solid var(--u-line-strong)!important;font-size:19px;transition:box-shadow .2s,transform .2s}
.theme-toggle:hover{box-shadow:0 0 0 4px var(--u-accent-bg)}
/* Align the category rail to the brand inset inside the header pill. */
.category-nav,body[data-theme='dark'] .category-nav{position:relative!important;isolation:isolate;z-index:72;background:transparent!important;border:0!important;box-shadow:none!important}
.category-nav .nav-links{display:flex;align-items:center;height:59px;padding-inline:22px;gap:clamp(19px,1.8vw,29px);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;white-space:nowrap;width:min(1450px,calc(100% - 88px));position:relative;z-index:3}
.category-nav .nav-links::-webkit-scrollbar{display:none}
.nav-links>a,.top-category-link,.nav-links .nav-all,body[data-theme='dark'] .nav-links a{
  position:relative;display:inline-flex;align-items:center;align-self:stretch;flex-shrink:0;
  padding:4px 0 0!important;margin:0;color:var(--u-subtle)!important;
  background:transparent!important;border:0!important;font-size:11px;font-weight:700;
  text-decoration:none;transition:color .18s;
}
.nav-links .nav-all{color:var(--u-heading)!important;font-weight:850}
.nav-links .top-category-link:is(:hover,:focus-visible,.active),.top-category-link.active,
body[data-theme='dark'] .nav-links .top-category-link:is(:hover,:focus-visible,.active){color:var(--u-accent-text)!important;border:0!important}
.top-category-link:hover::after,.top-category-link:focus::after,.nav-links .top-category-link.active::after,
.category-nav .top-category-link.active::after{
  content:"";position:absolute;left:0;right:0;bottom:3px;height:2px;
  background:var(--u-accent);border-radius:5px
}
/* The megamenu is a real opaque overlay: NO hero showing through. */
#mega-menu.mega-menu,body[data-theme='dark'] #mega-menu.mega-menu{
  left:50%;right:auto;top:100%;transform:translateX(-50%);
  width:min(1406px,calc(100vw - 88px));margin:0;
  max-height:min(76vh,700px);overflow:auto;z-index:80;
  background:var(--u-card)!important;border:1px solid var(--u-line)!important;
  border-radius:23px!important;box-shadow:var(--u-float-shadow)!important;
}
#mega-menu[hidden]{display:none!important}
#mega-menu .mega-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:20px 31px;background:var(--u-card);border-bottom:1px solid var(--u-line)!important;color:var(--u-heading)!important}
#mega-menu .mega-menu-head strong{font-size:20px;font-weight:780;letter-spacing:-.7px;color:var(--u-heading)}
#mega-menu .mega-menu-head>a{font-size:12px;font-weight:760;color:var(--u-accent-text)!important}
#mega-menu .mega-menu-shell{display:grid;grid-template-columns:275px minmax(0,1fr);min-height:290px;background:var(--u-card)}
#mega-menu .mega-sidebar{background:var(--u-bg)!important;border-right:1px solid var(--u-line)!important;padding:15px 12px;display:flex;flex-direction:column;gap:3px}
#mega-menu .mega-side-item,body[data-theme='dark'] #mega-menu .mega-side-item{
  width:100%;min-height:50px;display:flex;align-items:center;gap:12px;text-align:left;
  background:transparent!important;border:1px solid transparent!important;border-radius:11px;
  padding:11px 13px;color:var(--u-text)!important;font-size:13px;font-weight:570;transition:background .14s,border-color .14s,color .14s;
}
#mega-menu .mega-side-item.active,#mega-menu .mega-side-item:hover,#mega-menu .mega-side-item:focus-visible,
body[data-theme='dark'] #mega-menu .mega-side-item.active,body[data-theme='dark'] #mega-menu .mega-side-item:hover{
  background:var(--u-accent-bg)!important;border-color:var(--u-line-strong)!important;color:var(--u-heading)!important;font-weight:770
}
#mega-menu .mega-side-icon{min-width:23px;display:grid;place-items:center;filter:grayscale(.72) sepia(.22);font-size:19px}
#mega-menu .mega-side-arrow{margin-left:auto;color:var(--u-accent-text)!important}
#mega-menu .mega-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 29px;padding:32px 36px!important;background:var(--u-card)!important;align-content:start}
#mega-menu .mega-col{display:flex;flex-direction:column;gap:8px}
#mega-menu .mega-link,body[data-theme='dark'] #mega-menu .mega-link{display:block;border-radius:8px;padding:10px 12px;color:var(--u-text)!important;font-size:13px;line-height:1.4;font-weight:560;text-decoration:none!important;transition:background .15s,color .15s}
#mega-menu .mega-link:hover,#mega-menu .mega-link:focus-visible,
body[data-theme='dark'] #mega-menu .mega-link:hover{background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important;text-decoration:none!important}
.search-suggestions,body[data-theme='dark'] .search-suggestions{background:var(--u-card)!important;color:var(--u-text)!important;border:1px solid var(--u-line)!important;border-radius:19px!important;box-shadow:var(--u-float-shadow)!important}
.search-option,body[data-theme='dark'] .search-option{color:var(--u-text)!important;border-radius:10px}
.search-option:hover,.search-option:focus-visible,body[data-theme='dark'] .search-option:hover{background:var(--u-accent-bg)!important}
/* ----------------------------------------------------
   GLOBAL CONTENT, HERO, BENEFITS AND HOME CATALOG
   ---------------------------------------------------- */
.hero,body[data-theme='dark'] .hero{margin-top:24px;border:1px solid var(--u-line);border-radius:33px;background:linear-gradient(117deg,#EFE9E0 0%,#F9F5ED 59%,#E5D7C7 100%);box-shadow:var(--u-soft-shadow);min-height:394px}
.hero::before{background:#D9C5AB;opacity:.18}
.hero-copy{padding:70px 0 65px clamp(32px,5vw,83px);width:59%}
.hero h1{font-size:clamp(41px,4.8vw,76px);line-height:1.07;font-weight:810;letter-spacing:-.065em;color:#1C1A17;margin:16px 0}
.hero h1 em{color:#9A7546}
.hero-desc{color:#696055;font-size:14px;line-height:1.78;max-width:425px}
.hero-blob{background:#CFB79B;opacity:.36}
.hero-card{background:var(--u-card);padding:7px;border-radius:21px;box-shadow:0 27px 65px rgba(43,29,12,.17)}
.hero-card img{border-radius:15px}
.hero-card-copy{border-radius:13px;background:var(--u-glass)}
.hero-card-copy strong,.hero-card-copy b{color:var(--u-heading)}
.hero-card-copy span{color:var(--u-subtle)}
.hero-sticker{background:#171717;color:#F0D6AE;border-radius:50%;font-weight:770}
.hero-live-badge{background:#E8D8BE;color:#634A2A;border-radius:999px}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:25px 0 19px}
.benefit{background:var(--u-card)!important;color:var(--u-subtle)!important;border:1px solid var(--u-line);border-radius:15px;padding:15px 18px;font-size:12px;font-weight:650;gap:13px}
.benefit .benefit-icon{background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important;border-radius:12px;flex:none}
.section-head{margin:37px 0 19px}
.section-head h2,.inner-head h1{font-size:clamp(27px,2.9vw,40px);font-weight:800;letter-spacing:-.055em}
.section-head p,.inner-head p{color:var(--u-subtle);font-size:13px}
.category-tiles{gap:12px;grid-template-columns:repeat(8,minmax(0,1fr))}
.category-tile,body[data-theme='dark'] .category-tile{background:var(--u-card)!important;color:var(--u-text)!important;border:1px solid var(--u-line)!important;box-shadow:var(--u-soft-shadow);border-radius:19px;padding:18px 9px;transition:transform .18s,border-color .18s,background .18s}
.category-tile:hover,.category-tile.active,body[data-theme='dark'] .category-tile.active{background:var(--u-accent-bg)!important;border-color:var(--u-accent)!important;transform:translateY(-3px)}
.category-emoji{font-size:27px;line-height:1.15}
.category-group,body[data-theme='dark'] .category-group{background:var(--u-card)!important;border:1px solid var(--u-line)!important;border-radius:20px;box-shadow:var(--u-soft-shadow)}
.category-group-head h3{color:var(--u-heading)!important}
.category-chip,body[data-theme='dark'] .category-chip{background:var(--u-surface)!important;border:1px solid var(--u-line)!important;color:var(--u-text)!important;border-radius:999px}
.category-chip:hover{background:var(--u-accent-bg)!important;border-color:var(--u-accent)!important;color:var(--u-accent-text)!important}
.catalog-heading{margin:42px 0 20px}
.catalog-heading h2{color:var(--u-heading);font-size:30px;font-weight:790}
.catalog-heading small{color:var(--u-subtle)}
.listing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:23px 18px}
.product,body[data-theme='dark'] .product{padding:9px 9px 15px;background:var(--u-card)!important;border:1px solid var(--u-line)!important;border-radius:22px;box-shadow:var(--u-soft-shadow)!important;transition:transform .2s,border-color .2s,box-shadow .2s}
.product:hover{transform:translateY(-4px);border-color:var(--u-line-strong)!important;box-shadow:0 20px 48px rgba(41,31,19,.13)!important}
.product-photo,body[data-theme='dark'] .product-photo{aspect-ratio:4/5;background:var(--u-surface)!important;border-radius:15px;overflow:hidden}
.product-photo img{width:100%;height:100%;object-fit:cover}
.product-badge,body[data-theme='dark'] .product-badge{background:var(--u-glass)!important;color:var(--u-accent-text)!important;border:1px solid var(--u-line);border-radius:999px;font-weight:760}
.heart-btn,body[data-theme='dark'] .heart-btn{background:var(--u-glass)!important;border:1px solid var(--u-line)!important;color:var(--u-text)!important}
.heart-btn:hover{transform:none}
.heart-btn.is-active{color:#A85360!important}.heart-btn.is-active svg{fill:#F0CDCF;stroke:#A85360}
.product-info{padding:14px 7px 0}
.product-title{font-size:13px;font-weight:720;color:var(--u-heading);margin-bottom:7px}
.product-price{font-size:19px;font-weight:820;color:var(--u-heading)!important}
.product-meta{font-size:11px;color:var(--u-subtle)!important}
.product-meta span:before{color:var(--u-line-strong)}
.empty,.advanced-blank,body[data-theme='dark'] .empty,body[data-theme='dark'] .advanced-blank{background:var(--u-card)!important;border:1px dashed var(--u-line-strong)!important;color:var(--u-subtle)!important;border-radius:23px}
.how,body[data-theme='dark'] .how{background:#19191B;border:1px solid #38322B;border-radius:29px;color:#F5F0E9}
.how h2,.how h3{color:#F5F0E9}
.how .eyebrow{color:#D7B883}
.how p{color:#BBB2A6}
.how-step,body[data-theme='dark'] .how-step{background:#29292D;border:1px solid #393735;border-radius:20px}
.how-step span{color:#D5B480}
/* ----------------------------------------------------
   SEARCH FILTERS AND DRAWER
   ---------------------------------------------------- */
.filterbar.lux-filterbar{margin-bottom:24px}
.lux-filter-toolbar{gap:9px}
.lux-filter-chip,body[data-theme='dark'] .lux-filter-chip{background:var(--u-card)!important;color:var(--u-text)!important;border:1px solid var(--u-line)!important;border-radius:999px;min-height:43px;padding:10px 16px;font-size:12px;box-shadow:0 2px 8px rgba(28,24,21,.025)}
.lux-filter-chip:hover{background:var(--u-accent-bg)!important;border-color:var(--u-accent)!important}
.lux-filter-chip.primary,body[data-theme='dark'] .lux-filter-chip.primary{background:var(--u-contrast)!important;color:var(--u-contrast-text)!important;border-color:transparent!important}
.lux-filter-chip i{color:var(--u-accent-text)}
.lux-active-filters a,body[data-theme='dark'] .lux-active-filters a{background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important;border-radius:99px}
.lux-filter-scrim{background:rgba(14,12,9,.52);backdrop-filter:blur(3px)}
.lux-filter-drawer,body[data-theme='dark'] .lux-filter-drawer{background:var(--u-bg)!important;color:var(--u-text)!important;box-shadow:var(--u-float-shadow);width:min(470px,100%)}
.lux-filter-header,body[data-theme='dark'] .lux-filter-header{background:var(--u-bg)!important;border-bottom:1px solid var(--u-line)!important;padding:27px 28px 19px}
.lux-filter-header h2{color:var(--u-heading)!important}
.lux-filter-header p{color:var(--u-subtle)!important}
.lux-filter-body{padding:24px 28px;gap:19px}
.lux-filter-body label,body[data-theme='dark'] .lux-filter-body label{color:var(--u-text)!important;font-weight:720}
.lux-filter-body input,.lux-filter-body select,body[data-theme='dark'] .lux-filter-body input,body[data-theme='dark'] .lux-filter-body select{background:var(--u-card)!important;border:1px solid var(--u-line)!important;color:var(--u-heading)!important;border-radius:13px;min-height:45px}
.lux-filter-actions,body[data-theme='dark'] .lux-filter-actions{background:var(--u-bg)!important;border-top:1px solid var(--u-line)!important}
.lux-icon-button,body[data-theme='dark'] .lux-icon-button{background:var(--u-card)!important;border:1px solid var(--u-line)!important;color:var(--u-heading)!important}
/* ----------------------------------------------------
   ALL SHARED INTERIOR PAGES + FORMS + ACCOUNT + TABLES
   ---------------------------------------------------- */
.subpage,.form-page{padding-top:38px;padding-bottom:92px;min-height:55vh}
.breadcrumbs{font-size:11px;color:var(--u-subtle);gap:9px}
.breadcrumbs a:hover{color:var(--u-accent-text)!important}
.inner-head{margin-bottom:27px}.inner-head h1{margin-bottom:8px}
.panel,.advanced-panel,.auth-wrap,.account-mail-panel,.sidebar-tip,.seller-card,.order-card,.chat-main,.chat-list,.profile-dashboard-panel,
body[data-theme='dark'] .panel,body[data-theme='dark'] .advanced-panel,body[data-theme='dark'] .auth-wrap,body[data-theme='dark'] .account-mail-panel,
body[data-theme='dark'] .sidebar-tip,body[data-theme='dark'] .seller-card,body[data-theme='dark'] .order-card,body[data-theme='dark'] .chat-main,body[data-theme='dark'] .chat-list,body[data-theme='dark'] .profile-dashboard-panel{
  background:var(--u-card)!important;color:var(--u-text)!important;border:1px solid var(--u-line)!important;
  border-radius:var(--u-radius);box-shadow:var(--u-soft-shadow)
}
.panel,.advanced-panel,.profile-dashboard-panel{padding:clamp(20px,2.5vw,33px)}
.auth-wrap{padding:43px;max-width:485px}
.auth-wrap h1{font-size:32px;font-weight:780}
.auth-wrap>p{color:var(--u-subtle)!important}
.form-group label,.advanced-form label,body[data-theme='dark'] .advanced-form label{color:var(--u-text)!important;font-size:12px;font-weight:740}
.form-input,.form-select,.form-textarea,.select-chip,.filter-input,.advanced-form input,.advanced-form textarea,.advanced-form select,
body[data-theme='dark'] .form-input,body[data-theme='dark'] .form-select,body[data-theme='dark'] .form-textarea,
body[data-theme='dark'] .select-chip,body[data-theme='dark'] .filter-input,
body[data-theme='dark'] .advanced-form input,body[data-theme='dark'] .advanced-form textarea,body[data-theme='dark'] .advanced-form select{
  min-height:43px;background:var(--u-card)!important;border:1px solid var(--u-line)!important;
  border-radius:13px;color:var(--u-heading)!important;font-size:13px;box-shadow:none;
}
.form-input::placeholder,.form-textarea::placeholder,textarea::placeholder,input::placeholder{color:var(--u-quiet)}
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--u-accent)!important;box-shadow:0 0 0 3px var(--u-accent-bg)!important;outline:none!important}
.form-textarea,.advanced-form textarea{min-height:108px;resize:vertical}
.form-note,.auth-extra,body[data-theme='dark'] .auth-extra{color:var(--u-subtle)!important;font-size:12px}
.demo-alert,body[data-theme='dark'] .demo-alert{background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important;border:1px solid var(--u-line-strong)!important;border-radius:14px}
.advanced-columns{gap:20px}.advanced-panel h2,.advanced-panel h3{letter-spacing:-.03em}
.advanced-blank{padding:37px 23px}
.adv-row{gap:15px;padding-block:5px}
.adv-grow p,.adv-order .order-body p{color:var(--u-subtle)!important}
.adv-thumb{border-radius:13px;background:var(--u-surface);width:76px;height:85px}
.adv-stamp,body[data-theme='dark'] .adv-stamp{background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important;border:1px solid var(--u-line);font-weight:710}
.adv-stamp.good{background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important}
.adv-table th,.adv-table td{border-bottom:1px solid var(--u-line);padding:15px 12px;color:var(--u-text)}
.adv-table th{background:var(--u-surface);color:var(--u-subtle)!important;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.adv-table tr:hover td{background:var(--u-accent-bg)}
.adv-table-wrap{border-radius:15px;border:1px solid var(--u-line);overflow:auto}
.audit-line{border-bottom:1px solid var(--u-line)}
.admin-stat,.stat-grid>div,.profile-stat-grid>div,
body[data-theme='dark'] .admin-stat,body[data-theme='dark'] .stat-grid>div,body[data-theme='dark'] .profile-stat-grid>div{
  background:var(--u-card)!important;border:1px solid var(--u-line)!important;
  border-radius:18px;padding:23px 19px;box-shadow:var(--u-soft-shadow)
}
.admin-stat b,.stat-grid strong,.profile-stat-grid strong,body[data-theme='dark'] .profile-stat-grid strong{color:var(--u-heading)!important;font-size:29px}
.admin-stat small,.stat-grid span,.profile-stat-grid span,body[data-theme='dark'] .profile-stat-grid span{color:var(--u-subtle)!important}
.wallet-amount{color:var(--u-heading)}
.cost-line{border-color:var(--u-line);color:var(--u-subtle)}
.cost-line.total,.cost-line.total strong{color:var(--u-heading)}
.seller-hero,body[data-theme='dark'] .seller-hero{
  background:linear-gradient(130deg,var(--u-card),var(--u-surface))!important;
  border:1px solid var(--u-line)!important;box-shadow:var(--u-soft-shadow);border-radius:27px
}
.seller-hero h1{color:var(--u-heading)}.seller-hero small,.seller-hero p{color:var(--u-subtle)}
.seller-logo{background:var(--u-contrast);color:var(--u-contrast-text);border-radius:22px}
.notice-row,body[data-theme='dark'] .notice-row{background:var(--u-card)!important;color:var(--u-text)!important;border:1px solid var(--u-line)!important;border-radius:16px;padding:19px;box-shadow:none!important;transition:background .15s}
.notice-row:hover{background:var(--u-surface)!important}
.notice-row.unread,body[data-theme='dark'] .notice-row.unread{background:var(--u-accent-bg)!important;border-color:var(--u-line-strong)!important;box-shadow:inset 3px 0 0 var(--u-accent)!important}
.notice-row p{color:var(--u-subtle)!important}.notice-row small{color:var(--u-quiet)!important}
.notice-dot,.notice-row.unread .notice-dot{background:var(--u-accent)!important}
/* Luxury account's dark contrast sidebar is intentional even in light mode. */
.profile-app-shell{padding-top:27px;padding-bottom:90px}
.profile-layout{grid-template-columns:265px minmax(0,1fr);gap:25px}
.profile-sidebar{top:155px}
.profile-user-card,.profile-side-menu,body[data-theme='dark'] .profile-user-card,body[data-theme='dark'] .profile-side-menu{
  background:#1C1C1E!important;color:#F3EBE0!important;border:1px solid #3F372E!important;
  border-radius:22px;box-shadow:0 17px 39px rgba(14,14,14,.11)
}
.profile-user-top h2{color:#F5F1E9!important}
.profile-user-top small{color:#AFA69B!important}
.profile-mini-meta span,body[data-theme='dark'] .profile-mini-meta span{background:#2D2B29;color:#D8CEBF}
.profile-menu-label{color:#C1A67C!important;letter-spacing:.08em}
.profile-menu-item,body[data-theme='dark'] .profile-menu-item{color:#DDD5CA!important;border-radius:12px;transition:background .17s,color .17s}
.profile-menu-item:hover,body[data-theme='dark'] .profile-menu-item:hover{background:#332E27!important;color:#F8EEE2!important}
.profile-menu-item.active,body[data-theme='dark'] .profile-menu-item.active{background:#423527!important;color:#EED4A6!important}
.profile-menu-icon,.profile-menu-item.active .profile-menu-icon,body[data-theme='dark'] .profile-menu-icon,body[data-theme='dark'] .profile-menu-item.active .profile-menu-icon{background:#2E2B28!important;color:#CEAE7E!important}
.profile-stat-grid{gap:13px}.profile-route-content{gap:20px}
.profile-dashboard-panel{border-radius:22px}
.profile-panel-head p{color:var(--u-subtle)!important}
.profile-mobile-toggle,body[data-theme='dark'] .profile-mobile-toggle{background:#2B2927!important;color:#F0DAB8!important;border:1px solid #574738!important;border-radius:999px!important}
.profile-listings-grid,.profile-route-content .listing-grid{gap:15px}
/* ----------------------------------------------------
   LISTING DETAIL, UPLOAD, GALLERIES, SELLER PAGE
   ---------------------------------------------------- */
.detail-grid{grid-template-columns:minmax(0,1.12fr) minmax(350px,.82fr);gap:clamp(25px,4.6vw,76px);align-items:start}
.detail-photo,.detail-photo-button{border-radius:23px;background:var(--u-surface);overflow:hidden}
.detail-photo img{object-fit:contain!important;background:var(--u-surface)}
.detail-thumbnails{gap:11px}
.detail-thumb,body[data-theme='dark'] .detail-thumb{border-radius:12px;background:var(--u-card)!important;border:1px solid var(--u-line)!important;overflow:hidden}
.detail-thumb.selected,.detail-thumb:focus-visible,body[data-theme='dark'] .detail-thumb.selected{border:2px solid var(--u-accent)!important;outline:0!important;box-shadow:0 0 0 3px var(--u-accent-bg)!important}
.detail-title{color:var(--u-heading);font-weight:830;font-size:clamp(30px,3.3vw,47px);letter-spacing:-.06em}
.detail-price{color:var(--u-heading);font-weight:850;font-size:37px}
.detail-features{border-color:var(--u-line)}
.detail-feature{border-color:var(--u-line);gap:17px}
.detail-feature>span:first-child{color:var(--u-subtle)}
.zoom-chip{background:rgba(23,23,23,.8);color:#F8EEDC;border-radius:99px}
.sidebar-tip,body[data-theme='dark'] .sidebar-tip{background:var(--u-accent-bg)!important;border:1px solid var(--u-line-strong)!important;color:var(--u-text)!important}
.sidebar-tip h3{color:var(--u-heading)}
.upload-zone,body[data-theme='dark'] .upload-zone{background:var(--u-surface)!important;border:2px dashed var(--u-line-strong)!important;border-radius:20px;color:var(--u-text)!important;min-height:180px}
.upload-zone svg{color:var(--u-accent-text)}
.upload-zone small{color:var(--u-subtle)!important}
.upload-zone.dragging-over{background:var(--u-accent-bg)!important;border-color:var(--u-accent)!important}
.upload-preview-card,body[data-theme='dark'] .upload-preview-card{background:var(--u-card)!important;border:1px solid var(--u-line)!important;border-radius:14px}
.upload-preview-card span{background:var(--u-contrast);color:var(--u-contrast-text)}
.upload-preview-card button{color:var(--u-heading);background:var(--u-card)}
.edit-picture,body[data-theme='dark'] .edit-picture{background:var(--u-surface)!important;border:1px solid var(--u-line);border-radius:15px}
.mini-button{border-color:var(--u-line);background:var(--u-card);color:var(--u-text)}
.mini-button:hover:not(:disabled){background:var(--u-accent-bg)}
.lux-wizard-progress{gap:9px}
.lux-wizard-progress button,body[data-theme='dark'] .lux-wizard-progress button{background:var(--u-card)!important;border:1px solid var(--u-line)!important;color:var(--u-subtle)!important;border-radius:13px;min-height:51px}
.lux-wizard-progress button.active,body[data-theme='dark'] .lux-wizard-progress button.active{background:var(--u-contrast)!important;border-color:var(--u-contrast)!important;color:var(--u-contrast-text)!important}
.lux-wizard-step h2{color:var(--u-heading)}
.lux-wizard-nav{border-top:1px solid var(--u-line)}
.lux-listing-preview,body[data-theme='dark'] .lux-listing-preview{background:var(--u-surface)!important;border:1px solid var(--u-line)!important;border-radius:20px}
.lux-listing-preview h3,.lux-live-preview h3{color:var(--u-heading)}
.lux-listing-preview p,.lux-live-preview p,body[data-theme='dark'] .lux-listing-preview p,body[data-theme='dark'] .lux-live-preview p{color:var(--u-subtle)!important}
/* ----------------------------------------------------
   LUXURY MESSENGER + OFFER SHEET + SAFETY
   ---------------------------------------------------- */
.chat-layout{grid-template-columns:minmax(220px,290px) minmax(0,1fr);gap:15px;min-height:580px;height:auto}
.chat-layout:has(.chat-side-product){grid-template-columns:minmax(220px,270px) minmax(0,1fr) minmax(165px,220px)}
.chat-list,.chat-main,.chat-side-product,body[data-theme='dark'] .chat-side-product{background:var(--u-card)!important;border:1px solid var(--u-line)!important;border-radius:20px;box-shadow:var(--u-soft-shadow)}
.chat-main{min-height:550px;height:auto;overflow:hidden}
.chat-list{overflow-y:auto;max-height:650px}
.conversation-card{border:1px solid transparent!important;border-radius:12px!important;transition:background .15s}
.chat-list .conversation-card{border-bottom:1px solid var(--u-line)!important}
.conversation-card:hover{background:var(--u-surface)!important}
.conversation-card.selected,body[data-theme='dark'] .conversation-card.selected{background:var(--u-accent-bg)!important;border-color:var(--u-line-strong)!important;color:var(--u-heading)!important}
.chat-top{padding:16px;border-bottom:1px solid var(--u-line)}
.chat-top small{color:var(--u-subtle)}
.chat-messages{padding:21px 19px;gap:13px}
.bubble,.bubble.mine,body[data-theme='dark'] .bubble,body[data-theme='dark'] .bubble.mine{border-radius:18px;padding:12px 16px;box-shadow:none}
.bubble{background:var(--u-surface)!important;color:var(--u-text)!important;border:1px solid var(--u-line)}
.bubble.mine,body[data-theme='dark'] .bubble.mine{background:#F0E6D8!important;color:#594125!important;border:1px solid #DBC8AC!important}
.bubble small{color:var(--u-subtle)!important}
body[data-theme='dark'] .bubble{background:#292A2D!important;color:#EFEAE4!important;border:1px solid #39393C!important}
body[data-theme='dark'] .bubble.mine{background:#4B3C2C!important;color:#F6EAD9!important;border:1px solid #796044!important}
.chat-compose{border-top:1px solid var(--u-line);background:var(--u-card);padding:14px}
.chat-side-product{padding:17px;align-self:stretch;display:grid;align-content:start;gap:11px}
.chat-side-product img{border-radius:14px}
.chat-side-product small{color:var(--u-subtle)}
.lux-overlay{background:rgba(13,11,9,.59);backdrop-filter:blur(5px)}
.lux-sheet,body[data-theme='dark'] .lux-sheet{background:var(--u-card)!important;border:1px solid var(--u-line-strong)!important;color:var(--u-text)!important;box-shadow:var(--u-float-shadow);border-radius:25px 25px 21px 21px}
.lux-sheet-top h2{color:var(--u-heading)}
.lux-sheet-top small{color:var(--u-accent-text)}
.lux-sheet-amount,body[data-theme='dark'] .lux-sheet-amount{background:var(--u-accent-bg)!important;border:1px solid var(--u-line-strong)!important;border-radius:20px}
.lux-sheet-amount label{color:var(--u-subtle)!important}
.lux-sheet-amount input,body[data-theme='dark'] .lux-sheet-amount input{color:var(--u-heading)!important;background:transparent!important;border:none!important}
.lux-quick-amounts button,body[data-theme='dark'] .lux-quick-amounts button{background:var(--u-surface)!important;color:var(--u-text)!important;border:1px solid var(--u-line)!important;border-radius:999px}
.lux-quick-amounts button:hover{background:var(--u-accent-bg)!important;border-color:var(--u-accent)!important}
.lux-report-choices label,body[data-theme='dark'] .lux-report-choices label{background:var(--u-surface)!important;border:1px solid var(--u-line)!important;color:var(--u-text)!important;border-radius:12px}
.lux-report-choices label:has(input:checked){background:var(--u-accent-bg)!important;border-color:var(--u-accent)!important;color:var(--u-accent-text)!important}
.lux-safety-hint,body[data-theme='dark'] .lux-safety-hint{background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important;border:1px solid var(--u-line-strong)!important;border-radius:14px}
.lux-safety-hint p,.lux-safety-hint small,body[data-theme='dark'] .lux-safety-hint p{color:var(--u-text)!important}
/* ----------------------------------------------------
   PURCHASE, SHIPPING, ORDER TRACKING, REFUNDS
   ---------------------------------------------------- */
.order-card,.conversation-card{gap:17px;padding:15px}
.order-card img,.conversation-card img{border-radius:13px;background:var(--u-surface)}
.order-body h3,.conversation-body h3{color:var(--u-heading);font-weight:740}
.order-body p,.conversation-body p{color:var(--u-subtle)}







.carrier-note,body[data-theme='dark'] .carrier-note{background:var(--u-accent-bg)!important;border:1px solid var(--u-line)!important;color:var(--u-accent-text)!important;border-radius:12px}
.bundle-item{border:1px solid var(--u-line)!important;border-radius:17px;background:var(--u-card)!important}
.bundle-item img{border-radius:11px}
.lux-commerce-dock,body[data-theme='dark'] .lux-commerce-dock{background:var(--u-glass)!important;border:1px solid var(--u-line-strong)!important;box-shadow:var(--u-float-shadow);border-radius:22px}
.lux-commerce-price strong{color:var(--u-heading)}
.lux-discovery-card,body[data-theme='dark'] .lux-discovery-card{background:var(--u-card)!important;border:1px solid var(--u-line)!important;border-radius:21px;box-shadow:var(--u-soft-shadow)}
.lux-mini-product{background:var(--u-surface);border-radius:13px}
.lux-mini-product strong{color:var(--u-heading)}
.lux-notice-row,body[data-theme='dark'] .lux-notice-row{background:var(--u-card)!important;border:1px solid var(--u-line)!important;color:var(--u-text)!important;border-radius:16px}
.lux-notice-icon{background:var(--u-accent-bg)!important;color:var(--u-accent-text)!important}
.lux-tab,body[data-theme='dark'] .lux-tab{background:var(--u-card)!important;border:1px solid var(--u-line)!important;color:var(--u-text)!important;border-radius:999px}
.lux-tab[aria-pressed='true'],.lux-tab.active,body[data-theme='dark'] .lux-tab.active{background:var(--u-contrast)!important;color:var(--u-contrast-text)!important;border-color:var(--u-contrast)!important}
.insights-chart{border-bottom:1px solid var(--u-line)}
.insights-day small{color:var(--u-subtle)}
.insights-bar{background:#C9A975;border:1px solid #A8895A;border-radius:7px 7px 0 0}
.insight-list a{border-bottom:1px solid var(--u-line)}
.insight-list a span:last-child{color:var(--u-accent-text)}
.security-session{border:1px solid var(--u-line);border-radius:14px;background:var(--u-card)}
.security-session small{color:var(--u-subtle)}
.security-current{color:var(--u-accent-text)}
/* ----------------------------------------------------
   FOOTER / STATES / RESPONSIVE UTILITY
   ---------------------------------------------------- */
.site-footer,body[data-theme='dark'] .site-footer{background:var(--u-surface)!important;border-top:1px solid var(--u-line)!important;padding:65px 0 25px}
.footer-grid{gap:clamp(25px,4vw,60px)}
.footer-grid b{font-size:12px;letter-spacing:.02em;color:var(--u-heading)}
.footer-grid p,.footer-grid a:not(.brand),body[data-theme='dark'] .footer-grid p,body[data-theme='dark'] .footer-grid a:not(.brand){font-size:12px;color:var(--u-subtle)!important}
.footer-brand{font-size:23px}.footer-brand .brand-mark{height:36px;width:36px}.footer-brand .brand-mark::after{height:18px;width:26px}.footer-brand .brand-wordmark{font-size:21px}
.footer-bottom,body[data-theme='dark'] .footer-bottom{border-top:1px solid var(--u-line)!important;color:var(--u-subtle)!important}
.toast{background:var(--u-heading);color:var(--u-card);border-radius:13px;box-shadow:var(--u-float-shadow)}
.lightbox{background:rgba(8,8,9,.90)}
.lightbox-stage{background:#17181B;border-color:#4B443B;border-radius:23px}
/* Hard guard: legacy forest/green hover/focus states on structural UI. */
.top-category-link:hover,.top-category-link:focus,.mega-side-item:hover,.mega-link:hover,.category-chip:hover,.nav-links a:hover,.notice-row:hover{accent-color:var(--u-accent)!important}
/* Dark-specific hero and product neutrals: dark theme is intentionally designed, not inverted imagery. */
body[data-theme='dark'] .hero{background:linear-gradient(118deg,#1C1C1F 0%,#272322 61%,#393026 100%)!important;border-color:#413930!important}
body[data-theme='dark'] .hero h1{color:#F6F1EA!important}
body[data-theme='dark'] .hero h1 em{color:#D5B484!important}
body[data-theme='dark'] .hero-desc{color:#C4B9AA!important}
body[data-theme='dark'] .hero::before{background:#94754F;opacity:.1}
body[data-theme='dark'] .hero-blob{background:#665137;opacity:.2}
body[data-theme='dark'] .hero-card-copy{background:rgba(30,30,32,.96)!important}
body[data-theme='dark'] .hero-card-copy strong{color:#F5F0E9!important}
body[data-theme='dark'] .hero-card-copy b{color:#E6C48F!important}
body[data-theme='dark'] .hero-card-copy span{color:#BBAFA1!important}
body[data-theme='dark'] .hero-live-badge{background:#C6A66B!important;color:#191714!important}
body[data-theme='dark'] .product-photo img,body[data-theme='dark'] .detail-photo img,body[data-theme='dark'] .hero-card img{filter:none!important}
body[data-theme='dark'] .profile-route-content .advanced-blank{background:var(--u-card)!important;border-color:var(--u-line-strong)!important;color:var(--u-subtle)!important}
/* Responsive design: desktop, laptop, tablet and mobile are explicitly different. */
@media(max-width:1500px){
  .container,.category-nav .nav-links{width:min(1350px,calc(100% - 72px))}
  .header-main{grid-template-columns:auto minmax(185px,1fr) auto;gap:19px}
  .header-actions{gap:9px}.header-icon{min-width:45px}
  .brand-wordmark{font-size:24px;letter-spacing:.17em;margin-right:-.17em}
  .header-search{max-width:480px}
  .category-nav .nav-links{gap:24px}
}
@media(max-width:1160px){
  .container,.category-nav .nav-links{width:calc(100% - 48px)}
  .header-actions{gap:9px}.header-icon span{font-size:9px}
  .header-main{padding-inline:15px;gap:12px}
  .brand-mark{width:42px;height:42px}.brand-wordmark{font-size:22px;letter-spacing:.14em;margin-right:-.14em}
  .header-icon{min-width:36px}.header-icon svg{width:21px;height:21px}
  .header-sell{min-width:105px;padding-inline:12px}
  .category-nav .nav-links{padding-inline:16px}
  #mega-menu.mega-menu{width:calc(100vw - 48px)}
  .listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .chat-layout:has(.chat-side-product){grid-template-columns:230px minmax(0,1fr)}
  .chat-side-product{display:none!important}
}
@media(max-width:980px){
  .site-header{padding-top:7px}
  .container,.category-nav .nav-links{width:calc(100% - 36px)}
  .header-main{grid-template-columns:auto minmax(0,1fr) auto;gap:14px;min-height:68px;padding:8px 14px}
  .brand-wordmark{font-size:22px;letter-spacing:.11em;margin-right:-.11em}
  .header-icon:not(.header-login){display:none}
  .header-login{display:grid}
  .header-sell{display:none}
  .category-nav{display:none!important}
  .hero-copy{padding:54px 0 58px 35px}
  .hero{min-height:350px}
  .category-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
  .profile-layout{grid-template-columns:1fr}
  .profile-sidebar{position:static}
  .detail-grid{grid-template-columns:1fr;gap:24px}
  .chat-layout:has(.chat-side-product){grid-template-columns:1fr}
}
@media(max-width:720px){
  html{scroll-padding-top:90px}
  body{padding-bottom:96px}
  .top-strip{display:none}
  .container{width:calc(100% - 30px)}
  .header-main{min-height:65px;border-radius:23px;grid-template-columns:auto minmax(0,1fr) auto;padding:9px 11px;gap:8px}
  .brand{gap:7px}.brand-wordmark{font-size:19px;letter-spacing:.11em;margin-right:-.11em}
  .brand-mark{width:34px;height:34px}.brand-mark::after{width:25px;height:16px}
  .header-search,#header-search{width:100%;min-width:0;max-width:none;min-height:41px;height:41px;padding:5px 11px;gap:7px}
  .header-search svg{width:16px;height:16px}
  .header-search input,#search-input{font-size:11px!important}
  .header-search .search-submit{display:none}
  .header-actions{margin-left:0}.header-icon,.header-login,.header-sell{display:none!important}
  .theme-toggle{width:39px;height:39px;min-width:39px;font-size:17px}
  .hero{min-height:315px;margin-top:17px;border-radius:23px}
  .hero-copy{width:70%;padding:38px 2px 35px 22px}
  .hero h1{font-size:clamp(32px,7.2vw,46px);letter-spacing:-.06em}
  .hero-desc{font-size:11px;line-height:1.5}
  .hero-visual{width:40%;right:-23px}
  .hero-card-one{width:138px;height:175px;left:-40px;top:23px}
  .hero-card-two{width:127px;height:167px;right:10px;top:90px}
  .hero-sticker{height:61px;width:61px;font-size:9px;left:12px;bottom:31px}
  .benefits{grid-template-columns:1fr;gap:6px;margin-bottom:8px;padding-block:13px}
  .benefit{padding:8px 12px;min-height:43px;border-radius:12px;font-size:11px}
  .benefit .benefit-icon{width:30px;height:30px}
  .section-head{margin:25px 0 13px}.section-head h2,.inner-head h1{font-size:26px}
  .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product{padding:6px 6px 11px;border-radius:17px}
  .product-photo{border-radius:12px}
  .product-info{padding:10px 5px 1px}.product-title{font-size:12px}
  .product-price{font-size:17px}.product-meta{font-size:10px}
  .category-tiles{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:8px;padding-bottom:5px}
  .category-tile{flex:0 0 102px;min-height:90px;padding:12px 7px;scroll-snap-align:start}
  .category-emoji{font-size:23px}
  .panel,.advanced-panel,.profile-dashboard-panel{padding:19px}
  .advanced-columns{grid-template-columns:1fr}
  .stat-grid,.profile-stat-grid{grid-template-columns:repeat(2,1fr)}
  .seller-hero{grid-template-columns:76px minmax(0,1fr);padding:22px}
  .chat-layout,.chat-layout:has(.chat-side-product){grid-template-columns:1fr;height:auto}
  .chat-list{display:flex;gap:8px;overflow-x:auto;max-height:none;padding:10px}
  .conversation-card{min-width:155px}
  .chat-main{min-height:430px;height:auto}
  .detail-grid{grid-template-columns:1fr}
  .profile-app-shell{padding-top:19px}
  .lux-filter-drawer{width:100%}
  .lux-filter-body{padding:18px}
  .lux-filter-header{padding:21px}
  .lux-filter-actions{padding:14px 18px}
  .lux-wizard-progress{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lux-wizard-step .form-grid,.lux-listing-preview{grid-template-columns:1fr}
  /* Legacy purchase controls also remain in the page flow. */
  .lux-commerce-dock{display:grid;gap:9px;position:static;padding:14px 15px;margin:22px 13px;border:1px solid var(--u-line-strong);border-radius:23px}
  .lux-commerce-price{grid-template-columns:auto 1fr;gap:12px;align-items:center}
  .lux-commerce-price strong{font-size:21px}
  .lux-commerce-dock .btn{min-height:45px}
}
/* One mobile dock, including the 721–760 px layout and phone safe areas. */
@media(max-width:760px){
  body{--mobile-dock-gap:calc(max(16px,env(safe-area-inset-bottom,0px)) - 10px)}
  .luxury-mobile-dock{
    --mobile-dock-left:max(13px,env(safe-area-inset-left,0px));--mobile-dock-right:max(13px,env(safe-area-inset-right,0px));
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;
    position:fixed;bottom:var(--mobile-dock-gap);left:var(--mobile-dock-left);right:var(--mobile-dock-right);z-index:75;isolation:isolate;
    padding:8px 10px;
    border:1px solid transparent;border-radius:999px;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
  }
  /* Paint the safe area below the pill without increasing the menu's height. */
  .luxury-mobile-dock::before{content:'';position:absolute;z-index:-2;pointer-events:none;top:50%;bottom:calc(-1 * var(--mobile-dock-gap) - 1px);left:calc(-1 * var(--mobile-dock-left) - 1px);right:calc(-1 * var(--mobile-dock-right) - 1px);background:var(--u-bg)}
  .luxury-mobile-dock::after{content:'';position:absolute;z-index:-1;pointer-events:none;inset:-1px;border:1px solid var(--u-line-strong);border-radius:inherit;background:var(--u-card);box-shadow:var(--u-float-shadow)}
  .luxury-mobile-dock a{color:var(--u-subtle)!important;display:grid;place-items:center;min-height:44px;min-width:0;gap:2px;padding:4px 0}
  .luxury-mobile-dock a.active{color:var(--u-accent-text)!important}
  .luxury-mobile-dock a span{font-size:21px;line-height:1.1}
  .luxury-mobile-dock a small{font-size:9px;line-height:1.35;color:inherit}
  .luxury-mobile-dock a.dock-sell span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--u-contrast);color:var(--u-contrast-text)}
  .luxury-mobile-dock a.dock-sell small{margin-top:-2px}
  body.lux-checkout .luxury-mobile-dock,body.lux-messages .luxury-mobile-dock{display:none}
  .site-footer{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:420px){
  .container{width:calc(100% - 24px)}
  .header-main{gap:6px;padding-inline:9px}
  .brand-wordmark{font-size:16px;letter-spacing:.09em;margin-right:-.09em}
  .brand-mark{width:30px;height:30px}.brand-mark::after{width:23px;height:16px}
  .header-search,#header-search{padding-left:8px}
  .theme-toggle{width:34px;height:34px;min-width:34px}
  .product-price{font-size:16px}
  .lux-filter-row{grid-template-columns:1fr}
  .lux-discovery-preview{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
/* Rebuild QA: neutralize inherited mobile hero positioning and center the mobile theme control. */
@media(max-width:720px){
  .header-main{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center}
  .header-main>.brand{grid-column:1;grid-row:1;justify-self:start}
  .header-main>.header-actions{grid-column:2;grid-row:1;justify-self:end;display:flex!important}
  .header-main>.header-search{grid-column:1/-1;grid-row:2;justify-self:stretch}
  .hero-visual{top:12px!important;bottom:0!important;right:-21px!important;height:auto!important;pointer-events:none}
  .hero-card-one{width:130px!important;height:170px!important;left:-12px!important;top:35px!important}
  .hero-card-two{width:129px!important;height:167px!important;right:5px!important;top:161px!important}
  .hero-sticker{left:-19px!important;bottom:16px!important}
}
#mega-menu .mega-side-icon{min-width:23px;width:23px;height:23px;filter:none!important;color:var(--u-accent-text)}
#mega-menu .mega-side-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65}


/* v3.1 — logomark and click-only categories; these rules intentionally load last. */
.brand-mark,.footer-brand .brand-mark{
  position:relative!important;display:block!important;isolation:isolate;overflow:hidden;
  flex-shrink:0;line-height:0!important;font-size:0!important;
}
.brand-mark::after,.footer-brand .brand-mark::after{
  position:absolute!important;inset:auto!important;
  left:50%!important;top:50%!important;
  transform:translate(-50%,-50%)!important;
  display:block!important;width:32px;height:22px;
  margin:0!important;pointer-events:none;
  background-position:50% 50%!important;background-size:contain!important;
}
.brand-zone{display:flex;align-items:center;gap:15px;white-space:nowrap;min-width:0}
.category-launch,body[data-theme='dark'] .category-launch{
  flex:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:41px;padding:0 13px;border-radius:999px;
  border:1px solid var(--u-line-strong);background:var(--u-card);
  color:var(--u-text);font-size:12px;font-weight:750;
  transition:background .16s,border-color .16s,color .16s;
}
.category-launch svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8}
.category-launch .category-launch-chevron{width:13px;height:13px;transition:transform .18s}
.category-launch:is(:hover,:focus-visible),.category-launch[aria-expanded='true']{
  background:var(--u-accent-bg)!important;border-color:var(--u-accent)!important;color:var(--u-heading)!important;
}
.category-launch[aria-expanded='true'] .category-launch-chevron{transform:rotate(180deg)}
.site-header{position:sticky!important;overflow:visible!important}
.category-nav[hidden]{display:none!important}
.category-nav.is-visible,body[data-theme='dark'] .category-nav.is-visible{
  display:block!important;position:absolute!important;top:calc(100% + 8px)!important;
  left:50%!important;transform:translateX(-50%);
  width:min(1490px,calc(100vw - 48px));isolation:isolate;
  border:1px solid var(--u-line)!important;border-radius:23px!important;
  background:var(--u-card)!important;box-shadow:var(--u-float-shadow)!important;
  z-index:200!important;
}
.category-nav.is-visible .nav-links{
  width:100%!important;height:59px!important;padding:0 22px!important;
  margin:0!important;scrollbar-width:none;
}
#mega-menu.mega-menu,body[data-theme='dark'] #mega-menu.mega-menu{
  top:calc(100% + 6px)!important;
  width:100%!important;left:50%!important;
  border-radius:20px!important;
}
.category-nav .top-category-link:hover::after,.category-nav .top-category-link:focus::after{display:none!important}
.category-nav .top-category-link.active::after{display:block!important}
@media(max-width:1160px){
  .brand-zone{gap:9px}
  .category-launch{padding:0 9px;gap:5px}
  .category-launch .category-launch-chevron{display:none}
}
@media(max-width:980px){
  .category-nav.is-visible,body[data-theme='dark'] .category-nav.is-visible{
    display:block!important;width:calc(100vw - 36px)!important;
    left:50%!important;top:calc(100% + 5px)!important;
  }
  .category-nav.is-visible .nav-links{display:none!important}
  .category-nav .mobile-category-toggle{display:none!important}
  .category-nav .mobile-category-panel:not([hidden]){
    display:block!important;position:static!important;max-height:min(70vh,550px)!important;
    overflow:auto;background:var(--u-card)!important;border:0!important;
    box-shadow:none!important;padding:10px 15px!important;border-radius:19px;
  }
  .category-launch span,.category-launch-chevron{display:none!important}
  .category-launch{min-width:38px;width:38px;height:38px;padding:0!important}
}
@media(max-width:720px){
  .brand-zone{gap:6px}
  .category-launch{width:33px;min-width:33px;height:35px}
  .category-launch svg{width:17px;height:17px}
}
@media(max-width:410px){
  .brand-wordmark{font-size:16px!important;letter-spacing:.085em!important;margin-right:-.085em!important}
  .brand-zone{gap:5px}
  .brand{gap:5px}
  .category-launch{width:29px;min-width:29px;height:32px}
}
@media(prefers-reduced-motion:reduce){
  .category-launch,.category-launch .category-launch-chevron{transition:none!important}
}

/* ===== v3.2: ONE INTEGRATED TWO-TIER HEADER; CLICK-ONLY MEGAMENU ===== */
.header-shell.container{
  position:relative;max-width:none;width:min(1600px,calc(100% - 54px));
  border:1px solid var(--u-line);border-radius:32px;
  background:var(--u-glass);box-shadow:var(--u-soft-shadow);
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);padding:0 18px;
}
.site-header,body[data-theme='dark'] .site-header{background:transparent!important;padding:8px 0 4px!important}
.header-shell .header-main{
  width:100%;padding:8px 12px;min-height:76px;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:transparent!important;
  grid-template-columns:auto minmax(220px,1fr) auto;gap:clamp(16px,2vw,28px);
}
.brand-zone{gap:0}
.brand-mark,.footer-brand .brand-mark{position:relative!important;display:block!important;flex-shrink:0!important}
.brand-mark::after,.footer-brand .brand-mark::after{
  position:absolute!important;content:'';left:50%!important;top:50%!important;
  transform:translate(-50%,-50%)!important;
  background:url('/infinity-mark.svg') center center/contain no-repeat!important;
  width:32px!important;height:22px!important;
  margin:0!important;
}
/* Restore visibility of categories from the first paint. Fixed height: no layout shift. */
.header-shell .category-nav,body[data-theme='dark'] .header-shell .category-nav{
  display:block!important;position:relative!important;left:auto!important;top:auto!important;
  transform:none!important;width:100%!important;margin:0!important;
  background:transparent!important;box-shadow:none!important;border:0!important;
  border-top:1px solid var(--u-line)!important;border-radius:0!important;isolation:auto!important;
}
.header-shell .category-nav .nav-links{
  display:flex!important;width:100%!important;height:51px!important;margin:0!important;
  align-items:center!important;justify-content:safe center!important;
  padding:0 9px!important;gap:clamp(12px,1.28vw,24px)!important;
  overflow-x:auto!important;overflow-y:hidden!important;
}
.header-shell .category-nav .nav-links a{font-size:11px;font-weight:730;flex-shrink:0}
.header-shell .category-nav .nav-links .top-category-link:hover::after,
.header-shell .category-nav .nav-links .top-category-link:focus::after{display:none!important}
.header-shell .category-nav .nav-links .top-category-link.active::after{display:block!important}
/* The overlay is anchored directly under the header; never changes its height. */
.header-shell #mega-menu.mega-menu,body[data-theme='dark'] .header-shell #mega-menu.mega-menu{
  position:absolute!important;top:calc(100% + 8px)!important;left:50%!important;
  right:auto!important;transform:translateX(-50%)!important;
  width:min(1340px,calc(100vw - 52px))!important;z-index:160!important;
  border:1px solid var(--u-line)!important;border-radius:24px!important;
  background:var(--u-card)!important;box-shadow:var(--u-float-shadow)!important;
}
/* no extra category button on desktop */
.header-shell .category-launch{display:none!important}
/* calm premium cards – fine champagne borders in BOTH themes */
.product,body[data-theme='dark'] .product{border:1px solid #D9C8AE!important}
body[data-theme='dark'] .product{border-color:#746043!important}
.product:hover{border-color:#B99B68!important;box-shadow:0 18px 43px rgba(74,51,20,.13)!important}
body[data-theme='dark'] .product:hover{border-color:#C6A66B!important;box-shadow:0 18px 43px rgba(0,0,0,.36)!important}
@media(max-width:1490px){
 .header-shell.container{width:calc(100% - 32px)}
 .header-shell .header-main{gap:14px}
 .header-shell .category-nav .nav-links{justify-content:safe center!important;gap:clamp(10px,1vw,15px)!important}
 .header-shell .category-nav .nav-links a{font-size:10.5px}
}
@media(max-width:1120px){
 .header-shell .header-main{grid-template-columns:auto minmax(160px,1fr) auto;gap:12px;padding:8px 4px}
 .header-shell .category-nav .nav-links{justify-content:safe center!important}
 .header-icon{min-width:34px!important}.header-actions{gap:6px!important}
}
@media(max-width:980px){
 .header-shell.container{width:calc(100% - 24px);padding:0 12px;border-radius:25px}
 .header-shell .header-main{grid-template-columns:auto minmax(0,1fr) auto;min-height:60px}
 .header-shell .category-launch{display:inline-flex!important;min-width:38px;height:38px}
 .header-shell .category-nav,body[data-theme='dark'] .header-shell .category-nav{display:none!important;border:0!important}
 .header-shell .category-nav.mobile-open,body[data-theme='dark'] .header-shell .category-nav.mobile-open{
  display:block!important;position:absolute!important;top:calc(100% + 7px)!important;
  left:0!important;width:100%!important;padding:0 6px!important;
  border-radius:21px!important;background:var(--u-card)!important;
  border:1px solid var(--u-line)!important;box-shadow:var(--u-float-shadow)!important;
 }
 .header-shell .category-nav .nav-links{display:none!important}
 .header-shell #mega-menu{display:none!important}
 .header-shell .category-nav .mobile-category-panel:not([hidden]){display:block!important;position:static!important;max-height:70vh;overflow:auto;background:var(--u-card)!important;border-radius:19px;padding:12px}
}
@media(max-width:600px){
 .header-shell.container{width:calc(100% - 16px);padding:0 7px}
 .header-shell .header-main{gap:7px;min-height:58px}
 .brand-mark{width:33px!important;height:33px!important}
 .brand-mark::after{width:25px!important;height:17px!important}
 .brand-wordmark{font-size:18px!important;letter-spacing:.13em!important;margin-right:-.13em!important}
 .header-shell .category-launch{width:33px;min-width:33px;height:34px}
}
