:root {
  --bg: #fff7f5;
  --paper: #ffffff;
  --ink: #2a1f24;
  --muted: #7b6870;
  --line: #ecd8dc;
  --coral: #c85e76;
  --coral-dark: #9e3f58;
  --green: #7a6a82;
  --gold: #bd8d57;
  --shadow: 0 24px 70px rgba(84, 38, 54, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.promo-strip {
  position: relative;
  z-index: 40;
  background: var(--ink);
  color: white;
  font-size: 0.86rem;
  font-weight: 700;
}

.promo-strip a {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 9px clamp(20px, 5vw, 72px);
  text-align: center;
}

.promo-strip strong {
  color: #f5d4df;
  text-transform: uppercase;
}

.promo-strip span {
  color: rgba(255, 255, 255, 0.82);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) minmax(220px, 320px) auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 248, 0.88);
  border-bottom: 1px solid rgba(234, 222, 214, 0.8);
  backdrop-filter: blur(20px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-sigil {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.site-logo {
  display: block;
  width: clamp(170px, 18vw, 244px);
  max-height: 100px;
  object-fit: contain;
}

.footer-logo {
  width: min(230px, 100%);
  max-height: 64px;
}

.brand-mark:has(.site-logo) {
  gap: 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;
}

.header-search,
.shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search {
  justify-self: end;
  width: min(100%, 320px);
  padding: 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(80, 48, 33, 0.06);
}

.header-search input {
  min-width: 0;
  border: 0;
  padding: 9px 10px 9px 14px;
  background: transparent;
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 50%;
}

.header-search svg,
.cart-icon,
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pay-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pay-button {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  background: var(--paper);
  border: 1.6px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(80, 48, 33, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.pay-logo svg {
  display: block;
  height: 20px;
  width: auto;
}

.pay-text {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.pay-arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

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

.pay-button:hover .pay-arrow {
  transform: translateX(4px);
}

.pay-button:active {
  transform: translateY(0);
}

/* Stripe — brand indigo (logo, label and arrow) */
.pay-stripe {
  color: #635bff;
}

.pay-stripe:hover,
.pay-stripe:focus-visible {
  outline: none;
  border-color: #635bff;
  background: #f5f4ff;
  box-shadow: 0 16px 32px rgba(99, 91, 255, 0.18);
}

/* Square — black (logo, label and arrow) */
.pay-square {
  color: #1a1a1a;
}

.pay-square:hover,
.pay-square:focus-visible {
  outline: none;
  border-color: #1a1a1a;
  background: #f4f4f5;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}
.main-nav a:hover,
.section-heading a:hover,
.filter-panel a:hover {
  color: var(--coral-dark);
}

.cart-link {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(80, 48, 33, 0.06);
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  color: white;
  background: var(--coral);
  border: 2px solid var(--bg);
  border-radius: 50%;
  font-size: 0.68rem;
}

.messages {
  padding: 0 clamp(20px, 5vw, 72px);
}

.message {
  max-width: 980px;
  margin: 18px auto 0;
  padding: 12px 16px;
  background: #eef5e9;
  border: 1px solid #dcead3;
  border-radius: var(--radius);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 72px) 40px;
}

.hero-copy,
.hero-media,
.category-strip a,
.split-feature > *,
.section-heading,
.product-card,
.promo-band > *,
.page-hero > *,
.filter-panel,
.cart-panel,
.contact-form,
.contact-card,
.text-page > * {
  animation: rise-fade 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-media {
  animation-delay: 120ms;
}

.category-strip a:nth-child(2),
.product-card:nth-child(2) {
  animation-delay: 80ms;
}

.category-strip a:nth-child(3),
.product-card:nth-child(3) {
  animation-delay: 150ms;
}

.category-strip a:nth-child(4),
.product-card:nth-child(4) {
  animation-delay: 220ms;
}

.hero h1,
.page-hero h1,
.section h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 6.6rem);
}

.hero p {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.product-buy-row,
.section-heading,
.trust-row {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

.button-primary {
  color: white;
  background: var(--coral);
  box-shadow: 0 14px 26px rgba(217, 111, 95, 0.24);
}

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

.button-secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.button-light {
  color: var(--ink);
  background: white;
}

.button-wide {
  width: 100%;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
}

.trust-row span {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.trust-row span:last-child {
  border-right: 0;
}

.hero-media {
  overflow: hidden;
  border-radius: 0 0 0 76px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: min(680px, 72vh);
  object-fit: cover;
}

.section,
.page-hero {
  padding: clamp(50px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.page-hero {
  background: linear-gradient(135deg, #fff 0%, #fff7f3 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  padding-top: 72px;
  padding-bottom: 56px;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 30px;
}

.category-strip a,
.filter-panel,
.contact-card,
.cart-panel,
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-strip a {
  padding: 22px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.category-strip a:hover {
  border-color: rgba(217, 111, 95, 0.42);
  box-shadow: 0 18px 42px rgba(80, 48, 33, 0.08);
  transform: translateY(-3px);
}

.category-strip span,
.product-meta h3,
.contact-card h2 {
  display: block;
  font-weight: 800;
}

.category-strip small,
.product-meta span,
.fine-print {
  color: var(--muted);
}

.split-feature {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: white;
}

.split-feature h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.8rem);
}

.split-feature p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.08rem;
}

.split-feature img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-heading {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading a {
  color: var(--green);
  font-weight: 800;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(80, 48, 33, 0.12);
}

.product-image {
  display: grid;
  height: clamp(420px, 34vw, 560px);
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdfc 0%, #f9e8ec 100%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(10px, 1.4vw, 20px);
}

.product-meta,
.product-buy-row {
  padding: 18px;
}

.product-meta {
  position: relative;
  z-index: 1;
  flex: 1;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.product-meta p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-meta h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.product-buy-row {
  justify-content: space-between;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.price-stack {
  display: grid;
  gap: 2px;
}

.price-stack s,
.detail-price s {
  color: var(--muted);
  font-size: 0.82rem;
}

.sale-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  padding: 3px 7px;
  color: white;
  background: var(--coral);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.icon-button:hover {
  background: var(--coral);
  transform: rotate(-4deg) scale(1.06);
}

.promo-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: white;
  background: var(--green);
}

.promo-band h2,
.promo-band p {
  max-width: 720px;
  margin: 0;
}

.promo-band p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.shop-layout,
.product-detail,
.contact-grid {
  display: grid;
  gap: 28px;
}

.shop-layout {
  grid-template-columns: 260px 1fr;
}

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

.filter-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
}

.filter-panel h2 {
  margin: 0 0 12px;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.filter-panel a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font-weight: 800;
}

.filter-panel a.active {
  color: var(--coral-dark);
}

.shop-search {
  max-width: 760px;
  margin-top: 28px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(80, 48, 33, 0.08);
}

.shop-search input {
  flex: 1;
  border: 0;
  background: transparent;
}

.shop-search input:focus {
  outline: none;
}

.result-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.product-detail {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  align-items: start;
}

.detail-media {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  height: min(660px, 72vh);
  object-fit: contain;
  padding: clamp(10px, 2vw, 22px);
}

.detail-copy h1 {
  margin: 8px 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1;
}

.back-link {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.detail-lede {
  color: var(--muted);
  font-size: 1.1rem;
}

.price-large {
  margin: 6px 0 0;
  font-size: 1.4rem;
  font-weight: 900;
}

.detail-price {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.purchase-box {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  max-width: 480px;
  margin: 26px 0;
}

.purchase-box label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.detail-notes {
  max-width: 720px;
}

.detail-notes h2,
.detail-notes h3 {
  margin-top: 26px;
}

.narrow {
  max-width: 900px;
  margin: 0 auto;
}

.cart-panel {
  padding: 22px;
}

.checkout-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.checkout-form h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
}

.checkout-form p {
  max-width: 660px;
  margin: -10px 0 0;
  color: var(--muted);
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr 190px 92px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line span {
  display: block;
  color: var(--muted);
}

.quantity-form {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px;
}

.quantity-form button,
.text-button {
  background: #f6ece7;
  color: var(--ink);
  padding: 10px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 1.2rem;
}

.cart-pulse {
  animation: pulse 450ms ease;
}

.empty-state {
  padding: 36px;
  text-align: center;
}

.success-state {
  text-align: center;
}

.success-state h1,
.success-state p {
  margin-left: auto;
  margin-right: auto;
}

.order-pill {
  display: inline-block;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.contact-card {
  align-self: start;
  padding: 22px;
}

.text-page {
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-page h2 {
  margin: 32px 0 10px;
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.compliance-grid div {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compliance-grid strong,
.compliance-grid span {
  display: block;
}

.compliance-grid strong {
  color: var(--ink);
}

.compliance-grid span {
  margin-top: 4px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px clamp(20px, 5vw, 72px);
  background: #24191f;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.site-footer .brand-mark {
  color: white;
}

.footer-brand .brand-sigil {
  background: var(--coral);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 111, 95, 0.22); }
  100% { box-shadow: 0 0 0 18px rgba(217, 111, 95, 0); }
}

@keyframes rise-fade {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-search {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .hero,
  .split-feature,
  .shop-layout,
  .product-detail,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    border-radius: var(--radius);
  }

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

  .product-image {
    height: 420px;
  }

  .filter-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-mark {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .category-strip,
  .product-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 390px;
  }

  .cart-line,
  .purchase-box,
  .compliance-grid,
  .checkout-fields,
  .pay-buttons{
    grid-template-columns: 1fr;
  }

  .promo-band,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
