.content-wrapper {
  max-width: 1600px;       /* You can adjust (e.g., 1140px or 1400px) */
  margin: 0 auto;          /* Centers horizontally */
           /* Some side padding for smaller screens */
}    

/* ===================================
   Dropdown Menu
   =================================== */
.dropdown-content {
  display: none;                 /* hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  width: 40%;                    /* 🔹 40% of the full banner width */
  max-width: 500px;              /* optional safeguard */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  flex-direction: column;
  z-index: 100;
}
.dropdown-content li {
  width: 100%;
}
.dropdown-content a {
  display: block;
  padding: 10px 18px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.dropdown-content a:hover {
  background: #1D435F;
  color: #fff;
}

/* Show dropdown on hover (desktop) */
@media (hover: hover) {
  .banner-top-menu li.dropdown:hover > .dropdown-content {
    display: flex;
  }
}

/* ===================================
   Responsive – Mobile & Tablet
   =================================== */
 
 
 
  
.category-banner-section {
  display: flex;
  width: 100%;
  gap: 20px; /* space between left and right banners */
  box-sizing: border-box;
  padding: 0 20px; /* same as category section padding */
}

/* Left large banner */
.banner-left {
  width: 75%;
  height: 450px;
  overflow: hidden;
}
.banner-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right two small banners stacked */
.banner-right {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 20px; /* space between top and bottom banners */
}

.banner-right img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ================================
   Responsive Adjustments
   ================================ */
  /* ===============================
   CATEGORY BANNER SECTION
================================ */
.category-banner-section {
  display: flex;
  width: 100%;
  gap: 3px;
  box-sizing: border-box;
  padding: 0 20px;
}

/* Left large banner */
.banner-left {
  width: 75%;
  height: 400px;
  overflow: hidden;
}
.banner-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right banners */
.banner-right {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.banner-right img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ===============================
   PAGE WRAPPER
================================ */
.category-page-wrapper {
  max-width: 97%;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

/* ===============================
   HEADER
================================ */
.category-page-header {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 30px;
  gap: 20px;
  width: 100%;
  padding: 15px 20px;
  background-color: #1D435F;   /* changed */
  border-radius: 8px;
}

.category-title {
  flex: 0 0 30%;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #ffffff;              /* changed */
  padding: 20px;
  background-color: #16364d;   /* dark card */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-description {
  flex: 0 0 70%;
  font-size: 1rem;
  line-height: 1.6;
  color: #D0DEE8;              /* changed */
  padding-left: 15px;
  display: flex;
  align-items: center;
}

/* ===============================
   CONTENT LAYOUT
================================ */
.category-content {
  display: flex;
  gap: 20px;
}

/* ===============================
   FILTER SIDEBAR
================================ */
.category-filters {
  width: 250px;
  background: #1D435F;         /* changed */
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Filter Header */
.filter-header {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ffffff;              /* changed */
}

.filter-header i {
  margin-right: 8px;
  font-size: 1.2rem;
  color: #ffffff;              /* changed */
}

/* Filter Groups */
.filter-group {
  margin-bottom: 20px;
}

.filter-group h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #E6EEF4;              /* changed */
}

/* ===============================
   SELECT DROPDOWNS
================================ */
.category-filters select {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.35);
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-filters select:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 5px rgba(255,255,255,0.3);
}

/* ===============================
   PRICE INPUTS
================================ */
.price-inputs {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 10px;
}

.price-inputs input {
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

.price-inputs input:focus {
  border-color: #ffffff;
  outline: none;
}

/* ===============================
   PRICE RANGE
================================ */
.price-range {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.35);
  margin-bottom: 6px;
  -webkit-appearance: none;
}

.price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #1D435F;
}

/* Price Values */
.price-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #D0DEE8;              /* changed */
}

/* ===============================
   BRAND BUTTONS
================================ */
.brand-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-buttons button {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #ffffff;              /* changed */
  cursor: pointer;
  transition: all 0.3s ease;
}

.brand-buttons button:hover,
.brand-buttons button.active {
  background: #ffffff;
  color: #1D435F;
}


/* ====== Right Product Grid ====== */
/* ===== No Products Found ===== */
.no-products {
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 10px;
  background: #f9f9f9;
  border-radius: 10px;
  border: 1px dashed #ccc;
  color: #555;
  font-family: "Poppins", sans-serif;
  padding: 40px 20px;
  box-sizing: border-box;
}

.no-products i {
  font-size: 50px;
  color: #ccc;
}

.no-products p {
  font-size: 18px;
  font-weight: 500;
  color: #666;
  margin: 0;
}

