:root {
  --bg: #fffaf4;
  --paper: #ffffff;
  --ink: #2f2b24;
  --muted: #766d62;
  --line: #eadfd3;
  --rose: #b64a62;
  --rose-dark: #89334b;
  --leaf: #5a7f58;
  --sage: #dfe9d8;
  --gold: #c78f3d;
  --shadow: 0 18px 45px rgba(47, 43, 36, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid rgba(234, 223, 211, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 2px 8px rgba(47, 43, 36, 0.14);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--rose-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  justify-self: end;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 18px rgba(47, 43, 36, 0.06);
}

.lang-button {
  min-width: 46px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.lang-button.active {
  background: var(--ink);
  color: #fff;
}

.cart-button,
.button,
.filter,
.icon-button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
}

.cart-button strong {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(36, 30, 24, 0.72), rgba(36, 30, 24, 0.28) 48%, rgba(36, 30, 24, 0.06)),
    url("https://images.unsplash.com/photo-1487070183336-b863922373d4?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(54px, 10vw, 120px) clamp(18px, 7vw, 92px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.9rem);
  font-weight: 500;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.03rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: var(--rose);
  color: #fff;
}

.button.primary:hover {
  background: var(--rose-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section h2,
.contact-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 500;
}

.section-heading p:not(.eyebrow),
.collection-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 28px;
}

.filter {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

.filter.active,
.filter:hover {
  border-color: var(--rose);
  background: #f9e6ea;
  color: var(--rose-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(47, 43, 36, 0.08);
}

.product-image {
  aspect-ratio: 4 / 3;
  background-position: center;
  background-size: cover;
}

.product-body {
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.07rem;
}

.tag {
  display: inline-flex;
  margin-top: 4px;
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  color: var(--rose-dark);
  font-weight: 850;
}

.product-card p {
  min-height: 48px;
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.empty-products {
  grid-column: 1 / -1;
  padding: 34px 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.empty-products h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.empty-products p {
  margin: 0;
  color: var(--muted);
}

.add-button {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: #eef4ea;
}

.collection-image {
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(47, 43, 36, 0.02), rgba(47, 43, 36, 0.08)),
    url("https://images.unsplash.com/photo-1526047932273-341f2a7631f9?auto=format&fit=crop&w=1100&q=85") center / cover;
  box-shadow: var(--shadow);
}

.collection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.collection-list span {
  padding: 10px 13px;
  border: 1px solid rgba(90, 127, 88, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--leaf);
  font-weight: 750;
}

.care-section {
  background: var(--paper);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.care-grid article {
  min-height: 210px;
  padding: 24px;
  background: #fff;
}

.care-grid span {
  color: var(--rose);
  font-weight: 900;
}

.care-grid h3 {
  margin: 46px 0 8px;
  font-size: 1.2rem;
}

.care-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: clamp(26px, 6vw, 80px);
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background: #4d6446;
  color: #fff;
}

.contact-section .eyebrow {
  color: #ffcf8f;
}

.contact-section p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.contact-form label span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  width: min(420px, 100%);
  background: #fff;
  box-shadow: -20px 0 50px rgba(47, 43, 36, 0.18);
  transform: translateX(105%);
  transition: transform 180ms ease;
  overflow: hidden;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #f4ece3;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}

.cart-items {
  overflow: auto;
  padding: 18px;
  min-height: 220px;
}

.empty-cart {
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 58px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line-image {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.cart-line h3 {
  margin: 0;
  font-size: 0.96rem;
}

.cart-line span {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-line-price {
  display: block;
  margin-top: 3px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 30px;
  height: 30px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.qty-btn:hover {
  background: #f4ece3;
}

.qty-num {
  min-width: 26px;
  text-align: center;
  font-weight: 750;
  font-size: 0.88rem;
  color: var(--ink);
}

.cart-line-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.cart-remove-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}

.cart-remove-btn:hover {
  color: var(--rose-dark);
  background: #f8e9e4;
}

.cart-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  overflow: auto;
  max-height: min(52vh, 460px);
}

.cart-footer div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.checkout-form label span {
  color: var(--muted);
  font-weight: 650;
}

.checkout-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}

.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}

.shipping-fieldset {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shipping-fieldset legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 700;
}

.shipping-detail {
  display: grid;
  gap: 10px;
}

.pickup-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shipping-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.coupon-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fcf9f5;
}

.coupon-section > label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.coupon-input-row {
  display: flex;
  gap: 8px;
}

.coupon-input-row input {
  flex: 1;
  text-transform: uppercase;
}

.coupon-apply-button {
  min-height: 38px;
  padding: 6px 14px;
  background: var(--ink);
  color: #fff;
  border: 0;
  white-space: nowrap;
  font-size: 0.85rem;
}

.coupon-apply-button:disabled {
  opacity: 0.5;
}

.coupon-message {
  min-height: 20px;
  margin: 6px 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.coupon-message[data-state="success"] {
  color: var(--leaf);
  font-weight: 700;
  font-size: 0.82rem;
}

.coupon-message[data-state="error"] {
  color: var(--rose-dark);
  font-weight: 700;
  font-size: 0.82rem;
}






.order-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-message[data-state="success"] {
  color: var(--leaf);
  font-weight: 800;
}

.order-message[data-state="error"] {
  color: var(--rose-dark);
  font-weight: 800;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: rgba(47, 43, 36, 0);
  transition: background 180ms ease;
}

.overlay.open {
  pointer-events: auto;
  background: rgba(47, 43, 36, 0.34);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions {
    grid-column: 2;
  }

  .hero {
    min-height: 620px;
  }

  .product-grid,
  .care-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }

  .collection-copy {
    align-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
  }

  .brand span:last-child {
    max-width: 110px;
    line-height: 1.05;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.9rem;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .lang-switch {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 610px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(36, 30, 24, 0.52), rgba(36, 30, 24, 0.82)),
      url("https://images.unsplash.com/photo-1487070183336-b863922373d4?auto=format&fit=crop&w=900&q=82") center / cover;
  }

  .hero-content {
    margin: 0 18px 48px;
    width: calc(100% - 36px);
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.2rem);
  }

  .product-grid,
  .care-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .pickup-range {
    grid-template-columns: 1fr;
  }

  .collection-image {
    min-height: 360px;
  }

  .care-grid article {
    min-height: 170px;
  }

  .care-grid h3 {
    margin-top: 28px;
  }

  .site-footer {
    display: grid;
  }

  .cart-panel {
    width: 100%;
    grid-template-rows: auto minmax(240px, 1fr) auto;
  }

  .cart-line {
    grid-template-columns: 48px 1fr auto auto;
    gap: 8px;
  }

  .cart-line-image {
    width: 48px;
    height: 48px;
  }

  .qty-btn {
    width: 26px;
    height: 26px;
  }

.cart-items {
  min-height: 240px;
}
}

.announcement-bar {
  background: #fffaf4;
}

.announcement-bar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(18px, 4vw, 56px);
  font-size: 0.88rem;
  font-weight: 650;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.announcement-bar-item--info {
  background: #eff6ff;
  color: #1e40af;
}

.announcement-bar-item--warning {
  background: #fefce8;
  color: #92400e;
}

.announcement-bar-item--alert {
  background: #fef2f2;
  color: #991b1b;
}

.announcement-bar-item--promotion {
  background: #f0fdf4;
  color: #166534;
}

.announcement-bar-text {
  flex: 1;
}

.announcement-bar-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0.7;
  color: inherit;
}

.announcement-bar-close:hover {
  opacity: 1;
}

.strikethrough {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 650;
  margin-right: 6px;
}

.new-price {
  color: var(--leaf);
  font-weight: 850;
}

.dimension-filter-bar {
  padding: 0 clamp(18px, 5vw, 72px) 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.dimension-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dimension-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.dimension-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dimension-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dimension-chip:hover {
  border-color: var(--rose);
  color: var(--rose-dark);
  background: #f9e6ea;
}

.dimension-chip.active {
  border-color: var(--leaf);
  color: #fff;
  background: var(--leaf);
}
