@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --light-gray: #f4f4f4;
  --border: #e8e8e8;
  --border-dark: #d0d0d0;
  --text: #111111;
  --text-mid: #444444;
  --text-muted: #888888;
  --green: #3CBF2F;
  --green-dark: #2fa324;
  --green-light: #f0fced;
  --green-border: #c3ebbf;
  --black: #111111;
  --nav-height: 66px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 1000;
}

.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  color: var(--text-mid); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.01em; transition: color 0.15s;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green); color: var(--white); border: none;
  padding: 0.5rem 1.1rem; font-family: 'Inter', sans-serif;
  font-size: 0.825rem; font-weight: 600; cursor: pointer;
  border-radius: 4px; transition: background 0.15s;
  text-decoration: none; display: inline-block;
}

.nav-cta:hover { background: var(--green-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 22px; height: 1.5px; background: var(--text); display: block; }

/* ── PAGE ── */
.page { padding-top: var(--nav-height); min-height: 100vh; }

/* ── HERO ── */
.hero {
  min-height: 82vh; background: var(--white);
  display: flex; align-items: center;
  margin-top: -66px;
  padding-top: calc(5rem + 66px);
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-bottom: 5rem; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.hero::after {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(60,191,47,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 620px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  border: 1px solid var(--green-border);
  padding: 0.3rem 0.75rem; border-radius: 2px; margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--black); line-height: 1.1;
  font-weight: 600; margin-bottom: 1.25rem;
}

.hero h1 em { font-style: italic; font-weight: 400; color: var(--green); }

.hero p {
  font-size: 1rem; color: var(--text-muted);
  max-width: 440px; margin-bottom: 2.25rem; line-height: 1.75;
}

.btn-primary {
  display: inline-block; background: var(--green); color: var(--white);
  padding: 0.8rem 2rem; text-decoration: none; font-weight: 600;
  font-size: 0.875rem; letter-spacing: 0.02em; border-radius: 4px;
  transition: background 0.15s, transform 0.15s; border: none; cursor: pointer;
}

.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block; background: transparent; color: var(--text);
  padding: 0.8rem 2rem; text-decoration: none; font-weight: 500;
  font-size: 0.875rem; border: 1px solid var(--border-dark); border-radius: 4px;
  transition: all 0.15s; margin-left: 0.75rem; cursor: pointer;
}

.btn-outline:hover { border-color: var(--green); color: var(--green); }

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}

.hero-stat .num { font-size: 1.5rem; font-weight: 600; color: var(--black); display: block; line-height: 1; }
.hero-stat .lbl { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.3rem; }

/* ── SECTIONS ── */
section { padding: 5rem 2.5rem; }

.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--black); font-weight: 600; line-height: 1.15; margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted); max-width: 480px;
  margin-bottom: 2.5rem; font-size: 0.95rem; line-height: 1.7;
}

/* ── VALUES STRIP ── */
.values-strip {
  background: var(--light-gray);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2.5rem;
}

.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}

.value-item { display: flex; align-items: flex-start; gap: 0.75rem; }

.value-icon-wrap {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--green-light); border: 1px solid var(--green-border);
  border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

.value-title { font-size: 0.875rem; font-weight: 600; color: var(--black); margin-bottom: 0.15rem; }
.value-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ── CATEGORY TABS ── */
.category-tabs {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  max-width: 1200px; margin: 1.25rem auto 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cat-tab {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--white); color: var(--text-mid);
  font-family: 'Inter', sans-serif; font-size: 0.82rem;
  font-weight: 500; cursor: pointer; transition: all 0.15s;
  white-space: nowrap;
}

.cat-tab:hover { border-color: var(--green); color: var(--green); }

.cat-tab.active {
  background: var(--green); color: var(--white);
  border-color: var(--green); font-weight: 600;
}

/* ── CATEGORY SECTION HEADINGS (shown in All view) ── */
.category-section { margin-bottom: 3rem; }

.category-section-heading {
  display: flex; align-items: baseline; gap: 0.75rem;
  margin-bottom: 1.25rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--green);
}

.category-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--black);
}

.category-count {
  font-size: 0.75rem; color: var(--text-muted);
}

/* ── B2B PRODUCT GRID ── */
.b2b-product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem; max-width: 1200px; margin: 0 auto;
}

.b2b-product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden; transition: box-shadow 0.2s, border-color 0.2s;
}

.b2b-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); border-color: var(--green-border); }

.b2b-product-img {
  width: 100%; height: 320px; object-fit: contain; padding: 1rem; background: var(--light-gray);
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--text-muted);
}

.b2b-product-body { padding: 1.1rem; }

.b2b-product-category {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.3rem;
}

.b2b-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--black);
}

.b2b-product-desc {
  font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.875rem; line-height: 1.55;
}

.b2b-product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.875rem; border-top: 1px solid var(--border);
}

.b2b-product-price { font-size: 1.1rem; font-weight: 600; color: var(--black); }

.b2b-qty-wrap { display: flex; align-items: center; gap: 0.4rem; }

.b2b-qty-wrap label {
  font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}

