/* Go Mobile Hub — page-specific CSS module. */
/* =========================
   Device Pages (Unified)
========================= */
.iphone-models-page,
.A-brand-page,
.Smartphone-brand-page,
.Android-brand-page,
.laptop-brand-page,
.tablet-brand-page {
    width: 90%;
    max-width: 1300px;
    margin: 30px auto 60px;
}

.iphone-page-header,
.Smartphone-page-header,
.Android-page-header,
.laptop-page-header,
.tablet-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.iphone-page-header h1,
.Smartphone-page-header h1,
.Android-page-header h1,
.laptop-page-header h1,
.tablet-page-header h1 {
    font-size: 36px;
    color: #0F172A;
}

.iphone-search-box,
.Smartphone-search-box,
.Android-search-box,
.laptop-search-box,
.tablet-search-box {
    width: 320px;
    height: 52px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0 16px;
}

.iphone-search-box input,
.Smartphone-search-box input,
.Android-search-box input,
.laptop-search-box input,
.tablet-search-box input {
    width: 100%;
    border: none;
    outline: none;
    margin-left: 10px;
    font-size: 15px;
}

.iphone-search-box i,
.Android-search-box i,
.laptop-search-box i,
.tablet-search-box i {
    color: #64748B;
}

/* Unified Device Grid */
.iphone-models-grid,
.Smartphone-models-grid,
.Android-models-grid,
.laptop-models-grid,
.tablet-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 22px;
}

/* Unified Card */
.iphone-model-card,
.brand-card,
.laptop-card,
.tablet-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 14px;
    text-decoration: none;
    border: 1px solid #E2E8F0;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
}

.brand-card a{
    text-decoration: none;
}

.iphone-model-card:hover,
.brand-card:hover,
.laptop-card:hover,
.tablet-card:hover {
    border-color: #2563EB;
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

/* Breadcrumb */

.iphone-breadcrumb,
.Smartphone-breadcrumb,
.Android-breadcrumb,
.laptop-breadcrumb,
.tablet-breadcrumb {
    color: #64748B;
    margin-bottom: 8px;
    font-size: 14px;
}

.breadcrumb a,
.iphone-breadcrumb a,
.laptop-breadcrumb a,
.tablet-breadcrumb a{
    text-decoration: none;
}

.breadcrumb {
    color: #64748B;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb-nav,
.iphone-breadcrumb,
.Smartphone-breadcrumb,
.Android-breadcrumb,
.laptop-breadcrumb,
.tablet-breadcrumb,
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748B;
}

.breadcrumb-nav a,
.iphone-breadcrumb a,
.Smartphone-breadcrumb a,
.Android-breadcrumb a,
.laptop-breadcrumb a,
.tablet-breadcrumb a,
.breadcrumb a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.breadcrumb-nav a:hover,
.iphone-breadcrumb a:hover,
.Android-breadcrumb a:hover,
.laptop-breadcrumb a:hover,
.tablet-breadcrumb a:hover,
.breadcrumb a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

.breadcrumb-nav span,
.iphone-breadcrumb span,
.Android-breadcrumb span,
.laptop-breadcrumb span,
.tablet-breadcrumb span,
.breadcrumb span {
    color: #94A3B8;
}

.breadcrumb-nav .current,
.iphone-breadcrumb .current,
.Android-breadcrumb .current,
.laptop-breadcrumb .current,
.tablet-breadcrumb .current,
.breadcrumb .current {
    color: #0F172A;
    font-weight: 600;
    pointer-events: none;
}


/* Image Container – forces equal size & centering */
.device-img-wrap {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.device-img-wrap img,
.iphone-model-card img,
.brand-card img,
.laptop-card img,
.tablet-card img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.iphone-model-card span,
.brand-card span,
.laptop-card span,
.tablet-card span {
    display: block;
    color: #0F172A;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

/* =========================================================
   SMARTPHONE BRAND PAGE – parity with laptop / tablet / Android
   (Smartphone.html uses Smartphone-* and A-brand-page classes)
   ========================================================= */

.A-brand-page,
.Smartphone-brand-page {
    width: 90%;
    max-width: 1300px;
    margin: 30px auto 60px;
}

.Smartphone-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.Smartphone-page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.Smartphone-breadcrumb {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 10px;
}

.Smartphone-breadcrumb a {
    color: #2563EB;
    text-decoration: none;
}

.Smartphone-breadcrumb a:hover {
    text-decoration: underline;
}

.Smartphone-breadcrumb .current {
    color: #0F172A;
    font-weight: 500;
}

.Smartphone-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #E2E8F0;
    border-radius: 40px;
    padding: 10px 18px;
    min-width: 240px;
}

.Smartphone-search-box i {
    color: #94A3B8;
}

.Smartphone-search-box input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    background: transparent;
    color: #0F172A;
}

.Smartphone-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 22px;
}

/* Ensure brand cards on Smartphone page match other brand cards */
.A-brand-page .brand-card,
.Smartphone-models-grid .brand-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 14px;
    text-decoration: none;
    border: 1px solid #E2E8F0;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
    color: #0F172A;
    font-weight: 600;
    font-size: 14px;
}

.A-brand-page .brand-card:hover,
.Smartphone-models-grid .brand-card:hover {
    border-color: #2563EB;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

/* Shared device image container – already defined; reinforce */
.Smartphone-models-grid .device-img-wrap,
.laptop-models-grid .device-img-wrap,
.tablet-models-grid .device-img-wrap {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.Smartphone-models-grid .device-img-wrap img,
.laptop-models-grid .device-img-wrap img,
.tablet-models-grid .device-img-wrap img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

/* Mobile parity for Smartphone page */
@media (max-width: 768px) {
    .Smartphone-page-header,
    .laptop-page-header,
    .tablet-page-header,
    .iphone-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .Smartphone-search-box,
    .laptop-search-box,
    .tablet-search-box,
    .iphone-search-box {
        width: 100%;
        min-width: 0;
    }

    .Smartphone-models-grid,
    .laptop-models-grid,
    .tablet-models-grid,
    .iphone-models-grid,
    .Android-models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .A-brand-page .brand-card,
    .Smartphone-models-grid .brand-card,
    .laptop-card,
    .tablet-card,
    .iphone-model-card {
        min-height: 180px;
        padding: 14px 10px;
    }
}


/* Device-category pages on phones */
@media(max-width:600px){.iphone-models-page,.A-brand-page,.Smartphone-brand-page,.Android-brand-page,.laptop-brand-page,.tablet-brand-page{width:calc(100% - 24px);margin:16px auto 36px}.iphone-models-grid,.Smartphone-models-grid,.Android-models-grid,.laptop-models-grid,.tablet-models-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.iphone-model-card,.brand-card,.laptop-card,.tablet-card{min-width:0;min-height:170px;padding:11px 8px}.device-img-wrap{height:108px;padding:8px}.device-img-wrap img{width:100%;height:100%;object-fit:contain}.iphone-search-box,.Android-search-box,.laptop-search-box,.tablet-search-box{width:100%;max-width:none}}
@media(max-width:350px){.iphone-models-grid,.Smartphone-models-grid,.Android-models-grid,.laptop-models-grid,.tablet-models-grid{grid-template-columns:1fr}}
