@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");
@import url("bootstrap.min.css");
@import url("swiper-bundle.min.css");

:root {
  --olive: #33371e;
  --green: #637704;
  --orange: #f4831f;
  --bg: #f3f4f075;
  --text: #252e36;
  --line: #e6e6df;
  --olive-mid: #6b7d1f;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: clamp(30px, 5vw, 60px) 0;
}

.bg-img {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* top bar */
.topbar {
  background: var(--olive);
  color: #dddddd;
  font-size: 12px;
  padding: 7px 0;
}

.topbar iconify-icon {
  color: #c7e03a;
  margin-right: 5px;
}

.topbar a iconify-icon {
  color: #dddddd;
}

iconify-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
}

.topbar a:last-child {
  color: var(--orange);
}

.topbar a:last-child iconify-icon {
  color: var(--orange);
}

.topbar a {
  transition: 0.25s;
}

.topbar a:hover iconify-icon {
  color: #c7e03a;
}

.topbar a:hover {
  color: #c7e03a;
}

/* header */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.header-in {
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  line-height: 1;
  height: 55px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav a,
.main-nav button {
  font-size: 14px;
  font-weight: 500;
  color: var(--olive);
  position: relative;
  padding: 6px 0;
  background: none;
  border: 0;
}

.main-nav a::after,
.main-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}

.main-nav a:hover,
.main-nav button:hover,
.main-nav a.active {
  color: var(--green);
}

.main-nav a:hover::after,
.main-nav button:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav .deals {
  color: #e8553d;
}

.hot {
  position: absolute;
  top: -12px;
  right: -22px;
  background: #ef5b45;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.12);
  }
}

.h-icons {
  gap: clamp(10px, 1.5vw, 22px);
}

.h-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  position: relative;
  background: none;
  font-weight: 500;
  border: 0;
  color: var(--olive);
  transition: 0.25s;
}

.h-icon iconify-icon {
  font-size: 22px;
}

.h-icon:hover {
  color: var(--green);
  transform: translateY(-2px);
}

.badge-c {
  position: absolute;
  top: -5px;
  right: 2px;
  background: #ef5b45;
  color: #fff;
  font-size: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.badge-c.bump {
  animation: bump 0.4s;
}

@keyframes bump {
  50% {
    transform: scale(1.6);
  }
}

.menu-btn {
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--olive);
}

/* search overlay */
.search-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.search-bar.open {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.search-bar input {
  border-radius: 12px;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1px solid #ddd;
  font-size: 14px;
}

.search-bar input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(91, 122, 30, 0.15);
}

.btn-search {
  border-radius: 12px;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  background: var(--olive);
  font-size: 14px;
  color: #fff;
  transition: all 0.3s;
}

.btn-search:hover {
  color: #fff;
  background: var(--green);
}

/* offcanvas (shared) */
.offcanvas {
  width: 340px !important;
  max-width: 88vw;
  font-family: "Poppins", sans-serif;
  border: 0;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.oc-head {
  padding: 20px;
  color: #fff;
  background: var(--olive);
  position: relative;
  overflow: hidden;
}

.oc-head h5 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.oc-head p {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: 0.75;
}

.oc-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oc-close:hover {
  background: #fff;
  color: var(--olive);
  transform: rotate(90deg);
}

.oc-body {
  padding: 12px;
  overflow-y: auto;
  background: #f6f7f1;
  flex: 1;
}

.oc-foot {
  padding: 14px;
  background: #fff;
  border-top: 1px solid #eee;
}

.oc-foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 6px 4px;
  transition: 0.25s;
}

.oc-foot a iconify-icon {
  color: var(--green);
  font-size: 18px;
}

.oc-foot a:hover {
  color: var(--green);
  transform: translateX(4px);
}

.offcanvas.show .stagger {
  animation: slideIn 0.45s both;
  animation-delay: calc(var(--i, 0) * 55ms + 120ms);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
}

/* category sidebar */
.cat-search {
  position: relative;
  margin-top: 14px;
}

.cat-search input {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px 10px 38px;
  font-size: 13px;
  outline: 0;
}

.cat-search input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.cat-search iconify-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 16px;
}

.cat-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

.cat-item:hover {
  box-shadow: 0 6px 16px rgba(60, 80, 20, 0.12);
  transform: translateX(3px);
}

.cat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  text-align: left;
  color: var(--olive);
}

.cat-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 21px;
  background: #f0f6e2;
  color: var(--olive);
  transition: 0.3s;
  flex: none;
}

.cat-row:hover .cat-ic {
  background: var(--olive);
  color: #f0f6e2;
  transform: scale(1.03) rotate(-3deg);
}

.cat-name {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}

.cat-name small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.cat-arrow {
  font-size: 16px;
  color: #aaa;
  transition:
    transform 0.3s,
    color 0.3s;
}

.cat-row:hover .cat-arrow {
  color: var(--green);
}

.cat-row[data-bs-toggle]:not(.collapsed) .cat-arrow {
  transform: rotate(180deg);
  color: var(--green);
}

.sub-list ul {
  list-style: none;
  margin: 0 12px 10px 32px;
  padding: 0 0 0 14px;
  border-left: 2px solid #e3e9d2;
}

.sub-list a {
  display: block;
  padding: 7px 10px;
  font-size: 12.5px;
  color: #555;
  border-radius: 8px;
  transition: 0.25s;
}

.sub-list a:hover {
  background: #f0f6e2;
  color: var(--green);
  padding-left: 15px;
}

.cat-empty {
  display: none;
  text-align: center;
  color: #888;
  font-size: 13px;
  padding: 30px 0;
}

/* main menu offcanvas */
.m-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive);
  text-align: left;
  transition: 0.25s;
}

.m-link > iconify-icon:first-child {
  font-size: 20px;
  color: var(--green);
}

.m-link .go {
  margin-left: auto;
  font-size: 15px;
  color: #bbb;
  transition: 0.25s;
}

.m-link:hover,
.m-link.active {
  background: #f0f6e2;
  color: var(--green);
  transform: translateX(4px);
}

.m-link:hover .go {
  color: var(--green);
  transform: translateX(3px);
}

.m-link.deals,
.m-link.deals > iconify-icon:first-child {
  color: #e8553d;
}

.m-link .hot-m {
  background: #ef5b45;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

/* cart / wishlist sidebars (right side) */
#cartSidebar,
#wishSidebar {
  background: #fff;
}

.sx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
}

.sx-head h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sx-head h5 iconify-icon {
  font-size: 18px;
  color: var(--green);
}

.sx-count {
  font-size: 12px;
  font-weight: 500;
  color: #888;
}

.sx-close {
  border: 0;
  background: none;
  font-size: 20px;
  color: #555;
  display: flex;
  transition: 0.3s;
}

.sx-close:hover {
  color: var(--olive);
  transform: rotate(90deg);
}

.sx-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 18px;
}

.sx-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
}

.sx-img {
  width: 50px;
  height: 50px;
  flex: none;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 4px;
  display: grid;
  place-items: center;
  background: #fff;
}

.sx-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sx-info {
  flex: 1;
  min-width: 0;
}

.sx-info h6 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
}

.sx-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 8px;
}

.sx-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 20px;
  overflow: hidden;
}

.sx-qty button {
  border: 0;
  background: none;
  width: 26px;
  height: 24px;
  font-size: 12px;
  display: grid;
  place-items: center;
  color: #444;
  transition: 0.2s;
}

.sx-qty button:hover {
  background: #f0f6e2;
  color: var(--green);
}

.sx-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.sx-del {
  border: 0;
  background: none;
  color: #999;
  font-size: 15px;
  display: flex;
  padding: 2px;
  transition: 0.25s;
}

.sx-del:hover {
  color: #ef5b45;
  transform: scale(1.15);
}

.sx-move {
  border: 1px solid var(--green);
  background: none;
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: 0.25s;
}

.sx-move:hover {
  background: var(--green);
  color: #fff;
}

.sx-empty {
  text-align: center;
  padding: 70px 0;
  color: #999;
}

.sx-empty iconify-icon {
  font-size: 44px;
  color: #ccc;
}

.sx-empty p {
  margin: 8px 0 0;
  font-size: 13px;
}

.sx-foot {
  background: #f1f1ec;
  padding: 16px 18px 14px;
}

.sx-foot-simple {
  background: #fff;
  border-top: 1px solid #eee;
}

.sx-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  padding: 5px 0;
}

.sx-total {
  border-top: 1px solid #ddd;
  margin-top: 10px;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #222;
}

.sx-total span:last-child {
  font-size: 16px;
  color: var(--olive);
}

.sx-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--olive);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border-radius: 12px;
  margin-top: 14px;
  transition: 0.25s;
}

.sx-btn:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

.sx-link {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  text-align: center;
  transition: 0.2s;
}

.sx-link:hover {
  color: var(--green);
}

/* ---------- section headings ---------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}

.sec-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--olive);
  text-transform: capitalize;
}

.view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--olive);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
  gap: 6px;
  text-transform: capitalize;
}

.view-all::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--olive);
  transition: width 0.3s;
}

.view-all:hover {
  color: var(--green);
}

.view-all:hover::after {
  width: 100%;
}

/* scroll-in animation (toggled by IntersectionObserver in JS) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.stg > .swiper-slide {
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.stg.in > .swiper-slide {
  opacity: 1;
  transform: none;
}

/* ---------- top categories ---------- */
.cat-sec {
  background: url(../images/bg2.png) no-repeat left center;
}

.cat-swiper {
  padding: 8px 4px 16px;
  margin: -8px -4px -16px;
}

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

.cat-swiper .cat-pagination {
  position: static;
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.cat-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #cfd1c3;
  opacity: 1;
  transition:
    width 0.3s,
    background 0.3s;
}

.cat-swiper .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 6px;
  background: var(--olive);
}

.cat-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 8px 16px;
  border-radius: 16px;
  background: var(--t, #efede6);
  color: #1e2421cc;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s;
}

.cat-tile .ct-ic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--olive);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s,
    color 0.3s;
}

.cat-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0px 11px 20px rgb(51 55 30 / 4%);
  color: var(--olive);
}

.cat-tile:hover .ct-ic {
  background: var(--olive);
  color: #fff;
  transform: scale(1.03) rotate(-3deg);
}

/* ---------- featured products ---------- */
.feat-sec {
  background: var(--bg);
}

.fp-nav {
  display: flex;
  gap: 8px;
}

.fp-nav button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #cfd1c3;
  background: #fff;
  color: var(--olive);
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: 0.25s;
}

.fp-nav button:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  transform: scale(1.1);
}

.fp-nav button.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.fp-swiper {
  padding: 8px 4px 20px;
  margin: -8px -4px -20px;
}

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

.fp-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6e6df;
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s,
    border-color 0.35s;
}

.fp-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0px 11px 30px rgb(51 55 30 / 4%);
}

.fp-img {
  position: relative;
  height: 190px;
  padding: 26px 18px 14px;
  overflow: hidden;
}

.fp-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  z-index: 0;
}

.fp-img .fp-badge,
.fp-img .fp-off {
  position: absolute;
  z-index: 2; /* always above the image, even while it scales */
  pointer-events: none;
}

.fp-card:hover .fp-img img {
  transform: scale(1.08);
}

.fp-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #e32626;
  padding: 3px 8px;
  border-radius: 6px;
}

.fp-badge.best {
  background: var(--orange);
}

.fp-off {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  background: var(--olive);
  padding: 3px 8px;
  border-radius: 6px;
}