.b2b-qty {
  width: 56px; padding: 0.35rem 0.5rem;
  border: 1px solid var(--border); border-radius: 3px;
  font-family: 'Inter', sans-serif; font-size: 0.875rem;
  text-align: center; outline: none; transition: border-color 0.15s;
}

.b2b-qty:focus { border-color: var(--green); }
.b2b-out-of-stock { font-size: 0.78rem; color: var(--text-muted); font-style: italic; }

/* ── SEARCH BAR ── */
.search-wrap { max-width: 1200px; margin: 0 auto 2rem; position: relative; }

.search-input {
  width: 100%; padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s; color: var(--text);
  background: var(--white);
}

.search-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(60,191,47,0.08); }
.search-icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); font-size: 1rem; color: var(--text-muted); pointer-events: none; }

.search-count { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6rem; display: block; max-width: 1200px; margin-left: auto; margin-right: auto; }

.no-results { text-align: center; padding: 3rem; color: var(--text-muted); grid-column: 1/-1; font-size: 0.95rem; }

/* ── ORDER FORM ── */
.order-form-wrap {
  max-width: 760px; margin: 3rem auto 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 2.5rem;
}

.order-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 600; margin-bottom: 0.4rem;
}

.order-form-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6; }

.form-section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 1rem; margin-top: 1.75rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); display: block;
}

.form-section-label:first-child { margin-top: 0; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mid); }

.form-group .field-sub {
  font-size: 0.72rem; color: var(--text-muted);
  font-weight: 400; letter-spacing: 0; text-transform: none; margin-top: -0.1rem;
}

.form-group input, .form-group textarea {
  padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: 4px;
  background: var(--white); color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.15s;
}

.form-group input:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 100px; }

.order-summary {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 5px; padding: 1.25rem; margin-bottom: 1rem;
}

.order-summary-title { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-mid); }
.order-summary-empty { font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

.order-line {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; padding: 0.3rem 0; border-bottom: 1px solid var(--border);
}

.order-line:last-child { border-bottom: none; }
.order-line-detail { color: var(--text-muted); font-size: 0.8rem; }

.order-total {
  display: flex; justify-content: space-between;
  font-weight: 600; font-size: 0.95rem;
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 2px solid var(--border-dark);
}

.form-success-banner {
  background: var(--green-light); border: 1px solid var(--green-border);
  border-radius: 6px; padding: 1.5rem; text-align: center;
  display: none; margin-bottom: 1.5rem;
}

.form-success-banner .success-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.form-success-banner h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--green-dark); }
.form-success-banner p { font-size: 0.875rem; color: var(--text-muted); }

/* ── GALLERY ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem; max-width: 1200px; margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 4/3; overflow: hidden; background: var(--light-gray);
  position: relative; border-radius: 6px; border: 1px solid var(--border);
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--text-muted); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: white; padding: 1.5rem 1rem 0.75rem;
  font-size: 0.82rem; opacity: 0; transition: opacity 0.25s; border-radius: 0 0 6px 6px;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; max-width: 960px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail { display: flex; gap: 0.9rem; align-items: flex-start; }

.contact-detail-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--green-light); border: 1px solid var(--green-border);
  border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}

.contact-detail-text label { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.15rem; }
.contact-detail-text span { font-size: 0.9rem; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-success {
  background: var(--green-light); color: var(--green-dark);
  border: 1px solid var(--green-border); border-radius: 4px;
  padding: 0.9rem 1rem; font-size: 0.875rem; display: none;
}

/* ── PAGE HEADER ── */
.page-header { background: var(--off-white); padding: 3.5rem 2.5rem; border-bottom: 1px solid var(--border); text-align: center; }

/* ── FOOTER ── */
footer { background: var(--black); color: rgba(255,255,255,0.45); padding: 3rem 2.5rem 2rem; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto 2rem; }
.footer-logo img { height: 36px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.84rem; line-height: 1.7; max-width: 280px; }

.footer-heading { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.84rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.84rem; margin-bottom: 0.5rem; }
.footer-contact a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.15s; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom { text-align: center; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.78rem; color: rgba(255,255,255,0.2); }

/* ── PROMO BANNER ── */
.promo-banner { background: var(--green); text-align: center; padding: 0.5rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }

/* ── TOAST ── */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--black); color: var(--white); padding: 0.75rem 1.25rem; font-size: 0.875rem; border-radius: 4px; border-left: 3px solid var(--green); z-index: 9999; transform: translateY(80px); opacity: 0; transition: all 0.25s; pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--white); padding: 1.5rem 2rem; gap: 1.25rem; border-bottom: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  section { padding: 3rem 1.5rem; }
  .page-header { padding: 2.5rem 1.5rem; }
  .order-form-wrap { padding: 1.5rem; }
}


/* ── LIGHTBOX ── */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.5rem;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  transform: scale(0.92);
  transition: transform 0.25s ease;
  display: block;
}

.lightbox-overlay.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: fixed;
  top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  z-index: 9001;
  line-height: 1;
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-caption {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
  max-width: 80vw;
  z-index: 9001;
}

/* Make product images look clickable */
.b2b-product-img-clickable {
  cursor: zoom-in;
  transition: opacity 0.15s;
}

.b2b-product-img-clickable:hover {
  opacity: 0.88;
}
