:root {
  --ink: #3a1220;
  --muted: #5e4b45;
  --cream: #f6ebe0;
  --paper: #fdf8f2;
  --gold: #b8832e;
  --gold-soft: #ebd09e;
  --line: #e5d2be;
  --maroon-dark: #2c0c18;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Direction B: Antique Gold Top Announcement Bar */
.announcement {
  text-align: center;
  background: linear-gradient(90deg, #b8832e 0%, #d4a349 50%, #b8832e 100%);
  color: #2c0c18;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(44, 12, 24, 0.15);
}

/* Direction B: Deep Royal Maroon Sticky Header */
.site-header {
  height: 86px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2c0c18;
  border-bottom: 1px solid rgba(235, 208, 158, 0.28);
  box-shadow: 0 8px 24px rgba(24, 7, 12, 0.22);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  letter-spacing: normal;
  gap: 0;
  font-weight: 600;
  color: #fdf8f2;
}

.brand-logo {
  display: block;
  width: 170px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  background: #fdf8f2;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(235, 208, 158, 0.45);
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.03);
}

.footer-logo {
  width: 220px;
  height: 80px;
  object-position: left center;
  background: #fdf8f2;
  padding: 6px 10px;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  position: relative;
  font-size: 13px;
  color: #fdf8f2;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold-soft);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-soft);
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #fdf8f2;
}

.header-actions button {
  border: 0;
  background: none;
  font-size: 19px;
  cursor: pointer;
  color: #fdf8f2;
  transition: color 0.2s ease;
}

.header-actions button:hover,
.header-actions a:hover {
  color: var(--gold-soft);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  background: #d4a349;
  color: #2c0c18;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: var(--gold-soft);
}

/* Full Uncropped Homepage Banner */
.hero-banner-section {
  width: 100%;
  background: #f6ebe0;
  line-height: 0;
  border-bottom: 1px solid var(--line);
}

.hero-banner-link {
  display: block;
  width: 100%;
  cursor: pointer;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Sections & Headings */
.section {
  padding: 80px 5%;
  max-width: 100%;
  box-sizing: border-box;
}

.categories {
  background: #fdf8f2;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
  gap: 16px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
.section-heading h2,
.story-content h2,
.quote-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-heading h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.subheading {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  white-space: nowrap;
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  min-height: 270px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  border-radius: 14px;
  padding: 28px;
  color: #fff;
  border: 1px solid rgba(184, 131, 46, 0.35);
  box-shadow: 0 10px 26px rgba(58, 18, 32, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(58, 18, 32, 0.18);
}

.category-card div {
  position: relative;
  z-index: 2;
  max-width: 65%;
}

.category-card span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
}

.category-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 8px 0 6px;
  line-height: 1.2;
}

.category-card p {
  font-size: 13px;
  color: #f4e6d8;
  margin: 0;
}

/* Products Section & Grid (Warm Rose-Sandalwood Silk Background) */
.products-section {
  background: linear-gradient(180deg, #f6ebe0 0%, #eedbc8 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #c7ad94;
  padding: 8px 0;
  max-width: 340px;
  margin-bottom: 24px;
}

.search-box span {
  font-size: 16px;
  color: var(--gold);
}

.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  width: 100%;
  color: var(--ink);
}

.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  border: 1px solid #c7ad94;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #f9eedc;
}

#resultCount {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e5d2be;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(58, 18, 32, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(58, 18, 32, 0.12);
}

.product-image {
  aspect-ratio: 1 / 1;
  background: #fbf5ee;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.45s ease;
  display: block;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #9e1936;
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-info {
  padding: 16px 16px 12px;
}

.product-category {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}

.product-info h3 {
  font-size: 17px;
  font-family: var(--serif);
  font-weight: 600;
  margin: 6px 0;
  color: var(--ink);
}

.product-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.55;
}

/* Story & Philosophy Section */
.story-text {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 80px) !important;
  background: radial-gradient(circle at top center, #fffdf9 0%, #f7ece0 100%);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
  box-sizing: border-box;
}

.story-content {
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.story-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.85rem) !important;
  margin: 8px 0 20px;
  color: var(--ink);
  line-height: 1.25;
}

.story-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
  font-weight: 600;
  color: var(--gold);
  margin-top: 24px;
}

.story-content p {
  font-size: clamp(1rem, 1.4vw, 1.12rem) !important;
  line-height: 1.8 !important;
  color: #523e39;
  margin-bottom: 16px;
}

/* Quote Section (Deep Royal Maroon & Gold Band) */
.quote-section {
  text-align: center;
  padding: clamp(54px, 7vw, 84px) clamp(20px, 6vw, 80px) !important;
  background: linear-gradient(135deg, #2c0c18 0%, #4d172b 100%);
  color: #f9eedc;
  max-width: 100%;
  box-sizing: border-box;
}

.quote-section .eyebrow {
  color: var(--gold-soft);
}

.quote-section h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem) !important;
  font-weight: 500;
  margin: 0;
  color: #fffaf2;
}

.quote-rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 24px auto 0;
}

/* Newsletter (Warm Champagne Rose-Sand) */
.newsletter {
  padding: 64px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  background: #ebd8c5;
  border-top: 1px solid #dcc2a8;
}

.newsletter h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  margin: 0 0 8px;
  color: var(--ink);
}

.newsletter p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.newsletter form {
  display: grid;
  grid-template-columns: minmax(180px, 300px) auto;
  gap: 10px;
}

.newsletter input {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #c7ad94;
  border-radius: 6px;
  padding: 12px 14px;
  outline: 0;
  font-size: 14px;
  color: var(--ink);
}

.newsletter button {
  background: var(--ink);
  color: #f9eedc;
  border: 0;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.newsletter button:hover {
  background: var(--gold);
  color: #fff;
}

.newsletter form small {
  grid-column: 1 / -1;
  color: #614b44;
  font-size: 12px;
  margin-top: 6px;
}

/* Footer */
footer {
  background: var(--maroon-dark);
  color: #edd5bd;
  padding: 60px 5% 0;
  border-top: 2px solid var(--gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 35px;
  padding-bottom: 50px;
}

.brand-light {
  color: #fff;
}

.footer-brand p,
footer div p {
  font-size: 14px;
  line-height: 1.8;
  color: #d1bfb4;
  margin: 8px 0 0;
}

.footer-top h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--gold-soft);
}

.footer-top div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-top a {
  font-size: 14px;
  color: #e6d6c9;
}

.footer-top a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 13px;
  color: #c2afa4;
}

/* Toast & Accessibility */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  font-size: 13px;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: 0.25s;
  pointer-events: none;
  z-index: 10000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 900px) {
  .site-header {
    padding: 0 4%;
    height: 76px;
  }

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 12px;
  }

  .section {
    padding: 64px 5%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 220px;
  }

  .newsletter {
    padding: 48px 5%;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-top div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .announcement {
    font-size: 10px;
    padding: 8px 12px;
  }

  .site-header {
    height: 70px;
  }

  .brand-logo {
    width: 135px;
    height: 48px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #2c0c18;
    padding: 22px 5%;
    flex-direction: column;
    border-bottom: 1px solid rgba(235, 208, 158, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  }

  .nav.open {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
    margin-right: 14px;
  }

  .section {
    padding: 48px 5%;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box {
    max-width: 100%;
  }

  .filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-info {
    padding: 12px;
  }

  .product-info h3 {
    font-size: 15px;
  }

  .newsletter form {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}