/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

/* =========================
GLOBAL
========================= */

body{
    background:#f5f7ff;
    font-family:'Inter',sans-serif;
    color:#1c1c1c;
}

.mobile-page{
    max-width:1400px;
}

.mobile-card{
    background:#fff;
    border-radius:7px;
    padding:15px;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
    margin-bottom:24px;
}

.mobile-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
}

.mobile-brand{
    font-size:14px;
    font-weight:600;
}

.mobile-status{
    font-size:13px;
    font-weight:500;
}

/* =========================
HERO
========================= */

.hero-section{
    background:#020135;
    border-radius:7px;
    padding:45px;
    overflow:hidden;
    position:relative;
    color:#fff;
}

.hero-section:before{
    content:'';
    position:absolute;
    right:-120px;
    top:-120px;
    width:420px;
    height:420px;
    background:rgba(255,255,255,.06);
    border-radius:50%;
}

.hero-phone img{
    max-height:520px;
    object-fit:contain;
}

.brand-badge{
    display:inline-block;
    background:#ffcb21;
    color:#111;
    padding:8px 16px;
    border-radius:7px;
    font-size:14px;
    font-weight:700;
    margin-bottom:18px;
}

.hero-title{
    font-size:30px;
    font-weight:800;
    line-height:1.1;
    margin-bottom:18px;
}

.hero-price{
    font-size:14px;
    font-weight:800;
    color:#ffcb21;
}

.hero-price span{
    font-size:24px;
    color:#d9d9d9;
}

.compare-btn{
    background:#fff;
    color:#111;
    border:none;
    border-radius:7px;
    padding:14px 26px;
    font-weight:700;
    margin-top:20px;
    transition:.3s;
}

.compare-btn:hover{
    transform:translateY(-2px);
}

/* =========================
EXPERT SCORE
========================= */

.expert-box{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    border-radius:7px;
    padding:26px;
    margin-top:30px;
    backdrop-filter:blur(12px);
}

.score-circle{
    width:120px;
    height:120px;
    border:6px solid #ffcb21;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    font-weight:800;
    color:#fff;
    margin:auto;
}

.score-stars{
    color:#ffcb21;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:3px;
    margin-top:12px;
    font-size:18px;
    line-height:1;
}

.score-label{
    margin-top:10px;
    font-size:18px;
    font-weight:700;
}

.rating-row{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:18px;
}

.rating-row span{
    min-width:120px;
    font-weight:600;
}

.rating-bar{
    flex:1;
    height:12px;
    background:rgba(255,255,255,.15);
    border-radius:30px;
    overflow:hidden;
}

