.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: none;
  font-size: large;
  border-bottom: 0.5px solid #dadada85;

}

/* =========================================================
   GLOBAL
========================================================= */
body {
  margin: 0;
  padding-top: 100px;
  /* space for header + category bar */
  font-family: "Montserrat", "Roboto", sans-serif;
}

/* =========================================================
   TOP NAVIGATION (MAIN HEADER)
========================================================= */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
}

.top-icons {
  gap: 18px;               /* controls spacing between links */
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;                /* icon ↔ text gap */
  text-decoration: none;
  color: #000;
  font-size: 14px;
  line-height: 1;
}

.top-link i {
  font-size: 16px;
}

.icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #037201;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
  line-height: 1;
}


/* ======================================
   MENU CATEGORY BAR (TOP NAV)
====================================== */

/* Fixed search bar */
.search-navbar {
  position: fixed;
  top: 100px;
  /* below top-nav */
  left: 0;
  width: 100%;  
  /* above content */
  border-bottom: 1px solid #e5e5e5;
  z-index: 6;
  background-color: #dbdbdb;
}

/* Push page content down */
.page-content {
  margin-top: 240px;
  /* top-nav + search bar height */
}

.logotext {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  font-family: "Century Gothic", sans-serif;
  text-decoration: none;

}

/* Hero Section Fullscreen */
.hero-section {
  position: relative;
  min-height: 400px;
  background: url("/static/main/properties/hero1.jpg") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  height: 100vh;
}

/* Animated Title Styling */
.animatedtitle h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid white;
  width: 0;
  animation: typing 1.5s steps(40, end) forwards, blink 0.75s step-end infinite;
  margin-bottom: 30px;
}

