/* =========================================================
   Sunset Springs Co — Store CSS
   Brand palette: warm sunset oranges, deep forest greens,
   crystal water teals, cream background.
   Playfair Display serif + DM Sans body.
   ========================================================= */

:root {
  /* Sunset Springs palette */
  --bg:          #F5F0E8;
  --bg-warm:     #EDE5D4;
  --bg-deep:     #2C2418;
  --bg-teal:     #1C3A35;
  --fg:          #2C2418;
  --fg-muted:    #6B5E50;
  --fg-light:    #A89B8C;
  --accent:      #E8923E;
  --accent-dark: #D4763C;
  --accent-soft: #F2C99A;
  --accent-glow: rgba(232, 146, 62, 0.15);
  --teal:        #7FBFCF;
  --teal-dark:   #4A8A96;
  --teal-soft:   #C0DFE6;
  --green:       #4A5D3A;
  --green-dark:  #2D3B2D;
  --cream:       #FAF6EE;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'DM Sans', -apple-system, sans-serif;
}

/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

/* ===== APP SHELL ===== */
.app-body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
}

.app-main {
  min-height: calc(100vh - 160px);
}

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--accent-soft);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover { color: var(--accent); }

.nav-cart {
  position: relative;
  padding: 0.4rem 0.9rem;
  background: var(--bg-warm);
  border-radius: 24px;
  border: 1px solid var(--accent-soft);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-left: 2px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-deep);
  color: var(--fg-light);
  padding: 64px 24px 40px;
  margin-top: auto;
}

.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 72px;
  width: auto;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-light);
  margin-bottom: 2.5rem;
  font-style: italic;
  letter-spacing: 0.03em;
}

.footer-signup {
  margin-bottom: 48px;
}

.footer-signup-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.footer-signup-sub {
  font-family: var(--serif);
  font-size: 1rem;
  color: #E8DDD4;
  line-height: 1.6;
  margin: 0 0 24px;
}

.footer-signup-row {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-signup-input {
  flex: 1 1 200px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(232, 146, 62, 0.3);
  border-radius: 8px;
  color: #E8DDD4;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
  font-family: var(--sans);
}

.footer-signup-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-signup-input:focus { border-color: var(--accent); }

.footer-signup-btn {
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--sans);
}

.footer-signup-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.footer-signup-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.springs-footer-btn { background: var(--teal-dark); }
.springs-footer-btn:hover { background: #3a7480; }

.footer-signup-feedback { font-size: 0.8rem; margin-top: 8px; min-height: 18px; color: var(--fg-light); }
.footer-signup-feedback--error { color: #F4A261; }
.footer-signup-ok { font-family: var(--serif); font-size: 0.95rem; color: var(--teal); margin: 0; padding-top: 8px; }

.footer-divider {
  height: 1px;
  background: rgba(232, 146, 62, 0.12);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--fg-light);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--accent); }

.footer-fine {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  margin: 0.5rem 0 0;
  text-align: center;
}

/* ===== SHARED SECTION LABEL ===== */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ===== SHOP PAGE ===== */
.shop-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.shop-header {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--accent-soft);
  margin-bottom: 3rem;
}

.shop-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.shop-subtitle {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.shop-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid var(--accent-soft);
  color: var(--fg-muted);
  background: transparent;
  transition: all 0.2s;
  font-family: var(--sans);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.product-section {
  margin-bottom: 4rem;
}

.digital-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-warm);
  border-radius: 8px;
  border-left: 3px solid var(--teal);
}

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

.product-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.product-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid transparent;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 36, 24, 0.10);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-warm);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-badge,
.product-type-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.product-badge {
  background: var(--accent);
  color: white;
}

.product-type-badge {
  background: var(--bg-deep);
  color: var(--cream);
}

.product-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-light);
}

.product-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 0.25rem;
}

.product-tagline {
  font-size: 0.83rem;
  color: var(--fg-muted);
  line-height: 1.5;
  flex: 1;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg);
}

.product-compare {
  font-size: 0.85rem;
  color: var(--fg-light);
  text-decoration: line-through;
}

