.explore-unified{
  position:relative;
  background:
    linear-gradient(
      to bottom,
      #f4f1ea 0%,
      #f6f3ed 18%,
      #f8f6f2 42%,
      #f5f3ee 100%
    );
  color:#33312E;
  font-family:'Inter',sans-serif;
  padding:72px 20px 64px;
  overflow:hidden;
}

.explore-unified::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(
    to right,
    rgba(31,61,43,0) 0%,
    rgba(31,61,43,.16) 20%,
    rgba(31,61,43,.28) 50%,
    rgba(31,61,43,.16) 80%,
    rgba(31,61,43,0) 100%
  );
  pointer-events:none;
}

.explore-unified .container{
  max-width:1280px;
  margin:0 auto;
  position:relative;
  z-index:1;
}

.explore-unified h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.25rem,4vw,3.4rem);
  line-height:1.06;
  font-weight:500;
  letter-spacing:.06em;
  text-transform:uppercase;
  text-align:center;
  color:#33312E;
  margin:0 0 14px;
  text-rendering:optimizeLegibility;
}

.explore-unified h2::before{
  content:"";
  display:block;
  width:48px;
  height:1px;
  background:rgba(31,61,43,.28);
  margin:0 auto 18px;
}

.explore-intro{
  font-size:clamp(1rem,1.2vw,1.08rem);
  line-height:1.7;
  text-align:center;
  color:#625c52;
  max-width:760px;
  margin:0 auto 34px;
}

.explore-collapsible-shell{
  position:relative;
}

.explore-layout{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:32px;
  align-items:start;
}

.category-boxes{
  position:sticky;
  top:88px;
  align-self:start;
}

.filters-shell{
  background:rgba(255,255,255,.58);
  border:1px solid rgba(31,61,43,.08);
  border-radius:24px;
  padding:18px;
  box-shadow:0 18px 40px rgba(23,20,16,.08);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  max-height:calc(100vh - 110px);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

.filters-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(31,61,43,.10);
}

.filters-title{
  font-family:'Merriweather',serif;
  font-size:1.05rem;
  font-weight:700;
  color:#33312E;
  margin:0;
  letter-spacing:.02em;
}

.filters-subtitle{
  font-size:13px;
  line-height:1.5;
  color:#6f695f;
  margin-top:4px;
}

.category-group{
  background:rgba(255,255,255,.78);
  border-radius:18px;
  padding:14px 16px;
  box-shadow:0 8px 22px rgba(0,0,0,.04);
  margin-bottom:12px;
  border:1px solid rgba(31,61,43,.06);
}

.category-group:last-child{
  margin-bottom:0;
}

.category-group details[open] summary{
  margin-bottom:10px;
}

.category-group summary{
  list-style:none;
  font-family:'Merriweather',serif;
  font-size:14px;
  font-weight:700;
  color:#33312E;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  letter-spacing:.01em;
}

.category-group summary::-webkit-details-marker{
  display:none;
}

.category-group summary::after{
  content:"▾";
  font-size:13px;
  color:#1F3D2B;
  transition:transform .2s ease;
}

.category-group details:not([open]) summary::after{
  transform:rotate(-90deg);
}

.filter-option{
  display:grid;
  grid-template-columns:20px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 4px;
  font-size:14px;
  color:#4c4944;
  cursor:pointer;
  border-radius:10px;
  transition:background .2s ease,opacity .2s ease,color .2s ease;
}

.filter-option .count{
  color:#7d766d;
  font-size:12px;
  white-space:nowrap;
  transition:transform .22s ease,opacity .22s ease,color .22s ease;
}

.filter-option.count-updated .count{
  transform:scale(1.08);
  opacity:1;
}

.filter-option.is-disabled{
  opacity:.42;
  color:#aca49a;
  cursor:not-allowed;
  pointer-events:auto;
}

.filter-option.is-disabled input{
  pointer-events:none;
}

.filter-option.is-disabled:hover{
  background:transparent;
}

.filter-option.is-disabled input[type="checkbox"]{
  cursor:not-allowed;
}

.filter-option.is-disabled .count{
  color:#b9b1a8;
}

.filter-option:hover{
  background:rgba(31,61,43,.045);
}

.filter-option input[type="checkbox"]{
  margin:0;
  width:16px;
  height:16px;
  accent-color:#1F3D2B;
  cursor:pointer;
}

.filters-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

#clear-filters{
  background:none;
  border:none;
  color:#1F3D2B;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
  font-size:14px;
  font-family:inherit;
  font-weight:600;
  padding:0;
}

#clear-filters:hover{
  color:#163020;
}

.results-column{
  min-width:0;
}

.search-shell{
  margin-bottom:18px;
}

.search-label{
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6e685f;
  margin:0 0 8px;
}

.search-input-wrap{
  position:relative;
}

