/**
Theme Name: ANS Mobile Child
Author: ANS Mobile
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ans-mobile-child
Template: astra
*/

/**
Theme Name: ANS Mobile Child
Author: ANS Mobile
Description: ANS Mobile Child Theme
Version: 1.0.0
Template: astra
*/

/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}


/* =========================================================
   ASTRA COMPATIBILITY
========================================================= */

.single-phones .site-content,
.single-phones .ast-container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.single-phones .entry-content {
    margin: 0;
}


/* =========================================================
   PHONE DETAIL PAGE
========================================================= */

.ans-phone-page {
    width: 100%;
    background: #f7f7f8;
    padding: 40px 20px 70px;
}

.ans-phone-detail {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}


/* =========================================================
   PHONE HEADER
========================================================= */

.ans-phone-header {
    width: 100%;
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.ans-phone-image {
    width: 100%;
    min-height: 390px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    overflow: hidden;
}

.ans-phone-main-image {
    width: auto;
    max-width: 280px;
    max-height: 360px;
    height: auto;
    object-fit: contain;
    display: block;
}

.ans-no-image {
    color: #888;
    font-size: 14px;
}

.ans-phone-intro {
    width: 100%;
    padding: 45px;
}

.ans-phone-brand {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: #777;
}

.ans-phone-title {
    margin: 0 0 20px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
    color: #171717;
    overflow-wrap: anywhere;
}

.ans-phone-price {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #111111;
}

.ans-phone-release {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 17px;
    border-top: 1px solid #eeeeee;
    max-width: 280px;
}

.ans-phone-release span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #888;
}

.ans-phone-release strong {
    font-size: 15px;
    color: #333;
}


/* =========================================================
   QUICK SPECIFICATIONS
========================================================= */

.ans-quick-specs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.ans-quick-item {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 18px 15px;
    text-align: center;
}

.ans-quick-label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.ans-quick-item strong {
    display: block;
    font-size: 16px;
    color: #171717;
    overflow-wrap: anywhere;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.ans-specifications {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.ans-section-heading {
    margin-bottom: 25px;
}

.ans-section-heading h2 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.2;
    color: #171717;
}

.ans-section-heading p {
    margin: 0;
    color: #777;
    font-size: 14px;
}


/* =========================================================
   SPECIFICATION GROUP
========================================================= */

.ans-spec-group {
    margin-bottom: 24px;
}

.ans-spec-group:last-child {
    margin-bottom: 0;
}

.ans-spec-group h3 {
    margin: 0;
    padding: 12px 16px;
    background: #f3f3f4;
    border-left: 4px solid #171717;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    color: #171717;
}


/* =========================================================
   SPECIFICATION TABLE
========================================================= */

.ans-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ans-spec-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

.ans-spec-table tr {
    border-bottom: 1px solid #eeeeee;
}

.ans-spec-table tr:last-child {
    border-bottom: none;
}

.ans-spec-table th {
    width: 34%;
    padding: 12px 16px;
    text-align: left;
    vertical-align: middle;
    font-weight: 600;
    color: #555;
    background: #ffffff;
}

.ans-spec-table td {
    width: 66%;
    padding: 12px 16px;
    text-align: left;
    vertical-align: middle;
    color: #222;
    background: #ffffff;
    overflow-wrap: anywhere;
}

.ans-spec-table tr:nth-child(even) th,
.ans-spec-table tr:nth-child(even) td {
    background: #fafafa;
}


/* =========================================================
   ABOUT PHONE
========================================================= */

.ans-phone-about {
    width: 100%;
    margin-top: 30px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 30px;
}

.ans-phone-about h2 {
    margin: 0 0 18px;
    font-size: 26px;
    color: #171717;
}

.ans-about-content {
    color: #444;
    font-size: 15px;
    line-height: 1.8;
}

.ans-about-content h1 {
    font-size: 26px;
}

.ans-about-content h2 {
    font-size: 23px;
}

.ans-about-content h3 {
    font-size: 20px;
}

.ans-about-content p {
    margin-bottom: 16px;
}


/* =========================================================
   ANS MOBILE HOMEPAGE
========================================================= */

body.home #content,
body.home #primary,
body.home #main,
body.home .site-main,
body.home .content-area,
body.home .ast-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

body.home #secondary,
body.home .widget-area {
    display: none;
}

body.home #page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.ans-homepage {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #1f1f1f;
    overflow: hidden;
}

