* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
}

.header {
    background: linear-gradient(to right, #fff, #ffd6d6); /* Vibrant gradient */
}

.navbar {
    display: flex;
    align-items: center;
    padding: 20px;
}

nav {
    flex: 1;
    text-align: right;
}

nav ul {
    display: inline-block;
    list-style-type: none;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

a {
    text-decoration: none;
    color: #555;
}

p {
    color: #555;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col-2 {
    flex-basis: 50%;
    min-width: 300px;
}

.col-2 img { 
    max-width: 100%;
    padding: 50px 0;
}

.col-2 h1 {
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}

.btn {
    display: inline-block;
    background: #ff523b;
    color: #fff;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 0.5s;
}

.btn:hover {
    background: #563434;
}

.categories {
    margin: 70px 0;
}

.col-3 {
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}

.col-3 img {
    width: 100%;
}

.small-container {
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}

.col-4 {
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
}

.col-4 img {
    width: 100%;
}

.title {
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    line-height: 60px;
    color: #555;
}

.title::after {
    content: '';
    background: #ff523b;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    color: #555;
    font-weight: normal;
}

.col-4 p {
    font-size: 14px;
}

.rating .fa-solid {
    color: #ff523b;
}

.rating .fa-regular {
    color: #ff523b;
}

.col-4:hover {
    transform: translateY(-5px);
}
.offer{
   background: linear-gradient(to right, #fff, #ffd6d6); /* Vibrant gradient */
   margin-top: 80px;
   padding: 30px 0;
}
.offer .add-cart {
  font-size: 20px;
  background: #ff523b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
}

.col-2 .offer-img {
    padding: 50px;
}


.small {
    color: #555;
}

.testimonial {
    padding-top: 100px;
}

.testimonial .col-3 {
    text-align: center;
    padding: 40px 20px;
}

.testimonial .col-3 img {
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
}

.testimonial .col-3:hover {
    transform: translateY(-10px);
}

.fa-solid.fa-quote-left {
    font-size: 34px;
    color: #ff523b;
}

.col-3 p {
    font-size: 12px;
    margin: 12px 0;
    color: #777;
}

.testimonial .col-3 h3 {
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.brands {
    margin: 100px auto;
}

.col-5 {
    width: 160px;
}

.col-5 img {
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}

.col-5 img:hover {
    filter: grayscale(0);
}

.footer {
    background: #000;
    color: #fff; /* Changed to white for better legibility */
    font-size: 14px;
    padding: 60px 0 20px;
}

.footer p {
    color: #8a8a8a;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4 {
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-col-1 {
    flex-basis: 30%;
}

.footer-col-2 {
    flex: 1;
    text-align: center;
}

.footer-col-2 img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-col-3, .footer-col-4 {
    flex-basis: 12%;
    text-align: center;
}

ul {
    list-style-type: none;
}

.app-logo {
    margin-top: 20px;
}

.app-logo img {
    width: 140px;
}
#cart-icon{
    position: relative;
    font-size: 1.8rem;
    cursor: pointer;
}
#cart-icon[data-quantity = "0"]::after{
    contain: "";
}
#cart-icon[data-quantity]::after{
    content: attr(data-quantity);
    position: absolute;
    top: 0;
    right: -12px;
    width: 20px;
    height: 20px;
    background: #02ac02;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer hr {
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}
.footer-bottom {
    text-align: center;
}

.menu-icon {
    width: 28px;
    margin-left: 20px;
    display: none;
}
/* Media query for menu */
@media only screen and (max-width: 800px) {
    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        background: #333;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.5s;
        max-height: 0; /* Initially hidden */
    }
    nav ul li {
        display: block;
        margin-right: 0;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    nav ul li a {
        color: #fff;
    }
    .menu-icon {
        display: block;
        cursor: pointer;
    }
    
    .col-2 h1 {
        font-size: 35px;
        line-height: 45px;
    }
    
    .navbar {
        padding: 15px;
    }
    
    .cart {
        width: 100%;
        right: -100%;
    }
    
    .categories {
        margin: 50px 0;
    }
    
    .col-3 {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
    
    .col-4 {
        flex-basis: 48%;
        margin-bottom: 30px;
    }
    
    .offer {
        margin-top: 50px;
        padding: 20px 0;
    }
    
    .col-2 .offer-img {
        padding: 20px;
    }
    
    .testimonial {
        padding-top: 50px;
    }
    
    .brands {
        margin: 50px auto;
    }
    
    .col-5 {
        width: 120px;
        margin-bottom: 20px;
    }
    
    .footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4 {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    
    .form-container {
        width: 90%;
        max-width: 350px;
    }
    
    .about, .contact {
        padding: 30px 15px;
    }
    
    .contact form {
        max-width: 90%;
    }
}

/* Media query for tablets */
@media only screen and (max-width: 1024px) and (min-width: 801px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .col-2 h1 {
        font-size: 42px;
        line-height: 50px;
    }
    
    .col-4 {
        flex-basis: 30%;
    }
    
    .col-5 {
        width: 140px;
    }
    
    .cart {
        width: 320px;
    }
}

/* Media query for small tablets */
@media only screen and (max-width: 768px) {
    .col-4 {
        flex-basis: 45%;
        min-width: 180px;
    }
    
    .small-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .title {
        margin: 0 auto 60px;
        font-size: 28px;
    }
    
    .row-2 {
        margin: 80px auto 40px;
    }
    
    .page-btn {
        margin: 0 auto 60px;
    }
    
    .single-product {
        margin-top: 60px;
    }
    
    .small-img-row {
        justify-content: center;
        gap: 10px;
    }
    
    .small-img-col {
        flex-basis: 20%;
    }
}

    /* all products page*/
.row-2{
     justify-content: space-between;
     margin: 100px auto 50px;
     }
select{
      border: 1px solid #ff523b;
      padding: 5px;
     }
select:focus{
    outline: none;
}
.page-btn{
    margin: 0 auto 80px;
}
.page-btn span{
    display: inline-block;
    border: 1px solid #ff523b;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}
.page-btn span:hover{
    background: #ff523b;
    color: #fff;
}
/* -----single product details-----*/
.single-product{
    margin-top: 80px;
}
.single-product .col-2 img{
    padding: 0;
}
.single-product .col-2{
    padding: 20px;
}
.single-product h4{
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;
}
.single-product select{
    display: block;
    padding: 10px;
    margin-top: 20px;
}
.single-product input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid #ff523b;
}
input:focus{
    outline: none;
}
.single-product .fa-solid{
    color: #ff523b;
    margin-left: 10px;
}
.small-img-row{
    display: flex;
    justify-content: space-between;
}
.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}
/* cart items */
.cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 360px;
    max-height: 100vh;       /* instead of min-height */
    padding: 20px;
    background: #fff;
    box-shadow: -2px 0 4px hsl(0 4% 15% / 10%);
    transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    overflow-y: auto;        /* ✅ allow scrolling if too many products */
    z-index: 9999;           /* ✅ keep it above everything */

}
.cart.active {
    right: 0;
    transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.cart-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
}
.total{
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top: 1px solid #ff523b;
}
.total-title{
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
}
.total-price{
    font-size: 1.075rem;
    margin: 1rem 0 0 0.7rem;
}
.btn-buy{
    display: flex;
    justify-content: center;
    margin: 1.5rem auto 0 auto;
    padding: 12px 20px;
    width: 50%;
    text-align: center;
    border: none;
    border-radius: 2rem;
    background: #ff523b;
    color: #fff;
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}
#close-cart{
    position: absolute;
    top: 1rem;
    right: 0.8rem;
    font-size: 2rem;
    color: #ff523b;
    cursor: pointer;
}
.cart-box{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.cart-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
}
.detail-box{
    display: grid;
    row-gap: 0.5rem;
}
.cart-product-title{
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}
.cart-price{
    font-weight: 500;
}
.cart-quantity{
    border: 1px solid #ff523b;
    outline-color: #ff523b;
    width: 2.8rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
}
.cart-remove{
    font-size: 24px;
    cursor: pointer;
}
.add-cart{
    bottom: 10px;
    right: 10px;
    background: #02ac02;
    color: #fff;
    padding: 10px;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
}
.add-cart:hover{
    background: hsl(249, 32%, 17%);
}

/* Search functionality */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.search-input {
    padding: 8px 40px 8px 15px;
    border: 2px solid #ff523b;
    border-radius: 25px;
    outline: none;
    width: 200px;
    transition: width 0.3s ease;
}

.search-input:focus {
    width: 250px;
}

.search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #ff523b;
    cursor: pointer;
    font-size: 16px;
}

