:root {
  --spanish-gray: hsl(0, 0%, 60%);
  --sonic-silver: hsl(0, 0%, 47%);
  --eerie-black: hsl(0, 0%, 13%);
  --salmon-pink: hsl(353, 100%, 78%);
  --sandy-brown: hsl(29, 90%, 65%);
  --bittersweet: hsl(0, 100%, 70%);
  --ocean-green: hsl(152, 51%, 52%);
  --davys-gray: hsl(0, 0%, 33%);
  --cultured: hsl(0, 0%, 93%);
  --white: hsl(0, 100%, 100%);
  --onyx: hsl(0, 0%, 27%);

  --fs-1: 1.563rem;
  --fs-2: 1.375rem;
  --fs-3: 1.25rem;
  --fs-4: 1.125rem;
  --fs-5: 1rem;
  --fs-6: 0.938rem;
  --fs-7: 0.875rem;
  --fs-8: 0.813rem;
  --fs-9: 0.75rem;
  --fs-10: 0.688rem;
  --fs-11: 0.625rem;

  --weight-300: 300;
  --weight-400: 400;
  --weight-500: 500;
  --weight-600: 600;
  --weight-700: 700;

  --border-radius-md: 10px;
  --border-radius-sm: 5px;

  --transition-timing: 0.2s ease;
}

/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a { text-decoration: none; }
li { list-style: none; }
button {
  background: none;
  font: inherit;
  border: none;
  cursor: pointer;
}
img, ion-icon, button, a { display: block; }
span { display: inline-block; }
html {
  font-family: "Poppins", sans-serif;
  overscroll-behavior: contain;
}
input {
  display: block;
  width: 100%;
  font: inherit;
}
input::placeholder { font: inherit; }
body { background: var(--white); }

/* SCROLLBAR */
body::-webkit-scrollbar { width: 15px; }
body::-webkit-scrollbar-track {
  background: var(--white);
  border-left: 1px solid var(--cultured);
}
body::-webkit-scrollbar-thumb {
  background: hsl(0, 0%, 80%);
  border: 3px solid var(--white);
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover { background: hsl(0, 0%, 70%); }

/* REUSABLE */
.container { padding: 0 15px; }
.has-scrollbar {
  padding-bottom: 5px;
  scrollbar-width: thin;
}
.has-scrollbar::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.has-scrollbar::-webkit-scrollbar-thumb {
  background: transparent;
  border: 3px solid var(--white);
  border-radius: 20px;
}
.has-scrollbar:hover::-webkit-scrollbar-thumb { background: hsl(0, 0%, 90%); }

.title {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--weight-600);
  letter-spacing: 0.4px;
  text-transform: capitalize;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cultured);
  margin-bottom: 30px;
}

/* HEADER BASE */
.container {
  padding: 0 15px;
}
.header-top {
  background-color: #f4f4f4;
  padding: 10px 20px;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header-social-container {
  display: flex;
  gap: 10px;
}
.header-alert-news {
  flex-grow: 1;
  text-align: center;
}
.header-main {
  padding: 20px 0;
  border-bottom: 1px solid var(--cultured);
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.header-logo {
  flex-shrink: 0;
}
.header-search-container {
  position: relative;
  flex: 1;
  display: flex;
  max-width: 600px;
}
.search-field {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}
.search-btn {
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 4px 4px 0;
  background-color: #eee;
  cursor: pointer;
}
.header-user-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 3rem;
  position: relative;
}
.count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50%;
}


/* Mobile tweaks */
@media (max-width: 600px) {
  .header-top .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-alert-news {
    width: 100%;
    text-align: left;
    margin-top: 10px;
  }
}
@media (max-width: 400px) {
  .header-top .container {
    flex-wrap: wrap;
  }
  .header-alert-news {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}
 @media (max-width: 320px) {
  .header-social-container {
    display: none !important;
  }
   .action-btn {
    display: none !important;
  }
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap; /* keep everything on one line */
}

.header-logo {
  flex-shrink: 0;
}

.header-search-container {
  flex: 1;
  display: flex;
  max-width: 600px;
}

.search-field {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.search-btn {
  padding: 0.6rem 1rem;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 4px 4px 0;
  background-color: #eee;
  cursor: pointer;
}

.header-user-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  position: relative;
}

.count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50%;
}
@media (max-width: 768px) {
  .header-user-actions {
    gap: 0.3rem;
  }

  .action-btn {
    font-size: 1.2rem;
  }
}


