
    body {
        background-color: #f0e7de;
        font-family: 'Arial', sans-serif;
        margin: 0;
        padding: 0;
    }

    .navbar-custom {
        background-color: #f0e7de;
        padding: 1rem;
        border-bottom: 1px solid #ddd;
        position: relative;
        z-index: 2000;
    }

    .navbar-custom .navbar-brand {
        font-weight: bold;
        font-size: 1.5rem;
        margin: auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-custom .icon-btn {
        background: none;
        border: none;
        font-size: 1.6rem;
        color: black;
    }

    .product-section {
        text-align: center;
        padding: 2rem 1rem;
    }

    .product-section img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .product-title {
        font-size: 2rem;
        font-weight: bold;
        margin-top: 1.5rem;
    }

    .product-subtitle {
        font-size: 1rem;
        color: #555;
        margin-bottom: 2rem;
    }

    .btn-shop {
        background-color: black;
        color: white;
        padding: 0.75rem 2rem;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        text-transform: uppercase;
    }

    /* Sidebar */
    .sidebar {
        height: 100%;
        width: 0;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fefaf5;
        overflow-x: hidden;
        transition: 0.3s;
        padding-top: 60px;
        z-index: 1500;
        border-right: 1px solid #ddd;
    }

    .sidebar a {
        padding: 10px 25px;
        text-decoration: none;
        font-size: 1.2rem;
        color: black;
        display: block;
        transition: 0.3s;
    }

    .sidebar a:hover {
        background-color: #ddd;
    }

    .sidebar .closebtn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 1.8rem;
    }

    .sidebar .menu-section {
        padding: 20px 0;
        border-bottom: 1px solid #ddd;
    }

    .sidebar .menu-section h5 {
        padding-left: 25px;
        font-size: 1rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .sidebar .menu-section h5 i {
        margin-right: 10px;
    }

    .sidebar .bottom-section {
        padding: 20px 25px;
        text-align: center;
    }

    .sidebar .bottom-section img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
        border: 2px solid #ccc;
    }

    .sidebar .bottom-section h4 {
        margin-top: 10px;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .country-flag {
        width: 20px;
        height: 14px;
        object-fit: cover;
        margin-left: 8px;
    }

    .accessibility-icon {
        position: absolute;
        bottom: 20px;
        left: 20px;
        font-size: 1.5rem;
        background-color: #f0e7de;
        border-radius: 50%;
        padding: 10px;
        cursor: pointer;
    }

    .chat-icon {
        position: absolute;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
        background-color: #000;
        color: #fff;
        border-radius: 50%;
        padding: 10px;
        cursor: pointer;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .search-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fefaf5;
        z-index: 1500;
        padding: 80px 20px 20px 20px;
        overflow-y: auto;
    }

    .search-input-wrapper {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #ccc;
        margin-bottom: 20px;
    }

    .search-input-wrapper i {
        margin-right: 10px;
        color: #999;
        font-size: 1.2rem;
    }

    .search-input-wrapper input {
        border: none;
        outline: none;
        flex: 1;
        font-size: 1.2rem;
        padding: 10px 0;
        background-color: transparent;
    }

    .search-close {
        font-size: 1.5rem;
        cursor: pointer;
        color: #000;
    }

    .search-section h5 {
        font-weight: bold;
        margin-bottom: 15px;
    }

    .search-section p {
        margin-bottom: 10px;
    }

    .top-product {
        width: 100px;
        border-radius: 10px;
    }

  :root {
    --color-bg: #f7f9fb;
    --color-primary: #1c1c1c;
    --color-primary-dark: #000000;
    --color-text: #222;
    --color-light: #ccc;
  }

  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
  }

  .navbar-custom {
    background-color: #f0e7de;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
  }

  .shopping-section {
    padding: 2rem 1rem;
    background: var(--color-bg);
  }

  .product-title {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
  }

  .category-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 1rem;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: none;
    background-color: var(--color-light);
    color: var(--color-text);
    font-weight: 600;
    white-space: nowrap;
  }

  .category-btn.active {
    background-color: var(--color-primary);
    color: white;
  }

  .shopping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem; /* Ensure space for pagination */
  }

  .product-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    animation: fadeInUp 0.4s forwards;
  }

  .product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .product-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background-color: #f9f9f9;
    transition: filter 0.4s ease;
    filter: blur(10px);
  }

  .product-card img.loaded {
    filter: blur(0);
  }

  .product-body {
    padding: 0.75rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .product-body .product-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    height: 2.4em;
    line-height: 1.2em;
    overflow: hidden;
  }

  .product-price {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 0.6rem;
  }

  .buy-btn {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 0.8rem;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
    
  }

  .buy-btn:hover {
    background-color: var(--color-primary-dark);
  }