.instant-badge {
  font-size: 0.7rem;
  color: var(--teal-dark);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

.product-breadcrumb {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

.product-breadcrumb a {
  color: var(--fg-muted);
  text-decoration: none;
}

.product-breadcrumb a:hover { color: var(--accent); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
}

.product-detail-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 1;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.digital-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(44, 36, 24, 0.8);
  color: var(--cream);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-detail-category {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.product-detail-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
}

.product-detail-tagline {
  font-size: 1rem;
  color: var(--fg-muted);
  font-style: italic;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border-top: 1px solid var(--accent-soft);
  border-bottom: 1px solid var(--accent-soft);
}

.price-main {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--fg);
}

.price-compare {
  font-size: 1.1rem;
  color: var(--fg-light);
  text-decoration: line-through;
}

.price-type {
  font-size: 0.75rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.product-detail-description p {
  color: var(--fg-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.digital-info,
.shipping-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  background: var(--bg-warm);
  border-radius: 8px;
}

.digital-info-item,
.shipping-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.digital-info-item svg,
.shipping-info-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.add-to-cart-form {
  margin-top: 0.5rem;
}

.btn-add-cart {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--bg-deep);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-cart:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.back-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
}

.back-link:hover { color: var(--accent); }

.related-products {
  padding-top: 3rem;
  border-top: 1px solid var(--accent-soft);
}

/* ===== CART PAGE ===== */
.cart-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.cart-header {
  margin-bottom: 2rem;
}

.cart-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
}

.cart-error {
  margin-top: 0.75rem;
  color: #C04000;
  font-size: 0.9rem;
}

.cart-notice {
  margin-top: 0.75rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.cart-empty {
  text-align: center;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cart-empty-icon { color: var(--fg-light); }

.cart-empty p {
  color: var(--fg-muted);
  font-size: 1.1rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 700px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--accent-soft);
}

.cart-item-img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-warm);
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg);
  text-decoration: none;
}

.cart-item-name:hover { color: var(--accent); }

.cart-item-type {
  font-size: 0.75rem;
  color: var(--fg-light);
  letter-spacing: 0.05em;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 500;
  margin-top: auto;
}

.cart-item-qty {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.cart-item-remove { flex-shrink: 0; }

.remove-btn {
  background: none;
  border: none;
  color: var(--fg-light);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.2s;
}

.remove-btn:hover { color: #C04000; }

.summary-box {
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}

.summary-note {
  font-size: 0.8rem;
  color: var(--fg-light);
}

.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.btn-checkout:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.continue-shopping {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
}

.continue-shopping:hover { color: var(--accent); }

/* ===== CHECKOUT SUCCESS ===== */
.success-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-glow);
  border: 2px solid var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.success-icon--pending {
  background: #fef3c7;
  border-color: #fbbf24;
  color: #d97706;
}

.success-inner h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.success-sub { color: var(--fg-muted); font-size: 1rem; }

.order-summary-box {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 1.5rem;
}

.order-number {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--fg-light);
  margin-bottom: 1rem;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--accent-soft);
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  gap: 0.5rem;
}

.oi-name { flex: 1; text-align: left; }
.oi-qty { color: var(--fg-muted); }
.oi-price { font-weight: 500; }

.order-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 1rem;
}

.download-section {
  width: 100%;
  background: var(--bg-warm);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}

.download-section h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.download-section p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.download-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.download-item svg { color: var(--accent); flex-shrink: 0; }

.success-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== SHARED BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--fg-muted);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--accent-soft);
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== ERROR PAGE ===== */
.error-page {
  max-width: 480px;
  margin: 6rem auto;
  padding: 2rem;
  text-align: center;
}

.error-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.error-inner h1 {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
}

.error-inner p { color: var(--fg-muted); }

/* ===== HERO CTA BUTTONS (landing page) ===== */
.hero-cta-wrap {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-btn-shop {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.hero-btn-shop:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.hero-btn-ghost {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: transparent;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.hero-btn-ghost:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* ===== BLOG ===== */
.blog-article {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.blog-header {
  border-bottom: 1px solid var(--accent-soft);
  margin-bottom: 3rem;
  padding-bottom: 3rem;
}

.blog-header-inner { max-width: 760px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.blog-category {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.72rem;
}

.blog-sep { color: var(--fg-light); }

.blog-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.blog-intro {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 640px;
}

.blog-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .blog-body { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
}

.blog-content { min-width: 0; }

.blog-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--fg);
  line-height: 1.25;
}

.blog-content h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  margin: 2rem 0 0.75rem;
  color: var(--fg);
}

.blog-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.blog-content em { font-style: italic; color: var(--fg-muted); }

.blog-rule {
  border: none;
  border-top: 1px solid var(--accent-soft);
  margin: 2.5rem 0;
}

.blog-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.2s;
}
.blog-link:hover { border-color: var(--accent); }

.blog-product-callout {
  background: var(--bg-warm);
  border: 1px solid var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.callout-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.callout-content { font-size: 0.95rem; color: var(--fg); line-height: 1.5; }

.callout-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.callout-link:hover { text-decoration: underline; }

.blog-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  border: 1px solid var(--accent-soft);
}

.blog-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.blog-table thead { background: var(--bg-warm); }

.blog-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--accent-soft);
}

.blog-table td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(232, 146, 62, 0.1);
  color: var(--fg);
  line-height: 1.5;
}

.blog-table tr:last-child td { border-bottom: none; }

.blog-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-warm);
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--accent-soft);
}

.blog-cta-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.blog-cta-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0.4rem;
  transition: opacity 0.2s;
}
.blog-cta-btn:hover { opacity: 0.88; }

.blog-cta-btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.blog-cta-btn--secondary:hover { background: var(--accent-glow); opacity: 1; }

.blog-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  padding: 1.25rem;
}

.sidebar-card--cta {
  background: var(--bg-warm);
  border-color: var(--accent);
}

