/* ============================================
   DMoon Product Detail Page - Modern UI Styles
   ============================================ */

/* Base Styles */
.product-detail-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 3rem;
}

/* Breadcrumb */
.product-breadcrumb .breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.product-breadcrumb .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb .breadcrumb-item a:hover {
    color: #0071e3;
}

.product-breadcrumb .breadcrumb-item.active {
    color: #1d1d1f;
}

/* ====================
   Product Gallery
   ==================== */
.product-gallery-wrapper {
    position: sticky;
    top: 100px;
}

.product-main-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-image-zoom {
    cursor: zoom-in;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.btn-fullscreen {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-fullscreen:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.product-thumb-slider {
    margin-top: 15px;
}

.product-thumb-slider .swiper-slide {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
}

.product-thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #0071e3;
}

.thumb-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/* ====================
   Product Info Section
   ==================== */
.product-info-wrapper {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.product-badges .badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge-category {
    background: #e3f2fd;
    color: #0071e3;
}

.badge-featured {
    background: #fff3cd;
    color: #856404;
}

.badge-stock {
    background: #d4edda;
    color: #155724;
}

.badge-out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.product-meta {
    font-size: 0.8125rem;
    color: #6c757d;
}

.product-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.product-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.star-rating i {
    color: #ffc107;
    font-size: 1rem;
}

.rating-text {
    font-size: 0.875rem;
    color: #6c757d;
}

.write-review-link {
    color: #0071e3;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.write-review-link:hover {
    color: #005bb5;
    text-decoration: underline;
}

.product-short-desc {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* ====================
   Product Variations
   ==================== */
.product-variations {}

.variation-group {
    margin-bottom: 1.25rem;
}

.variation-label {
    display: block;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-variation {
    padding: 0.4rem 1rem;
    border: 1.5px solid #dee2e6;
    background: #fff;
    color: #1d1d1f;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-variation:hover {
    border-color: #0071e3;
    color: #0071e3;
}

.btn-variation.active {
    border-color: #0071e3;
    background: #0071e3;
    color: #fff;
}

/* ====================
   Quantity Selector
   ==================== */
.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-label {
    font-weight: 600;
    color: #1d1d1f;
    font-size: 0.875rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1.5px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.btn-qty {
    width: 38px;
    height: 38px;
    border: none;
    background: #f8f9fa;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qty:hover {
    background: #e9ecef;
}

.input-qty {
    width: 55px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1d1d1f;
}

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

/* ====================
   Action Buttons Row
   ==================== */
.product-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-actions-row .btn {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Buy Now Button */
.btn-buy-now {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-buy-now:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Personalize Button - Custom image icon with light background */
.btn-customize {
    flex: 1;
    background: #f8f9fa;
    color: #1d1d1f;
    border: 2px solid #e9ecef;
}

.btn-customize .btn-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
}

.btn-customize:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Wishlist Button - Icon only with thin yellow border */
.btn-wishlist {
    width: 56px;
    height: 56px;
    padding: 0;
    background: #fff;
    border: 1px solid #ffc107;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-wishlist i {
    font-size: 20px;
    color: #ffc107;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    background: #fff8e1;
    border-color: #ffb300;
    border-width: 1px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-wishlist:hover i {
    color: #ffb300;
}

.btn-wishlist i.fas {
    color: #ffc107;
}

.btn-wishlist.active i {
    color: #ffc107;
}

/* ====================
   Social Share
   ==================== */
.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.share-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9375rem;
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-share:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.btn-whatsapp { background: #25D366; }
.btn-facebook { background: #1877F2; }
.btn-twitter { background: #1DA1F2; }
.btn-linkedin { background: #0A66C2; }
.btn-copy { background: #6c757d; }

/* ====================
   Product Tags
   ==================== */
.product-tags {
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.tag-link {
    display: inline-block;
    color: #0071e3;
    text-decoration: none;
    font-size: 0.875rem;
    margin-right: 0.75rem;
    transition: color 0.3s ease;
}

.tag-link:hover {
    color: #005bb5;
    text-decoration: underline;
}

/* ====================
   Tabbed Content Section
   ==================== */
.product-tabs-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.product-tabs {
    border-bottom: 2px solid #f8f9fa;
    padding: 0 2rem;
}

.product-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.product-tabs .nav-link:hover {
    color: #0071e3;
}

.product-tabs .nav-link.active {
    color: #0071e3;
    background: transparent;
}

.product-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #0071e3;
}

.product-tab-content {
    padding: 0;
}

.tab-content-wrapper {
    padding: 2rem;
}

/* Description Tab */
.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #1d1d1f;
}

.btn-read-more {
    color: #0071e3;
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
}

.btn-read-more:hover {
    color: #005bb5;
    text-decoration: underline;
}

/* Specifications Tab */
.spec-group-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.table-specifications {
    margin-bottom: 0;
}

.table-specifications tbody tr {
    border-bottom: 1px solid #f8f9fa;
}

.table-specifications tbody tr:last-child {
    border-bottom: none;
}

.spec-key {
    font-weight: 600;
    color: #6c757d;
    width: 40%;
    padding: 1rem 0.5rem;
}

.spec-value {
    color: #1d1d1f;
    padding: 1rem 0.5rem;
}

/* Reviews Tab */
.reviews-list {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
}

.review-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-stars i {
    color: #ffc107;
    font-size: 0.875rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.875rem;
}

.review-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.review-text {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.no-reviews {
    text-align: center;
    padding: 3rem 0;
}

/* Review Form */
.review-form-wrapper {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    cursor: pointer;
    color: #dee2e6;
    font-size: 2rem;
    transition: color 0.2s ease;
}

.rating-input input[type="radio"]:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
}

/* Shipping Accordion */
.shipping-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.shipping-accordion .accordion-button {
    background: #f8f9fa;
    color: #1d1d1f;
    font-weight: 600;
    padding: 1.25rem;
}

.shipping-accordion .accordion-button:not(.collapsed) {
    background: #0071e3;
    color: #fff;
}

.shipping-accordion .accordion-button:focus {
    box-shadow: none;
}

.shipping-accordion .accordion-body {
    padding: 1.25rem;
    color: #6c757d;
    line-height: 1.7;
}

/* ====================
   Related Products Section
   ==================== */
.related-products-section {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.125rem;
}

.related-product-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f8f9fa;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.related-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fa;
    max-height: 200px;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ffc107;
    color: #1d1d1f;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.related-product-info {
    padding: 0.75rem 0.5rem;
}

.related-product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.related-product-rating {
    color: #ffc107;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Related products pagination */
.related-products-slider .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.related-products-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
}

.related-products-slider .swiper-pagination-bullet-active {
    background: #6366f1;
}

/* ====================
   Floating Elements
   ==================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* Sticky Mobile Cart */
.sticky-mobile-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-mobile-cart.visible {
    transform: translateY(0);
}

.sticky-product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.btn-sticky-cart {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
}

/* ====================
   Toast Notifications
   ==================== */
.toast {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ====================
   Fullscreen Modal
   ==================== */
#fullscreenModal .modal-content {
    background: rgba(0, 0, 0, 0.95);
}

#fullscreenImage {
    max-width: 90%;
    max-height: 90vh;
}

/* ====================
   Responsive Design
   ==================== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .product-title {
        font-size: 2.75rem;
    }
    
    .product-info-wrapper {
        padding: 2.5rem;
    }
}

/* Tablet & Small Desktop (768px - 991px) */
@media (max-width: 991px) {
    .product-gallery-wrapper {
        position: static;
    }
    
    .product-info-wrapper {
        margin-top: 2rem;
        padding: 1.75rem;
    }
    
    .product-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .product-actions-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .product-actions-row .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-wishlist {
        width: 52px;
        height: 52px;
    }
    
    .review-form-wrapper {
        margin-top: 2rem;
        position: static;
    }
    
    .floating-whatsapp {
        bottom: 80px;
    }
    
    /* Improve variation layout on tablet */
    .variation-options {
        gap: 0.5rem;
    }
    
    .btn-variation {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Social share buttons */
    .share-buttons {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .btn-share {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    /* Container & Spacing */
    .product-detail-page {
        padding-bottom: 6rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Breadcrumb */
    .product-breadcrumb .breadcrumb {
        font-size: 0.8125rem;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }
    
    /* Product Info */
    .product-info-wrapper {
        padding: 1.25rem;
        margin-top: 1.5rem;
        border-radius: 12px;
    }
    
    /* Title */
    .product-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    /* Badges */
    .product-badges .badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
        margin-right: 0.375rem;
        margin-bottom: 0.375rem;
    }
    
    /* Meta info */
    .product-meta {
        font-size: 0.8125rem;
        display: block;
    }
    
    .product-meta .product-sku {
        display: block;
        margin-top: 0.25rem;
        margin-left: 0 !important;
    }
    
    /* Rating */
    .product-rating-wrapper {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .star-rating i {
        font-size: 1rem;
    }
    
    .rating-text {
        font-size: 0.875rem;
    }
    
    .write-review-link {
        width: 100%;
        margin-top: 0.25rem;
        margin-left: 0 !important;
    }
    
    /* Short description */
    .product-short-desc {
        font-size: 1rem;
    }
    
    /* Variations */
    .variation-group {
        margin-bottom: 1.25rem;
    }
    
    .variation-label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .variation-options {
        gap: 0.5rem;
    }
    
    .btn-variation {
        padding: 0.4rem 0.875rem;
        font-size: 0.8125rem;
        flex: 1 0 auto;
        min-width: fit-content;
    }
    
    /* Quantity */
    .quantity-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .quantity-label {
        font-size: 0.875rem;
    }
    
    .quantity-selector {
        width: 140px;
    }
    
    .btn-qty {
        width: 40px;
        height: 40px;
    }
    
    .input-qty {
        width: 60px;
        height: 40px;
        font-size: 0.9375rem;
    }
    
    /* Action Buttons */
    .product-actions-row {
        flex-direction: column;
        gap: 10px;
        margin-top: 1.5rem;
    }
    
    .btn-buy-now,
    .btn-customize {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .btn-wishlist {
        width: 100%;
        height: auto;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .btn-wishlist::after {
        content: 'Add to Wishlist';
        margin-left: 8px;
        color: #1d1d1f;
        font-weight: 600;
    }
    
    .btn-customize .btn-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Social Share */
    .social-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-top: 1rem;
    }
    
    .share-label {
        font-size: 0.875rem;
        width: 100%;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-share {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    /* Product Tags */
    .product-tags {
        padding-top: 1rem;
        font-size: 0.8125rem;
    }
    
    .tag-link {
        font-size: 0.8125rem;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        display: inline-block;
    }
    
    /* Tabs */
    .product-tabs {
        padding: 0 0.5rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .product-tabs .nav-link {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
    
    /* Tab content */
    .tab-content-wrapper {
        padding: 1.25rem;
    }
    
    .product-description {
        font-size: 0.9375rem;
    }
    
    /* Specifications */
    .spec-group-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .table-specifications {
        font-size: 0.875rem;
    }
    
    .spec-key,
    .spec-value {
        padding: 0.75rem 0.5rem;
        display: block;
        width: 100%;
    }
    
    .spec-key {
        font-weight: 700;
        border-bottom: none;
        padding-bottom: 0.25rem;
    }
    
    .spec-value {
        padding-top: 0.25rem;
    }
    
    /* Reviews */
    .review-item {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .reviewer-name {
        font-size: 0.9375rem;
    }
    
    .review-stars i {
        font-size: 0.8125rem;
    }
    
    .review-date {
        font-size: 0.8125rem;
    }
    
    .review-title {
        font-size: 1rem;
    }
    
    .review-text {
        font-size: 0.875rem;
    }
    
    /* Review form */
    .review-form-wrapper {
        padding: 1.25rem;
    }
    
    .form-title {
        font-size: 1.125rem;
    }
    
    /* Related products */
    .related-products-section {
        padding: 1.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .related-product-image {
        max-height: 150px;
    }
    
    .related-product-name {
        font-size: 0.8125rem;
    }
    
    .related-product-info {
        padding: 0.5rem 0.25rem;
    }
    
    /* Sticky cart - visible on mobile */
    .sticky-mobile-cart {
        display: block;
    }
    
    /* Floating WhatsApp */
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 90px;
        right: 15px;
    }
    
    /* Image gallery adjustments */
    .product-main-slider {
        border-radius: 12px;
    }
    
    .btn-fullscreen {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
        top: 10px;
        right: 10px;
    }
    
    .product-thumb-slider {
        margin-top: 10px;
    }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-badges .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .product-actions-row .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-variation {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .variation-options {
        gap: 0.4rem;
    }
    
    .btn-share {
        width: 40px;
        height: 40px;
        font-size: 0.9375rem;
    }
}

/* Hide sticky cart on desktop */
@media (min-width: 768px) {
    .sticky-mobile-cart {
        display: none;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .product-gallery-wrapper {
        max-height: 400px;
    }
    
    .product-main-slider {
        height: 350px;
    }
    
    .product-main-image {
        object-fit: contain;
        max-height: 350px;
    }
}

/* ====================
   Loading States
   ==================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ====================
   Animations
   ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

