@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
:root {
  color-scheme: light;
  --paper: #f7f7f6;
  --white: #fff;
  --ink: #1d1d20;
  --muted: #696971;
  --line: #e8e7e8;
  --red: #b92134;
  --red-hover: #a0192a;
  --dark: #18191c;
  --green: #11734d;
  --radius: 15px;
  --font: "Manrope", Inter, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { min-width: 300px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 15px / 1.55 var(--font); }
[dir="rtl"] body { font-family: "Noto Sans Arabic", "Manrope", "Segoe UI", Arial, sans-serif; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #d85165; outline-offset: 4px; }
[hidden] { display: none !important; }
body[data-public-catalog] .staff-link,
body[data-public-catalog]:not([data-public-availability]) .stock-toggle { display: none; }
.container { margin-inline: auto; width: min(100% - 104px, 1220px); }
.visually-hidden, .skip-link:not(:focus) { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 2; inset-block-start: 12px; inset-inline-start: 12px; padding: 8px 14px; color: var(--white); background: var(--dark); border-radius: 7px; }
.icon { position: relative; display: inline-block; flex: none; inline-size: 16px; block-size: 16px; color: inherit; }
.icon-search::before { content: ""; position: absolute; width: 9px; height: 9px; border: 1.65px solid currentColor; border-radius: 50%; inset: 1px auto auto 1px; }
.icon-search::after { content: ""; position: absolute; width: 6px; border-block-end: 1.65px solid currentColor; transform: rotate(45deg); inset: 12px auto auto 10px; }
.icon-globe { border: 1.35px solid currentColor; border-radius: 50%; }
.icon-globe::before { content: ""; position: absolute; inset: -1px 3px; border: 1px solid currentColor; border-radius: 50%; }
.icon-globe::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-block-start: 1px solid currentColor; }
.icon-arrow::before { content: ""; position: absolute; inset: 7px 1px auto 0; border-block-start: 1.5px solid currentColor; }
.icon-arrow::after { content: ""; position: absolute; width: 6px; height: 6px; top: 4px; right: 1px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
[dir="rtl"] .icon-arrow { transform: rotate(180deg); }
.icon-diagonal { transform: rotate(-45deg); }
.icon-diagonal::before { content: ""; position: absolute; inset: 7px 3px auto 2px; border-block-start: 1.5px solid currentColor; }
.icon-diagonal::after { content: ""; position: absolute; width: 5px; height: 5px; top: 4.5px; right: 3px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.icon-pin { inline-size: 13px; block-size: 13px; border: 1.5px solid currentColor; border-radius: 55% 55% 55% 0; transform: rotate(-45deg); margin-block-end: 3px; }
.icon-pin::after { content: ""; position: absolute; inset: 3px; border: 1px solid currentColor; border-radius: 50%; }
.topbar { background: var(--white); border-block-end: 1px solid var(--line); }
.header-content { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { display: block; border-radius: 8px; object-fit: cover; }
.brand-type { display: grid; gap: 4px; line-height: 1; }
.brand-type strong { font-size: 16px; letter-spacing: .095em; font-weight: 850; }
.brand-type span { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); font-weight: 750; }
[dir="rtl"] .brand-type span { letter-spacing: 0; }
.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a, .language-button { font-size: 13px; font-weight: 750; white-space: nowrap; }
.catalog-link, .section-link { color: #45454d; }
.catalog-link:hover, .section-link:hover, .section-link[aria-current="page"] { color: var(--red); }
.language-button, .staff-link { display: inline-flex; align-items: center; gap: 8px; }
.language-button { background: transparent; color: var(--ink); border: 0; padding: 8px 2px; }
.language-button:hover { color: var(--red); }
.staff-link { padding: 8px 12px; border: 1px solid #e4e2e5; border-radius: 8px; }
.staff-link:hover { border-color: #b4adb0; background: #f8f7f7; }

.hero { isolation: isolate; position: relative; overflow: hidden; background: #1b1c20; color: white; border-block-end: 1px solid #373639; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before { background: url("/assets/cayenne-hero.webp") 68% 54% / cover no-repeat; opacity: .92; }
.hero::after { background: linear-gradient(90deg, #17181c 0%, #17181cee 34%, #17181c6b 65%, #17181c1f 100%), linear-gradient(0deg, #18191d67, transparent 60%); }
[dir="rtl"] .hero::before { transform: scaleX(-1); }
[dir="rtl"] .hero::after { transform: scaleX(-1); }
.hero-inner { padding-block: 54px 51px; }
.hero-overline, .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.2; font-weight: 850; letter-spacing: .16em; }
.hero-overline { color: #f3d5d9; }
.hero-overline span, .eyebrow > span:first-child { display: inline-block; inline-size: 20px; block-size: 2px; background: #d14154; }
.hero-overline p, .eyebrow { margin: 0; }
.hero h1 { margin: 15px 0 13px; max-width: 700px; font-size: clamp(3rem, 5.65vw, 5.15rem); line-height: 1.015; font-weight: 810; letter-spacing: -.052em; text-wrap: balance; }
[dir="rtl"] .hero h1 { line-height: 1.25; letter-spacing: 0; }
.hero-description { color: #e2e1e4; max-width: 435px; font-size: 16px; line-height: 1.62; margin: 0 0 25px; }
.search-form { display: flex; width: min(100%, 564px); align-items: center; padding: 5px 5px 5px 14px; gap: 12px; background: white; color: var(--ink); border: 1px solid #fbf4f5; border-radius: 11px; box-shadow: 0 13px 28px #0005; }
[dir="rtl"] .search-form { padding: 5px 14px 5px 5px; }
.search-input-icon { margin-inline-start: 2px; color: #78777d; }
.search-form input { flex: 1; min-inline-size: 0; block-size: 41px; appearance: none; border: none; background: white; color: var(--ink); border-radius: 4px; font-size: 14px; }
.search-form input::placeholder { color: #64646c; opacity: 1; }
.search-form input:focus-visible { outline-offset: 0; outline-color: #e3b3bc; outline-width: 2px; }
.search-form button { display: flex; align-items: center; justify-content: center; gap: 10px; flex: none; block-size: 43px; border: none; background: var(--red); color: white; border-radius: 7px; padding-inline: 15px; font-size: 13px; font-weight: 780; white-space: nowrap; }
.search-form button:hover { background: var(--red-hover); }
.catalog { padding-block: 41px 62px; scroll-margin-block-start: 18px; min-block-size: 430px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-block-end: 21px; }
.eyebrow { color: var(--red); }
.eyebrow > span:first-child { inline-size: 14px; background: var(--red); }
.catalog h2 { margin: 7px 0 0; font-size: clamp(2rem, 3.7vw, 2.9rem); letter-spacing: -.044em; line-height: 1.12; font-weight: 810; }
[dir="rtl"] .catalog h2, [dir="rtl"] .hero-overline, [dir="rtl"] .eyebrow { letter-spacing: 0; }
.location { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 2px; color: #66656d; border: 1px solid #e7e4e5; border-radius: 8px; background: white; padding: 6px 10px; font-size: 12px; white-space: nowrap; }
.location .icon { color: var(--red); }
.preview-note { margin: -5px 0 12px; color: #796019; font-size: 11px; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block-end: 13px; border-block-end: 1px solid var(--line); }
.brand-filters { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.brand-filters button { border-radius: 7px; padding: 7px 11px; border: 1px solid #e7e5e7; background: white; color: #4f4e57; font-weight: 750; font-size: 12px; white-space: nowrap; }
.brand-filters button:hover { border-color: #d28b95; }
.brand-filters button[aria-pressed="true"] { color: white; background: #242428; border-color: #242428; }
.stock-toggle { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #45454c; white-space: nowrap; cursor: pointer; position: relative; }
.stock-toggle input { position: absolute; z-index: 1; inset-inline-start: 0; inline-size: 32px; block-size: 22px; margin: 0; opacity: 0; cursor: pointer; }
.toggle-shape { display: inline-block; border-radius: 999px; inline-size: 31px; block-size: 18px; background: #dddcdf; position: relative; pointer-events: none; transition: background .15s ease; }
.toggle-shape::after { content: ""; position: absolute; inset-inline-start: 3px; inset-block-start: 3px; background: white; border-radius: 50%; inline-size: 12px; block-size: 12px; transition: transform .15s ease; }
.stock-toggle input:checked + .toggle-shape { background: var(--red); }
.stock-toggle input:checked + .toggle-shape::after { transform: translateX(13px); }
[dir="rtl"] .stock-toggle input:checked + .toggle-shape::after { transform: translateX(-13px); }
.stock-toggle input:focus-visible + .toggle-shape { outline: 3px solid #d85165; outline-offset: 3px; }
.results-line { min-block-size: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.results-line p { margin: 0; color: #696971; font-size: 12px; font-weight: 700; }
.text-button { font-size: 12px; border: 0; background: transparent; color: #9c202f; font-weight: 770; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }

.parts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.part-card { min-inline-size: 0; background: white; border: 1px solid #e8e6e7; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .18s ease, box-shadow .18s ease; }
.part-card:hover { border-color: #d7c7cc; box-shadow: 0 10px 28px #3120290b; }
.part-media { position: relative; isolation: isolate; min-block-size: 144px; aspect-ratio: 1.85; background: #fff; border-block-end: 1px solid #efeeef; overflow: hidden; }
.part-media img { display: block; inline-size: 100%; block-size: 100%; position: absolute; inset: 0; object-fit: contain; }
.part-media--paired { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.component-photo { margin: 0; min-inline-size: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.component-photo + .component-photo { border-inline-start: 1px solid #efeeef; }
.component-photo-frame { position: relative; min-block-size: 0; display: grid; place-items: center; text-align: center; }
.component-photo figcaption { padding: 4px 3px 6px; text-align: center; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.2; }
.component-photo figcaption bdi { display: block; font: 650 .85em ui-monospace, monospace; overflow-wrap: anywhere; }
.photo-canvas { position: absolute; inset: 0; }
@supports (width: 1cqw) and (clip-path: ellipse(50% 50%)) {
  .part-media--rim, .photo-canvas { container-type: size; }
  .part-media--rim > img, .photo-canvas > img {
    width: min(var(--photo-width-limit), var(--photo-height-limit));
    height: auto;
    inset: 50% auto auto 50%;
    clip-path: var(--photo-clip);
    transform-origin: var(--photo-origin, 50% 50%);
    transform: var(--photo-offset);
  }
}
.part-media--empty { display: flex; align-items: center; gap: 7px; min-block-size: 65px; aspect-ratio: auto; padding: 10px 15px; border-block-end: 1px solid #eeedef; background: #f3f2f3; }
.media-mark { position: relative; inline-size: 18px; block-size: 15px; flex: none; background: #f9f8f9; border: 1px solid #a9a4ad; border-radius: 3px; overflow: hidden; }
.media-mark::before { content: ""; position: absolute; inline-size: 4px; block-size: 4px; inset: 2px 3px auto auto; border-radius: 50%; background: #a9a4ad; }
.media-mark::after { content: ""; position: absolute; inline-size: 12px; block-size: 12px; left: 3px; top: 7px; border: 1px solid #a9a4ad; transform: rotate(45deg); }
.media-label { color: #716c74; font-size: 11px; font-weight: 670; }
.part-card-copy { padding: 14px 15px 0; flex: 1; display: flex; flex-direction: column; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-block-end: 8px; }
.card-category { font-size: 10px; line-height: 1.35; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #7e4b55; }
[dir="rtl"] .card-category { letter-spacing: 0; }
.status { display: inline-flex; align-items: center; flex: none; gap: 5px; padding: 3px 6px; border-radius: 6px; font-size: 10.5px; font-weight: 750; line-height: 1.35; }
.status::before { content: ""; display: inline-block; inline-size: 5px; block-size: 5px; border-radius: 50%; background: currentColor; }
.status--yes { background: #eaf6ef; color: #116445; }
.status--no { background: #f1eff0; color: #655e65; }
.status--unknown { background: #f9f3e7; color: #795710; }
.part-name { margin: 0 0 4px; font-size: 16px; font-weight: 800; letter-spacing: -.028em; line-height: 1.32; overflow-wrap: anywhere; }
.part-condition { display: flex; flex-wrap: wrap; gap: 4px; margin-block: 1px 5px; }
.part-condition span { padding: 2px 5px; border-radius: 4px; background: #f2eff1; color: #504950; font-size: 12px; font-weight: 700; line-height: 1.4; }
.part-fitment { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.part-years { margin: 5px 0 0; display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; color: var(--muted); font-size: 11px; }
.part-years .part-year-range { color: #464049; font-family: var(--mono); font-size: 10px; font-weight: 650; }
.part-bottom { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-block-start: 1px solid #f0eef0; padding-block: 9px; margin-block-start: auto; margin-inline: 15px; }
.part-ref { font: 650 11px / 1.3 var(--mono); color: #464049; background: #f2f0f1; border-radius: 4px; padding: 4px 6px; max-inline-size: 100%; overflow-wrap: anywhere; }
.part-card-copy { padding-block-end: 11px; }
.part-view { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; border: 0; background: transparent; color: #a21d32; font-weight: 760; font-size: 11.5px; padding: 3px 0; }
.part-view:hover { text-decoration: underline; text-underline-offset: 3px; }
.part-view .icon { transform: scale(.72); }
[dir="rtl"] .part-view .icon { transform: rotate(180deg) scale(.72); }
.catalog-status { background: #fff; padding: 34px 22px; text-align: center; border: 1px dashed #ddd6db; border-radius: 12px; }
.catalog-status h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.03em; }
.catalog-status p { margin: 0 0 10px; color: var(--muted); }
.catalog-status .text-button { font-size: 14px; }
.show-more { display: block; margin: 18px auto 0; border: 1px solid #e1dbde; border-radius: 8px; padding: 9px 15px; background: white; color: #4f4650; font-size: 12px; font-weight: 780; }
.show-more:hover { color: var(--red); border-color: #d28b95; }
.skeleton { min-height: 244px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(95deg,#fff,#f2f0f1,#fff); background-size: 250% 100%; animation: loading 1.35s ease infinite alternate; }
.skeleton:nth-child(2) { animation-delay: .2s; }
.skeleton:nth-child(3) { animation-delay: .4s; }
@keyframes loading { to { background-position: right; } }

.footer { background: white; border-block-start: 1px solid var(--line); }
.footer-content { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding-block: 24px; }
.footer-location, .footer-social { color: #65656d; font-size: 12px; }
.footer-social:hover { color: var(--red); text-decoration: underline; }
.footer .brand-mark { inline-size: 37px; block-size: 37px; }
.footer .brand-type strong { font-size: 13px; }

dialog { width: min(calc(100% - 28px), 575px); max-block-size: 88vh; overflow-y: auto; padding: 0; border: 1px solid #ebe7ea; border-radius: 16px; color: var(--ink); background: white; box-shadow: 0 23px 100px #11080d55; }
dialog::backdrop { background: #1813189c; }
.dialog-close { display: grid; place-items: center; position: absolute; z-index: 1; inset-inline-end: 10px; inset-block-start: 10px; block-size: 36px; inline-size: 36px; border-radius: 50%; border: 1px solid #ddd8df; background: #fff; color: var(--ink); font-size: 23px; line-height: 1; }
.dialog-close:hover { background: #f4f1f3; }
.detail-copy { padding: 21px 22px 25px; }
.detail-copy h2 { margin: 3px 0 11px; font-size: 26px; line-height: 1.2; letter-spacing: -.045em; overflow-wrap: anywhere; }
.detail-description { margin: 13px 0 0; color: var(--ink); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
#part-detail > .part-media { aspect-ratio: 1.9; }
#part-detail > .part-media--portrait { aspect-ratio: 1.3; max-block-size: min(48dvh, 400px); }
#part-detail > .part-media--empty { min-block-size: 70px; aspect-ratio: auto; }
.detail-facts { display: grid; grid-template-columns: minmax(75px, max-content) minmax(0, 1fr); margin: 16px 0; column-gap: 15px; row-gap: 9px; }
.detail-facts dt { color: var(--muted); font-weight: 700; font-size: 12px; }
.detail-facts dd { margin: 0; font-size: 13px; font-weight: 720; overflow-wrap: anywhere; }
.whatsapp { display: inline-flex; gap: 7px; align-items: center; padding: 9px 13px; border-radius: 8px; background: var(--red); color: white; font-size: 13px; font-weight: 760; }
.whatsapp:hover { background: var(--red-hover); }

@media (max-width: 900px) {
  .container { width: min(100% - 64px, 1220px); }
  .hero-inner { padding-block: 47px; }
  .part-bottom { margin-inline: 10px; }
  .part-card-copy { padding-inline: 10px; }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 32px); }
  .header-content { min-height: 63px; gap: 8px; }
  .header-nav { gap: 13px; }
  .catalog-link { display: none; }
  .header-nav a, .language-button { font-size: 11px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand { gap: 7px; }
  .brand-type strong { font-size: 13px; }
  .brand-type span { font-size: 9px; }
  .staff-link { padding: 7px 8px; gap: 3px; }
  .staff-link .icon { inline-size: 12px; }
  .language-button { gap: 4px; }
  .language-button .icon { inline-size: 13px; block-size: 13px; }
  .language-button .icon-globe::before { inset: -1px 2px; }
  .hero-inner { padding-block: 38px 36px; }
  .hero h1 { font-size: clamp(2.7rem, 11vw, 3.65rem); max-width: 420px; margin: 12px 0; letter-spacing: -.052em; }
  .hero-description { font-size: 14px; margin-bottom: 19px; }
  .hero::after { background: linear-gradient(90deg,#17181cf7 0%,#17181cd4 49%,#17181c81 100%); }
  .catalog { padding-block: 31px 43px; }
  .section-heading { margin-block-end: 15px; align-items: end; gap: 4px; }
  .location { font-size: 10px; gap: 6px; padding: 5px 6px; }
  .location .icon { scale: .78; }
  .filters { align-items: start; flex-direction: column; gap: 9px; padding-block-end: 11px; }
  .brand-filters { gap: 5px; }
  .brand-filters button { font-size: 11px; padding: 5px 8px; }
  .parts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .part-media { min-block-size: 97px; }
  .part-media--empty { min-block-size: 51px; padding: 8px; }
  .media-label { font-size: 9px; }
  .part-card { border-radius: 10px; }
  .part-name { font-size: 14px; }
  .part-card-copy { padding: 9px 9px 8px; }
  .card-top { align-items: start; gap: 3px; margin-block-end: 6px; }
  .card-category { font-size: 9px; margin-block-start: 2px; }
  .status { font-size: 9px; padding: 2px 4px; }
  .part-fitment { font-size: 10.5px; }
  .part-bottom { margin-inline: 9px; padding-block: 6px; flex-wrap: wrap; gap: 4px; }
  .part-ref { font-size: 9px; padding: 4px 4px; }
  .part-view { font-size: 10px; }
  .part-view .icon { width: 12px; }
  .footer-content { flex-wrap: wrap; padding-block: 16px; column-gap: 10px; row-gap: 10px; }
  .footer-location { flex-basis: 100%; order: 2; }
}
@media (max-width: 340px) {
  .container { width: calc(100% - 22px); }
  .header-nav { gap: 7px; }
  .brand-mark { width: 33px; height: 33px; }
  .staff-link .icon { display: none; }
  .search-form { gap: 7px; padding-inline-start: 7px; }
  .search-form button { padding-inline: 8px; gap: 4px; }
  .search-form button .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