.category-products {
  flex: 1;
  overflow-x: hidden;
}
.product-grid {
  display: flex;
  width:900px;
  gap: 6px;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  flex-wrap: wrap;
}
.product-grid:active {
  cursor: grabbing;
}
.product-grid::-webkit-scrollbar { display: none; }
.product-grid { -ms-overflow-style: none; scrollbar-width: none; }

 .product-card {
  flex: 0 0 220px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.brand-logo img {
  width: 60px;
  height: 70px;
  object-fit: contain;
}
.wishlist-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 18px;
  color: #ccc;
  transition: color 0.3s;
}
.wishlist-btn.active i {
  color: #e74c3c;
}
.wishlist-btn:hover i {
  color: #ff6b6b;
}
.product-image {
               /* set fixed width */
  height: 210px;             /* set fixed height */
  background: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;          /* ensures image doesn’t overflow */
  margin-top: -20px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* keep aspect ratio inside box */
  transition: transform 0.3s ease;
}

.product-image img:hover {
  transform: scale(1.05);
}
.instock {
  display: inline-block;
  margin-bottom: 8px;
  border: 1px solid darkgray;
  font-size: 0.75rem;
  color: #4caf50;
  padding: 2px 4px;
  border-radius: 3px;
}
.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2rem;
  height: 3.6rem;
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #737272;
}
.price-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.price { font-weight: 700; }
.compare-price { text-decoration: line-through; font-size: 0.8rem; }
.delivery {
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.delivery i { margin-right: 4px; }
.action-row {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}
.action-row button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}
.whatsapp-btn { background: #25d366; color: #fff; }
.whatsapp-btn:hover { background: #1ebe5d; }
.add-cart-btn { background: #1D435F; color: #fff; }
.add-cart-btn:hover { background: #6d9abf; }
 
@media (max-width: 600px) { .product-card { flex: 0 0 140px; } .product-title { font-size: 0.85rem; height: 2.8rem; } }
#showMoreBtn {
    width: 200px;             /* fixed width */
    font-size: 16px;          /* corrected font-size */
    padding: 10px;  
    border-radius: 5px;       /* corrected spelling */
    border: 1px solid #1D435F; 
    color: #1D435F; 
    background-color: white;
    display: block;            /* allows margin auto */
    margin: 0 auto;            /* centers horizontally */
    cursor: pointer;
    transition: transform 0.2s; /* smooth hover effect */
}
 
   .related-products {
  margin: 40px 20px;
  position: relative; /* for scroll buttons */
}

.related-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}

/* Scroll Buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease;
}

.scroll-btn:hover {
  background: #1D435F;
  color: #fff;
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

/* Wrapper with horizontal scroll */
.related-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  padding-bottom: 6px;
}

.related-wrapper:active {
  cursor: grabbing;
}

/* Slider row */
.related-slider {
  display: flex;
  gap: 12px;
  min-width: max-content;
}

/* Product Card */
.related-card {
  flex: 0 0 calc(15.38% - 12px); /* 6.5 cards visible */
  max-width: 200px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.related-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f9f9f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.related-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.related-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
  line-height: 1.2rem;
  
  /* Limit to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.2rem * 3);
}

.related-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0056b3;
}

.related-price .compare-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: #989898;
}

/* Hide Scrollbar */
.related-wrapper::-webkit-scrollbar {
  display: none;
}

.related-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
  .related-card {
    flex: 0 0 calc(20% - 12px);
    max-width: 200px;
  }
}

 

/* ===== Al Diwan Footer ===== */
 
.site-footer {
  background: #fafafa;
  padding: 50px 20px 30px;
  font-family: Arial, sans-serif;
  color: #333;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* === Columns === */
.footer-col {
  flex: 1 1 160px;
  min-width: 160px;
}

.footer-logo {
  flex: 1 1 320px;          /* 🔵 wider first column */
  max-width: 100%;
}

.footer-logo img {
  width: 260px;             /* 🔵 wider logo */
  margin-bottom: 15px;
}

.footer-logo p {
  line-height: 1.6;
   
  font-size: 15px;
  margin-top: 10px;
}

/* === Headings === */
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #222;
  font-weight: 600;
}

/* === Lists === */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #1D435F;           /* 🔵 blue hover */
  text-decoration: none;    /* no underline */
}
.footer-icons {
  display: flex;
  justify-content: flex-start; /* or center if you want them centered */
  gap: 20px; /* spacing between icons */
  margin-top: 20px;
}

.footer-icons a img {
  width: 100px;
  height: 100px;
  object-fit: contain; /* ensures icon doesn't stretch */
  transition: transform 0.3s;
}

.footer-icons a img:hover {
  transform: scale(1.05);
}

/* === Request Quote Button === */
.quote-btn {
  display: inline-block;
  background: #1D435F;       /* blue button */
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin: 8px 0;
  transition: background 0.3s ease;
}

.quote-btn:hover {
  background: #0056b3;       /* darker blue on hover */
}


.support-inline-section {
  background: #fafafa;
  padding: 10px 2px;
  font-family: Arial, sans-serif;
  
}

.support-inline-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Left intro text */
.support-intro h4 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: black;
}
.support-intro p {
  color: #555;
  font-size: 1rem;
  margin: 0;
}

/* Right items row */
.support-inline-items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* Each item: icon + text side by side */
.support-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}

.support-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1D435F;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.support-text {
  font-size: 0.95rem;
  line-height: 1.3;
  color: black;
}
.support-text a {
  color: black;
  text-decoration: none;
}
.support-text a:hover {
  text-decoration: underline;
}
.support-text small {
  font-size: 0.8rem;
  color: #777;
}

