@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

body.sf-modal-open {
  overflow: hidden;
}

/* =========================================
TOP FILTER BAR
========================================= */

.sf-top-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 10px;
}

/* =========================================
SEARCH AREA
========================================= */

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 100%;
}

.search-wrap input {
  width: 100%;
  height: 52px;
  border: 1px solid #dccdbd;
  border-radius: 14px;
  background: #f8f4ef;
  padding: 0 70px 0 20px;
  font-size: 15px;
  color: #222;
  outline: none;
}

.search-wrap input:focus {
  border-color: #0b3545;
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 52px;
  height: 52px;
  border: none;
  border-left: 1px solid #dccdbd;
  background: #f1e8de;
  border-radius: 0 14px 14px 0;
  cursor: pointer;
  font-size: 0;
}

.search-btn::before {
  content: "⌕";
  font-size: 18px;
  color: #6b5d50;
}

.search-ico {
  display: none;
}

/* =========================================
RIGHT SECTION
========================================= */

.sf-toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* =========================================
AND OR
========================================= */

.sf-filter-mode {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}

.mode-btn {
  min-width: 82px;
  height: 46px;
  border: none;
  background: #0B3545 !important;
  color: #f1e5cb !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.25s ease;
}
.mode-btn:hover {
  background: #0d4258 !important;
} 

.mode-btn:not(.active) {
  background: #295989;
  opacity: 0.9;
}

.mode-btn:hover {
  opacity: 1;
}

.sf-filter-mode button.mode-btn {
  min-width: 70px;
  padding: 10px 20px;
}

.sc-top-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.sf-save-btn {
  background: #b89a5e !important;
  color: #2b2319 !important;
}

.clear-btn {
  background: #2b2319 !important;
  color: #b89a5e !important;
}

.sf-save-btn,
.clear-btn {
  border: 1px solid #e1ccb8 !important;
  border-radius: 5px;
  height: 38px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: 0.25s ease;
  box-shadow: 0 4px 12px rgba(43, 35, 25, 0.05) !important;
}

.sf-save-btn svg,
.clear-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sf-save-btn:hover {
  background: #b89a5e00 !important;
  color: #b89a5e !important;
}

.clear-btn:hover {
  background: #b89a5e1a !important;
  color: #b89a5e !important;
}

.sf-save-btn:hover,
.clear-btn:hover {
  border: 1.5px solid #b89a5e !important;
  transform: translateY(0px);
  box-shadow: 0 8px 18px rgba(43, 35, 25, 0.08) !important;
}

.sf-save-btn:active,
.clear-btn:active {
  transform: translateY(0);
}

.sc-btn {
  flex: 1;
  cursor: pointer;
}

.sc-btn svg {
  flex-shrink: 0;
}

p.tsc-paragraph {
  line-height: 1.5em;
  padding: 10px 0;
  margin-bottom: 0px;
}

/* =========================================
SORT
========================================= */

.sf-sort-wrap select {
  min-width: 210px;
  height: 46px;
  border: 1px solid #d8cabb;
  border-radius: 12px;
  background: #fff;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  margin: 0 !important;
  padding-right: 45px !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.sf-sort-wrap {
  position: relative;
}

.sf-sort-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);

  width: 7px;
  height: 7px;

  border-right: 2px solid #000;
  border-bottom: 2px solid #000;

  pointer-events: none;
}

.mode-btn:not(.active) {
  background: #f2efea !important;
  color: #0B3545 !important;
}

/* =========================================
MOBILE
========================================= */

@media (max-width: 991px) {
  .sf-top-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .sf-toolbar-right {
    width: 100%;
  }

  .sf-sort-wrap {
    flex: 1;
  }

  .sf-sort-wrap select {
    width: 100%;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-emblem {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-pale), var(--surface));
}

.logo-emblem svg {
  width: 18px;
  color: var(--gold);
}

.logo-text {
  line-height: 1.1;
}

.logo-text strong {
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  display: block;
}

.logo-text span {
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.cart-badge {
  position: relative;
}

.cart-badge::after {
  content: "3";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  color: white;
  font-size: 0.55rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.sf-filter-toggle {
  width: 28px;
  height: 28px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #d67d0961;

  color: #212121;

  transition: all 0.25s ease;
}

.sf-filter-toggle-icon {
  width: 14px;
  height: 14px;

  transition: transform 0.25s ease;
}

.sf-filter-group.active .sf-filter-toggle-icon {
  transform: rotate(180deg);
}

button.vbtn {
  background: transparent !important;
  border: 0px;
  color: #214f7a !important;
  font-size: 28px;
  padding: 0 !important;
}

/* ── SEARCH BANNER ── */
.search-banner {
  animation: fadeUp 0.7s 0.2s both;
  margin: 0px;
  padding: 62px 20px;
  text-align: center;
  background: linear-gradient(180deg, #c37e5847, #ebded445);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.search-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%,
      rgba(196, 148, 78, 0.3) 0%,
      transparent 60%);
}

.search-tagline {
  font-size: 36px;
  margin: 12px 0;
  font-family: "Jost", Arial, Helvetica, sans-serif;
  color: #2b2319;
  font-weight: 500;
  opacity: 1;
  letter-spacing: 2px;
}

.search-wrap {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
}

.search-wrap input {
  flex: 1;
  padding: 1.85rem 1.2rem 1.85rem 3rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  outline: none;
  border-radius: var(--radius) 0 0 var(--radius);
  transition: all var(--transition);
}

a.add-btn {
  margin: 0 auto;
  display: table;
  text-align: center;
  width: min-content;
}

.search-wrap input::placeholder {
  color: var(--text3);
}

.search-wrap input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(196, 148, 78, 0.2);
}

.search-ico {
  position: absolute;
  left: 1rem;
  top: 47%;
  transform: translateY(-50%);
  color: var(--text3);
  pointer-events: none;
  font-size: 20px !important;
}

.search-btn {
  padding: 0 1.6rem;
  background: var(--gold-light);
  border: none;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background var(--transition);
  font-weight: 500;
}

.search-btn:hover {
  background: var(--gold);
}

/* ── sf-wrapper ── */
.sf-wrapper {
  display: grid;
  grid-template-columns: 350px 1fr 0px;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - 130px);
}

/* ── SIDEBAR ── */
.sidebar {
  border-right: 1px solid var(--border);
  padding: 1.8rem 1.4rem;
  position: sticky;
  top: 0px;
  height: calc(100vh - 0px);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--surface);
  animation: slideInL 0.6s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}