.loader-wrapper {
  grid-column: 1 / -1; /* full width */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid #444;
  border-top: 4px solid var(--color-primary-dark);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}


  .pagination-btn {
    padding: 0.45rem 0.9rem;
    border: none;
    background-color: #f1f1f1;
    color: #333;
    font-size: 0.85rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
  }

  .pagination-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
  }

  .pagination-btn.active {
    background-color: var(--color-primary-dark);
    color: white;
    font-weight: bold;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
  }

  .pagination-wrapper .dots {
    font-size: 1rem;
    color: #777;
    padding: 0 0.5rem;
  }

  /* ===== Responsive Grid for Mobile and Tiny Screens ===== */
  @media (max-width: 768px) {
    .shopping-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 480px) {
    .shopping-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.8rem;
    }

    .product-body .product-title {
      font-size: 0.75rem;
    }

    .product-price {
      font-size: 0.8rem;
    }

    .buy-btn {
      font-size: 0.75rem;
      padding: 0.4rem;
    }
  }

  @media (max-width: 360px) {
    .shopping-grid {
      grid-template-columns: 1fr 1fr;
      gap: 0.7rem;
    }

    .product-card img {
      height: 140px;
    }

    .product-body .product-title {
      height: 2em;
    }
  }
  .loader-container {
  grid-column: 1 / -1; /* span full grid width */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}
/* Fade-in animation for product grid */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}



  /* ----------  FOOTER  ---------- */
  .footer-dark{
    background:#000;
    color:#fff;
    font-family:var(--bs-body-font-family,Arial,sans-serif);
  }
  .footer-dark a{color:#fff;text-decoration:none;font-size:.9rem;}
  .footer-dark a:hover{color:#F26522;text-decoration:underline;}

  .footer-dark .footer-wrapper{
    max-width:768px;
    margin:auto;
    padding:60px 1rem 40px;
  }

  /* accordion buttons */
  .footer-toggle{
    width:100%;
    padding:18px 0;
    background:none;
    border:none;
    color:#fff;
    text-align:left;
    font-size:1rem;
    letter-spacing:.05em;
    text-transform:uppercase;
    display:flex;
    align-items:center;
  }
  .footer-toggle i{
    margin-left:auto;
    transition:transform .25s;
  }
  .footer-toggle[aria-expanded="true"] i{transform:rotate(45deg);}
  .footer-group+.footer-group{border-top:1px solid #333;}

  /* sign‑up area */
  .signup h5{
    font-size:1rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.05em;
    margin-bottom:1rem;
  }
  .signup p{line-height:1.6;margin-bottom:1.5rem;}
  .signup-form{
    display:flex;flex-direction:column;gap:.75rem;
  }
  .signup-form input{
    background:transparent;border:1px solid #fff;border-radius:0;color:#fff;padding:12px 16px;
  }
  .signup-form input::placeholder{color:#fff;}
  .signup-form .btn{
    border-radius:0;font-weight:700;letter-spacing:.05em;
  }
  @media(min-width:576px){
    .signup-form{flex-direction:row;gap:10px;}
    .signup-form .btn{width:auto;padding:0 40px;}
  }

  /* social */
  .social-links{gap:18px;}
  .social-links a{font-size:1.35rem;opacity:.85;}
  .social-links a:hover{opacity:1;}

  /* ----------  BACK‑TO‑TOP  ---------- */
  #backToTopBtn{
    position:fixed;
    bottom:25px;
    right:25px;
    display:none;
    z-index:9999;
    width:45px;height:45px;
    font-size:1.2rem;
    background:#000;
    border:none;
    border-radius:50%;
    align-items:center;
    justify-content:center;
  }
  #backToTopBtn i{color:#fff;}
  #backToTopBtn:hover{opacity:.9;}
