
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --bg: #11110f;
  --card: #1b1b18;
  --cream: #eee9df;
  --muted: #aaa498;
  --accent: #d7c7a5;
  --line: #393831;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6%;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #11110f;
  z-index: 5;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
}

header button,
.filters button,
.cartHeader button {
  background: none;
  color: var(--cream);
  border: 1px solid var(--line);
  padding: 10px 14px;
}

.hero {
  padding: 100px 12%;
  min-height: 480px;
}

.tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(55px, 10vw, 100px);
  line-height: 1;
  letter-spacing: -4px;
  margin: 25px 0;
}

.hero h1 i {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
}

.hero p:not(.tag) {
  color: var(--muted);
  max-width: 400px;
  line-height: 1.8;
}

.button {
  display: inline-block;
  background: var(--cream);
  color: #111;
  padding: 14px 20px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  margin-top: 20px;
}

.about {
  padding: 60px 12%;
  border-block: 1px solid var(--line);
}

.about h2,
#shop h2,
#contact h2 {
  font-size: 38px;
  margin: 15px 0;
}

.about p:last-child,
#contact p:not(.tag) {
  color: var(--muted);
}

#shop {
  padding: 75px 7%;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}

.filters button {
  font-size: 12px;
}

.filters button.active {
  background: var(--cream);
  color: #111;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
}

.productImage {
  height: 220px;
  background: #25241f;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  text-align: center;
  padding: 15px;
}

.productImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.productInfo {
  padding: 15px;
}

.category {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 1px;
}

.productInfo h3 {
  font-size: 15px;
}

.productRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.add {
  background: none;
  color: var(--cream);
  border: 1px solid var(--line);
  padding: 8px 12px;
}

#contact {
  padding: 75px 12%;
  background: var(--card);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 7%;
  color: var(--muted);
  font-size: 11px;
}

#overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #0009;
  z-index: 7;
}

#overlay.show {
  display: block;
}

#cart {
  position: fixed;
  right: -430px;
  top: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #191915;
  padding: 25px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  transition: right .25s;
}

#cart.open {
  right: 0;
}

.cartHeader {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cartHeader button {
  font-size: 25px;
}

#cartItems {
  flex: 1;
  overflow: auto;
}

.cartLine {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty button {
  background: none;
  color: var(--cream);
  border: 1px solid var(--line);
  width: 25px;
  height: 25px;
}

.cartFooter {
  border-top: 1px solid var(--line);
}

.cartFooter p {
  display: flex;
  justify-content: space-between;
}

.cartFooter .button {
  width: 100%;
  text-align: center;
}

.cartFooter small {
  display: block;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 800px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 90px 8%;
  }

  .about {
    padding: 50px 8%;
  }

  #shop {
    padding: 60px 5%;
  }
}

@media (max-width: 480px) {
  nav {
    gap: 10px;
    font-size: 11px;
  }

  header {
    padding: 15px 4%;
  }

  .logo {
    font-size: 13px;
  }

  .productImage {
    height: 160px;
  }

  .productInfo {
    padding: 10px;
  }
}

/* Order form */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.7);display:flex;align-items:flex-end;justify-content:center;z-index:50}
.modal[hidden]{display:none}
.modalBox{background:var(--card);border:1px solid var(--line);border-radius:16px 16px 0 0;padding:18px;width:100%;max-width:480px;max-height:92vh;overflow:auto}
.modalBox input,.modalBox textarea{display:block;width:100%;margin:0 0 10px;padding:12px;background:var(--bg);color:var(--cream);border:1px solid var(--line);border-radius:8px;font:inherit}
.modalBox .button{width:100%;margin:6px 0 10px}
.modalBox small{color:var(--muted)}
#orderSummary{margin:10px 0 14px;font-size:14px}
#orderSummary div{display:flex;justify-content:space-between;gap:10px;padding:4px 0}
#orderSummary .orderTotal{border-top:1px solid var(--line);margin-top:6px;padding-top:8px}

/* Banners */
.banners{padding:0;position:relative}
.banners[hidden]{display:none}
.bannerTrack{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.bannerTrack::-webkit-scrollbar{display:none}
.bannerSlide{position:relative;flex:0 0 100%;scroll-snap-align:start;display:block;aspect-ratio:16/7;background:var(--card)}
.bannerSlide img{width:100%;height:100%;object-fit:cover;display:block}
.bannerCap{position:absolute;left:5%;bottom:14%;max-width:80%;font-family:'Playfair Display',serif;font-size:clamp(18px,5vw,36px);color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.75)}
.bannerDots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:6px}
.bannerDots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.45)}
.bannerDots i.on{background:var(--accent)}

/* Payment options */
.modalBox input[type=radio]{display:inline-block;width:auto;margin:0 8px 0 0}
.payBox{display:flex;flex-direction:column;gap:8px;margin:4px 0 12px}
.payOpt{display:flex;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.payOpt[hidden]{display:none}
.upiBox{border:1px dashed var(--line);border-radius:10px;padding:12px;margin-bottom:12px}
.upiBox[hidden]{display:none}
.upiBox p{margin:0 0 10px}
.payBtns{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.payBtns .button{width:auto;margin:0;flex:1;text-align:center}
.payBtns button{flex:1;padding:12px;background:var(--bg);color:var(--cream);border:1px solid var(--line);border-radius:8px;font:inherit}

/* Accounts and my orders */
.headBtns{display:flex;gap:8px;align-items:center}
.modalBox [hidden]{display:none!important}
.authMsg{color:var(--accent);margin:8px 0;min-height:0;font-size:14px}
.authMsg:empty{display:none}
.authLinks{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;margin:6px 0}
.authLinks a{color:var(--accent)}
.ghostBtn{width:100%;padding:12px;background:transparent;color:var(--cream);border:1px solid var(--line);border-radius:8px;font:inherit;margin-top:8px}
.oCard{border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:12px;background:var(--bg)}
.oHead{display:flex;justify-content:space-between;align-items:center;gap:8px}
.oStatus{font-size:12px;padding:4px 10px;border-radius:20px;background:var(--accent);color:#11110f;font-weight:700}
.oStatus.s-cancelled{background:#ff8a80}
.oSteps{display:flex;gap:4px;margin:12px 0 4px}
.oSteps i{flex:1;height:4px;border-radius:2px;background:var(--line)}
.oSteps i.on{background:var(--accent)}
.oStepLabels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:10px}
.oItems div{display:flex;justify-content:space-between;gap:10px;padding:2px 0;font-size:14px}
.oMeta{font-size:13px;color:var(--muted);margin:6px 0 0}
.oUpdate{margin-top:8px;padding:8px 10px;border-left:3px solid var(--accent);font-size:13px;background:rgba(255,255,255,.04)}

/* Contact */
.contactLinks{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.contactSoon{color:var(--muted)}