@keyframes slideInL {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* .sf-filter-group {
  margin-bottom: 1.6rem;
} */

.sf-filter-wrapper {
  padding: 10px 10px;
  border: 1px solid #e8d1bc;
  border-radius: 10px;
  background-color: #fff;
  /* background-color: #f8f4ef; */
  margin: 0 0 10px 0;
}

.sf-filter-wrapper:last-child {
  margin-bottom: 0;
}

.sf-filter-header {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.45rem 0;
  margin-bottom: 0.2rem;
  user-select: none;
}

.sf-filter-header:hover {
  color: var(--gold);
}

.sf-filter-toggle {
  transition: transform 0.3s;
  font-size: 0.6rem;
}

.sf-filter-group.closed .sf-filter-toggle {
  transform: rotate(-90deg);
}

.f-body {
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.sf-filter-group.closed .f-body {
  max-height: 0 !important;
}

/* checkboxes */
.cb-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.2rem;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 3px;
}

.cb-item:hover {
  background: var(--gold-pale);
  padding-left: 0.4rem;
}

.cb-item input {
  display: none;
}

.cb-box {
  width: 15px;
  height: 15px;
  border: 1.5px solid #65000b;
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  background: #fff;
}

.cb-item input:checked~.cb-box {
  background: #65000b;
  border-color: #65000b;
}

.cb-item input:checked~.cb-box::after {
  content: "✓";
  font-size: 0.65rem;
  color: #fff;
  font-weight: 700;
}

.cb-label {
  font-size: 0.78rem;
  color: #000000;
  flex: 1;
}

.cb-count {
  font-size: 0.62rem;
  color: var(--text3);
}

/* mini search */
.mini-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #65000b;
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  margin-bottom: 0.7rem;
  background: #65000b15;
  transition: border-color var(--transition);
}

.mini-search:focus-within {
  border-color: var(--gold);
}

.mini-search input {
  background: none;
  border: none;
  outline: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--text);
  width: 100%;
}

.mini-search input::placeholder {
  color: var(--text3);
}

/* range */
.range-group {
  padding: 0.3rem 0;
}

.range-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.range-row input[type="number"] {
  flex: 1;
  width: 0;
  padding: 0.45rem 0.5rem;
  border: 1px solid #65000b;
  border-radius: var(--radius);
  background: #65000b;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.76rem;
  outline: none;
  transition: border-color var(--transition);
}

.range-row input:focus {
  border-color: var(--gold);
}

input[type="range"] {
  width: 100%;
  cursor: pointer;
  accent-color: #65000b;
}

/* ── MAIN ── */
main {
  padding: 1.1rem;
  animation: fadeUp 0.6s 0.25s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.main-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid #c4944e4d;
  padding-bottom: 20px;
}

.main-title {
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--text);
}

.main-title em {
  color: var(--gold);
  font-style: italic;
}

.main-sub {
  font-size: 14px;
  color: var(--text3);
  margin-top: 0.2rem;
  letter-spacing: 0.09em;
}

aside.sidebar {
  padding: 15px !important;
  box-shadow: 0px 0px 15px rgba(232, 209, 188, 50%) !important;
  border-radius: 8px;
}

.view-toggle {
  display: flex;
  gap: 0.3rem;
}

.vbtn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border2);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text3);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.vbtn.active,
.vbtn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

/* Active filters */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  min-height: 28px;
  margin-top: 0.6rem;
}

.chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.7rem;
  border: 1px solid #65000b;
  border-radius: 20px;
  background: #65000b;
  font-size: 0.62rem;
  color: #ffffff;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.chip:hover {
  background: var(--gold);
  color: #fff;
}

.chip-x {
  font-size: 0.7rem;
  font-weight: 700;
}

.clear-all {
  font-size: 0.62rem;
  color: var(--rose);
  cursor: pointer;
  text-decoration: underline;
  align-self: center;
  margin-left: auto;
  display: none;
}

.clear-all.show {
  display: block;
}

/* ── PRODUCT GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.cust-btns {
  display: flex;
  gap: 22px;
}

.sc-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700 !important;
  font-size: 14px;
  background: #F1E5CB !important;
  border-color: #e1ccb8 !important;
  border-width: 1px !important;
  border-style: solid !important;
  color: #2b2319 !important;
  padding: 15px 14px;
  border-radius: 5px !important;
  text-transform: capitalize;
  letter-spacing: 0;
  height: auto;
  transition: .35s ease !important;
  position: relative;
  overflow: hidden;
  margin-top: 15px !important;
}

.sc-card-btn:hover {
  background: rgba(241, 229, 203, 50%) !important;
  transform: translateY(0px);
}

.sc-card-btn:active {
  transform: translateY(0);
}

/* Wardrobe */
.sf-my-wardrobe {
  background: #fff;
  border: 1px solid #e6ddd2;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.sf-my-wardrobe-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.sf-wardrobe-item {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.sf-add-wardrobe-btn,
.sf-view-wardrobe-promo .sf-vwp-btn {
  width: calc(100% - 1.8rem);
  margin: 10px auto;
  font-weight: 700 !important;
  font-size: 14px;
  background: #F1E5CB !important;
  border-color: #e1ccb8 !important;
  border-width: 1px !important;
  border-style: solid !important;
  color: #2b2319 !important;
  padding: 15px 14px;
  border-radius: 5px !important;
  text-transform: capitalize;
  letter-spacing: 0;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .35s ease;
  position: relative;
  overflow: hidden;
}

.sf-view-wardrobe-promo .sf-vwp-btn {
  width: auto;
  padding: 12px;
  margin: 0;
}

.sf-add-wardrobe-btn:hover,
.sf-view-wardrobe-promo .sf-vwp-btn:hover {
  background: rgba(241, 229, 203, 50%) !important;
  color: #2b2319 !important;
  border-color: #e1ccb8 !important;
}

.account-card-icon {
  background-color: #fff !important;
}

.sf-wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sf-wardrobe-header {
  margin-bottom: 25px;
}

.sf-back-compass {
  margin-bottom: 15px;
}

/* Wardrobe */
#sfWardrobeToast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #1a120d;
  color: #caa65a;
  padding: 18px 26px;
  border: 1px solid #caa65a;
  border-radius: 4px;
  z-index: 999999;
  opacity: 0;
  transform: translateY(20px);
  transition: .3s;
}

#sfWardrobeToast.active {
  opacity: 1;
  transform: translateY(0);
}

#sfWardrobeItems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.sf-wardrobe-card {
  position: relative;
  border: 1px solid #ddd2c3;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  min-height: 90px;
}

.sf-wardrobe-name {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #2b2319;
}

.sf-wardrobe-pillar {
  margin-top: 6px;
  font-size: 14px;
  color: #8b8178;
}

.sf-remove-wardrobe {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: #666;
}

.sf-remove-wardrobe:hover {
  color: #000;
}

#sfWardrobeItems {
  display: grid !important;
  grid-template-columns:
    repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 24px !important;
}

.sf-wardrobe-modal-inner {
  position: relative;
}

.sf-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  border: none;
  background: #111;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0 !important;
  justify-content: center;
}

.sf-wardrobe-card {
  width: 100% !important;
  margin: 0 !important;
}

.sf-wardrobe-modal-inner {
  width: 90% !important;
  max-width: 1200px !important;
  background: #fff;
  padding: 20px;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  height: 80vh;
}

