/*
Theme Name: AJAX Premium Codex
Theme URI: https://codex.ajax-alarmsystemen.nl/
Author: Codex
Description: Clean custom WooCommerce theme for Ajax alarmsystemen staging. No pagebuilder required.
Version: 0.2.3
Text Domain: ajax-premium-codex
Requires at least: 6.0
Requires PHP: 8.0
*/

:root {
  --ap-ink: #121722;
  --ap-muted: #667085;
  --ap-line: #e6e9ef;
  --ap-soft: #f5f7fb;
  --ap-red: #ff3b35;
  --ap-red-dark: #dc2d28;
  --ap-green: #12b76a;
  --ap-dark: #090d17;
  --ap-radius: 8px;
  --ap-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ap-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }
.ap-container { margin: 0 auto; max-width: 1700px; padding: 0 24px; width: 100%; }
.ap-container-narrow { margin-left: auto; margin-right: auto; max-width: 1200px; width: 100%; }

.ap-topbar {
  background: #080b12;
  color: #dbe2ec;
  font-size: 14px;
}
.ap-topbar .ap-container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 36px;
}
.ap-site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--ap-line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ap-header-inner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  min-height: 76px;
}
.ap-logo img { width: 174px; }
.ap-nav {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
}
.ap-nav a {
  border-radius: 999px;
  color: #303949;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  white-space: nowrap;
}
.ap-nav a:hover,
.ap-nav .current-menu-item > a {
  background: var(--ap-soft);
  color: var(--ap-red);
}
.ap-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}
.ap-btn,
.button,
button.button,
input[type="submit"] {
  align-items: center;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}
.ap-btn-primary,
.button.alt,
button.single_add_to_cart_button {
  background: var(--ap-red) !important;
  border-color: var(--ap-red) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(240, 68, 56, .22);
}
.ap-btn-primary:hover,
.button.alt:hover,
button.single_add_to_cart_button:hover {
  background: var(--ap-red-dark) !important;
}
.ap-cart-count {
  background: var(--ap-red);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  margin-left: 6px;
  min-width: 20px;
  padding: 2px 7px;
}

