
:root {
  --red: #e21f26;
  --wine: #8b1231;
  --ink: #111316;
  --muted: #6d7279;
  --blue: #d9eaf6;
  --ice: #f4f7f9;
  --cream: #faf7f2;
  --white: #fff;
  --line: #e3e5e8;
}

/* GLOBAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
}

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

button {
  font: inherit;
}

/* HEADER AND NAVIGATION */

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
}

.main-nav {
  height: 98px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 132px;
  height: auto;
  object-fit: contain;
}

.main-nav nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .035em;
}

.main-nav nav a {
  transition: color .2s;
}

.main-nav nav a:hover {
  color: var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 800;
}

.nav-actions > a:first-child {
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.bag {
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
}

.sale-bar {
  height: 50px;
  background: var(--wine);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .025em;
}

.sale-bar a {
  background: white;
  color: var(--wine);
  border-radius: 999px;
  padding: 9px 34px;
}

/* CAMPAIGN HERO */

.campaign-hero {
  min-height: 610px;
  background: linear-gradient(110deg, #dcecf8, #eff7fc);
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  overflow: hidden;
}

.hero-copy {
  padding: 60px 3vw 60px 8vw;
  z-index: 1;
}

.mini-brand {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 12px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 600px;
  font: 800 clamp(45px, 5.2vw, 78px)/1.02 "Manrope", sans-serif;
  letter-spacing: -.055em;
}

.hero-copy > p:not(.mini-brand) {
  color: #465463;
  max-width: 520px;
  font-size: 17px;
  margin: 23px 0;
}

.hero-price {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 27px;
}

.hero-price span {
  background: white;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 800;
}

.hero-price strong {
  font: 800 23px "Manrope";
}

/* HERO IMAGE - PRESERVE ORIGINAL PROPORTIONS */

.hero-product {
  padding: 38px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.hero-product img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  max-height: none;
  margin: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 6px;
  box-shadow: none;
}

/* BUTTONS */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s, box-shadow .2s;
}

.pill:hover {
  transform: translateY(-2px);
}

.pill-light {
  background: white;
  box-shadow: 0 9px 20px rgba(0,0,0,.14);
}

.pill-dark {
  background: var(--ink);
  color: white;
}

.pill-red {
  background: var(--wine);
  color: white;
}

.pill-outline {
  border: 1px solid var(--ink);
}

/* MARQUEE */

.marquee {
  background: #0a0d0c;
  color: white;
  overflow: hidden;
  height: 58px;
  display: flex;
  align-items: center;
  font: 600 18px "Manrope";
  white-space: nowrap;
}

.marquee div {
  min-width: max-content;
  animation: ticker 24s linear infinite;
}

.marquee i {
  color: var(--red);
  margin: 0 24px;
  font-style: normal;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-48%);
  }
}

/* CONFIDENCE SECTION */

.confidence {
  padding: 85px 7vw 95px;
  background: var(--cream);
  text-align: center;
}

.confidence > h2 {
  margin: 0 auto 54px;
  font: 600 clamp(28px, 3.3vw, 47px)/1.12 "Manrope";
  color: var(--wine);
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: auto;
}

.confidence article {
  padding: 0 48px;
  border-right: 1px solid #d9d1ca;
}

.confidence article:last-child {
  border-right: 0;
}

.line-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--wine);
  color: var(--wine);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-weight: 800;
}

.confidence h3 {
  margin: 0 0 10px;
  font: 700 17px "Manrope";
}

.confidence p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* PRODUCT SECTIONS */

.trending,
.categories,
.faq {
  padding: 100px 5vw;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 1380px;
  margin: 0 auto 36px;
}

.section-title h2 {
  margin: 0;
  font: 700 clamp(35px, 4vw, 58px) "Manrope";
  letter-spacing: -.04em;
}

.section-title > a {
  font-size: 12px;
  font-weight: 800;
  border-bottom: 2px solid var(--red);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-bottom: 40px;
}

.tabs button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: #8b8e93;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.tabs button.active {
  color: var(--wine);
  border-bottom: 3px solid var(--wine);
}

