/* ==========================================================================
   DRIOV.CSS — Full custom stylesheet for driov.com
   Version: 3.0.1
   ========================================================================== */

/* ── §0. CSS Variables ──────────────────────────────────────────────────── */
:root {
  --d-black:       #000000;
  --d-white:       #ffffff;
  --d-gray-100:    #f4f4f4;
  --d-gray-200:    #e8e8e8;
  --d-gray-300:    #d1d5db;
  --d-gray-400:    #9ca3af;
  --d-gray-500:    #6b7280;
  --d-700:         #374151;
  --d-gray-700:    #374151;
  --d-gray-900:    #111111;
  --d-accent:      #000000;

  --d-max-w:       1680px;
  /* Unified horizontal gap — used on ALL page wrappers & Blocksy ct-container */
  --d-gap:         clamp(20px, 7.5vw, 160px);
  --d-pdp-col-gap: clamp(32px, 4vw, 64px);

  --d-radius-card: 12px;
  --d-radius-sm:   6px;

  --d-font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --theme-link-initial-color: var(--d-black);
  --theme-link-hover-color: var(--d-gray-500);
  --theme-palette-color-1: #000000;
  --theme-palette-color-2: #000000;
  /* Align Blocksy's container max-width with our --d-max-w */
  --theme-normal-container-max-width: var(--d-max-w);
  /* ct-container uses margin-inline:auto + width = min(100%, 85vw); we keep 85vw
     so at viewports ≤ 1976px the margin equals 7.5vw = --d-gap naturally.
     At wider viewports the 1680px max-width aligns ct-container with driov-inner-wrap. */
  --theme-container-edge-spacing: 85vw;
}

/* ── §0b. Unified horizontal margins — force all ct-containers to use --d-max-w ── */
/* Blocksy outputs --theme-normal-container-max-width:1290px as inline CSS;
   this !important override aligns every ct-container with our layout standard. */
.ct-container {
  max-width: var(--d-max-w) !important;
}

/* ── §1. Base & Typography ──────────────────────────────────────────────── */
body {
  font-family: var(--d-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--d-black);
}

a {
  color: var(--d-black);
  text-decoration: none;
}
a:hover {
  color: var(--d-gray-500);
}

/* ── §1b. Breadcrumbs ─────────────────────────────────────────────────── */
.woocommerce-breadcrumb {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--d-gray-500);
  max-width: 100%;
  margin: 20px 0 0;
}

.woocommerce-breadcrumb a {
  color: var(--d-gray-500);
  text-decoration: none;
  transition: color 0.15s;
}
.woocommerce-breadcrumb a:hover {
  color: var(--d-black);
}

/* ── §2. Hide Blocksy Defaults ──────────────────────────────────────────── */

/* Hide Blocksy's default footer */
footer.site-footer,
.ct-footer,
#footer {
  display: none !important;
}

/* Hide Blocksy header (we use our own custom nav) */
header.site-header:not(#driov-header),
.ct-header:not(#driov-header),
#header:not(#driov-header) {
  display: none !important;
}

/* Hide price on all product contexts */
.price,
.woocommerce-Price-amount,
span.woocommerce-Price-amount,
.woocommerce ul.products li.product .price,
.woocommerce div.product .price {
  display: none !important;
}

/* Hide cart/add-to-cart everywhere */
.add_to_cart_button,
.single_add_to_cart_button,
.woocommerce-cart-form,
.woocommerce .cart,
.cart-collaterals,
.woocommerce-mini-cart,
.cart-icon,
.ct-cart-content {
  display: none !important;
}

/* ── Blog / Resources archive cards ────────────────────────────────────── */

/* Card wrapper: strip Blocksy's inner padding + min-height */
article.entry-card.card-content {
  border-radius: 20px !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* Image first — full bleed, all 4 corners rounded
   Top 2 corners are clipped by the card's overflow:hidden,
   bottom 2 corners show against the card's white background */
article.entry-card .ct-media-container {
  order: 1;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 20px 20px 14px 14px !important;
  overflow: hidden;
  flex-shrink: 0;
}

/* Category tag */
article.entry-card ul.entry-meta[data-id="meta_1"] {
  order: 2;
  padding: 14px 18px 0 !important;
  margin: 0 !important;
}

/* Title below image */
article.entry-card .entry-title {
  order: 3;
  padding: 6px 18px 0 !important;
  margin: 0 !important;
}

/* Excerpt below title — max 3 lines */
article.entry-card .entry-excerpt {
  order: 4;
  padding: 6px 18px 18px !important;
  margin: 0 !important;
}
article.entry-card .entry-excerpt p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--d-gray-400);
  margin: 0;
}

/* Hide date meta */
article.entry-card ul.entry-meta[data-id="meta_2"] {
  order: 5;
  display: none !important;
}

/* Hide "Read more" on archive cards */
.woocommerce ul.products li.product .button,
.woocommerce li.product a.button,
.product-type-simple a.button.add_to_cart_button {
  display: none !important;
}

/* Hide WooCommerce result count + ordering (belt-and-braces) */
.woocommerce-result-count,
.woocommerce-ordering { display: none !important; }


/* Hide product meta in Blocksy product pages (we render custom) */
.product_meta,
.woocommerce-product-details__short-description:empty,
.ct-product-data-elements,
.ct-tab-header {
  display: none !important;
}

/* Hide page title banner on single product pages */
.woocommerce.single-product .ct-page-title {
  display: none !important;
}

/* ── Archive: hide Blocksy hero + WooCommerce header (replaced by custom compact header) ── */
.post-type-archive-product [class*="ct-page-title"],
.tax-product_cat [class*="ct-page-title"],
.post-type-archive-product .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header {
  display: none !important;
}

/* ── Archive ct-container: switch from 90vw-centering to explicit --d-gap padding ──
   Blocksy's default ct-container = width: min(100%, 90vw), margin-inline: auto
   → gives only 5vw side margins, misaligned with nav (7.5vw = --d-gap).
   Override to use padding approach, same as nav, footer, and all custom sections. ── */
.tax-product_cat .ct-container,
.post-type-archive-product .ct-container {
  width: 100% !important;
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--d-gap) !important;
  padding-right: var(--d-gap) !important;
  box-sizing: border-box !important;
}

/* ── Custom compact archive header — S/S style ── */
.driov-archive-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--d-gray-200);
  margin-bottom: 32px;
}

/* breadcrumb */
.driov-archive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--d-black);
  margin: 0 0 16px;
}
.driov-archive-breadcrumb a {
  color: var(--d-black);
  text-decoration: none;
}
.driov-archive-breadcrumb a:hover { color: var(--d-gray-500); }
.driov-archive-breadcrumb .driov-bc-sep {
  color: var(--d-black);
  font-size: 0.75rem;
  line-height: 1;
}
.driov-archive-breadcrumb span:last-child { color: var(--d-black); }

.driov-archive-title {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--d-gray-900);
  margin: 0 0 10px;
  line-height: 1.1;
}

.driov-archive-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--d-gray-900);
  margin-top: 10px;
}

.driov-archive-desc {
  margin: 10px 0 0;
  font-size: .875rem;
  color: var(--d-gray-500);
  line-height: 1.6;
}

.driov-archive-desc p {
  margin: 0;
}

/* Hide Blocksy's product-entry extras we don't need */
.ct-divider:not(.driov-divider),
.ct-woocommerce-product-images .ct-image-extra,
.entry-meta,
.ct-post-meta {
  display: none !important;
}

/* ── §3. Custom Navigation / Header ─────────────────────────────────────── */
#driov-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--d-gray-200);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#driov-header.driov-nav--transparent {
  background: transparent;
  border-bottom-color: transparent;
}

#driov-header.driov-nav--scrolled {
  background: #fff;
  border-bottom-color: var(--d-gray-200);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.driov-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--d-max-w);
  margin: 0 auto;
  padding: 0 var(--d-gap);
  height: 64px;
}

.driov-nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-black);
  text-decoration: none;
}

.driov-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(24px, 3vw, 48px);
}

.driov-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--d-black);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.driov-nav-link:hover {
  opacity: 0.6;
}

/* Dropdown */
.driov-has-dropdown {
  position: relative;
}

.driov-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--d-gray-200);
  border-radius: var(--d-radius-sm);
  min-width: 180px;
  padding: 8px 0;
  display: none;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.driov-has-dropdown:hover .driov-dropdown,
.driov-has-dropdown.is-open .driov-dropdown {
  display: block;
}

.driov-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.875rem;
  color: var(--d-black);
  text-decoration: none;
}

.driov-dropdown a:hover {
  background: var(--d-gray-100);
}

/* ── Product card hover image swap ─────────────────────────────────────────
   The hover <img> is injected by JS only on first mouseenter (zero preload).
   position:relative + overflow:hidden are already on Blocksy's <figure>;
   these rules add them as a safety net and animate the overlay.
   ────────────────────────────────────────────────────────────────────────── */
figure[data-hover-src] {
  position: relative;
  overflow: hidden;
}

.driov-hover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.driov-hover-img.is-visible {
  opacity: 1;
}

/* Mega menu — horizontal padding removed; handled by .driov-mega-inner */
#driov-mega-blanks {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--d-gray-200);
  border-bottom: 1px solid var(--d-gray-200);
  padding: 0;
  display: none;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

#driov-mega-blanks.is-visible {
  display: block;
}

/* Search */
.driov-nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

#driov-search-input {
  border: 1px solid var(--d-gray-200);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.875rem;
  outline: none;
  width: 200px;
  transition: border-color 0.2s;
}

#driov-search-input:focus {
  border-color: var(--d-black);
}

#driov-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--d-gray-200);
  border-radius: var(--d-radius-sm);
  z-index: 200;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.driov-search-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.driov-search-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--d-black);
}

.driov-search-list li a:hover {
  background: var(--d-gray-100);
}

.driov-search-list li a img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.driov-search-info {
  display: flex;
  flex-direction: column;
}

.driov-search-info strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.driov-search-info span {
  font-size: 0.75rem;
  color: var(--d-gray-500);
}

.driov-search-empty {
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--d-gray-500);
  text-align: center;
}

/* Mobile toggle — styled in driov-nav.css; driov.css has no override */

/* ── §4. Homepage ────────────────────────────────────────────────────────── */

/* ════════════════════════════════════════════════════
   HOMEPAGE — Full Redesign (Stanley/Stella level)
   ════════════════════════════════════════════════════ */

/* ── Ensure the entire homepage block is white — no theme tint leaks into margins ── */
.driov-hp-page {
  background: #fff;
}