.fp-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 14px 14px;
  border-top: 1px solid #eee;
}

.fp-cat {
  font-size: 12px;
  font-weight: 500;
  /* letter-spacing: .12em; */
  text-transform: uppercase;
  color: #777;
  margin-bottom: 4px;
}

.fp-body .fp-title {
  flex: 1;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #1d2327;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fp-title a {
  color: inherit;
}

.fp-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.fp-price b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.fp-price del {
  display: block;
  font-size: 9.5px;
  color: #888;
  margin-top: 1px;
}

.fp-act {
  display: flex;
  gap: 6px;
  flex: none;
}

.fp-act button {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: 0.25s;
}

.fp-wish {
  border-radius: 50%;
  border: 1px solid #d8d8d0;
  background: #fff;
  color: #444;
}

.fp-wish:hover {
  color: #ef5b45;
  border-color: #ef5b45;
  transform: scale(1.12);
}

.fp-add {
  border: 0;
  border-radius: 8px;
  background: var(--olive);
  color: #fff;
}

.fp-add:hover {
  background: var(--green);
  transform: scale(1.03) rotate(-3deg);
}

.add-to-wish.active {
  color: #ef5b45;
  border-color: #ef5b45;
}

.add-to-wish.active iconify-icon {
  fill: #ef5b45;
}

@media (max-width: 575px) {
  .sec-title {
    font-size: 21px;
  }

  .fp-img {
    height: 160px;
  }

  .cat-tile {
    padding: 16px 6px 14px;
    font-size: 12px;
  }
}

/* banner */
.banner {
  padding: clamp(20px, 4vw, 40px) 0;
  background: var(--bg);
}

.hero-col {
  position: relative;
}

.hero-h1 {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  pointer-events: none;
}

.hero-swiper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 100%;
}

.slide {
  display: flex;
  align-items: center;
  height: 100%;
  max-height: 517px;
  position: relative;
  overflow: hidden;
}

.banner-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  overflow: hidden;
}

.banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.swiper-slide-active .banner-wrap > * {
  animation: rise 0.7s both;
}

.swiper-slide-active .banner-wrap > *:nth-child(2) {
  animation-delay: 0.12s;
}

.swiper-slide-active .banner-wrap > *:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.hero-nav {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-nav button {
  border-radius: 50%;
  border: 0;
  width: 36px;
  height: 36px;
  background: #6a8a1c;
  color: #fff;
  transition: 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav button:hover {
  background: var(--olive);
  transform: scale(1.12);
}

.hero-nav button iconify-icon {
  font-size: 16px;
}

/* =========================================================
   New sections: ad strips, "What's moving in store",
   ========================================================= */

/* image banners */
.adv-card {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(51, 55, 30, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s;
}

.adv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* light sweep on hover */
.adv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.adv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(51, 55, 30, 0.18);
}

.adv-card:hover img {
  transform: scale(1.05);
}

.adv-card:hover::after {
  transform: translateX(120%);
  transition: transform 0.9s ease;
}

/* ---------- what's moving in store ---------- */
.mv-sec {
  background:
    linear-gradient(
      180deg,
      rgb(243 244 240 / 71%) 0%,
      rgb(243 244 240 / 74%) 50%,
      rgba(243, 244, 240, 0.25) 100%
    ),
    url(../images/bg3.png) no-repeat center / cover;
}

.mv-swiper {
  padding: 8px 4px 6px;
  margin: -8px -4px -6px;
}

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

.mv-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e6e6df;
  border-radius: 16px;
  padding: 16px 16px 8px;
  transition:
    box-shadow 0.35s,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mv-card:hover {
  box-shadow: 0px 5px 28px rgb(51 55 30 / 2%);
  transform: translateY(-4px);
}

.mv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid #eee;
}

.mv-head h3 {
  margin: 0;
  font-size: clamp(14px, 1.125vw, 18px);
  font-weight: 700;
  color: var(--olive);
}

.mv-more {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--olive);
  background: #f0f2e6;
  transition: 0.25s;
}

.mv-more:hover {
  background: var(--olive);
  color: #fff;
  transform: translateX(3px);
}

.mv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  margin: 0 -6px;
  border-radius: 12px;
  transition:
    background 0.25s,
    transform 0.25s;
}

.mv-row + .mv-row {
  border-top: 1px solid #f1f1ec;
}

.mv-row:hover {
  background: #f6f7f1;
  transform: translateX(4px);
}

.mv-img {
  position: relative;
  flex: none;
  width: 64px;
  height: 64px;
  padding: 5px;
  border: 1px solid #ecece4;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.mv-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mv-row:hover .mv-img img {
  transform: scale(1.12);
}

.mv-off {
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: 1;
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  background: #e32626;
  padding: 1px 5px;
  border-radius: 4px;
}

.mv-info {
  flex: 1;
  min-width: 0;
}

.mv-info h4 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #262e36;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 255px;
  text-transform: capitalize;
}

.mv-info h4 a:hover {
  color: var(--green);
}

.mv-price b {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.mv-price del {
  margin-left: 6px;
  font-size: 10px;
  color: #999;
}

.mv-add {
  flex: none;
  width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #d8d8d0;
  border-radius: 8px;
  background: #fff;
  color: var(--olive);
  font-size: 14px;
  transition: 0.25s;
}

.mv-add:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  transform: scale(1.03) rotate(-3deg);
}

.mv-pagination {
  position: static;
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.mv-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #cfd1c3;
  opacity: 1;
  transition:
    width 0.3s,
    background 0.3s;
}

.mv-pagination .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 6px;
  background: var(--olive);
}

/* ---------- brands ---------- */
.brand-sec {
  background:
    linear-gradient(180deg, #f8f9fa73 0%, #ffffffb5 50%, #ffffffcf 100%),
    url(../images/bg3.png) no-repeat center / cover;
}

.brand-swiper {
  padding: 6px 4px;
  margin: -6px -4px;
}

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

.brand-logo {
  display: flex;
  width: 100%;
  justify-content: center;
  height: 70px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: all 0.4s;
}

.brand-logo:hover {
  transform: translateY(-4px);
}

.brand-logo:hover img {
  transform: scale(1.06);
}

#brandList > .swiper-slide:nth-child(1) {
  --i: 0;
}

#brandList > .swiper-slide:nth-child(2) {
  --i: 1;
}

#brandList > .swiper-slide:nth-child(3) {
  --i: 2;
}

#brandList > .swiper-slide:nth-child(4) {
  --i: 3;
}

#brandList > .swiper-slide:nth-child(5) {
  --i: 4;
}

#brandList > .swiper-slide:nth-child(6) {
  --i: 5;
}

#brandList > .swiper-slide:nth-child(7) {
  --i: 6;
}

/* ---------- blogs ---------- */
/* .blog-sec {
  background: var(--bg);
} */

.blog-swiper {
  padding: 8px 4px 4px;
  margin: -8px -4px -4px;
}

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

.blog-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  background: var(--olive);
  box-shadow: 0 2px 8px rgba(51, 55, 30, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s;
}

.blog-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10, 14, 4, 0.82) 0%,
    rgba(10, 14, 4, 0.35) 45%,
    transparent 75%
  );
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgb(51 55 30 / 4%);
}

.blog-card:hover img {
  transform: scale(1.07);
}

.blog-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 18px;
}

.blog-info h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-lg .blog-info h3 {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.9;
}

.blog-go {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  font-size: 14px;
  font-style: normal;
  transition: 0.3s;
}

.blog-card:hover .blog-go {
  background: var(--orange);
  transform: translateX(3px) rotate(-45deg);
}

#blogList > .swiper-slide:nth-child(1) {
  --i: 0;
}

#blogList > .swiper-slide:nth-child(2) {
  --i: 1;
}

#blogList > .swiper-slide:nth-child(3) {
  --i: 2;
}

#blogList > .swiper-slide:nth-child(4) {
  --i: 3;
}

#blogList > .swiper-slide:nth-child(5) {
  --i: 4;
}

.blog-pagination {
  position: static;
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.blog-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #cfd1c3;
  opacity: 1;
  transition:
    width 0.3s,
    background 0.3s;
}

.blog-pagination .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 6px;
  background: var(--olive);
}

/* desktop: bento grid (slider is switched off in JS) */
@media (min-width: 992px) {
  .blog-swiper .swiper-wrapper {
    display: grid;
    gap: 16px;
    height: clamp(440px, 40vw, 560px);
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .blog-swiper .swiper-slide {
    width: auto;
  }

  .blog-swiper .swiper-slide:first-child {
    grid-row: 1 / 3;
  }

  .blog-card {
    min-height: 0;
  }

  .blog-pagination {
    display: none;
  }
}

/* tablet / mobile: slider */
@media (max-width: 991.98px) {
  .blog-card {
    height: 300px;
  }
}

@media (max-width: 575px) {
  .blog-card {
    height: 270px;
  }

  .brand-logo {
    height: 56px;
  }
}

/* =========================================================
   Footer
   ========================================================= */

/* stagger delay for .reveal items inside the footer */
.site-footer .reveal {
  transition-delay: calc(var(--d, 0) * 100ms);
}

/* ---------- trust strip ---------- */
.ft-feat {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
  color: #fff;
  background: url(../images/bg5.png) no-repeat center/cover;
}

/* decorative arcs in the corners */
.ft-feat::before,
.ft-feat::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.ft-feat::before {
  width: 520px;
  height: 520px;
  left: -240px;
  top: -300px;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.04);
}

.ft-feat::after {
  width: 420px;
  height: 420px;
  right: -170px;
  bottom: -250px;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.04);
}

.ft-feat .container {
  position: relative;
  z-index: 1;
}

.ft-feat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 4px 22px;
}

.ft-feat .col-lg-3 + .col-lg-3 {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.ft-feat .col-lg-3:first-child .ft-feat-item {
  padding-left: 0;
}

.ft-feat-ic {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s,
    color 0.3s;
}

.ft-feat-item:hover .ft-feat-ic {
  background: #fff;
  color: var(--olive);
  transform: scale(1.03) rotate(-3deg);
}

.ft-feat-item h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.ft-feat-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.ft-social-label {
  display: block;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ft-social-row {
  display: flex;
  gap: 10px;
}

.ft-social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.14);
  transition: 0.3s;
}

.ft-social-row a:hover {
  background: var(--orange);
  transform: scale(1.03) rotate(-3deg);
}

/* ---------- contact + about ---------- */
.ft-main {
  background: #f7f7f4;
  padding: 18px 0 36px;
}

.ft-contact {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) repeat(3, 1fr);
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  margin-top: -2px;
  box-shadow: 0 6px 22px rgba(51, 55, 30, 0.08);
}

.ft-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 16px;
}

.ft-logo img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.ft-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 22px;
  border-left: 1px solid #eee;
  transition: transform 0.3s;
}

.ft-item:hover {
  transform: translateY(-3px);
}

.ft-item > div {
  min-width: 0;
}

.ft-item-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--olive);
  background: #eef2de;
  border: 1px solid #d6dfb8;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s,
    color 0.3s;
}

.ft-item:hover .ft-item-ic {
  background: var(--olive);
  color: #fff;
  transform: scale(1.03) rotate(-3deg);
}

.ft-item small {
  display: block;
  font-size: 12px;
  color: #777;
  text-transform: capitalize;
  margin-bottom: 2px;
}

.ft-item b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--orange);
  overflow-wrap: anywhere;
}

