/* ==========================================================================
   Slada.co storefront — design system (hand-rolled, no build step)
   One token set. One breakpoint scale. No duplicate rules.
   ========================================================================== */

:root {
  /* Brand — green (primary identity) */
  --green-900: #1F4A0E;
  --green-800: #2F5D17;
  --green-700: #3D7A1E;
  --green-600: #55942A;
  --green-500: #6FAE2E;
  --green-400: #8BC53F;
  --green-100: #E6F3D6;
  --green-50:  #F3FAEA;

  /* Brand — orange (accent / calls to action) */
  --orange-600: #E8471C;
  --orange-500: #F4801F;
  --orange-100: #FFE9D6;

  /* Neutrals */
  --ink-900: #1E2620;
  --ink-700: #40493F;
  --ink-500: #6B7568;
  --ink-300: #A8B0A2;
  --ink-100: #E3E9DD;
  --ink-50:  #F7F9F5;
  --white:   #FFFFFF;

  /* Status */
  --danger:      #D64545;
  --danger-bg:   #FBEAEA;
  --warning:     #9C7A00;
  --warning-bg:  #FFF3C4;
  --info:        #1D5FA8;
  --info-bg:     #DDEBFB;
  --violet:      #5A3EC8;
  --violet-bg:   #E4E0FB;

  /* Semantic aliases (use these in component CSS) */
  --surface: var(--white);
  --surface-alt: var(--green-50);
  --border: var(--ink-100);
  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-500);
  --text-heading: var(--green-900);
  --link: var(--orange-600);
  --link-hover: var(--orange-500);

  /* Type scale (fluid where it benefits large display text) */
  --font-heading: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text-xs:  0.75rem;   /* 12px */
  --text-sm:  0.8125rem; /* 13px */
  --text-base: 0.9375rem;/* 15px */
  --text-md:  1rem;      /* 16px */
  --text-lg:  1.125rem;  /* 18px */
  --text-xl:  1.25rem;   /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.75rem;   /* 28px */
  --text-4xl: clamp(1.75rem, 1.35rem + 1.8vw, 2.625rem); /* 28px -> 42px, hero */

  /* Spacing (4px base grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 18px rgba(31, 74, 14, 0.08);
  --shadow-pop:  0 12px 32px rgba(31, 74, 14, 0.16);
  --container: 1180px;
}

/* ── Base / reset ─────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: 700;
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
hr { border: none; border-top: 1px solid var(--border); margin: var(--space-5) 0; }

:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.text-muted { color: var(--text-secondary); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  min-height: 44px;
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease, background-color .15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: 0 6px 16px rgba(232, 71, 28, .28);
}
.btn-primary:hover { box-shadow: 0 8px 22px rgba(232, 71, 28, .38); }
.btn-secondary { background: var(--green-700); color: var(--white); }
.btn-secondary:hover { background: var(--green-800); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--green-600);
  color: var(--green-700);
}
.btn-outline:hover { background: var(--green-50); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: var(--text-sm); min-height: 38px; border-radius: var(--radius-sm); }
.btn-xs { padding: 5px 10px; font-size: var(--text-xs); min-height: 30px; border-radius: var(--radius-sm); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger-outline { background: transparent; color: var(--danger); border: 1px solid #F3B8B8; }
.btn-danger-outline:hover { background: var(--danger-bg); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.form-field { margin-bottom: var(--space-4); }
.form-field label { display: block; font-weight: 600; margin-bottom: var(--space-2); font-size: var(--text-sm); color: var(--green-800); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  min-height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--surface);
  color: var(--text-primary);
}
.form-field textarea { min-height: auto; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(111, 174, 46, .15); }
.form-error { color: var(--danger); font-size: var(--text-xs); margin-top: var(--space-1); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-4); }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }

.card-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-6); box-shadow: var(--shadow-card); }

.auth-wrap { max-width: 440px; margin: var(--space-8) auto; }
.auth-wrap h1 { text-align: center; font-size: var(--text-2xl); }
.auth-wrap .sub { text-align: center; color: var(--text-secondary); margin-bottom: var(--space-5); }
.auth-switch { text-align: center; margin-top: var(--space-4); font-size: var(--text-sm); color: var(--text-secondary); }
.auth-switch a { color: var(--link); font-weight: 700; }
.auth-row { display: flex; justify-content: space-between; align-items: center; }
.auth-check { display: flex; align-items: center; gap: var(--space-2); font-weight: 400; }
.auth-check input { width: auto; min-height: auto; }
.auth-forgot { font-size: var(--text-sm); color: var(--link); }

/* Alerts */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: var(--space-4); font-size: var(--text-base); }
.alert-success { background: var(--green-100); color: var(--green-800); }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-info { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-900); padding: 12px 16px; border-radius: var(--radius-sm); }
.alert-info a { font-weight: 600; text-decoration: underline; }
.alert ul { padding-left: 18px; margin: 0; list-style: disc; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; line-height: 1.4; }
.badge-out { background: var(--ink-100); color: var(--ink-700); }
.badge-low { background: var(--orange-100); color: var(--orange-600); }
.badge-success { background: var(--green-100); color: var(--green-800); }

/* Breadcrumb */
.breadcrumb { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--space-4); }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-300); }
.breadcrumb .current { color: var(--ink-700); }

/* Empty state */
.empty-state { text-align: center; padding: var(--space-8) 20px; color: var(--text-secondary); }
.empty-state .icon { font-size: 52px; margin-bottom: var(--space-3); }

