
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 16px;
}

.header {
    background: #333;
    color: #fff;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-secondary a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}

.main-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
}

.breadcrumb-list li {
    display: inline;
    margin-right: 5px;
}

.breadcrumb-list li a {
    text-decoration: none;
    color: #007BFF;
}

.product-page {
    display: flex;
    flex-direction: column;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
}

.main-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnails-section {
    display: flex;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
}

.thumbnail-nav-btn {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.thumbnails-container {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    scroll-behavior: smooth;
    display: flex;
    gap: 5px;
}

.thumbnail {
    border: 2px solid transparent;
    cursor: pointer;
    width: 60px;
    height: 60px;
    min-width: 60px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: #007BFF;
}

.product-information {
    flex: 2;
    min-width: 300px;
}

.product-title {
    font-size: 28px;
    margin: 0;
}

.product-rating {
    margin: 10px 0;
}

.current-price {
    font-size: 24px;
    color: #28a745;
}

.original-price {
    text-decoration: line-through;
    margin-left: 10px;
}

.discount-badge {
    background: #dc3545;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-left: 10px;
}

.product-highlights {
    margin: 20px 0;
}

.highlights-title {
    font-size: 20px;
}

.highlights-list {
    list-style: disc;
    padding-left: 20px;
}

.product-actions {
    display: flex;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.quantity-group {
    margin-right: 20px;
    margin-bottom: 10px;
}

.btn {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

.coupon-section {
    margin: 20px 0;
}

.coupon-input {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.payment-methods {
    margin: 20px 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.footer {
    background: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
}

/* Responsive Styles - Mobile First */
@media (max-width: 480px) {
    body {
        font-size: 12px;
    }
    .header {
        padding: 5px 0;
    }
    .header-container {
        padding: 0 5px;
    }
    .logo {
        font-size: 18px;
    }
    .nav-secondary a {
        margin-right: 5px;
        font-size: 12px;
    }
    .main-content {
        margin: 10px auto;
        padding: 0 5px;
    }
    .product-container {
        gap: 5px;
        flex-direction: column;
    }
    .product-gallery {
        margin-right: 0;
    }
    .main-image-container {
        aspect-ratio: 1;
    }
    .thumbnails-section {
        margin-top: 5px;
    }
    .thumbnail-nav-btn {
        padding: 3px;
        font-size: 10px;
    }
    .thumbnail {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    .product-information {
        padding: 5px 0;
    }
    .product-title {
        font-size: 18px;
    }
    .current-price {
        font-size: 16px;
    }
    .highlights-title {
        font-size: 16px;
    }
    .highlights-list {
        padding-left: 10px;
    }
    .product-actions {
        margin: 10px 0;
    }
    .btn {
        padding: 8px;
        font-size: 12px;
    }
    .coupon-input {
        padding: 5px;
        font-size: 12px;
    }
    .specs-table {
        font-size: 10px;
    }
    .specs-table td {
        padding: 3px;
    }
    .footer {
        padding: 5px 0;
        font-size: 12px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .product-container {
        flex-direction: row;
    }
    .main-image-container {
        aspect-ratio: 1;
    }
    .thumbnail {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    .product-information {
        flex: 1.8;
    }
    .product-actions {
        flex-direction: row;
    }
    .btn {
        flex: 1;
        margin-left: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .main-content {
        max-width: 1000px;
    }
    .product-container {
        flex-direction: row;
    }
    .product-gallery {
        flex: 1.2;
    }
    .product-information {
        flex: 1.8;
    }
    .main-image-container {
        aspect-ratio: 1;
    }
    .thumbnail {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
}

@media (min-width: 1025px) {
    .main-content {
        max-width: 1200px;
    }
    .product-container {
        flex-direction: row;
    }
    .product-gallery {
        flex: 1;
    }
    .product-information {
        flex: 2;
    }
    .main-image-container {
        aspect-ratio: 1;
    }
}


