:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fbf6ea;
  --ink: #211d18;
  --muted: #726755;
  --coral: #c79a35;
  --coral-dark: #8e671e;
  --gold-light: #f4d979;
  --gold-deep: #6f4c16;
  --rose: #d7b25b;
  --mint: #f3e5c0;
  --gold: #c79a35;
  --line: #eadfc9;
  --shadow: 0 20px 50px rgba(54, 43, 24, 0.13);
  --shadow-strong: 0 28px 70px rgba(54, 43, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 48%, #ffffff 100%);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

body.cart-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(234, 223, 201, 0.92);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(54, 43, 24, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f2d67b, var(--gold));
  color: var(--ink);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-mark {
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.24), 0 8px 22px rgba(199, 154, 53, 0.3);
  transform: rotate(-4deg) scale(1.03);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

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

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.cart-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.account-shortcut {
  text-decoration: none;
}

.icon-button:hover,
.cart-button:hover {
  border-color: rgba(199, 154, 53, 0.46);
  color: var(--coral-dark);
}

.cart-button {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.cart-count.bump {
  animation: cartBump 420ms ease both;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: min(680px, calc(100svh - 96px));
  overflow: hidden;
  background: #f8f1df;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) sepia(0.18) contrast(0.98) brightness(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 29, 24, 0.74), rgba(33, 29, 24, 0.28) 48%, rgba(33, 29, 24, 0.04)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.hero-shine {
  position: absolute;
  inset: -28% 46% -28% -12%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 242, 190, 0.16) 42%, rgba(255, 255, 255, 0.2) 50%, transparent 62%);
  pointer-events: none;
  transform: translateX(-38%);
  animation: heroShine 7s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(650px, 100%);
  min-height: inherit;
  padding: 84px clamp(20px, 6vw, 72px) 72px;
  color: #fff;
  animation: fadeUp 680ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f7d98a;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  line-height: 0.95;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-badges .lucide {
  width: 16px;
  height: 16px;
  color: #f7d98a;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, #e5c56e, var(--gold));
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(142, 103, 30, 0.22);
}

.button.primary:hover {
  background: linear-gradient(135deg, #f0d681, #b88422);
  box-shadow: 0 12px 26px rgba(142, 103, 30, 0.26);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.quiet {
  border-color: var(--line);
  background: #fff;
  color: var(--coral-dark);
}

.button.full {
  width: 100%;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 42px rgba(54, 43, 24, 0.04);
}

.info-strip div {
  position: relative;
  min-width: 0;
  padding: 18px clamp(18px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.info-strip div::before {
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  content: "";
}

.info-strip div:last-child {
  border-right: 0;
}

.info-strip strong,
.info-strip span {
  display: block;
}

.info-strip strong {
  font-size: 0.95rem;
}

.info-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.section {
  padding: 76px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.with-action {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.section h2,
.contact-band h2,
.cart-header h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.12;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.category-card,
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(54, 43, 24, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card {
  cursor: pointer;
}

.category-card:hover,
.product-card:hover {
  border-color: rgba(199, 154, 53, 0.46);
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.72) sepia(0.16) contrast(0.98) brightness(1.04);
  transition: transform 300ms ease;
}

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

.category-card div {
  padding: 18px;
}

.category-card h3,
.product-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.category-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.products-section {
  background: #ffffff;
}

.product-tools {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.search-box {
  display: grid;
  grid-template-columns: 18px minmax(170px, 260px);
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffefa;
  color: var(--muted);
  box-shadow: 0 10px 24px rgba(54, 43, 24, 0.06);
}

.search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  font-weight: 700;
}

.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199, 154, 53, 0.13);
}

.product-meta {
  min-height: 22px;
  margin: -12px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--coral);
  background: var(--surface-soft);
  color: var(--coral-dark);
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  animation: cardIn 520ms ease both;
  animation-delay: var(--card-delay, 0ms);
}

.product-card.needs-option {
  animation: shake 360ms ease both;
}

.product-card.spotlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199, 154, 53, 0.14), var(--shadow-strong);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface-soft);
}

.product-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(33, 29, 24, 0.34), transparent);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) sepia(0.16) contrast(0.98) brightness(1.04);
  transition: transform 300ms ease, filter 300ms ease;
}