.search-input{
  width:100%;
  min-height:58px;
  padding:0 52px 0 18px;
  border:1px solid rgba(31,61,43,.10);
  border-radius:18px;
  background:rgba(255,255,255,.82);
  color:#33312E;
  font:inherit;
  font-size:15px;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

.search-input::placeholder{
  color:#8f887f;
}

.search-input:focus{
  outline:none;
  border-color:rgba(31,61,43,.28);
  box-shadow:
    0 0 0 3px rgba(31,61,43,.07),
    0 14px 30px rgba(0,0,0,.06);
  background:rgba(255,255,255,.94);
}

.search-clear{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border:none;
  border-radius:999px;
  background:rgba(31,61,43,.08);
  color:#1F3D2B;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:transform .15s ease,background .2s ease;
}

.search-clear:hover{
  transform:scale(1.04);
  background:rgba(31,61,43,.14);
}

.search-help{
  font-size:12px;
  color:#7f786f;
  margin-top:8px;
  padding-left:2px;
}

.search-suggestions{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(31,61,43,.08);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  padding:8px;
  z-index:30;
  display:none;
  max-height:320px;
  overflow:auto;
}

.search-suggestions.show{
  display:block;
}

.search-suggestion{
  width:100%;
  text-align:left;
  border:none;
  background:transparent;
  padding:11px 12px;
  border-radius:12px;
  cursor:pointer;
  font:inherit;
  color:#33312E;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.search-suggestion:hover,
.search-suggestion.is-active{
  background:rgba(31,61,43,.05);
}

.search-suggestion-main{
  font-size:14px;
  font-weight:600;
  color:#33312E;
}

.search-suggestion-meta{
  font-size:12px;
  color:#8d857b;
  white-space:nowrap;
}

.results-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  background:rgba(255,255,255,.68);
  border:1px solid rgba(31,61,43,.08);
  border-radius:20px;
  padding:16px 18px;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  margin-bottom:18px;
}

.results-toolbar-left{
  min-width:0;
  flex:1 1 420px;
}

.results-toolbar-right{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
}

#result-count{
  font-size:16px;
  color:#33312E;
  font-weight:700;
  margin:0 0 10px;
}

#active-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

#active-filters:empty{
  display:none;
}

.filter-chip{
  background:linear-gradient(180deg,#2A4F39 0%,#1F3D2B 100%);
  color:#fff;
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  cursor:pointer;
  border:none;
  font-family:inherit;
  transition:transform .15s ease,opacity .15s ease,box-shadow .2s ease;
  box-shadow:0 8px 18px rgba(31,61,43,.18);
}

.filter-chip:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 22px rgba(31,61,43,.22);
}

.desktop-hint{
  font-size:13px;
  color:#7f786f;
  white-space:nowrap;
}

.collapsible-grid-wrapper{
  position:relative;
}

.grid-preview{
  position:relative;
  overflow:hidden;
  transition:height .45s ease;
}

.explore-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.card{
  position:relative;
  background:rgba(255,255,255,.82);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 14px 32px rgba(0,0,0,.08);
  transition:transform .28s ease,opacity .28s ease,box-shadow .28s ease,border-color .28s ease;
  opacity:0;
  transform:translateY(16px) scale(.985);
  cursor:pointer;
  will-change:transform,opacity;
  border:1px solid rgba(31,61,43,.07);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.card.hide{
  display:none !important;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 44px rgba(23,20,16,.12);
  border-color:rgba(31,61,43,.16);
}

.card img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  display:block;
}

.card h3{
  padding:17px 16px 19px;
  font-family:'Merriweather',serif;
  font-size:16px;
  font-weight:700;
  color:#33312E;
  margin:0;
  background:linear-gradient(
    to bottom,
    rgba(255,255,255,.72) 0%,
    rgba(244,241,234,.94) 100%
  );
  text-align:center;
  line-height:1.35;
  transition:color .2s ease,letter-spacing .2s ease;
}

.card a{
  color:inherit;
  text-decoration:none;
  display:block;
  height:100%;
}

.card.has-link,
.card.has-link *{
  cursor:pointer;
}

.card.has-link{
  border-color:rgba(31,61,43,.14);
}

.card.has-link h3{
  color:#1F3D2B;
  font-weight:700;
}

.card.has-link h3::after{
  content:"↗";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  margin-left:8px;
  width:20px;
  height:20px;
  border-radius:999px;
  background:rgba(31,61,43,.08);
  color:#1F3D2B;
  font-size:12px;
  font-weight:700;
  line-height:1;
  transition:transform .2s ease,background .2s ease,color .2s ease;
}

.card.has-link:hover{
  border-color:rgba(31,61,43,.30);
  box-shadow:0 24px 48px rgba(31,61,43,.14);
}

.card.has-link:hover h3{
  color:#163020;
  letter-spacing:.01em;
}

.card.has-link:hover h3::after{
  background:#1F3D2B;
  color:#fff;
  transform:scale(1.06);
}

.preview-fade{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:120px;
  pointer-events:none;
  background:linear-gradient(
    to bottom,
    rgba(248,246,242,0) 0%,
    rgba(245,243,238,.88) 55%,
    rgba(245,243,238,1) 100%
  );
  transition:opacity .25s ease;
  opacity:1;
  z-index:2;
}

