.product-detail{

    max-width:1200px;

    margin:30px auto;

    display:grid;

    grid-template-columns:
    500px 1fr;

    gap:35px;

    align-items:start;
}

.product-gallery{

    position:relative;

    background:#fff;

    border-radius:24px;

    padding:15px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);
}

.product-detail-image{

    width:100%;

    display:block;

    border-radius:20px;
}

.product-info{

    background:#fff;

    border-radius:24px;

    padding:35px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);
}

.product-title{

    font-size:42px;

    font-weight:800;

    color:#111827;

    margin:10px 0 15px;
}

.product-meta{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin:20px 0;
}

.product-meta span{

    background:#f8fafc;

    padding:10px 14px;

    border-radius:999px;

    font-size:14px;

    font-weight:600;
}

.product-price-big{

    font-size:48px;

    font-weight:900;

    color:#2563eb;
}

/* Desktop */

.product-action-mobile{
    display:none;
}

.product-action-desktop{
    display:flex;
    gap:15px;
    margin-top:30px;
}

.price-box{

    background:
    linear-gradient(
        135deg,
        #eff6ff,
        #dbeafe
    );

    padding:25px;

    border-radius:20px;

    margin:25px 0;
}

.product-price-big{

    font-family:
    'Inter',
    sans-serif !important;

    font-weight:900;

    font-variant-numeric:
    tabular-nums;

    font-feature-settings:
    "tnum";

    letter-spacing:-1px;
}

.product-action-desktop button{

    height:55px;

    border:none;

    border-radius:14px;

    font-weight:700;

    cursor:pointer;
}

.wishlist-btn{

    width:140px;
}

.cart-btn{

    flex:1;
}

.buy-btn{

    flex:1;

    background:#2563eb;

    color:#fff;
}


.feature-box{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-bottom:25px;
}

.feature-item{

    background:#f8fafc;

    border:1px solid #e5e7eb;

    padding:10px 15px;

    border-radius:12px;

    font-size:13px;

    font-weight:600;
}

.product-action-mobile{
    display:none;
}

.product-action-desktop{

    display:flex;

    gap:15px;

    margin-top:30px;
}

.wishlist-btn{

    width:140px;

    height:55px;

    border:none;

    border-radius:16px;
}

.cart-btn{

    flex:1;

    height:55px;

    border:none;

    border-radius:16px;

    background:#eff6ff;
}

.buy-btn{

    flex:1;

    height:55px;

    border:none;

    border-radius:16px;

    background:#2563eb;

    color:#fff;

    font-weight:700;
}

.product-badges{
    display:flex;
    gap:10px;
    margin:12px 0 18px;
}

.badge{
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
}

.badge-hot{
    background:#fff1f2;
    color:#ef4444;
}

.badge-stock{
    background:#ecfdf5;
    color:#10b981;
}

.gallery-slider{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}

.gallery-slider::-webkit-scrollbar{
    display:none;
}

.gallery-slider img{
    flex:0 0 100%;
    scroll-snap-align:start;
}
.product-option{
    margin:20px 0;
}

.option-title{
    display:block;
    font-size:15px;
    font-weight:700;
    margin-bottom:10px;
    color:#111827;
}

.color-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.color-item{

    border:none;

    padding:10px 18px;

    border-radius:12px;

    background:#f1f5f9;

    color:#475569;

    font-weight:600;

    cursor:pointer;

    transition:.2s;
}

.color-item:hover{

    background:#dbeafe;
    color:#2563eb;

}

.color-item.active{

    background:#2563eb;
    color:white;

}

.size-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:10px;
}

.size-item{

    min-width:55px;

    padding:10px 16px;

    border:2px solid #e5e7eb;

    background:#fff;

    border-radius:12px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;
}

.size-item.active{

    background:#2563eb;

    color:#fff;

    border-color:#2563eb;

    box-shadow:
    0 6px 15px rgba(37,99,235,.25);

}


.review-section{

    margin-top:30px;

    padding:25px;

    background:#fff;

    border-radius:20px;

    border:1px solid #eef2f7;
}

.review-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;
}

.review-header h3{

    margin:0;

    font-size:22px;
}

.review-score{

    font-size:30px;

    font-weight:900;

    color:#2563eb;
}

.review-total{

    display:block;

    font-size:13px;

    color:#64748b;
}

.review-list{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:15px;

    margin-top:15px;
}

.review-item{

    background:#f8fafc;

    border:1px solid #e5e7eb;

    padding:18px;

    border-radius:16px;

    height:100%;
}

.review-user{

    font-size:15px;

    font-weight:700;

    margin-bottom:6px;
}

.review-star{

    color:#f59e0b;

    margin-bottom:8px;
}

.review-item p{

    margin:0;

    line-height:1.7;

    color:#475569;
}

.review-section{

    margin-top:25px;

    padding:20px;

    background:#f8fafc;

    border-radius:18px;

    border:1px solid #e5e7eb;
}

.review-list{

    display:flex;

    flex-direction:column;

    gap:12px;
}

.review-item{

    background:#fff;

    padding:14px;

    border-radius:14px;

    border:1px solid #e5e7eb;
}

.review-user{

    font-size:14px;

    font-weight:700;

    margin-bottom:8px;
}

