:root{
    --onv-commerce-ink:#071d25;
    --onv-commerce-deep:#0b3038;
    --onv-commerce-teal:#0f9b8e;
    --onv-commerce-aqua:#37d6c7;
    --onv-commerce-mist:#eefaf8;
    --onv-commerce-line:#cfe7e4;
    --onv-commerce-muted:#607780;
    --onv-commerce-coral:#ff7557;
    --onv-commerce-gold:#f7b955;
}

.store-product-detail[data-store-turbo-product],
.store-commerce-product-card,
.onv-brand-command,
.onv-product-signal-grid > div,
.onv-product-source-card{
    border-color:var(--onv-commerce-line);
}

.store-product-detail[data-store-turbo-product]{
    display:grid;
    grid-template-columns:minmax(320px, .96fr) minmax(0, 1.04fr);
    gap:18px;
    align-items:start;
    padding:10px;
    border-radius:8px;
    background:linear-gradient(135deg, rgba(238,250,248,.96), #fff 46%, rgba(255,255,255,.98));
}

.store-product-detail[data-store-turbo-product] .store-product-image,
.store-product-detail[data-store-turbo-product] .store-product-main,
.store-product-detail[data-store-turbo-product] .store-seller-content{
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:#fff;
    box-shadow:0 12px 28px rgba(7,29,37,.06);
}

.store-product-detail[data-store-turbo-product] .store-product-image{
    padding:14px;
}

.store-product-detail[data-store-turbo-product] .store-product-image-content{
    overflow:hidden;
    border-radius:8px;
    background:#f7fbfb;
}

.store-product-detail[data-store-turbo-product] .xzoom-image{
    display:grid;
    min-height:360px;
    place-items:center;
}

.store-product-detail[data-store-turbo-product] .xzoom5{
    width:100%;
    max-height:520px;
    object-fit:contain;
}

.store-product-detail[data-store-turbo-product] .xzoom-thumbs{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(58px, 1fr));
    gap:8px;
    padding:10px;
    background:#fff;
}

.store-product-detail[data-store-turbo-product] .xzoom-thumb-item{
    display:grid;
    aspect-ratio:1;
    place-items:center;
    overflow:hidden;
    border:1px solid var(--onv-commerce-line);
    border-radius:6px;
    background:#fff;
}

.store-product-detail[data-store-turbo-product] .xzoom-gallery5{
    width:100%;
    height:100%;
    object-fit:cover;
}

.store-product-detail[data-store-turbo-product] .store-product-main{
    padding:18px;
}

.store-product-detail[data-store-turbo-product] .store-product-title{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    align-items:start;
}

.store-product-detail[data-store-turbo-product] .store-product-name{
    margin:0;
    color:var(--onv-commerce-ink);
    font-size:30px;
    line-height:1.08;
    font-weight:900;
    letter-spacing:0;
}

.store-product-detail[data-store-turbo-product] .store-product-action{
    position:static;
}

.store-product-detail[data-store-turbo-product] .store-product-action .store-product-action{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.store-product-detail[data-store-turbo-product] .store-action-item a{
    display:grid;
    width:36px;
    height:36px;
    place-items:center;
    border:1px solid var(--onv-commerce-line);
    border-radius:999px;
    background:#fff;
    color:#064f60;
    box-shadow:0 8px 16px rgba(7,29,37,.08);
}

.store-product-detail[data-store-turbo-product] .store-action-item a.active,
.store-detail-wishlist-btn.active{
    border-color:rgba(255,117,87,.45);
    color:var(--onv-commerce-coral);
    background:#fff4f0;
}

.store-product-detail[data-store-turbo-product] .store-product-info{
    display:grid;
    grid-template-columns:110px minmax(0,1fr);
    gap:10px;
    margin:8px 0;
    color:#20343c;
}

.store-product-detail[data-store-turbo-product] .store-info-label{
    color:var(--onv-commerce-muted);
    font-weight:800;
}

.store-product-detail[data-store-turbo-product] .store-price-box,
.store-product-detail[data-store-turbo-product] #store-js-pricing-content{
    margin:16px 0;
}