/* Pagination */
.pagination { display: flex; gap: var(--space-2); margin-top: var(--space-6); flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: var(--text-sm); min-width: 38px; text-align: center; }
.pagination a:hover { background: var(--green-50); }
.pagination .active { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-top { background: var(--green-800); color: var(--green-50); font-size: var(--text-xs); }
.header-top .container { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; gap: 6px; }
.header-social { display: flex; gap: var(--space-4); }
.header-social a { display: inline-flex; align-items: center; gap: 5px; color: var(--green-50); opacity: .9; font-weight: 600; }
.header-social a:hover { opacity: 1; color: var(--orange-500); }

.header-main .container { display: flex; align-items: center; gap: var(--space-5); padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--text-2xl); font-family: var(--font-heading); }
.brand img, .brand-logo { height: 46px; width: auto; }
.brand-fallback { display: inline-flex; align-items: center; gap: 10px; }
.brand .brand-sl { color: var(--orange-600); }
.brand .brand-ada { color: var(--green-700); }

.main-nav { display: flex; gap: var(--space-5); margin-left: 10px; }
.main-nav a { font-weight: 600; color: var(--green-800); padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-color: var(--orange-500); color: var(--orange-600); }

.header-search { flex: 1; max-width: 480px; position: relative; }
.header-search form { display: flex; position: relative; align-items: center; }
.header-search input {
  width: 100%;
  border: 2px solid var(--green-600);
  border-radius: var(--radius-pill);
  padding: 9px 44px 9px 18px;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  background: var(--surface);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header-search input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(111, 174, 46, .15); }
.header-search button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: var(--ink-700); font-size: 18px; cursor: pointer;
  padding: 4px; display: flex; align-items: center; justify-content: center;
}

.header-actions { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }
.icon-link { position: relative; display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-800); }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--orange-600); color: var(--white);
  font-size: 11px; min-width: 18px; height: 18px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

.mobile-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--green-800); cursor: pointer; min-height: 44px; min-width: 44px; }

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-search { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 1024px) {
  .header-top { font-size: var(--text-xs); }
  .header-top .container { padding-top: 4px; padding-bottom: 4px; }
  .header-social { display: none; }
  .header-main .container { gap: var(--space-3); padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: var(--text-xl); }
  .brand-logo { height: 36px; }
}

/* Search autocomplete dropdown */
.search-suggest-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--border);
  box-shadow: var(--shadow-pop); z-index: 9999; overflow: hidden; max-height: 380px; overflow-y: auto;
}
.suggest-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-bottom: 1px solid var(--border); text-decoration: none;
  color: var(--ink-900); transition: background-color .15s ease;
}
.suggest-row:last-child { border-bottom: none; }
.suggest-row:hover { background-color: var(--ink-50); }
.suggest-title { font-size: var(--text-sm); font-weight: 500; padding-right: 12px; line-height: 1.4; flex: 1; }
.suggest-thumb { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }

