:root{
  --bg:#f4f8fc;
  --surface:#ffffff;
  --ink:#172033;
  --muted:#6d7b93;
  --line:#d9e3ef;
  --primary:#0b8fe9;
  --primary-dark:#232b51;
  --accent:#19a6f5;
  --success:#22b573;
  --sand:#f4e1c5;
  --radius:26px;
  --shadow:0 22px 60px rgba(23,32,51,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Inter",sans-serif;
  background:linear-gradient(180deg,#f7fbff 0%,#eef4fa 100%);
  color:var(--ink);
}
a{text-decoration:none;color:inherit}
.container{width:min(1280px,calc(100% - 48px));margin:0 auto}
.count-badge{
  display:inline-flex;
  min-width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
  padding:0 7px;
  border-radius:999px;
  background:#0e96ec;
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.topbar{
  background:#fff;
  border-bottom:1px solid var(--line);
  font-size:13px;
  color:var(--muted);
}
.topbar-inner,.site-header-inner,.service-grid,.section-heading,.topbar-links,.header-actions,.category-pills,.hero-grid,.hero-cta,.product-grid,.circle-grid,.brand-grid{
  display:flex;
}
.topbar-inner{
  justify-content:space-between;
  align-items:center;
  min-height:44px;
}
.topbar-links{gap:24px}

.site-header{
  background:#fff;
  position:sticky;
  top:0;
  z-index:10;
  border-bottom:1px solid var(--line);
}
.site-header-inner{
  align-items:center;
  gap:28px;
  padding:18px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:220px;
}
.brand-mark{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0b8fe9,#3db5ff);
  color:#fff;
  font-weight:800;
  font-size:22px;
}
.brand-copy{
  display:flex;
  flex-direction:column;
}
.brand-copy strong{font-size:28px;line-height:1}
.brand-copy small{font-size:13px;color:var(--muted);margin-top:4px}

.search-shell{
  flex:1;
  background:#f2f7fb;
  border:1px solid #deebf5;
  border-radius:18px;
  padding:8px 12px 8px 10px;
  display:flex;
  align-items:center;
  gap:12px;
}
.search-shell input{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  font:500 15px/1.4 inherit;
  color:var(--ink);
}
.search-icon{
  width:36px;
  height:36px;
  border:0;
  border-radius:12px;
  background:#fff;
  position:relative;
  cursor:pointer;
}
.search-icon span,
.search-icon span::after{
  content:"";
  position:absolute;
}
.search-icon span{
  width:13px;
  height:13px;
  border:2px solid var(--primary);
  border-radius:50%;
  left:10px;
  top:8px;
}
.search-icon span::after{
  width:8px;
  height:2px;
  background:var(--primary);
  transform:rotate(45deg);
  right:-5px;
  bottom:-3px;
}
.header-actions{
  gap:20px;
  min-width:240px;
  justify-content:flex-end;
  font-weight:600;
  color:#38506d;
}
.header-actions a{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.account-menu{
  position:relative;
}
.account-trigger{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
}
.account-trigger::after{
  content:"";
  width:8px;
  height:8px;
  margin-left:6px;
  border-right:2px solid #6f7d95;
  border-bottom:2px solid #6f7d95;
  transform:rotate(45deg) translateY(-1px);
}
.account-dropdown{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  min-width:180px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:10px;
  display:none;
  z-index:30;
}
.account-menu.open .account-dropdown{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.account-dropdown a,
.account-dropdown button{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 14px;
  border-radius:12px;
  color:#26405b;
  font:600 14px/1.2 inherit;
  background:transparent;
  border:0;
  text-align:left;
  cursor:pointer;
}
.account-dropdown a:hover,
.account-dropdown button:hover{
  background:#f3f8fc;
}
.icon-link{
  min-width:auto;
}
.account-avatar{
  display:inline-flex;
  width:28px;
  height:28px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:linear-gradient(135deg,#0e96ec,#2fc1ff);
  color:#fff;
  font-size:0;
  font-weight:800;
  position:relative;
  overflow:hidden;
}
.account-avatar::before{
  content:"";
  position:absolute;
  top:5px;
  left:50%;
  width:8px;
  height:8px;
  margin-left:-4px;
  border-radius:50%;
  background:#fff;
}
.account-avatar::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:4px;
  width:15px;
  height:9px;
  margin-left:-7.5px;
  border-radius:10px 10px 5px 5px;
  background:#fff;
}
.account-avatar.large{
  width:64px;
  height:64px;
}
.account-avatar.large::before{
  top:12px;
  width:18px;
  height:18px;
  margin-left:-9px;
}
.account-avatar.large::after{
  width:32px;
  height:20px;
  margin-left:-16px;
  bottom:9px;
}
.nav-icon{
  display:inline-flex;
  width:20px;
  justify-content:center;
  font-size:17px;
  line-height:1;
}

.category-strip{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.category-pills{
  flex-wrap:wrap;
  gap:12px;
  padding:18px 0 22px;
}
.category-pills a{
  height:40px;
  padding:0 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  background:#f6f9fc;
  color:#30425c;
  font-weight:600;
  border:1px solid #deebf5;
}
.category-pills a:first-child{
  background:linear-gradient(135deg,#0ea1f2,#0d79ea);
  color:#fff;
  border-color:transparent;
}

.storefront{padding:28px 0 70px}
.page-shell{padding-top:34px}
.page-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:26px;
}
.page-header h1{
  margin:0;
  font-size:52px;
  letter-spacing:-.04em;
}
.page-summary{
  max-width:560px;
  color:var(--muted);
  line-height:1.6;
}
.hero-grid{
  gap:24px;
  align-items:stretch;
}
.hero-full{
  width:100%;
}
.hero-primary{
  position:relative;
  flex:1 1 auto;
  min-height:340px;
  border-radius:var(--radius);
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 20%,rgba(255,255,255,.08),transparent 20%),
    radial-gradient(circle at 75% 60%,rgba(255,255,255,.06),transparent 28%),
    linear-gradient(135deg,#262f57,#20294d);
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
}
.hero-copy{padding:48px 52px}
.eyebrow{
  display:inline-block;
  font-size:18px;
  color:#d8ddf4;
  margin-bottom:14px;
}
.hero-primary h1{
  margin:0;
  font-size:74px;
  line-height:.95;
  letter-spacing:-.04em;
  color:#fff;
}
.hero-primary p{
  margin:18px 0 0;
  max-width:520px;
  color:#d3d9f2;
  font-size:20px;
  line-height:1.55;
}
.hero-cta{gap:14px;margin-top:30px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:52px;
  padding:0 20px;
  border-radius:16px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.14);
}
.btn-light{background:#fff;color:#172033}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff}
.hero-visual{
  display:flex;
  justify-content:center;
  align-items:center;
}
.watch-card{
  width:290px;
  height:290px;
  border-radius:90px;
  background:radial-gradient(circle at 50% 35%,#6775a5,#31385c 70%);
  position:relative;
  box-shadow:inset 0 0 0 16px rgba(255,255,255,.05);
}
.watch-card::before,
.watch-card::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:130px;
  height:58px;
  background:#4e5a88;
  border-radius:28px;
}
.watch-card::before{top:-34px}
.watch-card::after{bottom:-34px}
.watch-face{
  position:absolute;
  inset:55px;
  border-radius:46px;
  background:#0d1227;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 0 0 6px #20294a;
}
.watch-face span{
  color:#fff;
  font-size:44px;
  font-weight:800;
}
.watch-face small{
  color:#a4aed5;
  font-weight:700;
  letter-spacing:.12em;
}
.hero-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:62px;
  height:62px;
  border:0;
  border-radius:50%;
  background:#f7fbff;
  box-shadow:var(--shadow);
}
.hero-nav.left{left:-20px}
.hero-nav.right{right:-20px}
.hero-nav::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:12px;
  height:12px;
  border-top:2px solid #2f74b7;
  border-right:2px solid #2f74b7;
}
.hero-nav.left::before{transform:translate(-40%,-50%) rotate(-135deg)}
.hero-nav.right::before{transform:translate(-60%,-50%) rotate(45deg)}

.service-bar{padding:34px 0}
.service-grid{
  gap:20px;
}
.service-grid>div{
  flex:1;
  background:#fff;
  border-radius:22px;
  padding:22px 24px;
  border:1px solid var(--line);
}
.service-grid strong{
  display:block;
  font-size:16px;
  margin-bottom:6px;
}
.service-grid span{
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.catalog-section,.categories-section,.brands-section{padding:22px 0}
.section-heading{
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:22px;
}
.section-heading .kicker{
  display:block;
  color:#5f86b1;
  font-size:14px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:8px;
}
.section-heading h2{
  margin:0;
  font-size:42px;
  letter-spacing:-.03em;
}
.section-heading a{
  color:var(--primary);
  font-weight:700;
}

.product-grid{
  gap:18px;
  align-items:stretch;
}
.product-card{
  flex:1;
  min-width:0;
  position:relative;
  background:#fff;
  border-radius:24px;
  padding:20px;
  border:1px solid #e5edf6;
  box-shadow:var(--shadow);
}
.product-card.featured{outline:2px solid #b8d9f8}
.badge{
  position:absolute;
  top:0;
  right:18px;
  transform:translateY(-8px);
  background:#09a1f0;
  color:#fff;
  border-radius:0 0 12px 12px;
  padding:9px 10px;
  font-size:12px;
  font-weight:800;
}
.product-image{
  height:220px;
  border-radius:20px;
  margin-bottom:18px;
  background:#eef4fb;
  position:relative;
  overflow:hidden;
}
.product-image::before{
  content:"";
  position:absolute;
  left:50%;
  top:18px;
  transform:translateX(-50%);
  width:95px;
  height:185px;
  border-radius:26px;
  background:linear-gradient(180deg,#d7f5ff,#7ad1ff);
  box-shadow:inset 0 0 0 5px #1a2440;
}
.product-image::after{
  content:"";
  position:absolute;
  left:50%;
  top:28px;
  transform:translateX(-50%);
  width:77px;
  height:163px;
  border-radius:19px;
  background:linear-gradient(180deg,#7eeadf,#4db8ff);
}
.phone-purple::after{background:linear-gradient(180deg,#f056f4,#6f62ff)}
.phone-blue::after{background:linear-gradient(180deg,#629bff,#2249d3)}
.phone-silver::after{background:linear-gradient(180deg,#eff4ff,#9db6ff)}
.phone-dark::after{background:linear-gradient(180deg,#6eb08f,#214b36)}
.product-card h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.2;
}
.card-actions{
  display:flex;
  gap:10px;
  margin-top:18px;
}
.mini-btn{
  flex:1;
  height:44px;
  border:0;
  border-radius:14px;
  background:#11233e;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.mini-btn-secondary{
  background:#edf4fb;
  color:#26405b;
}
.product-card p{
  margin:0;
  font-size:24px;
  font-weight:800;
}
.product-card s{
  color:#8ca0b8;
  font-weight:600;
  margin-left:8px;
  font-size:18px;
}
.product-card small{
  display:block;
  margin-top:10px;
  color:#23a262;
  font-weight:700;
}

.circle-grid{
  gap:18px;
  justify-content:space-between;
}
.circle-card{
  flex:1;
  min-width:0;
  text-align:center;
  color:inherit;
}
.circle-icon{
  width:120px;
  height:120px;
  border-radius:50%;
  margin:0 auto 14px;
  background:#fff;
  border:1px solid #e0eaf4;
  box-shadow:var(--shadow);
  position:relative;
}
.circle-card.active .circle-icon{
  border:2px solid var(--primary);
}
.circle-icon::before{
  content:"";
  position:absolute;
  inset:22px;
  border-radius:28px;
  background:linear-gradient(180deg,#d7f5ff,#4ebeff);
}
.cream-tube::before{
  inset:24px 38px 24px;
  border-radius:18px 18px 12px 12px;
  background:linear-gradient(180deg,#faf8f1,#e9d9c3);
}
.washer-box::before{
  inset:22px;
  border-radius:18px;
  background:linear-gradient(180deg,#979ea8,#444a56);
}
.sofa-box::before{
  inset:34px 20px 26px;
  border-radius:18px;
  background:#d8cfbd;
}
.watch-round::before{
  inset:20px 34px;
  border-radius:24px;
  background:linear-gradient(180deg,#3d4f86,#111936);
}
.plant-box::before{
  inset:28px 34px 18px;
  border-radius:0 0 18px 18px;
  background:#dfe4dd;
}
.plant-box::after{
  content:"";
  position:absolute;
  left:50%;
  top:22px;
  transform:translateX(-50%);
  width:46px;
  height:40px;
  background:radial-gradient(circle at 30% 30%,#8dd07a,#4a9144 60%);
  border-radius:50% 50% 44% 44%;
}
.necklace-box::before{
  inset:26px 30px;
  border-radius:50%;
  background:conic-gradient(from 180deg,#d6b571,#f0d89e,#d0af66);
}
.circle-card h3{
  margin:0;
  font-size:20px;
}

.brand-grid{gap:18px}
.brand-banner{
  flex:1;
  min-height:220px;
  border-radius:24px;
  padding:24px;
  color:#fff;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.brand-banner span{
  display:inline-block;
  align-self:flex-start;
  padding:8px 12px;
  border-radius:12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  background:rgba(255,255,255,.16);
}
.brand-banner h3{
  margin:16px 0 0;
  font-size:38px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:-.03em;
}
.brand-banner.dark{background:linear-gradient(135deg,#202020,#424242)}
.brand-banner.gold{background:linear-gradient(135deg,#f8e3a7,#d0b45e);color:#2d2305}
.brand-banner.peach{background:linear-gradient(135deg,#ffd8c6,#ffc19a);color:#5c2710}

.store-footer{
  border-top:1px solid var(--line);
  background:#fff;
  padding:28px 0;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
}
.footer-grid p{
  max-width:540px;
  color:var(--muted);
  margin:10px 0 0;
}
.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-weight:700;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.filter-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:24px;
}
.filter-pill{
  display:inline-flex;
  align-items:center;
  height:38px;
  padding:0 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:#30425c;
  font-weight:700;
}
.empty-card,
.summary-card,
.auth-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
}
.empty-card{
  padding:28px;
  color:var(--muted);
}
.two-column-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
}
.summary-card{
  padding:28px;
}
.summary-card h2{
  margin:10px 0 14px;
  font-size:36px;
}
.summary-price{
  font-size:42px;
  font-weight:800;
  margin-bottom:20px;
}
.summary-note{
  color:var(--muted);
  line-height:1.65;
}
.stack-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.line-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:18px;
  padding:20px 22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
}
.line-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.line-copy span{
  color:var(--muted);
}
.line-controls{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
}
.qty-btn{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#f5f9fd;
  cursor:pointer;
}
.line-price{
  font-size:22px;
  font-weight:800;
}
.auth-shell{
  padding-top:60px;
}
.auth-card{
  max-width:720px;
  margin:0 auto;
  padding:34px;
}
.account-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
}
.auth-card h1{
  margin:10px 0 10px;
  font-size:42px;
}
.auth-card p{
  color:var(--muted);
  line-height:1.65;
}
.stack-form{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:24px;
}
.stack-form label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-weight:700;
}
.stack-form input{
  height:52px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:0 16px;
  font:inherit;
}
.btn-dark{
  background:#11233e;
  color:#fff;
  border-color:#11233e;
}
.status-line{
  margin-top:18px;
  color:#11764e;
  font-weight:700;
}
.special-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.account-summary-header{
  display:flex;
  align-items:center;
  gap:16px;
  margin:14px 0 22px;
}
.account-summary-header p{
  margin:6px 0 0;
  color:var(--muted);
}
.account-meta{
  display:grid;
  gap:16px;
}
.account-meta div{
  padding-top:14px;
  border-top:1px solid var(--line);
}
.account-meta span{
  display:block;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:6px;
}
.account-meta strong{
  font-size:18px;
}
.bullet-list{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.8;
}

body[data-page="home"] .header-actions a:nth-child(1),
body[data-page="catalog"] .header-actions a:nth-child(1),
body[data-page="orders"] .header-actions a:nth-child(2),
body[data-page="cart"] .header-actions a:nth-child(4),
body[data-page="favorites"] .header-actions a:nth-child(3),
body[data-page="signin"] .header-actions a:nth-child(1){
  color:#0e96ec;
}

@media (max-width: 1180px){
  .hero-grid,.service-grid,.product-grid,.circle-grid,.brand-grid{flex-wrap:wrap}
  .hero-primary{grid-template-columns:1fr;min-height:auto}
  .hero-visual{padding:0 0 40px}
  .product-card,.circle-card,.brand-banner{flex:1 1 calc(50% - 18px)}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .two-column-shell,.special-grid,.account-layout{grid-template-columns:1fr}
}

@media (max-width: 860px){
  .container{width:min(100% - 28px,1280px)}
  .site-header-inner,.topbar-inner,.header-actions,.search-shell,.section-heading{display:block}
  .topbar-inner{text-align:center;padding:10px 0}
  .topbar-links{display:none}
  .site-header-inner{padding:16px 0}
  .brand{margin-bottom:16px}
  .search-shell{margin-bottom:14px}
  .header-actions{
    display:flex;
    gap:14px;
    justify-content:flex-start;
  }
  .category-pills{overflow:auto;flex-wrap:nowrap;padding-bottom:16px}
  .hero-copy{padding:36px 26px}
  .hero-primary h1{font-size:52px}
  .hero-primary p{font-size:18px}
  .hero-nav{display:none}
  .section-heading{margin-bottom:18px}
  .section-heading h2{font-size:30px}
  .section-heading a{display:inline-block;margin-top:12px}
  .product-card,.circle-card,.brand-banner{flex:1 1 100%}
  .catalog-grid{grid-template-columns:1fr}
  .circle-grid{justify-content:flex-start}
  .footer-grid,.page-header,.line-card{
    display:block;
  }
  .line-price,
  .line-controls{
    margin-top:14px;
  }
}