.ft-item b a {
  transition: color 0.25s;
}

.ft-item b a:hover {
  color: var(--olive);
}

.ft-main p {
  max-width: 780px;
  margin: 34px auto 30px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--olive);
}

.ft-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.ft-cats a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--olive);
  background: #e6ecd0;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}

.ft-cats a:hover {
  background: var(--olive);
  color: #fff;
  transform: scale(1.03) rotate(-3deg);
  box-shadow: 0 10px 18px rgba(51, 55, 30, 0.22);
}

/* ---------- copyright bar ---------- */
.ft-bar {
  background: var(--olive);
  color: #fff;
  font-size: 12px;
  padding: 14px 0;
}

.ft-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  flex-wrap: wrap;
}

.ft-bar b {
  color: var(--orange);
  font-weight: 600;
}

.ft-bar a {
  font-weight: 500;
  transition: color 0.25s;
}

.ft-bar a:hover {
  color: #c7e03a;
}

/* =========================================================
   Desktop categories dropdown (>=992px)
   ========================================================= */
.mega-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 68px;
  /* fills the header so hover has no gap */
}

.main-nav .mega-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 68px;
  padding: 0;
}

.main-nav .mega-btn::after {
  bottom: 17px;
}

.main-nav .mega-btn[aria-expanded="true"] {
  color: var(--green);
}

.main-nav .mega-btn[aria-expanded="true"]::after {
  width: 100%;
}

.nav-chev {
  display: inline-block;
  transition: transform 0.3s;
}

.mega-btn[aria-expanded="true"] .nav-chev {
  transform: rotate(180deg);
}

/* main panel */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 270px;
  background: #fff;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 0s linear 0.3s;
  z-index: 5;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mm-list,
.mm-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-list {
  padding: 6px 0;
}

.mm-list li {
  position: relative;
}

/* divider lines (inset like the reference) */
.mm-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: #ececec;
}

/* override the generic .main-nav a styles for links inside the dropdown */
.main-nav .mm-list a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--olive);
  transition:
    color 0.25s,
    padding-left 0.25s;
}

.main-nav .mm-list a::after {
  content: none;
}

.main-nav .mm-list a:hover {
  color: var(--green);
  padding-left: 24px;
}

.mm-list a .mm-chev {
  flex: none;
  margin-left: auto;
  font-size: 16px;
  color: #aaa;
  transition:
    color 0.25s,
    transform 0.25s;
}

.mm-list .has-sub:hover > a .mm-chev,
.mm-list .has-sub:focus-within > a .mm-chev,
.mm-list .has-sub.open > a .mm-chev {
  color: var(--green);
  transform: translateX(2px);
}

/* category icon tile */
.mm-ic {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: #f0f6e2;
  color: var(--olive);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s,
    color 0.3s;
}

.mm-ic iconify-icon {
  color: inherit;
}

.mm-name {
  flex: 1;
  min-width: 0;
}

.main-nav .mm-list > li > a:hover .mm-ic,
.mm-list .has-sub:hover > a .mm-ic,
.mm-list .has-sub:focus-within > a .mm-ic,
.mm-list .has-sub.open > a .mm-ic {
  background: var(--olive);
  color: #fff;
  transform: scale(1.03) rotate(-3deg);
}

.mm-list .has-sub:hover > a,
.mm-list .has-sub:focus-within > a,
.mm-list .has-sub.open > a {
  color: var(--green);
}

/* flyout panel */
.mm-sub {
  position: absolute;
  top: -6px;
  left: 100%;
  width: 230px;
  padding: 6px 0;
  background: #fff;
  border-radius: 0 6px 6px 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 0s linear 0.3s;
}

.has-sub:hover > .mm-sub,
.has-sub:focus-within > .mm-sub,
.has-sub.open > .mm-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.main-nav .mm-sub a {
  justify-content: flex-start;
  font-size: 13px;
  font-weight: 400;
  color: #555;
}

.main-nav .mm-sub a:hover {
  color: var(--green);
  padding-left: 24px;
}

/* below 992px the offcanvas is used instead */
@media (max-width: 991.98px) {
  .mega-menu {
    display: none !important;
  }
}

/* =========================================================
   Footer links
   ========================================================= */
.ft-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e4e7d6;
}

.ft-links a {
  position: relative;
  padding: 2px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--olive);
  transition: color 0.25s;
}

.ft-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s;
}

.ft-links a:hover {
  color: var(--green);
}

.ft-links a:hover::after {
  width: 100%;
}

@media (max-width: 575.98px) {
  .ft-links {
    gap: 8px 20px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .ft-links a {
    font-size: 12px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .ft-feat-item {
    padding: 4px 14px;
  }

  .ft-item {
    padding: 8px 14px;
  }
}

@media (max-width: 991.98px) {
  .ft-feat-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .ft-feat-item:nth-child(even) {
    padding-left: 22px;
  }

  .ft-contact {
    grid-template-columns: 1fr 1fr;
    border-radius: 28px;
    padding: 14px 8px;
  }

  .ft-logo {
    grid-column: 1 / -1;
    height: 56px;
    padding-bottom: 10px;
  }

  .ft-item {
    border-left: 0;
    border-top: 1px solid #eee;
    padding: 14px 16px;
  }

  .ft-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .ft-feat {
    padding: 24px 0;
  }

  .ft-feat-item,
  .ft-feat-item:nth-child(even) {
    border-left: 0;
    padding: 0;
  }

  .ft-feat-item + .ft-feat-item {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 18px;
  }

  .ft-contact {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .ft-item:last-child {
    grid-column: auto;
  }

  .ft-main p {
    font-size: 12px;
    margin: 26px auto 24px;
  }

  .ft-cats {
    gap: 10px;
  }

  .ft-cats a {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .ft-bar .container {
    justify-content: center;
    text-align: center;
  }
}

/* hide dots when all three cards fit (desktop) */
@media (min-width: 992px) {
  .mv-pagination {
    display: none;
  }
}

/* ---------- page header ---------- */
.pl-hero {
  background: var(--bg);
  padding: clamp(18px, 3vw, 30px) 0 4px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--olive);
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crumbs li + li::before {
  content: "\203A";
  font-size: 20px;
  line-height: 1;
  color: #777;
}

.crumbs a {
  transition: color 0.25s;
}

.crumbs a:hover {
  color: var(--green);
}

.crumbs [aria-current] {
  color: var(--orange);
}

.pl-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
  color: var(--olive);
}

.pl-hero p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.7;
  color: #555;
}

/* ---------- listing section ---------- */
.pl-sec {
  background: var(--bg);
  padding: clamp(22px, 4vw, 48px) 0 clamp(36px, 6vw, 70px);
}

/* ---------- filters ---------- */
.flt {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px 26px;
}

.flt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}

.flt-top h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1d2327;
}

.flt-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  transition: color 0.25s;
}

.flt-clear:hover {
  color: var(--orange);
}

.flt-block {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.flt-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.flt-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  text-align: left;
}

.flt-label iconify-icon {
  font-size: 16px;
  transition: transform 0.3s;
}

button.flt-label[aria-expanded="false"] iconify-icon {
  transform: rotate(180deg);
}

.flt-label.mb-0 {
  margin-bottom: 0;
}

button.flt-label[aria-expanded="false"] {
  margin-bottom: 0;
}

/* search */
.flt-search {
  position: relative;
}

.flt-search input {
  width: 100%;
  padding: 5px 38px 5px 10px;
  border: 1px solid #e3e3dc;
  border-radius: 12px;
  background: #f7f7f4;
  font-size: 12px;
  color: var(--text);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.flt-search input::placeholder {
  color: #9a9a92;
}

.flt-search input:focus {
  outline: 0;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.15);
}

.flt-search iconify-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  pointer-events: none;
}

/* category accordion (Bootstrap) */
.flt-acc {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-btn-padding-x: 12px;
  --bs-accordion-btn-padding-y: 9px;
  --bs-accordion-btn-color: var(--olive);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-active-color: var(--green);
  --bs-accordion-active-bg: #eef2de;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.15);
  --bs-accordion-btn-icon-width: 0.8rem;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0;
}

.flt-acc .accordion-item {
  margin-bottom: 2px;
  border: 0;
  background: transparent;
}

.flt-acc .accordion-button,
.flt-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--olive);
  text-transform: capitalize;
  transition:
    background 0.25s,
    color 0.25s;
}

.flt-acc .accordion-button:hover,
.flt-link:hover {
  background: #f0f2e6;
  color: var(--green);
}

.flt-acc .accordion-button:not(.collapsed) {
  background: #eef2de;
  color: var(--green);
  box-shadow: none;
}

.flt-acc .accordion-button:not(.collapsed):focus-visible,
.flt-acc .accordion-button:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.15);
}

.flt-acc .accordion-button::after {
  margin-left: auto;
  background-size: 0.8rem;
}

.flt-sub {
  list-style: none;
  margin: 6px 0 8px 18px;
  padding: 0 0 0 14px;
  border-left: 1px solid #dfe3d0;
}

.flt-sub a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
  transition:
    color 0.25s,
    padding-left 0.25s;
}

.flt-sub a:hover,
.flt-sub a.active {
  color: var(--green);
}

.flt-sub a:hover {
  padding-left: 12px;
}

/* brand filter */
.flt-brands {
  list-style: none;
  margin: 0;
  padding: 0 4px 0 0;
  max-height: 232px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cfd1c3 transparent;
}

.flt-chk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--olive);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.flt-chk:hover {
  background: #f0f2e6;
  color: var(--green);
  transform: translateX(3px);
}

.flt-chk input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.flt-chk .box {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #b9bfa3;
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  transition:
    background 0.25s,
    border-color 0.25s;
}

.flt-chk .box iconify-icon {
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.flt-chk input:checked + .box {
  background: var(--green);
  border-color: var(--green);
}

.flt-chk input:checked + .box iconify-icon {
  transform: scale(1);
}

.flt-chk input:checked ~ * {
  font-weight: 600;
}

.flt-chk input:focus-visible + .box {
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.25);
}

/* price */
.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
}

.price-row input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1px solid #e3e3dc;
  border-radius: 12px;
  background: #f7f7f4;
  font-size: 12px;
  color: var(--text);
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.price-row input:focus {
  outline: 0;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.15);
}

.rng {
  position: relative;
  height: 22px;
  margin: 22px 0 20px;
}

.rng-track,
.rng-fill {
  position: absolute;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
}

.rng-track {
  left: 10px;
  right: 10px;
  background: #dfe3d0;
}

.rng-fill {
  left: 10px;
  right: 10px;
  background: var(--olive-mid);
}

.rng input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  pointer-events: none;
}

.rng input[type="range"]::-webkit-slider-runnable-track {
  height: 22px;
  background: transparent;
  border: 0;
}

.rng input[type="range"]::-moz-range-track {
  height: 22px;
  background: transparent;
  border: 0;
}

.rng input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 3px solid var(--olive-mid);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: grab;
  pointer-events: auto;
}

.rng input[type="range"]::-moz-range-thumb {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--olive-mid);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: grab;
  pointer-events: auto;
}

.rng input[type="range"]:focus {
  outline: 0;
}

.rng input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.rng input[type="range"]:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 0;
  border-radius: 12px;
  background: var(--olive);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  transition:
    background 0.25s,
    transform 0.25s;
}

.btn-apply:hover {
  background: var(--green);
  transform: translateY(-1px);
}