.preview-fade.hidden{
  opacity:0;
}

.toggle-wrap{
  position:absolute;
  left:0;
  right:0;
  bottom:16px;
  display:flex;
  justify-content:center;
  z-index:3;
  pointer-events:none;
}

.toggle-cards-btn{
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  min-width:220px;
  padding:13px 26px;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:600;
  border:1px solid #1F3D2B;
  border-radius:999px;
  background:linear-gradient(180deg,#2A4F39 0%,#1F3D2B 100%);
  color:#fff;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,opacity .2s ease,border-color .2s ease;
  font-family:inherit;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.toggle-cards-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.22);
  background:linear-gradient(180deg,#1D3A2A 0%,#163020 100%);
  border-color:#163020;
}

.toggle-cards-btn .toggle-meta{
  font-size:12px;
  opacity:.9;
  font-weight:600;
}

.toggle-cards-btn[hidden],
.toggle-wrap[hidden]{
  display:none !important;
}

.mobile-filter-toggle{
  display:none;
  width:100%;
  min-height:52px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border:1px solid rgba(31,61,43,.08);
  border-radius:14px;
  background:rgba(255,255,255,.72);
  color:#2B2B2B;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  font-size:16px;
  font-weight:600;
  font-family:inherit;
  cursor:pointer;
  margin-bottom:14px;
}

.mobile-filter-toggle-text{
  display:flex;
  align-items:center;
  gap:10px;
}

.mobile-filter-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  background:linear-gradient(180deg,#2A4F39 0%,#1F3D2B 100%);
  color:#fff;
  font-size:12px;
  line-height:1;
}

.mobile-filter-chevron{
  transition:transform .25s ease;
  color:#1F3D2B;
}

.mobile-filter-toggle[aria-expanded="true"] .mobile-filter-chevron{
  transform:rotate(180deg);
}

#lightbox{
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  background:rgba(17,15,12,.88);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
  cursor:pointer;
  opacity:0;
  transition:opacity .3s ease;
  padding:20px;
  box-sizing:border-box;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

#lightbox.show{
  opacity:1;
}

#lightbox img{
  max-width:90%;
  max-height:80vh;
  border-radius:14px;
  box-shadow:0 18px 44px rgba(0,0,0,.45);
}

#lightbox p{
  margin-top:15px;
  font-size:16px;
  color:#F4F1EA;
  text-align:center;
  line-height:1.55;
}

#no-results{
  display:none;
  text-align:center;
  margin-top:34px;
  font-size:18px;
  color:#33312E;
  background:rgba(255,255,255,.72);
  padding:24px;
  border-radius:18px;
  border:1px solid rgba(31,61,43,.08);
  box-shadow:0 12px 28px rgba(0,0,0,.05);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

@media (min-width:901px){
  .filters-shell{
    max-height:calc(100vh - 110px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }

  .grid-preview{
    overflow:hidden;
  }
}

@media (max-width:1100px){
  .explore-layout{
    grid-template-columns:290px minmax(0,1fr);
    gap:24px;
  }

  .explore-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:900px){
  .explore-layout{
    grid-template-columns:1fr;
    gap:24px;
  }

  .category-boxes{
    position:relative;
    top:auto;
  }

  .filters-shell{
    padding:14px;
    max-height:none;
    overflow:visible;
  }

  .explore-unified h2{
    font-size:clamp(2rem,7vw,2.7rem);
  }

  .explore-intro{
    font-size:16px;
    margin-bottom:24px;
  }

  .results-toolbar{
    padding:14px;
  }

  .desktop-hint{
    display:none;
  }

  .explore-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .grid-preview{
    overflow:hidden;
  }
}

@media (max-width:767px){
  .mobile-filter-toggle{
    display:flex;
  }

  .category-boxes{
    display:none;
    position:relative;
    top:auto;
  }

  .category-boxes.mobile-open{
    display:block;
  }
}

@media (max-width:600px){
  .explore-unified{
    padding:44px 12px 40px;
  }

  .category-group{
    padding:14px;
    margin-bottom:12px;
  }

  .category-group summary{
    font-size:15px;
  }

  .filter-option{
    font-size:14px;
    align-items:start;
  }

  .results-toolbar{
    border-radius:16px;
  }

  .search-input{
    min-height:54px;
    font-size:14px;
    padding:0 48px 0 16px;
  }

  .search-suggestion{
    padding:10px 11px;
  }

  .search-suggestion-main{
    font-size:13px;
  }

  .search-suggestion-meta{
    font-size:11px;
  }

  .explore-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .card{
    border-radius:20px;
  }

  .card h3{
    font-size:15px;
    padding:14px 13px 15px;
  }

  .preview-fade{
    height:92px;
  }

  .toggle-wrap{
    bottom:10px;
  }

  .toggle-cards-btn{
    width:100%;
    max-width:320px;
    font-size:14px;
    padding:12px 18px;
  }
}