/* Karta jachtu wg Figmy (eksport-2210: figma-14 desktop 1440, figma-15/16 mobile 375). Uzupełnia site.css, gallery.css,
   charter.css (kwota z chmurką PLN) i charter-search.css (kalendarz „Termin”). Pomiary: makiety/porownanie/karta-jachtu.md. */

body:has(.yc) { background: var(--bg-page); }

.yc { display: grid; grid-template-columns: minmax(0, 800px) 378px; grid-template-areas: "gal gal" "title aside" "meta aside" "body aside"; grid-template-rows: auto auto auto 1fr; justify-content: space-between; column-gap: var(--space-6); padding-bottom: var(--space-8); color: var(--navy-600); }
.yc__gallery { grid-area: gal; margin-bottom: 56px; }
.yc__title { grid-area: title; }
.yc__meta { grid-area: meta; margin-bottom: 48px; }
/* Panel z ceną pływa przy przewijaniu, przypięty pod menu (jak plan rejsu); dłuższy niż ekran przewija się w sobie.
   Otwarty kalendarz „Termin” (720 px, wychodzi w lewo poza panel) zdejmuje przycięcie, żeby był cały widoczny. */
.yc__aside { grid-area: aside; align-self: start; display: flex; flex-direction: column; position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.yc__aside:has(.drp:not([hidden])) { overflow: visible; }
.yc__body { grid-area: body; min-width: 0; }

/* Galeria w siatce karty (bez .container); „+ N zdjęć” na ostatnim zdjęciu */
.gallery--inline { margin-top: 26px; }
.gallery--inline .gallery__more { right: 10px; bottom: 10px; border-color: var(--white); background: rgba(239, 250, 252, .96); font-size: var(--fs-body-2); }
.gallery--inline .gallery__more:hover { background: var(--white); }

/* Nagłówek */
.yc__back { display: none; }
.yc__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.yc__h1 { margin: 0; font-size: var(--fs-h3); font-weight: 500; line-height: 1.2; }
.yc__name { color: var(--gray-500); }
.yc__year { display: none; }
.yc__pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-full); font-size: var(--fs-body-3); font-weight: 700; line-height: 1; }
.yc__pill--ok { background: var(--success-100); color: #04704f; }
.yc__pill--option { background: var(--orange-200); color: var(--orange-text); }
.yc__pill--off { background: var(--gray-50); color: var(--gray-500); }
.yc__place { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 18px 0 0; font-size: var(--fs-body-3); line-height: 1.5; }
.yc__place strong { font-weight: 700; }
.yc__flag { font-size: 18px; line-height: 1; }
.yc__company { display: inline-flex; align-items: center; gap: 8px; }
.yc__dot, .yc__specs li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-300); }
.yc__specs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 0; padding: 0; list-style: none; font-size: var(--fs-body-3); }
.yc__specs li { display: inline-flex; align-items: center; gap: 4px; }
.yc__specs li + li::before { margin-right: 6px; }
.yc__specs strong { font-size: var(--fs-body-2); font-weight: 700; }

/* Sekcje treści */
.yc-sec { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #eef0f4; }
.yc-sec:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.yc-sec__title { margin: 0 0 28px; font-size: var(--fs-h5); font-weight: 700; line-height: 1.3; }
.yc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 0; margin: 0; padding-left: 32px; border-left: 2px solid var(--orange-line); font-size: var(--fs-body-3); }
.yc-grid div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; min-height: 24px; }
.yc-grid dd { margin: 0; font-size: var(--fs-body-2); font-weight: 700; }

