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

:root {
  color-scheme: light;
  --ink: #33231f;
  --muted: #786863;
  --cream: #fffaf3;
  --paper: #fff;
  --rose: #bd684d;
  --rose-dark: #9b4f38;
  --line: #eee2d8;
  --shadow: 0 12px 36px rgba(68, 41, 30, .08);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: var(--rose-dark); text-decoration: none; }
a:hover { color: var(--rose); }
button, input, textarea { font: inherit; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }

.site-header {
  height: 76px;
  padding: 0 max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { color: var(--ink); font: 700 25px 'Playfair Display', serif; }
.brand span { color: var(--rose); }
nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
nav a { color: var(--ink); }
.count {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f8e7dd;
  color: var(--rose-dark);
  font-size: 12px;
}
.inline-form { display: inline; }
.nav-button { border: 0; padding: 0; background: none; color: var(--ink); cursor: pointer; }
.notice {
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #f7e8dd;
  color: #72402e;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rose);
  border-radius: 6px;
  padding: 0 20px;
  background: var(--rose);
  color: white;
  font-weight: 600;
  cursor: pointer;
}
.button:hover { border-color: var(--rose-dark); background: var(--rose-dark); color: white; }
.button-small { min-height: 34px; padding: 0 14px; font-size: 13px; }
.button-outline { background: transparent; color: var(--rose-dark); }
.button-outline:hover { color: white; }

.section { max-width: 1180px; margin: 0 auto; padding: 64px 28px; }
.section h1 { margin: 5px 0 28px; font-size: clamp(34px, 4vw, 48px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: 38px; }
.section-heading a { margin-bottom: 5px; }
.eyebrow { margin: 0 0 10px; color: var(--rose-dark); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.site-footer {
  margin-top: 0;
  padding: 65px clamp(22px, 6vw, 105px) 25px;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 60px;
  color: rgba(255, 255, 255, .78);
  background: #081e32;
  font: 500 17px/1.6 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}
.footer-brand img {
  width: 115px; height: 80px; margin-top: -10px;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .2));
}
.footer-brand p {
  max-width: 310px;
  margin: 15px 0 0;
  line-height: 1.8;
}
.footer-brand .footer-brand__copy {
  font: 500 18px/1.55 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}
.site-footer h3 {
  margin: 0 0 18px;
  color: #ffffff !important;
  font: 700 23px/1.2 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}
.site-footer > div:not(.footer-brand):not(.footer-base) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.site-footer a:hover {
  color: #f7d070;
}
.site-footer a,
.site-footer p {
  font: inherit;
}
.site-footer a {
  color: inherit;
  transition: color .2s;
}
.site-footer .footer-base {
  font-size: 15px;
}
.footer-base {
  grid-column: 1 / -1;
  margin-top: 25px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 25px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-base {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 45px 20px 20px;
  }
  .footer-brand,
  .footer-base {
    grid-column: 1;
  }
}

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: var(--shadow); }
.product-image { height: 190px; display: grid; place-items: center; overflow: hidden; background: #f4e6d9; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-size: 72px; }
.product-card-body { padding: 16px; }
.product-card h3 {
  margin: 0 0 10px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums proportional-nums;
}
.product-card h3 a { color: var(--ink); }
.product-card p { min-height: 42px; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-card-footer strong { font-size: 18px; }

input, textarea { width: 100%; border: 1px solid #dfd1c7; border-radius: 6px; padding: 12px 13px; background: white; color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid #e6b39d; border-color: var(--rose); }
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-stack label { margin-top: 4px; font-size: 14px; font-weight: 600; }
.form-stack button { margin-top: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:last-child td { border-bottom: 0; }
.status { display: inline-block; border-radius: 20px; padding: 4px 9px; background: #f7eadf; color: #794632; font-size: 12px; text-transform: capitalize; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .site-header { height: auto; min-height: 70px; flex-wrap: wrap; gap: 8px; padding: 16px 20px; }
  nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 13px; }
  .section { padding: 42px 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 220px; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; gap: 14px; }
  .footer-content small { grid-column: 1; }
}

/* Shared storefront shell. Kept here so every page that includes the common
   stylesheet gets the same header, navigation, and responsive behavior. */
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; background: #fff; color: #0c2945; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.announcement { width: 100%; min-height: 35px; overflow: hidden; padding: 0; background: #0c2945; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.announcement-track { width: max-content; min-height: 35px; display: flex; align-items: center; animation: announcement-scroll 24s linear infinite; }
.announcement-content { flex: 0 0 max-content; display: flex; align-items: center; gap: 14px; min-height: 35px; padding: 0 7vw; white-space: nowrap; }
.announcement-content b { color: #d8c9ff; font-size: 14px; }
@keyframes announcement-scroll { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .announcement-track { animation: none; } }
.site-header-shell { position: sticky; top: 0; z-index: 100; }
.site-header { position: relative; height: auto; padding: 0; display: block; background: #dff6fb; border-bottom: 0; }
.header-main { height: 80px; padding: 0 clamp(20px, 4vw, 70px); display: grid; grid-template-columns: 130px minmax(320px, 640px) 1fr; align-items: center; gap: clamp(16px, 3vw, 44px); background: #dff6fb; border-bottom: 1px solid rgba(12,41,69,.08); }
.brand { width: 110px; height: 80px; display: grid; place-items: center; overflow: visible; color: #112f4b; }
.brand img { width: 66px; height: 66px; object-fit: contain; }
.header-main .search-form { position: relative; height: 48px; display: flex; margin: 0; max-width: none; background: rgba(255,255,255,.94); border: 1px solid rgba(12,41,69,.1); border-radius: 4px; box-shadow: 0 9px 25px rgba(12,41,69,.05); }
.header-main .search-form:focus-within { box-shadow: 0 14px 32px rgba(12,41,69,.12); transform: translateY(-1px); }
.header-main .search-form input { width: 100%; padding: 0 18px 0 22px; color: #0c2945; background: transparent; border: 0; outline: 0; font-size: 15px; }
.header-main .search-form button { width: 58px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; cursor: pointer; }
.search-form svg, .header-action svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.search-results.show { display: block; }
.header-actions { justify-self: end; display: flex; gap: 22px; }
.header-action { min-width: 48px; position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #0c2945; background: none; border: 0; cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.header-action svg { height: 25px; }
.count-badge { position: absolute; top: -8px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; color: #fff; background: #e5007d; border: 2px solid #dff6fb; border-radius: 20px; font-size: 9px; }
.mobile-menu-button { display: none; }
.main-nav { height: 61px; background: #0c2945; color: #fff; }
.nav-inner { height: 100%; max-width: 1500px; margin: auto; padding: 0 clamp(22px, 4.5vw, 80px); display: flex; align-items: center; gap: 40px; }
.nav-inner > a, .nav-dropdown > button { height: 100%; position: relative; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.82); background: none; border: 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.nav-spacer { flex: 1; }
.nav-dropdown { height: 100%; position: relative; }
.dropdown-menu { position: absolute; top: calc(100% - 1px); left: -24px; width: 300px; padding: 13px; display: grid; opacity: 0; visibility: hidden; transform: translateY(8px); background: #fff; color: #0c2945; border-radius: 0 0 12px 12px; box-shadow: var(--shadow); transition: .2s ease; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { padding: 12px; display: flex; justify-content: space-between; align-items: center; border-radius: 8px; color: #0c2945; }
.dropdown-menu a:hover { background: #f2fafc; color: #e5007d; }
.dropdown-menu span { font-weight: 700; font-size: 13px; }
.dropdown-menu small { color: #63788b; font-size: 10px; }
.trade-link { gap: 10px !important; }
.trade-link i { width: 8px; height: 8px; background: #d8c9ff; border-radius: 50%; }

@media (max-width: 900px) {
  .header-main { grid-template-columns: 110px minmax(240px, 1fr) auto; gap: 20px; }
}
@media (max-width: 600px) {
  .header-main { height: auto; min-height: 68px; padding: 4px 14px 10px; grid-template-columns: 36px 1fr auto; grid-template-rows: 52px 42px; gap: 0 10px; }
  .brand { width: 75px; height: 48px; justify-self: center; }
  .brand img { width: 48px; height: 48px; }
  .header-actions { gap: 7px; }
  .header-action { min-width: 37px; }
  .header-action span, .account-action { display: none; }
  .header-main .search-form { height: 42px; grid-column: 1 / -1; grid-row: 2; }
  .mobile-menu-button { width: 39px; height: 39px; display: grid; align-content: center; gap: 6px; background: transparent; border: 0; }
  .mobile-menu-button span { width: 23px; height: 2px; display: block; background: #0c2945; }
  .main-nav { height: auto; position: absolute; top: 100%; left: 0; right: 0; z-index: 1; display: block; visibility: hidden; opacity: 0; transform: translateY(-8px); box-shadow: var(--shadow); transition: .2s; }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav-inner { padding: 10px 18px 18px; display: grid; gap: 0; }
  .nav-inner > a, .nav-dropdown > button { width: 100%; height: 48px; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-inner > a::after, .nav-dropdown > button::after { display: none; }
  .nav-inner > a.active, .nav-dropdown > button.active { padding-left: 12px; border-left: 3px solid #6fc5d8; background: rgba(255,255,255,.08); }
  .nav-spacer { display: none; }
  .nav-dropdown { height: auto; }
  .dropdown-menu { width: 100%; position: static; display: none; padding: 5px; opacity: 1; visibility: visible; transform: none; border-radius: 5px; box-shadow: none; }
  .nav-dropdown.open .dropdown-menu { display: grid; }
  .trade-link { margin-top: 7px; }
}
