/*
Theme Name: DigitalPLR
Theme URI: https://digitalplr.com
Description: Premium PLR digital marketplace theme. Built for WooCommerce + WooCommerce Subscriptions. Tier 1 and Tier 2 ready.
Version: 1.0.0
Author: DigitalPLR
Text Domain: digitalplr
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.1
WC requires at least: 8.0
WC tested up to: 9.0
License: Proprietary
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink:          #1a1a18;
  --ink-2:        #3d3d38;
  --ink-3:        #7a7a72;
  --ink-4:        #b8b8b0;
  --paper:        #faf9f6;
  --paper-2:      #f3f2ee;
  --paper-3:      #eae9e4;
  --white:        #ffffff;
  --border:       rgba(26,26,24,.1);
  --border-2:     rgba(26,26,24,.18);

  --forest:       #1d5c3a;
  --forest-2:     #155030;
  --forest-3:     #0f3d22;
  --forest-pale:  #e8f4ee;
  --forest-mid:   #c2dfd0;

  --lime:         #c8e436;
  --lime-pale:    #f2fad8;
  --amber:        #d4890a;
  --amber-pale:   #fdf4e2;
  --red:          #cc3333;
  --red-pale:     #fdeaea;
  --blue:         #1a5fa0;
  --blue-pale:    #e6f0fa;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm:  6px;
  --r:     10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --sh-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 8px rgba(0,0,0,.04);
  --sh:     0 2px 8px rgba(0,0,0,.07), 0 4px 20px rgba(0,0,0,.05);
  --sh-lg:  0 8px 32px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
  --sh-xl:  0 20px 60px rgba(0,0,0,.14);

  --nav-h: 64px;
  --max-w: 1340px;
  --side-w: 230px;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font-family: var(--sans); }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.3px; color: var(--ink); }
h1 { font-size: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(22px, 3vw, 34px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
p { line-height: 1.75; color: var(--ink-2); }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn-sm  { padding: 8px 18px; font-size: 12px; }
.btn-lg  { padding: 14px 30px; font-size: 15px; }
.btn-xl  { padding: 16px 36px; font-size: 16px; font-family: var(--serif); }

.btn-forest  { background: var(--forest); color: #fff; box-shadow: 0 2px 10px rgba(29,92,58,.25); }
.btn-forest:hover { background: var(--forest-2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(29,92,58,.3); color: #fff; }

.btn-lime    { background: var(--lime); color: var(--ink); box-shadow: 0 2px 10px rgba(200,228,54,.3); }
.btn-lime:hover { background: #b8d42a; transform: translateY(-1px); color: var(--ink); }

.btn-ghost   { background: transparent; color: var(--ink-2); border: 1.5px solid var(--border-2); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); background: var(--forest-pale); }

.btn-white   { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
.btn-white:hover { background: rgba(255,255,255,.28); color: #fff; }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; border: 1px solid;
}
.tag-forest { background: var(--forest-pale); color: var(--forest); border-color: var(--forest-mid); }
.tag-amber  { background: var(--amber-pale); color: var(--amber); border-color: #f0d090; }
.tag-red    { background: var(--red-pale); color: var(--red); border-color: #f5c0c0; }
.tag-blue   { background: var(--blue-pale); color: var(--blue); border-color: #b0ccee; }
.tag-gray   { background: var(--paper-2); color: var(--ink-3); border-color: var(--border-2); }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--ink); letter-spacing: -.3px;
}
.section-link {
  font-size: 12px; font-weight: 600; color: var(--forest); cursor: pointer;
}
.section-link:hover { text-decoration: underline; }

/* ============================================================
   ANNOUNCE BAR
   ============================================================ */
.announce-bar {
  background: var(--forest);
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}
.announce-bar strong { color: #fff; font-weight: 700; }
.announce-bar .sep   { margin: 0 14px; opacity: .35; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: rgba(250,249,246,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-h);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.3px;
  flex-shrink: 0;
}
.site-logo span { color: var(--forest); }

.nav-search-wrap { flex: 1; max-width: 480px; position: relative; }
.nav-search-wrap input {
  width: 100%;
  padding: 10px 16px 10px 44px;
  background: var(--paper-2);
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: all .2s;
}
.nav-search-wrap input:focus {
  background: var(--white);
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(29,92,58,.1);
}
.nav-search-wrap input::placeholder { color: var(--ink-3); }
.nav-search-icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); width: 16px; height: 16px; pointer-events: none;
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; background: none; border: none;
  transition: all .15s;
}
.nav-link:hover { background: var(--paper-2); color: var(--ink); }
.nav-link.active { color: var(--forest); font-weight: 600; }

