*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f6f8fb;
    color:#071733;
}

a{
    text-decoration:none;
    color:inherit;
}

/* HEADER */
.product-topbar{
    max-width:1320px;
    height:74px;
    margin:14px auto 0;
    padding:0 32px;
    background:#001631;
    border-radius:12px 12px 0 0;
    display:flex;
    align-items:center;
    gap:42px;
    color:white;
}

.product-logo{
    font-size:34px;
    font-weight:900;
    letter-spacing:-1px;
}

.product-logo span{
    color:#ff9700;
}

.product-search{
    flex:1;
    max-width:680px;
    height:46px;
    display:flex;
    background:white;
    border-radius:6px;
    overflow:hidden;
}

.product-search input{
    flex:1;
    border:none;
    outline:none;
    padding:0 18px;
    font-size:14px;
    color:#071733;
}

.product-search button{
    width:64px;
    border:none;
    background:#ff9700;
    color:white;
    font-size:20px;
    cursor:pointer;
}

.product-header-icons{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:10px;
}

.product-header-icons a{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 13px;
    border:1px solid rgba(255,255,255,.28);
    border-radius:7px;
    color:white;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
}

.product-header-icons a:hover{
    border-color:#ff9700;
    color:#ffb13b;
}

.cart-count{
    position:absolute;
    top:-10px;
    right:-13px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#ff9700;
    color:white;
    font-size:12px;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* BREADCRUMB */
.product-breadcrumb{
    max-width:1320px;
    margin:0 auto;
    padding:24px 32px 12px;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:#7b8798;
    background:#f6f8fb;
}

.product-breadcrumb strong{
    color:#071733;
}

/* MAIN */
.product-detail-page{
    max-width:1320px;
    margin:0 auto;
    padding:12px 32px 24px;
    display:grid;
    grid-template-columns:640px 1fr;
    gap:52px;
    background:#f6f8fb;
}

/* GALLERY */
.product-gallery-area{
    display:grid;
    grid-template-columns:74px 1fr;
    gap:18px;
}

.product-thumbs{
    display:flex;
    flex-direction:column;
    gap:13px;
}

.thumb{
    width:64px;
    height:64px;
    border:1px solid #e5e9f0;
    border-radius:8px;
    background:white;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.thumb.active{
    border-color:#ff9700;
}

.thumb img{
    width:54px;
    height:54px;
    object-fit:contain;
}

.main-product-image{
    min-height:520px;
    background:white;
    border-radius:12px;
    box-shadow:0 10px 28px rgba(8,20,50,.06);
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:35px;
}

.main-product-image img{
    max-width:100%;
    max-height:440px;
    object-fit:contain;
}

.detail-discount-badge{
    position:absolute;
    top:26px;
    left:26px;
    background:#ff3b30;
    color:white;
    border-radius:999px;
    padding:8px 14px;
    font-size:14px;
    font-weight:900;
}

/* SUMMARY */
.product-summary{
    padding-top:14px;
}

.product-summary h1{
    margin:0 0 10px;
    font-size:30px;
    line-height:1.25;
    color:#071733;
}

.product-category-text{
    margin:0 0 14px;
    font-size:15px;
    color:#687386;
}

.rating-row{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:18px;
    font-size:13px;
    color:#7b8798;
}

.stars{
    color:#ff9700;
    letter-spacing:1px;
    font-size:14px;
}

.stock-badge{
    color:#21a35b;
    font-weight:800;
}

.product-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:24px;
    font-size:14px;
    color:#39475e;
}

.product-meta b{
    color:#071733;
}

.product-price-box{
    margin:0 0 26px;
}

.detail-price,
#productPrice{
    font-size:30px;
    font-weight:900;
    color:#ff5b00;
}

.detail-price del,
#productPrice del{
    margin-left:12px;
    color:#9aa4b2;
    font-size:18px;
    font-weight:500;
}

/* BUY */
.buy-actions{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:22px;
}

.qty-box{
    width:110px;
    height:46px;
    border:1px solid #e2e7ef;
    border-radius:7px;
    overflow:hidden;
    background:white;
    display:flex;
    align-items:center;
}

.qty-box button{
    width:34px;
    height:46px;
    border:none;
    background:#f8fafc;
    color:#071733;
    font-size:18px;
    font-weight:900;
    cursor:pointer;
}

.qty-box span{
    flex:1;
    text-align:center;
    font-weight:900;
    color:#071733;
}

