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

:root {
  --wine: #7d2145;
  --wine-dark: #51152d;
  --pink: #f7e8ed;
  --cream: #fffaf5;
  --ink: #2b2024;
  --muted: #7f7076;
  --line: #eadde1;
  --gold: #bd8d4c;
  --white: #fff;
  --shadow: 0 20px 60px #42162b1a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  height: 78px;
  padding: 0 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffaf5ed;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #eadde180;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  border: 1px solid #bd8d4c;
  outline: 1px solid var(--wine);
  outline-offset: 3px;
  margin-right: 5px;
}

.brand strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.topbar nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  color: #5f4b53;
}

.topbar nav a:hover,
.text-link:hover {
  color: var(--wine);
}

.cart-button {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 15px;
  border-radius: 30px;
  color: var(--wine);
  font-weight: 700;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  background: var(--wine);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  margin-left: 5px;
}

/* WELCOME SECTION */

.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  align-items: center;
  padding: 60px 8% 70px;
  background: linear-gradient(
    110deg,
    #fffaf5 0%,
    #fff5f2 52%,
    #f3dce4 100%
  );
  overflow: hidden;
}

.hero-copy {
  max-width: 540px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--wine);
  margin: 0 0 16px;
}

.hero h1,
.section-heading h2,
.story h2,
.tracking-card h2,
.modal h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -1.2px;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  margin: 0 0 20px;
}

.hero h1 em {
  color: var(--wine);
  font-weight: 500;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  background: var(--wine);
  color: white;
  border: 0;
  border-radius: 3px;
  padding: 14px 21px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
  transition: 0.2s;
}

.primary-button:hover {
  background: var(--wine-dark);
  transform: translateY(-1px);
}

.hero-copy > .primary-button {
  margin-top: 18px;
}

.hero-note {
  margin-top: 32px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.hero-note span {
  color: var(--gold);
  font-size: 18px;
  margin-right: 8px;
}

/* YOUR NEW WELCOME IMAGE */

.hero-art {
  height: 400px;
  max-width: 510px;
  width: 100%;
  justify-self: center;
  border-radius: 48% 48% 4px 4px;
  background:
    linear-gradient(#7d214500, #7d214500),
    url('mona-owner.jpeg') center 25% / cover no-repeat;
  position: relative;
  box-shadow: var(--shadow);
  border: 8px solid #ffffff80;
}

.hero-sticker {
  position: absolute;
  bottom: 25px;
  left: -25px;
  background: #fffaf5;
  padding: 18px 22px;
  line-height: 1.5;
  font-size: 11px;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
}

.hero-sticker b {
  color: var(--wine);
}

/* BENEFITS */

.benefits {
  display: flex;
  justify-content: center;
  gap: 9%;
  padding: 25px 5%;
  background: white;
  border-bottom: 1px solid var(--line);
}

.benefits div {
  display: grid;
  grid-template-columns: 32px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
}

.benefits span {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 24px;
}

.benefits strong {
  font-size: 12px;
}

.benefits small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

/* SHOP SECTION */

.section-wrap {
  padding: 80px 8%;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2,
.story h2,
.tracking-card h2 {
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.16;
  margin: 0;
}

.section-heading > p {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 5px;
}

.filters {
  display: flex;
  gap: 9px;
  margin: 28px 0;
}

.filter {
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 30px;
  color: #6b5860;
  font-size: 11px;
}

.filter.active,
.filter:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: white;
}

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

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

.product-image-wrap {
  height: 270px;
  position: relative;
  overflow: hidden;
  background: var(--pink);
  border-radius: 4px;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fffaf5ef;
  color: var(--wine);
  padding: 6px 9px;
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.quick-add {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: #fffaf5ed;
  border: 0;
  padding: 11px;
  color: var(--wine);
  font-weight: 700;
  font-size: 11px;
  transform: translateY(60px);
  transition: 0.25s;
}

.product-card:hover .quick-add {
  transform: translateY(0);
}

.product-info {
  padding: 14px 2px;
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 7px;
}

.product-info p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 9px;
}

.price {
  font-weight: 700;
  color: var(--wine);
  font-size: 16px;
  margin: 0;
}

/* STORY SECTION */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  background: #f6e8ec;
}

.story-image {
  min-height: 340px;
  background: url('https://images.unsplash.com/photo-1617038220319-276d3cfab638?auto=format&fit=crop&w=1000&q=85')
    center / cover;
  border-radius: 3px;
}

.story h2 {
  max-width: 460px;
  margin-bottom: 18px;
}

.story div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  max-width: 440px;
}

