html {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    background-color: var(--white);
    width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
}

.product-page {
    padding: 2rem 0 6rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs a:hover {
    color: var(--text-primary);
}

.breadcrumbs .current {
    color: var(--text-primary);
}

.product-layout {
    display: flex;
    gap: 6%;
    align-items: flex-start;
}

/* Gallery (Left Side) */
.product-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-image-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.empty-image {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

/* Product Info (Right Side Sticky) */
.product-info-wrapper {
    flex: 0.75;
    position: relative;
}

.product-info-sticky {
    position: sticky;
    top: 100px;
    /* Offset from header */
    padding-bottom: 2rem;
}

.product-meta {
    margin-bottom: 2.5rem;
}

.brand {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.product-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Selectors */
.selector-group {
    margin-bottom: 2rem;
}

.selector-label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.size-header .selector-label {
    margin-bottom: 0;
}

.size-guide {
    font-size: 0.85rem;
    text-decoration: underline;
    color: var(--text-secondary);
}

/* Color Options */
.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-btn {
    border: 1px solid var(--border-light);
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-btn.active,
.color-btn:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--white);
}

/* Size Options */
.size-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
}

.size-btn {
    border: 1px solid var(--border-light);
    background: var(--white);
    padding: 0.8rem 0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.size-btn:hover {
    border-color: var(--text-primary);
}

.size-btn.active {
    background: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
}

/* CTA */
.add-to-cart-form {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.add-to-cart-btn.disabled {
    background-color: #f5f5f5;
    color: #999;
    border-color: var(--border-light);
    cursor: not-allowed;
    box-shadow: none;
}

.shipping-notice {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* Description & Accordion */
.product-description {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.desc-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.accordion-item {
    border-bottom: 1px solid var(--border-light);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    margin-bottom: 1.2rem;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.detail-list {
    list-style-position: inside;
}

.detail-list li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .product-info-wrapper {
        width: 100%;
    }

    .product-info-sticky {
        position: static;
    }

    .gallery-image-wrap {
        height: auto;
    }
}