* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --primary-hover: #333333;
    --success-color: #000000;
    --danger-color: #000000;
    --warning-color: #666666;
    --text-dark: #000000;
    --text-light: #666666;
    --text-lighter: #999999;
    --background-light: #ffffff;
    --background-grey: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 30px 20px;
    padding-bottom: 100px; /* Space for cart drawer */
    color: var(--text-dark);
}

/* Modern button styles */
button, .btn {
    transition: var(--transition);
    cursor: pointer;
    font-weight: 600;
}

button:hover:not(:disabled):not(.slider-nav):not(.lightbox-close):not(.lightbox-prev):not(.lightbox-next), .btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

button:active:not(:disabled):not(.slider-nav):not(.lightbox-close):not(.lightbox-prev):not(.lightbox-next), .btn:active:not(:disabled) {
    transform: translateY(0);
}

/* Card container improvements */
.studio-card, .equipment-card, .stat-card {
    transition: var(--transition);
}

.studio-card:hover, .equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Input field modernization */
input, select, textarea {
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.booking-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 120px;
}

/* Booking Page Header */
.booking-page-header {
    text-align: center;
    margin-bottom: 30px;
}

/* Standardized page containers - consistent padding and spacing */
.studio-selection-page,
.equipment-page,
.checkout-page,
.cart-page {
    padding: 40px 20px 120px;
    max-width: 1400px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    font-weight: 500;
    position: relative;
    top: 0;
    left: 0;
}

.back-link:hover {
    color: #333333;
}

.studio-title {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 700;
}

.studio-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.booking-wrapper {
    background: white;
    border-radius: 16px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Calendar Section */
.calendar-section {
    display: flex;
    flex-direction: column;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.nav-arrow {
    background: #000000;
    color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    padding-bottom: 3px;
}

.nav-arrow:hover {
    background: #333333;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    position: relative;
    color: #333;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day.today {
    font-weight: 600;
}

.calendar-day.selected-secondary {
    background: #f5f5f5;
    color: #333;
}

.calendar-day.selected-primary {
    background: #000000;
    color: #ffffff;
}

.calendar-day:hover:not(.other-month) {
    background: #414141;
    color: white;
}

.calendar-day.selected-primary:hover,
.calendar-day.selected-secondary:hover {
    opacity: 0.9;
}

.calendar-day.disabled {
    color: #ddd;
    cursor: not-allowed;
    background: #f9f9f9;
    position: relative;
}

.calendar-day.disabled .day-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.85rem;
    opacity: 0.15;
    z-index: 1;
}

.calendar-day.disabled .unavailable-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    color: #d0d0d0;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
}

.calendar-day.disabled:hover {
    background: #f9f9f9;
    color: #ddd;
}

/* Booking Details Section */
.booking-details-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100%;
}

.duration-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-trigger {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: #333;
}

.custom-dropdown-trigger:hover {
    border-color: #000000;
    background: #fafafa;
}

.custom-dropdown-trigger.active {
    border-color: #000000;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-dropdown-trigger .dropdown-text {
    flex: 1;
    text-align: left;
}

.custom-dropdown-trigger .dropdown-text.placeholder {
    color: #999;
}

.custom-dropdown-trigger .dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #333;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.custom-dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #000000;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.custom-dropdown-menu.active {
    display: block;
}

.custom-dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.custom-dropdown-option:last-child {
    border-bottom: none;
}

.custom-dropdown-option:hover {
    background: #f8f9ff;
    color: #000000;
}

.custom-dropdown-option.selected {
    background: #E3F2FD;
    color: #000000;
    font-weight: 600;
}

.custom-dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.custom-dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 10px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

.duration-selector select {
    display: none;
}

.available-slots h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Time slot dropdown specific styles */
.time-slot-dropdown-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-slot-dropdown-option .checkmark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-slot-dropdown-option.selected .checkmark {
    opacity: 1;
}

