@media (min-width: 300px) and (max-width: 600px) {
    body {
        overflow-x: hidden;
    }

    .navbar .store-name {
        font-size: 1.5rem;
        font-family: var(--cormorant-);
        font-weight: 600;
        /* margin-left: 12px; */
    }

    .navbar .nav-content .navicon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .hero-container .carousel-inner .carousel-item .hero-words-1 {
        font-size: 19px;
    }

    .hero-container .carousel-inner .carousel-item .hero-words-2 {
        font-size: 28px;
    }

    .hero-container .carousel-inner .carousel-item .hero-words-3 {
        font-size: 11px;
    }

    .animated-button {
        height: 35px;
        width: 200px;
        font-size: 11px;
    }

    .animated-button svg {
        width: 19px;
    }

    button {
        height: 35px;
        width: 40px;
        font-size: 11px;
        gap: 2px;
    }

    .button {
        width: max-content;
    }

    .hero-btn {
        display: flex;
        flex-direction: column;
    }

    .view-product {
        display: none;
        visibility: hidden;
    }

    .carousel-item {
        height: 60vh;
    }
}



@media (max-width: 350px) {

    .navbar .store-name a {
        font-size: 1.2rem;
        font-family: var(--cormorant-);
        font-weight: 600;
    }

    .navbar .nav-content .navicon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .hero-container .carousel-inner .carousel-item .hero-words-1 {
        font-size: 15px;

    }

    .hero-container .carousel-inner .carousel-item .hero-words-2 {
        font-size: 24px;
    }

    .hero-container .carousel-inner .carousel-item .hero-words-3 {
        font-size: 12px;
    }
}

@media (min-width: 1200px) {
    .col-xl-5col {
        flex: 0 0 auto;
        width: 20%;
    }
}




@media (max-width: 1199px) and (min-width: 768px) {
    .card {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .card {
        width: 100%;
    }
}

@media (max-width:600px) {
    .family-container button {
        width: 100%;
    }
}


/* Cart-slidebar */

@media (max-width: 340px) and (min-width: 512px) {
    .cart-item-image {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .navbar .nav-content .navicon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}



/* go back button in */

@media (max-width: 340px) and (min-width: 512px) {

    .btn-go-back {
        width: 100%;
        background-color: red;
    }

    .btn-go-back:hover {
        background: #c0596A;
        color: #fff;
        border-color: #c0596A;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(192, 89, 106, 0.3);
    }

    .btn-go-back svg {
        transition: transform 0.3s ease;
    }

    .btn-go-back:hover svg {
        transform: translateX(-5px);
    }
}


/* footer */


@media all and (max-width: 1140px) {

    .footer-5-column .footer-container .footer-navbar-container,
    .footer-5-column .footer-navbar {
        row-gap: 3rem;
    }

    .footer-5-column .footer-container .footer-navbar-container .footer-company-details,
    .footer-5-column .footer-container .footer-navbar-container .footer-navbar {
        padding: 0;
        width: 100%;
    }
}

@media all and (max-width: 992px) {
    .footer-5-column .footer-navbar .footer-navbar-col {
        width: 50%;
    }

    .carousel-item {
        height: 50vh;
    }
}

@media all and (max-width: 576px) {
    .footer-5-column .footer-navbar .footer-navbar-col {
        width: 100%;
    }
}

/* mobile */

/* get-in-touch */

@media (max-width: 768px) {
    .contact-bg h1 {
        font-size: 2rem;
    }

    .contact-bg h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .form-card {
        padding: 1.5rem;
    }

    .info-item {
        gap: 1rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .social-links {
        gap: 0.75rem;
    }

    .contact-wrapper {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-bg h1 {
        font-size: 1.75rem;
    }

    .contact-bg h2 {
        font-size: 1.25rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .form-card {
        padding: 1rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .section-padding {
        padding: 2rem 0;
    }

    .info-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* get-in-touch */

/* @media only screen and(min-width:360px) and (max-width:950px) {

    .card {
        width: 90%
    }

    .title {
        font-size: 16px
    }

    .img {
        height: 180px
    }

    .bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .price {
        margin-bottom: 5px
    }

    .btn {
        width: 100%;
        justify-content: center
    }

} */

/* Middle device navbar alignment fix (768px–991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .my-nav .d-flex.mx-md-auto {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: 1;
        justify-content: space-between !important;
        align-items: center !important;
    }
}

/* Middle device — brand name centered, icons right */
@media (min-width: 768px) and (max-width: 991px) {
    .my-nav .d-flex.mx-md-auto .store-name {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Below 400px — shrink brand name to fit navbar */
@media (max-width: 400px) {

    .navbar .store-name a,
    .navbar .store-name .navbar-brand {
        font-size: 1.5rem !important;
        white-space: nowrap;
    }

    .navbar .navicon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

/* Privacy Policy text — center on below large devices */
@media (max-width: 991px) {
    .footer-5-column .footer-container .d-flex.justify-content-end {
        justify-content: center !important;
    }
}