:root{
  --bg:#f3f3f3;
  --card:#ffffff;
  --text:#111111;
  --muted:rgba(0,0,0,.58);
  --line:rgba(0,0,0,.08);
  --blue:#0078ff;
  --pink:#ff0080;
  --turquoise:#38c6c7;
  --shadow:0 18px 46px rgba(0,0,0,.10);
  --radius-xl:30px;
  --radius-lg:22px;
  --radius-pill:999px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
}

img{
  max-width:100%;
  display:block;
}

button, select, input{
  font:inherit;
}

/* NAVBAR */

.topbar{
  position:sticky;
  top:12px;
  z-index:100;
  padding:12px;
}

.topbar-inner{
  max-width:1200px;
  margin:0 auto;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border:1px solid var(--line);
  box-shadow:0 14px 40px rgba(0,0,0,.12);
  border-radius:var(--radius-pill);
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-badge{
  width:46px;
  height:46px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:700;
}

.brand-title{
  font-size:14px;
  font-weight:700;
  letter-spacing:.18em;
}

.brand-sub{
  font-size:12px;
  color:var(--muted);
}

.nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.nav a{
  text-decoration:none;
  color:#111;
  font-weight:700;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(0,0,0,.04);
}

.nav a:hover{
  background:var(--pink);
  color:#fff;
}

.cart-button{
  border:none;
  background:#111;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
}

.cart-button span{
  display:inline-grid;
  place-items:center;
  min-width:24px;
  height:24px;
  margin-left:8px;
  padding:0 6px;
  border-radius:999px;
  background:#fff;
  color:#111;
}

/* HERO */

.hero{
  max-width:1200px;
  margin:20px auto 0;
  padding:16px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:center;
}

.hero-image-wrap{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  box-shadow:0 24px 70px rgba(0,0,0,.22);
  background:#111;
}

.hero-image{
  width:100%;
  height:100%;
  min-height:460px;
  object-fit:cover;
  opacity:.82;
}

.hero-overlay{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}

.hero-sticker{
  color:#fff;
  font-weight:700;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.34);
}

.hero-sticker-blue{
  background:var(--blue);
  padding:16px 24px;
  font-size:clamp(28px, 4vw, 56px);
}

.hero-sticker-pink{
  background:var(--pink);
  padding:16px 24px;
  font-size:clamp(16px, 1.5vw, 28px);
  line-height:1.35;
  max-width:760px;
}

.hero-text{
  background:#fff;
  border-radius:32px;
  padding:32px;
  box-shadow:var(--shadow);
}

.eyebrow{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--muted);
}

.hero-text h1{
  font-size:clamp(34px, 4vw, 54px);
}

.hero-text p{
  margin:18px 0 0;
  font-size:18px;
  line-height:1.7;
  color:rgba(0,0,0,.72);
}

.primary-btn{
  display:inline-block;
  margin-top:22px;
  background:#111;
  color:#fff;
  border:none;
  border-radius:999px;
  padding:14px 22px;
  font-weight:700;
  cursor:pointer;
}

.primary-btn:hover{
  background:var(--blue);
}

.full-width{
  width:100%;
}

/* SECTION */

.section{
  max-width:1200px;
  margin:0 auto;
  padding:22px 16px 10px;
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}

.section-head h2{
  font-size:clamp(28px, 3vw, 40px);
}

.filter-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.filter-chip{
  border:none;
  border-radius:999px;
  padding:11px 16px;
  font-weight:700;
  background:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  cursor:pointer;
}

.filter-chip.active{
  background:#111;
  color:#fff;
}

/* PRODUCTS */

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:20px;
}

.product-card{
  background:var(--card);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  transition:transform .18s ease, box-shadow .18s ease;
}

.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 56px rgba(0,0,0,.14);
}

.product-image-wrap{
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#ddd;
}

.product-image{
  width:100%;
  height:100%;
  object-fit:cover;
}

.product-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:rgba(255,255,255,.92);
  padding:10px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.product-body{
  padding:18px;
}

.product-type{
  margin:0 0 6px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
}

.product-title{
  margin:0;
  font-size:26px;
}

.product-meta{
  margin:12px 0 0;
  color:rgba(0,0,0,.68);
  line-height:1.6;
  font-size:14px;
}

.product-footer{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.product-price{
  font-size:22px;
  font-weight:700;
  color:var(--blue);
}

.secondary-btn{
  border:none;
  border-radius:999px;
  padding:12px 16px;
  background:#111;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.secondary-btn:hover{
  background:var(--pink);
}

/* MODAL */

.modal.hidden{
  display:none;
}

.modal{
  position:fixed;
  inset:0;
  z-index:300;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.5);
}

.modal-panel{
  position:relative;
  max-width:1000px;
  margin:40px auto;
  background:#fff;
  border-radius:30px;
  box-shadow:0 30px 70px rgba(0,0,0,.28);
  overflow:hidden;
  z-index:1;
}

.modal-close{
  position:absolute;
  top:16px;
  right:16px;
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:28px;
  cursor:pointer;
}

.modal-content{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.modal-image-wrap{
  background:#ddd;
  min-height:560px;
}

.modal-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.modal-info{
  padding:34px;
}

.modal-description{
  margin:18px 0 24px;
  line-height:1.7;
  color:rgba(0,0,0,.7);
}

.option-group{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:18px;
}

.option-group label{
  font-weight:700;
}

.option-group select{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
  background:#f7f7f7;
}

.modal-price-row{
  margin:18px 0 22px;
  padding:16px 18px;
  border-radius:18px;
  background:#f1f1f1;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* CART */

.cart-panel{
  position:fixed;
  top:0;
  right:0;
  width:380px;
  max-width:92vw;
  height:100vh;
  background:#fff;
  box-shadow:-10px 0 30px rgba(0,0,0,.15);
  z-index:400;
  padding:24px;
  overflow-y:auto;
}

.cart-panel.hidden{
  display:none;
}

.cart-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

.cart-header h3{
  margin:0;
  font-size:28px;
}

.cart-close{
  border:none;
  background:#111;
  color:white;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
}

.cart-items{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.cart-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:14px;
  border-radius:18px;
  background:#f3f3f3;
}

.cart-footer{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(0,0,0,.1);
}

.cart-empty{
  color:rgba(0,0,0,.5);
}



.cart-item button{
  border:none;
  background:var(--pink);
  color:#fff;
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  font-weight:700;
}

.cart-total-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}

.checkout-btn{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border:none;
  border-radius:999px;
  padding:14px 18px;
  font-weight:700;
  background:#111;
  color:#fff;
  transition:background .2s ease, transform .2s ease, opacity .2s ease;
}

.checkout-btn:hover{
  background:var(--blue);
}

.checkout-btn.is-disabled{
  opacity:.55;
  pointer-events:none;
}

