/* ============================================================================
   Silk Road Supply — PREMIUM MINIMAL THEME (overlay over style.css)
   Loaded AFTER style.css. Refines palette, type, spacing, components.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Refined emerald accent */
  --green-100: #d9f3e4;
  --green-200: #aee6c8;
  --green-300: #6dd49d;
  --green-400: #34c27a;
  --green-500: #16a35b;   /* primary */
  --green-600: #0e8049;
  --green-700: #0a6038;
  --green-800: #084a2c;
  --green-900: #06351f;
  --mint:      #f1faf4;
  --sage:      #e8f6ee;

  /* Clean, cool-neutral grays (no green tint) */
  --white:     #ffffff;
  --off-white: #ffffff;
  --gray-50:   #f7f8fa;
  --gray-100:  #eef0f3;
  --gray-200:  #e4e7eb;
  --gray-300:  #cdd2d9;
  --gray-400:  #98a1ad;
  --gray-500:  #69727e;
  --gray-600:  #4a525d;
  --gray-700:  #2b313a;
  --gray-900:  #0d1117;

  --ink:       #0d1117;
  --ink-soft:  #4a525d;

  /* Soft neutral shadows */
  --shadow-xs: 0 1px 2px rgba(13,17,23,0.05);
  --shadow-sm: 0 1px 3px rgba(13,17,23,0.06), 0 1px 2px rgba(13,17,23,0.04);
  --shadow-md: 0 4px 14px rgba(13,17,23,0.06), 0 1px 3px rgba(13,17,23,0.04);
  --shadow-lg: 0 18px 48px rgba(13,17,23,0.10), 0 4px 12px rgba(13,17,23,0.05);
  --shadow-xl: 0 30px 70px rgba(13,17,23,0.14);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}
.container { max-width: 1200px; padding: 0 28px; }

h1, h2, h3, .section-title, .hero-content h1 {
  font-family: 'Manrope', 'Inter', sans-serif;
  letter-spacing: -0.035em;
  color: var(--ink);
}

/* ── Header (premium minimal) ─────────────────────────────────────────── */
.header {
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: none;
}
.header-inner { height: 80px; gap: 24px; }
.logo-img { height: 48px; border-radius: 12px; transition: var(--transition); }
.logo:hover .logo-img { transform: scale(1.03); }

.nav { gap: 4px; align-items: center; }
.nav a {
  font-size: 14.5px; font-weight: 550; color: var(--gray-600);
  padding: 9px 15px; border-radius: 100px; transition: var(--transition); line-height: 1;
}
.nav a::after { display: none !important; }
.nav a:hover { color: var(--ink); background: var(--gray-50); }
.nav a.active { color: var(--green-700); background: var(--green-100); font-weight: 650; }

/* Кабинет — отдельный аккаунт-чип */
#nav-cabinet {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 8px; padding: 6px 16px 6px 7px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 100px;
  color: var(--ink); font-weight: 600; box-shadow: var(--shadow-xs);
}
#nav-cabinet:hover { border-color: var(--green-300); color: var(--green-700); background: #fff; }
#nav-cabinet .nav-ava {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); font-size: 13px; font-weight: 800; flex-shrink: 0;
}

.header-actions { gap: 8px; align-items: center; }
.phone-btn {
  background: transparent; color: var(--ink); border: none; border-radius: 100px;
  font-weight: 600; padding: 9px 8px; box-shadow: none;
}
.phone-btn:hover { color: var(--green-700); background: transparent; }
.phone-btn svg { color: var(--green-500); }
.wa-btn {
  background: var(--green-500); color: #fff; border: none; border-radius: 100px;
  font-weight: 650; padding: 11px 20px; box-shadow: 0 8px 18px rgba(22,163,91,0.24);
}
.wa-btn:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: 0 12px 24px rgba(22,163,91,0.30); }
.burger span { background: var(--ink); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--sage), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, #f4f9ff, transparent 55%),
    #ffffff;
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--gray-100);
}
.hero-eyebrow {
  background: #fff; border: 1px solid var(--gray-200); color: var(--gray-600);
  border-radius: 100px; padding: 7px 15px; font-weight: 600; font-size: 13px;
  box-shadow: var(--shadow-xs);
}
.hero-eyebrow svg { color: var(--green-500); width: 9px; height: 9px; }
.hero-content h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.03; font-weight: 800; margin: 22px 0 0;
}
.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--green-500), var(--green-300));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18.5px; line-height: 1.62; color: var(--ink-soft);
  margin-top: 22px; max-width: 540px;
}
.hero-cta { margin-top: 34px; gap: 14px; }
.btn-hero-primary {
  background: var(--ink); color: #fff; border-radius: 13px; padding: 16px 26px;
  font-weight: 650; font-size: 15.5px; box-shadow: 0 10px 26px rgba(13,17,23,0.18);
  transition: var(--transition);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(13,17,23,0.24); }
.btn-hero-ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--gray-200);
  border-radius: 13px; padding: 16px 24px; font-weight: 600; box-shadow: var(--shadow-xs);
}
.btn-hero-ghost:hover { border-color: var(--green-300); color: var(--green-700); }
.btn-hero-ghost svg { color: var(--green-500); }
.hero-trust { margin-top: 46px; gap: 0; }
.hero-trust-item { padding-right: 28px; }
.hero-trust-num { font-family: 'Manrope', sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; }
.hero-trust-label { color: var(--gray-400); font-size: 12.5px; font-weight: 500; }