.add-cart-btn{
    height:52px;
    min-width:230px;
    border:none;
    border-radius:7px;
    background:#ff9700;
    color:white;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}

.buy-now-btn{
    height:52px;
    min-width:130px;
    padding:0 22px;
    border:none;
    border-radius:7px;
    background:#071733;
    color:white;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}

.buy-now-btn:hover{
    background:#12325c;
}

.favorite-btn{
    width:auto;
    min-width:155px;
    height:52px;
    padding:0 18px;
    border:1px solid #dfe5ee;
    border-radius:7px;
    background:white;
    color:#071733;
    font-size:26px;
    cursor:pointer;
}

.saving-box{
    background:#eef6f2;
    color:#26384d;
    border-radius:8px;
    padding:15px 18px;
    margin-bottom:26px;
    font-size:14px;
}

.saving-box b{
    color:#071733;
}

/* SELLER BENEFITS */
.seller-box{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:24px;
}

.seller-box div{
    display:flex;
    flex-direction:column;
    gap:4px;
    position:relative;
    padding-left:36px;
}

.seller-box div::before{
    content:"🚚";
    position:absolute;
    left:0;
    top:2px;
    font-size:22px;
}

.seller-box div:nth-child(2)::before{
    content:"↩️";
}

.seller-box div:nth-child(3)::before{
    content:"⚙️";
}

.seller-box b{
    font-size:13px;
    color:#071733;
}

.seller-box p{
    margin:0;
    font-size:12px;
    color:#7b8798;
}

/* DESCRIPTION */
.product-description-section{
    max-width:1256px;
    margin:0 auto 50px;
    padding:30px 32px 34px;
    border:1px solid #e5e9f0;
    border-radius:14px;
    background:#fff;
    box-shadow:0 10px 28px rgba(8,20,50,.06);
}

.product-description-heading{
    padding-bottom:18px;
    border-bottom:1px solid #edf0f5;
}

.product-description-heading span{
    display:block;
    margin-bottom:6px;
    color:#ff9700;
    font-size:12px;
    font-weight:800;
    letter-spacing:.7px;
    text-transform:uppercase;
}

.product-description-heading h2{
    margin:0;
    color:#071733;
    font-size:13px;
    font-weight:800;
}

.product-description-body{
    padding-top:22px;
}

#productDescription{
    margin:0;
    color:#46536a;
    font-size:15px;
    line-height:1.8;
    white-space:pre-line;
}

.product-specifications{
    margin-top:28px;
    padding-top:24px;
    border-top:1px solid #edf0f5;
}

.product-specifications h3{
    margin:0 0 16px;
    color:#071733;
    font-size:18px;
}

.product-spec-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 14px;
    margin:0;
}

.product-spec-list>div{
    display:grid;
    grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);
    gap:12px;
    align-items:center;
    min-height:52px;
    padding:11px 14px;
    border:1px solid #e8ecf2;
    border-radius:8px;
    background:#f8fafc;
}

.product-spec-list dt{
    color:#748095;
    font-size:12px;
    font-weight:600;
}

.product-spec-list dd{
    margin:0;
    color:#16233a;
    font-size:13px;
    font-weight:800;
    overflow-wrap:anywhere;
}

.product-spec-empty{
    grid-column:1/-1;
    padding:16px;
    border-radius:8px;
    background:#f8fafc;
    color:#7b8798;
    font-size:13px;
}

.product-recommendations{
    max-width:1256px;
    margin:0 auto 34px;
    padding:28px 32px 32px;
    border:1px solid #e5e9f0;
    border-radius:14px;
    background:#fff;
    box-shadow:0 10px 28px rgba(8,20,50,.05);
}