.nav-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }

.nav-cart {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-sm);
  color: var(--ink-2); cursor: pointer; transition: all .15s;
  background: none; border: none;
}
.nav-cart:hover { background: var(--paper-2); color: var(--ink); }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--forest); color: #fff;
  font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink-2); border-radius: 2px;
  transition: all .2s;
}

/* ============================================================
   CATEGORY STRIP
   ============================================================ */
.cat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip-inner {
  display: flex;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.cat-tab {
  padding: 14px 20px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-3); cursor: pointer; white-space: nowrap;
  border: none; border-bottom: 2.5px solid transparent;
  background: none; transition: all .18s;
  display: flex; align-items: center; gap: 7px;
}
.cat-tab:hover { color: var(--ink); }
.cat-tab.current-cat,
.cat-tab.current-menu-item { color: var(--forest); border-bottom-color: var(--forest); font-weight: 600; }

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 32px 80px;
  display: grid;
  grid-template-columns: var(--side-w) 1fr;
  gap: 32px;
  align-items: start;
}
.page-layout.no-sidebar {
  grid-template-columns: 1fr;
}
.main-content { min-width: 0; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sb-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  box-shadow: var(--sh-sm);
}
.sb-title {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.3px;
  color: var(--ink-3); margin-bottom: 13px;
}
.sb-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: var(--r-sm);
  cursor: pointer; font-size: 13px; color: var(--ink-2);
  transition: all .15s; margin-bottom: 2px;
  text-decoration: none; display: flex;
}
.sb-row:hover { background: var(--paper-2); color: var(--ink); }
.sb-row.current-cat,
.sb-row.active { background: var(--forest-pale); color: var(--forest); font-weight: 600; }
.sb-badge {
  font-size: 10px; font-weight: 700;
  background: var(--paper-2); color: var(--ink-3);
  padding: 2px 8px; border-radius: 999px;
}
.sb-row.active .sb-badge { background: var(--forest-mid); color: var(--forest); }

.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-pill {
  padding: 5px 13px; border-radius: 999px;
  border: 1.5px solid var(--border-2);
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all .15s; background: var(--white);
  text-decoration: none;
}
.filter-pill:hover,
.filter-pill.active { border-color: var(--forest); color: var(--forest); background: var(--forest-pale); font-weight: 600; }

.price-filter-row { display: flex; align-items: center; gap: 8px; }
.price-filter-inp {
  flex: 1; padding: 8px 10px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-sm); font-size: 13px;
  color: var(--ink); background: var(--paper-2);
  outline: none; transition: all .2s;
}
.price-filter-inp:focus { border-color: var(--forest); background: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.site-hero {
  position: relative;
  background: linear-gradient(140deg, #122a1c 0%, #1d5c3a 45%, #144b2e 100%);
  border-radius: var(--r-xl);
  padding: 56px 60px;
  overflow: hidden;
  margin-bottom: 24px;
  color: #fff;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.site-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(200,228,54,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,255,255,.03) 0%, transparent 60%);
  pointer-events: none;
}
.site-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(200,228,54,.15);
  border: 1px solid rgba(200,228,54,.3);
  border-radius: 999px; padding: 5px 14px;
  font-size: 11px; font-weight: 700; color: var(--lime);
  letter-spacing: .4px; text-transform: uppercase;
  margin-bottom: 18px; position: relative; z-index: 1; width: fit-content;
}
.site-hero h1 {
  color: #fff; letter-spacing: -.8px;
  position: relative; z-index: 1;
  margin-bottom: 16px; max-width: 600px;
}
.site-hero h1 em { font-style: italic; color: var(--lime); }
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,.65);
  line-height: 1.75; margin-bottom: 32px;
  max-width: 480px; position: relative; z-index: 1;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-stats {
  display: flex; gap: 0; margin-top: 48px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
  position: relative; z-index: 1;
}
.hero-stat { flex: 1; }
.hero-stat + .hero-stat { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-stat-num {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  color: var(--lime); line-height: 1; margin-bottom: 5px;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  display: grid; grid-template-columns: repeat(5,1fr);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  margin-bottom: 20px; box-shadow: var(--sh-sm);
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-right: 1px solid var(--border);
  font-size: 12px; color: var(--ink-2);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--paper-2); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 16px; height: 16px; color: var(--forest); }
