* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 18px;
    background: #f7f7f8;
    font-family: Arial, sans-serif;
    color: #111827;
}

/* FORMA */

.form-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.form-card {
    background: #fff;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.intro {
    margin: 0 0 26px;
    color: #6b7280;
    font-size: 16px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    margin-bottom: 18px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 16px;
}

label span {
    color: #d93025;
}

input,
select {
    width: 100%;
    padding: 17px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 17px;
    background: #fafafa;
    outline: none;
}

input:focus,
select:focus {
    border-color: #168a2f;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22,138,47,.12);
}

select:disabled {
    background: #eeeeee;
    color: #9ca3af;
    cursor: not-allowed;
}

.help {
    font-size: 15px;
    color: #6b7280;
    margin: 9px 0 0;
    line-height: 1.5;
}

.hotel-preview {
    grid-column: 1 / -1;
    margin-bottom: 18px;
}

.hidden {
    display: none !important;
}

.preview-card {
    padding: 16px;
    border-radius: 22px;
    border: 1px solid #e7edf1;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.hotel-card-big {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 22px;
    align-items: stretch;
}

.hotel-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hotel-gallery .hotel-image:first-child {
    grid-column: 1 / -1;
    height: 215px;
}

.hotel-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    height: 220px;
}

.hotel-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.top-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.top-line small {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.promo-badge {
    background: #ecfdf3;
    color: #168a2f;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 13px;
    border-radius: 999px;
}

.hotel-info strong {
    color: #111827;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.2;
}

.included-line {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 8px 0 6px;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #65728d;
    font-size: 13px;
    font-weight: 600;
}

.included-icon {
    width: 18px;
    height: 18px;
    color: #65728d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.included-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

.included-text strong {
    font-size: 13px;
    color: #65728d;
    font-weight: 600;
}

.stay-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.stay-line span {
    background: #f3f6f8;
    color: #546178;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 11px;
    border-radius: 999px;
}

.description-bubble {
    margin-top: 8px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.description-bubble summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 900;
    color: #374151;
}

.description-bubble summary::-webkit-details-marker {
    display: none;
}

.description-bubble summary::after {
    content: "+";
    float: right;
    font-size: 18px;
    color: #168a2f;
}

.description-bubble[open] summary::after {
    content: "−";
}

.description-bubble div {
    padding: 0 14px 14px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.price-box {
    margin-top: auto;
    align-self: flex-end;
    text-align: right;
    padding-top: 8px;
}

.old-price {
    color: #6b7280;
    font-size: 15px;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-label {
    color: #65728d;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    margin-right: 6px;
}

.new-price {
    display: inline-block;
    color: #111827;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

/* PAYMENT */

.payment-clean {
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    padding: 22px;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid #a7d8b0;
    background: linear-gradient(90deg,#f4fff6,#ffffff);
    border-radius: 17px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.5;
}

.payment-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e9f8ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    flex-shrink: 0;
}

.payment-info strong,
.payment-info b {
    color: #168a2f;
    font-weight: 800;
}

.pay-row {
    display: grid !important;
    grid-template-columns: 24px 48px 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 17px;
    background: #fff;
    margin: 0 0 13px 0 !important;
    cursor: pointer;
}

.pay-row:hover {
    border-color: #168a2f;
    background: #f7fff8;
}

.pay-row input[type="radio"] {
    display: none !important;
}

.dot {
    width: 22px;
    height: 22px;
    border: 2px solid #8a8a8a;
    border-radius: 50%;
    position: relative;
}

.pay-row input[type="radio"]:checked + .dot {
    border-color: #168a2f;
}

.pay-row input[type="radio"]:checked + .dot::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #168a2f;
    border-radius: 50%;
    top: 4px;
    left: 4px;
}

.pay-icon {
    width: 48px;
    height: 48px;
    border-left: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    padding-left: 14px;
}

.pay-content strong {
    display: block;
    font-size: 16px;
    line-height: 1.35;
    color: #111827;
    font-weight: 800;
}

.pay-content small {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.pay-logo-line {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin: 28px 0 4px;
}

.pay-logo-line div {
    height: 1px;
    background: #d1d5db;
}

.pay-logo-line img {
    max-width: 320px;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 10px 14px;
}

.submit-btn {
    width: 100%;
    border: 0;
    background: linear-gradient(90deg,#168a2f,#2f963c);
    color: #fff;
    padding: 21px;
    border-radius: 16px;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 28px;
    box-shadow: 0 8px 20px rgba(22,138,47,.22);
}

.submit-btn:hover {
    background: linear-gradient(90deg,#0f7024,#168a2f);
}

.security {
    text-align: center;
    color: #5f6368;
    font-size: 15px;
    margin-top: 18px;
}

.error {
    color: #d93025;
    text-align: center;
}

.debug {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

/* PONUDA */

.ponuda-body {
    background: transparent;
    padding: 0;
}

.offer-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px;
    font-family: Arial, sans-serif;
}

.offer-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 22px;
}

.offer-head h2 {
    margin: 0 0 6px;
    font-size: 30px;
    color: #111827;
    line-height: 1.2;
}

.offer-head p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
}

.offer-filter {
    min-width: 310px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(15,23,42,.05);
}

.offer-filter label {
    display: block;
    font-weight: 900;
    margin-bottom: 8px;
    font-size: 14px;
    color: #111827;
}

.offer-filter select {
    width: 100%;
    padding: 15px 15px;
    border-radius: 14px;
    border: 1px solid #dbe3ea;
    font-size: 16px;
    font-weight: 800;
    background: #f8fafc;
    color: #111827;
    outline: none;
}

.offer-empty {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    color: #6b7280;
    font-weight: 700;
    text-align: center;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.offer-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15,23,42,.07);
}

.offer-image-wrap {
    height: 210px;
    position: relative;
    background: #f3f4f6;
}

.offer-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
}

.offer-promo {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ecfdf3;
    color: #168a2f;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.offer-rating-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,.94);
    color: #f59e0b;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(15,23,42,.16);
    backdrop-filter: blur(6px);
    letter-spacing: 1px;
}

.offer-content {
    padding: 17px;
}

.offer-top h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.18;
    color: #111827;
    font-weight: 900;
}

.offer-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.offer-mini span {
    background: #f8fafc;
    color: #65728d;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 999px;
}

.offer-included-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 15px;
    color: #65728d;
}

.offer-included-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
}

