:root { 
    --bg: #ffffff; 
    --text: #111111; 
    --line: #efefef; 
    --accent: #888888; 
}

body { 
    background-color: var(--bg); 
    color: var(--text); 
    font-family: 'Inter', sans-serif; 
    margin: 0; 
    -webkit-font-smoothing: antialiased; 
}

/* NAVIGATION */
nav { 
    padding: 25px; 
    text-align: center; 
    border-bottom: 1px solid var(--line); 
    position: sticky; 
    top: 0; 
    background: white; 
    z-index: 100; 
}

.logo { 
    font-size: 0.9rem; 
    font-weight: 500; 
    letter-spacing: 0.8em; 
    text-indent: 0.8em; 
}

/* HEADER */
header { 
    padding: 100px 20px; 
    text-align: center; 
}

header h1 { 
    font-size: 0.65rem; 
    letter-spacing: 0.4em; 
    color: var(--accent); 
    margin-bottom: 15px; 
    text-transform: uppercase; 
}

header p { 
    font-size: 1.4rem; 
    font-weight: 300; 
    max-width: 600px; 
    margin: 0 auto; 
    line-height: 1.4; 
}

/* PRODUCT GRID */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1px; 
    background-color: var(--line); 
    border-top: 1px solid var(--line); 
    border-bottom: 1px solid var(--line); 
}

.product-card { 
    background: white; 
    padding: 60px 40px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
}

.image-wrapper { 
    width: 100%; 
    max-width: 450px; 
    overflow: hidden; 
    margin-bottom: 30px; 
}

.image-wrapper img { 
    width: 100%; 
    height: auto; 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
}

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

.product-info h3 { 
    font-size: 0.75rem; 
    font-weight: 500; 
    letter-spacing: 0.15em; 
    text-transform: uppercase; 
    margin: 0 0 8px 0; 
}

.product-info p { 
    font-size: 0.85rem; 
    color: var(--accent); 
    margin-bottom: 25px; 
}

.explore-btn { 
    background: none; 
    border: 1px solid #e0e0e0; 
    padding: 12px 40px; 
    font-size: 0.65rem; 
    letter-spacing: 0.2em; 
    cursor: pointer; 
    transition: 0.3s; 
    text-transform: uppercase; 
}

.explore-btn:hover { 
    background: #000; 
    color: #fff; 
    border-color: #000; 
}

/* MODAL STRUCTURE */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(255,255,255,0.98); 
    align-items: center; 
    justify-content: center; 
}

.modal-content { 
    background-color: #fff; 
    width: 90%; 
    max-width: 1100px; 
    height: 80vh; 
    border: 1px solid var(--line); 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    position: relative; 
}

.close-modal { 
    position: absolute; 
    right: 25px; 
    top: 20px; 
    font-size: 1.2rem; 
    cursor: pointer; 
    color: var(--accent); 
    z-index: 1001; 
}

.modal-body { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    height: 100%; 
    width: 100%; 
    overflow: hidden; 
}

/* LEFT SIDE: CAROUSEL */
.carousel-container { 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    position: relative; 
    background: #fdfdfd; 
    display: flex; 
    align-items: center; 
}

.modal-gallery.carousel-slide { 
    display: flex; 
    height: 100%; 
    transition: transform 0.5s ease; 
}

.carousel-img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    flex-shrink: 0; 
}

.carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: none; 
    border: none; 
    font-size: 1.2rem; 
    color: #ccc; 
    cursor: pointer; 
    z-index: 10; 
    padding: 20px; 
}

/* RIGHT SIDE: DETAILS & SCROLL FIX */
.modal-details-wrapper { 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    border-left: 1px solid var(--line); 
    overflow-y: auto; 
    background: #fff; 
    -webkit-overflow-scrolling: touch; 
}

.scroll-content { 
    padding: 50px 50px 10px 50px; 
    flex-shrink: 0; 
}

.description { 
    font-size: 0.8rem; 
    line-height: 1.8; 
    color: #666; 
    margin-bottom: 30px; 
}

/* SELECTIONS */
.selection-area { 
    margin-bottom: 30px; 
}

.selection-area label { 
    font-size: 0.6rem; 
    font-weight: 600; 
    letter-spacing: 0.1em; 
    display: block; 
    margin-bottom: 12px; 
    text-transform: uppercase; 
}

.size-chips { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
}

.size-chip { 
    border: 1px solid var(--line); 
    padding: 8px 12px; 
    font-size: 0.7rem; 
    cursor: pointer; 
    transition: 0.2s; 
    min-width: 35px; 
    text-align: center; 
}

.size-chip.selected { 
    background: #000; 
    color: #fff; 
    border-color: #000; 
}

/* EMAIL INPUT UPGRADE */
.input-wrapper { 
    position: relative; 
    width: 100%; 
}

.linear-input { 
    width: 100%; 
    border: none; 
    border-bottom: 1px solid var(--line); 
    padding: 12px 0; 
    font-size: 0.85rem; 
    font-family: 'Inter'; 
    outline: none; 
    background: transparent; 
    transition: 0.3s; 
    box-sizing: border-box; 
}

.input-focus-line { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 1px; 
    background: #000; 
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

.linear-input:focus + .input-focus-line { 
    width: 100%; 
}

.linear-input::placeholder { 
    color: #ccc; 
    font-weight: 300; 
}

/* FOOTER / PAYPAL */
.sticky-footer { 
    padding: 20px 50px 50px 50px; 
    background: white; 
    border-top: 1px solid var(--line); 
    margin-top: auto; 
    min-height: 150px; 
}

/* GLOBAL FOOTER */
footer { 
    padding: 60px 20px; 
    text-align: center; 
    border-top: 1px solid var(--line); 
}

footer p { 
    font-size: 0.65rem; 
    letter-spacing: 0.2em; 
    color: var(--accent); 
    text-transform: uppercase; 
}

/* MOBILE RESPONSIVE */
@media (max-width: 850px) {
    .modal-body { 
        grid-template-columns: 1fr; 
        overflow-y: auto; 
    }
    .carousel-container { 
        height: 45vh; 
    }
    .modal-details-wrapper { 
        height: auto; 
        border-left: none; 
    }
}