/* ============================================================
   GODAVARI INTERNATIONALS — CORE STYLESHEET
   Component and layout styles. Design tokens live in variables.css,
   motion in animations.css, breakpoints in responsive.css.
   Load order (see index.html): variables -> style -> animations -> responsive
============================================================ */

/* ---------- reset & base ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.12;
  color:var(--forest);
  letter-spacing:-0.01em;
}

.mono{ font-family:var(--font-mono); }

.eyebrow{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--turmeric-deep);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:28px; height:1px;
  background:var(--turmeric-deep);
  display:inline-block;
}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 32px;
}

section{ position:relative; }

.section-pad{ padding:120px 0; }

/* ---------- focus states for accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--turmeric);
  outline-offset:3px;
  border-radius:4px;
}

.section-number{
  position:absolute;
  top:56px;
  left:32px;
  font-family:var(--font-mono);
  font-size:0.78rem;
  color:var(--turmeric-deep);
  letter-spacing:0.1em;
}

.bg-sage{ background:var(--sage); }
.bg-forest{ background:var(--forest); color:var(--cream); }
.bg-forest h2, .bg-forest h3, .bg-forest h4{ color:var(--cream); }
.bg-forest .section-head p{ color:rgba(251,249,243,0.75); }

.divider-wave{ height:2px; background:linear-gradient(90deg, transparent, var(--turmeric-deep), transparent); opacity:0.35; }

/* ================= Loading screen ================= */
#loader{
  position:fixed; inset:0; background:var(--forest);
  display:flex; align-items:center; justify-content:center;
  z-index:9999;
}
.loader-mark{
  width:56px; height:56px; border-radius:50%;
  border:2px solid rgba(232,160,32,0.25);
  border-top-color:var(--turmeric);
}

