/*======================================
    Modern Product Details Page Styles
    MTalaat Pharmacy - Premium Design
========================================*/

/* CSS Variables */
:root {
    --pd-primary: #667eea;
    --pd-secondary: #764ba2;
    --pd-success: #27b947;
    --pd-danger: #ef4444;
    --pd-warning: #f59e0b;
    --pd-dark: #1a1a2e;
    --pd-light: #f8fafc;
    --pd-gray: #6b7280;
    --pd-border: #e5e7eb;
    --pd-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --pd-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --pd-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --pd-gradient: linear-gradient(135deg, var(--pd-primary) 0%, var(--pd-secondary) 100%);
    --pd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Product Details Section */
.product-details-modern {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 40px 0 60px;
    direction: rtl;
}

.product-details-modern .container {
    max-width: 1200px;
}

/* Main Product Card */
.product-main-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--pd-shadow-lg);
    overflow: hidden;
    margin-bottom: 40px;
    transition: var(--pd-transition);
}

.product-main-card:hover {
    box-shadow: var(--pd-shadow-xl);
}

/* Image Gallery Section */
.product-gallery {
    padding: 30px;
    position: relative;
}

.product-gallery .main-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 20px;
    cursor: zoom-in;
}

.product-gallery .main-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: var(--pd-transition);
    z-index: 1;
    pointer-events: none;
}

.product-gallery .main-image-container:hover::before {
    opacity: 1;
}

.product-gallery .main-image {
    width: 100%;
    height: 450px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.product-gallery .main-image-container:hover .main-image {
    transform: scale(1.05);
}

/* Zoom Icon */
.product-gallery .zoom-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-dark);
    font-size: 18px;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--pd-transition);
    cursor: pointer;
}

.product-gallery .main-image-container:hover .zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.product-gallery .zoom-icon:hover {
    background: var(--pd-gradient);
    color: #fff;
}

/* Thumbnail Images */
.product-gallery .thumbnails {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-gallery .thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--pd-transition);
    background: #f8fafc;
    position: relative;
}

.product-gallery .thumbnail-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pd-gradient);
    transform: scaleX(0);
    transition: var(--pd-transition);
}

.product-gallery .thumbnail-item:hover,
.product-gallery .thumbnail-item.active {
    border-color: var(--pd-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.product-gallery .thumbnail-item.active::after {
    transform: scaleX(1);
}

.product-gallery .thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--pd-transition);
}

.product-gallery .thumbnail-item:hover img {
    transform: scale(1.1);
}

/* Discount Badge */
.product-discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    z-index: 3;
    animation: pulse-badge 2s infinite;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Product Info Section */
.product-info-section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Category Badge */
.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--pd-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    transition: var(--pd-transition);
    text-decoration: none;
    width: fit-content;
}

.product-category-badge:hover {
    background: var(--pd-gradient);
    color: #fff;
    transform: translateX(-5px);
}

.product-category-badge i {
    font-size: 14px;
}

/* Product Title */
.product-title-modern {
    font-size: 28px;
    font-weight: 700;
    color: var(--pd-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Short Description */
.product-short-desc {
    color: var(--pd-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pd-border);
}

/* Price Section */
.product-price-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.product-current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--pd-success);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-current-price .currency {
    font-size: 18px;
    font-weight: 600;
}

.product-old-price {
    font-size: 20px;
    color: var(--pd-gray);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-discount-tag {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

/* Delivery Info */
.delivery-info-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 4px solid var(--pd-success);
}

.delivery-info-box i {
    font-size: 24px;
    color: var(--pd-success);
    animation: bounce-truck 1s infinite;
}

@keyframes bounce-truck {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

.delivery-info-box .delivery-text {
    font-size: 14px;
    color: #065f46;
    font-weight: 500;
}

.delivery-info-box .delivery-time {
    font-weight: 700;
    color: var(--pd-success);
}

/* Options Section */
.product-options {
    margin-bottom: 24px;
}

.option-group {
    margin-bottom: 16px;
}

.option-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--pd-dark);
    margin-bottom: 10px;
}

.option-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--pd-border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--pd-dark);
    background: #fff;
    transition: var(--pd-transition);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 20px;
    padding-left: 45px;
}

.option-select:focus {
    outline: none;
    border-color: var(--pd-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.option-select:hover {
    border-color: var(--pd-primary);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--pd-border);
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border: none;
    font-size: 20px;
    font-weight: 600;
    color: var(--pd-dark);
    cursor: pointer;
    transition: var(--pd-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--pd-gradient);
    color: #fff;
}

.quantity-input {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--pd-dark);
    background: #fff;
}

.quantity-input:focus {
    outline: none;
}

/* Add to Cart Button */
.add-to-cart-section {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-add-cart {
    flex: 1;
    min-width: 200px;
    padding: 16px 32px;
    background: var(--pd-gradient);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--pd-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn-add-cart:active {
    transform: translateY(-1px);
}

.btn-add-cart i {
    font-size: 20px;
}

/* Wishlist Button */
.btn-wishlist {
    width: 56px;
    height: 56px;
    border: 2px solid var(--pd-border);
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--pd-transition);
    color: var(--pd-gray);
    font-size: 22px;
}

.btn-wishlist:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Product Details Info Tabs */
.product-details-tabs {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--pd-shadow-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--pd-border);
    background: #f8fafc;
}

.tab-btn {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--pd-gray);
    cursor: pointer;
    transition: var(--pd-transition);
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pd-gradient);
    transform: scaleX(0);
    transition: var(--pd-transition);
}

.tab-btn:hover {
    color: var(--pd-primary);
    background: rgba(102, 126, 234, 0.05);
}

