:root {
  --gold: #c89a3f;
  --gold-d: #7b5414;
  --brown: #2a1d0f;
  --green: #2f5f3a;
  --wa: #25d366;
  --white: #ffffff;
  --bg: #fdf9f3;
  --bg-2: #f7f0e3;
  --text: #23180c;
  --muted: #6d6254;
  --border: rgba(123,84,20,0.12);
  --shadow: 0 12px 36px rgba(32,18,6,0.08);
  --shadow-hover: 0 22px 54px rgba(32,18,6,0.14);
  --r: 22px;
  --ease: all 0.30s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; transition: var(--ease); }
ul { list-style: none; }

/* ===========================
   BREADCRUMB
=========================== */
.breadcrumb-bar {
  background: linear-gradient(90deg,#1c1208,#5a3b12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 13px 0;
}
.bc-container {
  width: min(calc(100% - 24px),1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bc-container a { font-size: 13px; color: rgba(255,255,255,0.78); font-weight: 500; }
.bc-container a:hover { color: #f1cf83; }
.bc-container i { font-size: 10px; color: rgba(255,255,255,0.40); }
.bc-container span { font-size: 13px; color: #f1cf83; font-weight: 600; }

/* ===========================
   PAGE HERO
=========================== */
.products-hero {
  background:
    radial-gradient(circle at top right, rgba(200,154,63,0.18), transparent 34%),
    linear-gradient(135deg, #1b1108 0%, #5c3b12 50%, #9b6f28 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.products-hero::before {
  content: '✦';
  position: absolute;
  right: 80px;
  top: 30px;
  font-size: 120px;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 1;
}
.ph-container {
  width: min(calc(100% - 24px),1320px);
  margin-inline: auto;
  text-align: center;
}
.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #f1cf83;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  letter-spacing: 0.4px;
  margin-bottom: 16px;
}
.ph-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 14px;
}
.ph-desc {
  color: rgba(255,255,255,0.80);
  font-size: 16px;
  max-width: 680px;
  margin-inline: auto;
}

/* ===========================
   FILTER BAR
=========================== */
.filter-bar-section {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(253,249,243,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 22px rgba(32,18,6,0.06);
}
.filter-container {
  width: min(calc(100% - 24px),1320px);
  margin-inline: auto;
  padding: 14px 0;
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: inset 0 2px 6px rgba(32,18,6,0.04);
}
.filter-search i { color: var(--muted); font-size: 15px; flex-shrink: 0; }
.filter-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.filter-search input::placeholder { color: var(--muted); }
.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ftag {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
}
.ftag:hover { border-color: var(--gold); color: var(--gold-d); }
.ftag.active {
  background: linear-gradient(135deg,#d4a843,#8c6118);
  border-color: transparent;
  color: #fff;
}
.filter-sort select {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.filter-sort select:focus { border-color: var(--gold); }

/* ===========================
   PRODUCTS GRID
=========================== */
.products-grid-section {
  padding: 52px 0 72px;
}
.pg-container {
  width: min(calc(100% - 24px),1320px);
  margin-inline: auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ===========================
   PRODUCT CARD
=========================== */
.pcard {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,243,234,0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.pcard:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(200,154,63,0.22);
}
.pcard-featured {
  border-color: rgba(200,154,63,0.30);
  box-shadow: 0 16px 44px rgba(140,97,24,0.12);
}
.pcard-link {
  display: block;
  position: relative;
  overflow: hidden;
}

/* Card Gallery */
.pcard-gallery {
  position: relative;
}
.pcard-slide {
  background: linear-gradient(180deg,#fffdf8,#f5ece0);
}
.pcard-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.40s ease;
}
.pcard:hover .pcard-slide img {
  transform: scale(1.05);
}

/* Owl dots inside card */
.pcard-gallery.owl-theme .owl-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0;
  line-height: 1;
}
.pcard-gallery.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.55) !important;
  margin: 0 3px;
}
.pcard-gallery.owl-theme .owl-dots .owl-dot.active span {
  background: #f4bf42 !important;
}

/* Badges */
.pcard-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.pcb {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.pcb-gold  { background: linear-gradient(135deg,#d4a843,#8c6118); color: #fff; }
.pcb-green { background: linear-gradient(135deg,#2ddb6a,#18a84e); color: #fff; }
.pcb-blue  { background: linear-gradient(135deg,#4f8ef0,#1a5ecc); color: #fff; }
.pcb-purple{ background: linear-gradient(135deg,#a45ef0,#7c28d6); color: #fff; }

/* Card Body */
.pcard-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.pcard-title {
  font-family: 'Cinzel', serif;
  font-size: 1.08rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.pcard-title a {
  color: var(--brown);
}
.pcard-title a:hover { color: var(--gold-d); }
.pcard-short {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 13px;
}
.pcard-hl {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 13px;
}
.pcard-hl li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.pcard-hl i {
  color: var(--green);
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}
.pcard-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.pcard-rating .stars {
  color: #f4bf42;
  font-size: 15px;
  letter-spacing: 1.5px;
}
.rcount {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* CTA Buttons */
.pcard-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}
.btn-pcard-wa,
.btn-pcard-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 10px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: var(--ease);
  border: none;
  cursor: pointer;
}
.btn-pcard-wa {
  background: linear-gradient(135deg,#28c760,#15944a);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37,211,102,0.20);
}
.btn-pcard-wa:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37,211,102,0.28);
}
.btn-pcard-view {
  background: linear-gradient(135deg,#d4a843,#8c6118);
  color: #fff;
  box-shadow: 0 10px 22px rgba(140,97,24,0.18);
}
.btn-pcard-view:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(140,97,24,0.26);
}

/* No Results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.no-results i {
  font-size: 56px;
  color: rgba(123,84,20,0.18);
  margin-bottom: 16px;
  display: block;
}
.no-results h3 {
  font-family: 'Cinzel', serif;
  color: var(--brown);
  margin-bottom: 8px;
}

/* ===========================
   MID CTA BANNER
=========================== */
.products-cta-banner {
  padding: 0 0 72px;
}
.pcta-container {
  width: min(calc(100% - 24px),1320px);
  margin-inline: auto;
}
.pcta-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 52px 44px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 28%),
    linear-gradient(135deg,#1b1208 0%,#5c3b12 50%,#9b6f28 100%);
  box-shadow: 0 28px 70px rgba(30,18,6,0.20);
}
.pcta-deco {
  position: absolute;
  right: 40px;
  top: 16px;
  font-size: 100px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
}
.pcta-eyebrow {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #f1cf83;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  margin-bottom: 14px;
}
.pcta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem,2.8vw,2.6rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.pcta-desc {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  margin: 0;
}
.pcta-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pcta-wa-btn,
.pcta-call-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--ease);
}
.pcta-wa-btn {
  background: linear-gradient(135deg,#28c760,#15944a);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37,211,102,0.22);
}
.pcta-wa-btn:hover { color: #fff; transform: translateY(-2px); }
.pcta-call-btn {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.pcta-call-btn:hover { color: #fff; background: rgba(255,255,255,0.17); }
.pcta-wa-btn i,
.pcta-call-btn i {
  font-size: 22px;
  flex-shrink: 0;
}
.pcta-wa-btn span,
.pcta-call-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}
.pcta-wa-btn small,
.pcta-call-btn small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1199.98px) {
  .products-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 991.98px) {
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .filter-inner { gap: 10px; }
  .pcta-box { padding: 40px 28px; }
}

@media (max-width: 767.98px) {
  .products-hero { padding: 52px 0 60px; }
  .ph-title { font-size: 2rem; }
  .filter-inner { flex-direction: column; align-items: stretch; }
  .filter-search { width: 100%; }
  .filter-tags { justify-content: flex-start; }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .pcard-slide img { height: 200px; }
  .pcard-body { padding: 14px 12px 16px; }
  .pcard-title { font-size: 0.96rem; }
  .pcard-short { font-size: 12.5px; }
  .pcard-hl { display: none; }
  .btn-pcard-wa,.btn-pcard-view { font-size: 12px; padding: 11px 8px; }
  .pcta-box { padding: 30px 20px; }
  .pcta-btns { gap: 10px; }
}

@media (max-width: 575.98px) {
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .pcard-slide img { height: 175px; }
  .pcard-cta { grid-template-columns: 1fr; gap: 8px; }
  .pcard-rating { margin-bottom: 12px; }
  .pcta-title { font-size: 1.6rem; }
}