/* ── Contained width wrapper for sections below hero ── */
.driov-hp-inner-wrap {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap);
  background: #fff;
}

/* ── Hero: Full-bleed static image, text overlaid left ── */
.driov-hp-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-h, 64px));
  min-height: 580px;
  overflow: hidden;
  background: #f5f4f1;
}
.driov-hp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}
/* Left-side gradient masks the image/background boundary and keeps text readable */
.driov-hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #f5f4f1        0%,
    #f5f4f1       32%,
    rgba(245,244,241,.85) 45%,
    rgba(245,244,241,.25) 58%,
    rgba(245,244,241,.0)  70%
  );
  z-index: 1;
}
/* Text — vertically centered, anchored left */
.driov-hp-hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  padding: 0 clamp(24px, 7.5vw, 180px);
  z-index: 2;
}
.driov-hp-hero-eyebrow {
  display: block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(20,20,20,.45);
  margin-bottom: 18px;
}
.driov-hp-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: #1a1a1a;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 520px;
}
.driov-hp-hero-sub {
  font-size: clamp(.875rem, 1.1vw, 1.0625rem);
  color: rgba(20,20,20,.55);
  max-width: 380px;
  line-height: 1.8;
  margin: 0 0 32px;
  font-weight: 300;
}
.driov-hp-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.driov-hp-hero-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  color: #fff !important;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s ease;
}
.driov-hp-hero-btn:hover { background: #333; border-color: #333; color: #fff !important; }
.driov-hp-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: transparent;
  border: 1px solid rgba(20,20,20,.35);
  color: #1a1a1a !important;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color .2s ease;
}
.driov-hp-hero-btn-ghost:hover { border-color: #1a1a1a; }
.driov-hp-hero-trust {
  display: block;
  font-size: .6rem;
  color: rgba(20,20,20,.32);
  letter-spacing: .05em;
  line-height: 1.8;
}

/* ── Hero Mobile ── */
@media (max-width: 640px) {
  .driov-hp-hero { height: 85vw; min-height: 460px; }
  .driov-hp-hero-bg { object-position: 75% center; }
  .driov-hp-hero-overlay {
    background: linear-gradient(
      to right,
      rgba(245,244,241,.95) 0%,
      rgba(245,244,241,.6) 60%,
      rgba(245,244,241,.0) 100%
    );
  }
}

/* ── Trust Bar ── */
.driov-hp-trust-bar {
  background: #f5f5f3;
  border-bottom: 1px solid #e5e7eb;
  padding: 13px var(--d-gap);
}
.driov-hp-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.driov-hp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #555;
  padding: 4px 18px 4px 0;
  margin-right: 18px;
  border-right: 1px solid #d4d2ce;
  white-space: nowrap;
}
.driov-hp-trust-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.driov-hp-trust-item svg { flex-shrink: 0; opacity: .6; }

/* ── Brand Manifesto ── */
.driov-hp-manifesto {
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
  background: #fff;
}
.driov-hp-manifesto-inner {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap);
}
.driov-hp-manifesto-text {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.55;
  color: #111;
}

/* ── Gallery Grid ── */
.driov-hp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: transparent;
}
.driov-hp-gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.driov-hp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
  display: block;
}
.driov-hp-gallery-item:hover img { transform: scale(1.05); }
.driov-hp-gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
}
.driov-hp-gallery-label-name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -.01em;
}
.driov-hp-gallery-label-sub {
  display: block;
  font-size: .6875rem;
  color: rgba(255,255,255,.6);
  margin-top: 3px;
  letter-spacing: .02em;
}

/* ── Philosophy Split ── */
.driov-hp-philosophy-wrap { background: #fff; }
.driov-hp-philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.driov-hp-philosophy-img {
  overflow: hidden;
}
.driov-hp-philosophy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.driov-hp-philosophy:hover .driov-hp-philosophy-img img { transform: scale(1.03); }
.driov-hp-philosophy-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px);
  background: #fafaf9;
}
.driov-hp-philosophy-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.12;
  margin: 0 0 20px;
}
.driov-hp-philosophy-text p {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 420px;
}
.driov-hp-text-link {
  font-size: .8125rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .03em;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  width: fit-content;
  transition: opacity .2s ease;
}
.driov-hp-text-link:hover { opacity: .55; color: #111; }

/* ── Services Teaser ── */
.driov-hp-services-wrap { background: #fff; }
.driov-hp-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.driov-hp-services-text {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f5f2ec;
}
.driov-hp-services-text h2 {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  margin: 0 0 18px;
  line-height: 1.15;
}
.driov-hp-services-text p {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 400px;
}
.driov-hp-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #e0ddd5;
}
.driov-hp-services-grid-item {
  overflow: hidden;
  aspect-ratio: 1/1;
}
.driov-hp-services-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.driov-hp-services-grid-item:hover img { transform: scale(1.04); }

/* ── Process Steps ── */
.driov-hp-process {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 7.5vw, 160px);
  background: #fff;
}
.driov-hp-process > h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  margin: 0 0 52px;
  text-align: center;
}
.driov-hp-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}
.driov-hp-step-num {
  font-size: 3.5rem;
  font-weight: 200;
  color: #e5e5e5;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 18px;
}
.driov-hp-step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.driov-hp-step p {
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
}

/* ── STATS BAR (Light Warm) ── */
.driov-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f5f4f1;
  border-top: 1px solid #e5e3de;
  border-bottom: 1px solid #e5e3de;
  padding: 72px var(--d-gap);
  text-align: center;
}
.driov-stat-number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 10px;
}
.driov-stat-label {
  font-size: .8125rem;
  color: #888;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── Soft CTA ── */
.driov-hp-soft-cta {
  background: #f3f2f0;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 7.5vw, 160px);
  text-align: center;
}
.driov-hp-soft-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  margin: 0 0 16px;
}
.driov-hp-soft-cta p {
  font-size: 1rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.driov-hp-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.driov-hp-btn-dark {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: #111;
  color: #fff !important;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: .02em;
  transition: background .2s ease;
}
.driov-hp-btn-dark:hover { background: #333; }
.driov-hp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  background: transparent;
  color: #111 !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #bbb;
  border-radius: 2px;
  transition: border-color .2s ease;
}
.driov-hp-btn-outline:hover { border-color: #111; }
.driov-hp-btn-outline svg { fill: #25d366; color: #25d366; }

/* ── Homepage Responsive ── */
@media (max-width: 900px) {
  .driov-hp-gallery { grid-template-columns: repeat(2, 1fr); }
  .driov-hp-philosophy,
  .driov-hp-services { grid-template-columns: 1fr; }
  .driov-hp-philosophy-img { aspect-ratio: 16/9; }
  .driov-hp-services-text { order: 1; }
  .driov-hp-services-grid { order: 2; grid-template-columns: repeat(4,1fr); }
  .driov-hp-services-grid-item { aspect-ratio: auto; }
  .driov-hp-process-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .driov-hp-gallery { grid-template-columns: repeat(2, 1fr); }
  .driov-hp-services-grid { grid-template-columns: repeat(2,1fr); }
  .driov-hp-cta-btns { flex-direction: column; align-items: center; }
  .driov-hp-btn-dark, .driov-hp-btn-outline { width: 100%; max-width: 320px; justify-content: center; }
}

/* Scroll reveal (kept for backward compat) */
.driov-pillar-item,
.driov-process-step,
.driov-value-card,
.driov-category-card {
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(16px);
}

.driov-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── §5. Shop Archive / Collection ──────────────────────────────────────── */

/* Force product grid layout */
.woocommerce .products,
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2.5vw, 32px) clamp(16px, 2.5vw, 24px) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}

/* Product card image */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link > img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  display: block;
  border-radius: var(--d-radius-card);
  transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.02);
}

/* Product card text */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  margin: 14px 0 4px !important;
  padding: 0 !important;
}

/* Product loop cards: hide any extra WooCommerce / Blocksy-generated meta.
   Only show: product title + driov-loop-meta-line + driov-loop-colors.
   This ensures related products cards match the archive listing style. */
.woocommerce ul.products li.product .sku_wrapper,
.woocommerce ul.products li.product .product-meta,
.woocommerce ul.products li.product .ct-product-card-meta,
.woocommerce ul.products li.product .short-description,
.woocommerce ul.products li.product .product-short-description,
.woocommerce ul.products li.product .woocommerce-product-attributes {
  display: none !important;
}

/* Loop meta line */
.driov-loop-meta-line {
  font-size: 0.8125rem;
  color: var(--d-gray-500);
  margin: 0 0 8px;
  line-height: 1.4;
}

/* Loop color swatches */
.driov-loop-colors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.driov-loop-swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}

.driov-loop-more-colors {
  font-size: 0.6875rem;
  color: var(--d-gray-500);
  line-height: 1;
}

/* Shop page header */
.driov-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.driov-shop-count {
  font-size: 0.8125rem;
  color: var(--d-gray-500);
  margin: 0;
}

/* Pagination bar */
.driov-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--d-gray-200);
  margin-top: 48px;
}

.driov-showing {
  font-size: 0.8125rem;
  color: var(--d-gray-500);
  margin: 0;
}

.woocommerce-pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--d-gray-200);
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--d-black);
  transition: background 0.2s;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
  background: var(--d-black);
  color: #fff;
  border-color: var(--d-black);
}

/* Hide WooCommerce default gallery when custom gallery renders */
.single-product .woocommerce-product-gallery {
  display: none !important;
}

/* ── §6. Single Product Layout ──────────────────────────────────────────── */

/*
 * Blocksy's ct-container has max-width: 1200px (from containerMaxWidth theme mod).
 * On wide screens this makes the product area narrower than the nav/footer (1680px).
 * We expand the container to full-width and let the product-entry-wrapper itself
 * provide the 1680px max-width constraint.
 */
.single-product .ct-container {
  max-width: none !important;
  width: 100% !important;
}

/* Remove Blocksy's ct-product-divider gray lines in the product summary */
.single-product .ct-product-divider {
  --single-product-layer-divider: none;
}

/* Breadcrumb hero: Blocksy's is-width-constrained uses 90vw (5vw margins),
   but product-entry-wrapper uses --d-gap (7.5vw). Override to match. */
.single-product .hero-section.is-width-constrained {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap)) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--d-gap) !important;
  padding-right: var(--d-gap) !important;
  box-sizing: border-box !important;
}

.single-product .product-entry-wrapper.is-width-constrained {
  width: 100% !important;
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 40px var(--d-gap) 0 !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr) !important;
  gap: var(--d-pdp-col-gap) !important;
  align-items: start;
}

