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

:root {
    --primary-color: #ff6b35;
    --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --primary-dark: #e0a800;
    --secondary-color: #f8f9fa;
    --text-primary: #1a1c1e;
    --text-secondary: #6c757d;
    --bg-white: #ffffff;
    --border-color: #eff0f2;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 30px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 320px;
    --bottom-nav-height: 85px;
}

        body {
            font-family: 'Cairo', sans-serif;
            background-color: #f8f9fa;
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        [dir="rtl"] {
            font-family: 'Cairo', sans-serif;
        }

        [dir="ltr"] {
            font-family: 'Inter', sans-serif;
        }

        .app-container {
            max-width: 480px;
            margin: 0 auto;
            background: white;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        }

/* Header Section */
.header-section {
    height: var(--header-height);
    overflow: hidden;
    position: relative;
    will-change: transform;
}

.header-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 10s ease-out;
}

.header-section:hover .header-image {
    transform: scale(1.1);
}

.header-overlay {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0) 40%, 
        rgba(0, 0, 0, 0.5) 100%);
}

.btn-header-action {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-header-action:hover {
    background: #fff;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

/* Cafe Info Section */
.cafe-info-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    padding: 30px 25px !important;
}

.cafe-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cafe-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cafe-logo {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--shadow-md);
    padding: 2px;
    background: #fff;
    animation: logoGlow 3s infinite alternate;
}

@keyframes logoGlow {
    from { box-shadow: 0 0 5px rgba(255, 107, 53, 0.2); }
    to { box-shadow: 0 0 20px rgba(255, 107, 53, 0.5); }
}

/* Service Options (Pill Toggle Redesign) */
.service-options-container {
    background: #f1f3f5;
    padding: 6px;
    border-radius: 100px;
    position: relative;
}

.service-options-pills {
    position: relative;
    z-index: 1;
}