.sf-wardrobe-image img {

  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.sf-product-name {

  font-size: 30px;
  font-weight: 500;

  margin-bottom: 15px;
}

.sf-family-badge {

  display: inline-flex;
  align-items: center;

  gap: 8px;

  padding: 8px 14px;

  border-radius: 50px;

  background: #2d2d2d;

  color: #fff;

  font-size: 14px;
  font-weight: 600;
}

.sf-family-dot {

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #c59b3d;
}

.sf-intensity-wrap {

  display: flex;
  justify-content: space-between;

  margin-top: 18px;
}

.sf-intensity-label {

  font-weight: 600;
}

.sf-intensity-dots {

  font-size: 18px;

  letter-spacing: 2px;
}

.sf-intensity-dots .filled {

  color: #c59b3d;
}

.sf-actions {

  display: flex;

  gap: 10px;

  margin-top: 20px;
}

.sf-view-btn {
  flex: 1;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  background: #F1E5CB;
  color: #2b2319;
  text-decoration: none;
  font-weight: 600;
}

.sf-delete-btn {

  /* width: 55px; */

  border: none;

  border-radius: 8px;

  background: #F1E5CB !important;
  border: 1px solid #e1ccb8 !important;

  color: #2b2319 !important;

  cursor: pointer;
}

.sf-delete-btn:hover {
  background: #d8bea7 !important;
  color: #2b2319 !important;
  border: 1.5px solid #2b2319 !important;
}

.sf-add-wardrobe-btn.added {

  background: #2f7d44;
  color: #fff;
}

.sf-add-wardrobe-btn.added:hover {

  background: #256437;
}

/*wishlist */
.sf-wishlist-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 99;
}

.sf-wishlist-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

  transition: 0.25s ease;
}

.sf-wishlist-btn svg {
  width: 18px;
  height: 18px;
  stroke: #65000b;
}

.sf-wishlist-btn.active {
  background: #65000b;
}

.sf-wishlist-btn.active svg {
  stroke: #fff;
  fill: #fff;
}

.sf-wishlist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sf-heart-icon {
  transition: .25s ease;
}

.sf-wishlist-btn.added .sf-heart-icon,
.sf-heart-icon.active {
  fill: #d72638;
  stroke: #d72638;
}

/* Gender Filter Pills */
.sf-filter-gender .sf-filter-checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

/* Hide Default Checkbox */
.sf-filter-gender .sf-filter-checkbox-input {
  display: none;
}

/* Hide Old Checkbox UI */
.sf-filter-gender .sf-filter-checkbox-ui {
  display: none;
}

/* Pill Style */
.sf-filter-gender .sf-filter-checkbox-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid #dccfbe;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Text */
.sf-filter-gender .sf-filter-checkbox-text {
  font-size: 15px;
  font-weight: 600;
  color: #8b6a36;
  line-height: 1;
}

.sf-filter-gender .sf-filter-checkbox-item.active,
.sf-filter-gender .sf-filter-checkbox-item:has(input:checked) {
  background: #f3e8dd;
  border-color: #d67d09;
}

/* Active Text */
.sf-filter-gender .sf-filter-checkbox-item.active .sf-filter-checkbox-text,
.sf-filter-gender .sf-filter-checkbox-item:has(input:checked) .sf-filter-checkbox-text {
  color: #fff;
}

/* Hover */
.sf-filter-gender .sf-filter-checkbox-item:hover {
  transform: translateY(-1px);
}

.p-gender {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 30px;
  max-width: fit-content;
  padding: 7px 12px;
  line-height: 1;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  margin-top: 8px;
  position: absolute;
  top: 2%;
  right: 4%;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
}

/* COMMON SVG */
.p-gender::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Scrollable Filter */
.sf-scroll-filter {
  max-height: 170px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

/* Scrollbar Width */
.sf-scroll-filter::-webkit-scrollbar {
  width: 6px;
}

/* Scrollbar Track */
.sf-scroll-filter::-webkit-scrollbar-track {
  background: #eadfce;
  border-radius: 9px;
}

/* Scrollbar Thumb */
.sf-scroll-filter::-webkit-scrollbar-thumb {
  background: #d67d09;
  border-radius: 9px;
}

/* Hover */
.sf-scroll-filter::-webkit-scrollbar-thumb:hover {
  background: #bf6e05;
}

/* ===================================== */
/* MALE */
/* ===================================== */

.gender-male {
  background: #dbeeff;
  color: #0b4f8a;
}

.gender-male::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230b4f8a' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 3h5m0 0v5m0-5L13 11m-1 7a5 5 0 110-10 5 5 0 010 10z'/%3E%3C/svg%3E");
}

/* ===================================== */
/* FEMALE */
/* ===================================== */

.gender-female {
  background: #ffe0f1;
  color: #b0346b;
}

.gender-female::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23b0346b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 15v6m-3-3h6m3-8a6 6 0 11-12 0 6 6 0 0112 0z'/%3E%3C/svg%3E");
}

/* ===================================== */
/* UNISEX */
/* ===================================== */

.gender-unisex {
  background: #ede7ff;
  color: #6d46c2;
}

.gender-unisex::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236d46c2' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4v16m8-8H4'/%3E%3C/svg%3E");
}

.f-body,
.sf-filter-body {
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.tier-subtitle {
  font-size: 12px;
  color: #7a6d62;
  margin-top: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.sf-tier-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #d67d09;
  padding-bottom: 5px;
}

.sf-tier-div {
  margin: 0px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eadfce;
}

.save-btn {
  background: #d67d09;
  color: #fff;
}

.save-btn:hover {
  opacity: 0.9;
}

.sf-filter-group {
  border: 2px solid #d67d0914;
  padding: 8px 8px;
  border-radius: 8px;
  box-shadow: none !important;
  margin-bottom: 10px;
}

.sf-filter-group:last-child {
  margin-bottom: 0;
}

.sf-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  padding: 0px 0 14px;
}

.trails-bar-btns {
  margin-top: 12px !important;
}

span.trails-label,
.sf-filter-title,
.sf-filter-header {
  font-size: 14px;
  font-weight: 700;
  color: #0b3545;
}

.sf-filter-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2efea;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sf-filter-toggle svg {
  width: 14px;
  height: 14px;
}

span.cb-label,
span.sf-filter-checkbox-text {
  font-size: 14px !important;
  color: #2c2c2c !important;
  line-height: 1.3em !important;
}

/* ── LOADING SKELETON ── */
.skeleton-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skel-img {
  aspect-ratio: 3/4;
  background: linear-gradient(90deg,
      var(--bg2) 25%,
      var(--border) 50%,
      var(--bg2) 75%);
  background-size: 200%;
  animation: skel 1.4s infinite;
}

.skel-line {
  height: 10px;
  border-radius: 4px;
  margin: 0.5rem 0.8rem;
  background: linear-gradient(90deg,
      var(--bg2) 25%,
      var(--border) 50%,
      var(--bg2) 75%);
  background-size: 200%;
  animation: skel 1.4s infinite;
}