/* ── Mobile nav drawer ────────────────────────────────────────────────── */
.mobile-drawer-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 199;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.mobile-drawer-overlay.is-open { display: block; }
.mobile-drawer {
  position: fixed; top: 0; left: 0; width: 300px; max-width: 85vw; height: 100%;
  background: var(--surface); z-index: 200; transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1); overflow-y: auto; box-shadow: 4px 0 32px rgba(0,0,0,.15);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border); background: var(--green-50);
}
.mobile-drawer-brand { font-size: var(--text-xl); }
.mobile-drawer-close {
  background: none; border: none; font-size: 22px; color: var(--ink-500); cursor: pointer;
  padding: 4px 8px; border-radius: var(--radius-sm); line-height: 1; min-width: 44px; min-height: 44px;
}
.mobile-drawer-close:hover { background: var(--ink-100); }
.mobile-drawer-search { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border); }
.mobile-drawer-search form { display: flex; align-items: center; border: 2px solid var(--green-600); border-radius: var(--radius-pill); overflow: hidden; }
.mobile-drawer-search input { flex: 1; border: none; padding: 9px 14px; font-size: var(--text-base); outline: none; min-height: 40px; }
.mobile-drawer-search button { background: var(--green-50); border: none; padding: 9px 14px; font-size: 16px; cursor: pointer; color: var(--green-600); }
.mobile-drawer-nav { padding: 10px 12px 24px; display: flex; flex-direction: column; gap: 2px; }
.mobile-drawer-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 11px 14px; border-radius: 10px;
  font-weight: 600; font-size: var(--text-base); color: var(--green-800); text-decoration: none; transition: background .15s ease;
}
.mobile-drawer-nav a:hover, .mobile-drawer-nav a.active { background: var(--green-50); color: var(--green-900); }
.mobile-drawer-divider { border-top: 1px solid var(--border); margin: var(--space-2) 0; }
.mobile-drawer-nav a.is-secondary { font-size: var(--text-sm); color: var(--text-secondary); font-weight: 500; min-height: 40px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: var(--space-7) 0; }
.hero.container { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.hero-copy { flex: 1 1 380px; }
.hero-copy .eyebrow { color: var(--orange-600); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: var(--text-xs); }
.hero-copy h1 { font-size: var(--text-4xl); margin-bottom: .3em; }
.hero-copy p { font-size: var(--text-lg); color: var(--ink-700); max-width: 480px; }
.hero-actions { display: flex; gap: var(--space-3); margin-top: var(--space-5); flex-wrap: wrap; }
.hero-media { flex: 1 1 320px; text-align: center; }
.hero-media img { max-height: 340px; margin: 0 auto; }

.hero-slider { position: relative; overflow: hidden; }
.hero-slides { display: flex; width: 100%; will-change: transform; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.hero-slide { flex: 0 0 100%; min-width: 0; width: 100%; }
.hero-slide.theme-green { background: radial-gradient(circle at 15% 20%, var(--green-100), var(--green-50) 60%); }
.hero-slide.theme-orange { background: radial-gradient(circle at 15% 20%, var(--orange-100), var(--green-50) 65%); }
.hero-slide .hero-media img { max-height: 300px; border-radius: var(--radius-lg); object-fit: cover; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  background: rgba(255,255,255,.85); border: none; width: 42px; height: 42px; border-radius: var(--radius-pill);
  color: var(--green-800); font-size: 16px; cursor: pointer; box-shadow: var(--shadow-card);
}
.hero-arrow:hover { background: var(--white); color: var(--orange-600); }
.hero-arrow-prev { left: 18px; }
.hero-arrow-next { right: 18px; }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: var(--space-2); z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: var(--radius-pill); border: none; background: rgba(61,122,30,.3); cursor: pointer; padding: 0; }
.hero-dot.is-active { background: var(--orange-600); width: 26px; border-radius: var(--radius-pill); }

@media (max-width: 640px) {
  .hero-arrow { width: 34px; height: 34px; }
  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }
}
@media (max-width: 480px) {
  .hero { padding: 28px 0 24px; }
  .hero.container { flex-direction: column; gap: var(--space-4); padding-top: 20px; padding-bottom: 20px; }
  .hero-copy { flex: none; width: 100%; order: 2; }
  .hero-copy .eyebrow { font-size: 11px; }
  .hero-copy h1 { margin-bottom: .25em; line-height: 1.25; }
  .hero-copy p { font-size: var(--text-sm); max-width: 100%; margin-bottom: var(--space-4); }
  .hero-actions { gap: var(--space-2); }
  .hero-actions .btn { font-size: var(--text-sm); padding: 10px 16px; width: 100%; justify-content: center; }
  .hero-media { display: none; }
  .hero-dots { bottom: 10px; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: var(--space-7) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: var(--space-5); flex-wrap: wrap; gap: var(--space-2); }
.section-head h2 { font-size: var(--text-2xl); }
.section-head .link-more { color: var(--orange-600); font-weight: 600; white-space: nowrap; }
.section-alt { background: var(--green-50); }
.mt-lg { margin-top: var(--space-6); }
.mb-lg { margin-bottom: var(--space-6); }
.mt-md { margin-top: var(--space-4); }
.mb-md { margin-bottom: var(--space-4); }
.text-left { text-align: left; }
.inline-form { display: inline; }
.required-mark { color: var(--danger); }
.container-narrow { max-width: 900px; }
.container-narrow.center { margin-left: auto; margin-right: auto; }
.panel-head-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-4); }
.checkbox-field { display: flex; align-items: center; margin-top: var(--space-5); }
.checkbox-field label { display: flex; align-items: center; gap: var(--space-2); cursor: pointer; font-weight: 400; }
.form-actions-row { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.empty-note { text-align: center; padding: var(--space-6) 0; }

/* Category chips */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-4); }
.category-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 12px; text-align: center; box-shadow: var(--shadow-card);
  font-weight: 600; color: var(--green-800); text-decoration: none;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, border-color .2s ease;
}
.category-chip:hover { transform: translateY(-4px); border-color: var(--green-400); color: var(--orange-600); box-shadow: var(--shadow-pop); }
.category-chip .icon { font-size: 30px; display: block; margin-bottom: var(--space-2); }
.category-chip-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: var(--space-2); box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.category-chip-title { font-size: var(--text-sm); }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-5); }
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.product-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.product-card .thumb { aspect-ratio: 1 / 1; background: var(--green-50); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.product-card .cat, .cat {
  font-size: var(--text-xs); color: var(--green-600); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.product-card h3 { font-size: var(--text-md); margin: 0; font-family: var(--font-body); font-weight: 700; }
.product-card h3 a:hover { color: var(--orange-600); }
.product-card .price { font-weight: 800; color: var(--orange-600); font-size: var(--text-lg); margin-top: auto; }
.product-card .stock { font-size: var(--text-xs); color: var(--text-secondary); }
.product-card .stock.low { color: var(--danger); }
.product-card form { margin-top: var(--space-2); }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: var(--space-5); }
.trust-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.trust-item .icon { font-size: 28px; }
.trust-item h4 { margin: 0 0 var(--space-1); font-size: var(--text-md); }
.trust-item p { margin: 0; font-size: var(--text-sm); color: var(--text-secondary); }

/* Promo section (home) */
.promo-section {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 40%, var(--green-600) 100%);
  position: relative; overflow: hidden; padding: var(--space-6) 0;
}
.promo-section::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  background: rgba(255,255,255,.06); border-radius: 50%;
}
.promo-section::after {
  content: ''; position: absolute; bottom: -40px; left: -40px; width: 160px; height: 160px;
  background: rgba(255,255,255,.04); border-radius: 50%;
}
.promo-section .product-card { background: rgba(255,255,255,.97); }
.promo-badge {
  display: inline-flex; align-items: center; background: var(--green-900); color: var(--white);
  font-weight: 700; font-size: var(--text-sm); padding: 4px 12px; border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: .04em;
}
.promo-section .section-head h2 { color: var(--white); margin: 0; }
.promo-section .section-head { display: flex; align-items: center; gap: var(--space-3); position: relative; z-index: 1; }
.promo-section .section-head .link-more { color: var(--green-100); font-weight: 700; margin-left: auto; }
@media (max-width: 640px) {
  .promo-section .section-head { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .promo-section .section-head .link-more { margin-left: 0; }
}

/* Filters */
.filters-bar { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; margin-bottom: var(--space-5); background: var(--green-50); padding: 14px 18px; border-radius: var(--radius-md); }
.filters-bar select, .filters-bar input[type=text] {
  padding: 10px 12px; min-height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: var(--text-base); font-family: inherit;
}
.filters-bar form { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }

/* ── Product detail ───────────────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 420px 1fr; gap: var(--space-6); }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--green-50); }
.product-info h1 { font-size: var(--text-3xl); }
.product-info .price { font-size: var(--text-3xl); font-weight: 800; color: var(--orange-600); margin: 10px 0; }
.product-meta { display: flex; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--space-4); }
.product-description { margin-top: var(--space-6); }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-stepper button { background: var(--green-50); border: none; width: 44px; height: 44px; font-size: 18px; cursor: pointer; color: var(--green-800); }
.qty-stepper input { width: 54px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 44px; font-size: var(--text-base); }
.add-to-cart-row { display: flex; gap: var(--space-3); align-items: center; margin-top: var(--space-5); flex-wrap: wrap; }

/* ── Cart / checkout ──────────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--text-secondary); padding: 10px 12px; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-info { display: flex; align-items: center; gap: var(--space-3); }
.cart-item-info img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--green-50); }
.cart-item-info .name { font-weight: 600; }
.cart-qty-form { display: flex; gap: var(--space-2); align-items: center; }
.cart-qty-form input { width: 60px; padding: 8px; min-height: 40px; border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; font-family: inherit; }
.cart-remove-btn { background: none; color: var(--danger); }

.cart-summary { background: var(--green-50); border-radius: var(--radius-md); padding: var(--space-6); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: var(--space-2); font-size: var(--text-base); gap: var(--space-3); }
.summary-row.total { font-size: var(--text-lg); font-weight: 800; color: var(--green-900); border-top: 1px solid var(--border); padding-top: var(--space-3); margin-top: var(--space-3); }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-6); align-items: start; }
@media (max-width: 1024px) { .checkout-grid { grid-template-columns: 1fr; } }

.payment-option { display: flex; gap: var(--space-3); align-items: flex-start; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-4); margin-bottom: var(--space-3); cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--green-500); background: var(--green-50); }
.payment-option strong { display: block; }
.payment-option small { color: var(--text-secondary); }

/* Saved address selector (checkout) */
.address-select-list { margin-bottom: var(--space-5); }
.address-select-label { font-weight: 600; margin-bottom: var(--space-3); display: block; }
.address-select-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: var(--space-4); margin-bottom: var(--space-3); cursor: pointer; background: var(--surface);
  transition: border-color .15s ease, background .15s ease;
}
.address-select-card:has(input:checked) { border-color: var(--green-500); background: var(--green-50); }
.address-select-card.is-new { border-style: dashed; border-color: var(--ink-300); background: var(--ink-50); }
.address-select-row { display: flex; align-items: flex-start; gap: var(--space-3); }
.address-select-row.is-single-line { align-items: center; }
.address-select-row input { margin-top: 4px; width: auto; min-height: auto; }
.address-select-head { display: flex; align-items: center; gap: var(--space-2); }
.address-select-body { margin-top: var(--space-1); font-size: var(--text-base); color: var(--ink-700); line-height: 1.5; }
.new-address-fields { border-top: 1px solid var(--border); padding-top: var(--space-4); margin-top: var(--space-2); }
.new-address-fields.is-inline { border-top: none; padding-top: 0; margin-top: 0; }

