
/* 1199 */
@media(max-width:1199px){

    .main-nav{
        display:none;
    }

    .menu-toggle{
        display:block;
    }

    .account-link{
        display:none;
    }
    

}
@media (max-width: 991px) {
    
    .ct_feature_card ,.ct_service_box,.pt_shipping_sidebar{
        border: 0px;
    }
    .ct_grid_5{
        grid-template-columns: repeat(3,1fr);
    }
    .pt_main_img img{
        height:300px;
    }
    .pt_product_gallery{
        position: static;
    }
    .pt_border_right{
        border-right:none;
        border-bottom:1px solid #ddd;
        margin-bottom:30px;
        padding-bottom:30px;
    }
    .pt_shipping_content{
        padding-left:0;
    }
    .abt_choose_img img{
        height: 400px;
    }
}


@media(max-width:767px){
    .ct_hero_section{
        min-height:460px;
        padding:60px 0;
    }
    .ct_hero_content{
        padding-bottom:30px;
    }
    .ct_hero_content h1{
        white-space:normal;
        font-size:26px;
    }
    .ct_top_bar_inner{
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
.vs_standard_box .col-md-3 + .col-md-3{
    border: 0px;
}
.vs_modal .modal-body{
    padding-inline: 30px;
}
    .ct_top_bar_right{
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .ct_about_img_main{
        text-align: center;
        margin-inline: auto;
    }
    .ct_about_img_main > img{
        height: 400px;
        margin-inline: auto;
    }

    .ct_grid_5{
        grid-template-columns: repeat(2,1fr);
    }
    .ct_flex_col_767{
        flex-direction: column;
    }

 

       .ct_rel_slider .owl-nav .owl-prev,
.ct_rel_slider .owl-nav .owl-next{
    display: none;
}
.ct_banner_content h1{
    font-size: 35px;
}

    

.ct_rel_title ,.pt_product_info h2 ,.et_otp_title ,.ct_section_title{
    font-size: 24px;
}
    .pt_quality_note{
        flex-direction:column;
    }

}

@media(max-width:575px){

    .top-bar .d-flex{
        flex-direction:column;
        gap:5px;
    }

    .mobile-menu{
        width:280px;
    }
    .ct_btn_orange,.ct_btn_outline{
        width: 100%;
    }
    .ct_banner_btn_group{
        justify-content: center;
    }
    .ct_banner_content{
        left: 0px;
    }
    
    .ct_cta_btn_group ,.pt_order_header{
        flex-direction: column;
        gap: 15px;
    }
 .ct_grid_5{
        grid-template-columns: repeat(1,1fr);
    }
    .ct_flex_col_575{
        flex-direction: column;
    }
    .ct_search_box ,.ct_sort_box{
        width: 100%;
    }
    .ct_flex_col_575 > div,
    .ct_flex_col_575 #ptAddToCartBtn{
        width: 100%;
    }
    .pt_qty input{
        width: auto;
    }
    .ct_w_100_575{
        width: 100%;
    }
}

/* ---- Mobile product page ---------------------------------------------
   Order on phones: image, then title/price/options/Add to Cart, then the
   specs table and lab info. (On desktop the specs sit under the image.) */
@media (max-width: 991px) {
    .pt_product_details{
        overflow-x: clip;
    }

    .pt_product_gallery::before{
        display: none;
    }

    .pt_product_details > .container > .row > .col-lg-6:first-child,
    .pt_product_details .pt_product_gallery{
        display: contents;
    }

    .pt_product_details .pt_main_img,
    .pt_product_details .pt_after_purchase{
        width: calc(100% - var(--bs-gutter-x, 1.5rem));
        margin-inline: calc(var(--bs-gutter-x, 1.5rem) * .5);
    }

    .pt_product_details .pt_main_img{
        order: 1;
        margin-bottom: 1.5rem;
    }

    .pt_product_details > .container > .row > .col-lg-6:last-child{
        order: 2;
    }

    .pt_product_details .pt_after_purchase{
        order: 3;
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    /* Show the whole product label instead of a cropped strip of it */
    .pt_main_img img{
        height: auto;
        max-height: 420px;
        object-fit: contain;
    }
}

/* ---- Mobile: smaller page banners ------------------------------------ */
@media (max-width: 767px) {
    .ct_inner_banner{
        min-height: 170px;
        padding: 24px 0;
    }

    .ct_inner_banner .ct_banner_content h1{
        font-size: 30px;
        margin-bottom: 8px;
    }
}


/* ---- Mobile: order table becomes one card per item -------------------- */
@media (max-width: 767px) {
    .cart_table{
        min-width: 0;
    }

    .cart_table thead th,
    .cart_table tbody td{
        padding-left: 8px;
        padding-right: 8px;
    }

    .cart_table_stack thead{
        display: none;
    }

    .cart_table_stack tbody tr{
        display: grid;
        grid-template-columns: 72px 1fr auto;
        column-gap: 14px;
        padding: 16px 0;
    }

    .cart_table_stack tbody td{
        display: block;
        padding: 3px 0;
        border: 0;
    }

    .cart_table_stack tbody td:nth-child(1){
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .cart_table_stack tbody td:nth-child(2){
        grid-column: 1;
        grid-row: 1 / span 4;
    }

    .cart_table_stack tbody td:nth-child(3){
        grid-column: 2;
        grid-row: 1;
    }

    .cart_table_stack tbody td[data-label]{
        grid-column: 2 / 4;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .cart_table_stack tbody td[data-label]::before{
        content: attr(data-label);
        color: #777;
        font-size: 13px;
    }

    .cart_product_img{
        max-width: 72px;
        height: auto;
    }
}


/* ---- Mobile polish: touch targets, form zoom, compact cards ----------- */
@media (max-width: 767px) {
    /* 16px inputs stop iPhones zooming the page when a field is tapped */
    input:not([type=checkbox]):not([type=radio]):not([type=file]),
    select,
    textarea{
        font-size: 16px;
    }

    body.pt_has_sticky{
        padding-bottom: 76px;
    }

    /* Bigger tap targets on option pills and quantity buttons */
    .ct_variant_pill{
        min-height: 40px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .ct_card_qty{
        height: 40px;
    }

    .ct_card_qty button{
        width: 38px;
        font-size: 18px;
    }

    .ct_card_qty input{
        width: 34px;
        font-size: 15px;
    }

    .pt_qty button{
        width: 48px;
        font-size: 22px;
    }

    .ct_card_add_btn,
    .pt_strength_pill,
    .pt_variant_card{
        min-height: 44px;
    }

    /* Shorter product cards so lists are less endless */
    .ct_product_img img.ct_card_image{
        max-height: 230px;
        object-fit: contain;
    }

    /* Home hero: no big empty band under the buttons */
    .ct_hero_section{
        min-height: 0;
        padding: 44px 0 36px;
    }

    .ct_hero_content{
        padding-bottom: 0;
    }
}


/* ---- Mobile: account page, custom pages ------------------------------- */
@media (max-width: 991px) {
    .gt_account_sidebar{
        min-height: 0;
        height: auto;
        padding: 12px 16px;
    }

    .gt_account_tabs{
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 0 22px;
    }

    .gt_account_tabs form{
        display: inline;
    }

    .gt_account_tabs .nav-link{
        padding: 10px 0;
    }
}

.ct_custom_content{
    overflow-wrap: anywhere;
}

.ct_custom_content img,
.ct_custom_content video,
.ct_custom_content iframe{
    max-width: 100%;
    height: auto;
}

.ct_custom_content table{
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
