.product-variants {
    margin: 25px 0;
    padding: 25px;
    background: #FFFFFF;
    border-radius: var(--radius-lg, 16px);
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.variants-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1d2327;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.variant-group {
    margin-bottom: 25px;
}

.variant-group:last-child {
    margin-bottom: 0;
}

.variant-group-label.desktop-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
    color: #374151;
    letter-spacing: 0.3px;
}

.variant-group-label.mobile-label {
    display: none;
}

.variant-select-wrapper {
    display: none;
}

.variant-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Color preview removed - colors shown in dropdown options with ⬤ emoji */

/* Product Order Section: Compact Modern */
.product-order-section {
    margin: 16px 0;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #F0EDEA;
}

.product-variants-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0EDEA;
}

.variants-section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1C1C2E;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-variants-selects {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.variant-select-group {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.color-variant-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.variant-select-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    min-width: 100px;
    margin: 0;
}

.color-variant-group .variant-select-label {
    min-width: auto;
}

.variant-select {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid var(--border-color, #F1F2F6);
    border-radius: var(--radius-md, 14px);
    background: #ffffff;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.color-variant-select {
    /* Same padding as regular variant select - no extra space for preview */
    padding: 12px 16px;
    padding-right: 40px;
    font-size: 15px;
}

.variant-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, transparent);
}

.variant-select:hover {
    border-color: #9ca3af;
}

.variant-color-preview {
    display: none;
}

.variant-option {
    padding: 12px 20px;
    background: #ffffff;
    border: 2px solid var(--border-color, #F1F2F6);
    border-radius: var(--radius-md, 14px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 90px;
    text-align: center;
    font-family: inherit;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.variant-option:hover:not(.out-of-stock):not(:disabled) {
    background: #F0EDEA;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 12%, transparent);
}

.variant-option.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 30%, transparent);
    transform: translateY(-2px);
}

.variant-option.active .variant-value-name {
    color: #ffffff;
    font-weight: 700;
}

/* Color Variant Swatches */
.variant-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.variant-color-swatch-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 64px;
    outline: none;
}

.variant-color-swatch-btn:hover:not(.out-of-stock):not(:disabled) {
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.variant-color-swatch-btn.active {
    border-color: var(--primary, #2271b1);
    border-width: 2px;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary, #2271b1) 25%, transparent);
    background: color-mix(in srgb, var(--primary, #2271b1) 5%, #fff);
}

.variant-color-swatch-btn.out-of-stock {
    opacity: 0.45;
    cursor: not-allowed;
}

.variant-color-swatch-btn.out-of-stock .swatch-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 2px;
    background: #dc3232;
    transform: rotate(-45deg);
}

.swatch-circle {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    position: relative;
}

.variant-color-swatch-btn.active .swatch-circle {
    border-color: var(--primary, #2271b1);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary, #2271b1);
    transform: scale(1.1);
}

.swatch-label {
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.2;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.variant-color-swatch-btn.active .swatch-label {
    color: var(--primary, #2271b1);
}

/* Size Variants - Different styling */
.variant-option:not(.variant-color-option) {
    min-width: 80px;
}

/* Mobile: Make color swatches larger and more visible - hide text, show only colors */
@media (max-width: 768px) {
    .variant-color-swatch {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        border-width: 3px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    }

    .variant-color-option {
        min-width: 55px !important;
        width: 55px !important;
        height: 55px !important;
        padding: 5px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        overflow: visible !important;
    }
    
    /* Hide text label on mobile for color variants - show only the color swatch */
    .variant-color-option .variant-value-name {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Hide price text on color variants on mobile */
    .variant-color-option .variant-price,
    .variant-color-option .variant-price-sale,
    .variant-color-option .variant-price-original {
        display: none !important;
    }
    
    /* Make color swatch fill the button */
    .variant-color-option .variant-color-swatch {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        border-radius: 50% !important;
    }
    
    /* Active state for color swatches */
    .variant-color-option.active .variant-color-swatch {
        border-width: 4px !important;
        border-color: var(--primary) !important;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 30%, transparent), 0 4px 12px rgba(0,0,0,0.2) !important;
        transform: scale(1.05) !important;
    }
}

.variant-option.active .variant-price,
.variant-option.active .variant-price-sale {
    color: #ffffff;
}

.variant-option.active .variant-price-original {
    color: rgba(255, 255, 255, 0.7);
}

.variant-option.out-of-stock,
.variant-option:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9fafb;
    border-color: #e5e7eb;
}

/* Quantity Selector - Inline Compact */
.product-order-section .quantity-selector {
    margin: 14px 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-order-section .quantity-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

.product-order-section .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #E8E5E0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.product-order-section .quantity-controls .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
    font-weight: 600;
    background: #F5F3F0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.product-order-section .quantity-controls .qty-btn:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
}

.product-order-section .quantity-controls .qty-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.product-order-section .quantity-controls .qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-order-section .quantity-controls input {
    width: 44px;
    text-align: center;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-left: 1px solid #E8E5E0;
    border-right: 1px solid #E8E5E0;
    background: #fff;
}

/* Action Buttons - Compact Modern */
.product-order-section .action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

/* Order Total Row */
.product-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 0;
    margin-top: 4px;
    border-top: 1px solid #F0EDEA;
}

.order-total-label {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.order-total-amount {
    font-size: 18px;
    font-weight: 800;
    color: #1C1C2E;
}

.product-order-section .action-buttons .ultra-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    min-height: 46px;
    border-radius: 12px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-order-section .action-buttons .ultra-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 30%, transparent);
}

.product-order-section .action-buttons .ultra-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 40%, transparent);
}

.product-order-section .action-buttons .ultra-btn-secondary {
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.product-order-section .action-buttons .ultra-btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 20%, transparent);
}