.time-slot-dropdown-option.in-cart {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.time-slot-dropdown-option .cart-badge {
    background: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Addons Section */
.addons-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.addons-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.addons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.addon-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #e0e0e0;
}

.addon-info h4.addon-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.addon-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.addon-pricing {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.addon-pricing-option {
    background: white;
    border-radius: 8px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.addon-pricing-option:has(input[type="radio"]:checked) {
    border-color: #4CAF50;
    background: #f1f8f4;
}

.addon-pricing-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0;
}

.addon-pricing-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.addon-pricing-option .option-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.addon-pricing-option .option-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4CAF50;
}

.addon-quantity {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Force hide quantity selector when not allowed */
.addon-quantity[data-allow-qty="0"] {
    display: none !important;
}

.addon-quantity label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin: 0;
}

.addon-qty-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.addon-qty-input:focus {
    outline: none;
    border-color: #4CAF50;
}


/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    margin-top: auto;
    padding-top: 20px;
}

.contact-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin-bottom: 20px;
}

.contact-label {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 400;
}

.whatsapp-link {
    color: #25D366;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.whatsapp-link:hover {
    color: #20BA5A;
    text-decoration: underline;
}

/* Cart Section */
.cart-section {
    margin-top: 20px;
}

.cart-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px;
    background: #fafafa;
}

/* Minimal Cart Button at Corner */
.booking-cart-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000000;
    color: #ffffff;
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}

.booking-cart-button:hover {
    background: #333333;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.booking-cart-button .cart-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.booking-cart-button .cart-icon svg {
    width: 100%;
    height: 100%;
    color: #ffffff;
}

.booking-cart-button .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;

}

/* Cart Modal Popup */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.cart-modal-overlay.active {
    display: flex;
}

.cart-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cart-modal-header {
    padding: 20px 24px;
    background: #000000;
    color: #ffffff;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.cart-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.cart-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    min-height: 150px;
    max-height: 50vh;
}

.cart-modal-footer {
    border-top: 2px solid #e0e0e0;
    padding: 20px 24px;
    background: #fafafa;
    border-radius: 0 0 16px 16px;
}

.cart-modal-footer .total-section {
    border: none;
    padding: 0;
    margin-bottom: 16px;
}