.skel-line.sm {
  width: 55%;
  height: 8px;
}

.skel-line.xs {
  width: 35%;
  height: 7px;
}

@keyframes skel {
  to {
    background-position: -200% 0;
  }
}

/* ── PRODUCT CARD ── */
.p-card {
  background: #e8d1bc36;
  border: 1px solid #e8d1bc;
  border-radius: 8px;
  overflow: hidden;
  cursor: auto;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  position: relative;
  animation: cardIn 0.5s both;
}

.p-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #65000b;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.p-img {
  aspect-ratio: 1;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.p-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%,
      rgba(196, 148, 78, 0.12) 0%,
      transparent 65%);
}

.bottle-wrap {
  width: 55%;
  transition:
    transform var(--transition),
    filter var(--transition);
  filter: drop-shadow(0 8px 20px rgba(90, 60, 20, 0.18));
}

.p-card:hover .bottle-wrap {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 16px 32px rgba(90, 60, 20, 0.28));
}

.p-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.18rem 0.55rem;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  font-weight: 500;
}

.p-badge.new {
  background: #4a7c59;
  color: #fff;
}

.p-badge.sale {
  background: var(--rose);
  color: #fff;
}

.p-badge.hot {
  background: var(--gold);
  color: #fff;
}

.p-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem;
  background: linear-gradient(to top,
      rgba(250, 248, 245, 0.98) 0%,
      transparent 100%);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.p-card:hover .p-overlay {
  transform: none;
}

.add-btn {
  width: 100%;
  padding: 0.52rem;
  background: #65000b;
  border: none;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  font-weight: 500;
  transition: background var(--transition);
}

.add-btn:hover {
  background: #7a5630;
}

.p-inspired {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.5;
  color: #7a6f66;
  font-style: italic;
  font-weight: 300;
  min-height: 25px;
}

.p-inspired strong {
  font-size: 17px;
  font-weight: 700;
  color: #4d4037;
}

.p-info {
  padding: 0.85rem 0.9rem 1rem;
}

.sfbrand {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b3545;
  font-weight: 400;
  margin-bottom: 10px;
  margin-top: 10px;
}

.p-name {
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #000;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  font-weight: 400;
}

.p-year {
  font-size: 0.6rem;
  color: var(--text3);
}

.stars {
  display: flex;
  gap: 1px;
}

.s {
  font-size: 0.55rem;
  color: var(--border2);
}

.s.on {
  color: #e8a020;
}

.p-rev {
  font-size: 0.58rem;
  color: var(--text3);
  margin-left: 0.25rem;
}

.p-price {
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 0.35rem;
  font-weight: 500;
}

.p-price s {
  font-size: 0.7rem;
  color: #65000b;
  font-weight: 300;
  margin-left: 0.25rem;
}

.p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.45rem;
}

.p-tag {
  font-size: 0.57rem;
  padding: 0.12rem 0.42rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text3);
  letter-spacing: 0.06em;
  transition: all var(--transition);
}

.p-card:hover .p-tag {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── PAGINATION ── */

.sf-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  margin: 50px auto 0;
  background: #fffaf5 !important;
  border: 1px solid #ead8c8 !important;
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  width: 100%;
}

.pg-numbers,
.sf-pagination-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 08px;
}

.sf-pagination-wrap::-webkit-scrollbar {
  display: none;
}

/* ALL BUTTONS SAME HEIGHT */
button.pg-nav-btn.disabled,
.pg-nav-btn,
.pg-number {
  height: 44px;
  min-height: 44px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: 0.25s ease;
  font-weight: 600;
  line-height: 1;
  box-sizing: border-box;
}

/* PAGE BUTTON */
.pg-number {
  min-width: 44px;
  padding: 0;
  background: #F1E5CB !important;
  color: #2b2319 !important;
  font-size: 16px;
  flex-shrink: 0;
}

/* ACTIVE */
.pg-number.active {
  background: #2b2319 !important;
  color: #fffaf5 !important;
  box-shadow: 0 0 0 4px rgba(232, 209, 188, 0.4) !important;
}

/* PREV / NEXT */
.pg-nav-btn {
  padding: 0 22px;
  background: #F1E5CB !important;
  color: #2b2319 !important;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  gap: 8px;
  flex-shrink: 0;
}

/* HOVER */
.pg-nav-btn:hover,
.pg-number:hover {
  background: #d8bea7;
  color: #2b2319;
  transform: translateY(-1px);
}

/* ACTIVE HOVER */
.pg-number.active:hover {
  background: #2b2319;
  color: #fff;
}

/* ICONS */
.pg-nav-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* DOTS */
.pg-dots {
  color: #8f7b67;
  font-size: 18px;
  padding: 0 2px;
  flex-shrink: 0;
}

/* RESULT TEXT */
.pg-results {
  color: #2b2319;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 10px;
  flex-shrink: 0;
}

/* DISABLED */
.pg-nav-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .sf-pagination-wrap {
    justify-content: flex-start;
    padding: 14px 16px;
  }

  .pg-nav-btn {
    padding: 0 16px;
    font-size: 12px;
  }

  .pg-number {
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    font-size: 14px;
  }

  .pg-results {
    font-size: 13px;
  }
}

