/* Atlas Brand Stack -- additive layer on top of existing aw-* design system. Safe to delete with the loader plugin. */

.atlas-brand-active {
  --atlas-blue-deep: #0B1E3F;
  --atlas-blue: #0F4F95;
  --atlas-blue-bright: #4EA0FF;
  --atlas-blue-mist: #E8F0FB;
  --atlas-ink: #0A1626;
}

/* Atlas blue accents on plain links (not buttons) */
.atlas-brand-active a:not(.aw-button):not(.aw-button-primary):not(.aw-button-secondary):not(.aw-shop-button):not(.aw-shop-button-primary):not(.aw-shop-button-secondary):not(.aw-nav-cta):not([class*="elementor-button"]) {
  color: var(--atlas-blue);
}
.atlas-brand-active a:not(.aw-button):not(.aw-button-primary):not(.aw-button-secondary):not(.aw-shop-button):not([class*="elementor-button"]):hover {
  color: var(--atlas-blue-bright);
}

/* Buttons */
.atlas-brand-active .aw-button-primary,
.atlas-brand-active .aw-shop-button-primary {
  background: var(--atlas-blue);
  border-color: var(--atlas-blue);
  color: #fff;
}
.atlas-brand-active .aw-button-primary:hover,
.atlas-brand-active .aw-shop-button-primary:hover {
  background: var(--atlas-blue-bright);
  border-color: var(--atlas-blue-bright);
}
.atlas-brand-active .aw-button-secondary,
.atlas-brand-active .aw-shop-button-secondary {
  border-color: var(--atlas-blue);
  color: var(--atlas-blue);
}

/* Tighter big titles (zonder kleur te overschrijven) */
.atlas-brand-active .aw-hero h1,
.atlas-brand-active .aw-shop-header h1,
.atlas-brand-active .aw-shop-intro h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.atlas-brand-active .aw-section-head h2,
.atlas-brand-active .aw-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

/* Atlas kicker label in brand blue (zichtbaar boven h1) */
.atlas-brand-active .aw-kicker,
.atlas-brand-active .aw-shop-kicker {
  color: var(--atlas-blue);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Subtle Atlas-blue underline accent onder hero h1 (decoratief, geen bg-replace) */
.atlas-brand-active .aw-hero h1 {
  position: relative;
  padding-bottom: 0.35em;
}
.atlas-brand-active .aw-hero h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--atlas-blue);
  margin-top: 0.4em;
  border-radius: 2px;
}