.product-recommendations-heading{margin-bottom:20px}
.product-recommendations-heading span{display:block;margin-bottom:5px;color:#ff9700;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}
.product-recommendations-heading h2{margin:0;color:#071733;font-size:23px}
.product-recommendations-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.recommendation-card{min-width:0;border:1px solid #e7ebf1;border-radius:10px;background:#fff;overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}
.recommendation-card:hover{transform:translateY(-4px);border-color:#ffb65b;box-shadow:0 12px 25px rgba(8,20,50,.1)}
.recommendation-card>a{display:flex;height:100%;padding:12px;flex-direction:column}
.recommendation-image{display:flex;height:130px;align-items:center;justify-content:center;margin-bottom:10px;border-radius:8px;background:#f8fafc;color:#8a95a5;font-size:11px}
.recommendation-image img{width:100%;height:100%;object-fit:contain}
.recommendation-card p{margin:0 0 5px;color:#7b8798;font-size:11px;font-weight:700}
.recommendation-card h3{min-height:52px;margin:0 0 10px;color:#17233a;font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.recommendation-price{display:flex;align-items:baseline;gap:7px;margin-top:auto;flex-wrap:wrap}
.recommendation-price strong{color:#ff5b00;font-size:17px}
.recommendation-price del{color:#939eae;font-size:11px}
.recommendation-link{display:flex;align-items:center;justify-content:center;min-height:34px;margin-top:11px;border-radius:6px;background:#071733;color:#fff;font-size:11px;font-weight:800}

@media(max-width:1050px){.product-recommendations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* RESPONSIVE */
@media(max-width:1050px){
    .product-detail-page{
        grid-template-columns:1fr;
        gap:32px;
    }

    .product-gallery-area{
        grid-template-columns:70px 1fr;
    }
}

@media(max-width:720px){
    .product-topbar{
        height:auto;
        flex-direction:column;
        align-items:stretch;
        padding:20px;
        gap:16px;
    }

    .product-header-icons{
        margin-left:0;
        justify-content:flex-end;
    }

    .product-detail-page,
    .product-description-section,
    .product-recommendations,
    .product-breadcrumb{
        padding-left:16px;
        padding-right:16px;
    }

    .product-gallery-area{
        grid-template-columns:1fr;
    }

    .product-thumbs{
        order:2;
        flex-direction:row;
    }

    .main-product-image{
        min-height:360px;
    }

    .product-summary h1{
        font-size:24px;
    }

    .product-meta,
    .seller-box{
        grid-template-columns:1fr;
    }

    .buy-actions{
        flex-wrap:wrap;
    }

    .add-cart-btn,
    .buy-now-btn{
        flex:1;
        min-width:180px;
    }

    .product-spec-list{grid-template-columns:1fr}
    .product-recommendations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .product-recommendations{margin-bottom:22px;padding-top:22px;padding-bottom:24px}
    .recommendation-image{height:120px}
}

.qty-box,
.qty-box button,
.qty-box span{
    position:relative;
    z-index:9999;
    pointer-events:auto;
}

.search-box {
    position: relative;
}

.site-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    max-height: 420px;
    overflow-y: auto;
}

.search-product-result,
.search-brand-result,
.search-empty {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    color: #0b1833;
    background: #fff;
}

.search-product-result {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-product-result img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.search-product-info {
    display: flex;
    flex-direction: column;
}

.search-product-info small {
    color: #777;
}

.search-label {
    color: #777;
    margin-right: 6px;
}

.search-value {
    font-weight: 700;
}

.search-product-result:hover,
.search-brand-result:hover {
    background: #f5f7fb;
}

.product-topbar,
.product-search,
.search-box {
    overflow: visible !important;
}

.product-topbar {
    position: relative;
    z-index: 1000;
}

.site-search-results {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    width: 100% !important;
    display: block;
    z-index: 99999 !important;
}
html, body, button, input, select, textarea {
    font-family: "Segoe UI", "Noto Sans", Arial, sans-serif !important;
}

.detail-installment-offer{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:5px 18px;
    margin-top:15px;
    padding:14px 16px;
    border:1px solid #efc7df;
    border-radius:9px;
    background:#fff7fc;
    color:#263247;
    font-size:13px;
}

.detail-installment-offer b,
.detail-installment-offer span{display:block}
.detail-installment-offer b{margin-bottom:4px;color:#be3287;font-size:15px}
.detail-installment-offer span,
.detail-installment-offer small{color:#707b8c}
.detail-installment-offer strong{color:#be3287;white-space:nowrap}
.detail-installment-offer small{grid-column:1/-1;font-size:11px}
.detail-installment-plans{display:grid !important;grid-template-columns:repeat(4,minmax(72px,1fr));grid-column:1/-1;gap:7px;margin-top:5px}
.detail-installment-plans>span{padding:7px 8px;border-radius:6px;background:#fbe8f4;text-align:center}
.detail-installment-plans b{margin:0 0 2px;color:#9f226d;font-size:12px}
.detail-installment-plans small{display:block;color:#6f5364;font-size:10px}

@media(max-width:560px){
    .detail-installment-offer{grid-template-columns:1fr}
    .detail-installment-offer small{grid-column:auto}
    .detail-installment-plans{grid-template-columns:repeat(2,minmax(0,1fr));grid-column:auto}
}