/* Floating Scroll to Variants Button */
.scroll-to-variants-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px color-mix(in srgb, var(--primary) 40%, transparent), 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 3s ease-in-out infinite;
}

.scroll-to-variants-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px color-mix(in srgb, var(--primary) 50%, transparent), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-variants-btn:active {
    transform: scale(0.95);
}

.scroll-to-variants-btn svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

/* RTL Support */
body.rtl .scroll-to-variants-btn,
html[dir="rtl"] .scroll-to-variants-btn,
[dir="rtl"] .scroll-to-variants-btn {
    right: auto;
    left: 30px;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-6px);
        opacity: 0.85;
    }
}

.scroll-to-variants-btn:hover {
    animation: none;
}

.variant-value-name {
    font-weight: 600;
    font-size: 15px;
    color: #1d2327;
    line-height: 1.4;
}

.variant-price {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.variant-price-sale {
    font-size: 14px;
    color: #dc3232;
    font-weight: 700;
}

.variant-price-original {
    font-size: 11px;
    color: #9ca3af;
    text-decoration: line-through;
}

.variant-out-of-stock-badge {
    font-size: 11px;
    color: #dc3232;
    font-weight: 600;
    margin-top: 4px;
}

/* Desktop styles - enhance mobile-first base */
@media (min-width: 769px) {
    .product-order-section {
        margin: 30px 0;
        padding: 30px;
    }
    
    .product-variants-header {
        margin-bottom: 25px;
        padding-bottom: 18px;
    }
    
    .variants-section-title {
        font-size: 20px;
    }
    
    .color-variant-group .variant-select-label {
        width: auto;
        flex-basis: auto;
        margin-bottom: 0;
    }
}

/* Mobile-first base styles */
@media (max-width: 768px) {
    /* Mobile: Product Order Section */
    .product-order-section {
        margin: 12px 0;
        padding: 14px;
        border-radius: 12px;
    }
    
    .product-variants-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .variants-section-title {
        font-size: 15px;
        font-weight: 700;
    }
    
    .product-variants-selects {
        gap: 12px;
        margin-bottom: 14px;
    }
    
    .variant-select-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .color-variant-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .color-variant-group .variant-select-label {
        width: 100%;
        text-align: left;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 600;
    }
    
    .variant-color-swatches {
        gap: 8px;
    }
    
    .variant-color-swatch-btn {
        min-width: 56px;
        padding: 6px;
    }
    
    .swatch-circle {
        width: 28px;
        height: 28px;
    }
    
    .variant-select-label {
        min-width: auto;
        font-size: 14px;
        font-weight: 600;
    }
    
    .variant-select {
        width: 100%;
        padding: 12px 36px 12px 14px;
        font-size: 14px;
    }
    
    .color-variant-select {
        padding: 12px 36px 12px 14px;
        width: 100%;
    }
    
    .product-order-section .quantity-selector {
        margin: 12px 0;
        padding: 0;
    }
    
    .product-order-section .quantity-controls {
        max-width: 100%;
    }
    
    .product-order-section .action-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 14px;
    }
    
    .product-order-section .action-buttons .ultra-btn {
        width: 100%;
        padding: 14px 16px;
        font-size: 14px;
        min-height: 46px;
    }
    
    /* Mobile: Adjust scroll button position - above fixed footer */
    .scroll-to-variants-btn {
        bottom: 100px;
        right: 20px;
        width: 56px;
        height: 56px;
        z-index: 1000;
        display: flex !important;
    }
    
    .scroll-to-variants-btn svg {
        width: 24px;
        height: 24px;
    }
    
    /* RTL Mobile Support */
    body.rtl .scroll-to-variants-btn,
    html[dir="rtl"] .scroll-to-variants-btn,
    [dir="rtl"] .scroll-to-variants-btn {
        right: auto;
        left: 20px;
    }
}

