/* The promotions page (/kruizi-vidove-nov): Dilyana's design in the crusit.bg
   colours and fonts. Desktop first; the phone layout (<= 767px) is its own:
   the card rows scroll sideways instead of stacking into one long column. */

.pp { --pp-navy: #0b3152; --pp-blue: #154c7b; --pp-sky: #04a6db; --pp-yellow: #ffda0e; --pp-bg: #f0f4f6; --pp-text: #20282d;
    font-family: Roboto, Arial, sans-serif; font-size: 15px; color: #000; background: var(--pp-bg); overflow-x: clip; }
.pp *, .pp *::before, .pp *::after { box-sizing: border-box; }
.pp img { display: block; max-width: 100%; }
.pp-wrap { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.pp-wrap-narrow { max-width: 1084px; }
.pp-section { padding: 64px 0 72px; }
.pp-section-tight { padding-top: 0; }
.pp-title { margin: 0 0 40px; text-align: center; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 400; font-size: 42px; line-height: 1.1; text-transform: uppercase; color: var(--pp-navy); }

/* Buttons */
.pp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 2px solid var(--pp-yellow); background: var(--pp-yellow); color: #010101 !important; transition: background-color 250ms; text-decoration: none !important; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 15px; text-transform: uppercase; }
/* As the homepage: yellow, only the stroke on hover; the big one the other way round */
.pp-btn:hover, .pp-btn:focus-visible { background: #fff; }
.pp-btn-sm { min-height: 37px; padding: 0 17px; }
.pp-btn-lg { min-height: 60px; padding: 0 40px; font-size: 22px; background: transparent; }
.pp-btn-lg:hover, .pp-btn-lg:focus-visible { background: var(--pp-yellow); }
.pp-btn-sm::after, .pp-btn-lg::after { content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-left: 13px; background: url('../images/button-arrow.png') no-repeat center center; }
.pp-btn-sm::after { margin-left: 7px; transform: scale(0.85); }
.pp a:focus-visible, .pp button:focus-visible, .pp summary:focus-visible { outline: 3px solid var(--pp-sky); outline-offset: 2px; }

/* Top band: navy behind the breadcrumbs and the upper part of the picture */
.pp-band { background: linear-gradient(var(--pp-navy) 0, var(--pp-navy) 260px, var(--pp-bg) 260px); }
.pp-crumbs-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding: 14px 0 18px; }
.pp-crumbs { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #9fb6cb; }
.pp-crumbs li + li::before { content: '\203A'; margin: 0 8px; }
.pp-crumbs a { color: #9fb6cb; text-decoration: none; }
.pp-crumbs li:last-child a { color: #fff; font-weight: 500; }
.pp-rating { min-height: 32px; }
.pp-hero { position: relative; height: 390px; display: flex; align-items: flex-end; justify-content: center; padding: 0 20px 56px; background: #2e5878; overflow: hidden; }
.pp-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none !important; }
.pp-hero-video { opacity: 0; transition: opacity .6s; }
.pp-hero-video.is-playing { opacity: 1; }
.pp-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(11,49,82,0) 40%, rgba(11,49,82,.6) 100%); }
.pp-hero h1 { position: relative; z-index: 1; margin: 0; text-align: center; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 48px; line-height: 1.1; text-transform: uppercase; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* Intro and the carousel */
.pp-intro { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.pp-intro .pp-title { margin-bottom: 16px; }
.pp-intro p { margin: 0; font-size: 17px; line-height: 1.6; }
.pp-carousel { position: relative; }
.pp-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 3); column-gap: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp-carousel-track::-webkit-scrollbar { display: none; }
.pp-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; }
.pp-card-photo { position: relative; display: block; height: 280px; overflow: hidden; background: #c9d8e4; }
.pp-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-card-top { position: absolute; top: 16px; right: 16px; background: #fff; color: var(--pp-navy); font-size: 13px; font-weight: 500; padding: 6px 12px; }
.pp-card-body { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; padding: 20px 24px 24px; }
.pp-chip { align-self: flex-start; background: var(--pp-bg); color: var(--pp-blue); font-size: 13px; padding: 5px 12px; border-radius: 3px; }
.pp-card h3 { margin: 0; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; text-transform: uppercase; color: var(--pp-navy); }
.pp-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; margin: 0; font-size: 15px; line-height: 1.6; color: var(--pp-text); }
.pp-card .pp-btn { align-self: flex-end; margin-top: auto; }
/* The homepage arrows */
.pp-arrow { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; background: transparent url('../images/arrow-big-right.png') no-repeat center center; cursor: pointer; transition: opacity 0.2s ease; }
.pp-arrow-prev { background-image: url('../images/arrow-big-left.png'); }
.pp-arrow:hover { opacity: 0.8; }
.pp-arrow-prev { left: -58px; }
.pp-arrow-next { right: -58px; }
.pp-dots { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.pp-dots button { width: 32px; height: 32px; padding: 10px; border: 0; background: none; cursor: pointer; }
/* Round dots, as under the homepage offers */
.pp-dots button::before { content: ''; display: block; width: 8px; height: 8px; margin: 2px; border-radius: 50%; background: #cfd8e3; }
.pp-dots button.is-active::before { background: #0b3152; }

/* Special offers tiles */
.pp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.pp-tile { position: relative; display: block; height: 300px; overflow: hidden; background: #c9d8e4; border-bottom: 6px solid var(--pp-yellow); text-decoration: none; }
.pp-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pp-tile:hover img { transform: scale(1.05); }
.pp-tile-text { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 56px 18px 20px; background: linear-gradient(rgba(11,49,82,0) 0%, rgba(11,49,82,.88) 55%); }
.pp-tile-text strong { font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: #fff; }
.pp-tile-text span { font-size: 15px; font-weight: 500; color: var(--pp-yellow); }

/* Offer cards (the featured offers) */
.pp-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pp-offer { display: flex; flex-direction: column; background: #fff; border-bottom: 6px solid var(--pp-yellow); }
.pp-offer-photo { position: relative; display: block; aspect-ratio: 455 / 300; overflow: hidden; background: #c9d8e4; }
.pp-offer-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-offer-label { position: absolute; left: 0; bottom: 16px; background: #1f8fc2; color: #fff; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 15px; text-transform: uppercase; padding: 7px 14px; }
.pp-offer-label-red { background: #c0392b; }
.pp-offer-body { display: flex; flex-direction: column; gap: 14px; flex-grow: 1; padding: 18px 15px; }
/* As the homepage: the price right of the title, the button right of the facts */
.pp-offer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; text-decoration: none; }
.pp-offer-head strong { font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.15; text-transform: uppercase; color: var(--pp-navy); }
.pp-offer-price { flex-shrink: 0; text-align: right; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 38px; line-height: 1; color: var(--pp-sky); white-space: nowrap; }
.pp-offer-price em { display: block; margin-top: 2px; font-family: Roboto, Arial, sans-serif; font-style: normal; font-weight: 400; font-size: 13px; color: var(--pp-text); }
.pp-offer-soldout { font-size: 24px; color: #c0392b; }
.pp-offer-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid #dbdbdb; }
.pp-offer-facts { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.pp-offer-facts li { padding-left: 26px; background-repeat: no-repeat; background-position: left center; background-size: 16px 16px; }
.pp-fact-ship { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23154c7b' stroke-width='2'%3E%3Cpath d='M2 20c2 1 4 1 6 0s4-1 6 0 4 1 6 0M4 17l-1-5h18l-2 5M6 12V7h12v5M12 3v4'/%3E%3C/svg%3E"); }
.pp-fact-date { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23154c7b' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.pp-fact-port { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23154c7b' stroke-width='2'%3E%3Cpath d='M12 22s7-7 7-12a7 7 0 0 0-14 0c0 5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.pp-offer .pp-btn { flex-shrink: 0; }
.pp-note { margin: 16px 0 0; font-size: 14px; font-style: italic; color: #cb0d04; }
.pp-more { margin: 28px 0 0; text-align: center; }

/* Search */
.pp-search { background: var(--pp-navy); color: #fff; padding: 44px 48px; }
.pp-search-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin-bottom: 28px; }
.pp-search-head h2 { margin: 0; color: #fff; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 38px; line-height: 1.1; text-transform: uppercase; }
.pp-search-head p { margin: 0; font-size: 17px; font-weight: 300; color: #e3ecf3; }
.pp-search .cruise-search-form { display: block !important; position: static; margin: 0; padding: 0; background: none; box-shadow: none; color: #000; }
/* The form is always open here, as on the homepage */
.pp-search .search-close-button-parent, .pp-search .close-search-x { display: none; }

/* Questions */
.pp-faq-section { background: #fff; }
.pp-faq { display: flex; flex-direction: column; gap: 10px; }
.pp-faq-item { margin: 0; border: 1px solid #dbdbdb; background: #fff; }
.pp-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 96px; padding: 16px 16px 16px 48px; margin: 0; border: 0; border-radius: 0; background: none; list-style: none; cursor: pointer; font-size: 22px; color: var(--pp-navy); }
.pp-faq-item summary::-webkit-details-marker { display: none; }
.pp-faq-icon { flex-shrink: 0; position: relative; width: 64px; height: 64px; background: var(--pp-bg); }
.pp-faq-icon::before, .pp-faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 3px; margin: -1.5px 0 0 -10px; background: var(--pp-navy); }
.pp-faq-icon::after { transform: rotate(90deg); }
.pp-faq-item[open] .pp-faq-icon { background: var(--pp-yellow); }
.pp-faq-item[open] .pp-faq-icon::after { display: none; }
.pp-faq-answer { padding: 0 104px 26px 48px; font-size: 16px; line-height: 1.65; color: var(--pp-text); }

/* Newsletter */
.pp-subscribe { display: flex; flex-wrap: wrap; background: var(--pp-navy); color: #fff; }
.pp-subscribe-photo { flex: 1 1 380px; min-height: 360px; background: #2e5878 url("../images/sini-dni/groups.jpg") center / cover no-repeat; }
.pp-subscribe-form { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px 72px; }
.pp-subscribe-form h2 { margin: 0; color: #fff; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 38px; line-height: 1.1; text-transform: uppercase; }
.pp-subscribe-form p { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 300; color: #e3ecf3; }
.pp-subscribe-icon { display: none; }
.pp-newsletter { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.pp-newsletter-row { display: flex; gap: 10px; }
.pp-newsletter-row input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 14px; border: 0; background: #fff; color: #000; font: inherit; font-size: 16px; }
.pp-newsletter-row .pp-btn { flex-shrink: 0; min-height: 48px; }
.pp-newsletter-row .pp-btn:hover, .pp-newsletter-row .pp-btn:focus-visible { background: transparent; color: #fff !important; }
.pp-newsletter-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #e3ecf3; cursor: pointer; }
.pp-newsletter-consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pp-yellow); }
.pp-newsletter-consent a { color: var(--pp-yellow); text-decoration: underline; }
.pp-newsletter-message { margin: 0; font-size: 14px; color: var(--pp-yellow); }
.pp-newsletter-done { margin: 0; font-size: 18px; font-weight: 700; color: var(--pp-yellow); }

/* Links with tabs */
.pp-discover { background: var(--pp-navy); color: #fff; padding: 88px 0 100px; }
.pp-discover h2 { margin: 0 0 40px; color: #fff; text-align: center; font-family: 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 38px; line-height: 1.1; text-transform: uppercase; }
.pp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 48px; padding: 6px; background: #fff; }
.pp-tabs button { min-height: 44px; padding: 0 24px; border: 0; background: #fff; color: var(--pp-navy); font: inherit; font-size: 16px; cursor: pointer; }
.pp-tabs button[aria-selected="true"] { background: var(--pp-yellow); color: #010101; font-weight: 700; }
.pp-links { columns: 4 220px; column-gap: 40px; margin: 0; padding: 0 60px; list-style: none; }
.pp-links li { break-inside: avoid; }
.pp-links a { display: block; padding: 6px 0; color: #fff; font-size: 16px; text-decoration: none; }
.pp-links a:hover { color: var(--pp-yellow); }

/* Narrower desktops: the carousel arrows go inside */
@media screen and (max-width: 1400px) {
    .pp-arrow-prev { left: 8px; }
    .pp-arrow-next { right: 8px; }
}
@media screen and (max-width: 1100px) {
    .pp-carousel-track { grid-auto-columns: calc((100% - 36px) / 2); }
    .pp-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Phone: rows of cards scroll sideways, a hint of the next card shows */
@media screen and (max-width: 767px) {
    .pp-wrap { padding: 0 16px; }
    .pp-section { padding: 40px 0 44px; }
    .pp-section-tight { padding-top: 0; }
    .pp-title { margin-bottom: 24px; font-size: 28px; }
    .pp-btn-lg { min-height: 52px; padding: 0 28px; font-size: 18px; }

    .pp-band { background: linear-gradient(var(--pp-navy) 0, var(--pp-navy) 150px, var(--pp-bg) 150px); }
    .pp-crumbs-row { padding: 10px 0 12px; }
    .pp-hero { height: 240px; padding: 0 16px 28px; margin: 0 -16px; }
    .pp-hero h1 { font-size: 30px; }

    .pp-intro { margin-bottom: 24px; }
    .pp-intro p { font-size: 15px; }
    .pp-carousel-track, .pp-tiles, .pp-offers { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; column-gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
    .pp-tiles::-webkit-scrollbar, .pp-offers::-webkit-scrollbar { display: none; }
    .pp-tiles { grid-auto-columns: 62%; }
    .pp-card, .pp-tile, .pp-offer { scroll-snap-align: start; }
    .pp-card-photo { height: 200px; }
    .pp-card-body { padding: 16px; }
    .pp-card h3 { font-size: 22px; }
    .pp-card .pp-btn { align-self: stretch; }
    .pp-arrow { display: none; }
    .pp-dots { margin-top: 12px; }
    .pp-tile { height: 220px; }
    .pp-tile-text strong { font-size: 20px; }
    .pp-offer-price { font-size: 32px; }
    .pp-offer-price em { font-size: 12px; }
    /* As the homepage on a phone: the price stays right of the title, the
       button goes under the facts on the whole width */
    .pp-offer-head strong { min-width: 0; overflow-wrap: break-word; }
    .pp-offer-foot { flex-direction: column; align-items: stretch; }
    .pp-offer-soldout { font-size: 18px; }

    .pp-search { margin: 0 -16px; padding: 28px 16px; }
    .pp-search-head h2 { font-size: 28px; }
    .pp-search-head p { font-size: 15px; }

    .pp-faq-item summary { min-height: 64px; gap: 12px; padding: 12px 12px 12px 16px; font-size: 17px; }
    .pp-faq-icon { width: 40px; height: 40px; }
    .pp-faq-icon::before, .pp-faq-icon::after { width: 16px; margin-left: -8px; }
    .pp-faq-answer { padding: 0 16px 18px; font-size: 15px; }

    /* Dilyana's phone design (124jdtwf3ht): a yellow card, navy text, the
       field, the consent and the button one under the other */
    .pp-subscribe { border-radius: 12px; overflow: hidden; background: var(--pp-yellow); color: var(--pp-navy); }
    .pp-subscribe-photo { display: none; }
    .pp-subscribe-form { gap: 14px; padding: 32px 20px 28px; }
    .pp-subscribe-icon { display: block; width: 32px; height: 32px; color: var(--pp-navy); }
    .pp-subscribe-form h2 { font-size: 30px; color: var(--pp-navy); }
    .pp-subscribe-form p { font-size: 17px; font-weight: 400; color: var(--pp-navy); }
    .pp-newsletter { gap: 18px; margin-top: 8px; }
    .pp-newsletter-row { display: contents; }
    .pp-newsletter-row input { order: 1; height: 46px; border: 1px solid var(--pp-navy); border-radius: 4px; }
    .pp-newsletter-consent { order: 2; font-size: 14px; color: var(--pp-navy); }
    .pp-newsletter-consent input { width: 20px; height: 20px; margin-top: 0; accent-color: var(--pp-navy); }
    .pp-newsletter-consent a { color: var(--pp-navy); font-weight: 700; }
    .pp-newsletter-row .pp-btn { order: 3; align-self: flex-start; min-height: 50px; padding: 0 20px; border-color: var(--pp-navy); border-radius: 4px; background: var(--pp-navy); color: #fff !important; font-size: 18px; }
    .pp-newsletter-row .pp-btn::after { content: ''; flex-shrink: 0; width: 24px; height: 24px; margin-left: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff'/%3E%3Cpath d='M7 12h9M12.5 8l4 4-4 4' fill='none' stroke='%230b3152' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
    .pp-newsletter-row .pp-btn:hover, .pp-newsletter-row .pp-btn:focus-visible { background: var(--pp-blue); color: #fff !important; }
    .pp-subscribe-form .pp-newsletter-message { order: 4; font-size: 14px; color: var(--pp-navy); }
    .pp-subscribe-form .pp-newsletter-done { font-size: 18px; font-weight: 700; color: var(--pp-navy); }
    /* The sky blue focus ring is lost on the yellow */
    .pp-subscribe a:focus-visible, .pp-subscribe button:focus-visible, .pp-subscribe input:focus-visible { outline-color: var(--pp-navy); }

    .pp-discover { padding: 44px 0 52px; }
    .pp-discover h2 { font-size: 30px; margin-bottom: 24px; }
    /* From the left: centred, the first tab was cut off and out of reach */
    .pp-tabs { flex-wrap: nowrap; justify-content: flex-start; width: auto; overflow-x: auto; margin-bottom: 24px; scrollbar-width: none; }
    .pp-tabs::-webkit-scrollbar { display: none; }
    .pp-tabs button { flex: 0 0 auto; padding: 0 14px; font-size: 15px; }
    .pp-links { columns: 2; column-gap: 16px; padding: 0; }
    .pp-links a { font-size: 15px; padding: 9px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pp-tile img, .pp-hero-video { transition: none; }
}
