/* ============================================================
   SHAINY CREATION — shop.css  v6.0
   ============================================================ */
.shop-page-header { display: flex; justify-content: space-between; align-items: flex-end; padding: 28px var(--side-pad) 0; }
.shop-page-header h1 { font-family: var(--f-display); font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.shop-page-header p  { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.shop-view-toggle { display: flex; gap: 4px; }
.view-btn { width: 34px; height: 34px; background: var(--off-white); border: 1px solid var(--border-soft); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--t); }
.view-btn svg { width: 13px; height: 13px; stroke: var(--text-muted); fill: none; }
.view-btn.active, .view-btn:hover { background: var(--text); border-color: var(--text); }
.view-btn.active svg, .view-btn:hover svg { stroke: #fff; }

.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 24px var(--side-pad) 64px; align-items: start; }

.shop-sidebar { position: sticky; top: 76px; }
.sidebar-section { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--border-soft); }
.sidebar-section:last-child { border-bottom: none; margin-bottom: 0; }
.sidebar-section h4 { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.filter-check { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; cursor: pointer; font-size: 13px; color: var(--text-soft); transition: color var(--t); user-select: none; }
.filter-check:hover { color: var(--text); }
.filter-check input { accent-color: var(--rose); width: 14px; height: 14px; cursor: pointer; flex-shrink: 0; }
.price-range-wrap input[type="range"] { width: 100%; accent-color: var(--rose); cursor: pointer; margin-bottom: 9px; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.sidebar-select { width: 100%; padding: 9px 32px 9px 12px; border: 1.5px solid var(--border); background: var(--white); font-family: var(--f-body); font-size: 13px; color: var(--text); outline: none; appearance: none; cursor: pointer; border-radius: var(--r-sm); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a6458' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; transition: border-color var(--t); }
.sidebar-select:focus { border-color: var(--rose); }

.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.filter-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--blush); border: 1px solid var(--blush-mid); padding: 4px 11px; font-size: 12px; border-radius: var(--r-sm); font-weight: 500; }
.filter-tag button { background: none; border: none; font-size: 14px; line-height: 1; color: var(--text-muted); padding: 0; cursor: pointer; transition: color var(--t); }
.filter-tag button:hover { color: var(--badge-red); }

.mobile-filter-bar { display: none; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; }
.filter-select-mobile { padding: 8px 28px 8px 12px; border: 1.5px solid var(--border); font-family: var(--f-body); font-size: clamp(11px, 1vw + 9px, 13px); background: var(--white); outline: none; appearance: none; border-radius: var(--r-sm); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a6458' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; cursor: pointer; }

.shop-main { min-width: 0; }
.shop-grid[data-cols="4"] { grid-template-columns: repeat(4,1fr); }
.shop-grid[data-cols="2"] { grid-template-columns: repeat(2,1fr); }
.shop-grid .product-img  { height: 260px; }

.no-products { text-align: center; padding: 64px 20px; color: var(--text-soft); }
.no-products svg { width: 48px; height: 48px; stroke: var(--border); fill: none; margin: 0 auto 18px; display: block; }
.no-products h3 { font-family: var(--f-display); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.no-products p { font-size: 13px; font-weight: 300; }

.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 48px; flex-wrap: wrap; }
.page-btn { width: 36px; height: 36px; border: 1.5px solid var(--border); background: none; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 13px; font-family: var(--f-body); cursor: pointer; font-weight: 500; color: var(--text-soft); transition: all var(--t); }
.page-btn:hover, .page-btn.active { background: var(--text); color: #fff; border-color: var(--text); }

@media (max-width: 1100px) {
  .shop-page-header { padding: 22px 36px 0; }
  .shop-layout { padding: 22px 36px 52px; }
  .shop-grid[data-cols="4"] { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; position: fixed; top: 0; left: 0; width: 290px; height: 100%; background: var(--white); z-index: 250; padding: 28px 22px; overflow-y: auto; box-shadow: var(--sh-lg); border-right: 1px solid var(--border-soft); }
  .shop-sidebar.open { display: block; }
  .mobile-filter-bar { display: flex; }
  .shop-page-header { padding: 18px 20px 0; }
  .shop-layout { padding: 18px 20px 48px; gap: 16px; }
  .shop-grid[data-cols="4"], .shop-grid[data-cols="2"] { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .shop-grid[data-cols="4"], .shop-grid[data-cols="2"] { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop-page-header h1 { font-size: 22px; }
  .shop-view-toggle { display: none; }
  .shop-grid .product-img { height: 190px; }
}