/* Loading spinner */
.loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff523b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sticky header */
.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.sticky .navbar {
    padding: 10px 20px;
}

/* Smooth scroll offset for sticky header */
.scroll-offset {
    padding-top: 80px;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff523b;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #563434;
    transform: translateY(-3px);
}

/* Product quick view modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #ff523b;
}

/* Product hover effects */
.col-4 {
    position: relative;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 82, 59, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.col-4:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: white;
    color: #ff523b;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.quick-view-btn:hover {
    transform: scale(1.05);
}
.quick-view-img {
    width: 100%;
    max-width: 350px;
    height: 350px;
    object-fit: contain;
    /* ✅ Keep proportions in modal */
    display: block;
    margin: 0 auto;
}
/* ✅ Make all product images uniform */
.product-img {
    width: 100%;
    height: 250px;
    /* fix a standard height */
    object-fit: cover;
    /* crops oversized images */
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}
/* Wishlist functionality */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #ff523b;
    transition: all 0.3s ease;
    opacity: 0;
}

.col-4:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn.active {
    background: #ff523b;
    color: white;
}

.wishlist-btn:hover {
    transform: scale(1.1);
}

/* Notification toast */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: #f44336;
}

/* Image lazy loading placeholder */
.image-placeholder {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* Improved form validation */
.form-container {
    width: 300px;
    position: relative;
    overflow: hidden;
}

.form-container form {
    width: 100%;
    position: absolute;
    top: 0;
    transition: all 0.5s ease;
}

#Indicator {
    width: 100px;
    border: none;
    height: 3px;
    background: #ff523b;
    margin-top: 8px;
    transform: translateX(0);
    transition: transform 1s;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #ff523b;
    outline: none;
}

