/* =========================================================
   VZUTA_UA — PRODUCT-DETAIL.CSS
   product page / sizes / accordions / reviews
   ========================================================= */

.product-detail-page{
    background:#fff;
    padding:24px 0 76px;
}

.breadcrumbs{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    margin-bottom:22px;
    color:#7a8699;
    font-size:14px;
}

.breadcrumbs a{
    color:#7a8699;
}

.breadcrumbs strong{
    color:#111;
}

.product-detail-layout{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);
    gap:70px;
    align-items:start;
}

.product-left{
    min-width:0;
}

.product-photo-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.product-photo-main{
    position:relative;
    background:#f2f2f2;
    overflow:hidden;
    border-radius:2px;
}

.product-photo-main img{
    width:100%;
    height:610px;
    object-fit:cover;
    transition:.35s ease;
}

.product-photo-main:hover img{
    transform:scale(1.015);
}

.detail-badge{
    position:absolute;
    left:14px;
    z-index:2;
    color:#fff;
    font-size:13px;
    font-weight:900;
    padding:6px 10px;
    border-radius:4px;
}

.new-detail-badge{
    top:14px;
    background:#1f55d8;
}

.sale-detail-badge{
    top:48px;
    background:#e60000;
}

.product-mini-gallery{
    display:flex;
    gap:14px;
    margin-top:14px;
    overflow-x:auto;
    padding-bottom:8px;
}

.product-mini-gallery img{
    width:145px;
    height:145px;
    object-fit:cover;
    background:#f2f2f2;
    border:2px solid transparent;
    opacity:.72;
    transition:.25s ease;
}

.product-mini-gallery img:hover,
.product-mini-gallery img.active{
    opacity:1;
    border-color:#111;
}

.product-right{
    position:sticky;
    top:92px;
    padding-top:12px;
}

.product-status-label{
    display:inline-flex;
    margin-bottom:14px;
    padding:7px 12px;
    border-radius:20px;
    background:#f1f1f1;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}

.product-right h1{
    font-size:28px;
    font-weight:800;
    margin-bottom:20px;
    line-height:1.2;
}

.detail-price-row{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-start;
    margin-bottom:26px;
}

.detail-price{
    display:inline-block;
    margin-right:10px;
    font-size:22px;
    font-weight:900;
}

.detail-old-price{
    color:#999;
    text-decoration:line-through;
    font-size:16px;
    font-weight:700;
}

.detail-code{
    color:#777;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    padding-top:5px;
}

.detail-option{
    margin-bottom:24px;
}

.detail-option p{
    margin-bottom:12px;
    font-size:15px;
    font-weight:800;
}

.detail-option p span{
    color:#777;
}

.color-dots{
    display:flex;
    gap:10px;
}

.color-dot{
    width:38px;
    height:38px;
    display:block;
    border-radius:5px;
    border:1px solid #ddd;
}

.color-dot.active,
.color-dot:hover{
    outline:2px solid #111;
    outline-offset:3px;
}

.size-title-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.size-guide-link{
    color:#777;
    text-decoration:underline;
    font-size:13px;
    font-weight:700;
}

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

.size-btn{
    min-width:54px;
    height:54px;
    padding:0 14px;
    border:1.5px solid #111;
    background:#fff;
    color:#111;
    border-radius:17px;
    font-size:16px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.25s ease;
}

.size-btn input{
    display:none;
}

.size-btn:hover,
.size-btn:has(input:checked),
.size-btn.active{
    background:#111;
    color:#fff;
}

.shipping-date{
    display:flex;
    gap:10px;
    align-items:center;
    margin:18px 0 14px;
    font-size:15px;
    font-weight:800;
}

.detail-actions{
    display:grid;
    grid-template-columns:1fr 64px;
    gap:10px;
    margin-bottom:24px;
}

.detail-buy-btn,
.detail-like-btn{
    height:60px;
    border:0;
    background:#000;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    text-transform:uppercase;
}

.detail-buy-btn{
    font-size:16px;
}

.detail-like-btn{
    font-size:34px;
}

.detail-buy-btn:hover,
.detail-like-btn:hover,
.detail-like-btn.active{
    background:#222;
}

.product-benefits{
    margin-top:18px;
}

.benefit-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:18px 0;
    border-bottom:1px solid #ececec;
}

