/* ═══════════════════════════════════════════════════════════════════════════
   CUNUCU — Tropical Caribbean Webstore
   Theme: Parchment · Forest Green · Gold · "One Happy Island"
   ═══════════════════════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #f5eed8;
  --bg-alt:       #ede6cd;
  --bg-card:      #ffffff;
  --bg-input:     #faf7f0;

  /* Brand */
  --green:        #1a4a2e;
  --green-mid:    #2d6a4f;
  --green-light:  #40916c;
  --teal:         #2a9d8f;
  --gold:         #c9a84c;
  --gold-light:   #e8c77a;
  --brown:        #6b4c2a;
  --cream:        #f5eed8;

  /* Text */
  --text:         #1a2e1a;
  --text-on-dark: #f5eed8;
  --muted:        #5a6e5a;
  --border:       #d4c89e;

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:       8px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold); }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--green);
  border-bottom: 2px solid rgba(201,168,76,0.3);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(26,46,26,0.35);
}

.nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.9rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* nav-brand-name removed — wordmark is now part of the logo SVG */

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--gold-light); }
.nav-active { opacity: 1 !important; color: var(--gold-light) !important; }

.nav-cta {
  background: var(--gold);
  color: var(--green) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  font-weight: 700 !important;
  opacity: 1 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--green) !important; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
  z-index: 0;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(102%);
  transition: transform 0.28s var(--ease);
  z-index: -1;
}

.btn:hover { color: var(--green); }
.btn:hover::before { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: var(--green);
  border-color: var(--gold);
}
.btn-primary::before { background: var(--gold-light); }
.btn-primary:hover { border-color: var(--gold-light); color: var(--green); }

.btn-white {
  border-color: var(--cream);
  color: var(--cream);
}
.btn-white::before { background: var(--cream); }
.btn-white:hover { color: var(--green); }

.btn-green {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}
.btn-green::before { background: var(--green-mid); }
.btn-green:hover { color: var(--cream); border-color: var(--green-mid); }

.btn-full { width: 100%; text-align: center; display: block; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.75rem; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,46,26,0.55) 0%,
    rgba(26,46,26,0.30) 40%,
    rgba(26,46,26,0.50) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.3s;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.5s;
}

.hero-title em {
  color: var(--gold-light);
  font-style: italic;
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(245,238,216,0.88);
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.7s;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards 0.9s;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
  animation: fadeUpCenter 0.8s var(--ease) forwards 1.3s;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ── Section Helpers ────────────────────────────────────────────────────── */
.section-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section-divider {
  width: 52px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.25rem;
  border-radius: 2px;
}

/* ── Category Tiles (photo cards) ───────────────────────────────────────── */
.categories-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.category-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  cursor: pointer;
  color: var(--cream);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.28);
  color: var(--cream);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s var(--ease);
}

.category-card:hover .category-card-bg {
  transform: scale(1.07);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,28,15,0.92) 0%,
    rgba(10,28,15,0.45) 55%,
    rgba(10,28,15,0.1) 100%
  );
  transition: background 0.35s var(--ease);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(
    to top,
    rgba(10,28,15,0.95) 0%,
    rgba(10,28,15,0.55) 55%,
    rgba(10,28,15,0.2) 100%
  );
}

.category-card-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}

.category-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.category-card-content p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.category-card-cta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: letter-spacing 0.25s var(--ease);
}

.category-card:hover .category-card-cta {
  letter-spacing: 0.2em;
}

/* ── Dark Banner Section ────────────────────────────────────────────────── */
.banner-dark {
  background: var(--green);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.banner-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/img/hero-island.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}

.banner-dark .section-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.banner-dark .section-title { color: var(--cream); }
.banner-dark .section-label { color: var(--gold-light); }
.banner-dark p { color: rgba(245,238,216,0.75); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Product Grid ───────────────────────────────────────────────────────── */
.products-section { background: var(--bg-alt); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 56px rgba(26,74,46,0.16);
  border-color: var(--gold);
}

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

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.product-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--green);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 3px;
}