.hero-visual { align-self: center; }
.hero-produce-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  border-radius: 0; overflow: visible; box-shadow: none;
}
.hero-tile {
  position: relative; aspect-ratio: 1/1; border-radius: 20px; overflow: hidden;
  background: var(--gray-50); box-shadow: var(--shadow-md); transition: var(--transition);
}
.hero-tile:nth-child(2), .hero-tile:nth-child(4) { transform: translateY(26px); }
.hero-tile:hover { box-shadow: var(--shadow-lg); }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.hero-tile:hover img { transform: scale(1.06); }
.hero-tile-cap {
  position: absolute; inset: auto 0 0 0; padding: 13px 14px;
  background: linear-gradient(transparent, rgba(8,12,16,0.72));
  color: #fff; display: flex; flex-direction: column; gap: 2px;
}
.hero-tile-name { font-size: 13px; font-weight: 700; line-height: 1.2; }
.hero-tile-price { font-size: 12px; font-weight: 600; opacity: .92; }

/* ── Features bar ─────────────────────────────────────────────────────── */
.features-bar { background: #fff; border-bottom: 1px solid var(--gray-100); }
.features-bar-inner { padding: 30px 0; gap: 24px; }
.feature-item { gap: 14px; }
.fi-icon {
  width: 46px; height: 46px; display: grid; place-items: center; font-size: 22px;
  background: var(--sage); border-radius: 13px;
}
.fi-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.fi-sub { color: var(--gray-500); font-size: 13px; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section-alt { background: var(--gray-50); }
.section-label {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 700;
  color: var(--green-600); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; }
.section-sub { color: var(--ink-soft); font-size: 16.5px; margin-top: 10px; }

/* ── Product cards ────────────────────────────────────────────────────── */
.products-grid, .order-products-grid { gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-200); }
.product-img { aspect-ratio: 1/1; background: var(--gray-50); overflow: hidden; }
.product-img img { transition: transform .45s cubic-bezier(.2,.6,.2,1); }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
  background: rgba(255,255,255,0.92); color: var(--ink); backdrop-filter: blur(6px);
  border-radius: 100px; font-weight: 700; font-size: 11.5px; box-shadow: var(--shadow-xs);
}
.product-body { padding: 16px 16px 18px; }
.product-cat { color: var(--green-600); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.product-name { font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 6px; line-height: 1.3; }
.product-desc { color: var(--gray-500); font-size: 13px; }
.product-price { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 17px; color: var(--ink); }
.product-price span { font-weight: 500; font-size: 12.5px; color: var(--gray-400); }
.product-stock.in-stock { background: var(--green-100); color: var(--green-700); }
.product-stock { border-radius: 100px; font-weight: 600; font-size: 11.5px; }

/* ── CTA ──────────────────────────────────────────────────────────────── */
.cta-section { padding: 24px 0 84px; }
.cta-inner {
  background:
    radial-gradient(700px 320px at 85% -30%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(135deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-xl); padding: 64px 56px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.cta-inner p { color: rgba(255,255,255,0.82); font-size: 17px; max-width: 600px; }
.btn-cta-wa { background: #fff; color: var(--green-800); border-radius: 13px; font-weight: 700; padding: 15px 26px; }
.btn-cta-wa:hover { transform: translateY(-2px); }
.btn-cta-ghost { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); color: #fff; border-radius: 13px; padding: 15px 24px; font-weight: 600; }
.btn-cta-ghost:hover { background: rgba(255,255,255,0.16); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { background: var(--ink); padding-top: 64px; }
.footer-brand p { color: rgba(255,255,255,0.55); }
.footer-col h4 { color: #fff; font-weight: 700; letter-spacing: -0.01em; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.social-ico { background: rgba(255,255,255,0.08); border-radius: 11px; color: #fff; }
.social-ico:hover { background: var(--green-500); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.45); }
.footer .logo-img { border-radius: 11px; }

/* ── Subpage hero / breadcrumb ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(180deg, var(--mint), #fff);
  border-bottom: 1px solid var(--gray-100); padding: 54px 0 40px;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.breadcrumb { color: var(--gray-400); font-size: 13.5px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--green-600); }

/* ── Category chips / toolbar ─────────────────────────────────────────── */
.cat-chip {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 100px;
  font-weight: 600; font-size: 13.5px; color: var(--gray-600); padding: 9px 16px;
  transition: var(--transition);
}
.cat-chip:hover { border-color: var(--green-300); color: var(--green-700); }
.cat-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-input { border-radius: 12px; border: 1px solid var(--gray-200); }
.search-input:focus { border-color: var(--green-400); box-shadow: 0 0 0 4px rgba(22,163,91,0.10); }

/* ── Forms / inputs ───────────────────────────────────────────────────── */
input, textarea, select { border-radius: 12px !important; }
.checkout-form input, .checkout-form textarea, .cab-field input {
  border: 1px solid var(--gray-200); border-radius: 12px;
}
.checkout-form input:focus, .checkout-form textarea:focus, .cab-field input:focus {
  border-color: var(--green-400); box-shadow: 0 0 0 4px rgba(22,163,91,0.10); outline: none;
}

/* ── Cabinet / cards / buttons ────────────────────────────────────────── */
.cab-card { border: 1px solid var(--gray-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.cab-btn { border-radius: 12px; font-weight: 650; }
.cab-btn:not(.secondary) { background: var(--green-500); box-shadow: 0 6px 16px rgba(22,163,91,0.20); }
.cab-btn:not(.secondary):hover { background: var(--green-600); transform: translateY(-1px); }
.cab-tab.active { color: var(--green-700); border-bottom-color: var(--green-500); }
.btn-order { background: var(--ink); border-radius: 13px; font-weight: 650; box-shadow: 0 10px 24px rgba(13,17,23,0.16); }
.btn-order:hover { transform: translateY(-2px); }
.cart-panel { border: 1px solid var(--gray-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* misc */
.toast { border-radius: 12px; box-shadow: var(--shadow-lg); }
.spinner { border-top-color: var(--green-500); }
::selection { background: var(--green-200); }
