:root {
  --black: #000;
  --white: #fff;
  --grey: #f2f2f2;
  --mid: #777;
  --pink: #ff4fa3;
  --pink-dark: #e03388;
  --font: "Space Grotesk", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--black);
}
.logo { font-weight: 700; letter-spacing: 0.12em; font-size: 15px; }
.cart-btn {
  background: var(--pink); color: var(--black);
  border: 1px solid var(--black); padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500; transition: 0.2s;
}
.cart-btn:hover { background: var(--black); color: var(--pink); }
.cart-btn span {
  display: inline-block; margin-left: 6px;
  background: var(--black); color: var(--pink);
  border-radius: 999px; min-width: 20px; padding: 0 6px; font-size: 12px;
}

/* HERO */
.hero { padding: 80px 24px 70px; max-width: 1100px; margin: 0 auto; }
.eyebrow { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(48px, 11vw, 120px);
  line-height: 0.95; letter-spacing: -0.04em; font-weight: 700;
}
.sub { max-width: 460px; margin: 28px 0 32px; color: #333; font-size: 17px; }

/* BUTTONS */
.btn {
  display: inline-block; background: var(--pink); color: var(--black);
  border: 1px solid var(--black); padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500; transition: 0.2s;
}
.btn:hover { background: var(--black); color: var(--pink); border-color: var(--black); }
.btn-full { width: 100%; text-align: center; }

/* MOVING BANNER */
.marquee {
  background: var(--pink); color: var(--black);
  border-top: 1px solid var(--black); border-bottom: 1px solid var(--black);
  overflow: hidden; white-space: nowrap; padding: 14px 0;
}
.marquee-track { display: inline-flex; gap: 28px; animation: scroll 28s linear infinite; }
.marquee-track span { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.section-head { margin-bottom: 36px; }
.section h2 { font-size: clamp(32px, 6vw, 56px); letter-spacing: -0.03em; }
.section-head p { color: var(--mid); margin-top: 8px; }

/* PRODUCT GRID */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 800px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.card { display: flex; flex-direction: column; }
.card-img {
  aspect-ratio: 3 / 4; background: var(--grey);
  border: 1px solid var(--black); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.04); }
.ph { font-size: 56px; font-weight: 700; letter-spacing: -0.05em; color: var(--black); }
.card-info { padding: 12px 0; flex: 1; }
.card-info h3 { font-size: 16px; font-weight: 500; }
.card-info p { color: var(--mid); font-size: 13px; margin-top: 2px; }
.price { font-weight: 700; margin-top: 6px; }
.add {
  background: var(--pink); color: var(--black);
  border: 1px solid var(--black); padding: 11px; font-size: 14px; font-weight: 500;
  transition: 0.2s;
}
.add:hover { background: var(--black); color: var(--pink); }

/* HOW */
.how { border-top: 1px solid var(--black); }
.steps { display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps span { font-size: 14px; color: var(--pink-dark); font-weight: 700; }
.steps p { font-size: 20px; margin-top: 6px; letter-spacing: -0.01em; }

/* FOOTER (black + pink) */
.footer {
  background: var(--black); color: var(--white);
  border-top: 4px solid var(--pink);
  text-align: center; padding: 70px 24px 40px;
}
.footer h3 { font-size: 28px; letter-spacing: 0.12em; color: var(--pink); }
.footer p { color: #bbb; margin: 8px 0 24px; }
.links { display: flex; gap: 14px; justify-content: center; margin-bottom: 36px; }
.links a {
  border: 1px solid var(--pink); color: var(--pink);
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; transition: 0.2s;
}
.links a:hover { background: var(--pink); color: var(--black); }
.footer small { color: #777; }

/* CART DRAWER */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transition: 0.3s; z-index: 30;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--white); border-left: 1px solid var(--black);
  transform: translateX(100%); transition: transform 0.35s ease;
  z-index: 40; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--black);
}
.drawer-head button { background: none; border: none; font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.empty { text-align: center; color: var(--mid); padding: 60px 0; }

.item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px;
  align-items: center; padding: 16px 0; border-bottom: 1px solid var(--grey);
}
.item-img {
  width: 64px; height: 80px; background: var(--grey); border: 1px solid var(--black);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-weight: 700;
}
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item h4 { font-size: 14px; font-weight: 500; }
.item small { color: var(--mid); }
.qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty button {
  width: 24px; height: 24px; border: 1px solid var(--black);
  background: var(--white); line-height: 1;
}
.qty button:hover { background: var(--pink); color: var(--black); }
.item-total { font-weight: 700; font-size: 14px; }

.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--black); }
.total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 18px; }
.clear {
  display: block; margin: 12px auto 0; background: none; border: none;
  color: var(--mid); font-size: 13px; text-decoration: underline;
}

/* TOAST */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--black); color: var(--pink);
  padding: 12px 22px; border-radius: 999px; font-size: 14px;
  transition: 0.3s; z-index: 50; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