.sidebar-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.toc { display: flex; flex-direction: column; gap: 0.3rem; }

.toc-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
}
.toc-link:hover { color: var(--accent); }

.sidebar-pick-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.sidebar-pick-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.sidebar-btn {
  display: block;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.2s;
}
.sidebar-btn:hover { opacity: 0.88; }

/* ── Featured blog section on homepage ── */
.featured-blog {
  padding: 5rem 2rem;
  background: var(--bg-warm);
}

.featured-blog-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 700px) {
  .featured-blog-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.featured-blog-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.featured-blog-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--fg);
}

.featured-blog-excerpt {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.featured-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.featured-blog-link:hover { gap: 0.7rem; }

.featured-blog-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.blog-visual-card {
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.25s;
}

.blog-visual-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.blog-visual-card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.blog-visual-card-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.blog-visual-card-price {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.featured-blog-more {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--accent-soft);
}

.featured-blog-more-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 0.75rem;
}

.featured-blog-more-link {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.featured-blog-more-link:hover { color: var(--accent); }

/* ── Blog index page ── */
.blog-index-section {
  padding: 4rem 2rem 6rem;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-index-inner { width: 100%; }

.blog-index-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.blog-index-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.blog-index-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-index-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.blog-index-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-index-card {
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  transition: box-shadow 0.2s;
}

.blog-index-card:hover {
  box-shadow: 0 6px 24px var(--accent-glow);
}

.blog-index-card--featured {
  border-color: var(--accent);
  background: var(--bg-warm);
}

.blog-index-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.blog-index-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-index-sep { color: var(--fg-light); font-size: 0.75rem; }
.blog-index-read { font-size: 0.75rem; color: var(--fg-muted); }

.blog-index-card-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-index-card-link {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-index-card-link:hover { color: var(--accent); }

.blog-index-card-excerpt {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.blog-index-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.blog-index-read-link:hover { gap: 0.6rem; }

.blog-blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.5rem 0;
  padding: 0.75rem 1.5rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--fg-muted);
  background: var(--cream);
  border-radius: 0 8px 8px 0;
}

/* ── Blog inline signup ── */
.blog-inline-signup {
  background: var(--bg-warm);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  margin: 48px 0;
}

.blog-inline-signup-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.blog-inline-signup-headline {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 10px;
  line-height: 1.3;
}

.blog-inline-signup-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.blog-inline-signup-row {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.blog-inline-signup-input {
  flex: 1;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.blog-inline-signup-input:focus { border-color: var(--accent); }

.blog-inline-signup-btn {
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.blog-inline-signup-btn:hover { background: var(--accent-dark); }
.blog-inline-signup-btn:disabled { opacity: 0.6; cursor: default; }

.blog-inline-signup-note {
  font-size: 0.75rem;
  color: var(--fg-light);
  margin: 12px 0 0;
}

.blog-inline-signup-feedback { font-size: 0.8rem; margin-top: 8px; min-height: 16px; color: var(--fg-muted); }
.blog-inline-signup-feedback--error { color: #C04000; }
.blog-inline-signup-ok { font-family: var(--serif); font-size: 0.95rem; color: var(--accent); margin: 0; }

/* ===== PRODUCT IMAGE GALLERY ===== */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-warm);
}

.product-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.18s ease;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
}

.gallery-thumb {
  flex: 0 0 calc(33.33% - 6px);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  background: var(--bg-warm);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.16s;
}

.gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb.active { border-color: var(--accent); }

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ===== GEAR PAGE ===== */
.gear-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.gear-hero {
  background: linear-gradient(135deg, var(--bg-teal) 0%, var(--bg-deep) 100%);
  padding: 4rem 2rem;
  margin: 0 -2rem 3rem;
  text-align: center;
}

.gear-hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.gear-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gear-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.gear-section { margin-bottom: 4rem; }

.gear-section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--accent-soft);
}

.gear-section-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg);
}

.gear-section-count { font-size: 0.8rem; color: var(--fg-light); letter-spacing: 0.05em; }

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gear-card {
  background: var(--cream);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.gear-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-glow);
  border-color: var(--accent);
}

.gear-card-img {
  aspect-ratio: 4/3;
  background: var(--bg-warm);
  overflow: hidden;
}

.gear-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gear-card:hover .gear-card-img img { transform: scale(1.04); }

.gear-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gear-card-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--fg);
}

.gear-card-blurb {
  font-size: 0.83rem;
  color: var(--fg-muted);
  line-height: 1.5;
  flex: 1;
}

.gear-card-price {
  font-size: 0.85rem;
  color: var(--fg-light);
  font-weight: 500;
  margin-top: 0.25rem;
}

.gear-card-cta {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  margin-top: 0.75rem;
  background: var(--bg-deep);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.gear-card-cta:hover { background: var(--accent); }

/* ===== ORDERS PAGE ===== */
.orders-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.orders-page h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .nav-inner { padding: 0 1rem; }
  .nav-links { gap: 1rem; }
  .shop-page { padding: 2rem 1rem 4rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .gear-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
}