/* ---------- toolbar ---------- */
.pl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(16px, 2.4vw, 28px);
  padding: 10px 10px 10px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.pl-bar p {
  flex: 1;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  gap: 10px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  /* letter-spacing: .14em; */
  text-transform: uppercase;
  color: #666;
}

.pl-bar p iconify-icon {
  font-size: 15px;
  flex: none;
}

.pl-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #dcdcd4;
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
  transition:
    border-color 0.25s,
    color 0.25s;
}

.pl-filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
}

.pl-sort {
  -webkit-appearance: none;
  appearance: none;
  min-width: 160px;
  padding: 5px 38px 5px 10px;
  border: 1px solid #dcdcd4;
  border-radius: 12px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232b3333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 14px center / 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive);
  cursor: pointer;
}

.pl-sort:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.15);
}

/* ---------- product grid ---------- */

.pl-grid .fp-card {
  min-width: 0;
}

.pl-grid .fp-img {
  display: block;
}

.pl-grid .fp-cat {
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

.pl-grid .fp-card.pl-new {
  animation: plIn 0.5s backwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}

@keyframes plIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.pl-empty {
  padding: 60px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #666;
}

.pl-empty iconify-icon {
  font-size: 44px;
  color: #c9c9c0;
}

.pl-empty p {
  margin: 8px 0 14px;
  font-size: 14px;
}

.pl-more {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(22px, 3vw, 34px);
}

.btn-more {
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1.5px solid var(--olive);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive);
  text-transform: capitalize;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.btn-more:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  transform: translateY(-2px);
}

/* filters become an off-canvas drawer below 992px */
@media (max-width: 991.98px) {
  .filters {
    --bs-offcanvas-width: 340px;
    max-width: 90vw;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  }

  .filters .offcanvas-header {
    padding: 16px 18px;
    background: var(--olive);
    color: #fff;
  }

  .filters .offcanvas-title {
    font-size: 17px;
    font-weight: 600;
  }

  .filters .offcanvas-body {
    padding: 14px;
    background: #f6f7f1;
  }

  .flt {
    border-radius: 14px;
  }

  .flt-top h2 {
    display: none;
  }

  .flt-top {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .filters .offcanvas-body {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .pl-bar {
    padding: 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .pl-bar p {
    flex: 1 0 100%;
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .pl-filter-btn,
  .pl-sort {
    flex: 1;
    min-width: 0;
  }

  .pl-grid .fp-img {
    height: 150px;
    padding: 24px 12px 10px;
  }

  .pl-grid .fp-body {
    padding: 10px 12px 12px;
  }

  .pl-grid .fp-body .fp-title {
    font-size: 13px;
  }

  .pl-grid .fp-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pl-grid .fp-price b {
    font-size: 14px;
  }

  .pl-more {
    justify-content: center;
  }

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

/* hidden cards (load-more / filters) */
.pl-grid .fp-card[hidden] {
  display: none;
}

/* =========================================================
   Product detail page  (load AFTER custom.css)
   ========================================================= */
.pd-sec {
  background: var(--bg);
  padding: clamp(14px, 2.5vw, 26px) 0 clamp(40px, 7vw, 90px);
}

.pd-sec .crumbs {
  margin-bottom: clamp(16px, 2.5vw, 28px);
  letter-spacing: 0.06em;
}

.pd-sec .crumbs [aria-current] {
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- gallery ---------- */
.pd-gallery {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: none;
  width: 86px;
}

.pd-thumb {
  position: relative;
  width: 86px;
  height: 86px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.pd-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pd-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(51, 55, 30, 0.1);
}

.pd-thumb.active {
  border-color: var(--green);
}

.pd-thumb.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--green);
}

.pd-main {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 1 / 1.03;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(51, 55, 30, 0.04);
  display: grid;
  place-items: center;
  padding: 63px;
  cursor: zoom-in;
}

.pd-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.35s;
  will-change: transform;
}

.pd-main img.swap {
  opacity: 0;
  transform: scale(0.96);
}

.pd-main.zoom img {
  transform: scale(1.7);
}

.pd-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 12px;
  background: var(--olive);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pd-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  border: 1px solid #e3e3dc;
  background: #fff;
  color: var(--olive);
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: 0.25s;
}

.pd-arrow.prev {
  left: 20px;
}

.pd-arrow.next {
  right: 20px;
}

.pd-arrow:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  transform: scale(1.08);
}

/* ---------- info ---------- */
.pd-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 26px;
}

.pd-price b {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--orange);
}

.pd-price del {
  font-size: 16px;
  font-weight: 500;
  color: #9a9a92;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.pd-qty {
  display: inline-flex;
  align-items: center;
  /* height: 52px; */
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(51, 55, 30, 0.05);
  overflow: hidden;
}

.pd-qty button {
  /* width: 52px; */
  height: 100%;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--olive);
  display: grid;
  place-items: center;
  transition: 0.2s;
}

.pd-qty button:hover {
  background: #f0f6e2;
  color: var(--green);
}

.pd-qty input {
  /* width: 46px; */
  border: 0;
  background: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.pd-qty input:focus {
  outline: 0;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* height: 52px; */
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.pd-btn iconify-icon {
  font-size: 14px;
}

.pd-btn.primary {
  border: 0;
  background: var(--olive);
  color: #fff;
  box-shadow: 0 8px 18px rgba(51, 55, 30, 0.22);
}

.pd-btn.primary:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(99, 119, 4, 0.28);
}

.pd-btn.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--olive);
  box-shadow: 0 2px 8px rgba(51, 55, 30, 0.05);
}

.pd-btn.ghost:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  transform: translateY(-2px);
}

.pd-btn.ghost:hover iconify-icon {
  transform: translateX(3px);
}

.pd-btn iconify-icon {
  transition: transform 0.25s;
}

.pd-heart {
  /* width: 52px; */
  /* height: 52px; */
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: #444;
  font-size: 16px;
  padding: 5px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(51, 55, 30, 0.05);
  transition: 0.25s;
}

.pd-heart:hover,
.pd-heart.active {
  color: #ef5b45;
  border-color: #ef5b45;
  transform: scale(1.1);
}

.pd-perks {
  list-style: none;
  margin: 0 0 34px;
  padding: 26px 28px;
  background: #fafaf6;
  border: 1px solid #ffffffe5;
  border-radius: 12px;
  backdrop-filter: blur(24px);
  box-shadow: 0px 8px 32px 0px #0000000a;
  display: grid;
  gap: 16px;
}

.pd-perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  color: #1d2327;
  transition: transform 0.25s;
}

.pd-perks li:hover {
  transform: translateX(4px);
}

.pd-perks iconify-icon {
  flex: none;
  font-size: 16px;
  color: var(--olive);
}

/* ---------- tabs ---------- */
.pd-tabs {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-tabs::-webkit-scrollbar {
  display: none;
}

.pd-tabs button {
  position: relative;
  padding: 18px clamp(20px, 3vw, 38px);
  border: 0;
  border-radius: 18px 18px 0 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    color 0.25s,
    background 0.25s;
}

.pd-tabs button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  transition: width 0.35s;
}

.pd-tabs button:hover {
  border: 1px solid #e5e7eb;
  color: var(--green);
}

.pd-tabs button.active {
  border: 1px solid #e5e7eb;
  background: #fafaf5;
  color: var(--olive);
  font-weight: 600;
  overflow: hidden;
}

.pd-tabs button.active::before {
  width: 100%;
}

.pd-panel {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 2px 10px rgba(51, 55, 30, 0.05);
  padding: 26px 22px;
  /* min-height: 320px; */
}

.pd-panel .tab-pane.active {
  animation: pdFade 0.45s both;
}

@keyframes pdFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.pd-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.pd-specs li {
  display: flex;
  gap: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
  transition:
    color 0.25s,
    transform 0.25s;
}

.pd-specs li:hover {
  color: var(--olive);
  transform: translateX(4px);
}

.pd-specs iconify-icon {
  flex: none;
  margin-top: 2px;
  font-size: 16px;
  color: #9a9a92;
  transition: color 0.25s;
}

.pd-specs li:hover iconify-icon {
  color: var(--green);
}

#tabDesc p {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
  color: #555;
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .pd-main {
    padding: 44px;
  }
}

@media (max-width: 767.98px) {
  .pd-gallery {
    flex-direction: column-reverse;
    gap: 22px;
  }

  .pd-thumbs {
    flex-direction: row;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 4px 14px;
    scrollbar-width: none;
  }

  .pd-thumb {
    width: 72px;
    height: 72px;
    flex: none;
  }

  .pd-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 36px 24px;
    border-radius: 22px;
  }

  .pd-arrow {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    font-size: 15px;
  }

  .pd-arrow.prev {
    left: 10px;
  }

  .pd-arrow.next {
    right: 10px;
  }

  .pd-tag {
    top: 14px;
    left: 14px;
    padding: 7px 14px;
    font-size: 10px;
  }
}

@media (max-width: 575.98px) {
  .pd-actions {
    gap: 5px;
  }

  /* .pd-qty {
    flex: 1 0 100%;
    justify-content: space-between;
  }

  .pd-qty input {
    flex: 1;
  } */

  .pd-perks {
    padding: 20px;
    border-radius: 20px;
    gap: 14px;
  }

  .pd-perks li {
    font-size: 13px;
    align-items: flex-start;
  }

  .pd-panel {
    padding: 20px 16px;
    min-height: 0;
  }
}

@media (hover: none) {
  .pd-main {
    cursor: default;
  }
}

/* =========================================================
   Contact page  (load AFTER custom.css)
   ========================================================= */

.ct-sec {
  background: var(--bg);
}

/* ---------- info card ---------- */
.ct-info {
  height: 100%;
  padding: clamp(24px, 3vw, 44px);
  background:
    linear-gradient(0deg, #fafaf6, #fafaf6),
    radial-gradient(
      77.06% 46.71% at 85% 0%,
      rgba(221, 229, 184, 0.16) 0%,
      rgba(221, 229, 184, 0) 62%
    );
  border-radius: 12px;
  border: 1px solid #e3e5da;
  display: flex;
  flex-direction: column;
}

.ct-h {
  margin: 0 0 clamp(18px, 1.7vw, 22px);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 400;
  color: var(--olive);
  text-transform: capitalize;
}

.ct-form .ct-h {
  margin-bottom: 5px;
}

.ct-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 26px;
}

.ct-row {
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s;
}

.ct-row:hover {
  transform: translateX(5px);
}

.ct-ic {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background: var(--olive-mid);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s;
}

.ct-row:hover .ct-ic {
  background: var(--olive);
  transform: scale(1.06) rotate(-4deg);
}

.ct-row small {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: #777;
}

.ct-row b,
.ct-row a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #111;
  overflow-wrap: anywhere;
}

.ct-row a {
  transition: color 0.25s;
}

.ct-row a:hover {
  color: var(--green);
}

.ct-row .hrs {
  font-size: 15px;
  font-weight: 600;
}

.ct-social {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
}

.ct-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #cfd1c3;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--olive);
  transition: 0.3s;
}

.ct-social a:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  transform: translateY(-4px) rotate(-6deg);
  box-shadow: 0 8px 16px rgba(51, 55, 30, 0.2);
}

.ct-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* height: 52px; */
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border-radius: 12px;
  border: 1px solid var(--olive);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.ct-btn iconify-icon {
  font-size: 14px;
  transition: transform 0.3s;
}

.ct-btn.solid {
  background: var(--olive);
  color: #fff;
  box-shadow: 0 8px 18px rgba(51, 55, 30, 0.2);
}

