/* =========================================
   APPAREL PRODUCT PAGE
   ========================================= */

/* Top Two-Column Layout */
.apparel-top-layout {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Gallery */
.apparel-gallery { display: flex; flex-direction: column; gap: 1rem; }

.apparel-main-img-wrapper {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
}
.apparel-main-img {
    max-width: 100%;
    max-height: 470px;
    border-radius: 8px;
    transition: opacity 0.3s;
    object-fit: contain;
}

.apparel-thumbs {
    display: flex;
    gap: 0.75rem;
}
.apparel-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #f7f7f7;
    padding: 4px;
    flex-shrink: 0;
}
.apparel-thumb:hover { border-color: var(--primary-blue); }
.apparel-thumb.active { border-color: var(--primary-blue); box-shadow: 0 0 0 2px rgba(0,86,179,0.2); }
.apparel-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

/* Sticky Customization Box */
.apparel-customize-box {
    position: sticky;
    top: 110px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.apparel-customize-box h1 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.apparel-starting-price {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}
.apparel-starting-price strong {
    font-size: 1.5rem;
    color: var(--primary-black);
    font-weight: 800;
}
.apparel-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.apparel-features li {
    padding: 0.35rem 0;
    font-size: 0.92rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.apparel-features li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Color Swatches */
.apparel-option-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    display: block;
}
.color-swatches {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.color-swatch {
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.color-swatch:hover {
    transform: scale(1.12);
}
.color-swatch.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0,86,179,0.25), inset 0 0 0 1px rgba(0,0,0,0.08);
}

/* Size Pills */
.apparel-size-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.apparel-size-pill {
    padding: 0.5rem 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s;
    background: #fff;
}
.apparel-size-pill:hover { border-color: #999; }
.apparel-size-pill.active {
    border-color: var(--primary-blue);
    background: #f0f7ff;
    color: var(--primary-blue);
}
.size-chart-link {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Quantity Selector */
.apparel-qty-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.apparel-qty-btn {
    width: 38px; height: 38px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    color: var(--text-dark);
}
.apparel-qty-btn:hover { border-color: var(--primary-blue); color: var(--primary-blue); }
.apparel-qty-val {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
}

/* CTA Button */
.apparel-cta-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.4rem;
}
.apparel-cta-btn:hover {
    background: var(--primary-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,86,179,0.3);
}
.apparel-cta-subtext {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Bottom Section: Overview 50/50 */
.apparel-overview-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
    padding: 2.5rem 0;
    border-top: 1px solid #eee;
}
.apparel-overview-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 1rem;
}
.apparel-overview-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.apparel-overview-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}
.apparel-overview-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.apparel-overview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

/* Explore More Apparel Grid */
.apparel-explore-section { margin-bottom: 3rem; }
.apparel-explore-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
}
.apparel-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.apparel-explore-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.apparel-explore-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.apparel-explore-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.apparel-explore-card .explore-card-body {
    padding: 1rem;
}
.apparel-explore-card .explore-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.apparel-explore-card .explore-card-price {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 700;
}
