/* ===========================================
   SINGLE PRODUCT WRAPPER
=========================================== */
.product-page-wrapper {
    background: #fff;
    color: #333;
    padding-bottom: 80px;
}

/* Breadcrumbs */
.product-breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
}
.product-breadcrumbs a { text-decoration: none; color: #666; }
.product-breadcrumbs .sep { margin: 0 8px; color: #aaa; }
.product-breadcrumbs .current { font-weight: 700; color: #1a1a1a; }

/* ===========================================
   MAIN PRODUCT GRID
=========================================== */
.product-grid {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr; /* 50/50 Split */
    gap: 60px;
    align-items: start;
}

/* --- Gallery Styles --- */
.product-gallery {
    display: flex;
    gap: 20px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px; /* Fixed width for thumbnail column */
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumb-item.active, .thumb-item:hover {
    opacity: 1;
    border-color: #00b4d8; /* Blue highlight */
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main {
    flex-grow: 1;
    background: #FAFAFA; /* Light grey bg for product image */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.gallery-main img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* --- Product Info Styles --- */
.product-info {
    padding-top: 10px;
}

.product-category-label {
    color: #00b4d8; /* CareLine Blue */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* Variants */
.product-variants {
    margin-bottom: 30px;
}

.product-variants label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.variants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-tag {
    border: 1px solid #ccc;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: #555;
    border-radius: 4px;
    display: inline-block;
}

/* What's Included */
.product-includes {
    margin-bottom: 40px;
}

.product-includes label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.includes-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Accordions */
.product-accordions {
    border-top: 1px solid #ddd;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #00b4d8; /* Blue Text */
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header .icon {
    font-size: 1.2rem;
    color: #333;
}

.accordion-body {
    display: none;
    padding-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* ===========================================
   RELATED PRODUCTS SECTION
=========================================== */
.related-products-section {
    background: #D2D8DF; /* The specific Grey/Blue from design */
    padding: 60px 0 80px;
    margin-top: 80px;
}

.related-products-section .section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    display: block;
}

.related-products-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #00b4d8;
    margin: 15px auto 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-card {
    text-decoration: none;
    text-align: center;
    display: block;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.rel-img {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.rel-img img {
    max-height: 100%;
    width: auto;
}

.rel-info h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.rel-info .rel-cat {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.rel-info .read-more {
    font-size: 0.75rem;
    color: #555;
    text-decoration: underline;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        flex-direction: column-reverse; /* Puts thumbs below image on mobile */
    }
    
    .gallery-thumbs {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}