/* Address book (account page) */
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-4); }
.address-card {
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-4);
  background: var(--surface); display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.address-card:hover { border-color: var(--green-400); }
.address-card.is-default { border-color: var(--green-600); background: var(--green-50); }
.address-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-2); }
.address-label { font-weight: 700; color: var(--ink-900); }
.address-body { font-size: var(--text-base); color: var(--ink-700); line-height: 1.5; margin-bottom: var(--space-4); }
.address-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; padding-top: var(--space-3); border-top: 1px dashed var(--border); }
.inline-form { display: inline; }

/* ── Blog ─────────────────────────────────────────────────────────────── */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-6); align-items: start; }
@media (max-width: 1024px) { .blog-layout { grid-template-columns: 1fr; } .blog-sidebar { order: -1; } }
@media (max-width: 480px) { .blog-layout { gap: var(--space-4); } }

.blog-cat-pill {
  display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 16px;
  border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 600; color: var(--ink-700);
  background: var(--ink-50); border: 1.5px solid var(--border); text-decoration: none; transition: all .15s ease; white-space: nowrap;
}
.blog-cat-pill:hover { background: var(--green-50); border-color: var(--green-100); color: var(--green-800); }
.blog-cat-pill.is-active { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.blog-cat-pill-count { background: rgba(255,255,255,.3); padding: 1px 7px; border-radius: var(--radius-pill); font-size: var(--text-xs); }
.blog-cat-pill:not(.is-active) .blog-cat-pill-count { background: var(--ink-100); color: var(--text-secondary); }

.blog-cat-badge {
  display: inline-flex; align-items: center; padding: 3px 12px; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 700; border: 1.5px solid transparent; text-decoration: none;
  text-transform: uppercase; letter-spacing: .04em;
}

.blog-meta-row { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.blog-meta-item { font-size: var(--text-sm); color: var(--text-secondary); }

.blog-tag {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: var(--text-xs);
  font-weight: 600; color: var(--ink-700); background: var(--ink-50); border: 1px solid var(--border);
  text-decoration: none; transition: all .15s ease;
}
.blog-tag:hover, .blog-tag.is-active { background: var(--green-100); color: var(--green-800); border-color: var(--green-100); }

.blog-card-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card); text-decoration: none; color: inherit;
  transition: box-shadow .2s ease, transform .2s ease; background: var(--surface);
}
.blog-card-featured:hover { box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.blog-card-featured-img { aspect-ratio: 4/3; overflow: hidden; background: var(--green-100); }
.blog-card-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card-featured:hover .blog-card-featured-img img { transform: scale(1.04); }
.blog-card-featured-body { padding: 28px 32px; display: flex; flex-direction: column; gap: var(--space-3); justify-content: center; }
.blog-card-featured-title { font-size: var(--text-2xl); font-weight: 800; line-height: 1.3; color: var(--ink-900); margin: 0; }
.blog-card-featured-excerpt { font-size: var(--text-base); color: var(--ink-700); line-height: 1.65; margin: 0; }
.blog-card-featured-cta { display: inline-flex; width: auto; }
@media (max-width: 640px) {
  .blog-card-featured { grid-template-columns: 1fr; }
  .blog-card-featured-img { aspect-ratio: 16/9; }
  .blog-card-featured-body { padding: var(--space-5); }
  .blog-card-featured-title { font-size: var(--text-lg); }
}

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-5); }
@media (max-width: 480px) { .blog-grid { grid-template-columns: 1fr; gap: var(--space-4); } }