.ans-home-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   HERO
========================================================= */

.ans-home-hero {
    width: 100%;
    background: #111111;
    padding: 70px 20px;
    text-align: center;
}

.ans-home-hero h1 {
    margin: 0 0 8px;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
}

.ans-home-tagline {
    margin: 10px 0 8px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    color: #d4af37;
}

.ans-home-intro {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #dddddd;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   SEARCH
========================================================= */

.ans-phone-search {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.ans-phone-search input[type="search"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 16px 18px;
    font-size: 16px;
    outline: none;
}

.ans-phone-search button {
    flex-shrink: 0;
    border: 0;
    padding: 0 28px;
    background: #d4af37;
    color: #111111;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.ans-home-section {
    width: 100%;
    padding: 65px 0;
}

.ans-price-section,
.ans-guide-section {
    background: #f7f7f7;
}


/* =========================================================
   HOMEPAGE SECTION HEADINGS
========================================================= */

.ans-homepage .ans-section-heading {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.ans-homepage .ans-section-heading h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    color: #151515;
}

.ans-homepage .ans-section-heading p {
    margin: 0;
    color: #666666;
    font-size: 15px;
}


/* =========================================================
   PHONE GRID
========================================================= */

.ans-phone-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ans-phone-grid-small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* =========================================================
   PHONE CARD
========================================================= */

.ans-phone-card {
    width: 100%;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.ans-phone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ans-phone-card > a {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   HOMEPAGE PHONE IMAGE
========================================================= */

.ans-homepage .ans-phone-image {
    width: 100%;
    height: 250px;
    min-height: 250px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    overflow: hidden;
}

.ans-homepage .ans-phone-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 210px;
    object-fit: contain;
    margin: auto;
}

.ans-phone-no-image {
    color: #999999;
    font-size: 14px;
}


/* =========================================================
   PHONE INFORMATION
========================================================= */

.ans-homepage .ans-phone-info {
    width: 100%;
    min-width: 0;
    padding: 18px;
}

.ans-homepage .ans-phone-brand {
    display: block;
    margin-bottom: 5px;
    color: #777777;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
}

.ans-homepage .ans-phone-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    color: #151515;
    overflow-wrap: anywhere;
}

.ans-homepage .ans-phone-price {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    color: #111111;
}

.ans-phone-specs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 15px;
}

.ans-phone-specs span {
    max-width: 100%;
    padding: 5px 8px;
    background: #f2f2f2;
    border-radius: 4px;
    color: #555555;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.ans-phone-link {
    color: #a88716;
    font-size: 14px;
    font-weight: 700;
}


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

.ans-price-category {
    width: 100%;
    margin-bottom: 50px;
}

.ans-price-heading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}

.ans-price-heading h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ans-price-heading a {
    flex-shrink: 0;
    color: #a88716;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ans-empty-category {
    grid-column: 1 / -1;
    padding: 20px;
    background: #ffffff;
    border: 1px dashed #cccccc;
    text-align: center;
    color: #777777;
}


/* =========================================================
   BRANDS
========================================================= */

.ans-brand-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ans-brand-card {
    width: 100%;
    min-width: 0;
    min-height: 75px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    color: #222222;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.ans-brand-card:hover {
    background: #111111;
    color: #d4af37;
    border-color: #111111;
}


/* =========================================================
   ARTICLE CARDS
========================================================= */

