/* Mobile hamburger — Remix Icon (FA webfonts are not bundled in Next public assets) */
header .top-nav .navbar-top .navbar-menu-button.navbar-toggler {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

header .top-nav .navbar-top .navbar-menu-button.navbar-toggler:focus {
  box-shadow: none;
}

header .top-nav .navbar-top .navbar-menu-button .preeco-header-icon {
  font-size: 24px;
  width: 24px;
  height: 24px;
  color: #88013e;
}

header .top-nav .navbar-top .rightside-box ul li .header-ic .header-action-img,
header .top-nav .navbar-top .rightside-box ul li .header-ic img.header-action-img {
  height: 22px;
  width: auto;
  display: block;
}

.search .search-button .header-search-img {
  height: 17px;
  width: 17px;
  display: block;
}

/* Header action icons */
header .top-nav .navbar-top .rightside-box .right-side-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

header .top-nav .navbar-top .rightside-box .right-side-menu > li {
  margin: 0;
}

.preeco-header-action {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.preeco-header-action:hover {
  background-color: rgba(136, 1, 62, 0.08);
}

.preeco-header-action--account {
  border: 1.5px solid rgba(136, 1, 62, 0.45);
}

.preeco-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #88013e;
  line-height: 1;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
}

header .top-nav .navbar-top .rightside-box ul li .header-ic .preeco-header-icon {
  font-size: 23px;
  width: 23px;
  height: 23px;
}

.preeco-header-action--account .preeco-header-icon {
  font-size: 21px;
  width: 21px;
  height: 21px;
}

.search .search-button .preeco-header-icon {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

.header-top .preeco-header-icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: #fff;
}

.header-top .social_and_help_widgets ul li a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.header-top .social_and_help_widgets ul li a:hover {
  color: #f5d0e0;
}

.header-top .social_and_help_widgets ul li a:hover .preeco-header-icon {
  color: #f5d0e0;
}

.header-ic:hover .preeco-header-icon,
.search-button:hover .preeco-header-icon {
  color: #6d0132;
}

.preeco-header-badge,
header .top-nav .navbar-top .rightside-box .preeco-header-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #88013e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(136, 1, 62, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Slick carousel arrows */
.slick-prev,
.slick-next {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #88013e !important;
  box-shadow: 0 8px 22px rgba(136, 1, 62, 0.24);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.slick-prev:before,
.slick-next:before {
  display: none !important;
  content: "" !important;
}

.slick-prev .preeco-slick-icon,
.slick-next .preeco-slick-icon {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}

.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
  background: #6d0132 !important;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 24px rgba(136, 1, 62, 0.32);
}

.slick-prev.slick-disabled,
.slick-next.slick-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.slick-prev {
  left: -10px;
}

.slick-next {
  right: -6px;
}

/* Brand listing page */
.brand-grid-img {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.brand-grid-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.bcontainer .bname {
  margin-bottom: 0;
  color: #88013e;
  font-weight: 600;
  text-transform: capitalize;
}

.fresh-vegetable-section.sb_white h2 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.breadscrumb-contain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.breadscrumb-contain h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-transform: capitalize;
}

.breadscrumb-contain .breadcrumb {
  margin: 0;
  text-transform: lowercase;
}

.breadscrumb-contain .breadcrumb a {
  color: #88013e;
  text-decoration: none;
}

@media (max-width: 767px) {
  .slick-prev,
  .slick-next {
    width: 36px !important;
    height: 36px !important;
  }

  .slick-prev .preeco-slick-icon,
  .slick-next .preeco-slick-icon {
    font-size: 18px;
  }

  .preeco-header-action {
    width: 38px;
    height: 38px;
  }
}

/* Footer contact + social icons (Remix Icon) */
.footer-address .inform-box .icon-round i.preeco-footer-contact-icon {
  font-size: 22px;
  color: #88013e;
  line-height: 1;
  width: auto;
  height: auto;
}

.social-icon li a.preeco-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-icon .preeco-footer-social-icon {
  font-size: 24px;
  color: #fff;
  line-height: 1;
}

.social-icon li a.preeco-footer-social-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.social-icon li a.preeco-footer-social-link:hover .preeco-footer-social-icon {
  color: #f5d0e0;
}

/* Replace javascript:void(0) anchors with buttons — keep legacy look */
button.category-name,
.mobile-menu .mobile-category > button,
.mobile-menu .mobile-menu-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #fff !important;
  font: inherit;
  text-align: center;
  cursor: pointer;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.mobile-menu .mobile-menu-item-btn .icli,
.mobile-menu .mobile-category > button .icli {
  display: inline-block;
  margin: 0 auto;
  font-size: calc(20px + (22 - 20) * ((100vw - 320px) / (1920 - 320)));
  color: #fff !important;
}

.mobile-menu .mobile-menu-item-btn span,
.mobile-menu .mobile-category > button span {
  display: block;
  color: #fff !important;
}

.mobile-menu .mobile-menu-badge {
  position: absolute;
  top: -10%;
  right: 18%;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
}

.mobile-menu .mobile-menu-badge--wishlist {
  background-color: #ffa006;
  color: #fff;
}

.mobile-menu .mobile-menu-badge--cart {
  top: -12%;
  right: 16%;
  background-color: #fff;
  color: #ffa006;
}

/* Ensure bottom nav stays visible above sticky PDP CTA / chat widgets */
.mobile-menu.mobile-cart {
  display: block !important;
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (min-width: 768px) {
  .mobile-menu.mobile-cart {
    display: none !important;
  }
}

/* Lift PDP sticky cart above the bottom nav */
@media (max-width: 767.98px) {
  .mobile-cart-sticky {
    bottom: 62px !important;
  }

  body {
    padding-bottom: 70px;
  }
}

button.category-name h6 {
  margin: 0;
}

.brand-details-page button.sub-nav-drop {
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* =========================================================
   FINAL VISUAL POLISH — Homepage / PLP / Brand (presentation)
   Brand: #88013e — do not alter business logic or layout hierarchy
   ========================================================= */

:root {
  --preeco-brand: #88013e;
  --preeco-brand-dark: #6d0132;
  --preeco-brand-soft: rgba(136, 1, 62, 0.08);
  --preeco-radius-sm: 8px;
  --preeco-radius-md: 12px;
  --preeco-radius-pill: 999px;
  --preeco-shadow-sm: 0 2px 8px rgba(15, 17, 17, 0.06);
  --preeco-shadow-md: 0 10px 28px rgba(15, 17, 17, 0.1);
  --preeco-transition: 0.18s ease;
}

/* Shared buttons */
.preeco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--preeco-radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--preeco-transition), color var(--preeco-transition),
    border-color var(--preeco-transition), box-shadow var(--preeco-transition),
    transform var(--preeco-transition);
}

.preeco-btn:focus-visible {
  outline: 2px solid var(--preeco-brand);
  outline-offset: 2px;
}

.preeco-btn:disabled,
.preeco-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.preeco-btn--primary {
  background: var(--preeco-brand);
  color: #fff;
  border-color: var(--preeco-brand);
}

.preeco-btn--primary:hover:not(:disabled) {
  background: var(--preeco-brand-dark);
  border-color: var(--preeco-brand-dark);
  color: #fff;
}

.preeco-btn--ghost {
  background: #fff;
  color: #444;
  border-color: rgba(0, 0, 0, 0.14);
}

.preeco-btn--ghost:hover:not(:disabled) {
  background: #fafafa;
  border-color: rgba(136, 1, 62, 0.35);
  color: var(--preeco-brand);
}

/* Header / top bar polish */
header .sticky-header,
header .top-nav {
  z-index: 1030;
}

header .navbar-top {
  align-items: center;
}

header .web-logo img,
header .nav-logo img {
  display: block;
  max-height: 48px;
  width: auto;
}

header .middle-box .search {
  border-radius: var(--preeco-radius-pill);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--preeco-shadow-sm);
  transition: border-color var(--preeco-transition), box-shadow var(--preeco-transition);
}