/*
 * Blocksy WC bundle CSS (.ct-default-gallery .entry-summary) sets
 * width: calc(100% - 50%) and margin-inline-start: 40px for its flex layout.
 * We use a CSS Grid so we must reset these to let the grid cell control the size.
 */
.single-product .product-entry-wrapper .entry-summary,
.single-product .product-entry-wrapper .summary.entry-summary {
  width: 100% !important;
  min-width: 0 !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
}

/* Make summary sticky */
.single-product .summary.entry-summary {
  position: sticky;
  top: calc(64px + 24px); /* header height + gap */
}

/* Product title */
.single-product .summary h1.product_title,
.single-product h1.product_title {
  font-size: clamp(1.375rem, 2vw, 1.875rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.25 !important;
  margin: 0 0 8px !important;
}

/* SKU */
.single-product .summary .sku_wrapper {
  font-size: 0.8125rem;
  color: var(--d-gray-500);
  margin: 0 0 16px;
}
.driov-sku {
  font-size: 0.8125rem;
  color: var(--d-gray-500);
  letter-spacing: 0.03em;
  margin: 0 0 4px;
}
.driov-price-inquiry {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--d-gray-500);
  margin: 0 0 16px;
}

/* ── §7. Custom Product Gallery ─────────────────────────────────────────── */

.driov-gallery {
  position: relative;
  width: 100%;
}

.driov-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.driov-gallery-grid.driov-gallery-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.driov-gallery-cell {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--d-radius-card);
  aspect-ratio: 4 / 5;
  background: var(--d-gray-100);
}

.driov-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Gallery slider controls (mobile) */
.driov-gallery-prev,
.driov-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.driov-gallery-prev { left: 12px; }
.driov-gallery-next { right: 12px; }

.driov-gallery-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  pointer-events: none;
}

/* Gallery slider at ≤1280px */
@media (max-width: 1280px) {
  .driov-gallery .driov-gallery-grid:not(.driov-gallery-grid--single) {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    /* hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .driov-gallery .driov-gallery-grid:not(.driov-gallery-grid--single)::-webkit-scrollbar {
    display: none;
  }
  .driov-gallery .driov-gallery-grid:not(.driov-gallery-grid--single) .driov-gallery-cell {
    flex: 0 0 100%;
    scroll-snap-align: start;
    border-radius: var(--d-radius-card);
  }
}

/* ── §8. Product Summary — Color Swatches ───────────────────────────────── */
.driov-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.driov-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}

.driov-swatch:hover,
.driov-swatch.is-active {
  transform: scale(1.15);
  box-shadow: inset 0 0 0 2px #000;
}

/* ── §9. Product Summary — MOQ Block ────────────────────────────────────── */
.driov-moq-block {
  margin: 16px 0;
  padding: 14px 18px;
  background: var(--d-gray-100);
  border-radius: var(--d-radius-sm);
}

.driov-moq-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.driov-moq-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-gray-500);
}

.driov-moq-value {
  font-size: 1rem;
  font-weight: 600;
}

.driov-moq-unit {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--d-gray-500);
}

.driov-moq-note {
  font-size: 0.8125rem;
  color: var(--d-gray-500);
  margin: 4px 0 0;
}

/* ── §9b. Product Specs Grid ──────────────────────────────────────────── */
.driov-product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-top: 20px;
  padding-bottom: 20px;
}
.driov-spec-item {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.driov-spec-label {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--d-black);
}
.driov-spec-value {
  font-weight: 400;
  color: var(--d-gray-500);
}

/* ── §9c. Product Accordion ──────────────────────────────────────────── */
.driov-pdp-accordion {
  margin-top: 20px;
}
.driov-pdp-acc-item {
}
.driov-pdp-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--d-black);
  text-align: left;
}
.driov-pdp-acc-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.driov-pdp-acc-item.is-open .driov-pdp-acc-icon {
  transform: rotate(180deg);
}
.driov-pdp-acc-body {
  display: none;
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--d-gray-500);
  line-height: 1.7;
}
.driov-pdp-acc-item.is-open .driov-pdp-acc-body {
  display: block;
}
.driov-pdp-acc-body p {
  margin: 0 0 8px;
}
.driov-pdp-acc-body p:last-child {
  margin-bottom: 0;
}

/* ── §9d. Inquiry Form inside Modal ──────────────────────────────────── */
.driov-inquiry-form input,
.driov-inquiry-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--d-font);
  margin-bottom: 12px;
  box-sizing: border-box;
}
.driov-inquiry-form input:focus,
.driov-inquiry-form textarea:focus {
  outline: none;
  border-color: var(--d-black);
}
.driov-inquiry-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--d-black);
  color: #fff;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.driov-inquiry-submit:hover {
  opacity: 0.85;
}

/* ── §9e. COLOR Label ────────────────────────────────────────────────── */
.driov-color-label-wrap {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 0.8125rem;
}
.driov-color-label {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--d-black);
}
.driov-color-active-name {
  font-weight: 400;
  color: var(--d-gray-500);
}

/* ── §9f. CE / RoHS Compliance Cards ─────────────────────────────────── */
.driov-compliance-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.driov-compliance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
  position: relative;
  cursor: default;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.driov-compliance-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.driov-compliance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--d-black);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--d-black);
  flex-shrink: 0;
}
.driov-compliance-short {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--d-gray-600, #4b5563);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.driov-compliance-popover {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 14px;
  width: 220px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  z-index: 10;
  text-align: left;
}
.driov-compliance-item:hover .driov-compliance-popover {
  display: block;
}
.driov-compliance-popover p {
  font-size: 0.8125rem;
  color: var(--d-gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ── §9g. Tech List (formatted bullets) ──────────────────────────────── */
.driov-tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.driov-tech-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 4px;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.driov-tech-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--d-black);
  font-weight: 600;
}

/* ── §9h. Responsible Production (after product) ─────────────────────── */
.driov-env-impact {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 48px var(--d-gap);
}
.driov-env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.driov-env-card {
  display: flex;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.driov-env-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.driov-env-icon {
  flex-shrink: 0;
  color: var(--d-black);
}
.driov-env-hero-line {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--d-gray-400);
  margin: 0 0 4px;
}
.driov-env-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--d-black);
}
.driov-env-card p {
  font-size: 0.875rem;
  color: var(--d-gray-500);
  line-height: 1.65;
  margin: 0;
}

/* ── §9i. SEO Description Block (after product) ─────────────────────── */
.driov-product-seo-body {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap) 64px;
}
/* border-top moved to inner div so it aligns with text content, not the wider outer section */
.driov-seo-inner {
  border-top: 1px solid #e5e7eb;
  padding-top: 48px;
}
.driov-product-seo-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--d-black);
  margin: 0 0 24px;
}
.driov-product-seo-body p {
  font-size: 0.9375rem;
  color: var(--d-gray-500);
  line-height: 1.75;
  margin: 0 0 16px;
}

@media (max-width: 700px) {
  .driov-env-grid { grid-template-columns: 1fr; }
  .driov-compliance-row { flex-direction: column; gap: 10px; }
  .driov-product-specs { grid-template-columns: 1fr; }
}

/* ── §10. Send Inquiry Button ───────────────────────────────────────────── */
.driov-inquiry-wrap {
  margin-top: 24px;
}

.driov-btn-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 32px;
  background: rgb(63, 62, 62);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.driov-btn-inquiry:hover {
  opacity: 0.8;
}

/* ── §10b. Product Tips ─────────────────────────────────────────────────── */
.driov-care-guides {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap) 56px;
}

/* border-top moved to inner div so it aligns with text content, not the wider outer section */
.driov-care-inner {
  display: grid;
  gap: 16px;
  border-top: 1px solid #e5e5e5;
  padding-top: 40px;
}

.driov-care-inner--count-1 { grid-template-columns: 1fr; max-width: 520px; }
.driov-care-inner--count-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 600px) {
  .driov-care-inner--count-2 { grid-template-columns: 1fr; }
}

.driov-care-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 20px 0;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--d-black);
  transition: box-shadow 0.2s ease;
  overflow: hidden;
}

.driov-care-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.driov-care-card-img {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  align-self: stretch;
}

.driov-care-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.driov-care-card-text {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
}

.driov-care-card-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.3;
}

.driov-care-card-text p {
  font-size: 0.875rem;
  color: var(--d-gray-500, #666);
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.driov-care-arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--d-gray-300);
  flex-shrink: 0;
}

/* ── §11. Related Products — "Total look" ───────────────────────────────── */
/*
 * No full-bleed. Section sits inside the 85 vw Blocksy article like all other
 * content so left/right edges align with the product gallery above it.
 * PHP buffer strips is-width-constrained; we re-apply centering via CSS below.
 */

.single-product .related.products,
.single-product section.related.products {
  display: block !important;
  width: 100% !important;
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 var(--d-gap) clamp(60px, 7vw, 96px) !important;
  border-top: none !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
}

.single-product .related.products .driov-tl {
  padding-top: clamp(48px, 6vw, 80px) !important;
}

/* ── §11b. Total look — self-contained template (driov-tl__*) ────────────── */
/*
 * All card markup is built directly in related.php.
 * No WC loop, no Blocksy card rendering.
 * ALL layout properties use !important so they win regardless of stylesheet load order.
 */

