:root{
  --bg: #f4f1ee;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --nav: #111827;
  --primary: #2b2f45;
  --accent: #ff7a3d;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

*{ box-sizing: border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 238, 0.85);
  backdrop-filter: blur(10px);
}
.topbar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display:flex;
  align-items:center;
  gap: 22px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--nav);
  font-weight: 800;
  letter-spacing: .2px;
}
.brand-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  display:inline-block;
}
.nav{
  display:flex;
  gap: 18px;
  margin-left: 18px;
}
.nav-link{
  text-decoration:none;
  color: rgba(17, 24, 39, 0.7);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav-link.active, .nav-link:hover{
  color: var(--nav);
  background: rgba(255,255,255,.55);
}

.top-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap: 12px;
}
.search{
  position: relative;
  display:flex;
  align-items:center;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.search-icon{
  font-size: 14px;
  opacity:.6;
  margin-right: 8px;
}
.search input{
  border: none;
  outline: none;
  width: 220px;
  background: transparent;
  font-size: 14px;
}
.icon-btn{
  width: 40px;
  height: 40px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  text-decoration:none;
  color: var(--nav);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.avatar{
  width: 40px;
  height: 40px;
  display:block;
  border-radius: 999px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.avatar img{ width:100%; height:100%; object-fit:cover; }

/* Home */
.home{
  padding: 18px 0 60px;
}
.hero-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 10px;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items:center;
}

.hero-title{
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
  margin: 0 0 16px;
  letter-spacing: -1px;
  color: #141a34;
}
.hero-sub{
  max-width: 520px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.hero-cta{
  display:flex;
  align-items:center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration:none;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(43,47,69,.18);
}
.btn-badge{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
}

.mini-card{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mini-card-icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,122,61,.15);
  display:grid;
  place-items:center;
  font-size: 18px;
}
.mini-card-title{ font-weight: 800; font-size: 13px; }
.mini-card-sub{ color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.mini-card-go{
  margin-left: 6px;
  width: 40px;
  height: 40px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration:none;
  font-weight: 800;
}

/* Hero image area */
.hero-right{
  position: relative;
  min-height: 520px;
}
.hero-image{
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
}
.hero-image img{
  width: 110%;
  height: 110%;
  object-fit: contain;
  transform: translateY(10px);
}

.hero-bubbles .bubble{
  position:absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.85;
}
.b1{ width: 18px; height: 18px; background:#ffb84d; top: 70px; left: 30px; }
.b2{ width: 62px; height: 62px; background:#bfe9dc; top: 120px; left: 80px; }
.b3{ width: 120px; height: 120px; background:#e6c7cf; bottom: 90px; right: 40px; opacity: .7; }

/* Feature strip */
.feature-strip{
  margin-top: 18px;
}
.strip-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: stretch;
}
.stat-card{
  background: linear-gradient(135deg, #ff7a3d, #ffb389);
  color: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.stat-big{ font-size: 46px; font-weight: 900; line-height: 1; }
.stat-sub{ margin-top: 6px; opacity: .95; font-weight: 700; }
.stat-avatars{
  margin-top: 14px;
  display:flex;
  align-items:center;
}
.stat-avatars img{
  width: 50px; height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.65);
  margin-right: -10px;
  object-fit: cover;
  background:#fff;
}
.stat-plus{
  margin-left: 8px;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  display:grid;
  place-items:center;
  font-weight: 900;
}

/* Product pill strip */
.product-pill{
  background: #2b2f45;
  border-radius: 22px;
  padding: 12px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  box-shadow: var(--shadow);
}
.pill-item{
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 12px;
  position: relative;
  min-height: 128px;
  overflow:hidden;
}
.pill-name{
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 13px;
}
.pill-price{
  color: rgba(255,255,255,.92);
  font-weight: 900;
  margin-top: 6px;
}
.pill-img{
  position:absolute;
  right: 10px;
  bottom: 10px;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  display:grid;
  place-items:center;
}
.pill-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}
.pill-add{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  cursor:pointer;
  font-weight: 900;
}

/* Footer */
footer{
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px;
  color: rgba(15,23,42,.65);
  text-align:center;
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-right{ min-height: 380px; }
  .hero-image{ height: 380px; }
  .hero-image img{ width: 115%; height: 115%; transform: translateY(8px); }

  .strip-inner{ grid-template-columns: 1fr; }
  .product-pill{ grid-template-columns: repeat(2, 1fr); }
}

/* SHOP PAGE */
.shop-page{
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.shop-title{
  font-size: 34px;
  margin-bottom: 30px;
}

.shop-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.shop-card{
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.shop-card img{
  height: 160px;
  object-fit: contain;
  margin-bottom: 12px;
}

.shop-card h3{
  font-size: 15px;
  margin: 10px 0;
}

.shop-card .price{
  font-weight: 800;
  margin-bottom: 12px;
}

.btn-add{
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: #2b2f45;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.brand-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ff7a3d;
  display:inline-block;
}

.search-pill{
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.search-pill .input-group-text,
.search-pill .form-control{
  height: 44px;
}

.icon-pill{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.avatar-pill{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  display: block;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  background: rgba(255,255,255,0.95);
}
.avatar-pill img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Improve nav active look */
.navbar .nav-link{
  font-weight: 600;
  color: rgba(17,24,39,0.75);
  border-radius: 999px;
  padding: 8px 12px;
}
.navbar .nav-link.active,
.navbar .nav-link:hover{
  color: #111827;
  background: rgba(255,255,255,0.55);
}
.mobile-menu-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  font-weight: 900;
}
/* Half-screen mobile offcanvas */
.offcanvas-half{
  width: 50vw;
  max-width: 420px; /* optional: prevents it from being too big on tablets */
}

/* On very small phones, make it a bit wider */
@media (max-width: 480px){
  .offcanvas-half{
    width: 70vw;
  }
}
/* ===== Home add-ons (keep existing theme) ===== */
.home-more{
  margin-top: 18px;
}

.home-more-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 10px;
}

.home-row{
  margin-top: 18px;
}

.home-h3{
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 12px;
  color: #111827;
}

.row-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.see-all{
  text-decoration:none;
  font-weight:800;
  color: rgba(17,24,39,.7);
}
.see-all:hover{ color: #111827; }

/* Search pill (mobile-style) */
.home-search{
  display:flex;
  align-items:center;
  gap: 10px;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.home-search-ic{ opacity:.7; }
.home-search input{
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
}

/* Featured stores row */
.store-row{
  display:flex;
  gap: 12px;
  overflow:auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.store-row::-webkit-scrollbar{ display:none; }

.store-chip{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #0b1220; /* dark circle */
  display: grid;
  place-items: center;
  overflow: hidden; /* keep images clipped to the circle */
  flex: 0 0 auto;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

.store-chip img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills circle nicely */
  border-radius: 999px;   /* extra safety */
  display: block;
  filter: none;           /* IMPORTANT: stop turning uploads white */
}

.store-plus{
  color:#fff;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
}

/* Today's top offers */
.offer-row{
  display:flex;
  gap: 14px;
  overflow:auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.offer-row::-webkit-scrollbar{ display:none; }

.offer-card{
  flex: 0 0 auto;
  width: 220px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  position: relative;
  padding: 12px;
}

.offer-badges{
  position:absolute;
  top: 10px;
  left: 10px;
  display:flex;
  gap: 8px;
}
.offer-badge{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17,24,39,.08);
  color: #111827;
}
.offer-badge-alt{
  background: rgba(255,122,61,.15);
  color: #b24a1f;
}

.offer-img{
  height: 170px;
  border-radius: 18px;
  background: rgba(15,23,42,.04);
  display:grid;
  place-items:center;
  overflow:hidden;
  margin-top: 18px;
}
.offer-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.offer-meta{
  padding: 12px 6px 4px;
}
.offer-name{
  font-weight: 900;
  font-size: 14px;
}
.offer-desc{
  color: rgba(71,85,105,.9);
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
}
.offer-price{
  font-weight: 900;
  margin-top: 8px;
  font-size: 16px;
}

/* Mobile tweaks */
@media (max-width: 600px){
  .offer-card{ width: 200px; }
  .store-chip{ width: 58px; height: 58px; }
}
/* ===== Popular products row ===== */
.popular-row{
  display:flex;
  gap: 12px;
  overflow:auto;
  padding: 12px 2px 6px;
  scrollbar-width: none;
}
.popular-row::-webkit-scrollbar{ display:none; }

.popular-item{
  flex: 0 0 auto;
  width: 240px;
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  text-decoration:none;
  color: inherit;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.popular-thumb{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(15,23,42,.05);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.popular-thumb img{
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.popular-name{
  font-weight: 900;
  font-size: 14px;
  line-height: 1.1;
}
.popular-sub{
  margin-top: 3px;
  color: rgba(71,85,105,.9);
  font-weight: 700;
  font-size: 12.5px;
}

/* ===== Category list (Jackets etc.) ===== */
.cat-list{
  display:flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.cat-item{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  text-decoration:none;
  color: inherit;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.cat-left{
  min-width: 0;
}
.cat-title{
  font-weight: 950;
  font-size: 16px;
}
.cat-sub{
  margin-top: 4px;
  color: rgba(71,85,105,.92);
  font-weight: 700;
  font-size: 13px;
}
.cat-count{
  margin-top: 8px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(17,24,39,.7);
}

.cat-right{
  width: 120px;
  height: 78px;
  border-radius: 18px;
  background: rgba(15,23,42,.05);
  overflow:hidden;
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}
.cat-right img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* responsive */
@media (max-width: 600px){
  .popular-item{ width: 210px; }
  .cat-right{ width: 110px; height: 74px; }
}
/* ===== Jackets card grid (like middle screen) ===== */
.jacket-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.jacket-card{
  position: relative;
  display:block;
  text-decoration:none;
  color: inherit;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  padding: 12px;
  overflow:hidden;
}

.jacket-img{
  height: 210px;
  border-radius: 20px;
  background: rgba(15,23,42,.04);
  display:grid;
  place-items:center;
  overflow:hidden;
}

.jacket-img img{
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.jacket-meta{
  padding: 12px 6px 6px;
}

.jacket-name{
  font-weight: 950;
  font-size: 14px;
}

.jacket-rating{
  margin-top: 6px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(17,24,39,.85);
}

.jacket-rating .star{
  color: #f59e0b;
  margin-right: 4px;
}

.jacket-rating .muted{
  color: rgba(71,85,105,.85);
  font-weight: 700;
  margin-left: 4px;
}

.jacket-price{
  margin-top: 10px;
  font-weight: 950;
  font-size: 16px;
}

.jacket-like{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
  cursor: pointer;
  font-size: 16px;
}

/* responsive */
@media (max-width: 680px){
  .jacket-grid{
    grid-template-columns: 1fr;
  }
  .jacket-img{ height: 230px; }
}