.rating-fill{
    height:100%;
    border-radius:30px;
    background:linear-gradient(90deg,#ffcb21,#ff8c00);
}

.rating-value{
    font-weight:700;
    width:40px;
    text-align:right;
}


/* =========================
QUICK SPECS
========================= */

.quick-specs{
    margin-top:28px;
}

.spec-card{
    background:#fff;
    border-radius:7px;
    padding:22px 20px;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
    transition:.3s;
    height:100%;

    /* NEW LAYOUT */
    display:flex;
    align-items:center;
    gap:18px;
}

.spec-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.spec-icon{
    width:62px;
    height:62px;
    min-width:62px;
    border-radius:7px;
    background:#f5f7ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    color:#020135;
}

.spec-content{
    flex:1;
}

.spec-title{
    font-size:14px;
    font-weight:600;
    color:#777;
    margin-bottom:6px;
    line-height:1;
}

.spec-main{
    font-size:24px;
    font-weight:800;
    line-height:1.2;
    color:#111;
    margin-bottom:4px;
}

.spec-sub{
    font-size:13px;
    color:#888;
    line-height:1.4;
}

/* MOBILE */

@media(max-width:768px){

    .spec-card{
        padding:18px 16px;
        gap:14px;
        border-radius:7px;
    }

    .spec-icon{
        width:52px;
        height:52px;
        min-width:52px;
        font-size:22px;
        border-radius:7px;
    }

    .spec-main{
        font-size:20px;
    }

    .spec-title{
        font-size:13px;
    }

    .spec-sub{
        font-size:12px;
    }
}

/* =========================
TABS
========================= */

.spec-tabs .nav-tabs{
    border:none;
    gap:12px;
    flex-wrap:nowrap;
    overflow:auto;
}

.spec-tabs .nav-link{
    border:none;
    background:#f3f4ff;
    color:#222;
    border-radius:7px;
    padding:12px 22px;
    font-weight:700;
    white-space:nowrap;
}

.spec-tabs .nav-link.active{
    background:#020135;
    color:#fff;
}

.spec-table{
    margin-top:20px;
}

.spec-table table{
    margin:0;
}

.spec-table th{
    width:280px;
    background:#f8f9ff;
    font-weight:700;
}

.spec-table td,
.spec-table th{
    padding:16px !important;
    border-color:#edf0ff !important;
}

/* =========================
PROS CONS
========================= */

.pros-box,
.cons-box{
    border-radius:7px;
    padding:28px;
    height:100%;
}

.pros-box{
    background:#f1fff1;
    border:2px solid #b7efb7;
}

.cons-box{
    background:#fff2f2;
    border:2px solid #ffcaca;
}

.pros-box h3,
.cons-box h3{
    font-size:20px;
    font-weight:800;
    margin-bottom:22px;
}

.pros-box ul,
.cons-box ul{
    padding-left:18px;
}

.pros-box li,
.cons-box li{
    margin-bottom:14px;
    font-size:18px;
}

/* =========================
REVIEW
========================= */

.review-summary .glsr-summary{
    max-width:100%;
}

.review-section h2{
    font-size:34px;
    font-weight:800;
    margin-bottom:22px;
}

.review-form input,
.review-form textarea{
    border-radius:7px !important;
    border:1px solid #dfe3ff !important;
    padding:14px !important;
}

.review-form button{
    background:#4a56ff !important;
    border:none !important;
    border-radius:7px !important;
    padding:14px 28px !important;
    font-weight:700 !important;
}

/* =========================
FAQ
========================= */

.faq-item{
    border:1px solid #edf0ff;
    border-radius:7px;
    margin-bottom:14px;
    overflow:hidden;
}

.faq-item button{
    width:100%;
    border:none;
    background:#fff;
    padding:18px 22px;
    text-align:left;
    font-weight:700;
}

.compare-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.compare-item{
    background:#f7f8ff;
    padding:18px;
    border-radius:7px;
    text-decoration:none;
    color:#222;
    font-weight:600;
    transition:.3s;
}

.compare-item:hover{
    background:#4a56ff;
    color:#fff;
}

.h2, h2 {
        font-size: 1.2rem;
    }
    .h3, h3 {
        font-size: 1.2rem;
    }
/* =========================
RESPONSIVE
========================= */

@media(max-width:991px){

    .hero-section{
        padding:30px;
    }

    .hero-title{
        font-size:42px;
    }

    .hero-price{
        font-size:16px;
    }

    .score-circle{
        width:100px;
        height:100px;
        font-size:34px;
    }

}

@media(max-width:767px){

    .hero-title{
        font-size:34px;
    }

    .hero-price{
        font-size:16px;
    }

    .hero-phone{
        text-align:center;
        margin-bottom:30px;
    }

    .rating-row span{
        min-width:90px;
        font-size:14px;
    }

    .spec-main{
        font-size:22px;
    }

}

/* =========================
BREADCRUMB
========================= */

.mobile-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:22px;
    font-size:14px;
    font-weight:500;
}

.mobile-breadcrumb a{
    color:#6b6b6b;
    text-decoration:none;
    transition:.3s;
}

.mobile-breadcrumb a:hover{
    color:#4a56ff;
}

.mobile-breadcrumb span{
    color:#999;
}

.mobile-breadcrumb .current{
    color:#111;
    font-weight:700;
}

