

.product-detail-section {
    margin-top: 40px;
    padding: 40px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}


.product-images {
    position: sticky;
    top: 120px;
    align-self: start;
}

.main-image {
    position: relative;
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    padding: 40px;
}

.main-product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
}

.wishlist-btn-float {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #e74c3c;
}

.wishlist-btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.wishlist-btn-float.active i {
    font-weight: 900;
}


.product-info-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-badges-detail {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-badges-detail .badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badges-detail .badge.new {
    background: #3498db;
    color: white;
}

.product-badges-detail .badge.trending {
    background: #e67e22;
    color: white;
}

.product-badges-detail .badge.bestseller {
    background: #2ecc71;
    color: white;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.product-brand {
    font-size: 18px;
    margin: -10px 0;
}

.product-brand a {
    color: #7f8c8d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.product-brand a:hover {
    color: #e67e22;
}

.product-rating-detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-rating-detail .stars {
    display: flex;
    gap: 3px;
    font-size: 18px;
    color: #f39c12;
}

.rating-text {
    color: #7f8c8d;
    font-size: 14px;
}

.product-price-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-top: 2px solid #ecf0f1;
    border-bottom: 2px solid #ecf0f1;
}

.product-price-detail .old-price {
    font-size: 24px;
    color: #95a5a6;
    text-decoration: line-through;
}

.product-price-detail .current-price {
    font-size: 40px;
    font-weight: 700;
    color: #e67e22;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stock-status i {
    font-size: 20px;
}

.stock-status .in-stock {
    color: #27ae60;
    font-weight: 600;
}

.stock-status .out-of-stock {
    color: #e74c3c;
    font-weight: 600;
}

.product-description-short {
    color: #7f8c8d;
    line-height: 1.8;
    font-size: 15px;
}


.product-actions-detail {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    width: 45px;
    height: 55px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    color: #2c3e50;
}

.qty-btn:hover {
    background: #e67e22;
    color: white;
}

.quantity-selector input {
    width: 70px;
    height: 55px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    background: white;
}

.btn-add-to-cart-detail {
    flex: 1;
    padding: 18px 40px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-to-cart-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-add-to-cart-detail.disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}


.product-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.meta-item {
    display: flex;
    gap: 10px;
}

.meta-item strong {
    min-width: 100px;
    color: #2c3e50;
}

.meta-item a {
    color: #e67e22;
    text-decoration: none;
}

.meta-item a:hover {
    text-decoration: underline;
}


.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.product-share strong {
    color: #2c3e50;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}


.product-tabs {
    margin: 60px 0;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #ecf0f1;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
    bottom: -2px;
}

.tab-btn.active {
    color: #e67e22;
    border-bottom-color: #e67e22;
}

.tab-btn:hover {
    color: #e67e22;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.product-description-full {
    line-height: 1.8;
    color: #2c3e50;
    font-size: 15px;
}

.product-features-table {
    width: 100%;
    border-collapse: collapse;
}

.product-features-table tr {
    border-bottom: 1px solid #ecf0f1;
}

.product-features-table th,
.product-features-table td {
    padding: 15px;
    text-align: left;
}

.product-features-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    width: 200px;
}


.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: #2c3e50;
}

.review-rating {
    color: #f39c12;
}

.review-date {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.review-text {
    color: #2c3e50;
    line-height: 1.6;
}

.no-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.no-reviews i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}


.similar-products-section {
    margin: 80px 0;
}

.similar-products-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #2c3e50;
}


@media (max-width: 1024px) {
    .product-detail-container {
        gap: 40px;
    }
    
    .product-title {
        font-size: 30px;
    }
    
    .product-price-detail .current-price {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        margin-top: 160px;
        padding: 30px 0;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-images {
        position: relative;
        top: 0;
    }
    
    .main-image {
        padding: 20px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-price-detail .current-price {
        font-size: 28px;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
    
    .tab-buttons {
        overflow-x: auto;
        gap: 5px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .product-detail-section {
        margin-top: 140px;
        padding: 20px 0;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .discount-badge {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .wishlist-btn-float {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
