/* ============================================================
   HAMMOND HOMESTEAD — Main Stylesheet
   hammond-homestead.com
   ============================================================ */

:root {
  --dark:        #1A1710;
  --cream:       #FAF6EE;
  --cream-mid:   #F2EBE0;
  --cream-dark:  #E8DDD0;
  --taupe:       #8A7A65;
  --taupe-light: #B8A898;
  --taupe-dark:  #5C4E3C;
  --ink:         #2A1A0A;
  --muted:       #7A6A58;
  --white:       #FFFFFF;
  --error:       #C0392B;
  --success:     #27AE60;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--taupe); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--taupe-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 64px 0; }
.section--dark { background: var(--dark); }
.section--mid { background: var(--cream-mid); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.4rem; }
.section-rule {
  width: 36px; height: 2px;
  background: var(--taupe);
  margin: 0.6rem auto 0;
  border: none;
  display: block;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  transition: background 0.2s, transform 0.15s, color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--taupe); color: var(--cream); }
.btn-primary:hover { background: var(--taupe-dark); color: var(--cream); }

.btn-dark { background: var(--dark); color: var(--cream); }
.btn-dark:hover { background: var(--taupe-dark); color: var(--cream); }

.btn-ghost { background: transparent; color: var(--taupe-light); border: 1px solid var(--taupe-light); }
.btn-ghost:hover { background: var(--taupe); color: var(--cream); border-color: var(--taupe); }

.btn-outline { background: transparent; color: var(--taupe); border: 1px solid var(--taupe); }
.btn-outline:hover { background: var(--taupe); color: var(--cream); }

.btn-full { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }

/* ── FORMS ── */
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
  font-family: Arial, sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--taupe);
  outline: none;
  box-shadow: 0 0 0 3px rgba(138,122,101,0.12);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--taupe-light); }
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field-error { color: var(--error); font-size: 0.8rem; margin-top: 4px; display: none; }
.field.has-error input,
.field.has-error textarea { border-color: var(--error); }
.field.has-error .field-error { display: block; }

/* ── HEADER ── */
.site-header {
  background: var(--dark);
  border-bottom: 2px solid var(--taupe);
  position: sticky;
  top: 0;
  z-index: 500;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo-ring {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--taupe-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header-logo-ring img {
  width: 32px; height: 32px;
  object-fit: contain;
  border-radius: 50%;
}
.header-logo-ring span {
  font-size: 15px;
  font-style: italic;
  font-weight: bold;
  color: var(--cream);
  font-family: Georgia, serif;
}
.header-logo-text {
  font-size: 1rem;
  font-weight: bold;
  color: var(--cream);
  letter-spacing: 0.06em;
  font-family: Arial, sans-serif;
}
.header-logo-text small {
  display: block;
  font-size: 0.55rem;
  color: var(--taupe-light);
  letter-spacing: 0.14em;
  font-style: italic;
  font-weight: 400;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.header-nav a {
  font-size: 0.82rem;
  color: var(--taupe-light);
  letter-spacing: 0.06em;
  font-family: Arial, sans-serif;
  text-decoration: none;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--cream); }
.header-nav a.active { color: var(--cream); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.cart-btn {
  background: var(--taupe);
  color: var(--cream);
  border: none;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  position: relative;
}
.cart-btn:hover { background: var(--taupe-dark); }
.cart-count {
  background: var(--cream);
  color: var(--taupe-dark);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  display: none;
  background: var(--dark);
  border-top: 1px solid #2A2215;
  padding: 1rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: var(--taupe-light);
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
  padding: 0.6rem 0;
  border-bottom: 1px solid #2A2215;
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--cream); }

@media (max-width: 768px) {
  .header-nav { display: none; }
  .menu-toggle { display: block; }
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--taupe-light);
  padding: 8px 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--taupe-dark);
  font-family: Arial, sans-serif;
  letter-spacing: 0.05em;
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 80px 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  width: 28px; height: 28px;
  border-top: 1.5px solid var(--taupe);
  border-left: 1.5px solid var(--taupe);
  opacity: 0.45;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 16px; right: 16px;
  width: 28px; height: 28px;
  border-bottom: 1.5px solid var(--taupe);
  border-right: 1.5px solid var(--taupe);
  opacity: 0.45;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.hero h1 { color: var(--cream); margin-bottom: 0.5rem; }
.hero h1 em { color: var(--taupe-light); font-style: italic; }
.hero-sub {
  color: #888;
  font-style: italic;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.hero-rule {
  width: 36px; height: 1.5px;
  background: var(--taupe);
  margin: 0 auto 1.5rem;
  border: none;
  display: block;
}
.hero-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Hero with background image */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--cream-dark);
  border-top: 0.5px solid var(--taupe-light);
  border-bottom: 0.5px solid var(--taupe-light);
  padding: 12px 1.5rem;
}
.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--taupe-dark);
  font-family: Arial, sans-serif;
}
.trust-item svg { color: var(--taupe); flex-shrink: 0; }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 0.5px solid var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(138,122,101,0.14);
}

