/* Pagination styles */
.pagination {
    display: flex;
}

.pagination .page-item {
    width: 40px;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 50%;
    margin: 10px;
    line-height: 40px;
    text-align: center;
}

.pagination .page-item.active {
    background-color: #071034;
    color: white;
}

.pagination .page-item a.button:hover {
    background-color: #1c3477;
    color: white;
}

.pagination .page-item.disabled a:hover {
    background-color: unset;
    color: unset;
}

.pagination .page-item:has(a.page-link):hover {
    background-color: #b8bed994;
}

/* ============================================
   SIMPLE CARD-BASED SEARCH DESIGN
   ============================================ */

/* Tab content visibility */
.tabs__pane {
    display: none;
}

.tabs__pane.is-tab-el-active {
    display: block;
}

/* Global text alignment fix */
* {
    text-align: left !important;
    direction: ltr !important;
}

/* Container alignment */
.container,
.row,
.col-12,
.col-md,
.col-md-auto {
    text-align: left !important;
}

/* Simple white card container */
.search-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    text-align: left !important;
}

/* Search header */
.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 5px 0;
    text-align: center;
}

.search-header p {
    color: #718096;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

/* Simple responsive grid */
.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.search-grid.boat-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Custom Boat Ticket Grid Layout */
.search-grid.boat-ticket-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

/* Boat rows */
.boat-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

/* Row 1: Half width inline fields */
.boat-row-1 {
    display: flex;
    gap: 20px;
    width: 100%;
}

.boat-row-1 .search-field.boat-half {
    width: calc(50% - 10px);
}

.boat-row-1 .field-wrapper {
    width: 100%;
}

.boat-row-1 .field-wrapper select {
    width: 100% !important;
}

/* Row 2: Half width inline fields */
.boat-row-2 .search-field.boat-half {
    width: calc(50% - 10px);
}

/* Row 3: Date fields layout */
.boat-row-3 {
    display: flex;
    gap: 20px;
    width: 100%;
}

.boat-row-3 .search-field.boat-half {
    width: calc(50% - 10px);
}

/* Row 4: Dynamic date layout */
.boat-row-4 .search-field {
    width: 100%;
}

.boat-row-4 .search-field.boat-half {
    width: calc(50% - 10px);
}

/* Custom Tour Grid Layout */
.search-grid.tour-custom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.tour-inline-wrapper {
    display: flex;
    gap: 20px;
    width: 100%;
}

.search-grid.tour-custom-grid .tour-inline-half {
    display: inline-block;
    width: calc(50% - 10px);
    vertical-align: top;
}

.search-grid.tour-custom-grid .tour-inline-half:nth-of-type(even) {
    /* margin-left: 20px; */
}

.search-grid.tour-custom-grid .tour-category-full {
    grid-column: 1 / -1;
    width: 100%;
}

/* Search field styling */
.search-field {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.search-field label {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 5px;
    font-size: 14px;
    text-align: left;
}

/* Field wrapper with icon */
.field-wrapper {
    position: relative;
}

.field-wrapper select,
.field-wrapper input {
    width: 100%;
    height: 48px;
    padding: 12px 16px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    direction: ltr;
}

.field-wrapper textarea {
    width: 100%;
    height: 100px;
    padding: 12px 16px 12px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    direction: ltr;
}

.field-wrapper select:focus,
.field-wrapper input:focus,
.field-wrapper textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.field-wrapper select:hover,
.field-wrapper input:hover,
.field-wrapper textarea:hover {
    border-color: #cbd5e0;
}

/* Field icons */
.field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 16px;
    pointer-events: none;
}

.field-wrapper:focus-within .field-icon {
    color: #4299e1;
}

/* Custom dropdown arrow */
.field-wrapper select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.field-wrapper select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234299e1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Placeholder styling */
.field-wrapper input::placeholder {
    color: #a0aec0;
}

.homepage-tab-toggle {
    display: inline-flex;
    align-items: flex-start; justify-content: flex-start; justify-content: flex-start;
    padding: 4px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

.homepage-tab-button {
    display: flex;
    align-items: flex-start; justify-content: flex-start; justify-self: flex-start; width: 100%;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    color: #374151;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.homepage-tab-button span {
    white-space: nowrap;
}

.homepage-tab-button.is-tab-el-active {
    background-color: #168DE2;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(22, 141, 226, 0.4), 0 1px 3px rgba(0, 0, 0, 0.12);
}

.homepage-search-section {
    margin-top: 40px;
}

.homepage-search-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.25);
}

