*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,
body{
  width:100%;
  min-height:100%;
  overflow-x:hidden;
}

:root{
  --bg:#000000;
  --surface:#15191c;
  --surface-soft:#0f1113;
  --white:#ffffff;
  --black:#000000;
  --text:#f5f5f5;
  --muted:#c8c8c8;
  --muted-2:#9b9b9b;
  --line:rgba(255,255,255,0.13);
  --line-strong:rgba(255,255,255,0.28);
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:"Inter", Arial, Helvetica, sans-serif;
  line-height:1.45;
  font-weight:500;
}

/* ================= SIDE MENU ================= */

.menu-overlay{
  position:fixed;
  inset:0;
  z-index:180;
  background:rgba(0,0,0,.62);
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease, visibility .2s ease;
}

.menu-overlay.active{
  opacity:1;
  visibility:visible;
}

.side-menu{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  z-index:220;
  width:min(370px, 88vw);
  background:#050505;
  border-right:1px solid var(--line);
  transform:translateX(-100%);
  transition:transform .22s ease;
  overflow-y:auto;
}

.side-menu.active{
  transform:translateX(0);
}

body.menu-open{
  overflow:hidden;
}

.side-menu-head{
  height:82px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}

.side-menu-head img{
  height:36px;
  width:auto;
  max-width:185px;
  display:block;
  object-fit:contain;
}

.side-menu-head button{
  width:40px;
  height:40px;
  border:1px solid var(--line);
  background:#111111;
  color:#ffffff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

.side-menu-head button:hover{
  background:#ffffff;
  color:#050505;
}

.side-menu-links{
  padding:14px;
  display:grid;
  gap:4px;
}

.side-menu-label{
  padding:18px 12px 6px;
  color:#ffffff;
  font-size:11px;
  font-weight:750;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.side-menu-label:first-child{
  padding-top:4px;
}

.side-menu-links a{
  min-height:48px;
  padding:0 12px;
  display:flex;
  align-items:center;
  color:#ffffff;
  text-decoration:none;
  font-size:15px;
  font-weight:650;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.side-menu-links a:hover{
  background:#111111;
}

.side-menu-links .side-menu-main{
  margin-top:12px;
  justify-content:center;
  background:#ffffff;
  color:#050505;
  border-bottom:none;
  border-radius:999px;
  font-weight:750;
}

.side-menu-links .side-menu-main:hover{
  background:#e8e8e8;
}

/* ================= HEADER ================= */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:#050505;
  border-bottom:1px solid var(--line);
}

.top-header{
  width:min(1600px, calc(100% - 40px));
  min-height:78px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto auto minmax(0, 1fr) auto;
  align-items:center;
  gap:18px;
}

.menu-button{
  width:42px;
  height:42px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  background:transparent;
  border:1px solid transparent;
  cursor:pointer;
}

.menu-button:hover{
  border-color:var(--line);
}

.menu-button span{
  width:20px;
  height:2px;
  background:#ffffff;
  display:block;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex:0 0 auto;
}

.brand img{
  height:34px;
  width:auto;
  max-width:178px;
  display:block;
  object-fit:contain;
}

.desktop-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  min-width:0;
  overflow-x:auto;
}

.desktop-nav::-webkit-scrollbar{
  display:none;
}

.desktop-nav a{
  height:42px;
  padding:0 13px;
  display:flex;
  align-items:center;
  color:#ffffff;
  text-decoration:none;
  font-size:15px;
  font-weight:650;
  white-space:nowrap;
}

.desktop-nav a:hover{
  text-decoration:underline;
  text-underline-offset:5px;
}

.account-actions{
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:flex-end;
}

.header-link,
.header-btn{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#ffffff;
  text-decoration:none;
  font-size:14px;
  font-weight:650;
  white-space:nowrap;
}

.header-link:hover{
  text-decoration:underline;
  text-underline-offset:5px;
}

.header-btn{
  height:42px;
  padding:0 20px;
  background:#ffffff;
  color:#050505;
  border:1px solid #ffffff;
  border-radius:999px;
  font-weight:750;
}

.header-btn:hover{
  background:#e8e8e8;
  border-color:#e8e8e8;
}

/* ================= PAGE ================= */

.store-page{
  width:min(1500px, calc(100% - 40px));
  margin:26px auto 104px;
}

.breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:24px;
  color:#cfcfcf;
  font-size:13px;
  font-weight:500;
}

.breadcrumb a{
  color:#ffffff;
  text-decoration:none;
}

.breadcrumb a:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

/* ================= STORE HEADER ================= */