.ct-btn.solid:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(99, 119, 4, 0.28);
}

.ct-btn.line {
  background: #fff;
  color: var(--olive);
}

.ct-btn.line:hover {
  background: var(--olive);
  color: #fff;
  transform: translateY(-2px);
}

.ct-btn:hover iconify-icon {
  transform: translateX(3px) rotate(-8deg);
}

/* ---------- form card ---------- */
.ct-form {
  height: 100%;
  padding: clamp(24px, 3vw, 44px);
  background: #fff;
  border: 1px solid #e3e5da;
  border-radius: 12px;
}

.ct-sub {
  margin: -14px 0 clamp(24px, 3.5vw, 44px);
  font-size: 14px;
  color: #666;
}

.ct-form p {
  font-size: 14px;
  color: #666;
}

.ct-field {
  /* margin-bottom: 20px; */
}

.ct-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.ct-field label i {
  font-style: normal;
  color: var(--orange);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1px solid #e3e3dc;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #111;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.ct-field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232b3333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 18px center / 12px;
}

.ct-field textarea {
  min-height: 120px;
  resize: vertical;
}

.ct-field ::placeholder {
  color: #a3a39b;
}

.ct-field input:hover,
.ct-field select:hover,
.ct-field textarea:hover {
  border-color: #c9ccb8;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.15);
}

.ct-field.err input,
.ct-field.err textarea {
  border-color: #e32626;
  box-shadow: 0 0 0 0.2rem rgba(227, 38, 38, 0.1);
}

.ct-msg-err {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #e32626;
}

.ct-field.err .ct-msg-err {
  display: block;
}

.ct-count {
  display: block;
  margin-top: 8px;
  text-align: right;
  font-size: 12px;
  color: #999;
}

.ct-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.ct-foot p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.ct-send {
  /* height: 56px; */
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
}

.ct-send[disabled] {
  opacity: 0.7;
  pointer-events: none;
}

.ct-send.done {
  background: var(--green);
}

/* ---------- map ---------- */
.ct-map-sec {
  background: #fff;
  padding: clamp(18px, 3vw, 28px) 0 clamp(26px, 4vw, 44px);
}

.ct-map {
  position: relative;
  height: clamp(300px, 36vw, 420px);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: #eef0e6;
}

.ct-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ct-pin {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 48px);
  padding: 14px 22px 14px 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.ct-pin:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.ct-pin .ct-ic {
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.ct-pin b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #111;
}

.ct-pin a {
  font-size: 13px;
  text-decoration: none;
  color: var(--olive);
}

.ct-pin a:hover {
  color: var(--green);
}

/* ---------- responsive ---------- */
@media (max-width: 575.98px) {
  .ct-info,
  .ct-form {
    border-radius: 22px;
  }

  .ct-row {
    gap: 14px;
  }

  .ct-ic {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .ct-btn {
    flex: 1;
  }

  .ct-send {
    width: 100%;
  }

  .ct-foot {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: center;
  }

  .ct-map {
    border-radius: 20px;
  }

  .ct-pin {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 10px 14px 10px 10px;
  }
}

/* =========================================================
   Blog listing page  (load AFTER custom.css)
   ========================================================= */

/* ---------- grid ---------- */
.bl-sec {
  background: var(--bg);
}

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

/* ---------- card ---------- */
.bl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s,
    border-color 0.4s;
}

.bl-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 18px 36px rgba(51, 55, 30, 0.12);
}

.bl-img {
  position: relative;
  display: block;
  aspect-ratio: 2.2 / 1;
  overflow: hidden;
  background: #eef0e6;
}

.bl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bl-card:hover .bl-img img {
  transform: scale(1.07);
}

/* soft light sweep on hover */
.bl-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.bl-card:hover .bl-img::after {
  transform: translateX(120%);
  transition: transform 0.9s ease;
}

.bl-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px) clamp(20px, 2vw, 28px);
}

.bl-cat {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
  /* letter-spacing: .2em; */
  text-transform: uppercase;
  color: var(--orange);
}

.bl-card h2 {
  margin: 0 0 10px;
  /* max-width: 92%; */
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--olive);
  transition: color 0.3s;
}

.bl-card h2 a {
  color: inherit;
}

/* whole card is clickable via the title link */
.bl-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bl-card:hover h2 {
  color: var(--green);
}

.bl-card p {
  flex: 1;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-card .blog-go {
  border: 1px solid var(--olive);
}

.bl-card:hover .blog-go {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  transform: translateX(3px) rotate(-45deg);
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .bl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .bl-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bl-card {
    border-radius: 20px;
  }

  .bl-card h2 {
    max-width: 100%;
  }
}

/* =========================================================
   Blog detail page  (load AFTER custom.css)
   ========================================================= */

/* reading progress bar */
.bd-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 100%;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.bd-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform: scaleX(var(--rp, 0));
  transform-origin: left;
}

.bd-wrap {
  background: var(--bg);
  padding: clamp(14px, 2.5vw, 26px) 0 clamp(40px, 6vw, 80px);
}

.bd-wrap .crumbs {
  margin-bottom: clamp(22px, 3.5vw, 40px);
  font-size: 13px;
}

.bd-wrap .crumbs li:nth-child(2) a {
  text-transform: uppercase;
}

/* ---------- head ---------- */
.bd-head {
  max-width: 860px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.bd-cat {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.bd-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--olive);
}

.bd-lead {
  margin: 0;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.85;
  color: #666;
}

/* ---------- cover ---------- */
.bd-cover {
  margin: 0 0 clamp(22px, 3vw, 36px);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3.18 / 1;
  background: #e6e9da;
}

.bd-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bd-cover:hover img {
  transform: scale(1.04);
}

/* ---------- layout ---------- */
.bd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.bd-article {
  padding: 0 5px;
  max-width: 100%;
}

.bd-article p {
  margin: 0 0 clamp(26px, 3vw, 38px);
  font-size: 12px;
  line-height: 1.85;
  color: #555;
}

/* ---------- sections ---------- */
.bd-sec {
  margin-bottom: clamp(26px, 3vw, 40px);
}

.bd-h {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  /* line-height: 1.3; */
  color: var(--olive);
}

.bd-num {
  flex: none;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eef2de;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--olive);
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bd-sec:hover .bd-num {
  background: var(--olive);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

.bd-sec p {
  margin: 0 0 18px;
  font-size: 12px;
  /* line-height: 1.95; */
  color: #555;
}

.bd-tip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #eef1e3;
  font-size: 12px;
  line-height: 1.6;
  color: var(--olive);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}

.bd-tip iconify-icon {
  flex: none;
  margin-top: 2px;
  font-size: 13px;
  color: var(--olive);
}

.bd-tip:hover {
  transform: translateX(5px);
  background: #e8edd8;
  box-shadow: 0 6px 16px rgba(51, 55, 30, 0.08);
}

/* ---------- article footer ---------- */
.bd-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(26px, 3vw, 40px);
  padding-top: 22px;
  border-top: 1px solid #e4e7d6;
}

.bd-share {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #888;
}

.bd-share a,
.bd-share button {
  position: relative;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: none;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--olive);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.3s;
}

.bd-share a:hover,
.bd-share button:hover {
  background: var(--olive);
  color: #fff;
  transform: translateY(-3px) rotate(-6deg);
}

/* ---------- sidebar ---------- */
.bd-side {
  position: sticky;
  top: 90px;
}

.bd-card {
  padding: 26px 24px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.bd-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.bd-card-h h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--olive);
}

.bd-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 6px;
  margin: 0 -6px;
  border-radius: 14px;
  transition:
    background 0.25s,
    transform 0.3s;
}

.bd-mini:hover {
  background: #f6f7f1;
  transform: translateX(4px);
}

.bd-mini-img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #e6e9da;
}

.bd-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bd-mini:hover .bd-mini-img img {
  transform: scale(1.12);
}

.bd-mini small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--orange);
}

.bd-mini h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  /* line-height: 1.35; */
  color: var(--olive);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: capitalize;
  transition: color 0.25s;
}

.bd-mini:hover h3 {
  color: var(--green);
}

.bd-mini span {
  font-size: 12px;
  color: #888;
}

/* toast */
.bd-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1060;
  padding: 11px 20px;
  border-radius: 30px;
  background: var(--olive);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: 0.3s;
}

.bd-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .bd-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .bd-side {
    position: static;
  }

  .bd-card {
    padding: 22px 20px 10px;
  }

  .bd-cover {
    aspect-ratio: 2.4 / 1;
  }
}

@media (max-width: 575.98px) {
  .bd-cover {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }

  .bd-article {
    padding: 0;
  }

  .bd-h {
    gap: 12px;
  }

  .bd-tip {
    padding: 12px 14px;
    font-size: 13px;
  }

  .bd-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .bd-toast {
    bottom: 90px;
  }
}

/* =========================================================
   Checkout page  (load AFTER custom.css)
   ========================================================= */
.co-sec {
  background: var(--bg);
}

/* ---------- form card ---------- */
.co-card {
  height: 100%;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(51, 55, 30, 0.04);
}

.co-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olive);
}

.co-h::before {
  content: "";
  width: 3px;
  height: 18px;
  border-radius: 3px;
  background: var(--olive);
}

.co-h.mt {
  margin-top: 34px;
}

.co-field {
  margin-bottom: 20px;
}

.co-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1d2327;
}

.co-field label i {
  font-style: normal;
  color: #e32626;
}

.co-field input,
.co-field select {
  width: 100%;
  /* height: 54px; */
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1px solid #e3e3dc;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #111;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.co-field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 48px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2333371E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 22px center / 12px;
}

.co-field ::placeholder {
  color: #a3a39b;
}

.co-field input:hover,
.co-field select:hover {
  border-color: #c9ccb8;
}

.co-field input:focus,
.co-field select:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.15);
}

.co-field.err input {
  border-color: #e32626;
  box-shadow: 0 0 0 0.2rem rgba(227, 38, 38, 0.1);
}

.co-err {
  display: none;
  margin: 6px 0 0 8px;
  font-size: 12px;
  color: #e32626;
}

.co-field.err .co-err {
  display: block;
}

.co-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* height: 56px; */
  margin-top: 14px;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 0;
  border-radius: 12px;
  background: var(--olive);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  box-shadow: 0 10px 20px rgba(51, 55, 30, 0.22);
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.co-submit iconify-icon {
  font-size: 18px;
  transition: transform 0.3s;
}

.co-submit:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(99, 119, 4, 0.28);
}

.co-submit:hover iconify-icon {
  transform: translateX(4px);
}

.co-submit[disabled] {
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- order summary ---------- */
.co-sum {
  position: sticky;
  top: 90px;
  padding: 22px;
}

.co-sum h2 {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 600;
  color: var(--olive);
}

.co-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #dfe1d4;
  transition: transform 0.3s;
}

.co-item:hover {
  transform: translateX(4px);
}

.co-item:last-child {
  border-bottom: 0;
}

.co-img {
  flex: none;
  width: 58px;
  height: 58px;
  padding: 6px;
  border: 1px solid #e6e6df;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.co-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.co-item:hover .co-img img {
  transform: scale(1.12);
}

.co-info {
  flex: 1;
  min-width: 0;
}

.co-info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
}

.co-info small {
  font-size: 12px;
  color: #666;
}

.co-line {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}

.co-rows {
  /* margin-top: 0; */
  padding-top: 10px;
  /* border-top: 1px solid #dfe1d4; */
}