/* Webshop topline: subtle Atlas blue band */
.atlas-brand-active .aw-shop-topline {
  background: linear-gradient(180deg, var(--atlas-blue-mist), #fff);
  border-top: 2px solid var(--atlas-blue);
}
.atlas-brand-active .aw-shop-topline p {
  color: var(--atlas-ink);
}

/* Review stars in brand blue */
.atlas-brand-active .aw-review-bubble-stars,
.atlas-brand-active .aw-stars {
  color: var(--atlas-blue);
}

/* Trust / footer accents */
.atlas-brand-active .aw-trust-strip,
.atlas-brand-active .aw-trust-row {
  border-color: rgba(15, 79, 149, 0.18);
}
.atlas-brand-active .aw-site-footer,
.atlas-brand-active .aw-shop-footer {
  border-top: 3px solid var(--atlas-blue);
}

/* Cards: gentle blue hover */
.atlas-brand-active .aw-card,
.atlas-brand-active .aw-shop-card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.atlas-brand-active .aw-card:hover,
.atlas-brand-active .aw-shop-card:hover {
  border-color: var(--atlas-blue);
  box-shadow: 0 6px 22px rgba(15, 79, 149, 0.10);
}

/* Active category-link in webshop categorybar: brand blue */
.atlas-brand-active .aw-shop-category-link.is-active {
  background: var(--atlas-blue);
  color: #fff;
  border-color: var(--atlas-blue);
}﻿
/* ============================================================
   Product Page (single-product): harmonise WPR nav + Atlas brand
   Additive patch — does NOT touch Elementor post-330 CSS file.
   ============================================================ */

/* Re-route Elementor global primary to Atlas blue on all single-product pages.
   This fixes purple hover / active / mobile-menu colors in the WPR Nav widget. */
.single-product {
  --e-global-color-primary: #0F4F95;
  --e-global-color-secondary: #4EA0FF;
}

/* Quickscan CTA button → Atlas blue (was #0066CC, now unified) */
.single-product .wpr-offcanvas-trigger {
  background-color: var(--atlas-blue) !important;
  border-color: var(--atlas-blue) !important;
}
.single-product .wpr-offcanvas-trigger:hover {
  background-color: var(--atlas-blue-bright) !important;
  border-color: var(--atlas-blue-bright) !important;
}

/* Subtle Atlas blue accent on WPR sticky header bottom border */
.single-product .elementor-element-f88ae83 {
  border-bottom-color: rgba(15, 79, 149, 0.18) !important;
}

/* Make sure WPR global brand-blue link rule does not bleed into nav items
   (Elementor specificity already wins for .wpr-menu-item, but this adds safety) */
.atlas-brand-active .wpr-menu-item,
.atlas-brand-active .wpr-mobile-menu-item {
  color: inherit;
}
.atlas-brand-active .wpr-menu-item:hover,
.atlas-brand-active .wpr-mobile-menu-item:hover {
  color: inherit;
}﻿
/* ============================================================
   Homepage featured product mini-cards (aw-featured section)
   ============================================================ */
.aw-featured { background: #f9fbff; }

.aw-product-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.aw-mini-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15,79,149,.12);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.aw-mini-card:hover {
  border-color: var(--atlas-blue);
  box-shadow: 0 6px 20px rgba(15,79,149,.12);
  transform: translateY(-3px);
  color: inherit;
}
.aw-mini-card__img {
  background: #f5f7fa;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aw-mini-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .5rem;
}
.aw-mini-card__body {
  padding: .75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.aw-mini-card__title {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: var(--atlas-ink, #0A1626);
  line-height: 1.3;
}
.aw-mini-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--atlas-blue);
  margin: 0;
}
.aw-section-cta {
  margin-top: 1.75rem;
  text-align: center;
}﻿
/* ============================================================
   Homepage mini-card: cap title to 2 lines + price polish
   ============================================================ */
.aw-mini-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.aw-mini-card__price ins {
  text-decoration: none;
}
/* section-cta button inherits .aw-button-primary styling */
.aw-section-cta .aw-button-primary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* Webshop: active category pill already gets atlas-blue from brand CSS;
   add pointer reset so the link itself always shows proper cursor */
.aw-shop-category-link {
  cursor: pointer;
}
/* ============================================================
   Quickscan Offcanvas (template-810): replace hardcoded purple
   with Atlas blue. CSS-var selectors already handled by
   .single-product --e-global-color-primary override above.
   ============================================================ */
/* Step indicator circles & border */
.elementor-810 .elementor-element.elementor-element-2729afcc .wpr-step {
  border-color: var(--atlas-blue, #0F4F95) !important;
}
.elementor-810 .elementor-element.elementor-element-2729afcc .wpr-step-content,
.elementor-810 .elementor-element.elementor-element-2729afcc .wpr-step.wpr-step-active .wpr-step-content,
.elementor-810 .elementor-element.elementor-element-2729afcc .wpr-step.wpr-step-finish .wpr-step-content {
  background-color: var(--atlas-blue, #0F4F95) !important;
  border-color: var(--atlas-blue, #0F4F95) !important;
}
/* Checkbox / radio check icons */
.elementor-810 .elementor-element.elementor-element-2729afcc .wpr-form-field-type-checkbox .wpr-form-field-option label:before,
.elementor-810 .elementor-element.elementor-element-2729afcc .wpr-form-field-type-radio .wpr-form-field-option label:before {
  color: var(--atlas-blue, #0F4F95) !important;
}

/* ============================================================
   ATLAS PRODUCT CARD v2 — sitewide
   Used on homepage Featured + webshop listing + related/cross-sell.
   Article wrapper, separately-linked media + title, actions row at bottom.
   ============================================================ */

.aw-card-v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.aw-card-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--atlas-line, rgba(15, 79, 149, .12));
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.aw-card-v2:hover {
  border-color: var(--atlas-blue, #0F4F95);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 79, 149, 0.14);
}

/* Stock pill (top-left, over media) */
.aw-card-v2__stock {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.aw-card-v2__stock--in {
  background: #e7f7ec;
  color: #196b3f;
}
.aw-card-v2__stock--out {
  background: #fde8e8;
  color: #8a1a1a;
}

/* Media (linked) */
.aw-card-v2__media {
  display: block;
  background: #f5f8fc;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 79, 149, .06);
  text-decoration: none;
}
.aw-card-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .25s ease;
}
.aw-card-v2:hover .aw-card-v2__media img {
  transform: scale(1.04);
}
.aw-card-v2__img-placeholder {
  display: block;
  width: 50%;
  margin: 18% auto;
  aspect-ratio: 4 / 3;
  background: #e2eaf3;
  border-radius: 8px;
}

/* Body */
.aw-card-v2__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1;
}

/* Conditie row */
.aw-card-v2__condition {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.aw-stars {
  display: inline-flex;
  gap: 1px;
}
.aw-star {
  fill: rgba(15, 79, 149, .15);
}
.aw-star--on {
  fill: #f5a623;
}
.aw-card-v2__condition-label {
  font-weight: 700;
  color: var(--atlas-ink, #0A1626);
  letter-spacing: -0.005em;
}

/* Title (linked) */
.aw-card-v2__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.aw-card-v2__title a {
  color: var(--atlas-ink, #0A1626);
  text-decoration: none;
}
.aw-card-v2__title a:hover {
  color: var(--atlas-blue, #0F4F95);
}

/* Specs bullet list */
.aw-card-v2__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 11px;
  color: var(--atlas-ink-soft, #42526f);
}
.aw-card-v2__specs li {
  background: rgba(15, 79, 149, .07);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Price + in3 row */
.aw-card-v2__price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 8px;
}
.aw-card-v2__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--atlas-blue-dark, #0B1E3F);
  letter-spacing: -0.01em;
}
.aw-card-v2__price ins {
  text-decoration: none;
}
.aw-card-v2__price del {
  font-size: 13px;
  color: var(--atlas-ink-soft, #42526f);
  margin-right: 6px;
  font-weight: 600;
}
.aw-card-v2__in3 {
  font-size: 11px;
  color: var(--atlas-ink-soft, #42526f);
  font-weight: 600;
}
.aw-card-v2__in3 strong {
  color: var(--atlas-blue, #0F4F95);
  font-weight: 800;
}

/* Actions row */
.aw-card-v2__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.aw-card-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--atlas-blue, #0F4F95);
  text-decoration: none;
  transition: gap .15s ease;
}
.aw-card-v2:hover .aw-card-v2__cta {
  gap: 8px;
}
.aw-card-v2__add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--atlas-blue, #0F4F95);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--atlas-blue, #0F4F95);
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.aw-card-v2__add-cart:hover {
  background: var(--atlas-blue-bright, #4EA0FF);
  border-color: var(--atlas-blue-bright, #4EA0FF);
  color: #fff;
}
.aw-card-v2__add-cart.added::after {
  content: " ✓";
  margin-left: 4px;
}
.aw-card-v2__add-cart svg {
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 600px) {
  .aw-card-v2-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .aw-card-v2__body {
    padding: 12px;
  }
  .aw-card-v2__title {
    font-size: 13px;
  }
  .aw-card-v2__price {
    font-size: 16px;
  }
  .aw-card-v2__add-cart {
    font-size: 12px;
    padding: 8px 12px;
  }
}
