/* Hero Carousel Styles */
.hero-carousel-img {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.hero-carousel-img img {
  width: 100%;
  min-height: 300px;
  display: block;
}

.hero-carousel-box {
  position: absolute;
  top: 12%;
  left: 5%;
  background: rgb(0 0 0 / 12%);
  padding: 25px;
  border-radius: 40px;
  backdrop-filter: blur(8px);
  width: 35vw;
  min-width: 250px;
  color: white;
}

.hero-carousel-box h2 {
  font-size: 34px;
  font-weight: 400;
  margin: 0;
  line-height: 38px;
}

.hero-carousel-box button {
  background: white;
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  margin: 15px 0 5px;
  text-transform: uppercase;
}
/* Custom Pagination (Outside Image) */
.custom-pagination {
  text-align: center;
  margin-top: 15px;
}

.custom-pagination button {
  width: 10px;
  height: 10px;
  margin: 5px;
  background: gray;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.custom-pagination button.active {
  background: black;
}

.feature-card-custom {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  background: white;
  width: 100%;
  max-width: 400px;
}

.feature-card-custom img {
  width: 65px;
  height: 65px;
  opacity: 0.6;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
}

.card-text {
  font-size: 13px;
  color: gray;
  margin: 5px 0 0;
  line-height: 18px;
}

.buy-button {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  border: 1.5px solid #85b943;
  background: white;
  border-radius: 25px;
  width: 100%;
  letter-spacing: 2px;
  font-weight: 600;
}

.buy-button:hover {
  background: #85b943;
  color: white;
}
.product-card {
  display: flex;
  flex-direction: column;
  /* height: 330px; */
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.product-image {
  background-color: #f4f4f4;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* height: 215px; */
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.product-discount {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  display: inline-block;
  background: #e8491d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.product-price-orig {
  color: #888;
  font-weight: 400;
  text-decoration: line-through;
  margin-left: 6px;
  font-size: 0.85em;
}

.product-image img {
  height: 100%;
  object-fit: cover;
}

.product-name {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin-bottom: 3px;
  line-height: 1.2;
  font-weight: 500;
  padding-bottom: 0.3rem;
}

.buy-button {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  border: 1.5px solid #85b943;
  background: white;
  border-radius: 25px;
  width: 100%;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.buy-button:hover {
  background: #85b943;
  color: white;
}

.out-of-stock {
  width: 100%;
  margin-top: auto;
  padding: 8px 12px;
  text-align: center;
  color: #6c757d;
}

.clearfix {
  clear: both;
}

.btn-show-more {
  background-color: #f4f4f4;
  border: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-show-more:hover {
  background-color: #e0e0e0;
}

.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.blog-box .card-title {
  font-size: 18px;
  font-weight: 500;
}

.blog-box .card-text {
  color: #404040;
}

.date {
  font-size: 11px;
  font-weight: 500;
}

.faqs .accordion-item {
  border-left: none;
  border-right: none;
  border-radius: 0;
}

.faqs .accordion-body {
  padding: 1rem 1.25rem;
  font-weight: 500;
}

.faqs .accordion-button:not(.collapsed) {
  color: #000000;
  background-color: transparent;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.faqs .accordion-button {
  padding: 1.5rem 1.25rem;
  font-weight: 500;
}

.faqs .accordion-button::after {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  content: "";
  background-image: url('data:image/svg + xml,%3csvgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 16 16"fill="%23212529"%3e%3cpathfill-rule="evenodd"d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-size: 0.8rem;
  transition: transform 0.2s ease-in-out;
}

.faq-link {
  color: #1a54d7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.faq-link i {
  margin-left: 5px;
}

@media (max-width: 991.98px) {
  .hero-carousel-box h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .hero-carousel-box button {
    padding: 6px 12px;
    font-size: 14px;
  }

  .feature-card-custom {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .feature-card-custom img {
    margin-bottom: 10px;
  }

  .nav-container {
    padding: 15px 0px 15px 0 !important;
  }
}

@media (max-width: 767.98px) {
  .hero-carousel-box {
    position: absolute;
    top: 17%;
    left: 0;
    background: rgb(0 0 0 / 12%);
    padding: 5px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    width: 35vw;
    min-width: 300px;
    color: white;
    right: 0;
    margin: auto;
  }

  .feature-card-custom {
    flex-direction: row;
  }

  .features-cards .col-md-4:has(.feature-card-custom) {
    justify-content: center !important;
  }

  .card img {
    max-width: 300px !important;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero-carousel-img img {
    object-fit: cover;
    object-position: left;
  }

  .hero-carousel-box {
    text-align: center;
    width: 80vw !important;
    height: 25vh;
  }

  .hero-carousel-box button {
    font-size: 12px;
  }

  button.s-btn {
    background: #000;
    color: #fff !important;
    border: none;
    width: 30px;
    height: 28px;
  }

  .latest {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    max-height: 50px;
  }

  .search-box button {
    padding: 6px 10px;
  }

  .feature-card-custom {
    flex-direction: column;
  }

  .faqs .accordion-button {
    padding: 10px;
  }

  .faqs .accordion-body {
    font-weight: 400;
    padding: 10px;
  }

  .faqs .accordion-body p,
  .faqs .accordion-body a {
    font-size: 12px !important;
    line-height: 1.4;
  }
}

.products-cards {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  row-gap: 10px;
}

.product-card-hp {
  width: 20%;
  padding: 5px;
}

@media (max-width: 1024px) {
  .product-card-hp {
    width: 25%;
  }
}

@media (max-width: 768px) {
  .product-card-hp {
    width: 33.33%;
  }
}

@media (max-width: 425px) {
  .product-card-hp {
    width: 50%;
  }
}

.latest {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  color: #333;
  margin-bottom: 1rem;
}

.latest-products-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin-top: 20px;
  border: 1px solid #e0e0e0;
  background-color: #fafafa;
  border-radius: 8px;
  overflow: hidden;
}

.latest-products-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 20px;
}

.latest-products-header h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  color: #333;
}

.lp-swiper-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px;
}

.lp-swiper-wrapper {
  display: flex;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-slide {
  min-width: 100%;
  display: grid;
  gap: 15px;
  padding: 0 10px;
  align-content: start;
  align-items: start;
  grid-auto-rows: max-content;
}

.lp-product-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  width: 100%;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.1);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
  overflow: hidden;
  color: #111;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  align-self: start;
  height: auto;
}

.lp-product-card a {
  cursor: pointer;
}

.lp-product-inner {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.lp-product-left {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  height: 136px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-product-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  border: 6px solid #fff;
  box-shadow: 0 6px 14px rgba(15, 15, 15, 0.08);
}

/* ribbon */
.lp-product-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.lp-product-badge::before {
  content: "New";
  position: absolute;
  top: 6px;
  left: -10px;
  width: 100px;
  padding: 1px;
  background: #0f6b4c;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(40deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.lp-product-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 10px;
}

.lp-product-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(33, 37, 41, 1);
  line-height: 1.1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-product-sub {
  margin: 0;
  font-size: 12px;
  color: rgba(153, 161, 165, 1);
}

.lp-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.lp-product-price {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(33, 37, 41, 1);
}

.lp-product-orig {
  color: #888;
  font-weight: 400;
  text-decoration: line-through;
  margin-left: 6px;
  font-size: 0.85em;
}

.lp-product-discount {
  display: inline-block;
  background: #e8491d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.lp-product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  transition:
    background 0.12s ease,
    transform 0.12s ease;
}

@media (max-width: 420px) {
  .lp-slide {
    gap: 8px;
  }

  .lp-swiper-container {
    padding: 12px 8px;
  }

  .lp-product-card {
    padding: 8px;
    border-radius: 10px;
  }

  .lp-product-left {
    height: 100px;
  }

  .lp-product-image img {
    width: 85px;
    height: 85px;
  }

  .lp-product-title {
    font-size: 12px;
    min-height: 32px;
    line-height: 1.3;
  }

  .lp-product-sub {
    font-size: 9px;
  }

  .lp-product-price {
    font-size: 14px;
  }

  .lp-product-icon {
    width: 28px;
    height: 28px;
  }

  .lp-product-icon svg {
    width: 12px;
    height: 14px;
  }

  .lp-product-badge {
    width: 60px;
    height: 60px;
  }

  .lp-product-badge::before {
    font-size: 9px;
    width: 90px;
  }
}

.lp-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.lp-arrow-btn {
  width: 30px;
  height: 30px;
  border: 2px solid #30975e;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #30975e;
  font-size: 18px;
}

.lp-arrow-btn:hover {
  background-color: #30975e;
  color: white;
  transform: scale(1.1);
}

.lp-arrow-btn:active {
  transform: scale(0.95);
}

.lp-navigation-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lp-dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.lp-dot:hover {
  background-color: #999;
}

.lp-dot-active {
  width: 60px;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.lp-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #66ea83 0%, #4ba24b 100%);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 5px;
}

/* Responsive Grid Layouts */
@media (min-width: 1400px) {
  .lp-slide {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .lp-slide {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 767px) and (max-width: 1199px) {
  .lp-slide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .lp-slide {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    grid-auto-rows: min-content;
  }

  /* Hide items 7-10 on mobile, show only 6 items (3 rows x 2 columns) */
  .lp-slide .lp-product-card:nth-child(n + 7) {
    display: none;
  }

  .lp-swiper-container {
    padding: 15px 12px;
  }

  .lp-product-card {
    min-height: auto;
    font-size: 13px;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
  }

  .lp-product-inner {
    flex-direction: column;
    gap: 10px;
    height: 100%;
  }

  .lp-product-left {
    width: 100%;
    height: 120px;
    flex-shrink: 0;
  }

  .lp-product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lp-product-image img {
    width: 100px;
    height: 100px;
    border: 4px solid #fff;
    object-fit: cover;
  }

  .lp-product-content {
    padding-left: 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 4px;
  }

  .lp-product-title {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
    max-width: 100%;
    -webkit-line-clamp: 2;
    min-height: 36px;
  }

  .lp-product-sub {
    font-size: 10px;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .lp-product-row {
    margin-top: auto;
    gap: 8px;
    align-items: center;
  }

  .lp-product-price {
    font-size: 15px;
    font-weight: 600;
  }

  .lp-product-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .lp-product-icon svg {
    width: 14px;
    height: 16px;
  }

  .latest-products-header {
    padding: 12px 15px;
  }

  .latest-products-header h3 {
    font-size: 14px;
    margin-bottom: 0;
  }

  .lp-controls {
    gap: 6px;
  }

  .lp-arrow-btn {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .lp-dot {
    width: 8px;
    height: 8px;
  }

  .lp-dot-active {
    width: 40px;
    height: 8px;
  }
}

/* Animation classes */
.lp-slide-enter {
  animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   CATEGORY CHIPS SECTION
   ═══════════════════════════════════════════════════════════════════ */

.category-chips-section {
  width: 100%;
  padding-top: 32px;
  padding-bottom: 16px;
  background: linear-gradient(
    180deg,
    rgba(246, 255, 244, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* ─────────────────────────────────────────────────────────────────── */
/* INNER CONTAINER */
/* ─────────────────────────────────────────────────────────────────── */

.category-chips-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ─────────────────────────────────────────────────────────────────── */
/* TITLE */
/* ─────────────────────────────────────────────────────────────────── */

.chips-title {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  color: #2b6240;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────────── */
/* SCROLLABLE WRAPPER (with gradient fix) */
/* ─────────────────────────────────────────────────────────────────── */

.chips-wrapper {
  position: relative;
  flex: 1;
  overflow: hidden; /* Hide overflow on parent */
}

/* Inner scroll container */
.chips-wrapper::before {
  content: "";
  display: block;
}

.chips-wrapper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(43, 98, 64, 0.15) transparent;
}

/* Webkit scrollbar styling */
.chips-wrapper::-webkit-scrollbar {
  height: 6px;
}

.chips-wrapper::-webkit-scrollbar-thumb {
  background: rgba(43, 98, 64, 0.15);
  border-radius: 10px;
}

.chips-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(43, 98, 64, 0.25);
}

.chips-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

/* ─────────────────────────────────────────────────────────────────── */
/* CHIP BUTTONS */
/* ─────────────────────────────────────────────────────────────────── */

.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid rgba(43, 98, 64, 0.12);
  border-radius: 100px;
  background: #ffffff;
  color: #2b6240;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(43, 98, 64, 0.04);
}

/* Hover state */
.chip:hover {
  border-color: rgba(43, 98, 64, 0.24);
  background: #f6fff4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 98, 64, 0.08);
}

/* Active/pressed state */
.chip:active {
  transform: translateY(0);
}

/* Focus state (accessibility) */
.chip:focus-visible {
  outline: 2px solid #2b6240;
  outline-offset: 2px;
  border-color: #2b6240;
}

/* Selected state */
.chip[aria-pressed="true"] {
  background: linear-gradient(135deg, #2b6240 0%, #1e4a2f 100%);
  color: #ffffff;
  border-color: #2b6240;
  box-shadow: 0 4px 12px rgba(43, 98, 64, 0.2);
}

.chip[aria-pressed="true"]:hover {
  background: linear-gradient(135deg, #1e4a2f 0%, #16391f 100%);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────────── */
/* RESPONSIVE */
/* ─────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .category-chips-section {
    padding: 24px 0;
  }

  .category-chips-inner {
    gap: 16px;
  }

  .chips-title {
    font-size: 14px;
  }

  .chip {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .chips-title {
    display: none;
  }

  .category-chips-inner {
    gap: 0;
  }

  .chip {
    padding: 8px 14px;
    font-size: 13px;
  }
}

.micro-story-ribbon {
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(90deg, #f8fbf8, #eef6ef);
  padding: 10px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  margin: 14px 0;
  box-sizing: border-box;
}

.micro-story-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(194, 236, 145, 0.7),
    rgba(120, 248, 120, 0.45)
  );
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.micro-story-text {
  margin: 0;
  font-size: 16px;
  color: #1e4a2f;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  width: 100%;
}

@media (max-width: 720px) {
  .micro-story-ribbon {
    margin: 18px 0;
    padding: 8px 12px;
  }
  .micro-story-inner {
    padding: 8px 12px;
    gap: 8px;
  }
  .micro-story-text {
    font-size: 13px;
  }
}