.product-card-img {
  background: var(--cream-mid);
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: var(--taupe-light);
  background: var(--cream-mid);
}

.product-card-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--cream-mid);
  color: var(--taupe-dark);
  border: 0.5px solid var(--cream-dark);
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  font-family: Arial, sans-serif;
}

.product-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.product-card-name {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}
.product-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--taupe-dark);
  margin-top: 0.4rem;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* ── STORY BAND ── */
.story-band {
  background: var(--cream-mid);
  border-top: 0.5px solid var(--cream-dark);
  border-bottom: 0.5px solid var(--cream-dark);
  padding: 40px 1.5rem;
}
.story-band-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
}
.story-seal {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--taupe);
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.story-seal img { width: 68px; height: 68px; object-fit: contain; border-radius: 50%; }
.story-seal span {
  font-size: 28px;
  font-style: italic;
  color: var(--cream);
  font-family: Georgia, serif;
}
.story-text h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.story-text p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.5rem; }
.story-text a { font-size: 0.82rem; color: var(--taupe); letter-spacing: 0.06em; }

/* ── NEWSLETTER ── */
.newsletter { background: var(--dark); padding: 64px 1.5rem; text-align: center; }
.newsletter h2 { color: var(--cream); margin-bottom: 0.5rem; }
.newsletter p { color: var(--taupe-light); font-size: 0.9rem; margin-bottom: 1.5rem; }
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--taupe);
  border-radius: 3px;
  background: rgba(255,255,255,0.07);
  color: var(--cream);
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
}
.newsletter-form input::placeholder { color: var(--taupe-light); }
.newsletter-form input:focus { outline: none; border-color: var(--taupe-light); }
.newsletter-msg { margin-top: 0.75rem; font-size: 0.85rem; color: var(--taupe-light); min-height: 1.2em; }

/* ── PRODUCT PAGE ── */
.product-page { padding: 48px 0; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .product-layout { grid-template-columns: 1fr; } }

.product-gallery-main {
  background: var(--cream-mid);
  border-radius: 6px;
  border: 0.5px solid var(--cream-dark);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-main .placeholder { font-size: 5rem; color: var(--taupe-light); }

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.product-thumb {
  width: 64px; height: 64px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-mid);
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.active { border-color: var(--taupe); }
.product-thumb:hover { border-color: var(--taupe-light); }

.product-info-badge {
  display: inline-block;
  background: var(--cream-mid);
  color: var(--taupe-dark);
  border: 0.5px solid var(--cream-dark);
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 0.75rem;
  font-family: Arial, sans-serif;
}
.product-info h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.4rem; }
.product-info-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--taupe-dark);
  font-family: Arial, sans-serif;
  margin-bottom: 0.75rem;
}
.product-info-desc {
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--cream-dark);
}
.product-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.qty-label { font-size: 0.78rem; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  overflow: hidden;
}
.qty-ctrl button {
  background: none;
  border: none;
  width: 36px; height: 36px;
  font-size: 1.1rem;
  color: var(--taupe);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.qty-ctrl button:hover { background: var(--cream-mid); }
.qty-ctrl input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--cream-dark);
  border-right: 1px solid var(--cream-dark);
  font-size: 0.95rem;
  color: var(--ink);
  height: 36px;
  -moz-appearance: textfield;
}
.qty-ctrl input::-webkit-outer-spin-button,
.qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; }

.product-add-row { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }

.product-details {
  border-top: 1px solid var(--cream-dark);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.product-detail-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 0.5px solid var(--cream-mid);
  font-size: 0.875rem;
  color: var(--muted);
}
.product-detail-row svg { color: var(--taupe); flex-shrink: 0; }

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26,23,16,0.55);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--cream);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 24px rgba(26,23,16,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  background: var(--dark);
  border-bottom: 1px solid var(--taupe);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 { color: var(--cream); font-size: 1rem; font-family: Arial, sans-serif; font-weight: 700; letter-spacing: 0.06em; }
.cart-close {
  background: none; border: none;
  color: var(--taupe-light);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-close:hover { color: var(--cream); }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }

.cart-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: flex-start;
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: 4px;
  background: var(--cream-mid);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.875rem; font-family: Georgia, serif; color: var(--ink); line-height: 1.3; margin-bottom: 3px; }
