/* =============================================
   CALI GREENWARE — Main Stylesheet
   Palette: Cream/sage bg, deep forest green accents
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --forest:    #1a3a1a;
  --forest-mid:#2d5a2d;
  --sage:      #7a9e6e;
  --sage-light:#b5ceaa;
  --cream:     #f5f0e8;
  --cream-dark:#ede5d4;
  --tan:       #c8b89a;
  --brown:     #7a6248;
  --text:      #2a2a1e;
  --text-light:#5a5a48;
  --orange:    #c85a1e;
  --white:     #faf8f3;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;

  --radius: 4px;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(26,58,26,0.10);
  --shadow-lg: 0 8px 48px rgba(26,58,26,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ── TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,58,26,0.12);
  padding: 0.75rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 180px;
}

.nav-logo img {
  height: 160px;
  width: auto;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--forest-mid); }

.nav-cta {
  background: var(--forest);
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.95rem !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--forest-mid) !important; }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 6rem 5% 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,158,110,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text { position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--orange);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--sage);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.85;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-2px);
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-image-wrap {
  width: 100%;
  min-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ── SLIDESHOW ── */
.hero-slideshow {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #ffffff;
}

.hero-image-wrap .placeholder-art {
  text-align: center;
  color: var(--forest);
  opacity: 0.5;
}

.hero-image-wrap .placeholder-art svg {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}


.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 110px;
  height: 110px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  box-shadow: var(--shadow);
  padding: 1rem;
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ── SECTION COMMONS ── */
section { padding: 6rem 5%; }

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.8;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin: 0 auto; }

/* ── VALUES STRIP ── */
.values-strip {
  background: var(--forest);
  padding: 3.5rem 5%;
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.value-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: var(--cream);
}
.value-item:last-child { border-right: none; }

.value-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.value-item p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--sage-light);
  line-height: 1.5;
}

/* ── PRODUCTS GRID ── */
.products-section { background: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--cream-dark), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

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

.product-card-image .no-image {
  font-size: 4rem;
  opacity: 0.3;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

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

.product-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.product-card-info .product-desc {
  font-size: 0.98rem;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}

/* ── ABOUT SECTION HOME ── */
.about-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-side {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage-light), var(--cream-dark));
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--forest);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.about-img-accent p {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
  line-height: 1.4;
}

.about-text { padding-bottom: 2rem; }

.about-text p {
  color: var(--text);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.9;
  font-size: 1.1rem;
}

.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-dark);
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.05em;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(245,240,232,0.75);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.btn-light {
  background: var(--cream);
  color: var(--forest);
}
.btn-light:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: var(--cream-dark);
  padding: 5rem 5% 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 180px; margin-bottom: 1.6rem; }

.footer-brand p {
  font-size: 1.1rem;
  opacity: 0.85;
  font-weight: 400;
  line-height: 1.8;
  max-width: 300px;
}

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

.footer-col a {
  display: block;
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 0.85rem;
  transition: opacity var(--transition);
  font-weight: 400;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  opacity: 0.7;
}

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  padding: 5rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
}

.page-header::before {
  content: '';
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--cream);
  margin-bottom: 0.75rem;
  position: relative;
}

.page-header p {
  color: rgba(245,240,232,0.9);
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 500px;
  position: relative;
}

.breadcrumb {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  margin-bottom: 1.5rem;
  position: relative;
}

.breadcrumb a { color: var(--sage-light); }
.breadcrumb a:hover { color: var(--cream); }

/* ── SHOP FILTERS ── */
.shop-section { background: var(--white); }

.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.4rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
}
.filter-tab:hover, .filter-tab.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.shop-count {
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
}

/* ── PRODUCT MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,58,26,0.5);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--cream-dark), var(--sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

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

.modal-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.modal-content .modal-cat {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.modal-content .modal-desc {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 1.5rem;
}

.modal-price {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.modal-inquiry {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ── ABOUT PAGE ── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-story-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--forest);
  margin-bottom: 1.5rem;
}

.about-story-text p {
  color: var(--text);
  font-weight: 400;
  margin-bottom: 1.2rem;
  line-height: 1.9;
  font-size: 1.1rem;
}

.about-story-image {
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-dark), var(--sage-light));
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

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

.value-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border-top: 3px solid var(--sage);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.75;
}

.values-section { background: var(--cream-dark); }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--forest);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail .icon {
  font-size: 1.5rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.contact-detail p {
  font-size: 1rem;
  margin: 0;
  color: var(--text);
  font-weight: 400;
}

.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--forest);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ── ADMIN PANEL ── */
.admin-body {
  background: #f0f0ee;
  font-family: var(--font-body);
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
}

.admin-login-box {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.admin-login-box img {
  height: 50px;
  margin: 0 auto 2rem;
}

.admin-login-box h2 {
  font-family: var(--font-display);
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.admin-login-box p {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.admin-error {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  display: none;
}

.admin-dashboard { display: none; min-height: 100vh; }

.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: var(--forest);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.admin-sidebar img {
  height: 52px;
  margin-bottom: 2rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  color: rgba(245,240,232,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: all var(--transition);
}

.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--cream);
}

.admin-main {
  margin-left: 240px;
  padding: 2rem 2.5rem;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.admin-topbar h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--forest);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.admin-stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.admin-stat-card .stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.admin-stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--forest);
  font-weight: 700;
  line-height: 1;
}

.admin-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
}

.admin-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1.5px solid var(--cream-dark);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--cream); }

.admin-table img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--cream-dark);
}

.badge-category {
  background: var(--sage-light);
  color: var(--forest);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.action-btn {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: opacity var(--transition);
}
.action-btn:hover { opacity: 0.8; }
.btn-edit { background: var(--cream-dark); color: var(--text); }
.btn-delete { background: #fde8e8; color: #c0392b; }

/* ADD PRODUCT FORM */
.add-form .form-row { margin-bottom: 1.5rem; }
.add-form .form-group { margin-bottom: 0; }

.image-upload-area {
  border: 2px dashed var(--cream-dark);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}
.image-upload-area:hover {
  border-color: var(--sage);
  background: rgba(181,206,170,0.05);
}
.image-upload-area input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
}
.image-upload-area p { color: var(--text-light); font-size: 0.85rem; font-weight: 300; }
.image-upload-area .upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }

#imagePreview {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0.75rem auto 0;
  display: none;
}

.logout-btn {
  margin-top: auto;
  background: rgba(255,255,255,0.08);
  color: rgba(245,240,232,0.7);
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logout-btn:hover { background: rgba(255,255,255,0.15); color: var(--cream); }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── EMPTY STATE ── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--forest); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.9rem; font-weight: 300; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 4rem 5%; }
  .hero-visual { display: none; }
  .about-home, .about-story, .contact-grid, .modal { grid-template-columns: 1fr; }
  .modal-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 180px; left: 0; right: 0; background: var(--cream); padding: 1.5rem 5%; border-bottom: 1px solid var(--cream-dark); gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { flex-wrap: wrap; gap: 1.5rem; }
  .values-strip { flex-direction: column; }
  .value-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .admin-stats { grid-template-columns: 1fr; }
  .cta-banner { padding: 3rem 5%; }
  section { padding: 4rem 5%; }
}