/* ================= Nav ================= */
header{
  position:fixed; top:0; left:0; right:0;
  z-index:900;
  background:rgba(251,249,243,0.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
}
header.scrolled{
  border-bottom-color:var(--line);
  box-shadow:0 10px 30px -20px rgba(22,32,26,0.3);
}
.nav-inner{
  max-width:1180px; margin:0 auto; padding:0 32px;
  height:78px;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:38px; width:auto; }

nav.links{
  display:flex; align-items:center; gap:30px;
}
nav.links a{
  font-size:0.92rem; font-weight:500; color:var(--ink);
  position:relative; padding:6px 0;
}
nav.links a::after{
  content:""; position:absolute; left:0; bottom:0;
  width:0; height:2px; background:var(--turmeric);
}

.nav-cta{ display:flex; align-items:center; gap:14px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px;
  border-radius:100px;
  font-weight:600; font-size:0.92rem;
  white-space:nowrap;
}
.btn-primary{ background:var(--forest); color:var(--cream); }
.btn-primary:hover{ background:var(--forest-soft); }
.btn-accent{ background:var(--turmeric); color:var(--forest); }
.btn-accent:hover{ background:var(--turmeric-deep); color:var(--cream); }
.btn-outline{ background:transparent; color:var(--forest); border:1.5px solid var(--forest); }
.btn-outline:hover{ background:var(--forest); color:var(--cream); }
.btn-sm{ padding:10px 20px; font-size:0.85rem; }

.menu-toggle{
  display:none;
  width:42px; height:42px; border-radius:10px;
  align-items:center; justify-content:center;
  border:1px solid var(--line); background:var(--paper);
}
.menu-toggle svg{ width:20px; height:20px; }

.mobile-menu{
  position:fixed; top:78px; left:0; right:0;
  background:var(--paper); border-bottom:1px solid var(--line);
  box-shadow:var(--shadow);
  display:none;
  flex-direction:column;
  padding:16px 32px 24px;
  z-index:850;
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{ padding:12px 0; font-weight:500; border-bottom:1px solid var(--line); }
.mobile-menu a:last-child{ border-bottom:none; }

/* ================= Hero ================= */
.hero{
  position:relative;
  padding:190px 0 130px;
  overflow:hidden;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(232,160,32,0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(22,60,44,0.10), transparent 55%),
    var(--cream);
}
.hero-grid{ display:block; }

.hero h1{ font-size:clamp(2.4rem, 5vw, 4rem); margin-bottom:22px; }
.hero h1 em{ font-style:normal; color:var(--turmeric-deep); }
.hero p.lead{ font-size:1.15rem; color:#3C463F; max-width:520px; margin-bottom:36px; }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:52px; }

.trust-strip{ display:flex; gap:36px; flex-wrap:wrap; padding-top:32px; border-top:1px solid var(--line); }
.trust-item{ display:flex; align-items:center; gap:10px; font-size:0.86rem; color:var(--forest); font-weight:600; }
.trust-item svg{ width:20px; height:20px; flex-shrink:0; }

.hero-visual{ position:relative; }
.hero-card{ background:var(--paper); border-radius:28px; box-shadow:var(--shadow); padding:32px; position:relative; overflow:hidden; }
.hero-card svg{ width:100%; height:auto; display:block; }
.counters{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:26px; }
.counter{ text-align:center; background:var(--sage); border-radius:14px; padding:18px 10px; }
.counter .num{ font-family:var(--font-display); font-size:1.9rem; font-weight:600; color:var(--forest); }
.counter .label{ font-size:0.72rem; letter-spacing:0.05em; color:#556056; text-transform:uppercase; margin-top:4px; }

/* ================= section headers ================= */
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p{ color:#3C463F; margin-top:16px; font-size:1.05rem; }

/* ================= About ================= */
.about-grid{
    display:block;
}
.about-copy p{ color:#3C463F; margin-bottom:16px; }
.mv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:36px; }
.mv-card{ background:var(--paper); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow); border:1px solid var(--line); }
.mv-card .icon{ width:38px; height:38px; margin-bottom:14px; color:var(--turmeric-deep); }
.mv-card h4{ font-size:1.05rem; margin-bottom:10px; }
.mv-card li{ font-size:0.92rem; color:#3C463F; padding-left:18px; position:relative; margin-bottom:6px; }
.mv-card li::before{ content:"—"; position:absolute; left:0; color:var(--turmeric-deep); }

/* ================= Why choose (icon cards) ================= */
.why-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.why-card{
  background:var(--paper); border-radius:var(--radius); padding:30px 22px;
  border:1px solid var(--line); text-align:left;
}
.why-card:hover{ box-shadow:var(--shadow); border-color:transparent; }
.why-card .icon-wrap{
  width:52px; height:52px; border-radius:14px;
  background:var(--sage); display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; color:var(--forest);
}
.why-card .icon-wrap svg{ width:26px; height:26px; }
.why-card h4{ font-size:1.02rem; margin-bottom:8px; }
.why-card p{ font-size:0.86rem; color:#556056; }

/* ================= Product showcase ================= */
.product-grid{ display:grid; grid-template-columns:0.95fr 1.05fr; gap:60px; align-items:center; }
.product-visual{
  background:linear-gradient(160deg, var(--forest), #0F2B20);
  border-radius:28px; padding:40px; box-shadow:var(--shadow); position:relative; overflow:hidden;
}
.product-visual svg, .product-visual img{ width:100%; height:auto; }
.product-badge{
  position:absolute; top:24px; left:24px;
  background:var(--turmeric); color:var(--forest);
  font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.08em;
  padding:8px 14px; border-radius:100px; text-transform:uppercase; font-weight:600;
}
.feature-list{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:28px 0 32px; }
.feature-item{
  display:flex; gap:12px; align-items:flex-start; font-size:0.92rem; color:#2C352E;
  background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:14px 16px;
}
.feature-item svg{ width:20px; height:20px; color:var(--turmeric-deep); flex-shrink:0; margin-top:1px; }

/* ================= Spec table cards ================= */
.spec-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; }
.spec-card{ background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:22px; }
.spec-card .k{ font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--turmeric-deep); margin-bottom:8px; }
.spec-card .v{ font-family:var(--font-mono); font-size:1.05rem; color:var(--forest); font-weight:600; }
.spec-note{ font-size:0.78rem; color:#556056; margin-top:18px; }

/* ================= Quality timeline ================= */
.quality-row{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
.quality-row::before{
  content:""; position:absolute; top:26px; left:10%; right:10%; height:1px;
  background:repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.quality-step{ text-align:center; position:relative; padding:0 12px; }
.quality-step .dot{
  width:54px; height:54px; border-radius:50%; background:var(--paper);
  border:1.5px solid var(--forest); color:var(--forest);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px; position:relative; z-index:2;
}
.quality-step .dot svg{ width:24px; height:24px; }
.quality-step h4{ font-size:0.95rem; margin-bottom:6px; }
.quality-step p{ font-size:0.82rem; color:#556056; }

/* ================= Packaging & logistics ================= */
.pack-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.pack-options{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-bottom:28px; }
.pack-chip{
  background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:18px;
  font-size:0.88rem; font-weight:600; color:var(--forest); display:flex; align-items:center; gap:10px;
}
.pack-chip svg{ width:20px; height:20px; color:var(--turmeric-deep); flex-shrink:0; }
.logi-list li{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); font-size:0.92rem; }
.logi-list li:last-child{ border-bottom:none; }
.logi-list svg{ width:20px; height:20px; color:var(--turmeric-deep); flex-shrink:0; }
.container-cards{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:24px; }
.container-card{ background:var(--forest); color:var(--cream); border-radius:16px; padding:22px; text-align:center; }
.container-card .size{ font-family:var(--font-display); font-size:1.5rem; font-weight:600; color:var(--turmeric); }
.container-card .cap{ font-family:var(--font-mono); font-size:0.82rem; opacity:0.85; margin-top:6px; }
.pack-note{ font-size:0.86rem; color:#556056; margin-top:18px; }

/* ================= Export markets ================= */
.markets-grid{ display:grid; grid-template-columns:1.2fr 0.8fr; gap:50px; align-items:center; }
.world-map-wrap{ background:var(--paper); border:1px solid var(--line); border-radius:24px; padding:20px; box-shadow:var(--shadow); }
.world-map-wrap svg, .world-map-wrap img{ width:100%; height:auto; }
.market-list{ display:grid; grid-template-columns:1fr 1fr; gap:0; }
.market-list li{
  display:flex; align-items:center; gap:10px; padding:10px 0; font-size:0.92rem; font-weight:500;
  border-bottom:1px solid rgba(251,249,243,0.12);
}
.market-list .dot{ width:7px; height:7px; border-radius:50%; background:var(--turmeric); flex-shrink:0; }
.market-stats{ display:flex; gap:30px; margin-top:30px; flex-wrap:wrap; }
.market-stats .num{ font-family:var(--font-display); font-size:2rem; color:var(--turmeric); font-weight:600; }
.market-stats .label{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.05em; opacity:0.8; }

/* ================= Business process (horizontal timeline) ================= */
.process-track{ display:grid; grid-template-columns:repeat(6,1fr); gap:0; position:relative; }
.process-track::before{ content:""; position:absolute; top:30px; left:8%; right:8%; height:2px; background:var(--line); }
.process-step{ text-align:center; padding:0 10px; position:relative; }
.process-step .num-badge{
  width:60px; height:60px; border-radius:50%;
  background:var(--forest); color:var(--turmeric);
  font-family:var(--font-mono); font-weight:600;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px; position:relative; z-index:2; font-size:0.95rem;
}
.process-step h4{ font-size:0.92rem; margin-bottom:6px; }
.process-step p{ font-size:0.8rem; color:#556056; }

/* ================= Currency converter ================= */
.converter-card{
  background:var(--paper); border-radius:28px; box-shadow:var(--shadow);
  padding:44px; border:1px solid var(--line);
  display:grid; grid-template-columns:1fr auto 1fr; gap:20px; align-items:end;
  max-width:820px; margin:0 auto;
}
.conv-field label{
  font-family:var(--font-mono); font-size:0.68rem; text-transform:uppercase; letter-spacing:0.1em;
  color:var(--turmeric-deep); display:block; margin-bottom:10px;
}
.conv-field .row{ display:flex; gap:10px; }
.conv-field input{
  flex:1; min-width:0; padding:14px 16px; border-radius:12px; border:1.5px solid var(--line);
  font-family:var(--font-mono); font-size:1.05rem; color:var(--forest); background:var(--sage);
}
.conv-field select{
  padding:14px 12px; border-radius:12px; border:1.5px solid var(--line); background:var(--paper);
  font-family:var(--font-body); font-weight:600; color:var(--forest); font-size:0.92rem;
}
.swap-btn{
  width:46px; height:46px; border-radius:50%; background:var(--forest); color:var(--turmeric);
  display:flex; align-items:center; justify-content:center; margin-bottom:2px;
}
.conv-meta{
  grid-column:1/-1; display:flex; justify-content:space-between; align-items:center;
  margin-top:8px; font-size:0.8rem; color:#556056; flex-wrap:wrap; gap:10px;
}
.conv-meta .rate{ font-family:var(--font-mono); color:var(--forest); font-weight:600; }

/* ================= Contact ================= */
.contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; }
.contact-info-card{ background:var(--forest); color:var(--cream); border-radius:24px; padding:36px; margin-bottom:20px; }
.contact-line{ display:flex; gap:14px; align-items:flex-start; padding:14px 0; border-bottom:1px solid rgba(251,249,243,0.15); }
.contact-line:last-child{ border-bottom:none; }
.contact-line svg{ width:20px; height:20px; color:var(--turmeric); flex-shrink:0; margin-top:2px; }
.contact-line a, .contact-line span{ font-size:0.94rem; }
.map-embed{ border-radius:20px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); height:220px; }
.map-embed iframe{ width:100%; height:100%; border:0; display:block; }

.form-card{ background:var(--paper); border:1px solid var(--line); border-radius:24px; padding:40px; box-shadow:var(--shadow); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:0.82rem; font-weight:600; color:var(--forest); }
.field input, .field select, .field textarea{
  padding:13px 16px; border-radius:12px; border:1.5px solid var(--line);
  font-family:var(--font-body); font-size:0.94rem; background:var(--sage); color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--turmeric-deep); outline:none; }
.field textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:0.78rem; color:#556056; margin-top:14px; }
.form-status{ font-size:0.85rem; margin-top:12px; display:none; }
.form-status.show{ display:block; }
.form-status.success{ color:var(--forest-2); }
.form-status.error{ color:#B4432F; }

/* ================= Footer ================= */
footer{ background:#0F2B20; color:rgba(251,249,243,0.82); padding:70px 0 30px; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:44px; padding-bottom:44px; border-bottom:1px solid rgba(251,249,243,0.12);
}
footer h4{ color:var(--cream); font-size:0.92rem; margin-bottom:18px; font-family:var(--font-body); font-weight:700; letter-spacing:0.02em; text-transform:uppercase; }
footer .foot-logo{ height:34px; margin-bottom:16px; filter:brightness(0) invert(1); opacity:0.92; }
footer p.tag{ font-size:0.88rem; opacity:0.7; max-width:280px; }
.footer-links li{ margin-bottom:10px; font-size:0.88rem; }
.footer-social{ display:flex; gap:12px; margin-top:16px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; background:rgba(251,249,243,0.08);
  display:flex; align-items:center; justify-content:center;
}
.footer-social svg{ width:17px; height:17px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:0.8rem; opacity:0.65; flex-wrap:wrap; gap:12px; }
.hours li{ display:flex; justify-content:space-between; margin-bottom:6px; font-size:0.85rem; opacity:0.8; }

/* ================= Floating WhatsApp / back to top ================= */
.whatsapp-float{
  position:fixed; bottom:26px; right:26px; z-index:800;
  width:60px; height:60px; border-radius:50%;
  background:#1F5138; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 16px 34px -12px rgba(22,60,44,0.55);
}
.whatsapp-float svg{ width:28px; height:28px; }

.back-to-top{
  position:fixed; bottom:26px; left:26px; z-index:800;
  width:46px; height:46px; border-radius:50%;
  background:var(--paper); border:1px solid var(--line); color:var(--forest);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow); opacity:0; visibility:hidden;
}
.back-to-top.show{ opacity:1; visibility:visible; }

/* ============================================================
   PRODUCT PORTFOLIO — components
   Featured card + 4-column grid with hover effects.
   Responsive overrides in responsive.css.
============================================================ */

/* ---------- Section grid heading ---------- */
.pp-grid-heading {
  text-align: center;
  margin: 70px 0 32px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.pp-grid-heading h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--forest);
}

/* ============================================================
   FEATURED PRODUCT
============================================================ */
.pp-featured {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 520px;
}

/* --- visual panel (left) --- */
.pp-featured-visual {
  position: relative;
  background: linear-gradient(150deg, #1F5138 0%, #0F2B20 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 460px;
}

.pp-feat-img-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-feat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .7s ease;
}
.pp-featured:hover .pp-feat-img-wrap img { transform: scale(1.04); }

.pp-feat-fallback {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.pp-feat-fallback svg { width: 100%; max-width: 300px; height: auto; }

.pp-feat-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  background: var(--turmeric);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
}

/* --- info panel (right) --- */
.pp-featured-info {
  padding: 44px 44px 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pp-featured-name {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--forest);
  margin-bottom: 12px;
  margin-top: 4px;
}

.pp-featured-desc {
  color: #3C463F;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

/* highlights row */
.pp-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.pp-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sage);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 100px;
  border: 1px solid var(--line);
}
.pp-highlight svg { color: var(--turmeric-deep); flex-shrink: 0; }

/* spec grid */
.pp-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}

.pp-spec-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pp-spec-even { border-right: none; }
/* remove bottom border from last two items */
.pp-spec-item:nth-last-child(1),
.pp-spec-item:nth-last-child(2) { border-bottom: none; }

.pp-spec-k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--turmeric-deep);
}
.pp-spec-v {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--forest);
  font-weight: 600;
}

.pp-spec-note {
  font-size: 0.76rem;
  color: #778875;
  margin-bottom: 18px;
}

/* packaging row */
.pp-pack-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.pp-pack-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest);
}
.pp-pack-item {
  background: var(--forest);
  color: var(--cream);
  font-size: 0.78rem;
  padding: 5px 13px;
  border-radius: 100px;
  font-weight: 500;
}