header .middle-box .search:focus-within {
  border-color: rgba(136, 1, 62, 0.4);
  box-shadow: 0 0 0 3px rgba(136, 1, 62, 0.12);
}

header .middle-box .search .form-control {
  border: 0;
  box-shadow: none;
  height: 44px;
  font-size: 14px;
  padding-left: 16px;
}

header .middle-box .search .search-button {
  border: 0;
  background: transparent;
  width: 48px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--preeco-transition);
}

header .middle-box .search .search-button:hover {
  background: var(--preeco-brand-soft);
}

header .header-top {
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

/* Mega menu / desktop dropdowns */
header .navbar-nav > .nav-item > .nav-link {
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color var(--preeco-transition), background-color var(--preeco-transition);
}

header .navbar-nav > .nav-item > .nav-link:hover,
header .navbar-nav > .nav-item > .nav-link:focus-visible,
header .navbar-nav > .nav-item:hover > .nav-link {
  color: var(--preeco-brand);
  background: var(--preeco-brand-soft);
  outline: none;
}

header .navbar-nav .dropdown-menu,
header .navbar-nav .dropdown-menu-2,
header .dropdown-mega .dropdown-menu {
  border: 1px solid rgba(136, 1, 62, 0.1) !important;
  border-radius: var(--preeco-radius-md) !important;
  box-shadow: var(--preeco-shadow-md) !important;
  padding: 12px 14px !important;
  margin-top: 6px;
  z-index: 1040;
}

header .navbar-nav .dropdown-item,
header .dropdown-mega .dropdown-item,
header .dropdown-mega .mcol a {
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  transition: background-color var(--preeco-transition), color var(--preeco-transition);
}

header .navbar-nav .dropdown-item:hover,
header .navbar-nav .dropdown-item:focus,
header .dropdown-mega .dropdown-item:hover,
header .dropdown-mega .mcol a:hover {
  background: var(--preeco-brand-soft);
  color: var(--preeco-brand);
}

header .dropdown-mega .mhead,
header .dropdown-mega .text-pink {
  color: var(--preeco-brand) !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

header .dropdown-mega .grid-col {
  gap: 8px 12px;
}

/* PLP filter sidebar */
.preeco-filter-sidebar {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--preeco-radius-md);
  padding: 14px 14px 18px;
  box-shadow: var(--preeco-shadow-sm);
}

.preeco-filter-sidebar .filter-title h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #222;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.preeco-filter-sidebar .filter-category {
  margin-top: 4px;
}

