/*
Theme Name: AutoParts Child
Theme URI: https://demoprueba5.elitesitios.cl
Description: Tema hijo de Hello Elementor con el diseno visual AutoParts para WooCommerce.
Author: AutoParts
Template: hello-elementor
Version: 1.0.0
*/

:root {
  --ap-primary: #3372ac;
  --ap-primary-light: #275d96;
  --ap-accent: #d32f2f;
  --ap-success: #15803d;
  --ap-bg: #f8fafc;
  --ap-surface: #ffffff;
  --ap-text: #0f172a;
  --ap-muted: #64748b;
  --ap-border: #e2e8f0;
  --ap-radius: 12px;
  --ap-shadow: 0 4px 20px rgba(15, 23, 42, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--ap-bg);
  color: var(--ap-text);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
.dark { color-scheme: dark; }
.dark {
  --ap-bg: #0f172a;
  --ap-surface: #1e293b;
  --ap-text: #e2e8f0;
  --ap-muted: #94a3b8;
  --ap-border: #334155;
  --ap-shadow: 0 4px 20px rgba(0, 0, 0, .35);
}
.dark body { background: var(--ap-bg); color: var(--ap-text); }

.ap-skip { position: absolute; left: -9999px; }
.ap-skip:focus { left: 8px; top: 8px; z-index: 999; background: #fff; padding: 8px 12px; border-radius: 6px; }
.ap-main { min-height: 60vh; }

/* ---------- HEADER ---------- */
.ap-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ap-surface);
  border-bottom: 1px solid var(--ap-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}
.dark .ap-header { background: #0f172a; border-color: #334155; }
.ap-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
  height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 640px) { .ap-header__inner { padding: 0 24px; } }
@media (min-width: 1024px) { .ap-header__inner { height: 64px; padding: 0 32px; } }
.ap-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ap-logo__mark {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px;
  background: var(--ap-primary); color: #fff; display: flex; align-items: center; justify-content: center;
}
.ap-logo__mark svg { width: 20px; height: 20px; }
.ap-logo__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.ap-logo__text strong { font-size: 15px; font-weight: 800; color: var(--ap-text); white-space: nowrap; }
.ap-logo__text small { font-size: 11px; color: var(--ap-muted); white-space: nowrap; }
@media (min-width: 640px) {
  .ap-logo__mark { width: 40px; height: 40px; flex-basis: 40px; }
  .ap-logo__mark svg { width: 24px; height: 24px; }
  .ap-logo__text strong { font-size: 20px; }
  .ap-logo__text small { font-size: 12px; }
}
.ap-nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 768px) { .ap-nav { display: flex; } }
.ap-nav__link { font-size: 14px; font-weight: 500; color: #475569; transition: color .2s; }
.ap-nav__link:hover { color: var(--ap-primary); }
.dark .ap-nav__link { color: #cbd5e1; }
.dark .ap-nav__link:hover { color: #93c5fd; }
.ap-header__actions { display: flex; align-items: center; gap: 4px; }
@media (min-width: 768px) { .ap-header__actions { gap: 8px; } }
.ap-icon-btn {
  position: relative; width: 40px; height: 40px; border: 0; background: transparent;
  color: #475569; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, color .2s;
}
.ap-icon-btn:hover { background: #f1f5f9; color: var(--ap-primary); }
.dark .ap-icon-btn { color: #cbd5e1; }
.dark .ap-icon-btn:hover { background: #1e293b; color: #93c5fd; }
.ap-icon-btn svg { width: 20px; height: 20px; }
.ap-icon-moon, .ap-icon-sun { display: inline-flex; align-items: center; justify-content: center; }
.ap-icon-sun { display: none; }
.dark .ap-icon-moon { display: none; }
.dark .ap-icon-sun { display: inline-flex; }
.ap-cart-badge {
  position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--ap-accent); color: #fff;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.ap-menu-toggle { display: inline-flex; }
@media (min-width: 768px) { .ap-menu-toggle { display: none; } }
.ap-mobile-menu { display: none; border-top: 1px solid var(--ap-border); background: var(--ap-surface); padding: 12px 16px; }
.ap-mobile-menu.is-open { display: block; }
.dark .ap-mobile-menu { background: #0f172a; border-color: #334155; }
.ap-mobile-menu a { display: block; padding: 12px; border-radius: 8px; color: #475569; font-weight: 500; }
.ap-mobile-menu a:hover { background: #f1f5f9; }
.dark .ap-mobile-menu a { color: #cbd5e1; }

/* Men├║ hamburguesa: tres l├¡neas gruesas y f├íciles de ver en m├│vil/tablet. */
.ap-menu-toggle {
  width: 44px; height: 44px;
  border: 1px solid var(--ap-border);
  background: rgba(30, 58, 95, .06);
  color: var(--ap-primary);
}
.dark .ap-menu-toggle { border-color: #334155; background: rgba(148, 163, 184, .12); color: #f1f5f9; }
.ap-menu-lines { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 24px; }
.ap-menu-lines span {
  display: block; width: 100%; height: 3px; border-radius: 3px;
  background: currentColor; box-shadow: 0 1px 0 rgba(15, 23, 42, .12);
}
.ap-menu-toggle.is-active .ap-menu-lines span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ap-menu-toggle.is-active .ap-menu-lines span:nth-child(2) { opacity: 0; }
.ap-menu-toggle.is-active .ap-menu-lines span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.ap-menu-lines span { transition: transform .2s, opacity .2s; }
.ap-icon-btn:focus-visible, .ap-mobile-menu a:focus-visible { outline: 3px solid #3b82f6; outline-offset: 2px; }
.ap-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ap-page-h1 {
  margin: 0; padding: 28px 5vw 6px;
  font-size: 1.75rem; line-height: 1.2; color: var(--ap-primary);
}
.dark .ap-page-h1 { color: #f1f5f9; }

/* Evita que la lista de datos del blog sobresalga en pantallas peque├▒as. */
.elementor-post-info.elementor-inline-items {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ---------- BUTTONS ---------- */
.ap-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer;
  font-size: 14px; font-weight: 600; line-height: 1.2; transition: all .2s;
}
.ap-btn--small { padding: 9px 16px; border-radius: 8px; font-size: 14px; background: var(--ap-primary); color: #fff; }
.ap-btn--small:hover { background: var(--ap-primary-light); color: #fff; }
.ap-btn--primary {
  background: var(--ap-primary); color: #fff;
  box-shadow: 0 8px 20px rgba(51, 114, 172, .25);
}
.ap-btn--primary:hover { background: var(--ap-primary-light); color: #fff; transform: translateY(-1px); }
.ap-btn--ghost { background: #fff; border: 1px solid var(--ap-border); color: #475569; }
.ap-btn--ghost:hover { background: #f8fafc; color: #334155; }
.dark .ap-btn--ghost { background: #1e293b; border-color: #475569; color: #e2e8f0; }
.dark .ap-btn--ghost:hover { background: #334155; color: #fff; }

/* ---------- HERO ---------- */
.ap-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #172554 50%, #0f172a 100%);
  padding: 48px 0;
}
@media (min-width: 768px) { .ap-hero { padding: 80px 0; } }
.ap-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.ap-hero::after {
  content: ''; position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%; background: rgba(59,130,246,.07); filter: blur(60px); pointer-events: none;
}
.ap-hero__inner { position: relative; z-index: 1; max-width: 1152px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .ap-hero__inner { padding: 0 24px; } }
.ap-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; margin-bottom: 40px; }
.ap-stat { text-align: center; }
.ap-stat strong { display: block; font-size: 24px; font-weight: 800; color: #fff; }
.ap-stat span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color:#bfdbfe; font-weight:600; }
@media (min-width: 768px) { .ap-stat strong { font-size: 30px; } .ap-stat span { font-size: 13px; } }
.ap-hero__center { text-align: center; margin-bottom: 40px; }
.ap-hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; margin-bottom: 24px;
  border-radius: 999px; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.25);
  color: #93c5fd; font-size: 13px;
}
.ap-hero h1 { margin: 0 0 16px; font-size: 30px; line-height: 1.2; font-weight: 800; color: #fff; }
@media (min-width: 768px) { .ap-hero h1 { font-size: 48px; } }
.ap-gradient-text { color: #93c5fd; }
.ap-hero__sub { max-width: 672px; margin: 0 auto; color: #bfdbfe; font-size: 15px; }
@media (min-width: 768px) { .ap-hero__sub { font-size: 18px; } }

.ap-search-card {
  position: relative; z-index: 2; max-width: 768px; margin: 0 auto 40px;
  background: rgba(255,255,255,.96); border-radius: 16px; padding: 20px;
  box-shadow: 0 25px 50px -12px rgba(2,6,23,.5);
}
@media (min-width: 768px) { .ap-search-card { padding: 24px; } }
.dark .ap-search-card { background: rgba(30,41,59,.96); }
.ap-search-row { display: flex; gap: 12px; margin-bottom: 16px; }
.ap-input-wrap { position: relative; flex: 1; min-width: 0; }
.ap-input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color:#64748b; pointer-events: none; }
.ap-input, .ap-search-card input.ap-input {
  width: 100%; height: 48px; padding: 0 14px 0 46px; border: 1px solid var(--ap-border);
  border-radius: 12px; background: #fff; color: var(--ap-text); font-size: 15px; outline: none;
  appearance: none; -webkit-appearance: none;
}
.ap-input:focus, .ap-search-card input.ap-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
.dark .ap-input, .dark .ap-search-card input.ap-input { background: #0f172a; border-color: #334155; color: #e2e8f0; }
.ap-car-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; }
.ap-car-row__label { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: #475569; white-space: nowrap; }
.ap-car-row__label svg { width: 16px; height: 16px; flex: 0 0 auto; }
.dark .ap-car-row__label { color: #cbd5e1; }
.ap-select { width: 100%; min-width: 0; height: 44px; padding: 0 24px 0 10px; border: 1px solid var(--ap-border); border-radius: 10px; background:#fff; color: var(--ap-text); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .ap-select { background:#0f172a; border-color:#334155; color:#e2e8f0; }
.ap-car-field { flex: 1 1 0; min-width: 0; }
.ap-clear { flex: 0 0 auto; border:0; background:transparent; color: #475569; font-size: 12px; cursor:pointer; padding: 6px 4px; white-space: nowrap; }
.dark .ap-clear { color: #cbd5e1; }
.ap-clear:hover { color: var(--ap-text); }
@media (max-width: 420px) {
  .ap-search-card { padding: 12px; }
  .ap-car-row { gap: 6px; }
  .ap-car-row__label { font-size: 12px; gap: 3px; }
  .ap-car-row__label-text { display: none; }
  .ap-select { height: 42px; padding: 0 20px 0 8px; font-size: 13px; }
  .ap-clear { font-size: 11px; padding: 4px 2px; }
}
.ap-quick { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ap-border); display: flex; flex-wrap: wrap; align-items:center; gap:8px; }
.ap-quick__label { font-size: 13px; color:#475569; margin-right: 4px; }
.dark .ap-quick__label { color:#cbd5e1; }
.ap-chip { padding: 6px 12px; border-radius:999px; background:#f1f5f9; color:#475569; border:0; font-size:13px; cursor:pointer; transition:all .2s; }
.ap-chip:hover { background:var(--ap-primary); color:#fff; }

.ap-cats__title { text-align:center; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#bfdbfe; margin-bottom:16px; }
.ap-cats { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (min-width:640px){ .ap-cats { grid-template-columns:repeat(3,1fr); } }
@media (min-width:768px){ .ap-cats { grid-template-columns:repeat(6,1fr); } }
.ap-cat {
  text-align:left; padding:16px; border-radius:12px; border:1px solid var(--ap-primary);
  background:#1e3a5f; color:#fff; transition:all .25s; cursor:pointer;
}
.ap-cat:hover { background:var(--ap-primary); transform:translateY(-2px); }
.ap-cat__icon { font-size:24px; margin-bottom:8px; }
.ap-cat strong { display:block; font-size:14px; color:#fff; }
.ap-cat small { display:block; font-size:12px; color:rgba(255,255,255,.8); margin-top:2px; }
.ap-trust { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 24px; margin-top:40px; color:#bfdbfe; font-size:14px; }

/* ---------- CATALOG ---------- */
.ap-catalog { padding: 48px 0 64px; }
.ap-catalog__inner { max-width:1280px; margin:0 auto; padding:0 16px; }
@media (min-width:640px){ .ap-catalog__inner { padding:0 24px; } }
@media (min-width:1024px){ .ap-catalog__inner { padding:0 32px; } }
.ap-catalog__head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:24px; }
.ap-catalog__head h2 { margin:0; font-size:24px; font-weight:800; }
@media (min-width:640px){ .ap-catalog__head h2 { font-size:30px; } }
.ap-catalog__head p { margin:4px 0 0; color:var(--ap-muted); font-size:14px; }
.ap-grid { display:grid; grid-template-columns:repeat(1,1fr); gap:16px; }
@media (min-width:640px){ .ap-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:768px){ .ap-grid { grid-template-columns:repeat(3,1fr); } }
@media (min-width:1024px){ .ap-grid { grid-template-columns:repeat(4,1fr); } }
.ap-card { background:var(--ap-surface); border:1px solid var(--ap-border); border-radius:var(--ap-radius); overflow:hidden; box-shadow:var(--ap-shadow); transition:box-shadow .25s, transform .25s; }
.ap-card:hover { box-shadow:0 12px 30px rgba(15,23,42,.12); transform:translateY(-2px); }
.dark .ap-card { background:#1e293b; border-color:#334155; }
.ap-card__media { position:relative; aspect-ratio:1/1; background:#f1f5f9; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.ap-card__media img { width:100%; height:100%; object-fit:contain; }
.ap-card__placeholder { width:48px; height:48px; color:#cbd5e1; }
.ap-card__body { padding:16px; }
.ap-card__sku { font-size:12px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; color:#64748b; margin-bottom:4px; }
.dark .ap-card__sku { color:#94a3b8; }
.ap-card__title { font-size:15px; font-weight:600; line-height:1.4; margin:0 0 8px; min-height:40px; }
.ap-card__title a:hover { color:var(--ap-primary); }
.dark .ap-card__title a:hover { color:#93c5fd; }
.ap-card__foot { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
.ap-card__price { font-size:18px; font-weight:800; color:var(--ap-primary); }
.dark .ap-card__price { color:#93c5fd; }
.ap-stock { font-size:13px; color:#007600; font-weight:500; white-space:nowrap; position:relative; padding-left:16px; }
.ap-stock::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:8px; height:8px; background-color:currentColor; border-radius:50%; }
.ap-stock.is-out { color:#b12704; }
.dark .ap-stock { color:#4ade80; }
.dark .ap-stock.is-out { color:#fca5a5; }
.ap-card__add { display:block; width:100%; text-align:center; background:var(--ap-primary); color:#fff; border-radius:10px; padding:10px; font-size:13px; font-weight:600; }
.ap-card__add:hover { background:var(--ap-primary-light); color:#fff; }
.ap-card__add.is-out { background:#e2e8f0; color:#94a3b8; pointer-events:none; }
.ap-catalog__more { text-align:center; margin-top:32px; }

/* ---------- FOOTER ---------- */
.ap-footer { background:#0f172a; color:#cbd5e1; padding:40px 0 24px; margin-top:40px; }
.ap-footer__inner { max-width:1280px; margin:0 auto; padding:0 24px; display:flex; flex-wrap:wrap; gap:24px; justify-content:space-between; }
.ap-footer strong { color:#fff; font-size:16px; }
.ap-footer p { margin:4px 0 0; font-size:14px; }
.ap-footer a { font-size:14px; }
.ap-footer a:hover { color:#93c5fd; }
.ap-footer__bottom { max-width:1280px; margin:24px auto 0; padding:16px 24px 0; border-top:1px solid #1e293b; font-size:13px; color:#cbd5e1; }

/* ---------- WOOCOMMERCE SKIN ---------- */
.woocommerce-page .woocommerce, .woocommerce { color:var(--ap-text); }
.dark .woocommerce-page .woocommerce, .dark .woocommerce { color:#e2e8f0; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce-page .woocommerce button.button, .woocommerce .woocommerce-button.button {
  background:var(--ap-primary) !important; color:#fff !important; border:0 !important;
  border-radius:10px !important; padding:10px 18px !important; font-weight:600 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background:var(--ap-primary-light) !important; }
.woocommerce ul.products li.product .price, .woocommerce .price { color:var(--ap-primary) !important; font-weight:700; }
.woocommerce ul.products li.product { border:1px solid var(--ap-border); border-radius:12px; padding:12px !important; background:var(--ap-surface); }
.woocommerce ul.products li.product,
.related.products ul.products li.product { float: none !important; clear: none !important; }
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.related.products ul.products::before,
.related.products ul.products::after { content: none !important; display: none !important; }
.dark .woocommerce ul.products li.product { background:#1e293b; border-color:#334155; }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error { border-radius:10px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  border-radius:10px !important; border:1px solid var(--ap-border) !important; background:var(--ap-surface) !important; color:var(--ap-text) !important;
}
.dark .woocommerce form .form-row input.input-text, .dark .woocommerce form .form-row textarea { background:#0f172a !important; color:#e2e8f0 !important; border-color:#334155 !important; }
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order { background:var(--ap-primary) !important; color:#fff !important; border-radius:10px !important; font-size:16px !important; padding:14px 24px !important; }
/* ---------- WOOCOMMERCE BLOCKS (carrito / checkout) ---------- */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { max-width:1180px; margin:32px auto; padding:0 16px; }
.wc-block-components-button, .wc-block-cart__submit-button, .wc-block-checkout__actions button {
  background:var(--ap-primary) !important; color:#fff !important; border:0 !important; border-radius:10px !important; font-weight:600 !important;
}
.wc-block-components-text-input input, .wc-block-components-select-container select, .wc-block-components-textarea textarea {
  border-radius:10px !important; border:1px solid var(--ap-border) !important;
}
.dark .wc-block-components-text-input input, .dark .wc-block-components-textarea textarea {
  background:#0f172a !important; color:#e2e8f0 !important; border-color:#334155 !important;
}
.wc-block-components-totals-item, .wc-block-components-order-summary, .wc-block-cart-items { border-radius:12px; }
.wc-block-components-product-name { font-weight:600; }

.ap-loading { display:inline-block; width:16px; height:16px; border:2px solid rgba(255,255,255,.4); border-top-color:#fff; border-radius:50%; animation:ap-spin .7s linear infinite; }
@keyframes ap-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }

/* ---------- DESTACADOS / GALER├ìA ESTABLE ---------- */
.ap-featured { padding-top: 16px; }
.ap-featured .ap-catalog__head h2::before { content: 'Ôÿà '; color: #f59e0b; }
.ap-carousel { position: relative; max-width: 100%; }
.ap-carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.ap-carousel__track .ap-card { flex: 0 0 clamp(230px, 24vw, 320px); scroll-snap-align: start; }
.ap-carousel__nav { position: absolute; top: 38%; z-index: 2; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border: 1px solid var(--ap-border); border-radius: 50%; background: var(--ap-surface); color: var(--ap-text); line-height: 1; cursor: pointer; box-shadow: var(--ap-shadow); }
.ap-carousel__nav svg { display: block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ap-carousel__nav:hover { background: var(--ap-primary); color: #fff; }
.ap-carousel__nav--prev { left: -10px; }
.ap-carousel__nav--next { right: -10px; }
@media (max-width: 640px){ .ap-carousel__nav { width: 30px; height: 30px; } .ap-carousel__nav svg { width: 15px; height: 15px; } .ap-carousel__nav--prev { left: -4px; } .ap-carousel__nav--next { right: -4px; } }
.ap-pg { display: grid; gap: 12px; max-width: 520px; }
.ap-pg__stage {
  aspect-ratio: 1 / 1; background: #f1f5f9; border: 1px solid var(--ap-border);
  border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.dark .ap-pg__stage { background: #0f172a; border-color: #334155; }
.ap-pg__main { width: 100%; height: 100%; object-fit: contain !important; cursor: zoom-in; }
.ap-pg__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.ap-pg__thumb {
  padding: 0; border: 2px solid transparent; border-radius: 8px; background: #f1f5f9;
  overflow: hidden; aspect-ratio: 1 / 1; cursor: pointer;
}
.dark .ap-pg__thumb { background: #0f172a; }
.ap-pg__thumb.is-active { border-color: var(--ap-primary); }
.ap-pg__thumb img { width: 100%; height: 100%; object-fit: contain !important; }
.ap-pg__hint { margin: 0; font-size: 13px; color: var(--ap-muted); }
.ap-pg__main { cursor: zoom-in; }
.ap-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, 0.88); }
.ap-lightbox.is-open { display: flex; }
.ap-lightbox__img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45); }
.ap-lightbox__close {
  position: absolute; top: 14px; right: 20px;
  width: 44px; height: 44px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5.5 5.5l13 13M18.5 5.5l-13 13'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat; background-size: 22px 22px;
  color: transparent; font-size: 0; line-height: 0;
  cursor: pointer; transition: background-color 0.15s ease;
}
.ap-lightbox__close:hover,
.ap-lightbox__close:focus-visible { background-color: rgba(255, 255, 255, 0.28); }
.ap-lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.ap-lightbox-open { overflow: hidden; }
.ap-pg__placeholder { display: flex; width: 56px; height: 56px; color: #cbd5e1; }

.woocommerce ul.products li.product img,
.related.products ul.products li.product img { object-fit: contain !important; }
.ap-loop-photo { display: block; }
.wc-block-grid__product-image img.ap-loop-img {
  width: 100% !important; height: auto !important; max-height: none !important;
  aspect-ratio: 1 / 1 !important; object-fit: contain !important;
  background: #f1f5f9; border-radius: 8px;
}
.dark .wc-block-grid__product-image img.ap-loop-img { background: #1e293b; }
.ap-loop-photo--empty {
  display: flex; align-items: center; justify-content: center; min-height: 180px;
  background: #f1f5f9; border-radius: 8px; color: #cbd5e1;
}
.dark .ap-loop-photo--empty { background: #0f172a; }
.woocommerce ul.products li.product .ap-loop-img {
  width: 100% !important; height: auto !important; max-height: none !important;
  aspect-ratio: 1 / 1 !important; object-fit: contain !important;
  background: #f1f5f9; border-radius: 8px;
}
.related.products ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.related.products ul.products li.product { width: 100% !important; margin: 0 !important; display: flex; flex-direction: column; }
.related.products ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; }
.related.products ul.products li.product img.ap-loop-img,
.related.products ul.products li.product .ap-loop-photo--empty { width: 100% !important; height: auto !important; max-height: none !important; min-height: 0 !important; aspect-ratio: 1 / 1 !important; object-fit: contain !important; margin-bottom: 10px; background: #f1f5f9; border-radius: 8px; }
.related.products ul.products li.product .woocommerce-loop-product__title { min-height: 2.8em; line-height: 1.35; }
.related.products ul.products li.product .price { margin-top: auto; }
.related.products ul.products li.product .button { margin-top: 10px; }
@media (max-width: 1024px) { .related.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .related.products ul.products { grid-template-columns: 1fr; } }

/* ---------- CAT├üLOGO ORDENADO: FILTROS + BUSCADOR ---------- */
.ap-shop { max-width: 1240px; margin: 28px auto; padding: 0 16px; }
.ap-shop__title { margin: 0 0 18px; font-size: 24px; line-height: 1.2; font-weight: 800; color: var(--ap-text); }
.ap-shop__inner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.ap-filters {
  background: var(--ap-surface); border: 1px solid var(--ap-border); border-radius: 12px;
  padding: 18px; position: sticky; top: 88px;
}
.dark .ap-filters { background: #0f172a; border-color: #334155; }
.ap-filters__title { margin: 0 0 14px; font-size: 20px; }
.ap-filters__search label, .ap-filters__cats h3 { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ap-muted); }
.ap-filters__search input[type="search"] {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--ap-border);
  background: #fff; color: var(--ap-text); margin-bottom: 10px;
}
.dark .ap-filters__search input[type="search"] { background: #1e293b; color: #e2e8f0; border-color: #334155; }
.ap-filters__search button { width: 100%; margin-bottom: 6px; }
.ap-filters__search small { display: block; font-size: 12px; color: var(--ap-muted); line-height: 1.4; }
.ap-filters__cats { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ap-border); }
.ap-filters__cats ul { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 4px; max-height: 420px; overflow-y: auto; scrollbar-width: thin; }
.ap-filters__cats li a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ap-text); font-size: 14px;
}
.ap-filters__cats li a:hover, .ap-filters__cats li a.is-active { background: var(--ap-primary); color: #fff; }
.ap-filters__cats li a span { font-size: 12px; opacity: .75; }
.ap-filters__help { display: grid; gap: 6px; margin-top: 20px; font-size: 13px; color: var(--ap-muted); }
.ap-shop__main { min-width: 0; }
.ap-shop__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ap-shop__count { margin: 0; font-size: 14px; color: var(--ap-muted); }
.ap-shop__bar .woocommerce-ordering { margin: 0; }
.ap-shop__bar .woocommerce-ordering select { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--ap-border); background: var(--ap-surface); color: var(--ap-text); }
.woocommerce .ap-shop ul.products {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important;
  margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.woocommerce .ap-shop ul.products li.product {
  width: 100% !important; margin: 0 !important; padding: 12px !important;
  background: var(--ap-surface); border: 1px solid var(--ap-border); border-radius: 12px;
  display: flex; flex-direction: column; align-items: stretch;
}
.dark .woocommerce .ap-shop ul.products li.product { background: #0f172a; border-color: #334155; }
.woocommerce .ap-shop ul.products li.product > a:first-child { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; margin-bottom: 10px; }
.woocommerce .ap-shop ul.products li.product .ap-loop-img,
.woocommerce .ap-shop ul.products li.product .ap-loop-photo--empty {
  width: 100% !important; height: auto !important; max-height: none !important; min-height: 0 !important;
  aspect-ratio: 1 / 1 !important; object-fit: contain !important;
  border-radius: 8px; background: #f1f5f9;
}
.dark .woocommerce .ap-shop ul.products li.product .ap-loop-img,
.dark .woocommerce .ap-shop ul.products li.product .ap-loop-photo--empty { background: #1e293b; }
.woocommerce .ap-shop ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 14px !important; line-height: 1.35 !important; min-height: 38px; margin: 0 0 8px !important;
}
.woocommerce .ap-shop ul.products li.product a.woocommerce-loop-product__link:hover h2.woocommerce-loop-product__title,
.woocommerce .ap-shop ul.products li.product h2.woocommerce-loop-product__title a:hover { color: var(--ap-primary) !important; }
.dark .woocommerce .ap-shop ul.products li.product h2.woocommerce-loop-product__title,
.dark .woocommerce .ap-shop ul.products li.product h2.woocommerce-loop-product__title a { color: #e2e8f0 !important; }
.dark .woocommerce .ap-shop ul.products li.product a.woocommerce-loop-product__link:hover h2.woocommerce-loop-product__title,
.dark .woocommerce .ap-shop ul.products li.product h2.woocommerce-loop-product__title a:hover { color: #93c5fd !important; }
.woocommerce .ap-shop ul.products li.product .price { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.woocommerce .ap-shop ul.products li.product .ap-stock { display: block; font-size: 13px; color: #007600; margin-bottom: 10px; }
.dark .woocommerce .ap-shop ul.products li.product .ap-stock { color: #4ade80; }
.woocommerce .ap-shop ul.products li.product .ap-stock.is-out { color: #b12704; }
.dark .woocommerce .ap-shop ul.products li.product .ap-stock.is-out { color: #fca5a5; }
.woocommerce .ap-shop ul.products li.product a.button { margin-top: auto; text-align: center; border-radius: 8px !important; }
.ap-shop__empty { padding: 40px; text-align: center; background: var(--ap-surface); border: 1px solid var(--ap-border); border-radius: 12px; }
@media (max-width: 1024px) { .woocommerce .ap-shop ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 860px) {
  .ap-shop__inner { grid-template-columns: 1fr; }
  .ap-filters { position: static; }
  .woocommerce .ap-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) { .woocommerce .ap-shop ul.products { grid-template-columns: 1fr !important; } }
.woocommerce nav.woocommerce-pagination { margin: 28px 0 8px !important; text-align: center; }
.woocommerce nav.woocommerce-pagination ul.page-numbers { margin: 0; padding: 0; }

/* ap-product-details: descripci├│n, ficha y compatibilidad */
.woocommerce div.product .ap-pd-desc { font-size: 14px; line-height: 1.65; color: var(--ap-text); margin: 0 0 18px; }
.woocommerce div.product .ap-pd-desc p { margin: 0 0 10px; }
.woocommerce div.product .ap-pd { margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--ap-border); }
.woocommerce div.product .ap-pd__title { font-size: 18px; font-weight: 700; color: var(--ap-text); margin: 0 0 12px; }
.woocommerce div.product .ap-pd__specs { margin: 0 0 24px; display: grid; gap: 8px; }
.woocommerce div.product .ap-pd__spec { display: grid; grid-template-columns: 140px 1fr; gap: 12px; font-size: 14px; align-items: baseline; }
.woocommerce div.product .ap-pd__spec dt { color: var(--ap-muted); font-weight: 500; }
.woocommerce div.product .ap-pd__spec dd { margin: 0; color: var(--ap-text); font-weight: 600; overflow-wrap: anywhere; }
.woocommerce div.product .ap-pd__compat-desc { font-size: 14px; color: var(--ap-muted); margin: 0 0 14px; }
.woocommerce div.product .ap-pd__table-wrap { overflow-x: auto; border: 1px solid var(--ap-border); border-radius: 10px; background: var(--ap-surface); }
.woocommerce div.product .ap-pd__table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.woocommerce div.product .ap-pd__table th,
.woocommerce div.product .ap-pd__table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ap-border); }
.woocommerce div.product .ap-pd__table th { background: var(--ap-bg); font-weight: 700; color: var(--ap-text); white-space: nowrap; }
.woocommerce div.product .ap-pd__table tbody tr:last-child td { border-bottom: 0; }
.woocommerce div.product .ap-pd__table tbody tr.ap-pd__row-link { cursor: pointer; }
.woocommerce div.product .ap-pd__table tbody tr.ap-pd__row-link:hover { background: var(--ap-bg); }
.woocommerce div.product .ap-pd__more { color: var(--ap-muted); font-size: 13px; white-space: nowrap; }
.woocommerce div.product .ap-pd__arrow { color: #2563eb; font-weight: 700; }
.woocommerce div.product .ap-pd__note { margin: 14px 0 0; padding: 12px 16px; font-size: .85rem; line-height: 1.4; color: #856404; background-color: #fff3cd; border: 1px solid #ffeaa7; border-radius: 6px; }
.woocommerce div.product .ap-pd__note strong { color: #533f03; }
.dark .woocommerce div.product .ap-pd__table-wrap { background: #1e293b; }
@media (max-width: 640px) {
  .woocommerce div.product .ap-pd__spec { grid-template-columns: 1fr; gap: 2px; }
  .woocommerce div.product .ap-pd__table th,
  .woocommerce div.product .ap-pd__table td { padding: 9px 10px; }
}

/* ap-single-layout: ficha en dos columnas y secciones a ancho completo */
body.single-product div.product > .summary { float: none; width: auto; min-width: 0; }
body.single-product div.product > .ap-pg { min-width: 0; }
body.single-product div.product > .related { clear: both; }
@media (min-width: 861px) {
  body.single-product #primary.content-area { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
  body.single-product main#main.site-main { max-width: none; }
  body.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 28px 48px;
    align-items: start;
  }
  body.single-product div.product > .ap-pg { grid-column: 1; grid-row: 1; max-width: none; }
  body.single-product div.product > .summary { grid-column: 2; grid-row: 1; margin: 0; }
  body.single-product div.product > .ap-pd--compat,
  body.single-product div.product > .related { grid-column: 1 / -1; grid-row: auto; }
  body.single-product div.product > .ap-pd--compat { margin: 10px 0 0; }
  body.single-product div.product > .related { margin: 8px 0 0; }
  body.single-product div.product > script { display: none; }
}
@media (max-width: 860px) {
  body.single-product #primary.content-area { padding: 0 16px; }
  body.single-product main#main.site-main { max-width: none; }
  body.single-product div.product > .ap-pg { max-width: 560px; margin: 0 auto; }
  body.single-product div.product > .related { margin-top: 28px; }
}

/* La ruta del producto no debe quedar pegada al men├║ superior. */
body.single-product #primary.content-area { padding-top: 24px; }

/* Carrito, finalizar compra y mis pedidos: separaci├│n real del men├║ fijo y pie sin hueco blanco abajo. */
body.woocommerce-page:not(.single-product) { display: flex; flex-direction: column; min-height: 100vh; }
body.woocommerce-page:not(.single-product) main#content.site-main { padding-top: 24px; flex: 1 0 auto; }
body.woocommerce-page:not(.single-product) .ap-footer { flex-shrink: 0; }
body.single-product .woocommerce-breadcrumb { margin: 0 0 16px; font-size: 14px; color: var(--ap-muted); }
.dark body.single-product .woocommerce-breadcrumb { color: #94a3b8; }
body.single-product .woocommerce-breadcrumb a { color: inherit; }
body.single-product .woocommerce-breadcrumb a:hover { color: var(--ap-primary); }
.dark body.single-product .woocommerce-breadcrumb a:hover { color: #93c5fd; }

/* ---------- CONTRASTE: ESTADOS NORMALES Y HOVER ---------- */
.woocommerce p.stock.in-stock, .woocommerce .stock.in-stock { color: #007600 !important; font-size: .9rem; position: relative; padding-left: 16px; }
.woocommerce p.stock.in-stock::before, .woocommerce .stock.in-stock::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:8px; height:8px; background-color:currentColor; border-radius:50%; }
.dark .woocommerce p.stock.in-stock, .dark .woocommerce .stock.in-stock { color: #4ade80 !important; }
.dark .ap-clear:hover { color: #e2e8f0; }
.dark .ap-mobile-menu a:hover { background: #334155; color: #f1f5f9; }
.dark .ap-chip { background: #334155; color: #e2e8f0; }
.dark .ap-chip:hover { background: var(--ap-primary); color: #fff; }
.dark .woocommerce a.button:hover, .dark .woocommerce button.button:hover { color: #fff !important; }
.dark .wc-block-components-button:hover, .dark .wc-block-cart__submit-button:hover, .dark .wc-block-checkout__actions button:hover { color: #fff !important; }

/* Contenido Elementor heredado: se adapta al modo oscuro sin perder el azul del proveedor. */
.dark .elementor h1, .dark .elementor h2, .dark .elementor h3,
.dark .elementor h4, .dark .elementor h5, .dark .elementor h6,
.dark .elementor p, .dark .elementor span, .dark .elementor time,
.dark .elementor li, .dark .elementor td, .dark .elementor th,
.dark .elementor .elementor-author-box__name,
.dark .elementor .elementor-icon-list-text,
.dark .elementor .elementor-post-info { color: #e2e8f0 !important; }
.dark .elementor a, .dark .elementor a:hover { color: #93c5fd !important; }
.elementor table th, .elementor table td { color: #475569; }

/* Paleta heredada de Elementor: se alinea con el proveedor y con el modo oscuro. */
html .elementor, html .elementor-kit-6 { --e-global-color-text: #475569; --e-global-color-secondary: #475569; }
.dark .elementor, .dark .elementor-kit-6 { --e-global-color-text: #e2e8f0; --e-global-color-secondary: #cbd5e1; }

/* Precios legibles sobre fondos oscuros, manteniendo el azul del proveedor. */
.dark .woocommerce .price, .dark .woocommerce .price bdi, .dark .woocommerce bdi { color: #93c5fd !important; }

/* ---------- P├üGINA DEL MODELO (B├ÜSQUEDA POR AUTO) ---------- */
.ap-vehicle { max-width: 1240px; margin: 28px auto; padding: 0 16px; color: var(--ap-text); }
.ap-vehicle__breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 32px; font-size: 15.2px; color: #0f1111; }
.dark .ap-vehicle__breadcrumb { color: #e2e8f0; }
.ap-vehicle__sep { color: var(--ap-muted); }
.ap-vehicle__title { margin: 16px 0 0; font-size: 32px; line-height: 1.2; font-weight: 700; color: #0f1111; }
.dark .ap-vehicle__title { color: #e2e8f0; }
.ap-vehicle__count { margin: 0 0 16px; font-size: 16px; color: #555; }
.dark .ap-vehicle__count { color: #94a3b8; }
.ap-vehicle__search { margin: 0 0 20px; padding: 15px; background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; color: #0f1111; }
.dark .ap-vehicle__search { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.ap-vehicle__bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid #ced4da; border-radius: 6px; color: #0f1111; }
.dark .ap-vehicle__bar { background: #0f172a; border-color: #475569; color: #e2e8f0; }
.ap-vehicle__icon { font-size: 15px; line-height: 1; }
.ap-vehicle__bar input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; color: #000; font-size: 14px; padding: 4px 8px; }
.dark .ap-vehicle__bar input { color: #e2e8f0; }
.ap-vehicle__submit { flex: 0 0 auto; border: 0; border-radius: 6px; padding: 7px 14px; background: var(--ap-primary); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.ap-vehicle__submit:hover { background: var(--ap-primary-light); }
.ap-vehicle__hint { margin: 8px 0 0; font-size: 14px; color: #6c757d; }
.dark .ap-vehicle__hint { color: #94a3b8; }
.ap-vehicle__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ap-vehicle__card { display: flex; flex-direction: column; min-width: 0; height: 100%; overflow: hidden; background: var(--ap-surface); border: 1px solid var(--ap-border); border-radius: 8px; color: #0f1111; }
.dark .ap-vehicle__card { color: #e2e8f0; }
.ap-vehicle__photo { display: flex; align-items: center; justify-content: center; height: 200px; background: #fff; }
.dark .ap-vehicle__photo { background: #0f172a; }
.ap-vehicle__photo img { width: 100%; height: 200px; object-fit: contain; border-radius: 8px 8px 0 0; }
.ap-vehicle__placeholder { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; color: var(--ap-muted); }
.ap-vehicle__placeholder svg { width: 56px; height: 56px; }
.ap-vehicle__info { display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; padding: 12px; }
.ap-vehicle__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; height: 44px; min-height: 44px; margin: 0; font-size: 16px; line-height: 1.35; font-weight: 500; color: #0f1111; }
.dark .ap-vehicle__name { color: #e2e8f0; }
.ap-vehicle__name a { color: #0f1111; }
.dark .ap-vehicle__name a { color: #e2e8f0; }
.ap-vehicle__name a:hover { color: var(--ap-primary); }
.dark .ap-vehicle__name a:hover { color: #93c5fd; }
.ap-vehicle__price { margin: 0; font-size: 20px; font-weight: 700; color: #b12704; }
.dark .ap-vehicle__price { color: #fca5a5; }
.ap-vehicle__stock { font-size: 16px; }
.ap-vehicle__stock .ap-stock { font-size: 16px; }
.ap-vehicle__add { display: block; margin-top: auto; padding: 10px 12px; border-radius: 8px !important; text-align: center; background: var(--ap-primary); color: #fff; font-size: 14px; font-weight: 600; }
.ap-vehicle__add:hover { color: #fff; background: var(--ap-primary-light); }
.ap-vehicle__add.is-disabled { background: #94a3b8; cursor: default; }
.ap-vehicle__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 8px; }
.ap-vehicle__page { min-width: 32px; padding: 6px 10px; border: 1px solid var(--ap-border); border-radius: 6px; color: var(--ap-text); text-align: center; }
.ap-vehicle__page.is-current { background: var(--ap-primary); border-color: var(--ap-primary); color: #fff; }
.ap-vehicle__empty { padding: 40px; text-align: center; background: var(--ap-surface); border: 1px solid var(--ap-border); border-radius: 12px; }
@media (max-width: 1024px) { .ap-vehicle__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .ap-vehicle__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ap-vehicle__grid { grid-template-columns: 1fr; } }