.product-card-badge.custom { background: var(--gold); color: var(--green); }

.product-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.product-card-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.product-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--green);
}

.price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

/* ── Product Detail ─────────────────────────────────────────────────────── */
.product-detail-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Gallery */
.product-detail-gallery {}

.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(26,74,46,0.1);
  background: var(--bg-alt);
  aspect-ratio: 4/3;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.gallery-zoom-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(26,46,26,0.7);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-zoom-btn:hover { background: var(--green); }

.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* Product detail info */
.product-detail-info .product-card-category { font-size: 0.72rem; margin-bottom: 0.5rem; }
.product-detail-info h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--green); margin-bottom: 0.5rem; }
.product-detail-info .price { font-size: 1.4rem; margin-bottom: 1rem; }
.product-detail-info .product-desc { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.qty-row label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.qty-row input {
  width: 72px;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--bg-input);
  color: var(--text);
}

.product-detail-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stock-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-mid);
  margin-bottom: 1.75rem;
}
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.stock-dot.low { background: #e8a020; }
.stock-dot.out { background: #c0392b; }

/* ── Page Header ────────────────────────────────────────────────────────── */
.page-header {
  background: var(--green);
  padding: 7rem 2.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/static/img/hero-island.svg') center/cover;
  opacity: 0.07;
}

.page-header-content { position: relative; z-index: 1; }
.page-header h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); color: var(--cream); font-weight: 900; }
.page-header p { color: rgba(245,238,216,0.72); margin-top: 0.5rem; }

/* ── Auth ───────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 2rem;
  background: var(--bg);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 340px;
  background: var(--green);
  z-index: 0;
}

.auth-box {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.75rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 64px rgba(26,46,26,0.18);
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-logo-img {
  height: 80px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.auth-box h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.auth-box p.auth-subtitle { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  margin-bottom: 0.38rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,74,46,0.1);
}

.form-group input::placeholder, .form-group textarea::placeholder { color: #b0a888; }
.form-group textarea { resize: vertical; min-height: 100px; }

.auth-error {
  background: rgba(192,57,43,0.09);
  border: 1.5px solid rgba(192,57,43,0.3);
  color: #a93226;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.auth-divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-input);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  text-decoration: none;
}
.btn-social:hover { border-color: var(--green); background: var(--bg-alt); color: var(--text); }

.auth-switch { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.auth-switch a { color: var(--green); font-weight: 600; }

/* ── Cart ───────────────────────────────────────────────────────────────── */
.cart-wrap { max-width: 900px; margin: 0 auto; padding: 2rem 2.5rem 5rem; }
.cart-empty { color: var(--muted); font-size: 1rem; text-align: center; padding: 4rem 0; }
.cart-empty p { margin-bottom: 1.5rem; }

/* ── Custom Order Form ──────────────────────────────────────────────────── */
.order-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2.5rem 5rem;
}

.order-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(26,74,46,0.08);
}

.co-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.1rem;
}