/* Typing Animation */
@keyframes typing {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* Blinking Cursor */
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Search Box Styling */
.search-box {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Form Inputs Styling */
.search-box .form-control,
.search-box .form-select {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
  width: 100%;
}

/* Labels Styling */
.search-box label {
  display: block;
  margin-bottom: 5px;
  text-align: left;
}

/* Footer Styling */
footer {
  background-color: black;
  color: white;
  padding: 40px 0;
  text-align: center;
}

footer .social-icons i {
  color: white;
  font-size: 24px;
  margin-right: 10px;
}

footer .social-icons a {
  text-decoration: none;
}

/* Logo Styling */
.logomain {
  width: auto;
  height: auto;
}

/* Card styling */
.property-card {
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 10px;
}

/* Image container */
.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

/* Image styling */
.property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card layout adjustments */
.property-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* Instagram Icon Gradient */
.instagram-icon i {
  background: linear-gradient(45deg, #fccc63, #f58529, #dd2a7b, #8134af, #515bd4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
}

/* FAQ Section */
.sppb-panel-heading {
  cursor: pointer;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sppb-panel-title {
  font-size: 18px;
  font-weight: bold;
}

.sppb-toggle-direction i {
  transition: transform 0.3s ease;
}

.sppb-panel-collapse {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-top: none;
}

/* Animation for the chevron icon */
.sppb-panel-heading.active i {
  transform: rotate(90deg);
}

/* Animation for the content */
.sppb-panel-collapse.open {
  max-height: 500px;
  padding: 15px;
}

/* Full Height Section */
.full-height {
  height: 100vh;
}

/* About Text Styling */
.about-text {
  font-family: "Roboto", sans-serif;
  padding: 20px;
  font-size: 0.9rem;
  overflow-y: auto;
}

.categories-sec {
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  /* Allows horizontal scrolling on smaller screens */
  white-space: nowrap;
  /* Keeps items in a single row */
}

.category-title h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.all_products {
  display: flex;
  gap: 15px;
  /* Space between items */
  justify-content: center;
  /* Centers items */
  flex-wrap: nowrap;
  /* Prevents wrapping to the next row */
  overflow-x: auto;
  /* Enables scrolling on smaller screens */
}

.col8 {
  flex: 1 1 auto;
  /* Ensures auto-adjust width */
  max-width: 200px;
  /* Maximum size for each item */
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.col8 a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 10px;
}

.aspectRation {
  width: 100%;
  height: auto;
}

.aspectRation img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
}

.catName {
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  background: #f8f8f8;
}


/* Ensure Responsiveness */
@media (max-width: 768px) {
  .search-box {
    width: 90%;
  }

  .animatedtitle h1 {
    font-size: 2rem;
  }

  footer {
    padding: 20px 0;
  }

  footer .social-icons i {
    font-size: 20px;
  }

  .property-card {
    width: 90%;
    max-width: 100%;
  }
}

/* ===== Base Modal Overlay ===== */
.floating-add-address {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  justify-content: center;
  /* Desktop: center */
  align-items: center;
  /* Desktop: center */
  z-index: 1050;
  overflow: hidden;
  /* Prevent background scroll */
  padding: 1rem;
}

.floating-add-address.active {
  display: flex;
}

/* ===== Modal Container ===== */
.floating-add-address .form-wrapper {
  background: #fff;
  width: 95%;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  padding: 30px 35px;
  margin: 5vh auto;
  animation: popupIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  /* Desktop max height */
  overflow-y: auto;
  /* Scroll inside */
}

/* ===== Header ===== */
.floating-add-address .form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.floating-add-address .close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #666;
  transition: 0.2s;
}

.floating-add-address .close-btn:hover {
  color: #000;
}

/* ===== Columns ===== */
.floating-add-address .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.floating-add-address .col-md-4,
.floating-add-address .col-md-8 {
  flex: 1;
  min-width: 300px;
}

.floating-add-address .col-md-4 {
  max-width: 360px;
}

.floating-add-address .col-md-8 {
  flex-grow: 2;
}

/* ===== Address Cards ===== */
.floating-add-address .address-list {
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 10px;
  background: #f9f9f9;
  overflow-y: auto;
  max-height: 65vh;
  /* Desktop height */
}

.floating-add-address .address-card {
  display: flex;
  gap: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fff;
  cursor: pointer;
}

.floating-add-address .address-card:hover,
.floating-add-address .address-card.selected {
  background: #eaf3ff;
  border-color: #007bff;
}

/* ===== Animation ===== */
@keyframes popupIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===========================================================
   ✅ MOBILE — FULL FIX (80vh top sheet)
   =========================================================== */
@media (max-width: 768px) {

  /* Modal aligns from top */
  .floating-add-address {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 0 !important;
  }

  /* Modal behaves like a top drawer */
  .floating-add-address .form-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: 80vh !important;
    /* ✅ fixed height */
    max-height: 80vh !important;
    margin: 0 !important;
    margin-top: 40px !important;
    /* ✅ adjust spacing */
    border-radius: 12px 12px 0 0;
    overflow-y: auto !important;
    padding: 20px !important;
  }

  /* Stack form + addresses vertically */
  .floating-add-address .row {
    flex-direction: column !important;
  }

  .floating-add-address .col-md-4,
  .floating-add-address .col-md-8 {
    max-width: 100% !important;
  }

  /* Address list scrolls inside */
  .floating-add-address .address-list {
    max-height: calc(80vh - 260px) !important;
    /* ✅ Perfect fit */
    overflow-y: auto !important;
  }

  /* Order table → cards */
  .orders-table {
    display: none !important;
  }

  .order-card {
    display: block !important;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    margin-bottom: 12px;
  }

  .order-actions .btn {
    width: 100%;
    margin-bottom: 8px;
  }

}

/* Extra small phones */
@media (max-width: 576px) {
  .floating-add-address .form-wrapper {
    padding: 15px !important;
  }

  .floating-add-address .address-card label {
    font-size: 0.85rem !important;
  }
}

.order-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* FULL WIDTH */
  padding: 0;
  /* NO EXTRA PADDING */
  margin: 0;
  /* NO EXTRA MARGIN */
  position: relative;
  gap: 0;
  /* Remove spacing */
}

/* The connecting line */
.order-progress::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e6e6e6;
  z-index: 0;
}

/* Each step stays centered */
.order-progress .step {
  text-align: center;
  flex: 1;
  /* Equal spacing full width */
  position: relative;
  z-index: 1;
}

/* Icon sizing stays same */
.order-progress .icon {
  width: 22px;
  height: 22px;
  background: #ccc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 4px;
  font-size: 12px;
}

/* Completed */
.order-progress .step.completed .icon {
  background: #28a745;
}