.homepage-search-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.homepage-search-main {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 8px;
}

.homepage-search-main .field-wrapper select,
.homepage-search-main .field-wrapper input[type="date"],
.homepage-search-main .field-wrapper input[type="number"] {
    height: 40px;
    padding: 8px 10px;
    font-size: 13px;
}

.homepage-search-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 0;
}

.homepage-search-group label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}

.homepage-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(148, 163, 184, 0.4);
    flex: 0 0 auto;
}

.homepage-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.homepage-switch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homepage-switch-button:hover {
    background-color: #168DE2;
    border-color: #168DE2;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(22, 141, 226, 0.45);
}

.homepage-switch-button svg {
    width: 20px;
    height: 20px;
}

.homepage-return-group {
    flex: 1 1 0;
}

.hsg-port {
    flex: 1.8 1 0;
    min-width: 0;
}

.hsg-date {
    flex: 1.2 1 0;
    min-width: 0;
}

.hsg-return {
    flex: 1 1 0;
    min-width: 0;
}

.hsg-guests {
    flex: 0.6 1 0;
    min-width: 60px;
}

.hsg-tour-region {
    flex: 1.4 1 0;
    min-width: 0;
}

.hsg-tour-area {
    flex: 1.4 1 0;
    min-width: 0;
}

.hsg-tour-category {
    flex: 1.6 1 0;
    min-width: 0;
}

.hsg-tour-pax {
    flex: 0.6 1 0;
    min-width: 60px;
}

.hsg-return-label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 6px;
}

.hsg-return-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
    accent-color: #168DE2;
}

.hsg-foreign {
    flex: 0 0 auto;
    min-width: 0;
}

.hsg-foreign-label {
    margin-bottom: 0;
}

.hsg-foreign-in-main {
    display: none;
}

.homepage-foreign-note-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.homepage-foreign-note-row .hsg-foreign {
    flex: 0 0 auto;
}

.homepage-foreign-note-row .homepage-search-note {
    flex: 0 1 auto;
}

.homepage-search-note-wrap {
    margin-top: 8px;
    text-align: center;
}

.foreign-toggle-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0;
}

.foreign-toggle-switch .foreign-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.foreign-toggle-switch .foreign-toggle-slider {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.foreign-toggle-switch .foreign-toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6b7280;
    transition: transform 0.2s ease;
}

.foreign-toggle-switch .foreign-toggle-input:checked+.foreign-toggle-slider {
    background: #168DE2;
    border-color: #168DE2;
}

.foreign-toggle-switch .foreign-toggle-input:checked+.foreign-toggle-slider::after {
    transform: translateX(22px);
    background: #fff;
}

.foreign-toggle-switch .foreign-toggle-text {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.foreign-toggle-switch .foreign-toggle-on {
    display: none;
}

.foreign-toggle-switch .foreign-toggle-off {
    display: inline;
}

.foreign-toggle-switch .foreign-toggle-input:checked~.foreign-toggle-on {
    display: inline;
}

.foreign-toggle-switch .foreign-toggle-input:checked~.foreign-toggle-off {
    display: none;
}

.hsg-return-empty {
    display: block;
    padding: 9px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #a0aec0;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.homepage-search-actions-inline {
    flex: 0 0 auto;
    margin-left: 4px;
}

.homepage-search-actions-inline .homepage-search-submit,
.homepage-search-actions-inline .homepage-search-clear {
    padding: 10px 18px;
    font-size: 13px;
}

.homepage-return-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.homepage-return-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #374151;
    white-space: nowrap;
}

.homepage-return-toggle input {
    width: 16px;
    height: 16px;
}