/* =========================
RELATED PHONES
========================= */

.related-section h2{
    font-size:22px;
    margin:0;
}

.view-all{
    text-decoration:none;
    font-weight:700;
    color:#020135;
}

.related-card{
    display:block;
    background:#f7f8ff;
    border-radius:7px;
    overflow:hidden;
    text-decoration:none;
    color:#111;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
    transition:.3s;
    height:100%;
}

.related-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,0,0,.08);
}

.related-image{
    background:#fff;
    padding:0px;
    text-align:center;
}

.related-image img{
    max-height:220px;
    object-fit:contain;
}

.related-content{
    padding:22px;
}

.related-brand{
    color:#020135;
    font-size:14px;
    font-weight:700;
    margin-bottom:5px;
}

.related-title{
    font-size:20px;
    font-weight:700;
    line-height:1.4;
    margin-bottom:5px;
}

.related-price{
    font-size:14px;
    font-weight:800;
    margin-bottom:5px;
}

.related-specs{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    color:#666;
    font-size:14px;
}

/* MOBILE */

@media(max-width:767px){

    .related-section h2{
        font-size:26px;
    }

    .related-title{
        font-size:18px;
    }

    .related-price{
        font-size:24px;
    }

}

/* RELATED RATING */

.related-rating{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:2px;
    padding-top:2px;
    border-top:1px solid #edf0ff;
}

.related-stars{
    color:#ffb400;
    font-size:18px;
    letter-spacing:2px;
}

.related-rating-number{
    font-size:15px;
    font-weight:700;
    color:#111;
}

/* =========================
   EXPERT VERDICT PREMIUM
========================= */

.expert-verdict-card{
    background:#fff;
    border-radius:7px;
    padding:28px;
    box-shadow:0 10px 35px rgba(0,0,0,0.06);
    height:100%;
    position:relative;
    overflow:hidden;
    border:1px solid #ececff;
}

.expert-verdict-card:before{
    content:'🏆';
    position:absolute;
    top:-1px;
    right:20px;
    font-size:80px;
    opacity:.05;
    transform:rotate(-12deg);
    pointer-events:none;
}

.expert-top{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:20px;
    position:relative;
    z-index:2;
}

.expert-icon{
    width:64px;
    height:64px;
    border-radius:7px;
    background:#020135;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:28px;
    box-shadow:0 10px 25px rgba(79,70,255,0.35);
}

.expert-head h3{
    margin:0;
    font-size:25px;
    font-weight:800;
    color:#111827;
}

.expert-badge{
    display:inline-block;
    padding:5px 12px;
    border-radius:7px;
    background:#eef2ff;
    color:#020135;
    font-size:12px;
    font-weight:700;
    margin-bottom:8px;
}

.expert-text{
    color:#555;
    line-height:1.8;
    font-size:15px;
    margin-bottom:25px;
    position:relative;
    z-index:2;
}

.expert-score-wrap{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    position:relative;
    z-index:2;
}