.order-progress .step.completed span {
  color: #28a745;
  font-weight: 600;
}

/* Active */
.order-progress .step.active .icon {
  background: #ffc107;
  color: #000;
}

.order-progress .step.active span {
  color: #000;
  font-weight: 600;
}

/* Cancelled */
.order-progress .step.cancelled .icon {
  background: #dc3545;
}

.order-progress .step.cancelled span {
  color: #dc3545;
  font-weight: 600;
}

/* Mobile view — stack steps vertically */
@media (max-width: 768px) {
  .order-progress {
    flex-direction: column;
    gap: 6px;
  }

  .order-progress::before {
    display: none;
  }
}

.action-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.action-links .action-item {
  font-size: 13px;
  color: #333;
  text-decoration: none;
}

.action-links .action-item:hover {
  text-decoration: underline;
}

/* Mobile: align left */
@media (max-width: 768px) {
  .action-links {
    align-items: flex-start;
    margin-top: 8px;
  }
}

.progress-vertical {
  border-left: 2px solid #e5e7eb;
  padding-left: 14px;
  margin-top: 8px;
}

.pv-step {
  position: relative;
  margin-bottom: 10px;
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pv-step .pv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  border: 2px solid #d1d5db;
  position: absolute;
  left: -18px;
  top: 3px;
}

.pv-step.done .pv-dot {
  background: #10b981;
  /* Green */
  border-color: #10b981;
}

.pv-step.done span {
  color: #10b981;
  font-weight: 600;
}

.pv-step.cancelled .pv-dot {
  background: #dc3545;
  border-color: #dc3545;
}

.pv-step.cancelled span {
  color: #dc3545;
  font-weight: 600;
}

/* MOBILE – Increase spacing slightly */
@media(max-width: 600px) {
  .pv-step {
    font-size: 13px;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #25D366;
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/static/main/assets/whatsapp.png");
  /* ✅ Correct */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


/* Floating Cart Button - placed LEFT of WhatsApp */
.floating-cart {
  position: fixed;
  bottom: 20px;
  right: 30px;
  /* <--- shifted left */
  background: #ff4081;
  color: white;
  border-radius: 50px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
  transition: 0.25s;
  z-index: 9999;
}

.floating-cart:hover {
  background: #e91e63;
  transform: scale(1.05);
}

/* Small badge */
.floating-cart .cart-count {
  background: white;
  color: #ff4081;
  padding: 2px 7px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}

.selectable-address {
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.25s;
}

.selectable-address:hover {
  border-color: #0d6efd;
  background: #f8f9ff;
}

.selectable-address.active {
  border-color: #0d6efd;
  background: #e9f2ff;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.backbutton {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* flowers */
/* =========================================================
   🌸 PROMO SECTION
========================================================= */
.promo-section {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr;
  gap: 20px;
  margin-top: 30px;
  align-items: stretch;
}

.promo-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 100%;
}

.promo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.promo-box:hover img {
  transform: scale(1.05);
}

/* Text over promo images */
.promo-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  text-align: left;
  color: #111;
}

.promo-content p {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 6px;
}

.promo-content h2,
.promo-content h3 {
  font-family: "Marcellus", serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 6px;
}

.promo-content a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: #e91e63;
  border-bottom: 1px solid #e91e63;
  text-decoration: none;
  padding-bottom: 2px;
}

.promo-content a:hover {
  color: #c2185b;
  border-color: #c2185b;
}

/* Center box special (bigger centered text) */
.promo-center .promo-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.promo-center .promo-content h2 {
  font-size: 32px;
  font-weight: 700;
}

.promo-center .promo-content p {
  font-size: 16px;
}

.promo-center .promo-content .btn {
  background: #e91e63;
  color: #fff;
  border-radius: 50px;
  padding: 10px 30px;
}