/* ── inner rail: fills the section (section already constrained to d-max-w) ── */
.driov-tl {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ── module header ── */
.driov-tl__head {
  display: block !important;
  margin-bottom: clamp(28px, 4vw, 48px) !important;
  width: 100% !important;
}

.driov-tl__title {
  display: inline-block !important;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  color: #000 !important;
  margin: 0 0 6px !important;
  padding-bottom: 6px !important;
  border-bottom: 1.5px solid #000 !important;
  background: none !important;
  text-transform: none !important;
}

.driov-tl__hr {
  display: block !important;
  width: 100% !important;
  height: 1px !important;
  border: none !important;
  border-top: 1px solid var(--d-gray-200) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

/* ── product grid ── */
.driov-tl__grid {
  --tl-gap: clamp(20px, 3.2vw, 48px);
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: var(--tl-gap) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
}

/* Keep consistent card width for fewer than 4 products — left-aligned */
.driov-tl__grid[data-cols="1"] {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: calc((100% - var(--tl-gap) * 3) / 4) !important;
}

.driov-tl__grid[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: calc((100% - var(--tl-gap) * 3) / 4 * 2 + var(--tl-gap)) !important;
}

.driov-tl__grid[data-cols="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  max-width: calc((100% - var(--tl-gap) * 3) / 4 * 3 + var(--tl-gap) * 2) !important;
}

/* ── individual card ── */
.driov-tl__card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

/* ── image ── */
.driov-tl__img-link {
  display: block !important;
  text-decoration: none !important;
  width: 100% !important;
}

.driov-tl__fig {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: var(--d-gray-100) !important;
  aspect-ratio: 4 / 5 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.driov-tl__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: inherit !important;
  transition: opacity 0.25s ease;
  max-width: none !important;
}

.driov-tl__img-link:hover .driov-tl__img {
  opacity: 0.88;
}

/* ── copy area ── */
.driov-tl__copy {
  padding-top: clamp(14px, 2vw, 22px) !important;
}

/* Title row: name + SKU inline */
.driov-tl__name-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 0.2em 0.6em !important;
  margin: 0 !important;
  padding: 0 !important;
}

.driov-tl__name {
  display: inline !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #000 !important;
}

.driov-tl__name a {
  color: inherit !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.driov-tl__name a:hover {
  opacity: 0.68;
}

.driov-tl__sku {
  display: inline !important;
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
  color: #888 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

/* Short separator */
.driov-tl__sep {
  display: block !important;
  width: 2.25rem !important;
  height: 1px !important;
  background: var(--d-gray-300) !important;
  margin: 12px 0 !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Spec list */
.driov-tl__specs {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.driov-tl__specs li {
  font-size: 0.8125rem !important;
  line-height: 1.65 !important;
  color: #6b7280 !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── colour swatches ── */
.driov-tl__swatches {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 12px !important;
  padding: 0 !important;
}

.driov-tl__dot {
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .09) !important;
  flex-shrink: 0 !important;
}

.driov-tl__more {
  font-size: 0.6875rem !important;
  color: #9ca3af !important;
  line-height: 14px;
}

/* ── §12. Modal (Inquiry) ───────────────────────────────────────────────── */
.driov-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.driov-modal-overlay.is-open {
  display: flex;
}

.driov-modal {
  background: #fff;
  max-width: 560px;
  width: 100%;
  border-radius: var(--d-radius-card);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.driov-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--d-gray-200);
}

.driov-modal-header h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.driov-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px;
  color: var(--d-gray-500);
}

.driov-modal-body {
  padding: 24px;
}

/* CF7 form styles */
.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100% !important;
  border: 1px solid var(--d-gray-200) !important;
  border-radius: var(--d-radius-sm) !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
  font-family: var(--d-font) !important;
}

/* Form row layout */
.driov-b2b-form .driov-form-row {
  margin-bottom: 16px;
}

.driov-b2b-form .driov-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

/* Group: label tight above input, no extra margin */
.driov-b2b-form .form-group {
  margin-bottom: 0;
}

.driov-b2b-form .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--d-gray-900);
  margin: 0 0 5px;
}

/* Remove default p margin inside form groups */
.driov-b2b-form .form-group p {
  margin: 0 0 5px;
}

@media (max-width: 640px) {
  .driov-b2b-form .driov-form-row-2 {
    grid-template-columns: 1fr;
  }
}

.wpcf7 input[type="submit"] {
  background: var(--d-black) !important;
  color: #fff !important;
  cursor: pointer !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

/* ── §13. Footer ────────────────────────────────────────────────────────── */
.driov-custom-footer {
  background: #fff;
  color: #111;
  font-size: 0.875rem;
  border-top: 1px solid #e5e7eb;
}

.driov-footer-main {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 64px var(--d-gap) 48px;
}

.driov-footer-inner {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
}

.driov-footer-logo {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  margin-bottom: 16px;
}

.driov-footer-brand p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 24px;
}

.driov-footer-social {
  display: flex;
  gap: 16px;
}

.driov-footer-social a {
  color: #9ca3af;
  transition: color 0.2s;
}

.driov-footer-social a:hover {
  color: #111;
}

.driov-custom-footer h4,
.driov-footer-col-head {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.driov-footer-col-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.driov-footer-col-body ul li {
  margin-bottom: 10px;
}

.driov-footer-col-body ul a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.driov-footer-col-body ul a:hover {
  color: #111;
}

.driov-footer-cta {
  font-weight: 600;
  color: #111 !important;
}

.driov-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.driov-footer-contact a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}

.driov-footer-contact a:hover {
  color: #111;
}

.driov-footer-wa,
.driov-footer-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280 !important;
}
.driov-footer-wa:hover,
.driov-footer-email:hover {
  color: #111 !important;
}
.driov-footer-wa svg {
  fill: #25D366 !important;
  color: #25D366 !important;
  flex-shrink: 0;
}
.driov-footer-email svg {
  fill: none !important;
  color: #6b7280 !important;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.driov-footer-email:hover svg {
  color: #111 !important;
}


.driov-footer-bottom {
  background: rgb(63, 62, 62);
}

.driov-footer-bottom-inner {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 10px var(--d-gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.driov-footer-bottom span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.driov-footer-legal {
  display: flex;
  gap: 24px;
}

.driov-footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.driov-footer-legal a:hover {
  color: rgba(255,255,255,0.75);
}

.driov-footer-legal a:hover {
  color: #111;
}

/* Footer accordion chevron */
.driov-accordion-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  opacity: 0.4;
}

/* ── §14. FAQ Accordion ─────────────────────────────────────────────────── */
.dfaq-group {
  border-bottom: 1px solid var(--d-gray-200);
}

.dfaq-group-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--d-black);
}

.dfaq-group-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--d-gray-500);
}

.dfaq-group-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.dfaq-group.dfaq-group--open .dfaq-group-body {
  grid-template-rows: 1fr;
}

.dfaq-group-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px;
  border-top: 1px solid transparent;
  transition:
    border-color 0.45s ease,
    padding-top 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.dfaq-group.dfaq-group--open .dfaq-group-inner {
  padding-top: 8px;
  padding-bottom: 8px;
  border-top-color: var(--d-gray-200);
}

/* ── §15. Inner Pages (Quality, FAQ) ────────────────────────────────────── */
.driov-inner-page {
  max-width: var(--d-max-w);
  margin: 0 auto;
  padding: 48px 0 72px;
  /* horizontal margins come from .driov-inner-wrap children — no padding here */
}

.driov-inner-cta {
  background: #f3f2f0;
  padding: clamp(56px, 7vw, 88px) 0;
}

.driov-inner-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 12px;
  max-width: 560px;
  line-height: 1.2;
}

.driov-inner-cta-lead {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.driov-inner-cta-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.driov-inner-btn-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: #111;
  color: #fff !important;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s ease;
  white-space: nowrap;
}
.driov-inner-btn-primary:hover { background: #333; color: #fff !important; }

.driov-inner-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  background: transparent;
  color: #111 !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #bbb;
  border-radius: 2px;
  transition: border-color .2s ease;
  white-space: nowrap;
}
.driov-inner-btn-secondary:hover {
  border-color: #111;
  color: #111 !important;
}

.driov-inner-btn-wa-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  pointer-events: none;
}

/* ── §16. Admin meta box styles ─────────────────────────────────────────── */
.driov-admin-meta-box,
.driov-admin-section {
  margin-bottom: 24px;
}

.driov-admin-section-title {
  font-size: 0.9375rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.driov-field {
  margin-bottom: 14px;
}

.driov-field label {
  display: block;
  margin-bottom: 4px;
}

.driov-admin-hint {
  color: #6b7280;
  font-size: 0.8125rem;
  margin: 4px 0;
}

/* ── §17. Blocksy main content width fix ────────────────────────────────── */

/* Fix Blocksy container width to align with header and footer */
body.woocommerce.single-product #main-container,
body.single-product.woocommerce #main-container {
  overflow-x: visible !important;
}

/* ── §18. Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .driov-pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .driov-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .driov-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .driov-footer-inner {
  grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  /* Total look responsive */
  .driov-tl__grid,
  .driov-tl__grid[data-cols="4"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: 100% !important;
  }
  .driov-tl__grid[data-cols="1"] {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: calc((100% - var(--tl-gap) * 2) / 3) !important;
  }
  .driov-tl__grid[data-cols="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: calc((100% - var(--tl-gap) * 2) / 3 * 2 + var(--tl-gap)) !important;
  }
  .driov-tl__grid[data-cols="3"] {
    max-width: 100% !important;
  }
}

@media (max-width: 700px) {
  /* Stack product layout on mobile */
  .single-product .product-entry-wrapper.is-width-constrained {
    grid-template-columns: 1fr !important;
    padding: 24px var(--d-gap) 0 !important;
  }

  .single-product .summary.entry-summary {
    position: static;
  }

  /* Shop grid: 2 columns */
  .woocommerce .products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Total look: 2 columns */
  .driov-tl__grid,
  .driov-tl__grid[data-cols="3"],
  .driov-tl__grid[data-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
  }
  .driov-tl__grid[data-cols="1"] {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: calc((100% - var(--tl-gap)) / 2) !important;
  }
  .driov-tl__grid[data-cols="2"] {
    max-width: 100% !important;
  }

  /* Hero */
  .driov-hero {
    min-height: 80vh;
  }

  .driov-section {
    padding: 48px var(--d-gap);
  }

  .driov-categories {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .driov-footer-inner {
    grid-template-columns: 1fr;
  }

  .driov-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .driov-footer-legal {
  flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* Nav */
  .driov-nav-links {
    display: none;
  }

  .driov-mobile-toggle {
  display: flex;
  }

  .driov-nav-search #driov-search-input {
    width: 150px;
  }
}

@media (max-width: 480px) {
  /* Total look: 2 columns on smallest screens */
  .driov-tl__grid,
  .driov-tl__grid[data-cols="1"],
  .driov-tl__grid[data-cols="2"],
  .driov-tl__grid[data-cols="3"],
  .driov-tl__grid[data-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
  }
}

/* Footer accordion on mobile */
@media (max-width: 640px) {
  /* Override combined selector specificity from base styles */
  .driov-footer-col-head,
  .driov-custom-footer h4.driov-footer-col-head {
    cursor: pointer;
    margin-bottom: 0;
  }

  .driov-footer-col-head .driov-accordion-chevron {
  display: block;
}

  .driov-footer-col-body {
    display: none;
}

  .driov-footer-col.is-open .driov-footer-col-body {
  display: block;
    margin-top: 12px;
  }

  .driov-footer-col.is-open .driov-accordion-chevron {
    transform: rotate(180deg);
  }
}

@media (min-width: 641px) {
  .driov-accordion-chevron {
    display: none;
  }

  .driov-footer-col-body {
    display: block !important;
  }
}



/* ---------- 22. Kill Blocksy global focus glow inside DRIOV search panel ---------- */
#driov-search-panel input[type="search"],
#driov-search-panel input[type="search"]:focus,
#driov-search-panel input[type="search"]:focus-visible,
#driov-search-panel input[type="text"],
#driov-search-panel input[type="text"]:focus,
#driov-search-panel input,
#driov-search-panel input:focus {
  border: none !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  background: transparent !important;
}