/* Bottom Cart Drawer (LEGACY - Hidden) */
.cart-drawer,
.cart-drawer.collapsed,
.cart-drawer-header,
.cart-drawer-header:hover,
.cart-drawer-summary,
.cart-drawer-content,
.cart-items-list,
.cart-drawer-footer,
.cart-drawer .total-section,
.cart-drawer.collapsed .cart-toggle-icon {
    display: none !important;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: white;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-info {
    flex: 1;
    font-size: 0.85rem;
}

.cart-item-info strong {
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.cart-item-info span {
    color: #666;
    font-size: 0.8rem;
}

.cart-item-price {
    font-weight: 600;
    color: #000000;
    margin: 0 15px;
}

.cart-item-remove {
    background: #f44336;
    color: #ffffff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.cart-item-remove:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Addon Modal Specific Styles */
.addon-selection-modal {
    max-width: 650px;
}

.addon-selection-modal .cart-modal-content {
    padding: 16px 24px;
}

.addon-selection-modal .addons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-addon-item {
    background: #f8f9fa;
    border-left: 3px solid #4CAF50;
}

.cart-addons-section {
    margin-top: 8px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background: #333333;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.calendar-day.has-cart-items::after {
    content: '•';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    color: #4CAF50;
    font-size: 1.5rem;
    line-height: 0.5;
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    margin-top: auto;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.total-amount {
    text-align: right;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.slot-count {
    font-size: 0.85rem;
    color: #666;
}

.submit-booking-btn {
    width: 100%;
    padding: 14px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.submit-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

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

.submit-booking-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Date Section Headers for Multi-Date Selection */
.date-section-header {
    padding: 12px 16px;
    background: #000000;
    border-left: 4px solid #000000;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #333;
    font-size: 1rem;
}

.date-slots-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 10px;
}

.booking-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.booking-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.booking-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modern Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: slideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
}

.notification.success {
    background: #27ae60;
    color: #000000;
}

.notification.info {
    background: #3498db;
    color: #000000;
}

.notification.warning {
    background: #f39c12;
    color: #000000;
}

.notification.error {
    background: #e74c3c;
    color: #000000;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        margin-bottom: 80px; /* Add space for cart drawer */
    }

    .calendar-section {
        order: 1;
    }

    .booking-details-section {
        order: 2;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .cart-drawer {
        max-height: 75vh;
        bottom: 10px;
        left: 10px;
        right: 10px;
        border-radius: 8px;
    }
    
    .cart-drawer.collapsed {
        transform: translateY(calc(100% - 65px - 10px));
    }
}

@media (max-width: 640px) {
    body {
        padding: 40px 20px;
        padding-bottom: 50px; /* Add space for cart drawer */
    }
    
    .booking-container {
        max-width: 100%;
        padding: 0px;
        overflow:visible;
    }

    .booking-wrapper {
        padding: 20px 15px;
        border-radius: 12px;
        max-width: 100%;
    }

    /* Mobile Week View Calendar */
    .calendar-section {
        background: #f8f9fa;
        border-radius: 0px;
        padding: 20px;
        max-width: calc(100% + 30px);
        overflow-x: hidden;
        overflow-y: visible;
        margin: -20px -15px 0 -15px;
    }

    .calendar-header {
        background: #000000;
        color: #ffffff;
        padding: 16px;
        border-radius: 12px;
        margin: -20px -20px 16px -20px;
    }

    .calendar-header h2 {
        font-size: 1.1rem;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .calendar-header h2::before {
        content: "📅";
        font-size: 1.2rem;
    }

    .nav-arrow {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        width: 32px;
        height: 32px;
    }

    .nav-arrow:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .calendar-weekdays {
        gap: 2px;
        margin-bottom: 8px;
        font-size: 0.75rem;
        color: #888;
        font-weight: 500;
        max-width: 100%;
        width: 100%;
    }

    .calendar-weekdays div {
        text-transform: uppercase;
        font-size: 11px!important;
        letter-spacing: 0;
    }

    .calendar-grid {
        gap: 2px;
        min-height: auto;
        max-width: 100%;
        width: 100%;
    }

    .calendar-day {
        font-size: 0.85rem;
        font-weight: 500;
        padding: 8px 0;
        aspect-ratio: 1;
        min-width: 0;
        width: 100%;
    }

    .calendar-day.other-month {
        color: #d1d5db;
        font-weight: 400;
    }

    .calendar-day.today {
        background: #4a5568;
        color: #ffffff;
        font-weight: 600;
        position: relative;
    }

    .calendar-day.today::after {
        content: "";
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background: #10b981;
        border-radius: 50%;
    }

    .calendar-day.selected-primary {
        background: #000000;
        color: #ffffff;
        font-weight: 600;
    }

    .calendar-day.selected-primary::after {
        content: "";
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        background: #10b981;
        border-radius: 50%;
    }

    /* Next clickable day gets blue color */
    .calendar-day:not(.disabled):not(.today):not(.selected-primary):not(.other-month):hover {
        color: #3b82f6;
        background: #eff6ff;
    }
    
    .cart-drawer-header {
        padding: 14px 16px;
    }
    
    .cart-title {
        font-size: 0.95rem;
    }
    
    .cart-total-preview {
        font-size: 1rem;
    }
    
    .cart-drawer-content {
        max-height: 60vh;
    }
    
    .cart-drawer.collapsed {
        transform: translateY(calc(100% - 60px - 10px));
    }
    
    .cart-items-list {
        padding: 12px 16px;
    }
    
    .cart-drawer-footer {
        padding: 14px 16px;
    }
    
    /* Mobile Dropdown Optimizations */
    .booking-details-section {
        gap: 24px;
        padding-top: 16px;
    }
    
    .duration-selector label {
        font-size: 0.9rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .available-slots h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .custom-dropdown-trigger {
        padding: 14px 16px;
        font-size: 0.95rem;
        min-height: 52px;
        border-width: 2px;
        border-radius: 12px;
    }
    
    .custom-dropdown-trigger .dropdown-text {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .custom-dropdown-trigger .dropdown-arrow {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 7px solid #333;
    }
    
    .custom-dropdown-menu {
        max-height: 240px;
        border-width: 2px;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 9999;
    }
    
    .custom-dropdown-option {
        padding: 14px 16px;
        font-size: 0.9rem;
        line-height: 1.4;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .custom-dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .custom-dropdown-menu::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 3px;
    }
    
    /* Mobile Page Header & Title Optimizations */
    .booking-page-header {
        margin-bottom: 24px;
    }
    
    .studio-title {
        font-size: 24px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .studio-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .back-link {
        font-size: 0.85rem;
        margin-bottom: 16px;
        padding: 8px 0;
    }
    
    h1 {
        font-size: 25px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 1rem !important;
    }
    
    p, span, div {
        font-size: 16px!important;
    }
    
    label {
        font-size: 16px!important;
    }
    
    h2#monthYear {
        font-size: 18px !important;
    }

    /* Mobile Addons Section Optimizations */
    .addons-section {
        margin-top: 24px;
        padding-top: 20px;
    }
    
    .addons-section h3 {
        font-size: 1rem;
        margin-bottom: 14px;
    }
    
    .addons-container {
        gap: 16px;
    }
    
    .addon-item {
        padding: 14px;
        border-radius: 12px;
    }
    
    .addon-info h4.addon-name {
        font-size: 0.95rem;
    }
    
    .addon-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .addon-pricing-option {
        padding: 12px;
        border-radius: 10px;
        min-height: 48px;
    }
    
    .addon-pricing-option label {
        gap: 12px;
    }
    
    .addon-pricing-option input[type="radio"] {
        width: 20px;
        height: 20px;
    }
    
    .addon-pricing-option .option-name {
        font-size: 0.9rem;
    }
    
    .addon-pricing-option .option-price {
        font-size: 0.95rem;
    }
    
    /* Mobile Button Optimizations */
    .submit-booking-btn {
        padding: 16px;
        font-size: 1rem;
        border-radius: 12px;
        min-height: 56px;
        margin-top: 20px;
    }
    
    .btn-primary {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 48px;
    }
}

/* Summary Page */
.summary-page {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 1100px;
    margin: 0 auto;
}

.studio-info-banner {
    background: #000000;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-label {
    font-weight: 600;
    color: #1976D2;
    font-size: 0.95rem;
}

.studio-name {
    color: #0D47A1;
    font-size: 1rem;
    font-weight: 500;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.summary-header h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #000000;
}

.add-more-link {
    color: #000000;
    text-decoration: underline;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.add-more-link:hover {
    color: #333333;
}

.summary-table {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 45px;
}

.summary-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 1.5fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.summary-row:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.summary-cell {
    font-size: 0.95rem;
    color: #333;
}

.summary-cell.date {
    font-weight: 600;
    color: #000;
}

.summary-cell.time {
    color: #555;
    font-weight: 500;
}

.summary-cell.duration {
    color: #666;
    font-weight: 500;
}

.summary-cell.price {
    font-weight: 700;
    color: #000;
    font-size: 1rem;
}

.summary-cell.remove {
    background: #dc3545;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.summary-cell.remove:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.summary-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px 0;
    gap: 30px;
}

.summary-total {
    display: flex;
    align-items: center;
    gap: 30px;
}

.summary-total .total-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.summary-total .total-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000000;
}

.next-btn {
    background: #000000;
    color: #ffffff;
    padding: 14px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.next-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Booking Information Page */
.booking-info-page {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.booking-info-page h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: block;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

input[type="checkbox"] {
    width: auto !important;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' 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")!important;
    background-repeat: no-repeat!important;
    background-position: right 0.7em center!important;
    background-size: 18px!important;
    height: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.view-summary-btn {
    color: #000000;
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    box-shadow: none!important;
}

.view-summary-btn:hover {
    color: #333333;
}

.confirm-booking-btn {
    background: #000000;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

/* Confirmation Page */
.confirmation-page {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: #000000;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-page h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
}

.confirmation-message {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.confirmation-details {
    text-align: left;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.confirmation-details h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.confirmation-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.detail-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.detail-group:last-child {
    border-bottom: none;
}

.detail-group strong {
    color: #555;
    font-weight: 600;
    min-width: 150px;
}

.detail-group span {
    color: #333;
    text-align: right;
}

.detail-group.slot-group {
    flex-direction: column;
    align-items: flex-start;
}

.slot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.slot-badge {
    background: #000000;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

.slot-studio-block {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.slot-studio-name {
    font-weight: 700;
    font-size: 1rem;
    color: #222;
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.slot-date-row {
    margin-bottom: 10px;
}

.slot-date-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 6px;
}

.detail-group.total-group {
    background: #e3f2fd;
    padding: 16px;
    margin: 15px -25px;
    border: none;
}

.detail-group.total-group .total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

.confirmation-actions {
    margin-top: 25px;
}

.btn-primary {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.confirmation-footer {
    margin-top: 25px;
    color: #888;
    font-size: 0.9rem;
}

table.data-table {
    width: 100%;
}

/* Responsive for new pages */
@media (max-width: 968px) {
    .summary-page,
    .booking-info-page,
    .confirmation-page {
        padding: 25px;
    }
    
    .summary-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }
    
    .summary-cell.remove {
        justify-self: start;
        width: 90px;
        padding: 6px 12px;
    }
    
    .summary-footer {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        align-items: stretch;
    }
    
    .summary-footer > div {
        max-width: 100% !important;
        margin-bottom: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
    }
    
    .view-summary-btn,
    .confirm-booking-btn {
        width: 100%;
        text-align: center;
    }
    
    .detail-group {
        flex-direction: column;
        gap: 5px;
        padding: 10px 0;
    }
    
    .detail-group strong {
        min-width: auto;
    }
    
    .detail-group span {
        text-align: left;
    }
    
    .confirmation-page {
        padding: 30px 20px;
    }
    
    .confirmation-details {
        padding: 20px;
    }
}

/* Modern Tab Design - Global */
.studio-tabs,
.category-tabs,
.pricing-tabs {
    display: flex;
    gap: 10px;
    margin: 0px 0 30px 0;
    border-bottom: none;
    padding: 0 0px;
    justify-content: start;

}

.studio-tab,
.tab-button {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
    position: relative;
    box-shadow: none !important;
}

.studio-tab:hover,
.tab-button:hover {
    color: #333;
    border-bottom-color: #ccc;
}

.studio-tab.active,
.tab-button.active {
    color: #000;
    border-bottom-color: #000;
    background: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Gallery Styles */
.gallery-container {
    padding: 0;
}

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 0 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.gallery-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
}

.gallery-download-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-item:hover .gallery-download-btn {
    opacity: 1;
}

.gallery-download-btn:hover {
    background: #000;
    transform: scale(1.1);
}

.gallery-download-btn svg {
    width: 20px;
    height: 20px;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    backdrop-filter: blur(8px);
    opacity: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

#lightboxImage {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 20px;
    text-align: center;
    max-width: 700px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    width: 50px;
    min-width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 300px;
    justify-content: center;
    margin-bottom: 0px;
    margin-top: 5px;
}
        
.back-link:hover {
    background: #dcdcdc;
}
      
.header-wrapper {
    display: flex;
    gap: 15px;
}

.title-wrapper {
    text-align: left;
}

.g-recaptcha {
    visibility: hidden;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-thumbnail {
        height: 200px;
    }
    
    .studio-tabs {
        gap: 20px;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .studio-tab {
        font-size: 1rem;
        padding: 12px 5px;
        white-space: nowrap;
    }
    
    .lightbox-close {
        width: 44px;
        height: 44px;
        top: 15px;
        right: 15px;
    }
    
    .lightbox-close svg {
        width: 20px;
        height: 20px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
    }
    
    .lightbox-prev svg,
    .lightbox-next svg {
        width: 20px;
        height: 20px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    #lightboxImage {
        max-width: 95%;
        max-height: 70vh;
    }

    .cart-modal-footer {
        display: flex;
        flex-direction: column;
    }

    .cart-modal-content {
        padding: 15px!important;
    }
    
    .summary-page, .booking-info-page, .confirmation-page{
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .form-actions {
        gap: 20px;
    }

    .back-link {
        margin-top: 0px;
    }

    .studio-tab, .tab-button {
        padding: 12px 12px 7px 5px;
    }
    
}