/* Right stacked */
.promo-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .promo-section {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   🌸 CATEGORY SWIPER
========================================================= */
.swiper {
  width: 100%;
  height: auto;
}

.categorysection {
  width: 100%;
}

/* ===== CATEGORY CARD ===== */
.category-card-fixed {
  position: relative;
  width: 100%;
  height: 260px;
  /* SAME height everywhere */
  overflow: hidden;
  background: #f5f5f5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Image fully fills card */
.category-card-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* IMPORTANT */
  display: block;
  margin: 0;
  padding: 0;
  transition: transform 0.35s ease;
}

/* Bottom overlay title */
.category-title {  
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 6px 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

.category-card-fixed:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.category-box {
  /* height: 360px; */
  /* SAME as image */
  padding: 5px;
}

.category-box .row {
  margin: 0;
}

.category-box .col-4,
.category-box .col-8 {
  padding: 0;
}

/* Hover effect (optional but premium) */
.category-card:hover img {
  transform: scale(1.05);
}

.category-card {
  display: block;
  height: 100%;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e8edf3;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.1);
}

.categorySwiper {
  padding: 6px 4px 8px;
  overflow: hidden;
}

.categorySwiper .swiper-slide {
  height: auto;
}

.category-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8f8f8, #ececec);
}

.category-name {
  font-weight: bold;
  color: #333;
  margin-top: 8px;
  margin-bottom: 10px;
}

/* =========================================================
   🌸 PRODUCT GRID
========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  overflow: hidden;
  padding-bottom: 1rem;
}

.product-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.product-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}


.price-info {
  font-size: 14px;
  font-weight: bold;
}

.flowerSwiper {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 34%),
    linear-gradient(180deg, #fbfcfe 0%, #f2f5f9 100%);
}

.flower-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.flower-image:hover {
  transform: scale(1.05);
}

.flowerSwiper .swiper-pagination-bullet {
  background: #ffffffd3;
}

/* =========================================================
   🌸 ADD TO CART BUTTON (FIXED)
========================================================= */
.standardbutton {
  background: #ffffff;
  color: rgb(0, 0, 0);
  border: 1px solid rgb(0, 0, 0);
  padding: 0.8rem 1.4rem;
  font-size: 15px;
  font-weight: 400;
  border-radius: none;
  transition: 0.25s;
  cursor: pointer;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  -ms-border-radius: none;
  -o-border-radius: none;
}

.standardbutton:hover {
  background: rgb(24, 24, 24);
  color: #fff;
  transform: translateY(-1px);
}

.standardbutton:active {
  transform: translateY(0);
}

/* Mobile fix: NO movement on hover */
@media (max-width: 768px) {
  .standardbutton:hover {
    transform: none !important;
  }
}