.store-product-detail[data-store-turbo-product] .store-new-price{
    color:#e23520;
    font-size:32px;
    font-weight:900;
}

#store-js-add-cart-group{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

#store-js-add-cart-group,
.onv-product-link-actions{
    max-width:100%;
}

.onv-product-link-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-top:2px;
}

#store-js-add-cart-group .btn{
    min-height:40px;
    border-radius:6px;
    font-weight:900;
}

#store-js-add-cart-group .btn,
.onv-product-link-actions .btn,
.onv-product-link-actions a.btn{
    min-height:40px;
    border-radius:6px;
    font-weight:900;
}

#store-js-add-cart-group .btn-primary{
    border-color:#063a4a;
    background:#071d25;
}

#store-js-add-cart-group .btn-primary:hover,
.onv-product-link-actions .btn-primary:hover{
    background:#0f9b8e;
    border-color:#0f9b8e;
}

#store-js-add-cart-group .store-detail-wishlist-btn,
.onv-product-link-actions .store-detail-wishlist-btn{
    border:1px solid var(--onv-commerce-line);
    background:#fff;
    color:#064f60;
}

.onv-source-buy-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-color:#063a4a;
    background:#071d25;
    color:#ffffff !important;
    text-decoration:none !important;
}

.onv-product-signal-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin:14px 0 16px;
}

.onv-product-signal-grid > div{
    display:grid;
    grid-template-columns:30px minmax(0,1fr);
    gap:8px;
    align-items:center;
    min-height:62px;
    padding:10px;
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:var(--onv-commerce-mist);
}

.onv-product-signal-grid i{
    display:grid;
    width:30px;
    height:30px;
    place-items:center;
    border-radius:6px;
    background:#fff;
    color:var(--onv-commerce-teal);
    font-size:18px;
}

.onv-product-signal-grid span{
    display:block;
    color:var(--onv-commerce-muted);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
}

.onv-product-signal-grid strong{
    display:block;
    overflow:hidden;
    color:var(--onv-commerce-ink);
    font-size:13px;
    line-height:1.22;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.onv-product-source-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:10px 0 16px;
    padding:12px;
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:#fff;
}

.onv-product-source-card strong{
    color:var(--onv-commerce-ink);
}

.onv-product-source-card span{
    color:var(--onv-commerce-muted);
    font-size:12px;
}

.onv-product-source-card a{
    flex:0 0 auto;
    padding:8px 10px;
    border-radius:6px;
    background:var(--onv-commerce-teal);
    color:#fff;
    font-weight:900;
}

.store-seller{
    min-width:220px;
}

.store-seller-content{
    padding:12px;
}

.store-seller-overview{
    display:flex;
    align-items:center;
    gap:10px;
}

.store-seller-image img{
    width:50px;
    height:50px;
    object-fit:cover;
    border-radius:8px;
}

.store-seller-name{
    color:var(--onv-commerce-ink);
    font-weight:900;
}

.store-commerce-product-card{
    overflow:hidden;
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:#fff;
    box-shadow:0 10px 22px rgba(7,29,37,.05);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.store-commerce-product-card:hover{
    transform:translateY(-2px);
    border-color:rgba(15,155,142,.42);
    box-shadow:0 16px 34px rgba(7,29,37,.12);
}

.store-commerce-product-card .core-item-figure{
    position:relative;
    overflow:hidden;
    aspect-ratio:1 / .92;
    background:#f7fbfb;
}

.store-commerce-product-card .core-item-img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .22s ease;
}

.store-commerce-product-card:hover .core-item-img{
    transform:scale(1.03);
}

.store-card-seller,
.store-card-brand{
    display:flex;
    align-items:center;
    min-width:0;
    gap:4px;
    color:#47636b;
    font-size:12px;
    font-weight:800;
}

.store-card-brand{
    color:#0b6f67;
}