.ap-hero {
  background: linear-gradient(135deg, #0b101b 0%, #151a27 62%, #0b0d13 100%);
  color: #fff;
  padding: 72px 0;
}
.ap-hero-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 420px;
}
.ap-eyebrow {
  color: #8ef0c2;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ap-hero h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  margin: 16px 0 18px;
  max-width: 760px;
}
.ap-lead {
  color: #c7cedb;
  font-size: 19px;
  line-height: 1.7;
  max-width: 650px;
}
.ap-cta-row,
.ap-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.ap-trust-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 12px 14px;
}
.ap-trust-pill strong { display: block; font-size: 22px; }
.ap-trust-pill span { color: #aeb8c8; font-size: 13px; }
.ap-hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
  padding: 26px;
}
.ap-hero-card img {
  filter: drop-shadow(0 28px 35px rgba(0,0,0,.45));
  margin: 18px auto 24px;
  max-height: 250px;
  width: auto;
}
.ap-choice {
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding: 16px;
}
.ap-choice b { color: #fff; font-size: 18px; }
.ap-choice span { color: #b8c2d0; }
.ap-plus {
  align-items: center;
  background: var(--ap-red);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 22px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.ap-section { padding: 64px 0; }
.ap-section-soft { background: var(--ap-soft); }
.ap-section-head {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 28px;
}
.ap-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  margin: 0;
  max-width: 760px;
}
.ap-section p { color: var(--ap-muted); }
.ap-trust-strip {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 18px;
  box-shadow: var(--ap-shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  margin-bottom: 24px;
  padding: 16px 20px;
}
.ap-trust-strip .logos {
  display: flex;
  gap: 12px;
}
.ap-trust-strip img {
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  height: 40px;
  object-fit: contain;
  padding: 7px 12px;
  width: 126px;
}
.ap-card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ap-card {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 18px;
  box-shadow: var(--ap-shadow);
  overflow: hidden;
}
.ap-card-media {
  align-items: center;
  background: linear-gradient(145deg, #f8f9fc, #e9edf4);
  display: flex;
  height: 250px;
  justify-content: center;
}
.ap-card-media img {
  filter: drop-shadow(0 18px 25px rgba(15,23,42,.18));
  max-height: 205px;
  width: auto;
}
.ap-card-body { padding: 22px; }
.ap-card-body h3 { font-size: 24px; margin: 0 0 8px; }

.ap-main,
.ap-category {
  background: var(--ap-soft);
}
.ap-main { padding: 42px 0 72px; }
.ap-page-title {
  font-size: clamp(34px, 4vw, 56px);
  margin: 0 0 24px;
}
.ap-category-hero {
  background:
    linear-gradient(110deg, #fff 0%, #fff 55%, rgba(255,255,255,.86) 72%, rgba(255,255,255,.3) 100%),
    radial-gradient(circle at 80% 28%, rgba(240,68,56,.16), transparent 28%),
    linear-gradient(135deg, #eef2f7 0%, #dce4ef 100%);
  border-bottom: 1px solid var(--ap-line);
  padding: 46px 0 40px;
}
.ap-category-hero-grid {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 360px;
}
.ap-breadcrumbs {
  align-items: center;
  color: #7b8494;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
  margin-bottom: 22px;
}
.ap-breadcrumbs strong { color: var(--ap-ink); }
.ap-category-hero h1 {
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.04;
  margin: 14px 0 16px;
  max-width: 780px;
}
.ap-category-lead {
  color: var(--ap-muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 760px;
}
.ap-category-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.ap-category-trust div {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 16px;
  box-shadow: var(--ap-shadow);
  min-width: 150px;
  padding: 14px 16px;
}
.ap-category-trust strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}
.ap-category-trust span {
  color: var(--ap-muted);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}
.ap-category-feature {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 24px;
  box-shadow: var(--ap-shadow);
  padding: 22px;
}
.ap-category-feature img {
  filter: drop-shadow(0 22px 32px rgba(15,23,42,.16));
  margin: 10px auto 18px;
  max-height: 220px;
  object-fit: contain;
  width: auto;
}
.ap-feature-mini {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 16px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px;
}
.ap-feature-mini strong,
.ap-feature-mini span {
  display: block;
}
.ap-feature-mini span {
  color: var(--ap-muted);
  font-size: 13px;
}
.ap-category-layout {
  display: grid;
  gap: 26px;
  grid-template-columns: 290px minmax(0, 1fr);
  padding-bottom: 72px;
  padding-top: 34px;
}
.ap-category-sidebar {
  align-self: start;
  position: sticky;
  top: 104px;
}
.ap-panel {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 20px;
  box-shadow: var(--ap-shadow);
  padding: 20px;
}
.ap-panel + .ap-panel { margin-top: 16px; }
.ap-panel h2 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 14px;
}
.ap-filter-list,
.ap-filter-list ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-filter-list li {
  margin: 0;
}
.ap-filter-list a {
  align-items: center;
  border: 1px solid var(--ap-line);
  border-radius: 13px;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: space-between;
  padding: 11px 12px;
}
.ap-filter-list .current-menu-item > a,
.ap-filter-list .current-product_cat-ancestor > a,
.ap-filter-list a.active {
  background: var(--ap-ink);
  border-color: var(--ap-ink);
  color: #fff;
}
.ap-filter-list .sub-menu {
  gap: 7px;
  margin: 8px 0 2px 12px;
}
.ap-filter-list .sub-menu a {
  background: #f8fafc;
  color: #475467;
  font-size: 13px;
  font-weight: 750;
  padding: 9px 10px;
}
.ap-check-list {
  color: #344054;
  display: grid;
  gap: 9px;
  font-size: 14px;
  line-height: 1.45;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-check-list li {
  padding-left: 30px;
  position: relative;
}
.ap-check-list li:before {
  align-items: center;
  background: rgba(18,183,106,.12);
  border-radius: 999px;
  color: var(--ap-green);
  content: "\2713";
  display: flex;
  font-size: 12px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 22px;
}
.ap-trust-logos {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.ap-trust-logos img {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  height: 38px;
  object-fit: contain;
  padding: 7px 12px;
  width: 122px;
}
.ap-shop-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ap-shop-toolbar h2 {
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 4px;
}
.ap-shop-toolbar .woocommerce-result-count {
  color: var(--ap-muted);
  margin: 0;
}
.woocommerce ul.products {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}
.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 20px;
  box-shadow: var(--ap-shadow);
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0 !important;
  min-height: 450px;
  overflow: hidden;
  padding: 0 !important;
  width: auto !important;
}
.ap-product-media {
  align-items: center;
  background: linear-gradient(145deg, #f8fafc, #e8edf5);
  display: flex;
  height: 250px;
  justify-content: center;
  padding: 8px;
  position: relative;
}
.ap-product-media img,
.woocommerce ul.products li.product .ap-product-media img {
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 18px 26px rgba(15,23,42,.13));
  height: auto;
  margin: 0;
  max-height: 236px;
  max-width: 100%;
  object-fit: contain;
  padding: 0;
  width: auto;
  z-index: 1;
}
.ap-product-badge {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  color: #344054;
  font-size: 11px;
  font-weight: 850;
  left: 14px;
  max-width: calc(100% - 28px);
  overflow: hidden;
  padding: 6px 9px;
  position: absolute;
  text-overflow: ellipsis;
  top: 14px;
  white-space: nowrap;
  z-index: 3;
}
.ap-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}
.woocommerce-loop-product__title {
  color: var(--ap-ink);
  font-size: 21px !important;
  line-height: 1.18;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
.ap-product-body p {
  color: var(--ap-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.ap-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 12px;
}
.ap-product-tags span {
  background: #f5f7fb;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  color: #475467;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
}
.ap-product-bottom {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}
.price {
  color: var(--ap-ink) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.1;
}
.woocommerce ul.products li.product del,
.woocommerce ul.products li.product del .amount {
  color: #667085 !important;
  font-size: 15px !important;
  opacity: .75;
}
.woocommerce ul.products li.product ins {
  text-decoration: none;
}
.ap-vat {
  color: var(--ap-muted);
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 3px;
}
.ap-advice-band {
  align-items: center;
  background:
    radial-gradient(circle at 92% 20%, rgba(240,68,56,.18), transparent 25%),
    var(--ap-ink);
  border-radius: 24px;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin: 26px 0;
  padding: 28px;
}
.ap-advice-band h2 {
  color: #fff;
  margin: 0 0 8px;
}
.ap-advice-band p {
  color: #cbd5e1;
  margin: 0;
}
.ap-seo-block {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 22px;
  box-shadow: var(--ap-shadow);
  margin-top: 28px;
  padding: 30px;
}
.ap-seo-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr .9fr;
}
.ap-seo-block h2 {
  font-size: 30px;
  line-height: 1.15;
  margin: 8px 0 12px;
}
.ap-seo-block p,
.ap-seo-copy {
  color: var(--ap-muted);
  line-height: 1.7;
}
.ap-seo-links {
  box-shadow: none;
}
.ap-seo-links a {
  align-items: center;
  border: 1px solid var(--ap-line);
  border-radius: 13px;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: space-between;
  margin-top: 10px;
  padding: 12px;
}
.ap-seo-links a:after {
  content: ">";
  color: var(--ap-red);
}
.ap-single-product {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 22px;
  box-shadow: var(--ap-shadow);
  padding: 28px;
}
.ap-single-grid {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
}
.ap-single-gallery {
  background: #eef1f6;
  border-radius: 18px;
  padding: 24px;
}
.ap-single-gallery .woocommerce-product-gallery {
  float: none !important;
  opacity: 1 !important;
  width: 100% !important;
}
.ap-single-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.ap-single-gallery .woocommerce-product-gallery__image {
  align-items: center;
  display: flex !important;
  justify-content: center;
  min-height: 420px;
}
.ap-single-gallery .woocommerce-product-gallery__image img {
  max-height: 380px;
  object-fit: contain;
  width: auto !important;
}
.ap-single-summary .product_title {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  margin: 0 0 14px;
}
.ap-single-summary .price {
  font-size: 28px !important;
}
.ap-single-summary .cart {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0;
}
.ap-single-summary .quantity input {
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 12px;
}
.ap-product-trust {
  background: var(--ap-soft);
  border: 1px solid var(--ap-line);
  border-radius: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto auto 1fr;
  margin-top: 22px;
  padding: 16px;
}
.ap-product-trust img {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  height: 42px;
  object-fit: contain;
  padding: 7px 12px;
  width: 126px;
}
.ap-product-trust ul {
  color: var(--ap-muted);
  margin: 0;
  padding-left: 18px;
}
.ap-product-tabs {
  margin-top: 40px;
}
.ap-product-tabs .woocommerce-tabs {
  background: #fff;
}
.ap-shop-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--ap-line);
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 12px;
}
.ap-checkout-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) 380px;
}
.ap-checkout-sidebar {
  align-self: start;
  position: sticky;
  top: 110px;
}
.woocommerce-checkout-review-order-table {
  width: 100%;
}
.woocommerce table.shop_table {
  border: 0;
}
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-top: 1px solid var(--ap-line);
  padding: 12px 0;
}

.ap-footer {
  background: #080b12;
  color: #dbe2ec;
  padding: 46px 0;
}
.ap-footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr 1fr;
}
.ap-footer img { max-width: 170px; }