/* =========================================================
   🌸 BIRTHDAY BANNER
========================================================= */
.birthday-banner {
  background: url("../images/happybirthday.png") center/cover no-repeat;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.birthday-content {
  background: #ffffffc5;
  padding: 30px 40px;
  text-align: center;
  border-radius: 10px;
}

/* =========================================================
   🌸 3 PROMO BOXES (Romantic, Anniversary, Gifts)
========================================================= */
.three-promo-section .promo-box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* =========================================================
   🌸 VALENTINE HERO
========================================================= */
.valentine-hero {
  background: #faf7f7 url("../images/valantine.png") no-repeat right center/contain;
  min-height: 600px;
  padding: 120px 0;
}

.v-title {
  font-size: 48px;
  font-weight: 600;
}

.v-title span {
  color: #e74c3c;
}

.v-features li i {
  color: #e74c3c;
}

.valentine-text {
  padding: 100px;
}

@media (max-width: 768px) {
  .valentine-hero {
    background-position: center top;
    background-size: cover;
    padding: 60px 0 260px;
    text-align: center;
  }
}


/* -----------------------------------------
   FIX: Category & Brand Swipers (mySwiper)
------------------------------------------ */

/* Make category/brand slides auto-width again */
.mySwiper .swiper-slide {
  width: 200px !important;
  /* FIXED WIDTH */
  display: flex;
  justify-content: center;
}

/* Restore card sizing */
.mySwiper .category-card {
  width: 200px !important;
  padding: 10px;
}

/* Restore image size inside cards */
.mySwiper .category-image {
  width: 100%;
  height: 220px;
  /* smaller proper height */
  object-fit: cover;
  border-radius: 8px;
}

/* Name text alignment */
.mySwiper .category-name {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: block;
}

/* cart */
.product-detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-images {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.main-product-image {
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
  /* Changed from cover to contain to match Swiper */
  display: block;
  height: 100%;
}

.thumbnail-gallery {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.thumbnail-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
}

.thumbnail-image:hover {
  transform: scale(1.05);
}

.product-info {
  flex: 1;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.product-meta {
  letter-spacing: 0.3px;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 16px;
}

.new-price {
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.price-section {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}


.product-model,
.product-id,
.product-price,
.product-vat,
.product-uom,
.product-qty {
  font-size: 1rem;
  margin: 0.3rem 0;
}

.product-description {
  margin-top: 1.5rem;
  font-size: small;
}

.product-description h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-description h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-spec-table-wrap {
  background: #f3f3f3;
  border: 1px solid #e2e2e2;
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.product-spec-table tr:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.product-spec-table th,
.product-spec-table td {
  text-align: left;
  padding: 10px 12px;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.4;
}

.product-spec-table th {
  width: 38%;
  font-weight: 700;
  color: #111;
}

.product-spec-table td {
  font-weight: 500;
  color: #111;
}

@media (max-width: 768px) {
  .product-spec-table th,
  .product-spec-table td {
    font-size: 14px;
    padding: 9px 10px;
  }

  .product-spec-table th {
    width: 44%;
  }
}

.product-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.product-actions form {
  flex: 1;
}


.add-to-cart-btn,
.buy-now-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  margin-right: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.add-to-cart-btn {
  background-color: #007bff;
  color: #fff;
}

.add-to-cart-btn:hover {
  background-color: #0056b3;
}

.buy-now-btn {
  background-color: #28a745;
  color: #fff;
}

.buy-now-btn:hover {
  background-color: #1e7e34;
}

.main-image-swiper {
  width: 100%;
  aspect-ratio: 1/1;
  /* Adjust as needed */
  margin-bottom: 10px;
}

.thumbnail-swiper {
  width: 100%;
  /* Adjust height as needed, especially if scrollbar is present */
  padding: 10px 0;
}

.thumbnail-swiper .swiper-slide {
  width: auto;
  height: 80px;
  /* Adjust thumbnail height */
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;
}

.thumbnail-swiper .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid #007bff;
  /* Optional: Highlight active thumbnail */
}

.swiper-button-prev,
.swiper-button-next {
  color: #333;
  /* Adjust arrow color */
}

.swiper-scrollbar {
  background: rgba(0, 0, 0, 0.1);
}

.swiper-scrollbar-drag {
  background: #666;
}



@media (min-width:992px) {

  #mobileFilter,
  #filterOverlay,
  #filterToggle {
    display: none !important
  }
}

.mobile-filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 330px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 10px rgb(0 0 0 / .25);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  padding: 20px
}

.mobile-filter-panel.active {
  transform: translateX(0)
}

.mobile-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / .4);
  z-index: 9998
}

/* homepage */
.home-page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  color: #000;
  font-size: 14px;
}

.section {
  margin-top: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
}

.section-link {
  font-size: 12px;
  text-decoration: none;
  color: #000;
}

.showcase-section {
  margin-top: 18px;
}

.showcase-section__header {
  gap: 12px;
}

.showcase-section__subtitle {
  color: #667085;
  font-size: 13px;
  margin-top: 4px;
}

.showcase-section__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.showcase-section__link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
}

.showcase-section__link:hover {
  color: #153ea9;
}

.offers-split-section {
  margin-top: 2px;
}

.offers-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.offers-panel {
  min-width: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e8edf3;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.offersCampaignSwiper,
.offersCodeSwiper {
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.offersCampaignSwiper .swiper-wrapper {
  width: 100%;
}

.offersCampaignSwiper .swiper-slide {
  height: auto;
  width: 100% !important;
  flex: 0 0 100%;
}

.offers-visual-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 250px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  width: 100%;
  color: #0f172a;
}

.offers-visual-card__media {
  position: relative;
  min-height: 250px;
  background: #e2e8f0;
}

.offers-visual-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff;
}

.offers-visual-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1d4ed8, #0f172a);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.offers-visual-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px;
}

.offers-visual-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.offers-visual-card__title {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  color: #0f172a;
}

.offers-visual-card__text {
  font-size: 14px;
  line-height: 1.45;
  color: #475569;
}