.offer-svg-icon {
    width: 18px;
    height: 18px;
    color: #65728d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-svg-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

.offer-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #edf0f2;
}

.offer-price-box {
    min-width: 0;
}

.offer-old {
    color: #6b7280;
    font-size: 14px;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.offer-total-label {
    color: #65728d;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.offer-price {
    color: #111827;
    font-size: 24px;
    font-weight: 950;
    line-height: 1;
}

.offer-btn {
    border: 0;
    background: #168a2f;
    color: #fff !important;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(22,138,47,.18);
    cursor: pointer;
}

.offer-btn:hover {
    background: #0f7024;
}

/* RESPONSIVE */

@media(max-width: 1000px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 700px) {
    body {
        padding: 10px;
    }

    .form-card {
        padding: 20px;
        border-radius: 18px;
    }

    h1 {
        font-size: 25px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hotel-card-big {
        grid-template-columns: 1fr;
    }

    .hotel-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .hotel-gallery .hotel-image:first-child {
        height: 220px;
    }

    .hotel-image {
        height: 110px;
    }

    .price-box {
        align-self: stretch;
        text-align: center;
        border-top: 1px solid #e5e7eb;
        padding-top: 14px;
        margin-top: 8px;
    }

    .new-price {
        font-size: 27px;
    }

    .payment-clean {
        padding: 15px;
    }

    .payment-info {
        align-items: flex-start;
        padding: 15px;
        font-size: 15px;
    }

    .payment-info-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .pay-row {
        grid-template-columns: 24px 1fr;
        gap: 12px;
        padding: 15px;
    }

    .pay-icon {
        display: none;
    }

    .pay-logo-line {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
    }

    .pay-logo-line div {
        display: none;
    }

    .submit-btn {
        font-size: 20px;
        padding: 18px;
    }

    .offer-wrap {
        padding: 10px;
    }

    .offer-head {
        flex-direction: column;
        align-items: stretch;
    }

    .offer-head h2 {
        font-size: 25px;
    }

    .offer-filter {
        min-width: 100%;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-image-wrap {
        height: 230px;
    }

    .offer-price-row {
        align-items: center;
    }

    .offer-price {
        font-size: 23px;
    }
}


/* ====================================
   LOADER ZA IFRAME
==================================== */

.page-loader {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(255,255,255,0.92) !important;
    display: none !important;
    z-index: 999999999 !important;
}

.page-loader.active {
    display: block !important;
}

.loader-box {
    position: fixed !important;
    top: 90px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: min(420px, calc(100vw - 36px)) !important;

    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    padding: 32px 22px !important;

    text-align: center !important;
    box-shadow: 0 24px 70px rgba(15,23,42,.25) !important;

    z-index: 1000000000 !important;
}

.loader-spinner {
    width: 64px !important;
    height: 64px !important;

    border: 6px solid #e5e7eb !important;
    border-top: 6px solid #168a2f !important;

    border-radius: 50% !important;
    margin: 0 auto 22px !important;

    animation: loaderSpin .8s linear infinite !important;
}

.loader-title {
    font-size: 23px !important;
    font-weight: 900 !important;
    color: #111827 !important;
    margin-bottom: 14px !important;
}

.loader-steps {
    color: #374151 !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
    font-weight: 700 !important;
}

.loader-steps div {
    margin: 5px 0 !important;
}

@keyframes loaderSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media(max-width: 700px) {
    .loader-box {
        top: 80px !important;
        width: calc(100vw - 28px) !important;
        padding: 28px 18px !important;
        border-radius: 22px !important;
    }

    .loader-title {
        font-size: 21px !important;
    }

    .loader-steps {
        font-size: 14px !important;
    }
}



/* ====================================
   NAJPOVOLJNIJI TERMINI PO MJESECU
==================================== */

.best-dates-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 18px;
    margin: 0 0 24px;
    box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.best-dates-title {
    font-size: 18px;
    font-weight: 950;
    color: #111827;
    margin-bottom: 14px;
}

.best-dates-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.best-date-card {
    min-width: 205px;
    text-decoration: none;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 15px 16px;
    color: #111827;
    transition: .2s ease;
}

.best-date-card:hover {
    border-color: #168a2f;
    background: #f4fff6;
    transform: translateY(-2px);
}

.best-date-card.active {
    border: 2px solid #168a2f;
    background: #ecfdf3;
}

.best-date-card em {
    display: block;
    font-style: normal;
    color: #168a2f;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 8px;
}

.best-date-card strong {
    display: block;
    font-size: 19px;
    font-weight: 950;
    margin-bottom: 6px;
}

.best-date-card span {
    display: block;
    color: #65728d;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.best-date-card b {
    display: block;
    color: #168a2f;
    font-size: 15px;
    font-weight: 950;
}

@media(max-width: 700px) {
    .best-dates-box {
        padding: 15px;
        border-radius: 18px;
    }

    .best-date-card {
        min-width: 185px;
    }

    .best-dates-title {
        font-size: 17px;
    }
}