/* ==========================================================================
   Asumbi Auto Spares – public site
   Brand colours come from the logo: navy + red. Type: Outfit.
   ========================================================================== */
:root {
  --navy: #13233a;
  --navy-2: #1b2d47;
  --navy-3: #26405f;
  --red: #e3262b;
  --red-deep: #c21d22;
  --red-soft: #fdeceb;
  --soft: #eef1f5;
  --soft-2: #e4e8ee;
  --white: #ffffff;
  --text: #1c2533;
  --muted: #5d6879;
  --line: #e1e6ec;
  --green: #1c8a4f;
  --amber: #f2a900;

  /* aliases used by the dashboard stylesheet */
  --asphalt: var(--navy); --asphalt-2: var(--navy-2); --asphalt-3: var(--navy-3);
  --yellow: var(--red); --yellow-deep: var(--red-deep); --yellow-soft: var(--red-soft);
  --blue: var(--navy-3); --blue-deep: var(--navy); --blue-soft: #e7edf5;
  --concrete: var(--soft); --concrete-2: var(--soft-2); --rust: var(--red-deep);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px;
  --shadow: 0 18px 40px -22px rgba(19, 35, 58, .45);
  --topbar-h: 36px;
  --header-h: 72px;

  --bs-body-font-family: var(--font);
  --bs-body-color: var(--text);
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 194, 29, 34;
  --bs-link-hover-color-rgb: 19, 35, 58;
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: inherit; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.text-muted-2 { color: var(--muted) !important; }
.text-red { color: var(--red) !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .75rem; }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy-2); color: #dfe6ef; }

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-font-weight: 600; --bs-btn-padding-y: .72rem; --bs-btn-padding-x: 1.3rem; --bs-btn-border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { --bs-btn-padding-y: .95rem; --bs-btn-padding-x: 1.7rem; --bs-btn-font-size: 1.08rem; }
.btn-red, .btn-sign {
  --bs-btn-color: #fff; --bs-btn-bg: var(--red); --bs-btn-border-color: var(--red);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--red-deep); --bs-btn-hover-border-color: var(--red-deep);
  --bs-btn-active-bg: var(--red-deep); --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--red); --bs-btn-disabled-border-color: var(--red); --bs-btn-disabled-color: #fff;
}
.btn-red:hover, .btn-sign:hover { box-shadow: 0 10px 24px -12px rgba(227, 38, 43, .8); }
.btn-navy, .btn-blue {
  --bs-btn-color: #fff; --bs-btn-bg: var(--navy-2); --bs-btn-border-color: var(--navy-2);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy); --bs-btn-hover-border-color: var(--navy);
  --bs-btn-active-bg: var(--navy); --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--navy-2); --bs-btn-disabled-border-color: var(--navy-2);
}
.btn-outline-light-2, .btn-ghost-light {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.85); --bs-btn-border-width: 1.5px;
  --bs-btn-hover-color: var(--navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
}
.btn-ghost {
  --bs-btn-color: var(--text); --bs-btn-border-color: var(--line); --bs-btn-border-width: 1.5px;
  --bs-btn-hover-color: var(--text); --bs-btn-hover-bg: var(--soft); --bs-btn-hover-border-color: var(--soft-2);
}
.btn-whatsapp {
  --bs-btn-color: #fff; --bs-btn-bg: var(--green); --bs-btn-border-color: var(--green);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #167140; --bs-btn-hover-border-color: #167140;
}
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; }