.text-link {
  display: inline-block;
  color: var(--wine);
  font-weight: 700;
  font-size: 12px;
  margin-top: 10px;
}

/* ORDER TRACKING */

.tracking-section {
  padding-top: 70px;
  padding-bottom: 80px;
}

.tracking-card {
  background: white;
  border: 1px solid var(--line);
  padding: 35px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}

.tracking-card h2 {
  font-size: 36px;
}

.tracking-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.track-form label,
.checkout-form label,
.modal-content label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin: 12px 0 7px;
}

.track-input-row {
  display: flex;
  gap: 8px;
}

.track-input-row input {
  flex: 1;
  min-width: 0;
}

.track-input-row .primary-button {
  white-space: nowrap;
}

.track-input-row input,
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px;
  background: #fffdfb;
  outline: none;
  font-size: 12px;
}

.track-input-row input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  border-color: var(--wine);
}

#trackResult {
  font-size: 12px;
  margin-top: 12px;
  line-height: 1.6;
}

.tracking-result {
  background: #fff6f8;
  padding: 14px;
  border-radius: 4px;
}

.status-pill {
  display: inline-block;
  background: #f3e4e9;
  color: var(--wine);
  padding: 7px 10px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  margin: 8px 0;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.status-list li {
  padding: 7px 0;
  color: #9a8c91;
  font-size: 11px;
  border-left: 2px solid var(--line);
  padding-left: 12px;
  margin-left: 4px;
}

.status-list li.done {
  border-color: var(--wine);
  color: var(--wine);
  font-weight: 700;
}

.status-list li.current {
  color: var(--ink);
}

/* FOOTER */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 8%;
  background: #35121f;
  color: #fff;
}

footer .brand small {
  color: #d5bfc7;
}

footer p,
footer > a:last-child {
  font-size: 10px;
  color: #d5bfc7;
}

footer > a:last-child {
  text-decoration: underline;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--wine);
  outline-color: #fff;
  border-color: var(--gold);
}

/* MODALS */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #1e0d15a6;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.overlay.open {
  display: flex;
}

.modal {
  position: relative;
  background: var(--cream);
  max-height: 92vh;
  overflow: auto;
  width: min(850px, 100%);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.close-button {
  border: 0;
  background: #f4e7eb;
  color: var(--wine);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.modal > .close-button {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

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

.product-modal > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 580px;
  object-fit: cover;
  background: var(--pink);
}

.modal-content {
  padding: 45px 35px;
}

.modal-content h2,
.checkout-modal h2,
.success-modal h2 {
  font-size: 32px;
  margin: 0 0 12px;
}

.modal-content > p:not(.eyebrow):not(.price) {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 0 22px;
}

.qty-row button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: white;
  color: var(--wine);
  font-size: 18px;
}

.full {
  width: 100%;
}

.scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: #1e0d1566;
  z-index: 19;
}

.scrim.open {
  display: block;
}

/* CART DRAWER */

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(430px, 100%);
  background: var(--cream);
  z-index: 20;
  transform: translateX(105%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.drawer-heading h2 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-weight: 500;
}

.drawer-heading .eyebrow {
  margin-bottom: 5px;
}