.co-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  color: #666;
}

.co-row b {
  font-weight: 500;
  color: #111;
}

.co-total {
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #dfe1d4;
  font-size: 15px;
  font-weight: 600;
  color: var(--olive);
}

.co-total b {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--olive);
}

.co-perks {
  list-style: none;
  margin: 10px 0 0;
  padding: 20px 22px;
  background: #f1f2e6;
  border-radius: 12px;
  display: grid;
  gap: 16px;
}

.co-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #555;
  transition:
    transform 0.25s,
    color 0.25s;
}

.co-perks li:hover {
  transform: translateX(4px);
  color: var(--olive);
}

.co-perks iconify-icon {
  flex: none;
  font-size: 18px;
  color: var(--olive);
}

.co-empty {
  padding: 30px 0;
  text-align: center;
  color: #777;
  font-size: 14px;
}

.co-empty a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- success ---------- */
.co-done {
  display: none;
  min-height: 420px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.co-done.show {
  display: flex;
  animation: coPop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.co-done .tick {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 38px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 0 0 10px rgba(99, 119, 4, 0.12);
}

.co-done h2 {
  margin: 14px 0 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--olive);
}

.co-done p {
  max-width: 420px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.co-done .co-submit {
  margin-top: 16px;
}

/* extra checkout form controls */
.co-field textarea,
.co-field input[type="date"],
.co-field input[type="number"] {
  width: 100%;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1px solid #e3e3dc;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #111;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.co-field textarea {
  min-height: 110px;
  resize: vertical;
}

.co-field textarea:hover,
.co-field input[type="date"]:hover {
  border-color: #c9ccb8;
}

.co-field textarea:focus,
.co-field input[type="date"]:focus,
.co-field input[type="number"]:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.15);
}

/* invalid state after the user has typed (pure CSS) */
.co-field input:not(:placeholder-shown):invalid,
.co-field select:invalid:not(:focus):not([value=""]) {
  border-color: #e32626;
}

/* radio cards */
.co-lab {
  margin: 4px 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1d2327;
}

.co-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.co-opt {
  position: relative;
  cursor: pointer;
}

.co-opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.co-opt span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid #e3e3dc;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  color: #444;
  transition:
    border-color 0.25s,
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.co-opt span iconify-icon {
  font-size: 18px;
  color: var(--olive);
}

.co-opt:hover span {
  border-color: #c9ccb8;
  transform: translateY(-1px);
}

.co-opt input:checked + span {
  border-color: var(--olive);
  background: #eef2de;
  color: var(--olive);
  font-weight: 500;
}

.co-opt input:focus-visible + span {
  box-shadow: 0 0 0 0.2rem rgba(99, 119, 4, 0.25);
}

/* checkboxes */
.co-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  cursor: pointer;
}

.co-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--olive);
  cursor: pointer;
}

.co-check a {
  color: var(--green);
  font-weight: 500;
  text-decoration: underline;
}

.co-check i {
  font-style: normal;
  color: #e32626;
}

/* payment step (native <details>, no JS) */
.co-pay {
  margin-top: 14px;
}

.co-pay > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.co-pay > summary::-webkit-details-marker {
  display: none;
}

/* hide the "Proceed to pay" button once the step is open */
.co-pay[open] > summary {
  display: none;
}

.co-pay-body {
  padding-top: 8px;
  animation: coReveal 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.co-pay-body .co-h {
  margin-top: 6px;
}

@keyframes coReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 575.98px) {
  .co-pay > summary {
    width: 100%;
    justify-content: center;
  }
}

@keyframes coPop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .co-sum {
    position: static;
    padding: 0;
  }
}

@media (max-width: 575.98px) {
  .co-card {
    border-radius: 22px;
  }

  .co-field input,
  .co-field select {
    height: 50px;
    padding: 0 18px;
  }

  .co-submit {
    width: 100%;
  }

  .co-item {
    gap: 12px;
  }

  .co-img {
    width: 50px;
    height: 50px;
  }

  .co-line {
    font-size: 13px;
  }
}

/* =========================================================
   Order confirmed page  (load AFTER custom.css, or paste into it)
   Pure CSS animations, no JS needed.
   ========================================================= */
.oc-sec {
  background: var(--bg);
  padding: clamp(28px, 5vw, 64px) 0 clamp(50px, 9vw, 120px);
}

.oc-card {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 48px) clamp(18px, 5vw, 48px) clamp(30px, 5vw, 52px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(51, 55, 30, 0.05);
  animation: ocCard 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes ocCard {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.97);
  }
}

/* ---------- head ---------- */
.oc-head2 {
  text-align: center;
}

.oc-tick {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf7ee;
  color: #15803d;
  font-size: 40px;
  animation: ocPop 0.7s 0.2s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

.oc-tick::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(21, 128, 61, 0.35);
  animation: ocRing 2.2s 1s ease-out infinite;
}

.oc-tick iconify-icon {
  animation: ocCheck 0.5s 0.55s ease-out both;
}

@keyframes ocPop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}

@keyframes ocCheck {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-25deg);
  }
}

@keyframes ocRing {
  from {
    transform: scale(1);
    opacity: 0.9;
  }

  to {
    transform: scale(1.55);
    opacity: 0;
  }
}

.oc-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: #111;
  animation: ocUp 0.6s 0.35s both;
}

.oc-sub {
  margin: 0 auto;
  max-width: 520px;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.6;
  color: #666;
  animation: ocUp 0.6s 0.45s both;
}

@keyframes ocUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- summary box ---------- */
.oc-box {
  margin: clamp(24px, 4vw, 36px) 0 clamp(26px, 4vw, 38px);
  padding: 20px clamp(16px, 3vw, 24px) 18px;
  background: #f8f9fa;
  border: 1px solid #e6e8e0;
  border-radius: 14px;
  animation: ocUp 0.6s 0.55s both;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

.oc-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(51, 55, 30, 0.07);
}

.oc-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  font-size: 14px;
  color: #6b7280;
}

.oc-row b {
  font-weight: 500;
  color: #111;
  text-align: right;
}

.oc-total {
  align-items: center;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #dfe1d4;
  font-size: 16px;
  font-weight: 600;
  color: var(--olive);
}

.oc-total b {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--olive);
}

/* ---------- timeline ---------- */
.oc-next {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  animation: ocUp 0.6s 0.65s both;
}

.oc-steps {
  list-style: none;
  margin: 0 0 clamp(30px, 5vw, 50px);
  padding: 0;
}

.oc-step {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  animation: ocUp 0.6s both;
  animation-delay: calc(0.75s + var(--i, 0) * 0.12s);
}

.oc-step:last-child {
  padding-bottom: 0;
}

/* connecting line */
.oc-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: -2px;
  width: 2px;
  background: #e5e7eb;
}

.oc-dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: #fff;
  font-size: 14px;
  transition:
    background 0.3s,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.oc-step.done .oc-dot {
  background: var(--olive);
}

.oc-step.done:not(:last-child)::before {
  background: var(--olive);
}

.oc-step:hover .oc-dot {
  transform: scale(1.15);
  background: var(--green);
}

.oc-step h3 {
  margin: 2px 0 3px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #111;
}

.oc-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

/* ---------- button ---------- */
.oc-cta {
  display: flex;
  justify-content: center;
  animation: ocUp 0.6s 1.3s both;
}

.oc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1.5px solid var(--olive);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.oc-btn iconify-icon {
  font-size: 16px;
  transition: transform 0.3s;
}

.oc-btn:hover {
  background: var(--olive);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(51, 55, 30, 0.2);
}

.oc-btn:hover iconify-icon {
  transform: translateX(4px);
}

/* ---------- responsive ---------- */
@media (max-width: 575.98px) {
  .oc-tick {
    width: 72px;
    height: 72px;
    font-size: 34px;
  }

  .oc-row {
    font-size: 13px;
  }

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

/* =========================================================
   FAQs page  (load AFTER custom.css, or paste into it)
   Uses Bootstrap's tab + accordion JS, no custom JS needed.
   ========================================================= */
.fq-hero {
  background: var(--bg);
  padding: clamp(14px, 2.5vw, 26px) 0 0;
}

.fq-hero .crumbs {
  margin-bottom: clamp(26px, 4vw, 46px);
}

.fq-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--olive);
}

.fq-lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.75;
  color: #555;
}

.fq-sec {
  background: var(--bg);
  padding: clamp(26px, 4.5vw, 56px) 0 clamp(36px, 6vw, 70px);
}

.fq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

/* ---------- category list ---------- */
.fq-cats {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.fq-cats h2 {
  margin: 4px 8px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.fq-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: var(--olive);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.fq-cat .ic {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: #f0f6e2;
  color: var(--olive);
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fq-cat:hover {
  background: #f6f7f1;
  color: var(--green);
  transform: translateX(4px);
}

.fq-cat:hover .ic {
  transform: scale(1.06) rotate(-4deg);
}

.fq-cat.active {
  background: #eef2de;
  color: var(--green);
  font-weight: 600;
}

.fq-cat.active .ic {
  background: var(--olive);
  color: #fff;
}

/* ---------- panes ---------- */
.fq-pane-h {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  color: var(--olive);
}

.fq-pane-h small {
  padding: 3px 10px;
  border-radius: 20px;
  background: #eef2de;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.tab-pane.active .fq-item {
  animation: fqIn 0.5s both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes fqIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- accordion ---------- */
.fq-acc {
  display: grid;
  gap: 12px;
}

.fq-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow 0.35s,
    border-color 0.35s,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* olive bar on the left when open */
.fq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--olive);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s;
}

.fq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(51, 55, 30, 0.07);
}

.fq-item:has(.fq-q:not(.collapsed)) {
  border-color: #d6dfb8;
  box-shadow: 0 10px 28px rgba(51, 55, 30, 0.08);
}

.fq-item:has(.fq-q:not(.collapsed))::before {
  transform: scaleY(1);
}

.fq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1d2327;
  transition: color 0.25s;
}

.fq-q:hover,
.fq-q:not(.collapsed) {
  color: var(--olive);
}

.fq-q:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
  border-radius: 14px;
}

.fq-q span {
  flex: 1;
}

/* plus / minus icon */
.fq-q i {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f2e6;
  transition:
    background 0.3s,
    transform 0.35s;
}

.fq-q i::before,
.fq-q i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--olive);
  transition:
    transform 0.35s,
    background 0.3s;
}

.fq-q i::after {
  transform: rotate(90deg);
}

.fq-q:hover i {
  background: #e3e9cf;
}

.fq-q:not(.collapsed) i {
  background: var(--olive);
  transform: rotate(180deg);
}

.fq-q:not(.collapsed) i::before,
.fq-q:not(.collapsed) i::after {
  background: #fff;
}

.fq-q:not(.collapsed) i::after {
  transform: rotate(0);
}

.fq-a {
  padding: 0 20px 20px;
  padding-right: 66px;
  font-size: 14px;
  line-height: 1.85;
  color: #5b6168;
}

.fq-a p {
  margin: 0 0 10px;
}

.fq-a p:last-child {
  margin-bottom: 0;
}

.fq-a a {
  color: var(--green);
  font-weight: 500;
  text-decoration: underline;
}

.fq-a a:hover {
  color: var(--olive);
}

.fq-a ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.fq-a li {
  margin-bottom: 4px;
}