.pager {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.pg-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border: 1px solid var(--border2);
  background: #fff;
  color: var(--text2);
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.pg-btn:hover,
.pg-btn.on {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.pg-btn.on {
  background: var(--gold);
  color: #fff;
  font-weight: 500;
}

/* ── RIGHT PANEL ── */
.r-panel {
  border-left: 1px solid var(--border);
  background: var(--surface);
  padding: 1.8rem 1.4rem;
  position: sticky;
  top: 0px;
  height: calc(100vh - 0px);
  overflow-y: auto;
  animation: slideInR 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}

@keyframes slideInR {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.rp-title {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.2rem;
  padding: 0.6rem 0;
  border-bottom: 1.5px solid var(--gold-pale);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rp-title::before {
  content: "✦";
  font-size: 0.55rem;
}

/* stats */
.stat-r {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.stat-l {
  font-size: 0.73rem;
  color: var(--text2);
}

.stat-v {
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 500;
}

/* promo */
.promo {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #2a1e12 0%, #3e2814 100%);
  padding: 1.4rem;
  text-align: center;
  position: relative;
}

.promo::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: conic-gradient(from 0deg,
      transparent,
      rgba(196, 148, 78, 0.08),
      transparent,
      rgba(196, 148, 78, 0.06),
      transparent);
  animation: spinPromo 10s linear infinite;
}

@keyframes spinPromo {
  to {
    transform: rotate(360deg);
  }
}

.promo-t {
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #f0e4cc;
  position: relative;
  margin-bottom: 0.4rem;
}

.promo-p {
  font-size: 0.7rem;
  color: rgba(240, 228, 204, 0.65);
  line-height: 1.6;
  position: relative;
  margin-bottom: 1rem;
}

.promo-btn {
  padding: 0.52rem 1.4rem;
  border: 1px solid rgba(196, 148, 78, 0.6);
  background: none;
  color: #c4944e;
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  position: relative;
  transition: all var(--transition);
}

.promo-btn:hover {
  background: var(--gold-light);
  color: #fff;
  border-color: transparent;
}

/* review items */
.rev-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity var(--transition);
}

.rev-item:hover {
  opacity: 0.72;
}

.rev-thumb {
  width: 50px;
  height: 65px;
  flex-shrink: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.rev-brand {
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #65000b9c;
  font-weight: 500;
}

.rev-name {
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.1rem 0;
}

/* tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  padding: 0.28rem 0.7rem;
  border: 1px solid #65000b50;
  border-radius: 20px;
  font-size: 0.63rem;
  color: var(--text2);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.06em;
  background: #fff;
}

/*.tag:hover {
  border-color: #65000b;
  color: #ffffff;
  background: #65000b;
}*/

.tag.big {
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
}

.tag.sm {
  font-size: 0.75rem;
}

/* ── TOAST / AJAX FEEDBACK ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998;
  background: var(--text);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
}

.toast.show {
  transform: none;
  opacity: 1;
}

.toast-icon {
  font-size: 1rem;
}

/* ── SPINNER ── */
.spinner-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  gap: 0.8rem;
  color: var(--text3);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── NO RESULTS ── */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
  animation: fadeUp 0.4s both;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.no-results h3 {
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: var(--text2);
  margin-bottom: 0.5rem;
}

.no-results p {
  font-size: 0.78rem;
  color: var(--text3);
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 2px;
}

/* ── Gender Pills ── */
.gender-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.gender-pill {
  padding: 5px 14px;
  border: 1px solid var(--border, #e8e0d4);
  border-radius: 50px;
  background: transparent;
  color: var(--text2, #6b5c4e);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.gender-pill:hover {
  border-color: var(--gold, #9a7040);
  color: var(--gold, #9a7040);
}

.gender-pill.active {
  background: var(--gold, #9a7040);
  border-color: var(--gold, #9a7040);
  color: #fff;
}

/* =========================================
   DISCOVERY TRAILS
========================================= */

.sf-discovery-trails {
  margin: 20px 0 30px;
}

.sf-trail-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
}

.sf-trail-btn {
  width: 100%;
  border: 1px solid #e7e7e7;
  background: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  line-height: 1.4;
}

.sf-trail-btn:hover {
  background: #f8f8f8;
  border-color: #d8d8d8;
}

/* =========================================
   COMPASS PANEL
========================================= */

.sf-compass-panel {
  margin-top: 0;
  margin-bottom: 1.6rem;
  padding: 15px;
  background: #f5f5f554;
  border: 1px solid #ead8c8;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(43, 35, 25, 0.05);
}

.sf-compass-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-bottom: 20px;
}

.sf-compass-icon {
  width: 26px;
  height: 26px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(201, 168, 76, 0.08);

  color: #c9a84c;

  flex-shrink: 0;
}

.sf-compass-heading-title {
  color: #2b2319;

  font-size: 30px;

  font-family: "Jost", Arial, Helvetica, sans-serif;

  font-weight: 500;

  letter-spacing: 0.2px;
}

.sf-compass-heading-subtitle {
  color: #7b6d61;

  font-size: 14px;

  line-height: 1.6;
}

.sf-compass-results {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;
}

.sf-compass-item {
  min-width: 180px;

  padding: 16px 18px;

  border-radius: 16px;

  background: #fffaf5;

  border: 1px solid #ead8c8;

  box-shadow: 0 4px 12px rgba(43, 35, 25, 0.04);

  transition: all 0.25s ease;

  cursor: pointer;
}

.sf-compass-item:hover {
  transform: translateY(-3px);

  border-color: #d8bea7;

  background: #fff;

  box-shadow: 0 10px 24px rgba(43, 35, 25, 0.08);
}

.sf-compass-name {
  color: #fff;

  font-size: 14px;
  font-weight: 600;

  margin-bottom: 6px;
}

.sf-compass-meta {
  color: rgba(255, 255, 255, 0.58);

  font-size: 11px;

  line-height: 1.5;
}

.sf-compass-results {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sf-compass-item {
  min-width: 160px;
  border: 1px solid rgba(212, 162, 76, 0.18);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 14px 16px;
  transition: 0.25s ease;
  cursor: pointer;
}

.sf-compass-item:hover {
  border-color: #d4a24c;
  transform: translateY(-2px);
}

.sf-compass-item-name {
  color: #2b2319;

  font-size: 16px;

  font-weight: 600;

  margin-bottom: 6px;
}

.sf-compass-item-meta {
  color: #7a6d62;

  font-size: 12px;

  line-height: 1.5;
}

.sf-compass-empty {
  padding: 10px 4px;
  background: #dcdcdc61;
  border-radius: 8px;
  padding: 10px;
}

.sf-compass-empty-text {
  color: rgb(43 35 25);

  font-size: 14px;

  line-height: 1.7;
}

/* =========================================
   STORY LAYER
========================================= */

.sf-story-layer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.sf-note-group {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 5px;
}

.sf-note-group strong {
  color: #111;
}

.sf-mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.sf-mood-tags span {
  background: #f2f2f2;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: 11px;
  line-height: 1;
}

/* =========================================
   COMPARE
========================================= */

.sf-compare-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  position: relative;
  user-select: none;
  transition: 0.3s ease;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  max-width: fit-content;
  margin-top: 15px !important;
}

/* Hide default checkbox */
.sf-compare-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Custom checkbox */
.sf-compare-check::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid #1f4e79;
  border-radius: 6px;
  background: #fff;
  display: inline-block;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.sf-compare-tray {
  position: fixed;
  left: 45%;
  bottom: -120px;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 24px);
  background: #111;
  color: #fff;
  padding: 18px;
  border-radius: 18px;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sf-compare-tray.active {
  bottom: 20px;
}

.sf-compare-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.sf-compare-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-compare-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-compare-title-wrap {
  margin-left: 10px;
  border-right: 1px solid #f1e5cb;
}

.sf-compare-title {
  font-size: 15px;
  font-weight: 600;
  width: 100px;
}

.sf-compare-btn,
.sf-reset-btn,
.sf-close-btn {
  border: none;
  background: #fff;
  color: #111;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.sf-close-btn {
  padding: 10px;
}

.sf-reset-btn,
.sf-close-btn {
  background-color: #27282a !important;
}

.sf-reset-btn:hover,
.sf-close-btn:hover {
  background-color: #404246 !important;
}

/* =========================================
   FILTER SCROLL
========================================= */

.sf-scroll-filter {
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.sf-scroll-filter::-webkit-scrollbar {
  width: 6px;
}

.sf-scroll-filter::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 20px;
}

.sf-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.sf-compare-modal.active {
  opacity: 1;
  visibility: visible;
}

.sf-compare-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.sf-compare-box {
  position: relative;
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  overflow: auto;
  margin: 40px auto;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  z-index: 2;
  padding: 15px;
}

.sf-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.sf-compare-col {
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 20px;
}

.sf-compare-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 15px;
}

.sf-compare-close {
  position: absolute;
  right: 15px;
  top: 15px;
  border: none;
  background: #111;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
}

.trail-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b2319;
  flex-shrink: 0;
}

.trail-icon svg {
  display: block;
}

.trails-bar {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 13px 10px;
  margin-bottom: 0;
  margin-top: 15px;
}

button.trail-btn {
  width: fit-content;
  padding: 10px 10px;
  color: #2b2319 !important;
  background: #f3e8dd !important;
  border: 0;
  border-radius: 30px;
  display: inline-flex;
  gap: 10px;
  margin: 2px;
}

button.trail-btn:hover .trail-icon {
  color: #f3e8dd;
}

.sf-compass-results {
  flex-direction: unset;
  flex-wrap: wrap;
}

.sf-compare-tray.active {
  position: sticky !important;
  transform: unset !important;
  z-index: 11111111 !important;
}

.sf-remove-top {
  border-radius: 08px;

}

.sf-compare-close {
  display: flex;
  align-items: center;
  width: 38px !important;
  max-width: unset;
  min-width: unset !important;
  padding: 0 !important;
  justify-content: center;
}

div#sfCompareContent h3 {
  font-size: 18px;
}

/* Hover effect */
.sf-compare-check:hover::before {
  border-color: #000;
  transform: scale(1.05);
}

/* Checked state */
.sf-compare-check input[type="checkbox"]:checked+* {
  color: #000;
}

/* Checked checkbox */
.sf-compare-check input[type="checkbox"]:checked~span::before {
  opacity: 1;
}

/* Tick icon */
.sf-compare-check::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 14px;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s ease;
  pointer-events: none;
}

/* Active checked style */
.sf-compare-check:has(input:checked)::before {
  background: #1f4e79;
  border-color: #1f4e79;
}

.sf-compare-check:has(input:checked)::after {
  opacity: 1;
  transform: scale(1);
}

.cust_woo_product_wrap .sf-compare-accords .sf-image-accords.sf-accord-vertical {
  gap: 5px;
  justify-content: flex-start !important;
}

.cust_woo_product_wrap .sf-compare-accords .sf-image-accords.sf-accord-vertical>div {
  max-width: fit-content !important;
}

div[style="grid-template-columns: 1fr;"] .p-card {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

div[style="grid-template-columns: 1fr;"] .p-card .p-img {
  width: auto !important;
  max-width: 30%;
  flex: 0 0 30%;
  aspect-ratio: unset !important;
}

div[style="grid-template-columns: 1fr;"] .p-card .p-img img {}

div[style="grid-template-columns: 1fr;"] .p-card .p-info {
  flex: 0 0 70%;
  width: 70%;
  display: flex;
  flex-wrap: wrap;
}

div[style="grid-template-columns: 1fr;"] .p-card .sfbrand,
div[style="grid-template-columns: 1fr;"] .p-card .p-name,
div[style="grid-template-columns: 1fr;"] .p-card .p-layer {
  width: 100%;
}

div[style="grid-template-columns: 1fr;"] .p-card .p-accords {
  width: 100%;
}

div[style="grid-template-columns: 1fr;"] .p-card .p-accords .sf-image-accords {
  max-width: fit-content;
  justify-content: flex-start !important;
  margin-left: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 10px;
}

div[style="grid-template-columns: 1fr;"] .p-card .p-inspired {
  min-height: unset;
}

div[style="grid-template-columns: 1fr;"] .p-card .sf-story-layer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

div[style="grid-template-columns: 1fr;"] .p-card .sc-card-btn {
  max-width: fit-content;
}

.cust_woo_product_wrap div[style="grid-template-columns: 1fr;"] .p-card {
  align-items: unset !important;
}

div[style="grid-template-columns: 1fr;"] .p-card .sf-compare-check {
  margin-left: 15px;
}

div[style="grid-template-columns: 1fr;"] .p-card .sf-compare-check::after {
  top: 15px;
}

.cb-item.sf-disabled {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(1);
}

.cb-item.sf-disabled .cb-label {
  text-decoration: line-through;
}

/* =========================================
WARDROBE MODAL
========================================= */

.sf-wardrobe-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.sf-wardrobe-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-wardrobe-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.sf-wardrobe-box {
  position: relative;
  width: 560px;
  max-width: 90%;
  background: #f6f2ed;
  border-radius: 20px;
  padding: 32px;
  z-index: 2;
}

.sf-wardrobe-items {
  margin-top: 24px;
}

.sf-wardrobe-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border: 1px solid #ddd2c3;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #fff;
}

.sf-wardrobe-name {
  font-size: 20px;
  font-weight: 500;
}

.sf-wardrobe-pillar {
  margin-top: 4px;
  color: #8b8178;
  font-size: 14px;
}

.sf-remove-wardrobe {
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

.sf-wardrobe-close {
  width: 100%;
  height: 52px;
  margin-top: 20px;
  border: none;
  background: #1a120d;
  color: #c6a76a;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.sf-empty-wardrobe {
  text-align: center;
  padding: 30px;
  color: #8a8177;
}

.sf-empty-wardrobe a,
.sf-empty-wardrobe .sf-continue-link {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-top: 14px;

  color: #1f1f1f;

  font-size: 15px;
  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  text-decoration: none !important;

  border: none !important;
  background: none !important;
  box-shadow: none !important;

  cursor: pointer;

  transition: 0.2s ease;
}

.sf-empty-wardrobe a:hover,
.sf-empty-wardrobe .sf-continue-link:hover {
  opacity: 0.7;

  transform: translateX(2px);
}

/* =========================================
WARDROBE MODAL END
========================================= */

/* =========================================
WARDROBE PROGRESS BAR
========================================= */

.sf-wardrobe-progress {
  background: #f7f4ef;
  border: 1px solid #e7dccf;
  border-radius: 15px;
  padding: 22px 20px 22px;
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
}

/* =========================================
TOP
========================================= */

.sf-wardrobe-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
TITLE
========================================= */

.sf-wardrobe-title {
  font-size: 15px;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: #2b2319;

  font-weight: 500;
}

/* =========================================
LINK
========================================= */

.sf-wardrobe-link {
  border: none;
  background: none !important;

  padding: 0;
  margin: 0;

  cursor: pointer;

  font-size: 15px;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  color: #1f4e79 !important;

  font-weight: 500;

  transition: 0.2s ease;
}

.sf-wardrobe-link:hover {
  opacity: 0.5;
  color: #1f4e79 !important;
  background: none !important;
}

/* =========================================
PILLARS
========================================= */

.sf-wardrobe-pillars {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 14px;
}

/* =========================================
SINGLE ITEM
========================================= */

.sfw-pillar {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* =========================================
DOT
========================================= */

.sfw-pillar-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  border: 1.5px solid #d6b15d;

  background: transparent;

  transition: 0.2s ease;
}

/* =========================================
ACTIVE STATE
========================================= */

.sfw-pillar.active .sfw-pillar-dot {
  background: #d67d09;

  border-color: #d67d09;
}

/* =========================================
TEXT
========================================= */

.sfw-pillar-text {
  font-size: 16px;
  color: #322923;
  line-height: 1;
  letter-spacing: 0.6px;
}

.sf-save-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #111;
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sf-save-toast.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

div#sfWardrobeItems {
  max-height: 65vh;
  overflow: auto;
  scroll-behavior: smooth;
  overflow-x: scroll;
}

button.sf-remove-wardrobe {
  padding: 0;
  background: transparent !important;
  color: #333333 !important;
}

button.sf-remove-wardrobe.sf-wardrobe-close {
  margin-top: 0;
  position: absolute;
  right: 4%;
  top: 10px;
  width: 30px;
  height: 30px;
}

/* =========================================
   UNAVAILABLE FILTERS
========================================= */

.cb-item.sf-unavailable {
  pointer-events: none;
  transition: 0.2s ease;
}

.cb-item.sf-unavailable .cb-label {
  text-decoration: line-through;
  opacity: 0.35;
}

.cb-item.sf-unavailable .cb-count {
  opacity: 0.5;
}

.cb-item.sf-unavailable .cb-box {
  border-color: #cfcfcf;
}

.sf-unavailable {
  position: relative;
  opacity: 1;
  cursor: not-allowed;
  pointer-events: auto !important;
}

.cb-item.sf-unavailable::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #2b2319;
  color: #fff;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 9999;
}

.cb-item.sf-unavailable:hover::after {
  opacity: 1;
  visibility: visible;
}

.sf-filter-search-wrap {
  position: relative;
  margin-bottom: 14px;
}

.sf-filter-search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.sf-filter-search-input {
  width: 100%;
  height: 54px;
  border: 1px solid #cfc7bc;
  border-radius: 14px;
  padding: 0 16px 0 50px;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: all 0.2s ease;
}

.sf-filter-search-input:focus {
  border-color: #9a7040;
  box-shadow: 0 0 0 3px rgba(154, 112, 64, 0.08);
}

.sf-filter-helper {
  /* background: #f8f4ef; */
  background: #fff;
  border: 1px solid #ead8c8;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #5f5348;
  margin-bottom: 10px;
}

.sf-filter-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-info-tip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #d67d09;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  line-height: 1;
}

.sf-info-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  background: #2b2319;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 999;
  pointer-events: none;
  text-align: left;
}

.sf-info-tip:hover::after {
  opacity: 1;
  visibility: visible;
}

.cust_woo_product_wrap aside.sidebar .sf-scroll-filter::-webkit-scrollbar-thumb {
  background: #bf6e05 !important;
}

.cust_woo_product_wrap aside.sidebar label.cb-item {
  margin-bottom: 0;
}

.cust_woo_product_wrap aside.sidebar label.cb-item .sf-filter-label-wrap {
  position: relative;
  width: 100%;
}

.cust_woo_product_wrap aside.sidebar label.cb-item .sf-filter-label-wrap button.sf-info-tip {
  width: 19px;
  min-width: 19px;
  height: 19px;
  padding: 0px 0 0 2px;
  align-items: center;
  transform: none;
  position: unset;
}

.cust_woo_product_wrap aside.sidebar label.cb-item .sf-filter-label-wrap button.sf-info-tip:after {
  right: 0;
  transform: translateY(0%);
  top: 20px;
}

.cust_woo_product_wrap aside.sidebar label.cb-item:last-child .sf-filter-label-wrap button.sf-info-tip:after {
  transform: translateY(-50%);
}

/* =========================================
   DISCOVERY TRAIL CARD
========================================= */

#sfTrailDescription {
  margin-bottom: 15px;
}

