/* Keep the collection focused on the products, with optional controls tucked away. */
.m-shop-page { padding-top: 28px; padding-bottom: 60px; min-height: 60vh; }
.m-shop-home { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.m-shop-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 10px 0 20px; }
.m-shop-heading h1 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 42px); font-weight: 600; line-height: 1.2; }
.m-shop-change { flex-shrink: 0; border: 0; border-bottom: 1px solid #c8b9a3; background: transparent; font: inherit; font-size: 13px; min-height: 44px; cursor: pointer; }
.m-shop-tools { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px; padding: 14px 0; margin-bottom: 12px; border-top: 1px solid var(--m-beige-border); }
.m-shop-count { font-size: 13px; line-height: 44px; }
.m-shop-filters summary { display: flex; gap: 10px; align-items: center; justify-content: flex-end; min-height: 44px; list-style: none; font-size: 13px; cursor: pointer; }
.m-shop-filters summary::-webkit-details-marker { display: none; }
.m-shop-filters summary::after { content: '+'; font-size: 20px; }
.m-shop-filters[open] summary::after { content: '−'; }
.m-shop-filter-panel { padding: 20px; border: 1px solid var(--m-beige-border); border-radius: 12px; background: #fffdf8; margin-top: 12px; }
.m-shop-label { display: block; font-size: 12px; margin: 14px 0 8px; font-weight: 600; }
.m-shop-filter-panel input, .m-shop-filter-panel select { display: block; width: 100%; min-height: 46px; min-width: 0; border: 1px solid var(--m-beige-border); background: white; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 16px; }
.m-shop-filter-panel .m-subcat-chips { flex-wrap: wrap; overflow: visible; margin: 0; gap: 8px; }
.m-shop-filter-panel .m-subcat-chip { white-space: normal; text-align: left; min-height: 44px; max-width: 100%; }
.m-shop-filter-actions { display: flex; gap: 12px; margin-top: 20px; }
.m-shop-filter-actions button { min-height: 44px; flex: 1; border: 1px solid #bca98c; background: white; border-radius: 24px; padding: 10px 12px; cursor: pointer; font: inherit; font-size: 13px; }
#mApplyShopFilters { background: #ece6da; }
.m-simple-category .m-card-title { margin: 0; }
.m-simple-category .m-card-body { gap: 14px; }
@media (max-width: 767px) {
  .m-shop-page { padding-top: 12px; padding-bottom: 36px; }
  .m-shop-heading { display: block; margin: 8px 0 12px; }
  .m-shop-heading h1 { font-size: 28px; }
  .m-shop-change { margin-top: 8px; }
  .m-shop-tools { gap: 12px; margin-bottom: 8px; padding: 6px 0; }
  .m-shop-tools:has(details[open]) { grid-template-columns: minmax(0, 1fr); }
  .m-shop-tools:has(details[open]) .m-shop-count { display: none; }
  .m-shop-filter-panel { padding: 14px; }
  .m-simple-category .m-card-title { font-size: 16px; }
}
