/* RC130 | Christmas collection search and navigation refinements.
 * Guarded by RC127's public-Christmas or RC128 admin-preview body class.
 * The same DOM controls, WooCommerce URLs and filtering behaviour are retained.
 */
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 {
  --wk-rc130-forest: #153e30;
  --wk-rc130-forest-hover: #20543f;
  --wk-rc130-gold: #a87940;
  --wk-rc130-line: rgba(168,121,64,.23);
  margin: 0 auto clamp(1rem,2vw,1.5rem) !important;
  padding: clamp(.85rem,1.55vw,1.1rem) clamp(.9rem,2.15vw,1.65rem) !important;
  border: 1px solid rgba(174,134,78,.25) !important;
  border-radius: 22px !important;
  background: linear-gradient(125deg,#fffcf7 0%,#fbf6ec 100%) !important;
  box-shadow: 0 12px 32px rgba(58,40,20,.055) !important;
  overflow: visible;
}
/* Breadcrumb is gentle context, not the primary call to action. */
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-breadcrumbs-v4290 {
  margin: 0 0 .75rem !important;
  gap: .3rem .55rem;
  color: #746b5c;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .013em;
  line-height: 1.55;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-breadcrumbs-v4290 a {color:#70665a;}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-breadcrumbs-v4290 strong {color:#8a5c2a;font-weight:750;}
/* Search and finder share a baseline. Always let the real form submit as before. */
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-primary-tools-v4312 {
  display:block !important;
  margin:0 !important;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-tools-v4290 {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:clamp(.55rem,1.3vw,.9rem) !important;
  width:100% !important;
  max-width:1100px !important;
  min-width:0 !important;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:50px;
  border:1px solid rgba(180,137,79,.35);
  border-radius:999px;
  background:#fffdfa;
  box-shadow:none !important;
  overflow:hidden;
  isolation:isolate;
}
/* Draw a simple magnifier without replacing the actual search input or its label. */
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search::before {
  content:"";
  position:absolute;
  top:50%;left:1.07rem;
  width:15px;height:15px;
  border:1.8px solid #ae804d;
  border-radius:50%;
  transform:translateY(-62%);
  pointer-events:none;
  z-index:1;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search::after {
  content:"";
  position:absolute;
  top:calc(50% + 6px);left:1.99rem;
  width:8px;height:1.8px;
  background:#ae804d;
  transform:rotate(48deg);
  transform-origin:left center;
  pointer-events:none;
  z-index:1;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search input[type="search"] {
  min-width:0;
  min-height:50px !important;
  padding:.7rem 1rem .7rem 3.05rem !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  font-size:clamp(.87rem,1.1vw,1rem) !important;
  color:#28221d;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search input[type="search"]::placeholder {color:#91897f;opacity:1;}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search button[type="submit"] {
  min-height:50px !important;
  padding:.6rem clamp(1rem,2vw,1.5rem) !important;
  border:0 !important;
  border-radius:0 999px 999px 0 !important;
  background:var(--wk-rc130-forest) !important;
  color:#fff9ed !important;
  font-size:.72rem !important;
  font-weight:850 !important;
  letter-spacing:.1em !important;
  line-height:1.2;
  cursor:pointer;
  transition:background-color .16s ease;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search button[type="submit"]:hover {background:var(--wk-rc130-forest-hover) !important;}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290 {min-width:0;min-height:0 !important;}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290 .wk-filter-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px !important;
  padding:.65rem 1.25rem !important;
  gap:.45rem;
  border:1px solid rgba(168,121,64,.34) !important;
  border-radius:999px !important;
  background:#fffaf3 !important;
  color:#91612e !important;
  box-shadow:none !important;
  font-size:.7rem !important;
  font-weight:850 !important;
  letter-spacing:.09em !important;
  white-space:nowrap;
  cursor:pointer;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290 .wk-filter-toggle::before {
  content:"✧";
  display:inline-block;
  color:#aa7a3a;
  font-size:1.25rem;
  line-height:.65;
  font-weight:400;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290 .wk-filter-toggle span {margin:0;color:inherit !important;}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290 .wk-filter-toggle:hover,
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290 .wk-filter-toggle[aria-expanded="true"] {
  border-color:#a87a40 !important;
  background:#f4e7d1 !important;
  color:#724c22 !important;
}
/* Gold rails and a clear label-to-chip rhythm. Nothing is hidden or re-ordered. */
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-nav-group-v4290,
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-refinements-v4290 {
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  align-items:center;
  gap:.55rem 1.15rem;
  margin-top:.86rem !important;
  padding-top:.78rem !important;
  border-top:1px solid var(--wk-rc130-line) !important;
  min-width:0;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-refinements-v4290 {margin-top:.72rem !important;padding-top:.72rem !important;}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-nav-label-v4290 {
  color:#865928 !important;
  font-size:.65rem !important;
  font-weight:800 !important;
  letter-spacing:.105em !important;
  line-height:1.5;
  white-space:nowrap;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-chip-row-v4290 {
  display:flex !important;
  align-items:center;
  flex-wrap:wrap !important;
  gap:.47rem !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-chip-row-v4290>a,
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-more-v4290 summary,
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-refinements-v4290 a {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:39px !important;
  padding:.56rem .9rem !important;
  border:1px solid rgba(168,121,64,.26) !important;
  border-radius:999px !important;
  background:rgba(255,253,248,.92) !important;
  box-shadow:none !important;
  color:#454039 !important;
  font-size:.74rem !important;
  font-weight:680 !important;
  letter-spacing:0 !important;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
  transition:background-color .16s ease,border-color .16s ease;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-chip-row-v4290>a.is-current {
  border-color:#c6a06c !important;
  background:var(--wk-rc130-forest) !important;
  color:#fffaf2 !important;
  font-weight:800 !important;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-chip-row-v4290>a:not(.is-current):hover,
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-refinements-v4290 a:hover,
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-more-v4290 summary:hover {
  background:#f4e9d8 !important;
  border-color:#ba8b52 !important;
  color:#633f20 !important;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-more-v4290 summary {
  color:#875828 !important;
  font-size:.69rem !important;
  font-weight:820 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase;
  cursor:pointer;
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-more-v4290[open] > div {
  border:1px solid rgba(168,121,64,.32);
  border-radius:14px;
  background:#fffdf9;
  box-shadow:0 15px 30px rgba(40,25,12,.12);
}
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-refinements-v4290>div {
  display:flex;
  flex-wrap:wrap;
  min-width:0;
  gap:.47rem;
}
/* Support keyboard, touch and high-contrast usability. */
body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 :is(a,button,input,summary):focus-visible {
  outline:3px solid #b98b4b !important;
  outline-offset:3px !important;
}
@media (max-width:900px) {
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-nav-group-v4290,
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-refinements-v4290 {
    grid-template-columns:1fr;
    gap:.55rem;
  }
}
@media (max-width:640px) {
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 {
    padding:.88rem .8rem !important;
    border-radius:17px !important;
  }
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-tools-v4290 {
    grid-template-columns:1fr !important;
    gap:.6rem !important;
  }
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290,
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290 .wk-shop-filter-inline-v3484 {width:100%;}
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-tool-links-v4290 .wk-filter-toggle {width:100% !important;}
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search input[type="search"] {font-size:16px !important;}
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-shop-mini-search button[type="submit"] {padding:.6rem .8rem !important;font-size:.65rem !important;}
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-chip-row-v4290>a,
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-context-nav-v4290 .wk-category-more-v4290 summary,
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-refinements-v4290 a {white-space:normal;min-height:38px !important;font-size:.72rem !important;}
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-nav-group-v4290,
  body:is(.wk-rc127-festive--category,.wk-rc127-festive--tag) .wk-category-refinements-v4290 {margin-top:.7rem !important;padding-top:.65rem !important;}
}
