/* ========================================================================
   Desktop readability layer
   ------------------------------------------------------------------------
   Increases typography only on desktop screens. Mobile/tablet layouts stay
   unchanged. This file loads last so old page-level 11–14px rules no longer
   make the desktop interface look undersized.
   ======================================================================== */

@media (min-width: 992px) {
    body {
        font-size: 16px !important;
        line-height: 1.55;
    }

    p, li, dd, dt, label, .form-text, .dropdown-item, .list-group-item {
        line-height: 1.55;
    }

    small, .small {
        font-size: 13.5px !important;
        line-height: 1.45;
    }

    .btn,
    button:not(.close):not(.btn-close),
    input,
    select,
    textarea,
    .form-control,
    .form-select,
    .input-group-text {
        font-size: 15px !important;
    }

    .form-label, label.form-label {
        font-size: 14px !important;
        line-height: 1.45;
    }

    .table,
    .table > :not(caption) > * > * {
        font-size: 14.5px !important;
        line-height: 1.5;
    }

    .badge { font-size: 12.5px; }

    /* Storefront */
    .notice-badge { font-size: 12.5px !important; }
    .notice-text { font-size: 14.5px !important; }

    .top-bar,
    .main-nav a,
    .header-action,
    .mobile-menu-btn,
    .category-menu-btn {
        font-size: 16px !important;
    }

    /* Desktop category navigation: the home theme had a more specific
       13.5px rule, so explicitly normalize the visible category row too. */
    .app-home .header-category-inner {
        min-height: 46px !important;
    }

    .app-home .header-cat-link,
    .header-category-bar .header-cat-link {
        font-size: 16px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        min-height: 46px !important;
        padding-top: 11px !important;
        padding-bottom: 11px !important;
    }

    .header-cat-chevron {
        font-size: 12px !important;
    }

    .header-cat-dropdown .header-sub-link {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .header-child-dropdown a {
        font-size: 14.5px !important;
        line-height: 1.45 !important;
    }

    .product-title {
        font-size: 16.5px !important;
        line-height: 1.62 !important;
    }

    .product-price { font-size: 19px !important; }
    .product-price del { font-size: 13.5px !important; }

    .product-rating,
    .product-rating-val,
    .product-rating-count {
        font-size: 12.5px !important;
    }

    /* Cart / checkout / customer */
    .cart-page-breadcrumb { font-size: 14.5px !important; }

    .cart-page-card-head h4,
    .checkout-title,
    .checkout-section-title {
        font-size: 17px !important;
    }

    .cart-page-badge { font-size: 13px !important; }

    .cart-page-name {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .cart-page-variants,
    .cart-page-variant-tag,
    .cart-page-unit-price,
    .cart-page-shipping-note,
    .cart-page-view-shop,
    .cart-page-trust-item {
        font-size: 14px !important;
    }

    .cart-page-unit-price strong,
    .cart-page-line-total {
        font-size: 16px !important;
    }

    .cart-page-qty button,
    .cart-page-qty input,
    .cart-page-coupon-input,
    .cart-page-coupon-btn,
    .cart-page-summary-row,
    .cart-page-checkout-btn {
        font-size: 15px !important;
    }

    .cart-page-summary-row.is-grand { font-size: 16px !important; }
    .cart-page-summary-row.is-grand span:last-child { font-size: 19px !important; }

    /* Free-delivery upsell / added-to-cart popup */
    .free-delivery-offer-title,
    .free-delivery-upsell-title,
    .fd-offer-title {
        font-size: 16px !important;
    }

    #gbAddedCartPopup .gbac-offer-title strong { font-size: 13px !important; }

    #gbAddedCartPopup .gbac-offer-title span,
    #gbAddedCartPopup .gbac-offer-name,
    #gbAddedCartPopup .gbac-offer-price,
    #gbAddedCartPopup .gbac-offer-add {
        font-size: 12.5px !important;
    }

    /* Admin */
    .page-title-box .page-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }

    .card-title,
    .header-title {
        font-size: 16.5px !important;
        line-height: 1.4 !important;
    }

    #sidebar-menu > ul > li > a {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    #sidebar-menu .nav-second-level li a,
    #sidebar-menu .nav-third-level li a {
        font-size: 14.5px !important;
        line-height: 1.45 !important;
    }

    .navbar-custom .pro-user-name,
    .navbar-custom .nav-link,
    .navbar-custom .dropdown-item {
        font-size: 14.5px !important;
    }

    .card-body,
    .modal-body,
    .modal-footer,
    .accordion-body,
    .tab-content {
        font-size: 15px;
    }

    .breadcrumb,
    .breadcrumb-item,
    .pagination,
    .page-link {
        font-size: 14px !important;
    }

    .select2-container .select2-selection--single,
    .select2-container .select2-selection--multiple,
    .select2-container--default .select2-results__option,
    .select2-container--default .select2-search--dropdown .select2-search__field,
    .choices__inner,
    .choices__item,
    .choices__list--dropdown .choices__item {
        font-size: 14.5px !important;
    }

    /* Reseller / vendor / delivery */
    .sidebar .nav-link,
    .sidebar a.nav-link,
    .delivery-sidebar a,
    .d-sidebar a,
    .d-nav a {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .main-content,
    .content-page,
    .d-main,
    .d-content {
        font-size: 15.5px;
    }

    .modal-title,
    .card-header h4,
    .card-header h5,
    .card-header h6 {
        line-height: 1.4;
    }
}
