.page-banner {
    position: relative;
    width: 100%;
    height: 580px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.banner-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 54px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.products-page-content {
    padding: 60px 0;
    background: #fff;
}

    .products-layout {
        max-width: 1300px !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
        width: 100%;
        box-sizing: border-box;
    }

.product-category {
    margin-bottom: 80px;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.category-desc {
    font-size: 18px;
    color: #666;
    font-style: italic;
}

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

/* T-shirt category - 5 columns */
.product-category[data-category="tshirt"] .products-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Print & Embroidery category - 5 columns */
.product-category[data-category="print-embroidery"] .products-grid {
    grid-template-columns: repeat(5, 1fr);
}

.product-card {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

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

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Product Detail Page */
.product-detail {
    padding: 140px 0 60px;
    background: #fff;
}

    .product-detail-inner {
        max-width: 1300px;
        margin: 0 auto;
        padding: 0 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

.product-detail-gallery {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 15px;
}

.product-gallery-item {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.product-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-detail-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}

.product-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.product-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    transition: transform 0.3s;
}

.product-gallery-item:hover {
    transform: scale(1.05);
}

.product-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .product-gallery-item img {
        height: 140px;
    }
}

.product-detail-info {
    padding-top: 20px;
}

.product-detail-info .back-link {
    display: inline-block;
    font-size: 14px;
    color: #e2b483;
    margin-bottom: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.product-detail-info .back-link:hover {
    color: #c99a6a;
}

.product-detail-info h1 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.product-detail-info .detail-category {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.product-detail-info .detail-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-detail-info .detail-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.product-detail-info .detail-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
}

.product-detail-info .detail-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #e2b483;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 10px;
}

.product-detail-info .inquiry-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #e2b483;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.product-detail-info .inquiry-btn:hover {
    background: #c99a6a;
}

/* Hoodie category - 5 columns */
.product-category[data-category="hoodie"] .products-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Sweater & Cardigan category - 5 columns */
.product-category[data-category="sweater"] .products-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Woven Tops & Pants category - 5 columns */
.product-category[data-category="woven"] .products-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Sleepwear category - 5 columns */
.product-category[data-category="sleepwear"] .products-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Baby & Kids Apparel category - 5 columns */
.product-category[data-category="baby-kids"] .products-grid {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    .product-category[data-category="hoodie"] .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-banner {
        height: 400px;
    }
    .banner-title {
        font-size: 36px;
    }
    .product-detail-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .products-layout {
        padding: 0 10px !important;
    }
    .product-detail-inner {
        padding: 0 10px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .category-title {
        font-size: 28px;
    }
    .category-desc {
        font-size: 16px;
    }
    .product-category {
        margin-bottom: 60px;
    }
    .product-image {
        height: 300px;
    }
    .product-detail {
        padding: 100px 0 40px;
    }
    .product-detail-inner {
        gap: 30px;
    }
    .product-detail-info h1 {
        font-size: 28px;
    }
    .product-detail-info .detail-desc {
        font-size: 15px;
    }
    .product-detail-info .detail-features li {
        font-size: 14px;
    }
    .product-detail-info .inquiry-btn {
        width: 100%;
        text-align: center;
    }
    .page-banner {
        height: 300px;
    }
    .banner-title {
        font-size: 28px;
        padding: 0 10px;
    }
}