.sf-trail-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;

  padding: 18px 22px;

  border: 1px solid #e8ddd0;
  border-radius: 50px;

  background: linear-gradient(135deg, #fffaf5 0%, #f9f4ee 100%);

  position: relative;

  overflow: hidden;

  transition: all 0.3s ease;
}

.sf-trail-card:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* LEFT BADGE */
.trailbadge {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-trail-badge {
  margin: 0;

  padding: 10px 14px;

  border-radius: 50px;

  background: #2a2018;

  color: #fff;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;

  line-height: 1;
}

/* RIGHT CONTENT */
.trails-detail {
  flex: 1;
}

.sf-trail-title {
  margin: 0 0 10px;

  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;

  color: #2b2118;
}

.sf-trail-desc {
  margin: 0;

  font-size: 15px;
  line-height: 1.8;

  color: #6d6257;

  max-width: 850px;
}

/* subtle glow */
.sf-trail-card::before {
  content: "";

  position: absolute;

  top: -80px;
  right: -80px;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  background: radial-gradient(rgba(191, 151, 104, 0.12), transparent 70%);
}

.sf-wardrobe-modal-inner #sfWardrobeItems {
  display: flex !important;
  flex-wrap: wrap;
}

.sf-wardrobe-modal-inner #sfWardrobeItems .sf-empty-wardrobe {
  width: 100%;
}