.trust-strong { font-size: 13px; font-weight: 700; color: var(--ink); display: block; }

/* ============================================================
   TRENDING STRIP
   ============================================================ */
.trending-strip {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px; overflow-x: auto; scrollbar-width: none;
}
.trending-strip::-webkit-scrollbar { display: none; }
.trending-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--ink-3); white-space: nowrap; flex-shrink: 0;
}
.trend-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 15px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: all .18s; box-shadow: var(--sh-sm); text-decoration: none;
}
.trend-tag:hover { border-color: var(--forest); color: var(--forest); background: var(--forest-pale); }

/* ============================================================
   SUBSCRIPTION CALLOUT BANNER
   ============================================================ */
.sub-callout {
  background: var(--lime-pale);
  border: 1.5px solid rgba(200,228,54,.5);
  border-radius: var(--r-xl); padding: 24px 28px;
  margin-bottom: 22px; display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
}
.sub-callout h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.sub-callout p  { font-size: 13px; color: var(--ink-2); }
.sub-plans-mini { display: flex; gap: 8px; flex-shrink: 0; }
.plan-mini {
  padding: 12px 16px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  text-align: center; cursor: pointer; transition: all .2s;
  min-width: 88px; box-shadow: var(--sh-sm); position: relative;
  text-decoration: none; display: block;
}
.plan-mini:hover, .plan-mini.featured {
  border-color: var(--forest);
  box-shadow: 0 4px 16px rgba(29,92,58,.12); transform: translateY(-2px);
}
.plan-mini-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--forest); color: #fff; font-size: 8px; font-weight: 800;
  padding: 2px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .5px; white-space: nowrap;
}
.plan-mini-period { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-3); margin-bottom: 3px; }
.plan-mini-price  { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink); }
.plan-mini.featured .plan-mini-price { color: var(--forest); }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.grid-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.grid-count { font-size: 14px; color: var(--ink-2); }
.grid-count strong { font-size: 15px; color: var(--ink); font-weight: 700; }
.grid-sort {
  padding: 8px 14px; background: var(--white);
  border: 1.5px solid var(--border-2); border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; color: var(--ink);
  cursor: pointer; outline: none;
}

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

/* WooCommerce product card overrides */
.products-grid .product,
.product-card {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  overflow: hidden;
  cursor: pointer;
  transition: all .24s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--sh-sm);
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
}
.products-grid .product:hover,
.product-card:hover {
  border-color: rgba(29,92,58,.25) !important;
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}

.product-thumb {
  height: 152px; display: flex;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-thumb img { transform: scale(1.06); }

.product-flag {
  position: absolute; top: 9px; left: 9px;
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; padding: 3px 9px; border-radius: 999px;
}
.flag-hot      { background: #fff1f1; color: var(--red); border: 1px solid #fac8c8; }
.flag-new      { background: var(--forest-pale); color: var(--forest); border: 1px solid var(--forest-mid); }
.flag-trending { background: var(--amber-pale); color: var(--amber); border: 1px solid #f0d090; }

.product-wishlist {
  position: absolute; top: 9px; right: 9px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink-3); transition: all .18s;
  opacity: 0; transform: scale(.85);
  backdrop-filter: blur(4px);
}
.product-card:hover .product-wishlist { opacity: 1; transform: scale(1); }
.product-wishlist:hover { color: var(--red); background: #fff5f5; }

.product-body { padding: 13px 14px 14px; }
.product-cat {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .9px; color: var(--forest); margin-bottom: 4px;
}
.product-title { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink); margin-bottom: 7px; }
.product-rating {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--ink-3); margin-bottom: 9px;
}
.product-stars { color: #f5a623; }

.license-badges { display: flex; gap: 4px; margin-bottom: 10px; flex-wrap: wrap; }
.lic-badge {
  font-size: 9px; font-weight: 800; padding: 2px 7px;
  border-radius: 4px; text-transform: uppercase; letter-spacing: .3px; border: 1px solid;
}
.lic-per { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.lic-com { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.lic-plr { background: #fffbeb; color: #854d0e; border-color: #fde68a; }

.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); }
.product-price small { font-family: var(--sans); font-size: 10px; font-weight: 500; color: var(--ink-3); display: block; margin-bottom: -2px; }
.product-price del { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }

.product-stock { font-size: 10px; color: var(--ink-3); margin-top: 6px; }
.product-stock strong { color: var(--red); font-weight: 700; }

/* Add to cart button (WooCommerce) */
.products-grid .product .add_to_cart_button,
.add-to-cart-btn {
  padding: 7px 16px !important;
  background: var(--forest) !important; color: #fff !important;
  border: none !important; border-radius: 999px !important;
  font-size: 11px !important; font-weight: 700 !important;
  cursor: pointer; transition: all .18s !important;
  box-shadow: 0 2px 6px rgba(29,92,58,.25) !important;
  text-decoration: none !important;
}
.products-grid .product .add_to_cart_button:hover,
.add-to-cart-btn:hover { background: var(--forest-2) !important; transform: scale(1.04); }

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.product-single-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px 80px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3); margin-bottom: 12px;
}
.breadcrumb a { color: var(--forest); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--ink-4); }