.product-gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.product-gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 0.6;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 20%, transparent);
}

.gallery-thumb:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
}
.product-main-image {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
    min-height: 400px;
    background: var(--bg-secondary, #F0EDEA);
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    touch-action: manipulation;
}

.product-main-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-lg, 16px);
    display: block;
}

/* Hover zoom lens is created via JS — no extra CSS needed */

/* Zoom lens created via JS — inherits border-radius from parent */
.product-actions .action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.product-actions .ultra-btn {
    flex: 1;
    min-width: 150px;
    transition: all 0.3s ease;
}

.product-actions .ultra-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 40%, transparent);
}

.product-actions .ultra-btn-primary:hover {
    background: var(--primary);
    filter: brightness(1.1);
}

.product-actions .ultra-btn-secondary:hover {
    background: #F0EDEA;
    border-color: var(--primary);
}
/* Hide tabs navigation - only show description */
.tabs-nav {
    display: none !important;
}

.tab-panel {
    display: block !important;
}

.tab-panel#tab-additional {
    display: none !important;
}

/* Quantity Selector Styles */
.quantity-selector {
    margin-bottom: 20px;
}

.quantity-selector .quantity-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    width: fit-content;
    border: 2px solid var(--border-color, #d1d5db);
    border-radius: var(--radius-md, 14px);
    background: #fff;
}

.quantity-selector .quantity-label {
    display: block;
    font-size: 9px;
    margin: 0;
    padding: 4px 12px 2px 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #e5e7eb;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: none;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    width: fit-content;
    background: transparent;
}

/* Hide old label styling */
.quantity-selector > label {
    display: none;
}