.yc-cabins { display: grid; grid-template-columns: 390px minmax(0, 1fr); align-items: center; gap: 41px; }
.yc-cabins__plan { display: flex; align-items: center; justify-content: center; min-height: 272px; padding: 24px; border-radius: var(--radius-lg); background: var(--white); }
.yc-cabins__plan a { display: block; width: 100%; }
.yc-cabins__plan img { display: block; width: 100%; height: auto; max-height: 240px; object-fit: contain; }
.yc-cabins__none, .yc-cabins__plan--none::after { font-size: var(--fs-body-3); color: var(--gray-500); }
.yc-cabins__plan--none::after { content: "Rzut jachtu wkrótce"; }
.yc-cabins__facts { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-body-3); }
.yc-cabins__facts strong { margin-left: 4px; font-size: var(--fs-body-2); font-weight: 700; }
.yc-cabins__tree ul { display: flex; flex-direction: column; gap: 22px; margin: 0 0 0 11px; padding: 10px 0; list-style: none; border-left: 2px solid var(--primary-600); }
.yc-cabins__tree ul li { position: relative; display: flex; align-items: center; gap: 0; padding-left: 34px; }
.yc-cabins__tree ul li::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 2px; background: var(--primary-600); }
.yc-cabins__tree ul li:first-child { margin-top: 2px; }
.yc-cabins__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 14px; border-radius: 5px; background: var(--primary-500); }

.yc-amen { display: grid; grid-template-columns: repeat(3, 244px); gap: 16px 0; margin: 0; padding: 0; list-style: none; font-size: var(--fs-body-3); color: var(--gray-500); }
.yc-amen li { display: flex; align-items: center; gap: 4px; }
.yc-amen__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-100); color: var(--navy-600); }
.yc-amen--off { color: var(--gray-300); }
.yc-amen--off .yc-amen__icon { background: var(--gray-50); color: var(--gray-300); }
.yc-amen s { text-decoration-thickness: 1px; }

.yc-tabs__list { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-bottom: 20px; }
.yc-tabs__list[hidden] { display: none; }
.yc-tabs__list button { padding: 2px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--navy-600); font: inherit; font-size: var(--fs-body-3); font-weight: 700; cursor: pointer; }
.yc-tabs__list button[aria-selected="true"] { border-bottom-color: var(--orange-600); }
.yc-tabs__list button:focus-visible { outline: 2px solid var(--primary-700); outline-offset: 2px; }
.yc-tabs__heading { margin: var(--space-3) 0 var(--space-2); font-size: var(--fs-body-3); font-weight: 700; }
.yc-tabs--live .yc-tabs__heading { display: none; }
.yc-cols { display: grid; grid-template-columns: repeat(3, 244px); gap: 16px 0; margin: 0; padding: 0; list-style: none; font-size: var(--fs-body-3); line-height: 20px; color: var(--gray-500); }
.yc-cols__empty { margin: 0; font-size: var(--fs-body-3); color: var(--gray-500); }