/* Responsive */
 
/* ================================
   Mobile Responsive Adjustment
   ================================ */
@media (max-width: 768px) {
  .category-banner-section {
    flex-direction: column;  /* stack banners vertically */
    gap: 0;
    padding: 0;              /* remove side padding */
  }

  /* Left banner becomes full width and auto height */
  .banner-left {
    width: 100%;
    height: auto;
  }

  .banner-left img {
    width: 100%;
    height: auto;
    object-fit: contain;     /* ensures full picture is shown */
  }

  /* Hide the right banners completely */
  .banner-right {
    display: none;
  }
  
  .category-filters {
    display: none;
  }
  
  
  .category-page-header {
    flex-wrap: wrap; /* allow items to stack */
    padding: 10px;
  }

  .category-title {
    flex: 1 1 100%; /* full width */
    font-size: 1.4rem; /* optional: slightly smaller on mobile */
    padding: 15px;
  }

  .category-description {
    display: none; /* hide on mobile */
  }
  

 .product-grid {
    flex-wrap: nowrap;    /* all cards in single row */
    overflow-x: auto;     /* horizontal scroll */
    scroll-behavior: smooth;
    padding-bottom: 10px;
  }
  
  
  .product-card {
    flex: 0 0 120px;
    padding: 8px;
    border-radius: 6px;
  }

  .brand-logo img {
    width: 40px;
    height: 40px;
  }

  .product-image {
    width: 150px;
    height: 150px;
    margin-top: -10px;
  }

  .instock {
    font-size: 0.65rem;
    padding: 1px 3px;
  }

  .product-title {
    font-size: 0.8rem;
    line-height: 1rem;
    height: 3rem;
  }

  .price-row {
    gap: 4px;
    margin-bottom: 6px;
  }

  .price {
    font-size: 0.7rem;
  }

  .compare-price {
    font-size: 0.7rem;
  }

  .delivery {
    font-size: 0.6rem;
    margin-bottom: 6px;
  }

  .action-row button {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .product-grid {
    gap: 15px;
  }
   .show-more-inline {
    flex: 0 0 auto;          /* don't shrink */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1D435F;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    height: 250px;           /* match product-card height */
    min-width: 80px;
  }
}



/* Search page /*/
/* === Search Summary Section === */
.search-summary {
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  margin: 10px 0 20px;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.search-summary-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.search-summary-content h2 {
  font-size: 20px;
  color: #1D435F;
  font-weight: 600;
  margin: 0;
}

.search-summary-content .search-term {
  font-size: 18px;
  color: #aac1d2;
  font-weight: 500;
  font-style: italic;
}

.search-summary-content #product-count {
  font-size: 15px;
  color: #6c757d;
}

/* === Mobile Responsiveness === */
@media (max-width: 768px) {
  .search-summary {
    padding: 12px 8px;
    margin: 8px 0 15px;
  }
  .search-summary-content h2 {
    font-size: 17px;
  }
  .search-summary-content .search-term {
    font-size: 16px;
  }
  .search-summary-content #product-count {
    font-size: 14px;
  }
}


 .category-description-long {
    max-width: 1140px;
    margin: 10px auto;
    padding: 50px 40px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.8;
    color: #374151;
}

/* MAIN HEADING */
.category-description-long h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.category-description-long h2::after {
    content: "";
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #1D435F, #3b82f6);
    display: block;
    margin: 18px auto 0;
    border-radius: 4px;
}

/* SUB HEADINGS */
.category-description-long h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-description-long h3::before {
    content: "";
    width: 6px;
    height: 24px;
    background: #1D435F;
    border-radius: 3px;
}

/* PARAGRAPHS */
.category-description-long p {
    font-size: 16.5px;
    margin-bottom: 18px;
    color: #374151;
}

/* STRONG TEXT */
.category-description-long strong {
    color: #1D435F;
    font-weight: 600;
}

/* LISTS */
.category-description-long ul {
    margin: 18px 0 30px;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px 25px;
}

.category-description-long ul li {
    list-style: none;
    font-size: 15.5px;
    padding-left: 26px;
    position: relative;
}

.category-description-long ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #1D435F;
    font-weight: 700;
}

/* CTA BOX */
.category-description-long .cta {
    margin-top: 45px;
    padding: 26px 30px;
    background: linear-gradient(135deg, #1D435F, #0f2a44);
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(29, 67, 95, 0.35);
}

.category-description-long .cta strong {
    color: #ffffff;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .category-description-long {
        margin: 40px 15px;
        padding: 30px 22px;
    }

    .category-description-long h2 {
        font-size: 22px;
        line-height: 1.4;
    }

    .category-description-long h3 {
        font-size: 18px;
        margin-top: 30px;
    }

    .category-description-long p {
        font-size: 14.8px;
    }

    .category-description-long ul {
        grid-template-columns: 1fr;
    }

    .category-description-long .cta {
        font-size: 15.5px;
        padding: 20px;
    }
}