.product-card:hover .product-media img {
  filter: saturate(0.82) sepia(0.14) contrast(1) brightness(1.07);
  transform: scale(1.04);
}

.product-card:hover .product-media::after {
  opacity: 1;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(199, 154, 53, 0.28);
  background: rgba(255, 255, 255, 0.94);
  color: var(--coral-dark);
  font-size: 0.74rem;
  font-weight: 800;
  z-index: 1;
}

.product-view-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 26px rgba(33, 29, 24, 0.16);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover .product-view-button,
.product-view-button:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.color-thumbs {
  position: absolute;
  left: 10px;
  right: 58px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px;
}

.color-thumb {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(33, 29, 24, 0.18);
  cursor: pointer;
}

.color-thumb.active,
.color-thumb:hover {
  border-color: var(--gold);
}

.color-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: none;
}

.product-card:hover .color-thumb img {
  filter: none;
  transform: none;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.mini-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(199, 154, 53, 0.3);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--coral-dark);
  font-size: 0.68rem;
  font-weight: 900;
}

.loading-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-details {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.product-details div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
}

.product-details dt,
.product-details dd {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.product-details dt {
  color: var(--coral-dark);
  font-weight: 800;
  text-transform: capitalize;
}

.product-details dd {
  color: var(--muted);
}

.product-options {
  display: grid;
  gap: 9px;
}

.option-field {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.option-field select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  outline: 0;
  padding: 10px 11px;
}

.option-field select:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(199, 154, 53, 0.14);
}

.checkout-form input:disabled,
.checkout-form select:disabled,
.checkout-form textarea:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-footer small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.price {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.add-button {
  min-width: 46px;
  width: 46px;
  height: 46px;
  padding: 0;
}

.add-button:hover {
  transform: translateY(-2px) scale(1.03);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: start;
  padding: 76px clamp(18px, 5vw, 64px);
  background: var(--surface-soft);
}

.contact-copy p:not(.eyebrow) {
  max-width: 570px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  outline: 0;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(199, 154, 53, 0.14);
}

.account-section {
  background: var(--surface-soft);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.account-form,
.account-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(54, 43, 24, 0.07);
}

.account-form {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.auth-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.auth-tab.active,
.auth-tab:hover {
  border-color: var(--gold);
  background: var(--surface-soft);
  color: var(--coral-dark);
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.account-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  outline: 0;
  padding: 10px 11px;
}

.account-form input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(199, 154, 53, 0.14);
}

.account-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px;
}

.account-card > svg {
  width: 58px;
  height: 58px;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0d681, var(--gold));
  color: var(--ink);
}

.account-card span,
.account-card p {
  color: var(--muted);
}

.account-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.1rem;
}

.account-card p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.orders-section {
  background: #fff;
}

.order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.order-tab {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.order-tab.active,
.order-tab:hover {
  border-color: var(--gold);
  background: var(--surface-soft);
  color: var(--coral-dark);
}

.order-lookup-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.order-lookup-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.order-lookup-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  outline: 0;
  padding: 10px 11px;
}

.order-lookup-form input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(199, 154, 53, 0.14);
}

.my-orders-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.my-order-card,
.my-orders-empty,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(54, 43, 24, 0.07);
}

.my-order-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.my-order-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.my-order-top h3,
.my-order-top p {
  margin: 6px 0 0;
}

.my-order-top h3 {
  font-size: 1rem;
}

.my-order-top p,
.my-order-items,
.my-order-address {
  color: var(--muted);
  line-height: 1.45;
}