.store-header{
  display:grid;
  grid-template-columns:136px minmax(0, 1fr);
  gap:28px;
  align-items:start;
  padding:34px 0 44px;
  margin-bottom:30px;
  border-bottom:1px solid var(--line);
}

.seller-avatar{
  width:136px;
  height:136px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid var(--line-strong);
}

.seller-main{
  min-width:0;
}

.section-label{
  margin-bottom:16px;
  color:#ffffff;
  font-size:13px;
  line-height:1;
  font-weight:750;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.seller-main h1{
  max-width:980px;
  color:#ffffff;
  font-size:clamp(52px, 6.5vw, 104px);
  line-height:.92;
  letter-spacing:-0.065em;
  font-weight:760;
  margin-bottom:22px;
  word-break:break-word;
}

.seller-bio{
  max-width:820px;
  color:#ffffff;
  font-size:18px;
  line-height:1.65;
  font-weight:500;
  letter-spacing:-0.01em;
}

.muted{
  color:#cfcfcf;
}

.seller-actions{
  margin-top:28px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.seller-action{
  min-height:48px;
  padding:0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  text-decoration:none;
  font-size:15px;
  font-weight:750;
  white-space:nowrap;
}

.seller-action.primary{
  background:#ffffff;
  color:#050505;
  border:1px solid #ffffff;
}

.seller-action.primary:hover{
  background:#e8e8e8;
  border-color:#e8e8e8;
}

.seller-action.secondary{
  background:transparent;
  color:#ffffff;
  border:1px solid var(--line-strong);
}

.seller-action.secondary:hover{
  border-color:#ffffff;
}

/* ================= PRODUCTS HEADER ================= */

.store-products{
  width:100%;
}

.products-head{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding-bottom:20px;
  margin-bottom:24px;
  border-bottom:1px solid var(--line);
}

.products-head p{
  margin-bottom:7px;
  color:#ffffff;
  font-size:13px;
  font-weight:750;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.products-head h2{
  color:#ffffff;
  font-size:30px;
  line-height:1;
  letter-spacing:-0.035em;
  font-weight:650;
}

.products-head a{
  min-height:44px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  color:#050505;
  border-radius:999px;
  text-decoration:none;
  font-size:14px;
  font-weight:750;
  white-space:nowrap;
}

.products-head a:hover{
  background:#e8e8e8;
}

/* ================= PRODUCT GRID ================= */

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(255px, 1fr));
  gap:34px 22px;
}

.product-card{
  min-width:0;
}

.product-image{
  position:relative;
  width:100%;
  aspect-ratio:1 / .82;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111111;
  border:1px solid var(--line);
  overflow:hidden;
  border-radius:18px;
  text-decoration:none;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .18s ease;
}

.product-card:hover .product-image{
  border-color:#ffffff;
}

.product-card:hover .product-image img{
  transform:scale(1.02);
}

.save-button{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  color:#111111;
  border-radius:999px;
  font-size:22px;
  line-height:1;
  font-weight:500;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}

.product-details{
  padding-top:12px;
}

.product-type{
  margin-bottom:6px;
  color:#ffffff;
  font-size:11px;
  font-weight:750;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.product-title{
  min-height:44px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  color:#ffffff;
  text-decoration:none;
  font-size:17px;
  line-height:1.3;
  letter-spacing:-0.025em;
  font-weight:650;
}

.product-title:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

.seller-line{
  margin-top:7px;
  color:#dddddd;
  font-size:13px;
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.product-price{
  margin-top:11px;
  display:flex;
  align-items:baseline;
  gap:7px;
  flex-wrap:wrap;
}

.product-price strong{
  color:#ffffff;
  font-size:22px;
  line-height:1;
  letter-spacing:-0.035em;
  font-weight:700;
}

.product-price span{
  color:#ffffff;
  font-size:12px;
  font-weight:600;
  text-transform:lowercase;
}

/* ================= EMPTY ================= */

.empty-state{
  padding:34px;
  background:#15191c;
  border-radius:24px;
}

.empty-state h3{
  color:#ffffff;
  font-size:32px;
  line-height:1;
  letter-spacing:-0.045em;
  font-weight:700;
  margin-bottom:12px;
}

.empty-state p{
  max-width:560px;
  color:#ffffff;
  font-size:16px;
  line-height:1.6;
  font-weight:500;
  margin-bottom:20px;
}

.empty-state a{
  min-height:44px;
  padding:0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  color:#050505;
  border-radius:999px;
  text-decoration:none;
  font-size:14px;
  font-weight:750;
}

.empty-state a:hover{
  background:#e8e8e8;
}

/* ================= MOBILE BOTTOM NAV ================= */

.mobile-bottom-nav{
  display:none;
}

/* ================= TABLET ================= */

@media(max-width:1180px){

  .top-header{
    width:calc(100% - 28px);
    min-height:auto;
    padding:12px 0;
    grid-template-columns:auto auto 1fr;
  }

  .brand img{
    height:32px;
    max-width:168px;
  }

  .desktop-nav{
    grid-column:1 / -1;
    justify-content:flex-start;
  }

  .account-actions{
    justify-self:end;
  }

  .store-page{
    width:calc(100% - 28px);
  }

}

/* ================= PHONE ================= */

@media(max-width:768px){

  body{
    padding-bottom:72px;
  }

  .top-header{
    width:calc(100% - 18px);
    min-height:58px;
    padding:8px 0;
    display:flex;
    flex-wrap:nowrap;
    gap:8px;
  }

  .menu-button{
    width:36px;
    height:36px;
  }

  .brand img{
    height:28px;
    max-width:128px;
  }

  .desktop-nav{
    display:none;
  }

  .account-actions{
    margin-left:auto;
    gap:7px;
  }

  .header-link{
    display:none;
  }

  .header-btn{
    height:34px;
    padding:0 12px;
    font-size:12px;
  }

  .store-page{
    width:calc(100% - 18px);
    margin:18px auto 90px;
  }

  .breadcrumb{
    margin-bottom:16px;
    font-size:12px;
  }

  .store-header{
    grid-template-columns:1fr;
    gap:18px;
    padding:24px 0 32px;
    margin-bottom:22px;
  }

  .seller-avatar{
    width:92px;
    height:92px;
  }

  .section-label{
    margin-bottom:12px;
    font-size:11px;
  }

  .seller-main h1{
    font-size:42px;
    line-height:.98;
    letter-spacing:-0.05em;
    margin-bottom:16px;
  }

  .seller-bio{
    font-size:15px;
    line-height:1.65;
  }

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

  .seller-action{
    width:100%;
    min-height:46px;
    font-size:14px;
  }

  .products-head{
    min-height:auto;
    align-items:flex-end;
    margin-bottom:16px;
  }

  .products-head p{
    font-size:10.5px;
    margin-bottom:6px;
  }

  .products-head h2{
    font-size:20px;
  }

  .products-head a{
    min-height:36px;
    padding:0 12px;
    font-size:12px;
  }

  .product-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px 12px;
  }

  .product-image{
    aspect-ratio:1 / .94;
    border-radius:14px;
  }

  .save-button{
    width:30px;
    height:30px;
    top:8px;
    right:8px;
    font-size:18px;
  }

  .product-details{
    padding-top:9px;
  }

  .product-type{
    font-size:9.5px;
    margin-bottom:5px;
    letter-spacing:.09em;
  }

  .seller-line{
    font-size:11.5px;
    margin-top:5px;
  }

  .product-title{
    min-height:38px;
    font-size:13.5px;
    line-height:1.34;
  }

  .product-price{
    margin-top:9px;
  }

  .product-price strong{
    font-size:18px;
  }

  .product-price span{
    font-size:10.5px;
  }

  .empty-state{
    padding:24px;
    border-radius:20px;
  }

  .empty-state h3{
    font-size:28px;
  }

  .empty-state p{
    font-size:15px;
  }

  .mobile-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:120;
    height:64px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    background:#050505;
    border-top:1px solid var(--line);
  }

  .mobile-bottom-nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
    text-decoration:none;
    font-size:12px;
    font-weight:700;
  }

  .mobile-bottom-nav a.active,
  .mobile-bottom-nav a:hover{
    text-decoration:underline;
    text-underline-offset:4px;
  }

}

/* ================= SMALL PHONE ================= */

@media(max-width:420px){

  .top-header,
  .store-page{
    width:calc(100% - 14px);
  }

  .brand img{
    height:26px;
    max-width:118px;
  }

  .header-btn{
    padding:0 10px;
  }

  .seller-main h1{
    font-size:38px;
  }

  .product-grid{
    gap:20px 10px;
  }

  .product-title{
    font-size:12.8px;
  }

}

/* ================= VERY SMALL PHONE ================= */

@media(max-width:360px){

  .brand img{
    height:24px;
    max-width:108px;
  }

  .header-btn{
    height:32px;
    padding:0 8px;
    font-size:11px;
  }

  .seller-main h1{
    font-size:35px;
  }

  .product-grid{
    grid-template-columns:1fr;
  }

  .product-image{
    aspect-ratio:1 / .72;
  }

  .product-title{
    font-size:14px;
  }

}