/* =========================================================
                 MOBILE SPECIFICATIONS PAGE
   ========================================================= */


/* ===== DEVICE HERO CARD ===== */

.card-body {
    margin: 30px 0;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

@media (max-width: 991px) {
    .card-body {
        margin: 10px 0 30px;
        padding: 0 12px;
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .card-body {
        margin: 10px 4px 20px;
        padding: 25px 5px;
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
        border-radius: 4px;
    }
}


/* ===== DEVICE IMAGE AREA ===== */

.image-area {
    width: 40%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.image-area img {
    width: auto;
    height: 330px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .image-area {
        width: 44%;
    }

    .image-area img {
        height: 310px;
    }
}

@media (max-width: 767px) {
    .image-area {
        width: 100%;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .image-area img {
        height: 225px;
        bottom: 0;
    }
}


/* ===== DEVICE INFO AREA ===== */

.info-area {
    width: 60%;
    height: 100%;
    padding: 0 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #ebebeb;
}

@media (max-width: 991px) {
    .info-area {
        width: 56%;
        padding: 0 8px;
    }
}

@media (max-width: 767px) {
    .info-area {
        width: 100%;
        padding: 5px 10px 10px;
        border: 1px solid #ebebeb;
        border-radius: 4px;
    }
}


/* ===== PRICE ===== */

.price-box {
    margin-bottom: 10px;
}

.p-label {
    padding-left: 10px;
    color: #000000;
    font-size: 11px;
    font-weight: 700;
}

.p-value {
    padding-left: 10px;
    color: #000099;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-shadow: 0 3px 14px rgba(0, 86, 179, 0.15);
}

@media (max-width: 991px) {
    .price-box {
        margin-bottom: 7px;
    }

    .p-label {
        padding-left: 8px;
        font-size: 9px;
    }

    .p-value {
        padding-left: 7px;
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .price-box {
        margin-bottom: 6px;
    }

    .p-label {
        display: none;
    }

    .p-value {
        padding: 0;
        display: inline-block;
        color: #000099;
        border-radius: 4px;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: 0.5px;
    }
}


/* ===== MOBILE NAME ===== */

.mobile-name {
    margin-top: 40px;
    padding-left: 30px;
    color: #000000;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .mobile-name {
        padding-left: 40px;
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .mobile-name {
        margin-top: 35px;
        padding: 4px 0 4px 15px;
        background: #e2effa;
        border-radius: 0;
        font-size: 23px;
        line-height: 1.22;
    }
}


/* ===== RATING ===== */

.rating-row {
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.rating-stars i,
.star-rating i,
.stars i {
    color: #f59e0b;
    font-size: 13px;
}

.rating-stars i:hover,
.star-rating i:hover,
.stars i:hover {
    transform: scale(1.1);
}

.review-count {
    color: var(--light-text);
}

@media (max-width: 991px) {
    .rating-row {
        margin-left: 6px;
        gap: 5px;
        font-size: 10px;
    }

    .rating-stars i,
    .star-rating i,
    .stars i {
        font-size: 11px;
    }

    .review-count {
        font-size: 9px;
    }
}

@media (max-width: 767px) {
    .rating-row {
        margin-left: 2px;
        gap: 3px;
        font-size: 9px;
    }

    .rating-stars i,
    .star-rating i,
    .stars i {
        font-size: 9px;
    }

    .review-count {
        font-size: 8px;
    }
}


/* ===== DIVIDER ===== */

.divider {
    width: 100%;
    height: 1px;
    background: #ebebeb;
}

@media (max-width: 991px) {
    .divider {
        margin: 10px 0;
    }
}

@media (max-width: 767px) {
    .divider {
        margin: 0;
    }
}


/* ===== MOBILE SUMMARY VISIBILITY ===== */

@media (max-width: 767px) {
    .specs-grid .s-item:nth-child(6) {
        display: none;
    }

    #view-full-specs-btn {
        display: none !important;
    }

    #summary-release-date {
        display: none;
    }
}


/* ===== SUMMARY SPECS GRID ===== */

.specs-grid {
    padding: 5px 10px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .specs-grid {
        padding: 6px;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .specs-grid {
        padding: 8px 0;
        grid-template-columns: 1fr;
        gap: 6px;
    }
}


/* ===== SUMMARY ITEM ===== */

.s-item {
    display: flex;
    align-items: center;
}

.s-text {
    margin-left: 2px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.s-icon {
    width: 22px;
    margin-top: 2px;
    margin-right: 20px;
    color: #0c579c;
    font-size: 26px;
}

@media (max-width: 991px) {
    .s-text {
        margin-left: 1.5px;
        gap: 1px;
    }

    .s-icon {
        width: 16px;
        margin-right: 11px;
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .s-text {
        margin-left: 0.5px;
        gap: 0.1px;
    }

    .s-icon {
        width: 12px;
        margin-right: 15px;
        font-size: 18px;
    }
}


/* ===== SUMMARY LABEL & VALUE ===== */

.l {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

.v {
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
}

.v small {
    color: #64748b;
    font-size: 11px;
}

@media (max-width: 991px) {
    .v small {
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    .l {
        display: none;
    }

    .v {
        font-size: 13.5px;
    }

    .v small {
        font-size: 8px;
    }
}


/* ===== VARIANT FOOTER ===== */

.variant-footer {
    margin-top: 10px;
    padding: 1px 10px;
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    font-family: "Segoe UI", "Inter", "Roboto", Arial, Helvetica, sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.variant-footer strong {
    color: #155fa0 !important;
    font-size: 11px;
    letter-spacing: 0.2px;
}

@media (max-width: 991px) {
    .variant-footer {
        margin: 5px 0;
        padding: 1px 5px;
        font-size: 10.5px;
    }

    .variant-footer strong {
        font-size: 10.5px;
    }
}

@media (max-width: 767px) {
    .variant-footer {
        margin-top: 5px;
        padding: 1px 2px;
        font-size: 8px;
    }

    .variant-footer strong {
        font-size: 8px;
    }
}


/* ===== SPECS INTRO ===== */

.specs-intro-container {
    width: 100%;
    margin-top: 60px;
    padding: 0 15px;
    font-family: "Inter", sans-serif;
}

@media (max-width: 991px) {
    .specs-intro-container {
        margin-top: 36px;
        padding: 0 5px;
    }
}

@media (max-width: 767px) {
    .specs-intro-container {
        margin-top: 16px;
        margin-bottom: 10px;
        padding: 0;
    }
}


/* ===== SPECS HEADER ===== */

.specs-header-box {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec1-main-heading {
    margin: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.simple-divider-line {
    width: 100%;
    height: 3px;
    background: #0c579c;
    border-radius: 2px;
}

@media (max-width: 991px) {
    .specs-header-box {
        margin-bottom: 10px;
        gap: 4px;
    }

    .spec1-main-heading {
        font-size: 18px;
        letter-spacing: -0.2px;
    }

    .simple-divider-line {
        height: 2px;
    }
}

@media (max-width: 767px) {
    .specs-header-box {
        margin-bottom: 7px;
        gap: 0px;
    }

    .spec1-main-heading {
        margin-bottom: 0px;
        padding: 8px 10px;
        font-size: 18px;
        letter-spacing: -0.1px;
        white-space: normal;
        color: #0c579c; /* dark blue color */
        /* background: #d0ecff; */
    }

    .simple-divider-line {
        height: 2.5px;
    }
}


/* ===== DEVICE BADGES ===== */

.badges-row {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.status-badge {
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #e6ffed;
    color: #17803d;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.badges-row .year-badge {
    padding: 5px 12px;
    background: #e7f0ff;
    color: #2563eb;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .badges-row {
        margin-top: 8px;
        gap: 8px;
    }

    .status-badge {
        padding: 4px 7px;
        gap: 3px;
        font-size: 9.5px;
    }

    .badges-row .year-badge {
        padding: 3px 7px;
        font-size: 9.5px;
    }
}

@media (max-width: 767px) {
    .badges-row {
        display: none !important;
    }

    .status-badge {
        padding: 3px 6px;
        gap: 1px;
        font-size: 11px;
    }

    .badges-row .year-badge {
        padding: 3px 6px;
        font-size: 11px;
    }
}


/* ===== DESCRIPTION ===== */

.description-text {
    margin-bottom: 25px;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .description-text {
        margin-bottom: 13px;
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 767px) {
    .description-text {
        padding: 8px;
        margin-bottom: 0px;
        /* display: none !important; */
    }
}


/* ===== TABLE UTILITY BAR ===== */

.table-utility-bar {
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid #f1f5f9;
}

.util-btn {
    padding: 7px 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f4f8;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.util-btn:hover {
    background: #ffffff;
    color: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.util-btn i {
    font-size: 13px;
}

.share-btn {
    margin-left: auto;
    background: transparent;
}

@media (max-width: 991px) {
    .table-utility-bar {
        padding-top: 5px;
    }

    .util-btn {
        padding: 6px 22.5px;
        gap: 7px;
        font-size: 13px;
    }

    .util-btn i {
        font-size: 14px;
    }

    .share-btn {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .table-utility-bar {
        padding-top: 2px;
    }

    .util-btn {
        width: 100%;
        padding: 4px 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #eaf6fd;
        color: #203954;
        border: 1px solid #b4dcfa;
        border-radius: 2px;
        font-size: 14px;
        transition:
            background 0.2s,
            border-color 0.2s,
            color 0.2s;
    }

    .util-btn:hover {
        background: #ceeafb;
        color: #174d74;
        border-color: #3178c6;
    }

    .util-btn i {
        font-size: 13px;
    }
}


/* ===== MAIN SPECS WRAPPER ===== */

.main-wrapper {
    width: 80%;
    margin: auto;
}

@media (max-width: 991px) {
    .main-wrapper {
        width: 94%;
    }
}

@media (max-width: 767px) {
    .main-wrapper {
        width: 99%;
    }
}


/* ===== SPECS SECTION ===== */

.specs-section-box {
    background: #ffffff;
    border-radius: 12px;
}

.specs-section-title {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .specs-section-box {
        padding: 12px;
        border-radius: 8px;
    }

    .specs-section-title {
        margin-bottom: 13px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .specs-section-box {
        padding: 6px;
        border-radius: 5px;
    }

    .specs-section-title {
        margin-bottom: 7px;
        font-size: 13px;
    }
}


/* ===== SPECS TABLE WRAPPER ===== */

.specs-table-wrapper {
    width: 97%;
    margin: 0 auto;
    display: block;
    overflow-x: auto;
    border: 0.5px solid #ecf4fb;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .specs-table-wrapper {
        width: 99%;
        border-radius: 4px;
    }
}

@media (max-width: 767px) {
    .specs-table-wrapper {
        width: 100%;
        margin: 20px 0 50px;
        border-radius: 2px;
    }
}


/* ===== SPECS TABLE ===== */

.specs-table-main {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.6px;
}

.specs-table-main td,
.specs-table-main th {
    padding: 2px 10px;
    border: 1px solid #e2e8f0;
}

@media (max-width: 991px) {
    .specs-table-main {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .specs-table-main {
        font-size: 10px;
    }
}


/* ===== SPECS TABLE HEADER ===== */

.specs-table-main th {
    padding: 3px 10px;
    background-color: #eaf4fb;
    color: #155fa0;
    border-top: 1.5px solid #dbeafe;
    border-bottom: 1.5px solid #dbeafe;
    font-family: "Segoe UI", "Roboto", Arial, Helvetica, sans-serif;
    font-size: 14.3px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-align: left;
}

.specs-table-main th i {
    margin-right: 1px;
    color: #0e6ec7;
    font-size: 13.5px;
}

@media (max-width: 991px) {
    .specs-table-main th {
        padding: 2px 7px;
        font-size: 15px;
    }

    .specs-table-main th i {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .specs-table-main th {
        padding: 1.5px 8px;
        border-top: 2px solid #d5e6fa;
        border-bottom: 2px solid #d5e6fa;
        font-size: 15px;
    }

    .specs-table-main th i {
        font-size: 15px;
    }
}


/* ===== SPECS LABEL COLUMN ===== */

.specs-label {
    width: 23%;
    padding: 1px 25px;
    background: #f8f9fc;
    color: #000000;
    font-size: 12.2px;
    font-weight: 900;
    letter-spacing: 0.3px;
    word-break: break-word;
}

@media (max-width: 991px) {
    .specs-label {
        width: 25%;
        padding: 2px 8px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .specs-label {
        width: 29%;
        padding: 1.5px 3px;
        font-size: 12.5px;
    }
}


/* ===== SPECS VALUE COLUMN ===== */

.specs-value {
    padding: 1px 10px;
    color: #7d8ca1;
    font-family: "Segoe UI", "Roboto", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.4px;
    word-break: break-word;
}

.specs-value strong {
    color: #000000;
    font-size: 13px;
    font-weight: bold;
}

@media (max-width: 991px) {
    .specs-value {
        padding: 2px 8px;
        font-size: 12.5px;
    }

    .specs-value strong {
        font-size: 12.5px;
    }
}

@media (max-width: 767px) {
    .specs-value {
        padding: 1.5px 3px;
        color: #526078;
        font-size: 13px;
    }

    .specs-value strong {
        color: #000099;
        font-size: 13px;
    }
}