.expert-score-box{
    min-width:130px;
    background:linear-gradient(135deg,#4f46ff,#6a5cff);
    border-radius:7px;
    padding:20px;
    text-align:center;
    color:#fff;
    box-shadow:0 10px 25px rgba(79,70,255,0.25);
}

.score-number{
    display:block;
    font-size:42px;
    font-weight:800;
    line-height:1;
}

.score-label{
    font-size:13px;
    opacity:0.9;
}

.recommend-box{
    flex:1;
}

.recommend-tag{
    display:inline-block;
    padding:10px 18px;
    border-radius:7px;
    font-size:14px;
    font-weight:700;
    margin-bottom:16px;
}

.recommend-green{
    background:#e8fff0;
    color:#0f9f50;
}

.recommend-blue{
    background:#eef2ff;
    color:#4f46ff;
}

.recommend-orange{
    background:#fff3e7;
    color:#ff8a00;
}

.expert-mini-points{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.expert-mini-points span{
    font-size:14px;
    font-weight:600;
    color:#374151;
}

/* MOBILE */

@media(max-width:768px){

    .expert-head h3{
        font-size:24px;
    }

    .expert-score-wrap{
        flex-direction:column;
        align-items:flex-start;
    }

    .expert-score-box{
        width:100%;
    }

}

.specs-table-wrapper{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:7px;
}

.specs-table{
    min-width:700px;
    margin-bottom:0;
}

.specs-table th{
    background:#f7f7fb;
    font-weight:700;
    white-space:nowrap;
}

.specs-table td{
    white-space:nowrap;
}

@media(max-width:768px){

.specs-table-wrapper::-webkit-scrollbar{
    height:5px;
}

.specs-table-wrapper::-webkit-scrollbar-thumb{
    background:#c7c7c7;
    border-radius:7px;
}

}

/* =========================
PREMIUM MEDIA HUB
========================= */

.premium-media-hub{
    background:#fff;
    border-radius:7px;
    padding:8px;
    margin:50px 0;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.media-tabs{
    gap:12px;
    border:none;
    margin-bottom:30px;
    flex-wrap:nowrap;
    overflow:auto;
}

.media-tabs .nav-link{
    border:none;
    background:#f5f5f7;
    border-radius:7px;
    padding:14px 22px;
    color:#111;
    font-weight:600;
    white-space:nowrap;
}

.media-tabs .nav-link.active{
    background:#05014a;
    color:#fff;
}

.media-tab-content{
    min-height:300px;
}

.media-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.media-item{
    overflow:hidden;
    border-radius:7px;
    background:#f5f5f7;
}

.media-item img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:.4s;
}

.media-item:hover img{
    transform:scale(1.05);
}

/* VIDEO */

.video-review-box iframe{
    width:100%;
    height:550px;
    border:none;
    border-radius:7px;
}

/* 360 */

.spin-wrapper iframe{
    width:100%;
    height:600px;
    border:none;
    border-radius:7px;
}

/* RESPONSIVE */

@media(max-width:991px){

.media-grid{
    grid-template-columns:repeat(2,1fr);
}

.video-review-box iframe,
.spin-wrapper iframe{
    height:420px;
}

}

@media(max-width:767px){

.premium-media-hub{
    padding:20px;
}

.media-grid{
    grid-template-columns:1fr;
}

.media-item img{
    height:240px;
}

.video-review-box iframe,
.spin-wrapper iframe{
    height:280px;
}

}

/* =========================
PHOTO SLIDER
========================= */

.gallery-wrapper{
    position:relative;
}

/* SLIDER */

.phone-gallery-slider{
    display:flex;
    gap:20px;

    overflow-x:auto;

    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;

    scrollbar-width:none;
    -ms-overflow-style:none;
}

.phone-gallery-slider::-webkit-scrollbar{
    display:none;
}

/* CARD */

.gallery-card{
    flex:0 0 calc(33.333% - 14px);

    background:#f7f8ff;

    border-radius:7px;

    overflow:hidden;

    scroll-snap-align:start;

    transition:.3s;
}

.gallery-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 28px rgba(0,0,0,.08);
}

/* IMAGE */

.gallery-card img{
    width:100%;
    height:420px;

    object-fit:contain;

    display:block;

    padding:20px;
}

/* ARROWS */

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:52px;
    height:52px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.95);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;
    color:#111;

    box-shadow:0 8px 24px rgba(0,0,0,.12);

    z-index:10;

    transition:.3s;
}

.gallery-arrow:hover{
    transform:translateY(-50%) scale(1.08);
}

.gallery-arrow.left{
    left:-15px;
}

.gallery-arrow.right{
    right:-15px;
}

/* TABLET */

@media(max-width:991px){

    .gallery-card{
        flex:0 0 calc(50% - 10px);
    }

}

/* MOBILE */

