
/* =========================================================
   BGANKART RESPONSIVE LAYER
   Desktop styling is preserved. Tablet/mobile overrides only.
   Reference: supplied NNNow mobile shopping-site recording.
========================================================= */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { min-width: 320px; max-width: 100%; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
table { max-width: 100%; }

/* Large tablets / small laptops */
@media (min-width: 769px) and (max-width: 1100px) {
  .top-bar { padding-left: 22px; padding-right: 22px; }
  .header { padding-left: 24px; padding-right: 24px; }
  .navbar ul { gap: clamp(12px, 2vw, 25px); }
  .shop-section { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 42px 3%; }
  .filters { padding: 18px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .product-card img { height: 260px; }
  .category-banner { min-height: 300px; height: auto; padding: 45px 5%; }
  .banner-content h1 { font-size: clamp(34px, 4vw, 48px); }
  .featured-products, .categories { padding-left: 4%; padding-right: 4%; }
  .cart-page, .checkout-page { padding-left: 4%; padding-right: 4%; gap: 24px; }
  .main-content { padding: 24px; }
}

/* Phones and small tablets */
@media (max-width: 768px) {
  body { font-size: 14px; }
  .top-bar { display: flex !important; height: 30px; padding: 0 10px; overflow: hidden; }
  .left-top, .right-top { display: none !important; }
  .center-top { width: 100%; text-align: center; font-size: 10px; }
  .center-top marquee { font-size: 10px; }

  /* Compact ecommerce header: brand + actions, then full-width search */
  .header {
    height: auto !important;
    min-height: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "brand actions" "search search";
    gap: 10px 12px;
    padding: 12px 12px 10px !important;
    align-items: center;
  }
  .header .logo { grid-area: brand; justify-self: start; order: initial; text-align: left; }
  .header .logo h1 { font-size: 23px !important; line-height: 1.1; letter-spacing: 1px; }
  .header .logo img { height: 42px; max-width: 150px; }
  .header .search-box { grid-area: search; order: initial; width: 100% !important; min-width: 0; height: 42px; }
  .header .search-box input { width: 100%; min-width: 0; height: 42px; font-size: 13px; }
  .header .header-icons { grid-area: actions; order: initial; justify-self: end; gap: 15px !important; }
  .header .header-icons a { font-size: 19px !important; }
  .header-icons #cartCount { min-width: 16px; min-height: 16px; font-size: 10px; }

  /* Category strip like the supplied mobile reference */
  .navbar {
    display: block !important;
    height: auto !important;
    min-height: 42px;
    overflow-x: auto !important;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .navbar::-webkit-scrollbar { display: none; }
  .navbar ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center;
    width: max-content !important;
    min-width: 100%;
    gap: 0 !important;
    padding: 0 8px !important;
    margin: 0;
  }
  .navbar ul li { flex: 0 0 auto; }
  .navbar ul li > a {
    display: block;
    padding: 13px 12px;
    font-size: 11px !important;
    letter-spacing: .35px;
  }
  .navbar a::after { display: none !important; }
  .mega-menu { display: none !important; }

  .breadcrumb { padding: 10px 14px !important; font-size: 12px; }
  .breadcrumb .container { padding: 0 !important; gap: 7px; }

  /* Home and promotional banners */
  .hero { height: auto !important; min-height: 0; padding: 0 !important; }
  .hero-slider { min-height: 0; }
  .slide {
    position: relative !important;
    min-height: 0;
    height: auto !important;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 25px 16px !important;
  }
  .slide.active { display: flex !important; }
  .hero-content, .hero-image { width: 100% !important; }
  .hero-content span { font-size: 11px !important; margin-bottom: 7px; }
  .hero-content h1 { font-size: clamp(24px, 7vw, 34px) !important; line-height: 1.15 !important; margin-bottom: 9px; }
  .hero-content p { font-size: 13px !important; line-height: 1.5 !important; margin: 0 auto 14px !important; }
  .hero-image img { width: 100% !important; max-width: 250px !important; max-height: 210px; object-fit: contain; }
  .slider-btn { display: none !important; }
  .shop-btn { padding: 11px 20px !important; font-size: 12px; }
  .categories, .featured-products { padding: 28px 12px !important; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 11px !important; }
  .category-card { border-radius: 10px; }
  .category-card img { height: clamp(130px, 42vw, 190px) !important; }
  .category-card h3 { padding: 10px 6px !important; font-size: 13px !important; }
  .section-title { font-size: 21px !important; margin-bottom: 16px; }

  /* Men / Women / Kids listing pages */
  .category-banner {
    min-height: 185px !important;
    height: auto !important;
    padding: 25px 16px !important;
    background-position: center !important;
    background-size: cover !important;
  }
  .banner-content { width: 100%; max-width: 100%; }
  .banner-content h1 { font-size: clamp(23px, 7vw, 32px) !important; line-height: 1.15; margin-bottom: 8px !important; }
  .banner-content p { width: 100% !important; font-size: 12px !important; line-height: 1.5 !important; margin-bottom: 12px !important; }
  .banner-content .shop-btn { width: auto !important; display: inline-flex; }
  .shop-section {
    display: flex !important;
    flex-direction: column;
    gap: 14px !important;
    padding: 18px 12px 30px !important;
  }
  .filters {
    position: static !important;
    width: 100%;
    height: auto !important;
    padding: 12px !important;
    border-radius: 10px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
  }
  .filters > h3 { width: 100%; margin: 0 0 2px !important; font-size: 14px; }
  .filter-box { flex: 1 1 135px; min-width: 0; margin: 0 !important; }
  .filter-box h4 { font-size: 11px; margin: 0 0 5px !important; }
  .filter-box label { display: inline-flex !important; align-items: center; gap: 4px; margin: 3px 8px 3px 0 !important; font-size: 10px; white-space: nowrap; }
  .filter-box input { width: 12px; height: 12px; margin: 0; }
  .shop-content { width: 100%; min-width: 0; }
  .shop-top { gap: 10px; margin-bottom: 13px !important; align-items: center; }
  .shop-top h2 { font-size: 17px !important; line-height: 1.25; }
  .shop-top select { max-width: 145px; padding: 8px 7px !important; font-size: 11px; }
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
  }
  .product-card { min-width: 0; border-radius: 9px !important; }
  .product-card img { display: block; width: 100% !important; height: clamp(145px, 49vw, 220px) !important; object-fit: cover; }
  .product-info { padding: 9px !important; }
  .product-name { font-size: 12px !important; line-height: 1.35; margin-bottom: 5px !important; }
  .product-price { font-size: 15px !important; }
  .product-card p, .product-info p { font-size: 11px; }
  .product-buttons { gap: 6px; flex-wrap: wrap; }
  .cart-btn, .buy-btn { font-size: 10px !important; padding: 8px 5px !important; margin-top: 6px !important; }

  /* Product details */
  .product-page, .product-details, .product-container, .product-detail-container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 16px 12px !important;
  }
  .product-image, .product-gallery, .product-info, .product-details-info {
    width: 100% !important;
    min-width: 0 !important;
  }
  .product-image img, .product-gallery img, #mainImage {
    width: 100% !important;
    max-height: 420px;
    object-fit: contain;
  }
  .product-info h1, .product-details h1 { font-size: 22px !important; line-height: 1.3; }
  .product-info h2 { font-size: 19px !important; }
  #sizes, #colors { gap: 8px !important; flex-wrap: wrap; }
  #sizes button { width: 40px !important; height: 40px !important; }
  #colors button { padding: 9px 14px !important; }

  /* Cart and checkout */
  .cart-page, .checkout-page {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 18px 12px 30px !important;
  }
  .cart-items, .cart-list, .cart-summary, .checkout-left, .checkout-right {
    width: 100% !important;
    min-width: 0 !important;
  }
  .cart-item { gap: 10px !important; padding: 11px !important; align-items: flex-start; }
  .cart-item img { width: 86px !important; max-width: 28vw; height: 105px; object-fit: cover; }
  .cart-info { min-width: 0; }
  .cart-info h3 { font-size: 13px; margin-bottom: 5px; }
  .cart-qty { gap: 8px; margin: 8px 0 !important; }
  .cart-qty button { width: 29px; height: 29px; }
  .cart-summary { position: static !important; padding: 16px !important; }
  .checkout-left, .checkout-right { padding: 16px !important; }
  .checkout-left h2, .checkout-right h2 { font-size: 19px; }
  .row { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; }
  .checkout-left input, .checkout-left textarea { padding: 12px !important; font-size: 14px !important; }
  .checkout-right { position: static !important; }

  /* Authentication pages */
  .login-section { min-height: 100svh; padding: 25px 12px !important; }
  .login-container { width: 100% !important; grid-template-columns: 1fr !important; border-radius: 14px !important; }
  .login-left { display: none !important; }
  .login-right { padding: 28px 18px !important; }
  .login-right h2 { font-size: 25px !important; }
  .login-text { font-size: 13px; margin-bottom: 20px; }
  .google-btn { height: 50px !important; font-size: 14px !important; }
  .register-page { min-height: 100svh; display: flex !important; flex-direction: column !important; }
  .register-left { padding: 22px 18px !important; }
  .brand-logo { font-size: 28px !important; margin-bottom: 0 !important; }
  .brand-tag { margin-bottom: 8px !important; font-size: 10px !important; }
  .brand-content h1 { font-size: 24px !important; margin: 5px 0 !important; }
  .brand-content p, .register-benefits { display: none !important; }
  .register-right { padding: 22px 14px !important; }
  .register-box { max-width: 100% !important; }

  /* Profile and order pages */
  .container, .my-orders-container { width: calc(100% - 24px) !important; max-width: 100% !important; margin: 18px auto !important; padding-left: 0 !important; padding-right: 0 !important; }
  .orders-header { padding: 13px 12px !important; flex-wrap: wrap; gap: 10px; }
  .orders-header h1 { font-size: 18px !important; }
  .orders-logo { font-size: 18px !important; }
  .continue-shopping { padding: 9px 12px !important; font-size: 12px; }
  .orders-heading h2 { font-size: 22px !important; }
  .order-card { padding: 13px !important; }
  .order-card-header { flex-direction: column; gap: 8px; }
  .profile-card { align-items: flex-start; padding: 15px !important; gap: 12px; }
  .profile-card, .profile-info { min-width: 0; }
  .section-heading { margin-top: 22px; }
  .order { padding: 13px !important; }
  .orders-toolbar { flex-direction: column; align-items: stretch !important; gap: 9px !important; }
  .orders-toolbar input, .orders-toolbar select, .orders-toolbar button { width: 100%; }
  .orders-list { padding: 10px !important; overflow-x: auto; }
  .orders-list table { min-width: 650px; }
  .modal-content { width: calc(100% - 24px) !important; margin: 18px auto !important; padding: 16px !important; max-height: 90svh; }

  /* Admin: keep all controls accessible on narrow screens */
  .admin-container { display: block !important; min-height: 100svh; }
  .sidebar {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 12px !important;
    z-index: 20;
  }
  .sidebar .logo { margin: 0 0 10px !important; }
  .sidebar .logo h2 { font-size: 20px !important; }
  .sidebar ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 5px;
    overflow-x: auto;
    padding: 0 0 5px;
    margin: 0;
    scrollbar-width: thin;
  }
  .sidebar ul li {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 11px !important;
    margin: 0 !important;
    font-size: 11px;
    gap: 7px !important;
  }
  .main-content { margin: 0 !important; width: 100% !important; padding: 15px 12px !important; }
  .topbar { align-items: flex-start !important; flex-wrap: wrap; gap: 10px; margin-bottom: 18px !important; }
  .topbar h1 { font-size: 22px !important; }
  .admin-user { padding: 8px 10px !important; font-size: 12px; }
  .dashboard-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; margin-bottom: 20px !important; }
  .card { padding: 13px !important; gap: 9px !important; min-width: 0; }
  .card i { font-size: 22px !important; }
  .card h3 { font-size: 19px !important; }
  .card p { font-size: 10px; }
  .admin-container table, .main-content table { display: block; width: 100%; overflow-x: auto; white-space: nowrap; }
  .admin-container input, .admin-container select, .admin-container textarea { max-width: 100%; }
  .admin-container form { max-width: 100%; }
  .admin-container .modal-content { width: calc(100% - 20px) !important; }
  footer { padding-left: 14px !important; padding-right: 14px !important; }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .header .logo h1 { font-size: 20px !important; }
  .header .header-icons { gap: 11px !important; }
  .navbar ul li > a { padding-left: 10px; padding-right: 10px; font-size: 10px !important; }
  .products-grid { gap: 8px !important; }
  .product-card img { height: 145px !important; }
  .product-info { padding: 7px !important; }
  .product-name { font-size: 11px !important; }
  .product-price { font-size: 14px !important; }
}