/* ── Checkout ────────────────────────────────────────────────────────────── */
.checkout-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 5rem;
  align-items: start;
}
.checkout-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 24px rgba(26,74,46,0.06);
  order: 1;
}
.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: sticky;
  top: 90px;
  order: 2;
}
@media (max-width: 768px) {
  .checkout-wrap { grid-template-columns: 1fr; }
  .checkout-summary { order: 1; position: static; }
  .checkout-form { order: 2; }
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  color: var(--muted);
  font-size: 0.9rem;
}
.upload-zone:hover { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.upload-zone input[type="file"] { display: none; }
.upload-zone-icon { font-size: 2rem; margin-bottom: 0.5rem; }

/* ── My Orders ──────────────────────────────────────────────────────────── */
.orders-list { display: flex; flex-direction: column; gap: 1rem; }
.order-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.order-status {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-received   { background: rgba(26,74,46,0.1);  color: var(--green); }
.status-production { background: rgba(201,168,76,0.15); color: #8b6400; }
.status-ready      { background: rgba(42,157,143,0.12); color: #1b7a6e; }
.status-shipped    { background: rgba(52,152,219,0.12); color: #1a5276; }

/* ── Admin Panel ────────────────────────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f0f2f0;
}

.admin-sidebar {
  width: 240px;
  background: var(--green);
  color: var(--cream);
  flex-shrink: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-header {
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.admin-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-nav { padding: 1rem 0; flex: 1; }

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(245,238,216,0.78);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.admin-nav a:hover, .admin-nav a.active {
  background: rgba(201,168,76,0.12);
  color: var(--gold-light);
}

.admin-nav a .icon { font-size: 1.1rem; }

.admin-main {
  flex: 1;
  overflow: auto;
  padding: 2.5rem;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.admin-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
}

.admin-card {
  background: white;
  border: 1px solid #e0e8e0;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(26,74,46,0.06);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat {
  background: white;
  border: 1px solid #e0e8e0;
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 8px rgba(26,74,46,0.06);
}

.admin-stat h4 { font-size: 0.75rem; color: var(--muted); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; font-family: var(--font-body); }
.admin-stat .stat-value { font-size: 2rem; font-weight: 800; color: var(--green); font-family: var(--font-heading); line-height: 1; }
.admin-stat .stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid #e0e8e0;
  background: #f8faf8;
}
.admin-table td { padding: 0.85rem 1rem; border-bottom: 1px solid #e8ede8; font-size: 0.88rem; vertical-align: middle; }
.admin-table tr:hover td { background: #f8faf8; }

.stock-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stock-bar-track {
  flex: 1;
  height: 6px;
  background: #e0e8e0;
  border-radius: 3px;
  overflow: hidden;
}
.stock-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--green-light);
  transition: width 0.4s var(--ease);
}
.stock-bar-fill.low { background: #e8a020; }
.stock-bar-fill.critical { background: #c0392b; }
.stock-bar-text { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--green);
  color: var(--cream);
  padding: 3.5rem 2.5rem 2rem;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  margin-bottom: 1.75rem;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
}

.footer-tagline { font-size: 0.85rem; color: rgba(245,238,216,0.65); line-height: 1.6; }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(245,238,216,0.65); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(245,238,216,0.45); }
.footer-aruba { font-size: 0.78rem; color: rgba(245,238,216,0.45); display: flex; align-items: center; gap: 0.4rem; }

/* ── Filter Bar ─────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

/* ── Flash / Toast messages ─────────────────────────────────────────────── */
.flash { padding: 0.85rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.88rem; }
.flash-success { background: rgba(40,167,69,0.1); border: 1px solid rgba(40,167,69,0.3); color: #155724; }
.flash-error   { background: rgba(192,57,43,0.09); border: 1px solid rgba(192,57,43,0.3); color: #a93226; }

/* ── Homepage — Section Intro ───────────────────────────────────────────── */
.section-intro {
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ── Homepage — Craft Strip ─────────────────────────────────────────────── */
.craft-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.craft-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.craft-pillar {
  text-align: center;
}

.craft-icon {
  font-size: 2.4rem;
  margin-bottom: 0.85rem;
}

.craft-pillar h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.craft-pillar p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpCenter {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.55); }
}

/* GSAP will add these classes */
.gsap-hidden { opacity: 0; transform: translateY(32px); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
/* ── Hamburger button (hidden on desktop) ───────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  z-index: 10;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
/* Animate to ✕ when open */
.nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Nav ── */
  .nav {
    padding: 0.75rem 1.25rem;
    flex-wrap: wrap;
    position: relative;
  }
  .nav-logo-img { height: 40px; }
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--green);
    border-top: 1px solid rgba(201,168,76,0.25);
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 100;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    opacity: 1;
  }
  .nav-links li:last-child a { border-bottom: none; }

  /* ── Section & layout helpers ── */
  .section-wrap { padding: 3rem 1.25rem; }
  .account-section { padding: 2rem 1.25rem 4rem; }
  .admin-section { padding: 1.5rem 0 3rem; }
  .admin-header { padding: 2rem 0 1.5rem; }

  /* ── Hero ── */
  .hero-actions { flex-direction: column; align-items: center; }

  /* ── Category cards — stack on mobile ── */
  .category-grid { grid-template-columns: 1fr !important; gap: 1rem; }
  .category-card { min-height: 160px; }

  /* ── Product grid — 2 columns on tablet/mobile ── */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* ── Filter bar — horizontal scroll instead of wrap ── */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }

  /* ── Product detail — stack gallery above info ── */
  .product-detail-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 5rem;
  }

  /* ── Admin stock table — horizontal scroll ── */
  .admin-table-wrap { border-radius: 0; border-left: none; border-right: none; }
  .admin-table thead th, .admin-table tbody td { padding: 0.65rem 0.75rem; }

  /* ── Account profile — stack avatar above text ── */
  .account-profile { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* ── Buttons — larger tap targets ── */
  .btn { padding: 0.9rem 1.75rem; }
  .btn-sm { padding: 0.6rem 1.1rem; }

  /* ── Form inputs — larger tap targets ── */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px; /* prevents iOS auto-zoom */
    padding: 0.7rem 0.9rem;
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Small phones (≤ 480px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card-img { height: 200px; }
  .section-wrap { padding: 2.5rem 1rem; }
  .account-section { padding: 1.5rem 1rem 3rem; }
  .gallery-thumbs { gap: 0.4rem; }
  .gallery-thumb { width: 56px; height: 56px; }
  .stock-update-form { flex-wrap: wrap; }
  .admin-legend { gap: 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN — Stock Management Page
   ══════════════════════════════════════════════════════════════════════════ */

.admin-header {
  background: var(--green-dark, #1a2e1a);
  color: var(--cream);
  padding: 3rem 0 2.5rem;
}
.admin-header h1 {
  color: var(--cream);
  margin: 0.25rem 0 0.5rem;
}
.admin-header p { color: rgba(255,255,255,0.7); margin: 0; }

.admin-section { padding: 2.5rem 0 4rem; }

.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
}
.admin-table thead th {
  background: var(--bg-alt);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table tbody td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: none; }

/* Row colour coding */
.admin-table tbody tr.row-out  { background: rgba(192,57,43,0.05); }
.admin-table tbody tr.row-low  { background: rgba(232,160,32,0.07); }
.admin-table tbody tr.row-inactive { opacity: 0.55; }

.admin-product-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.admin-product-link:hover { text-decoration: underline; }

.badge-inactive {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.5rem;
  background: var(--border);
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.type-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.type-standard { background: rgba(42,95,61,0.1); color: var(--green); }
.type-custom   { background: rgba(184,149,69,0.15); color: var(--gold); }

.stock-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.stock-ok     { background: rgba(42,95,61,0.1);   color: var(--green); }
.stock-low    { background: rgba(232,160,32,0.15); color: #8a5a00; }
.stock-out    { background: rgba(192,57,43,0.1);   color: #a93226; }
.stock-custom { background: rgba(184,149,69,0.15); color: var(--gold); }

.stock-numbers { font-variant-numeric: tabular-nums; white-space: nowrap; }
.stock-current { font-size: 1rem; font-weight: 700; }
.stock-sep     { color: var(--muted); margin: 0 0.2rem; }
.stock-target  { color: var(--muted); font-size: 0.88rem; }

.text-green  { color: var(--green); }
.text-orange { color: #c87800; }
.text-red    { color: #c0392b; }
.text-muted  { color: var(--muted); }

.stock-update-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stock-input {
  width: 72px;
  padding: 0.35rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  text-align: center;
}
.stock-input:focus { outline: none; border-color: var(--green); }

.btn-admin {
  background: var(--green);
  color: var(--cream);
  border: none;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
}
.btn-admin:hover { background: var(--green-dark, #1a3d20); }

.admin-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.legend-item { display: flex; align-items: center; gap: 0.4rem; }
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-red    { background: #c0392b; }
.dot-orange { background: #e8a020; }
.dot-green  { background: var(--green); }
.dot-grey   { background: #bbb; }

.admin-empty {
  text-align: center;
  padding: 5rem 0;
  color: var(--muted);
}
.admin-empty h3 { color: var(--green); font-family: var(--font-heading); margin-bottom: 0.5rem; }


/* ══════════════════════════════════════════════════════════════════════════
   ACCOUNT PAGE
   ══════════════════════════════════════════════════════════════════════════ */

/* Section wrapper — matches the rest of the site */
.account-section {
  padding: 3.5rem 2.5rem 5rem;
  background: var(--bg-alt);
  min-height: 60vh;
}
.account-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* Profile summary bar */
.account-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.account-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--green);
  margin: 0 0 0.2rem;
}
.account-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.account-avatar-placeholder {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  flex-shrink: 0;
}
.account-email  { color: var(--muted); margin: 0.1rem 0; font-size: 0.88rem; }
.account-since  { color: var(--muted); margin: 0; font-size: 0.78rem; }

.account-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.account-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--green);
  margin: 0 0 0.5rem;
}
.account-card-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}
.account-card-danger {
  border-color: rgba(192,57,43,0.25);
  background: rgba(192,57,43,0.03);
}
.account-card-danger h3 { color: #c0392b; }

.account-form .form-group { margin-bottom: 1rem; }
.account-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.account-form input[type="password"] {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.account-form input[type="password"]:focus {
  outline: none;
  border-color: var(--green);
}

.btn-danger {
  background: #c0392b;
  color: #fff;
  border: none;
}
.btn-danger:hover { background: #a93226; }

.form-error-banner {
  background: rgba(192,57,43,0.09);
  border: 1px solid rgba(192,57,43,0.3);
  color: #a93226;
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}
.form-success-banner {
  background: rgba(40,167,69,0.08);
  border: 1px solid rgba(40,167,69,0.3);
  color: #155724;
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN — Sub-nav + Product Form
   ══════════════════════════════════════════════════════════════════════════ */

.admin-subnav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0;
  padding: 0 2.5rem;
  overflow-x: auto;
}
.admin-subnav-link {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.admin-subnav-link:hover { color: var(--green); }
.admin-subnav-link.active { color: var(--green); border-bottom-color: var(--green); }

/* Order filter buttons */
.admin-filter-btn {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.admin-filter-btn:hover { border-color: var(--green); color: var(--green); }
.admin-filter-btn.active { background: var(--green); color: var(--cream); border-color: var(--green); }

/* Product form wrapper */
.admin-form-wrap {
  max-width: 720px;
}
.admin-back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.admin-back-link:hover { color: var(--green); }

/* Form groups */
.admin-form { display: flex; flex-direction: column; gap: 0; }

.aform-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.aform-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.aform-group input[type="text"],
.aform-group input[type="number"],
.aform-group select,
.aform-group textarea {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.aform-group input:focus,
.aform-group select:focus,
.aform-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.aform-group textarea { resize: vertical; min-height: 100px; }
.aform-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.3rem 0 0;
}
.aform-optional {
  font-weight: 400;
  text-transform: none;
  font-size: 0.75rem;
  color: var(--muted);
}
.req { color: var(--gold); }

/* Two-column row */
.aform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Checkbox */
.aform-check { margin-bottom: 1.5rem; }
.check-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--text) !important;
}
.check-label input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--green);
  cursor: pointer;
}

/* Actions bar */
.aform-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* Danger zone */
.aform-danger-zone {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1.5px solid rgba(192,57,43,0.3);
  border-radius: var(--radius);
  background: rgba(192,57,43,0.03);
}
.aform-danger-zone h4 {
  color: #c0392b;
  font-family: var(--font-heading);
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.aform-danger-zone p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Delete button */
.btn-delete {
  background: rgba(192,57,43,0.1);
  color: #c0392b;
  border: 1px solid rgba(192,57,43,0.3);
}
.btn-delete:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

@media (max-width: 768px) {
  .admin-subnav { padding: 0 1.25rem; }
  .aform-row { grid-template-columns: 1fr; gap: 0; }
  .admin-form-wrap { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN — Image Upload
   ══════════════════════════════════════════════════════════════════════════ */

.aimg-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.aimg-header { margin-bottom: 1.25rem; }
.aimg-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 0.25rem;
}

/* Existing image grid */
.aimg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.aimg-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  aspect-ratio: 1;
  background: var(--bg-alt);
}
.aimg-first { border-color: var(--gold); }
.aimg-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.aimg-badge {
  position: absolute;
  top: 5px; left: 5px;
  background: var(--gold);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}
.aimg-delete-form { position: absolute; top: 5px; right: 5px; }
.aimg-delete-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(192,57,43,0.85);
  color: #fff;
  border: none;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}
.aimg-delete-btn:hover { background: #c0392b; }

/* Upload area */
.aimg-upload-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aimg-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.aimg-upload-label:hover {
  border-color: var(--green);
  background: rgba(42,95,61,0.04);
  color: var(--green);
}
.aimg-upload-icon { font-size: 1.8rem; }
.aimg-file-input { display: none; }

.aimg-file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.aimg-file-chip {
  background: rgba(42,95,61,0.08);
  color: var(--green);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(42,95,61,0.2);
}

@media (max-width: 480px) {
  .aimg-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.about-hero {
  background: var(--green);
  color: var(--cream);
  padding: 5rem 2.5rem 4rem;
  text-align: center;
}
.about-hero-inner { max-width: 700px; margin: 0 auto; }
.about-hero .section-label { color: var(--gold); opacity: 1; }
.about-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--cream);
  margin: 0.5rem 0 1rem;
  line-height: 1.1;
}
.about-hero-title em { color: var(--gold); font-style: italic; }
.about-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(247,243,235,0.88);
  max-width: 560px;
  margin: 0 auto;
}

.about-story {
  background: var(--bg-alt);
  padding: 5rem 2.5rem;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}
.about-story-text h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--green);
  margin: 2rem 0 0.75rem;
}
.about-story-text h2:first-child { margin-top: 0; }
.about-story-text p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1rem;
}
.about-link { color: var(--green); font-weight: 600; text-decoration: underline; }
.about-link:hover { color: var(--gold); }

.about-story-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 5rem;
}
.about-badge {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.about-badge-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.about-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.4;
  margin: 0;
}

/* ── Gallery on About page ── */
.gallery-section {
  background: #fff;
  padding: 5rem 2.5rem;
}
.gallery-intro {
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Masonry-style columns layout */
.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.03);
  filter: brightness(0.82);
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  padding: 1.5rem 0.85rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-radius: 0 0 var(--radius) var(--radius);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

@media (max-width: 900px) { .gallery-masonry { columns: 2; } }
@media (max-width: 520px) { .gallery-masonry { columns: 1; } }

/* ── About CTA ── */
.about-cta {
  background: var(--green);
  padding: 5rem 2.5rem;
  text-align: center;
}
.about-cta-inner { max-width: 560px; margin: 0 auto; }
.about-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.about-cta p {
  color: rgba(247,243,235,0.85);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.about-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.about-cta .btn-outline {
  border-color: rgba(247,243,235,0.5);
  color: var(--cream);
}
.about-cta .btn-outline:hover {
  background: rgba(247,243,235,0.1);
  border-color: var(--cream);
}

@media (max-width: 768px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-story-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .about-badge { flex: 1 1 140px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN — Gallery Upload
   ══════════════════════════════════════════════════════════════════════════ */

.gallery-upload-form { max-width: 680px; }

.gallery-upload-dropzone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: var(--muted);
}
.gallery-upload-dropzone:hover,
.gallery-upload-dropzone.dragover {
  border-color: var(--green);
  background: rgba(42,95,61,0.04);
  color: var(--green);
}
.gallery-upload-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }

.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.gallery-admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 0.75rem;
}
.gallery-admin-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.gallery-admin-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-admin-meta { padding: 0.6rem 0.6rem 0; }
.gallery-admin-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 0.55rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.gallery-admin-input:focus { outline: none; border-color: var(--green); }

.btn-sm {
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 600;
  transition: all 0.15s;
}
.btn-sm:hover { border-color: var(--green); color: var(--green); background: rgba(42,95,61,0.05); }

.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.admin-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green);
}

@media (max-width: 600px) {
  .gallery-admin-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════════════════════════ */

.legal-hero {
  background: var(--green);
  color: var(--cream);
  padding: 4rem 2.5rem 3rem;
}
.legal-hero .section-label { color: var(--gold); opacity: 1; }
.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cream);
  margin: 0.5rem 0 0.5rem;
}
.legal-date {
  color: rgba(247,243,235,0.65);
  font-size: 0.85rem;
  margin: 0;
}

.legal-section {
  background: var(--bg-alt);
  padding: 4rem 2.5rem 6rem;
}
.legal-content {
  max-width: 760px;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--green);
  margin: 2.5rem 0 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child { border-top: none; margin-top: 0; }
.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.4rem;
}
.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0.9rem;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
}
.legal-content ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.legal-content a { color: var(--green); text-decoration: underline; }
.legal-content a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}
.contact-form-wrap { }
.contact-form .aform-group { margin-bottom: 1.1rem; }
.contact-form .aform-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 5rem;
}
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.contact-info-icon { font-size: 1.5rem; display: block; margin-bottom: 0.4rem; }
.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 0.35rem;
}
.contact-info-card p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}
.contact-info-card p + p { margin-top: 0.3rem; }
.contact-info-note { color: var(--muted) !important; font-size: 0.8rem !important; }
.contact-info-card a { color: var(--green); text-decoration: underline; }
.contact-info-card a:hover { color: var(--gold); }

