:root{
  --bg:#f4f6f9;
  --surface:#fff;
  --surface2:#f8fafc;
  --text:#111827;
  --muted:#667085;
  --line:#e7ebf0;
  --navy:#083b66;
  --blue:#0d75b8;
  --cyan:#17a7d5;
  --red:#d92d20;
  --red2:#a81414;
  --red-soft:#fff1f0;
  --green:#159447;
  --gold:#f59e0b;
  --purple:#6d28d9;
  --shadow:0 16px 46px rgba(15,23,42,.10);
  --shadow2:0 7px 24px rgba(15,23,42,.07);
  --radius:16px;
  --max:1500px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{cursor:pointer}
img{max-width:100%}

.topbar{
  min-height:40px;display:flex;align-items:center;justify-content:center;
  gap:11px;padding:7px 16px;color:#fff;text-align:center;font-size:13px;font-weight:800;
  background:linear-gradient(90deg,#0d7d3e,#12a149 48%,#6abb4d);
}
.topbar .pill{
  padding:4px 8px;border-radius:999px;background:#fff;color:#168a45;
  font-size:11px;font-weight:950
}

.header{
  position:sticky;top:0;z-index:100;background:#fff;
  box-shadow:0 1px 0 rgba(15,23,42,.06);
}
.header-main{
  max-width:var(--max);margin:auto;padding:12px 18px;
  display:grid;grid-template-columns:150px minmax(380px,1fr) auto;gap:18px;align-items:center
}
.logo{display:flex;align-items:center;gap:10px}
.logo-mark{
  width:44px;height:44px;border-radius:13px;display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,#063863,#148ed0 65%,#5ec7eb);
  font-weight:950;letter-spacing:-.03em;box-shadow:0 8px 20px rgba(13,117,184,.22)
}
.logo-word{font-size:32px;font-weight:950;color:var(--navy);letter-spacing:-.055em}
.logo-word small{display:block;font-size:9px;letter-spacing:.16em;color:#8a98a8;margin-left:2px;text-transform:uppercase}

.search-wrap{position:relative}
.search-box{
  height:50px;display:flex;align-items:center;border:2px solid #8fc8e5;border-radius:999px;
  overflow:hidden;background:#fff;transition:.18s
}
.search-box:focus-within{border-color:#0f8cc8;box-shadow:0 0 0 4px rgba(15,140,200,.11)}
.search-box input{flex:1;height:100%;border:0;outline:0;padding:0 20px;font-size:15px;min-width:0}
.search-scope{
  display:flex;align-items:center;gap:5px;height:34px;padding:0 11px;border-left:1px solid var(--line);
  color:#667085;font-size:12px;font-weight:800;white-space:nowrap
}
.search-btn{width:54px;height:100%;border:0;background:transparent;color:var(--blue);font-size:21px}
.search-pop{
  position:absolute;top:58px;left:0;right:0;display:none;background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);overflow:hidden
}
.search-pop.open{display:block}
.search-pop-head{padding:12px 15px 8px;font-size:10px;text-transform:uppercase;letter-spacing:.10em;color:#98a2b3;font-weight:900}
.search-row{
  display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:10px 15px;
  border-top:1px solid #f2f4f7
}
.search-row:hover{background:#f8fbfe}
.search-ico{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#edf7fc;color:#0f75a8}
.search-row b{font-size:13px}.search-row small{font-size:11px;color:#98a2b3}

.actions{display:flex;gap:3px;align-items:center}
.action{
  position:relative;display:flex;align-items:center;gap:8px;min-height:44px;padding:7px 10px;border-radius:10px;
  font-size:13px;color:#253346;white-space:nowrap
}
.action:hover{background:#f4f8fb}
.action-ico{
  width:30px;height:30px;border:1.5px solid #54abd0;border-radius:50%;display:grid;place-items:center;color:#2085b3
}
.badge{
  position:absolute;left:29px;top:1px;min-width:18px;height:18px;padding:0 4px;border-radius:50px;
  display:grid;place-items:center;background:#d92d20;color:#fff;border:2px solid #fff;font-size:9px;font-weight:900
}

.mainnav{
  background:linear-gradient(90deg,#da2148 0%,#7650b7 45%,#1482c8 100%);color:#fff
}
.mainnav-inner{
  max-width:var(--max);margin:auto;min-height:48px;padding:0 18px;display:flex;align-items:stretch;gap:2px
}
.nav-btn,.nav-item{
  position:relative;border:0;background:transparent;color:#fff;padding:0 16px;display:flex;align-items:center;gap:8px;
  font-size:13px;font-weight:850;white-space:nowrap
}
.nav-btn{min-width:240px;background:#fff;color:#263446;margin-top:4px;border-radius:10px 10px 0 0}
.nav-btn:hover{background:#fff}
.nav-item:hover{background:rgba(255,255,255,.11)}
.nav-item.sale:after{
  content:"";position:absolute;left:15px;right:15px;bottom:7px;height:2px;background:#fff;border-radius:99px;opacity:.8
}
.nav-item.occasion{
  margin:6px 3px;min-height:36px;border-radius:9px;
  background:linear-gradient(180deg,#ef4444,#b91c1c);
  box-shadow:0 0 0 2px rgba(255,255,255,.18) inset,0 5px 12px rgba(121,17,17,.25);
  font-weight:950;letter-spacing:.04em
}
.nav-item.occasion:after{
  content:"";position:absolute;left:10px;right:10px;bottom:3px;height:4px;border-radius:99px;background:#fecaca
}
.nav-spacer{flex:1}
.nav-seller{margin:6px 0;border-radius:9px;background:rgba(53,30,86,.30)}

.page{max-width:var(--max);margin:auto;padding:0 18px 55px}
.hero-wrap{
  display:grid;grid-template-columns:255px minmax(0,1fr);
  min-height:550px;background:#fff;box-shadow:var(--shadow2)
}
.catbar{position:relative;border-right:1px solid var(--line);background:#fff;z-index:40}
.catlist{padding:8px 0}
.cat{
  display:flex;align-items:center;gap:10px;min-height:41px;padding:7px 13px;font-size:13px;color:#2f3a49
}
.cat:hover,.cat.active{background:#f0f8fc;color:#0b6e9f}
.cat-icon{
  width:24px;height:24px;flex:0 0 24px;border:1px solid #d9e3ea;border-radius:7px;background:#fff;display:grid;place-items:center;font-size:13px
}
.cat-arrow{margin-left:auto;color:#a5afbb}
.mega{
  position:absolute;left:100%;top:0;z-index:60;width:min(950px,calc(100vw - 340px));min-height:100%;
  display:none;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:22px 24px
}
.mega.open{display:block}
.mega-top{display:flex;justify-content:space-between;gap:20px;align-items:end;padding-bottom:14px;border-bottom:1px solid var(--line)}
.mega-top h3{margin:0;font-size:22px}
.mega-top a{font-size:12px;color:var(--blue);font-weight:900}
.mega-body{display:grid;grid-template-columns:1fr 1fr 1fr 220px;gap:24px;padding-top:18px}
.mega-col h4{margin:0 0 9px;font-size:13px}
.mega-col a{display:block;padding:5px 0;color:#667085;font-size:12px}
.mega-col a:hover{color:var(--blue)}
.mega-promo{
  min-height:230px;padding:18px;border-radius:14px;color:#fff;
  background:linear-gradient(145deg,#0f4c81,#0ea5d2);display:flex;flex-direction:column;justify-content:flex-end
}
.mega-promo .mini{font-size:10px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;opacity:.8}
.mega-promo b{font-size:20px;line-height:1.15;margin:6px 0 8px}
.mega-promo span{font-size:12px;opacity:.85}

.hero{
  position:relative;overflow:hidden;color:#fff;min-width:0;
  background:
    radial-gradient(circle at 82% 24%,rgba(255,255,255,.22),transparent 20%),
    radial-gradient(circle at 74% 80%,rgba(255,255,255,.14),transparent 27%),
    linear-gradient(125deg,#053563 0%,#0876ba 47%,#20b3e3 100%)
}
.hero:before{
  content:"";position:absolute;right:-80px;top:20px;width:540px;height:540px;border-radius:50%;
  border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 48px rgba(255,255,255,.05),0 0 0 105px rgba(255,255,255,.03)
}
.hero-copy{position:relative;z-index:2;max-width:680px;padding:72px 56px}
.hero-kicker{
  display:inline-flex;padding:7px 12px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.11);
  border-radius:999px;font-size:11px;font-weight:950;letter-spacing:.11em;text-transform:uppercase
}
.hero h1{font-size:56px;line-height:1.02;letter-spacing:-.045em;margin:20px 0 12px}
.hero p{font-size:18px;line-height:1.55;color:rgba(255,255,255,.87);margin:0;max-width:600px}
.hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:28px}
.btn{
  border:0;border-radius:999px;padding:13px 19px;font-weight:900;background:#fff;color:#075a8d
}
.btn.ghost{color:#fff;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.30)}
.hero-panels{position:absolute;z-index:3;right:38px;bottom:34px;display:flex;gap:12px;align-items:flex-end}
.hero-card{
  width:118px;padding:12px;border-radius:16px;background:#fff;color:#0f172a;box-shadow:0 18px 38px rgba(4,45,81,.28);transform:rotate(-2deg)
}
.hero-card:nth-child(2){transform:translateY(-24px) rotate(2deg)}
.hero-card:nth-child(3){transform:rotate(3deg)}
.hero-card-img{height:88px;border-radius:12px;background:linear-gradient(145deg,#e9eef4,#fff);display:grid;place-items:center;font-size:43px;margin-bottom:8px}
.hero-card b{font-size:12px}.hero-card small{display:block;color:#7b8794;font-size:10px;margin-top:2px}
.dots{position:absolute;z-index:4;left:55px;bottom:23px;display:flex;gap:7px}
.dot{width:9px;height:9px;border:0;padding:0;border-radius:50%;background:rgba(255,255,255,.55)}
.dot.active{width:28px;border-radius:99px;background:#fff}

.trustbar{
  display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border:1px solid var(--line);border-top:0;
  border-radius:0 0 14px 14px;overflow:hidden
}
.trust{
  display:flex;align-items:center;gap:11px;padding:15px 18px;border-right:1px solid var(--line)
}
.trust:last-child{border-right:0}
.trust-ico{width:38px;height:38px;border-radius:11px;background:#eef8fc;color:#0876aa;display:grid;place-items:center;font-size:18px}
.trust b{display:block;font-size:12px}.trust small{display:block;color:#8a95a4;font-size:10px;margin-top:2px}

.section{padding-top:30px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:14px}
.section-head h2{margin:0;font-size:26px;letter-spacing:-.03em}
.section-head p{margin:4px 0 0;color:#758195;font-size:12px}
.viewall{font-size:12px;font-weight:900;color:#0b6fa4}

.cat-cards{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.cat-card{
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 10px;text-align:center;box-shadow:0 3px 13px rgba(15,23,42,.04)
}
.cat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow2)}
.cat-card .visual{
  width:66px;height:66px;margin:0 auto 9px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(145deg,#eef5fa,#fff);font-size:31px
}
.cat-card b{font-size:12px;display:block}

.products{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.product{
  position:relative;background:#fff;border:1px solid #e9edf2;border-radius:14px;padding:13px;box-shadow:0 4px 14px rgba(15,23,42,.04)
}
.product:hover{transform:translateY(-2px);box-shadow:var(--shadow2)}
.product-img{
  height:165px;background:linear-gradient(145deg,#f7f9fb,#edf1f5);border-radius:12px;display:grid;place-items:center;font-size:62px;margin-bottom:11px
}
.product h3{font-size:13px;line-height:1.42;min-height:39px;margin:0 0 7px}
.rating{font-size:11px;color:#f59e0b}.rating span{color:#98a2b3}
.price{font-size:20px;font-weight:950;margin-top:8px}
.old{font-size:10px;color:#98a2b3;text-decoration:line-through;margin-left:4px}
.tag{position:absolute;left:14px;top:14px;padding:5px 7px;border-radius:6px;background:#6d28d9;color:#fff;font-size:9px;font-weight:950}
.fav{position:absolute;right:15px;top:15px;width:29px;height:29px;border-radius:50%;border:1px solid #dde3ea;background:rgba(255,255,255,.9)}

.brands{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}
.brand{
  min-height:74px;background:#fff;border:1px solid var(--line);border-radius:13px;display:grid;place-items:center;padding:10px;
  font-size:14px;font-weight:950;color:#475467;letter-spacing:.02em
}
.brand:hover{border-color:#9ccce2;color:#0e6f9e;box-shadow:var(--shadow2)}

.occasion{
  display:grid;grid-template-columns:1.05fr 1.95fr;gap:18px;border-radius:18px;padding:20px;
  background:linear-gradient(135deg,#fff4f2,#fff 48%,#fff7f7);border:1px solid #f7c5c0
}
.occasion-intro{
  border-radius:16px;padding:28px;color:#fff;min-height:310px;display:flex;flex-direction:column;justify-content:flex-end;
  background:
    radial-gradient(circle at 80% 15%,rgba(255,255,255,.15),transparent 22%),
    linear-gradient(145deg,#b91c1c,#e3342f)
}
.occasion-badge{display:inline-flex;align-self:flex-start;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.15);font-size:10px;font-weight:950;letter-spacing:.13em}
.occasion-intro h2{font-size:34px;margin:13px 0 8px;line-height:1.05}
.occasion-intro p{margin:0;color:rgba(255,255,255,.86);font-size:13px;line-height:1.55}
.occasion-actions{display:flex;gap:9px;margin-top:19px;flex-wrap:wrap}
.occasion .btn{color:#b91c1c}.occasion .btn.ghost{color:#fff}
.occasion-products{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

.content-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.editorial{
  min-height:290px;border-radius:17px;padding:30px;background:#0b3659;color:#fff;display:flex;flex-direction:column;justify-content:flex-end
}
.editorial small{font-size:10px;font-weight:950;letter-spacing:.12em;text-transform:uppercase;opacity:.75}
.editorial h3{font-size:31px;margin:8px 0 8px;line-height:1.08}
.editorial p{font-size:13px;line-height:1.55;color:rgba(255,255,255,.82);max-width:640px}
.mini-stack{display:grid;gap:12px}
.mini-content{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}
.mini-content b{display:block;font-size:15px;margin-bottom:6px}
.mini-content span{font-size:12px;color:#758195;line-height:1.55}

.seller-cta{
  display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;margin-top:30px;padding:28px 30px;border-radius:18px;
  background:linear-gradient(100deg,#102a43,#0d5d86);color:#fff
}
.seller-cta h3{font-size:28px;margin:0 0 7px}
.seller-cta p{margin:0;color:rgba(255,255,255,.78);font-size:13px}
.seller-cta .btn{min-width:175px}

.footer{
  margin-top:35px;background:#0f172a;color:#cbd5e1
}
.footer-inner{max-width:var(--max);margin:auto;padding:36px 18px;display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:28px}
.footer h4{margin:0 0 12px;color:#fff;font-size:13px}
.footer a{display:block;padding:4px 0;font-size:12px;color:#aeb9c7}
.footer p{font-size:12px;line-height:1.6;color:#aeb9c7}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:14px 18px;text-align:center;font-size:11px;color:#7f8c9b}

.mobile-drawer-bg{position:fixed;inset:0;z-index:200;display:none;background:rgba(15,23,42,.55)}
.mobile-drawer-bg.open{display:block}
.mobile-drawer{width:min(370px,89vw);height:100%;overflow:auto;background:#fff}
.mobile-drawer-head{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--line);padding:16px;display:flex;justify-content:space-between;align-items:center}
.mobile-drawer-head button{border:0;background:#f2f4f7;border-radius:8px;width:34px;height:34px}

.cms-map{
  margin-top:24px;padding:14px 16px;border:1px dashed #9bcbe0;border-radius:12px;background:#f2fbff;color:#3b5c6f;
  font-size:11px;line-height:1.6
}
.cms-map code{font-weight:900;color:#0a5e88}

@media(max-width:1220px){
  .header-main{grid-template-columns:125px minmax(300px,1fr) auto}
  .action .label{display:none}
  .nav-btn{min-width:200px}
  .hero-wrap{grid-template-columns:225px minmax(0,1fr)}
  .hero-panels{right:20px}
  .hero-card:nth-child(3){display:none}
  .cat-cards{grid-template-columns:repeat(4,1fr)}
  .products{grid-template-columns:repeat(4,1fr)}
  .brands{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:930px){
  .header-main{grid-template-columns:1fr auto;gap:10px}
  .search-wrap{grid-column:1/-1;grid-row:2}
  .mainnav-inner{overflow:auto;padding:0 10px}
  .nav-btn{min-width:auto;margin:6px 2px;border-radius:9px}
  .hero-wrap{grid-template-columns:1fr}
  .catbar{display:none}
  .hero{min-height:500px}
  .hero-copy{max-width:68%;padding:58px 30px}
  .hero h1{font-size:44px}
  .trustbar{grid-template-columns:repeat(2,1fr)}
  .occasion{grid-template-columns:1fr}
  .content-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
  .page{padding-left:10px;padding-right:10px}
  .topbar{font-size:11px}
  .logo-word{font-size:27px}.logo-word small{display:none}
  .header-main{padding:10px}
  .actions .action:not(:last-child){display:none}
  .search-scope{display:none}
  .hero{min-height:585px}
  .hero-copy{max-width:none;padding:42px 22px}
  .hero h1{font-size:38px}
  .hero p{font-size:15px}
  .hero-panels{left:20px;right:auto;bottom:48px}
  .hero-card{width:98px}
  .hero-card-img{height:68px;font-size:34px}
  .dots{left:auto;right:20px;bottom:18px}
  .trustbar{grid-template-columns:1fr}
  .trust{border-right:0;border-bottom:1px solid var(--line)}
  .cat-cards{grid-template-columns:repeat(2,1fr)}
  .products{grid-template-columns:repeat(2,1fr);gap:10px}
  .product-img{height:135px;font-size:50px}
  .brands{grid-template-columns:repeat(2,1fr)}
  .occasion-products{grid-template-columns:1fr 1fr}
  .seller-cta{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
}

/* v0.2 live API states */
.api-status{
  position:fixed;right:14px;bottom:14px;z-index:300;
  display:none;max-width:320px;padding:10px 12px;border-radius:10px;
  background:#fff;color:#475467;border:1px solid #e5e7eb;
  box-shadow:0 8px 24px rgba(15,23,42,.12);font-size:11px
}
.api-status.show{display:block}
.api-status.error{border-color:#fecaca;background:#fff7f7;color:#991b1b}
.loading-line{
  margin:14px;color:#98a2b3;font-size:12px
}
.brand img{max-width:110px;max-height:44px;object-fit:contain}
.product-img img{width:100%;height:100%;object-fit:contain;padding:8px}
.product-meta{font-size:10px;color:#7c8797;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-seller{font-size:10px;color:#667085;margin-top:6px}

/* v0.3 deeper mega menu + secondary pages */
.mega-body-dynamic{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px}
.mega-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-content:start}
.mega-col h4 a{color:#111827}
.mega-link{display:block;padding:4px 0;color:#667085;font-size:12px;line-height:1.35}
.mega-link.depth-1{padding-left:10px;color:#7b8794}
.mega-link.depth-2{padding-left:20px;color:#8a95a4;font-size:11px}
.mega-link.depth-3{padding-left:30px;color:#98a2b3;font-size:11px}
.mega-link:hover{color:var(--blue)}
.mega-indent{display:inline-block;margin-right:4px;color:#c2c9d1}
.cat a{flex:1;min-width:0}
.btn{display:inline-flex;align-items:center;justify-content:center}

.secondary-page{max-width:var(--max);margin:0 auto;padding:24px 18px 58px}
.breadcrumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#7a8795;font-size:12px;margin:2px 0 16px}
.breadcrumbs a{color:#4d6475}.breadcrumbs span.sep{color:#c1c7ce}
.page-hero{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px 28px;box-shadow:0 4px 16px rgba(15,23,42,.04);margin-bottom:18px}
.page-hero h1{margin:0;font-size:34px;letter-spacing:-.035em}.page-hero p{margin:8px 0 0;color:#667085;line-height:1.6;max-width:900px}
.subcategory-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:11px;margin-bottom:24px}
.subcategory-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;min-height:72px;display:flex;align-items:center;gap:10px;font-weight:800;font-size:12px}
.subcategory-card:hover{border-color:#9ccce2;box-shadow:var(--shadow2);color:#0d75b8}
.subcategory-card .subico{width:34px;height:34px;border-radius:9px;background:#eef7fb;display:grid;place-items:center;color:#0d75b8;flex:0 0 auto}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px 14px;margin-bottom:14px}
.catalog-toolbar .count{font-size:12px;color:#667085}.catalog-toolbar select{border:1px solid var(--line);border-radius:9px;padding:9px 11px;background:#fff;color:#334155}
.catalog-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.pagination{display:flex;justify-content:center;gap:6px;margin-top:24px;flex-wrap:wrap}
.pagination button,.pagination a{min-width:38px;height:38px;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;place-items:center;font-size:12px;font-weight:800}
.pagination .active{background:var(--navy);color:#fff;border-color:var(--navy)}
.empty-state{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px;text-align:center;color:#667085}
.empty-state h3{margin:0 0 7px;color:#111827}
.brand-page-head{display:flex;align-items:center;gap:18px}.brand-page-logo{width:120px;height:78px;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;place-items:center;padding:10px}.brand-page-logo img{max-width:100%;max-height:100%;object-fit:contain}
.brand-directory{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.brand-directory .brand{min-height:92px}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start}
.content-article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;box-shadow:0 4px 16px rgba(15,23,42,.04)}
.content-article h1{font-size:36px;margin:0 0 14px;letter-spacing:-.04em}.content-article h2{font-size:25px;margin:30px 0 10px}.content-article h3{font-size:18px;margin:24px 0 8px}.content-article p,.content-article li{color:#4e5d6c;line-height:1.72;font-size:14px}.content-article ul,.content-article ol{padding-left:22px}.content-article a{color:#0d75b8;font-weight:750}.content-cta{display:inline-flex;padding:11px 15px;border-radius:9px;background:#0d75b8;color:#fff!important}
.content-side{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;position:sticky;top:120px}.content-side h4{margin:0 0 9px}.content-side a{display:block;padding:7px 0;color:#667085;font-size:12px}.content-side a:hover{color:#0d75b8}
.notice-box{margin:18px 0;padding:13px 15px;border-radius:10px;background:#fff8e8;border:1px solid #f6d893;color:#795b18;font-size:12px;line-height:1.55}
.legal-company{margin:14px 0;padding:14px 16px;border-radius:10px;background:#f6f8fa;color:#334155;line-height:1.6}
.article-list{display:grid;gap:11px}.article-list a{display:block;border:1px solid var(--line);border-radius:12px;padding:16px}.article-list strong{display:block;color:#111827;margin-bottom:5px}.article-list span{color:#667085;font-size:12px}
.occasion-page-banner{background:linear-gradient(135deg,#a91414,#e23c32);color:#fff;border-radius:18px;padding:32px;margin-bottom:20px}.occasion-page-banner h1{font-size:38px;margin:0 0 8px}.occasion-page-banner p{max-width:760px;color:rgba(255,255,255,.86);line-height:1.6}.occasion-page-banner .btn{margin-top:12px;color:#b91c1c}
.search-sections{display:grid;gap:20px}.search-mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.search-mini{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;font-weight:800;font-size:12px}.search-mini small{display:block;color:#98a2b3;margin-top:4px;font-weight:600}

@media(max-width:1180px){.catalog-grid{grid-template-columns:repeat(4,1fr)}.subcategory-grid{grid-template-columns:repeat(4,1fr)}.brand-directory{grid-template-columns:repeat(4,1fr)}.mega-columns{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(3,1fr)}.subcategory-grid{grid-template-columns:repeat(3,1fr)}.content-layout{grid-template-columns:1fr}.content-side{position:static}.search-mini-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.secondary-page{padding:16px 10px 42px}.page-hero{padding:20px}.page-hero h1,.content-article h1{font-size:29px}.catalog-grid{grid-template-columns:repeat(2,1fr);gap:10px}.subcategory-grid{grid-template-columns:repeat(2,1fr)}.brand-directory{grid-template-columns:repeat(2,1fr)}.content-article{padding:21px}.search-mini-grid{grid-template-columns:1fr}}
.mega{max-height:72vh;overflow:auto}

/* Storefront v0.4 — product detail */
.product-link{display:block;color:inherit}
.product-page{padding-top:18px}
.product-detail-shell{margin-top:12px}
.product-detail-grid{display:grid;grid-template-columns:minmax(320px,1.05fr) minmax(300px,1fr) 350px;gap:24px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow2)}
.product-gallery{display:grid;grid-template-columns:74px minmax(0,1fr);gap:12px}
.product-thumbs{display:flex;flex-direction:column;gap:9px}
.product-thumb{width:72px;height:72px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:5px;overflow:hidden}
.product-thumb.active{border-color:#0d75b8;box-shadow:0 0 0 2px rgba(13,117,184,.10)}
.product-thumb img{width:100%;height:100%;object-fit:contain}
.product-main-image{min-height:460px;border-radius:16px;background:#f8fafc;border:1px solid #eef1f5;display:grid;place-items:center;overflow:hidden}
.product-main-image img{width:100%;height:460px;object-fit:contain;padding:16px}
.product-main-placeholder{font-size:90px;color:#c5ced8}
.product-core{padding:5px 0}
.product-kicker{font-size:11px;font-weight:950;letter-spacing:.11em;text-transform:uppercase;color:#0d75b8}
.product-core h1{font-size:32px;line-height:1.12;letter-spacing:-.035em;margin:10px 0 12px}
.product-lead{font-size:14px;line-height:1.6;color:#667085}
.product-ref{font-size:11px;color:#98a2b3;margin-top:12px}
.buy-card{position:sticky;top:145px;background:#fff;border:1px solid #dfe5eb;border-radius:16px;padding:20px;box-shadow:0 10px 30px rgba(15,23,42,.08)}
.buy-price{font-size:31px;font-weight:950;letter-spacing:-.03em}.buy-price span{font-size:13px;font-weight:700;color:#98a2b3;text-decoration:line-through;margin-left:7px}
.buy-stock{margin:12px 0;color:#15803d;font-size:13px;font-weight:850}
.occasion-inline{display:inline-flex;margin-top:9px;padding:6px 9px;border-radius:999px;background:#fff1f0;color:#b42318;font-size:10px;font-weight:950;letter-spacing:.05em}
.seller-summary{display:grid;gap:4px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:12px 0}.seller-summary small{color:#98a2b3}.seller-summary strong{font-size:14px}.seller-summary span{font-size:11px;color:#667085}
.buy-primary,.buy-secondary{width:100%;height:46px;border-radius:11px;font-weight:900}.buy-primary{border:0;background:linear-gradient(90deg,#0d75b8,#1597c9);color:#fff}.buy-secondary{margin-top:9px;border:1px solid #cbd5df;background:#fff;color:#344054}
.more-offers{margin-top:15px;font-size:11px}.more-offers>b{display:block;margin-bottom:7px}.more-offers div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #f0f2f5}.more-offers span{color:#667085}
.variant-block{margin-top:20px}.variant-block h3,.occasion-facts h3{font-size:14px;margin:0 0 10px}.variant-list{display:flex;gap:8px;flex-wrap:wrap}.variant-chip{border:1px solid #d7dee6;border-radius:9px;background:#fff;padding:8px 11px;font-size:12px}.variant-chip.active{border-color:#0d75b8;background:#eef8fc;color:#0b6e9f}
.occasion-facts{margin-top:20px;padding:15px;border:1px solid #f5c7c2;background:#fff8f7;border-radius:12px}.occasion-facts>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:12px}.occasion-facts>div span{color:#667085}.occasion-facts p{font-size:12px;line-height:1.55;margin:10px 0 0}.occasion-facts .defect{color:#991b1b}
.product-info-section{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.product-info-section h2{font-size:22px;margin:0 0 16px}.product-description{font-size:14px;line-height:1.75;color:#475467}
.attribute-table{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.attribute-table>div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid #eef1f4;font-size:12px}.attribute-table span{color:#667085}.swatch{display:inline-block;width:14px;height:14px;border-radius:50%;border:1px solid #d0d5dd;vertical-align:-2px;margin-right:6px}
.seller-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.seller-info-grid>div{padding:14px;border-radius:12px;background:#f8fafc}.seller-info-grid span{display:block;font-size:10px;color:#98a2b3;margin-bottom:4px}.seller-info-grid strong{font-size:12px}
.search-all{background:#f8fbfe}
@media(max-width:1150px){.product-detail-grid{grid-template-columns:1fr 1fr}.product-detail-grid>aside{grid-column:1/-1}.buy-card{position:static}.seller-info-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.product-detail-grid{grid-template-columns:1fr;padding:13px}.product-gallery{grid-template-columns:1fr}.product-thumbs{order:2;flex-direction:row;overflow:auto}.product-main-image,.product-main-image img{height:340px;min-height:340px}.product-core h1{font-size:26px}.attribute-table{grid-template-columns:1fr}.seller-info-grid{grid-template-columns:1fr}.product-detail-grid>aside{grid-column:auto}}


/* Storefront v0.4.3 — Occasion & category discovery UX */
.catalog-grid{
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  align-items:start;
}
.product-card-v2{overflow:hidden;padding:0}
.product-card-v2 .product-link{display:block}
.product-card-v2 .product-card-body{padding:12px 13px 14px}
.product-card-v2 .product-img,
.catalog-grid .product-img{
  height:220px;
  margin:0;
  border-radius:14px 14px 0 0;
  background:linear-gradient(145deg,#f8fafc,#eef2f6);
  display:grid;
  place-items:center;
  overflow:hidden;
  font-size:0 !important;
}
.product-card-v2 .product-img img,
.catalog-grid .product-img img,
img.catalog-product-image{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
  padding:13px;
  font-size:0 !important;
  color:transparent;
}
.product-card-v2 h3{
  margin:0 0 7px;
  min-height:42px;
  font-size:14px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-card-v2 .product-meta{
  min-height:17px;
  font-size:10px;
  color:#7b8794;
}
.product-card-v2 .price{font-size:20px;margin-top:7px}
.product-card-v2 .product-seller{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-image-placeholder{
  min-height:100%;
  width:100%;
  padding:16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#98a2b3;
  background:linear-gradient(145deg,#f8fafc,#eef2f6);
}
.product-image-placeholder span{font-size:48px;line-height:1}
.product-image-placeholder small{font-size:11px;font-weight:700}
.product-img.image-missing{font-size:0!important}

.occasion-page-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:28px 30px;
}
.occasion-page-banner h1{font-size:36px}
.occasion-page-banner .btn{flex:0 0 auto}
.occasion-hero-kicker{
  display:inline-flex;
  margin-bottom:6px;
  font-size:10px;
  font-weight:950;
  letter-spacing:.14em;
  opacity:.8;
}

.market-filter-panel{
  margin:0 0 20px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 4px 16px rgba(15,23,42,.04);
}
.market-filter-panel.compact{margin-top:0}
.filter-search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px;
  border:1px solid #d8e1e8;
  border-radius:12px;
  overflow:hidden;
}
.filter-search-box{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 15px;
}
.filter-search-box span{font-size:21px;color:#0f506c}
.filter-search-box input{
  width:100%;
  border:0;
  outline:0;
  font-size:14px;
  color:#1f2937;
  background:transparent;
}
.filter-search-button{
  border:0;
  background:#083c45;
  color:#fff;
  font-weight:900;
}
.filter-quick-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 1px 4px;
}
.filter-check,.filter-inline-check{
  display:flex!important;
  align-items:center;
  flex-direction:row!important;
  gap:8px;
  color:#667085;
  font-size:12px;
  font-weight:700;
}
.filter-check input,.filter-inline-check input{width:18px;height:18px}
.saved-search,.clear-filters{
  color:#0f5362;
  font-size:12px;
  font-weight:800;
}
.filter-title-row{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  padding:18px 0 12px;
}
.filter-title-row h2{
  margin:3px 0 0;
  font-size:21px;
  letter-spacing:-.02em;
}
.section-eyebrow{
  color:#7a8896;
  font-size:9px;
  letter-spacing:.13em;
  font-weight:950;
}
.catalog-filter-form{
  display:grid;
  grid-template-columns:repeat(5,minmax(140px,1fr));
  gap:12px;
  align-items:end;
}
.catalog-filter-form label{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#344054;
  font-size:11px;
  font-weight:750;
}
.catalog-filter-form input,
.catalog-filter-form select{
  width:100%;
  height:43px;
  border:1px solid #dfe5eb;
  border-radius:9px;
  padding:0 11px;
  outline:0;
  color:#344054;
  background:#fff;
}
.catalog-filter-form input:focus,
.catalog-filter-form select:focus{border-color:#79b9d4;box-shadow:0 0 0 3px rgba(13,117,184,.08)}
.filter-actions{display:flex;align-items:end}
.apply-filters{
  width:100%;
  height:43px;
  border:0;
  border-radius:9px;
  color:#fff;
  background:#0d6376;
  font-weight:900;
}
.filter-search-span{grid-column:span 2}

.occasion-category-guide,
.category-guidance{
  margin:0 0 20px;
}
.occasion-category-head,
.category-guidance-head{
  margin-bottom:11px;
}
.occasion-category-head h2,
.category-guidance-head h2{
  margin:4px 0 3px;
  font-size:22px;
  letter-spacing:-.025em;
}
.occasion-category-head p{
  margin:0;
  color:#667085;
  font-size:12px;
}
.occasion-guide-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.occasion-guide-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 3px 13px rgba(15,23,42,.035);
}
.occasion-guide-title{
  min-height:66px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:12px;
  color:#1f2937;
  font-weight:850;
}
.occasion-guide-title:hover{background:#f7fbfd;color:#0d6d99}
.occasion-guide-icon{
  width:36px;height:36px;border-radius:10px;
  display:grid;place-items:center;
  color:#0f6c94;background:#eef8fc;
}
.occasion-guide-name{font-size:13px;line-height:1.3}
.occasion-count-badge{
  display:inline-flex;
  padding:4px 7px;
  border-radius:999px;
  background:#f1f5f9;
  color:#667085;
  font-size:9px;
  font-weight:900;
  white-space:nowrap;
}
.occasion-guide-children{
  border-top:1px solid #f0f2f5;
  padding:6px 11px 9px;
}
.occasion-guide-child{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:6px 1px;
  color:#536273;
  font-size:11px;
}
.occasion-guide-child:hover{color:#0d75b8}
.occasion-guide-child small{color:#98a2b3;white-space:nowrap}
.occasion-guide-empty{
  margin-bottom:20px;
  padding:18px;
  border:1px dashed #d5dde5;
  border-radius:14px;
  color:#667085;
  background:#fff;
}
.occasion-guide-empty h2{margin:0 0 5px;color:#1f2937}

.subcategory-grid{
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
}
.subcategory-card-v2{
  position:relative;
  min-height:82px;
  padding-right:36px;
}
.subcategory-card-v2>span:nth-child(2){min-width:0}
.subcategory-card-v2 b{display:block;font-size:13px}
.subcategory-card-v2 small{
  display:block;
  margin-top:4px;
  color:#98a2b3;
  font-size:10px;
  font-weight:600;
}
.subcategory-arrow{
  position:absolute;
  right:13px;
  color:#9aa7b4;
  font-size:18px;
}

.catalog-toolbar{
  position:relative;
  margin-top:6px;
}
.catalog-toolbar .count{
  color:#475467;
  font-size:12px;
  font-weight:800;
}

@media(max-width:1180px){
  .catalog-filter-form{grid-template-columns:repeat(3,minmax(150px,1fr))}
  .occasion-guide-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:850px){
  .occasion-page-banner{align-items:flex-start;flex-direction:column}
  .filter-search-row{grid-template-columns:1fr 120px}
  .catalog-filter-form{grid-template-columns:repeat(2,minmax(140px,1fr))}
  .occasion-guide-grid{grid-template-columns:repeat(2,1fr)}
  .filter-search-span{grid-column:1/-1}
}
@media(max-width:560px){
  .filter-search-row{grid-template-columns:1fr}
  .filter-search-button{height:44px}
  .filter-quick-row,.filter-title-row{align-items:flex-start;flex-direction:column}
  .catalog-filter-form{grid-template-columns:1fr}
  .filter-search-span{grid-column:auto}
  .occasion-guide-grid{grid-template-columns:1fr}
  .product-card-v2 .product-img,.catalog-grid .product-img{height:180px}
}

/* v0.4.4 image hardening */
.product-img{font-size:0;color:transparent;overflow:hidden}
.product-img .product-image-placeholder{font-size:14px;color:#667085}
.product-img .product-image-placeholder>span{font-size:34px;color:#98a2b3}
.catalog-product-image{display:block;width:100%;height:100%;object-fit:contain;font-size:0;color:transparent}
.product-main-image{font-size:0;color:transparent;overflow:hidden}
.product-main-image img{display:block;max-width:100%;max-height:100%;object-fit:contain;font-size:0;color:transparent}
.product-main-placeholder{font-size:48px;color:#98a2b3}

/* Storefront v0.4.5 — universal product card */
.product-card-v3{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  padding:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #e7ebf0;
  border-radius:15px;
  box-shadow:0 4px 14px rgba(15,23,42,.04);
  transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease;
}
.product-card-v3:hover{
  transform:translateY(-2px);
  border-color:#d5e2ea;
  box-shadow:0 10px 28px rgba(15,23,42,.09);
}
.product-card-v3 .product-card-media{
  position:relative;
  flex:0 0 auto;
  width:100%;
  background:#f8fafc;
  border-bottom:1px solid #eef1f4;
}
.product-card-v3 .product-image-link{
  display:block;
  width:100%;
  color:inherit;
  text-decoration:none;
}
.product-card-v3 .product-img{
  position:relative;
  z-index:1;
  width:100%;
  height:230px;
  margin:0!important;
  padding:0;
  border-radius:0!important;
  background:linear-gradient(145deg,#f8fafc,#eef2f6);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  font-size:0!important;
  color:transparent;
}
.product-card-v3 .product-img img,
.product-card-v3 img.catalog-product-image{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  padding:14px;
  background:#fff;
  font-size:0!important;
  color:transparent;
}
.product-card-v3 .tag{
  position:absolute;
  z-index:4;
  top:12px;
  left:12px;
  right:auto;
  bottom:auto;
  margin:0;
}
.product-card-v3 .fav{
  position:absolute;
  z-index:5;
  top:11px;
  right:11px;
  left:auto;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #e2e8f0;
  border-radius:50%;
  background:rgba(255,255,255,.94);
  box-shadow:0 3px 10px rgba(15,23,42,.08);
}
.product-card-v3 .product-card-body{
  position:relative;
  z-index:2;
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-width:0;
  padding:14px 14px 15px;
  background:#fff;
  color:#111827;
}
.product-card-v3 .product-title-link{
  display:block;
  color:#111827;
  text-decoration:none;
}
.product-card-v3 .product-title-link:hover{color:#0d75b8}
.product-card-v3 h3{
  margin:0 0 8px;
  min-height:42px;
  max-height:42px;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-size:14px;
  line-height:1.5;
  font-weight:750;
  color:#111827;
}
.product-card-v3 .product-meta{
  min-height:18px;
  margin:0 0 5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#7b8794;
  font-size:11px;
}
.product-card-v3 .product-seller{
  min-height:18px;
  margin-top:1px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#667085;
  font-size:11px;
}
.product-card-v3 .product-seller strong{color:#475467;font-weight:700}
.product-card-v3 .product-card-spacer{flex:1 1 auto;min-height:10px}
.product-card-v3 .product-price-row{
  padding-top:11px;
  border-top:1px solid #f0f2f5;
}
.product-card-v3 .price{
  margin:0;
  min-height:30px;
  font-size:21px;
  line-height:1.25;
  font-weight:950;
  color:#101828;
}
.product-card-v3 .price .old,
.product-card-v3 .old{
  margin-left:5px;
  font-size:11px;
  font-weight:600;
  color:#98a2b3;
  text-decoration:line-through;
}
.product-card-v3 .product-card-actions{
  margin-top:11px;
}
.product-card-v3 .product-card-primary{
  min-height:40px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 13px;
  border:1px solid #0d75b8;
  border-radius:10px;
  background:#0d75b8;
  color:#fff;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.product-card-v3 .product-card-primary:hover{
  background:#095f96;
  border-color:#095f96;
}
.product-card-v3 .product-image-placeholder{
  width:100%;
  height:100%;
  min-height:0;
}
.catalog-grid .product-card-v3,
.products .product-card-v3,
.occasion-products .product-card-v3{
  align-self:stretch;
}

@media(max-width:760px){
  .product-card-v3 .product-img{height:185px}
  .product-card-v3 .product-card-body{padding:12px}
  .product-card-v3 h3{font-size:13px;min-height:39px;max-height:39px}
  .product-card-v3 .price{font-size:18px}
  .product-card-v3 .product-card-primary{min-height:38px}
}


/* v0.5 Account + Blog + News */
.home-latest-news{margin-top:16px}.home-news-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid #e5e9ef;border-radius:14px;padding:14px 16px;box-shadow:0 5px 18px rgba(15,23,42,.05)}.home-news-badge{display:inline-flex;padding:6px 9px;border-radius:8px;background:#d92d20;color:#fff;font-size:10px;font-weight:950;letter-spacing:.09em}.home-news-copy b{display:block;font-size:14px}.home-news-copy span{display:block;color:#667085;font-size:12px;margin-top:3px;line-height:1.45}.home-news-card>a{color:#0b6fa4;font-size:12px;font-weight:900;white-space:nowrap}.article-list-page,.account-page{max-width:var(--max);margin:auto;padding:26px 18px 55px}.page-hero-simple{padding:28px 30px;border-radius:18px;background:linear-gradient(135deg,#0b3659,#0e6e9d);color:#fff;margin-bottom:22px}.page-hero-simple.news{background:linear-gradient(135deg,#7f1d1d,#d92d20)}.page-hero-simple h1{margin:4px 0 8px;font-size:34px}.page-hero-simple p{margin:0;color:rgba(255,255,255,.82);max-width:780px}.article-grid-public{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.article-card-public{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e9ef;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(15,23,42,.05)}.article-card-image{height:190px;background:linear-gradient(145deg,#edf3f7,#fff);display:grid;place-items:center;color:#9aa6b2;font-size:34px;overflow:hidden}.article-card-image img{width:100%;height:100%;object-fit:cover}.article-card-body{display:flex;flex-direction:column;gap:8px;padding:17px;height:100%}.article-card-body small{color:#8a95a4}.article-card-body h2{font-size:18px;line-height:1.3;margin:0}.article-card-body p{font-size:13px;line-height:1.55;color:#667085;margin:0}.article-card-body a{margin-top:auto;color:#0b6fa4;font-size:12px;font-weight:900;padding-top:8px}.article-detail-public{max-width:920px;margin:26px auto 60px;padding:0 18px}.article-detail-public .article-kicker{font-size:11px;color:#0b6fa4;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.article-detail-public h1{font-size:42px;line-height:1.08;letter-spacing:-.035em;margin:10px 0 12px}.article-lead{font-size:18px;line-height:1.6;color:#667085}.article-meta-public{font-size:12px;color:#98a2b3;margin:14px 0 22px}.article-cover-public{border-radius:18px;overflow:hidden;background:#eef2f5;margin-bottom:24px}.article-cover-public img{display:block;width:100%;max-height:520px;object-fit:cover}.article-body-public{font-size:16px;line-height:1.75;color:#344054}.article-body-public h2{font-size:25px;color:#101828;margin:30px 0 8px}.article-body-public p{margin:0 0 16px}.account-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.account-card{background:#fff;border:1px solid #e5e9ef;border-radius:16px;padding:22px}.account-card h2{margin:0 0 8px}.account-card p{color:#667085;line-height:1.55;font-size:13px}.account-actions-public{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.account-actions-public a{display:inline-flex;padding:10px 14px;border-radius:10px;border:1px solid #d0d5dd;font-weight:850;font-size:12px}.account-actions-public a.primary{background:#0b5e8e;color:#fff;border-color:#0b5e8e}.account-list{display:grid;gap:10px;margin-top:14px}.account-list a,.account-list div{padding:13px;border:1px solid #e9edf2;border-radius:11px}.account-list b{display:block;font-size:13px}.account-list small{display:block;color:#98a2b3;margin-top:3px}.account-note{background:#f8fbfd;border-left:3px solid #0b6fa4;padding:12px 14px;border-radius:10px;color:#52606d;font-size:12px;line-height:1.55}@media(max-width:900px){.article-grid-public{grid-template-columns:repeat(2,1fr)}.account-grid{grid-template-columns:1fr}}@media(max-width:640px){.home-news-card{grid-template-columns:auto 1fr}.home-news-card>a{grid-column:1/-1}.article-grid-public{grid-template-columns:1fr}.article-detail-public h1{font-size:32px}.page-hero-simple h1{font-size:28px}}

/* Storefront v0.6 — article SEO layout, sharing and public discussion */
.article-detail-public{max-width:1040px;margin:24px auto 70px;padding:0 18px}.article-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;color:#667085;font-size:12px}.article-breadcrumbs a{color:#0b6fa4}.article-breadcrumbs span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.article-page-v2{background:#fff;border:1px solid #e5e9ef;border-radius:20px;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.05)}.article-header-public{max-width:860px;margin:0 auto;padding:38px 38px 26px}.article-header-public .article-kicker{font-size:11px;color:#0b6fa4;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.article-header-public h1{margin:10px 0 13px;font-size:44px;line-height:1.08;letter-spacing:-.04em;color:#101828}.article-header-public .article-lead{margin:0;font-size:18px;line-height:1.62;color:#667085}.article-header-public .article-meta-public{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:16px 0 0;font-size:12px;color:#98a2b3}.article-page-v2 .article-cover-public{max-width:960px;margin:0 auto 30px;padding:0 28px;background:transparent;border-radius:0;overflow:visible}.article-page-v2 .article-cover-public img{width:100%;max-height:620px;object-fit:contain;border-radius:16px;background:#f8fafc}.article-page-v2 .article-cover-public figcaption{margin-top:7px;color:#98a2b3;font-size:10px;text-align:center}.article-page-v2 .article-body-public{max-width:780px;margin:0 auto;padding:4px 38px 38px;font-size:16px;line-height:1.78;color:#344054}.article-page-v2 .article-body-public h2{margin:34px 0 10px;font-size:27px;line-height:1.25;color:#101828;letter-spacing:-.02em}.article-page-v2 .article-body-public h3{margin:25px 0 8px;font-size:20px;line-height:1.35;color:#1d2939}.article-page-v2 .article-body-public h4{margin:20px 0 7px;font-size:17px;color:#344054}.article-page-v2 .article-body-public p{margin:0 0 17px}.article-page-v2 .article-body-public ul,.article-page-v2 .article-body-public ol{margin:0 0 18px;padding-left:24px}.article-page-v2 .article-body-public li{margin:5px 0}.article-page-v2 .article-body-public img{max-width:100%;height:auto;border-radius:12px}.article-page-v2 .article-body-public blockquote{margin:22px 0;padding:15px 18px;border-left:4px solid #0d75b8;background:#f6fbfe;border-radius:0 10px 10px 0;color:#475467}.article-share{max-width:780px;margin:0 auto;padding:24px 38px;border-top:1px solid #edf0f3;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}.article-share>b,.article-share div>b{display:block}.article-share small{display:block;margin-top:4px;color:#98a2b3}.share-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.share-actions a,.share-actions button{min-height:35px;padding:8px 10px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#344054;font-size:11px;font-weight:800}.share-actions a:hover,.share-actions button:hover{border-color:#84c5e4;color:#0b6fa4;background:#f5fbfe}.share-message{grid-column:1/-1;color:#027a48;font-size:11px;text-align:right}.discussion-section{max-width:860px;margin:0 auto;padding:30px 38px 40px;border-top:1px solid #edf0f3}.discussion-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.discussion-head span{font-size:10px;color:#0b6fa4;font-weight:950;letter-spacing:.1em}.discussion-head h2{font-size:26px;margin:3px 0 5px}.discussion-head p{margin:0;color:#667085;font-size:12px}.discussion-head>strong{min-width:46px;height:46px;border-radius:13px;background:#eef8fc;display:grid;place-items:center;color:#0b6fa4}.comment-form{padding:16px;border:1px solid #e4e7ec;border-radius:14px;background:#fafcfd}.comment-form label{display:block;font-size:11px;font-weight:800;color:#475467}.comment-form label small{font-weight:500;color:#98a2b3}.comment-form input,.comment-form textarea{display:block;width:100%;margin-top:6px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;padding:10px 11px;outline:none}.comment-form input:focus,.comment-form textarea:focus{border-color:#53aeda;box-shadow:0 0 0 3px rgba(13,117,184,.10)}.comment-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.comment-form>label{margin-top:10px}.comment-form-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.comment-form-foot button{min-height:40px;border:0;border-radius:9px;padding:9px 15px;background:#0d75b8;color:#fff;font-weight:900}.comment-form-foot span{font-size:11px;color:#667085}.comment-form-foot span.success{color:#027a48}.comment-form-foot span.error{color:#b42318}.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.public-comments,.product-review-list{display:grid;gap:10px;margin-top:18px}.public-comment,.product-review-item{padding:14px 15px;border:1px solid #e7ebf0;border-radius:13px;background:#fff}.public-comment header,.product-review-item header{display:flex;gap:10px;align-items:center}.public-comment header>div:nth-child(2),.product-review-item header>div:first-child{min-width:0}.public-comment header b,.public-comment header small,.product-review-item header b,.product-review-item header small{display:block}.public-comment header small,.product-review-item header small{color:#98a2b3;margin-top:2px;font-size:10px}.comment-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%;display:grid;place-items:center;background:#eef8fc;color:#0b6fa4;font-weight:900}.public-comment p,.product-review-item p{margin:10px 0 0;color:#475467;font-size:13px;line-height:1.55}.comments-empty{padding:18px;border:1px dashed #d0d5dd;border-radius:12px;color:#667085;font-size:12px;text-align:center}.article-error{padding:35px;background:#fff;border:1px solid #e5e9ef;border-radius:16px}.article-error h1{margin-top:0}.article-card-v2 .article-card-image{display:block;color:#98a2b3;text-decoration:none}.article-card-v2 .article-card-image>span{display:grid;place-items:center;width:100%;height:100%}.article-card-v2 .article-card-title{color:#101828;text-decoration:none}.article-card-v2 .article-card-title:hover{color:#0b6fa4}.article-card-v2 .article-read-more{margin-top:auto}.article-card-meta{min-height:15px;color:#98a2b3;font-size:10px}

/* Product reviews */
.product-reviews-wrap{max-width:1000px}.reviews-summary{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:18px}.reviews-summary>div:first-child>span{font-size:10px;color:#0b6fa4;font-weight:950;letter-spacing:.1em}.reviews-summary h2{margin:4px 0 5px}.reviews-summary p{margin:0;color:#667085;font-size:12px}.rating-big{min-width:130px;text-align:right}.rating-big strong{display:block;font-size:31px;line-height:1;color:#101828}.rating-big small{display:block;color:#98a2b3;font-size:10px;margin-top:3px}.review-stars{color:#f59e0b;letter-spacing:1px;white-space:nowrap}.product-review-item header{justify-content:space-between}.product-review-form{max-width:760px}.rating-field{border:0;padding:0;margin:12px 0 4px}.rating-field legend{font-size:11px;font-weight:800;color:#475467;margin-bottom:5px}.rating-input{display:inline-flex;flex-direction:row-reverse;gap:2px}.rating-input input{position:absolute;opacity:0;pointer-events:none}.rating-input label{font-size:29px;color:#d0d5dd;cursor:pointer;line-height:1}.rating-input label:hover,.rating-input label:hover~label,.rating-input input:checked~label{color:#f59e0b}

@media(max-width:760px){.article-header-public{padding:28px 20px 20px}.article-header-public h1{font-size:33px}.article-page-v2 .article-cover-public{padding:0 14px}.article-page-v2 .article-body-public,.article-share,.discussion-section{padding-left:20px;padding-right:20px}.article-share{grid-template-columns:1fr}.share-actions{justify-content:flex-start}.share-message{text-align:left}.comment-form-grid{grid-template-columns:1fr}.discussion-head,.reviews-summary{flex-direction:column}.rating-big{text-align:left}.article-page-v2{border-radius:14px}}


/* =========================================================
   Rmag v0.7 — Blog card redesign + unified buyer account
   ========================================================= */
.article-grid-public{
  grid-template-columns:repeat(auto-fill,minmax(300px,360px));
  align-items:start;
  justify-content:start;
  gap:22px;
}
.article-card-v3{
  min-width:0;
  border-radius:18px;
  border:1px solid #e5e9ef;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 26px rgba(15,23,42,.06);
  transition:transform .18s ease,box-shadow .18s ease;
}
.article-card-v3:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(15,23,42,.10)}
.article-card-v3 .article-card-image{
  width:100%;height:auto;aspect-ratio:4/5;
  display:block;background:#edf2f6;overflow:hidden;
}
.article-card-v3 .article-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.article-card-v3 .article-image-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:54px;font-weight:950;color:#8da0ae;background:linear-gradient(145deg,#eaf2f6,#fff)}
.article-card-v3 .article-card-body{padding:18px 19px 17px;gap:9px;min-height:238px}
.article-card-v3 .article-card-kicker{font-size:10px;color:#8a95a4;font-weight:800;letter-spacing:.055em}.article-card-v3 .article-card-kicker i{font-style:normal;color:#c4cbd2;margin:0 3px}
.article-card-v3 h2{font-size:21px;line-height:1.28;letter-spacing:-.02em;margin:2px 0 0;color:#101828}
.article-card-v3 .article-card-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;max-height:40px;font-size:13px;line-height:1.55;color:#667085;margin:2px 0 0}
.article-card-v3 .article-card-foot{margin-top:auto;padding-top:14px;border-top:1px solid #eef1f4;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#98a2b3;font-size:10px}
.article-card-v3 .article-card-foot .article-read-more{margin:0;padding:0;color:#0b6fa4;font-size:12px;font-weight:900}

.auth-page,.buyer-account-page{max-width:1180px;margin:auto;padding:28px 18px 70px}
.auth-hero{max-width:760px;margin:0 auto 18px;padding:25px 28px;border-radius:18px;background:linear-gradient(135deg,#0b3659,#0e6e9d);color:#fff}.auth-hero span,.account-welcome span,.seller-bottom>div>span,.account-section-head span{font-size:10px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.auth-hero h1{margin:5px 0 7px;font-size:36px}.auth-hero p{margin:0;color:rgba(255,255,255,.82);line-height:1.55}
.auth-shell{max-width:760px;margin:auto;background:#fff;border:1px solid #e5e9ef;border-radius:18px;padding:24px;box-shadow:0 10px 32px rgba(15,23,42,.06)}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;background:#f2f5f7;border-radius:12px;margin-bottom:20px}.auth-tabs button{border:0;border-radius:9px;background:transparent;min-height:42px;font-weight:850;color:#667085}.auth-tabs button.active{background:#fff;color:#0b5e8e;box-shadow:0 3px 10px rgba(15,23,42,.08)}
.auth-panel{display:none}.auth-panel.active{display:block}.auth-panel form,.account-form{display:grid;gap:13px}.auth-panel label,.account-form label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#475467}.auth-panel input,.account-form input,.account-form textarea{width:100%;border:1px solid #d0d5dd;border-radius:10px;padding:11px 12px;background:#fff;outline:none}.auth-panel input:focus,.account-form input:focus,.account-form textarea:focus{border-color:#55add6;box-shadow:0 0 0 3px rgba(13,117,184,.10)}.auth-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-check{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:8px!important;font-weight:600!important}.auth-check input{width:auto!important;margin-top:2px}.auth-primary,.account-form button,.preference-list button{border:0;border-radius:10px;min-height:44px;padding:10px 15px;background:#0b6fa4;color:#fff;font-weight:900}.form-message,.account-inline-message{min-height:18px;font-size:11px;color:#667085}.form-message.success,.account-inline-message.success{color:#027a48}.form-message.error,.account-inline-message.error{color:#b42318}.auth-note{margin-top:18px;padding:14px 16px;border-radius:12px;background:#f6fafc;border:1px solid #e3edf2}.auth-note b,.auth-note span{display:block}.auth-note span{font-size:12px;color:#667085;margin-top:4px}

.account-loading{padding:40px;text-align:center;color:#667085}.account-welcome{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:27px 30px;border-radius:20px;color:#fff;background:linear-gradient(120deg,#0b3659,#0d75b8)}.account-welcome h1{font-size:36px;letter-spacing:-.035em;margin:5px 0 5px}.account-welcome p{margin:0;color:rgba(255,255,255,.82)}.account-welcome button{border:1px solid rgba(255,255,255,.32);background:rgba(255,255,255,.08);color:#fff;border-radius:10px;padding:10px 14px;font-weight:850}
.account-nav{position:sticky;top:126px;z-index:50;display:flex;gap:4px;overflow:auto;margin:14px 0 20px;padding:6px;background:#fff;border:1px solid #e5e9ef;border-radius:13px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.account-nav a{display:flex;align-items:center;gap:6px;white-space:nowrap;padding:9px 12px;border-radius:9px;font-size:12px;font-weight:800;color:#475467}.account-nav a:hover{background:#f2f8fb;color:#0b6fa4}.account-nav b{min-width:19px;height:19px;padding:0 4px;border-radius:99px;display:grid;place-items:center;background:#eef6fa;color:#0b6fa4;font-size:9px}
.account-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.account-stat-grid article{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;background:#fff;border:1px solid #e5e9ef;border-radius:15px;padding:17px}.account-stat-grid article>span{grid-row:1/4;width:43px;height:43px;border-radius:12px;background:#eef8fc;display:grid;place-items:center;font-size:19px}.account-stat-grid b{font-size:22px;line-height:1}.account-stat-grid small{color:#667085;font-size:10px}.account-stat-grid strong,.account-stat-grid a{font-size:11px;color:#0b6fa4;margin-top:4px}
.account-section{scroll-margin-top:190px;background:#fff;border:1px solid #e5e9ef;border-radius:17px;padding:21px;margin-bottom:16px}.account-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.account-section-head span{color:#0b6fa4}.account-section-head h2{font-size:22px;margin:3px 0 0}.account-section-head>strong{font-size:20px}.account-empty{grid-column:1/-1;padding:20px;border:1px dashed #d0d5dd;border-radius:12px;color:#667085;font-size:12px;text-align:center}
.account-cart-list{display:grid;gap:8px}.account-cart-row{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;padding:10px;border:1px solid #edf0f3;border-radius:11px}.account-cart-row>div{width:54px;height:54px;border-radius:9px;background:#f4f6f8;display:grid;place-items:center;overflow:hidden}.account-cart-row img{width:100%;height:100%;object-fit:contain}.account-cart-row p{margin:0}.account-cart-row b,.account-cart-row small{display:block}.account-cart-row small{color:#98a2b3;margin-top:3px}.account-cart-row strong{font-size:12px}
.account-favorite-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.account-fav-card{min-width:0;border:1px solid #edf0f3;border-radius:12px;overflow:hidden;background:#fff}.account-fav-image{height:155px;background:#f5f7f9;display:grid;place-items:center;overflow:hidden}.account-fav-image img{width:100%;height:100%;object-fit:contain}.account-fav-card>div{padding:11px}.account-fav-card b,.account-fav-card small,.account-fav-card strong,.account-fav-card em{display:block}.account-fav-card b{font-size:12px;line-height:1.35}.account-fav-card small{color:#98a2b3;margin-top:4px;font-size:10px}.account-fav-card strong{margin-top:8px}.account-fav-card em{font-size:11px;color:#b54708;margin-top:8px}.account-fav-card button{margin-top:9px;border:0;background:transparent;color:#b42318;font-size:10px;padding:0}
.coupon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.coupon-card{position:relative;overflow:hidden;padding:17px;border-radius:14px;background:linear-gradient(135deg,#fff9e8,#fff);border:1px dashed #e9b949}.coupon-card>span{display:inline-flex;padding:5px 8px;background:#fff1b9;border-radius:7px;font-weight:950;font-size:11px}.coupon-card h3{margin:10px 0 5px;font-size:16px}.coupon-card p{font-size:11px;color:#667085;line-height:1.5}.coupon-card b,.coupon-card small{display:block}.coupon-card small{margin-top:5px;color:#8a95a4}
.account-order-list{display:grid;gap:8px}.account-order-list article{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;padding:12px 14px;border:1px solid #edf0f3;border-radius:11px}.account-order-list b,.account-order-list small{display:block}.account-order-list small{color:#98a2b3;margin-top:3px}.account-order-list span{font-size:11px;padding:5px 8px;border-radius:99px;background:#eef6fa;color:#0b6fa4}.account-order-list strong{font-size:13px}
.account-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.account-form label small{font-weight:500;color:#98a2b3}.preference-list{display:grid;gap:9px}.preference-list>label{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:12px;border:1px solid #edf0f3;border-radius:11px}.preference-list input{margin-top:3px}.preference-list b,.preference-list small{display:block}.preference-list small{color:#98a2b3;margin-top:3px;font-size:10px}.danger-zone{border-color:#fecaca;background:#fffafa}.danger-zone p{font-size:12px;line-height:1.55;color:#7f1d1d}.account-form button.danger{background:#b42318}
.seller-bottom{margin-top:24px;padding:27px;border-radius:18px;background:linear-gradient(120deg,#172b3f,#0d557d);color:#fff}.seller-bottom h2{margin:5px 0 7px;font-size:26px}.seller-bottom p{margin:0;color:rgba(255,255,255,.76);font-size:12px}.seller-bottom-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}.seller-bottom-cards a{padding:15px;border-radius:12px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15)}.seller-bottom-cards b,.seller-bottom-cards small,.seller-bottom-cards strong{display:block}.seller-bottom-cards small{margin-top:4px;color:rgba(255,255,255,.72)}.seller-bottom-cards strong{margin-top:11px;font-size:11px}
.fav.is-favorite{color:#d92d20!important}.actions .badge[hidden]{display:none!important}
@media(max-width:960px){.account-stat-grid{grid-template-columns:repeat(2,1fr)}.account-favorite-grid{grid-template-columns:repeat(3,1fr)}.coupon-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.article-grid-public{grid-template-columns:1fr}.article-card-v3{max-width:420px}.article-card-v3 .article-card-image{aspect-ratio:4/5}.auth-two,.account-settings-grid,.seller-bottom-cards{grid-template-columns:1fr}.account-welcome{align-items:flex-start;flex-direction:column}.account-stat-grid{grid-template-columns:1fr 1fr}.account-favorite-grid{grid-template-columns:repeat(2,1fr)}.account-order-list article{grid-template-columns:1fr auto}.account-order-list strong{grid-column:1/-1}.account-nav{top:112px}}
@media(max-width:450px){.account-stat-grid,.account-favorite-grid,.coupon-grid{grid-template-columns:1fr}.auth-shell{padding:16px}.auth-hero{padding:22px}.account-section{padding:16px}}

/* ============================================================
   Rmag Storefront v0.8 — Share, cart and checkout groundwork
   ============================================================ */
.account-nav{position:relative!important;top:auto!important;z-index:1!important}

.rmag-share-wrap{position:relative;display:inline-flex}
.product-social-actions{display:flex;align-items:center;gap:10px;margin-top:14px}
.product-share-main{
  display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;
  border:1px solid #d7e3ea;border-radius:10px;background:#fff;color:#214258;
  font-weight:800;font-size:12px;box-shadow:0 3px 12px rgba(15,23,42,.04)
}
.product-share-main:hover{border-color:#75b6d5;color:#0b6f9e;background:#f6fbfd}
.share-icon{font-size:18px;line-height:1}
.product-card-share-wrap{position:absolute;top:14px;right:51px;z-index:8}
.product-card-share{
  width:30px;height:30px;border-radius:50%;border:1px solid #dde3ea;background:rgba(255,255,255,.93);
  color:#3f5667;display:grid;place-items:center;font-size:16px;font-weight:900;box-shadow:0 2px 8px rgba(15,23,42,.06)
}
.product-card-share:hover{color:#0b76a8;border-color:#9dcde2}
.rmag-share-popover{
  position:absolute;z-index:320;right:0;top:calc(100% + 9px);width:310px;padding:13px;
  border:1px solid #e2e8ef;border-radius:14px;background:#fff;box-shadow:0 20px 50px rgba(15,23,42,.16);
  display:none
}
.rmag-share-popover.open{display:block}
.rmag-share-popover-head{display:flex;flex-direction:column;gap:2px;padding:2px 3px 10px}
.rmag-share-popover-head b{font-size:13px;color:#172b3a}
.rmag-share-popover-head small{font-size:10px;color:#7d8a98}
.rmag-share-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.rmag-share-grid button{
  min-height:68px;border:1px solid #e6ebef;border-radius:10px;background:#f9fbfc;color:#324b5c;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:800
}
.rmag-share-grid button:hover{background:#eef8fc;border-color:#a5d3e7;color:#0a6f9e}
.rmag-share-grid svg,.product-share-main svg{width:21px;height:21px;fill:currentColor}
.buy-message{min-height:18px;margin-top:7px;font-size:11px;text-align:center;color:#657585}
.buy-message.success{color:#168342}.buy-message.error{color:#b42318}

.cart-page,.checkout-page{max-width:1480px;margin:0 auto;padding:32px 18px 64px}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}
.cart-title,.checkout-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.cart-title span,.checkout-title span,.cart-summary>span,.checkout-summary>span{font-size:10px;font-weight:950;letter-spacing:.13em;color:#0a709f}
.cart-title h1,.checkout-title h1{margin:4px 0 0;font-size:34px;letter-spacing:-.04em}
.cart-title a{font-size:12px;color:#0a709f;font-weight:850}
.cart-seller-group{background:#fff;border:1px solid #e3e9ee;border-radius:16px;margin-bottom:16px;overflow:hidden;box-shadow:0 5px 18px rgba(15,23,42,.04)}
.cart-seller-group>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 17px;border-bottom:1px solid #edf1f4;background:#fbfcfd}
.cart-seller-group>header small{display:block;font-size:9px;color:#8b97a5;text-transform:uppercase;letter-spacing:.1em}
.cart-seller-group>header h2{margin:2px 0 0;font-size:15px}.cart-seller-group>header>span{font-size:11px;color:#7a8794}
.cart-item{display:grid;grid-template-columns:110px minmax(0,1fr) 170px 145px;gap:16px;align-items:center;padding:16px;border-bottom:1px solid #eef2f5}
.cart-item:last-child{border-bottom:0}
.cart-item-image{height:100px;border-radius:11px;background:#f4f6f8;display:grid;place-items:center;overflow:hidden}
.cart-item-image img{width:100%;height:100%;object-fit:contain}.cart-item-image span{font-size:30px;color:#aab4be}
.cart-item-main h3{margin:0 0 5px;font-size:14px;line-height:1.35}.cart-item-main p{margin:0 0 7px;font-size:11px;color:#657585}.cart-item-main small{font-size:10px;color:#798796}
.cart-item-badges{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:6px}.cart-item-badges span{padding:4px 6px;border-radius:6px;background:#eff4f7;color:#516675;font-size:9px;font-weight:850}.cart-item-badges .occasion{background:#fff1f0;color:#b42318}
.cart-qty{display:grid;grid-template-columns:34px 55px 34px;gap:3px;justify-content:center}.cart-qty button,.cart-qty input{height:34px;border:1px solid #dce4e9;background:#fff;text-align:center}.cart-qty button{border-radius:8px;font-weight:900}.cart-qty input{border-radius:7px;width:55px}.cart-qty-locked{font-size:10px;color:#8b3d35;background:#fff2f1;border:1px solid #f7d3cf;border-radius:8px;padding:8px;display:block;text-align:center}
.cart-item-price{text-align:right}.cart-item-price strong{display:block;font-size:16px}.cart-item-price small{display:block;font-size:9px;color:#8995a3;margin:3px 0 9px}.cart-item-price button{border:0;background:transparent;color:#b42318;font-size:10px;text-decoration:underline}
.cart-summary,.checkout-summary{position:sticky;top:150px;background:#fff;border:1px solid #e2e8ed;border-radius:16px;padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.cart-summary h2,.checkout-summary h2{margin:5px 0 18px;font-size:23px}.cart-summary>div,.checkout-summary>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;font-size:12px}.cart-summary hr,.checkout-summary hr{border:0;border-top:1px solid #e9edf1;margin:8px 0}.cart-summary .cart-grand strong{font-size:22px}.cart-card-note{padding:10px;border-radius:9px;background:#fff6e6;color:#7a5415;font-size:10px;line-height:1.45}.cart-checkout-btn{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:15px;border-radius:11px;background:#0b6f9f;color:#fff;font-weight:900;font-size:13px}.cart-summary>small{display:block;text-align:center;margin-top:9px;color:#8995a3;font-size:9px;line-height:1.45}
.cart-empty{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;border:1px solid #e2e8ed;border-radius:18px;padding:30px}.cart-empty>span{font-size:50px}.cart-empty h1{font-size:28px;margin:12px 0 5px}.cart-empty p{color:#7b8794}.cart-empty a{margin-top:14px;padding:12px 18px;border-radius:10px;background:#0b6f9f;color:#fff;font-weight:850}

.checkout-title{display:block}.checkout-title p{max-width:730px;color:#71808f;font-size:12px;line-height:1.55}
.checkout-form{display:grid;gap:14px}.checkout-form>section{display:grid;grid-template-columns:44px 1fr;gap:16px;padding:20px;background:#fff;border:1px solid #e2e8ed;border-radius:16px}.checkout-form>section>span{width:38px;height:38px;border-radius:50%;background:#eaf6fb;color:#0b719f;display:grid;place-items:center;font-weight:950}.checkout-form h2{margin:4px 0 15px;font-size:18px}.checkout-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.checkout-grid label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#5f6e7d;font-weight:800}.checkout-grid label.wide{grid-column:1/-1}.checkout-grid input,.checkout-grid select{height:42px;border:1px solid #dce4e9;border-radius:9px;padding:0 11px;background:#fff;color:#172b3a}.checkout-note{margin:11px 0 0;color:#7c8997;font-size:10px;line-height:1.5}
.payment-methods{display:grid;gap:9px}.payment-method{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid #dfe6eb;border-radius:11px;background:#fff}.payment-method input{width:18px;height:18px}.payment-method b{display:block;font-size:12px}.payment-method small{display:block;margin-top:3px;color:#7b8895;font-size:9px;line-height:1.4}.payment-method em{font-style:normal;font-size:9px;padding:5px 7px;background:#fff4db;color:#8a621b;border-radius:6px;font-weight:850}.payment-method.disabled{opacity:.5;background:#f6f7f8}.checkout-final{min-height:48px;border:0;border-radius:11px;background:#122f45;color:#fff;font-weight:900}.checkout-message{font-size:11px;line-height:1.5}.checkout-message.success{padding:12px;border:1px solid #b8dec6;background:#f0fbf4;color:#1c6938;border-radius:10px}
.checkout-summary .checkout-mini-item{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:10px;border-bottom:1px solid #f0f2f4}.checkout-summary .checkout-mini-item span{max-width:210px}.checkout-summary p{font-size:10px;line-height:1.5;color:#7a5415;background:#fff6e6;padding:9px;border-radius:8px}

@media(max-width:930px){
 .rmag-share-popover{position:fixed;left:12px;right:12px;top:auto;bottom:16px;width:auto;border-radius:18px;padding:16px;box-shadow:0 24px 70px rgba(15,23,42,.28)}
 .rmag-share-grid{grid-template-columns:repeat(3,1fr)}
 .product-share-main{min-height:42px}
 .cart-layout,.checkout-layout{grid-template-columns:1fr}.cart-summary,.checkout-summary{position:relative;top:auto;order:-1}.cart-item{grid-template-columns:88px minmax(0,1fr);gap:12px}.cart-item-image{height:82px}.cart-item-qty{grid-column:2}.cart-item-price{grid-column:2;text-align:left;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.cart-item-price strong,.cart-item-price small{display:inline}.checkout-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
 .product-card-share-wrap{right:48px;top:12px}.product-card-share{width:29px;height:29px}
 .cart-page,.checkout-page{padding:20px 10px 45px}.cart-title h1,.checkout-title h1{font-size:28px}.cart-title{align-items:flex-start;flex-direction:column}
 .cart-item{grid-template-columns:78px minmax(0,1fr);padding:12px}.cart-item-image{height:74px}.cart-qty{justify-content:start}.checkout-grid{grid-template-columns:1fr}.checkout-form>section{grid-template-columns:36px 1fr;padding:15px;gap:10px}.checkout-form>section>span{width:32px;height:32px}.rmag-share-grid button{min-height:64px}
}

.rmag-share-card-popover{
  position:fixed;
  z-index:10000;
  margin:0;
}

/* Share menu above product card */
.product-card-v3:has(.rmag-share-popover.open){
  position:relative;
  z-index:1000;
  overflow:visible;
}

.product-card-v3 .rmag-share-popover.open{
  z-index:10001;
}

/* =========================================================
   RMAG GLOBAL PRODUCT CARD IMAGE STANDARD
   Product cards must always show the complete product.
   ========================================================= */

.product-img,
.account-fav-image,
.account-cart-row>div,
.cart-item-image{
  box-sizing:border-box;
  background:#f6f7f9;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.product-img img,
.account-fav-image img,
.account-cart-row img,
.cart-item-image img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
}

.account-fav-image{
  width:100%;
  height:auto !important;
  aspect-ratio:1 / 1;
  padding:12px;
}

.account-fav-image img{
  padding:0 !important;
}

/* =========================================================
   RMAG GLOBAL PRODUCT CARD IMAGE STANDARD
   Product cards must always show the complete product.
   ========================================================= */

.product-img,
.account-fav-image,
.account-cart-row>div,
.cart-item-image{
  box-sizing:border-box;
  background:#f6f7f9;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.product-img img,
.account-fav-image img,
.account-cart-row img,
.cart-item-image img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
}

.account-fav-image{
  width:100%;
  height:auto !important;
  aspect-ratio:1 / 1;
  padding:12px;
}

.account-fav-image img{
  padding:0 !important;
}

/* CMS Homepage Hero */
.hero[data-cms-slot="homepage.hero"]{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}

.hero-cms-media{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero-cms-media picture,
.hero-cms-media img{
  display:block;
  width:100%;
  height:100%;
}

.hero-cms-media img{
  object-fit:cover;
  object-position:center;
}

.hero-has-cms-image::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(
    90deg,
    rgba(5,15,25,.78) 0%,
    rgba(5,15,25,.48) 48%,
    rgba(5,15,25,.08) 100%
  );
}

.hero-has-cms-image .hero-copy{
  position:relative;
  z-index:2;
  max-width:620px;
  color:#fff;
}

.hero-has-cms-image .hero-copy p{
  color:rgba(255,255,255,.9);
}

/* Homepage Hero slider - default hero remains Slide 1 */
.hero[data-cms-slot="homepage.hero"]{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}

.hero[data-cms-slot="homepage.hero"] > .hero-copy,
.hero[data-cms-slot="homepage.hero"] > .hero-panels{
  transition:opacity .45s ease,visibility .45s ease;
}

.hero.hero-show-extra > .hero-copy,
.hero.hero-show-extra > .hero-panels{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.hero-extra-slide{
  position:absolute;
  inset:0;
  z-index:4;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .45s ease;
  display:flex;
  align-items:center;
  padding:42px 48px;
}

.hero-extra-slide.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.hero-extra-picture{
  position:absolute;
  inset:0;
}

.hero-extra-picture,
.hero-extra-picture img{
  width:100%;
  height:100%;
  display:block;
}

.hero-extra-picture img{
  object-fit:cover;
  object-position:center;
}

.hero-extra-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(5,18,34,.82),
    rgba(5,18,34,.45) 55%,
    rgba(5,18,34,.08)
  );
}

.hero-extra-copy{
  position:relative;
  z-index:2;
  max-width:620px;
  color:#fff;
}

.hero-extra-copy h2{
  margin:10px 0;
  font-size:clamp(28px,4vw,46px);
}

.hero-extra-copy p{
  color:rgba(255,255,255,.9);
  max-width:600px;
}

.hero .dots{
  z-index:10;
}

@media(max-width:767px){
  .hero-extra-slide{
    padding:28px 22px 54px;
    align-items:flex-end;
  }

  .hero-extra-overlay{
    background:linear-gradient(
      0deg,
      rgba(5,18,34,.88),
      rgba(5,18,34,.18)
    );
  }
}

/* Hero slider touch */
.hero[data-cms-slot="homepage.hero"]{
  touch-action:pan-y;
}

.hero-extra-slide,
.hero > .hero-copy,
.hero > .hero-panels{
  will-change:opacity;
}

/* Homepage CMS category images */
.cat-card .visual{
  overflow:hidden;
}

.cat-card .visual img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

/* Public seller profile links */
.seller-public-link{
  color:inherit;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(139,97,28,.28);
  transition:border-color .18s ease,color .18s ease
}
.seller-public-link:hover{
  color:#8b611c;
  border-bottom-color:#8b611c
}

/* Rmag local human verification */
.human-check{
  display:grid;
  gap:10px;
  margin-top:4px;
  padding:14px;
  border:1px solid #dfe4e8;
  border-radius:13px;
  background:#f8fafb
}
.human-check-title b,
.human-check-title small{
  display:block
}
.human-check-title small,
.human-check>[data-human-status]{
  margin-top:3px;
  font-size:11px;
  color:#667085
}
.human-check-challenge{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}
.human-check-challenge img{
  width:220px;
  max-width:100%;
  height:72px;
  object-fit:contain;
  border:1px solid #d8dde3;
  border-radius:9px;
  background:#fff
}
.human-check-challenge button{
  min-height:40px;
  padding:0 12px;
  border:1px solid #ccd3da;
  border-radius:9px;
  background:#fff;
  cursor:pointer;
  font-weight:700
}
.human-check label{
  display:grid;
  gap:5px
}
.human-check label input{
  max-width:220px;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:800
}

/* RMAG RULES HUB */
.rules-page{max-width:1220px;margin:0 auto;padding-bottom:70px}
.rules-hero{margin:34px 0 38px;padding:38px 42px;border:1px solid #e3e8ee;border-radius:22px;background:#fff}
.rules-eyebrow{display:block;margin-bottom:10px;font-size:12px;font-weight:800;letter-spacing:.14em;color:#687586}
.rules-hero h1{margin:0 0 14px;font-size:38px;line-height:1.1}
.rules-hero p{max-width:820px;margin:0;color:#667381;font-size:17px;line-height:1.65}

.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.rules-group{padding:26px;border:1px solid #e3e8ee;border-radius:20px;background:#fff}
.rules-group:last-child{grid-column:1/-1}

.rules-group-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:20px}
.rules-group-head>span{display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:12px;background:#111827;color:#fff;font-size:12px;font-weight:800}
.rules-group-head h2{margin:0 0 5px;font-size:21px}
.rules-group-head p{margin:0;color:#778391;font-size:14px;line-height:1.5}

.rule-card{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;margin-top:10px;padding:16px;border:1px solid #e7ebef;border-radius:14px;color:inherit;text-decoration:none;transition:.18s ease;background:#fff}
.rule-card:hover{transform:translateY(-1px);border-color:#bcc7d2;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.rule-card .rule-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#f2f5f7;font-weight:800}
.rule-card strong{display:block;margin-bottom:4px;font-size:14px;line-height:1.35}
.rule-card small{display:block;color:#788592;font-size:12px;line-height:1.4}
.rule-card>b{font-size:19px;font-weight:500}

@media(max-width:800px){
 .rules-page{padding-left:16px;padding-right:16px}
 .rules-hero{padding:26px 22px;margin-top:20px}
 .rules-hero h1{font-size:30px}
 .rules-grid{grid-template-columns:1fr}
 .rules-group:last-child{grid-column:auto}
 .rules-group{padding:18px}
 .rule-card{grid-template-columns:38px 1fr auto;padding:14px 12px}
}

/* =========================================================
   RMAG SEARCH DROPDOWN LAYER FIX
   Search suggestions must stay above main navigation.
   ========================================================= */

.header{
  overflow:visible!important;
}

.header-main{
  position:relative;
  z-index:150;
  overflow:visible!important;
}

.search-wrap{
  position:relative;
  z-index:170;
  overflow:visible!important;
}

.search-pop{
  z-index:190!important;
}

.mainnav{
  position:relative;
  z-index:100;
}

/* =========================================================
   RMAG GLOBAL CATEGORY MEGA MENU
   ========================================================= */

.shell-mega-overlay{
  position:fixed;
  z-index:180;
  top:126px;
  left:0;
  right:0;
  bottom:0;
  background:rgba(15,23,42,.42);
}

.shell-mega{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  width:min(var(--max),calc(100% - 28px));
  max-height:78vh;
  margin:0 auto;
  background:#fff;
  border-radius:0 0 16px 16px;
  box-shadow:0 25px 65px rgba(15,23,42,.22);
  overflow:hidden;
}

.shell-mega-roots{
  padding:12px 0;
  background:#f7f9fb;
  border-right:1px solid #e5e9ef;
  overflow:auto;
}

.shell-mega-roots button{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 16px;
  border:0;
  background:transparent;
  color:#344054;
  text-align:left;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.shell-mega-roots button:hover,
.shell-mega-roots button.active{
  background:#fff;
  color:#0877b7;
}

.shell-mega-roots button.active{
  box-shadow:inset 3px 0 0 #0877b7;
}

.shell-mega-roots button b{
  font-size:18px;
  font-weight:400;
}

.shell-mega-body{
  min-width:0;
  padding:22px 24px 28px;
  overflow:auto;
}

.shell-mega-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding-bottom:16px;
  margin-bottom:18px;
  border-bottom:1px solid #e8edf1;
}

.shell-mega-title small{
  display:block;
  margin-bottom:5px;
  color:#98a2b3;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
}

.shell-mega-title h3{
  margin:0;
  color:#17202a;
  font-size:22px;
}

.shell-mega-title>a{
  white-space:nowrap;
  font-size:11px;
  font-weight:850;
  color:#0877b7;
}

.shell-mega-columns{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px 22px;
  align-items:start;
}

.shell-mega-branch{
  min-width:0;
  padding-bottom:12px;
}

.shell-mega-branch-title{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding-bottom:8px;
  margin-bottom:5px;
  border-bottom:1px solid #edf1f4;
  color:#1d2939;
  font-size:12px;
  font-weight:900;
}

.shell-mega-branch-title:hover{
  color:#0877b7;
}

.shell-tree-node>a{
  display:block;
  padding:4px 0;
  color:#52606d;
  font-size:11px;
  line-height:1.35;
}

.shell-tree-node>a:hover{
  color:#0877b7;
}

.shell-tree-children{
  margin-left:10px;
  padding-left:9px;
  border-left:1px solid #e6ebef;
}

.shell-tree-node.depth-1>a{
  font-size:10.5px;
  color:#667085;
}

.shell-tree-node.depth-2>a,
.shell-tree-node.depth-3>a,
.shell-tree-node.depth-4>a{
  font-size:10px;
  color:#7c8794;
}

.shell-mega-empty{
  padding:30px;
  text-align:center;
  color:#667085;
}

@media(max-width:950px){
  .shell-mega{
    grid-template-columns:220px minmax(0,1fr);
  }

  .shell-mega-columns{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:700px){
  .shell-mega-overlay{
    top:112px;
  }

  .shell-mega{
    width:100%;
    grid-template-columns:1fr;
    max-height:calc(100vh - 112px);
    border-radius:0;
  }

  .shell-mega-roots{
    display:flex;
    gap:4px;
    overflow-x:auto;
    overflow-y:hidden;
    border-right:0;
    border-bottom:1px solid #e5e9ef;
    padding:7px;
  }

  .shell-mega-roots button{
    width:auto;
    min-width:max-content;
    padding:9px 11px;
    border-radius:8px;
  }

  .shell-mega-roots button b{
    display:none;
  }

  .shell-mega-roots button.active{
    box-shadow:none;
    background:#fff;
  }

  .shell-mega-body{
    padding:16px;
  }

  .shell-mega-columns{
    grid-template-columns:1fr;
  }

  .shell-mega-title h3{
    font-size:18px;
  }
}

/* RMAG PRODUCT LIGHTBOX */
.product-main-clickable{
  cursor:zoom-in;
}

.product-lightbox{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.92);
}

.product-lightbox[hidden]{
  display:none;
}

.product-lightbox img{
  width:auto;
  height:auto;
  max-width:94vw;
  max-height:92vh;
  object-fit:contain;
  border-radius:8px;
}

.product-lightbox-close{
  position:fixed;
  top:18px;
  right:24px;
  z-index:2;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:34px;
  line-height:1;
  cursor:pointer;
}

.product-lightbox-close:hover{
  background:rgba(255,255,255,.24);
}

/* =========================================================
   RMAG CATEGORY NAVIGATION V2 — DESKTOP
   ========================================================= */

@media(min-width:701px){

  .shell-mega-overlay{
    overflow:hidden;
  }

  .shell-mega{
    height:calc(100dvh - 126px);
    max-height:78vh;
    min-height:0;
  }

  .shell-mega-roots,
  .shell-mega-body{
    min-height:0;
    height:100%;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }

  .shell-mega-body{
    position:relative;
  }

  .shell-mega-title{
    position:sticky;
    top:-22px;
    z-index:4;
    margin-left:-24px;
    margin-right:-24px;
    padding:22px 24px 16px;
    background:#fff;
  }

  .shell-mega-roots{
    scrollbar-width:thin;
  }

  .shell-mega-body{
    scrollbar-width:thin;
  }

  body.shell-mega-open{
    overflow:hidden;
  }
}

/* RMAG HOMEPAGE MEGA — QUICK ACCESS */
.mega-quick{
  align-self:start;
}

.mega-quick-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:16px;
}

.mega-quick-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 10px;
  border-radius:8px;
  background:rgba(255,255,255,.14);
  color:inherit;
  font-size:11px;
  font-weight:850;
  text-decoration:none;
}

.mega-quick-links a:hover{
  background:rgba(255,255,255,.24);
}

.mega-quick-links a b{
  margin:0;
  font-size:14px;
}

/* RMAG BRAND DIRECTORY V2 */
.brand-directory-tools{
  position:sticky;
  top:136px;
  z-index:20;
  display:grid;
  gap:12px;
  padding:14px;
  margin-bottom:22px;
  background:rgba(255,255,255,.96);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 8px 26px rgba(15,23,42,.07);
}

.brand-directory-search{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
}

.brand-directory-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  font-size:14px;
}

.brand-directory-search strong{
  color:#667085;
  font-size:12px;
}

.brand-alpha-nav{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.brand-alpha-nav a{
  min-width:30px;
  height:30px;
  padding:0 8px;
  display:grid;
  place-items:center;
  border:1px solid #e3e8ee;
  border-radius:8px;
  background:#f8fafc;
  color:#475467;
  font-size:11px;
  font-weight:900;
}

.brand-alpha-nav a:hover{
  border-color:#0d75b8;
  color:#0d75b8;
  background:#eef8fc;
}

.brand-directory-page{
  display:grid;
  gap:28px;
}

.brand-letter-section{
  scroll-margin-top:235px;
}

.brand-letter-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:15px;
  margin-bottom:10px;
  border-bottom:1px solid #e7ecf1;
}

.brand-letter-head h2{
  margin:0;
  padding-bottom:8px;
  font-size:29px;
}

.brand-letter-head span{
  padding-bottom:10px;
  color:#98a2b3;
  font-size:11px;
}

.brand-letter-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}

.brand-directory-card{
  min-height:84px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}

.brand-directory-card:hover{
  border-color:#8fc8e1;
  box-shadow:var(--shadow2);
}

.brand-directory-logo{
  width:64px;
  height:48px;
  flex:0 0 64px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#f7f9fb;
}

.brand-directory-logo img{
  max-width:54px;
  max-height:34px;
  object-fit:contain;
}

.brand-directory-name{
  color:#344054;
  font-size:12px;
  font-weight:850;
}

@media(max-width:1000px){
  .brand-letter-grid{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:640px){
  .brand-directory-tools{position:static}
  .brand-letter-grid{grid-template-columns:repeat(2,1fr)}
  .brand-directory-card{min-height:72px;padding:9px}
  .brand-directory-logo{width:48px;height:42px;flex-basis:48px}
}

/* =========================================================
   RMAG HOMEPAGE HERO — MOBILE FIX
   ========================================================= */

@media(max-width:930px){

  .hero{
    min-height:0;
  }

  .hero-copy{
    max-width:none;
    width:100%;
    padding:48px 28px 22px;
  }

  .hero-actions{
    position:relative;
    z-index:5;
  }

  .hero-panels{
    position:relative;
    right:auto;
    bottom:auto;
    width:auto;
    margin:8px 24px 54px;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    align-items:stretch;
  }

  .hero-card,
  .hero-card:nth-child(2){
    width:auto;
    transform:none;
  }

  .hero-card:nth-child(3){
    display:none;
  }

  .hero-card-img{
    height:70px;
    font-size:36px;
  }

  .dots{
    left:28px;
    bottom:20px;
  }
}

@media(max-width:640px){

  .hero-copy{
    padding:36px 20px 18px;
  }

  .hero h1{
    font-size:40px;
    line-height:1.04;
  }

  .hero p{
    font-size:15px;
    line-height:1.5;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
    margin-top:22px;
  }

  .hero-actions .btn{
    width:100%;
    min-height:46px;
    text-align:center;
  }

  .hero-panels{
    margin:10px 18px 52px;
  }

  .hero-card{
    padding:10px;
    border-radius:13px;
  }

  .hero-card-img{
    height:58px;
    font-size:31px;
  }
}

/* RMAG HERO CATEGORY LINKS */
.hero-panels a.hero-card{
  text-decoration:none;
  cursor:pointer;
}

.hero-panels a.hero-card:focus-visible{
  outline:3px solid rgba(255,255,255,.85);
  outline-offset:3px;
}
