/* ===== FLP Shop Page ===== */

.shop-hero {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(92,140,26,.10) 70%, rgba(110,160,32,.14) 100%);
  color: var(--black);
  padding: 108px 0 44px;
  text-align: center;
}
.shop-hero h1 { color: var(--black); margin-bottom: 8px; }
.shop-hero p  { color: var(--gray); font-size: 1.1rem; }
/* ── Hero category badge ── */
.hero-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 16px 8px 14px;
  background: rgba(92,140,26,.08);
  border: 1px solid rgba(92,140,26,.25);
  border-radius: 30px;
  color: var(--green);
  font-size: .92rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  animation: heroBadgeIn .3s ease;
}
.hero-cat-badge[hidden] { display: none; }
.hero-cat-icon { font-size: 1rem; }
.hero-cat-reset {
  background: rgba(92,140,26,.12);
  border: none;
  color: var(--green);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.hero-cat-reset:hover { background: rgba(92,140,26,.22); }
@keyframes heroBadgeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── Layout ── */
.shop-layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 28px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 36px clamp(16px,4vw,32px) 80px;
  align-items: start;
}

/* ── Sidebar ── */
.shop-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}
.shop-sidebar::-webkit-scrollbar { width: 4px; }
.shop-sidebar::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 2px; }

.sidebar-block {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.sidebar-block h4 {
  font-family: "Playfair Display", serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light);
}

/* Search */
.sidebar-search { position: relative; }
.sidebar-search svg {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; stroke: var(--gray); fill: none; stroke-width: 2; stroke-linecap: round;
}
.sidebar-search input {
  width: 100%; padding: 9px 12px 9px 34px;
  border: 1.5px solid var(--light); border-radius: 8px;
  font-size: .875rem; background: var(--white); transition: border-color .2s;
}
.sidebar-search input:focus { outline: none; border-color: var(--green); }

/* Category list */
.cat-filter-list {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 270px; overflow-y: auto; scrollbar-width: thin;
}
.cat-filter-list label {
  display: flex; align-items: center; gap: 9px;
  font-size: .875rem; cursor: pointer; padding: 5px 7px;
  border-radius: 7px; transition: background .15s; user-select: none;
}
.cat-filter-list label:hover { background: var(--light); }
.cat-filter-list input[type="checkbox"] {
  width: 15px; height: 15px; accent-color: var(--green);
  cursor: pointer; flex-shrink: 0;
}
.cat-count {
  margin-left: auto; font-size: .75rem; color: var(--gray);
  background: var(--light); padding: 1px 7px; border-radius: 20px;
}

/* Price dual range */
.price-display {
  display: flex; justify-content: space-between;
  font-size: .875rem; font-weight: 600; color: var(--green); margin-bottom: 18px;
}
.dual-range { position: relative; height: 6px; margin-bottom: 6px; }
.dual-range-track {
  position: absolute; inset: 0;
  background: var(--light); border-radius: 3px;
}
.dual-range-fill {
  position: absolute; top: 0; height: 6px;
  background: var(--green); border-radius: 3px;
}
.dual-range input[type="range"] {
  position: absolute; width: 100%; height: 6px;
  appearance: none; background: transparent;
  pointer-events: none; top: 0; margin: 0;
}
.dual-range input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green);
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(46,125,79,.35);
  cursor: pointer; pointer-events: all; margin-top: -6px;
}
.dual-range input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); border: 2px solid #fff;
  cursor: pointer; pointer-events: all;
}

/* Rating */
.rating-filter-list { display: flex; flex-direction: column; gap: 7px; }
.rating-filter-list label {
  display: flex; align-items: center; gap: 9px;
  font-size: .875rem; cursor: pointer; padding: 5px 7px;
  border-radius: 7px; transition: background .15s; user-select: none;
}
.rating-filter-list label:hover { background: var(--light); }
.rating-filter-list input[type="radio"] { accent-color: var(--green); width: 15px; height: 15px; }
.stars-display { color: var(--gold); }

