* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    padding-top: 80px; /* To account for fixed navbar */
}
/* Product View Section */
#product-view {
    padding: 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-container {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.product-gallery {
    flex: 1;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-container {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

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

.product-details {
    flex: 1;
}

.product-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #D32F2F;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #465b52;
}

.size-selector {
    margin-bottom: 20px;
}

.size-selector h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-option {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover,
.size-option.selected {
    background-color: #D32F2F;
    color: white;
    border-color: #D32F2F;
}

.color-selector {
    margin-bottom: 20px;
}

.color-selector h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.color-options {
    gap: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease;
}

.color-option:hover,
.color-option.selected {
    transform: scale(1.1);
    border-color: #333;
}

.quantity-selector {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.quantity-selector h4 {
    margin-right: 15px;
    font-size: 16px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart-btn {
    background: #D32F2F;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: #9A0007;
}

.continue-shopping-btn {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    background: #e0e0e0;
}

/* Color Select Styling */
.color-options {
    margin-bottom: 20px;
}

.color-options h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.color-select {
    width: 100%;
    max-width: 250px;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2020%2020'%3E%3Cpath%20fill%3D'%23333'%20d%3D'M7%208l3%203%203-3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.color-select:focus {
    border-color: #D32F2F;
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
    outline: none;
}

.color-select option {
    padding: 8px;
}


.product-info-tabs {
    margin-bottom: 40px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab.active {
    color: #D32F2F;
    border-bottom-color: #D32F2F;
}

.tab-content {
    display: none;
}

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

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table td {
    padding: 10px 15px;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 30%;
}

.shipping-info {
    line-height: 1.6;
}

.shipping-info h4 {
    margin-bottom: 10px;
}

.shipping-info ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.shipping-info li {
    margin-bottom: 8px;
}

.reviews-container {
    margin-top: 20px;
}

.review {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.review:last-child {
    border-bottom: none;
}

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

.reviewer-name {
    font-weight: 600;
}

.review-date {
    color: #777;
    font-size: 14px;
}

.rating {
    color: #FFD700;
    margin-bottom: 10px;
}

.related-products {
    margin-top: 50px;
}

.related-products h2 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
    color: #222;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-product {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.related-product:hover {
    transform: translateY(-5px);
}

.related-product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-product-info {
    padding: 15px;
}

.related-product-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
}

.related-product-price {
    font-weight: 600;
    color: #D32F2F;
}

.social-sharing {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.social-share-btn:hover {
    transform: scale(1.1);
}

.facebook {
    background: #3b5998;
}

.twitter {
    background: #1da1f2;
}

.pinterest {
    background: #bd081c;
}

.whatsapp {
    background: #25d366;
}

.pixel-api-btn {
    background: #4A4A4A;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.pixel-api-btn:hover {
    background: #333;
}


/* Responsive Design */
@media (max-width: 992px) {
    #header {
        padding: 20px 40px;
    }
    
    #product-view {
        padding: 40px;
    }
    
    .product-container {
        flex-direction: column;
    }
    
    .main-image {
        height: 400px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #header {
        padding: 15px 20px;
    }
    
    #navbar li {
        padding: 0 12px;
    }
    
    #product-view {
        padding: 30px 20px;
    }
    
    .main-image {
        height: 350px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo {
        height: 50px;
    }
    
    #navbar li a {
        font-size: 14px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab {
        padding: 8px 12px;
        font-size: 14px;
    }
}