.preeco-filter-sidebar .filter_list {
  margin-bottom: 8px;
  padding-top: 6px;
}

.preeco-filter-sidebar .category-list.custom-height {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(136, 1, 62, 0.35) transparent;
}

.preeco-filter-sidebar .category-list.custom-height::-webkit-scrollbar {
  width: 6px;
}

.preeco-filter-sidebar .category-list.custom-height::-webkit-scrollbar-thumb {
  background: rgba(136, 1, 62, 0.35);
  border-radius: 999px;
}

.preeco-filter-sidebar .category-list-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-radius: 8px;
  transition: background-color var(--preeco-transition);
}

.preeco-filter-sidebar .category-list-box:hover {
  background: #faf7f9;
}

.preeco-filter-sidebar .checkbox_animated {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--preeco-brand);
  flex: 0 0 auto;
}

.preeco-filter-sidebar .form-check-label {
  margin: 0;
  cursor: pointer;
  font-size: 13.5px;
  color: #333;
  line-height: 1.35;
}

.preeco-filter-sidebar .back-button h3 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

/* Price filter */
.preeco-price-block {
  padding: 4px 0 8px;
}

.preeco-price-inputs {
  display: flex !important;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
}

.preeco-price-field {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preeco-price-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777;
  margin: 0;
}