.product-single-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px; align-items: start;
}
.product-single-left { min-width: 0; }

.product-single-flags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.product-single-title { margin-bottom: 12px; }
.product-single-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.product-single-stars  { color: #f5a623; font-size: 16px; }
.product-single-rating-text { font-size: 13px; color: var(--ink-3); }

.product-gallery-main {
  border-radius: var(--r-xl); overflow: hidden;
  height: 340px; margin-bottom: 28px;
  border: 1px solid var(--border);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
}

.product-section-title {
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  color: var(--ink); letter-spacing: -.2px;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.product-desc { font-size: 14px; color: var(--ink-2); line-height: 1.8; margin-bottom: 28px; }

.product-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }
.include-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2);
  background: var(--paper-2); padding: 9px 12px;
  border-radius: var(--r-sm);
}
.include-check { color: var(--forest); font-weight: 800; font-size: 12px; flex-shrink: 0; }

/* License cards on product page */
.license-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 28px; }
.license-card {
  padding: 18px 16px; background: var(--white);
  border: 1.5px solid var(--border-2); border-radius: var(--r-md);
  cursor: pointer; transition: all .2s;
}
.license-card:hover, .license-card.selected {
  border-color: var(--forest);
  box-shadow: 0 4px 16px rgba(29,92,58,.1);
}
.license-card.selected { background: var(--forest-pale); }
.license-card-name {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .8px; color: var(--ink-3); margin-bottom: 6px;
}
.license-card.selected .license-card-name { color: var(--forest); }
.license-card-price { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.license-card.selected .license-card-price { color: var(--forest); }
.license-card-desc { font-size: 12px; color: var(--ink-3); line-height: 1.55; }

/* Reviews */
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-sm); }
.review-head  { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--forest-pale); display: flex;
  align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.review-name  { font-size: 13px; font-weight: 700; color: var(--ink); }
.review-stars { color: #f5a623; font-size: 12px; }
.review-date  { margin-left: auto; font-size: 11px; color: var(--ink-3); }
.review-text  { font-size: 13px; color: var(--ink-2); line-height: 1.65; }

/* ============================================================
   BUY BOX (Sticky sidebar on single product)
   ============================================================ */
.buy-box {
  position: sticky; top: calc(var(--nav-h) + 16px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px;
  box-shadow: var(--sh-lg);
}
.buy-box-from  { font-size: 12px; color: var(--ink-3); font-weight: 600; margin-bottom: 3px; }
.buy-box-price { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }

.buy-license-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-3); margin-bottom: 10px; }
.buy-license-opts  { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 18px; }
.buy-lic-opt {
  padding: 10px 6px; border: 1.5px solid var(--border-2);
  border-radius: var(--r); cursor: pointer;
  text-align: center; transition: all .18s;
}
.buy-lic-opt:hover { border-color: var(--forest-mid); }
.buy-lic-opt.selected { border-color: var(--forest); background: var(--forest-pale); }
.buy-lic-opt-name  { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-3); margin-bottom: 3px; }
.buy-lic-opt.selected .buy-lic-opt-name { color: var(--forest); }
.buy-lic-opt-price { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--ink); }
.buy-lic-opt.selected .buy-lic-opt-price { color: var(--forest); }
.buy-lic-opt-note  { font-size: 9px; color: var(--ink-3); margin-top: 2px; line-height: 1.3; }