@media (max-width: 1024px) {
  .ap-header-inner { grid-template-columns: auto auto; }
  .ap-nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; }
  .ap-actions { justify-content: flex-end; }
  .ap-hero-grid,
  .ap-card-grid,
  .ap-category-hero-grid,
  .ap-category-layout,
  .ap-seo-grid,
  .ap-advice-band,
  .ap-single-grid,
  .ap-product-trust,
  .ap-checkout-layout,
  .ap-footer-grid,
  .ap-trust-strip { grid-template-columns: 1fr; }
  .ap-category-sidebar {
    position: static;
  }
  .ap-checkout-sidebar { position: static; }
}
@media (max-width: 640px) {
  .ap-topbar { display: none; }
  .ap-container { padding: 0 18px; }
  .ap-header-inner { display: flex; flex-wrap: wrap; min-height: auto; padding: 14px 0; }
  .ap-actions { width: 100%; }
  .ap-actions .ap-btn { flex: 1; }
  .ap-hero { padding: 44px 0; }
  .ap-hero h1 { font-size: 40px; }
  .ap-category-hero {
    padding: 34px 0 30px;
  }
  .ap-category-hero h1 {
    font-size: 38px;
  }
  .ap-category-layout {
    padding-bottom: 44px;
    padding-top: 22px;
  }
  .ap-category-trust,
  .ap-feature-mini,
  .ap-shop-toolbar,
  .ap-product-bottom {
    align-items: stretch;
    flex-direction: column;
  }
  .ap-category-trust div,
  .ap-product-bottom .ap-btn,
  .ap-advice-band .ap-btn {
    width: 100%;
  }
  .ap-product-media {
    height: 235px;
  }
  .ap-section { padding: 44px 0; }
}

