/* Product Page Styles */

/* Breadcrumb */
.breadcrumb {
    background: #F8F9FA;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb nav a {
    color: #6C757D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb nav a:hover {
    color: #96722E;
}

.breadcrumb nav span {
    color: #bbb;
}

.breadcrumb nav span:last-child {
    color: #2c2c2c;
    font-weight: 500;
}

/* Product Main Layout */
.product-main {
    padding: 60px 0;
    background: #F8F9FA;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 120px;
}

.main-image {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.main-image:hover .image-zoom {
    opacity: 1;
}

.image-zoom i {
    color: #8b7355;
    font-size: 18px;
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: #c9a96e;
}

.thumbnail:hover {
    border-color: #c9a96e;
    transform: scale(1.05);
}

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

/* Product Info */
.product-info {
    padding: 20px 0;
}

.product-header {
    margin-bottom: 30px;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffd700;
    font-size: 16px;
}

.rating-text {
    color: #8b7355;
    font-size: 14px;
}

/* Product Pricing */
.product-pricing {
    margin-bottom: 30px;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.current-price,
.sale-price {
    font-size: 32px;
    font-weight: 700;
    color: #c9a96e;
    font-family: 'Playfair Display', serif;
}

.regular-price {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #ff4757;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Product Description */
.product-description {
    margin-bottom: 40px;
    line-height: 1.7;
    color: #666;
    font-size: 16px;
}

/* Product Options */
.product-options {
    margin-bottom: 40px;
}

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

.option-group label {
    display: block;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 12px;
    font-size: 16px;
}

.color-options {
    display: flex;
    gap: 12px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover,
.color-option.active {
    border-color: #2c2c2c;
    transform: scale(1.1);
}

.color-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: inherit;
}

.quantity-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: #f8f6f3;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #8b7355;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #c9a96e;
    color: white;
}

.qty-input {
    width: 80px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    background: white;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-add-to-cart {
    flex: 1;
    background: #c9a96e;
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-to-cart:hover {
    background: #a67d5b;
    transform: translateY(-2px);
}

.btn-wishlist {
    width: 55px;
    height: 55px;
    border: 2px solid #e8ddd2;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist:hover {
    border-color: #c9a96e;
    background: #c9a96e;
    color: white;
}

.btn-wishlist i {
    font-size: 18px;
    color: #8b7355;
    transition: color 0.3s ease;
}

.btn-wishlist:hover i {
    color: white;
}

/* Product Meta */
.product-meta {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    border: 1px solid #e8ddd2;
}

.meta-item {
    display: flex;
    margin-bottom: 12px;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-weight: 600;
    color: #2c2c2c;
    min-width: 100px;
}

.meta-value {
    color: #666;
}

.meta-value a {
    color: #c9a96e;
    text-decoration: none;
}

.meta-value a:hover {
    text-decoration: underline;
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #e8ddd2;
}

.social-share span {
    font-weight: 600;
    color: #2c2c2c;
}

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

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.pinterest {
    background: #bd081c;
}

.social-btn.whatsapp {
    background: #25d366;
}

/* Product Tabs */
.product-tabs {
    padding: 80px 0;
    background: white;
}

.tab-navigation {
    display: flex;
    border-bottom: 2px solid #e8ddd2;
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 20px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #8b7355;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover,
.tab-btn.active {
    color: #c9a96e;
    border-bottom-color: #c9a96e;
}

.tab-content {
    min-height: 300px;
}

.tab-pane {
    display: none;
}

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

.tab-pane h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #2c2c2c;
    margin-bottom: 25px;
}

.tab-pane h4 {
    font-size: 20px;
    color: #2c2c2c;
    margin: 25px 0 15px;
}

.tab-pane p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.tab-pane ul {
    margin: 20px 0;
    padding-left: 20px;
}

.tab-pane ul li {
    margin-bottom: 8px;
    color: #666;
}

.product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.product-attributes tr {
    border-bottom: 1px solid #e8ddd2;
}

.product-attributes td {
    padding: 15px 20px;
    font-size: 16px;
}

.product-attributes td:first-child {
    font-weight: 600;
    color: #2c2c2c;
    background: #f8f6f3;
    width: 30%;
}

.product-attributes td:last-child {
    color: #666;
}

/* Reviews */
.reviews-summary {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f6f3;
    border-radius: 12px;
}

.rating-overview {
    text-align: center;
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #c9a96e;
    font-family: 'Playfair Display', serif;
}

.review-count {
    color: #8b7355;
    font-size: 14px;
}

.review-item {
    padding: 30px;
    border: 1px solid #e8ddd2;
    border-radius: 12px;
    margin-bottom: 20px;
    background: white;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: #f8f6f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b7355;
    font-size: 20px;
}

.reviewer-details h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #2c2c2c;
}

.review-rating {
    margin-bottom: 5px;
}

.review-date {
    color: #999;
    font-size: 12px;
}

.review-content p {
    margin: 0;
    line-height: 1.6;
    color: #666;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background: #F9F4EE;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    color: #2c2c2c;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

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

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

.product-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view,
.add-to-wishlist {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-view:hover,
.add-to-wishlist:hover {
    background: #c9a96e;
    color: white;
}

.product-details {
    padding: 25px;
    text-align: center;
}

.product-name {
    margin: 0 0 10px;
}

.product-name a {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #c9a96e;
}

.product-price {
    margin: 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.product-price .current-price,
.product-price .sale-price {
    color: #c9a96e;
}

.product-price .regular-price {
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
    font-size: 16px;
}

.product-details .btn-add-to-cart {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-layout {
        gap: 60px;
    }
    
    .product-title {
        font-size: 32px;
    }
    
    .current-price,
    .sale-price {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .product-main {
        padding: 40px 0;
    }
    
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-images {
        position: static;
    }
    
    .main-image img {
        height: 400px;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .current-price,
    .sale-price {
        font-size: 24px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-wishlist {
        width: 100%;
        height: 50px;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .quantity-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .breadcrumb nav {
        font-size: 12px;
    }
    
    .main-image img {
        height: 300px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .current-price,
    .sale-price {
        font-size: 20px;
    }
    
    .color-options {
        justify-content: center;
    }
    
    .social-share {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