.blog-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .15s ease, transform .15s ease;
}
.blog-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.blog-card .thumb { aspect-ratio: 16/10; background: var(--green-100); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.blog-card:hover .thumb img { transform: scale(1.04); }
.blog-card .body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: var(--space-2); }
.blog-card h3 { font-size: var(--text-md); font-weight: 700; margin: 0; line-height: 1.4; color: var(--ink-900); font-family: var(--font-body); }
.blog-card:hover h3 { color: var(--green-600); }
.blog-card p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; line-height: 1.55; }
.blog-card .date { font-size: var(--text-xs); color: var(--ink-300); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.blog-card .body .blog-meta-row { margin-top: auto; padding-top: var(--space-2); border-top: 1px solid var(--ink-50); }

.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article-header { margin-bottom: var(--space-6); }
.blog-article-title { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.25; margin: 0 0 var(--space-4); color: var(--ink-900); }
.blog-article-meta { padding-bottom: var(--space-4); border-bottom: 2px solid var(--green-50); }
.blog-article-cover { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius-md); margin-bottom: var(--space-6); }
.blog-featured-badge { background: var(--warning-bg); color: var(--warning); font-size: var(--text-xs); font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); }

.blog-article-content { font-size: var(--text-md); line-height: 1.8; color: var(--ink-700); }
.blog-article-content h2 { font-size: var(--text-xl); margin-top: 1.6em; color: var(--ink-900); padding-bottom: .3em; border-bottom: 2px solid var(--green-50); }
.blog-article-content h3 { font-size: var(--text-lg); color: var(--green-800); margin-top: 1.4em; }
.blog-article-content h4 { font-size: var(--text-md); color: var(--ink-900); margin-top: 1.2em; }
.blog-article-content p { margin-bottom: 1.2em; }
.blog-article-content ul, .blog-article-content ol { padding-left: 24px; margin-bottom: 1.2em; }
.blog-article-content li { margin-bottom: .5em; }
.blog-article-content img { border-radius: var(--radius-sm); margin: var(--space-5) 0; max-width: 100%; }
.blog-article-content blockquote {
  border-left: 4px solid var(--green-600); margin: 1.5em 0; padding: 14px 20px; background: var(--green-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--green-800);
}
.blog-article-content a { color: var(--green-600); text-decoration: underline; font-weight: 600; }
.blog-article-content a:hover { color: var(--green-800); }
.blog-article-content code { background: var(--ink-50); padding: 2px 6px; border-radius: 4px; font-size: var(--text-sm); }
.blog-article-content pre { background: var(--ink-900); color: var(--ink-100); padding: var(--space-5); border-radius: var(--radius-sm); overflow-x: auto; }
.blog-article-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.blog-article-content th, .blog-article-content td { padding: 10px 14px; border: 1px solid var(--border); font-size: var(--text-sm); }
.blog-article-content th { background: var(--green-50); font-weight: 700; color: var(--green-800); }
@media (max-width: 480px) {
  .blog-article-content { font-size: var(--text-base); line-height: 1.7; }
  .blog-article-content h2 { font-size: var(--text-lg); }
  .blog-article-content h3 { font-size: var(--text-md); }
}

.blog-tags-row { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.blog-tags-label { font-size: var(--text-sm); font-weight: 700; color: var(--text-secondary); margin-right: var(--space-2); }

.blog-share-box { margin-top: var(--space-6); padding: var(--space-5); background: var(--ink-50); border-radius: var(--radius-md); border: 1px solid var(--border); }
.blog-share-label { font-size: var(--text-base); font-weight: 700; color: var(--ink-700); margin-bottom: var(--space-3); }
.blog-share-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; min-height: 40px;
  border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 700; text-decoration: none;
  cursor: pointer; border: none; transition: all .15s ease;
}
.share-btn-wa { background: #25D366; color: var(--white); }
.share-btn-wa:hover { background: #1da855; }
.share-btn-fb { background: #1877F2; color: var(--white); }
.share-btn-fb:hover { background: #0d65d8; }
.share-btn-tw { background: var(--ink-900); color: var(--white); }
.share-btn-tw:hover { background: var(--ink-700); }
.share-btn-copy { background: var(--ink-100); color: var(--ink-700); }
.share-btn-copy:hover { background: var(--ink-300); }
@media (max-width: 480px) { .share-btn { padding: 8px 12px; font-size: var(--text-xs); } }

.blog-author-box {
  margin-top: var(--space-6); padding: var(--space-5); background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: var(--radius-md); border: 1px solid var(--green-100); display: flex; gap: var(--space-4);
  align-items: flex-start; flex-wrap: wrap;
}
.blog-author-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--green-600), var(--green-700));
  display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; color: var(--white);
}
.blog-author-info { flex: 1; min-width: 200px; }
.blog-author-name { font-weight: 700; font-size: var(--text-md); color: var(--ink-900); margin-bottom: var(--space-1); }
.blog-author-role { font-size: var(--text-sm); color: var(--green-800); font-weight: 600; margin-bottom: var(--space-2); }
.blog-author-bio { font-size: var(--text-base); color: var(--ink-700); margin: 0; line-height: 1.6; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: var(--space-5); }
.blog-sidebar-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); }
.blog-sidebar-title { font-size: var(--text-base); font-weight: 700; color: var(--ink-900); margin: 0 0 var(--space-4); padding-bottom: var(--space-3); border-bottom: 2px solid var(--green-50); }
.blog-sidebar-search { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; background: var(--surface); align-items: center; }
.blog-sidebar-search input { flex: 1; border: none; padding: 9px 14px; font-size: var(--text-base); outline: none; background: transparent; min-height: 40px; }
.blog-sidebar-search button { background: transparent; border: none; color: var(--text-secondary); padding: 9px 14px; cursor: pointer; font-size: 15px; min-height: 40px; }