.review-star{

    font-size:14px;

    margin-bottom:10px;
}

.review-item p{

    font-size:13px;

    line-height:1.7;

    color:#64748b;
}

.product-spec{

    margin-top:15px;

    border:1px solid #e5e7eb;

    border-radius:16px;

    overflow:hidden;

    margin-bottom:20px;
}

.spec-item{

    display:flex;

    justify-content:space-between;

    padding:12px 15px;

    border-bottom:1px solid #e5e7eb;
}

.spec-item:last-child{
    border-bottom:none;
}

.spec-item span{

    color:#64748b;

    font-size:14px;
}

.spec-item strong{

    color:#111827;

    font-size:14px;
}

.description-text{

    line-height:1.8;

    color:#475569;
}

.color-list{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:15px;

}

.size-list{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:15px;

}

.product-option{

    margin:18px 0;

}

.option-title{

    display:block;

    margin-bottom:10px;

    font-size:15px;

    font-weight:700;

    color:#111827;

}

.product-gallery{

    overflow:hidden;

    border-radius:20px;

}

.product-gallery{

    display:flex;

    flex-direction:column;

}

.gallery-slider{

    display:flex;

    overflow-x:auto;

    overflow-y:hidden;

    width:100%;

    scroll-snap-type:x mandatory;

    scroll-behavior:smooth;

}

.gallery-slider img{

    min-width:100%;

    width:100%;

    flex-shrink:0;

    scroll-snap-align:start;

}

.slider-dots{

    display:flex;

    justify-content:center;

    gap:8px;

    margin-top:10px;

}

.dot{

    width:8px;

    height:8px;

    border-radius:50%;

    background:#d1d5db;

}

.dot.active{

    background:#2563eb;

    width:20px;

    border-radius:999px;

}

.gallery-slider{

    display:flex;

    overflow-x:auto;

    scroll-snap-type:x mandatory;

    scroll-behavior:smooth;

    scrollbar-width:none;

}

.gallery-slider::-webkit-scrollbar{

    display:none;

}

.product-detail-image{

    flex:0 0 100%;

    width:100%;

    scroll-snap-align:start;

    border-radius:16px;

}

.gallery-thumbs{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:15px;

    width:100%;

}

.thumb{

    width:70px;

    height:70px;

    object-fit:cover;

    border-radius:12px;

    border:2px solid #e5e7eb;

    cursor:pointer;

    transition:.2s;

}

.thumb:hover{

    border-color:#2563eb;

}

.thumb.active{

    border-color:#2563eb;

}

.gallery-thumbs::-webkit-scrollbar{

    display:none;

}

.review-section{

    margin-top:20px;

    background:#fff;

    border-radius:20px;

    padding:20px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

}

.product-detail{

    display:grid;

    grid-template-columns:500px 1fr;

    gap:30px;

    align-items:start;

}

.left-column{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.login-buy-btn{

    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;

    height:55px;

    border-radius:16px;

    background:#2563eb;

    color:#fff;

    text-decoration:none;

    font-weight:700;
}

.product-action-mobile .login-buy-btn{
    flex:1;
}

.login-notice{

    background:#eff6ff;

    border:1px solid #bfdbfe;

    color:#2563eb;

    padding:12px 15px;

    border-radius:12px;

    font-size:14px;

    font-weight:600;

    margin-top:20px;
    margin-bottom:15px;
}

.login-buy-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    height:55px;

    border-radius:16px;

    background:#2563eb;

    color:#fff;

    text-decoration:none;

    font-weight:700;
}


.option-modal{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.45);

    display:none;

    align-items:center;
    justify-content:center;

    z-index:999999;

}

.option-modal.show{

    display:flex;

}

.option-box{
    width:320px;
    background:#fff;
    border-radius:20px;
    padding:24px;
    text-align:center;
}

.option-box svg{
    width:50px;
    height:50px;
    color:#ef4444;
    margin-bottom:12px;
}

.option-box h3{
    margin-bottom:10px;
}

.option-box p{
    color:#64748b;
    margin-bottom:20px;
}

.option-box button{
    width:100%;
    height:46px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}


.product-topbar{

    position:fixed;

    top:15px;
    left:15px;
    right:15px;

    display:flex;
    justify-content:space-between;

    z-index:999;
}

.product-topbar{

    position:fixed;

    top:20px;
    left:20px;
    right:20px;

    display:flex;
    justify-content:space-between;

    z-index:9999;

    pointer-events:none;
}

.topbar-btn{

    width:50px;
    height:50px;

    border-radius:50%;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(15px);

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    color:#111827;

    box-shadow:
    0 10px 25px rgba(0,0,0,.12);

    pointer-events:auto;

    transition:.2s;
}

.topbar-btn:hover{

    transform:translateY(-2px);
}

.topbar-btn svg{

    width:22px;
    height:22px;
}

.topbar-cart{

    position:relative;
}

.cart-badge{

    position:absolute;

    top:-4px;
    right:-4px;

    min-width:20px;
    height:20px;

    padding:0 5px;

    border-radius:999px;

    background:#2563eb;
    color:#fff;

    font-size:11px;
    font-weight:700;

    display:flex;
    align-items:center;
    justify-content:center;
}