/* Active filters */
.active-filters {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 0 0 10px; margin-bottom: 4px;
}
.active-filters:empty { display: none; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; background: rgba(46,125,79,.09);
  color: var(--green); border-radius: 20px; font-size: .78rem;
  font-weight: 500; cursor: pointer;
  border: 1px solid rgba(46,125,79,.2); transition: background .15s;
}
.filter-chip:hover { background: rgba(46,125,79,.18); }
.chip-x { font-size: .7rem; opacity: .65; }

/* Reset */
.btn-reset-filters {
  width: 100%; padding: 10px;
  background: transparent; border: 1.5px dashed #d1d5db;
  border-radius: 8px; color: var(--gray);
  font-size: .875rem; cursor: pointer; transition: all .2s;
}
.btn-reset-filters:hover { border-color: var(--green); color: var(--green); background: rgba(46,125,79,.04); }

/* ── Toolbar ── */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  background: #fff; border-radius: var(--radius);
  padding: 13px 20px; margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.toolbar-left  { display: flex; align-items: center; gap: 14px; }
.toolbar-right { display: flex; align-items: center; gap: 10px; }

.filter-toggle-btn {
  display: none; align-items: center; gap: 7px;
  padding: 8px 15px; background: var(--light);
  border: none; border-radius: 8px; font-size: .875rem;
  font-weight: 500; cursor: pointer; transition: background .15s;
}
.filter-toggle-btn:hover { background: #e5e7eb; }
.filter-toggle-btn svg { width: 15px; height: 15px; stroke: var(--black); fill: none; stroke-width: 2; }

.result-count { font-size: .875rem; color: var(--gray); }
.result-count strong { color: var(--black); }

.shop-sort {
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--light); border-radius: 8px;
  font-size: .875rem; background: #fff; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  transition: border-color .2s;
}
.shop-sort:focus { outline: none; border-color: var(--green); }

.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 33px; height: 33px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--light); border-radius: 7px;
  background: #fff; cursor: pointer; transition: all .2s; color: var(--gray);
}
.view-btn.active { background: var(--green); border-color: var(--green); color: #fff; }
.view-btn:hover:not(.active) { border-color: var(--green); color: var(--green); }
.view-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: currentColor; stroke-width: 0; }

/* ── Grid ── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shop-grid.list-view { grid-template-columns: 1fr; }

/* ── Cards ── */
.shop-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,0,0,.12);
}

.card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 1/1; background: var(--light);
  flex-shrink: 0;
}
.card-img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 10px; box-sizing: border-box;
  transition: transform .5s;
}
.shop-card:hover .card-img img { transform: scale(1.02); }
.card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f5ee, #d4eddf);
  font-size: 2.2rem; font-weight: 700; color: var(--green);
  font-family: "Playfair Display", serif;
}