.my-order-top strong {
  color: var(--ink);
  font-size: 1.08rem;
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(199, 154, 53, 0.34);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

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

.order-progress span {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.order-progress i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffefa;
  color: var(--muted);
  font-style: normal;
}

.order-progress span.done {
  color: var(--coral-dark);
}

.order-progress span.done i {
  border-color: var(--gold);
  background: linear-gradient(135deg, #f0d681, var(--gold));
  color: var(--ink);
}

.order-progress.canceled {
  display: block;
  padding: 10px;
  border: 1px solid rgba(164, 67, 54, 0.22);
  border-radius: 8px;
  background: #fff5f2;
  color: #8a2b24;
  font-weight: 900;
}

.my-order-items,
.my-order-address {
  margin: 0;
}

.my-order-address {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  font-size: 0.86rem;
}

.my-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tiny-support-link,
.tiny-pay-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.tiny-pay-link {
  border-color: rgba(190, 139, 53, 0.5);
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #2b1b0f;
}

.tiny-support-link .brand-icon,
.tiny-pay-link .brand-icon {
  width: 18px;
  height: 18px;
}

.my-orders-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.my-orders-empty svg {
  width: 38px;
  height: 38px;
  color: var(--rose);
}

.support-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.support-link {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.support-link:hover {
  border-color: rgba(199, 154, 53, 0.5);
  box-shadow: 0 12px 26px rgba(54, 43, 24, 0.1);
  transform: translateY(-1px);
}

.support-link svg {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0d681, var(--gold));
  color: var(--ink);
}

.support-link span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.support-link strong {
  color: var(--ink);
}

.form-status,
.checkout-status {
  min-height: 20px;
  margin: 0;
  color: var(--coral-dark);
  font-size: 0.9rem;
  line-height: 1.4;
}

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.cart-panel.open {
  pointer-events: auto;
  visibility: visible;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 29, 24, 0.46);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-panel.open .cart-backdrop {
  opacity: 1;
}

.cart-drawer {
  position: relative;
  justify-self: end;
  display: flex;
  width: min(460px, 100%);
  height: 100vh;
  max-height: 100svh;
  min-height: 0;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.cart-panel.open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cart-scroll {
  display: grid;
  flex: 1;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 10px;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 18px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-item img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  filter: saturate(0.72) sepia(0.16) contrast(0.98) brightness(1.04);
}

.cart-item h3 {
  margin: 0 0 5px;
  font-size: 0.95rem;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.qty-control {
  display: grid;
  grid-template-columns: 32px 34px 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.qty-control span {
  display: grid;
  place-items: center;
  height: 32px;
  color: var(--ink);
  font-weight: 800;
}

.cart-empty {
  display: none;
  place-items: center;
  gap: 10px;
  margin: 40px 24px;
  color: var(--muted);
  text-align: center;
}

.cart-empty svg {
  width: 38px;
  height: 38px;
  color: var(--rose);
}

.cart-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
}

.cart-summary {
  display: grid;
  gap: 7px;
  padding-bottom: 4px;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.cart-summary-row strong {
  color: var(--ink);
  font-size: 0.92rem;
  text-align: right;
}

.shipping-status {
  min-height: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.shipping-status.valid {
  color: #287045;
}

.shipping-status.invalid {
  color: #a44336;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 0 24px 16px;
}

.checkout-form h3 {
  margin: 4px 0 0;
  font-size: 1rem;
}

.checkout-form label,
.payment-box label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.delivery-box {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.delivery-box legend {
  padding: 0 4px;
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.delivery-box.disabled {
  background: var(--surface-soft);
}

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

.address-grid .wide {
  grid-column: 1 / -1;
}

.cep-status {
  min-height: 18px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.cep-status.valid {
  color: #287045;
}

.cep-status.invalid {
  color: #a44336;
}

.payment-box {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.payment-box legend {
  padding: 0 4px;
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.payment-box label {
  grid-template-columns: 18px 1fr;
  align-items: center;
}

.payment-box input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.payment-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cart-total span {
  color: var(--muted);
  font-weight: 800;
}

.cart-total strong {
  font-size: 1.4rem;
}

.lucide {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.brand-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: currentColor;
}

.quick-view-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  visibility: hidden;
}

.quick-view-panel.open {
  pointer-events: auto;
  visibility: visible;
}

.quick-view-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 29, 24, 0.54);
  opacity: 0;
  transition: opacity 180ms ease;
}

.quick-view-panel.open .quick-view-backdrop {
  opacity: 1;
}

.quick-view-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 0.75fr);
  width: min(860px, 100%);
  max-height: min(720px, calc(100svh - 36px));
  overflow: hidden;
  border: 1px solid rgba(234, 223, 201, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.quick-view-panel.open .quick-view-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.quick-view-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.quick-view-media {
  min-height: 360px;
  background: var(--surface-soft);
}

.quick-view-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) sepia(0.14) contrast(1) brightness(1.05);
}

.quick-view-content {
  display: grid;
  align-content: center;
  gap: 16px;
  overflow-y: auto;
  padding: 34px;
}

.quick-view-content h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}

.quick-view-content p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.quick-view-details {
  display: grid;
  gap: 8px;
}

.quick-view-details div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.quick-view-details span {
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: capitalize;
}

.quick-view-details strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 158px;
  z-index: 60;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 15px;
  border: 1px solid rgba(199, 154, 53, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-strong);
  color: var(--ink);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-social {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 35;
  display: grid;
  gap: 10px;
}

.floating-social-link {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 18px 42px rgba(33, 28, 22, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-social-link:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 50px rgba(33, 28, 22, 0.28);
}

.floating-social-link.instagram {
  background: radial-gradient(circle at 30% 110%, #f6c45f 0 24%, #e84b77 45%, #8b3fca 74%, #3143a6 100%);
}

.floating-social-link.whatsapp {
  background: #1fb85d;
}

.floating-social-link svg {
  width: 27px;
  height: 27px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroShine {
  0%,
  58% {
    transform: translateX(-38%);
  }
  82%,
  100% {
    transform: translateX(82%);
  }
}

@keyframes cartBump {
  0%,
  100% {
    transform: scale(1);
  }
  38% {
    transform: scale(1.24);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  60% {
    transform: translateX(5px);
  }
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .quick-view-card {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .quick-view-media {
    min-height: 250px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 12px 16px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    display: none;
    min-width: 210px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 10px;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(33, 29, 24, 0.76), rgba(33, 29, 24, 0.42) 58%, rgba(33, 29, 24, 0.22)),
      linear-gradient(90deg, rgba(33, 29, 24, 0.56), rgba(33, 29, 24, 0.16));
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-content {
    justify-content: end;
    padding: 78px 18px 36px;
  }

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

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-strip div:last-child {
    border-bottom: 0;
  }

  .section,
  .contact-band {
    padding: 54px 18px;
  }

  .section-heading.with-action {
    align-items: stretch;
    flex-direction: column;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .order-lookup-form {
    grid-template-columns: 1fr;
  }

  .product-tools {
    justify-items: stretch;
  }

  .search-box {
    grid-template-columns: 18px 1fr;
  }

  .filters {
    justify-content: flex-start;
  }

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

  .category-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .category-card img {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
  }

  .product-view-button {
    opacity: 1;
    transform: translateY(0);
  }

  .quick-view-panel {
    padding: 12px;
  }

  .quick-view-card {
    max-height: calc(100svh - 24px);
  }

  .quick-view-content {
    padding: 24px;
  }

  .quick-view-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    max-width: 126px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-badges {
    gap: 7px;
  }

  .hero-badges span {
    min-height: 31px;
    font-size: 0.78rem;
  }

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

  .cart-item {
    grid-template-columns: 52px 1fr;
  }

  .qty-control {
    grid-column: 2;
    justify-self: start;
  }

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

/* Editorial beauty shop refresh inspired by modern makeup ecommerce. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fff6ef;
  --ink: #1e1a17;
  --muted: #73685f;
  --coral: #c98a2c;
  --coral-dark: #8f5d18;
  --gold-light: #f4d88b;
  --gold-deep: #6b4613;
  --rose: #f4d8cc;
  --mint: #f4efe6;
  --gold: #c98a2c;
  --line: #ece3d9;
  --shadow: 0 14px 34px rgba(42, 28, 18, 0.1);
  --shadow-strong: 0 22px 54px rgba(42, 28, 18, 0.16);
}

body {
  background: #fff;
  font-family: "Poppins", "Inter", Arial, sans-serif;
}

.promo-topbar {
  position: sticky;
  top: 0;
  z-index: 31;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 40px;
  background: #c77a20;
  color: #fff;
  overflow: hidden;
}

.promo-topbar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.promo-topbar span:last-child {
  border-right: 0;
}

.promo-topbar svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.site-header {
  top: 40px;
  display: grid;
  grid-template-columns: auto minmax(240px, 430px) auto;
  grid-template-areas:
    "brand search actions"
    "nav nav nav";
  row-gap: 13px;
  min-height: 116px;
  padding: 14px clamp(18px, 5vw, 68px) 12px;
  border-bottom: 0;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 26px rgba(38, 26, 16, 0.08);
}

.brand {
  grid-area: brand;
  font-size: 1.38rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 100%;
  background: #c77a20;
  color: #fff;
  box-shadow: none;
}

.brand:hover .brand-mark {
  box-shadow: 0 10px 22px rgba(199, 122, 32, 0.25);
}

.header-search {
  grid-area: search;
  justify-self: center;
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 15px;
  border: 1px solid #d6cbc1;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.header-search:focus-within {
  border-color: #c77a20;
  box-shadow: 0 0 0 4px rgba(199, 122, 32, 0.12);
}

.main-nav {
  grid-area: nav;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  width: 100%;
  color: #2b2723;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.main-nav a {
  font-weight: 700;
}

.main-nav a:hover {
  color: #c77a20;
}

.main-nav a::after {
  bottom: 0;
  height: 3px;
  background: #c77a20;
}

.header-actions {
  grid-area: actions;
  justify-self: end;
}

.icon-button,
.cart-button {
  border-radius: 16px;
  border-color: transparent;
  background: transparent;
}

.icon-button:hover,
.cart-button:hover {
  background: #fff4eb;
  color: #c77a20;
}

.cart-count {
  background: #c77a20;
}

.hero {
  min-height: min(760px, calc(100svh - 64px));
  background: #f6dfcf;
}

.hero img {
  filter: saturate(0.98) contrast(1.02) brightness(1);
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(22, 17, 14, 0.58), rgba(22, 17, 14, 0.2) 48%, rgba(22, 17, 14, 0.02)),
    linear-gradient(0deg, rgba(22, 17, 14, 0.34), rgba(22, 17, 14, 0.06) 46%, rgba(255, 255, 255, 0.02));
}

.hero-content {
  width: min(720px, 100%);
  padding-top: 170px;
  padding-bottom: 84px;
}

.hero .eyebrow {
  color: #ffdca4;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(4.2rem, 10vw, 8.4rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-badges span {
  min-height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #2a211b;
  backdrop-filter: blur(12px);
}

.hero-badges .lucide {
  color: #c77a20;
}

.button {
  border-radius: 16px;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.button.primary {
  background: #c77a20;
  color: #fff;
  box-shadow: 0 10px 22px rgba(199, 122, 32, 0.24);
}

.button.primary:hover {
  background: #a96218;
  box-shadow: 0 14px 28px rgba(199, 122, 32, 0.3);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #241d18;
  border-color: transparent;
}

.section {
  padding: 70px clamp(18px, 5vw, 68px);
}

.section-heading {
  text-align: center;
  margin-inline: auto;
}

.section-heading.with-action {
  align-items: center;
  text-align: left;
}

.eyebrow {
  color: #c77a20;
  letter-spacing: 0;
}

.section h2,
.contact-band h2,
.cart-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 800;
}

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

.category-card {
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(42, 28, 18, 0.08);
}

.category-card img {
  aspect-ratio: 1 / 1;
  filter: saturate(0.94) contrast(1.02) brightness(1.02);
}

.category-card div {
  min-height: 126px;
  padding: 18px 18px 20px;
}

.category-card h3 {
  text-transform: uppercase;
  font-size: 1rem;
}

.products-section {
  background: #fff7f0;
}

.product-tools {
  gap: 12px;
}

.search-box {
  min-height: 44px;
  border-color: #d8c9bd;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}

.filters {
  gap: 7px;
}

.filter-button {
  min-height: 36px;
  border-color: #dccfc5;
  border-radius: 999px;
  background: #fff;
  color: #2a2520;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.filter-button.active,
.filter-button:hover {
  border-color: #c77a20;
  background: #c77a20;
  color: #fff;
}

.product-grid {
  gap: 22px;
}

.product-card {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(42, 28, 18, 0.08);
}

.product-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 42px rgba(42, 28, 18, 0.14);
  transform: translateY(-5px);
}

.product-media {
  background: #f8eee7;
}

.product-media::after {
  display: none;
}

.product-media img {
  filter: saturate(0.98) contrast(1.02) brightness(1.02);
}

.product-card:hover .product-media img {
  filter: saturate(1.03) contrast(1.03) brightness(1.04);
  transform: scale(1.035);
}

.product-tag {
  top: 14px;
  left: 14px;
  border: 0;
  background: #fff;
  color: #c77a20;
  box-shadow: 0 8px 18px rgba(42, 28, 18, 0.08);
  text-transform: uppercase;
}

.product-view-button {
  border-radius: 100%;
}

.product-body {
  gap: 10px;
  padding: 18px;
}

.product-title-row h3 {
  font-size: 0.98rem;
  line-height: 1.28;
  text-transform: uppercase;
}

.product-body p {
  font-size: 0.9rem;
}

.product-details {
  border: 0;
  background: #fff7f0;
}

.option-field select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  border-radius: 14px;
  background: #fff;
}

.product-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.product-footer small {
  font-size: 0.75rem;
}

.price {
  color: #c77a20;
  font-size: 1.16rem;
}

.add-button {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
}

.add-button span {
  display: inline;
}

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

.contact-band,
.account-section,
.orders-section {
  background: #fff;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand actions"
      "search search"
      "nav nav";
  }

  .header-search {
    width: 100%;
  }

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

@media (max-width: 760px) {
  .promo-topbar {
    grid-template-columns: 1fr;
    min-height: 36px;
  }

  .promo-topbar span {
    display: none;
    min-height: 36px;
    border-right: 0;
    font-size: 0.74rem;
  }

  .promo-topbar span:first-child {
    display: inline-flex;
  }

  .site-header {
    top: 36px;
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand actions"
      "search search";
    min-height: 116px;
    padding: 12px 16px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .brand {
    font-size: 1.06rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .main-nav {
    top: calc(100% + 8px);
    right: 14px;
    z-index: 42;
    width: min(280px, calc(100vw - 28px));
    min-width: 248px;
    border-radius: 18px;
    text-transform: none;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-content {
    justify-content: end;
    padding: 164px 18px 38px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 18vw, 4.6rem);
  }

  .section-heading.with-action {
    text-align: center;
  }

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

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

  .category-card img {
    aspect-ratio: auto;
  }
}

/* Footer and terms modal */
.site-footer {
  display: grid;
  gap: 28px;
  padding: 48px clamp(18px, 5vw, 72px) 26px;
  border-top: 1px solid var(--line);
  background: #fffdf9;
}

.footer-brand {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.footer-brand h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 0.9;
}

.footer-brand p:not(.eyebrow) {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.footer-column a {
  color: var(--coral-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.footer-icon-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-icon-list svg {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-bottom button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--coral-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  visibility: hidden;
}

.terms-modal.open {
  pointer-events: auto;
  visibility: visible;
}

.terms-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 28, 22, 0.58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.terms-modal.open .terms-backdrop {
  opacity: 1;
}

.terms-dialog {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(720px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  padding: 24px;
  border: 1px solid rgba(190, 139, 53, 0.34);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(31, 23, 16, 0.28);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.terms-modal.open .terms-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.terms-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.terms-heading {
  display: grid;
  gap: 8px;
  padding-right: 44px;
}

.terms-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 0.9;
}

.terms-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.terms-scroll {
  display: grid;
  gap: 14px;
  max-height: 300px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.terms-scroll section {
  display: grid;
  gap: 6px;
}

.terms-scroll h3 {
  margin: 0;
  font-size: 0.92rem;
}

.terms-scroll p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.terms-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

body.terms-open {
  overflow: hidden;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding: 36px 18px 24px;
  }

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

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }

  .terms-dialog {
    padding: 20px;
  }

  .terms-actions {
    justify-content: stretch;
  }

  .terms-actions .button {
    width: 100%;
  }
}