/* ---------- help card ---------- */
.fq-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: clamp(26px, 4vw, 40px);
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 36px);
  border-radius: 12px;
  color: #fff;
  background:
    url(../images/bg5.png) no-repeat center / cover,
    var(--olive);
  overflow: hidden;
}

.fq-help h2 {
  margin: 0 0 6px;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  color: #fff;
}

.fq-help p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.fq-help-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1.5px solid #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.fq-btn iconify-icon {
  font-size: 17px;
  transition: transform 0.3s;
}

.fq-btn.solid {
  background: #fff;
  color: var(--olive);
}

.fq-btn.solid:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.fq-btn.line {
  color: #fff;
}

.fq-btn.line:hover {
  background: #fff;
  color: var(--olive);
  transform: translateY(-2px);
}

.fq-btn:hover iconify-icon {
  transform: translateX(3px) rotate(-8deg);
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .fq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* category list becomes a scrolling chip row */
  .fq-cats {
    position: static;
    flex-direction: row;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .fq-cats::-webkit-scrollbar {
    display: none;
  }

  .fq-cats h2 {
    display: none;
  }

  .fq-cat {
    width: auto;
    flex: none;
    padding: 8px 14px 8px 8px;
    white-space: nowrap;
  }

  .fq-cat:hover {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .fq-q {
    padding: 15px 14px;
    gap: 12px;
  }

  .fq-q i {
    width: 28px;
    height: 28px;
  }

  .fq-a {
    padding: 0 14px 16px;
    font-size: 13.5px;
  }

  .fq-help {
    border-radius: 20px;
  }

  .fq-help-btns,
  .fq-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   Wishlist (empty state) page  (load AFTER custom.css)
   Pure CSS, no extra JS.
   ========================================================= */
.wl-hero {
  background: var(--bg);
  padding: clamp(14px, 2.5vw, 26px) 0 0;
}

.wl-hero .crumbs {
  margin-bottom: clamp(26px, 4vw, 46px);
}

.wl-eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  color: var(--orange);
}

.wl-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--olive);
}

.wl-lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.75;
  color: #555;
}

.wl-sec {
  background: var(--bg);
  padding: clamp(26px, 4vw, 48px) 0 clamp(50px, 9vw, 120px);
}

/* ---------- empty card ---------- */
.wl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 30vw, 380px);
  padding: clamp(32px, 5vw, 56px) 20px;
  text-align: center;
  background: #fff;
  border: 1.5px dashed #dcdcd4;
  border-radius: 28px;
  transition:
    border-color 0.35s,
    box-shadow 0.35s;
}

.wl-empty:hover {
  border-color: #b9c58a;
  box-shadow: 0 14px 34px rgba(51, 55, 30, 0.06);
}

.wl-heart {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--olive);
  background: #cfcfcf;
  animation: wlFloat 3.2s ease-in-out infinite;
  transition:
    background 0.35s,
    color 0.35s,
    transform 0.35s;
}

.wl-heart iconify-icon {
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.wl-empty:hover .wl-heart {
  background: #fde3df;
  color: #ef5b45;
}

.wl-empty:hover .wl-heart iconify-icon {
  animation: wlBeat 0.9s ease-in-out infinite;
}

@keyframes wlFloat {
  50% {
    transform: translateY(-6px);
  }
}

@keyframes wlBeat {
  0%,
  100% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.25);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.15);
  }
}

.wl-empty h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--olive);
}

.wl-empty p {
  max-width: 480px;
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.7;
  color: #666;
}

.wl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border-radius: 12px;
  background: var(--olive);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(51, 55, 30, 0.2);
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.wl-btn iconify-icon {
  font-size: 16px;
  transition: transform 0.3s;
}

.wl-btn:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(99, 119, 4, 0.3);
}

.wl-btn:hover iconify-icon {
  transform: translateX(4px);
}

.wl-btn:focus-visible {
  outline: 3px solid rgba(99, 119, 4, 0.4);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 575.98px) {
  .wl-empty {
    border-radius: 22px;
  }

  .wl-heart {
    width: 58px;
    height: 58px;
    font-size: 25px;
  }

  .wl-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
}

/* =========================================================
   Wishlist page WITH items  (load AFTER custom.css and wishlist.css)
   wishlist.css supplies the hero + empty-state styles.
   ========================================================= */

/* ---------- toolbar ---------- */
.wl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(16px, 2.4vw, 28px);
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.wl-count {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-left: 6px;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
}

.wl-count iconify-icon {
  flex: none;
  font-size: 16px;
  color: #ef5b45;
}

.wl-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wl-tbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px, 1.2vw, 14px) clamp(8px, 2vw, 24px);
  border: 1px solid #dcdcd4;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--olive);
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.wl-tbtn iconify-icon {
  font-size: 16px;
  transition: transform 0.3s;
}

.wl-tbtn:hover {
  border-color: #ef5b45;
  color: #ef5b45;
  transform: translateY(-2px);
}

.wl-tbtn:hover iconify-icon {
  transform: rotate(-10deg) scale(1.1);
}

.wl-tbtn.solid {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
}

.wl-tbtn.solid:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(99, 119, 4, 0.25);
}

.wl-tbtn:focus-visible {
  outline: 3px solid rgba(99, 119, 4, 0.4);
  outline-offset: 2px;
}

/* ---------- cards ----------
   The grid uses the category page's own classes (.pl-grid + .fp-card),
   so the card UI is identical. Only wishlist extras live here. */
.wl-card {
  animation: wlIn 0.6s backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes wlIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

/* heart button: saved state (filled red). Click removes the item. */
.fp-wish.wl-rm {
  color: #ef5b45;
  border-color: #ef5b45;
}

.fp-wish.wl-rm iconify-icon {
  fill: #ef5b45;
  transition: fill 0.25s;
}

.fp-wish.wl-rm:hover {
  background: #fdeceb;
}

.fp-wish.wl-rm:hover iconify-icon {
  fill: transparent;
}

.fp-wish.wl-rm:focus-visible,
.fp-add:focus-visible {
  outline: 3px solid rgba(99, 119, 4, 0.4);
  outline-offset: 2px;
}

/* removal animation */
.wl-card.leaving {
  opacity: 0;
  transform: scale(0.9) translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.35s,
    transform 0.35s;
}

/* hidden attribute must win over display rules */
.wl-empty[hidden],
.wl-grid[hidden],
.wl-bar[hidden] {
  display: none;
}

@media (max-width: 575.98px) {
  .wl-bar {
    padding: 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .wl-count {
    flex: 1 0 100%;
    padding-left: 0;
  }

  .wl-tools {
    width: 100%;
  }

  .wl-tbtn {
    flex: 1;
    padding: 10px 12px;
  }
}

/* =========================================================
   Brands listing page  (load AFTER custom.css, or paste into it)
   Pure CSS animations, no extra JS.
   ========================================================= */
.br-hero {
  background: var(--bg);
  padding: clamp(14px, 2.5vw, 26px) 0 0;
}

.br-hero .crumbs {
  margin-bottom: clamp(26px, 4vw, 46px);
}

.br-eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  color: var(--orange);
}

.br-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--olive);
}

.br-lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.75;
  color: #555;
}

.br-sec {
  background: var(--bg);
  padding: clamp(26px, 4.5vw, 56px) 0 clamp(36px, 6vw, 70px);
}

/* ---------- grid ---------- */
.br-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .br-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .br-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ---------- card ---------- */
.br-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  animation: brIn 0.6s backwards;
  animation-delay: calc(var(--i, 0) * 60ms);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s,
    border-color 0.4s;
}

@keyframes brIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

.br-card:hover {
  transform: translateY(-8px);
  border-color: #d6dfb8;
  box-shadow: 0 18px 36px rgba(51, 55, 30, 0.1);
}

.br-logo {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(110px, 12vw, 150px);
  padding: 22px 26px;
  background: #fafaf6;
  overflow: hidden;
}

/* soft light sweep on hover */
.br-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.br-card:hover .br-logo::after {
  transform: translateX(120%);
  transition: transform 0.9s ease;
}

.br-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.br-card:hover .br-logo img {
  transform: scale(1.1);
}

.br-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.br-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid #eee;
}

.br-body small {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777;
}

.br-body h2 {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 600;
  color: var(--olive);
  transition: color 0.3s;
}

.br-card:hover .br-body h2 {
  color: var(--green);
}

/* whole card clickable */
.br-body h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.br-go {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--olive);
  background: #f0f2e6;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.br-card:hover .br-go {
  background: var(--olive);
  color: #fff;
  transform: translateX(3px) rotate(-45deg);
}

.br-card:focus-within {
  outline: 3px solid rgba(99, 119, 4, 0.35);
  outline-offset: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 575.98px) {
  .br-card {
    border-radius: 14px;
  }

  .br-logo {
    padding: 18px 16px;
  }

  .br-body {
    padding: 12px;
  }

  .br-go {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .br-btn {
    width: 100%;
    justify-content: center;
  }
}

/* stagger index for the 3 cards */
#mvList > .swiper-slide:nth-child(1) {
  --i: 0;
}

#mvList > .swiper-slide:nth-child(2) {
  --i: 1;
}

#mvList > .swiper-slide:nth-child(3) {
  --i: 2;
}

@media (max-width: 575px) {
  .mv-card {
    padding: 14px 12px 6px;
  }
}

/* responsive */
@media (max-width: 991px) {
  .header-in {
    height: 60px;
  }

  .h-icon span:not(.badge-c) {
    display: none;
  }

  .ac {
    width: 36%;
  }
}

@media (max-width: 575px) {
  .topbar .d-flex {
    justify-content: center !important;
  }

  .feat {
    padding: 0 5px;
  }
}

/* bottom app-style nav */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: 0;
  font-size: 10px;
  font-weight: 500;
  color: #777;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s;
}

.bn-item iconify-icon {
  font-size: 22px;
  transition: transform 0.3s;
}

.bn-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--green);
  border-radius: 0 0 4px 4px;
  transform: translateX(-50%);
  transition: width 0.3s;
}

.bn-item.active {
  color: var(--green);
}

.bn-item.active::before {
  width: 28px;
}

.bn-item.active iconify-icon {
  transform: translateY(-2px) scale(1.12);
}

.bn-item:active iconify-icon {
  transform: scale(0.85);
}

.bn-item .badge-c {
  top: 0;
  right: calc(50% - 20px);
}

@media (max-width: 991px) {
  body {
    padding-bottom: 72px;
  }

  .scroll-top {
    bottom: 84px !important;
  }
}

/* scroll to top */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  z-index: 1031;
  background: conic-gradient(var(--green) calc(var(--p, 0) * 1%), #d9dccb 0);
  display: grid;
  place-items: center;
  color: var(--green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: 0.3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.scroll-top::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
  transition: 0.25s;
}

.scroll-top iconify-icon {
  position: relative;
  font-size: 22px;
  transition: 0.25s;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-top:hover::before {
  background: var(--green);
}

.scroll-top:hover iconify-icon {
  color: #fff;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Replaces the former inline styles (add after custom.css) */

.nav-chev {
  font-size: 9px;
}

/* stagger delay index */
#catList > .cat-item:nth-child(1) {
  --i: 0;
}

#catList > .cat-item:nth-child(2) {
  --i: 1;
}

#catList > .cat-item:nth-child(3) {
  --i: 2;
}

#catList > .cat-item:nth-child(4) {
  --i: 3;
}

#catList > .cat-item:nth-child(5) {
  --i: 4;
}

#catList > .cat-item:nth-child(6) {
  --i: 5;
}