.ans-article-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.ans-article-card {
    width: 100%;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.ans-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ans-article-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ans-article-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #f5f5f5;
}

.ans-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ans-article-content {
    width: 100%;
    padding: 20px;
}

.ans-article-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ans-article-content p {
    margin: 0 0 15px;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}

.ans-article-content span {
    color: #a88716;
    font-size: 14px;
    font-weight: 700;
}

.ans-section-link {
    color: #a88716;
    font-weight: 700;
    text-decoration: none;
}


/* =========================================================
   TABLET — 901px TO 1100px
========================================================= */

@media (max-width: 1100px) {

    .ans-home-container {
        max-width: 100%;
        padding-left: 25px;
        padding-right: 25px;
    }

    .ans-phone-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ans-phone-grid-small {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET — UP TO 900px
========================================================= */

@media (max-width: 900px) {

    /* PHONE DETAIL */

    .ans-phone-page {
        padding: 30px 16px 60px;
    }

    .ans-phone-header {
        grid-template-columns: 40% 60%;
    }

    .ans-phone-image {
        min-height: 340px;
        padding: 25px;
    }

    .ans-phone-main-image {
        max-width: 230px;
        max-height: 310px;
    }

    .ans-phone-intro {
        padding: 30px;
    }

    .ans-phone-title {
        font-size: 32px;
    }

    .ans-phone-price {
        font-size: 25px;
    }

    .ans-specifications {
        padding: 24px;
    }


    /* HOMEPAGE */

    .ans-home-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ans-home-hero {
        padding: 55px 20px;
    }

    .ans-home-hero h1 {
        font-size: 42px;
    }

    .ans-phone-grid,
    .ans-phone-grid-small {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ans-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ans-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE — UP TO 700px
========================================================= */

@media (max-width: 700px) {

    /* Prevent overflow */

    html,
    body,
    #page {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }


    /* =====================================================
       PHONE DETAIL MOBILE
    ===================================================== */

    .ans-phone-page {
        width: 100%;
        padding: 18px 12px 45px;
    }

    .ans-phone-detail {
        width: 100%;
    }

    .ans-phone-header {
        display: block;
        width: 100%;
        border-radius: 10px;
    }

    .ans-phone-image {
        width: 100%;
        min-height: 280px;
        padding: 25px;
    }

    .ans-phone-main-image {
        max-width: 190px;
        max-height: 270px;
    }

    .ans-phone-intro {
        width: 100%;
        padding: 24px 20px 25px;
    }

    .ans-phone-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .ans-phone-price {
        font-size: 23px;
        margin-bottom: 16px;
    }

    .ans-phone-release {
        width: 100%;
        max-width: none;
    }


    /* QUICK SPECS */

    .ans-quick-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 20px;
    }

    .ans-quick-item {
        padding: 14px 10px;
    }

    .ans-quick-label {
        font-size: 10px;
    }

    .ans-quick-item strong {
        font-size: 14px;
    }


    /* SPECIFICATIONS */

    .ans-specifications {
        width: 100%;
        padding: 18px 12px;
        border-radius: 10px;
    }

    .ans-section-heading h2 {
        font-size: 24px;
    }

    .ans-section-heading p {
        font-size: 13px;
    }

    .ans-spec-group h3 {
        padding: 11px 12px;
        font-size: 15px;
    }

    .ans-spec-table {
        font-size: 13px;
    }

    .ans-spec-table th {
        width: 42%;
        padding: 11px 10px;
    }

    .ans-spec-table td {
        width: 58%;
        padding: 11px 10px;
    }


    /* ABOUT */

    .ans-phone-about {
        margin-top: 20px;
        padding: 22px 18px;
        border-radius: 10px;
    }

    .ans-phone-about h2 {
        font-size: 22px;
    }

    .ans-about-content {
        font-size: 14px;
    }


    /* =====================================================
       HOMEPAGE MOBILE
    ===================================================== */

    body.home #content,
    body.home #primary,
    body.home #main,
    body.home .site-main,
    body.home .content-area,
    body.home .ast-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    body.home #page {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .ans-homepage {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .ans-home-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
        padding-left: 12px;
        padding-right: 12px;
    }


    /* HERO */

    .ans-home-hero {
        width: 100%;
        padding: 35px 12px;
        overflow: hidden;
    }

    .ans-home-hero h1 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .ans-home-tagline {
        font-size: 16px;
        line-height: 1.4;
    }

    .ans-home-intro {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 20px;
    }


    /* SEARCH */

    .ans-phone-search {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: transparent;
        overflow: visible;
    }

    .ans-phone-search input[type="search"] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 44px;
        padding: 0 12px;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .ans-phone-search button {
        width: 100%;
        height: 44px;
        min-height: 44px;
        padding: 0 15px;
        border-radius: 6px;
        box-sizing: border-box;
    }


    /* SECTIONS */

    .ans-home-section {
        width: 100%;
        padding: 40px 0;
        overflow: hidden;
    }

    .ans-homepage .ans-section-heading {
        width: 100%;
        margin-bottom: 20px;
    }

    .ans-homepage .ans-section-heading h2 {
        font-size: 23px;
        line-height: 1.25;
    }

    .ans-homepage .ans-section-heading p {
        font-size: 12px;
        line-height: 1.5;
    }


    /* PHONE GRID */

    .ans-phone-grid,
    .ans-phone-grid-small {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }


    /* PHONE CARD */

    .ans-phone-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        border-radius: 8px;
        overflow: hidden;
    }


    /* PHONE IMAGE */

    .ans-homepage .ans-phone-image {
        width: 100%;
        height: 145px;
        min-height: 145px;
        max-height: 145px;
        padding: 8px;
    }

    .ans-homepage .ans-phone-image img {
        width: auto;
        height: auto;
        max-width: 90px;
        max-height: 120px;
    }


    /* PHONE INFORMATION */

    .ans-homepage .ans-phone-info {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 10px;
        overflow: hidden;
    }

    .ans-homepage .ans-phone-brand {
        font-size: 9px;
        line-height: 1.2;
        margin-bottom: 3px;
    }

    .ans-homepage .ans-phone-info h3 {
        font-size: 14px;
        line-height: 1.25;
        margin-bottom: 5px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .ans-homepage .ans-phone-price {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .ans-phone-specs {
        width: 100%;
        max-width: 100%;
        gap: 3px;
        margin-bottom: 7px;
    }

    .ans-phone-specs span {
        max-width: 100%;
        padding: 3px 4px;
        font-size: 9px;
        overflow-wrap: anywhere;
    }

    .ans-phone-link {
        font-size: 10px;
    }


    /* PRICE SECTIONS */

    .ans-price-category {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 28px;
        overflow: hidden;
    }

    .ans-price-heading {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 7px;
    }

    .ans-price-heading h3 {
        flex: 1;
        min-width: 0;
        font-size: 17px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .ans-price-heading a {
        flex-shrink: 0;
        font-size: 10px;
        white-space: nowrap;
    }


    /* BRANDS */

    .ans-brand-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ans-brand-card {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        padding: 8px;
        font-size: 13px;
    }


    /* ARTICLES */

    .ans-article-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ans-article-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ans-article-image {
        width: 100%;
        height: 160px;
    }

    .ans-article-content {
        width: 100%;
        padding: 12px;
    }

    .ans-article-content h3 {
        font-size: 16px;
        line-height: 1.3;
    }

    .ans-article-content p {
        font-size: 12px;
        line-height: 1.5;
    }

    .ans-article-content span {
        font-size: 11px;
    }

}


/* =========================================================
   SMALL MOBILE — UP TO 400px
========================================================= */

@media (max-width: 400px) {

    .ans-home-container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .ans-home-hero {
        padding-left: 8px;
        padding-right: 8px;
    }

    .ans-home-hero h1 {
        font-size: 27px;
    }

    .ans-home-tagline {
        font-size: 15px;
    }

    .ans-home-intro {
        font-size: 12px;
    }

    .ans-phone-grid,
    .ans-phone-grid-small {
        gap: 7px;
    }

    .ans-homepage .ans-phone-image {
        height: 120px;
        min-height: 120px;
        max-height: 120px;
        padding: 6px;
    }

    .ans-homepage .ans-phone-image img {
        max-width: 75px;
        max-height: 100px;
    }

    .ans-homepage .ans-phone-info {
        padding: 7px;
    }

    .ans-homepage .ans-phone-brand {
        font-size: 8px;
    }

    .ans-homepage .ans-phone-info h3 {
        font-size: 12px;
    }

    .ans-homepage .ans-phone-price {
        font-size: 11px;
    }

    .ans-phone-specs span {
        font-size: 8px;
        padding: 3px;
    }

    .ans-phone-link {
        font-size: 9px;
    }

    .ans-homepage .ans-section-heading h2 {
        font-size: 20px;
    }

    .ans-price-heading h3 {
        font-size: 15px;
    }

    .ans-price-heading a {
        font-size: 9px;
    }

}


/* =========================================================
   VERY SMALL MOBILE — UP TO 360px
========================================================= */

@media (max-width: 360px) {

    .ans-home-container {
        padding-left: 7px;
        padding-right: 7px;
    }

    .ans-phone-grid,
    .ans-phone-grid-small {
        gap: 6px;
    }

    .ans-homepage .ans-phone-image {
        height: 110px;
        min-height: 110px;
        max-height: 110px;
    }

    .ans-homepage .ans-phone-image img {
        max-width: 68px;
        max-height: 92px;
    }

    .ans-homepage .ans-phone-info h3 {
        font-size: 11px;
    }

    .ans-homepage .ans-phone-price {
        font-size: 10px;
    }

    .ans-phone-link {
        font-size: 8px;
    }

}
/* Hide mobile top navigation on desktop */
.ans-mobile-top-navigation {
    display: none;
}

@media (max-width: 768px) {

    .ans-mobile-top-navigation {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 3px;
        width: 100%;
        padding: 11px 4px;
        background: #ffffff;
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #d9d9d9;
        box-shadow: 0 2px 7px rgba(0, 0, 0, 0.08);
        position: relative;
        z-index: 100;
    }

    .ans-mobile-top-navigation a {
        flex: 1;
        min-width: 0;
        color: #222222;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
    }

    .ans-mobile-top-navigation a:hover,
    .ans-mobile-top-navigation a:focus {
        color: #1769aa;
        text-decoration: none;
    }
}
/* =====================================
   PHONE CARDS — ONE HORIZONTAL ROW
===================================== */

.ans-phone-grid,
.ans-phone-grid-small {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 100% !important;

    gap: 20px;
    overflow-x: auto !important;
    overflow-y: hidden !important;

    padding-bottom: 5px;

    /* Hide scrollbar in Firefox */
    scrollbar-width: none;

    /* Hide scrollbar in Internet Explorer */
    -ms-overflow-style: none;

    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar in Chrome, Edge and Safari */
.ans-phone-grid::-webkit-scrollbar,
.ans-phone-grid-small::-webkit-scrollbar {
    display: none;
    height: 0;
}

/* Desktop and tablet card width */
.ans-phone-grid > .ans-phone-card,
.ans-phone-grid-small > .ans-phone-card {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
}

/* Mobile card width */
@media (max-width: 700px) {

    .ans-phone-grid,
    .ans-phone-grid-small {
        gap: 10px;
    }

    .ans-phone-grid > .ans-phone-card,
    .ans-phone-grid-small > .ans-phone-card {
        flex: 0 0 160px !important;
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
    }

}