@media (min-width: 1200px) and (max-width: 1712px) {
    .drnow-prescription-section .row {
        gap: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .subscription-button h2 {
        font-size: 1.7rem;
    }

    .sec-get-start-login .get-start-login_inner {
        max-width: 600px;
    }

    .ad_div-bottom {
        max-width: 600px;
    }
}

@media (min-width: 992px) and (max-width: 1023px) {
    .drnow-card-content {
        padding: 16px 16px;
    }
}

/* @media (min-width: 768px) and (max-width: 1140px) { */
@media (min-width: 768px) and (max-width: 1199px) {
    .sec-prescription-card .drnow-prescription-section #drnowCardContainer {
        gap: 0;
    }

    .sec-prescription-card .drnow-prescription-section #drnowCardContainer .fade-in-left,
    .sec-prescription-card .drnow-prescription-section #drnowCardContainer .fade-in-right {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-main .header-main_inner .header-main_inner-logo .logo {
        max-width: 240px;
        max-height: 72px;
        margin-bottom: 40px;
    }

    .main .prescription-title {
        font-size: 2.5rem;
    }

    .main .main-header_title {
        margin-top: 4rem;
    }

    .subscription-button {
        padding: 40px 30px;
    }

    .subscription-button h2 {
        font-size: 1.5rem;
    }

    .hippa-soc_div {
        font-size: 1.5rem;
    }

    .button-container,
    .hippa-soc_div {
        gap: 40px;
    }

    .ad_div {
        width: 130px;
    }

    .sec-get-start-login .get-start-login_inner {
        max-width: 430px;
    }

    .ad_div-bottom {
        max-width: 430px;
    }

    .privacy-content h2 {
        font-size: 1.5rem;
    }

    .drnow-card p {
        font-size: 0.8rem;
    }

    .drnow-card-content {
        padding: 12px 12px;
    }

    .drnow-card {
        min-height: 200px;
    }

    .cash-price-note {
        font-size: 2rem !important;
    }

    .main .header-main .header-main_inner .header-main_inner-logo .logo {
        max-width: 240px;
        max-height: 72px;
    }

    .treatment-card__title {
        font-size: 1.1rem;
    }

    .sec-now-login .sec-get-start-login_inner .get-start-login_inner {
        width: 380px;
    }

    .footer-main {
        padding: 64px 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .privacy-content h2 {
        font-size: 1.5rem;
    }
}

@media (min-width: 568px) and (max-width: 767px) { 
    .drnow-card-content {
        padding: 20px 20px;
    }

    .drnow-card h5 {
        font-size: 17px;
    }

    .cash-price-note {
        font-size: 1.5rem !important;
    }

    .product-showcase .page-title{
        font-size: 1.7rem;
    }

    .product-showcase .page-subtitle {
        font-size: 2rem;
    }

    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 40px 0;
    }

    .treatment-card {
        padding: 24px 12px;
    }

    .treatment-card__title {
        font-size: 15px;
    }

    .treatment-card__arrow {
        right: 10px;
        top: 14px;
    }
}

/* --- Start of Balanced Mobile Adjustments --- */
@media (max-width: 991px) {
    .responsive-header #menu-container .menu_content {
        display: none;
    }

    .responsive-header #menu-container {
        justify-content: right;
        justify-content: flex-end;
    }
}

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

    .page-title {
        font-size: 1.7rem;
    }

    .wrapper {
        padding: 12px 12px;
        max-width: 100vw;
    }

    .header-main {
        width: 100%;
        max-width: 100%;
    }

    .header-main .header-main_inner .header-main_inner-logo .logo {
        max-width: 240px;
        max-height: 72px;
        margin-bottom: 24px;
    }

    .main .prescription-title {
        text-align: center;
        margin-bottom: 20px;
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
        line-height: 1.3;
        padding: 0 0.5rem;
    }

    .main .main-header_title {
        text-align: center;
        font-size: clamp(1.25rem, 4.5vw, 1.55rem);
        line-height: 1.35;
        margin: 0 0 24px 0;
        padding: 0 0.5rem;
    }

    .sec-prescription-card {
        width: 100%;
        max-width: 100%;
    }

    .sec-prescription-card .container {
        padding: 0;
        max-width: 100%;
    }

    .sec-prescription-card .drnow-prescription-section #drnowCardContainer .fade-in-left,
    .sec-prescription-card .drnow-prescription-section #drnowCardContainer .fade-in-right,
    .sec-prescription-card .drnow-prescription-section #drnowCardContainer > [class*="col-"] {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .drnow-prescription-section .row > [class*="col-"] {
        max-width: 100% !important;
    }

    .button-container {
        display: block;
        margin: 0 0 25px 0;
    }

    .subscription-button {
        padding: 20px;       
        margin-bottom: 20px; 
    }

    .subscription-button:last-child {
        margin-bottom: 0;
    }
    
    /* --- Icon Centering & Sizing Fixes --- */
    .subscription-button .emoji {
        margin-bottom: 15px; /* Added a bit more space below the centered icon */
        top: auto; /* Reset the 'top' property that pushed icons up */
    }

    #btnOneTimeEmoji img,
    .emoji img {
        height: 60px; /* Set a consistent HEIGHT for both icons */
        width: auto;  /* Let width adjust automatically for proper proportions */
        top: auto;    /* Reset any lingering position adjustments */
    }
    
    #btnOneTime .button-container_title-text {
        top: 0;
    }

    .subscription-button h2 {
        font-size: 1.4rem;
        margin-bottom: 3px;
    }

    .subscription-button p {
        font-size: 15px;
    }
    
    .hippa-soc_div {
        grid-template-columns: 1fr;
        gap: 5px;
        margin: 25px 0; 
        font-size: 1.1rem; 
    }

    .main .get-now-login_prescription-title {
        display: none;
    }

    .ad_div { 
        display: none !important;
    }

    .ad_sam_div_bottom {
        height: 100%;
    }

    .ad_sam_div_bottom .ad_div-bottom_desktop {
        display: none;
    }

    .ad_sam_div_bottom .ad_div-bottom_mobile {
        display: block;
    }

    .drnow-card-content-title,
    .drnow-card-content-text {
        height: auto !important;
    }

    .product-showcase {
        padding: 32px 16px;
    }

    .menu-des {
        padding: 12px 12px;
    } 

    .menu_content-title-list {
        padding: 4px 0;
    }

    .sec-now-login .sec-get-start-login_inner .position-relative.d-flex {
        display: block !important;
    }

    .sec-now-login .sec-get-start-login_inner .get-start-login_inner {
        width: inherit;
    }

    .banner_ad {
        height: 100%;
    }

    .footer-main {
        padding: 32px 0;
    }

    .footer-main .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-main_inner_left-right {
        flex-direction: column;
        align-items: center;
    }

    .footer-main_inner_left {
        /* order: 1;
        margin-top: 16px; */

        /* margin-bottom: 16px; */
        order: 1;
        margin-top: 50px;
        /* margin-bottom: 40px; */
        text-align: center;
    }

    .footer-main .footer-main_inner .footer-main_inner_link ul {
        text-align: center;
    }
}
/* --- End of Balanced Mobile Adjustments --- */