.service-pill {
    border: none;
    background: transparent;
    padding: 12px 10px;
    border-radius: 100px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.service-pill .pill-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-pill .pill-icon {
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.service-pill .pill-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.service-pill.active .pill-icon,
.service-pill.active .pill-text {
    color: #fff;
}

.service-pill.active {
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.service-pill:hover:not(.active) .pill-text {
    color: var(--primary-color);
}

/* Info Cards Reimagined */
.info-card-wrapper {
    height: 100%;
}

.info-card {
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-md);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #fff7f3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: var(--transition);
}

.info-card:hover .info-card-icon-wrapper {
    background: var(--primary-color);
}

.info-card:hover .info-icon {
    color: #fff;
}

.info-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-status {
    font-size: 13px;
    margin-bottom: 4px;
}

.info-detail {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Category Tabs Premium */
.category-tabs {
    display: flex;
    gap: 12px;
    padding: 20px 20px 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.category-tab {
    background: #f8f9fa;
    border: 1.5px solid transparent;
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
    scroll-snap-align: start;
}

.category-tab:hover {
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-tab.active {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    transform: scale(1.05);
}
.category-section{
    padding: 10px;
}

/* Menu Section & Premium Items */
.menu-section {
    padding-bottom: 100px;
    background: #fff;
}

.menu-item {
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    contain: content;
    position: relative;
}

.menu-item:hover {
    transform: translateX(-5px) scale(1.01);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.item-image {
    width: 95px;
    height: 95px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #f0f2f5;
}

.shimmer-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f2f5 25%, #e6e9ef 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

.item-image.loaded .shimmer-placeholder {
    display: none;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-item:hover .item-image img {
    transform: scale(1.15);
}

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

.currency {
    font-size: 12px;
    font-weight: 600;
    margin-right: 2px;
}

.add-btn-wrapper {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
}

.menu-item:hover .add-btn-wrapper {
    transform: rotate(90deg) scale(1.1);
}

/* Filter Classes */
.hidden, .filter-hidden {
    display: none !important;
}

.filter-visible {
    display: flex !important;
    animation: fadeInFilter 0.4s ease forwards;
}

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

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-item.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bottom Navigation Premium */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 440px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    height: 75px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
    padding: 10px;
    position: relative;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

        /* Cart Sidebar */
        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1998;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .cart-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            max-width: 400px;
            height: 100vh;
            background: white;
            z-index: 1999;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow-lg);
        }

        [dir="ltr"] .cart-sidebar {
            right: auto;
            left: -100%;
        }

        .cart-sidebar.open {
            right: 0;
        }

        [dir="ltr"] .cart-sidebar.open {
            left: 0;
        }

        .cart-header {
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--secondary-color);
        }

        .cart-header h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .close-cart {
            background: none;
            border: none;
            font-size: 20px;
            color: var(--text-secondary);
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            transition: var(--transition);
        }

        .close-cart:hover {
            background: var(--border-color);
            color: var(--text-primary);
        }

        .cart-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }

        .cart-items {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .cart-item {
            background: var(--secondary-color);
            border-radius: var(--border-radius);
            padding: 15px;
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .cart-item-image {
            width: 60px;
            height: 60px;
            border-radius: var(--border-radius);
            overflow: hidden;
            flex-shrink: 0;
        }

        .cart-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .cart-item-info {
            flex: 1;
        }

        .cart-item-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 5px;
        }

        .cart-item-price {
            font-size: 14px;
            color: var(--primary-color);
            font-weight: 600;
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .quantity-btn {
            width: 30px;
            height: 30px;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            font-size: 12px;
        }

        .quantity-btn:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        .quantity-display {
            font-weight: 600;
            min-width: 20px;
            text-align: center;
        }

        .remove-item {
            background: #dc3545;
            border: none;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            font-size: 12px;
        }

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

        .cart-empty {
            text-align: center;
            padding: 50px 20px;
            color: var(--text-secondary);
        }

        .cart-empty i {
            font-size: 48px;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .cart-footer {
            padding: 20px;
            border-top: 1px solid var(--border-color);
            background: var(--secondary-color);
        }

        .total-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 16px;
            font-weight: 600;
        }

        .total-amount {
            color: var(--primary-color);
        }

        .checkout-btn {
            width: 100%;
            background: var(--primary-color);
            border: none;
            color: white;
            padding: 15px;
            border-radius: var(--border-radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .checkout-btn:hover:not(:disabled) {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .checkout-btn:disabled {
            background: var(--text-secondary);
            cursor: not-allowed;
        }
        /* Toast Notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translate(-50%, -50%) scale(1);
}
/* Product Detail Modal Styles */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-detail-modal.show {
    display: flex;
    opacity: 1;
}

.product-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.product-detail-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    animation: slideUpModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

@keyframes slideUpModal {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Close Button */
.product-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    /* background: rgba(0, 0, 0, 0.1); */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

[dir="ltr"] .product-close-btn {
    right: auto;
    left: 20px;
}

.product-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* Product Image Section */
.product-image-section {
    position: relative;
    width: 100%;
    height: 60vh;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Product Info Section */
.product-info-section {
    flex: 1;
    padding: 30px 20px 20px;
    background: white;
    border-radius: 25px 25px 0 0;
    margin-top: -25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.product-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-detail-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Size Selection */
.size-selection {
    margin-bottom: 30px;
}

.selection-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.size-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.size-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: white;
}

.size-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.size-option.selected {
    border-color: var(--primary-color);
    background: rgba(255, 193, 7, 0.1);
}

.size-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.size-price {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.size-check {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 18px;
    opacity: 0;
    transition: var(--transition);
}

[dir="ltr"] .size-check {
    right: auto;
    left: 20px;
}

.size-option.selected .size-check {
    opacity: 1;
}

/* Quantity Section */
.quantity-section {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.quantity-controls-detail {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-light);
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid var(--border-color);
}

.quantity-btn-detail {
    width: 35px;
    height: 35px;
    border: none;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.quantity-btn-detail:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.quantity-btn-detail:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.quantity-display-detail {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 30px;
    text-align: center;
}

/* Add to Cart Button */
.product-action-section {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--border-color);
}

.add-to-cart-detail {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.add-to-cart-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.add-to-cart-detail:hover::before {
    left: 100%;
}

.add-to-cart-detail:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.cart-price {
    font-size: 18px;
    font-weight: 700;
}

/* Responsive Design for Product Detail */
@media (max-width: 768px) {
    .product-image-section {
        height: 50vh;
    }

    .product-info-section {
        padding: 25px 15px 15px;
    }

    .product-detail-title {
        font-size: 24px;
    }

    .product-detail-description {
        font-size: 15px;
    }

    .size-option {
        padding: 12px 15px;
    }

    .quantity-controls-detail {
        gap: 15px;
        padding: 6px 15px;
    }

    .add-to-cart-detail {
        padding: 15px 20px;
        font-size: 15px;
    }
}

@media (max-width: 375px) {
    .product-close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    [dir="ltr"] .product-close-btn {
        right: auto;
        left: 15px;
    }

    .product-image-section {
        height: 45vh;
    }

    .product-info-section {
        padding: 20px 12px 12px;
        margin-top: -20px;
    }

    .product-detail-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .product-detail-description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .selection-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .size-option {
        padding: 10px 12px;
    }

    .size-label {
        font-size: 15px;
    }

    .size-price {
        font-size: 13px;
    }

    .quantity-controls-detail {
        gap: 12px;
        padding: 5px 12px;
    }

    .quantity-btn-detail {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .quantity-display-detail {
        font-size: 16px;
    }

    .product-action-section {
        padding: 15px 12px;
    }

    .add-to-cart-detail {
        padding: 12px 15px;
        font-size: 14px;
    }

    .cart-price {
        font-size: 16px;
    }
}

/* Animation for product detail opening */
.product-detail-modal.opening .product-detail-container {
    animation: slideUpModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail-modal.closing .product-detail-container {
    animation: slideDownModal 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDownModal {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

/* Loading state for product detail */
.product-detail-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-secondary);
}

.product-detail-loading::after {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 15px;
}

/* Enhanced ripple effect for product detail buttons */
.size-option,
.quantity-btn-detail,
.add-to-cart-detail {
    position: relative;
    overflow: hidden;
}

/* Product detail specific animations */
.product-info-section>* {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-detail-title {
    animation-delay: 0.1s;
}

.product-detail-description {
    animation-delay: 0.2s;
}

.size-selection {
    animation-delay: 0.3s;
}

.quantity-section {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}