.tab-btn.active {
    color: var(--pd-primary);
    background: #fff;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    padding: 30px;
    min-height: 200px;
}

.tab-pane {
    display: none;
    animation: fadeInTab 0.3s ease;
}

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

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.description-content {
    color: var(--pd-gray);
    font-size: 15px;
    line-height: 1.8;
}

.description-content h4,
.description-content h5,
.description-content h6 {
    color: var(--pd-dark);
    margin-bottom: 16px;
    font-weight: 600;
}

.description-content p {
    margin-bottom: 16px;
}

.description-content ul,
.description-content ol {
    padding-right: 20px;
    margin-bottom: 16px;
}

.description-content li {
    margin-bottom: 8px;
}

/* Related Products Section - Modern Premium Design */
.related-products-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f0 50%, #f0f8ff 100%);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.related-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 188, 156, 0.3), transparent);
}

.related-products-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 188, 156, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-title-modern {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title-modern h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #2d3436 0%, #1abc9c 50%, #0984e3 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientTextRelated 4s ease infinite;
}

@keyframes gradientTextRelated {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.section-title-modern h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1abc9c, #0984e3);
    border-radius: 4px;
    animation: lineShimmer 2s ease infinite;
}

@keyframes lineShimmer {

    0%,
    100% {
        opacity: 1;
        width: 80px;
    }

    50% {
        opacity: 0.7;
        width: 100px;
    }
}

/* Related Product Card - Premium Glassmorphism Design */
.related-product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
}

.related-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1abc9c, #0984e3, #1abc9c);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

.related-product-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
    animation: gradientMove 1.5s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.related-product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 188, 156, 0.2);
    border-color: rgba(26, 188, 156, 0.3);
}

.related-product-card .product-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-product-card .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.5) 100%);
    pointer-events: none;
}

.related-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 20px;
    max-width: 100%;
}

.related-product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
}

.related-product-card .product-details {
    padding: 20px 18px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-product-card .product-name {
    font-size: 15px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
    transition: color 0.3s ease;
}

.related-product-card:hover .product-name {
    color: #1abc9c;
}

.related-product-card .product-price {
    font-size: 20px;
    font-weight: 800;
    color: #1abc9c;
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.1) 0%, rgba(9, 132, 227, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.related-product-card:hover .product-price {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: #fff;
    transform: scale(1.05);
}

/* Carousel Controls */
.brands-logo-wrapper {
    position: relative;
}

.tns-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #fff;
    border: 2px solid var(--pd-border);
    border-radius: 50%;
    font-size: 20px;
    color: var(--pd-dark);
    cursor: pointer;
    transition: var(--pd-transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tns-controls button:first-child {
    right: -24px;
}

.tns-controls button:last-child {
    left: -24px;
}

.tns-controls button:hover {
    background: var(--pd-gradient);
    border-color: transparent;
    color: #fff;
}

/* Review Modal Styles */
.review-modal .modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.review-modal .modal-header {
    background: var(--pd-gradient);
    color: #fff;
    padding: 20px 30px;
}

.review-modal .modal-title {
    font-weight: 700;
}

.review-modal .btn-close {
    filter: brightness(0) invert(1);
}

.review-modal .modal-body {
    padding: 30px;
}

.review-modal .form-control {
    border: 2px solid var(--pd-border);
    border-radius: 12px;
    padding: 14px 18px;
    transition: var(--pd-transition);
}

.review-modal .form-control:focus {
    border-color: var(--pd-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.review-modal .modal-footer .btn {
    background: var(--pd-gradient);
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991px) {
    .product-gallery {
        padding: 20px;
    }

    .product-info-section {
        padding: 30px 20px;
    }

    .product-gallery .main-image {
        height: 350px;
    }

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

    .product-current-price {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .product-details-modern {
        padding: 20px 0 40px;
    }

    .product-main-card {
        border-radius: 16px;
        margin-bottom: 30px;
    }

    .product-gallery .main-image {
        height: 280px;
    }

    .product-gallery .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .product-title-modern {
        font-size: 20px;
    }

    .product-current-price {
        font-size: 24px;
    }

    .product-old-price {
        font-size: 16px;
    }

    .btn-add-cart {
        width: 100%;
        padding: 14px 24px;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }

    .add-to-cart-section {
        flex-direction: column;
    }

    .btn-wishlist {
        width: 100%;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        padding: 15px 20px;
    }

    .tab-content {
        padding: 20px;
    }

    .related-products-section {
        padding: 40px 0 50px;
        background: linear-gradient(135deg, #f8fafc 0%, #e8f4f0 50%, #f0f8ff 100%);
    }

    .section-title-modern {
        margin-bottom: 25px;
    }

    .section-title-modern h2 {
        font-size: 22px;
    }

    /* Hide carousel controls on mobile */
    .related-products-section .tns-controls {
        display: none !important;
    }
}

/* Mobile Grid for Related Products */
.related-products-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 5px;
}

.related-products-mobile-grid .related-product-card {
    margin: 0;
    min-height: 240px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 188, 156, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.35s ease;
    text-decoration: none;
}

.related-products-mobile-grid .related-product-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.related-products-mobile-grid .product-image {
    height: 130px;
    min-height: 130px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: relative;
}

.related-products-mobile-grid .product-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
    pointer-events: none;
}

.related-products-mobile-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}

.related-products-mobile-grid .product-details {
    padding: 14px 12px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.related-products-mobile-grid .product-name {
    font-size: 13px;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.related-products-mobile-grid .product-price {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    padding: 8px 14px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(26, 188, 156, 0.3);
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {

    .product-details-modern,
    .product-details-modern * {
        scroll-behavior: smooth;
    }
}

/* Image Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--pd-transition);
}

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

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: var(--pd-transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}