@media (max-width: 567px) {
    .faq-question {
        font-size: 16px;
    }

    .faq-question::after {
        top: 10px;
    }

    .phone-no {
        font-size: 1.4rem;
    }

    .privacy-page-title {
        font-size: 1.5rem;
    }

    .privacy-content h2 {
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 15px 15px;
    }

    .cash-price-note {
        font-size: 1.25rem !important;
    }

    #menu {
        /* width: 80%; */
        width: 90%;
    }

    #menu a {
        font-size: 16px;
        padding: 6px 10px;
    }

    .menu-title_btn {
        /* padding: 8px 16px; */
    }

    .product-showcase .page-title{
        font-size: 1.5rem;
    }

    .product-showcase .page-subtitle {
        font-size: 1.75rem;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
        margin: 40px 0;
    }

    .treatment-card {
        padding: 20px 16px;
    }

    .treatment-card__title {
        font-size: 15px;
    }

    .treatment-card__arrow {
        right: 10px;
        top: 10px;
    }

    .menu_content-list_header .menu_content-list_header_title {
        font-size: 16px;
    }

    .menu_content-title-list .menu_content-title-list_inner .menu_content-list {
        padding: 0 18px;
    }

    .menu_content-item {
        grid-gap: 8px;
        padding: 8px 8px;
    }

    /* .footer-main_inner_logo-images img {
        height: auto;
    } */

    .footer-main_inner_logo-images .footer-main_inner_logo-images-list {
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 20px 12px;
    }
}

/* --- Public site responsive polish --- */
@media (max-width: 767px) {
    .contact-form .form-row .form-group {
        flex: 1 1 100%;
    }

    .contact-form .checkbox-group {
        align-items: flex-start;
        gap: 0.5rem;
    }

    .contact-form .checkbox-group input {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

    .content-box {
        padding: 1.25rem;
    }

    .faq-question {
        padding-right: 2.25rem;
    }

    .header-main {
        width: 100%;
    }

    .phone-no {
        font-size: 1.25rem;
        padding: 0 0.5rem;
    }

    .privacy-content ul {
        padding-left: 1.25rem;
    }
}

@media (max-width: 991px) {
    .responsive-header {
        padding: 12px 16px;
    }

    .responsive-header .menu-container_cls .login-btn {
        padding: 6px 16px;
        font-size: 14px;
        margin-right: 8px;
    }

    #menu {
        width: min(30rem, 100vw);
    }
}

@media (min-width: 992px) {
    .header-main .header-main_inner .header-main_inner-logo .logo {
        max-width: 400px;
        max-height: 120px;
        margin-bottom: 10vh;
        position: relative;
        top: 24px;
    }

    .header-main .header-main_inner .header-main_inner-logo .get-start-login_logo {
        margin-bottom: 60px;
    }

    .main .prescription-title {
        position: relative;
    }

    .main .get-now-login_prescription-title {
        top: 0px;
    }

    .responsive-header #menu-container .menu_content a {
        text-decoration: none;
        color: #000;
    }

    .responsive-header .menu-container_cls {
        justify-content: center;
        gap: 0.75rem;
    }

    .responsive-header .menu-container_cls .menu_content {
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .responsive-header .menu-container_cls .login-btn {
        margin-right: 0;
        margin-left: auto;
        flex-shrink: 0;
    }

    #menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }

    #menu .menu_content .menu_content_link {
        display: none;
    }

    .spacing_div-first {
        display: none;
    }
}