.sf-wardrobe-modal-inner #sfWardrobeItems .sf-wardrobe-product {
  width: calc(33.33% - 16px);
}

.cust_woo_product_wrap aside.sidebar {
  background-color: #2b2319;
  height: calc(100vh - 10px);
  /*padding-bottom: 140px !important;*/
  color: #fff;
  padding: 18px !important;
  padding-bottom: 80px !important;
  padding-top: 40px !important;
}

.cust_woo_product_wrap .sf-filter-toggle {
  background: #e8d1bc;
}

.cust_woo_product_wrap .sf-filter-group,
.cust_woo_product_wrap .sf-tier-div {
  border-color: #e8d1bc;
}

.trail-icon svg {
  width: 13px;
  height: 13px;
}

button.trail-btn:hover .trail-icon svg path,
button.trail-btn:hover .trail-icon svg circle {
  stroke: #f3e8dd;
}

@media (max-width: 991px) {
  .sf-top-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .sf-toolbar-right {
    width: 100%;
  }

  .sf-sort-wrap {
    flex: 1;
  }

  .sf-sort-wrap select {
    width: 100%;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .sf-pagination-wrap {
    justify-content: flex-start;
    padding: 14px 16px;
  }

  .pg-nav-btn {
    padding: 0 16px;
    font-size: 12px;
  }

  .pg-number {
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    font-size: 14px;
  }

  .pg-results {
    font-size: 13px;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .sf-trail-card {
    flex-direction: column;

    gap: 14px;

    padding: 18px;
  }

  .sf-trail-title {
    font-size: 18px;
  }

  .sf-trail-desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .sf-trail-badge {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .sf-wardrobe-progress {
    padding: 16px;
  }

  .sf-wardrobe-pillars {
    gap: 10px;
  }

  .sfw-pillar-text {
    font-size: 13px;
  }

  .sf-compare-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sf-compare-btn {
    width: 100%;
  }
}










/* =========================================
   EMAIL PROMPT MODAL
========================================= */

#sfEmailPromptModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

#sfEmailPromptModal.active {
  display: flex;
}

.sf-ep-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 53, 69, 0.72);
  backdrop-filter: blur(4px);
}