@media (max-width: 768px) {
  .mobile-icons .action-btn {
    font-size: 22px;         /* Bigger icon size */
    padding: 10px;           /* More clickable area */
  }

  .mobile-icons .action-btn ion-icon {
    font-size: 28px;         /* Specifically for Ionicons */
  }

  .mobile-icons .count {
    font-size: 14px;         /* Adjust badge size */
    top: -6px;
    right: -6px;
  }
}
/* ========== DESKTOP NAVIGATION MENU ========== */

.desktop-navigation-menu .container {
  display: flex;
  justify-content: flex-end; /* Align menu items to the right */
  padding: 0 20px;
}

.desktop-menu-category-list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu-title {
  display: block;
  padding: 15px 10px;
  font-weight: 700; /* Bold text */
  color: #333;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.3s ease;
}

.menu-title:hover {
  color: #ff4d4d;
}

.menu-category {
  position: relative;
}

/* Style the dropdown panel (like BRANDS) */
.dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0; /* Align to the right edge of parent */
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 999;
  min-width: 150px;
}

/* Style the simpler dropdown list (like Lighting Solutions) */
.dropdown-list {
  position: absolute;
  top: 100%;
  right: 0; /* Align to the right edge of parent */
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 999;
  min-width: 150px;
}

/* Show dropdowns on hover */
.menu-category:hover .dropdown-panel,
.menu-category:hover .dropdown-list {
  display: block;
}

/* Style for dropdown items */
.dropdown-item a,
.dropdown-panel-list a {
  display: block;
  padding: 10px 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.dropdown-item a:hover,
.dropdown-panel-list a:hover {
  background-color: #f2f2f2;
  color: #ff4d4d;
}
/* === NAV ICONS BELOW HEADER === */

.mobile-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  background: #f5f5f5;
}
.icon-button {
  font-size: 20px;
  color: #000;
  text-decoration: none;
}
.mobile-menu-toggle {
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

/* === SLIDE-IN SIDE MENU === */
.mobile-side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: #fff;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 999;
  padding: 1rem;
}
.mobile-side-menu.active {
  left: 0;
}
.mobile-menu-category-list {
  list-style: none;
  padding: 0;
}
.mobile-menu-category-list li {
  padding: 10px 0;
  font-weight: bold;
}
.mobile-menu-category-list a {
  color: #333;
  text-decoration: none;
}
.submenu {
  display: none;
  list-style: none;
  padding-left: 1rem;
}
.has-submenu.active .submenu {
  display: block;
}
.desktop-navigation-menu {
  display: block;
}

.mobile-header-wrapper {
  display: none;
}

/* Media query for mobile (max width 768px) */
@media (max-width: 768px) {
  .desktop-navigation-menu {
    display: none;
  }

  .mobile-header-wrapper {
    display: block;
  }
}

@media (max-width: 768px) {
  .desktop-user-actions {
    display: none !important;
  }
}

/* General Styles */
.banner {
  margin: 30px 0;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--border-radius-md);
  overflow: auto hidden;
  scroll-snap-type: inline mandatory;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
}

.slider-item {
  position: relative;
  min-width: 100%;
  max-height: 450px;
  aspect-ratio: 5 / 3;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}

.slider-item .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-content {
  background: hsla(0, 0%, 100%, 0.85);
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  padding: 20px 25px;
  border-radius: var(--border-radius-md);
}

.banner-subtitle {
  color: var(--salmon-pink);
  font-size: var(--fs-7);
  font-weight: var(--weight-500);
  text-transform: capitalize;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.banner-title {
  color: var(--sandy-brown);
  font-size: var(--fs-1);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 10px;
}

.banner-text {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  font-weight: var(--weight-500);
  margin-bottom: 10px;
  display: block;
}

.banner-btn {
  background: var(--salmon-pink);
  color: var(--white);
  width: max-content;
  font-size: var(--fs-11);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-timing);
}