#driov-search-panel button,
#driov-search-panel button:focus,
#driov-search-panel button:hover,
#driov-search-panel button:active {
  outline: none !important;
  box-shadow: none !important;
}


/* ══════════════════════════════════════════════════════════════════════════
   Our Factory Page
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Shared layout ─────────────────────────────────────────────────────── */
.driov-factory-section {
  padding: 96px 0;
}

.driov-factory-inner {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap);
}

.driov-factory-eyebrow {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 12px;
}

.driov-factory-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #111;
  margin: 0 0 24px;
  line-height: 1.15;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.driov-factory-hero {
  position: relative;
  height: clamp(480px, 60vw, 780px);
  overflow: hidden;
  background: #111;
}

.driov-factory-hero-img {
  position: absolute;
  inset: 0;
}

.driov-factory-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(.92) saturate(.8);
}

.driov-factory-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.55) 100%);
}

.driov-factory-hero-text {
  position: relative;
  z-index: 2;
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.driov-factory-hero-text .driov-factory-eyebrow {
  color: rgba(20,20,20,.7);
  text-shadow: 0 0 12px rgba(255,255,255,.9), 0 1px 4px rgba(255,255,255,.8);
}

.driov-factory-hero-text h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 640px;
  /* white glow keeps text legible over any image tone */
  text-shadow: 0 0 24px rgba(255,255,255,1), 0 0 48px rgba(255,255,255,.8), 0 2px 6px rgba(255,255,255,.6);
}

.driov-factory-subhead {
  font-size: clamp(.9375rem, 1.4vw, 1.125rem);
  color: rgba(15,15,15,.85);
  max-width: 560px;
  line-height: 1.65;
  margin: 0;
  text-shadow: 0 0 16px rgba(255,255,255,1), 0 1px 4px rgba(255,255,255,.8);
}

/* ── Stats bar ─────────────────────────────────────────────────────────── */
.driov-factory-stats {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 !important;
}

.driov-factory-stats .driov-factory-inner {
  /* Remove the inherited var(--d-gap) side padding so the 4 columns
     span the full viewport width — dividers then land at exact 25/50/75%.
     Each column carries its own var(--d-gap) internal padding instead. */
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.driov-factory-stat {
  /* Internal padding matches global var(--d-gap) so numbers align
     with the rest of the page's content edge */
  padding: 44px var(--d-gap);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-right: 1px solid #e5e7eb;
}

.driov-factory-stat:last-child {
  border-right: none;
}

.driov-factory-stat-n {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 300;
  color: #111;
  letter-spacing: -0.03em;
  line-height: 1;
}

.driov-factory-stat-l {
  font-size: .8125rem;
  color: #4b5563;
  line-height: 1.4;
}

/* ── Split sections (intro + QC) ───────────────────────────────────────── */
.driov-factory-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.driov-factory-split--reverse {
  direction: rtl;
}

.driov-factory-split--reverse > * {
  direction: ltr;
}

.driov-factory-split-text p {
  font-size: .9375rem;
  color: #6b7280;
  line-height: 1.75;
  margin: 0 0 16px;
}

.driov-factory-split-img {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
}

.driov-factory-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.driov-factory-split-img:hover img {
  transform: scale(1.03);
}

/* ── Capabilities grid ─────────────────────────────────────────────────── */
.driov-factory-capabilities {
  background: #fafafa;
}

.driov-factory-section-head {
  margin-bottom: 56px;
}

.driov-factory-caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e5e7eb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.driov-factory-cap {
  background: #fff;
  padding: 36px 28px;
}

.driov-factory-cap-icon {
  color: #111;
  margin-bottom: 16px;
  opacity: .7;
}

.driov-factory-cap h3 {
  font-size: .9375rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}

.driov-factory-cap p {
  font-size: .875rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ── QC steps ──────────────────────────────────────────────────────────── */
.driov-factory-qc-steps {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.driov-factory-qc-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.driov-factory-qc-num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #111;
  min-width: 28px;
  padding-top: 2px;
}

.driov-factory-qc-step strong {
  display: block;
  font-size: .9375rem;
  color: #111;
  margin-bottom: 4px;
}

.driov-factory-qc-step p {
  font-size: .875rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ── Ethics + printing section ─────────────────────────────────────────── */
.driov-factory-ethics {
  background: #f9fafb;
}

.driov-factory-ethics .driov-factory-inner {
  display: grid;
    grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.driov-factory-ethics-img {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
}

.driov-factory-ethics-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.driov-factory-ethics-content p {
  font-size: .9375rem;
  color: #6b7280;
  line-height: 1.75;
  margin: 0 0 16px;
}

.driov-factory-certs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.driov-factory-cert {
  padding: 6px 14px;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #374151;
}

/* ── CTA section ───────────────────────────────────────────────────────── */
.driov-factory-cta {
  background: #f3f2f0;
  padding: 96px 0;
  text-align: center;
}

.driov-factory-cta .driov-factory-inner {
  max-width: 640px;
  /* Override the global var(--d-gap) padding — this is a narrow centred block,
     not a full-width container. Large padding would shrink usable width to ~256px
     and force buttons onto separate lines. */
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.driov-factory-cta .driov-factory-eyebrow {
  color: rgba(20,20,20,.4);
}

.driov-factory-cta h2 {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  color: #111 !important;
  margin-bottom: 16px !important;
}

.driov-factory-cta > .driov-factory-inner > p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 40px;
}

.driov-factory-cta-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.driov-factory-btn-primary {
    display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 52px !important;
  padding: 0 28px !important;
  box-sizing: border-box !important;
  background: #111;
  color: #fff !important;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 2px;
  line-height: 1 !important;
  transition: background .2s ease;
}

.driov-factory-btn-primary:hover {
  background: #333;
  color: #fff !important;
}

.driov-factory-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 52px !important;
  padding: 0 28px !important;
  box-sizing: border-box !important;
  white-space: nowrap;
  background: transparent;
  color: #111 !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #bbb;
  border-radius: 2px;
  transition: border-color .2s ease, color .2s ease;
}

.driov-factory-btn-secondary:hover {
  border-color: #111;
  color: #111 !important;
}

/* Inner span is the actual flex row — isolated from any Blocksy inheritance */
.driov-factory-btn-secondary > span {
  color: #111;
}

.driov-factory-btn-secondary > span > svg {
  color: #25d366;
}

/* The text span inherits white from the <a> */
.driov-factory-btn-secondary > span > span {
  color: rgba(255,255,255,.85);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .driov-factory-caps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .driov-factory-stats .driov-factory-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  /* In 2-column layout, right column has no border-right; add bottom borders */
  .driov-factory-stat {
    border-bottom: 1px solid #e5e7eb;
  }
  .driov-factory-stat:nth-child(2) {
    border-right: none;
  }
  .driov-factory-stat:nth-child(3),
  .driov-factory-stat:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .driov-factory-split,
  .driov-factory-ethics .driov-factory-inner {
    grid-template-columns: 1fr;
  }
  .driov-factory-split--reverse {
    direction: ltr;
  }
  .driov-factory-split-img,
  .driov-factory-ethics-img {
    order: -1;
  }
  .driov-factory-section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .driov-factory-caps-grid {
    grid-template-columns: 1fr;
  }
  .driov-factory-stats .driov-factory-inner {
    grid-template-columns: 1fr 1fr;
  }
  .driov-factory-cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .driov-factory-btn-primary,
  .driov-factory-btn-secondary {
    width: auto !important;
    align-self: center;
  }
}


/* Our Factory page: hide Blocksy's default title block + kill container spacing */
.page-id-123 [class*="ct-page-title"],
.page-id-123 .hero-section {
  display: none !important;
}

.page-id-123 .ct-container-full[data-vertical-spacing] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* entry-content on factory page: no padding (each section handles own spacing) */
.page-id-123 .entry-content.is-layout-constrained {
  padding: 0 !important;
  max-width: 100% !important;
}

.page-id-123 .entry-content.is-layout-constrained > * {
  max-width: 100% !important;
  margin-left: 0 !important;
}

/* ============================================================
   SHARED INNER-PAGE TEMPLATE
   Used by: Quality & Compliance, Wholesale FAQs
   (and any future info/content pages)
   ============================================================ */

/* Full-width page template — bypass all Blocksy containers */
.driov-fullwidth-page {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

/* Force pages 136/137 to full-width layout (like Our Factory) */
.page-id-136 .ct-container,
.page-id-137 .ct-container,
.page-id-136 .ct-container-full,
.page-id-137 .ct-container-full {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}
.page-id-136 [data-vertical-spacing],
.page-id-137 [data-vertical-spacing] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.page-id-136 .ct-main,
.page-id-137 .ct-main {
  width: 100% !important;
  max-width: 100% !important;
}
.page-id-136 .entry-content,
.page-id-137 .entry-content,
.page-id-136 .entry-content.is-layout-constrained,
.page-id-137 .entry-content.is-layout-constrained {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.page-id-136 .entry-content > *,
.page-id-137 .entry-content > *,
.page-id-136 .entry-content.is-layout-constrained > *,
.page-id-137 .entry-content.is-layout-constrained > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.page-id-136 .wp-block-html,
.page-id-137 .wp-block-html {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Remove all bottom spacing so the CTA connects flush to the footer */
.page-id-137 .wp-block-html:last-child,
.page-id-137 .wp-block-html:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.page-id-137 .entry-content,
.page-id-137 .ct-main,
.page-id-137 [data-vertical-spacing] {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.page-id-137 .driov-inner-cta {
  margin-bottom: 0 !important;
}
/* Blocksy #main-container uses min-height:100vh + .site-main{flex-grow:1}
   which stretches the content area to fill the viewport — zero it out here. */
.page-id-137 #main-container .site-main,
.page-id-137 .ct-main {
  flex-grow: 0 !important;
}
.page-id-137 #main-container {
  min-height: 0 !important;
}
.page-id-136 [class*="ct-page-title"],
.page-id-137 [class*="ct-page-title"] { display: none !important; }

/* ── Inner page root ── */
.driov-inner-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
/* No bottom gap when page ends with the CTA grey band */
.driov-inner-page .driov-inner-cta:last-child {
  margin-bottom: -72px;
}

/* ── Inner wrap (respects global --d-gap margins) ── */
.driov-inner-wrap {
  /* Blocksy applies box-sizing:border-box globally; padding is INSIDE max-width.
     Using calc(d-max-w + 2*gap) ensures the inner content area equals d-max-w,
     matching the actual content width of ct-container on category pages. */
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap);
}

/* ── Hero ── */
.driov-inner-hero {
  padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4.5vw, 60px);
  border-bottom: 1px solid #e5e7eb;
}
/* FAQ page: compact hero */
.page-id-137 .driov-inner-hero {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(24px, 3vw, 36px);
}
.driov-inner-eyebrow {
  display: block;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 20px;
}
.driov-inner-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.12;
  margin: 0 0 24px;
  max-width: 760px;
}
.driov-inner-hero-sub {
  font-size: clamp(.9375rem, 1.4vw, 1.0625rem);
  color: #4b5563;
  max-width: 680px;
  line-height: 1.75;
  margin: 0;
}
/* FAQ page: let subtitle go full width */
.page-id-137 .driov-inner-hero-sub {
  max-width: 100%;
}
/* FAQ hero title — fixed 2rem (was clamp up to 3.25rem) */
.page-id-137 .driov-inner-hero h1 {
  font-size: 2rem;
}

/* Quality & Compliance (136) — align hero & intro with FAQ; centered intro band */
.page-id-136 .driov-inner-hero {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(24px, 3vw, 36px);
}
.page-id-136 .driov-inner-hero .driov-inner-wrap {
  text-align: center;
}
.page-id-136 .driov-inner-hero h1 {
  font-size: 2rem;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.page-id-136 .driov-inner-hero-kicker {
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.5;
  margin: 0 auto 16px;
  max-width: 36rem;
}
.page-id-136 .driov-inner-hero-sub {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.page-id-136 .driov-inner-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.page-id-136 .driov-inner-section--intro .driov-inner-wrap {
  text-align: center;
}
.page-id-136 .driov-inner-section--intro h2 {
  margin-left: auto;
  margin-right: auto;
}
.page-id-136 .driov-inner-section--intro .driov-inner-section-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
}

/* CTA heading: single line — expand inner container and suppress wrapping */
.page-id-136 .driov-inner-cta--center .driov-inner-cta-inner {
  max-width: none;
}
.page-id-136 .driov-inner-cta--center h2 {
  white-space: nowrap;
  font-size: clamp(1.125rem, 2.2vw, 2rem);
  max-width: none !important;
}
@media (max-width: 600px) {
  .page-id-136 .driov-inner-cta--center h2 {
    white-space: normal;
  }
}

/* ── Content sections ── */
.driov-inner-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-bottom: 1px solid #e5e7eb;
}
/* FAQ page: tighter section padding */
.page-id-137 .driov-inner-section {
  padding-top: clamp(28px, 3.5vw, 40px);
  padding-bottom: clamp(28px, 3.5vw, 40px);
}
.driov-inner-section--alt {
  background: #fafafa;
}
.driov-inner-section h2 {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 12px;
}
.driov-inner-section-lead {
  font-size: 1rem;
  color: #6b7280;
  max-width: 640px;
  line-height: 1.7;
  margin: 0 0 48px;
}

/* ── Certification cards — equal width (2 cols, 3 cols, … share row evenly) ── */
.driov-cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-top: 40px;
}
.driov-cert-card {
  flex: 1 1 260px;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.driov-cert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid #111;
  border-radius: 50%;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #111;
  flex-shrink: 0;
}

.driov-cert-badge--lg {
  font-size: 1rem;
  letter-spacing: .02em;
}

/* CE mark: no circle, flat icon only */
.driov-cert-badge--ce {
  border: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

/* RoHS: green circle */
.driov-cert-badge--rohs {
  border: none;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}
.driov-cert-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin: 4px 0 4px;
  letter-spacing: 0;
}
.driov-cert-card .driov-cert-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}
.driov-cert-card p {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* ── QC Process steps ── */
.driov-qc-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  max-width: 760px;
}
.driov-qc-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid #e5e7eb;
}
.driov-qc-step:last-child { border-bottom: 1px solid #e5e7eb; }
.driov-qc-num {
  font-size: 1.75rem;
  font-weight: 200;
  color: #d1d5db;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 4px;
}
.driov-qc-step h3 {
  font-size: .9375rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 8px;
}
.driov-qc-step p {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* ── FAQ items ── */
.driov-faq-group {
  margin-bottom: 56px;
}
.driov-faq-group:last-of-type { margin-bottom: 0; }
.driov-faq-group h2 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #111;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #111;
}
.driov-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid #e5e7eb;
  max-width: 760px;
}
.driov-faq-q {
  font-size: .9375rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px;
}
.driov-faq-a {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

/* ── QC Split layout (text + image, alternating) ── */
.driov-qc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.driov-qc-split--reverse {
  direction: rtl;
}
.driov-qc-split--reverse > * {
  direction: ltr;
}
.driov-qc-split-img {
  overflow: hidden;
  border-radius: 2px;
}
.driov-qc-split-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.driov-qc-number {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #d1d5db;
  margin-bottom: 16px;
}
.driov-qc-split-text h2 {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 16px;
  line-height: 1.2;
}
.driov-qc-split-text p {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.75;
  margin: 0 0 24px;
}
.driov-qc-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.driov-qc-checklist li {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.driov-qc-checklist li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #d1d5db;
  font-weight: 300;
}

/* ── FAQ Accordion — Stanley/Stella single-level style ── */
.driov-faq-wrap {
  width: 100%;
}
/* wpautop injects <p> around comments / between blocks — kills white gaps */
.driov-faq-wrap > p {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
.dfaq-group > p {
  display: none !important;
  margin: 0 !important;
}
.dfaq-group-btn br {
  display: none !important;
}

/* Each group is a bordered card — flush stack, no gap */
.dfaq-group {
  border: 1px solid #e5e7eb;
  margin-top: -1px;
  width: 100%;
  box-sizing: border-box;
}
.dfaq-group:first-child {
  margin-top: 0;
}

/* Group header button — vertical padding ~1.5× previous 8px for readable bar height */
.dfaq-group-btn {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 22px !important;
  background: #f9f9f9 !important;
  border: none !important;
  cursor: pointer !important;
  text-align: left !important;
  font-size: .9375rem !important;
  font-weight: 500 !important;
  color: #111 !important;
  line-height: 1.5 !important;
  position: relative !important;
  min-height: 48px !important;
}
.dfaq-group--open .dfaq-group-btn {
  background: #f3f4f6 !important;
}
.dfaq-group-label {
  display: block;
  padding-right: 40px;
}
.dfaq-group-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3125rem;
  font-weight: 300;
  color: #6b7280;
  line-height: 1;
  width: 20px;
  text-align: center;
  pointer-events: none;
}

/* Group body — smooth expand/collapse (grid 0fr → 1fr, like Stanley/Stella FAQ) */
.dfaq-group-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  background: #fff;
}
.dfaq-group.dfaq-group--open .dfaq-group-body {
  grid-template-rows: 1fr;
}
.dfaq-group-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px;
  border-top: 1px solid transparent;
  transition:
    border-color 0.45s ease,
    padding-top 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}