.benefit-icon{
    width:36px;
    height:36px;
    min-width:36px;
    border-radius:50%;
    background:#ff255f;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
}

.benefit-content h4{
    margin-bottom:6px;
    font-size:15px;
    font-weight:800;
}

.benefit-content p{
    color:#666;
    font-size:14px;
    line-height:1.5;
}

.product-accordions{
    margin-top:24px;
}

.accordion-item{
    border-bottom:1px solid #eee;
}

.accordion-head{
    width:100%;
    border:0;
    background:none;
    padding:17px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:15px;
    font-weight:900;
    text-align:left;
}

.accordion-body{
    max-height:0;
    overflow:hidden;
    color:#555;
    line-height:1.65;
    font-size:14px;
    transition:max-height .32s ease, padding .32s ease;
}

.accordion-item.active .accordion-body{
    max-height:260px;
    padding:0 0 16px;
}

.similar-section{
    margin-top:90px;
    padding-top:42px;
    border-top:1px solid #eee;
}

/* reviews */

.product-reviews{
    margin-top:24px;
    background:#f5f5f5;
    padding:26px 18px;
}

.reviews-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.reviews-stars,
.review-rating{
    color:#111;
    font-size:18px;
    letter-spacing:2px;
    font-weight:900;
    line-height:1;
}

.reviews-stars.muted{
    color:#cfcfcf;
}

.product-reviews h2{
    margin:10px 0 4px;
    color:#111;
    font-size:25px;
    font-weight:900;
}

.product-reviews p{
    color:#333;
    font-size:15px;
    line-height:1.5;
}

.review-open-btn{
    width:170px;
    height:38px;
    border:1px solid #111;
    background:#fff;
    color:#111;
    font-size:13px;
    font-weight:800;
    text-transform:lowercase;
}

.review-open-btn:hover{
    background:#111;
    color:#fff;
}

.reviews-list{
    margin-top:22px;
    display:grid;
    gap:14px;
}

.review-item{
    background:#fff;
    border:1px solid #ededed;
    padding:18px;
}

.review-item-head{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-start;
    margin-bottom:12px;
}

.review-item strong{
    display:block;
    color:#111;
    font-size:15px;
    font-weight:900;
}

.review-item span{
    display:block;
    margin-top:4px;
    color:#777;
    font-size:13px;
}

.review-item p{
    color:#444;
    font-size:15px;
    line-height:1.65;
}

.review-modal{
    position:fixed;
    inset:0;
    z-index:30000;
    background:rgba(0,0,0,.52);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    opacity:0;
    visibility:hidden;
    transition:.25s ease;
}

.review-modal.active{
    opacity:1;
    visibility:visible;
}

.review-modal-card{
    width:min(520px,100%);
    position:relative;
    background:#fff;
    border-radius:22px;
    padding:34px 28px 28px;
    box-shadow:0 24px 70px rgba(0,0,0,.20);
}

.review-modal-close{
    position:absolute;
    top:12px;
    right:18px;
    border:0;
    background:none;
    color:#111;
    font-size:34px;
    line-height:1;
}

.review-modal-card h2{
    margin:0 0 10px;
    color:#111;
    font-size:28px;
    font-weight:900;
}

.review-modal-card > p{
    margin:0 0 22px;
    color:#666;
    font-size:15px;
    line-height:1.5;
}

.review-form{
    display:grid;
    gap:12px;
}

.review-form label{
    color:#111;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
}

.review-rating-input{
    display:flex;
    flex-direction:row-reverse;
    justify-content:flex-end;
    gap:4px;
    margin-bottom:4px;
}

.review-rating-input input{
    display:none;
}

.review-rating-input span{
    display:block;
    color:#d0d0d0;
    font-size:34px;
    transition:.18s ease;
}

.review-form textarea{
    width:100%;
    min-height:128px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:14px;
    background:#fafafa;
    color:#111;
    font-size:15px;
    line-height:1.5;
    resize:vertical;
    outline:none;
}

.review-form button{
    width:100%;
    height:52px;
    margin-top:4px;
    border:0;
    border-radius:14px;
    background:#111;
    color:#fff;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
}