/* CTAs */
.pp-feat-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   PRODUCT GRID
============================================================ */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ---------- Product card ---------- */
.pp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* image wrapper */
.pp-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sage);
  flex-shrink: 0;
}

.pp-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* category badge */
.pp-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(22, 60, 44, 0.88);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* fallback when image is missing */
.pp-card-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #EEF3EA 0%, #C7D6C0 100%);
}
.pp-fallback-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--forest-2);
  text-align: center;
  padding: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* card body */
.pp-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pp-card-name {
  font-size: 1.08rem;
  color: var(--forest);
  margin-bottom: 8px;
}

.pp-card-desc {
  font-size: 0.86rem;
  color: #556056;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.pp-card-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* ============================================================
   PRODUCT MODAL — specification sheet (added v3)
   Triggered by "View Details" on each product card.
   Rendered by js/products.js → buildModal() / openModal()
============================================================ */

/* --- body lock when modal is open --- */
body.modal-open { overflow: hidden; }

/* --- overlay --- */
.pm-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(16, 28, 20, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  backdrop-filter: blur(4px);
}
.pm-overlay.open { opacity: 1; visibility: visible; }

/* --- panel --- */
.pm-panel {
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(16, 28, 20, 0.5);
  width: 100%; max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  outline: none;
}

/* --- close button --- */
.pm-close {
  position: sticky; top: 0;
  float: right;
  margin: 16px 16px 0 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  z-index: 5;
}
.pm-close:hover { background: var(--forest); color: var(--cream); }

/* --- two-column inner layout --- */
.pm-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  /* clear the floated close button */
  padding-top: 4px;
}