.dfaq-group.dfaq-group--open .dfaq-group-inner {
  padding-top: 8px;
  padding-bottom: 8px;
  border-top-color: #e5e7eb;
}

@media (prefers-reduced-motion: reduce) {
  .dfaq-group-body,
  .dfaq-group-inner {
    transition-duration: 0.01ms !important;
  }
}

/* Each Q&A pair */
.dfaq-qa {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.dfaq-qa:last-child {
  border-bottom: none;
  padding-bottom: 8px;
}
.dfaq-question {
  font-size: .9375rem !important;
  font-weight: 600 !important;
  color: #111 !important;
  margin: 0 0 8px !important;
  line-height: 1.4 !important;
}
.dfaq-answer {
  font-size: .9375rem !important;
  color: #4b5563 !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  max-width: 760px;
}
.dfaq-answer a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dfaq-answer strong { color: #111; }

/* ── CTA (shared — dark band) ── */
.driov-inner-cta {
  background: #f3f2f0;
  padding: clamp(56px, 7vw, 88px) 0;
}
.driov-inner-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 32px;
  max-width: 560px;
  line-height: 1.2;
}
.driov-inner-cta-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.driov-inner-btn-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: #111;
  color: #fff !important;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s ease;
  white-space: nowrap;
}
.driov-inner-btn-primary:hover { background: #333; }
.driov-inner-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  background: transparent;
  color: #111 !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #bbb;
  border-radius: 2px;
  transition: border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.driov-inner-btn-secondary:hover {
  border-color: #111;
  color: #111 !important;
}

/* FAQ CTA — centered band */
.driov-inner-cta--center {
  padding: clamp(44px, 5.5vw, 72px) 0;
}
.driov-inner-cta--center .driov-inner-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.driov-inner-cta--center h2 {
  margin: 0 0 18px !important;
  max-width: none !important;
}
.driov-inner-cta--center .driov-inner-cta-lead {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 640px;
}
.driov-inner-cta--center .driov-inner-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.driov-inner-btn-wa-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
/* WhatsApp brand green (icon only; label stays button text color) */
.driov-inner-btn-wa svg {
  flex-shrink: 0;
  display: block;
  color: #25d366;
  fill: #25d366;
  transition: fill 0.18s ease, color 0.18s ease;
}
.driov-inner-btn-wa:hover svg {
  color: #1da851;
  fill: #1da851;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .driov-qc-split,
  .driov-qc-split--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .driov-qc-split--reverse > * { direction: ltr; }
  .driov-qc-split-img { order: -1; }
  .driov-qc-split-img img { min-height: 240px; }
}
@media (max-width: 640px) {
  .driov-cert-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  .driov-inner-cta-btns { flex-direction: column; align-items: flex-start; }
  .driov-inner-btn-primary,
  .driov-inner-btn-secondary { width: 100%; justify-content: center; }
  .driov-inner-cta--center .driov-inner-cta-btns {
    align-items: center;
    width: 100%;
  }
  .driov-inner-cta--center .driov-inner-btn-primary,
  .driov-inner-cta--center .driov-inner-btn-secondary {
    max-width: 320px;
  }
}

/* ════════════════════════════════════════════════════
   COLLECTION PAGES
   ════════════════════════════════════════════════════ */

/* ── Specs strip (key metrics bar below hero) ── */
.driov-col-specs-strip {
  background: #f5f5f3;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 0;
}
.driov-col-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.driov-col-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 28px;
  border-right: 1px solid #e0e0dc;
}
.driov-col-spec-item:first-child { padding-left: 0; }
.driov-col-spec-item:last-child  { border-right: none; }
.driov-col-spec-label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #888;
}
.driov-col-spec-value {
  font-size: .9375rem;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
}