.buy-trust { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.buy-trust-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; color: var(--ink-2);
  background: var(--paper-2); padding: 5px 10px; border-radius: 999px;
}

/* WooCommerce single add to cart */
.single_add_to_cart_button,
.buy-cta {
  width: 100% !important;
  padding: 15px !important;
  background: var(--forest) !important; color: #fff !important;
  border: none !important; border-radius: var(--r-md) !important;
  font-family: var(--serif) !important; font-size: 17px !important;
  font-weight: 700 !important; cursor: pointer;
  transition: all .2s !important;
  box-shadow: 0 4px 16px rgba(29,92,58,.25) !important;
  margin-bottom: 9px !important; letter-spacing: .2px;
  text-align: center !important;
}
.single_add_to_cart_button:hover,
.buy-cta:hover { background: var(--forest-2) !important; transform: translateY(-1px) !important; }

.buy-wishlist {
  width: 100%; padding: 11px;
  background: transparent; color: var(--ink-2);
  border: 1.5px solid var(--border-2); border-radius: var(--r-md);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .18s; margin-bottom: 16px; text-align: center;
  display: block;
}
.buy-wishlist:hover { border-color: var(--red); color: var(--red); }

.buy-upsell {
  background: var(--lime-pale);
  border: 1.5px solid rgba(200,228,54,.4);
  border-radius: var(--r); padding: 13px;
  font-size: 12px; color: var(--ink-2); line-height: 1.65;
}
.buy-upsell strong { color: var(--ink); display: block; margin-bottom: 3px; font-size: 13px; }
.buy-upsell a { color: var(--forest); font-weight: 700; }

/* ============================================================
   SUBSCRIPTION PAGE
   ============================================================ */
.sub-page-container { max-width: 960px; margin: 0 auto; padding: 48px 32px 80px; }
.sub-hero { text-align: center; margin-bottom: 52px; }
.sub-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--forest-pale); border: 1px solid var(--forest-mid);
  border-radius: 999px; padding: 5px 16px;
  font-size: 11px; font-weight: 700; color: var(--forest);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 18px;
}
.sub-hero h1 { margin-bottom: 14px; }
.sub-hero h1 em { font-style: italic; color: var(--forest); }
.sub-hero p { font-size: 16px; color: var(--ink-2); max-width: 480px; margin: 0 auto; line-height: 1.75; }

.plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 52px; }
.plan-card {
  background: var(--white); border: 1.5px solid var(--border-2);
  border-radius: var(--r-xl); padding: 30px 24px;
  text-align: center; position: relative; cursor: pointer;
  transition: all .24s; box-shadow: var(--sh);
}
.plan-card:hover {
  border-color: rgba(29,92,58,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.plan-card.popular { border-color: var(--forest); border-width: 2px; }
.plan-card-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--forest); color: #fff; font-size: 10px; font-weight: 800;
  padding: 4px 16px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .6px; white-space: nowrap;
}
.plan-period { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-3); margin-bottom: 10px; }
.plan-price  { font-family: var(--serif); font-size: 52px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.plan-card.popular .plan-price { color: var(--forest); }
.plan-price sup { font-size: 24px; vertical-align: super; font-weight: 600; }
.plan-rate  { font-size: 12px; color: var(--ink-3); margin-bottom: 24px; }
.plan-card.popular .plan-rate { color: var(--forest); font-weight: 600; }
.plan-features { list-style: none; text-align: left; margin-bottom: 26px; }
.plan-features li {
  font-size: 13px; color: var(--ink-2); padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.5;
}
.plan-features li:last-child { border-bottom: none; }
.plan-check { color: var(--forest); font-weight: 800; font-size: 12px; margin-top: 1px; flex-shrink: 0; }

/* WooCommerce subscription button override */
.plan-card .wc-forward,
.plan-btn {
  width: 100%; padding: 14px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; transition: all .2s;
  text-align: center; display: block; text-decoration: none;
}
.plan-btn-ghost { background: var(--paper-2); color: var(--ink); }
.plan-btn-ghost:hover { background: var(--paper-3); }
.plan-btn-popular { background: var(--forest); color: #fff; box-shadow: 0 4px 16px rgba(29,92,58,.25); }
.plan-btn-popular:hover { background: var(--forest-2); transform: translateY(-1px); }

/* Comparison table */
.compare-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh); margin-bottom: 52px;
}
.compare-head {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  background: var(--paper-2); padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.compare-head div { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .8px; }
.compare-head div:first-child { color: var(--ink); }
.compare-head .pop-col { color: var(--forest); }
.compare-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 14px 24px; border-bottom: 1px solid var(--border);
  font-size: 13px; align-items: center; transition: background .15s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: var(--paper); }