.sf-ep-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  animation: sfEpIn 0.3s ease;
}

@keyframes sfEpIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.sf-ep-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  line-height: 1;

  padding: 5px;
  border-radius: 15px;
  background: #111;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
}

.sf-ep-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.sf-ep-title {
  font-size: 20px;
  font-weight: 700;
  color: #0b3545;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.sf-ep-desc {
  font-size: 14px;
  color: #5a5048;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sf-ep-input {
  width: 100% !important;
  height: 48px !important;
  border: 1px solid #d8cabb !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  outline: none !important;
  margin-bottom: 8px !important;
  transition: border-color 0.2s;
}

.sf-ep-input:focus {
  border-color: #0b3545;
}

.sf-ep-error {
  font-size: 12px;
  color: #c0392b;
  margin-bottom: 8px;
  text-align: left;
}

.sf-ep-submit {
  width: 100%;
  height: 50px;
  background: #0b3545;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
}

.sf-ep-submit:hover {
  background: #1a5272;
}

.sf-ep-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sf-ep-note {
  font-size: 11px;
  color: #8a8178;
  margin-top: 14px;
  letter-spacing: 0.5px;
}

/* =========================================
   VIEW WARDROBE PROMO BAR
========================================= */

.sf-view-wardrobe-promo {
  display: none;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0b3545, #1a5272);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  animation: sfEpIn 0.3s ease;
}

.sf-view-wardrobe-promo.active {
  display: flex;
}

.sf-vwp-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.sf-vwp-text {
  flex: 1;
  opacity: 0.9;
}

.sf-vwp-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.sf-vwp-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

#productGrid.pd-visible[style="grid-template-columns: 1fr;"] button.sf-add-wardrobe-btn {
  width: calc(100% - 32.5%);
  margin-left: auto;
  margin-right: 0.9rem;
}

.cust_woo_product_wrap #productGrid.pd-visible:not([style="grid-template-columns: 1fr;"]) .p-card {
  display: flex;
  flex-direction: column;
}

.cust_woo_product_wrap #productGrid.pd-visible:not([style="grid-template-columns: 1fr;"]) .p-card .p-img {
  height: 320px;
}

.cust_woo_product_wrap #productGrid.pd-visible:not([style="grid-template-columns: 1fr;"]) .p-card .p-info {
  height: calc(100% - 374px);
  display: flex;
  flex-direction: column;
}

.cust_woo_product_wrap #productGrid.pd-visible:not([style="grid-template-columns: 1fr;"]) .p-card button.sf-add-wardrobe-btn {
  margin-top: auto;
}

.cust_woo_product_wrap #productGrid.pd-visible:not([style="grid-template-columns: 1fr;"]) .p-card .p-accords {
  margin-top: auto;
}

.cust_woo_product_wrap .sf-image-accords.sf-accord-vertical {
  gap: 5px;
}

.sf-pagination-pill .pg-numbers button.pg-number {
  display: none;
}

.sf-pagination-pill .pg-numbers button.pg-number.active,
.sf-pagination-pill .pg-numbers button.pg-number:last-child {
  display: block;
}

.sf-pagination-pill .pg-numbers span.pg-dots:nth-child(2) {
  display: none;
}

@media screen and (max-width: 1300px) {
  .cust_woo_product_wrap {
    display: flex;
    flex-wrap: wrap;
  }

  .cust_woo_product_wrap aside.sidebar {
    width: 25% !important;
  }

  .cust_woo_product_wrap>main {
    width: calc(75% - 20px) !important;
  }
}

@media screen and (max-width: 1200px) {
  #productGrid.pd-fading {
    grid-template-columns: repeat(2, 1fr);
  }

  .cust_woo_product_wrap aside.sidebar {
    width: 300px !important;
  }

  .cust_woo_product_wrap>main {
    width: calc(100% - 320px) !important;
  }
}

@media screen and (max-width: 991px) {
  .sf-pagination-pill {
    flex-wrap: wrap;
  }

  .sf-pagination-pill .pg-results {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  #productGrid.pd-fading {
    grid-template-columns: repeat(1, 1fr);
  }

  .cust_woo_product_wrap aside.sidebar {
    width: 270px !important;
  }

  .cust_woo_product_wrap>main {
    width: calc(100% - 290px) !important;
  }

  .cust_woo_product_wrap .search-wrap {
    width: 100%;
  }

  .cust_woo_product_wrap #productGrid.pd-visible:not([style="grid-template-columns: 1fr;"]) .p-card .p-img {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .cust_woo_product_wrap aside.sidebar {
    width: 100% !important;
    position: relative;
    top: 0;
    padding-bottom: 40px !important;
    margin-bottom: 40px;
  }

  .cust_woo_product_wrap>main {
    width: calc(100% - 0px) !important;
    margin: 0;
  }

  #productGrid.pd-fading {
    grid-template-columns: repeat(2, 1fr);
  }

  .sf-pagination-pill .pg-results {
    display: none;
  }

  #pager .sf-pagination-wrap {
    justify-content: center;
    margin: 0;
    padding: 14px 10px;
  }
}

@media screen and (max-width: 760px) {
  .cust_woo_product_wrap aside.sidebar {
    display: block;
  }
}

@media screen and (max-width: 640px) {
  #productGrid.pd-fading {
    grid-template-columns: repeat(1, 1fr);
  }

  button.pg-nav-btn.disabled,
  .pg-nav-btn {
    height: 40px;
    min-height: 40px;
  }

  .pg-number {
    min-width: 35px;
    height: 35px;
    min-height: 35px;
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .sf-toolbar-right {
    flex-direction: column;
    padding: 14px 10px;
  }

  .pg-nav-btn {
    font-size: 10px;
  }

  .sf-toolbar-right .sf-sort-wrap {
    width: 100%;
  }

  #sfViewWardrobePromo {
    flex-wrap: wrap;
    margin: 10px 0 0 0;
    flex-direction: column;
  }

  .cust_woo_product_wrap>main {
    border-radius: 10px;
  }
}

/* Inline styles extracted from sf-product-filter.php */
.sf-tier-badge {
    display: inline-block;
    background: #0B3545;
    color: #F1E5CB;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin: 14px 0px;
}
.sf-mh-160 { max-height: 160px; }
.sf-mh-200 { max-height: 200px; }
.sf-mh-250 { max-height: 250px; }
.sf-mh-260 { max-height: 260px; }