/* ── Feature cards (3-up grid for collection highlights) ── */
/* Use .driov-inner-page parent for higher specificity over Blocksy */
.driov-inner-page .driov-col-feats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 48px;
}
.driov-inner-page .driov-col-feat {
  background: #fafaf9 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 4px;
  padding: 28px 24px;
  box-sizing: border-box;
}
.driov-inner-page .driov-col-feat-icon {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #111 !important;
  border-radius: 2px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.driov-inner-page .driov-col-feat-icon svg {
  width: 20px !important;
  height: 20px !important;
  color: #fff !important;
  fill: none !important;
  stroke: #fff !important;
  flex-shrink: 0;
}
.driov-inner-page .driov-col-feat h3 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #111 !important;
  margin: 0 0 10px !important;
  letter-spacing: -.01em;
}
.driov-inner-page .driov-col-feat p {
  font-size: .9rem !important;
  color: #4b5563 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* ── Collection badge chips (used below H1 in hero) ── */
.driov-col-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.driov-col-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #555;
  background: #f0efed;
  border: 1px solid #d9d7d3;
  border-radius: 2px;
  padding: 4px 10px;
}

/* ════════════════════════════════════════════════════
   HOMEPAGE — Full Redesign (Stanley/Stella level)
   ════════════════════════════════════════════════════ */

/* ── Homepage nav: pure white, seamlessly blends with light hero ── */
/* No transparent hack needed — white nav + white hero = perfectly unified */

/* ── Hero: Full-bleed static image, text overlaid left ── */
.driov-hp-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-h, 64px));
  min-height: 580px;
  overflow: hidden;
  background: #f5f4f1;
}
.driov-hp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
}
/* Left-side gradient masks the image/background boundary and keeps text readable */
.driov-hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #f5f4f1        0%,
    #f5f4f1       32%,
    rgba(245,244,241,.85) 45%,
    rgba(245,244,241,.25) 58%,
    rgba(245,244,241,.0)  70%
  );
  z-index: 1;
}
/* Text — vertically centered, anchored left */
.driov-hp-hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  padding: 0 clamp(24px, 7.5vw, 180px);
  z-index: 2;
}
.driov-hp-hero-eyebrow {
  display: block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(20,20,20,.45);
  margin-bottom: 18px;
}
.driov-hp-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  color: #1a1a1a;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 520px;
}
.driov-hp-hero-sub {
  font-size: clamp(.875rem, 1.1vw, 1.0625rem);
  color: rgba(20,20,20,.55);
  max-width: 380px;
  line-height: 1.8;
  margin: 0 0 32px;
  font-weight: 300;
}
.driov-hp-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.driov-hp-hero-btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  color: #fff !important;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s ease;
}
.driov-hp-hero-btn:hover { background: #333; border-color: #333; color: #fff !important; }
.driov-hp-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: transparent;
  border: 1px solid rgba(20,20,20,.35);
  color: #1a1a1a !important;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color .2s ease;
}
.driov-hp-hero-btn-ghost:hover { border-color: #1a1a1a; }
.driov-hp-hero-trust {
  display: block;
  font-size: .6rem;
  color: rgba(20,20,20,.32);
  letter-spacing: .05em;
  line-height: 1.8;
}

/* ── Hero Mobile ── */
@media (max-width: 640px) {
  .driov-hp-hero { height: 85vw; min-height: 460px; }
  .driov-hp-hero-bg { object-position: 75% center; }
  .driov-hp-hero-overlay {
    background: linear-gradient(
      to right,
      rgba(248,247,245,.75) 0%,
      rgba(248,247,245,.4) 60%,
      rgba(248,247,245,.0) 100%
    );
  }
}

/* ── Trust Bar ── */
.driov-hp-trust-bar {
  background: #f5f5f3;
  border-bottom: 1px solid #e5e7eb;
  padding: 13px var(--d-gap);
}
.driov-hp-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.driov-hp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #555;
  padding: 4px 18px 4px 0;
  margin-right: 18px;
  border-right: 1px solid #d4d2ce;
  white-space: nowrap;
}
.driov-hp-trust-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.driov-hp-trust-item svg { flex-shrink: 0; opacity: .6; }

/* ── Brand Manifesto ── */
.driov-hp-manifesto {
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
  background: #fff;
}
.driov-hp-manifesto-inner {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap);
}
.driov-hp-manifesto-text {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.55;
  color: #111;
}

/* ── Contained width wrapper (mirrors driov-inner-wrap, homepage-specific) ── */
.driov-hp-inner-wrap {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap);
  background: #fff;
}

/* ── Gallery Grid ── */
.driov-hp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: transparent;
}
.driov-hp-gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.driov-hp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
  display: block;
}
.driov-hp-gallery-item:hover img { transform: scale(1.05); }
.driov-hp-gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
}
.driov-hp-gallery-label-name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -.01em;
}
.driov-hp-gallery-label-sub {
  display: block;
  font-size: .6875rem;
  color: rgba(255,255,255,.6);
  margin-top: 3px;
  letter-spacing: .02em;
}

/* ── Philosophy Split ── */
.driov-hp-philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.driov-hp-philosophy-img {
  overflow: hidden;
}
.driov-hp-philosophy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.driov-hp-philosophy:hover .driov-hp-philosophy-img img { transform: scale(1.03); }
.driov-hp-philosophy-wrap { background: #fff; }
.driov-hp-philosophy-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px);
  background: #fafaf9;
}
.driov-hp-philosophy-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1.12;
  margin: 0 0 20px;
}
.driov-hp-philosophy-text p {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 420px;
}
.driov-hp-text-link {
  font-size: .8125rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .03em;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  width: fit-content;
  transition: opacity .2s ease;
}
.driov-hp-text-link:hover { opacity: .55; color: #111; }

/* ── Services Teaser ── */
.driov-hp-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.driov-hp-services-wrap { background: #fff; }
.driov-hp-services-text {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f5f2ec;
}
.driov-hp-services-text h2 {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  margin: 0 0 18px;
  line-height: 1.15;
}
.driov-hp-services-text p {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 400px;
}
.driov-hp-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #e0ddd5;
}
.driov-hp-services-grid-item {
  overflow: hidden;
  aspect-ratio: 1/1;
}
.driov-hp-services-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.driov-hp-services-grid-item:hover img { transform: scale(1.04); }

/* ── Process Steps ── */
.driov-hp-process {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 7.5vw, 160px);
  background: #fff;
}
.driov-hp-process > h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  margin: 0 0 52px;
  text-align: center;
}
.driov-hp-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}
.driov-hp-step-num {
  font-size: 3.5rem;
  font-weight: 200;
  color: #e5e5e5;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 18px;
}
.driov-hp-step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.driov-hp-step p {
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
}

/* ── Soft CTA ── */
.driov-hp-soft-cta {
  background: #f3f2f0;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 7.5vw, 160px);
  text-align: center;
}
.driov-hp-soft-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  margin: 0 0 16px;
}
.driov-hp-soft-cta p {
  font-size: 1rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.driov-hp-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.driov-hp-btn-dark {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: #111;
  color: #fff !important;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: .02em;
  transition: background .2s ease;
}
.driov-hp-btn-dark:hover { background: #333; }
.driov-hp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  background: transparent;
  color: #111 !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #bbb;
  border-radius: 2px;
  transition: border-color .2s ease;
}
.driov-hp-btn-outline:hover { border-color: #111; }
.driov-hp-btn-outline svg { fill: #25d366; color: #25d366; }

/* ── Homepage Responsive ── */
@media (max-width: 900px) {
  .driov-hp-gallery { grid-template-columns: repeat(2, 1fr); }
  .driov-hp-philosophy,
  .driov-hp-services { grid-template-columns: 1fr; }
  .driov-hp-philosophy-img { aspect-ratio: 16/9; }
  .driov-hp-services-text { order: 1; padding-right: 0; }
  .driov-hp-services-grid { order: 2; grid-template-columns: repeat(4,1fr); }
  .driov-hp-services-grid-item { aspect-ratio: auto; }
  .driov-hp-process-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .driov-hp-gallery { grid-template-columns: repeat(2, 1fr); }
  .driov-hp-services-grid { grid-template-columns: repeat(2,1fr); }
  .driov-hp-cta-btns { flex-direction: column; align-items: center; }
  .driov-hp-btn-dark, .driov-hp-btn-outline { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .driov-inner-page .driov-col-feats { grid-template-columns: 1fr !important; gap: 16px; }
  .driov-col-specs-list { gap: 0; }
  .driov-col-spec-item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid #e0e0dc;
    padding: 10px 0;
  }
  .driov-col-spec-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .driov-col-spec-item { flex: 1 1 100%; }
}

/* ══════════════════════════════════════════════════════════════════════════
   About Page
   ══════════════════════════════════════════════════════════════════════════ */

/* About page: kill duplicate title + its wrapper + container spacing */
.page-id-33 [class*="ct-page-title"],
.page-id-33 .page-title,
.page-id-33 .entry-title,
.page-id-33 .page-title-alignment,
.page-id-33 .hero-section,
.page-id-33 header.entry-header { display: none !important; }
.page-id-33 [data-vertical-spacing] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.driov-about-hero {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  text-align: center;
  padding: clamp(48px, 6vw, 72px) var(--d-gap) clamp(32px, 4vw, 48px);
}

.driov-about-hero h1 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.driov-about-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--d-gray-500);
  line-height: 1.7;
}

.driov-section {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--d-gap);
}

.driov-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: var(--d-gray-900);
}

.driov-section-subtitle {
  font-size: 1rem;
  color: var(--d-gray-500);
  margin: 0 0 32px;
  max-width: 640px;
}

.driov-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.driov-value-card {
  padding: 32px;
  border: 1px solid var(--d-gray-200);
  border-radius: 8px;
}

.driov-value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--d-gray-900);
}

.driov-value-card p {
  font-size: 0.9375rem;
  color: var(--d-gray-500);
  line-height: 1.7;
  margin: 0;
}