.offers-visual-card__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.offers-visual-card--popup {
  background: linear-gradient(135deg, #fff8ed 0%, #fff 46%, #f8fafc 100%);
}

.offers-visual-card--campaign {
  background: linear-gradient(135deg, #eefaf6 0%, #fff 46%, #f8fafc 100%);
}

.offer-code-card {
  min-height: 220px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  color: #111827;
  position: relative;
  overflow: hidden;
}

.offer-code-card--ticket {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, #c2f0f7 0%, #7bd8e6 100%);
  border: 3px solid #ffffff;
  outline: 2px solid #5bc3d5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.offer-code-card--ticket::before,
.offer-code-card--ticket::after {
  content: "";
  position: absolute;
  top: 52%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px rgba(91, 195, 213, 0.18);
}

.offer-code-card--ticket::before {
  left: -16px;
}

.offer-code-card--ticket::after {
  right: -16px;
}

.offer-code-card__topline {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f3a40;
}

.offer-code-card__value {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: #0f172a;
}

.offer-code-card__summary {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #102a43;
}

.offer-code-card__code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
}

.offer-code-card__code-label {
  font-size: 12px;
  font-weight: 500;
}

.offer-code-card__code {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-code-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.offer-code-card__cta i {
  font-size: 14px;
}

.offers-empty-state {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
}

.showcase-nav-button {
  width: 42px;
  height: 42px;
  border: 1px solid #d8dee6;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.showcase-nav-button:hover {
  transform: translateY(-1px);
  background: #f8fafc;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.showcase-nav-button.swiper-button-disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.showcase-swiper {
  overflow: hidden;
  padding: 4px 2px 6px;
}

.showcase-swiper .swiper-slide {
  height: auto;
}

.showcase-swiper--subcategory-nav .swiper-slide {
  height: auto;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
  border-color: #d6deea;
}

.showcase-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 34%),
    linear-gradient(180deg, #fbfcfe 0%, #f2f5f9 100%);
  aspect-ratio: 4 / 5;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
}

.showcase-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.showcase-card__placeholder {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}

.showcase-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 10px;
  padding: 18px 18px 20px;
}

.showcase-card__label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.showcase-card__name {
  font-size: 14px;
  line-height: 1.45;
  color: #111827;
  min-height: calc(1.45em * 2);
}

.showcase-card__price {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: #111827;
}

.showcase-card__stock {
  font-size: 13px;
  font-weight: 700;
}

.showcase-card__stock.is-in {
  color: #15803d;
}

.showcase-card__stock.is-out {
  color: #dc2626;
}

.showcase-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.showcase-card__cta i {
  font-size: 12px;
}

.showcase-card__cta:hover {
  background: #1f2937;
  color: #fff;
  transform: translateY(-1px);
}

.showcase-card--empty {
  min-height: 100%;
}

.subcategory-nav-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e8edf3;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.subcategory-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.subcategory-nav-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f7fa 0%, #e8edf3 100%);
}

.subcategory-nav-card__image,
.subcategory-nav-card__placeholder {
  width: 100%;
  height: 100%;
}

.subcategory-nav-card__image {
  object-fit: cover;
  display: block;
}

.subcategory-nav-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #64748b;
}