/* --- image column --- */
.pm-image-col {
  padding: 32px 24px 32px 32px;
  display: flex;
  align-items: flex-start;
}

.pm-img-wrap {
  width: 100%;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--sage);
  aspect-ratio: 1 / 1;
}

.pm-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pm-img-fallback {
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EEF3EA 0%, #C7D6C0 100%);
}

.pm-fallback-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--forest-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 16px;
}

.pm-img-category {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(22, 60, 44, 0.88);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 100px;
}

/* --- info column --- */
.pm-info-col {
  padding: 32px 32px 32px 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.pm-name {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--forest);
  margin-bottom: 10px;
}

.pm-desc {
  font-size: 0.94rem;
  color: #3C463F;
  line-height: 1.7;
  margin-bottom: 22px;
}

.pm-spec-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turmeric-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pm-spec-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* --- spec table (the premium export-sheet style) --- */
.pm-spec-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}

.pm-spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--line);
  align-items: stretch;
}
.pm-spec-row:last-child { border-bottom: none; }

.pm-spec-k {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--turmeric-deep);
  background: var(--sage);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

.pm-spec-v {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--forest);
  font-weight: 600;
  display: flex;
  align-items: center;
  word-break: break-word;
}

/* "Available on request" — muted style */
.pm-spec-v:has(+ *),
.pm-spec-row .pm-spec-v {
  /* normal */
}
.pm-spec-table .pm-spec-row .pm-spec-v {
  color: var(--forest);
}

/* --- spec note --- */
.pm-spec-note {
  font-size: 0.76rem;
  color: #778875;
  margin-bottom: 16px;
}

/* --- packaging in modal --- */
.pm-pack-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

/* --- modal CTAs --- */
.pm-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}

/* ============================================================
   PRODUCT CARD ACTIONS — two-button layout (v3)
============================================================ */
.pp-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

.pp-card-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.pp-card-cta { display: inline-flex; align-items: center; gap: 6px; }