.banner-btn:hover {
  background: var(--eerie-black);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .slider-item {
    aspect-ratio: 4 / 5;
    max-height: 400px;
  }

  .banner-content {

    
    top: 50%;
    right: auto;
    bottom: auto;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    max-width: 320px;
  }

  .banner-subtitle {
    font-size: 0.85rem;
  }

  .banner-title {
    font-size: 1.4rem;
  }

  .banner-text {
    font-size: 0.85rem;
  }

  .banner-btn {
    font-size: 0.75rem;
    padding: 5px 15px;
  }
}

@media (max-width: 480px) {
  .slider-item {
    aspect-ratio: 3 / 4;
    max-height: 360px;
  }

  .banner-content {
    padding: 10px 15px;
    top: 50%;
    right: auto;
    bottom: auto;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    max-width: 320px;
  }

  .banner-title {
    font-size: 1.2rem;
  }

  .banner-subtitle,
  .banner-text {
    font-size: 0.8rem;
  }

  .banner-btn {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
}.slider-container {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.slider-item {
  scroll-snap-align: start;
}
.banner-content {
  background: hsla(0, 0%, 100%, 0.85);
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  padding: 20px 25px;
  border-radius: var(--border-radius-md);
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .banner-content {
    width: 85%;
    max-width: 300px;
    padding: 15px 18px;
    left: 5%;
    right: auto;
    top: auto;
    bottom: 20px;
    transform: none;
  }
}


.title {
  text-align: center;
  font-weight: bold;
  font-size: var(--fs-2); /* Optional: adjust font size if you have a variable set */
  margin-bottom: 20px;    /* Add spacing below for visual balance */
}




/* Container holding both sections */
.combined-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin: 2rem 0;
}

/* Individual section */
.product-section {
  flex: 1;
}

/* Section title */
.product-section .title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Swiper wrapper control */
.swiper {
  width: 100%;
}

/* Product grid within each Swiper slide */
.product-grid-scroll {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Product card styling */
.showcase {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.showcase-img-box {
  margin-right: 1rem;
  flex-shrink: 0;
}

.showcase-img {
  width: 100px;
  height: auto;
  object-fit: cover;
}

.showcase-content {
  flex: 1;
}

.showcase-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.showcase-category {
  display: block;
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 0.25rem;
}

.price-box {
  font-size: 0.9rem;
}

.price {
  font-weight: bold;
  color: #e60000;
  margin-right: 0.5rem;
}

.price-box del {
  color: #888;
  font-size: 0.8rem;
}

/* Responsive layout for larger screens */
@media screen and (min-width: 768px) {
  .combined-sections {
    flex-direction: row;
  }

  .product-section {
    max-width: 50%;
  }
}
/* Force swiper-slide to expand and align content vertically */
.swiper-slide {
  height: auto !important;
}

/* Prevent cards from overflowing */
.showcase {
  box-sizing: border-box;
  overflow: hidden;
}

/* Optional: fix width issues for swiper */
.swiper {
  width: 100%;
}

/* Fix spacing between swiper cards */
.swiper-slide .product-grid-scroll {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 1 product per row */
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .swiper-slide .product-grid-scroll {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on desktop */
  }
}




/*-----------------------------------*\
  #TESTIMONIAL
\*-----------------------------------*/

.testimonials-box { margin-bottom: 50px; }

.testimonial-card {
  padding: 30px 20px;
  border: 1px solid var(--cultured);
  -webkit-border-radius: var(--border-radius-md);
          border-radius: var(--border-radius-md);
  text-align: center;
  margin-bottom: 15px;
}

.testimonial-banner {
  margin: auto;
  margin-bottom: 20px;
  -webkit-border-radius: 50%;
          border-radius: 50%;
}

.testimonial-name {
  font-weight: var(--weight-700);
  text-transform: uppercase;
  color: var(--sonic-silver);
  margin-bottom: 5px;
}

.testimonial-title {
  color: var(--onyx);
  font-size: var(--fs-7);
  margin-bottom: 25px;
}

.quotation-img {
  margin: auto;
  margin-bottom: 20px;
}

.testimonial-desc {
  max-width: 50%;
  margin: auto;
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  font-size: medium;
}
@media (max-width: 768px) {
  .testimonial {
    display: none;
  }
}



/*-----------------------------------*\
  #PRODUCT FEATURED
\*-----------------------------------*/

.product-featured {
  
   margin-top: 2rem;
  
   margin-top: 2rem; /* Creates visual space from above */
 }

.product-featured .showcase-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-scroll-snap-type: inline mandatory;
      -ms-scroll-snap-type: inline mandatory;
          scroll-snap-type: inline mandatory;
}

.product-featured .showcase-container {
  min-width: 100%;
  padding: 30px;
  border: 1px solid var(--cultured);
  -webkit-border-radius: var(--border-radius-md);
          border-radius: var(--border-radius-md);
  scroll-snap-align: start;
  max-width: 800px;  /* You can adjust to 600-800px as needed */
  margin: auto;
}

.product-featured .showcase-img {
     width: 75%;
  height: auto;
  max-height: 400px; /* Adjust this to fit */
  object-fit: contain;
}

.product-featured .showcase-content {
   margin-top: 30px;
  ;
  font-size: 0.95rem; }

.product-featured .showcase-rating {
  color: var(--sandy-brown);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  margin-bottom: 15px;
}

.product-featured .showcase-title {
  font-size: var(--fs-7);
  color: var(--eerie-black);
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.product-featured .showcase-desc {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  font-weight: var(--weight-300);
  margin-bottom: 10px;
}

.product-featured .price-box {
  font-size: var(--fs-3);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.product-featured .price {
  color: var(--salmon-pink);
  font-weight: var(--weight-700);
}

.product-featured del {
  color: var(--sonic-silver);
  font-weight: var(--weight-300);
}

.product-featured .add-cart-btn {
  background: var(--salmon-pink);
  padding: 8px 15px;
  color: var(--white);
  font-weight: var(--fs-9);
  font-weight: var(--weight-700);
  text-transform: uppercase;
  -webkit-border-radius: var(--border-radius-md);
          border-radius: var(--border-radius-md);
  margin-bottom: 15px;
  -webkit-transition: var(--transition-timing);
  -o-transition: var(--transition-timing);
  transition: var(--transition-timing);
}

.product-featured .add-cart-btn:hover {
  background: var(--eerie-black);
  color: var(--white);
}

.product-featured .showcase-status { margin-bottom: 15px; }

.product-featured .showcase-status .wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: var(--eerie-black);
  font-size: var(--fs-9);
  font-weight: var(--weight-400);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-featured .showcase-wrapper {
  display: flex;
  flex-direction: row; /* Add this if not present */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.product-featured .showcase-status-bar {
  background: var(--cultured);
  position: relative;
  height: 10px;
  -webkit-border-radius: 5px;
          border-radius: 5px;
}

.product-featured .showcase-status-bar::before {
  position: absolute;
  content: '';
  top: 3px;
  left: 3px;
  height: 4px;
  width: 40%;
  background: var(--salmon-pink);
  -webkit-border-radius: 4px;
          border-radius: 4px;
}

.product-featured .countdown-desc {
  color: var(--eerie-black);
  font-size: var(--fs-9);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-featured .countdown {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}

.product-featured .countdown-content {
  padding: 5px;
  background: var(--cultured);
  -webkit-border-radius: var(--border-radius-md);
          border-radius: var(--border-radius-md);
  text-align: center;
}

.product-featured .display-number {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--weight-500);
  min-width: 40px;
}

.product-featured .display-text {
  color: var(--davys-gray);
  font-size: var(--fs-11);
}
.deal-slider-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.deal-slider-nav button {
  background: var(--salmon-pink);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-weight: bold;
}

.deal-slider-nav button:hover {
  background: var(--eerie-black);
}
.product-section + .product-featured {
  margin-top: 3rem;
}
.new-arrivals {
  padding-bottom: 60px; /* space before next section */
  position: relative;
  z-index: 1;
}

.deal-of-the-day {
  margin-top: 60px;
  padding: 40px 0;
  background: #fff;
  position: relative;
  z-index: 0;
}

.products-grid {
  overflow: visible;
}
.horizontal-wrapper {
  display: flex;
  gap: 40px; /* space between the two boxes */
  align-items: flex-start; /* ensure both align from the top */
  justify-content: space-between; /* optional: keeps them pushed apart */
  flex-wrap: nowrap;
  padding: 20px 0;
}

/* Fine-tune widths */
.testimonial {
  flex: 1;
  min-width: 350px;
  max-width: 450px;
  margin: 0; /* remove margin collapse issues */
}

.product-featured .showcase-wrapper {
  margin-top: 0;
  padding-top: 0;
}
/* Make sure product-featured aligns nicely with testimonial */
.product-featured {
  flex: 2;
  min-width: 600px;
  margin: 0; /* remove extra spacing */
}
/* Optional: remove internal margins that might offset the alignment */
.testimonial .title,
.product-featured .title {
  margin-top: 0;
}
 
/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog {
  margin-bottom: 40px;
  padding: 20px 0;
}

.section-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.blog-swiper .swiper-wrapper {
  align-items: stretch;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-banner {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
}

.blog-content {
  text-align: left;
}

.blog-category {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.blog-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.blog-meta {
  font-size: 0.85rem;
  color: #666;
}

.blog-meta cite {
  color: #444;
  font-style: normal;
}

@media (max-width: 768px) {
   .blog-card {
    min-width: 200px;
    max-width: 220px;
    padding: 10px;
  }
    .blog-title {
    font-size: 0.9rem;
  }
  
  .blog-meta {
    font-size: 0.75rem;
  }

  .blog-category {
    font-size: 0.75rem;
  }
  .swiper-slide {
    width: auto;
  }
}


/**
 * footer nav 
 */

/* Footer background and text colors */
.footer-nav {
  background-color: #111; /* dark background */
  border-bottom: 1px solid #333;
  padding: 40px 0 30px;
  color: #ccc;
  font-family: Arial, sans-serif;
}

/* Container flex for horizontal alignment */
.footer-nav .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

/* Footer nav lists and services same base styles */
.footer-nav-list,
.footer-nav .service {
  flex: 1 1 180px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

/* Titles */
.footer-nav-list .nav-title,
.footer-nav .service .title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 2px solid #f95f62; /* salmon pink underline */
  padding-bottom: 5px;
}

/* Footer links */
.footer-nav-link,
.footer-nav-item .content {
  color: #bbb;
  font-size: 0.875rem;
  text-transform: capitalize;
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: #f95f62;
}

/* Service styles */
.service-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-decoration: none;
  color: #bbb;
  transition: color 0.3s ease;
}

.service-item:hover {
  color: #f95f62;
}

.service-icon {
  font-size: 28px;
  color: #f95f62;
  min-width: 28px;
}

.service-content .service-title {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.service-content .service-desc {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: #ccc;
}

/* Footer item flex align */
.footer-nav-item.flex {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Icons color */
.footer-nav-item .icon-box {
  font-size: 25px;
  color: #bbb;
}

/* Social links */
.footer-nav .social-link {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-link .footer-nav-link {
  font-size: 24px;
  color: #bbb;
  transition: color 0.3s ease;
}

.social-link .footer-nav-link:hover {
  color: #f95f62;
}

/* Footer bottom */
.footer-bottom {
  background-color: #0a0a0a;
  padding: 15px 0;
  text-align: center;
  color: #666;
  font-size: 0.8rem;
}

.payment-img {
  max-width: 335px;
  width: 100%;
  margin: 0 auto 15px;
  display: block;
}

/* Responsive - stack columns vertically on small screens */
@media (max-width: 768px) {
  .footer-nav .container {
    flex-direction: column;
  }
  .footer-nav-list,
  .footer-nav .service {
    min-height: auto;
    flex: unset;
  }
}
/* Increase font size for all footer nav sub-items except services */
.footer-nav-list .footer-nav-link,
.footer-nav-list .footer-nav-item .content {
  font-size: 1rem;  /* increased from 0.875rem */
}

/* Keep Our Services text unchanged */
.footer-nav .service .service-title,
.footer-nav .service .service-desc {
  font-size: 0.85rem; /* same as before or your preferred smaller size */
}


.page-title {
  color:darkslateblue;
  font-weight: bold;
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
}

.products-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
  }

 .product-card {
  background: #fff;
  border-radius: 10px;
     padding: 15px;
     box-shadow: 0 2px 6px rgba(0,0,0,0.1);
     display: flex;
    flex-direction: column;
      justify-content: space-between;
}

    .product-card img {
      width: 100%;
      border-radius: 8px;
      height: 300px;
      object-fit: cover;
    }

.product-title {
  font-size: 15px;
  margin: 10px 0 5px;
  color: red ;
}

.product-price {
  font-size: 15px;
  font-weight:bold ;
  margin-bottom: 10px;
}

.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.buy-btn {
  background-color: green;
  color: white;
  padding: 8px 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.description-wrapper {
  background: #f0f3f7;
  border-radius: 10px;
  padding: 10px;
}

.desc-toggle {
  width: 100%;
  background: #2196f3;
  color: white;
  border: none;
  padding: 10px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.desc-content {
  display: none;
  text-align: left;
  margin-top: 10px;
  font-size: 14px;
}

.desc-content ul {
  padding-left: 20px;
  margin: 5px 0 0;
}

.desc-content li {
  margin-bottom: 5px;
}



.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 10px;
  padding: 20px;
  z-index: 999;
  width: 90%;
  max-width: 350px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  display: none;
}

.popup-content {
  background: #fff;
  max-width: 400px;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.popup-content h3 {
  margin-top: 0;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 18px;
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
}
.popup-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}
.remove-btn {
  background: transparent;
  border: none;
  color: red;
  font-size: 20px;
  cursor: pointer;
}
#cartTotal {
  font-weight: bold;
  margin-top: 10px;
  text-align: right;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
}

.popup-content {
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
  .popup-content {
    margin: 20% auto;
    padding: 15px;
    font-size: 14px;
  }

  .whatsapp-button {
    font-size: 14px;
    padding: 10px;
  }
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  z-index: 998;
}
.popup-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.popup-left {
  flex-shrink: 0;
}

.popup-img {
  width: 80px;
  height: auto;
  margin-right: 10px;
}

.popup-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.popup-top-row {
  display: flex;
  justify-content: flex-end;
}

.popup-bottom-row {
  margin-top: 5px;
}

.popup-name {
  font-weight: bold;
  color:darkmagenta
}

.popup-price {
  color: #333;
}

.remove-btn {
  background: transparent;
  border: none;
  color: red;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Make swiper slides use grid layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

/* Make each product box stretch evenly */
.showcase {
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* crucial for equal height */
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Ensure consistent height for content inside */
.showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* Optional: limit height of title to avoid overflow */
.showcase-title {
  min-height: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;
}

/* Make price and del align neatly */
.price-box {
  margin-top: auto;
}

}



.product-featured {
  width: 100%;
  padding: 1.5rem 1rem;
  background: #fff;
}

.product-featured .title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
}

.showcase-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-container {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.showcase {
  display: flex;
  flex-direction: column;
}

.showcase-banner img {
  width: 100%;
  display: block;
}

.showcase-content {
  padding: 1rem;
}

.showcase-title {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.showcase-desc {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.8rem;
}

.price-box {
  font-size: 1rem;
  color: #e60000;
  font-weight: bold;
}

.add-cart-btn {
  background: #ff5722;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin: 1rem 0;
}

.countdown, .showcase-rating {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}

.display-number {
  font-weight: bold;
  font-size: 1.2rem;
}

.display-text {
  font-size: 0.75rem;
  text-align: center;
}

.showcase-status {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.mobile-side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 250px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 1000;
}

.mobile-side-menu.active {
  left: 0;
}



