/* Desktop - hide mobile dropdown by default */
.table-title-mobile {
    display: none;
}

@media (min-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 2000px) {
    .header-bg {
        height: 320px;
    }
}

@media (max-width: 1400px) {
    .header-bg {
        height: 250px;
    }
}

@media (max-width: 991px) {
    .header-bg {
        height: 180px;
    }
    .logo {
        margin-top: 40px;
        margin-left: -80px;
    }
    .logo img {
        width: 80%;
    }
    .product-links-left {
        margin-left: -310px;
    }
    .product-links-right {
        margin-right: -360px;
    }
    h2 {
        font-size: 36px;
    }
    .product-content {
        margin-top: -50px;
    }
    footer {
        height: 420px;
    }
}
@media (max-width: 767px) {
    .header-bg {
        height: 140px;
    }
    section {
        padding: 6rem 0;
    }
    .logo {
        margin-top: 20px;
        margin-left: -60px;
    }
    .logo img {
        width: 250px;
    }
    .sidemenu-btn {
        top: 70px;
    }
    .side-menu {
        top: 30px;
    }
    .product-links-left {
        margin-left: -230px;
    }
    .product-links-right {
        margin-right: -280px;
    }
    .product-links-left a i,
    .product-links-right a i {
        font-size: 24px;
    }
    .customPrevBtn,
    .customNextBtn {
        width: 36px;
        height: 36px;
    }
    .customPrevBtn i {
        top: 4px;
        left: 10px;
    }
    .customPrevBtn:hover i {
        left: 7px;
    }

    .customNextBtn i {
        top: 4px;
        left: 12px;
    }
    .customNextBtn:hover i {
        left: 15px;
    }
    .add-img,
    .promo-img img {
        margin-bottom: 30px;
    }
    .percentage-item {
        width: 80px;
        height: 102px;
        padding: 12px 5px 0;
        font-size: 12px;
    }
    .percentage-title {
        height: 35px;
    }
    .percentage-value {
        height: 40px;
    }
    .percentage {
        font-size: 14px;
    }
    
    /* Show dropdown on mobile, hide desktop table-title */
    .table-title-mobile {
        display: block;
        margin-bottom: 15px;
    }
    .table-title {
        display: none;
    }
    
    /* Nutrition table mobile responsiveness */
    .table-title div:last-child,
    .nutrition-table td:last-child {
        display: none;
    }
    
    /* Toggle classes for switching between columns */
    .show-column-3 .table-title div:nth-child(2) {
        display: none;
    }
    .show-column-3 .table-title div:last-child {
        display: block;
    }
    .show-column-3 .nutrition-table td:nth-child(2) {
        display: none;
    }
    .show-column-3 .nutrition-table td:last-child {
        display: table-cell;
    }
    
    /* Dropdown styling */
    .table-title-mobile .dropdown-toggle {
        background-color: transparent;
        border: none;
        color: white;
        font-weight: bold;
        padding: 0;
        border-radius: 0;
        font-size: 16px;
        text-underline-offset: 3px;
    }
    .table-title-mobile .dropdown-toggle:focus,
    .table-title-mobile .dropdown-toggle:hover,
    .table-title-mobile .dropdown-toggle:active {
        background-color: transparent;
        border: none;
        color: white;
        box-shadow: none;
    }
    .table-title-mobile .dropdown-toggle::after {
        margin-left: 8px;
        vertical-align: middle;
    }
    .table-title-mobile .dropdown-menu {
        border: 2px solid #86AE2A;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        min-width: 180px;
    }
    .table-title-mobile .dropdown-menu a.dropdown-item {
        color: #fff;
        padding: 4px 16px;
        border-bottom: 1px solid #fff;
    }
    .table-title-mobile .dropdown-menu a.dropdown-item:last-child {
        border-bottom: none;
    }
    .table-title-mobile .dropdown-menu a.dropdown-item:hover,
    .table-title-mobile .dropdown-menu a.dropdown-item:focus {
        background-color: #fff;
        color: #86AE2A;
    }
    
    footer {
        height: 400px;
    }
    .footer-data {
        font-size: 16px;
    }
}
@media (max-width: 575px) {
    .sidemenu-btn {
        top: 60px;
        margin-right: 0;
        right: 90px;
        position: absolute;
    }
    .sticky-menu .sidemenu-btn {
        top: 35px;
    }
    .sticky-menu .menu-head {
        display: none;
    }
    .side-menu {
        margin-right: 0;
        right: 30px;
    }
    .logo-head {
        height: 130px;
    }
    .header-bg {
        width: 100%;
        height: 100px;
        left: 0;
        right: auto;
        background-position: left bottom;
    }
    .logo {
        margin-top: 35px;
        margin-left: -20px;
    }
    .logo img {
        width: 160px;
    }
    .product-links-left {
        margin-left: 0;
        left: 45px;
    }
    .product-links-right {
        margin-right: 0;
        right: -5px;
    }
    .product-title h1 {
        font-size: 30px;
    }
    .product-checks ul li {
        font-size: 14px;
    }
    .percentage-item {
        width: 50px;
        height: 64px;
        margin: 0 2px 10px;
        padding: 8px 3px 0;
        font-size: 8px;
    }
    .percentage-title {
        height: 20px;
    }
    .percentage-value {
        height: 27px;
    }
    .percentage {
        font-size: 10px;
    }
    .head-gradient {
        padding-top: 155px;
        padding-bottom: 100px;
    }
    footer {
        height: 380px;
    }
    .go-top {
        display: none;
    } 
}
@media (max-width: 500px) {
    .product-area {
        overflow: hidden;
    }
    .product-back {
        width: 100%;
        height: 100%;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
    }
}
@media (max-width: 450px) {
    .side-menu {
        width: 95%;
        top: 20px;
        right: 10px;
    }
    .header-bg {
        height: 80px;
    }
    .logo {
        margin-top: 15px;
    }
    .sidemenu-btn {
        top: 40px;
        right: 70px;
    }
    h1, h2 {
        font-size: 32px;
    }
    .banner-title h1 {
        font-size: 32px;
    }
    .btn-red,
    .btn-yellow {
        font-size: 16px;
        min-width: 200px;
    }
    .list-item img {
        width: auto;
    }
    .product-back {
        width: 100%;
        height: auto;
    }
    .product-skew .img-skew {
        width: 180px !important;
        height: auto;
        
    }
    .product-front-dynamic {
        right: 30px;
    }
    .product-front-dynamic .img-rotating,
    .product-front-dynamic .img-circling,
    .product-front-dynamic .img-skew {
        width: 150px;
        height: 150px;
    }
    .product-front-static {
        right: 30px;
    }
    .product-front-static img {
        width: 70% !important;
        height: 70%;
    }
    .product-content {
        margin-top: -30px;
    }
}
@media (max-width: 400px) {
    .product-front-static {
        right: 0;
    }
    .product-front-dynamic .img-rotating {
        width: 130px;
        height: 130px;
    }
    .product-front-static img {
        width: 70% !important;
        height: 70%;
    }
    .menu-footer {
        font-size: 11px;
    }
}
