/* =====================================================
   ONDINEA MOBILE FOUNDATION
===================================================== */

@media screen and (max-width:768px){

*{
    box-sizing:border-box;
}

html,
body{
    width:100%;
    overflow-x:hidden;
}

/* Header */

header{

    width:100%;

}

header 

.container{

    width:100%;
    padding:12px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;

}

/* Logo */

.logo img{

    height:55px;
    width:auto;

}

/* Desktop Menu Hide */

nav{

    display:none;

}

/* Menu Icon */

.menu-btn{

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:28px;
    cursor:pointer;

    color:#fff;

}

/* Cart */

.cart-icon{

    font-size:22px;
    text-decoration:none;

}

/* Right Section */

.nav-right{

    display:flex;
    align-items:center;
    gap:15px;

}

}/* ===============================
   MOBILE PRODUCT HORIZONTAL SCROLL
================================ */

@media (max-width:768px){

.products{
    display:flex !important;
    overflow-x:auto;
    overflow-y:hidden;
    gap:15px;
    padding:10px 15px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}

.products::-webkit-scrollbar{
    display:none;
}

.product-card{
    flex:0 0 260px;
    min-width:260px;
    scroll-snap-align:start;
}

}/* ===============================
   MOBILE WHY HORIZONTAL SCROLL
================================ */

@media (max-width:768px){

.why .container{
    padding-right:0;
    overflow:hidden;
}

.why-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto;
    overflow-y:hidden;
    gap:15px;
    padding:10px 15px;
    -webkit-overflow-scrolling:touch;
    scroll-behavior:smooth;
}

.why-grid::-webkit-scrollbar{
    display:none;
}

.why-card{
    flex:0 0 240px;
    min-width:240px;
}

}/* ===============================
   MOBILE CUSTOMER REVIEW SCROLL
================================ */

@media (max-width:768px){

.reviews .container{
    padding-right:0;
    overflow:hidden;
}

.review-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto;
    overflow-y:hidden;
    gap:15px;
    padding:10px 15px;
    -webkit-overflow-scrolling:touch;
    scroll-behavior:smooth;
}

.review-grid::-webkit-scrollbar{
    display:none;
}

.review-card{
    flex:0 0 280px;
    min-width:280px;
}

}/* ===============================
   MOBILE TRUST HORIZONTAL SCROLL
================================ */

@media (max-width:768px){

.trust{
    overflow:hidden;
}

.trust .trust-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:15px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:10px 15px;
    -webkit-overflow-scrolling:touch;
}

.trust .trust-grid::-webkit-scrollbar{
    display:none;
}

.trust .trust-box{
    flex:0 0 220px !important;
    min-width:220px !important;
}

}/* ===============================
   MOBILE SECTION SPACING
================================ */

@media (max-width:768px){

.trust{
    padding:25px 0 15px !important;
}

.featured{
    padding:15px 0 !important;
}

.why{
    padding:20px 0 !important;
}

.reviews{
    padding:20px 0 !important;
}

.categories{
    padding:20px 0 !important;
}

.section-heading{
    margin-bottom:20px !important;
}

}/* ===============================
   MOBILE FOOTER CLEAN
================================ */

@media (max-width:768px){

.footer-grid > div:nth-child(2),
.footer-grid > div:nth-child(3){
    display:none !important;
}

}/* ===============================
   MOBILE BOTTOM NAV
================================ */

@media (max-width:768px){

.mobile-bottom-nav{
    position:fixed;
    left:0;
    bottom:0;
    width:100%;
    height:70px;
    background:#111111;
    border-top:1px solid #333;
    box-shadow:0 -5px 15px rgba(0,0,0,.08);
    display:flex;
    justify-content:space-around;
    align-items:center;
    z-index:9999;
}

.mobile-bottom-nav a{
    flex:1;
    text-decoration:none;
    color:#ffffff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    font-size:11px;
}

.mobile-bottom-nav a span{
    font-size:20px;
}

.mobile-bottom-nav .nav-center{
    background:#4A1F24;
    position:relative;
    top:-18px;

    width:56px;
    height:56px;

    flex:0 0 56px;

    background:#D4AF37;
    border-radius:50%;
    border:3px solid #fff;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    box-shadow:0 6px 15px rgba(0,0,0,.15);

    color:#fff;
}

.mobile-bottom-nav .nav-center span{
    font-size:20px;
    line-height:1;
}

.mobile-bottom-nav .nav-center small{
    font-size:9px;
    color:#fff;
    margin-top:2px;
}
}/* ===============================
   PRODUCTS PAGE BANNER MOBILE
================================ */

@media (max-width:768px){

.products-banner{
    padding:20px 15px !important;
    min-height:auto !important;
}

.products-banner h1{
    font-size:32px !important;
    margin:0 !important;
}

}/* ===============================
   PRODUCTS SEARCH MOBILE
================================ */