.quantity-controls .qty-btn {
    background: var(--bg-secondary, #F0EDEA);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
}

.quantity-controls .qty-btn:hover:not(:disabled) {
    background: var(--border-color, #F1F2F6);
}

.quantity-controls .qty-btn:active:not(:disabled) {
    background: #d0d0d0;
    transform: scale(0.95);
}

.quantity-controls .qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-controls #product-quantity {
    width: 80px;
    text-align: center;
    border: none;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    background: #fff;
    -moz-appearance: textfield;
    min-height: 48px;
}

.quantity-controls #product-quantity::-webkit-outer-spin-button,
.quantity-controls #product-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Desktop: Normal positioning for order section */
.product-order-section-mobile {
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    /* Only prevent horizontal scroll, do NOT touch vertical scroll */
    .site-main, .wrap, #main {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Allow body and html to scroll vertically */
    body, html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Move content up to start right under navbar */
    .site-main {
        margin-top: 0;
        padding-top: 0;
    }
    
    #main {
        margin-top: 0;
        padding-top: 0;
    }
    
    .product-single {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        margin-top: 0;
        padding-top: 0;
    }
    
    .product-single .container {
        padding: 0 14px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        margin-top: 0;
        padding-top: 0;
    }
    
    .product-content {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 0;
        padding-top: 0;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        position: relative;
    }
    
    .product-details {
        overflow: visible;
        position: relative;
    }
    
    .product-images {
        position: static;
        width: 100%;
        max-width: 100%;
        order: 1;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
    }
    
    .product-main-image {
        width: 100%;
        margin-bottom: 8px;
        height: 350px;
        background: var(--bg-secondary, #F0EDEA);
        border-radius: var(--radius-lg, 16px);
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        display: block;
    }
    
    .product-gallery-thumbnails {
        margin-top: 6px;
        gap: 5px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    .gallery-thumb {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .product-details {
        padding: 0;
        padding-bottom: 80px;
        order: 2;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    
    .product-title {
        font-size: 19px;
        margin-bottom: 8px;
        line-height: 1.3;
        padding: 0 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        max-width: 100%;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
    
    .product-price {
        margin: 8px 0;
        padding: 0 2px;
    }
    
    .price-current,
    .price-sale {
        font-size: 21px;
    }
    
    .price-original {
        font-size: 15px;
    }
    
    /* Description wrapper - desktop */
    .product-short-description-wrapper {
        margin: 20px 0;
    }
    
    .product-short-description {
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
        color: var(--text-secondary, #636E72);
        padding: 15px;
        display: block; /* Always visible by default */
        display: block;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-line;
        background: var(--bg-secondary, #F0EDEA);
        border-radius: var(--radius-md, 14px);
        border: none;
    }
    
    /* Description is always fully visible - no collapse functionality */
    
    /* Wrapper for both variants and actions - no longer fixed, uses product-fixed-footer-mobile instead */
    .product-order-section-mobile {
        position: relative;
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Old variant structure removed - now using unified dropdown structure */
    
    /* Hide buttons on mobile, show dropdown - EXCEPT for color variants */
    .variant-buttons {
        display: none;
    }
    
    /* Show buttons for color variants on mobile so users can see the colors */
    .variant-group:has(.variant-color-option) .variant-buttons {
        display: flex !important;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Hide dropdown for color variants on mobile since we're showing buttons */
    .variant-group:has(.variant-color-option) .variant-select-wrapper {
        display: none !important;
    }
    
    .variant-select-mobile {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 8px 28px 8px 8px;
        border: none;
        border-radius: 0 0 6px 6px;
        font-size: 13px;
        font-weight: 600;
        background: transparent;
        color: #1d2327;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 10px;
        flex-shrink: 0;
    }
    
    .variant-select-mobile:focus {
        outline: none;
    }
    
    /* Variant options are now dropdowns - no button styles needed */
    
    .product-actions {
        margin-top: 16px;
        margin-bottom: 0;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        position: relative;
    }
    
    /* Description wrapper */
    .product-short-description-wrapper {
        margin: 12px 0 40px 0;
        position: relative;
    }
    
    /* Add padding to description section to prevent overlap and make it collapsible */
    .product-short-description {
        padding: 15px 6px 15px 2px;
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
        color: var(--text-secondary, #636E72);
        overflow: hidden;
        border-bottom: 2px solid var(--border-color, #F1F2F6);
        background: var(--bg-secondary, #F0EDEA);
        border-radius: var(--radius-md, 14px);
        white-space: pre-line;
        word-wrap: break-word;
        overflow-wrap: break-word;
        transition: max-height 0.3s ease;
    }
    
    /* Description is always fully visible on mobile - no collapse functionality */
    
    /* Custom scrollbar for description on mobile */
    .product-short-description::-webkit-scrollbar {
        width: 4px;
    }
    
    .product-short-description::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .product-short-description::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }
    
    .product-short-description::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
    
    /* Quantity selector integrated with variants - on same line - no separation */
    .mobile-quantity-inline {
        display: flex;
        align-items: center;
        gap: 0;
        flex-wrap: nowrap;
        flex-shrink: 0;
        margin: 0;
        padding: 0;
    }
    
    .mobile-quantity-inline .quantity-wrapper {
        display: flex;
        flex-direction: column;
        position: relative;
        min-width: 85px;
        max-width: 110px;
        flex: 0 0 auto;
        border: 2px solid var(--border-color, #F1F2F6);
        border-radius: var(--radius-md, 14px);
        background: #fff;
        flex-shrink: 0;
        transition: all 0.2s ease;
        overflow: hidden;
    }
    
    .mobile-quantity-inline .quantity-wrapper:focus-within {
        border-color: var(--primary);
        border-width: 2px;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
    }
    
    .mobile-quantity-inline .quantity-label {
        display: block;
        font-size: 9px;
        margin: 0;
        padding: 4px 8px 2px 8px;
        white-space: nowrap;
        font-weight: 600;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 0.2px;
        border-bottom: 1.5px solid #d1d5db;
        flex-shrink: 0;
        line-height: 1.2;
        background: transparent;
    }
    
    .mobile-quantity-inline .quantity-controls {
        display: flex;
        align-items: center;
        gap: 0;
        border: none;
        border-radius: 0 0 6px 6px;
        padding: 8px 2px;
        flex-shrink: 0;
        background: transparent;
        width: 100%;
        justify-content: center;
        height: 28px;
    }
    
    .mobile-quantity-inline .qty-btn {
        width: 24px;
        height: 24px;
        border: none;
        background: transparent;
        border-radius: 0;
        cursor: pointer;
        font-size: 12px;
        font-weight: 700;
        color: #1d2327;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        flex-shrink: 0;
        padding: 0;
    }
    
    .mobile-quantity-inline .qty-btn:hover:not(:disabled) {
        background: #f3f4f6;
    }
    
    .mobile-quantity-inline .qty-btn:active:not(:disabled) {
        background: #e5e7eb;
    }
    
    .mobile-quantity-inline .qty-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .mobile-quantity-inline #product-quantity {
        width: 28px;
        flex: 0 0 auto;
        font-size: 13px;
        text-align: center;
        border: none;
        padding: 0;
        background: transparent;
        -moz-appearance: textfield;
        line-height: 1.2;
        font-weight: 600;
        color: #1d2327;
        height: 24px;
    }
    
    .mobile-quantity-inline #product-quantity:focus {
        outline: none;
    }
    
    .mobile-quantity-inline #product-quantity::-webkit-outer-spin-button,
    .mobile-quantity-inline #product-quantity::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    
    /* Hide quantity in product-actions when variants exist */
    .product-actions .quantity-selector {
        display: none;
    }
    
    .product-actions .action-buttons {
        flex-direction: row;
        gap: 12px;
        margin-top: 0;
    }
    
    .product-actions .ultra-btn {
        flex: 1;
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 700;
        min-height: 52px;
        border-radius: 10px;
    }
    
    .product-tabs {
        margin-top: 15px;
        order: 3;
    }
    
    .tabs-nav {
        display: none; /* Hide tabs navigation */
    }
    
    .tab-panel {
        padding: 12px 0;
        font-size: 13px;
        line-height: 1.6;
    }
    
    .tab-panel h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .product-single {
        padding-bottom: 80px; /* Space for fixed bottom bar */
    }
    
    /* Ensure product tabs have space above sticky buttons */
    .product-tabs {
        margin-bottom: 20px;
    }
    
    /* Make buttons more prominent and always visible */
    /* Button hover effects - always visible */
    .product-actions .ultra-btn {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 30%, transparent);
    }
    
    .product-actions .ultra-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 40%, transparent);
    }
    
    .product-actions .ultra-btn-primary:hover {
        background: var(--primary);
        filter: brightness(1.1);
    }
    
    .product-actions .ultra-btn-secondary:hover {
        background: #F0EDEA;
        border-color: var(--primary);
    }
    
    .product-actions .ultra-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 30%, transparent);
    }
}

/* Product Image Lightbox Modal */
/* (zoom icon .zoom-hint styles are defined above near .product-main-image) */

.product-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    z-index: 100006;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lightbox-pop 0.25s ease;
}

@keyframes lightbox-pop {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
    z-index: 100007;
}

[dir="rtl"] .lightbox-close {
    right: auto;
    left: 0;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.lightbox-img-wrapper {
    max-width: 92vw;
    max-height: 88vh;
    overflow: auto;
    border-radius: 12px;
}

.lightbox-img-wrapper img {
    display: block;
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    cursor: zoom-out;
}
