/**
 * Loveroom Pricing Display Styles - Luxury Edition
 * Version: 2.0.0
 * Theme: Intimate Luxury for Loveroom Experience
 */

/* ========================================
   LUXURY PRICING CARD STYLE - ELEGANT WITH IMAGE
   ======================================== */

.loveroom-pricing-display {
    max-width: 900px;
    margin: 40px auto;
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.loveroom-pricing-luxury {
    /* Container */
}

.luxury-price-card {
    position: relative;
    display: flex;
    flex-direction: row;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    border-radius: 16px;
    overflow: hidden;

    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-price-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.15);
}

/* ========================================
   IMAGE SECTION (LEFT - 40%)
   ======================================== */

.price-image-section {
    position: relative;
    width: 40%;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-loveroom-image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-price-card:hover .price-loveroom-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(15, 15, 15, 0.3) 100%
    );
    pointer-events: none;
}

/* ========================================
   DIVIDER LINE (SUBTLE GOLD)
   ======================================== */

.price-divider {
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(212, 175, 55, 0.2) 20%,
        rgba(212, 175, 55, 0.2) 80%,
        transparent 100%
    );
    flex-shrink: 0;
}

/* ========================================
   CONTENT SECTION (RIGHT - 60%)
   ======================================== */

.price-content-section {
    position: relative;
    flex: 1;
    padding: 40px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Icon - Minimal accent in top right */
.price-icon-accent {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.price-icon-accent svg {
    stroke: rgba(212, 175, 55, 0.6);
}

.luxury-price-card:hover .price-icon-accent {
    opacity: 0.5;
}

/* Price Main Section */
.price-main {
    margin-bottom: 12px;
}

.price-label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.price-amount {
    display: block;
    margin-bottom: 8px;
}

.price-value {
    font-size: 52px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
    transition: all 0.3s ease;
}

.luxury-price-card:hover .price-value {
    color: rgba(255, 255, 255, 0.95);
}

.price-currency {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 2px;
    vertical-align: super;
}

/* Price Secondary */
.price-secondary {
    margin-bottom: 12px;
}

.price-up-to {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    letter-spacing: 0.3px;
}

/* Price Period */
.price-period {
    display: inline-block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
}

/* Luxury Ornaments - Hidden for minimal design */
.luxury-ornament {
    display: none;
}

/* ========================================
   TABLE STYLE (Legacy Support)
   ======================================== */

.loveroom-pricing-table {
    padding: 20px;
}

.pricing-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px;
}

.pricing-subtitle {
    text-align: center;
    font-size: 16px;
    color: #7f8c8d;
    margin: 0 0 40px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin: 30px 0;
}

.pricing-table thead {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.pricing-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.2s ease;
}

.pricing-table tbody tr:hover {
    background: #f8f9fa;
}

.pricing-table tbody tr.is-weekend {
    background: #f0f8f0;
}

.pricing-table tbody tr.is-weekend:hover {
    background: #e8f5e8;
}

.pricing-table td {
    padding: 16px 20px;
}

.pricing-table-day {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.pricing-table-price {
    font-weight: 700;
    color: #3498db;
    font-size: 18px;
}

.pricing-table tbody tr.is-weekend .pricing-table-price {
    color: #4CAF50;
}

.pricing-table-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
}

.pricing-table-note {
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
    margin: 20px 0 0;
}

/* ========================================
   LIST STYLE (Legacy Support)
   ======================================== */

.loveroom-pricing-list {
    padding: 20px;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.pricing-list-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #ecf0f1;
    transition: all 0.2s ease;
}

.pricing-list-item:last-child {
    border-bottom: none;
}

.pricing-list-item:hover {
    background: #f8f9fa;
    padding-left: 30px;
}

.pricing-list-item.is-weekend {
    background: #f0f8f0;
    border-left: 4px solid #4CAF50;
}

.pricing-list-item.is-weekend:hover {
    background: #e8f5e8;
}

.pricing-list-item.is-weekday {
    border-left: 4px solid #3498db;
}

.pricing-list-day {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    min-width: 120px;
}

.pricing-list-separator {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #e0e0e0 0%, transparent 100%);
    margin: 0 20px;
}

.pricing-list-price {
    font-weight: 700;
    font-size: 20px;
    color: #3498db;
}

.pricing-list-item.is-weekend .pricing-list-price {
    color: #4CAF50;
}

.pricing-list-note {
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
    margin: 20px 0 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .loveroom-pricing-display {
        margin: 30px auto;
        padding: 10px;
        max-width: 600px;
    }

    .luxury-price-card {
        flex-direction: column;
    }

    .price-image-section {
        width: 100%;
        height: auto !important;
        min-height: 250px;
        max-height: none !important;
    }

    .price-loveroom-image {
        height: auto !important;
        max-height: 100%;
        object-fit: contain !important;
    }

    .price-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(
            to right,
            transparent 0%,
            rgba(212, 175, 55, 0.2) 20%,
            rgba(212, 175, 55, 0.2) 80%,
            transparent 100%
        );
    }

    .image-overlay {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(15, 15, 15, 0.3) 100%
        );
    }

    .price-content-section {
        padding: 30px 25px;
    }

    .price-icon-accent {
        top: 10px;
        right: 10px;
    }

    .price-icon-accent svg {
        width: 20px;
        height: 20px;
    }

    .price-label {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .price-value {
        font-size: 44px;
    }

    .price-currency {
        font-size: 24px;
    }

    .price-up-to {
        font-size: 12px;
    }

    .price-period {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    /* Legacy styles */
    .pricing-title {
        font-size: 26px;
    }

    .pricing-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .pricing-table {
        font-size: 14px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 15px;
    }

    .pricing-table-price {
        font-size: 16px;
    }

    .pricing-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pricing-list-separator {
        display: none;
    }

    .pricing-list-price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .loveroom-pricing-display {
        margin: 25px auto;
        padding: 10px;
        max-width: 100%;
    }

    .luxury-price-card {
        border-radius: 14px;
    }

    .price-image-section {
        height: auto !important;
        min-height: 220px;
        max-height: none !important;
    }

    .price-loveroom-image {
        height: auto !important;
        max-height: 100%;
        object-fit: contain !important;
    }

    .price-content-section {
        padding: 25px 20px;
    }

    .price-icon-accent svg {
        width: 18px;
        height: 18px;
    }

    .price-label {
        font-size: 9px;
        letter-spacing: 1.2px;
        margin-bottom: 8px;
    }

    .price-value {
        font-size: 38px;
    }

    .price-currency {
        font-size: 20px;
    }

    .price-up-to {
        font-size: 11px;
    }

    .price-period {
        font-size: 8px;
        letter-spacing: 1px;
    }

    /* Legacy styles */
    .pricing-title {
        font-size: 22px;
    }

    .pricing-footer-note,
    .pricing-table-note,
    .pricing-list-note {
        font-size: 12px;
    }
}

/* ========================================
   DARK MODE OPTIMIZATION
   ======================================== */

@media (prefers-color-scheme: dark) {
    .luxury-price-card {
        /* Already optimized for dark backgrounds */
    }
}
