/* ─── HERO SEARCH ────────────────────────────────────────────── */
.cat-breadcrumb { margin-bottom: 16px; }
.cat-breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; }
.cat-breadcrumb li { font-size: 13px; }
.cat-breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .6; color: rgba(255,255,255,.8); }
.cat-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; transition: color .15s; }
.cat-breadcrumb a:hover { color: var(--white); }
.cat-breadcrumb [aria-current] { color: var(--white); font-weight: 700; }

.hero-search {
  background: linear-gradient(140deg, #FDDDE5 0%, #FAF0E8 60%, var(--cream) 100%);
  padding: 48px 20px 40px; text-align: center;
}
.hero-search .cat-breadcrumb a { color: var(--rose-d); }
.hero-search .cat-breadcrumb a:hover { color: var(--brown); }
.hero-search .cat-breadcrumb [aria-current] { color: var(--brown); }
.hero-search .cat-breadcrumb li + li::before { color: var(--muted); }
.hero-search-inner { max-width: 680px; margin: 0 auto; }
.hero-search h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(24px, 5vw, 38px); font-weight: 800;
  color: var(--brown); margin-bottom: 8px; line-height: 1.25;
}
.hero-search h1 span { color: var(--rose-d); }
.hero-search-sub { font-size: 15px; color: var(--muted); margin-bottom: 28px; line-height: 1.7; }
.search-box {
  display: flex; gap: 0; border-radius: 28px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(61,35,20,.14);
  border: 2px solid var(--rose); background: var(--white); transition: box-shadow .2s;
}
.search-box:focus-within { box-shadow: 0 8px 30px rgba(217,99,122,.25); border-color: var(--rose-d); }
.search-box input {
  flex: 1; padding: 16px 20px; border: none; outline: none;
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px; color: var(--text);
  background: transparent; min-width: 0;
}
.search-box input::placeholder { color: var(--muted); font-size: 14px; }
.search-box button {
  padding: 14px 22px; border: none; cursor: pointer;
  background: var(--rose-d); color: var(--white);
  font-size: 20px; display: flex; align-items: center; justify-content: center;
  transition: background .18s; flex-shrink: 0;
}
.search-box button:hover { background: #C0506A; }

/* ─── AFFILIATE DISCLOSURE ───────────────────────────────────── */
.aff-disclosure { max-width: 1180px; margin: 18px auto 0; padding: 0 20px; }
.aff-disclosure-inner {
  display: flex; align-items: flex-start; gap: 10px;
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: 12px; padding: 12px 16px;
  font-size: 13px; color: #92400E; line-height: 1.6;
}
.aff-disclosure-inner strong { font-weight: 700; }

/* ─── SHOP LAYOUT ────────────────────────────────────────────── */
.shop-layout {
  max-width: 1180px; margin: 0 auto; padding: 28px 20px 40px;
  display: flex; gap: 28px; align-items: flex-start;
}
@media (min-width: 768px) { .shop-layout { padding: 32px 24px 48px; } }

/* Sidebar filter */
.sidebar {
  display: none; width: 240px; flex-shrink: 0;
  background: var(--white); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow-s);
  position: sticky; top: 84px;
}
@media (min-width: 900px) { .sidebar { display: block; } }
.sidebar-title {
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 800;
  color: var(--brown); text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--light);
}
.filter-section { margin-bottom: 24px; }
.filter-section-label { font-size: 13px; font-weight: 700; color: var(--brown); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 13.5px; color: var(--text); -webkit-tap-highlight-color: transparent; }
.filter-option input[type="checkbox"], .filter-option input[type="radio"] { width: 16px; height: 16px; accent-color: var(--rose-d); cursor: pointer; flex-shrink: 0; }
.filter-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.stars-filter { color: #F59E0B; font-size: 14px; }
.toggle-wrap { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.toggle-label { font-size: 13.5px; color: var(--text); font-weight: 500; }
.toggle { width: 42px; height: 24px; border-radius: 12px; border: none; background: var(--border); cursor: pointer; position: relative; transition: background .2s; flex-shrink: 0; }
.toggle.on { background: var(--rose-d); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: left .2s; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.toggle.on::after { left: 21px; }
.btn-clear-filter { width: 100%; padding: 10px; border-radius: 14px; border: 1.5px solid var(--border); background: transparent; color: var(--muted); font-family: 'Be Vietnam Pro', sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .18s; margin-top: 8px; }
.btn-clear-filter:hover { border-color: var(--rose-d); color: var(--rose-d); }

/* ─── PRODUCT CONTENT AREA ───────────────────────────────────── */
.shop-content { flex: 1; min-width: 0; }

/* Mobile filter chips */
.mobile-filter-bar { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 16px; }
.mobile-filter-bar::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .mobile-filter-bar { display: none; } }
.mob-cat-chip { flex-shrink: 0; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; background: var(--white); color: var(--muted); border: 1.5px solid var(--border); transition: all .18s; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.mob-cat-chip.active { background: var(--rose-d); color: var(--white); border-color: var(--rose-d); }
.mob-filter-btn { flex-shrink: 0; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; background: var(--white); color: var(--rose-d); border: 1.5px solid var(--rose-d); transition: all .18s; -webkit-tap-highlight-color: transparent; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.mob-filter-btn:hover { background: var(--rose-bg); }

/* Sort bar */
.sort-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.results-count { font-size: 14px; color: var(--muted); font-weight: 500; }
.results-count strong { color: var(--brown); font-weight: 700; }
.sort-select { padding: 8px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--white); color: var(--text); font-family: 'Be Vietnam Pro', sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; outline: none; }

/* ─── PRODUCT GRID ───────────────────────────────────────────── */
.prod-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px)  { .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }

/* ─── PRODUCT CARD ───────────────────────────────────────────── */
.prod-card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-s); display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s; position: relative; }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(61,35,20,.12); }
.prod-badges { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 2; }
.badge-sale { background: var(--rose-d); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 9px; }
.badge-pick { background: #FEF9C3; color: #854D0E; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 9px; }
.badge-new { background: var(--sage-d); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 9px; }
.prod-img { width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; font-size: 56px; flex-shrink: 0; position: relative; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 600px) { .prod-img { font-size: 64px; } }
.prod-body { padding: 12px 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
@media (min-width: 600px) { .prod-body { padding: 14px 14px 16px; } }
.prod-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--rose-d); }
.prod-name { font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 800; color: var(--brown); line-height: 1.35; }
@media (min-width: 600px) { .prod-name { font-size: 14px; } }
.prod-stars { display: flex; align-items: center; gap: 3px; }
.stars { color: #F59E0B; font-size: 12px; letter-spacing: .5px; }
.rating-num { font-size: 11px; font-weight: 700; color: var(--brown); }
.rating-count { font-size: 10px; color: var(--muted); }
.prod-review { font-size: 11.5px; color: var(--muted); line-height: 1.55; font-style: italic; border-left: 2px solid var(--rose); padding-left: 7px; margin: 2px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.price-current { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 800; color: var(--rose-d); }
@media (min-width: 600px) { .price-current { font-size: 17px; } }
.price-original { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.platform-tag { font-size: 10.5px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.prod-actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 10px; }
.btn-buy { width: 100%; padding: 10px 8px; border-radius: 12px; border: none; background: var(--rose-d); color: var(--white); font-family: 'Be Vietnam Pro', sans-serif; font-size: 12.5px; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 4px; transition: opacity .18s; min-height: 44px; }
.btn-buy:hover { opacity: .85; }
.btn-review { width: 100%; padding: 8px; border-radius: 12px; border: 1.5px solid var(--border); background: transparent; color: var(--muted); font-family: 'Be Vietnam Pro', sans-serif; font-size: 12px; font-weight: 600; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; min-height: 40px; transition: all .18s; }
.btn-review:hover { border-color: var(--rose-d); color: var(--rose-d); }

/* Load more */
.load-more-wrap { text-align: center; margin-top: 32px; }
.btn-loadmore { padding: 13px 36px; border-radius: 26px; border: 2px solid var(--rose-d); background: transparent; color: var(--rose-d); font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .18s; }
.btn-loadmore:hover { background: var(--rose-d); color: var(--white); }

/* Mobile FAB search */
.fab-search { position: fixed; bottom: 80px; right: 18px; z-index: 190; width: 52px; height: 52px; border-radius: 50%; background: var(--rose-d); color: var(--white); border: none; cursor: pointer; font-size: 22px; box-shadow: 0 6px 20px rgba(217,99,122,.45); display: flex; align-items: center; justify-content: center; transition: transform .18s, box-shadow .18s; }
.fab-search:hover { transform: scale(1.08); }
@media (min-width: 768px) { .fab-search { display: none; } }

/* Mobile bottom sheet filter */
.sheet-overlay { display: none; position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,.5); }
.sheet-overlay.open { display: block; }
.filter-sheet { position: fixed; bottom: -100%; left: 0; right: 0; z-index: 401; background: var(--white); border-radius: 24px 24px 0 0; padding: 0 0 env(safe-area-inset-bottom, 16px); max-height: 85vh; overflow-y: auto; transition: bottom .3s cubic-bezier(.4,0,.2,1); }
.filter-sheet.open { bottom: 0; }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--border); margin: 14px auto 0; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; border-bottom: 1px solid var(--light); }
.sheet-title { font-family: 'Nunito', sans-serif; font-size: 18px; font-weight: 800; color: var(--brown); }
.sheet-close { width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--light); cursor: pointer; font-size: 16px; display: grid; place-items: center; }
.sheet-body { padding: 16px 20px; }
.sheet-filter-section { margin-bottom: 22px; }
.sheet-filter-label { font-size: 14px; font-weight: 700; color: var(--brown); margin-bottom: 10px; }
.sheet-options { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-option-chip { padding: 8px 16px; border-radius: 18px; font-size: 13.5px; font-weight: 600; border: 1.5px solid var(--border); background: var(--white); color: var(--muted); cursor: pointer; transition: all .15s; -webkit-tap-highlight-color: transparent; }
.sheet-option-chip.active { background: var(--rose-bg); color: var(--rose-d); border-color: var(--rose); }
.sheet-footer { padding: 12px 20px 0; border-top: 1px solid var(--light); }
.btn-apply { width: 100%; padding: 15px; border-radius: 18px; border: none; background: var(--rose-d); color: var(--white); font-family: 'Be Vietnam Pro', sans-serif; font-size: 16px; font-weight: 700; cursor: pointer; transition: opacity .18s; min-height: 52px; }
.btn-apply:hover { opacity: .9; }