.blog-sidebar-cats { display: flex; flex-direction: column; gap: var(--space-2); }
.blog-sidebar-cat-link {
  display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink-700); transition: background .15s ease;
}
.blog-sidebar-cat-link:hover { background: var(--green-50); }
.blog-sidebar-cat-link.is-active { background: var(--green-100); font-weight: 700; color: var(--green-800); }
.blog-sidebar-cat-name { display: flex; align-items: center; gap: var(--space-2); }
.blog-sidebar-cat-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.blog-sidebar-cat-count { background: var(--ink-50); color: var(--text-secondary); font-size: var(--text-xs); font-weight: 700; padding: 2px 8px; border-radius: var(--radius-pill); }

.blog-sidebar-recent { display: flex; flex-direction: column; gap: var(--space-4); }
.blog-sidebar-recent-item { display: flex; gap: var(--space-3); text-decoration: none; color: inherit; }
.blog-sidebar-recent-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--green-100); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.blog-sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-sidebar-recent-title { flex: 1; min-width: 0; font-weight: 600; font-size: var(--text-sm); line-height: 1.4; color: var(--ink-900); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.blog-sidebar-recent-date { font-size: var(--text-xs); color: var(--ink-300); margin-top: var(--space-1); }
.blog-sidebar-tags { display: flex; flex-wrap: wrap; gap: 7px; }

/* ── Account ──────────────────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-6); }
@media (max-width: 860px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav { display: flex; flex-direction: column; gap: var(--space-1); }
.account-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; color: var(--ink-700); }
.account-nav a:hover, .account-nav a.active { background: var(--green-50); color: var(--green-800); }
.account-nav form { margin-top: var(--space-2); }

.order-status { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; }
.status-pending_payment { background: var(--orange-100); color: var(--orange-600); }
.status-confirmed { background: var(--warning-bg); color: var(--warning); }
.status-processing { background: var(--info-bg); color: var(--info); }
.status-shipped { background: var(--violet-bg); color: var(--violet); }
.status-completed { background: var(--green-100); color: var(--green-800); }
.status-cancelled { background: var(--danger-bg); color: var(--danger); }

.order-timeline { display: flex; flex-wrap: wrap; gap: 0; margin: var(--space-3) 0 var(--space-6); }
.order-timeline .step { flex: 1 1 120px; text-align: center; position: relative; padding: 0 6px; }
.order-timeline .step .dot {
  width: 28px; height: 28px; border-radius: var(--radius-pill); background: var(--ink-100); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: var(--text-sm); font-weight: 700;
}
.order-timeline .step.is-done .dot { background: var(--green-600); }
.order-timeline .step.is-current .dot { background: var(--orange-600); box-shadow: 0 0 0 4px var(--orange-100); }
.order-timeline .step .line { position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--ink-100); z-index: -1; }
.order-timeline .step:first-child .line { display: none; }
.order-timeline .step.is-done .line { background: var(--green-600); }
.order-timeline .step .label { font-size: var(--text-xs); font-weight: 700; color: var(--ink-700); }
.order-timeline .step .time { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.order-timeline .step.is-cancelled .dot { background: var(--danger); }
@media (max-width: 640px) {
  .order-timeline { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .order-timeline .step { display: flex; align-items: center; gap: var(--space-3); text-align: left; flex: none; width: 100%; }
  .order-timeline .step .dot { margin: 0; }
  .order-timeline .step .line { display: none; }
}

.payment-info-box { background: var(--green-50); border: 1.5px dashed var(--green-500); border-radius: var(--radius-md); padding: var(--space-5); margin-bottom: var(--space-5); }
.payment-info-box h3 { color: var(--green-800); }
.payment-info-box .bank-row { display: flex; justify-content: space-between; padding: var(--space-2) 0; border-bottom: 1px solid var(--border); font-size: var(--text-base); }
.payment-info-box .bank-row:last-child { border-bottom: none; }
.payment-info-box img { border-radius: var(--radius-sm); }
.payment-info-box.is-centered { text-align: center; }
.payment-info-box .note { margin-top: var(--space-4); margin-bottom: 0; }
.qris-img { width: 260px; height: 260px; max-width: 100%; margin: var(--space-2) auto; display: block; }

table.order-lines { width: 100%; border-collapse: collapse; }
table.order-lines th, table.order-lines td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: var(--text-base); }

.unsub-panel { max-width: 560px; margin: var(--space-8) auto; text-align: center; padding: var(--space-7) var(--space-6); }
.unsub-panel .icon { font-size: 64px; margin-bottom: var(--space-5); }
.unsub-panel h1 { margin-bottom: var(--space-3); }
.unsub-panel .lede { font-size: var(--text-lg); color: var(--ink-700); line-height: 1.7; margin-bottom: var(--space-6); }
.unsub-note { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-md); padding: var(--space-5); margin-bottom: var(--space-6); }
.unsub-note p { font-size: var(--text-sm); color: var(--green-800); margin: 0; }

/* ── Info pages ───────────────────────────────────────────────────────── */
.info-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-6); align-items: start; }
@media (max-width: 860px) { .info-layout { grid-template-columns: 1fr; } .info-page-sidebar { display: none; } }
.info-page-sidebar-inner { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius-md); padding: var(--space-5); position: sticky; top: 96px; }
.info-page-sidebar-title { margin: 0 0 var(--space-4); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--green-800); font-weight: 700; }
.info-nav-link {
  display: flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 10px 12px; border-radius: 10px;
  margin-bottom: var(--space-1); font-size: var(--text-base); font-weight: 600; color: var(--ink-700);
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.info-nav-link:hover { background: var(--green-100); color: var(--green-800); }
.info-nav-link.is-active { background: var(--green-700); color: var(--white); }

.info-page-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-card); }
.info-page-header { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); padding-bottom: var(--space-5); border-bottom: 2px solid var(--green-50); }
.info-page-icon {
  width: 56px; height: 56px; background: linear-gradient(135deg, var(--green-100), var(--green-400));
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0;
}
.info-page-title { font-size: var(--text-3xl); margin: 0; color: var(--ink-900); }
.info-page-updated { margin: var(--space-1) 0 0; color: var(--text-secondary); font-size: var(--text-sm); }

