/**
 * Alpha Amino Store - Shop All title/banner
 * Version 1.1.14
 *
 * The Shop All page previously used a very tall, two-line title area.
 * Make it substantially shorter and keep "SHOP ALL PEPTIDES" on one line.
 */

body.page-id-peptides .aa-shop-all-title,
body .aa-shop-all-title {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(38px, 4.4vw, 62px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body .aa-shop-all-title br {
    display: none !important;
}

body .aa-shop-all-title span,
body .aa-shop-all-title strong,
body .aa-shop-all-title em {
    display: inline !important;
    white-space: nowrap !important;
}

body .aa-shop-all-title-banner {
    box-sizing: border-box !important;
    min-height: 210px !important;
    height: auto !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
    margin-top: 0 !important;
    margin-bottom: 34px !important;
}

/* If the title's immediate Elementor container uses flex positioning,
   center the compact title vertically without stretching the section again. */
body .aa-shop-all-title-banner.e-con,
body .aa-shop-all-title-banner[class*="e-con"] {
    align-items: center !important;
    justify-content: center !important;
}

/* Tablet */
@media (max-width: 1024px) {
    body .aa-shop-all-title {
        font-size: clamp(32px, 5.4vw, 48px) !important;
    }

    body .aa-shop-all-title-banner {
        min-height: 175px !important;
        padding-top: 28px !important;
        padding-bottom: 28px !important;
        margin-bottom: 26px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body .aa-shop-all-title {
        font-size: clamp(24px, 8vw, 34px) !important;
        line-height: 1 !important;
        letter-spacing: -0.03em !important;
    }

    body .aa-shop-all-title-banner {
        min-height: 120px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin-bottom: 20px !important;
    }
}

/* Very small phones: retain one line without allowing overflow. */
@media (max-width: 390px) {
    body .aa-shop-all-title {
        font-size: 23px !important;
        letter-spacing: -0.035em !important;
    }
}


/* =========================================================================
   v1.1.14 - Smaller desktop Shop All title/banner
   =========================================================================
   Desktop only. Mobile/tablet sizing from v1.1.13 is intentionally unchanged.
   ========================================================================= */
@media (min-width: 1025px) {
    body .aa-shop-all-title {
        font-size: 46px !important;
        line-height: 1 !important;
        letter-spacing: -0.035em !important;
    }

    body .aa-shop-all-title-banner {
        min-height: 145px !important;
        height: auto !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        margin-bottom: 20px !important;
    }
}