/* ===== BGANKART mobile menu and flow refinements ===== */
.navbar { position: relative !important; top: auto !important; }
.mobile-menu-btn {
  display: none; border: 0; background: transparent; color: #171717;
  font-size: 21px; width: 38px; height: 38px; align-items: center;
  justify-content: center; cursor: pointer; flex: 0 0 38px;
}
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(12,12,12,.48);
  opacity: 0; visibility: hidden; transition: .25s ease; z-index: 10001;
}
.mobile-menu-overlay.is-visible { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; z-index: 10002; inset: 0 auto 0 0; width: min(340px, 88vw);
  background: #fff; transform: translateX(-105%); transition: transform .28s ease;
  box-shadow: 12px 0 35px rgba(0,0,0,.14); padding: 20px 20px 28px;
  overflow-y: auto; display: block;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-header { display:flex; align-items:center; justify-content:space-between;
  padding: 8px 0 18px; border-bottom: 1px solid #eee; font-weight:800;
  letter-spacing:1.5px; font-size:14px; }
.mobile-menu-close { border:0; background:#f4f4f4; width:36px; height:36px;
  border-radius:50%; font-size:18px; cursor:pointer; }
.mobile-menu-links { display:flex; flex-direction:column; padding-top:10px; }
.mobile-menu-links a { padding:14px 2px; border-bottom:1px solid #f0f0f0;
  color:#222; text-decoration:none; font-weight:600; font-size:14px; }
.mobile-menu-links a[href="thrift.html"] { color:#47705d; }
.mobile-menu-note { margin-top:20px; padding:14px; border-radius:10px;
  background:#f3f5ef; color:#596451; font-size:12px; line-height:1.6; }
body.mobile-menu-open { overflow:hidden; }
.thrift-nav-item > a { color:#47705d !important; font-weight:800 !important; }
.thrift-detail-note { margin:14px 0; padding:12px 14px; border-left:3px solid #688b73;
  background:#f2f6f0; color:#4c5f50; font-size:13px; line-height:1.55; }
.regular-type { color:#333; font-size:11px; }
.thrift-type { color:#47705d; font-size:11px; letter-spacing:.5px; }
@media (max-width: 768px) {
  body { padding-top: 0 !important; }
  .top-bar { position: relative !important; top:auto !important; height:28px !important; }
  .header { position: relative !important; top:auto !important; left:auto !important;
    min-height:64px !important; grid-template-columns:38px minmax(0,1fr) auto !important;
    grid-template-areas:"menu brand actions" "search search search" !important;
    gap:9px 8px !important; padding:9px 12px !important; }
  .mobile-menu-btn { display:inline-flex; grid-area:menu; }
  .header .logo { grid-area:brand; position:static !important; transform:none !important;
    justify-self:center !important; }
  .header .logo img { max-height:38px; width:auto; }
  .header .logo h1 { font-size:21px !important; }
  .header .header-icons { grid-area:actions; gap:12px !important; }
  .header .search-box { display:block !important; grid-area:search; width:100% !important; }
  .navbar { position:relative !important; top:auto !important; z-index:10 !important;
    min-height:42px; border-top:1px solid #eee; }
  .navbar ul { min-height:42px; }
  .navbar ul li > a { padding:12px 11px !important; }
  .cart-page { grid-template-columns:minmax(0,1fr) !important; gap:16px !important;
    padding:18px 12px 28px !important; }
  .cart-item { align-items:flex-start !important; gap:12px !important; padding:12px !important; }
  .cart-item img { width:96px !important; height:120px; object-fit:cover; flex:0 0 96px; }
  .cart-info { min-width:0; }
  .cart-info h3 { font-size:14px; overflow-wrap:anywhere; }
  .cart-summary { position:static !important; width:100%; }
  .checkout-page { display:grid !important; grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important; padding:16px 12px 24px !important; width:100%; }
  .checkout-left, .checkout-right { width:100% !important; min-width:0 !important;
    padding:18px 14px !important; border-radius:12px; }
  .checkout-left input, .checkout-left textarea { min-width:0; width:100%; padding:12px !important;
    margin-bottom:12px !important; font-size:14px; }
  .checkout-page .row { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:0 !important; }
  .checkout-right { position:static !important; }
  .summary-row { gap:12px; font-size:14px !important; }
  .summary-row strong { text-align:right; overflow-wrap:anywhere; }
  #placeOrderBtn { min-height:48px; font-size:15px !important; }
  .secure-text { padding:0 14px 16px; font-size:12px; }
  .footer-container { padding:30px 18px !important; }
}

.thrift-condition { margin-top:7px; color:#657a67; font-size:10px; font-weight:600; }
@media (max-width: 768px) {
  .product-list, .order-list { overflow-x:auto; }
  .product-list table, .order-list table { min-width:760px; }
  .admin-container { min-width:0; }
  .form-grid { grid-template-columns:minmax(0,1fr) !important; }
}

/* BGANKART safe layout corrections */
html, body { width:100%; max-width:100%; }
body { overflow-x:hidden; }
.footer, .footer-container, .footer-info, .footer-bottom, .footer-extra {
  width:100%; max-width:100%; min-width:0;
}
.footer-info p, .footer-container p { overflow-wrap:anywhere; }
.footer-extra { justify-content:flex-start; }
.delivery-icons span {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:38px; padding:8px 14px; background:#fff; color:#222;
  border-radius:8px; font-size:13px; font-weight:600;
}
@media (min-width:769px) {
  .footer-info { padding-left:clamp(20px,4vw,40px); padding-right:clamp(20px,4vw,40px); }
  .footer-bottom { gap:20px; }
  .footer-bottom > div { display:flex; flex-wrap:wrap; align-items:center; }
}


/* ==========================================
   BGANKART - MOBILE LANDSCAPE FIX
   Only short-height landscape screens
========================================== */

@media screen and (orientation: landscape) and (max-height: 500px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-height: 100%;
  }

  /* Header */
  .top-bar {
    height: 24px !important;
    min-height: 24px !important;
  }

  .header {
    padding: 8px 14px !important;
    gap: 8px !important;
  }

  .header .logo img {
    max-height: 32px !important;
  }

  .header .logo h1 {
    font-size: 20px !important;
  }

  .header .search-box {
    height: 36px !important;
  }

  .header .search-box input {
    height: 36px !important;
  }

  .header .header-icons {
    gap: 10px !important;
  }

  /* Navigation */
  .navbar {
    min-height: 36px !important;
    height: auto !important;
  }

  .navbar ul {
    min-height: 36px !important;
  }

  .navbar ul li > a {
    padding: 9px 12px !important;
  }

  /* Hero banner */
  .slide.active {
    padding: 16px !important;
    gap: 10px !important;
  }

  .hero-content h1 {
    font-size: clamp(22px, 4vw, 32px) !important;
  }

  .hero-content p {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .hero-image img {
    max-height: 140px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  /* Category banners */
  .category-banner {
    min-height: 150px !important;
    padding: 18px 20px !important;
  }

  .banner-content h1 {
    font-size: clamp(22px, 4vw, 30px) !important;
  }

  .banner-content p {
    font-size: 12px !important;
  }

  /* Product cards */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .product-card img {
    height: 180px !important;
    max-height: 180px !important;
  }

  /* Product details */
  .product-image img,
  .product-gallery img,
  #mainImage {
    max-height: 300px !important;
    object-fit: contain !important;
  }

  /* Cart and checkout */
  .cart-page,
  .checkout-page {
    gap: 12px !important;
  }

  /* Login */
  .login-section {
    min-height: auto !important;
    padding: 15px !important;
  }

  .login-right {
    padding: 20px !important;
  }

  /* Profile / orders */
  .modal-content {
    max-height: 85vh !important;
    overflow-y: auto !important;
  }

  /* Admin */
  .sidebar {
    padding: 8px 12px !important;
  }

  .sidebar ul li {
    padding: 8px 10px !important;
  }

  .main-content {
    padding: 12px !important;
  }

  /* Footer */
  footer {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* =========================================
   BGANKART TABLET HEADER FIX
   769px - 1100px
========================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    body {
        padding-top: 0 !important;
    }

    .top-bar {
        position: relative !important;
        top: auto !important;
        height: 35px !important;
    }

    .header {
        position: relative !important;
        top: auto !important;
        left: auto !important;

        height: auto !important;
        min-height: 100px !important;

        display: grid !important;

        grid-template-columns: 180px minmax(0, 1fr) auto !important;

        grid-template-areas:
            "brand search actions";

        align-items: center !important;

        gap: 20px !important;

        padding: 18px 25px !important;
    }

    .header .logo {
        grid-area: brand;
        position: static !important;
        transform: none !important;
        justify-self: start !important;
    }

    .header .logo img {
        max-width: 160px !important;
        height: auto !important;
        max-height: 65px !important;
    }

    .header .logo h1 {
        font-size: 25px !important;
    }

    .header .search-box {
        grid-area: search;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .header .search-box input {
        width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;
    }

    .header .header-icons {
        grid-area: actions;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 18px !important;

        white-space: nowrap;
    }

    .header .header-icons a {
        font-size: 21px !important;
    }

    .navbar {
        position: relative !important;
        top: auto !important;
    }

    .navbar ul {
        gap: 25px !important;
    }
}


/* Smaller tablets */
@media (min-width: 769px) and (max-width: 900px) {

    .header {
        grid-template-columns: 130px minmax(0, 1fr) auto !important;
        gap: 12px !important;
        padding: 15px 18px !important;
    }

    .header .logo img {
        max-width: 125px !important;
    }

    .header .search-box input {
        font-size: 12px !important;
        padding-left: 42px !important;
    }

    .header .header-icons {
        gap: 12px !important;
    }

    .header .header-icons a {
        font-size: 18px !important;
    }

    .navbar ul {
        gap: 15px !important;
    }

    .navbar ul li a {
        font-size: 13px !important;
    }
}