/* ---------- Progress bar ---------- */
#topbar-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 2000; background: var(--red); transform-origin: left; transform: scaleX(0); opacity: 0; transition: transform .4s ease, opacity .3s ease; }
#topbar-progress.is-active { opacity: 1; transform: scaleX(.7); transition: transform 8s cubic-bezier(.1,.6,.1,1), opacity .2s; }
#topbar-progress.is-done { opacity: 0; transform: scaleX(1); transition: transform .25s ease, opacity .4s ease .2s; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #e3e9f1; font-size: .84rem; height: var(--topbar-h); display: flex; align-items: center; }
.topbar a { color: #e3e9f1; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar .bi { font-size: 1.05rem; }
.topbar .bi-telephone-fill, .topbar .bi-geo-alt-fill { color: var(--red); }
.topbar .bi-whatsapp { color: #3ad07b; }
.topbar-list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.topbar-list li + li { margin-left: .9rem; padding-left: .9rem; border-left: 1px solid rgba(255,255,255,.18); }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(19,35,58,.35); }
.header-row { min-height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; padding-right: 1.5rem; border-right: 1px solid var(--line); }
.brand-logo img { height: 48px; width: auto; }
.header-search { flex: 1 1 auto; max-width: 560px; }
.search-box { display: flex; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; transition: border-color .15s; }
.search-box:focus-within { border-color: var(--navy-3); }
.search-box input { flex: 1; border: 0; padding: .6rem .9rem; font-size: .93rem; min-width: 0; background: transparent; }
.search-box input:focus { outline: none; }
.search-box button { border: 0; background: var(--red); color: #fff; width: 48px; font-size: 1.05rem; flex-shrink: 0; }
.search-box button:hover { background: var(--red-deep); }
.main-nav { display: flex; gap: .4rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.main-nav a { position: relative; display: block; padding: .4rem .75rem; color: var(--text); font-weight: 500; text-decoration: none; font-size: .98rem; }
.main-nav a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: -2px; height: 3px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover { color: var(--red); }
.main-nav a.is-active { color: var(--red); }
.main-nav a.is-active::after, .main-nav a:hover::after { transform: scaleX(1); }
/* Dropdowns for pages placed "inside a dropdown" in the dashboard */
.main-nav li.has-sub { position: relative; }
.main-nav .nav-caret { font-size: .7rem; margin-left: .3rem; transition: transform .2s; }
.main-nav li.has-sub:hover .nav-caret, .main-nav li.has-sub:focus-within .nav-caret { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: .45rem; position: absolute; left: 0; top: calc(100% + 6px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 1050; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.main-nav li.has-sub:hover > .sub-menu, .main-nav li.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { padding: .5rem .75rem; border-radius: var(--r-sm); font-size: .92rem; white-space: nowrap; }
.sub-menu a::after { display: none; }
.sub-menu a:hover, .sub-menu a.is-active { background: var(--red-soft); color: var(--red-deep); }
.sub-menu-wide { min-width: 290px; }
.sub-menu .sub-all { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .3rem; }
.sub-menu .sub-all a { font-weight: 600; color: var(--red); }
.header-icons { display: flex; align-items: center; gap: 1.1rem; margin-left: 1rem; }
.icon-btn { position: relative; color: var(--navy); font-size: 1.45rem; line-height: 1; text-decoration: none; background: none; border: 0; padding: .25rem; }
.icon-btn:hover { color: var(--red); }
.icon-btn .badge-dot { position: absolute; top: -5px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.nav-toggle { display: none; }
.user-chip { width: 34px; height: 34px; border-radius: 50%; background: var(--navy-2); color: #fff; display: inline-grid; place-items: center; font-weight: 600; font-size: .85rem; }

@media (max-width: 1199.98px) {
  .brand-logo { padding-right: 1rem; }
  .header-row { gap: 1rem; }
  .main-nav a { padding-inline: .55rem; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 60px; }
  .brand-logo { border: 0; padding: 0; margin-right: auto; }
  .brand-logo img { height: 40px; }
  .header-search.desktop, .main-nav { display: none; }
  .header-icons { gap: .7rem; margin-left: 0; }
  .icon-btn { font-size: 1.35rem; }
  .nav-toggle { display: inline-block; }
  .mobile-search { padding: 0 0 .65rem; }
}
@media (min-width: 992px) { .mobile-search { display: none; } }

.offcanvas-nav .offcanvas-header { border-bottom: 1px solid var(--line); }
.offcanvas-nav .nav-link { color: var(--text); font-weight: 500; font-size: 1.1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .75rem; }
.offcanvas-nav .nav-link.is-active { color: var(--red); }
.offcanvas-nav .nav-link i { color: var(--red); width: 1.3rem; }
.offcanvas-nav .sub a { display: block; padding: .5rem 0 .5rem 2rem; color: var(--muted); text-decoration: none; }

/* ---------- Site search suggestions ---------- */
.header-search, .mobile-search { position: relative; }
.ss-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1060; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(19,35,58,.45); padding: .4rem; max-height: min(70vh, 560px); overflow-y: auto; }
.ss-panel.is-loading { opacity: .6; }
.ss-group + .ss-group { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .3rem; }
.ss-head { display: flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: .45rem .6rem .25rem; }
.ss-head em { font-style: normal; background: var(--soft); border-radius: 999px; padding: 0 .45rem; }
.ss-item { display: flex; align-items: center; gap: .7rem; padding: .45rem .6rem; border-radius: 9px; color: var(--text); text-decoration: none; }
.ss-item:hover, .ss-item.is-active, .ss-more.is-active, .ss-all.is-active { background: var(--soft); color: var(--text); }
.ss-thumb { flex: 0 0 46px; height: 38px; border-radius: 7px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: #9aa6b6; }
.ss-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ss-icon { flex: 0 0 34px; height: 34px; border-radius: 9px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.ss-text { flex: 1; min-width: 0; line-height: 1.25; }
.ss-text strong { display: block; font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-text span { display: block; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-price { font-weight: 700; font-size: .88rem; color: var(--navy); white-space: nowrap; }
.ss-more { display: flex; align-items: center; gap: .35rem; padding: .45rem .6rem; border-radius: 9px; font-size: .84rem; font-weight: 600; color: var(--red-deep); text-decoration: none; }
.ss-all { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; padding: .6rem; border-radius: 9px; background: var(--navy-2); color: #fff; font-weight: 600; font-size: .88rem; text-decoration: none; justify-content: center; }
.ss-all:hover, .ss-all.is-active { background: var(--navy); color: #fff; }
.ss-empty { display: flex; gap: .7rem; padding: .8rem; font-size: .88rem; }
.ss-empty i { color: var(--muted); font-size: 1.2rem; }
.ss-empty strong { display: block; }
.ss-empty span { color: var(--muted); }
.search-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.search-tabs a { padding: .4rem .85rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.search-tabs a:hover { border-color: var(--red); color: var(--red); }
.search-tabs em { font-style: normal; color: var(--muted); font-weight: 500; margin-left: .2rem; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; background: var(--navy-2); color: #fff; overflow: hidden; }
.hero-slider .swiper { height: auto; }
.hero-slider .swiper-slide { height: auto; }
.hero-slider.h-compact { --slider-h: 470px; }
.hero-slider.h-standard { --slider-h: 520px; }
.hero-slider.h-tall { --slider-h: 600px; }
.slide { position: relative; height: 100%; min-height: var(--slider-h, 520px); background: var(--navy-2); overflow: hidden; display: flex; align-items: center; }
.slide-media { position: absolute; inset: 0 0 0 auto; width: 62%; overflow: hidden; }
.slide.layout-full .slide-media { width: 100%; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1); }
.slide::before { /* dark panel blending into the photo */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(27, 45, 71, 1) 0%, rgba(27, 45, 71, 1) 36%,
    rgba(27, 45, 71, var(--overlay, .85)) 46%,
    rgba(27, 45, 71, calc(var(--overlay, .85) * .45)) 62%,
    rgba(27, 45, 71, 0) 80%);
}
.slide.layout-full::before { background: linear-gradient(90deg, rgba(19,35,58,var(--overlay,.85)) 0%, rgba(19,35,58,calc(var(--overlay,.85) * .7)) 45%, rgba(19,35,58,calc(var(--overlay,.85) * .2)) 100%); }
.ken-burns .swiper-slide-active .slide-media img { transform: scale(1.08); transition: transform 9s linear; }
/* Top padding clears the H1 strip; bottom padding clears the cards that overlap the hero. */
.slide-content { position: relative; z-index: 2; width: 100%; padding: 5.25rem 0 7.5rem; }
.slide-copy { max-width: 620px; }
.slide-title { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: #fff; margin: 0 0 1rem; max-width: 20ch; white-space: pre-line; }
.slide-sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: #d4dce7; max-width: 52ch; margin: 0 0 1.4rem; line-height: 1.55; }
.slide-features { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .55rem 2rem; list-style: none; padding: 0; margin: 0 0 1.75rem; }
.slide-features li { display: flex; align-items: center; gap: .55rem; font-size: .98rem; color: #eef2f7; white-space: nowrap; }
.slide-features i { color: var(--red); font-size: 1.15rem; width: 1.25rem; text-align: center; }
.slide-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.slide-actions .btn { min-width: 190px; }
.slide-actions .btn-lg { --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1rem; }

/* Fixed SEO H1 above the slides */
.hero-h1 { position: absolute; top: 1.5rem; left: 0; right: 0; z-index: 6; pointer-events: none; }
.hero-h1 h1 { display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .35rem .85rem .35rem .65rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px);
  color: #fff; font-size: clamp(.82rem, 1.1vw, .95rem); font-weight: 600; letter-spacing: .01em; line-height: 1.3; pointer-events: auto; }
.hero-h1 h1 i { color: var(--red); }

/* Text entrance animations, chosen per slide in the admin */
.slide-content [data-anim-item] { opacity: 0; }
.swiper-slide-active .slide-content [data-anim-item] { animation: var(--anim-name, s-fade-up) .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
.anim-fade-up    { --anim-name: s-fade-up; }
.anim-fade-right { --anim-name: s-fade-right; }
.anim-fade-left  { --anim-name: s-fade-left; }
.anim-zoom-in    { --anim-name: s-zoom-in; }
.anim-blur-in    { --anim-name: s-blur-in; }
.anim-none .slide-content [data-anim-item], .no-js .slide-content [data-anim-item] { opacity: 1; animation: none !important; }
@keyframes s-fade-up    { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes s-fade-right { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes s-fade-left  { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes s-zoom-in    { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes s-blur-in    { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: none; } }

.slider-arrow { position: absolute; top: 50%; z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.3rem; display: grid; place-items: center; transform: translateY(-50%); transition: background-color .15s; backdrop-filter: blur(4px); }
.slider-arrow:hover { background: var(--red); }
.slider-arrow.prev { left: 18px; } .slider-arrow.next { right: 18px; }
@media (max-width: 1599.98px) { .slider-arrow { display: none; } }
.hero-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 108px !important; display: flex; justify-content: center; gap: 8px; }
.hero-dots .swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,.5); opacity: 1; transition: width .25s, background-color .25s; border-radius: 6px; margin: 0 !important; }
.hero-dots .swiper-pagination-bullet-active { width: 28px; background: var(--red); }

@media (max-width: 991.98px) {
  .slide { min-height: 520px; align-items: flex-end; }
  .slide-media { width: 100%; height: 55%; inset: 0 0 auto 0; }
  .slide::before { background: linear-gradient(180deg, rgba(27,45,71,.15) 0%, rgba(27,45,71,.6) 35%, rgba(27,45,71,1) 58%); }
  .slide.layout-full::before { background: linear-gradient(180deg, rgba(19,35,58,.3) 0%, rgba(19,35,58,.95) 60%); }
  .slide.layout-full .slide-media { height: 100%; }
  .slide-content { padding: 13rem 0 6rem; }
  .slide-copy { max-width: none; }
  .slider-arrow { display: none; }
  .hero-dots { bottom: 76px !important; }
  .hero-h1 { top: .75rem; }
  .hero-h1 h1 { max-width: calc(100vw - 32px); }
}
@media (max-width: 575.98px) {
  .slide-actions .btn { min-width: 0; flex: 1 1 100%; }
  .slide-features { gap: .45rem 1rem; }
  .slide-features { grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
  .slide-features li { font-size: .9rem; white-space: normal; }
}

/* ---------- Category rail under the slider (matches the approved mockup) ---------- */
.cat-rail { position: relative; z-index: 6; margin-top: -96px; }
.cat-rail-panel { position: relative; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px -18px rgba(19, 35, 58, .45); }
.cat-swiper { overflow: hidden; border-radius: 10px; }
.cat-swiper .swiper-wrapper { display: flex; }
.cat-swiper .swiper-slide { height: auto; flex-shrink: 0; }
/* Before Swiper starts (or if it fails), still show three cards side by side. */
.cat-swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 16px) / 3); margin-right: 8px; }
@media (max-width: 991.98px) { .cat-swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 8px) / 2); } }
@media (max-width: 575.98px) { .cat-swiper:not(.swiper-initialized) .swiper-slide { width: 88%; } }

.cat-card { position: relative; display: block; height: 200px; border-radius: 9px; overflow: hidden; background: #1b2d47; color: #fff; text-decoration: none; }
.cat-card:hover, .cat-card:focus { color: #fff; }
.cat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s ease; }
.cat-card:hover .cat-img { transform: scale(1.05); }
.cat-icon { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4rem; color: rgba(255,255,255,.18); }
.cat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 35, 0) 35%, rgba(10, 20, 35, .55) 62%, rgba(10, 20, 35, .88) 100%); }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 .9rem .85rem 1.9rem; display: flex; align-items: flex-end; gap: .8rem; }
.cat-text { display: block; min-width: 0; }
.cat-label { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.25; letter-spacing: .01em; text-transform: uppercase; padding: .18rem .6rem; border-radius: 5px; margin-bottom: .45rem; }
.cat-caption { display: block; font-size: .86rem; line-height: 1.32; color: #fff; max-width: 32ch; }
.cat-go { margin-left: auto; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-size: .9rem; transition: background-color .15s, color .15s; }
.cat-card:hover .cat-go { background: var(--red); color: #fff; }
.cat-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.rail-dots { position: static !important; display: flex; justify-content: center; gap: 9px; margin-top: .8rem; min-height: 10px; }
.rail-dots .swiper-pagination-bullet { width: 10px; height: 10px; background: #c9d1dc; opacity: 1; margin: 0 !important; }
.rail-dots .swiper-pagination-bullet-active { background: var(--red); }
@media (max-width: 767.98px) {
  .cat-rail { margin-top: -64px; }
  .cat-card { height: 180px; }
  .cat-body { padding-left: .9rem; }
}

/* ---------- Feature strip ---------- */
.feature-strip { background: var(--soft); margin-top: 1.6rem; }
.feature-strip .row > div { position: relative; }
.feature-strip .row > div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: #cdd5df; }
.feature { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: 1.35rem .75rem; }
.feature i { font-size: 2.2rem; color: var(--navy); flex-shrink: 0; }
.feature strong { display: block; font-size: 1rem; font-weight: 600; line-height: 1.25; color: var(--navy); }
.feature span { display: block; color: #3d4a5c; font-size: .95rem; line-height: 1.3; }
@media (max-width: 991.98px) {
  .feature-strip .row > div:nth-child(3)::before { display: none; }
  .feature-strip .row > div:nth-child(n+3) { border-top: 1px solid #d8dee6; }
  .feature { justify-content: flex-start; padding: 1rem .75rem; }
  .feature i { font-size: 1.8rem; }
}

/* ---------- Symptom picker ---------- */
.picker { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.picker-tabs { display: flex; gap: .25rem; flex-wrap: wrap; padding: .75rem 1rem 0; border-bottom: 1px solid var(--line); }
.picker-tab { appearance: none; border: 0; background: transparent; color: var(--muted); font-weight: 600; padding: .8rem 1rem; border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: .5rem; }
.picker-tab:hover { color: var(--text); }
.picker-tab[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.picker-body { display: grid; grid-template-columns: 1.25fr 1fr; }
@media (max-width: 767.98px) { .picker-body { grid-template-columns: 1fr; } }
.picker-symptoms { padding: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; align-content: flex-start; }
.symptom { appearance: none; border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: .55rem 1.05rem; font-weight: 500; font-size: .98rem; transition: border-color .15s, background-color .15s, color .15s; }
.symptom:hover { border-color: var(--navy-3); }
.symptom[aria-pressed="true"] { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.picker-result { background: var(--soft); padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); min-height: 240px; }
@media (max-width: 767.98px) { .picker-result { border-left: 0; border-top: 1px solid var(--line); } }
.picker-result h3 { font-size: 1.7rem; margin: .25rem 0 .5rem; }
.picker-result .price { font-size: 1.2rem; font-weight: 600; color: var(--red-deep); }
.picker-result .hint { color: var(--muted); }
.picker-result.is-updated { animation: flash .5s ease; }
@keyframes flash { from { background: var(--red-soft); } to { background: var(--soft); } }

/* ---------- Generic cards / rows ---------- */
.offer { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 600; padding: .25rem .65rem; border-radius: 6px; margin: 0 .35rem .35rem 0; }
.offer-parts { background: #e7edf5; color: var(--navy-2); }
.offer-repair { background: var(--red-soft); color: var(--red-deep); }

.service-row { display: grid; grid-template-columns: minmax(220px, 360px) 1fr auto; gap: 2rem; align-items: center; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-media { border-radius: var(--r-md); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media .icon-fallback { font-size: 4rem; color: var(--navy-3); }
.service-row h2, .service-row h3 { font-size: 1.75rem; margin-bottom: .4rem; }
.service-row h2 a, .service-row h3 a { color: inherit; text-decoration: none; }
.service-row h2 a:hover, .service-row h3 a:hover { color: var(--red); }
.service-row p { color: var(--muted); max-width: 58ch; margin-bottom: .9rem; }
.service-price { text-align: right; min-width: 180px; }
.service-price .from { font-size: .9rem; color: var(--muted); display: block; }
.service-price .amount { font-size: 2rem; font-weight: 700; line-height: 1; display: block; margin-bottom: .9rem; }
.service-actions { display: flex; flex-direction: column; gap: .5rem; }
@media (max-width: 991.98px) {
  .service-row { grid-template-columns: 220px 1fr; }
  .service-price { grid-column: 1 / -1; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
  .service-price .amount { margin: 0; }
  .service-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 575.98px) { .service-row { grid-template-columns: 1fr; gap: 1rem; } }

.shop-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.shop-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.shop-card .media { aspect-ratio: 16/10; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.shop-card .media img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.shop-card h2, .shop-card h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.shop-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.shop-card .price { font-weight: 700; font-size: 1.15rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 1.6rem; }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 1rem; }
.step h3 { color: #fff; margin-bottom: .45rem; }
.step p { color: #c4cfdc; margin: 0; }

/* ---------- Why us ---------- */
.why-photo { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.why-photo img { display: block; width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.why-stat { position: absolute; left: 1rem; bottom: 1rem; background: #fff; border-radius: var(--r-md); padding: .9rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: 1.5rem; }
.why-stat strong { display: block; font-size: 1.7rem; line-height: 1; color: var(--red); }
.why-stat span { font-size: .85rem; color: var(--muted); }
.reason { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.reason:first-of-type { padding-top: 0; }
.reason:last-of-type { border-bottom: 0; }
.reason .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.reason h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.reason p { margin: 0; color: var(--muted); }
.makes { display: flex; flex-wrap: wrap; gap: .5rem; }
.make { font-weight: 600; font-size: 1rem; padding: .4rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy-2); }

/* ---------- Testimonials ---------- */
.quote-block { padding: 1.75rem; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.quote-block blockquote { font-size: 1.08rem; margin: .6rem 0 1.25rem; flex: 1; }
.quote-stars { color: var(--amber); letter-spacing: 2px; }
.quote-who strong { display: block; }
.quote-who span { color: var(--muted); font-size: .92rem; }

/* ---------- Forms ---------- */
.quote-panel { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 40px 70px -40px rgba(0,0,0,.6); }
.form-label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.form-control, .form-select { border-radius: var(--r-sm); border: 1.5px solid var(--line); padding: .72rem .9rem; font-size: 1rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--navy-3); box-shadow: 0 0 0 .2rem rgba(38,64,95,.15); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--red); }
.invalid-feedback { color: var(--red-deep); font-weight: 500; }
.form-check-input:checked { background-color: var(--red); border-color: var(--red); }
.form-alert { border-radius: var(--r-sm); background: var(--red-soft); color: var(--red-deep); padding: .75rem 1rem; font-weight: 500; }
.form-alert:empty { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-line { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-line i { font-size: 1.3rem; color: var(--red); }
.contact-line small { display: block; color: #9fb0c3; }
.contact-line a, .contact-line strong { color: #fff; text-decoration: none; font-weight: 600; }
.map-frame { border: 0; width: 100%; height: 280px; border-radius: var(--r-md); }

.photo-pick { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; border: 1.5px dashed var(--line); border-radius: var(--r-sm); cursor: pointer; overflow: hidden; color: var(--muted); font-size: .92rem; background: #fff; }
.photo-pick:hover { border-color: var(--red); color: var(--red); }
.photo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-pick-empty { display: inline-flex; gap: .45rem; align-items: center; }
.photo-pick.has-photo { justify-content: flex-start; padding-left: 52px; border-style: solid; color: var(--text); }
.photo-pick img { position: absolute; left: 4px; top: 4px; width: 38px; height: 34px; object-fit: cover; border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq .accordion-button { font-size: 1.15rem; font-weight: 600; padding: 1.15rem 0; background: transparent; color: var(--text); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--red); }
.faq .accordion-body { padding: 0 0 1.3rem; color: var(--muted); max-width: 72ch; }

/* ---------- Inner page hero + breadcrumbs ---------- */
.page-hero { background: var(--navy-2); color: #dfe6ef; padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; overflow: hidden; }
.page-hero.has-image { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-hero .bg { position: absolute; inset: 0 0 0 auto; width: 55%; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-2) 0%, rgba(27,45,71,.7) 40%, rgba(27,45,71,.25) 100%); }
@media (max-width: 767.98px) { .page-hero .bg { width: 100%; opacity: .35; } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: .5rem 0 .75rem; max-width: 22ch; }
.page-hero p { color: #c9d3df; font-size: 1.15rem; max-width: 56ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.crumbs a { color: #aebccc; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #6f8299; }
.crumbs li[aria-current] { color: #fff; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3a4556; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.side-card .amount { font-size: 2.2rem; font-weight: 700; line-height: 1; }
@media (min-width: 992px) { .sticky-aside { position: sticky; top: 120px; } }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .6rem; padding: .45rem 0; }
.check-list i { color: var(--red); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.problem { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-weight: 500; }
.problem i { color: var(--red); font-size: 1.15rem; }

.info-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; height: 100%; background: #fff; display: flex; gap: 1rem; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
a.info-card:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--text); }
.info-card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.35rem; flex-shrink: 0; }
.info-card strong { display: block; font-size: 1.05rem; }
.info-card span { color: var(--muted); font-size: .95rem; }

/* Tracking timeline */
.timeline { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .25rem; }
.timeline li { display: flex; gap: .85rem; align-items: center; padding: .55rem 0; color: var(--muted); }
.timeline .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .8rem; background: #fff; flex-shrink: 0; }
.timeline li.done { color: var(--text); }
.timeline li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.current { font-weight: 600; }
.timeline li.current .dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px var(--red-soft); }

/* Empty states */
.empty { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.empty-icon { width: 80px; height: 80px; margin: 0 auto 1.1rem; border-radius: 22px; display: grid; place-items: center; background: var(--soft); font-size: 2.1rem; color: var(--navy-3); }
.empty h2, .empty h3 { font-size: 1.7rem; margin-bottom: .45rem; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.25rem; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.75rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; color: #ffe1e1; }
.cta-band .btn-light { --bs-btn-color: var(--red-deep); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aebccc; padding: 4rem 0 0; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer a { color: #d3dce7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .28rem 0; }
.footer-logo img { height: 66px; width: auto; }
.footer-areas { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.75rem; padding-top: 1.5rem; }
.footer-areas span { display: inline-block; font-size: .88rem; padding: .25rem .7rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; margin: 0 .35rem .45rem 0; color: #c2cedb; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 1.5rem; padding: 1.25rem 0; font-size: .9rem; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-2); margin-right: .4rem; text-decoration: none !important; }
.social a:hover { background: var(--red); }

/* ==========================================================================
   Shop: product cards, listing, product page, cart, checkout
   ========================================================================== */
.featured-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.featured-head h2 { margin: 0 0 .5rem; }
.featured-head .lede { max-width: 60ch; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .product-grid, .product-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }

.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.product-card:hover { box-shadow: 0 16px 36px -20px rgba(19,35,58,.45); transform: translateY(-2px); border-color: #d3dae3; }
.product-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.5rem; color: #b6c1cf; }
.product-badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.pbadge { display: inline-block; font-size: .72rem; font-weight: 600; padding: .18rem .5rem; border-radius: 5px; background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.pbadge-new { background: var(--navy-2); color: #fff; }
.pbadge-sale { background: var(--red); color: #fff; }
.product-side { position: absolute; right: .6rem; bottom: .6rem; font-size: .72rem; font-weight: 600; padding: .15rem .5rem; border-radius: 5px; background: rgba(19,35,58,.82); color: #fff; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: .85rem .95rem 1rem; }
.product-cat { font-size: .74rem; font-weight: 600; color: var(--red); text-decoration: none; text-transform: uppercase; letter-spacing: .03em; }
.product-cat:hover { color: var(--red-deep); }
.product-name { font-size: .98rem; font-weight: 600; line-height: 1.3; margin: .25rem 0 .35rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name a { color: var(--text); text-decoration: none; }
.product-name a:hover { color: var(--red); }
.product-fits { font-size: .8rem; color: var(--muted); margin: 0 0 .6rem; display: flex; gap: .35rem; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-body .product-price { margin-top: auto; display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.product-buy { display: flex; gap: .45rem; margin-top: .6rem; }
.product-buy .btn-add { flex: 1; }
.qty-sm button { width: 28px; height: 34px; font-size: .85rem; }
.qty-sm input { width: 30px; font-size: .88rem; }
.btn-add.is-added { --bs-btn-bg: #1c8a4f; --bs-btn-border-color: #1c8a4f; --bs-btn-disabled-bg: #1c8a4f; --bs-btn-disabled-border-color: #1c8a4f; }

/* "Added to cart" toast with actions */
.cart-toast { display: flex; gap: .75rem; align-items: flex-start; background: #fff; color: var(--text); border-radius: var(--r-md); padding: .8rem; margin-bottom: .6rem;
  box-shadow: 0 22px 44px -18px rgba(19,35,58,.5); border: 1px solid var(--line); border-left: 4px solid #1c8a4f; animation: toast-in .25s ease; }
.cart-toast.is-limited { border-left-color: #d98a00; }
.cart-toast-img { flex: 0 0 56px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: #9aa6b6; }
.cart-toast-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-toast-body { flex: 1; min-width: 0; }
.cart-toast-title { display: flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; color: #1c8a4f; }
.cart-toast.is-limited .cart-toast-title { color: #b26b00; }
.cart-toast-name { font-size: .84rem; font-weight: 500; line-height: 1.3; margin: .1rem 0 .15rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-toast-meta { font-size: .78rem; color: var(--muted); }
.cart-toast-actions { display: flex; gap: .4rem; margin-top: .55rem; }
.cart-toast-actions .btn { --bs-btn-padding-y: .3rem; --bs-btn-padding-x: .7rem; --bs-btn-font-size: .8rem; }
.cart-toast .btn-close { font-size: .7rem; }
.product-price strong { display: block; font-size: 1.1rem; color: var(--navy); line-height: 1.1; }
.product-price s { font-size: .78rem; color: var(--muted); }
.btn-add { --bs-btn-padding-y: .45rem; --bs-btn-padding-x: .75rem; --bs-btn-font-size: .85rem; white-space: nowrap; }
.product-stock { font-size: .74rem; font-weight: 600; margin-top: .45rem; }
.product-stock.low { color: #b26b00; }
.product-stock.out { color: var(--muted); }
@media (max-width: 575.98px) {
  .product-body { padding: .7rem .7rem .8rem; }
  .product-name { font-size: .9rem; }
  .product-buy { flex-direction: column; }
  .product-buy .qty { align-self: stretch; justify-content: space-between; }
  .product-buy .qty input { flex: 1; }
  .product-price strong { font-size: 1rem; }
}

/* Listing + filters */
.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 991.98px) { .shop-layout { grid-template-columns: 1fr; } }
.shop-mobilebar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.filter-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; }

@media (min-width: 992px) {
  /* Bootstrap makes .offcanvas-lg transparent on desktop, so the card styling goes on the form. */
  .shop-filters { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto; scrollbar-width: thin; border-radius: var(--r-lg); }
  #shopFiltersForm { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem; }
}
@media (max-width: 991.98px) {
  .shop-filters { width: min(360px, 92vw) !important; }
  .shop-filters .offcanvas-body { padding: 1rem 1.1rem 1.5rem; }
}
.filter-block { border: 0; margin: 0 0 1.25rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--line); min-width: 0; }
.filter-block:last-of-type { border-bottom: 0; }
.filter-step { display: flex; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 700; color: var(--navy); margin: 0 0 .7rem; float: none; width: auto; }
.filter-step span { width: 22px; height: 22px; border-radius: 50%; background: var(--navy-2); color: #fff; font-size: .72rem; display: grid; place-items: center; }
.filter-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 .4rem; }
.filter-hint { font-size: .84rem; color: var(--muted); margin: .6rem 0 0; display: flex; gap: .35rem; align-items: center; }
.search-box-sm input { padding: .5rem .75rem; font-size: .9rem; }
.search-box-sm button { width: 42px; font-size: .95rem; }

/* Filter groups + dropdowns */
.filter-group { padding: 0 0 1.1rem; margin: 0 0 1.1rem; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; margin-bottom: .6rem; }
.fdd { margin-bottom: .7rem; }
.fdd:last-child { margin-bottom: 0; }
.fdd-title { display: block; font-size: .8rem; font-weight: 600; color: var(--navy); margin: 0 0 .3rem; }
.fdd-toggle, .fdd-select {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  min-height: 42px; padding: .5rem .75rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text); font-size: .92rem; text-align: left; transition: border-color .15s, box-shadow .15s;
}
.fdd-select { appearance: none; padding-right: 2.2rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%235d6879' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right .8rem center / 12px; }
.fdd-toggle:hover, .fdd-select:hover { border-color: #b9c4d2; }
.fdd-toggle:focus-visible, .fdd-select:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(38,64,95,.15); }
.fdd-toggle i { color: var(--muted); transition: transform .2s; }
.fdd-summary { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.fdd.has-value .fdd-toggle { border-color: var(--red); background: var(--red-soft); }
.fdd.has-value .fdd-summary { color: var(--red-deep); font-weight: 600; }
.fdd.is-open .fdd-toggle { border-color: var(--navy-3); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.fdd.is-open .fdd-toggle i { transform: rotate(180deg); }
.fdd-toggle:disabled { background: var(--soft); cursor: not-allowed; opacity: .75; }
.fdd-menu { border: 1.5px solid var(--navy-3); border-top: 0; border-radius: 0 0 10px 10px; background: #fff; padding: .35rem; animation: fdd-in .15s ease; }
@keyframes fdd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fdd-search { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: .4rem .6rem; font-size: .88rem; margin-bottom: .35rem; }
.fdd-search:focus { outline: none; border-color: var(--navy-3); }
.fdd-options { max-height: 240px; overflow-y: auto; display: grid; gap: 1px; scrollbar-width: thin; }
.fdd-foot { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem .15rem .1rem; margin-top: .3rem; border-top: 1px solid var(--line); }
.filter-switches { display: grid; gap: .45rem; margin-top: .9rem; }

/* Checkbox options with live counts */
.opt-list { display: grid; gap: 2px; }
.opt-list-scroll { max-height: 236px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.opt-group { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .5rem .4rem .2rem; }
.opt { position: relative; display: flex; align-items: center; gap: .55rem; padding: .42rem .5rem; border-radius: 8px; cursor: pointer; font-size: .92rem; transition: background-color .12s; }
.opt:hover { background: var(--soft); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-box { flex: 0 0 18px; height: 18px; border-radius: 5px; border: 1.5px solid #b8c2cf; display: grid; place-items: center; color: transparent; font-size: .75rem; transition: all .12s; }
.opt input:checked ~ .opt-box { background: var(--red); border-color: var(--red); color: #fff; }
.opt input:focus-visible ~ .opt-box { outline: 3px solid rgba(227,38,43,.3); outline-offset: 1px; }
.opt input:checked ~ .opt-label { font-weight: 600; color: var(--navy); }
.opt-icon { color: var(--muted); font-size: 1rem; }
.opt input:checked ~ .opt-icon { color: var(--red); }
.opt-label { flex: 1; min-width: 0; line-height: 1.25; }
.opt-count { font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--soft); border-radius: 999px; padding: .05rem .45rem; min-width: 26px; text-align: center; }
.opt.is-empty { opacity: .45; }

/* Pill options (side, condition) */
.pill-opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill-opt { position: relative; cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill-opt span { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .7rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .84rem; font-weight: 500; transition: all .12s; background: #fff; }
.pill-opt em { font-style: normal; font-size: .72rem; color: var(--muted); }
.pill-opt:hover span { border-color: #b9c4d2; }
.pill-opt input:checked + span { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.pill-opt input:checked + span em { color: #c5d1e0; }
.pill-opt input:focus-visible + span { outline: 3px solid rgba(227,38,43,.3); }
.pill-opt.is-empty { opacity: .45; }
.shop-filters .form-switch .form-check-input { cursor: pointer; }
.shop-filters .form-check-input:checked { background-color: var(--red); border-color: var(--red); }

.filter-help { display: flex; gap: .7rem; padding: .85rem; border-radius: 12px; background: var(--soft); color: var(--text); text-decoration: none; font-size: .85rem; }
.filter-help i { color: #1c8a4f; font-size: 1.4rem; }
.filter-help strong { display: block; }
.filters-foot { display: flex; gap: .5rem; padding: .85rem 1.1rem; border-top: 1px solid var(--line); background: #fff; }

/* Results */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.shop-toolbar .form-select-sm { min-width: 180px; padding-top: .35rem; padding-bottom: .35rem; }
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: 1rem; }
.filter-chip { display: inline-flex; align-items: center; gap: .25rem; border: 0; background: var(--red-soft); color: var(--red-deep); font-size: .82rem; font-weight: 600; padding: .3rem .4rem .3rem .7rem; border-radius: 999px; }
.filter-chip i { font-size: 1rem; line-height: 1; }
.filter-chip:hover { background: var(--red); color: #fff; }
.filter-clear { font-size: .84rem; font-weight: 600; color: var(--muted); margin-left: .25rem; }
.results-wrap { position: relative; min-height: 240px; transition: opacity .2s; }
.results-wrap.is-loading { opacity: .45; pointer-events: none; }
.results-wrap.is-loading::after { content: ""; position: absolute; top: 90px; left: 50%; width: 34px; height: 34px; margin-left: -17px;
  border: 3px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pagination .page-link { color: var(--navy); border-color: var(--line); }

/* Product page */
.crumbs-dark a { color: var(--muted); } .crumbs-dark a:hover { color: var(--red); }
.crumbs-dark li + li::before { color: #b2bccb; } .crumbs-dark li[aria-current] { color: var(--text); }
.pd-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; }
.pd-thumbs button { flex: 0 0 76px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--soft); }
.pd-thumbs button.is-on { border-color: var(--red); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin: .35rem 0 .6rem; }
.pd-price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: .9rem; }
.pd-price strong { font-size: 1.9rem; color: var(--navy); }
.pd-price s { color: var(--muted); }
.pd-specs { list-style: none; padding: 0; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.pd-specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .9rem; font-size: .93rem; }
.pd-specs li + li { border-top: 1px solid var(--line); }
.pd-specs span { color: var(--muted); }
.pd-buy { display: flex; gap: .6rem; }
.pd-perks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .45rem; font-size: .92rem; color: var(--muted); }
.pd-perks i { color: var(--red); margin-right: .5rem; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: none; width: 30px; height: 30px; color: var(--navy); font-size: .95rem; }
.qty button:hover { background: var(--soft); }
.qty input { width: 38px; border: 0; text-align: center; font-weight: 600; font-size: .9rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-lg button { width: 44px; height: 50px; font-size: 1.1rem; }
.qty-lg input { width: 48px; font-size: 1rem; }
.qty.is-busy { opacity: .5; pointer-events: none; }

/* Cart drawer */
.cart-drawer { width: min(420px, 100vw) !important; }
.cart-drawer .offcanvas-header { border-bottom: 1px solid var(--line); }
.cart-drawer .offcanvas-body { display: flex; flex-direction: column; padding: 0; }
.drawer-items { flex: 1; overflow-y: auto; padding: .5rem 1rem; }
.drawer-item { position: relative; display: flex; gap: .75rem; padding: .85rem 1.6rem .85rem 0; border-bottom: 1px solid var(--line); }
.drawer-thumb { flex: 0 0 68px; height: 58px; border-radius: 8px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: #b6c1cf; }
.drawer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-info { flex: 1; min-width: 0; }
.drawer-name { display: block; font-weight: 600; font-size: .9rem; line-height: 1.3; color: var(--text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-meta { font-size: .78rem; color: var(--muted); }
.drawer-remove { position: absolute; top: .8rem; right: 0; border: 0; background: none; color: var(--muted); width: 26px; height: 26px; border-radius: 6px; }
.drawer-remove:hover { background: var(--red-soft); color: var(--red); }
.drawer-foot { padding: 1rem; border-top: 1px solid var(--line); background: var(--soft); }
.icon-btn .badge-dot.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Cart page */
.cart-table { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.cart-row { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) auto 110px 36px; gap: 1rem; align-items: center; padding: .9rem 1rem; }
.cart-row + .cart-row { border-top: 1px solid var(--line); }
.cart-row .drawer-remove { position: static; }
.cart-thumb { height: 70px; border-radius: 8px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: #b6c1cf; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { display: block; font-weight: 600; color: var(--text); text-decoration: none; line-height: 1.3; }
.cart-meta { display: block; font-size: .8rem; color: var(--muted); }
.cart-line { text-align: right; }
@media (max-width: 767.98px) {
  .cart-row { grid-template-columns: 72px minmax(0, 1fr) 30px; }
  .cart-row .qty { grid-column: 2; }
  .cart-row .cart-line { grid-column: 2; text-align: left; }
  .cart-row .drawer-remove { grid-row: 1; grid-column: 3; }
}

/* Checkout */
.checkout-step { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.checkout-step span { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-2); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice-body { display: block; height: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .15s, background-color .15s; }
.choice-body strong { display: block; font-size: .95rem; }
.choice-body span { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.choice-body em { display: block; font-style: normal; font-weight: 700; font-size: .9rem; color: var(--navy); margin-top: .4rem; }
.choice:hover .choice-body { border-color: #b9c4d2; }
.choice input:checked + .choice-body { border-color: var(--red); background: var(--red-soft); }
.choice input:focus-visible + .choice-body { outline: 3px solid rgba(227,38,43,.3); }
.choice.is-hidden { display: none; }
.summary-list { list-style: none; padding: 0; margin: 0; }
.summary-list li { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary-thumb { position: relative; flex: 0 0 52px; height: 44px; border-radius: 7px; background: var(--soft); }
.summary-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.summary-thumb em { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--navy-2); color: #fff; font-size: .7rem; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.summary-total { margin-top: .5rem; padding-top: .6rem; border-top: 1px solid var(--line); font-size: 1.1rem; }
.success-tick { width: 72px; height: 72px; border-radius: 50%; background: #e2f5ea; color: #1c8a4f; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 1rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.75rem; box-shadow: 0 12px 24px -8px rgba(0,0,0,.45); text-decoration: none; }
.wa-float:hover { background: #1ebe5b; color: #fff; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; top: 16px; right: 16px; z-index: 2100; width: min(390px, calc(100vw - 32px)); }
.app-toast { display: flex; gap: .8rem; align-items: flex-start; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: .9rem 1rem; margin-bottom: .6rem; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); border-left: 4px solid var(--red); animation: toast-in .25s ease; }
.app-toast.is-error { border-left-color: #ff6b5e; }
.app-toast.is-success { border-left-color: #3ad07b; }
.app-toast i { font-size: 1.2rem; line-height: 1.4; }
.app-toast .btn-close { margin-left: auto; filter: invert(1); opacity: .6; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none !important; } }
.auth-art { position: relative; overflow: hidden; color: #e7ecf2; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem; background: var(--navy-2); }
.auth-art img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,35,58,.55) 0%, rgba(19,35,58,.15) 30%, rgba(19,35,58,.25) 50%, rgba(19,35,58,.85) 80%); z-index: 1; }
.auth-art blockquote, .auth-art p { text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.auth-art > * { position: relative; z-index: 2; }
.auth-art blockquote { font-size: 2rem; line-height: 1.15; font-weight: 600; color: #fff; max-width: 22ch; margin: 0 0 1rem; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; background: #fff; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 2.4rem; margin-bottom: .4rem; }
.auth-logo img { height: 60px; width: auto; }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 3rem; }
.password-toggle { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); width: 2.4rem; height: 2.4rem; border-radius: 6px; }
.password-toggle:hover { color: var(--text); background: var(--soft); }
.strength { height: 5px; border-radius: 4px; background: var(--soft-2); overflow: hidden; margin-top: .5rem; }
.strength span { display: block; height: 100%; width: 0; background: var(--red); transition: width .25s, background-color .25s; }
.strength-label { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.divider-text { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .9rem; margin: 1.5rem 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 1rem; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; color: var(--red); line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .slide-content [data-anim-item] { opacity: 1 !important; }
}

/* Service page links on /services/ */
.svc-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.svc-link { position: relative; display: grid; gap: .3rem; padding: 1.1rem 2.6rem 1.15rem 1.15rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--red); color: var(--text); }
.svc-link strong { color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.svc-link span { color: var(--muted); font-size: .9rem; }
.svc-link i { position: absolute; right: 1rem; top: 1.2rem; color: var(--red); transition: transform .2s; }
.svc-link:hover i { transform: translateX(3px); }
.pb-0 { padding-bottom: 0 !important; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-top { margin-top: -2.4rem; position: relative; z-index: 2; padding-top: 0 !important; }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-top { margin-top: -1.4rem; } }
@media (max-width: 575.98px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { position: relative; display: flex; flex-direction: column; gap: .2rem; padding: 1.4rem 1.35rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 22px 44px -28px rgba(19,35,58,.45); color: var(--text); text-decoration: none; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.contact-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--red-deep)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -26px rgba(19,35,58,.55); color: var(--text); }
a.contact-card:hover::after { transform: scaleX(1); }
.cc-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-deep)); margin-bottom: .7rem; box-shadow: 0 10px 20px -10px rgba(227,38,43,.8); }
.contact-card.is-wa .cc-ico { background: linear-gradient(135deg, #25d366, #128c4a); box-shadow: 0 10px 20px -10px rgba(37,211,102,.8); }
.cc-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.cc-value { font-size: 1.15rem; font-weight: 700; color: var(--navy); text-decoration: none; word-break: break-word; line-height: 1.35; }
a.cc-value:hover { color: var(--red); }
.cc-note { margin-top: .35rem; font-size: .88rem; color: var(--muted); }
.eyebrow-red { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.eyebrow-red::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.lead-2 { font-size: 1.06rem; color: var(--muted); }
.visit-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.visit-list li { display: flex; gap: .85rem; align-items: flex-start; }
.visit-list i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.05rem; }
.visit-list strong { display: block; color: var(--navy); }
.visit-list span { color: var(--muted); font-size: .95rem; }
.contact-map { position: relative; height: 100%; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--soft); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin-card { position: absolute; left: 1rem; bottom: 1rem; right: auto; display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem .75rem .75rem; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-radius: var(--r-md); box-shadow: 0 16px 34px -18px rgba(0,0,0,.5); color: var(--text); text-decoration: none; max-width: calc(100% - 2rem); }
.map-pin-card .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; flex-shrink: 0; }
.map-pin-card strong { display: block; font-size: .95rem; color: var(--navy); }
.map-pin-card span span { font-size: .85rem; color: var(--muted); }
.map-pin-card > .bi-arrow-up-right { color: var(--red); margin-left: .4rem; }
.quote-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
@media (max-width: 991.98px) { .quote-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .quote-steps { grid-template-columns: 1fr; } }
.quote-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.2rem 1.2rem; display: grid; gap: .3rem; }
.quote-step .n { position: absolute; top: .9rem; right: 1rem; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--soft-2); }
.quote-step > i { font-size: 1.5rem; color: var(--red); margin-bottom: .2rem; }
.quote-step strong { color: var(--navy); font-size: 1.02rem; }
.quote-step span:not(.n) { color: var(--muted); font-size: .92rem; }
.area-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.area-chips span { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--navy); }
.area-chips i { color: var(--red); }
.contact-card a.cc-value { font-size: .98rem; overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 575.98px) {
  .contact-cards { gap: .7rem; }
  .contact-card { display: grid; grid-template-columns: 46px 1fr; column-gap: .9rem; row-gap: .05rem; padding: 1rem 1.05rem; align-items: start; }
  .contact-card > * { grid-column: 2; }
  .contact-card .cc-ico { grid-column: 1; grid-row: 1 / span 4; width: 46px; height: 46px; font-size: 1.15rem; margin: 0; }
  .contact-card .cc-note { margin-top: .15rem; font-size: .84rem; }
}
.footer-credit a { color: inherit; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); transition: color .15s, border-color .15s; }
.footer-credit a:hover { color: #fff; border-bottom-color: var(--red); }