.compare-feat { font-weight: 600; color: var(--ink); }
.compare-feat small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.compare-yes { color: var(--forest); font-weight: 800; font-size: 15px; }
.compare-no  { color: var(--ink-4); font-size: 16px; }
.compare-val { color: var(--forest); font-weight: 700; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--sh-sm); }
.faq-q     { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.4; }
.faq-a     { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* ============================================================
   ACCOUNT / DASHBOARD
   ============================================================ */
.account-wrap  { max-width: var(--max-w); margin: 0 auto; padding: 32px 32px 80px; }
.account-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }

.dash-nav { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.dash-nav a, .dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-size: 13px; font-weight: 500;
  color: var(--ink-2); cursor: pointer; transition: all .15s;
  border-bottom: 1px solid var(--border); text-decoration: none;
}
.dash-nav a:last-child, .dash-nav-item:last-child { border-bottom: none; }
.dash-nav a:hover, .dash-nav-item:hover { background: var(--paper-2); color: var(--ink); }
.dash-nav a.current, .dash-nav-item.active { background: var(--forest-pale); color: var(--forest); font-weight: 700; }

/* Subscription status card */
.sub-status-card {
  background: linear-gradient(135deg, #1d5c3a, #144b2e);
  border-radius: var(--r-xl); padding: 24px 28px;
  margin-bottom: 18px; color: #fff;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; position: relative; overflow: hidden;
}
.sub-status-card::after {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(200,228,54,.08); pointer-events: none;
}
.sub-status-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.5); margin-bottom: 5px; }
.sub-status-plan  { font-family: var(--serif); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.sub-status-cols  { display: flex; gap: 28px; }
.sub-status-col .sc-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.sub-status-col .sc-value { font-size: 15px; font-weight: 700; color: #fff; }
.sub-status-badge {
  background: rgba(200,228,54,.2); border: 1px solid rgba(200,228,54,.35);
  border-radius: 999px; padding: 5px 14px;
  font-size: 11px; font-weight: 800; color: var(--lime);
  text-transform: uppercase; letter-spacing: .5px; flex-shrink: 0; align-self: flex-start;
}
.dl-progress-wrap { margin-top: 14px; }
.dl-progress-labels { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 6px; font-weight: 600; }
.dl-progress-track { height: 6px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.dl-progress-fill  { height: 100%; background: var(--lime); border-radius: 999px; transition: width .6s ease; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 22px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-sm); }
.stat-value { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.stat-sub   { font-size: 11px; font-weight: 700; margin-top: 4px; }
.stat-up    { color: var(--forest); }
.stat-neu   { color: var(--ink-3); }

/* Downloads table */
.dl-table  { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.dl-head   { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; background: var(--paper-2); padding: 12px 20px; border-bottom: 1px solid var(--border); }
.dl-head > div { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .9px; color: var(--ink-3); }
.dl-row    { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 13px; align-items: center; transition: background .15s; }
.dl-row:last-child { border-bottom: none; }
.dl-row:hover { background: var(--paper); }
.dl-name   { font-weight: 600; color: var(--ink); }
.dl-btn    { display: inline-flex; align-items: center; gap: 5px; padding: 5px 13px; border: none; border-radius: 999px; font-size: 11px; font-weight: 700; cursor: pointer; transition: all .18s; }
.dl-btn-active { background: var(--forest-pale); color: var(--forest); }
.dl-btn-active:hover { background: var(--forest); color: #fff; }
.dl-btn-expired { background: var(--paper-2); color: var(--ink-3); cursor: not-allowed; }

/* WooCommerce my account overrides */
.woocommerce-account .woocommerce-MyAccount-content { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block; padding: 12px 16px;
  font-size: 13px; color: var(--ink-2);
  border-bottom: 1px solid var(--border);
  transition: all .15s;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--forest); font-weight: 700; background: var(--forest-pale); }

/* ============================================================
   CHECKOUT (WooCommerce overrides)
   ============================================================ */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1.5px solid var(--border-2) !important;
  border-radius: var(--r-sm) !important;
  padding: 10px 14px !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  transition: all .2s !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--forest) !important;
  box-shadow: 0 0 0 3px rgba(29,92,58,.1) !important;
  outline: none !important;
}
.woocommerce form .form-row label { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .8px; }
.woocommerce #payment { background: var(--paper-2); border-radius: var(--r-md); }
.woocommerce #place_order {
  background: var(--forest) !important; color: #fff !important;
  border-radius: 999px !important; font-family: var(--serif) !important;
  font-size: 16px !important; font-weight: 700 !important;
  padding: 14px 36px !important;
  box-shadow: 0 4px 16px rgba(29,92,58,.25) !important;
}
.woocommerce #place_order:hover { background: var(--forest-2) !important; }

/* Order summary / cart table */
.woocommerce table.shop_table { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.woocommerce table.shop_table th { background: var(--paper-2); font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-3); padding: 12px 16px; }
.woocommerce table.shop_table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 56px 0 32px;
}
.footer-inner { display: grid; grid-template-columns: 280px 1fr; gap: 60px; margin-bottom: 40px; }
.footer-brand .site-logo { color: #fff; font-size: 24px; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.75; max-width: 240px; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.9); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px; display: flex;
  align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); }

