/* Raya Yadak homepage: scoped to the plugin output. */
body.raya-home-template, body.raya-page-template { margin: 0; }
.raya {
  --ink: #102a39;
  --navy: #092936;
  --teal: #178778;
  --mint: #bce9dc;
  --paper: #f7f6f1;
  --line: #dce5e2;
  --muted: #5c6c72;
  color: var(--ink);
  background: #fff;
  font-family: Vazirmatn, IRANSans, "Noto Sans Arabic", Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}
.raya, .raya *, .raya *::before, .raya *::after { box-sizing: border-box; }
.raya a { color: inherit; text-decoration: none; }
.raya button, .raya input, .raya select { font: inherit; }
.raya button { cursor: pointer; }
.raya img { display: block; max-width: 100%; }
.raya :is(a, button, input, select, summary):focus-visible { outline: 3px solid #dbad51; outline-offset: 3px; }
.raya h1, .raya h2, .raya h3, .raya p { margin: 0; }
.raya-shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.raya-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.raya-skip { position: absolute; z-index: 30; top: -80px; right: 20px; background: white; padding: 10px 16px; }
.raya-skip:focus { top: 10px; }

.raya-header { background: #fff; border-bottom: 1px solid #e7e9e5; }
.raya-header__inner { display: flex; align-items: center; gap: 34px; min-height: 82px; }
.raya-logo { display: inline-flex; align-items: center; flex: none; gap: 11px; color: var(--navy) !important; font-size: 24px; font-weight: 900; line-height: 1.1; letter-spacing: -.04em; }
.raya-logo > span:last-child > span { color: var(--teal); }
.raya-logo small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .04em; margin-top: 5px; font-weight: 600; }
.raya-logo__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px 12px 3px 12px; background: var(--teal); color: #fff; font-size: 28px; }
.raya-nav { display: flex; align-items: center; gap: 29px; margin-inline-start: auto; }
.raya-nav a, .raya-header__actions > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.raya-nav a:hover, .raya-header__actions > a:hover { color: var(--teal); }
.raya-header__actions { display: flex; align-items: center; gap: 20px; }
.raya-header__actions .raya-cart { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; background: var(--navy); color: #fff; border-radius: 8px; gap: 15px; }
.raya-header__actions .raya-cart:hover { color: #fff; background: #155164; }
.raya-menu { display: none; }

.raya-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.raya-hero::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(110deg, transparent 49.7%, #37606a 50%, transparent 50.3%); background-size: 160px 160px; }
.raya-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 485px; }
.raya-hero__copy { position: relative; z-index: 1; padding-block: 68px; }
.raya-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.raya-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #79dbc0; }
.raya-hero h1 { margin-top: 23px; max-width: 690px; color: #fff; font-size: clamp(34px, 5vw, 66px); line-height: 1.42; font-weight: 900; letter-spacing: -.055em; }
.raya-hero h1 em { color: #bfe9d8; font-style: normal; }
.raya-hero__copy > p { max-width: 520px; margin-top: 20px; color: #d4e1df; line-height: 2; }
.raya-hero__links { display: flex; align-items: center; gap: 25px; margin-top: 32px; }
.raya-button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 50px; gap: 25px; padding: 0 24px; border: 0; border-radius: 8px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.raya-button--light { color: var(--navy) !important; background: #dcf3e7; }
.raya-button--light:hover { background: #fff; }
.raya-button--dark { color: #fff !important; background: var(--navy); }
.raya-button--dark:hover { background: #18526a; }
.raya-hero__shop { color: #e2efeb !important; font-size: 14px; font-weight: 700; }
.raya-hero__shop:hover { color: #fff !important; }
.raya-hero__visual { position: relative; isolation: isolate; height: 100%; min-height: 410px; }
.raya-hero__visual::before { content: ""; position: absolute; width: 310px; height: 310px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #2a665e 0, #194951 48%, #0a3040 70%); box-shadow: 0 0 0 64px #16414a70, 0 0 0 130px #12374555; }
.raya-hero__ring { position: absolute; width: 300px; height: 300px; border: 1px solid #a4d5c46c; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.raya-hero__ring--one::before, .raya-hero__ring--one::after, .raya-hero__ring--two::before, .raya-hero__ring--two::after { content: ""; position: absolute; width: 13px; height: 13px; background: #86cdb5; border-radius: 50%; }
.raya-hero__ring--one::before { top: -7px; left: calc(50% - 7px); }
.raya-hero__ring--one::after { bottom: -7px; left: calc(50% - 7px); }
.raya-hero__ring--two { width: 230px; height: 230px; border-style: dashed; opacity: .75; }
.raya-hero__ring--two::before { left: -6px; top: 50%; }
.raya-hero__ring--two::after { right: -6px; top: 50%; }
.raya-hero__axis { position: absolute; height: 1px; width: 440px; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-35deg); background: #9cceba6e; }
.raya-hero__word { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: white; font-size: 52px; font-weight: 900; line-height: 1.15; letter-spacing: -.08em; }
.raya-hero__serial { position: absolute; bottom: 43px; left: 12px; direction: ltr; color: #a9c7c2; font: 11px/1 monospace; letter-spacing: .17em; }

.raya-section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.raya-section-head > p { max-width: 410px; color: var(--muted); font-size: 13px; line-height: 2; }
.raya-kicker { display: block; color: var(--teal); font-size: 12px; font-weight: 800; margin-bottom: 9px; }
.raya-section-head h2, .raya-help h2 { color: var(--navy); font-size: clamp(24px, 3vw, 35px); font-weight: 900; letter-spacing: -.045em; line-height: 1.45; }
.raya-discover, .raya-cars, .raya-categories { padding-block: 78px; }
.raya-discover__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; }
.raya-search-panel, .raya-filter-panel { min-width: 0; padding: 31px; border-radius: 16px; }
.raya-search-panel { background: #f0f4f1; border: 1px solid #e4eae5; }
.raya-filter-panel { background: #eaf3ef; border: 1px solid #d6e8e1; }
.raya-panel__number { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.raya-search-panel h3, .raya-filter-panel h3 { margin: 8px 0 19px; font-size: 22px; color: var(--navy); font-weight: 900; }
.raya-search-panel__input { display: flex; border: 1px solid #cddad4; border-radius: 8px; background: white; overflow: hidden; }
.raya-search-panel__input input { flex: 1; min-width: 0; height: 52px; padding: 0 15px; border: 0; outline: 0; background: #fff; color: var(--ink); }
.raya-search-panel__input:focus-within { outline: 3px solid #dbad51; outline-offset: 2px; }
.raya-search-panel__input button { min-width: 110px; border: 0; padding: 0 16px; color: #fff; background: var(--teal); font-size: 13px; font-weight: 800; }
.raya-search-panel__input button:hover { background: #126e63; }
.raya-search-panel > p, .raya-filter__note { margin-top: 15px; font-size: 12px; color: var(--muted); }
.raya-filter__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.raya-filter__field { display: block; min-width: 0; font-size: 12px; font-weight: 800; color: var(--ink); }
.raya-filter__field > span { display: block; margin-bottom: 5px; }
.raya-filter__field select { display: block; width: 100%; min-width: 0; height: 46px; padding: 0 11px; border: 1px solid #c9d9d2; border-radius: 7px; background: #fff; color: var(--ink); appearance: auto; }
.raya-filter__actions { display: flex; align-items: center; gap: 17px; margin-top: 17px; }
.raya-filter__actions > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; text-decoration: underline; }
.raya-filter__empty { padding: 6px 0 1px; }
.raya-filter__empty p { color: var(--muted); line-height: 2; }
.raya-filter__empty a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; margin-top: 12px; color: var(--teal); font-weight: 800; }

.raya-cars { padding-top: 17px; }
.raya-cars__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.raya-car { min-width: 0; padding: 20px 18px 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.raya-car h3 { font-size: 19px; color: var(--navy); }
.raya-car h3 a { display: flex; justify-content: space-between; gap: 8px; }
.raya-car h3 span { color: var(--teal); }
.raya-car ul { list-style: none; padding: 0; margin: 12px 0 0; }
.raya-car li + li { border-top: 1px solid #edf0ed; }
.raya-car li a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 12px; }
.raya-car a:hover { color: var(--teal); }
.raya-categories { padding-top: 32px; }
.raya-text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--teal) !important; font-size: 13px; font-weight: 800; white-space: nowrap; }
.raya-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.raya-category { display: grid; grid-template-columns: 80px 1fr 18px; align-items: center; gap: 10px; min-height: 114px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, transform .2s; }
.raya-category:hover { border-color: var(--teal); transform: translateY(-2px); }
.raya-category__art { display: grid; place-items: center; overflow: hidden; width: 80px; height: 80px; border-radius: 9px; background: #edf3ef; }
.raya-category__art img { width: 100%; height: 100%; object-fit: cover; }
.raya-category__glyph { color: #8caf9f; font-size: 51px; line-height: 1; }
.raya-category__name { font-size: 16px; font-weight: 900; color: var(--navy); }
.raya-category__arrow { color: var(--teal); }
.raya-empty, .raya-notice { padding: 25px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--muted); line-height: 2; }
.raya-notice { margin-bottom: 20px !important; background: #eff6f1; }
.raya-empty a, .raya-notice a { color: var(--teal); font-weight: 800; text-decoration: underline; }

.raya-products { padding-block: 76px 85px; background: var(--paper); }
.raya-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.raya-product { min-width: 0; overflow: hidden; border: 1px solid #e3e8e2; border-radius: 13px; background: white; }
.raya-product__image { display: grid; place-items: center; aspect-ratio: 1.2; background: #f2f4f0; overflow: hidden; }
.raya-product__image img { width: 100%; height: 100%; object-fit: contain; }
.raya-product__placeholder { display: grid; place-items: center; width: 86px; height: 86px; border: 1px solid #cadbd0; border-radius: 50%; color: #83a496; background: #e8f0e9; font-size: 14px; }
.raya-product__body { padding: 17px; }
.raya-product h3 { min-height: 58px; font-size: 15px; font-weight: 900; line-height: 1.8; color: var(--navy); }
.raya-product h3 a:hover { color: var(--teal); }
.raya-product__sku { margin-top: 5px !important; color: var(--muted); font-size: 11px; }
.raya-product__fit { margin-top: 11px !important; font-size: 11px; line-height: 1.9; color: var(--muted); }
.raya-product__fit a { color: var(--teal); font-weight: 800; }
.raya-product__fit--verified { color: #126f5d; }
.raya-product__review { display: inline-block; margin-top: 9px !important; padding: 3px 8px; border-radius: 5px; background: #f7efdc; color: #795b25; font-size: 11px; }
.raya-product__price { margin-top: 13px; color: var(--navy); font-weight: 900; }
.raya-product__detail { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #edf0ed; color: var(--teal) !important; font-size: 12px; font-weight: 800; }

.raya-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-block: 71px; padding: 38px 42px; border-radius: 17px; background: #135167; color: white; }
.raya-help .raya-kicker { color: #aae1d0; }
.raya-help h2 { color: white; }
.raya-help p { margin-top: 8px; color: #d9e8e8; font-size: 13px; }
.raya-footer { background: #092632; color: #e5eeec; }
.raya-footer__main { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.4fr; gap: 36px; padding-block: 60px 55px; }
.raya-footer h2 { margin: 0 0 14px; color: #fff; font-size: 14px; font-weight: 900; }
.raya-footer__brand strong { display: block; color: white; font-size: 27px; font-weight: 900; }
.raya-footer__brand span { font-size: 11px; color: #a9c7c3; }
.raya-footer__brand p { margin-top: 20px; color: #a9c7c3; font-size: 12px; line-height: 2; }
.raya-footer__links nav, .raya-footer__phones { display: flex; flex-direction: column; align-items: start; gap: 5px; }
.raya-footer__phones > div { display: flex; align-items: center; gap: 10px; }
.raya-footer a { color: #d8e6e2; font-size: 12px; }
.raya-footer a:hover { color: white; text-decoration: underline; }
.raya-footer__links nav a, .raya-footer__phones a { display: inline-flex; align-items: center; min-height: 44px; }
.raya-footer__phones a { font-variant-numeric: tabular-nums; }
.raya-footer__address address { color: #d8e6e2; font-size: 12px; line-height: 2.2; font-style: normal; }
.raya-footer__address > div { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px; }
.raya-footer__address a { min-height: 44px; display: inline-flex; align-items: center; }
.raya-copy { display: none; min-height: 44px; padding: 3px 9px; border: 1px solid #6d9290; border-radius: 5px; background: transparent; color: #e5eeec; font-size: 11px; }
.raya--enhanced .raya-copy { display: inline-block; }
.raya-copy:hover { background: #164d54; }
.raya-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 63px; border-top: 1px solid #31545b; }
.raya-footer__bottom small { color: #9ab3b1; font-size: 11px; }

/* The same visual shell surrounds existing WooCommerce rendering. */
.raya-page-main { min-height: 55vh; background: var(--paper); }
.raya-page-main__inner { padding-block: 37px 80px; }
.raya-page-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-bottom: 25px; color: var(--muted); font-size: 12px; }
.raya-page-breadcrumb a { color: var(--teal); }
.raya-page-heading { margin-bottom: 22px; padding: 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.raya-page-heading h1 { color: var(--navy); font-size: clamp(25px, 3vw, 37px); font-weight: 900; line-height: 1.5; }
.raya-page-content { min-width: 0; padding: 29px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.raya-page-content::after, .raya-page-main__inner::after { content: ""; display: block; clear: both; }
.raya-page-content p { margin-bottom: 1em; }
.raya-page-content a { color: var(--teal); }
.raya-page-children { padding: 20px 25px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.raya-page-children h2 { font-size: 16px; font-weight: 900; color: var(--navy); margin-bottom: 13px; }
.raya-page-children ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.raya-page-children a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 7px; background: #edf4ef; color: var(--navy); font-size: 12px; font-weight: 700; }
.raya-page-children a:hover { background: #dceee2; }
.raya-page-main .woocommerce { color: var(--ink); }
.raya-page-main .woocommerce :is(a.button, button.button, input.button, .button, .woocommerce-Button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 7px; font-size: 13px; font-weight: 800; }
.raya-page-main .woocommerce :is(input.input-text, input[type="search"], textarea, select) { min-height: 44px; border: 1px solid #cbd9d3; border-radius: 7px; background: #fff; color: var(--ink); }
.raya-page-main .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) { border-radius: 8px; }
.raya-page-main ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 20px 0 0; padding: 0; }
.raya-page-main ul.products::before, .raya-page-main ul.products::after { display: none; }
.raya-page-main ul.products li.product { float: none; width: auto; min-width: 0; margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.raya-page-main ul.products li.product img { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: contain; background: #f3f5f1; border-radius: 6px; }
.raya-page-main ul.products li.product .woocommerce-loop-product__title { color: var(--navy); font-weight: 800; line-height: 1.8; }
.raya-page-main .woocommerce-cart-form { overflow-x: auto; }
.raya-page-main .woocommerce table.shop_table { border-color: var(--line); background: white; }
.raya-page-main .woocommerce-breadcrumb { color: var(--muted); font-size: 12px; }
.raya-page-main .woocommerce-breadcrumb a { color: var(--teal); }
.raya-page-main div.product { min-width: 0; }
.raya-page-main div.product .product_title { color: var(--navy); font-weight: 900; }

@media (max-width: 1050px) {
  .raya-header__inner { gap: 18px; }
  .raya-nav { gap: 16px; }
  .raya-header__actions { gap: 10px; }
  .raya-cars__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .raya-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-page-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .raya-shell { width: min(100% - 32px, 560px); }
  .raya-header__inner { min-height: 68px; justify-content: space-between; }
  .raya-logo { font-size: 20px; }
  .raya-logo__mark { width: 39px; height: 39px; }
  .raya-nav, .raya-header__actions { display: none; }
  .raya-menu { display: block; position: relative; }
  .raya-menu summary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 80px; min-height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 7px; list-style: none; color: var(--navy); font-size: 12px; font-weight: 800; cursor: pointer; }
  .raya-menu summary::-webkit-details-marker { display: none; }
  .raya-menu nav { position: absolute; z-index: 10; top: calc(100% + 8px); left: 0; min-width: 190px; display: flex; flex-direction: column; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px #071a1b24; }
  .raya-menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 9px; font-size: 13px; font-weight: 700; }
  .raya-hero__inner { display: block; min-height: 0; }
  .raya-hero__copy { padding-block: 53px 59px; }
  .raya-hero h1 { font-size: clamp(33px, 8vw, 48px); }
  .raya-hero__visual { position: absolute; width: 280px; min-height: 280px; height: 280px; left: -95px; bottom: -120px; opacity: .22; }
  .raya-hero__word, .raya-hero__serial { display: none; }
  .raya-section-head { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .raya-discover, .raya-categories { padding-block: 56px; }
  .raya-discover__grid { grid-template-columns: 1fr; }
  .raya-filter__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-cars { padding-block: 0 45px; }
  .raya-cars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-category-grid, .raya-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-products { padding-block: 56px; }
  .raya-page-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-page-main .woocommerce :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content),
  .raya-page-main .woocommerce .col2-set :is(.col-1, .col-2),
  .raya-page-main div.product :is(div.images, div.summary) { float: none; width: 100%; }
  .raya-help { margin-block: 55px; padding: 29px; align-items: start; flex-direction: column; }
}
@media (max-width: 480px) {
  .raya-hero__links { align-items: start; gap: 16px; flex-direction: column; }
  .raya-search-panel, .raya-filter-panel { padding: 22px; }
  .raya-search-panel__input button { min-width: 87px; padding-inline: 9px; }
  .raya-filter__fields { grid-template-columns: 1fr; }
  .raya-filter__actions { align-items: start; flex-direction: column; gap: 4px; }
  .raya-filter__actions .raya-button { width: 100%; }
  .raya-cars__grid, .raya-category-grid { grid-template-columns: 1fr; }
  .raya-category { min-height: 96px; }
  .raya-product-grid { gap: 9px; }
  .raya-product__body { padding: 11px; }
  .raya-product h3 { font-size: 13px; }
  .raya-product__fit { font-size: 10px; }
  .raya-footer__main { grid-template-columns: 1fr; gap: 25px; padding-block: 43px; }
  .raya-page-main__inner { padding-block: 22px 55px; }
  .raya-page-heading, .raya-page-content { padding: 18px; }
}
@media (max-width: 400px) {
  .raya-product-grid { grid-template-columns: 1fr; }
  .raya-page-main ul.products { grid-template-columns: 1fr; }
}

/* Model browsing remains useful while exact fitments await review. */
.raya-browse__fields { display:grid; grid-template-columns:1.3fr 1fr; gap:12px; margin-bottom:18px; }
.raya-product__stock { display:inline-block; font-size:11px; font-weight:700; color:#6f3941; background:#f9edef; padding:2px 8px; border-radius:5px; margin-top:7px; }
@media(max-width:480px) {
  .raya-browse__fields { grid-template-columns:1fr; }
  .raya-browse .raya-button { width:100%; }
  .raya-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .raya-category { grid-template-columns:1fr 18px; gap:5px; }
  .raya-category__art { width:100%; height:92px; grid-column:1 / -1; }
  .raya-category__art img { object-fit:contain; }
}

.raya-page-main ul.products { list-style:none; }
.raya-page-main ul.products li.product .woocommerce-loop-product__title { font-size:16px; margin-block:12px 6px; }
.raya-model-candidates > h2, .raya-page-content section > h2 { font-size:23px; margin-block:22px 12px; }
.raya-model-candidates > form { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-block:20px; }
.raya-model-candidates select { min-height:44px; padding:6px 15px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); }
.raya-model-candidates button { min-height:44px; padding:8px 22px; border:0; border-radius:7px; background:var(--navy); color:#fff; }
.raya-model-candidate > p { font-size:12px; color:var(--muted); }
.raya-model-pagination { display:flex; flex-wrap:wrap; gap:20px; align-items:center; margin-top:25px; }
.raya-model-pagination a { padding:10px 15px; border:1px solid var(--line); border-radius:7px; }

/* Owner-supplied logo. CSS overlay preserves the original product photo. */
.raya-logo__image { width:54px; height:54px; border-radius:50%; object-fit:contain; }
.raya-product__image, .raya-page-main ul.products .woocommerce-loop-product__link { position:relative; }
.raya-product__image::after, .raya-page-main ul.products .woocommerce-loop-product__link::after { content:""; position:absolute; top:9px; right:9px; width:42px; height:42px; border-radius:50%; background:#fff url("brand/raya-logo.jpg") center/contain no-repeat; opacity:.9; pointer-events:none; box-shadow:0 1px 4px #0002; }
.raya-page-main ul.products .woocommerce-loop-product__link { display:block; }
@media(max-width:480px) { .raya-logo__image { width:46px; height:46px; } .raya-product__image::after, .raya-page-main ul.products .woocommerce-loop-product__link::after { width:34px; height:34px; } }

body.raya-home-template .elm_c_wrap, body.raya-page-template .elm_c_wrap { display:none; }

.raya-page-main .woocommerce-product-gallery__image { position:relative; }
.raya-page-main .woocommerce-product-gallery__image::after { content:""; position:absolute; top:15px; left:15px; width:56px; height:56px; border-radius:50%; background:white url("brand/raya-logo.jpg") center/contain no-repeat; opacity:.85; pointer-events:none; }

/* Retail refresh: compact search-led header and the store's original automotive banners. */
.raya {
  --ink: #222933;
  --navy: #202730;
  --teal: #b9342d;
  --mint: #fff0dd;
  --paper: #f7f7f8;
  --line: #e5e6e9;
  --muted: #606873;
  background: #fff;
}
.raya :is(a, button, input, select, summary):focus-visible { outline-color: #c33d31; }
.raya-topline { background: #262a33; color: #f4f4f5; font-size: 11px; }
.raya-topline__inner, .raya-topline__inner > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.raya-topline__inner { min-height: 32px; }
.raya-topline a { color: #f4f4f5; display: inline-flex; align-items: center; min-height: 32px; }
.raya-topline a:hover { color: #ffc596; }
.raya-header { border-bottom: 0; box-shadow: 0 2px 13px #2526330a; }
.raya-header__inner { display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; min-height: 85px; gap: clamp(20px, 4vw, 58px); }
.raya-logo { font-size: 23px; }
.raya-logo > span:last-child > span { color: #b9342d; }
.raya-logo small { letter-spacing: 0; }
.raya-logo__image { border: 1px solid #eeeeef; }
.raya-header-search { display: flex; align-items: stretch; min-width: 0; height: 46px; overflow: hidden; border: 1px solid #d9dce1; border-radius: 7px; background: #f7f8f9; }
.raya-header-search:focus-within { outline: 3px solid #ffce9b; outline-offset: 2px; border-color: #b9342d; }
.raya-header-search input { min-width: 0; flex: 1; padding-inline: 15px; border: 0; outline: 0; color: #262a33; background: transparent; font-size: 13px; }
.raya-header-search input::placeholder { color: #6a7078; opacity: 1; }
.raya-header-search button { min-width: 102px; min-height: 44px; padding-inline: 14px; border: 0; background: #b9342d; color: #fff; font-size: 13px; font-weight: 800; }
.raya-header-search button:hover, .raya-header__actions .raya-cart:hover { background: #932922; }
.raya-header__actions { gap: 16px; }
.raya-header__actions > a { font-size: 12px; }
.raya-header__actions .raya-cart { background: #b9342d; border-radius: 7px; padding-inline: 15px; }
.raya-category-nav { position: relative; z-index: 40; border-top: 1px solid #f0f0f1; border-bottom: 1px solid #e9e9eb; }
.raya-category-nav__inner { display: flex; align-items: stretch; gap: clamp(10px, 2vw, 28px); min-height: 55px; }
.raya-category-nav__inner > a,
.raya-category-nav__root > summary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 54px; padding: 0 4px; white-space: nowrap; font-size: 12px; font-weight: 800; color: #30343c; border-bottom: 2px solid transparent; }
.raya-category-nav__root > summary { cursor: pointer; list-style: none; }
.raya-category-nav__root > summary::-webkit-details-marker,
.raya-category-nav__group > summary::-webkit-details-marker { display: none; }
.raya-category-nav__inner > a:hover,
.raya-category-nav__inner > a:focus-visible,
.raya-category-nav__root > summary:hover,
.raya-category-nav__root > summary:focus-visible,
.raya-category-nav__root[open] > summary { color: #b9342d; border-bottom-color: #b9342d; }
.raya-category-nav .raya-category-icon { display: block; width: 26px; height: 26px; flex: 0 0 26px; fill: currentColor; }
.raya-category-nav__chevron { font-size: 18px; font-weight: 500; transition: transform .2s ease; }
.raya-category-nav__root[open] .raya-category-nav__chevron { transform: rotate(180deg); }
.raya-category-nav__all { padding-inline: 14px !important; background: #f5f5f6; }
.raya-category-nav__vehicle { margin-inline-start: auto; color: #b9342d !important; }
.raya-category-nav__panel { position: absolute; inset-inline: 0; top: calc(100% - 1px); max-height: min(70vh, 720px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-top: 1px solid #e9e9eb; box-shadow: 0 18px 36px #1b252b26; }
.raya-category-nav__panel-inner { padding-block: 18px 24px; }
.raya-category-nav__intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #e7ebeb; }
.raya-category-nav__intro strong { display: block; color: #263741; font-size: 17px; }
.raya-category-nav__intro p { color: #66757c; font-size: 12px; line-height: 1.8; }
.raya-category-nav__browse { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; flex: none; padding: 0 14px; border-radius: 7px; background: #b9342d; color: #fff !important; font-size: 12px; font-weight: 800; }
.raya-category-nav__browse:hover { background: #982a24; }
.raya-category-nav__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.raya-category-nav__column { display: grid; align-content: start; gap: 12px; min-width: 0; }
.raya-category-nav__group,
.raya-category-nav__single { display: block; width: 100%; min-width: 0; border: 1px solid #e1e8e7; border-radius: 9px; background: #fff; }
.raya-category-nav__group > summary { display: flex; align-items: center; gap: 8px; min-height: 49px; padding: 9px 12px; color: #263741; cursor: pointer; list-style: none; }
.raya-category-nav__group > summary span:first-child { flex: 1; font-size: 13px; font-weight: 800; }
.raya-category-nav__group > summary small { color: #64747a; font-size: 11px; white-space: nowrap; }
.raya-category-nav__group > summary span:last-child { color: #64747a; font-size: 17px; }
.raya-category-nav__group[open] > summary span:last-child { transform: rotate(180deg); }
.raya-category-nav__group-body { padding: 0 12px 12px; }
.raya-category-nav__group-all { display: inline-block; margin-bottom: 7px; color: #b9342d !important; font-size: 11px; font-weight: 800; }
.raya-category-nav__group ul { margin: 0; padding: 0; list-style: none; }
.raya-category-nav__group li + li { border-top: 1px solid #edf0f0; }
.raya-category-nav__group li > a,
.raya-category-nav__group li > span { display: block; min-height: 44px; padding: 11px 5px; color: #354951; font-size: 12px; line-height: 1.6; }
.raya-category-nav__group li > a:hover { color: #b9342d; background: #fcf5f3; }
.raya-category-nav__single { padding: 12px; color: #263741; font-size: 13px; font-weight: 800; }
@media (prefers-reduced-motion: reduce) {
  .raya-category-nav__chevron { transition: none; }
}

.raya-hero { overflow: visible; padding-block: 28px 0; background: #fff; color: var(--ink); }
.raya-hero::before { display: none; }
.raya-hero__intro { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 20px; }
.raya-hero__intro .raya-kicker { margin-bottom: 2px; color: #b9342d; font-size: 11px; }
.raya-hero h1 { max-width: none; margin: 0; color: #242a33; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.5; letter-spacing: -.025em; }
.raya-hero__intro > a { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; color: #b9342d; font-size: 12px; font-weight: 800; }
.raya-hero__banners { display: grid; grid-template-columns: minmax(0, 850fr) minmax(0, 269fr); gap: 14px; }
.raya-hero__banner { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid #ece9e6; border-radius: 10px; background: #fff; box-shadow: 0 5px 22px #352b2514; }
.raya-hero__banner img { display: block; width: 100%; height: auto; aspect-ratio: 850 / 380; object-fit: contain; background: #f07933; }
.raya-hero__banner--side img { aspect-ratio: 269 / 380; background: #744899; }
.raya-hero__banner-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding-inline: 14px; color: #30343c; background: #fff; font-size: 12px; font-weight: 800; }
.raya-hero__banner-caption b { color: #b9342d; font-size: 18px; }
.raya-hero__banner:hover .raya-hero__banner-caption { color: #b9342d; background: #fff7f0; }

.raya-discover { padding-block: 27px 24px; }
.raya-section-head { margin-bottom: 22px; }
.raya-section-head h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.raya-kicker { color: #b9342d; }
.raya-discover__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
.raya-search-panel, .raya-filter-panel { border-radius: 11px; padding: 20px; }
.raya-search-panel { background: #fff8f1; border-color: #f8e4d1; }
.raya-filter-panel { background: #f5f3f8; border-color: #e8e0ef; }
.raya-search-panel h3, .raya-filter-panel h3 { font-size: 19px; }
.raya-panel__number { color: #a3352e; }
.raya-search-panel__input button { background: #b9342d; }
.raya-search-panel__input button:hover { background: #932922; }
.raya-search-panel__input:focus-within { outline-color: #ffce9b; }
.raya-filter__field select, .raya-browse select { border-color: #d6d3dc; }
.raya-button--dark { background: #b9342d; }
.raya-button--dark:hover { background: #932922; }
.raya-button--light { color: #2c2730 !important; background: #fff; }
.raya-button--light:hover { background: #fff2e6; }
.raya-cars { padding-block: 34px 38px; }
.raya-cars__grid { gap: 10px; }
.raya-car { padding: 18px; border-radius: 10px; box-shadow: 0 3px 15px #26263308; }
.raya-car h3 { font-size: 17px; }
.raya-categories { padding-block: 38px 55px; }
.raya-category-grid { gap: 12px; }
.raya-category { min-height: 120px; border-radius: 10px; box-shadow: 0 3px 15px #26263308; }
.raya-category:hover { border-color: #d05a38; }
.raya-category__art { background: #fff4e7; }
.raya-category:nth-child(2) .raya-category__art { background: #f1eaf7; }
.raya-category:nth-child(3) .raya-category__art { background: #f9ede7; }
.raya-category:nth-child(4) .raya-category__art { background: #f7eff2; }
.raya-category__arrow { color: #b9342d; }
.raya-products { padding-block: 53px 68px; }
.raya-product { border-radius: 10px; box-shadow: 0 3px 15px #26263308; }
.raya-product__image { background: #f7f7f8; }
.raya-product__placeholder { border-radius: 9px; border-color: #e2e3e6; color: #747983; background: #fff; }
.raya-product__detail, .raya-text-link { color: #b9342d !important; }
.raya-help { margin-block: 44px 60px; border-radius: 12px; background: #33313d; }
.raya-help .raya-kicker { color: #ffc493; }
.raya-footer { background: #242831; }
.raya-footer__brand p, .raya-footer__brand span { color: #c2c5ca; }
.raya-footer__main { padding-block: 48px; }
.raya-page-main { background: #f7f7f8; }
.raya-page-main .woocommerce :is(a.button, button.button, input.button, .button, .woocommerce-Button) { background: #b9342d; color: #fff; }
.raya-page-main .woocommerce :is(a.button, button.button, input.button, .button, .woocommerce-Button):hover { background: #932922; color: #fff; }

@media (max-width: 1050px) {
  .raya-header__inner { gap: 20px; }
  .raya-category-nav__inner { gap: 14px; }
  .raya-category-nav__inner > a, .raya-category-nav__root > summary { font-size: 11px; }
  .raya-category-nav__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .raya-header__inner { grid-template-columns: auto 1fr auto; gap: 14px; min-height: 75px; }
  .raya-header__actions { display: none; }
  .raya-menu { display: block; position: relative; grid-column: 3; }
  .raya-menu summary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 12px; border: 1px solid #dddfe2; border-radius: 7px; list-style: none; color: #242a33; font-size: 12px; font-weight: 800; cursor: pointer; }
  .raya-menu summary::-webkit-details-marker { display: none; }
  .raya-menu nav { position: absolute; z-index: 20; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px; display: flex; flex-direction: column; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px #071a1b24; }
  .raya-menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 9px; font-size: 13px; font-weight: 700; }
  .raya-category-nav__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; overflow: visible; }
  .raya-category-nav__all, .raya-category-nav__vehicle { grid-column: 1 / -1; }
  .raya-category-nav__inner > a, .raya-category-nav__root > summary { display: flex; justify-content: flex-start; min-width: 0; min-height: 48px; padding-inline: 9px; white-space: normal; }
  .raya-category-nav__vehicle { margin-inline-start: 0; }
  .raya-category-nav__panel { max-height: min(65vh, 640px); }
  .raya-category-nav__groups { grid-template-columns: minmax(0, 1fr); }
  .raya-discover__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .raya-shell { width: min(100% - 28px, 560px); }
  .raya-topline__inner { justify-content: center; }
  .raya-topline__inner > span { display: none; }
  .raya-header__inner { grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding-block: 9px 12px; gap: 10px; }
  .raya-logo { grid-column: 1; grid-row: 1; }
  .raya-menu { grid-column: 2; grid-row: 1; }
  .raya-header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 46px; }
  .raya-category-nav__inner { min-height: 50px; }
  .raya-category-nav__inner > a, .raya-category-nav__root > summary { min-height: 50px; }
  .raya-category-nav__intro { align-items: stretch; flex-direction: column; gap: 10px; }
  .raya-category-nav__browse { align-self: flex-start; }
  .raya-hero { padding-top: 22px; }
  .raya-hero__intro { display: block; margin-bottom: 14px; }
  .raya-hero__intro > a { margin-top: 6px; }
  .raya-hero h1 { font-size: 24px; }
  .raya-hero__banners { grid-template-columns: minmax(0, 850fr) minmax(0, 269fr); align-items: start; gap: 8px; }
  .raya-hero__banner img { height: auto; object-fit: contain; }
  .raya-hero__banner-caption { padding-inline: 7px; min-height: 44px; font-size: 10px; line-height: 1.3; }
  .raya-hero__banner-caption b { font-size: 15px; }
  .raya-discover { padding-block: 22px 26px; }
  .raya-cars { padding-block: 20px 30px; }
  .raya-categories { padding-block: 25px 40px; }
  .raya-products { padding-block: 40px 50px; }
}
@media (max-width: 480px) {
  .raya-search-panel, .raya-filter-panel { padding: 19px; }
  .raya-search-panel__input button { min-width: 84px; }
  .raya-category { grid-template-columns: 1fr 18px; }
  .raya-category__art { grid-column: 1 / -1; width: 100%; height: 86px; }
  .raya-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-category__name { font-size: 14px; }
  .raya-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .raya-hero__intro { margin-bottom: 9px; }
  .raya-hero__banners { grid-template-columns: 1fr; }
  .raya-hero__banner--side { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .raya-hero__banner img, .raya-category { transition: none; }
}

/* Part-first vehicle refinement shared by shop, category and search views. */
.raya-catalog-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 0 28px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.raya-catalog-filter label { font-weight: 700; color: #242831; }
.raya-catalog-filter select { flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #d7d9de; border-radius: 6px; background: #fff; font: inherit; }
.raya-catalog-filter button { min-height: 44px; padding: 8px 20px; border: 0; border-radius: 6px; background: #b9342d; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.raya-catalog-filter > a { padding: 10px; color: #93322d; }
.raya-catalog-filter p { flex-basis: 100%; margin: 0; color: #626973; font-size: 12px; }
@media (max-width: 600px) { .raya-catalog-filter { padding: 16px; gap: 10px; } .raya-catalog-filter label, .raya-catalog-filter select { flex-basis: 100%; } }

/* Category and vehicle imagery carry the browsing sections. */
.raya-cars__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: 12px; }
.raya-car { overflow: hidden; padding: 0; border: 1px solid #e0e2e6; border-radius: 12px; background: #fff; box-shadow: 0 5px 20px #2229330b; }
.raya-car h3 { margin: 0; font-size: 16px; }
.raya-car h3 a { display: flex; align-items: center; min-height: 68px; gap: 10px; padding: 10px 13px; color: #262a33; }
.raya-car h3 a:hover { color: #b9342d; }
.raya-car__logo { width: 82px; height: 44px; flex: 0 0 82px; padding: 4px; object-fit: contain; border: 1px solid #eceef0; border-radius: 8px; background: #fff; }
.raya-car h3 a > span:nth-last-child(2) { min-width: 0; }
.raya-car__arrow { margin-inline-start: auto; color: #b9342d; font-size: 15px; }
.raya-car__photo { margin: 0; border-block: 1px solid #eaebed; background: #f5f5f6; }
.raya-car__photo img { width: 100%; height: 142px; object-fit: contain; object-position: center; }
.raya-car__photo figcaption { min-height: 28px; padding: 4px 11px; color: #626871; background: #f9f9fa; font-size: 10px; line-height: 1.7; }
.raya-car__photo figcaption span { display: block; }
.raya-car__credit { display: block; margin-top: 2px; color: #59616c; font-size: 10px; line-height: 1.6; direction: ltr; text-align: right; }
.raya-car__credit a { color: #9b332d; text-decoration: underline; text-underline-offset: 2px; }
.raya-car ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px; }
.raya-car li { min-width: 0; margin: 0; }
.raya-car li + li { border: 0; }
.raya-car li a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; border: 1px solid #e2e4e8; border-radius: 7px; background: #f7f8f9; color: #363b43; font-size: 11px; font-weight: 700; line-height: 1.4; }
.raya-car li a:hover { border-color: #cf5a4d; background: #fff5f2; color: #a6342c; }
.raya-car li a:focus-visible, .raya-category:focus-visible { outline: 3px solid #b9342d; outline-offset: 2px; }
.raya-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.raya-category { display: flex; flex-direction: column; gap: 0; overflow: hidden; min-height: 0; padding: 0; border: 1px solid #e0e2e6; border-radius: 12px; background: #fff; box-shadow: 0 5px 20px #2229330b; }
.raya-category:hover { border-color: #c75b4d; transform: translateY(-3px); box-shadow: 0 9px 24px #2229331a; }
.raya-category__art, .raya-category:nth-child(n) .raya-category__art { display: grid; place-items: center; overflow: hidden; width: 100%; height: 148px; padding: 24px; border-radius: 0; background: linear-gradient(150deg, #fcfcfd, #f3f4f6); color: #343942; }
.raya-category__art img { width: 100%; height: 100%; object-fit: contain; }
.raya-category__art .raya-category-icon { display: block; width: 78px; height: 78px; max-width: 100%; fill: currentColor; transition: color .2s; }
.raya-category:hover .raya-category__art, .raya-category:focus-visible .raya-category__art { color: #b9342d; }
.raya-category:focus-visible .raya-category__arrow { color: #fff; background: #b9342d; }
.raya-category__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding-inline: 18px; border-top: 1px solid #eaebed; }
.raya-category__name { color: #272c34; font-size: 17px; font-weight: 900; }
.raya-category__arrow { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 50%; background: #fff0ed; color: #b9342d; font-size: 17px; }
.raya-category:hover .raya-category__arrow { color: #fff; background: #b9342d; }
@media (max-width: 1100px) {
  .raya-cars__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .raya-cars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-category__art, .raya-category:nth-child(n) .raya-category__art { height: 148px; }
}
@media (max-width: 480px) {
  .raya-cars__grid { grid-template-columns: 1fr; }
  .raya-car__photo img { height: 180px; }
  .raya-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-category__art, .raya-category:nth-child(n) .raya-category__art { height: 112px; padding: 20px; }
  .raya-category__art .raya-category-icon { width: 64px; height: 64px; }
  .raya-category__meta { min-height: 53px; padding-inline: 11px; }
  .raya-category__name { font-size: 14px; }
  .raya-category__arrow { width: 25px; height: 25px; flex-basis: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .raya-category { transition: none; }
}

/* Two hand-controlled studio slides; the artwork is never cropped. */
.raya-hero { padding-block: 22px 0; overflow: visible; background: #fff; }
.raya-hero__track { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 13px; scrollbar-width: thin; }
.raya-hero-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 420px; overflow: hidden; scroll-snap-align: start; isolation: isolate; }
.raya-hero-slide--parts { background: #f7f3ed; color: #252a31; }
.raya-hero-slide--vehicle { background: #17191c; color: #fff; }
.raya-hero-slide__art { position: absolute; left: 0; top: 0; width: 70%; height: 100%; object-fit: contain; object-position: left center; }
.raya-hero-slide__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 42%; height: 100%; margin-left: auto; padding: 35px 40px 35px 20px; text-align: right; }
.raya-hero-slide__brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 900; }
.raya-hero-slide__brand img { width: 42px; height: 42px; border: 1px solid #ffffffa8; border-radius: 50%; object-fit: contain; background: #fff; }
.raya-hero-slide__eyebrow { margin-bottom: 8px; color: #a92f29; font-size: 12px; font-weight: 800; }
.raya-hero-slide--vehicle .raya-hero-slide__eyebrow { color: #f1b2a2; }
.raya-hero-slide h1, .raya-hero-slide h2 { max-width: 440px; margin: 0; color: inherit; font-size: clamp(28px, 3.3vw, 43px); line-height: 1.47; letter-spacing: -.035em; font-weight: 900; }
.raya-hero-slide p { max-width: 380px; margin-top: 12px; color: #4b525b; font-size: 13px; line-height: 1.95; }
.raya-hero-slide--vehicle p { color: #e1e2e4; }
.raya-hero-slide__cta { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; margin-top: 21px; padding-inline: 19px; border-radius: 7px; background: #b9342d; color: #fff !important; font-size: 13px; font-weight: 900; }
.raya-hero-slide__cta:hover { background: #932922; }
.raya-hero__controls { display: none; align-items: center; justify-content: flex-end; gap: 11px; padding-block: 10px 0; }
.raya--slider-ready .raya-hero__controls { display: flex; }
.raya--slider-ready .raya-hero__track { scrollbar-width: none; }
.raya--slider-ready .raya-hero__track::-webkit-scrollbar { display: none; }
.raya-hero__controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d5d8dc; border-radius: 7px; background: #fff; color: #292e36; font-size: 20px; }
.raya-hero__controls button:hover:not(:disabled) { border-color: #b9342d; color: #b9342d; }
.raya-hero__controls button:disabled { opacity: .4; cursor: default; }
.raya-hero__controls span { min-width: 45px; text-align: center; color: #59616b; font-size: 12px; font-weight: 800; }
@media (max-width: 760px) {
  .raya-hero-slide { height: auto; display: flex; flex-direction: column; }
  .raya-hero-slide__art { position: static; order: 0; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
  .raya-hero-slide__copy { order: 1; width: 100%; height: auto; min-height: 220px; margin: 0; padding: 19px 23px 24px; }
  .raya-hero-slide h1, .raya-hero-slide h2 { font-size: clamp(25px, 6vw, 33px); }
  .raya-hero-slide__brand { margin-bottom: 6px; }
  .raya-hero-slide__brand img { width: 38px; height: 38px; }
  .raya-hero-slide__cta { margin-top: 16px; }
}
@media (max-width: 480px) {
  .raya-hero { padding-top: 12px; }
  .raya-hero-slide__copy { padding: 15px 19px 21px; }
  .raya-hero-slide__eyebrow { margin-bottom: 4px; }
  .raya-hero-slide p { margin-top: 8px; font-size: 12px; }
  .raya-hero-slide__cta { min-height: 44px; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .raya-hero__track { scroll-behavior: auto; }
}

/* Three-step vehicle finder: consistent previews, then model and part type. */
.raya-cars { padding-block: 29px 44px; }
.raya-cars .raya-section-head { margin-bottom: 15px; }
.raya-car-finder { padding: 21px; border: 1px solid #e0e3e7; border-radius: 13px; background: #f6f7f8; }
.raya-car-finder__brands { min-width: 0; margin: 0; padding: 0; border: 0; }
.raya-car-finder__brands legend { display: flex; align-items: center; gap: 9px; width: 100%; margin-bottom: 14px; padding: 0; color: #282d35; font-size: 16px; font-weight: 900; }
.raya-step { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 7px; background: #b9342d; color: #fff; font-size: 13px; line-height: 1; }
.raya-cars__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 10px; }
.raya-car-choice { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 2px solid #e0e3e7; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.raya-car-choice:hover { border-color: #c05a4e; }
.raya-car-choice:has(input:checked) { border-color: #b9342d; box-shadow: 0 0 0 2px #b9342d24; }
.raya-car-choice:focus-within { outline: 3px solid #b9342d; outline-offset: 2px; }
.raya-car-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.raya-car-choice__top { display: flex; align-items: center; gap: 7px; min-height: 66px; padding-inline: 9px; color: #252a32; }
.raya-car-choice__top strong { min-width: 0; font-size: 14px; line-height: 1.4; }
.raya-car-choice__top > span:last-child { margin-inline-start: auto; color: #b9342d; font-size: 16px; }
.raya-car-choice:has(input:checked) .raya-car-choice__top { background: #fff7f5; }
.raya-car-choice__photo { position: relative; display: block; width: 100%; height: 145px; margin-top: auto; background: #f0f1f3; }
.raya-car-choice__photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.raya-car-choice__model { position: absolute; bottom: 7px; left: 7px; display: inline-flex; align-items: center; min-height: 27px; padding-inline: 8px; border-radius: 5px; background: #252932e6; color: #fff; font-size: 11px; font-weight: 800; direction: ltr; }
.raya-car-finder__finish { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 18px; }
.raya-car-finder__field { display: block; min-width: 0; }
.raya-car-finder__label { display: flex; align-items: center; gap: 8px; min-height: 30px; margin-bottom: 7px; color: #282d35; font-size: 14px; font-weight: 900; }
.raya-car-finder__field select { display: block; width: 100%; min-width: 0; min-height: 52px; padding-inline: 12px; border: 1px solid #cfd3d9; border-radius: 7px; background: #fff; color: #252a32; font-size: 13px; }
.raya-car-finder__field select:disabled { background: #e9eaed; color: #6b717a; }
.raya-car-finder__submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 17px; min-height: 52px; padding-inline: 19px; border: 0; border-radius: 7px; background: #b9342d; color: #fff; font-size: 13px; font-weight: 900; white-space: nowrap; }
.raya-car-finder__submit:hover { background: #932922; }
.raya-car-finder__note { margin: 13px 0 0; color: #626a74; font-size: 11px; line-height: 1.7; }
.raya-car-credits { margin-top: 8px; color: #69717a; font-size: 11px; }
.raya-car-credits summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: #656d77; text-decoration: underline; text-underline-offset: 3px; }
.raya-car-credits p { margin-bottom: 4px; }
.raya-car-credits ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding-inline-start: 18px; }
.raya-car-credits a { color: #a3332b; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1050px) {
  .raya-cars__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .raya-car-finder { padding: 15px; }
  .raya-cars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-car-choice:last-child { grid-column: 1 / -1; }
  .raya-car-finder__finish { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raya-car-finder__submit { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 480px) {
  .raya-cars { padding-block: 22px 34px; }
  .raya-car-finder { padding: 10px; }
  .raya-cars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .raya-car-choice__top { min-height: 58px; padding-inline: 6px; gap: 5px; }
  .raya-car-choice__top .raya-car__logo { width: 62px; height: 38px; flex-basis: 62px; }
  .raya-car-choice__top strong { font-size: 12px; }
  .raya-car-choice__top > span:last-child { display: none; }
  .raya-car-choice__photo { height: 112px; }
  .raya-car-finder__finish { grid-template-columns: 1fr; gap: 8px; margin-top: 13px; }
  .raya-car-finder__submit { grid-column: auto; }
  .raya-car-finder__note { margin-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .raya-car-choice { transition: none; }
}

/* Clear product discovery directly after the hero, with native search and category URLs. */
.raya-hero-search { display: grid; grid-template-columns: minmax(195px, .6fr) minmax(0, 1.4fr); align-items: center; gap: 17px; margin-top: 12px; padding: 13px 17px; border: 1px solid #e2e3e5; border-radius: 10px; background: #fff; box-shadow: 0 6px 22px #292d3510; }
.raya-hero-search > label { color: #292d35; font-size: 14px; font-weight: 900; line-height: 1.6; }
.raya-hero-search__field { display: flex; min-width: 0; min-height: 50px; overflow: hidden; border: 1px solid #cfd2d7; border-radius: 7px; background: #f8f9fa; }
.raya-hero-search__field:focus-within { border-color: #b9342d; box-shadow: 0 0 0 3px #b9342d20; }
.raya-hero-search__field input[type="search"] { width: 100%; min-width: 0; min-height: 50px; padding-inline: 15px; border: 0; outline: 0; background: transparent; color: #252a32; }
.raya-hero-search__field button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; flex: none; min-width: 142px; min-height: 50px; padding-inline: 15px; border: 0; background: #b9342d; color: #fff; font-weight: 900; }
.raya-hero-search__field button:hover { background: #932922; }
.raya-hero-search__field button:focus-visible { outline: 3px solid #202833; outline-offset: -4px; }
.raya-section-head--products { align-items: center; }
.raya-product-cats { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; }
.raya-product-cats a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 13px; border: 1px solid #d6d9dd; border-radius: 6px; background: #fff; color: #353b44; font-size: 12px; font-weight: 800; white-space: nowrap; }
.raya-product-cats a:hover { border-color: #b9342d; color: #a82f28; }
.raya-product-cats .raya-product-cats__all { gap: 9px; border-color: #292e36; background: #292e36; color: #fff; }
.raya-product-cats .raya-product-cats__all:hover { border-color: #b9342d; background: #b9342d; color: #fff; }
@media (max-width: 760px) {
  .raya-hero-search { grid-template-columns: 1fr; gap: 9px; padding: 12px; }
  .raya-section-head--products { align-items: flex-start; }
  .raya-product-cats { justify-content: flex-start; width: 100%; }
}
@media (max-width: 480px) {
  .raya-hero-search__field button { min-width: 116px; padding-inline: 10px; gap: 6px; font-size: 12px; }
  .raya-product-cats a { padding-inline: 10px; font-size: 11px; }
}

/* Elementor's global type and image rules must not resize Raya's contained artwork. */
body .elementor .raya.raya-elementor-section .raya-hero-slide :is(h1, h2) { max-width: 440px; margin: 0; color: inherit; font-size: clamp(28px, 3.3vw, 43px); line-height: 1.47; letter-spacing: -.035em; font-weight: 900; }
body .elementor .raya.raya-elementor-section .raya-section-head h2 { margin: 0; color: #292e36; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; font-weight: 900; }
body .elementor .raya.raya-elementor-section .raya-help h2 { margin: 0; color: #fff; font-size: clamp(24px, 3vw, 35px); line-height: 1.45; font-weight: 900; }
body .elementor .raya.raya-elementor-section .raya-hero-slide__art { position: absolute; top: 0; left: 0; width: 70%; height: 100%; max-width: none; object-fit: contain; object-position: left center; }
body .elementor .raya.raya-elementor-section .raya-hero-slide__brand img { width: 42px; height: 42px; object-fit: contain; }
body .elementor .raya.raya-elementor-section .raya-category__art img,
body .elementor .raya.raya-elementor-section .raya-car-choice__photo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center; }
body .elementor .raya.raya-elementor-section .raya-car-choice__top .raya-car__logo { width: 82px; height: 44px; object-fit: contain; }
@media (max-width: 760px) {
  body .elementor .raya.raya-elementor-section .raya-hero-slide__art { position: static; width: 100%; height: auto; max-width: 100%; aspect-ratio: 3 / 2; }
  body .elementor .raya.raya-elementor-section .raya-hero-slide :is(h1, h2) { font-size: clamp(25px, 6vw, 33px); }
  body .elementor .raya.raya-elementor-section .raya-hero-slide__brand img { width: 38px; height: 38px; }
}
@media (max-width: 480px) {
  body .elementor .raya.raya-elementor-section .raya-car-choice__top .raya-car__logo { width: 62px; height: 38px; }
}