.flash { border-radius: var(--radius); padding: 0.9rem 1.1rem; font-size: 0.9rem; }
.flash-success {
  background: rgba(40,167,69,0.09);
  border: 1px solid rgba(40,167,69,0.3);
  color: #155724;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info { position: static; }
}

/* ══════════════════════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.notfound-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 5rem 2.5rem;
}
.notfound-inner {
  text-align: center;
  max-width: 520px;
}
.notfound-iggy {
  font-size: 5rem;
  margin-bottom: 1rem;
  display: block;
  animation: iggyWiggle 3s ease-in-out infinite;
}
@keyframes iggyWiggle {
  0%, 100% { transform: rotate(-5deg); }
  50%       { transform: rotate(5deg); }
}
.notfound-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--green);
  margin: 0.5rem 0 1rem;
}
.notfound-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.notfound-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN — Users table
   ══════════════════════════════════════════════════════════════════════════ */

.users-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.users-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.users-table thead th {
  background: var(--bg-alt);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.users-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.users-table tbody tr:last-child { border-bottom: none; }
.users-table tbody tr:hover { background: var(--bg-alt); }
.users-table td { padding: 0.85rem 1rem; vertical-align: middle; }

.user-row-banned { opacity: 0.7; }

.user-cell { display: flex; align-items: center; gap: 0.75rem; }
.user-avatar-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.user-name { font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.user-email { font-size: 0.8rem; color: var(--muted); }
.user-date { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }

.user-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-admin { background: rgba(42,95,61,0.12); color: var(--green); }
.badge-banned { background: rgba(192,57,43,0.12); color: #a93226; }
.badge-unverified { background: rgba(100,100,100,0.1); color: #666; }

.status-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill-green  { background: rgba(42,95,61,0.1);   color: var(--green); }
.pill-orange { background: rgba(232,160,32,0.15); color: #8a5a00; }
.pill-red    { background: rgba(192,57,43,0.1);   color: #a93226; }
.pill-gray   { background: rgba(100,100,100,0.1); color: #666; }

.btn-verify { background: #2a7a4b; color: #fff; border: none; }
.btn-verify:hover { background: #1e5c38; }

.user-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