.store-card-seller span:last-child,
.store-card-brand span:last-child{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.store-card-brand .material-symbols-outlined{
    font-size:15px;
}

.store-card-primary-action{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-height:34px;
    border-radius:6px;
    background:#071d25;
    color:#fff;
    font-weight:900;
}

.store-card-primary-action:hover{
    background:#0f9b8e;
    color:#fff;
}

.store-turbo-quickview{
    border:1px solid var(--onv-commerce-line);
    background:#fff;
    color:#064f60;
    box-shadow:0 8px 16px rgba(7,29,37,.08);
}

.modal .modal-dialog,
.modal-dialog{
    max-width:min(940px, calc(100vw - 24px));
}

.modal .modal-content{
    overflow:hidden;
    border-radius:8px;
}

#quickview-content{
    max-height:calc(100vh - 140px);
    overflow:auto;
}

#quickview-content .store-commerce-product-card{
    box-shadow:none;
}

.onv-brand-command{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
    margin-bottom:16px;
    padding:18px;
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:linear-gradient(135deg, #071d25, #0d4c4d);
    color:#fff;
}

.onv-brand-command h2{
    margin:0 0 6px;
    font-size:28px;
    line-height:1.12;
    color:#fff;
    font-weight:950;
}

.onv-brand-command p{
    max-width:720px;
    margin:0;
    color:#d8fffb;
    line-height:1.45;
}

.onv-brand-command-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:flex-end;
}

.onv-brand-command-actions a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:38px;
    padding:9px 12px;
    border:1px solid rgba(255,255,255,.24);
    border-radius:6px;
    background:#fff;
    color:#071d25;
    font-weight:900;
}

.onv-brand-command-actions a:first-child{
    background:var(--onv-commerce-aqua);
}

.onv-brand-path{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    margin-bottom:16px;
}

.onv-brand-path div{
    min-height:72px;
    padding:12px;
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:#fff;
}

.onv-brand-path strong{
    display:block;
    color:var(--onv-commerce-ink);
}

.onv-brand-path span{
    display:block;
    margin-top:3px;
    color:var(--onv-commerce-muted);
    font-size:12px;
    line-height:1.35;
}

#images [data-onv-image-seo-row]{
    display:grid !important;
    grid-template-columns:180px minmax(0,1fr);
    gap:16px;
    margin:14px 0 0 !important;
    padding:14px !important;
    border:1px solid var(--onv-commerce-line) !important;
    border-radius:8px;
    background:#fff;
}

#images [data-onv-image-seo-row] > .col-sm-2,
#images [data-onv-image-seo-row] > .col-sm-10{
    float:none !important;
    width:auto !important;
    max-width:none !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

#images [data-onv-image-seo-row] img{
    width:100%;
    aspect-ratio:1;
    object-fit:contain;
    background:#f7fbfb;
}

#images [data-onv-image-seo-row] label{
    color:var(--onv-commerce-ink);
    font-size:12px;
    font-weight:900;
}

#images [data-onv-image-seo-row] .form-control{
    min-height:38px;
}

@media(max-width:991px){
    .store-product-detail[data-store-turbo-product]{
        grid-template-columns:1fr;
    }
    .store-product-detail[data-store-turbo-product] .store-product-title{
        grid-template-columns:1fr;
    }
    .onv-product-signal-grid,
    .onv-brand-path{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .onv-brand-command{
        grid-template-columns:1fr;
    }
    .onv-brand-command-actions{
        justify-content:flex-start;
    }
}

@media(max-width:640px){
    .store-product-detail[data-store-turbo-product]{
        padding:6px;
    }
    .store-product-detail[data-store-turbo-product] .store-product-main{
        padding:14px;
    }
    .store-product-detail[data-store-turbo-product] .store-product-name{
        font-size:24px;
    }
    .store-product-detail[data-store-turbo-product] .store-product-info,
    .onv-product-signal-grid,
    .onv-brand-path,
    #images [data-onv-image-seo-row]{
        grid-template-columns:1fr;
    }
    #store-js-add-cart-group .btn{
        width:100%;
    }
    .onv-product-source-card{
        align-items:stretch;
        flex-direction:column;
    }
    .onv-product-source-card a,
    .onv-brand-command-actions a{
        justify-content:center;
        width:100%;
    }
}

