/* Accessories detail revamp (Figma: Pitching-2026 / e-VITARA) — desktop (default2019)
   ponytail: static reproduction. Catalog grid + pagination are data-driven ($parts);
   hero/CTA/gallery images are static per-car assets under img/accessories/<slug>/revamp/. */

.accr { color: #333; }
.accr-container { max-width: 1242px; margin: 0 auto; padding: 0 24px; }

/* ---------- HERO ---------- */
.accr-hero { position: relative; width: 100%; height: 500px; overflow: hidden; background: #dbdbdb; }
.accr-hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ---------- BREADCRUMB ---------- */
.accr-breadcrumb { padding: 16px 0; }
.accr-breadcrumb .accr-container { display: flex; gap: 8px; align-items: center;
  font-family: SuzukiPRORegular; font-size: 16px; line-height: 1.4; }
.accr-breadcrumb a { color: #808080; text-decoration: none; }
.accr-breadcrumb a:hover { color: #0549a8; }
.accr-breadcrumb .sep { color: #000; }
.accr-breadcrumb .current { color: #0098d9; }

/* ---------- CATALOG ---------- */
.accr-catalog { padding: 24px 0 60px; }
.accr-catalog__title { font-family: SuzukiPROBold; font-size: 32px; color: #333;
  text-align: center; margin: 24px 0; }

.accr-search { position: relative; max-width: 772px; margin: 0 auto 16px; }
.accr-search__input { width: 100%; height: 73px; border-radius: 24px;
  border: 1px solid rgba(51,51,51,0.16); background: #fff; padding: 0 70px 0 18px;
  font-family: SuzukiPRORegular; font-size: 14px; color: #333;
  box-shadow: 0 25px 50px -12px rgba(143,144,188,0.15); }
.accr-search__input::placeholder { color: rgba(51,51,51,0.7); font-size: 12px; }
.accr-search__input:focus { outline: none; border-color: rgba(51,51,51,0.4); }
.accr-search__btn { position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 37px; height: 37px; border-radius: 50%; border: 0; background: #dbdbdb;
  color: #555; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.accr-search__btn:hover { background: #cfcfcf; }

.accr-catalog__note { font-family: SuzukiPRORegular; font-size: 12px;
  color: rgba(51,51,51,0.6); line-height: 1.5; margin: 24px 0 32px; }

/* grid */
.accr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 14px; }
.accr-card { display: flex; flex-direction: column; background: #fafafa; border-radius: 8px;
  overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .3s, transform .3s; }
.accr-card:hover { box-shadow: 0 8px 24px rgba(33,33,33,.14); transform: translateY(-3px); }
.accr-card__media { background: #d8d2d2; aspect-ratio: 300 / 200; overflow: hidden; }
.accr-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.accr-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.accr-card__title { font-family: SuzukiPROBold; font-size: 18px; color: #333;
  text-transform: uppercase; line-height: 1.2; margin: 0; }
.accr-card__partno { font-family: SuzukiPRORegular; font-size: 14px;
  color: rgba(51,51,51,0.9); margin: 8px 0 0; }
.accr-card__price { font-family: SuzukiPROBold; font-size: 14px; color: #333; margin: 6px 0 0; }
.accr-card__link { font-family: SuzukiPROBold; font-size: 14px; color: #0549a8;
  margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 4px; }
.accr-card:hover .accr-card__link { color: #033a86; }

/* pagination */
.accr-pagination { display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 40px; font-family: SuzukiPRORegular; font-size: 16px; }
.accr-pagination a, .accr-pagination span { color: rgba(51,51,51,0.75); text-decoration: none;
  min-width: 32px; height: 32px; padding: 0 10px; border-radius: 22px;
  display: inline-flex; align-items: center; justify-content: center; }
.accr-pagination a:hover { background: #eef3fb; color: #0549a8; }
.accr-pagination .is-active { background: #0549a8; color: #fafafa; font-family: SuzukiPROBold; }
.accr-pagination .accr-pagination__dots { pointer-events: none; }
.accr-pagination .accr-pagination__nav { gap: 6px; }
.accr-pagination .accr-pagination__nav .bi { font-size: 14px; }

/* ---------- CTA BANNER ---------- */
.accr-cta { position: relative; min-height: 554px; display: flex; align-items: center;
  justify-content: flex-end; overflow: hidden; background: #d7d7d7;
  background-size: cover; background-position: center; }
.accr-cta__overlay { position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(0,0,0,0.63) 23%, rgba(0,0,0,0) 63%); }
/* Card = notched "tab" shape from Figma (Subtract). ::before holds the blurred glass clipped
   to the exact path; an <svg> overlay draws the matching stroke; content sits above. */
.accr-cta__card { position: relative; width: 534px; height: 390px;
  margin: 24px 100px 24px 24px; color: #fff; }
.accr-cta__card::before { content: ""; position: absolute; inset: 0; z-index: 0;
  clip-path: path("M289.803 39.3232C289.803 50.0677 298.513 58.7773 309.258 58.7773H509.682C523.112 58.7773 534 69.6651 534 83.0957V360.818C534 376.935 520.935 390 504.818 390H29.1816C13.0652 390 0.00022794 376.935 0 360.818V29.1816C0.000232651 13.0652 13.0652 0.000228266 29.1816 0H265.484C278.915 0 289.803 10.8877 289.803 24.3184V39.3232Z");
  background: radial-gradient(130% 130% at 12% 0%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.07) 45%, rgba(255,255,255,0.03) 100%);
  -webkit-backdrop-filter: blur(25px); backdrop-filter: blur(25px); }
.accr-cta__shape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.accr-cta__shape path { fill: none; stroke: rgba(255,255,255,0.45); stroke-width: 1; }
.accr-cta__content { position: relative; z-index: 2; height: 100%; padding: 24px;
  display: flex; flex-direction: column; gap: 32px; }
.accr-cta__badge { display: flex; align-items: center; justify-content: center;
  width: 236px; max-width: 100%; height: 52px; border: 1px solid rgba(255,255,255,0.6);
  border-radius: 9px; font-family: SuzukiPROBold; font-size: 18px; }
.accr-cta__text { display: flex; flex-direction: column; gap: 12px; }
.accr-cta__title { font-family: SuzukiPROBold; font-size: 32px; line-height: 1.15; margin: 0; max-width: 418px; }
.accr-cta__desc { font-family: SuzukiPRORegular; font-size: 16px; line-height: 1.35; margin: 0; }
.accr-cta__btns { display: flex; gap: 24px; flex-wrap: wrap; }

/* buttons */
.accr-btn { display: inline-flex; align-items: center; justify-content: center;
  border-radius: 110px; padding: 18px 28px; font-family: SuzukiPROBold; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: .25s ease; white-space: nowrap; }
.accr-btn--solid { background: #0549a8; color: #fff; border: 1px solid #0549a8; }
.accr-btn--solid:hover { background: #033a86; color: #fff; }
.accr-btn--outline { background: transparent; color: #fff; border: 1px solid #fff; }
.accr-btn--outline:hover { background: #fff; color: #0549a8; }

/* ---------- GALLERY ---------- */
.accr-gallery { padding: 60px 0; }
.accr-gallery__title { font-family: SuzukiPROBold; font-size: 32px; color: #333;
  text-align: center; margin: 0 0 32px; }
.accr-toggle { display: flex; gap: 12px; width: 307px; margin: 0 auto 40px; padding: 0;
  background: #fafafa; border-radius: 27px; height: 50px; align-items: center; }
.accr-toggle__btn { flex: 1; height: 42px; margin: 4px; border: 0; background: none; cursor: pointer;
  border-radius: 40px; font-family: SuzukiPRORegular; font-size: 16px; color: #a1a1a1; transition: .2s; }
.accr-toggle__btn.active { background: #0a51de; color: #fff; font-family: SuzukiPROBold; }
.accr-pane { display: none; }
.accr-pane.active { display: block; }

.accr-mosaic { display: flex; gap: 20px; }
.accr-mosaic__quad { flex: 0 0 auto; width: calc(60% - 10px);
  display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 20px; aspect-ratio: 1 / 1; }
.accr-mosaic__cell { border-radius: 8px; overflow: hidden; background: #d3d3d3;
  display: block; position: relative; }
.accr-mosaic__tall { flex: 1; border-radius: 8px; overflow: hidden; background: #d3d3d3;
  display: block; position: relative; }
.accr-mosaic__cell img, .accr-mosaic__tall img { width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform .4s ease; }
.accr-mosaic__cell:hover img, .accr-mosaic__tall:hover img { transform: scale(1.05); }
.accr-gallery__more { display: flex; justify-content: center; margin-top: 40px; }
/* min-width, not width: .accr-btn is nowrap, so a longer label than "Explore Now" would
   overflow a fixed 167px box instead of growing */
.accr-gallery__more .accr-btn { min-width: 167px; }

/* ---------- EXPLORE NOW (leaves the site, to auto.suzuki.co.id) ---------- */
.accr-explore-now { padding: 0 0 60px; }

/* ---------- EXPLORE MORE ---------- */
.accr-explore { background: #fafafa; padding: 50px 0; }
.accr-explore__title { font-family: SuzukiPROBold; font-size: 32px; color: #333;
  text-align: center; margin: 0 0 32px; }
.accr-explore__grid { display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; }
.accr-explore__item { flex: 0 0 320px; max-width: 320px; display: flex; flex-direction: column;
  align-items: center; gap: 16px; text-decoration: none; color: inherit; transition: transform .3s; }
.accr-explore__item:hover { transform: translateY(-4px); }
.accr-explore__item:hover .accr-explore__media img { transform: scale(1.04); }
.accr-explore__media img { transition: transform .4s ease; }
.accr-explore__media { width: 320px; max-width: 100%; height: 210px;
  display: flex; align-items: center; justify-content: center; }
.accr-explore__media img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.accr-explore__info { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.accr-explore__name { font-family: SuzukiPROBold; font-size: 18px; color: #333;
  text-transform: uppercase; text-align: center; margin: 0; }
.accr-explore__link { font-family: SuzukiPROBold; font-size: 16px; color: #0549a8; text-decoration: none; }
.accr-explore__link:hover { color: #033a86; }

/* ---------- OVERRIDE: shared service-section vs eparts.min.css ----------
   The accessories template loads eparts.min.css which has `.title{margin:-130px auto!important}`.
   That generic class hijacks the service card's <h3 class="title">, yanking it up 130px and
   centering it. Restore the intended title style (this file only loads on the revamp page). */
.service-section .card-content .title { margin: 0 0 10px !important; text-align: start !important; }

/* The motorcycle page sets the brand fonts globally (style.min.css: body=SuzukiPRO, h2=SuzukiPROHeadline).
   This page loads bootstrap instead (body=Helvetica), so the section heading fell back to Arial.
   Re-apply the brand fonts so the heading matches the motorcycle reference. */
.service-section { font-family: SuzukiPRO, Arial, sans-serif; }
.service-section .service-content h2 { font-family: SuzukiPRO, Arial, Helvetica, sans-serif; font-weight: 900;}

/* ---------- AFTER-SALES (Figma: Suzuki After-Sales Services) ---------- */
.accr-after { padding: 50px 0; }
.accr-after__inner { display: flex; gap: 92px; align-items: center; }
.accr-after__text { width: 550px; flex-shrink: 0; }
.accr-after__title { font-family: SuzukiPROBold; font-size: 32px; line-height: 48px; color: #333;
  text-transform: uppercase; margin: 0 0 8px; }
.accr-after__desc { font-family: SuzukiPRORegular; font-size: 16px; color: #333; opacity: .6;
  line-height: 1.4; margin: 0; text-align: justify; }
.accr-after__cards { display: flex; gap: 16px; align-items: flex-start; }
.accr-after__col { display: flex; flex-direction: column; gap: 16px; width: 300px; }
.accr-after__card { position: relative; display: block; border-radius: 16px; overflow: hidden;
  box-shadow: 1px 2px 9.5px rgba(51,51,51,0.14); background-size: cover; background-position: center; color: #fff; }
.accr-after__card--sm { height: 169px; }
.accr-after__card--tall { height: 353px; width: 293px; flex-shrink: 0; }
.accr-after__card::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 62%); }
.accr-after__arrow { position: absolute; top: 16px; right: 16px; z-index: 2; width: 24px; height: 24px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; }
.accr-after__arrow svg { width: 12px; height: 12px; }
.accr-after__overlay { position: absolute; left: 12px; right: 12px; bottom: 13px; z-index: 2; }
.accr-after__name { font-family: SuzukiPROBold; font-size: 18px; line-height: 1.2; margin: 0 0 6px; }
.accr-after__card--tall .accr-after__name { font-size: 24px; }
.accr-after__note { font-family: SuzukiPRORegular; font-size: 12px; line-height: 1.5; margin: 0; }

/* ---------- RESPONSIVE (default2019 also serves narrow desktop / Surface) ---------- */
@media (max-width: 992px) {
  .accr-grid { grid-template-columns: repeat(2, 1fr); }
  .accr-cta { justify-content: center; }
  /* path() is fixed at 534x390 — collapse to a plain rounded glass card when it can't fit */
  .accr-cta__card { width: 100%; max-width: 520px; height: auto; margin: 24px; }
  .accr-cta__card::before { clip-path: none; border-radius: 16px; border: 1px solid rgba(255,255,255,0.3); }
  .accr-cta__shape { display: none; }
  .accr-mosaic { flex-direction: column; }
  .accr-mosaic__quad { width: 100%; }
  .accr-mosaic__tall { width: 100%; aspect-ratio: 16 / 10; }
  .accr-explore__grid { justify-content: center; gap: 40px 60px; }
  .accr-after__inner { flex-direction: column; gap: 32px; align-items: stretch; }
  .accr-after__text { width: 100%; }
  .accr-after__cards { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 576px) {
  .accr-hero { height: 220px; }
  .accr-grid { grid-template-columns: 1fr; }
  .accr-catalog__title, .accr-gallery__title { font-size: 24px; }
  .accr-cta__title { font-size: 24px; }
}