/* PRODUCT GRID - RESPONSIVE WIDTH FIX */

.product-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  max-width: 1380px;
  margin: auto;
}

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

.product-card[hidden] {
  display: none;
}

/* PRODUCT IMAGES - NORMAL COLOUR BLENDING */

.product-photo {
  background: var(--white);
  position: relative;
  aspect-ratio: .92;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
  mix-blend-mode: normal;
}

.product-photo-packaging img {
  object-fit: contain;
  background: white;
}

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

.tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  background: var(--wine);
  color: white;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 800;
}

.product-card h3 {
  font: 700 17px "Manrope";
  margin: 18px 0 2px;
}

.product-card p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 12px;
}

.product-card .price {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.product-card > a {
  display: inline-block;
  margin-top: 13px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--wine);
  font-size: 11px;
  font-weight: 800;
  color: var(--wine);
}

/* EDITORIAL BANNER */

.editorial-banner {
  min-height: 680px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.editorial-banner > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.editorial-banner:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16,21,25,.78),
    rgba(16,21,25,.12) 65%
  );
}

.editorial-copy {
  position: relative;
  z-index: 2;
  color: white;
  padding-left: 9vw;
}

.editorial-copy p,
.kicker,
.shop-panel > div > p {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.editorial-copy h2 {
  margin: 15px 0 30px;
  font: 700 clamp(48px, 6vw, 86px)/.97 "Manrope";
  letter-spacing: -.055em;
}

/* CATEGORY CARDS */

.categories {
  background: #f8f8f6;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1380px;
  margin: auto;
}

.category-card {
  min-height: 470px;
  position: relative;
  overflow: hidden;
  background: white;
}

.category-card img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.category-card-packaging img {
  object-fit: contain;
  background: white;
}

.category-card:hover img {
  transform: scale(1.03);
}

.category-card:after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(
    transparent,
    rgba(0,0,0,.62)
  );
}

.category-card > div {
  position: absolute;
  z-index: 2;
  left: 25px;
  right: 25px;
  bottom: 24px;
  color: white;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.category-card h3 {
  margin: 0;
  font: 700 25px "Manrope";
}

.category-card span {
  font-size: 10px;
  font-weight: 800;
}

/* TBS0001 SPOTLIGHT */

.spotlight {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 700px;
  background: #eef5f8;
}

.spotlight-image {
  padding: 65px;
  display: grid;
  place-items: center;
}

.spotlight-image img {
  max-width: 720px;
  max-height: 610px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.spotlight-copy {
  padding: 80px 8vw 80px 4vw;
  align-self: center;
}

.kicker {
  color: var(--wine);
}

.spotlight h2 {
  margin: 10px 0;
  font: 800 clamp(52px, 6vw, 86px) "Manrope";
  letter-spacing: -.055em;
}

.spotlight .lead {
  font-size: 19px;
  color: #515d68;
  max-width: 560px;
}

.spotlight ul {
  list-style: none;
  padding: 15px 0;
  margin: 20px 0;
  border-top: 1px solid #cfd9df;
}

.spotlight li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid #cfd9df;
  position: relative;
}

.spotlight li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wine);
  font-weight: 800;
}

.spotlight-price {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.spotlight-price strong {
  font: 800 29px "Manrope";
}

/* BENEFITS */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 70px 5vw;
  background: var(--cream);
}

.benefits article {
  text-align: center;
  padding: 10px 36px;
  border-right: 1px solid #dcd5ce;
}

.benefits article:last-child {
  border-right: 0;
}

.benefits span {
  width: 48px;
  height: 48px;
  border: 1px solid var(--wine);
  color: var(--wine);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: auto;
  font-weight: 800;
}

.benefits h3 {
  font: 700 17px "Manrope";
  margin: 15px 0 7px;
}

.benefits p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

/* SHOP PANEL */