.onv-product-profile-strip{
    display:grid;
    grid-template-columns:minmax(180px,240px) minmax(0,1fr);
    gap:12px;
    margin:14px 0;
    padding:14px;
    border:1px solid rgba(15,155,142,.24);
    border-radius:8px;
    background:linear-gradient(135deg, rgba(15,155,142,.08), rgba(5,61,73,.05));
}

.onv-product-profile-copy span{
    display:block;
    color:var(--onv-commerce-teal);
    font-size:11px;
    font-weight:950;
    text-transform:uppercase;
}

.onv-product-profile-copy strong{
    display:block;
    margin-top:4px;
    color:var(--onv-commerce-ink);
    font-size:14px;
    line-height:1.3;
}

.onv-product-profile-chips{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.onv-product-profile-chip{
    display:inline-grid;
    grid-template-columns:22px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:8px;
    min-width:150px;
    padding:10px;
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:#fff;
}

.onv-product-profile-chip i{
    grid-row:1 / span 2;
    color:var(--onv-commerce-teal);
    font-size:20px;
}

.onv-product-profile-chip b{
    color:var(--onv-commerce-ink);
    font-size:13px;
    font-weight:950;
    line-height:1.15;
}

.onv-product-profile-chip small{
    margin-top:2px;
    color:var(--onv-commerce-muted);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
}

.onv-product-profile-chip.is-active{
    border-color:rgba(15,155,142,.55);
    box-shadow:0 10px 28px rgba(15,155,142,.12);
}

.onv-commerce-profile-builder{
    padding:14px;
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:#f7fbfb;
}

.onv-commerce-profile-intro{
    display:grid;
    gap:4px;
    margin-bottom:12px;
}

.onv-commerce-profile-intro strong{
    color:var(--onv-commerce-ink);
    font-size:15px;
    font-weight:950;
}

.onv-commerce-profile-intro span{
    color:var(--onv-commerce-muted);
    font-size:13px;
    line-height:1.4;
}

.onv-commerce-profile-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}

.onv-commerce-profile-card{
    display:grid;
    gap:8px;
    min-height:154px;
    padding:12px;
    border:1px solid var(--onv-commerce-line);
    border-radius:8px;
    background:#fff;
    transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.onv-commerce-profile-card.is-selected{
    border-color:rgba(15,155,142,.7);
    box-shadow:0 12px 30px rgba(15,155,142,.12);
    transform:translateY(-1px);
}

.onv-commerce-profile-card label{
    display:grid;
    grid-template-columns:18px 28px minmax(0,1fr);
    grid-template-rows:auto auto;
    gap:4px 8px;
    margin:0;
    cursor:pointer;
}

.onv-commerce-profile-card input[type="checkbox"]{
    grid-row:1 / span 2;
    margin:6px 0 0;
}

.onv-commerce-profile-card .material-symbols-outlined{
    grid-row:1 / span 2;
    width:28px;
    height:28px;
    border-radius:8px;
    background:#e7fbf8;
    color:var(--onv-commerce-teal);
    font-size:19px;
    line-height:28px;
    text-align:center;
}

.onv-commerce-profile-card b{
    color:var(--onv-commerce-ink);
    font-size:13px;
    font-weight:950;
    line-height:1.2;
}

.onv-commerce-profile-card small{
    color:var(--onv-commerce-muted);
    font-size:12px;
    line-height:1.35;
}

.onv-commerce-profile-card select{
    min-height:34px;
}

@media(max-width:991px){
    .onv-product-profile-strip,
    .onv-commerce-profile-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:640px){
    .onv-product-profile-strip,
    .onv-commerce-profile-grid{
        grid-template-columns:1fr;
    }
    .onv-product-profile-chip{
        width:100%;
    }
}
