/* ============================================================
   cruises.css — cruises ページ固有スタイル
   共通スタイルは booking.css を参照
   ============================================================ */

body {
    background-color: #f8f9fa; /* light gray for contrast with white cards */
}
    
    .page-title {
        color: var(--title-color);
        font-family: var(--font-poppins);
        font-weight: 700;
        margin-bottom: 25px;
        font-size: 28px;
    }
    
    .sidebar-widget {
        background: var(--white-color);
        border-radius: 8px;
        padding: 24px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .sidebar-widget .widget-title {
        font-family: var(--font-poppins);
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        color: var(--title-color);
    }
    .filter-item {
        margin-bottom: 20px;
    }
    .filter-item label {
        font-size: 13px;
        color: var(--text-color);
        margin-bottom: 8px;
        display: block;
        font-weight: 500;
    }
    .custom-select {
        height: 48px;
        border-radius: 6px;
        border: 1px solid var(--borders-color);
        font-size: 14px;
        color: var(--text-color);
        box-shadow: none;
        background-color: var(--white-color);
    }
    .custom-select:focus {
        border-color: var(--primary-color1);
        box-shadow: 0 0 0 0.25rem rgba(var(--primary-color1-opc), 0.25);
    }
    .reset-link {
        color: var(--primary-color1);
        font-size: 14px;
        text-align: center;
        display: block;
        margin-bottom: 20px;
        margin-top: 15px;
        text-decoration: none;
        font-weight: 600;
        transition: 0.3s;
    }
    .reset-link:hover {
        color: var(--primary-color2);
    }
    
    .results-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
    }
    .results-count {
        font-size: 14px;
        font-weight: 600;
        color: var(--title-color);
        display: flex;
        align-items: baseline;
        gap: 8px;
    }
    .results-count .big-text {
        font-size: 18px;
        font-weight: 700;
    }
    .results-actions {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 13px;
        color: var(--text-color);
        font-weight: 500;
    }
    
    /* Custom Toggle Switch for 'Include port charges' */
    .form-switch .form-check-input {
        width: 40px;
        height: 22px;
        cursor: pointer;
        margin-left: 10px;
        background-color: var(--borders-color);
        border-color: var(--borders-color);
    }
    .form-switch .form-check-input:checked {
        background-color: var(--primary-color1);
        border-color: var(--primary-color1);
    }
    .flex-check-label {
        font-size: 14px;
        color: var(--text-color);
        margin-bottom: 0;
        line-height: 22px;
        font-weight: 500;
    }
    
    .sort-select {
        height: 38px;
        border-radius: 6px;
        background: var(--white-color);
        color: var(--text-color);
        border: 1px solid var(--borders-color);
        padding-left: 15px;
        padding-right: 35px;
        font-size: 14px;
        font-weight: 500;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c98a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 12px;
        cursor: pointer;
    }
    .sort-select:focus {
        border-color: var(--primary-color1);
        outline: none;
    }
    
    .cruise-card {
        background: var(--white-color);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        margin-bottom: 24px;
        display: flex;
        border: 1px solid var(--borders-color);
        transition: 0.3s;
    }
    .cruise-card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }
    .cruise-img-area {
        width: 50%;
        position: relative;
    }
    .cruise-img-area img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f8fafc;
    }
    .cruise-content-area {
        width: 50%;
        padding: 12px 18px;
        display: flex;
        flex-direction: column;
    }
    .cruise-header-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 6px;
    }
    .cruise-title {
        font-size: 15px;
        font-weight: 600;
        color: var(--title-color);
        margin: 0;
        line-height: 1.3;
        font-family: var(--font-poppins);
        flex: 1;
    }
    .cruise-price-top {
        flex-shrink: 0;
        text-align: right;
        line-height: 1.2;
        min-width: 130px;
    }
    .cruise-price-top .label {
        font-size: 11px;
        color: var(--text-color);
        font-weight: 600;
        margin-bottom: 6px;
    }
    .cruise-price-top .value {
        font-size: 22px;
        font-weight: 700;
        color: var(--primary-color1);
        letter-spacing: -0.5px;
        font-family: var(--font-poppins);
    }
    .cruise-price-top .total {
        margin-top: 6px;
        line-height: 1.2;
    }
    .cruise-price-top .total .total-label {
        font-size: 11px;
        color: var(--text-color);
        font-weight: 500;
    }
    .cruise-price-top .total .total-value {
        font-size: 18px;
        color: var(--title-color);
        font-weight: 700;
        font-family: var(--font-poppins);
        letter-spacing: -0.3px;
        margin-left: 4px;
    }
    .cruise-info-list {
        list-style: none;
        padding: 0;
        margin: 0 0 8px 0;
    }
    .cruise-info-list li {
        font-size: 12px;
        color: var(--text-color);
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
        margin-bottom: 2px;
    }
    .cruise-info-list li i {
        color: var(--primary-color1);
        width: 14px;
        text-align: center;
        font-size: 12px;
        font-weight: 900;
    }
    .schedule-link {
        color: var(--primary-color1) !important;
        text-decoration: underline;
        font-weight: 500;
        transition: 0.3s;
    }
    .schedule-link:hover {
        color: var(--primary-color2) !important;
    }
    
    .price-box {
        background: rgba(var(--primary-color1-opc), 0.03);
        border-radius: 8px;
        padding: 8px 12px;
        margin-top: auto;
        border: 1px solid rgba(var(--primary-color1-opc), 0.1);
    }
    .price-box-title {
        font-size: 12px;
        color: var(--title-color);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: var(--font-poppins);
    }
    .price-box-title i {
        color: var(--primary-color1);
        font-size: 13px;
    }
    
    .price-grid {
        display: grid;
        grid-template-columns: 75px 1fr;
        align-items: baseline;
    }
    
    .price-label {
        font-size: 12px;
        color: var(--text-color);
        font-weight: 600;
    }
    
    .price-amount-wrap {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
    }
    .price-amount-wrap .currency {
        font-size: 12px;
        font-weight: 600;
        color: var(--text-color);
        margin-right: 4px;
    }
    .price-amount-wrap .value {
        font-size: 18px;
        font-weight: 700;
        color: var(--title-color);
        letter-spacing: -0.5px;
        font-family: var(--font-poppins);
    }
    .price-amount-wrap .tax-included {
        font-size: 11px;
        color: var(--text-color);
        margin-left: 6px;
        font-weight: 500;
    }
    
    .total-price-label {
        font-size: 12px;
        color: var(--text-color);
        font-weight: 600;
    }
    .total-price-value {
        font-size: 16px;
        font-weight: 700;
        font-family: var(--font-poppins);
    }
    
    /* Gofly Button Utilities for custom width */
    .btn-full-width {
        width: 100%;
        justify-content: center;
        padding: 10px 30px !important; /* Slimmer button */
        font-size: 14px;
        white-space: nowrap;
    }
    
    @media (max-width: 991px) {
        .cruise-card {
            flex-direction: column;
        }
        .cruise-img-area, .cruise-content-area {
            width: 100%;
        }
        .cruise-img-area {
            height: 250px;
        }
        .results-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }
        .results-actions {
            flex-wrap: wrap;
            gap: 15px;
            width: 100%;
        }
        .results-actions > div {
            width: 100%;
            justify-content: space-between;
        }
    }
