
/* Yacht web parity: same visual system as marketplace car listing/detail. */
body.rcd-yacht-listing-page,body.rcd-yacht-detail-page{background:#f4f6f4;color:#17382d}
#yachtCatalogApp{width:min(1240px,calc(100% - 64px));max-width:1240px;margin:0 auto;padding:28px 0 64px;overflow-wrap:anywhere}
#yachtCatalogApp [hidden]{display:none!important}
.rcd-yacht-search-hero{position:relative;z-index:1;margin-top:0;padding:54px 24px 110px;border-radius:0 0 48px 48px;background:radial-gradient(circle at 50% 120%,rgba(17,153,92,.42),transparent 42%),linear-gradient(135deg,#043c2a,#07583b 56%,#06412e);color:#fff;text-align:center}
.rcd-yacht-search-hero__inner{width:min(980px,100%);margin:auto}
.rcd-yacht-search-kicker{display:inline-flex;padding:8px 14px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.06);font-size:12px;font-weight:800}
.rcd-yacht-search-hero h1{margin:18px 0 10px;font-size:clamp(44px,6vw,72px);line-height:1.08;font-weight:900}
.rcd-yacht-search-hero p{max-width:760px;margin:0 auto;color:rgba(255,255,255,.72);font-size:16px;line-height:1.8}
body.rcd-yacht-listing-page #yachtCatalogApp{margin-top:-68px;position:relative;z-index:2}
.rcd-yacht-search-layout{display:grid;grid-template-columns:minmax(240px,286px) minmax(0,1fr);gap:24px;align-items:start}
.rcd-yacht-filter-sidebar{position:sticky;top:96px;overflow:hidden;border:1px solid rgba(15,79,55,.10);border-radius:22px;background:#fff;box-shadow:0 14px 36px rgba(11,60,41,.07)}
.rcd-yacht-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px;background:#087846;color:#fff}
.rcd-yacht-filter-head div{display:grid;gap:4px}.rcd-yacht-filter-head strong{font-size:17px}.rcd-yacht-filter-head small{color:rgba(255,255,255,.75);font-size:11px;line-height:1.5}
.rcd-yacht-filter-form{display:grid;gap:16px;padding:20px}.rcd-yacht-filter-form .field{display:grid;gap:7px}.rcd-yacht-filter-form label{font-size:12px;font-weight:800;color:#294d40}
.rcd-yacht-filter-form input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfded6;border-radius:11px;background:#fff;color:#173b2f;font:inherit}
.rcd-yacht-filter-actions{display:grid;gap:8px}.rcd-yacht-filter-actions .btn{width:100%;min-height:44px}
.rcd-yacht-filter-close{display:none;border:0;background:transparent;color:#fff;font-size:26px;line-height:1;cursor:pointer}
.rcd-yacht-search-results{min-width:0}.rcd-yacht-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:132px;margin-bottom:22px;padding:24px 28px;border:1px solid rgba(15,79,55,.09);border-radius:22px;background:linear-gradient(120deg,#fff,#edf8f2);box-shadow:0 10px 28px rgba(11,60,41,.045)}
.rcd-yacht-results-kicker{display:inline-flex;margin-bottom:6px;padding:5px 9px;border-radius:999px;background:#fff;color:#087846;font-size:11px;font-weight:800}
.rcd-yacht-results-toolbar h2{margin:0;color:#174c38;font-size:clamp(26px,3vw,36px);line-height:1.2}
.rcd-yacht-results-live{display:flex;align-items:center;gap:7px;margin-top:10px;color:#66796d;font-size:13px}.rcd-yacht-results-dot{width:9px;height:9px;border-radius:50%;background:#20b66b;box-shadow:0 0 0 5px rgba(32,182,107,.10)}
.rcd-yacht-mobile-controls{display:none}.rcd-yacht-filter-overlay{display:none}
#yachtCatalogResults.yacht-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
#yachtCatalogResults .car-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dce5df;border-radius:22px;background:#fff;transition:transform .2s ease,box-shadow .2s ease}
#yachtCatalogResults .car-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(18,63,49,.12)}
#yachtCatalogResults .car-visual{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(180deg,#f9fbfa,#edf4f0)}
#yachtCatalogResults .crs-search-vehicle-gallery,#yachtCatalogResults .crs-search-vehicle-gallery__slides{width:100%;height:100%}
#yachtCatalogResults .crs-search-vehicle-gallery__slide{display:block;width:100%;height:100%;object-fit:cover}
#yachtCatalogResults .car-body{display:flex;flex:1;flex-direction:column;padding:20px}
#yachtCatalogResults .car-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
#yachtCatalogResults .car-title{margin:0;color:#17382d;font-size:20px;font-weight:900;line-height:1.45}
#yachtCatalogResults .car-title a{color:inherit;text-decoration:none}
#yachtCatalogResults .car-company{margin-top:4px;color:#687a71;font-size:12px;line-height:1.55}
#yachtCatalogResults .car-card__badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
#yachtCatalogResults .car-card__badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:8px;background:#f1f5f2;color:#345647;font-size:12px;font-weight:700}
#yachtCatalogResults .yacht-card-availability{margin:12px 0 0;padding:10px 12px;border-radius:10px;background:#e8f3ed;color:#146443;font-weight:800;font-size:12px}
#yachtCatalogResults .rcd-yacht-card-footer{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-top:auto;padding-top:18px}
#yachtCatalogResults .rcd-yacht-card-price{display:grid;gap:2px;color:#66796d;font-size:12px}
#yachtCatalogResults .rcd-yacht-card-price strong{font-size:23px;color:#07533d;line-height:1.1}
#yachtCatalogResults .btn{min-height:44px;border-radius:10px;padding:10px 15px;text-decoration:none}
#yachtCatalogPagination{display:flex;justify-content:center;gap:10px;margin:28px 0}
@media(max-width:900px){
  body.rcd-yacht-listing-page #yachtCatalogApp{margin-top:-48px}
  .rcd-yacht-mobile-controls{display:flex;justify-content:flex-start;margin-bottom:12px}
  .rcd-yacht-search-layout{display:block}
  .rcd-yacht-filter-sidebar{position:fixed;z-index:1002;top:0;bottom:0;left:0;width:min(88vw,330px);max-height:100dvh;overflow:auto;border-radius:0 22px 22px 0;transform:translateX(-105%);transition:transform .2s ease}
  html[dir="rtl"] .rcd-yacht-filter-sidebar{left:auto;right:0;border-radius:22px 0 0 22px;transform:translateX(105%)}
  .rcd-yacht-filter-sidebar.is-open{transform:translateX(0)}
  .rcd-yacht-filter-close{display:block}
  .rcd-yacht-filter-overlay{display:block;position:fixed;z-index:1001;inset:0;background:rgba(2,34,22,.48)}
  .rcd-yacht-filter-overlay[hidden]{display:none!important}
  body.rcd-yacht-filter-open{overflow:hidden}
  .rcd-yacht-results-toolbar{min-height:0}
}
@media(max-width:620px){
  .rcd-yacht-search-hero{padding:38px 18px 86px;border-radius:0 0 34px 34px}
  .rcd-yacht-search-hero h1{font-size:38px}
  .rcd-yacht-search-hero p{font-size:14px}
  body.rcd-yacht-listing-page #yachtCatalogApp{width:calc(100% - 28px);margin-top:-42px}
  .rcd-yacht-results-toolbar{padding:20px;border-radius:18px}
}

/* Detail = vehicle detail shell. */
body.rcd-yacht-detail-page::before{display:none!important}
body.rcd-yacht-detail-page #yachtCatalogApp>h1{display:none}
body.rcd-yacht-detail-page #yachtCatalogResults.yacht-grid{display:block}
body.rcd-yacht-detail-page #yachtCatalogApp{padding-top:28px}
.rcd-yacht-detail-shell{width:100%}
.rcd-vehicle-top-nav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}
.rcd-vehicle-back a{color:#07533d;font-size:14px;font-weight:800;text-decoration:none}
.rcd-vehicle-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#708178}
.rcd-vehicle-breadcrumb a{color:inherit;text-decoration:none}
.rcd-vehicle-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,.9fr);gap:24px;align-items:start}
.rcd-vehicle-gallery{min-width:0;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
.rcd-yacht-visual-column{min-width:0;display:grid;gap:10px;align-self:start}
.rcd-yacht-main-gallery{position:relative;overflow:hidden;aspect-ratio:4/3;border-radius:20px;background:#e8eeea}
.rcd-yacht-main-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.rcd-yacht-gallery-thumbs{display:flex;gap:9px;overflow:auto;margin-top:8px}
.rcd-yacht-gallery-thumbs button{width:78px;height:60px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#fff}
.rcd-yacht-gallery-thumbs button.is-active{border-color:#07533d}
.rcd-yacht-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.rcd-gallery-main__counter,.rcd-gallery-main__expand{position:absolute;z-index:4;top:12px;border:0;border-radius:999px;background:rgba(8,70,48,.84);color:#fff;min-height:34px;padding:7px 11px;display:flex;align-items:center;justify-content:center}
.rcd-gallery-main__counter{left:12px}.rcd-gallery-main__expand{right:12px;cursor:pointer;font-size:18px}
.rcd-gallery-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#07533d;box-shadow:0 5px 16px rgba(0,40,25,.15);font-size:28px;cursor:pointer}.rcd-gallery-arrow--prev{left:12px}.rcd-gallery-arrow--next{right:12px}
.rcd-gallery-lightbox[hidden]{display:none!important}.rcd-gallery-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(4,23,16,.94);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:30px}
.rcd-gallery-lightbox__stage{margin:0;position:relative;display:flex;align-items:center;justify-content:center;height:min(82vh,820px)}.rcd-gallery-lightbox__stage img{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px}.rcd-gallery-lightbox__counter{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.55);color:#fff;border-radius:999px;padding:7px 12px}
.rcd-gallery-lightbox__close,.rcd-gallery-lightbox__nav{border:0;background:#fff;color:#07533d;border-radius:50%;width:46px;height:46px;font-size:28px;cursor:pointer}.rcd-gallery-lightbox__close{position:absolute;top:18px;right:18px;z-index:2}
.rcd-yacht-top-actions{display:flex;align-items:center;gap:10px}.rcd-yacht-top-actions .btn{min-height:44px;padding:9px 14px}
.rcd-vehicle-info{padding:18px;border:1px solid #dce5df;border-radius:20px;background:#fff;min-width:0}
.rcd-vehicle-info h1{font-size:clamp(28px,3vw,40px);line-height:1.3;margin:18px 0 8px;color:#123e2f}
.badge-green{display:inline-flex;background:#e8f3ed;color:#146443;border:0;font-size:12px;padding:7px 12px;border-radius:8px;font-weight:800}
.rcd-vehicle-spec-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}
.rcd-spec-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:108px;padding:14px 8px;background:#fff;border:1px solid #d8e4dc;border-radius:14px;text-align:center}.rcd-spec-card span{font-size:12px;line-height:1.4;color:#60776a}.rcd-spec-card strong{font-size:15px;line-height:1.4;color:#173f30}
.rcd-quote-card{padding:20px 0 0;border:0;border-top:1px solid #dce5df;background:transparent}
.rcd-price-from{display:grid;gap:5px;color:#6b7b72;font-size:13px}.rcd-price-from strong{font-size:30px;color:#07533d}
.rcd-yacht-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.rcd-yacht-primary-actions .btn{min-height:46px;border-radius:10px;display:flex;align-items:center;justify-content:center}
.rcd-yacht-detail-sections{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}
.rcd-yacht-detail-sections .yacht-info-section{margin:0;background:#fff;border:1px solid #dce5df;border-radius:16px;padding:20px}
.rcd-yacht-detail-sections .yacht-info-section summary{font-weight:800;cursor:pointer}
.rcd-yacht-detail-sections .yacht-info-section p,.rcd-yacht-detail-sections .yacht-info-section li{color:#66796d;line-height:1.8;font-size:14px}
.rcd-yacht-detail-sections .yacht-info-section iframe{margin-top:12px;border-radius:12px}
.yacht-booking-flow{display:grid;gap:16px;margin-top:24px}.yacht-booking-flow form{background:#fff;border:1px solid #dce5df;border-radius:20px;padding:20px}
.yacht-form-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.yacht-form-grid .field-full{grid-column:1/-1}.yacht-booking-flow input,.yacht-booking-flow textarea{width:100%;padding:12px;border:1px solid #d7e1da;border-radius:10px;background:#fff}
.yacht-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}.yacht-summary{display:grid;gap:8px;margin-top:12px}.yacht-summary-row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #e4eae6}
.yacht-addon-list,.yacht-payment-options{display:grid;gap:10px;margin-top:10px}.yacht-addon-row,.yacht-payment-option{padding:12px;border:1px solid #dce5df;border-radius:12px}
.yacht-status-error{color:#a51d1d}.yacht-auth-prompt{padding:12px;border:1px solid #dce5df;border-radius:12px;background:#e8f3ed}
@media(max-width:1000px){#yachtCatalogResults.yacht-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rcd-vehicle-hero{grid-template-columns:1fr}.rcd-vehicle-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rcd-yacht-detail-sections{grid-template-columns:1fr}}
@media(max-width:620px){#yachtCatalogApp{width:calc(100% - 32px);padding-top:18px}#yachtCatalogResults.yacht-grid{grid-template-columns:1fr;gap:16px}.rcd-vehicle-top-nav{align-items:flex-start;flex-direction:column}.rcd-yacht-top-actions{width:100%;justify-content:space-between}.rcd-vehicle-info{padding:18px}.rcd-vehicle-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rcd-spec-card{min-height:96px}.rcd-yacht-primary-actions{grid-template-columns:1fr}.yacht-actions>*{width:100%}.rcd-gallery-lightbox{grid-template-columns:1fr;padding:18px}.rcd-gallery-lightbox__nav{position:absolute;top:50%;z-index:3}.rcd-gallery-lightbox__nav--prev{left:8px}.rcd-gallery-lightbox__nav--next{right:8px}}


/* 2026-10-22 Yacht parity closure: pricing, favorites, location actions and RTL gallery. */
#yachtCatalogResults .car-topline .rcd-yacht-favorite-button{flex:0 0 auto;margin-top:-2px}
.rcd-yacht-top-actions .rcd-yacht-favorite-button{flex:0 0 auto}
.rcd-yacht-price-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}
.rcd-yacht-price-option{display:grid;gap:4px;min-width:0;padding:11px 9px;border:1px solid #dce5df;border-radius:12px;background:#f7faf8;text-align:center}
.rcd-yacht-price-option strong{font-size:12px;color:#60776a}
.rcd-yacht-price-option b{font-size:16px;color:#07533d;line-height:1.2}
.rcd-yacht-price-option small{font-size:10px!important;color:#087846!important;font-weight:800}
.rcd-yacht-detail-availability{margin-top:14px;padding:10px 12px;border-radius:10px;background:#e8f3ed;color:#146443;font-size:12px;font-weight:800;line-height:1.55}
.rcd-yacht-feature-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.rcd-yacht-feature-chip{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid #dce5df;border-radius:10px;background:#f6f9f7;color:#315949;font-size:13px;font-weight:700}
.rcd-yacht-feature-chip .crs-icon{color:#087846}
.rcd-yacht-location-actions{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 4px}
.rcd-yacht-location-actions .btn{min-height:42px;padding:8px 12px;text-decoration:none}
.rcd-yacht-detail-sections .yacht-copy p{white-space:pre-line}
html[dir="rtl"] .rcd-yacht-main-gallery .rcd-gallery-arrow--prev{left:auto;right:12px}
html[dir="rtl"] .rcd-yacht-main-gallery .rcd-gallery-arrow--next{right:auto;left:12px}
html[dir="rtl"] #yachtCatalogResults .crs-search-vehicle-gallery__control--previous{left:auto;right:10px}
html[dir="rtl"] #yachtCatalogResults .crs-search-vehicle-gallery__control--next{right:auto;left:10px}
html[dir="rtl"] .rcd-gallery-lightbox{direction:rtl}

@media(max-width:620px){
  .rcd-yacht-price-options{grid-template-columns:repeat(3,minmax(105px,1fr));overflow-x:auto;padding-bottom:4px}
  .rcd-yacht-location-actions{display:grid;grid-template-columns:1fr}
  .rcd-yacht-location-actions .btn{width:100%}
}


/* 2026-10-22 visual polish: calmer hero, filter hierarchy, tighter results header. */
.rcd-yacht-search-hero{
  padding:42px 24px 84px;
  border-radius:0 0 40px 40px;
  background:
    radial-gradient(circle at 50% 122%,rgba(20,165,101,.28),transparent 43%),
    linear-gradient(135deg,#073d2d 0%,#07553d 56%,#064332 100%);
}
.rcd-yacht-search-hero__inner{width:min(860px,100%)}
.rcd-yacht-search-kicker{
  padding:7px 12px;
  border-color:rgba(255,255,255,.15);
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.82);
  font-size:11px;
  letter-spacing:.01em;
}
.rcd-yacht-search-hero h1{
  margin:14px 0 12px;
  font-size:clamp(38px,4.5vw,58px);
  line-height:1.05;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.rcd-yacht-search-hero p{
  max-width:700px;
  color:rgba(255,255,255,.79);
  font-size:15px;
  line-height:1.72;
}
body.rcd-yacht-listing-page #yachtCatalogApp{margin-top:-48px}

.rcd-yacht-search-layout{
  grid-template-columns:minmax(250px,282px) minmax(0,1fr);
  gap:26px;
}
.rcd-yacht-filter-sidebar{
  border-color:#d9e5df;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(16,73,52,.055);
}
.rcd-yacht-filter-head{
  padding:18px 19px;
  border-bottom:1px solid #dfe9e4;
  background:linear-gradient(180deg,#f8fbf9,#f1f7f4);
  color:#164c38;
}
.rcd-yacht-filter-head strong{font-size:16px;color:#164c38}
.rcd-yacht-filter-head small{color:#718279;font-size:11px}
.rcd-yacht-filter-form{gap:15px;padding:19px}
.rcd-yacht-filter-form label{
  color:#405f53;
  font-size:12px;
  letter-spacing:.01em;
}
.rcd-yacht-filter-form input{
  min-height:48px;
  padding:11px 13px;
  border-color:#cfddd6;
  border-radius:12px;
  background:#fbfdfc;
  color:#173b2f;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.rcd-yacht-filter-form input:focus{
  outline:0;
  border-color:#1a9360;
  box-shadow:0 0 0 3px rgba(26,147,96,.10);
  background:#fff;
}
.rcd-yacht-filter-actions{gap:9px;margin-top:2px}
.rcd-yacht-filter-actions .btn{min-height:46px;border-radius:12px;font-weight:800}
.rcd-yacht-filter-actions .btn-primary{
  background:#087846;
  border-color:#087846;
  box-shadow:0 8px 18px rgba(8,120,70,.12);
}
.rcd-yacht-filter-actions .btn-outline{
  background:#fff;
  border-color:#d5e2dc;
  color:#315949;
  box-shadow:none;
}
.rcd-yacht-results-toolbar{
  min-height:112px;
  margin-bottom:20px;
  padding:22px 26px;
  border-color:#dce7e1;
  border-radius:20px;
  background:#fff;
  box-shadow:0 9px 24px rgba(15,69,49,.045);
}
.rcd-yacht-results-kicker{
  margin-bottom:7px;
  padding:5px 9px;
  background:#edf7f2;
  color:#087846;
}
.rcd-yacht-results-toolbar h2{
  font-size:clamp(27px,2.55vw,34px);
  color:#154936;
  letter-spacing:-.02em;
}
.rcd-yacht-results-live{
  margin-top:9px;
  color:#73837a;
}
.rcd-yacht-results-dot{
  width:8px;
  height:8px;
  box-shadow:0 0 0 4px rgba(32,182,107,.09);
}

@media(max-width:900px){
  body.rcd-yacht-listing-page #yachtCatalogApp{margin-top:-34px}
  .rcd-yacht-filter-head{background:#f4f9f6;color:#164c38}
  .rcd-yacht-filter-close{color:#164c38}
}
@media(max-width:620px){
  .rcd-yacht-search-hero{
    padding:34px 18px 68px;
    border-radius:0 0 30px 30px;
  }
  .rcd-yacht-search-hero h1{font-size:36px;letter-spacing:-.025em}
  .rcd-yacht-search-hero p{font-size:13.5px;line-height:1.65}
  body.rcd-yacht-listing-page #yachtCatalogApp{margin-top:-28px}
  .rcd-yacht-results-toolbar{padding:18px;border-radius:17px}
}
