/* Responsive Breakdown (Mobile First Adaptations) */
@media (max-width: 1092px) {

    .mobile-only {
        display: block;
    }

    .navbar {
        justify-content: space-between;
        align-content: flex-end;
        z-index: 10;
    }

    .menu-toggle {
        position: relative;
        bottom: 2px;
        display: flex;
        color: #000;
        font-size: 30px;
    }

    .close-menu {
        position: relative;
        font-size: 20px;
        margin-bottom: 50px;
        display: block;
        opacity: 0.5;
    }

    .cart-btn {
        font-size: 20px;
    }

    .cart-holder label {
        bottom: 15px;
        right: -3px;
        width: 9px;
        height: 9px;
    }

    .nav-links {
        position: absolute;
        top: 0px;
        left: -100%;
        opacity: 0;
        width: 100%;
        height: 100vh;
        display: block;
        background: rgba(15, 23, 42, 0.98);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        align-items: left;
        padding: 3rem 3rem!important;
        transition: var(--transition);
        z-index: 1;
    }

    .nav-links li {
        margin-bottom: 60px;
    }

    .nav-links a {
        color: #fff;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: #fff;
        font-weight: bold;
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .hero {
        height: 350px;
        border-radius: 15px;
        margin-bottom: 30px;
    }
    
    .hero-container {
        text-align: left;
        height: auto;
    }

    .hero-text {
        margin-top: 30px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        height: 50px;
        margin-bottom: 20px;
        height: auto;
    }

    .hero-text p {
        margin: 0 auto 2rem auto;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-image {
        width: 70%;
        bottom: 60px;
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .products-section {
        padding: 0 1rem;
    }

    .section-container {
        width: 100%;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 10px;
        /* Adjust vertical spacing as needed */
    }

    .product-card {
        width: 100%;
        min-width: 100%;
        /* Spans the full width of its grid column */
    }
    
    .price{
        font-size: 15px;
    }

    .card-image {
        height: 150px;
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .why-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .why-visual {
        order: 2;
        /* Drops the image context cleanly below information layout blocks on tablets/mobile */
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        width: 99%;
        height: 30vh;
    }

    .hero-container {
        text-align: left;
        flex-wrap: wrap;
    }

    .hero-text {
        text-align: center;
        margin: 0;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image img {
        height: auto;
        display: none;
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .card-image {
        height: 150px;
    }

    .card-info {
        padding: 10px;
    }

    .card-info h3 {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .category-tag {
        font-size: 7px;
        margin-bottom: 0;
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: auto;
    }
}

@media (max-width: 640px) {
    .nav-actions {
        column-gap: 5px
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-heading {
        font-size: 21px;
        text-align: center;
        margin-bottom: 5rem;
        font-weight: 600;
    }
    
    .feature-marker {
        font-weight: 500;  
        font-size: 15px;
    }

    .search-icon-wrapper {
        width: 170px;
    }

    .search-icon-wrapper svg {
        margin: 12px 28px;
    }

    .search-icon-wrapper input {
        width: 100%;
        height: 39px;
        font-size: 12px;
    }

    .search-area {
        padding: 10px;
    }

    .page-search-holder {
        width: 100%;
    }

    .search-area input {
        width: 100%;
        max-width: 500px;
    }

    .search-result {
        padding: 20px 0px;
    }

    .navbar {
        margin-bottom: 0;
    }

    .cart-holder {
        margin-right: 0px;
        display: none;
    }
    
    .floating-cart-holder{
        display: flex;
    }

    .sell-action {
        display: none;
    }

    .profile-avatar {
        width: 35px;
        height: 35px;
        font-size: 11px;
        font-weight: 600;
    }

    .hero {
        border-radius: 15px;
        height: 60vh;
        margin: 10px auto;
    }

    .hero-text h1 {
        font-size: 17px;
        margin-bottom: 20px;
        height: 18px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .hero-cta {
        flex-wrap: wrap;
    }

    .hero-cta .btn-outline {
        display: none;
    }
    
    .hero-image{
        width: 100%;
        top: 0px;
        padding: 0;
        margin-top: 20px;
    }
    
    .hero-image img {
        top: 0;
        height: 300px;
        display: block;
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 20px;
        margin-bottom: 0;
        margin-left: 10px;
    }

    .products-section {
        padding: 0 0 2rem 0;
    }

    .products-section .section-container {
        margin: 0;
        width: 100%;
        padding: 10px;
    }

    .products-section .section-header h2 {
        margin-left: 0;
        font-size: 16px;
    }

    .products-section .section-container .btn-text {
        color: #1e3a8a;
        font-size: 11px;
    }

    .product-grid {
        position: relative;
        width: 100%;
        min-width: 100%;
        display: flex;
        flex-wrap: wrap;
        column-gap: 4px;
    }

    .product-card {
        width: 49%;
        min-width: 49%;
        max-width: 100%;
        margin-bottom: 5px;
    }

    .card-image {
        height: 150px;
    }

    .card-image img {
        object-fit: cover;
    }


    .card-info {
        padding: 10px;
    }

    .card-info h3 {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .category-tag {
        font-size: 7px;
    }

    .verification-status {
        font-size: 8px;
    }

    .price {
        font-size: 14px;
    }

    .card-footer .action-btn {
        width: fit-content;
        height: auto;
        font-size: 7px;
        border-radius: 5px;
        padding: 3px 7px;
    }

    .category-nav {
        display: none;
    }

    .category-info h3 {
        font-size: 17px;
    }

    .category-info p {
        font-size: 13px;
        margin: 5px 0;
    }

    /*	/////////////////////////////*/
    /*	/////////////////////////////*/

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

}

@media (max-width: 576px) {

    .why-gphix-section {
        padding: 60px 10px;
    }

    .categories-section {
        padding: 10px;
    }

    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
        text-align: center;
        bottom: 20px;
        right: 20px;
        padding: 0px;
        display: flex;
        justify-content: center;
    }

    .floating-whatsapp-btn span {
        display: none;
        /* Collapses to a clean round circle on mobile */
    }
    
/*    //////////////////////////////////*/
/*    //////////////////////////////////*/
    
    .profileModelCard {
        padding: 40px 15px;
    }
}

@media (max-width: 260px) {
    .product-card {
        width: 100%;
        max-width: 100%;
    }
}