.shop-panel {
  margin: 110px auto;
  max-width: 1180px;
  padding: 65px;
  background: var(--blue);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.shop-panel h2 {
  margin: 8px 0 0;
  font: 700 clamp(36px, 4vw, 56px)/1.04 "Manrope";
  letter-spacing: -.04em;
}

.shop-actions {
  display: grid;
  gap: 12px;
  min-width: 250px;
}

.shop-note {
  color: #465463;
  max-width: 520px;
}

.payment-note {
  color: #5d6872;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  margin: -3px 0 4px;
}

/* CHECKOUT DIALOG */

.checkout-dialog {
  width: min(520px, calc(100% - 34px));
  border: 0;
  border-radius: 18px;
  padding: 42px;
  box-shadow: 0 24px 80px rgba(0,0,0,.26);
}

.checkout-dialog::backdrop {
  background: rgba(10,13,16,.62);
  backdrop-filter: blur(4px);
}

.checkout-dialog h2 {
  margin: 8px 0 14px;
  font: 700 30px/1.1 "Manrope";
  letter-spacing: -.035em;
}

.checkout-dialog > p:not(.kicker) {
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}

.dialog-actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

/* FAQ */

.faq {
  max-width: 1120px;
  margin: auto;
  padding-top: 30px;
}

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

details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font: 700 18px "Manrope";
}

summary:after {
  content: "+";
  color: var(--wine);
  font-size: 24px;
}

details[open] summary:after {
  content: "−";
}

details p {
  color: var(--muted);
  max-width: 780px;
}

/* FOOTER */

footer {
  background: #0e1114;
  color: white;
  padding: 75px 7vw 35px;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 45px;
}

footer .brand img {
  width: 158px;
}

.footer-brand p {
  color: #b3bac2;
}

footer h4 {
  font-size: 11px;
  letter-spacing: .14em;
  color: #8f99a3;
}

footer > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13px;
}

footer > div a:hover {
  color: var(--red);
}

footer small {
  grid-column: 1 / -1;
  border-top: 1px solid #2a2f35;
  padding-top: 25px;
  color: #737d87;
}

/* REVEAL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s, transform .7s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* TABLET AND SMALL DESKTOP */

@media (max-width: 1100px) {
  .main-nav nav {
    gap: 18px;
  }

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

  .campaign-hero {
    grid-template-columns: 1fr 1fr;
  }

  .confidence article {
    padding: 0 25px;
  }
}

/* TABLET AND MOBILE */

@media (max-width: 820px) {
  .main-nav {
    height: 72px;
  }

  .brand img {
    width: 116px;
  }

  .main-nav nav {
    display: none;
  }

  .sale-bar {
    justify-content: space-between;
    padding: 0 18px;
    gap: 10px;
    font-size: 10px;
  }

  .sale-bar a {
    padding: 7px 15px;
  }

  .campaign-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 55px 7vw 25px;
  }

  .hero-product {
    padding: 20px 7vw 55px;
  }

  .confidence-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .confidence article {
    border-right: 0;
  }

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

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

  .category-card {
    min-height: 430px;
  }

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

  .spotlight-image {
    padding: 35px 20px 0;
  }

  .spotlight-copy {
    padding: 55px 7vw;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 0;
  }

  .benefits article:nth-child(2) {
    border-right: 0;
  }

  .shop-panel {
    margin: 70px 20px;
    padding: 40px 28px;
    grid-template-columns: 1fr;
  }

  .shop-actions {
    min-width: 0;
  }

  .checkout-dialog {
    padding: 38px 24px 28px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* SMALL MOBILE */

@media (max-width: 560px) {
  .nav-actions > a:first-child {
    display: none;
  }

  .hero-copy h1 {
    font-size: 47px;
  }

  .tabs {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 22px;
  }

  .tabs button {
    white-space: nowrap;
  }

  .trending,
  .categories,
  .faq {
    padding: 72px 18px;
  }

  .product-rail {
    grid-template-columns: 1fr 1fr;
    gap: 25px 12px;
  }

  .product-card h3 {
    font-size: 14px;
  }

  .product-photo {
    aspect-ratio: .85;
  }

  .editorial-banner {
    min-height: 560px;
  }

  .editorial-copy {
    padding: 0 24px;
  }

  .category-card {
    min-height: 360px;
  }

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

  .benefits article {
    border-right: 0;
  }

  .spotlight-price {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > div {
    grid-column: 1 / -1;
  }
}
