﻿/* Product Details Page Styles */

/* ====== 1. BREADCRUMB ====== */
.breadcrumb-section {
    padding: 20px 0;
    background: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

    .breadcrumb-item + .breadcrumb-item::before {
        content: "/";
        padding: 0 10px;
        color: #6c757d;
    }

    .breadcrumb-item a {
        color: #667eea;
        text-decoration: none;
        transition: color 0.3s;
    }

        .breadcrumb-item a:hover {
            color: #5a67d8;
            text-decoration: underline;
        }

    .breadcrumb-item.active {
        color: #6c757d;
    }

/* ====== 2. PRODUCT DETAILS WRAPPER ====== */
.product-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    align-items: start;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .product-details-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ====== 3. PRODUCT GALLERY ====== */
.product-gallery {
    align-self: start !important;
    top: 20px;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.main-image {
    aspect-ratio: 1/1;
    background: #f8f9fa;
    padding: 20px;
}

    .main-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Discount Badge */
.discount-badge-large {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
    z-index: 2;
}

/* Featured Badge */
.featured-badge-large {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f7d25b 0%, #e3b341 100%);
    color: #4a3500;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.70rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 15;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.5);
    letter-spacing: 0.4px;
}

    .featured-badge-large i {
        font-size: 0.75rem;
        color: #ad7f00;
    }

/* ====== 4. SPECIFICATIONS SECTION ====== */
.specifications-section {
    margin-top: 50px !important;
    grid-column: 1 / 2 !important;
}

    .specifications-section .container {
        width: 100%;
        padding: 0 !important;
    }

.specifications-grid {
    background: #fff9e6;
    border-left: 5px solid #ffd700;
    padding: 22px 25px;
    border-radius: 10px;
    display: block;
}

.specifications-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px !important;
    padding-left: 5px;
}

    .specifications-section .section-title::before {
        content: "\f013";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: #ffd700;
        font-size: 1.5rem;
    }

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    background: none !important;
    border: none !important;
}

    .spec-item::before {
        content: "\f00c";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: #28a745;
        font-size: 1rem;
        margin-right: 5px;
    }

.spec-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 150px;
    font-size: 0.95rem;
}

.spec-value {
    color: #6c757d;
    font-size: 0.95rem;
}

/* ====== 5. PRODUCT INFO (RIGHT SIDE) ====== */
.product-info {
    margin-top: 0 !important;
    padding-top: 0 !important;
    align-self: start !important;
}

/* Product Header */
.product-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.product-category {
    display: inline-block;
    background: #f8f9fa;
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-subcategory {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 10px;
    margin-left: 5px;
}

.product-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 8px 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.3rem;
        margin: 6px 0 8px 0;
    }
}

/* Product Meta */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 12px;
    font-size: 0.8rem;
}

.product-sku, .product-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
}

    .product-sku strong, .product-brand strong {
        color: #495057;
        font-weight: 600;
        min-width: 40px;
    }

