.product-detail { 
    display: grid; 
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    margin: 0 auto;
    max-width: 1400px;
    padding: 60px 60px 100px 60px;
}

.detail-image {
    position: relative;
    overflow: hidden;
    background: #fafafa;
    max-width: 600px;
    width: 100%;
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #EF4444;
    color: white;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.detail-image img { 
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    background: #fff;
}

.gallery-thumbs { 
    display: flex; 
    gap: 8px; 
    margin-top: 15px; 
    flex-wrap: wrap; 
}

.gallery-thumb { 
    width: 64px; 
    height: 64px; 
    border-radius: 4px; 
    overflow: hidden; 
    border: 1px solid #ddd; 
    cursor: pointer; 
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: #000; border-width: 2px; }

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-info h1 { 
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #000;
    text-transform: uppercase;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.old-price {
    font-size: 1.3rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.new-price {
    font-size: 1.8rem;
    color: #000;
    font-weight: 600;
}

.detail-desc { 
    color: #666;
    margin-bottom: 40px;
    line-height: 1.9;
    font-size: 0.95rem;
    font-weight: 300;
}

.options-group { 
    margin-bottom: 30px;
}

.options-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #000;
}

.size-selector { 
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-opt { 
    position: relative;
    cursor: pointer;
}

.size-opt input { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.size-box { 
    min-width: 56px;
    height: 56px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-weight: 500;
    background: #fff;
    padding: 0 15px;
    font-size: 0.85rem;
    color: #000;
}

.size-opt:hover .size-box {
    border-color: #000;
}

.size-opt input:checked + .size-box { 
    background: #000;
    color: #fff;
    border-color: #000;
}

.color-selector { display: flex; gap: 8px; flex-wrap: wrap; }
.color-opt { position: relative; cursor: pointer; }
.color-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.color-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.85rem;
    background: #fff;
}
.color-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }
.color-opt input:checked + .color-pill { border-color: #000; background: #f9f9f9; font-weight: bold; }

.upload-box { 
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    background: #fafafa;
    position: relative;
}

.upload-box:hover {
    border-color: #000;
    background: #fff;
}

.btn-primary {
    padding: 18px 0;
    font-size: 0.8rem;
    margin-top: 20px;
    letter-spacing: 0.15em;
    font-weight: 600;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    transition: all 0.3s;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .product-detail { grid-template-columns: 1fr; padding: 30px 20px; gap: 30px; }
}