.cart-items {
  overflow: auto;
  flex: 1;
  padding: 15px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 72px;
  height: 82px;
  object-fit: cover;
}

.cart-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 500;
  margin: 3px 0 7px;
}

.cart-item p {
  font-size: 12px;
  color: var(--wine);
  font-weight: 700;
  margin: 0;
}

.cart-item small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 7px;
}

.remove-item {
  border: 0;
  background: none;
  color: var(--wine);
  font-size: 11px;
  padding: 5px 0;
}

.cart-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.muted,
.tiny-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

/* CHECKOUT */

.checkout-modal {
  width: min(540px, 100%);
  padding: 35px;
}

.checkout-modal > .eyebrow {
  margin-top: 6px;
}

.checkout-form {
  margin-top: 18px;
}

.checkout-form textarea {
  resize: vertical;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 20px 0;
  padding: 15px;
  background: #f7e8ed;
  font-size: 12px;
}

.grand-label,
.grand-total {
  border-top: 1px solid #e4cbd4;
  padding-top: 10px;
  font-weight: 700;
  color: var(--wine);
}

.grand-total {
  font-size: 18px;
}

.tiny-note {
  font-size: 10px;
}

/* ORDER SUCCESS */

.success-modal {
  width: min(420px, 100%);
  padding: 45px 35px;
  text-align: center;
}

.success-modal h2 {
  font-size: 26px;
}

.success-modal h2 span {
  color: var(--wine);
}

.success-modal > p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.success-icon {
  margin: 0 auto 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6f3e9;
  color: #247342;
  display: grid;
  place-items: center;
  font-size: 25px;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 35px 10px;
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 8px;
}

/* TABLET LAYOUT */

@media (max-width: 900px) {
  .topbar {
    padding: 0 4%;
  }

  .topbar nav {
    gap: 14px;
  }

  .hero {
    padding: 50px 6%;
    gap: 3%;
  }

  .hero-art {
    height: 350px;
  }

  .section-wrap {
    padding: 65px 6%;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-image-wrap {
    height: 240px;
  }

  .benefits {
    gap: 4%;
  }

  .story {
    gap: 5%;
  }
}

/* MOBILE LAYOUT */

@media (max-width: 650px) {
  .topbar {
    height: 70px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 8px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .topbar nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 7% 40px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-art {
    height: 330px;
    width: 90%;
    margin-top: 25px;
  }

  .benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 7%;
  }

  .section-wrap {
    padding: 55px 6%;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .section-heading > p {
    margin: 0;
  }

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

  .product-image-wrap {
    height: 220px;
  }

  .quick-add {
    transform: translateY(0);
    padding: 9px;
  }

  .product-info h3 {
    font-size: 15px;
  }

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

  .story-image {
    min-height: 270px;
  }

  .tracking-card {
    grid-template-columns: 1fr;
    padding: 28px 6%;
    gap: 15px;
  }

  .track-input-row {
    flex-direction: column;
  }

  .track-input-row .primary-button {
    width: 100%;
  }

  footer {
    flex-wrap: wrap;
    padding: 25px 6%;
  }

  footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .product-modal {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .product-modal > img {
    height: 260px;
    min-height: 0;
  }

  .modal-content {
    padding: 25px;
  }

  .modal-content h2 {
    font-size: 27px;
  }

  .checkout-modal {
    padding: 28px 22px;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

  .hero-sticker {
    left: -12px;
  }

  .filters {
    overflow: auto;
    padding-bottom: 4px;
  }

  .filter {
    white-space: nowrap;
  }
}
/* DELIVERY CHARGES NOTICE */
.delivery-notice {
  background: #fff7f2;
  border: 1px solid #ead5c9;
  border-left: 4px solid var(--wine);
  border-radius: 8px;
  padding: 15px 16px;
  margin: 16px 0;
}

.delivery-notice strong {
  display: block;
  color: var(--wine);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 7px;
}

.delivery-notice p {
  color: #65565a;
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
}