/* Opłaty obowiązkowe i usługi dodatkowe: karty z polem wyboru */
.yc-fees { margin-bottom: 24px; }
.yc-fees--last, .yc-fees:has(+ .yc-sec) { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #eef0f4; }
.yc-fees .yc-sec__title { margin-bottom: 16px; }
.yc-fees__list { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.yc-fees__note { margin: 10px 0 0; font-size: var(--fs-small); line-height: 1.4; color: var(--gray-500); }
.yc-fee { display: grid; grid-template-columns: 16px minmax(0, 1fr) 224px 110px; align-items: center; gap: 0 24px; min-height: 78px; padding: 16px 40px 16px 16px; border: 1px solid var(--gray-150); border-radius: var(--radius-md); background: var(--white); }
.yc-fee--on { border-color: var(--primary-500); }
.yc-fee input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary-500); cursor: pointer; }
.yc-fee input:disabled { cursor: default; opacity: .45; }
.yc-fee p { margin: 0; }
.yc-fee__text { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.yc-fee--on .yc-fee__text:not(label) { cursor: default; }
.yc-fee__name { font-size: var(--fs-body-2); font-weight: 700; line-height: 1.4; }
.yc-fee__desc { font-size: var(--fs-small); line-height: 1.45; color: var(--gray-500); }
.yc-fee__desc strong { color: var(--gray-500); }
.yc-fee__more { display: none; align-self: flex-start; padding: 0; border: 0; background: none; color: var(--primary-600); font: inherit; font-size: var(--fs-small); font-weight: 700; text-decoration: underline; cursor: pointer; }
.js .yc-fee__more { display: inline; }
.js .yc-fee__about--long:not(.yc-fee__about--open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.yc-fee__rate { font-size: var(--fs-body-3); font-weight: 700; }
.yc-fee__price { font-size: var(--fs-body-2); font-weight: 700; text-align: right; white-space: nowrap; }
.yc-fee__rate--pax { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; white-space: nowrap; }
.yc-pax { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.yc-fee .yc-pax input { width: 52px; height: 32px; min-height: 0; padding: 0 6px; border-radius: 8px; font: inherit; text-align: center; opacity: 1; cursor: text; accent-color: auto; }
.yc-pax .btn { height: 32px; min-height: 0; padding: 0 10px; font-size: var(--fs-small); }

/* Dobrze wiedzieć */
.yc-know { padding-left: 32px; border-left: 2px solid var(--orange-line); }
.yc-know__rows { display: flex; flex-direction: column; gap: 24px; margin: 0; }
.yc-know__rows div { display: flex; align-items: baseline; gap: 4px; }
.yc-know__rows dt { flex: none; width: 120px; font-size: var(--fs-body-3); }
.yc-know__rows dd { flex: 1; min-width: 0; margin: 0; font-size: var(--fs-body-2); font-weight: 700; }
.yc-know__map-link { margin-left: 8px; font-size: var(--fs-body-3); font-weight: 500; color: var(--navy-600); text-decoration: underline; text-underline-offset: 2px; }
.yc-know__note { font-size: var(--fs-body-3); font-weight: 500; }
.yc-map { margin: 36px 0 0; }
.yc-map .ev-map__canvas { border-radius: var(--radius-lg); }
.yc-map__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--navy-600); font-weight: 700; }

.yc-owner__name { margin: 0 0 var(--space-3); font-size: var(--fs-body-2); font-weight: 700; }
.yc-owner__name span { font-weight: 500; color: var(--gray-500); }
.yc-owner__text { margin: 0; font-size: var(--fs-body-3); line-height: 1.45; color: var(--gray-500); }

/* Podsumowanie (pole „Termin” i ceny) */
.yc-sum { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 40px 32px 40px; border: 1px solid var(--gray-50); border-radius: var(--radius-lg); background: var(--white); }
.yc-term { margin: 0; }
.yc-term__bar { position: relative; }
.yc-term__field { position: relative; display: block; }
.yc-term__field .csearch__control { gap: 0; }
.yc-term__label { margin-bottom: 4px; font-size: var(--fs-body-3); font-weight: 700; line-height: 1.4; }
.yc-term__trigger.csearch__trigger { display: none; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 20px; border: 1px solid var(--primary-500); border-radius: var(--radius-full); background: var(--white); box-shadow: 0 0 0 3px var(--primary-100); color: var(--gray-500); font-size: var(--fs-body3, 14px); }
.js .yc-term__trigger.csearch__trigger { display: flex; }
.yc-term__trigger img { flex: none; width: 20px; height: 20px; }
.yc-term__trigger span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yc-term .csearch__fallback { flex-wrap: wrap; }
.js .yc-term .csearch__fallback { display: none; }
.yc-term .drp { right: -33px; width: 720px; }
.yc-term__near { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
.yc-near { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; padding: 6px; border: 1px solid var(--gray-150); border-radius: 8px; background: var(--white); color: var(--navy-600); font-size: var(--fs-small); font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.yc-near span { font-size: 10px; font-weight: 500; color: var(--gray-500); }
a.yc-near:hover { border-color: var(--primary-500); background: var(--primary-100); }
.yc-near--off { border-color: #f4f5f8; background: #f4f5f8; }
.yc-sum__title { margin: 28px 0 16px; font-size: var(--fs-h5); font-weight: 700; line-height: 1.3; }
.yc-sum .summary__info { margin-bottom: 16px; }
.yc-rows { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.yc-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; }
.yc-rows > div[hidden] { display: none; }
.yc-rows dt { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); line-height: 1.4; color: var(--gray-500); }
.yc-rows dt strong { color: var(--gray-500); }
/* Długie nazwy dodatków w jednym wierszu z wielokropkiem (pełna nazwa w title), kwota zawsze w całości. */
.yc__aside, .yc-sum, .yc-rows, .yc-rows > div, .yc-rows dt { min-width: 0; max-width: 100%; }
.yc-rows dd, .yc-rows dt .yc-tip { flex: none; }
.yc-rows__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yc-rows dd { display: inline-flex; align-items: baseline; gap: 6px; margin: 0; font-size: var(--fs-body-3); font-weight: 700; white-space: nowrap; }
.yc-rows dd s { font-weight: 700; color: var(--gray-500); }
.yc-rows__badge { padding: 2px 8px; border-radius: var(--radius-full); background: #fdecec; color: var(--danger); font-size: 10px; font-weight: 700; line-height: 1.4; }
.yc-rows dd:has(.yc-rows__badge) { align-items: center; }
.yc-rows__unit { font-size: var(--fs-small); font-weight: 500; }
.yc-rows__total { margin-top: 2px; }
.yc-rows__total dd { align-items: center; gap: 10px; font-size: var(--fs-h4); font-weight: 500; }
.yc-rows__total dd img { width: 18px; height: 18px; }
.yc-rows__total .fx__tip, .yc-rows--pay .fx__tip { top: calc(100% + 2px); padding: 3px 8px; border-radius: 6px; font-size: 9px; font-weight: 500; }
.yc-rows--pay { gap: 12px; }
.yc-rows--pay dd { font-size: var(--fs-h5); }
.yc-rows--pay dt strong { color: var(--navy-600); }
.yc-sum__group { display: flex; align-items: center; gap: 16px; margin: 28px 0 14px; font-size: var(--fs-body-3); font-weight: 700; }
.yc-sum__group::after { content: ""; flex: 1; height: 1px; background: var(--gray-50); }
.yc-sum__note { margin: 10px 0 0; font-size: var(--fs-small); line-height: 1.4; color: var(--gray-500); }
.yc-sum__offer { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--orange-100); color: var(--orange-text); font-size: var(--fs-body-3); font-weight: 600; }
.yc-sum__offer a { color: inherit; }
.yc-sum__cta { margin-top: 28px; }
.yc-sum__until { margin: 16px 0 0; font-size: var(--fs-small); line-height: 1.45; text-align: center; }
.yc-what { margin-top: 10px; font-size: var(--fs-small); text-align: center; }
.yc-what summary { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-600); cursor: pointer; list-style: none; }
.yc-what summary::-webkit-details-marker { display: none; }
.yc-what p { margin: 8px 0 0; color: var(--gray-500); text-align: left; }
.yc-sum__guarantee { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-50); font-size: var(--fs-small); line-height: 1.45; color: var(--gray-500); text-align: center; }
.yc-sum__guarantee p { margin: 0; }
.yc-sum__guarantee-title { font-weight: 700; color: var(--orange-600); }
.yc-tip { position: relative; display: inline-flex; color: var(--gray-500); cursor: help; }
.yc-tip__text { position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 20; width: 200px; padding: 6px 10px; border-radius: 8px; background: var(--gray-500); color: var(--white); font-size: 11px; line-height: 1.35; transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.yc-tip:hover .yc-tip__text, .yc-tip:focus .yc-tip__text { opacity: 1; visibility: visible; }

/* „Potrzebujesz pomocy?” pod podsumowaniem (zachodzi pod jego dolną krawędź) */
.yc-help { display: flex; flex-direction: column; gap: 24px; margin-top: -32px; padding: 76px 24px 40px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(160deg, #e2f6fb 0%, #effafc 70%, #e6f8fc 100%); font-size: var(--fs-body-2); line-height: 1.4; }
.yc-help p { margin: 0; }
.yc-help__title { font-weight: 700; }
.yc-help a:not(.yc-help__line) { color: var(--primary-500); font-weight: 700; text-decoration: none; }
.yc-help__line { display: inline-flex; align-items: center; gap: 16px; font-weight: 700; color: var(--navy-600); text-decoration: none; }
.yc-help__line + .yc-help__line { margin-top: -0px; }
.yc-help__line span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--white); }
.yc-help__line:hover { text-decoration: underline; }

body:has(.yc) .faq { background: var(--white); }
body:has(.yc) .faq__title { font-size: var(--fs-h1); line-height: 1; }

.yc-sticky { display: none; }

@media (max-width: 1199px) {
    .yc { grid-template-columns: minmax(0, 1fr) 340px; }
    .yc-cabins { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .yc-amen, .yc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .yc-fee { grid-template-columns: 16px minmax(0, 1fr) auto auto; padding-right: 24px; }
}

@media (max-width: 899px) {
    .yc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "gal" "meta" "body" "aside"; grid-template-rows: auto; }
    .yc-term .drp { right: auto; left: 0; width: 100%; }
}

/* Telefon (figma-15/16, 375 px) */
@media (max-width: 767px) {
    .yc .breadcrumbs, .container:has(> .breadcrumbs) { display: none; }
    .yc { padding-top: 32px; padding-bottom: var(--space-6); }
    .yc__title { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 16px; }
    .yc__back { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--primary-700); border-radius: 50%; color: var(--primary-700); }
    .yc__heading { display: block; }
    .yc__h1 { display: inline; font-size: var(--fs-h4); }
    .yc__model { display: block; margin-bottom: 4px; font-size: 24px; line-height: 1.25; }
    .yc__name, .yc__year { font-size: var(--fs-body-3); font-weight: 600; color: var(--gray-500); }
    .yc__year { display: inline; margin-right: 8px; }
    .yc__year span { margin: 0 4px; color: var(--gray-300); }
    .yc__pill { vertical-align: middle; }
    .yc__gallery { margin-bottom: 24px; }
    .gallery--inline { margin-top: 24px; }
    .gallery--inline .gallery__more--narrow { right: 9px; bottom: 9px; height: 30px; padding: 0 12px; border-color: var(--primary-700); background: var(--white); font-size: var(--fs-small); font-weight: 500; }
    .yc__meta { margin-bottom: 40px; }
    .yc__place { margin-top: 0; }
    .yc__company .yc__dot { display: none; }
    .yc__company { flex-basis: 100%; }
    .yc__specs { gap: 12px 10px; margin-top: 24px; }
    .yc-sec { padding-bottom: 32px; margin-bottom: 32px; }
    .yc-sec__title { margin-bottom: 24px; }
    .yc-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .yc-cabins { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .yc-cabins__plan { min-height: 200px; }
    .yc-amen, .yc-cols { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .yc-tabs__list { gap: 8px 20px; }
    .yc-fee { grid-template-columns: 16px minmax(0, 1fr) auto; grid-template-areas: "box text text" ". rate price"; gap: 8px 16px; padding: 16px; }
    .yc-fee input { grid-area: box; align-self: start; margin-top: 4px; }
    .yc-fee__text { grid-area: text; }
    .yc-fee__rate { grid-area: rate; }
    .yc-fee__price { grid-area: price; }
    .yc-know { padding-left: 16px; }
    .yc-know__rows div { flex-direction: column; gap: 2px; }
    .yc-know__rows dt { width: auto; }
    .yc-map .ev-map__canvas { height: 240px; }
    .yc-sum { padding: 32px 16px; }
    .yc-help { display: none; }
    /* Przycisk rezerwacji przyklejony do dołu ekranu (figma-15/16) */
    .yc-sticky { position: sticky; bottom: 0; z-index: 30; display: block; padding: 16px 24px 12px; background: var(--white); box-shadow: 0 -4px 16px rgba(31, 41, 103, .08); text-align: center; }
    .yc-sticky .btn { font-size: var(--fs-body-2); }
    .yc-sticky p { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 10px 0 0; font-size: var(--fs-small); }
    .yc-sticky__info { display: inline-flex; color: var(--primary-500); }
    body:has(.yc-sticky) .compare-bar { bottom: 120px; }
}

/* Telefon i wąski tablet: podsumowanie (termin, cena, dodatki) zaraz po opłatach i usługach dodatkowych,
   a nie między „KUBRYK o Armatorze” a formularzem kontaktu. Na telefonie rezerwację prowadzi przyklejony pasek (Figma 8738:42272). */
@media (max-width: 899px) {
    .yc { display: flex; flex-direction: column; }
    .yc__title { order: 1; }
    .yc__gallery { order: 2; }
    .yc__meta { order: 3; }
    .yc__body { display: contents; }
    .yc__body > * { order: 4; }
    .yc__aside { position: static; order: 5; margin-bottom: 40px; max-height: none; overflow: visible; }
    .yc__body > .yc-sec--know, .yc__body > .yc-sec--owner { order: 6; }
    .yc__body > .yc-sec--owner { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
    /* Ostatnia sekcja przed podsumowaniem nie potrzebuje kreski pod spodem */
    .yc__body > .yc-fees--last, .yc__body > .yc-fees:has(+ .yc-sec--know) { margin-bottom: 40px; }
}

/* Telefon wg Figmy (Czartery szczegóły mobile 8735:35877) */
@media (max-width: 767px) {
    .yc { padding-top: 24px; }
    .yc__title { align-items: center; }
    .yc__model { margin-bottom: 0; font-size: 24px; font-weight: 500; line-height: 1.2; }
    .yc__heading { line-height: 26px; }
    .yc__name, .yc__year { font-size: var(--fs-body-3); font-weight: 700; line-height: 1.3; }
    .yc__year { margin-right: 8px; }
    .yc__pill { height: 26px; padding: 0 12px; line-height: 26px; vertical-align: baseline; color: var(--success-600); }
    .yc__pill--option { color: var(--orange-text); }
    .yc__pill--off { color: var(--gray-500); }
    .yc__gallery .gallery { grid-template-rows: repeat(2, 96px); gap: 8px; }
    .yc__aside { margin-bottom: 32px; }

    /* Opłaty i usługi: nazwa z polem wyboru, opis na całą szerokość, pod spodem „200 EUR /czarter” od lewej */
    .yc-fee { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px; }
    .yc-fee input { order: 1; flex: none; align-self: center; margin: 0; }
    .yc-fee__text { display: contents; }
    .yc-fee__name { order: 2; flex: 1 1 calc(100% - 24px); min-width: 0; font-size: var(--fs-body-2); }
    .yc-fee__desc { order: 3; flex-basis: 100%; font-size: var(--fs-small); line-height: 1.4; }
    .yc-fee__price { order: 4; font-size: var(--fs-body-2); line-height: 1.4; text-align: left; }
    .yc-fee__rate { order: 5; margin-left: -4px; font-size: var(--fs-body-3); line-height: 1; }
    .yc-fee__rate--pax { flex-wrap: wrap; white-space: normal; }

    /* „Masz pytania odnośnie tej oferty?”: nagłówek 28 px, 24 px od krawędzi, kolejność: nagłówek, tekst, karta jachtu, mail i telefon */
    .yc-contact { padding: 32px 0 40px; }
    .yc-contact .container { --gutter: 24px; padding-left: 24px; padding-right: 24px; }
    .yc-contact__inner { gap: 40px; }
    .yc-contact__side { display: flex; flex-direction: column; }
    .yc-contact__h { order: 1; margin: 0 0 16px; font-size: 28px; font-weight: 600; line-height: 1.2; }
    .yc-contact__lead { order: 2; margin: 0 0 40px; font-size: var(--fs-body-2); line-height: 1.4; }
    .yc-contact__card { order: 3; margin-bottom: 40px; }
    .yc-contact__lines { order: 4; flex-direction: column; gap: 8px; }
    .yc-contact__lines a { gap: 24px; font-size: var(--fs-h5); }
}