.info-page-content { font-size: var(--text-base); line-height: 1.75; color: var(--ink-700); }
.info-page-content h2 { font-size: var(--text-xl); margin-top: 0; color: var(--ink-900); }
.info-page-content h3 { font-size: var(--text-lg); color: var(--green-800); margin-top: 1.5em; margin-bottom: .5em; }
.info-page-content p { margin-bottom: 1em; }
.info-page-content ul, .info-page-content ol { padding-left: 22px; margin-bottom: 1em; }
.info-page-content li { margin-bottom: .4em; }
.info-page-content a { color: var(--green-600); text-decoration: underline; font-weight: 600; }
.info-page-content a:hover { color: var(--green-800); }
.info-page-content strong { color: var(--ink-900); }
.info-page-content code { background: var(--ink-50); padding: 2px 6px; border-radius: 4px; font-size: var(--text-sm); }

.info-cta {
  margin-top: var(--space-5); background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border-radius: var(--radius-md); padding: var(--space-5); display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); flex-wrap: wrap;
}
.info-cta-title { color: var(--white); font-weight: 700; font-size: var(--text-md); margin-bottom: var(--space-1); }
.info-cta-text { color: rgba(255,255,255,.85); margin: 0; font-size: var(--text-base); }

/* ── Job listings ─────────────────────────────────────────────────────── */
.job-header-banner {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
  border-radius: var(--radius-lg); padding: var(--space-7) var(--space-5); text-align: center;
  margin-bottom: var(--space-6); box-shadow: var(--shadow-pop);
}
.job-header-banner, .job-header-banner h1, .job-header-banner h1 span, .job-header-banner p { color: var(--white) !important; }
.job-header-banner h1 { margin-bottom: var(--space-3); text-shadow: 0 2px 4px rgba(0,0,0,.15); }
.job-header-banner p { max-width: 600px; margin: 0 auto var(--space-5); opacity: .95; }

.job-search-form { max-width: 700px; margin: 0 auto; display: flex; gap: var(--space-2); flex-wrap: wrap; }
.job-search-form input[type="text"] {
  flex: 1; min-width: 220px; padding: 12px 16px; min-height: 44px; border-radius: var(--radius-sm);
  border: none; outline: none; font-size: var(--text-base); font-family: inherit;
}
.job-search-form select {
  padding: 12px 14px; min-height: 44px; border-radius: var(--radius-sm); border: none;
  font-size: var(--text-base); background: var(--white); color: var(--ink-700); outline: none; font-family: inherit;
}
.job-search-form button {
  background: var(--orange-500); color: var(--white); font-weight: 700; border: none;
  padding: 12px 24px; min-height: 44px; border-radius: var(--radius-sm); cursor: pointer; font-size: var(--text-base);
}

.job-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-4); }
.job-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-5); display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: var(--space-4); transition: border-color .15s ease, box-shadow .15s ease;
}
.job-card:hover { border-color: var(--green-600); box-shadow: var(--shadow-card); }
.job-card-main { flex: 1; min-width: 280px; }
.job-tags { display: flex; gap: var(--space-2); align-items: center; margin-bottom: var(--space-2); flex-wrap: wrap; }
.job-tag { font-size: var(--text-xs); font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); }
.job-tag-dept { background: var(--green-100); color: var(--green-700); }
.job-tag-location { background: var(--ink-50); color: var(--ink-700); font-weight: 600; }
.job-tag-type { background: var(--warning-bg); color: var(--warning); font-weight: 600; }
.job-card-title { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.job-card-title a { color: inherit; }
.job-card-desc { color: var(--text-secondary); font-size: var(--text-sm); margin-bottom: var(--space-3); line-height: 1.5; }
.job-card-salary { font-size: var(--text-sm); font-weight: 600; color: var(--green-600); }
.job-card-aside { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2); min-width: 140px; }
.job-card-deadline { font-size: var(--text-xs); color: var(--ink-300); }
.job-card-apply {
  background: var(--green-700); color: var(--white); font-weight: 700; font-size: var(--text-sm);
  padding: 10px 20px; min-height: 40px; border-radius: var(--radius-sm); display: inline-flex; align-items: center;
}
.job-card-apply:hover { background: var(--green-800); }

