/**
 * Wrapping: clean Naturefood-inspired category panels.
 * Scoped to the homepage directory. Never styles products, shop or checkout.
 * Existing accordion content is preserved for accessibility and category links.
 */
.nf-condensed-home .nf-category-fold-grid,
.nf-condensed-home .wrapping-luxury-category-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 15px !important;
  width: 100%;
}

.nf-condensed-home details.nf-category-fold,
.nf-condensed-home details.wrapping-luxury-category-card {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(162, 119, 61, .36) !important;
  border-bottom: 1px solid rgba(162, 119, 61, .27) !important;
  border-radius: 0 !important;
  background: #0c0b0a !important;
  box-shadow: none !important;
  overflow: hidden;
}

.nf-condensed-home details.nf-category-fold > summary,
.nf-condensed-home details.wrapping-luxury-category-card > summary {
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  width: 100%;
  min-height: 96px;
  margin: 0 !important;
  padding: 18px 60px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #0c0b0a !important;
  background-image: none !important;
  color: #d6ae6c !important;
  text-align: center !important;
  text-transform: uppercase;
  font-family: Baskerville, 'Times New Roman', Georgia, serif !important;
  font-size: clamp(23px, 3vw, 37px) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: .045em !important;
  list-style: none !important;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nf-condensed-home details.nf-category-fold > summary::-webkit-details-marker,
.nf-condensed-home details.wrapping-luxury-category-card > summary::-webkit-details-marker { display: none; }

.nf-condensed-home details.nf-category-fold > summary::marker,
.nf-condensed-home details.wrapping-luxury-category-card > summary::marker { content: ''; }

/* All labels match the reference: delicate gold serif, centered. */
.nf-condensed-home details.nf-category-fold > summary .nf-fold-name,
.nf-condensed-home details.wrapping-luxury-category-card > summary .nf-fold-name {
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  color: #d6ae6c !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-align: center !important;
  letter-spacing: inherit !important;
  background: linear-gradient(100deg, #f1dcac 0%, #ba8c49 48%, #ebce91 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subcategory numbers remain in the expanded panel links but not the clean bar. */
.nf-condensed-home details.nf-category-fold > summary .nf-fold-count,
.nf-condensed-home details.wrapping-luxury-category-card > summary .nf-fold-count { display: none !important; }
.nf-condensed-home details.nf-category-fold > summary .nf-fold-mark,
.nf-condensed-home details.wrapping-luxury-category-card > summary .nf-fold-mark { display: none !important; }

.nf-condensed-home details.nf-category-fold > summary::after,
.nf-condensed-home details.wrapping-luxury-category-card > summary::after {
  content: '+';
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font: 400 24px/1 Arial, sans-serif;
  color: #b38a4e;
  opacity: .72;
  letter-spacing: 0;
}
.nf-condensed-home details.nf-category-fold[open] > summary::after,
.nf-condensed-home details.wrapping-luxury-category-card[open] > summary::after { content: '−'; }
.nf-condensed-home details.nf-category-fold > summary:hover,
.nf-condensed-home details.wrapping-luxury-category-card > summary:hover { background: #15120e !important; }
.nf-condensed-home details.nf-category-fold > summary:focus-visible,
.nf-condensed-home details.wrapping-luxury-category-card > summary:focus-visible { outline: 2px solid #d6ae6c; outline-offset: -3px; }

.nf-condensed-home details.nf-category-fold > .nf-fold-contents,
.nf-condensed-home details.wrapping-luxury-category-card > .nf-fold-contents,
.nf-condensed-home details.wrapping-luxury-category-card > div {
  border-top: 1px solid rgba(162, 119, 61, .22) !important;
  background: #11100e !important;
  color: #e8decf;
}
.nf-condensed-home details.nf-category-fold .nf-fold-links a:hover,
.nf-condensed-home details.wrapping-luxury-category-card a:hover { color: #f1d49a !important; }

@media (max-width: 650px) {
  .nf-condensed-home .nf-category-fold-grid,
  .nf-condensed-home .wrapping-luxury-category-grid { gap: 10px !important; }
  .nf-condensed-home details.nf-category-fold > summary,
  .nf-condensed-home details.wrapping-luxury-category-card > summary {
    min-height: 82px;
    padding: 17px 42px !important;
    font-size: clamp(19px, 5.2vw, 28px) !important;
    letter-spacing: .025em !important;
  }
  .nf-condensed-home details.nf-category-fold > summary::after,
  .nf-condensed-home details.wrapping-luxury-category-card > summary::after {
    right: 14px;
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nf-condensed-home details.nf-category-fold > summary,
  .nf-condensed-home details.wrapping-luxury-category-card > summary { transition: none; }
}
