/* product-page.css */
.product-page {
    background-color: #ffffff;
    color: var(--text-dark);
}

.product-detail-container {
    padding: 100px 4rem 4rem; /* Reduced top padding */
    max-width: 1400px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Left Column: Media */
.product-media {
    position: sticky;
    top: 100px;
    height: 650px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnails {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 10;
}

.thumb-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.thumb-btn.active, .thumb-btn:hover {
    border-color: var(--accent-color);
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-image {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

/* Right Column: Info */
.product-info {
    padding-top: 1rem;
}

.product-tag-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-tag {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tag-square {
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 2px;
    flex-shrink: 0;
}

.product-title {
    font-family: "loos-extended", var(--font-heading), sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.product-highlights {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.highlight-separator {
    color: #ccc;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
}

.meta-label {
    font-weight: 600;
}

.btn-primary-full {
    display: block;
    width: 100%;
    background-color: var(--text-dark);
    color: #fff;
    text-align: center;
    padding: 1.2rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-bottom: 3rem;
}

.btn-primary-full:hover {
    background-color: var(--accent-color);
}

/* Accordions */
.accordion-group {
    border-top: 1px solid #eee;
    margin-bottom: 3rem;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    color: var(--text-dark);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

.accordion-content p {
    margin-bottom: 1rem;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
    padding-bottom: 1.5rem;
}

.accordion-item .icon {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Routine Section */
.routine-section h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.routine-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fbfbfb;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: border-color 0.3s, background-color 0.3s;
}

.routine-card:hover {
    border-color: #ddd;
    background: #f5f5f5;
}

.routine-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.routine-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.routine-details p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .product-detail-container {
        padding: 90px 2rem 4rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-media {
        height: 500px;
        position: relative;
        top: 0;
    }
    .product-title {
        font-size: 2.5rem;
    }
}
@media (max-width: 600px) {
    .product-media {
        height: 400px;
        position: relative;
        top: 0;
    }
    .thumbnails {
        top: 1rem;
        left: 1rem;
        flex-direction: row;
        width: auto;
    }
    .main-image {
        height: 100%;
    }
}