.job-detail-layout { display: flex; gap: var(--space-6); flex-wrap: wrap; align-items: flex-start; }
.job-detail-main { flex: 2; min-width: 320px; }
.job-detail-section { margin-bottom: var(--space-5); }
.job-detail-section h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.job-detail-section .job-detail-body { color: var(--ink-700); font-size: var(--text-base); line-height: 1.7; }
.job-salary-box {
  font-size: var(--text-md); font-weight: 700; color: var(--green-600); margin-bottom: var(--space-5);
  background: var(--green-50); padding: 10px 16px; border-radius: var(--radius-sm); display: inline-block;
}
.job-apply-panel {
  flex: 1; min-width: 300px; background: var(--surface); border-radius: var(--radius-lg);
  border: 2px solid var(--green-600); padding: var(--space-5); box-shadow: var(--shadow-card);
}
.job-apply-panel h2 { font-size: var(--text-lg); margin-bottom: var(--space-1); }
.job-apply-panel .lede { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--space-5); }
.job-apply-panel .form-field small { display: block; font-size: var(--text-xs); color: var(--text-secondary); margin-top: 3px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink-50); color: var(--ink-700); border-top: 1px solid var(--border); padding: var(--space-7) 0 var(--space-5); margin-top: var(--space-7); }

.footer-newsletter {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-800) 100%);
  border-radius: var(--radius-md); padding: var(--space-6);
  margin-bottom: var(--space-7); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-5);
}
.footer-newsletter-copy { flex: 1; min-width: 220px; }
.footer-newsletter-title { font-size: var(--text-xl); font-weight: 800; color: var(--white); margin-bottom: var(--space-2); letter-spacing: -.3px; }
.footer-newsletter-copy p { color: rgba(255,255,255,.85); margin: 0; font-size: var(--text-base); line-height: 1.6; }
.footer-newsletter-form { flex: 1.2; min-width: 280px; }
.footer-newsletter-msg { background: rgba(255,255,255,.2); border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); color: var(--white); font-weight: 700; font-size: var(--text-base); }
.footer-newsletter-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.footer-newsletter-row input {
  flex: 1; min-width: 200px; padding: 12px 16px; min-height: 44px; border: none; border-radius: var(--radius-pill);
  font-size: var(--text-base); outline: none; box-shadow: 0 2px 8px rgba(0,0,0,.1); font-family: inherit;
}
.footer-newsletter-row button {
  background: var(--white); color: var(--green-800); border: none; border-radius: var(--radius-pill);
  padding: 12px 22px; min-height: 44px; font-weight: 800; font-size: var(--text-base); cursor: pointer;
  white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.1); transition: transform .15s ease;
}
.footer-newsletter-row button:hover { transform: translateY(-1px); }
.footer-newsletter-note { color: rgba(255,255,255,.7); font-size: var(--text-xs); margin: var(--space-2) 0 0; padding-left: 4px; }

.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 2fr; gap: var(--space-6); align-items: start; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); } }

.footer-col h4 { color: var(--ink-900); font-size: var(--text-lg); font-weight: 700; margin-top: 0; margin-bottom: var(--space-4); letter-spacing: 0.02em; font-family: var(--font-heading); }
.footer-desc { font-size: var(--text-base); color: var(--text-secondary); line-height: 1.65; margin-top: var(--space-2); max-width: 520px; }
.footer-social { display: flex; gap: var(--space-3); }
.social-pill {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); color: var(--green-600); box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid var(--border);
  transition: all .2s ease;
}
.social-pill:hover { background: var(--green-800); color: var(--white); transform: translateY(-2px); }

.footer-contact-list { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-contact-row { display: flex; align-items: center; gap: var(--space-3); }
.footer-contact-row.is-address { align-items: flex-start; }
.footer-contact-row a { color: var(--green-800); font-weight: 600; text-decoration: none; font-size: var(--text-base); word-break: break-all; }
.footer-contact-row span.footer-contact-text { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5; }
.icon-circle {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800); font-weight: bold; font-size: var(--text-base); flex-shrink: 0;
}

.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.footer-col-wide ul { list-style: none; padding: 0; margin: 0; }
.footer-col-wide li { margin-bottom: var(--space-3); font-size: var(--text-base); }
.footer-col-wide a { color: var(--text-secondary); text-decoration: none; transition: color .15s ease; }
.footer-col-wide a:hover { color: var(--orange-600); }

.footer-bottom {
  border-top: 1px solid var(--border); margin-top: var(--space-7); padding-top: var(--space-5);
  font-size: var(--text-sm); color: var(--text-secondary); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
}

/* ── Utilities ────────────────────────────────────────────────────────── */
.flash-wrap { padding-top: var(--space-4); }

/* ── Admin panel (layouts/admin.blade.php — out of redesign scope, kept intact) ── */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 230px; background: var(--green-900); color: var(--green-50); padding: var(--space-5) var(--space-4); flex-shrink: 0; }
.admin-sidebar .brand { color: var(--white); font-size: var(--text-xl); margin-bottom: var(--space-6); }
.admin-sidebar a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600; color: var(--green-100); margin-bottom: 4px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: var(--white); }
.admin-content { flex: 1; padding: 30px 40px; background: var(--ink-50); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-6); }
table.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
table.admin-table th { background: var(--green-50); text-align: left; padding: 12px 16px; font-size: var(--text-xs); text-transform: uppercase; color: var(--green-800); }
table.admin-table td { padding: 12px 16px; border-top: 1px solid var(--border); font-size: var(--text-base); }
.pill-draft { background: var(--ink-100); color: var(--ink-700); padding: 3px 10px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; }
.pill-published { background: var(--green-100); color: var(--green-800); padding: 3px 10px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; }