@media(max-width:767px){

    .gallery-card{
        flex:0 0 100%;
    }

    .gallery-card img{
        height:320px;
        padding:15px;
    }

    .gallery-arrow{
        width:42px;
        height:42px;
        font-size:18px;
    }

    .gallery-arrow.left{
        left:5px;
    }

    .gallery-arrow.right{
        right:5px;
    }

}

.phy-hero-wrap{
    max-width:1400px;
    margin:0 auto 30px auto;
}

.phy-hero{
    width:100%;
}
.phy-hero{
background:#03033c;
border-radius:7px;
overflow:hidden;
color:#fff;
position:relative;
}

.phy-device-panel{
padding:24px;
text-align:center;
border-right:1px solid rgba(255,255,255,.08);
}

.phy-device-image img{
max-height:430px;
object-fit:contain;
}

.phy-colors{
display:flex;
justify-content:center;
gap:12px;
margin:20px 0;
}

.phy-colors span{
width:18px;
height:18px;
border-radius:50%;
background:#ddd;
}

.phy-price{
font-size:36px;
font-weight:800;
color:#ffcb21;
}

.phy-price small{
font-size:20px;
color:#fff;
}

.phy-compare-btn{
margin-top:20px;
width:100%;
max-width:260px;
height:55px;
border:none;
border-radius:12px;
background:#fff;
font-weight:700;
}

.phy-content-panel{
padding:24px;
}

.phy-brand{
display:inline-block;
background:#ffcb21;
color:#111;
padding:3px 7px;
font-size:13px;
border-radius:8px;
font-weight:700;
}

.phy-title{
font-size:30px;
font-weight:700;
margin:18px 0;
}

.phy-summary{
font-size:16px;
color:#d4d4d4;
margin:5px 0;
}

.phy-rating-section{
display:flex;
gap:40px;
margin-top:35px;
}

.phy-score-circle{
width:100px;
height:100px;
border:6px solid #ffcb21;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:34px;
font-weight:800;
}

.phy-stars{
    display:flex;
    justify-content:center;
    gap:3px;
    color:#ffcb21;
    font-size:20px;
    margin-top:12px;
}

.phy-bars{
flex:1;
}

.phy-bar-row{
display:flex;
align-items:center;
gap:15px;
margin-bottom:21px;
}

.phy-bar-row span{
width:120px;
}

.phy-bar{
flex:1;
height:14px;
background:rgba(255,255,255,.12);
border-radius:50px;
}

.phy-fill{
height:100%;
border-radius:50px;
background:linear-gradient(90deg,#ffcb21,#ff9900);
}

.phy-spec-strip{
display:grid;
grid-template-columns:repeat(6,1fr);
border-top:1px solid rgba(255,255,255,.08);
}

.phy-spec{
padding:10px;
text-align:center;
}

.phy-spec strong{
display:block;
font-size:18px;
}

.phy-spec span{
color:#bfbfbf;
font-size:13px;
}

@media(max-width:991px){

.phy-title{
font-size:34px;
}

.phy-rating-section{
flex-direction:column;
}

.phy-spec-strip{
grid-template-columns:repeat(2,1fr);
}

.phy-device-panel{
border-right:none;
border-bottom:1px solid rgba(255,255,255,.08);
}

}

.phy-top-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
}

.phy-award{
    width:140px;
    min-width:140px;
    height:170px;
    color:#111;
    border-radius:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-weight:800;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.phy-award i{
    font-size:42px;
    margin-bottom:10px;
}

.phy-award span{
    font-size:15px;
    line-height:1.4;
}

.phy-spec-icon{
    width:52px;
    height:52px;
    margin:0 auto 12px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
}

.phy-spec-icon i{
    font-size:22px;
    color:#ffcb21;
}

.phy-colors{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin:18px 0;
    flex-wrap:wrap;
}

.phy-color-dot{
    width:22px;
    height:22px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.25);
    box-shadow:0 2px 6px rgba(0,0,0,.15);
    transition:all .25s ease;
    cursor:pointer;
}

.phy-color-dot:hover{
    transform:scale(1.15);
    border-color:#fff;
}