.homepage-search-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.homepage-search-submit {
    background: #168DE2;
    border-radius: 999px;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.homepage-search-submit:hover {
    background: #0f7acf;
    box-shadow: 0 14px 34px rgba(22, 141, 226, 0.5);
    transform: translateY(-1px);
}

.homepage-search-clear {
    background: #6b7280;
    border-radius: 999px;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.homepage-search-clear:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.hsc-reset-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    color: #6b7280;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    z-index: 10;
}

.hsc-reset-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.homepage-search-note {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-top: 0;
    font-size: 12px;
    text-align: center;
    color: #2563eb;
    background: #e0f2fe;
    border-radius: 999px;
    padding: 6px 14px;
}

/* ============================================================
   HOMEPAGE SEARCH — MOBILE COMPACT (≤ 767px)
   Grid layout:
     Row 1: [From] [⇄] [To]
     Row 2: [Departure    ] [Return toggle]
     Row 3: [Guests] [Search Trips        ]
   ============================================================ */
@media (max-width: 767px) {
    .homepage-search-section {
        margin-top: 40px;
    }

    .homepage-search-card {
        padding: 14px 14px 12px;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
        overflow: visible;
    }

    .homepage-search-form {
        gap: 10px;
    }

    /* 3-column grid: [port] [36px switch] [port] */
    .homepage-search-main {
        display: grid;
        grid-template-columns: 1fr 36px 1fr;
        gap: 8px 6px;
        align-items: end;
        flex-wrap: unset;
        min-width: unset;
    }

    /* Hide desktop dividers from grid */
    .homepage-search-main .homepage-divider {
        display: none !important;
    }

    /* Row 1 — hsg-port, switch, hsg-port auto-place into cols 1,2,3 */
    .homepage-search-main .homepage-switch-wrapper {
        align-self: end;
        padding-bottom: 2px;
    }

    /* Row 2: departure spans cols 1-2, return in col 3 */
    .homepage-search-main .hsg-date {
        grid-column: 1 / 3;
    }

    .homepage-search-main .hsg-return {
        grid-column: 3;
    }

    /* Row 3: guests col 1, foreign col 3 — toggle sejajar dengan input pax (bottom align) */
    .homepage-search-main .hsg-guests {
        grid-column: 1;
        align-self: end;
    }

    .homepage-search-main .hsg-foreign-in-main {
        display: flex;
        flex-direction: column;
        grid-column: 3;
        align-self: end;
        justify-content: flex-end;
    }

    .homepage-search-main .hsg-foreign-in-main .hsg-foreign-label {
        margin-bottom: 0;
        font-size: 12px;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
    }

    /* Row 4: Search Trips button below */
    .homepage-search-main .homepage-search-actions-inline {
        grid-column: 1 / 4;
        margin-left: 0;
        align-self: end;
        display: flex;
    }

    /* Contact us below button (boat form): hide foreign in row, show only note */
    .tabs__pane.-tab-item-1 .homepage-search-card .homepage-foreign-note-row .hsg-foreign {
        display: none;
    }

    .homepage-search-card .homepage-foreign-note-row {
        margin-top: 8px;
    }

    /* Tour form mobile: 2-col grid */
    .tabs__pane.-tab-item-2 .homepage-search-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* Row 1: Region col1, Area col2 */
    .tabs__pane.-tab-item-2 .homepage-search-main .hsg-tour-region {
        grid-column: 1;
        grid-row: 1;
    }

    .tabs__pane.-tab-item-2 .homepage-search-main .hsg-tour-area {
        grid-column: 2;
        grid-row: 1;
    }

    /* Row 2: Category col1, Passengers col2 */
    .tabs__pane.-tab-item-2 .homepage-search-main .hsg-tour-category {
        grid-column: 1;
        grid-row: 2;
    }

    .tabs__pane.-tab-item-2 .homepage-search-main .hsg-tour-pax {
        grid-column: 2;
        grid-row: 2;
    }

    /* Row 3: Foreign toggle full width */
    .tabs__pane.-tab-item-2 .homepage-search-main .hsg-foreign-in-main {
        grid-column: 1 / 3;
        grid-row: 3;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        justify-self: flex-start;
        width: 100%;
    }

    /* Row 4: Find Tours full width */
    .tabs__pane.-tab-item-2 .homepage-search-main .homepage-search-actions-inline {
        grid-column: 1 / 3;
        grid-row: 4;
        align-self: end;
    }

    /* Hide dividers inside tour main on mobile */
    .tabs__pane.-tab-item-2 .homepage-search-main .homepage-divider {
        display: none !important;
    }

    /* Hide foreign toggle in note row (already shown inside main) */
    .tabs__pane.-tab-item-2 .homepage-foreign-note-row .hsg-foreign {
        display: none;
    }

    /* Compact input height on mobile */
    .homepage-search-main .field-wrapper select,
    .homepage-search-main .field-wrapper input[type="date"],
    .homepage-search-main .field-wrapper input[type="number"] {
        height: 38px;
        padding: 6px 8px;
        font-size: 13px;
    }

    .homepage-search-actions-inline .homepage-search-submit {
        padding: 10px 14px;
        font-size: 13px;
        width: 100%;
    }

    .homepage-search-note {
        font-size: 11px;
        padding: 5px 10px;
    }

    .homepage-search-card .homepage-foreign-note-row .homepage-search-note {
        background: none;
        border-radius: 0;
        padding: 0;
        color: #2563eb;
        font-size: 13px;
        display: inline;
    }

    .homepage-search-main .hsg-foreign-in-main .foreign-toggle-switch {
        min-height: unset;
    }

    .hsc-reset-btn {
        top: -8px;
        right: -8px;
        width: 22px;
        height: 22px;
        font-size: 14px;
    }
}

/* Search options (checkbox) */
.search-options {
    margin-bottom: 20px;
    text-align: center;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    background-color: #fff;
    transition: all 0.2s ease;
}

.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark {
    background-color: #4299e1;
    border-color: #4299e1;
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
    opacity: 1;
}

.custom-checkbox:hover .checkmark {
    border-color: #4299e1;
}

/* Search actions */
.search-actions {
    text-align: center;
}

/* Simple search button */
.search-btn {
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
}

.search-btn:hover {
    background: #3182ce;
    transform: translateY(-1px);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
}

.search-btn i {
    font-size: 16px;
}

/* Error states */
.field-wrapper .error {
    border-color: #e53e3e;
}

.field-wrapper .error+.field-icon {
    color: #e53e3e;
}

/* Disabled states */
.field-wrapper select:disabled,
.field-wrapper input:disabled {
    background-color: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .search-container {
        padding: 20px;
    }

    .search-header h3 {
        font-size: 20px;
    }

    .search-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .field-wrapper select,
    .field-wrapper input {
        height: 49px;
        font-size: 16px;
    }

    .search-btn {
        height: 50px;
        font-size: 14px;
        padding: 12px 16px !important;
        min-width: auto !important;
        white-space: nowrap;
    }

    .search-btn span {
        white-space: nowrap;
    }

    .search-actions {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .search-actions .search-btn {
        flex: 1;
        min-width: 0;
    }

    /* Mobile responsive for custom grids */
    .search-grid.boat-ticket-grid .boat-row {
        flex-direction: column;
        gap: 15px;
    }

    .search-grid.boat-ticket-grid .boat-row .search-field,
    .search-grid.boat-ticket-grid .boat-row .search-field.boat-half {
        width: 100%;
    }

    .tour-inline-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .search-grid.tour-custom-grid .tour-inline-half {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .search-grid.tour-custom-grid .tour-inline-half:nth-of-type(even) {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 15px;
        border-radius: 8px;
    }

    .search-header {
        margin-bottom: 20px;
    }

    .search-header h3 {
        font-size: 18px;
    }

    .search-header p {
        font-size: 13px;
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 300px;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-success {
    background: #48bb78;
}

.notification-error {
    background: #e53e3e;
}

.notification-warning {
    background: #ed8936;
}

.notification-info {
    background: #4299e1;
}

/* Product Badge Styles */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.product-badges .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-badges .badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-badges .badge i {
    margin-right: 3px;
    font-size: 10px;
}

/* Badge color variants */
.badge-primary {
    background: var(--bs-primary) !important;
    color: white !important;
}

.badge-secondary {
    background: var(--bs-secondary) !important;
    color: white !important;
}

.badge-success {
    background: var(--bs-success) !important;
    color: white !important;
}

.badge-danger {
    background: var(--bs-danger) !important;
    color: white !important;
}

.badge-warning {
    background: var(--bs-warning) !important;
    color: white !important;
}

.badge-info {
    background: var(--bs-info) !important;
    color: white !important;
}

.badge-light {
    background: var(--bs-light) !important;
    color: #333 !important;
}

.badge-dark {
    background: var(--bs-dark) !important;
    color: white !important;
}

/* ============================================
   FOOTER MOBILE STYLES
   ============================================ */

.footer.-type-1 {
    background: #0d2857 !important;
    color: rgba(255, 255, 255, 0.9);
}

.footer.-type-1 .text-14,
.footer.-type-1 .text-16,
.footer.-type-1 .text-18,
.footer.-type-1 h5,
.footer.-type-1 .border-top-light {
    color: rgba(255, 255, 255, 0.9);
}

.footer.-type-1 .border-top-light {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.footer.-type-1 a {
    color: rgba(255, 255, 255, 0.9);
}

.footer.-type-1 a:hover {
    color: #fff;
}

.footer.-type-1 .text-blue-1,
.footer.-type-1 a.text-blue-1 {
    color: #5e9eff !important;
}

.footer-logo {
    transition: transform 0.3s ease;
}

.footer.-type-1 .contact-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.footer.-type-1 .contact-item {
    text-align: left;
    width: 100%;
}

.footer.-type-1 .contact-item>div {
    text-align: left;
    width: 100%;
    margin-bottom: 5px;
}

.footer.-type-1 .contact-item a {
    text-align: left;
    display: block;
    width: auto;
    margin-top: 5px;
}

.footer.-type-1 .nav-account-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 30px !important;
    width: 100% !important;
}

.footer.-type-1 .col-xl-4 .nav-account-row,
.footer.-type-1 .col-lg-8 .nav-account-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 30px !important;
}

.footer.-type-1 .nav-account-item {
    flex: 1 !important;
    text-align: left !important;
    min-width: 0 !important;
    width: auto !important;
}

.footer.-type-1 .col-xl-4 .nav-account-item,
.footer.-type-1 .col-lg-8 .nav-account-item {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
}

.footer.-type-1 .nav-account-item h5 {
    text-align: left;
    margin-bottom: 20px;
}

.footer.-type-1 .nav-account-item .d-flex.y-gap-10.flex-column {
    align-items: flex-start;
    text-align: left;
}

.footer.-type-1 .nav-account-item .d-flex.y-gap-10.flex-column a {
    text-align: left;
}

@media (min-width: 769px) {
    .footer.-type-1 .nav-account-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 20px !important;
        flex-wrap: nowrap !important;
    }

    .footer.-type-1 .nav-account-item {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}

@media (max-width: 768px) {
    .footer.-type-1 {
        text-align: center !important;
    }

    .footer.-type-1 .container {
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .footer.-type-1 .pt-60 {
        padding-top: 30px !important;
    }

    .footer.-type-1 .pb-60 {
        padding-bottom: 30px !important;
    }

    .footer.-type-1 .row {
        text-align: center !important;
        justify-content: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .footer.-type-1 .row.y-gap-40 {
        gap: 20px 0 !important;
    }

    .footer.-type-1 .col-xl-2,
    .footer.-type-1 .col-lg-4,
    .footer.-type-1 .col-sm-6 {
        text-align: center !important;
        margin-bottom: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .footer.-type-1 .col-xl-4,
    .footer.-type-1 .col-lg-8,
    .footer.-type-1 .col-sm-12 {
        text-align: left !important;
        margin-bottom: 30px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .footer.-type-1 .col-xl-2:last-child,
    .footer.-type-1 .col-lg-4:last-child,
    .footer.-type-1 .col-sm-6:last-child {
        margin-bottom: 0 !important;
    }

    .footer.-type-1 section {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .footer.-type-1 section .y-gap-20 {
        gap: 10px !important;
    }

    .footer.-type-1 h5 {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    .footer.-type-1 h5.mb-30 {
        margin-bottom: 15px !important;
    }

    .footer.-type-1 .text-14,
    .footer.-type-1 .text-16,
    .footer.-type-1 .text-18 {
        text-align: center !important;
        width: 100% !important;
    }

    .footer.-type-1 .d-flex.flex-column {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer.-type-1 .d-flex.y-gap-10.flex-column {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .footer.-type-1 .d-flex.y-gap-10.flex-column a {
        text-align: center !important;
        display: block !important;
        width: auto !important;
    }

    .footer.-type-1 .contact-row {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }

    .footer.-type-1 .contact-item {
        flex: 1 !important;
        text-align: left !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .footer.-type-1 .contact-item>div {
        text-align: left !important;
    }

    .footer.-type-1 .contact-item a {
        text-align: left !important;
        word-break: break-word !important;
    }

    .footer.-type-1 .nav-account-row {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .footer.-type-1 .nav-account-item {
        flex: 1 !important;
        text-align: left !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .footer.-type-1 .nav-account-item h5 {
        text-align: left !important;
        margin-bottom: 15px !important;
    }

    .footer.-type-1 .nav-account-item .d-flex.y-gap-10.flex-column {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .footer.-type-1 .nav-account-item .d-flex.y-gap-10.flex-column a {
        text-align: left !important;
    }

    .footer.-type-1 .py-20 {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .footer.-type-1 .row.justify-between {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .footer.-type-1 .row.justify-between .col-auto {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .footer.-type-1 .row.x-gap-30 {
        justify-content: center !important;
        flex-wrap: wrap !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .footer.-type-1 .row.x-gap-30 .col-auto {
        text-align: center !important;
        width: auto !important;
        margin-bottom: 0 !important;
    }

    .footer.-type-1 .d-flex.x-gap-15 {
        justify-content: center !important;
        text-align: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .footer.-type-1 .d-flex.x-gap-15 a {
        text-align: center !important;
    }

    .footer.-type-1 .d-flex.x-gap-20 {
        justify-content: center !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .footer.-type-1 .d-flex.items-center {
        justify-content: center !important;
        text-align: center !important;
    }

    .footer.-type-1 img {
        margin: 0 auto !important;
        display: block !important;
    }

    .footer.-type-1 .footer-logo {
        height: 80px !important;
        width: auto !important;
    }
}

/* ============================================
   MASTHEAD BANNER - bgnew.webp, white text, dark overlay
   ============================================ */

.masthead.-type-1 {
    min-height: 100vh;
    padding-top: 191px;
    padding-bottom: 80px;
}

.masthead.-type-1 .tabs {
    margin-top: 172px;
}

.masthead.-type-1 .masthead__bg::after {
    background: rgba(0, 0, 0, 0.55);
    opacity: .4;
}

.masthead.-type-1 .masthead__content-text h1,
.masthead.-type-1 .masthead__content-text p {
    color: #ffffff !important;
    text-align: center !important;
}

.masthead.-type-1 .masthead__content-text p {
    opacity: 0.95;
}

/* ============================================
   MASTHEAD MOBILE STYLES
   ============================================ */

@media (max-width: 767px) {
    .masthead.-type-1 {
        padding-top: 100px !important;
    }
}

/* ============================================
   PRELOADER - Penidago logo
   ============================================ */

.preloader-penidago {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.preloader-penidago__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: preloader-penidago-pulse 1.5s ease-in-out infinite;
}

.preloader-penidago__logo {
    width: 200px;
    height: auto;
    display: block;
    max-height: 80px;
    object-fit: contain;
}

@keyframes preloader-penidago-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.03);
    }
}
/* Payment page: Price Summary sticky behavior */
.payment-summary-sticky {
    position: sticky;
    top: 100px;
}

@media (max-width: 767.98px) {
    .payment-summary-sticky {
        top: 16px;
    }
}

/* Payment page: reorder columns on mobile */
@media (max-width: 767.98px) {
    .payment-main-column {
        order: 2;
    }

    .payment-summary-column {
        order: 1;
        margin-bottom: 20px;
    }
}