.subcategory-nav-card__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.subcategory-nav-card__meta {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* HERO BANNER (FULL-WIDTH FEEL) */
.hero-wrapper {
  margin: 0 -16px;
  /* stretch to edges */
}

.hero-swiper img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* CATEGORY STRIP */
.category-strip {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 10px 2px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.category-item {
  flex: 0 0 auto;
  width: auto;
  text-align: center;
  padding: 5px 0;
}

.category-icon {
  width: 150px;
  height: 150px;
  border-radius: 3%;
  border: 1px solid #e0e0e0;
  object-fit: cover;
  background: #fff;
}

.category-name {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
}

.product-image-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* HORIZONTAL PRODUCT ROW (FLASH DEALS) */
.product-row {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 2px 0 4px;
}

.product-card-row {
  flex: 0 0 190px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}

.product-card-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
}

.product-row-body {
  padding: 8px 10px 10px;
}

.product-name-small {
  font-size: 13px;
  height: 34px;
  overflow: hidden;
}

.product-price {
  margin-top: 4px;
  font-weight: 600;
  font-size: 14px;
}

/* GRID PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.product-body {
  padding: 10px 12px 12px;
  flex: 1 0 auto;
}

.product-name {
  font-size: 14px;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
}


.product-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.btn-plain,
.btn-plain-primary {
  width: 100%;              /* 🔥 fill full space */
  display: inline-block;
  padding: 10px 14px;       /* better height */
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* Secondary (Add to cart) */
.btn-plain {
  border: 1px solid #000;
  background: #fff;
  color: #000;
}

.btn-plain:hover {
  background: #000;
  color: #fff;
}

/* Primary (Buy now) */
.btn-plain-primary {
  border: 1px solid #000;
  background: #000;
  color: #fff;
}

.btn-plain-primary:hover {
  background: #222;
}

/* Disabled */
.btn-plain:disabled,
.btn-plain-primary:disabled,
.btn-plain[disabled],
.btn-plain-primary[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  background: #eee;
  color: #888;
  border-color: #ddd;
}

.brand-row {  
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  padding: 4px 0;
}

.brand-item {
  flex: 0 0 auto;
}

.brand-item img {
  width: auto;
  height: 100px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 768px) {
  .hero-swiper img {
    height: 220px;
  }

  .home-page {
    padding: 8px 10px 24px;
  }

  .home-page-shell {
    padding: 10px 12px 18px !important;
  }

  .section-title {
    font-size: 15px;
  }

  .category-image {
    height: 130px;
  }

  .category-image img {
    height: 140px !important;
    object-fit: cover;
  }

  .showcase-section__header {
    align-items: flex-start;
    margin-bottom: 6px;
  }

  .showcase-section__actions {
    gap: 6px;
  }

  .showcase-section__link {
    display: none;
  }

  .showcase-section {
    margin-top: 14px;
  }

  .showcase-nav-button {
    width: 34px;
    height: 34px;
  }

  .showcase-card__media {
    min-height: 180px;
    padding: 0;
  }

  .showcase-card {
    border-radius: 18px;
  }

  .showcase-card__body {
    padding: 14px 12px 12px;
    gap: 8px;
  }

  .showcase-card__name {
    font-size: 13px;
  }

  .showcase-card__image {
    height: 100%;
  }

  .showcase-card__price {
    font-size: 16px;
  }

  .showcase-card__cta {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .showcase-card__cta i {
    font-size: 11px;
  }

  .offers-split-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .offers-panel {
    padding: 12px;
    border-radius: 18px;
  }

  .offers-visual-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .offers-visual-card__media,
  .offers-visual-card__placeholder {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .offers-visual-card__content {
    padding: 14px;
    gap: 8px;
  }

  .offers-visual-card__title {
    font-size: 18px;
  }

  .offers-visual-card__text {
    font-size: 13px;
  }

  .offer-code-card {
    min-height: 180px;
    padding: 16px;
  }

  .offer-code-card__topline {
    font-size: 11px;
  }

  .offer-code-card__value {
    font-size: 34px;
  }

  .offer-code-card__summary {
    font-size: 13px;
  }

  .offer-code-card__code-wrap {
    padding: 7px 12px;
    gap: 6px;
  }

  .offer-code-card__code-label {
    font-size: 11px;
  }

  .offer-code-card__code {
    font-size: 13px;
  }

  .offer-code-card__cta {
    font-size: 14px;
  }

  .offers-empty-state {
    min-height: 180px;
    font-size: 14px;
  }

  .subcategory-nav-card {
    padding: 8px;
    border-radius: 18px;
  }

  .subcategory-nav-card__name {
    font-size: 12px;
  }

  .subcategory-nav-card__meta {
    font-size: 11px;
  }

  
}
/* ============================
   CATEGORY BAR (FIXED + SCROLL)
============================ */
.category-navbar {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;

  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 7;
  
           /* Firefox hide */
}

/* Hide scrollbar (Chrome / Safari) */
.category-navbar::-webkit-scrollbar {
  display: none;
}

/* ============================
   CATEGORY LIST
============================ */
.category-nav {
  display: flex;      /* horizontal flow */
  gap: 28px;
  padding: 10px 22px;
  margin: 0 auto;            /* center when not overflowing */
  list-style: none;
}

.category-nav li {
  flex: 0 0 auto;            /* prevent wrapping */
}

.category-nav a {
  white-space: nowrap;
}

/* ============================
   CATEGORY LINKS
============================ */
.category-link {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.category-link:hover {
  text-decoration: underline;
}

/* ============================
   NOON-STYLE FILTERS
============================ */
.category-filter .category-block {
  border-bottom: 1px solid #eee;
  padding: 6px 0;
}

.category-filter .category-header {
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-filter .category-header:hover {
  color: #007bff;
}

.category-filter .toggle-icon {
  font-weight: 600;
  display: inline-block;
  width: 14px;
}

.category-filter .collapse .form-check {
  margin-top: 6px;
}

.category-filter input[type="checkbox"] {
  cursor: pointer;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.img-cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
  background-color: #ffffff;
}

/* ===== PRODUCT CARD ALIGNMENT ===== */
.product-mini {
  text-align: center;
  font-size: 12px;
}

.product-mini img {
  
  height: 150px;
  object-fit: contain;
  margin: 0 auto 6px;
  display: block;
}

/* Product name */
.product-mini {
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: normal;
  /* allow wrapping */
  word-break: break-word;
}

/* Product price */
.product-mini .product-price {
  font-size: 12px;
  font-weight: 600;
}

/* Horizontal scroll cards */
.product-scroll-item {
  min-width: 140px;
  text-align: center;
  max-width: 200px;
  width: 100%;

}

.product-scroll-item img {
  height: 150px;
  object-fit: contain;
}

/* Category image */
.category-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.fit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.standardfont {
  font-size: small;
  font-weight: normal;
}

.variant-box {
  width: 100px;
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  color: #111;
  background: #fff;
  transition: all 0.2s ease;
}

.variant-box:hover {
  border-color: #007185;
  box-shadow: 0 0 0 2px rgba(0,113,133,.15);
}

.variant-box.active {
  border: 2px solid #007185;
}

.variant-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.variant-info {
  margin-top: 6px;
}

.variant-value {
  font-weight: 600;
  font-size: 14px;
}

.variant-price {
  font-size: 13px;
  color: #007600;
}


/* singlelink for explore */
.explore-link {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background: #f5f5f5;
    color: #666;
    transition: all 0.2s ease;
}

.explore-link:hover {
    background: #e9e9e9;
    color: #333;
}

.explore-link.active {
    background: #198754;   /* Bootstrap green */
    color: #fff;
    font-weight: 600;
}

.explore-link.active:hover {
    background: #157347;
}

.offer-marquee {
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  height: 34px;
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.offer-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marquee 25s linear infinite;
}

.offer-item {
  font-size: 13px;
  color: #0c9450;
  font-weight: 500;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover (nice UX) */
.offer-marquee:hover .offer-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {


   .top-nav .container-fluid {
    flex-wrap: nowrap;   /* ❗ prevents collapse */
  }

  .offer-marquee {
    min-width: 120px;
    height: 28px;
    margin: 0 6px;
    display: none;
  }

  .offer-item {
    font-size: 11px;
    line-height: 1;
  }

  .offer-track {
    animation-duration: 18s; /* faster on mobile */
  }


}

.sidebar-category-menu .nav-link {
    color: #333;
    transition: all .2s ease;
}

.sidebar-category-menu .nav-link:hover {
    color: #0d6efd;
    padding-left: 6px;
}

.category-header:hover {
    color: #0d6efd;
}

/* ========== MAIN MOBILE MENU ========== */

.main-side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  transition: .3s ease;
  overflow-y: auto;
  box-shadow: 5px 0 10px rgba(0,0,0,.1);
}

.main-side-menu.active {
  left: 0;
}

.main-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1999;
  display: none;
}

.main-menu-overlay.active {
  display: block;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.menu-body {
  padding: 10px;
}

.main-side-menu .nav-link {
  color: #333;
}

.main-side-menu .nav-link:hover {
  color: #0d6efd;
  padding-left: 6px;
}

.name-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
}

/* Hide top category navbar ONLY on mobile */
.topgap {
  height: 100px;
}
@media (max-width: 991px) {
  .category-navbar {
    display: none !important;
  }
  .topgap {
    height: 50px;
  }
  .search-navbar {
    top: 60px;
  }
}