.form-input.error {
    border-color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Price filter slider */
.price-filter {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.price-range {
    width: 100%;
    margin: 10px 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #ff523b;
}

/* Skeleton loading for products */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-product {
    height: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Enhanced mobile responsiveness */
@media only screen and (max-width: 768px) {
    .search-container {
        margin-right: 10px;
    }
    
    .search-input {
        width: 150px;
    }
    
    .search-input:focus {
        width: 180px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .toast {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
    
    .price-filter {
        margin: 15px 0;
        padding: 15px;
    }
     .cart {
        width: 70%;                     /* take 70% of screen */
        right: -100%;
        max-height: 100vh;
        padding: 15px;
        background: #fff !important;    /* ✅ force white background */
        border-top : none !important;        /* ✅ remove green border */
    }
     .header {
    height: auto !important;
    min-height: 60px !important;  /* adjust for logo/nav */
    background-color: #28a745;    /* keep green only behind navbar */
    overflow: hidden;             /* prevent content pushing height */
  }

  .header img,
  .header .cart,
  .header .menu {
    max-height: 60px;
  }
}

@media only screen and (max-width: 480px) {
    .search-container {
        display: none;
    }
    
    .header.sticky .navbar {
        padding: 8px 15px;
    }
          .toast {
              right: 20px;
              left: 20px;
              transform: translateY(-200px);
          }
    
          .toast.show {
              transform: translateY(0);
          }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
    
    .modal-content {
        padding: 15px;
        border-radius: 5px;
    }
    /* Cart as slide-in drawer */
    .cart {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important; /* hidden by default */
        width: 85% !important;  /* take most of screen */
        height: 100vh !important;
        background: #fff !important;
        padding: 15px;
        border-top : none !important;  
        box-shadow: -2px 0 8px rgba(0,0,0,0.2);
        transition: right 0.3s ease-in-out;
        z-index: 9999 !important;
        overflow-y: auto;
    }

    /* When cart is active (open) */
    .cart.active {
        right: 0 !important;
    }

    /* Close button inside cart */
    .cart .close-btn {
        display: block;
        text-align: right;
        padding: 10px;
        font-size: 24px;
        cursor: pointer;
    }
      header,
         .header {
             height: auto !important;
             min-height: 60px !important;
             /* adjust for logo/nav */
             background-color: #28a745;
             /* keep green only behind navbar */
             overflow: hidden
         }

    .navbar {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .cart-item img {
        max-width: 50px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .col-4:hover {
        transform: none;
    }
    
    .product-overlay {
        opacity: 1;
        background: rgba(255, 82, 59, 0.1);
    }
    
    .wishlist-btn {
        opacity: 1;
    }
    
    .btn:hover, .add-cart:hover, .back-to-top:hover {
        transform: none;
    }
}

.sc-container{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sc-container img{
    width: 200px;
    margin: 2rem 0;
}
.sc-container h1{
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.sc-container p{
    max-width: 600px;
    font-size: 0.97rem;
    text-align: center;
    margin: 0.5rem 0;
}
.sc-btn{
    padding: 12px 20px;
    border-radius: 2rem;
    background: #02ac02;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}
/* Account Page */
/*-----------account page ----------*/
.account-page {
    padding: 50px 0;
    background: linear-gradient(to right, #fff, #ffd6d6);
}

.form-container {
    width: 300px;
    height: 400px;
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: auto;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.form-btn {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.form-btn span {
    font-weight: bold;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    width: 100px;
    text-align: center;
    display: inline-block;
}

.form-container span {
    font-weight: bold;
    padding: 0 10px;
    color: #555;
    cursor: pointer;
    width: 100px;
    display: inline-block;
}

.form-container form {
    position: absolute;
    top: 100px;
    width: 100%;
    left: 300px;
    /* hidden by default */
    transition: all 0.5s ease;
}

form input {
    width: 100%;
    height: 30px;
    margin: 10px 0;
    padding: 0 10px;
    border: 1px solid #ccc;
}

form .btn:focus {
    outline: none;
}

form a {
    font-size: 12px;
}

#Loginform {
    left: 0;
}

#Regform {
    left: 300px;
}

#Forgotform,
#Resetform {
    left: 300px;
}

#Indicator {
    width: 100px;
    height: 3px;
    background: #ff523b;
    border: none;
    margin-top: 5px;
    transform: translateX(0px);
    transition: transform 0.5s;
}
/*-----------about and contact  page ----------*/
.about {
    padding: 50px 0;
    text-align: center;
     background: linear-gradient(to right,#fff, #ffd6d6);
}
.contact {
    padding: 50px 0;
    text-align: center;
}
.about h1, .contact h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
.about h2, .contact h2 {
    font-size: 28px;
    margin-bottom: 20px 0;
}
.about ul {
    list-style-type: none;
    padding: 0;
}
.contact form {
    max-width: 400px;
    margin: auto;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

.contact button {
    background: #ff523b;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.contact button:hover {
    background: #563434;
}
/* Media query for less than 600 screen size */
@media only screen and  (max-width: 768px) and (min-width: 600px)
{
    .row {
        text-align: center;
    }
    .col-2, .col-3, .col-4 {
        flex-basis: 100%;
    }
    
    .col-4 {
        min-width: 250px;
        margin-bottom: 40px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .small-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .col-2 h1 {
        font-size: 28px;
        line-height: 35px;
        margin: 15px 0;
    }
    
    .col-2 p {
        font-size: 14px;
        margin: 15px 0;
    }
    
    .btn {
        padding: 6px 20px;
        font-size: 14px;
    }
    
    .title {
        font-size: 24px;
        line-height: 35px;
        margin: 0 auto 50px;
    }
    
    .categories {
        margin: 40px 0;
    }
    
    .offer {
        margin-top: 40px;
        padding: 15px 0;
    }
    
    .offer h1 {
        font-size: 24px;
    }
    
    .offer p {
        font-size: 16px;
    }
    
    .testimonial {
        padding-top: 40px;
    }
    
    .testimonial .col-3 {
        padding: 30px 15px;
    }
    
    .brands {
        margin: 40px auto;
    }
    
    .col-5 {
        width: 100px;
        margin-bottom: 15px;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-col-2 img {
        width: 150px;
    }
    
    .app-logo img {
        width: 120px;
    }
    
    .single-product .row{
        text-align: left;
    }
    .single-product .col-2{
        padding: 20px 0;
    }
    .single-product h1{
        font-size: 26px;
        line-height: 32px;
    }
    
    .single-product h4 {
        font-size: 18px;
        margin: 15px 0;
    }
    
    .single-product select {
        padding: 8px;
        margin-top: 15px;
    }
    
    .small-img-row {
        margin-top: 15px;
    }
          .toast {
              right: 20px;
              left: 20px;
              transform: translateY(-200px);
          }
    
          .toast.show {
              transform: translateY(0);
          }
    .cart-box {
        grid-template-columns: 30% 50% 20%;
        gap: 0.5rem;
    }
    
    .cart-img {
        width: 80px;
        height: 80px;
    }
    
    .cart-product-title {
        font-size: 0.9rem;
    }
        .form-container {
            width: 90%;
            height: auto;
            padding: 30px;
        }
    
        .form-container form {
            top: 100px;
            width: 100%;
        }
    
    .about h1, .contact h1 {
        font-size: 28px;
    }
    
    .about h2, .contact h2 {
        font-size: 22px;
    }
    
    .about, .contact {
        padding: 30px 10px;
    }
}

/* Media query for less than 600 screen size */
@media only screen and (max-width: 600px) and (min-width: 481px) {
    .row {
        text-align: center;
    }

    .col-2,
    .col-3,
    .col-4 {
        flex-basis: 100%;
    }

    .col-4 {
        min-width: 250px;
        margin-bottom: 40px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .small-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .col-2 h1 {
        font-size: 28px;
        line-height: 35px;
        margin: 15px 0;
    }

    .col-2 p {
        font-size: 14px;
        margin: 15px 0;
    }

    .btn {
        padding: 6px 20px;
        font-size: 14px;
    }

    .title {
        font-size: 24px;
        line-height: 35px;
        margin: 0 auto 50px;
    }

    .categories {
        margin: 40px 0;
    }

    .offer {
        margin-top: 40px;
        padding: 15px 0;
    }

    .offer h1 {
        font-size: 24px;
    }

    .offer p {
        font-size: 16px;
    }

    .testimonial {
        padding-top: 40px;
    }

    .testimonial .col-3 {
        padding: 30px 15px;
    }

    .brands {
        margin: 40px auto;
    }

    .col-5 {
        width: 100px;
        margin-bottom: 15px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-col-2 img {
        width: 150px;
    }

    .app-logo img {
        width: 120px;
    }

    .single-product .row {
        text-align: left;
    }

    .single-product .col-2 {
        padding: 20px 0;
    }

    .single-product h1 {
        font-size: 26px;
        line-height: 32px;
    }

    .single-product h4 {
        font-size: 18px;
        margin: 15px 0;
    }

    .single-product select {
        padding: 8px;
        margin-top: 15px;
    }

    .small-img-row {
        margin-top: 15px;
    }

    .toast {
        right: 20px;
        left: 20px;
        transform: translateY(-200px);
    }

    .toast.show {
        transform: translateY(0);
    }

    .cart-box {
        grid-template-columns: 30% 50% 20%;
        gap: 0.5rem;
    }

    .cart-img {
        width: 80px;
        height: 80px;
    }

    .cart-product-title {
        font-size: 0.9rem;
    }

    .form-container {
        width: 90%;
        height: auto;
        padding: 30px;
    }

    .form-container form {
        top: 100px;
        width: 100%;
    }

    .about h1,
    .contact h1 {
        font-size: 28px;
    }

    .about h2,
    .contact h2 {
        font-size: 22px;
    }

    .about,
    .contact {
        padding: 30px 10px;
    }
}

/* Media query for very small screens */
@media only screen and (max-width: 480px) {
    .col-2 h1 {
        font-size: 24px;
        line-height: 30px;
    }
    
    .navbar {
        padding: 10px;
    }
    
    .logo img {
        width: 100px;
    }
    
    .col-4 {
        min-width: 200px;
    }
    
    .title {
        font-size: 20px;
        line-height: 30px;
    }
    
    .cart {
        width: 100%;
        padding: 15px;
    }
    
    .cart-title {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }
    
    .btn-buy {
        width: 70%;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .form-container {
        width: 100%;
        margin: 0 10px;
    }
    
    .page-btn span {
        width: 35px;
        height: 35px;
        line-height: 35px;
        margin-left: 5px;
    }
    
    .single-product h1 {
        font-size: 22px;
        line-height: 28px;
    }
    
    .about h1, .contact h1 {
        font-size: 24px;
    }
    
    .about h2, .contact h2 {
        font-size: 20px;
    }
}