@media (max-width: 900px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Component category mockup template */
.ap-component-page {
  background: #f5f7fb;
  overflow-x: hidden;
}
.ap-component-page .ap-breadcrumbs {
  margin-bottom: 34px;
  padding-top: 34px;
}
.ap-component-hero {
  background: radial-gradient(circle at 78% 18%, rgba(255,59,53,.08), transparent 28%), linear-gradient(180deg, #fff 0%, #f7f9fd 100%);
  border-bottom: 1px solid #edf0f6;
  overflow: hidden;
  padding-bottom: 42px;
}
.ap-component-hero-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  min-height: 250px;
}
.ap-component-hero-copy h1 {
  color: #070b14;
  font-size: clamp(46px, 5vw, 68px);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 22px;
}
.ap-component-hero-copy p {
  color: #344054;
  font-size: 19px;
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}
.ap-component-hero-media {
  align-items: end;
  display: flex;
  gap: 0;
  justify-content: flex-end;
  min-height: 300px;
  overflow: hidden;
}
.ap-component-hero-media img {
  filter: drop-shadow(0 28px 36px rgba(15,23,42,.15));
  object-fit: contain;
  position: relative;
  width: auto;
}
.ap-component-hero-media img:nth-child(1) { max-height: 250px; z-index: 3; }
.ap-component-hero-media img:nth-child(2) { margin-left: -170px; max-height: 230px; z-index: 4; }
.ap-component-hero-media img:nth-child(3) { margin-left: -60px; max-height: 180px; z-index: 5; }
.ap-component-hero-media img:nth-child(4) { margin-left: -50px; max-height: 280px; z-index: 2; }
.ap-component-hero-media img:nth-child(5) { margin-left: -70px; max-height: 215px; z-index: 4; }
.ap-component-usps {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}
.ap-component-usps div {
  align-items: center;
  display: grid;
  gap: 4px 14px;
  grid-template-columns: 42px 1fr;
}
.ap-component-usps span {
  align-items: center;
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 50%;
  display: flex;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.ap-component-usps strong {
  color: #0c111d;
  font-size: 15px;
  line-height: 1.15;
}
.ap-component-usps small {
  color: #667085;
  grid-column: 2;
  line-height: 1.25;
}
.ap-component-shop {
  padding: 42px 0 30px;
}
.ap-component-tabs {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  margin-bottom: 48px;
}
.ap-component-tabs a {
  align-items: center;
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 13px;
  box-shadow: 0 16px 38px rgba(15,23,42,.05);
  color: #0c111d;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 850;
  gap: 10px;
  justify-content: center;
  min-height: 98px;
  padding: 14px 10px;
  text-align: center;
}
.ap-component-tabs a.is-active,
.ap-component-tabs a:hover {
  border-color: var(--ap-red);
  color: var(--ap-red);
  box-shadow: 0 18px 42px rgba(255,59,53,.1);
}
.ap-tab-icon {
  border: 2px solid currentColor;
  border-radius: 11px;
  display: block;
  height: 28px;
  position: relative;
  width: 28px;
}
.ap-tab-icon::before,
.ap-tab-icon::after {
  background: currentColor;
  content: "";
  position: absolute;
}
.ap-tab-icon-grid::before {
  box-shadow: 10px 0 currentColor, 0 10px currentColor, 10px 10px currentColor;
  height: 5px;
  left: 5px;
  top: 5px;
  width: 5px;
}
.ap-tab-icon-motion,
.ap-tab-icon-remote,
.ap-tab-icon-other {
  border-radius: 50%;
}
.ap-tab-icon-motion::before {
  border-radius: 50%;
  height: 8px;
  left: 8px;
  top: 8px;
  width: 8px;
}
.ap-tab-icon-door::before,
.ap-tab-icon-remote::before {
  height: 18px;
  left: 12px;
  top: 3px;
  width: 3px;
}
.ap-tab-icon-smoke { border-radius: 50% 50% 45% 45%; }
.ap-tab-icon-smoke::before {
  border-radius: 50%;
  height: 5px;
  left: 10px;
  top: 10px;
  width: 5px;
}
.ap-tab-icon-siren::before {
  height: 12px;
  left: 6px;
  top: 7px;
  width: 14px;
}
.ap-tab-icon-outdoor::before {
  border-radius: 50%;
  height: 6px;
  left: 9px;
  top: 5px;
  width: 6px;
}
.ap-tab-icon-keypad::before {
  box-shadow: 7px 0 currentColor, 14px 0 currentColor, 0 7px currentColor, 7px 7px currentColor, 14px 7px currentColor, 0 14px currentColor, 7px 14px currentColor, 14px 14px currentColor;
  height: 3px;
  left: 5px;
  top: 5px;
  width: 3px;
}
.ap-tab-icon-other::before {
  border-radius: 50%;
  box-shadow: 9px 3px currentColor, 4px 11px currentColor;
  height: 8px;
  left: 5px;
  top: 6px;
  width: 8px;
}
.ap-component-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: 250px minmax(0, 1fr);
}
.ap-component-filters {
  align-self: start;
  position: sticky;
  top: 104px;
}
.ap-component-filters details {
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15,23,42,.05);
  overflow: hidden;
}
.ap-component-filters summary {
  align-items: center;
  color: #0c111d;
  cursor: pointer;
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  list-style: none;
  padding: 18px 20px;
}
.ap-component-filters summary::-webkit-details-marker {
  display: none;
}
.ap-component-filters summary a {
  color: var(--ap-red);
  font-size: 13px;
}
.ap-component-filters .ap-filter-section {
  border-top: 1px solid #edf0f6;
  padding: 18px 20px;
}
.ap-component-filters .ap-filter-section h2 {
  color: #0c111d;
  font-size: 14px;
  margin: 0 0 14px;
}
.ap-filter-check {
  align-items: center;
  color: #344054;
  display: grid;
  font-size: 13px;
  gap: 9px;
  grid-template-columns: 14px 1fr auto;
  margin: 0 0 10px;
}
.ap-filter-check span {
  border: 1px solid #cfd6e2;
  border-radius: 3px;
  display: block;
  height: 14px;
  width: 14px;
}
.ap-filter-check em {
  color: #667085;
  font-style: normal;
}
.ap-filter-check:hover {
  color: var(--ap-red);
}
.ap-filter-check.is-muted {
  opacity: .62;
}
.ap-price-filter label {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}
.ap-price-filter label span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}
.ap-price-filter input {
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  min-height: 38px;
  padding: 0 10px;
  width: 100%;
}
.ap-price-line {
  background: #fee4e2;
  border-radius: 999px;
  height: 5px;
  margin: 8px 0 16px;
}
.ap-price-line span {
  background: var(--ap-red);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 82%;
}
.ap-filter-submit {
  background: var(--ap-red);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  min-height: 38px;
  width: 100%;
}
.ap-component-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 8px 0 24px;
}
.ap-component-toolbar,
.ap-component-toolbar .woocommerce-result-count {
  color: #667085;
  font-size: 14px;
}
.ap-component-toolbar .woocommerce-ordering {
  margin: 0;
}
.ap-component-toolbar select {
  appearance: none;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 999px;
  color: #344054;
  font-weight: 700;
  min-height: 42px;
  padding: 0 42px 0 18px;
}
.ap-component-products {
  display: grid !important;
  gap: 20px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
.ap-component-products li.product.ap-component-product-card {
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(15,23,42,.055);
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  min-height: 360px;
  overflow: hidden;
  padding: 0 !important;
  width: auto !important;
}
.ap-component-product-media {
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  display: flex;
  height: 210px;
  justify-content: center;
  padding: 16px;
}
.ap-component-product-media img {
  filter: drop-shadow(0 18px 24px rgba(15,23,42,.12));
  height: auto;
  margin: 0;
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}
.ap-component-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 18px 18px;
}
.ap-component-product-body h2 {
  color: #0c111d;
  font-size: 19px;
  line-height: 1.16;
  margin: 0 0 8px;
}
.ap-component-product-body p {
  color: #475467;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 18px;
}
.ap-component-product-bottom {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}
.ap-component-product-bottom .price {
  color: #0c111d !important;
  display: block;
  font-size: 18px !important;
  font-weight: 950;
  margin-bottom: 4px;
}
.ap-component-product-bottom .price del {
  color: #98a2b3 !important;
  display: block;
  font-size: 13px;
}
.ap-stock {
  color: #039855;
  display: block;
  font-size: 13px;
  font-weight: 850;
}
.ap-stock.is-out {
  color: #b42318;
}
.ap-cart-icon {
  align-items: center;
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 50%;
  color: #101828;
  display: flex;
  font-size: 20px;
  height: 46px;
  justify-content: center;
  line-height: 1;
  width: 46px;
}
.ap-cart-icon:hover {
  background: var(--ap-red);
  border-color: var(--ap-red);
  color: #fff;
}
.ap-component-products-wrap .woocommerce-pagination {
  margin-top: 30px;
}
.ap-component-trust {
  padding: 24px 0 30px;
}
.ap-component-trust .ap-container {
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(15,23,42,.045);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-bottom: 22px;
  padding-top: 22px;
}
.ap-component-trust div {
  align-items: center;
  display: grid;
  gap: 2px 10px;
  grid-template-columns: 30px 1fr;
}
.ap-component-trust span {
  font-size: 24px;
  grid-row: span 2;
}
.ap-component-trust strong {
  color: #0c111d;
  font-size: 13px;
  line-height: 1.2;
}
.ap-component-trust small {
  color: #667085;
  font-size: 12px;
}
.ap-component-seo {
  padding: 10px 0 56px;
}
.ap-component-seo-card {
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(15,23,42,.05);
  padding: 34px;
}
.ap-component-seo-card h2 {
  color: #0c111d;
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 18px;
}
.ap-component-seo-card p {
  color: #344054;
  margin: 0 0 16px;
}
.ap-component-faq {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}
.ap-component-faq details {
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  padding: 14px 16px;
}
.ap-component-faq summary {
  color: #0c111d;
  cursor: pointer;
  font-weight: 850;
}
.ap-component-faq p {
  color: #667085;
  font-size: 14px;
  margin: 10px 0 0;
}
@media (max-width: 1180px) {
  .ap-component-tabs {
    display: flex;
    margin-left: -24px;
    margin-right: -24px;
    overflow-x: auto;
    padding: 0 24px 12px;
    scroll-snap-type: x mandatory;
  }
  .ap-component-tabs a {
    flex: 0 0 130px;
    scroll-snap-align: start;
  }
  .ap-component-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .ap-component-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  .ap-component-hero-grid,
  .ap-component-layout {
    grid-template-columns: 1fr;
  }
  .ap-component-hero-media {
    justify-content: center;
    min-height: 220px;
  }
  .ap-component-hero-media img:nth-child(1) { max-height: 190px; }
  .ap-component-hero-media img:nth-child(2) { margin-left: -130px; max-height: 175px; }
  .ap-component-hero-media img:nth-child(3) { max-height: 145px; }
  .ap-component-hero-media img:nth-child(4) { max-height: 210px; }
  .ap-component-hero-media img:nth-child(5) { max-height: 170px; }
  .ap-component-usps,
  .ap-component-trust .ap-container,
  .ap-component-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ap-component-filters {
    position: static;
  }
  .ap-component-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .ap-component-page .ap-breadcrumbs {
    padding-top: 22px;
  }
  .ap-component-hero-copy h1 {
    font-size: 40px;
  }
  .ap-component-hero-copy p {
    font-size: 16px;
  }
  .ap-component-hero {
    padding-bottom: 28px;
  }
  .ap-component-usps,
  .woocommerce ul.products,
  .ap-component-products,
  .ap-component-trust .ap-container,
  .ap-component-faq {
    grid-template-columns: 1fr !important;
  }
  .ap-component-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .ap-component-toolbar select {
    width: 100%;
  }
  .ap-component-product-media {
    height: 230px;
  }
  .ap-component-product-media img {
    max-height: 198px;
  }
  .ap-component-seo-card {
    padding: 24px;
  }
}