.cart-item-price { font-size: 0.85rem; font-weight: 700; color: var(--taupe-dark); }
.cart-item-remove {
  background: none; border: none;
  color: var(--taupe-light); font-size: 0.8rem;
  cursor: pointer; margin-top: 4px;
  text-decoration: underline;
  transition: color 0.2s;
  font-family: Arial, sans-serif;
  display: block;
}
.cart-item-remove:hover { color: var(--error); }

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--cream-dark);
  background: var(--cream);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cart-subtotal span:first-child { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.cart-subtotal-amount { font-size: 1.2rem; font-weight: 700; color: var(--ink); }

/* ── CHECKOUT PAGE ── */
.checkout-page { padding: 48px 0; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) { .checkout-layout { grid-template-columns: 1fr; } }

.checkout-summary {
  background: var(--cream-mid);
  border: 0.5px solid var(--cream-dark);
  border-radius: 6px;
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.checkout-summary h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  font-family: Arial, sans-serif;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-family: Arial, sans-serif;
  color: var(--ink);
  padding: 4px 0;
}
.checkout-line.muted { color: var(--muted); }
.checkout-total {
  border-top: 1px solid var(--cream-dark);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  color: var(--taupe-dark);
}

.payment-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-family: Arial, sans-serif;
}
.payment-divider::before,
.payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}

.paypal-btn {
  width: 100%;
  background: #FFC439;
  color: #003087;
  border: none;
  border-radius: 3px;
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.paypal-btn:hover { background: #f0b429; }

.checkout-form h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--taupe);
}

/* Stripe card element */
#card-element {
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  transition: border-color 0.2s;
}
#card-element.StripeElement--focus { border-color: var(--taupe); }
#card-element.StripeElement--invalid { border-color: var(--error); }
#card-errors { color: var(--error); font-size: 0.8rem; margin-top: 6px; min-height: 1.2em; }

.secure-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: Arial, sans-serif;
}

/* ── ORDER CONFIRMATION ── */
.confirmation-page { padding: 80px 1.5rem; text-align: center; }
.confirmation-icon {
  width: 72px; height: 72px;
  background: var(--cream-mid);
  border: 2px solid var(--taupe);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}
.confirmation-page h1 { margin-bottom: 0.5rem; }
.confirmation-page p { color: var(--muted); max-width: 480px; margin: 0 auto 2rem; font-size: 0.95rem; }
.confirmation-order {
  background: var(--cream-mid);
  border: 0.5px solid var(--cream-dark);
  border-radius: 6px;
  padding: 1.5rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  text-align: left;
}
.confirmation-order h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  font-family: Arial, sans-serif;
  margin-bottom: 1rem;
}

/* ── STORY PAGE ── */
.story-page { padding: 64px 0; max-width: 760px; margin: 0 auto; }
.story-page h1 { text-align: center; margin-bottom: 0.5rem; }
.story-page .eyebrow { text-align: center; }
.story-page hr { margin: 2rem 0; }
.story-page p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.25rem; }

/* ── CONTACT PAGE ── */
.contact-page { padding: 64px 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.contact-detail svg { color: var(--taupe); flex-shrink: 0; }

/* ── ADMIN ── */
.admin-page { min-height: 100vh; background: var(--cream); }

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--dark);
}
.admin-login-box {
  background: var(--cream);
  border-radius: 8px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--cream-dark);
}
.admin-login-box h2 { text-align: center; margin-bottom: 0.25rem; }
.admin-login-box p { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 2rem; }
.admin-login-logo {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-style: italic;
  color: var(--taupe);
  font-family: Georgia, serif;
}

.admin-bar {
  background: var(--dark);
  border-bottom: 2px solid var(--taupe);
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-bar h1 { color: var(--cream); font-size: 1rem; font-family: Arial, sans-serif; font-weight: 700; letter-spacing: 0.06em; }
.admin-bar-actions { display: flex; align-items: center; gap: 0.75rem; }

.admin-content { padding: 2rem 1.5rem; max-width: 1100px; margin: 0 auto; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-stat {
  background: var(--white);
  border: 0.5px solid var(--cream-dark);
  border-radius: 6px;
  padding: 1.25rem;
}
.admin-stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-family: Arial, sans-serif; margin-bottom: 0.4rem; }
.admin-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-family: Arial, sans-serif; }

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }

