/*
Theme Name: EASY V Pro
Theme URI: https://easy-v.com/
Author: EASY V
Description: A premium WooCommerce theme for a European digital document marketplace. Professional Documents, Ready in Minutes.
Version: 3.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: docsly123-pro
*/

/* =========================================================
   1. DESIGN TOKENS
========================================================= */
:root {
  --d-green: #ff6a00;
  --d-green-dark: #db5300;
  --d-green-light: #fff1e8;
  --d-ink: #111827;
  --d-ink-soft: #2f3746;
  --d-muted: #687080;
  --d-soft: #f7f8fa;
  --d-line: #e2e5ea;
  --d-white: #ffffff;
  --d-radius-sm: 10px;
  --d-radius: 18px;
  --d-radius-lg: 28px;
  --d-shadow-sm: 0 8px 24px rgba(17, 24, 39, .05);
  --d-shadow: 0 18px 50px rgba(17, 24, 39, .10);
  --d-shadow-lg: 0 30px 70px rgba(17, 24, 39, .16);
  --d-ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   2. RESET & BASE
========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--d-ink);
  background: var(--d-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-weight: 800; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }

/* Focus states for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--d-green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   3. NOTICE BANNER
========================================================= */
.notice-banner {
  background: var(--d-green-light);
  color: #8f3b00;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

/* =========================================================
   4. HEADER & NAVIGATION
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 229, 234, .9);
  transition: box-shadow .25s var(--d-ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(17, 24, 39, .07); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; font-weight: 900; }
.brand-text { display: inline-flex; flex-direction: column; }
.brand-name { color: var(--d-ink); font-size: 25px; line-height: 1; letter-spacing: .24em; white-space: nowrap; }
.brand-name span { color: var(--d-green); display: inline-block; margin-left: .08em; }
.brand-tagline { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: .19em; color: var(--d-muted); margin-top: 6px; font-weight: 700; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tagline { color: #aebcb2; }

.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14px; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a:hover { color: var(--d-green); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--d-ink); padding: 0;
}
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform .2s var(--d-ease); }
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); box-shadow: var(--d-shadow-lg);
  padding: 12px; display: grid; grid-template-columns: repeat(2, 200px); gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--d-ease), transform .2s var(--d-ease);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-panel a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--d-radius-sm);
  font-size: 13px; font-weight: 600; color: var(--d-ink-soft);
}
.nav-dropdown-panel a:hover { background: var(--d-green-light); color: var(--d-green-dark); }
.nav-dropdown-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--d-green-light); color: var(--d-green-dark); }
.nav-dropdown-icon svg { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: transparent; border: 1px solid transparent; color: var(--d-ink-soft); cursor: pointer;
  transition: background .2s var(--d-ease), border-color .2s var(--d-ease);
  position: relative;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--d-soft); border-color: var(--d-line); color: var(--d-green-dark); }
.cart-icon { position: relative; }
.cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 17px; height: 17px; padding: 0 3px;
  background: var(--d-green); color: #fff; font-size: 10px; font-weight: 800; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

.button, .wp-element-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px;
  padding: 14px 22px; background: var(--d-green); color: #fff; font-weight: 750; font-size: 14.5px; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 10px 24px rgba(255,106,0,.20);
  transition: background .2s var(--d-ease), transform .18s var(--d-ease), box-shadow .2s var(--d-ease);
}
.button svg { width: 16px; height: 16px; }
.button svg { transition: transform .2s var(--d-ease); }
.button:hover svg { transform: translateX(3px); }
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #respond input#submit:hover {
  background: var(--d-green-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(219,83,0,.24);
}
.button.secondary, .woocommerce a.button.secondary {
  background: #fff; color: var(--d-ink); border: 1px solid var(--d-line); box-shadow: none;
}
.button.secondary:hover { background: var(--d-soft); border-color: #ffbf91; }
.cta-header { padding: 12px 20px; }

.mobile-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; }
.mobile-toggle svg { width: 22px; height: 22px; }

/* Search panel */
.search-panel {
  max-height: 0; overflow: hidden; background: #fff; border-bottom: 1px solid var(--d-line);
  transition: max-height .3s var(--d-ease);
}
.search-panel.is-open { max-height: 110px; }
.search-form { display: flex; align-items: center; gap: 12px; padding: 20px 0; }
.search-form svg { width: 20px; height: 20px; color: var(--d-muted); flex-shrink: 0; }
.search-form input[type="search"] {
  flex: 1; border: 0; font-size: 17px; font-weight: 500; outline: none; background: transparent; color: var(--d-ink);
}
.search-close { flex-shrink: 0; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 78px 0 0 0; background: #fff; z-index: 90;
  padding: 24px; flex-direction: column; gap: 20px; overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 14px 6px; border-bottom: 1px solid var(--d-line); font-weight: 650; font-size: 16px; }
.mobile-menu .button { justify-content: center; margin-top: 10px; }

/* =========================================================
   5. HERO
========================================================= */
.hero {
  position: relative; overflow: hidden; padding: 96px 0 78px;
  background: radial-gradient(circle at 80% 20%, rgba(255,106,0,.14), transparent 28%), linear-gradient(180deg, #fff 0%, #fff9f5 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 999px;
  background: var(--d-green-light); color: var(--d-green-dark); font-size: 13px; font-weight: 750; margin-bottom: 22px;
}
.eyebrow:before { content: ""; width: 8px; height: 8px; background: var(--d-green); border-radius: 50%; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -3px; margin: 0 0 22px; }
.hero h1 span { color: var(--d-green); }
.hero p { font-size: 19px; color: var(--d-muted); max-width: 650px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; color: #4f5663; font-size: 13px; font-weight: 650; }
.trust-row span:before { content: "✓"; color: var(--d-green); font-weight: 900; margin-right: 7px; }

.hero-card { background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius-lg); padding: 22px; box-shadow: var(--d-shadow); transform: rotate(1.5deg); }
.hero-library { position: relative; min-height: 500px; perspective: 1200px; }
.hero-doc { position: absolute; width: 250px; height: 350px; padding: 28px; border-radius: 22px; box-shadow: 0 30px 70px rgba(17,24,39,.18); display: flex; flex-direction: column; overflow: hidden; }
.hero-doc::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.13); }
.hero-doc > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.17); }
.hero-doc > span svg { width: 23px; height: 23px; }.hero-doc small { margin-top: 42px; font-weight: 850; letter-spacing: .17em; }.hero-doc strong { margin-top: 12px; font-size: 25px; line-height: 1.18; }.hero-doc em { margin-top: auto; font-size: 11px; font-style: normal; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.hero-doc-main { z-index: 3; left: 50%; top: 48%; transform: translate(-50%,-50%) rotate(-1deg); color: #fff; background: linear-gradient(145deg,#111827,#2d3748); }
.hero-doc-legal { z-index: 1; left: 4%; top: 18%; transform: rotate(-11deg); color: #17355a; background: linear-gradient(145deg,#dcecff,#eef6ff); }
.hero-doc-finance { z-index: 2; right: 2%; top: 24%; transform: rotate(10deg); color: #17452e; background: linear-gradient(145deg,#dff5e8,#f0fbf4); }
.hero-float-badge { position: absolute; z-index: 5; left: 5%; bottom: 4%; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid var(--d-line); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: var(--d-shadow); }
.hero-float-badge > svg { width: 22px; height: 22px; color: var(--d-green); }.hero-float-badge span,.hero-float-badge strong,.hero-float-badge small { display: block; }.hero-float-badge strong { font-size: 13px; }.hero-float-badge small { color: var(--d-muted); font-size: 11px; }
.mock-browser { border: 1px solid #dfe8e1; border-radius: 17px; overflow: hidden; }
.mock-top { height: 42px; background: #f2f6f3; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #c9d6cc; }
.mock-content { padding: 22px; }
.mock-search {
  height: 44px; border: 1px solid var(--d-line); border-radius: 10px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px; padding: 0 14px; color: #7d8a81; font-size: 13px;
}
.mock-search svg { width: 15px; height: 15px; }
.mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mock-product { border: 1px solid var(--d-line); border-radius: 14px; padding: 14px; background: #fff; }
.doc-thumb {
  height: 92px; border-radius: 10px; background: linear-gradient(145deg, #fff0e5, #fffaf6);
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.doc-icon { width: 38px; height: 48px; border: 2px solid var(--d-green); border-radius: 6px; position: relative; }
.doc-icon:after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 2px; background: var(--d-green);
  box-shadow: 0 7px 0 var(--d-green), 0 14px 0 var(--d-green);
}
.mock-product strong { font-size: 12px; display: block; }
.mock-product small { color: var(--d-green); font-weight: 800; }

/* =========================================================
   6. SECTIONS (shared)
========================================================= */
.section { padding: 82px 0; }
.section.soft { background: var(--d-soft); }
.section-heading { max-width: 730px; margin: 0 auto 44px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -1.6px; margin: 0 0 14px; }
.section-heading p { margin: 0; color: var(--d-muted); font-size: 17px; }
.section-cta-row { text-align: center; margin-top: 36px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--d-ease), transform .6s var(--d-ease); }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   7. GRIDS: STEPS / BENEFITS / CATEGORIES
========================================================= */
.steps, .benefits, .category-grid { display: grid; gap: 20px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.step, .benefit, .category-card {
  background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 25px;
  box-shadow: var(--d-shadow-sm); transition: transform .2s var(--d-ease), box-shadow .2s var(--d-ease), border-color .2s var(--d-ease);
}
.step-number {
  width: 42px; height: 42px; border-radius: 12px; background: var(--d-green-light); color: var(--d-green-dark);
  font-weight: 900; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3, .benefit h3, .category-card h3 { margin: 0 0 8px; font-size: 19px; }
.step p, .benefit p, .category-card p { margin: 0; color: var(--d-muted); font-size: 14px; }

.category-grid { grid-template-columns: repeat(5, 1fr); }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--d-shadow); border-color: #ffbf91; }
.category-icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--d-green-light);
  display: flex; align-items: center; justify-content: center; font-size: 23px; margin-bottom: 18px;
}
.category-icon svg { width: 24px; height: 24px; }
.category-card .category-icon { transition: transform .25s var(--d-ease), background .25s var(--d-ease); }
.category-card:hover .category-icon { transform: translateY(-3px) rotate(-2deg); }
.category--legal-documents .category-icon { background:#e8f2ff;color:#2363a3; }.category--finance-accounting .category-icon { background:#e6f7ec;color:#257749; }
.category--marketing .category-icon { background:#f1eaff;color:#7442a8; }.category--human-resources .category-icon { background:#fff4d8;color:#9a6812; }
.category--sales .category-icon { background:#e7f7f7;color:#237575; }.category--retail-ecommerce .category-icon { background:#ffe9ef;color:#a63f5d; }
.category--ai-resources .category-icon { background:#eeeaff;color:#6546bd; }.category--policies-agreements .category-icon { background:#e8f3ff;color:#315f91; }
.category--complete-bundles .category-icon { background:#fff0e5;color:#d95300; }.category--business-templates .category-icon { background:#fff0e8;color:#c74f08; }

.benefits { grid-template-columns: repeat(4, 1fr); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--d-shadow); }
.benefit-icon {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  background: var(--d-green-light); color: var(--d-green-dark); border-radius: 12px;
}
.benefit-icon svg { width: 22px; height: 22px; }

/* =========================================================
   8. PRODUCT CARDS (WooCommerce loop override)
========================================================= */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-left: auto; margin-right: auto; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.doc-product-card { list-style: none; min-width: 0; }
.doc-card-inner {
  background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
  box-shadow: var(--d-shadow-sm); transition: transform .25s var(--d-ease), box-shadow .25s var(--d-ease), border-color .25s var(--d-ease);
}
.doc-card-inner:hover { transform: translateY(-6px); box-shadow: var(--d-shadow-lg); border-color: #ffbf91; }

.doc-card-media { position: relative; display: grid; place-items: center; min-height: 280px; padding: 24px; background: linear-gradient(145deg,#f7f8fa,#eef0f4); overflow: hidden; }
.easyv-product-cover { position: relative; width: min(190px,72%); aspect-ratio: .72; padding: 20px; border-radius: 10px 16px 16px 10px; color:#182231; background:linear-gradient(145deg,#fff,#f2f4f7); box-shadow: 0 22px 40px rgba(17,24,39,.18), inset 5px 0 0 rgba(17,24,39,.05); display:flex; flex-direction:column; transition:transform .35s var(--d-ease),box-shadow .35s var(--d-ease); }
.doc-card-inner:hover .easyv-product-cover { transform: translateY(-7px) rotate(-1deg); box-shadow:0 30px 54px rgba(17,24,39,.23),inset 5px 0 0 rgba(17,24,39,.05); }
.cover-top { display:flex; align-items:center; justify-content:space-between; }.cover-top i { width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.55); }.cover-top i svg{width:18px;height:18px}.cover-top b{font-size:10px;letter-spacing:.16em}.cover-top b em{color:var(--d-green);font-style:normal}
.cover-title { margin-top:32px;font-size:18px;font-weight:850;line-height:1.16;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.cover-lines{display:grid;gap:6px;margin-top:22px}.cover-lines i{height:3px;border-radius:5px;background:currentColor;opacity:.13}.cover-lines i:nth-child(2){width:82%}.cover-lines i:nth-child(3){width:58%}.cover-meta{margin-top:auto;font-size:8px;font-weight:850;letter-spacing:.13em;opacity:.66}
.cover--legal-documents{color:#173f6d;background:linear-gradient(145deg,#dcecff,#f5f9ff)}.cover--finance-accounting{color:#195239;background:linear-gradient(145deg,#dff5e8,#f4fbf7)}.cover--marketing{color:#593381;background:linear-gradient(145deg,#eee4fb,#faf7fd)}.cover--human-resources{color:#76500f;background:linear-gradient(145deg,#fff0c9,#fffbef)}.cover--sales{color:#1f6668;background:linear-gradient(145deg,#dbf3f3,#f4fbfb)}.cover--retail-ecommerce{color:#87354f;background:linear-gradient(145deg,#ffe2eb,#fff6f8)}.cover--ai-resources{color:#533ba0;background:linear-gradient(145deg,#e8e1ff,#f8f6ff)}.cover--policies-agreements{color:#2d577f;background:linear-gradient(145deg,#deecfa,#f5f9fd)}.cover--complete-bundles{color:#fff;background:linear-gradient(145deg,#121927,#313b4d)}.cover--business-templates{color:#7e3712;background:linear-gradient(145deg,#ffe4d3,#fff7f1)}

.badge {
  position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 800; padding: 6px 10px;
  border-radius: 999px; background: var(--d-green-light); color: var(--d-green-dark); z-index: 2;
}
.badge-featured { background: var(--d-ink); color: #fff; }
.badge-sale { left: auto; right: 14px; background: var(--d-green); color: #fff; }

.doc-card-body { min-width: 0; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.doc-card-cat { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--d-green-dark); }
.doc-card-cat svg, .doc-card-cat-icon { width: 15px; height: 15px; flex: 0 0 auto; }
.doc-card-cat-icon { display: inline-flex; }
.doc-card-cat-icon svg { width: 15px; height: 15px; }
.doc-card-title-link h2, .doc-card-title-link h3 {
  font-size: 18px; margin: 0; line-height: 1.32; color: var(--d-ink); min-height: 48px;
}
.doc-card-title-link:hover h2, .doc-card-title-link:hover h3 { color: var(--d-green-dark); }
.doc-card-excerpt {
  font-size: 13.5px; line-height: 1.55; color: var(--d-muted); margin: 0; flex: 1;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}

.doc-card-rating { min-height: 18px; display: flex; align-items: center; gap: 7px; }
.doc-card-rating:empty { display: none; min-height: 0; }
.doc-card-rating .star-rating { font-size: 13px; color: #f5b400; }
.doc-card-review-count { color: var(--d-muted); font-size: 12px; }
.woocommerce .star-rating { overflow: hidden; position: relative; height: 1em; line-height: 1; width: 5.4em; font-family: sans-serif; }
.woocommerce .star-rating::before { content: "★★★★★"; color: #dfe4e0; float: left; top: 0; left: 0; position: absolute; }
.woocommerce .star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.4em; }
.woocommerce .star-rating span::before { content: "★★★★★"; top: 0; position: absolute; left: 0; color: #f5b400; }

.doc-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; gap: 12px; }
.doc-card-footer .price { font-size: 18px; font-weight: 850; color: var(--d-green-dark); }
.doc-card-footer .price ins { text-decoration: none; }
.doc-card-footer .price del { color: var(--d-muted); font-weight: 500; font-size: 14px; margin-right: 6px; }
.doc-card-footer a.button, .doc-card-footer a.add_to_cart_button {
  flex: 0 0 auto; max-width: 100%; margin: 0; padding: 10px 15px; font-size: 12.5px; white-space: nowrap;
}

/* =========================================================
   9. BUNDLES / FEATURED sections re-use product cards, no extra rules needed */

/* =========================================================
   10. REVIEWS
========================================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 26px;
  box-shadow: var(--d-shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.review-stars { display: flex; gap: 3px; }
.review-stars svg { width: 15px; height: 15px; }
.star-filled { color: #f5b400; }
.star-empty { color: #e2e8e4; }
.review-card p { margin: 0; font-size: 15px; color: var(--d-ink-soft); flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--d-green-light); color: var(--d-green-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.review-author strong { display: block; font-size: 14px; }
.review-author small { color: var(--d-muted); font-size: 12.5px; }

/* =========================================================
   11. FAQ
========================================================= */
.faq { max-width: 850px; margin: auto; }
.faq details { border-bottom: 1px solid var(--d-line); padding: 20px 0; }
.faq summary {
  font-weight: 780; cursor: pointer; font-size: 17px; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 16px; height: 16px; transition: transform .2s var(--d-ease); flex-shrink: 0; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq p { color: var(--d-muted); margin: 12px 0 0; }

/* =========================================================
   12. CTA
========================================================= */
.cta {
  background: var(--d-ink); color: #fff; border-radius: var(--d-radius-lg); padding: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background-image: radial-gradient(circle at 85% 20%, rgba(255,106,0,.28), transparent 45%);
}
.cta h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: 0 0 10px; }
.cta p { margin: 0; color: #c7d0ca; }

/* =========================================================
   13. FOOTER
========================================================= */
.site-footer { background: #0b0f17; color: #e1e4ea; padding: 58px 0 26px; }
.footer-newsletter {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #26332b;
}
.footer-newsletter h3 { margin: 0 0 6px; font-size: 22px; color: #fff; }
.footer-newsletter p { margin: 0; color: #aebcb2; font-size: 14px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  border: 1px solid #2c3a32; background: #182119; color: #fff; border-radius: 11px; padding: 13px 16px;
  font-size: 14px; min-width: 240px;
}
.newsletter-form input::placeholder { color: #7b897f; }

.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-top: 4px; }
.footer-brand p { color: #aebcb2; font-size: 14px; max-width: 300px; margin: 16px 0 20px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.site-footer .footer-col p, .site-footer .footer-col a, .footer-email { color: #aebcb2; font-size: 14px; }
.footer-col a { display: block; margin: 8px 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a:hover { color: var(--d-green); }
.footer-email { margin-top: 10px; }
.footer-trust { display: flex; flex-direction: column; gap: 8px; color: #aebcb2; font-size: 13px; }
.footer-trust span { display: flex; align-items: center; gap: 8px; }
.footer-trust svg { width: 16px; height: 16px; color: var(--d-green); }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #2c3a32; display: flex; align-items: center;
  justify-content: center; color: #aebcb2; transition: background .2s var(--d-ease), color .2s var(--d-ease);
}
.social-icons svg { width: 17px; height: 17px; }
.social-icons a:hover { background: var(--d-green); color: #fff; border-color: var(--d-green); }

.footer-bottom {
  border-top: 1px solid #26332b; margin-top: 36px; padding-top: 22px; font-size: 13px; color: #89988e;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* =========================================================
   14. WOOCOMMERCE PAGES (shop, single, cart, checkout, account)
========================================================= */
.content-wrap { padding: 55px 0; min-height: 60vh; }
.entry-title { font-size: 42px; letter-spacing: -1px; margin: 0 0 30px; }
.container-narrow { max-width: 780px; }
.entry-content { font-size: 16.5px; color: var(--d-ink-soft); }
.entry-content h2, .entry-content h3 { letter-spacing: -.5px; margin-top: 34px; }
.entry-content p { line-height: 1.75; }
.archive-list { display: flex; flex-direction: column; gap: 26px; }
.archive-item { padding-bottom: 26px; border-bottom: 1px solid var(--d-line); }
.archive-item h2 { margin: 0 0 8px; font-size: 22px; }
.archive-item h2 a:hover { color: var(--d-green-dark); }
.easyv-empty-state { text-align: center; padding-top: 90px; padding-bottom: 90px; }
.easyv-empty-state .hero-actions { justify-content: center; }
.easyv-empty-state h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.08; margin: 0 0 18px; }
.easyv-empty-state p { color: var(--d-muted); font-size: 18px; margin: 0 auto 28px; max-width: 620px; }
.easyv-search-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.easyv-search-card { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px; border: 1px solid var(--d-line); border-radius: var(--d-radius); box-shadow: var(--d-shadow-sm); }
.easyv-search-image img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; }
.easyv-search-card h2 { margin: 4px 0 8px; font-size: 20px; line-height: 1.25; }
.easyv-search-card p { color: var(--d-muted); font-size: 14px; }
.text-link { color: var(--d-green-dark); font-size: 14px; font-weight: 750; }

/* Bundles landing page */
.bundle-hero { overflow: hidden; padding: 92px 0 86px; background: radial-gradient(circle at 78% 20%, rgba(255,106,0,.18), transparent 30%), linear-gradient(180deg,#fff 0%,#fff8f3 100%); }
.bundle-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.bundle-hero h1 { max-width: 720px; margin: 0 0 22px; font-size: clamp(46px,6vw,76px); line-height: 1.02; letter-spacing: -3px; }
.bundle-hero p { max-width: 660px; margin: 0 0 30px; color: var(--d-muted); font-size: 19px; }
.bundle-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.bundle-stack-card { position: absolute; width: min(330px,78%); height: 390px; border-radius: 24px; border: 1px solid var(--d-line); box-shadow: var(--d-shadow); }
.bundle-stack-back { transform: rotate(10deg) translate(30px,-5px); background: #ffd7ba; }
.bundle-stack-middle { transform: rotate(5deg) translate(15px,-3px); background: #fff0e5; }
.bundle-stack-front { z-index: 2; padding: 38px; color: #fff; background: linear-gradient(145deg,#111827,#242c3b); display: flex; flex-direction: column; justify-content: center; }
.bundle-stack-front small { margin: 22px 0 12px; color: #ffb681; font-weight: 800; letter-spacing: .15em; }
.bundle-stack-front strong { font-size: 30px; line-height: 1.18; }
.bundle-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--d-green); }
.bundle-icon svg { width: 29px; height: 29px; }
.bundle-lines { display: grid; gap: 8px; margin-top: 34px; }
.bundle-lines i { display: block; height: 5px; border-radius: 9px; background: rgba(255,255,255,.16); }
.bundle-lines i:nth-child(2) { width: 78%; }.bundle-lines i:nth-child(3) { width: 56%; }
.bundle-value-badge { position: absolute; z-index: 3; right: 4%; top: 10%; padding: 10px 15px; border-radius: 999px; background: var(--d-green); color: #fff; font-size: 13px; font-weight: 850; box-shadow: 0 14px 30px rgba(219,83,0,.25); }
.bundle-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bundle-benefits article { padding: 30px; border: 1px solid var(--d-line); border-radius: var(--d-radius); background: #fff; box-shadow: var(--d-shadow-sm); }
.bundle-benefits article > span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; background: var(--d-green-light); color: var(--d-green-dark); }
.bundle-benefits svg { width: 23px; height: 23px; }.bundle-benefits h3 { margin: 0 0 9px; }.bundle-benefits p { margin: 0; color: var(--d-muted); font-size: 14px; }
.bundle-comparison { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.bundle-comparison h2 { margin: 0 0 16px; font-size: clamp(34px,4vw,50px); line-height: 1.08; letter-spacing: -1.6px; }
.bundle-comparison > div > p { color: var(--d-muted); font-size: 17px; }
.comparison-table { overflow: hidden; border: 1px solid var(--d-line); border-radius: var(--d-radius); background: #fff; box-shadow: var(--d-shadow); }
.comparison-row { display: grid; grid-template-columns: 1fr 90px 90px; align-items: center; min-height: 58px; padding: 0 20px; border-bottom: 1px solid var(--d-line); }
.comparison-row:last-child { border-bottom: 0; }.comparison-row strong,.comparison-row b { text-align: center; }.comparison-row b { color: var(--d-green-dark); }
.comparison-row b svg { width: 18px; height: 18px; }.comparison-head { background: var(--d-soft); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.bundle-cta { margin: 0; }

.docsly-breadcrumbs { padding: 22px 0 0; font-size: 13px; color: var(--d-muted); }
.docsly-breadcrumbs a { color: var(--d-muted); }
.docsly-breadcrumbs a:hover { color: var(--d-green-dark); }
.docsly-breadcrumbs span { margin: 0 8px; }

.woocommerce-breadcrumb { padding: 22px 0 0; font-size: 13px; color: var(--d-muted); }
.woocommerce-breadcrumb a { color: var(--d-muted); }
.woocommerce-breadcrumb a:hover { color: var(--d-green-dark); }

.woocommerce-result-count, .woocommerce-ordering { font-size: 13.5px; color: var(--d-muted); }
.easyv-shop-filter {
  display: flex; flex-wrap: wrap; gap: 9px; padding: 4px 1px 18px; margin: 0 0 24px;
}
.easyv-shop-filter a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px;
  border: 1px solid var(--d-line); border-radius: 999px; background: #fff; color: var(--d-ink-soft); font-size: 13px; font-weight: 700;
}
.easyv-shop-filter a:hover, .easyv-shop-filter a.is-active { border-color: var(--d-green); background: var(--d-green-light); color: var(--d-green-dark); }
.easyv-shop-filter span { color: var(--d-muted); font-size: 11px; }
.woocommerce-ordering select {
  border: 1px solid var(--d-line); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; background: #fff;
}

/* Single product */
.woocommerce div.product .product_title { font-size: 34px; letter-spacing: -1px; margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--d-green-dark); font-size: 26px; font-weight: 800; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--d-muted); font-size: 16px; }
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images {
  border-radius: var(--d-radius); overflow: hidden; border: 1px solid var(--d-line);
}
.woocommerce div.product form.cart { margin-top: 24px; }
.easyv-product-assurance {
  display: grid; gap: 9px; margin: 20px 0 0; padding: 17px 18px; background: var(--d-soft);
  border: 1px solid var(--d-line); border-radius: var(--d-radius-sm); color: var(--d-ink-soft); font-size: 13.5px;
}
.easyv-product-assurance span { display: flex; align-items: center; gap: 9px; }
.easyv-product-assurance svg { width: 17px; height: 17px; color: var(--d-green-dark); flex: 0 0 auto; }
.easyv-document-details { clear: both; margin: 46px 0 24px; padding: 30px; border: 1px solid var(--d-line); border-radius: var(--d-radius); background: #fff; }
.easyv-document-details h2 { margin: 0 0 20px; font-size: 25px; }
.easyv-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.easyv-detail-grid > div { padding: 16px; border-radius: 12px; background: var(--d-soft); }
.easyv-detail-grid strong, .easyv-detail-grid span { display: block; }
.easyv-detail-grid strong { margin-bottom: 5px; font-size: 12px; color: var(--d-muted); text-transform: uppercase; letter-spacing: .04em; }
.easyv-detail-grid span { font-weight: 700; font-size: 14px; }
.easyv-legal-note { margin: 18px 0 0; color: var(--d-muted); font-size: 13px; }
.woocommerce table.shop_attributes { border: 1px solid var(--d-line); border-radius: var(--d-radius-sm); overflow: hidden; }
.woocommerce table.shop_attributes th { background: var(--d-soft); font-weight: 700; }
.woocommerce table.shop_attributes td, .woocommerce table.shop_attributes th { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--d-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--d-line); padding-left: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0; background: none; padding: 0 22px 14px 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 700; color: var(--d-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--d-ink); }

/* Cart & Checkout */
.woocommerce table.shop_table { border: 1px solid var(--d-line); border-radius: var(--d-radius); overflow: hidden; border-collapse: separate; }
.woocommerce table.shop_table th { background: var(--d-soft); font-weight: 700; padding: 14px 16px; }
.woocommerce table.shop_table td { padding: 16px; border-top: 1px solid var(--d-line); }
.woocommerce #payment, .woocommerce-checkout-review-order { background: var(--d-soft); border-radius: var(--d-radius); padding: 24px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce-checkout #payment ul.payment_methods {
  border-radius: var(--d-radius-sm);
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea {
  border: 1px solid var(--d-line); padding: 12px 14px; border-radius: 10px;
}

/* My account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a {
  display: block; padding: 12px 16px; border-radius: 10px; font-weight: 650; color: var(--d-ink-soft);
}
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--d-green-light); color: var(--d-green-dark); }

/* WC notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--d-green) !important; border-radius: var(--d-radius-sm);
}
.woocommerce span.onsale { background: var(--d-green); border-radius: 999px; }

/* =========================================================
   15. RESPONSIVE
========================================================= */
@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { transform: none; }
  .hero-library { width: min(620px,100%); min-height: 470px; margin: 10px auto 0; }
  .steps, .benefits, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .easyv-shop-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .easyv-shop-filter::-webkit-scrollbar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 70px; }
  .footer-newsletter { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; min-width: 0; }
  .easyv-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .easyv-search-grid { grid-template-columns: 1fr; }
  .bundle-hero-grid, .bundle-comparison { grid-template-columns: 1fr; }
  .bundle-hero-grid { gap: 42px; }.bundle-visual { min-height: 380px; }.bundle-benefits { grid-template-columns: 1fr; }
  .woocommerce ul.products.columns-2 { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 26px), 1160px); }
  .header-actions .cta-header { display: none; }
  .hero h1 { letter-spacing: -1.8px; }
  .steps, .category-grid, .benefits, .footer-grid, .reviews-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .doc-card-title-link h2, .doc-card-title-link h3 { min-height: 0; }
  .section { padding: 62px 0; }
  .cta { padding: 34px 25px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-card { display: block; padding: 12px; }
  .hero-library { min-height: 365px; }
  .hero-doc { width: 174px; height: 252px; padding: 18px; border-radius: 16px; }
  .hero-doc > span { width: 36px; height: 36px; }.hero-doc > span svg { width: 19px; height: 19px; }
  .hero-doc small { margin-top: 25px; font-size: 9px; }.hero-doc strong { font-size: 17px; }.hero-doc em { font-size: 8px; }
  .hero-doc-legal { left: 0; top: 18%; }.hero-doc-main { top: 45%; }.hero-doc-finance { right: 0; top: 22%; }
  .hero-float-badge { left: 8px; bottom: 0; padding: 10px 12px; }
  .mock-content { padding: 14px; }
  .mock-grid { gap: 8px; }
  .mock-product { padding: 10px; }
  .doc-thumb { height: 68px; }
  .easyv-detail-grid { grid-template-columns: 1fr; }
  .easyv-search-card { grid-template-columns: 90px 1fr; gap: 14px; padding: 14px; }
  .easyv-search-image img { height: 100px; }
  .bundle-hero { padding: 68px 0 58px; }.bundle-hero h1 { letter-spacing: -2px; }.bundle-visual { min-height: 330px; }
  .bundle-stack-card { height: 315px; width: 74%; }.bundle-stack-front { padding: 28px; }.bundle-stack-front strong { font-size: 24px; }
  .bundle-value-badge { right: 0; }.comparison-row { grid-template-columns: 1fr 64px 64px; padding: 0 12px; font-size: 13px; }
  .woocommerce ul.products.columns-2 { grid-template-columns: 1fr !important; }
  .nav-dropdown-panel { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