/* Overlay */
.card-overlay {
  position: absolute; inset: 0;
  background: rgba(17,24,39,.48);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity .3s;
}
.shop-card:hover .card-overlay { opacity: 1; }
.overlay-btn {
  width: 40px; height: 40px; background: #fff; border: none;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--black);
  transform: translateY(8px);
  transition: transform .3s ease, background .2s, color .2s;
}
.shop-card:hover .overlay-btn { transform: translateY(0); }
.shop-card:hover .overlay-btn:nth-child(2) { transition-delay: .05s; }
.overlay-btn:hover { background: var(--green); color: #fff; }
.overlay-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.overlay-btn.wishlist-btn.active { background: #fef2f2; color: #ef4444; }
.overlay-btn.wishlist-btn.active svg { fill: #ef4444; stroke: #ef4444; }

/* Badges */
.card-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px; z-index: 2;
}
.cbadge {
  display: inline-block; padding: 3px 8px;
  border-radius: 20px; font-size: .68rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.cbadge-cat  { background: rgba(255,255,255,.92); color: var(--green); }
.cbadge-best { background: var(--gold); color: #fff; }
.cbadge-new  { background: var(--green); color: #fff; }

/* Card body */
.card-body {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; flex: 1; gap: 7px;
}
.card-name {
  font-size: .97rem; font-weight: 600; line-height: 1.35;
  color: var(--black); font-family: "Playfair Display", serif;
}
.card-price { font-size: .85rem; color: var(--gray); }
.card-price strong { color: var(--green); font-size: 1rem; font-weight: 700; }
.card-stars { display: flex; align-items: center; gap: 5px; font-size: .83rem; }
.card-stars .gold { color: var(--gold); }
.card-stars .rating-val { color: var(--gray); font-size: .78rem; }

.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.btn-card-primary {
  flex: 1; padding: 10px 14px;
  background: var(--green); color: #fff;
  border: none; border-radius: 8px; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s;
}
.btn-card-primary:hover { background: #235e3c; transform: translateY(-1px); }
.btn-card-secondary {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--light); border-radius: 8px;
  background: #fff; cursor: pointer; color: var(--gray);
  transition: border-color .2s, background .2s, color .2s;
}
.btn-card-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-card-secondary svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-card-wishlist.active { color: #ef4444; border-color: #fca5a5; background: #fef2f2; }
.btn-card-wishlist.active svg { fill: #ef4444; }

/* List view */
.list-view .shop-card { flex-direction: row; min-height: 150px; }
.list-view .card-img { width: 190px; min-width: 190px; aspect-ratio: unset; }
.list-view .card-body {
  flex-direction: row; flex-wrap: wrap;
  align-items: center; gap: 10px 16px;
}
.list-view .card-name  { flex: 1 1 200px; }
.list-view .card-price { flex: 0 0 auto; }
.list-view .card-stars { flex: 0 0 auto; }
.list-view .card-actions { margin-top: 0; padding-top: 0; flex: 0 0 auto; }
.list-view .card-overlay { display: none; }

/* No results */
.no-results { text-align: center; padding: 72px 20px; color: var(--gray); }
.no-results .nr-icon { font-size: 3.2rem; margin-bottom: 14px; }
.no-results h3 { font-size: 1.25rem; color: var(--black); margin-bottom: 8px; }
.no-results p { margin-bottom: 22px; }
.btn-reset-search {
  padding: 11px 28px; background: var(--green); color: #fff;
  border: none; border-radius: 8px; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.btn-reset-search:hover { background: #235e3c; }

/* Pagination */
.shop-pagination {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px;
  padding: 36px 0 10px;
}
.page-btn {
  min-width: 40px; height: 40px; padding: 0 10px;
  border: 1.5px solid #d4e6cc; background: #fff;
  color: var(--green); border-radius: 8px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.page-btn:hover:not([disabled]) { background: var(--green); color: #fff; border-color: var(--green); }
.page-btn.active { background: var(--green); color: #fff; border-color: var(--green); pointer-events: none; }
.page-btn[disabled] { opacity: .35; cursor: default; }
.page-btn.page-ellipsis { cursor: default; border-color: transparent; background: transparent; }
.page-btn svg { width: 14px; height: 14px; stroke-width: 2.5; }

/* ── Quick View Modal ── */
.quick-view-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.58); z-index: 1100;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.quick-view-backdrop.open { opacity: 1; pointer-events: all; }

.quick-view-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -47%) scale(.96);
  background: #fff; border-radius: 20px;
  width: min(860px, 95vw); max-height: 88vh;
  overflow-y: auto; z-index: 1101;
  opacity: 0; transition: opacity .25s, transform .25s;
  pointer-events: none;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.quick-view-modal.open {
  opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: all;
}
.modal-inner { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img {
  position: relative; background: var(--light);
  border-radius: 20px 0 0 20px; overflow: hidden; min-height: 360px;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-img-placeholder {
  width: 100%; height: 100%; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 700; color: var(--green);
  font-family: "Playfair Display", serif;
  background: linear-gradient(135deg, #e8f5ee, #d4eddf);
}
.modal-content {
  padding: 34px 34px 34px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none; background: rgba(17,24,39,.55); color: #fff;
  border-radius: 50%; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .2s;
}
.modal-close:hover { background: var(--black); }
.modal-cat { font-size: .82rem; color: var(--gray); }
.modal-title { font-family: "Playfair Display", serif; font-size: 1.45rem; font-weight: 700; line-height: 1.25; }
.modal-price { font-size: 1.35rem; font-weight: 700; color: var(--green); }
.modal-rating { display: flex; align-items: center; gap: 7px; font-size: .88rem; }
.modal-rating .gold { color: var(--gold); font-size: 1.05rem; }
.modal-desc { font-size: .875rem; color: var(--gray); line-height: 1.6; }
.modal-actions { display: flex; gap: 10px; margin-top: auto; }
.btn-modal-order {
  flex: 1; padding: 12px;
  background: linear-gradient(135deg, var(--green), #1a5c32);
  color: #fff; border: none; border-radius: 10px;
  font-size: .92rem; font-weight: 700; cursor: pointer;
  transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 7px;
}
.btn-modal-order:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46,125,79,.32); }
.btn-modal-wishlist {
  width: 46px; height: 46px; flex-shrink: 0;
  border: 1.5px solid var(--light); background: #fff;
  border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; color: var(--gray);
}
.btn-modal-wishlist:hover { border-color: #ef4444; color: #ef4444; }
.btn-modal-wishlist.active { border-color: #fca5a5; background: #fef2f2; color: #ef4444; }
.btn-modal-wishlist svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn-modal-wishlist.active svg { fill: #ef4444; }

/* ── Cart Drawer ── */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.48); z-index: 1200;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100vh;
  width: min(410px, 100vw); background: #fff;
  z-index: 1201; transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -4px 0 28px rgba(0,0,0,.14);
}
.cart-drawer.open { transform: translateX(0); }

.drawer-header {
  padding: 22px 22px;
  border-bottom: 1px solid var(--light);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.drawer-header h3 {
  font-family: "Playfair Display", serif; font-size: 1.15rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.cart-count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; background: var(--green); color: #fff;
  border-radius: 50%; font-size: .72rem; font-weight: 700;
}
.drawer-close {
  width: 32px; height: 32px; background: var(--light);
  border: none; border-radius: 7px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background .15s;
}
.drawer-close:hover { background: #e5e7eb; }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.cart-empty { text-align: center; padding: 56px 20px; color: var(--gray); }
.cart-empty .ce-icon { font-size: 2.8rem; margin-bottom: 12px; }

.cart-item {
  display: flex; gap: 13px;
  padding: 13px 0; border-bottom: 1px solid var(--light);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 68px; height: 68px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0; background: var(--light);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: .875rem; font-weight: 600; line-height: 1.3;
  margin-bottom: 3px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.cart-item-price { font-size: .82rem; color: var(--green); font-weight: 600; }
.cart-item-controls { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.qty-btn {
  width: 25px; height: 25px; border: 1px solid var(--light);
  background: #fff; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; line-height: 1; transition: border-color .15s;
}
.qty-btn:hover { border-color: var(--green); }
.qty-val { font-size: .875rem; font-weight: 600; min-width: 16px; text-align: center; }
.cart-item-remove {
  background: none; border: none; color: var(--gray);
  cursor: pointer; font-size: 1.05rem; transition: color .15s; padding: 2px; margin-left: 2px;
}
.cart-item-remove:hover { color: #ef4444; }

.drawer-footer { padding: 18px 20px; border-top: 1px solid var(--light); flex-shrink: 0; }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; font-weight: 600;
}
.cart-total .amount { font-size: 1.25rem; color: var(--green); font-weight: 700; }
.btn-checkout {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--green), var(--gold));
  color: #fff; border: none; border-radius: 11px;
  font-size: .97rem; font-weight: 700; cursor: pointer;
  transition: all .2s; margin-bottom: 9px; letter-spacing: .02em;
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46,125,79,.32); }
.btn-continue-shopping {
  width: 100%; padding: 10px; background: transparent;
  border: 1.5px solid var(--light); border-radius: 11px;
  font-size: .875rem; font-weight: 500; cursor: pointer;
  color: var(--gray); transition: border-color .15s, color .15s;
}
.btn-continue-shopping:hover { border-color: var(--green); color: var(--green); }

/* ── Floating Cart ── */
.floating-cart {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--green), #1a5c32);
  color: #fff; border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(46,125,79,.38); z-index: 999;
  transition: transform .2s, box-shadow .2s;
}
.floating-cart:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(46,125,79,.48); }
.floating-cart svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.floating-cart-badge {
  position: absolute; top: -4px; right: -4px;
  width: 21px; height: 21px;
  background: var(--gold); color: #fff;
  border: 2px solid #fff; border-radius: 50%;
  font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── Sidebar mobile header ── */
.sidebar-mobile-header {
  display: none;
}

/* ── Mobile sidebar overlay ── */
.sidebar-mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.48); z-index: 1050;
}
.sidebar-mobile-overlay.open { display: block; }

/* ── Toast ── */
.flp-shop-toast {
  position: fixed; bottom: 96px; right: 28px;
  background: var(--green); color: #fff;
  padding: 11px 18px; border-radius: 10px;
  font-size: .875rem; font-weight: 500; z-index: 9999;
  pointer-events: none; max-width: 270px;
  box-shadow: 0 4px 16px rgba(0,0,0,.14);
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .shop-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .shop-sidebar {
    position: fixed; top: 0; left: -310px; width: 300px;
    height: 100vh; max-height: 100vh; z-index: 1051;
    background: #fff; padding: 0;
    box-shadow: 4px 0 28px rgba(0,0,0,.14);
    overflow-y: auto; transition: left .35s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
  }
  .shop-sidebar.open { left: 0; }

  /* Mobile sidebar header */
  .sidebar-mobile-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--light);
    background: #fff;
    position: sticky; top: 0; z-index: 2;
    flex-shrink: 0;
  }
  .sidebar-mobile-header span {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem; font-weight: 700; color: var(--black);
  }
  .sidebar-close-btn {
    width: 36px; height: 36px; background: var(--light);
    border: none; border-radius: 8px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--black); transition: background .15s;
  }
  .sidebar-close-btn:hover { background: #e5e7eb; }

  /* Sidebar content area gets padding */
  .shop-sidebar .active-filters,
  .shop-sidebar .sidebar-block,
  .shop-sidebar .btn-reset-filters { margin-left: 16px; margin-right: 16px; }
  .shop-sidebar .active-filters { padding-top: 14px; }
  .shop-sidebar .sidebar-block:first-of-type { margin-top: 14px; }
  .shop-sidebar .btn-reset-filters { margin-bottom: 20px; width: calc(100% - 32px); }

  .filter-toggle-btn { display: flex; }
  .filter-toggle-btn.active { background: var(--green); color: #fff; }
  .filter-toggle-btn.active svg { stroke: #fff; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .shop-sidebar { width: 85vw; max-width: 320px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-grid.list-view .shop-card { flex-direction: column; }
  .list-view .card-img { width: 100%; min-width: 100%; height: 200px; }
  .list-view .card-body { flex-direction: column; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-img { border-radius: 20px 20px 0 0; min-height: 220px; }
  .modal-content { padding: 22px; }
  .floating-cart { bottom: 18px; right: 18px; width: 50px; height: 50px; }
}