.admin-card {
  background: var(--white);
  border: 0.5px solid var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
}
.admin-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card-header h3 { font-size: 0.875rem; font-family: Arial, sans-serif; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.admin-card-body { padding: 1.25rem; }

/* Image upload */
.upload-area {
  border: 1.5px dashed var(--taupe-light);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  background: var(--cream-mid);
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.upload-area:hover { border-color: var(--taupe); background: var(--cream-dark); }
.upload-area input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-area p { font-size: 0.82rem; color: var(--muted); margin: 0; }
.upload-area .upload-icon { font-size: 1.5rem; color: var(--taupe-light); margin-bottom: 0.4rem; }
.upload-preview {
  width: 100%; height: 140px;
  object-fit: cover;
  border-radius: 4px;
  display: none;
  margin-bottom: 0.5rem;
}

/* Product list in admin */
.admin-product-list { display: flex; flex-direction: column; }
.admin-product-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--cream-mid);
  transition: background 0.15s;
}
.admin-product-item:hover { background: var(--cream-mid); }
.admin-product-item:last-child { border-bottom: none; }
.admin-product-thumb {
  width: 48px; height: 48px;
  border-radius: 4px;
  background: var(--cream-mid);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  border: 0.5px solid var(--cream-dark);
}
.admin-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-product-info { flex: 1; min-width: 0; }
.admin-product-name { font-size: 0.875rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-product-price { font-size: 0.8rem; color: var(--taupe); }
.admin-product-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.admin-product-actions button {
  background: none; border: none;
  font-size: 0.75rem; font-family: Arial, sans-serif;
  cursor: pointer; padding: 4px 8px; border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
.btn-edit { color: var(--taupe); }
.btn-edit:hover { background: var(--cream-mid); color: var(--taupe-dark); }
.btn-delete { color: var(--error); }
.btn-delete:hover { background: #fdecea; }

.admin-empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  font-family: Arial, sans-serif;
}

/* Orders table */
.orders-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.orders-table th {
  background: var(--cream-mid);
  color: var(--taupe-dark);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--cream-dark);
  text-align: left;
  font-family: Arial, sans-serif;
}
.orders-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--ink);
  font-family: Arial, sans-serif;
}
.orders-table tr:hover td { background: var(--cream-mid); }
.order-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-paid { background: #d4edda; color: #155724; }
.status-pending { background: var(--cream-dark); color: var(--taupe-dark); }
.status-fulfilled { background: #cce5ff; color: #004085; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  border-top: 2px solid var(--taupe);
  padding: 48px 1.5rem 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-light);
  font-family: Arial, sans-serif;
  margin-bottom: 1rem;
}
.footer-col p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  font-family: Arial, sans-serif;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--taupe-light); }

.footer-bottom {
  border-top: 1px solid #2A2215;
  padding-top: 1.25rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-slogan {
  font-size: 0.875rem;
  color: var(--taupe-light);
  font-style: italic;
  font-family: Georgia, serif;
  margin-bottom: 0.4rem;
}
.footer-copy { font-size: 0.75rem; color: #3A2C1A; font-family: Arial, sans-serif; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8rem;
  font-family: Arial, sans-serif;
  color: var(--taupe-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--taupe); }
.breadcrumb a:hover { color: var(--taupe-dark); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: var(--cream);
  border-left: 3px solid var(--taupe);
  border-radius: 4px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-family: Arial, sans-serif;
  z-index: 2000;
  transition: transform 0.3s;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--error); }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--dark);
  padding: 48px 1.5rem;
  text-align: center;
  border-bottom: 2px solid var(--taupe);
}
.page-header h1 { color: var(--cream); margin-bottom: 0.4rem; }
.page-header p { color: var(--taupe-light); font-size: 0.9rem; font-style: italic; }

/* ── LOADING ── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  font-size: 0.85rem;
  color: var(--taupe);
  font-family: Arial, sans-serif;
  transition: all 0.2s;
}
.pagination a:hover { background: var(--cream-mid); color: var(--ink); }
.pagination span.current { background: var(--taupe); color: var(--cream); border-color: var(--taupe); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--taupe-light); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--taupe); }

/* ── UTILS ── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.hidden { display: none !important; }