#catList > .cat-item:nth-child(7) {
  --i: 6;
}

#navList > .m-link:nth-child(1) {
  --i: 0;
}

#navList > .m-link:nth-child(2) {
  --i: 1;
}

#navList > .m-link:nth-child(3) {
  --i: 2;
}

#navList > .m-link:nth-child(4) {
  --i: 3;
}

#navList > .m-link:nth-child(5) {
  --i: 4;
}

#topCatList > .swiper-slide:nth-child(1) {
  --i: 0;
}

#topCatList > .swiper-slide:nth-child(2) {
  --i: 1;
}

#topCatList > .swiper-slide:nth-child(3) {
  --i: 2;
}

#topCatList > .swiper-slide:nth-child(4) {
  --i: 3;
}

#topCatList > .swiper-slide:nth-child(5) {
  --i: 4;
}

#topCatList > .swiper-slide:nth-child(6) {
  --i: 5;
}

#topCatList > .swiper-slide:nth-child(7) {
  --i: 6;
}

#featList > .swiper-slide:nth-child(1) {
  --i: 0;
}

#featList > .swiper-slide:nth-child(2) {
  --i: 1;
}

#featList > .swiper-slide:nth-child(3) {
  --i: 2;
}

#featList > .swiper-slide:nth-child(4) {
  --i: 3;
}

#featList > .swiper-slide:nth-child(5) {
  --i: 4;
}

#featList > .swiper-slide:nth-child(6) {
  --i: 5;
}

#featList > .swiper-slide:nth-child(7) {
  --i: 6;
}

#featList > .swiper-slide:nth-child(8) {
  --i: 6;
}

/* category tile tints */
#topCatList > .swiper-slide:nth-child(1) .cat-tile {
  --t: #f3f2ed;
}

#topCatList > .swiper-slide:nth-child(2) .cat-tile {
  --t: #e6f2ee;
}

#topCatList > .swiper-slide:nth-child(3) .cat-tile {
  --t: #d6ecfa;
}

#topCatList > .swiper-slide:nth-child(4) .cat-tile {
  --t: #f9f2e2;
}

#topCatList > .swiper-slide:nth-child(5) .cat-tile {
  --t: #ffe5e5;
}

#topCatList > .swiper-slide:nth-child(6) .cat-tile {
  --t: #e4f3ee;
}

#topCatList > .swiper-slide:nth-child(7) .cat-tile {
  --t: #f0f5df;
}

/* ---------- scroll animation variants ---------- */
.reveal {
  transition-delay: calc(var(--d, 0) * 100ms);
}

.reveal[data-anim="left"]:not(.in) {
  transform: translateX(-48px);
}

.reveal[data-anim="right"]:not(.in) {
  transform: translateX(48px);
}

.reveal[data-anim="zoom"]:not(.in) {
  transform: scale(0.94);
}

.reveal[data-anim="down"]:not(.in) {
  transform: translateY(-24px);
}

/* hero banner: soft zoom + fade as it enters */
.banner .reveal {
  transition-duration: 0.9s;
}

/* no-JS safety net: never leave content hidden */
.no-js .reveal,
.no-js .stg > .swiper-slide {
  opacity: 1;
  transform: none;
}
.banner-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.search-wrap {
  position: relative;
}
.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1050;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  max-height: 420px;
  overflow-y: auto;
}
.search-suggest[hidden] {
  display: none;
}
.ss-item,
.ss-all {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
}
.ss-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #f6f6f6;
}
.ss-name {
  flex: 1;
  font-size: 0.92rem;
}
.ss-price {
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.ss-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: #f1f1f1;
}
.ss-item:hover,
.ss-item.is-active {
  background: #f7f7f7;
}
.ss-all {
  justify-content: center;
  font-weight: 600;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.ss-empty {
  padding: 14px;
  color: #777;
  font-size: 0.9rem;
}

/* ===== Blog article typography ===== */
.bd-content {
  font-size: 1.0625rem; /* 17px */
  line-height: 1.8;
  color: #2b2f33;
  overflow-wrap: anywhere;
}
.bd-content,
.bd-content * {
  font-family: inherit;
}
.bd-content > *:first-child {
  margin-top: 0 !important;
}
.bd-content > *:last-child {
  margin-bottom: 0 !important;
}

.bd-content p {
  margin: 0 0 1.25rem;
}

.bd-content h1,
.bd-content h2,
.bd-content h3,
.bd-content h4,
.bd-content h5,
.bd-content h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #14181c;
  margin: 2.25rem 0 0.9rem;
}
.bd-content h1 {
  font-size: 2rem;
}
.bd-content h2 {
  font-size: 1.65rem;
}
.bd-content h3 {
  font-size: 1.35rem;
}
.bd-content h4 {
  font-size: 1.15rem;
}
.bd-content h5,
.bd-content h6 {
  font-size: 1rem;
}

.bd-content ul,
.bd-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.6rem;
}
.bd-content li {
  margin: 0 0 0.5rem;
  padding-left: 0.25rem;
}
.bd-content li > ul,
.bd-content li > ol {
  margin: 0.5rem 0 0;
}
.bd-content ul {
  list-style: disc;
}
.bd-content ol {
  list-style: decimal;
}
/* Quill 2 prints every list as <ol><li data-list="..."> */
.bd-content li[data-list="bullet"] {
  list-style-type: disc;
}
.bd-content li[data-list="ordered"] {
  list-style-type: decimal;
}
.bd-content .ql-ui {
  display: none;
}

.bd-content a {
  color: var(--brand, #33371e);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bd-content a:hover {
  text-decoration-thickness: 2px;
}
.bd-content strong,
.bd-content b {
  font-weight: 700;
  color: #14181c;
}

.bd-content blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand, #33371e);
  background: #f6f7f4;
  border-radius: 0 10px 10px 0;
  font-style: italic;
}
.bd-content blockquote p:last-child {
  margin-bottom: 0;
}

.bd-content img,
.bd-content video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 1.5rem auto;
}
.bd-content iframe,
.bd-content .ql-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.bd-content pre {
  background: #14181c;
  color: #f1f3f5;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.bd-content code {
  background: #eef0ee;
  padding: 0.12em 0.4em;
  border-radius: 5px;
  font-size: 0.92em;
}
.bd-content pre code {
  background: none;
  padding: 0;
}

.bd-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  display: block;
  overflow-x: auto;
}
.bd-content th,
.bd-content td {
  border: 1px solid #dfe3df;
  padding: 0.65rem 0.85rem;
  text-align: left;
}
.bd-content th {
  background: #f3f5f2;
  font-weight: 700;
}

.bd-content hr {
  border: 0;
  border-top: 1px solid #dfe3df;
  margin: 2rem 0;
}

/* Quill alignment and indent classes */
.bd-content .ql-align-center {
  text-align: center;
}
.bd-content .ql-align-right {
  text-align: right;
}
.bd-content .ql-align-justify {
  text-align: justify;
}
.bd-content .ql-indent-1 {
  padding-left: 2rem;
}
.bd-content .ql-indent-2 {
  padding-left: 4rem;
}
.bd-content .ql-indent-3 {
  padding-left: 6rem;
}

@media (max-width: 575.98px) {
  .bd-content {
    font-size: 1rem;
    line-height: 1.75;
  }
  .bd-content h1 {
    font-size: 1.6rem;
  }
  .bd-content h2 {
    font-size: 1.4rem;
  }
  .bd-content h3 {
    font-size: 1.2rem;
  }
  .bd-content .ql-indent-2,
  .bd-content .ql-indent-3 {
    padding-left: 2rem;
  }
}

/* ===== Blog: professional serif headings + tighter, even rhythm ===== */
.bd-article .bd-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2b2f33;
}

/* paragraph and block gaps */
.bd-article .bd-content p {
  margin: 0 0 1rem;
}
.bd-article .bd-content ul,
.bd-article .bd-content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.bd-article .bd-content li {
  margin: 0 0 0.35rem;
}
.bd-article .bd-content blockquote {
  margin: 1.5rem 0;
}
.bd-article .bd-content img,
.bd-article .bd-content iframe {
  margin: 1.25rem auto;
}

/* headings: Times New Roman style */
.bd-article .bd-content h1,
.bd-article .bd-content h2,
.bd-article .bd-content h3,
.bd-article .bd-content h4,
.bd-article .bd-content h5,
.bd-article .bd-content h6 {
  font-family: "Times New Roman", Times, "Liberation Serif", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: #111;
  margin: 1.75rem 0 0.6rem; /* more space above than below, so the heading belongs to its text */
}
.bd-article .bd-content h1 {
  font-size: 2.1rem;
}
.bd-article .bd-content h2 {
  font-size: 1.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e3e6e3;
}
.bd-article .bd-content h3 {
  font-size: 1.45rem;
}
.bd-article .bd-content h4 {
  font-size: 1.2rem;
}
.bd-article .bd-content h5,
.bd-article .bd-content h6 {
  font-size: 1.05rem;
}

/* space between the header band, cover image and article */
.bd-wrap {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.bd-cover {
  margin: 0 0 1.75rem;
}
.bd-layout {
  gap: 2rem;
}

@media (max-width: 575.98px) {
  .bd-article .bd-content h1 {
    font-size: 1.7rem;
  }
  .bd-article .bd-content h2 {
    font-size: 1.45rem;
  }
  .bd-article .bd-content h3 {
    font-size: 1.25rem;
  }
}
/* .bd-article .bd-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.8;
} */
/* ===== Terms / Privacy / custom pages ===== */
.page-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2b2f33;
  overflow-wrap: anywhere;
}
.page-content > *:first-child {
  margin-top: 0;
}
.page-content > *:last-child {
  margin-bottom: 0;
}

.page-content p {
  margin: 0 0 1rem;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-family: "Times New Roman", Times, "Liberation Serif", Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #111;
  margin: 1.75rem 0 0.6rem;
}
.page-content h1 {
  font-size: 2.1rem;
}
.page-content h2 {
  font-size: 1.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e3e6e3;
}
.page-content h3 {
  font-size: 1.45rem;
}
.page-content h4 {
  font-size: 1.2rem;
}
.page-content h5,
.page-content h6 {
  font-size: 1.05rem;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.page-content ul {
  list-style: disc;
}
.page-content ol {
  list-style: decimal;
}
.page-content li {
  margin: 0 0 0.35rem;
  padding-left: 0.25rem;
}
.page-content li > ul,
.page-content li > ol {
  margin: 0.4rem 0 0;
}

.page-content a {
  color: var(--brand, #33371e);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content strong,
.page-content b {
  font-weight: 700;
  color: #111;
}

.page-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand, #33371e);
  background: #f6f7f4;
  border-radius: 0 10px 10px 0;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  display: block;
  overflow-x: auto;
}
.page-content th,
.page-content td {
  border: 1px solid #dfe3df;
  padding: 0.6rem 0.8rem;
  text-align: left;
}
.page-content th {
  background: #f3f5f2;
}
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 1.25rem auto;
}
.page-content hr {
  border: 0;
  border-top: 1px solid #dfe3df;
  margin: 2rem 0;
}
.page-content .ql-align-center {
  text-align: center;
}
.page-content .ql-align-right {
  text-align: right;
}

@media (max-width: 575.98px) {
  .page-content {
    font-size: 1rem;
  }
  .page-content h1 {
    font-size: 1.7rem;
  }
  .page-content h2 {
    font-size: 1.45rem;
  }
  .page-content h3 {
    font-size: 1.25rem;
  }
}
