/* =========================================
   TABLET PORTRAIT
   768px - 959px
========================================= */

@media only screen and (min-width: 768px) and (max-width: 959px) {

    .home-container h2 {
        font-size: 60px;
    }

    .about-sub {
        font-size: clamp(24px, 3.5vw, 30px);
    }

    #bottom-menu-1-close a {
        text-decoration: none;
        color: #000;
        background: none;
        position: absolute;
        left: -25px;
        top: 0;
    }
}


/* =========================================
   COMMON MOBILE
   0px - 767px
========================================= */

@media only screen and (max-width: 767px) {

    /* Product Card */
    .product-card {
        width: 280px;
        height: auto;
        min-height: 500px;
        padding: 18px;
        box-sizing: border-box;
        justify-content: space-between;
    }

    .product-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .product-image {
        width: 100%;
        max-width: 278px;
        height: auto;
        aspect-ratio: 1 / 1;
        flex: 0 0 auto;
        align-self: center;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .product-details {
        width: 100%;
        min-width: 0;
    }

    .product-details h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .quantity {
        margin-bottom: 10px;
        display: none;
    }

    .mobile-view {
        display: inline;
    }


    .discount {
        display: none;
    }

    .discount.mobile-view {
        display: block;
    }

    .current-price {
        font-size: 21px;
    }

    .old-price {
        font-size: 15px;
    }

    .divider {
        margin: 12px 0 10px;
    }

    .description {
        font-size: 14px;
    }

    .view-button {
        margin-bottom: 12px;
    }

    .amazon-button {
        height: 44px;
    }

    /* Swiper */
    .product-list .swiper-slide {
        width: 280px !important;
        height: auto;
    }


    /* Back Arrow */

    #bar-hidden-1 {
        top: 0;
        left: -22px;
        right: auto;
        bottom: auto;
        transform: none;
        z-index: 1000;
    }

    #bottom-menu-1-close a {
        position: absolute;
        left: 10px;
        top: 10px;
    }

    /* Swiper */

    .product-slider {
        width: 100%;
    }


    .product-slider .swiper-button-prev,
    .product-slider .swiper-button-next {
        display: none;
    }

    /* Main container becomes one column */
    .contact-container {
        width: 100%;
        grid-template-columns: 1fr;
        padding: 30px 0;
        box-sizing: border-box;
    }

    .contact-heading {
        margin-bottom: 6px;
    }

    /* Left */
    .contact-container-left {
        padding: 0 20px;
    }

    /* Right */
    .contact-container-right {
        padding: 30px 20px 0;
        border-left: none;
    }

    .connect-heading {
        display: none;
    }

    .connect-heading-end {
        font-size: 18px;
        font-weight: 500;
        font-family: serif;
        text-align: start;
        margin-top: 16px;
    }


    /* Hide social section */
    .social-icons-container {
        display: none;
    }

    /* Name + Email become vertical */
    .form-line-1 {
        flex-direction: column;
        gap: 0;
    }

    /* Responsive heading */
    .contact-sub {
        width: 280px;
        font-size: 36px;
        font-family: serif;
    }

    .contact-line {
        width: 100px;
    }

    .contact-description {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.2;
        color: #575654;
        font-family: serif;
    }

    .form-field {
        margin-bottom: 12px;
    }

    .mobile-social-icon-container {
        display: block;
        width: 100%;
        min-height: 80px;
        margin-top: 16px;
    }

    .connect-description {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        color: #575654;
        font-family: serif;
        text-align: start;
    }

    .social-icons-top {
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 16px;
    }

    .social-icons-top div {
        width: 40px;
        height: 40px;
        border-radius: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #E6DFCF;
    }

    .social-icons-top>div {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-icons-top a {
        display: block;
        line-height: 0;
    }

    .social-icons-top img {
        display: block;
    }

    .social-icons {
        width: 30px;
        height: 30px;
        filter: brightness(0) saturate(100%) invert(36%) sepia(20%) saturate(700%) hue-rotate(356deg) brightness(90%) contrast(90%);
    }

    .social-icons-bottom {
        width: 100%;
        height: 70px;
        box-sizing: border-box;
        border: 1px solid #CCD2C4;
        border-radius: 8px;
        margin-top: 16px;
        display: flex;
        justify-content: start;
        align-items: center;
        padding: 15px 20px;
        position: relative;
        background-color: #F7F0E8;
        margin-bottom: 30px;
    }

    .whatsapp-icon {
        width: 40px;
        height: 40px;
        padding-right: 9px;
        flex-shrink: 0;
    }

    .social-icons-bottom>div:nth-child(2) {
        min-width: 0;
        padding-right: 45px;
    }

    .chat-content-heading,
    .chat-content-p {
        white-space: nowrap;
        margin-top: 4px;
    }

    .chat-nav-icon {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%) rotate(-90deg);
    }
}


/* =========================================
   MOBILE
   480px - 767px
========================================= */

@media only screen and (min-width: 480px) and (max-width: 767px) {

    .home-container {
        width: 480px;
        position: absolute;
        top: 40%;
    }

    .home-container h2 {
        font-size: 50px;
    }

    .about-heading {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: start;
    }

    .about-sub {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: clamp(22px, 5vw, 28px);
        text-align: start;
    }

    .about-sub-end {
        padding-bottom: 30px;
    }

    .about-para {
        text-align: start;
    }

    #panel-1 {
        height: 580px;
        display: flex;
        align-items: end;
        padding-bottom: 10px;
        padding-top: 30px;
    }
}


/* =========================================
   MOBILE PORTRAIT
   0px - 479px
========================================= */

@media only screen and (max-width: 480px) {

    .home-container {
        width: 350px;
        font-size: 50px;
        max-width: none;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
    }

    .home-container img {
        padding-bottom: 0px;
    }

    .home-container h2 {
        line-height: 1.1;
    }

    .about-heading {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: start;
    }

    .about-sub {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: clamp(20px, 7vw, 26px);
        text-align: start;
    }

    .about-sub-end {
        padding-bottom: 30px;
    }

    .about-para {
        text-align: start;
    }

    #panel-1 {
        height: 600px;
        display: flex;
        padding-top: 16px;
        align-items: end;
    }

    #bottom-menu-1-close a {
        position: absolute;
        left: 10px;
        top: 10px;
    }

    .product-card {
        width: 280px;
        height: auto;
        min-height: 500px;
        padding: 15px;
        box-sizing: border-box;
    }

    .product-list .swiper-slide {
        width: 280px !important;
    }

    .product-image {
        widht: 200px;
    }

    .product-details h2 {
        font-size: 18px;
    }

    .current-price {
        font-size: 20px;
    }

    .description {
        font-size: 13px;
    }
}