/* ============================================================
   NOTICES (WooCommerce)
   ============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  padding: 14px 18px !important;
  border-radius: var(--r-sm) !important;
  border-left: 4px solid var(--forest) !important;
  background: var(--forest-pale) !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  margin-bottom: 16px !important;
}
.woocommerce-error { border-left-color: var(--red) !important; background: var(--red-pale) !important; }

/* ============================================================
   PAGINATION
   ============================================================ */
.woocommerce-pagination,
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.woocommerce-pagination .page-numbers,
.pagination a, .pagination span {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  border: 1.5px solid var(--border-2); background: var(--white);
  transition: all .15s; text-decoration: none;
}
.woocommerce-pagination .page-numbers.current,
.pagination .current { background: var(--forest); color: #fff; border-color: var(--forest); }
.woocommerce-pagination .page-numbers:hover,
.pagination a:hover { border-color: var(--forest); color: var(--forest); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --side-w: 200px; }
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .product-single-layout { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2n) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid var(--border); }
  .plan-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .cat-strip-inner { padding: 0 16px; }
  .page-layout { padding: 16px 16px 60px; }
  .site-hero { padding: 32px 24px; min-height: 280px; }
  .site-hero h1 { font-size: 26px; }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .license-cards, .pdp-lic-cards { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .sub-callout { flex-direction: column; }
  .sub-plans-mini { width: 100%; }
  .hero-stats { flex-wrap: wrap; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .trust-item:nth-child(n+4) { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .dl-head, .dl-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .dl-head > div:nth-child(3), .dl-row > div:nth-child(3) { display: none; }
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.dplr-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: var(--r-md);
  font-size: 13px; font-weight: 600;
  transform: translateY(70px); opacity: 0;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--sh-xl); pointer-events: none; max-width: 320px;
}
.dplr-toast.show { transform: translateY(0); opacity: 1; }

/* ============================================================
   SEARCH RESULTS DROPDOWN
   ============================================================ */
.search-results-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); z-index: 200;
  display: none; max-height: 320px; overflow-y: auto;
}
.sr-item {
  display: block; padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--ink); text-decoration: none;
  transition: background .15s;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: var(--paper-2); color: var(--forest); }
.sr-none { padding: 14px 16px; font-size: 13px; color: var(--ink-3); }

/* ============================================================
   MOBILE NAV OPEN STATE
   ============================================================ */
@media (max-width: 640px) {
  #site-navigation.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px 16px; z-index: 85; box-shadow: var(--sh-lg);
  }
  #site-navigation.open .nav-link { padding: 12px 16px; border-radius: var(--r-sm); }
}