.page-id-33 .driov-stats {
  /* width = viewport - 2×gap = same as section content width at every breakpoint */
  width: calc(100% - 2 * var(--d-gap));
  max-width: var(--d-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
  gap: 0;
  text-align: center;
}

.page-id-33 .driov-stats > div {
  padding: 40px 20px;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.page-id-33 .driov-stats > div:last-child {
  border-right: none;
}

.page-id-33 .driov-stat-number {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  line-height: 1;
}

.page-id-33 .driov-stat-label {
  font-size: .8125rem;
  color: #4b5563;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}

.driov-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.driov-pillar-item {
  padding: 24px;
  border-left: 2px solid var(--d-gray-200);
}

.driov-pillar-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.driov-pillar-item p {
  font-size: 0.875rem;
  color: var(--d-gray-500);
  margin: 0;
  line-height: 1.6;
}

.driov-btn-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgb(63, 62, 62);
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.driov-btn-inquiry:hover {
  background: rgb(45, 44, 44);
}

/* ── Legal / Text Pages (Privacy, Terms, Cookie) ── */

/* SEO: hide Blocksy's auto-generated entry-title h1 — our driov-legal-hero h1 is the sole h1 */
.privacy-policy .entry-header,
.page-id-114 .entry-header,
.page-id-115 .entry-header {
  display: none !important;
}

/* Remove Blocksy's default vertical spacing */
.privacy-policy .ct-container-full[data-vertical-spacing],
.page-id-114 .ct-container-full[data-vertical-spacing],
.page-id-115 .ct-container-full[data-vertical-spacing] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Entry content: site-standard horizontal padding, full width */
.privacy-policy .entry-content.is-layout-constrained,
.page-id-114 .entry-content.is-layout-constrained,
.page-id-115 .entry-content.is-layout-constrained {
  padding: 0 clamp(20px, 7.5vw, 160px) 96px !important;
  max-width: 100% !important;
  --wp--style--global--content-size: 100%;
  --theme-block-max-width: 100%;
}

/* Body text blocks: fill full content area, no artificial max-width */
.privacy-policy .entry-content.is-layout-constrained > *,
.page-id-114 .entry-content.is-layout-constrained > *,
.page-id-115 .entry-content.is-layout-constrained > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Hero block: override to fill full content width (no max-width constraint) */
.privacy-policy .entry-content > .wp-block-html:first-child,
.page-id-114 .entry-content > .wp-block-html:first-child,
.page-id-115 .entry-content > .wp-block-html:first-child {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Hero: NO extra horizontal padding — entry-content padding already handles margins */
.driov-legal-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 44px);
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0 !important;
}

.driov-legal-hero h1 {
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #111;
  margin: 0 0 8px;
}

.driov-legal-meta {
  font-size: .8125rem;
  color: #9ca3af;
  margin: 0;
}

/* Add top spacing to the first body paragraph after hero */
.privacy-policy .entry-content > .wp-block-html:first-child + *,
.page-id-114 .entry-content > .wp-block-html:first-child + *,
.page-id-115 .entry-content > .wp-block-html:first-child + * {
  margin-top: 48px !important;
}

/* Body text rhythm for legal pages */
.privacy-policy .entry-content h2,
.page-id-114 .entry-content h2,
.page-id-115 .entry-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111;
  margin: 2.5em 0 0.75em;
  letter-spacing: -0.01em;
}

.privacy-policy .entry-content h3,
.page-id-114 .entry-content h3,
.page-id-115 .entry-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 1.75em 0 0.5em;
}

.privacy-policy .entry-content p,
.page-id-114 .entry-content p,
.page-id-115 .entry-content p {
  color: #4b5563;
  line-height: 1.85;
  margin-bottom: 1.25em;
  font-size: 0.9375rem;
}

.privacy-policy .entry-content ul,
.privacy-policy .entry-content ol,
.page-id-114 .entry-content ul,
.page-id-114 .entry-content ol,
.page-id-115 .entry-content ul,
.page-id-115 .entry-content ol {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.85;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.privacy-policy .entry-content li,
.page-id-114 .entry-content li,
.page-id-115 .entry-content li {
  margin-bottom: 0.5em;
}

.privacy-policy .entry-content a,
.page-id-114 .entry-content a,
.page-id-115 .entry-content a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-policy .entry-content a:hover,
.page-id-114 .entry-content a:hover,
.page-id-115 .entry-content a:hover {
  color: #6b7280;
}

/* ── 404 Page ───────────────────────────────────────────────────────────── */

/* Hide Blocksy's own page title on 404 (outputs "404" heading before our template) */
.error404 .ct-page-title,
.error404 [class*="hero-section"],
.error404 .page-title-area {
  display: none !important;
}

/* Blocksy's <main> on 404 — full width, no extra spacing */
.error404 #main.site-main {
  display: block !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Outer container — exact same formula as .driov-header-inner so all columns align */
.error404 .driov-404-container {
  box-sizing: border-box;
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap));
  margin: 0 auto;
  padding: 0 var(--d-gap) clamp(48px, 5vw, 80px);
}

/* Breadcrumb wrapper */
.error404 .driov-404-bc-wrap {
  padding-top: 14px;
  text-transform: capitalize;
}

/* Two-column layout — no manual max-width needed, ct-container handles it */
.driov-404-wrap {
  box-sizing: border-box;
  padding-top: clamp(32px, 4vw, 56px);
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

/* Left — large 404 number */
.driov-404-number {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--d-black);
  margin: 0 0 24px;
}

/* Body text — sits directly below the 404 number */
.driov-404-body {
  font-size: 1rem;
  color: var(--d-gray-500);
  line-height: 1.7;
  margin: 0 0 32px;
}

/* Action row */
.driov-404-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Primary pill button */
.driov-404-btn {
  display: inline-block;
  padding: 11px 26px;
  border: 1.5px solid var(--d-black);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--d-black);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.driov-404-btn:hover {
  background: var(--d-black);
  color: var(--d-white);
}

/* Secondary text link */
.driov-404-link {
  font-size: 0.875rem;
  color: var(--d-gray-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--d-gray-300);
  white-space: nowrap;
}

.driov-404-link:hover {
  color: var(--d-black);
  text-decoration-color: var(--d-black);
}

/* Right — image fills its full grid column */
.driov-404-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.driov-404-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile: stack vertically, image first */
@media (max-width: 768px) {
  .driov-404-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .driov-404-image {
    order: -1;
    aspect-ratio: 4 / 3;
  }
}

/* ── §Contact Page ── */
.page-id-34 .page-title,
.page-id-34 .entry-title,
.page-id-34 .page-title-alignment,
.page-id-34 .hero-section,
.page-id-34 header.entry-header { display: none !important; }
.page-id-34 [data-vertical-spacing] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.driov-contact-hero {
  text-align: center;
  border-bottom: 1px solid var(--d-gray-200);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.driov-contact-section {
  padding-top: clamp(40px, 5vw, 64px) !important;
}

.driov-contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.driov-contact-form h2 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--d-gray-900);
}

.driov-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.driov-contact-card {
  padding: 20px 24px;
  border: 1px solid var(--d-gray-200);
  border-radius: 8px;
}

.driov-contact-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--d-gray-400);
  margin: 0 0 6px;
}

.driov-contact-card-value {
  font-size: 0.9375rem;
  color: var(--d-gray-700);
  line-height: 1.6;
  margin: 0;
}

.driov-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--d-gray-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--d-gray-300);
  transition: color 0.15s, text-decoration-color 0.15s;
}

.driov-contact-link svg {
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.15s;
}

.driov-contact-link:hover {
  color: var(--d-gray-700);
  text-decoration-color: var(--d-gray-700);
}

.driov-contact-link:hover svg {
  opacity: 1;
}

.driov-contact-link--wa svg {
  color: #25d366;
  opacity: 0.85;
}

.driov-contact-card--note {
  background: var(--d-gray-100);
  border-color: transparent;
}

.driov-contact-card--note p {
  font-size: 0.875rem;
  color: var(--d-gray-500);
  line-height: 1.6;
  margin: 0;
}


/* Field hint text (below label, above input) */
.driov-field-hint {
  font-size: 0.8125rem;
  color: var(--d-gray-400);
  margin: -4px 0 6px;
  line-height: 1.4;
}


/* Privacy acceptance row */
.driov-form-privacy {
  display: flex;
    align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--d-gray-500);
  line-height: 1.5;
  margin-top: 4px;
}

.driov-form-privacy .wpcf7-acceptance {
  flex-shrink: 0;
  margin-top: 2px;
}

.driov-form-privacy a {
  color: var(--d-gray-700);
  text-underline-offset: 2px;
}

/* Quantity select dropdown */
.driov-b2b-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--d-gray-300);
  border-radius: 6px;
  font-size: 0.9375rem;
  color: var(--d-gray-700);
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.driov-b2b-form select:focus {
  outline: none;
  border-color: var(--d-gray-700);
}

@media (max-width: 768px) {
  .driov-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Quanzhou section — tighten vertical rhythm */
.driov-factory-quanzhou {
  padding: 72px 0;
}
.driov-factory-quanzhou .driov-factory-inner > div:first-child {
  margin-bottom: 40px !important;
}
@media (max-width: 768px) {
  .driov-factory-quanzhou {
    padding: 52px 0;
  }
  .driov-factory-quanzhou .driov-factory-inner > div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column;
    gap: 32px;
  }
}

/* ---------- CookieYes banner — brand color overrides ---------- */
.cky-btn-accept {
  background-color: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  border-radius: 6px !important;
}
.cky-btn-reject {
  color: #111 !important;
  border-color: #111 !important;
  background-color: transparent !important;
  border-radius: 6px !important;
}
.cky-btn-preferences {
  color: #111 !important;
  border-color: #111 !important;
  border-radius: 6px !important;
}
.cky-link,
.cky-notice-des a,
.cky-notice-des a:visited {
  color: #111 !important;
  text-decoration: underline !important;
}
.cky-btn-revisit-wrapper {
  background-color: #111 !important;
}
.cky-switch input[type="checkbox"]:checked {
  background: #333 !important;
}
.cky-consent-bar {
  padding: 6px 0 !important;
}

.cky-notice-btn-wrapper {
  gap: 8px !important;
}

.cky-btn {
  padding: 6px 14px !important;
  font-size: 13px !important;
}

.cky-title {
  font-size: 13px !important;
  margin-bottom: 2px !important;
}

.cky-notice-des,
.cky-notice-des p {
  font-size: 12px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.cky-notice {
  max-width: calc(var(--d-max-w) + 2 * var(--d-gap)) !important;
  margin: 0 auto !important;
  padding: 0 var(--d-gap) !important;
  box-sizing: border-box !important;
}