@media (max-width:768px){

.search-section{
    padding:8px 0 !important;
    margin:0 !important;
    background:transparent !important;
}

.search-section .container{
    padding:0 15px !important;
}

.search-box{
    margin:0 !important;
}

}/* ===============================
   PRODUCTS PAGE SINGLE BUTTON
================================ */

@media (max-width:768px){

.products-page .btn-buy{
    display:none !important;
}

.products-page .product-buttons{
    display:block !important;
    width:100%;
}

.products-page .btn-cart{
    width:100%;
    border-radius:10px;
    padding:12px;
    font-size:15px;
}

}/* ==========================================
   PRODUCTS PAGE MOBILE (ONLY PRODUCTS PAGE)
========================================== */

@media (max-width:768px){

.products-page{
    display:grid !important;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:8px;
}

.products-page .product-card{
    width:100%;
    min-width:0;
    padding:12px;
    border-radius:16px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.products-page .product-card p{
    display:none;
}

.products-page .product-card img{
    width:85px;
    height:85px;
    object-fit:contain;
    margin:8px auto;
}

.products-page .rating{
    font-size:11px;
    margin:4px 0;
}

.products-page h3{
    font-size:18px;
    line-height:1.3;
    text-align:center;
    margin:6px 0;
    min-height:48px;
}

.products-page .price{
    margin:6px 0;
    display:flex;
    align-items:center;
    gap:6px;
}

.products-page .new-price{
    font-size:18px;
    font-weight:700;
}

.products-page .old-price{
    font-size:13px;
}

.products-page .btn-buy{
    display:none;
}

.products-page .product-buttons{
    width:100%;
}

.products-page .btn-cart{
    width:100%;
    padding:10px;
    border-radius:10px;
    font-size:14px;
}

.products-page .wishlist{
    top:10px;
    right:10px;
}

.products-page .sale-badge{
    top:10px;
    left:10px;
    font-size:10px;
    padding:5px 10px;
}

.featured .container{
    width:100%;
    max-width:100%;
    padding:0 6px;
}

}/* ===============================
   HOME PAGE SINGLE BUTTON
================================ */

@media (max-width:768px){

#homeProducts .btn-buy{
    display:none !important;
}

#homeProducts .product-buttons{
    display:block !important;
    width:100%;
}

#homeProducts .btn-cart{
    width:100%;
    border-radius:10px;
    padding:12px;
    font-size:15px;
}

}/* ===============================
   HOME PAGE COMPACT PRODUCT CARD
================================ */

@media (max-width:768px){

#homeProducts .product-card p{
    display:none !important;
}

#homeProducts .rating{
    margin:5px 0;
    font-size:12px;
}

#homeProducts h3{
    font-size:18px;
    line-height:1.3;
    text-align:center;
    min-height:48px;
    margin:6px 0;
}

#homeProducts .price{
    margin:8px 0;
}

#homeProducts .btn-buy{
    display:none !important;
}

#homeProducts .product-buttons{
    width:100%;
}

#homeProducts .btn-cart{
    width:100%;
}

}@media(max-width:768px){

.profile-card{
    flex-direction:column;
    text-align:center;
}

.account-item{
    padding:14px;
    font-size:15px;
}

#logoutBtn{
    width:100%;
}

}/* ==========================
   RELATED PRODUCTS MOBILE
========================== */

@media (max-width:768px){

#relatedProducts{

    display:grid;
    grid-template-columns:1fr;
    gap:20px;

}

#relatedProducts .product-card{

    width:100%;
    max-width:100%;
    min-width:100%;
    margin:0;

}

#relatedProducts .product-card img{

    width:170px;
    height:170px;
    object-fit:contain;
    margin:auto;

}

}/* Hide top offer badge on Product Page */

@media (max-width:768px){

.product-page .sale-badge{
    display:none;
}

}@media (max-width:768px){

.product-page .top-bar{
    display:none;
}

}
/* ===============================
   LOGIN & SIGNUP MOBILE
================================ */

@media (max-width:768px){

.checkout-page{

    min-height:calc(100vh - 180px);
    padding:40px 20px 70px;

}

.checkout-form{

    margin:20px auto;
    padding:28px 20px;
    border-radius:20px;

}

.checkout-form h2{

    font-size:30px;
    margin-bottom:25px;

}

.checkout-form input{

    height:50px;
    font-size:15px;

}

.terms-box{

    margin:18px 0;

}

.terms-box label{

    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:13px;
    line-height:1.6;

}

.terms-box input{

    margin-top:4px;

}

.forgot-password{

    text-align:center;
    margin:15px 0 20px;

}

}