/* Ratings */
.product-ratings {
    margin-bottom: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

    .stars i {
        color: #ffc107;
        font-size: 0.9rem;
    }

.rating-value {
    font-weight: 700;
    margin-left: 8px;
    color: #2c3e50;
    font-size: 0.95rem;
}

.rating-count {
    color: #6c757d;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Price Section */
.product-price-section {
    margin-bottom: 18px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.discount-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.original-price {
    font-size: 1.1rem;
    color: #adb5bd;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-tag {
    background: #ff6b6b;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.final-price-large, .regular-price {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}

.final-price-large {
    color: #ff6b6b;
}

.regular-price {
    color: #2c3e50;
}

.savings {
    color: #28a745;
    font-weight: 600;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

    .savings i {
        font-size: 0.9rem;
    }

/* Stock Status */
.stock-status {
    margin-bottom: 18px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.in-stock, .out-of-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

    .in-stock i {
        color: #28a745;
        font-size: 1rem;
    }

    .out-of-stock i {
        color: #dc3545;
        font-size: 1rem;
    }

    .in-stock span, .out-of-stock span {
        font-size: 0.9rem;
        color: #495057;
    }

    .in-stock strong {
        color: #28a745;
        font-weight: 700;
    }

.delivery-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.85rem;
    padding-top: 8px;
    border-top: 1px dashed #dee2e6;
}

    .delivery-info i {
        color: #667eea;
        font-size: 0.9rem;
    }

.notify-me {
    margin-top: 10px;
}

.btn-notify {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

    .btn-notify:hover {
        background: #5a6268;
        transform: translateY(-1px);
    }

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

    .quantity-selector label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.9rem;
    }

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 150px;
}

.btn-quantity {
    width: 36px;
    height: 36px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .btn-quantity:hover {
        background: #667eea;
        color: white;
        transform: translateY(-1px);
    }

#quantity {
    width: 60px;
    height: 36px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    background: white;
    color: #2c3e50;
}

.max-quantity {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 6px;
    font-style: italic;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

    .action-buttons button {
        flex: 1;
        min-width: 140px;
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s;
    }

.btn-add-to-cart {
    background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

    .btn-add-to-cart:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    }

.btn-buy-now {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

    .btn-buy-now:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    }

.btn-wishlist {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

    .btn-wishlist:hover {
        background: #667eea;
        color: white;
        transform: translateY(-2px);
    }

.btn-out-of-stock {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    flex: 2 !important;
}

/* Share Product */
.share-product {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

    .share-product span {
        display: block;
        margin-bottom: 12px;
        font-weight: 600;
        color: #2c3e50;
        font-size: 0.9rem;
    }

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s;
}

    .share-btn:hover {
        transform: translateY(-2px);
    }

    .share-btn.facebook {
        background: #3b5998;
    }

    .share-btn.twitter {
        background: #1da1f2;
    }

    .share-btn.whatsapp {
        background: #25d366;
    }

    .share-btn.pinterest {
        background: #bd081c;
    }

/* Product Highlights */
.product-highlights {
    padding: 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    border-radius: 8px;
    border-left: 4px solid #ffd700;
    margin-bottom: 20px;
}

    .product-highlights h3 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 15px;
        color: #2c3e50;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .product-highlights i.fa-bolt {
        color: #ffc107;
    }

    .product-highlights ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .product-highlights li {
        margin-bottom: 10px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 0.85rem;
        line-height: 1.4;
    }

        .product-highlights li i.fa-check {
            color: #28a745;
            margin-top: 2px;
            flex-shrink: 0;
            font-size: 0.8rem;
        }

/* ====== 6. MOBILE ACTIONS ====== */
.product-actions-mobile {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-top: 20px;
}

@media (max-width: 992px) {
    .product-actions-mobile {
        display: block;
    }
}

.price-display-mobile {
    margin-bottom: 20px;
}

    .price-display-mobile .original-price {
        font-size: 1.2rem;
        color: #6c757d;
        text-decoration: line-through;
        margin-right: 10px;
    }

    .price-display-mobile .final-price {
        font-size: 1.8rem;
        font-weight: 700;
        color: #ff6b6b;
    }

    .price-display-mobile .discount-percentage {
        display: block;
        color: #28a745;
        font-size: 0.9rem;
        margin-top: 5px;
    }

.action-buttons-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

    .action-buttons-mobile button {
        padding: 15px;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s;
    }

.btn-add-to-cart-mobile {
    background: #667eea;
    color: white;
}

    .btn-add-to-cart-mobile:hover {
        background: #5a67d8;
    }

.btn-buy-now-mobile {
    background: #ff6b6b;
    color: white;
}

    .btn-buy-now-mobile:hover {
        background: #ff5252;
    }

.btn-out-of-stock-mobile {
    grid-column: 1 / -1;
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* ====== 7. ANIMATIONS ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-header,
.product-ratings,
.product-price-section,
.stock-status,
.quantity-selector,
.action-buttons {
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
}

.product-header {
    --item-index: 1;
}

.product-ratings {
    --item-index: 2;
}

.product-price-section {
    --item-index: 3;
}

.stock-status {
    --item-index: 4;
}

.quantity-selector {
    --item-index: 5;
}

.action-buttons {
    --item-index: 6;
}

/* ====== 8. PRODUCT TABS SECTION ====== */
.product-tabs-section {
    padding: 40px 0;
}

.tabs-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.tabs-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #e9ecef;
    background: #f8f9fa;
}

    .tabs-nav li {
        padding: 20px 30px;
        font-weight: 600;
        color: #6c757d;
        cursor: pointer;
        transition: all 0.3s;
        border-bottom: 3px solid transparent;
        position: relative;
    }

        .tabs-nav li:hover {
            color: #667eea;
            background: white;
        }

        .tabs-nav li.active {
            color: #667eea;
            background: white;
            border-bottom-color: #667eea;
        }

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

.tab-content h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.tab-content h4 {
    color: #2c3e50;
    margin: 25px 0 15px;
}

.tab-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Ingredients */
.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.ingredient-tag {
    background: #e9ecef;
    color: #2c3e50;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.ingredients-note {
    background: #e8f4fd;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
}

    .ingredients-note p {
        margin: 0;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .ingredients-note i {
        color: #2196f3;
        margin-top: 3px;
    }

/* Usage Steps */
.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.usage-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.usage-step p {
    margin: 0;
}

.usage-tips {
    background: #fff9e6;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

    .usage-tips h4 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
    }

    .usage-tips i.fa-lightbulb {
        color: #ffd700;
    }

    .usage-tips ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .usage-tips li {
        margin-bottom: 8px;
        padding-left: 20px;
        position: relative;
    }

        .usage-tips li:before {
            content: "•";
            color: #667eea;
            font-size: 1.5rem;
            position: absolute;
            left: 0;
            top: -3px;
        }

/* Reviews */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 30px;
}

.rating-overview {
    text-align: center;
}

.rating-score {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
}

.rating-stars {
    margin: 10px 0;
}

    .rating-stars i {
        color: #ffd700;
        font-size: 1.5rem;
    }

.rating-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.btn-write-review {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

    .btn-write-review:hover {
        background: #5a67d8;
        transform: translateY(-2px);
    }

.reviews-list {
    margin-bottom: 30px;
}

.review-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.review-rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-content h5 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.review-content p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

.btn-load-more-reviews {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    transition: all 0.3s;
}

    .btn-load-more-reviews:hover {
        background: #667eea;
        color: white;
    }

/* ====== 9. RELATED PRODUCTS ====== */
.related-products-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

    .section-title span {
        color: #667eea;
    }

.view-all {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

    .view-all:hover {
        background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
        text-decoration: none;
        color: #fff;
        gap: 12px;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }


.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.related-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

    .related-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

    .related-product-card .discount-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: #ff6b6b;
        color: white;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        z-index: 2;
    }

.related-product-image {
    height: 200px;
    overflow: hidden;
}

    .related-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.related-product-info {
    padding: 20px;
}

.related-product-category {
    display: block;
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.related-product-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

    .related-product-title a {
        color: #2c3e50;
        text-decoration: none;
    }

        .related-product-title a:hover {
            color: #667eea;
        }

.related-product-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .related-product-price .original-price {
        color: #6c757d;
        text-decoration: line-through;
        font-size: 0.9rem;
    }

    .related-product-price .discounted-price {
        color: #ff6b6b;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .related-product-price .current-price {
        color: #2c3e50;
        font-size: 1.2rem;
        font-weight: 700;
    }

.related-product-actions {
    display: flex;
    gap: 10px;
}

.btn-view-details {
    flex: 1;
    background: #6c757d;
    color: white;
    border: none;
    padding: 7px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

    .btn-view-details:hover {
        background: #5a6268;
        text-decoration: none;
        color: white;
    }

.btn-add-to-cart-sm {
    width: 45px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

    .btn-add-to-cart-sm:hover {
        background: #5a67d8;
    }

/* ====== 10. CTA SECTION ====== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .btn-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        text-decoration: none;
        color: white;
    }

    .btn-cta.phone {
        background: #28a745;
        color: white;
    }

    .btn-cta.whatsapp {
        background: #25d366;
        color: white;
    }

    .btn-cta.appointment {
        background: #ff6b6b;
        color: white;
    }

/* ====== 11. REVIEW MODAL ====== */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3 {
        margin: 0;
        color: #2c3e50;
    }

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s;
}

    .close-modal:hover {
        color: #ff6b6b;
    }

.modal-body {
    padding: 30px;
}

.review-form .form-group {
    margin-bottom: 25px;
}

.review-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.rating-input {
    display: flex;
    gap: 10px;
}

    .rating-input i {
        font-size: 2rem;
        color: #ffd700;
        cursor: pointer;
        transition: transform 0.3s;
    }

        .rating-input i:hover {
            transform: scale(1.2);
        }

.review-form textarea, .review-form input[type="text"], .review-form input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

    .review-form textarea:focus, .review-form input[type="text"]:focus, .review-form input[type="email"]:focus {
        outline: none;
        border-color: #667eea;
    }

.btn-submit-review {
    background: #667eea;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: background 0.3s;
}

    .btn-submit-review:hover {
        background: #5a67d8;
    }

/* ====== 12. NOTIFICATION ====== */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

    .notification.success {
        border-left: 4px solid #28a745;
    }

    .notification.error {
        border-left: 4px solid #dc3545;
    }

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification i {
    font-size: 1.2rem;
}

.notification.success i {
    color: #28a745;
}

.notification.error i {
    color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* ====== 13. FLOATING CART BUTTON ====== */
.floating-cart-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
}

.cart-float-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #d81b60;
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: 0.25s ease;
    position: relative;
}

    .cart-float-link:hover {
        transform: scale(1.08);
    }

.cart-float-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ff1744;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ====== 14. RESPONSIVE ADJUSTMENTS ====== */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.9rem;
    }

    .final-price-large, .regular-price {
        font-size: 2.4rem;
    }

    .main-image-container, .product-specifications-under-image {
        max-width: 100%;
    }

    .tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

        .tabs-nav li {
            padding: 15px 20px;
            white-space: nowrap;
        }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .product-header {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .product-meta {
        font-size: 0.75rem;
        gap: 12px;
    }

    .product-price-section,
    .stock-status,
    .quantity-selector,
    .share-product {
        padding: 12px;
    }

    .final-price-large, .regular-price {
        font-size: 1.6rem;
    }
}

/* Extra Compact for Mobile */
@media (max-width: 576px) {
    .product-header {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .product-meta {
        font-size: 0.75rem;
        gap: 12px;
    }

    .product-price-section,
    .stock-status,
    .quantity-selector,
    .share-product {
        padding: 12px;
    }

    .final-price-large, .regular-price {
        font-size: 1.6rem;
    }
}

.review-filters {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid #f1f1f1;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
}

    .filter-group label {
        font-size: 14px;
        font-weight: 600;
        color: #444;
        display: flex;
        align-items: center;
        gap: 6px;
    }

.filter-select {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d3d3d3;
    background: #fafafa;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: 0.25s ease;
}

    .filter-select:hover {
        border-color: #6366f1;
        background: #f0f0ff;
    }

    .filter-select:focus {
        outline: none;
        border-color: #4f46e5;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
    }

/* Responsive */
@media (max-width: 600px) {
    .review-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-group {
        width: 100%;
    }
}
.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dfe4ea, #ced6e0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

    .reviewer-avatar i {
        font-size: 18px;
        color: #555;
    }

/* Add to your ProductDetails.css */
.reviews-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

    .reviews-loading i {
        font-size: 24px;
        margin-bottom: 10px;
        color: var(--primary-color);
    }

    .reviews-loading p {
        margin-top: 10px;
        font-size: 14px;
    }

/* Mobile Styles for Product Details Page */
@media (max-width: 768px) {
    /* ====== 1. BREADCRUMB ====== */
    .breadcrumb-section {
        padding: 15px 0;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .breadcrumb {
        display: inline-flex;
        flex-wrap: nowrap;
        padding: 0 15px;
        min-width: min-content;
    }

    /* ====== 2. PRODUCT DETAILS WRAPPER ====== */
    .product-details-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
        margin-top: 0;
    }

    /* ====== 3. PRODUCT GALLERY ====== */
    .main-image-container {
        border-radius: 10px;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .main-image {
        aspect-ratio: 1/1;
        padding: 15px;
    }

    .discount-badge-large {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .featured-badge-large {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 0.65rem;
    }

    /* ====== 4. SPECIFICATIONS SECTION ====== */
    .specifications-section {
        margin-top: 20px !important;
        grid-column: 1 / -1 !important;
    }

    .specifications-grid {
        padding: 15px;
    }

    .specifications-section .section-title {
        font-size: 1.2rem;
    }

    .spec-item {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 5px;
        padding: 5px 0;
    }

    .spec-label {
        min-width: auto;
        font-size: 0.85rem;
    }

    .spec-value {
        font-size: 0.85rem;
    }

    /* ====== 5. PRODUCT INFO (RIGHT SIDE) ====== */
    .product-info {
        padding: 0 15px;
    }

    .product-header {
        padding-bottom: 10px;
    }

    .product-title {
        font-size: 1.4rem;
        margin: 6px 0 8px 0;
    }

    .product-meta {
        gap: 10px;
        font-size: 0.75rem;
    }

    .product-ratings {
        margin-bottom: 15px;
        padding: 10px 0;
    }

    .stars i {
        font-size: 0.8rem;
    }

    .rating-value {
        font-size: 0.9rem;
    }

    .rating-count {
        font-size: 0.75rem;
    }

    .product-price-section {
        margin-bottom: 15px;
        padding: 12px;
    }

    .discount-price {
        gap: 8px;
    }

    .original-price {
        font-size: 1rem;
    }

    .discount-tag {
        font-size: 0.75rem;
        padding: 2px 8px;
    }

    .final-price-large,
    .regular-price {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }

    .savings {
        font-size: 0.8rem;
    }

    .stock-status {
        margin-bottom: 15px;
        padding: 12px;
    }

    .in-stock span,
    .out-of-stock span {
        font-size: 0.85rem;
    }

    .delivery-info {
        font-size: 0.8rem;
    }

    .quantity-selector {
        margin-bottom: 15px;
        padding: 12px;
    }

    .quantity-controls {
        max-width: 140px;
    }

    .btn-quantity {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    #quantity {
        width: 50px;
        height: 32px;
    }

    .max-quantity {
        font-size: 0.75rem;
    }

    /* Action Buttons */
    .action-buttons {
        gap: 10px;
        margin-bottom: 15px;
    }

        .action-buttons button {
            min-width: calc(50% - 5px);
            padding: 12px 15px;
            font-size: 0.85rem;
        }

    .btn-add-to-cart,
    .btn-buy-now,
    .btn-wishlist {
        flex: 1 1 calc(50% - 5px);
    }

    .btn-out-of-stock {
        flex: 1 1 100% !important;
    }

    .share-product {
        padding: 12px;
        margin-bottom: 15px;
    }

    .share-buttons {
        gap: 6px;
    }

    .share-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .product-highlights {
        padding: 15px;
        margin-bottom: 15px;
    }

        .product-highlights h3 {
            font-size: 1rem;
        }

        .product-highlights li {
            font-size: 0.8rem;
            margin-bottom: 8px;
        }

    /* ====== 6. MOBILE ACTIONS - Always visible on mobile */
    .product-actions-mobile {
        display: block;
        margin: 20px 15px 0 15px;
        padding: 15px;
        border-radius: 12px;
    }

    .price-display-mobile .original-price {
        font-size: 1rem;
    }

    .price-display-mobile .final-price {
        font-size: 1.5rem;
    }

    .action-buttons-mobile {
        gap: 12px;
    }

        .action-buttons-mobile button {
            padding: 12px;
            font-size: 0.9rem;
        }

    /* ====== 8. PRODUCT TABS SECTION ====== */
    .product-tabs-section {
        padding: 30px 0;
    }

    .tabs-container {
        border-radius: 12px;
    }

    .tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid #e9ecef;
    }

        .tabs-nav li {
            padding: 15px 20px;
            font-size: 0.85rem;
            white-space: nowrap;
        }

    .tabs-content {
        padding: 20px;
    }

    .tab-content h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .tab-content h4 {
        font-size: 1.2rem;
        margin: 20px 0 12px;
    }

    .ingredients-list {
        gap: 8px;
    }

    .ingredient-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .usage-steps {
        gap: 20px;
    }

    .usage-step {
        gap: 15px;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }

    .usage-tips {
        padding: 15px;
    }

    /* Reviews Section Mobile */
    .reviews-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .average-rating {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }

    .rating-overview {
        text-align: left;
    }

    .rating-score {
        font-size: 2.5rem;
    }

    .rating-stars i {
        font-size: 1.2rem;
    }

    .btn-write-review {
        width: 100%;
        padding: 12px 20px;
        justify-content: center;
    }

    .review-filters {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .filter-group {
        width: 100%;
        min-width: auto;
    }

    .review-item {
        padding: 20px;
        margin-bottom: 15px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .reviewer {
        width: 100%;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
    }

    .review-rating i {
        font-size: 0.8rem;
    }

    .btn-load-more-reviews {
        width: 100%;
        padding: 12px 20px;
    }

    /* ====== 9. RELATED PRODUCTS ====== */
    .related-products-section {
        padding: 40px 0;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 1.8rem;
        width: 100%;
    }

    .view-all {
        align-self: flex-start;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }

    .related-product-image {
        height: 160px;
    }

    .related-product-info {
        padding: 15px;
    }

    .related-product-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .related-product-price .discounted-price,
    .related-product-price .current-price {
        font-size: 1rem;
    }

    .related-product-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-view-details {
        width: 100%;
        padding: 10px;
        font-size: 0.85rem;
    }

    .btn-add-to-cart-sm {
        width: 100%;
        height: 40px;
    }

    /* ====== 10. CTA SECTION ====== */
    .cta-section {
        padding: 40px 15px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-cta {
        width: 100%;
        max-width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        justify-content: center;
    }

    /* ====== 11. REVIEW MODAL ====== */
    .review-modal {
        padding: 10px;
    }

    .review-modal-content {
        max-height: 85vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .rating-input i {
        font-size: 1.8rem;
    }

    .btn-submit-review {
        padding: 16px 20px;
        font-size: 1rem;
    }

    /* ====== 12. NOTIFICATION ====== */
    .notification {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        padding: 12px 15px;
    }

    /* ====== 13. FLOATING CART BUTTON ====== */
    .floating-cart-btn {
        bottom: 15px;
        left: 15px;
    }

    .cart-float-link {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    /* ====== 14. LOADING SPINNER ====== */
    .reviews-loading {
        padding: 30px 15px;
    }

        .reviews-loading i {
            font-size: 20px;
        }

        .reviews-loading p {
            font-size: 13px;
        }
}

/* Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .product-title {
        font-size: 1.3rem;
    }

    .final-price-large,
    .regular-price {
        font-size: 1.2rem;
    }

    .action-buttons button {
        min-width: 100%;
        margin-bottom: 5px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .spec-label,
    .spec-value {
        font-size: 0.8rem;
    }

    .tabs-nav li {
        padding: 12px 16px;
        font-size: 0.8rem;
    }

    .product-highlights li {
        font-size: 0.75rem;
    }

    .reviewer-avatar {
        width: 36px;
        height: 36px;
    }

        .reviewer-avatar i {
            font-size: 16px;
        }
}

/* Mobile Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .product-details-wrapper {
        display: flex;
        flex-direction: column;
    }

    .main-image-container {
        max-height: 50vh;
    }

    .product-info {
        max-height: 50vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Fix for mobile hover states */
@media (hover: none) and (pointer: coarse) {
    .action-buttons button:hover,
    .btn-cta:hover,
    .btn-load-more-reviews:hover,
    .btn-submit-review:hover {
        transform: none;
    }

    .share-btn:hover {
        transform: none;
    }

    .btn-write-review:active,
    .btn-load-more-reviews:active,
    .btn-submit-review:active {
        transform: scale(0.98);
    }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .product-info,
        .related-products-grid,
        .tabs-content {
            padding-left: max(15px, env(safe-area-inset-left));
            padding-right: max(15px, env(safe-area-inset-right));
        }

        .breadcrumb {
            padding-left: max(15px, env(safe-area-inset-left));
            padding-right: max(15px, env(safe-area-inset-right));
        }
    }
}

/* Mobile Styles for Product Details Page */
@media (max-width: 768px) {
    /* TABS - Show full tabs (wrap to next line) */
    .tabs-nav {
        flex-wrap: wrap !important; /* Allow wrapping */
        overflow-x: visible !important; /* Remove horizontal scroll */
        white-space: normal !important; /* Allow text to wrap */
        justify-content: center !important; /* Center tabs */
        gap: 10px !important; /* Space between tabs */
    }
    
    .tabs-nav li {
        white-space: normal !important; /* Allow tab text to wrap */
        text-align: center !important;
        padding: 12px 20px !important;
        flex: 1 !important; /* Make tabs flexible */
        min-width: 120px !important; /* Minimum width for tabs */
        max-width: calc(50% - 10px) !important; /* 2 tabs per row */
        border-radius: 8px !important;
        margin-bottom: 5px !important;
    }
    
    /* First two tabs */
    .tabs-nav li:nth-child(1),
    .tabs-nav li:nth-child(2) {
        flex: 1 !important;
    }
    
    /* Next two tabs */
    .tabs-nav li:nth-child(3),
    .tabs-nav li:nth-child(4) {
        flex: 1 !important;
    }
    
    /* Active tab styling */
    .tabs-nav li.active {
        background: #667eea !important;
        color: white !important;
        border-bottom-color: transparent !important;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    }
    
    /* Remove the bottom border on mobile */
    .tabs-nav {
        border-bottom: none !important;
        background: transparent !important;
    }
}

/* For very small screens (max-width: 480px) */
@media (max-width: 480px) {
    .tabs-nav li {
        min-width: calc(50% - 10px) !important; /* Exactly 2 per row */
        max-width: calc(50% - 10px) !important;
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
    }
}

/* For medium tablets */
@media (min-width: 481px) and (max-width: 768px) {
    .tabs-nav li {
        min-width: calc(33.33% - 10px) !important; /* 3 per row */
        max-width: calc(33.33% - 10px) !important;
    }
    
    /* If you have exactly 4 tabs, this makes a nice 2x2 grid */
    .tabs-nav li:nth-child(3),
    .tabs-nav li:nth-child(4) {
        min-width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }
}

/* Mobile Styles for Tab Contents - Make content compact */
@media (max-width: 768px) {
    /* Tab Content Container */
    .tabs-content {
        padding: 15px !important;
    }

    /* Tab Pane Titles */
    .tab-content h3 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #e9ecef !important;
    }

    .tab-content h4 {
        font-size: 1.1rem !important;
        margin: 15px 0 10px 0 !important;
    }

    /* Description Text */
    .tab-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
        color: #495057 !important;
    }

    /* Ingredients Section - Make compact */
    .ingredients-list {
        gap: 6px !important;
        margin-bottom: 15px !important;
    }

    .ingredient-tag {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
        border-radius: 12px !important;
    }

    .ingredients-note {
        padding: 12px !important;
        font-size: 0.85rem !important;
    }

    /* Usage Steps - Make compact */
    .usage-steps {
        gap: 15px !important;
        margin-bottom: 20px !important;
    }

    .usage-step {
        gap: 12px !important;
    }

    .step-number {
        width: 25px !important;
        height: 25px !important;
        font-size: 0.9rem !important;
        flex-shrink: 0 !important;
    }

    .usage-step p {
        font-size: 0.9rem !important;
        margin: 0 !important;
    }

    .usage-tips {
        padding: 15px !important;
    }

        .usage-tips h4 {
            font-size: 1rem !important;
            margin-bottom: 10px !important;
        }

        .usage-tips li {
            font-size: 0.85rem !important;
            margin-bottom: 6px !important;
            line-height: 1.4 !important;
        }

    /* Reviews Section - Make compact */
    .reviews-header {
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
    }

    .average-rating {
        width: 100% !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }

    .rating-overview {
        text-align: left !important;
    }

    .rating-score {
        font-size: 2rem !important;
    }

    .rating-stars i {
        font-size: 1rem !important;
    }

    .btn-write-review {
        width: 100% !important;
        padding: 12px !important;
        font-size: 0.9rem !important;
    }

    /* Review Filters - Stack vertically */
    .review-filters {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 15px !important;
        margin-bottom: 20px !important;
    }

    .filter-group {
        width: 100% !important;
    }

    /* Individual Reviews - Make compact */
    .review-item {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }

    .review-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .reviewer {
        width: 100% !important;
    }

    .reviewer-avatar {
        width: 35px !important;
        height: 35px !important;
    }

        .reviewer-avatar i {
            font-size: 16px !important;
        }

    .review-content h5 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }

    .review-content p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .admin-reply {
        padding: 10px !important;
        margin-top: 10px !important;
        font-size: 0.85rem !important;
    }

    /* Load More Button */
    .btn-load-more-reviews {
        width: 100% !important;
        padding: 12px !important;
        font-size: 0.9rem !important;
    }
}

/* For very small screens - Even more compact */
@media (max-width: 480px) {
    .tabs-content {
        padding: 12px !important;
    }

    .tab-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
    }

    .tab-content p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .ingredient-tag {
        padding: 5px 8px !important;
        font-size: 0.75rem !important;
    }

    .step-number {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.8rem !important;
    }

    .review-item {
        padding: 12px !important;
    }

    .reviewer-avatar {
        width: 30px !important;
        height: 30px !important;
    }

    .rating-score {
        font-size: 1.8rem !important;
    }
}

/* Registered Users Specific Styles */

/* Member Exclusive Banner */
.member-exclusive-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}

    .member-exclusive-banner i {
        margin-right: 10px;
    }

/* Premium Hero */
.premium-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Member Price Styling */
.member-price {
    color: #d81b60;
    font-size: 1.4rem;
    font-weight: bold;
}

.member-price-label {
    font-size: 0.9rem;
    color: #666;
    display: block;
}

.member-savings {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Member Badge */
.member-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 2;
}

    .member-badge i {
        margin-right: 5px;
    }

/* Premium Card */
.premium-card {
    border: 2px solid #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

/* Member Quick Links */
.member-quick-links {
    background: #f8f9fa;
    padding: 20px 0;
    margin-top: 40px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

    .quick-link:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .quick-link i {
        font-size: 24px;
        color: #667eea;
        margin-bottom: 10px;
    }

    .quick-link small {
        color: #666;
        font-size: 12px;
    }

/* Premium Product Details */
.premium-product-details .member-price-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 14px;
}

.price-comparison-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.member-price-large {
    font-size: 2.5rem;
    color: #d81b60;
    font-weight: bold;
}

.btn-add-to-cart-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-buy-now-premium {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.member-benefits {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

    .member-benefits li {
        margin-bottom: 10px;
    }

    .member-benefits i.fa-check-circle {
        color: #28a745;
    }

/* Verified Reviews */
.verified-review {
    border-left: 4px solid #28a745;
}

.verified-badge {
    background: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    display: inline-block;
    margin-left: 10px;
}

.btn-write-review-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
}

.premium-review-modal {
    background: white;
    border-radius: 15px;
    max-width: 500px;
}

.btn-submit-review-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    width: 100%;
    font-size: 1.1rem;
    border-radius: 10px;
}

/* Premium Related Products */
.premium-related {
    position: relative;
}

.member-badge-small {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}