.preeco-price-input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--preeco-radius-sm);
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  text-align: center;
  background: #fff;
  transition: border-color var(--preeco-transition), box-shadow var(--preeco-transition);
  -moz-appearance: textfield;
}

.preeco-price-input::-webkit-outer-spin-button,
.preeco-price-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.preeco-price-input:focus {
  outline: none;
  border-color: rgba(136, 1, 62, 0.45);
  box-shadow: 0 0 0 3px rgba(136, 1, 62, 0.12);
}

.preeco-price-input:disabled {
  background: #f5f5f5;
  color: #888;
}

.preeco-price-sep {
  flex: 0 0 auto;
  padding-bottom: 11px;
  color: #999;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}

.preeco-price-actions {
  display: flex !important;
  gap: 8px;
  margin-top: 12px;
  width: 100%;
}

.preeco-price-actions .preeco-btn,
.preeco-price-actions .btn_apply,
.preeco-price-actions .btn_reset {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  text-transform: none;
}

.shop-section .btn_apply.preeco-btn--primary,
.shop-section .filter-button.preeco-btn--primary {
  background: var(--preeco-brand) !important;
  color: #fff !important;
  border: 1px solid var(--preeco-brand) !important;
  border-radius: var(--preeco-radius-pill) !important;
}

.shop-section .btn_reset.preeco-btn--ghost {
  background: #fff !important;
  color: #444 !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: var(--preeco-radius-pill) !important;
}

/* Load more consistency */
.listing-load-more .load-more-btn,
.brand-load-more .load-more-btn,
.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--preeco-radius-pill);
  font-weight: 600;
  font-size: 14px;
  color: var(--preeco-brand);
  border: 1px solid rgba(136, 1, 62, 0.28);
  background: #fff;
  cursor: pointer;
  transition: background-color var(--preeco-transition), color var(--preeco-transition),
    border-color var(--preeco-transition), box-shadow var(--preeco-transition);
}

.listing-load-more .load-more-btn:hover,
.brand-load-more .load-more-btn:hover,
.load-more-btn:hover {
  background: var(--preeco-brand-soft);
  border-color: var(--preeco-brand);
  color: var(--preeco-brand-dark);
}

.listing-load-more .load-more-btn:focus-visible,
.brand-load-more .load-more-btn:focus-visible,
.load-more-btn:focus-visible {
  outline: 2px solid var(--preeco-brand);
  outline-offset: 2px;
}

/* Title / count hierarchy on PLP */
.shop-section .title-row h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 4px;
}

.shop-section .title-row .text-muted,
.shop-section .search-view .text-muted {
  color: #666 !important;
}

.shop-section .search-view h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1f1f1f;
}

/* Left box mobile drawer polish */
.left-box {
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.left-box.show .preeco-filter-sidebar {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  min-height: 100%;
}

/* Form controls — shared language */
.shop-section input[type="search"],
.shop-section input[type="text"],
.fresh-vegetable-section .form-control,
.brand-search {
  border-radius: 10px;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .preeco-filter-sidebar {
    border-radius: 0;
    border: 0;
    box-shadow: none;
    padding: 12px 16px 24px;
  }

  header .web-logo img,
  header .nav-logo img {
    max-height: 40px;
  }

  .shop-section .title-row h2 {
    font-size: 22px;
  }
}

@media (max-width: 575.98px) {
  .preeco-price-actions {
    flex-direction: column;
  }

  .preeco-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preeco-btn,
  header .navbar-nav > .nav-item > .nav-link,
  header .navbar-nav .dropdown-item,
  .listing-load-more .load-more-btn,
  .load-more-btn,
  .left-box {
    transition: none !important;
  }
}

