/* ══════════════════════════════════════════════════════════
   SECURITPRO — Shop Components v4.0.0
   Breadcrumb · Filters · Sort · Active Filters · Count
══════════════════════════════════════════════════════════ */

:root {
    --spmm-s-primary:    #F59E0B;
    --spmm-s-primary-lt: #FEF3C7;
    --spmm-s-primary-dk: #D97706;
    --spmm-s-text:       #0F172A;
    --spmm-s-muted:      #64748B;
    --spmm-s-border:     #E2E8F0;
    --spmm-s-bg:         #F8FAFC;
    --spmm-s-radius:     12px;
    --spmm-s-font:       'Inter', -apple-system, sans-serif;
}

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════ */
.spmm-breadcrumb {
    font-family: var(--spmm-s-font);
    -webkit-font-smoothing: antialiased;
    margin-bottom: 20px;
}
.spmm-breadcrumb ol {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 2px; list-style: none; padding: 0; margin: 0;
}
.spmm-breadcrumb li {
    display: flex; align-items: center; gap: 2px;
    font-size: 13px; font-weight: 500; color: var(--spmm-s-muted);
}
.spmm-breadcrumb li a {
    display: flex; align-items: center; gap: 5px;
    color: var(--spmm-s-muted); text-decoration: none; font-weight: 500;
    padding: 4px 8px; border-radius: 6px;
    transition: all .15s;
}
.spmm-breadcrumb li a:hover {
    color: var(--spmm-s-text); background: var(--spmm-s-bg);
}
.spmm-breadcrumb li a i { font-size: 11px; color: var(--spmm-s-primary); }
.spmm-breadcrumb li .spmm-bc-sep {
    color: #CBD5E1; font-size: 10px;
    padding: 0 2px; display: flex; align-items: center;
}
.spmm-breadcrumb li .spmm-bc-current {
    display: flex; align-items: center; gap: 5px;
    font-weight: 700; color: var(--spmm-s-text);
    padding: 4px 10px; border-radius: 6px;
    background: var(--spmm-s-primary-lt);
    border: 1px solid rgba(245,158,11,.2);
}
.spmm-breadcrumb li:first-child a i { margin-right: 2px; }

/* ══════════════════════════════════════════════════════════
   FILTER SIDEBAR
══════════════════════════════════════════════════════════ */
.spmm-shop-filters {
    font-family: var(--spmm-s-font);
    -webkit-font-smoothing: antialiased;
    background: #fff;
    border: 1.5px solid var(--spmm-s-border);
    border-radius: 16px;
    overflow: hidden;
}

/* Filter header */
.spmm-filter-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--spmm-s-border);
    background: linear-gradient(135deg, #0D111A 0%, #1E293B 100%);
}
.spmm-filter-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 14px; font-weight: 800; color: #fff; letter-spacing: -.01em;
}
.spmm-filter-title i { color: var(--spmm-s-primary); font-size: 13px; }
.spmm-filter-badge {
    background: var(--spmm-s-primary); color: #0D111A;
    font-size: 10px; font-weight: 800;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.spmm-filter-clear-all {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5);
    text-decoration: none; padding: 4px 10px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,.1);
    transition: all .15s;
}
.spmm-filter-clear-all:hover { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); }

/* Filter groups */
.spmm-filter-group {
    border-bottom: 1px solid var(--spmm-s-border);
}
.spmm-filter-group:last-child { border-bottom: none; }

.spmm-filter-group-header {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 14px 20px;
    background: none; border: none; cursor: pointer;
    font-family: var(--spmm-s-font); font-size: 13px; font-weight: 700;
    color: var(--spmm-s-text); text-align: left;
    transition: background .15s;
}
.spmm-filter-group-header:hover { background: var(--spmm-s-bg); }
.spmm-filter-group-header span { display: flex; align-items: center; gap: 8px; }
.spmm-filter-group-header span i { color: var(--spmm-s-primary); font-size: 12px; }
.spmm-filter-group-header.has-active { color: var(--spmm-s-primary-dk); }

.spmm-toggle-icon { font-size: 10px; color: #94A3B8; transition: transform .22s; }
.spmm-filter-group.open .spmm-toggle-icon { transform: rotate(180deg); }

.spmm-filter-group-body {
    padding: 4px 16px 16px;
    display: none;
}
.spmm-filter-group.open .spmm-filter-group-body { display: block; }

/* Search in filter */
.spmm-filter-search-group { padding: 14px 16px; }
.spmm-filter-search-wrap {
    display: flex; align-items: center; gap: 10px;
    background: var(--spmm-s-bg); border: 1.5px solid var(--spmm-s-border);
    border-radius: 10px; padding: 10px 14px;
    transition: border-color .18s;
}
.spmm-filter-search-wrap:focus-within { border-color: var(--spmm-s-primary); background: #fff; box-shadow: 0 0 0 3px rgba(245,158,11,.1); }
.spmm-filter-search-wrap i { font-size: 13px; color: var(--spmm-s-primary); flex-shrink: 0; }
.spmm-filter-search-input {
    flex: 1; border: none; background: none; outline: none;
    font-family: var(--spmm-s-font); font-size: 13.5px;
    color: var(--spmm-s-text);
}
.spmm-filter-search-input::placeholder { color: #CBD5E1; }
.spmm-filter-clear-input { color: #94A3B8; text-decoration: none; font-size: 11px; }
.spmm-filter-clear-input:hover { color: var(--spmm-s-text); }

/* Category list */
.spmm-filter-cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
.spmm-filter-cat-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 9px;
    text-decoration: none; font-size: 13px; font-weight: 500;
    color: var(--spmm-s-muted); transition: all .15s;
}
.spmm-filter-cat-link:hover { background: var(--spmm-s-bg); color: var(--spmm-s-text); }
.spmm-filter-cat-link.active { color: var(--spmm-s-primary-dk); font-weight: 700; background: var(--spmm-s-primary-lt); }
.spmm-filter-cat-check {
    width: 18px; height: 18px; border-radius: 5px;
    border: 1.5px solid #CBD5E1; background: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 9px; transition: all .15s;
}
.spmm-filter-cat-link.active .spmm-filter-cat-check {
    background: var(--spmm-s-primary); border-color: var(--spmm-s-primary); color: #fff;
}
.spmm-filter-cat-count { margin-left: auto; font-size: 11px; color: #94A3B8; background: var(--spmm-s-bg); padding: 1px 7px; border-radius: 20px; font-weight: 600; }
.spmm-filter-cat-link.active .spmm-filter-cat-count { background: rgba(245,158,11,.15); color: var(--spmm-s-primary-dk); }
.spmm-filter-subcat { padding-left: 30px !important; font-size: 12.5px; }
.spmm-filter-subcat-list { list-style: none; padding: 0; margin: 0; display: none; flex-direction: column; gap: 1px; }
.spmm-filter-subcat-list.open { display: flex; }

/* Price slider */
.spmm-price-slider-wrap { padding: 4px 0 4px; }
.spmm-price-labels {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px; font-weight: 700; color: var(--spmm-s-text); margin-bottom: 16px;
    background: var(--spmm-s-bg); border: 1px solid var(--spmm-s-border);
    border-radius: 8px; padding: 8px 14px;
}
.spmm-price-labels span:nth-child(2) { color: #CBD5E1; }

.spmm-range-track {
    position: relative; height: 5px;
    background: #E2E8F0; border-radius: 5px;
    margin: 20px 0; cursor: pointer;
}
.spmm-range-fill {
    position: absolute; height: 100%; border-radius: 5px;
    background: linear-gradient(90deg, var(--spmm-s-primary-dk), var(--spmm-s-primary));
    pointer-events: none;
}
.spmm-range-thumb {
    position: absolute; top: 50%; width: 100%;
    height: 0; -webkit-appearance: none; appearance: none;
    background: none; border: none; outline: none; pointer-events: none;
    transform: translateY(-50%);
}
.spmm-range-thumb::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
    background: #fff; border: 2.5px solid var(--spmm-s-primary);
    box-shadow: 0 2px 8px rgba(245,158,11,.3); cursor: grab;
    pointer-events: auto; transition: transform .15s, box-shadow .15s;
}
.spmm-range-thumb::-webkit-slider-thumb:hover,
.spmm-range-thumb::-webkit-slider-thumb:active {
    transform: scale(1.15); box-shadow: 0 4px 14px rgba(245,158,11,.4); cursor: grabbing;
}
.spmm-range-thumb::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; border: 2.5px solid var(--spmm-s-primary);
    box-shadow: 0 2px 8px rgba(245,158,11,.3); cursor: grab; pointer-events: auto;
}
.spmm-price-apply {
    width: 100%; padding: 10px; margin-top: 8px; border-radius: 9px;
    background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff;
    border: none; font-family: var(--spmm-s-font); font-size: 13px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
    transition: all .2s;
}
.spmm-price-apply:hover { box-shadow: 0 4px 14px rgba(245,158,11,.35); transform: translateY(-1px); }

/* Tag pills in filter */
.spmm-filter-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.spmm-filter-tag-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 100px;
    background: var(--spmm-s-bg); border: 1.5px solid var(--spmm-s-border);
    font-size: 12px; font-weight: 600; color: var(--spmm-s-muted);
    text-decoration: none; transition: all .18s;
}
.spmm-filter-tag-pill:hover { border-color: var(--spmm-s-primary); color: var(--spmm-s-text); background: var(--spmm-s-primary-lt); }
.spmm-filter-tag-pill.active { background: var(--spmm-s-primary); border-color: var(--spmm-s-primary); color: #fff; }
.spmm-filter-tag-count { font-size: 10px; opacity: .7; }

/* ══════════════════════════════════════════════════════════
   ACTIVE FILTERS
══════════════════════════════════════════════════════════ */
.spmm-active-filters {
    font-family: var(--spmm-s-font);
    -webkit-font-smoothing: antialiased;
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-bottom: 16px;
}
.spmm-active-filters-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--spmm-s-muted);
    text-transform: uppercase; letter-spacing: .06em;
    margin-right: 4px;
}
.spmm-active-filters-label i { color: var(--spmm-s-primary); }
.spmm-active-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px 6px 10px; border-radius: 100px;
    background: #0F172A; color: rgba(255,255,255,.85);
    font-size: 12.5px; font-weight: 600; text-decoration: none;
    border: 1px solid transparent;
    transition: all .18s;
}
.spmm-active-pill:hover { background: #1E293B; color: #fff; }
.spmm-active-pill i:first-child { font-size: 10px; color: var(--spmm-s-primary); }
.spmm-active-pill-type { font-size: 10px; color: rgba(255,255,255,.4); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.spmm-pill-remove {
    font-size: 9px; color: rgba(255,255,255,.35); margin-left: 2px;
    transition: color .15s;
}
.spmm-active-pill:hover .spmm-pill-remove { color: rgba(255,255,255,.8); }
.spmm-clear-all-filters {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 100px;
    background: #FEE2E2; border: 1.5px solid #FECACA;
    font-size: 12px; font-weight: 700; color: #DC2626;
    text-decoration: none; transition: all .18s;
}
.spmm-clear-all-filters:hover { background: #DC2626; color: #fff; border-color: #DC2626; }

/* ══════════════════════════════════════════════════════════
   SORT DROPDOWN
══════════════════════════════════════════════════════════ */
.spmm-shop-sort {
    font-family: var(--spmm-s-font);
    -webkit-font-smoothing: antialiased;
    display: flex; align-items: center; gap: 10px;
}
.spmm-sort-label { font-size: 13px; font-weight: 600; color: var(--spmm-s-muted); white-space: nowrap; }
.spmm-sort-select-wrap {
    position: relative; display: flex; align-items: center;
}
.spmm-sort-select-wrap > i:first-child {
    position: absolute; left: 13px; font-size: 12px;
    color: var(--spmm-s-primary); pointer-events: none; z-index: 1;
}
.spmm-sort-select {
    appearance: none; -webkit-appearance: none;
    padding: 9px 36px 9px 36px; border-radius: 10px;
    border: 1.5px solid var(--spmm-s-border); background: #fff;
    font-family: var(--spmm-s-font); font-size: 13px; font-weight: 600;
    color: var(--spmm-s-text); cursor: pointer; outline: none;
    min-width: 200px; transition: border-color .18s, box-shadow .18s;
}
.spmm-sort-select:focus { border-color: var(--spmm-s-primary); box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.spmm-sort-arrow { position: absolute; right: 13px; font-size: 10px; color: #94A3B8; pointer-events: none; }

/* ══════════════════════════════════════════════════════════
   SHOP COUNT
══════════════════════════════════════════════════════════ */
.spmm-shop-count {
    font-family: var(--spmm-s-font);
    font-size: 13.5px; font-weight: 500; color: var(--spmm-s-muted);
    margin: 0;
}
.spmm-shop-count strong { color: var(--spmm-s-text); font-weight: 800; }

/* ══════════════════════════════════════════════════════════
   STANDALONE SEARCH
══════════════════════════════════════════════════════════ */
.spmm-standalone-search {
    font-family: var(--spmm-s-font);
    -webkit-font-smoothing: antialiased;
    position: relative;
    width: 100%;
}
.spmm-standalone-search-wrap {
    display: flex; align-items: center; gap: 12px;
    border: 2px solid var(--spmm-s-border); border-radius: 14px;
    padding: 12px 16px; background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.spmm-standalone-search-wrap:focus-within {
    border-color: var(--spmm-s-primary);
    box-shadow: 0 0 0 4px rgba(245,158,11,.12);
}
.spmm-search-size-large .spmm-standalone-search-wrap { padding: 16px 22px; border-radius: 18px; }
.spmm-standalone-icon { font-size: 15px; color: var(--spmm-s-primary); flex-shrink: 0; }
.spmm-search-size-large .spmm-standalone-icon { font-size: 18px; }
.spmm-standalone-input {
    flex: 1; border: none; outline: none; background: none;
    font-family: var(--spmm-s-font); font-size: 14px;
    color: var(--spmm-s-text); font-weight: 500;
}
.spmm-search-size-large .spmm-standalone-input { font-size: 17px; }
.spmm-standalone-input::placeholder { color: #CBD5E1; font-weight: 400; }
.spmm-standalone-spinner {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid #F1F5F9; border-top-color: var(--spmm-s-primary);
    animation: spmm-s-spin .7s linear infinite; display: none;
}
.spmm-standalone-search.loading .spmm-standalone-spinner { display: block; }
@keyframes spmm-s-spin { to { transform: rotate(360deg); } }
.spmm-standalone-clear { border: none; background: none; cursor: pointer; padding: 4px; color: #94A3B8; border-radius: 6px; transition: color .15s; }
.spmm-standalone-clear:hover { color: var(--spmm-s-text); }

/* Standalone results dropdown */
.spmm-standalone-results {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; border: 1.5px solid var(--spmm-s-border);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
    z-index: 1000; max-height: 480px; overflow-y: auto;
}
.spmm-standalone-results.open { display: block; animation: spmm-s-drop .18s ease; }
@keyframes spmm-s-drop { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

.spmm-sr-section { padding: 14px 16px 8px; }
.spmm-sr-section + .spmm-sr-section { border-top: 1px solid #F1F5F9; }
.spmm-sr-label { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #94A3B8; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.spmm-sr-label i { font-size: 10px; }

/* SR product item */
.spmm-sr-prod {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 10px; border-radius: 10px; text-decoration: none;
    color: var(--spmm-s-text); transition: background .15s;
}
.spmm-sr-prod:hover { background: var(--spmm-s-bg); }
.spmm-sr-prod:focus { outline: 2px solid var(--spmm-s-primary); }
.spmm-sr-prod-img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; border: 1px solid #F1F5F9; flex-shrink: 0; background: var(--spmm-s-bg); }
.spmm-sr-prod-body { flex: 1; min-width: 0; }
.spmm-sr-prod-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #94A3B8; }
.spmm-sr-prod-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.spmm-sr-prod-price { font-size: 12px; font-weight: 800; color: var(--spmm-s-primary-dk); }

/* SR cat item */
.spmm-sr-cat { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--spmm-s-text); transition: background .15s; }
.spmm-sr-cat:hover { background: var(--spmm-s-primary-lt); }
.spmm-sr-cat:focus { outline: 2px solid var(--spmm-s-primary); }
.spmm-sr-cat-img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; border: 1px solid #F1F5F9; flex-shrink: 0; }
.spmm-sr-cat-icon { width: 38px; height: 38px; border-radius: 8px; background: #1E293B; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.spmm-sr-cat-name { font-size: 13px; font-weight: 600; }
.spmm-sr-cat-count { font-size: 11px; color: #94A3B8; }

/* SR tag pills */
.spmm-sr-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; }
.spmm-sr-tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 100px; background: var(--spmm-s-bg); border: 1.5px solid var(--spmm-s-border); font-size: 12px; font-weight: 600; color: var(--spmm-s-muted); text-decoration: none; transition: all .15s; }
.spmm-sr-tag:hover { background: var(--spmm-s-primary); border-color: var(--spmm-s-primary); color: #fff; }
.spmm-sr-tag-count { font-size: 10px; opacity: .7; }

/* SR footer */
.spmm-sr-footer { padding: 12px 16px; border-top: 1px solid #F1F5F9; background: #FAFBFC; }
.spmm-sr-see-all { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg,#F59E0B,#D97706); padding: 10px; border-radius: 10px; transition: all .18s; }
.spmm-sr-see-all:hover { box-shadow: 0 4px 14px rgba(245,158,11,.35); transform: translateY(-1px); }

/* SR states */
.spmm-sr-empty { padding: 28px 16px; text-align: center; }
.spmm-sr-empty i { font-size: 32px; color: #E2E8F0; display: block; margin-bottom: 10px; }
.spmm-sr-empty p { font-size: 13px; color: #94A3B8; }

/* ══════════════════════════════════════════════════════════
   HORIZONTAL FILTER LAYOUT
══════════════════════════════════════════════════════════ */
.spmm-filters-horizontal {
    border-radius: 14px;
}
.spmm-filters-horizontal .spmm-filter-header { border-radius: 12px 12px 0 0; }
.spmm-filters-horizontal .spmm-filter-form {
    display: flex; flex-wrap: wrap; gap: 0; padding: 0;
}
.spmm-filters-horizontal .spmm-filter-group {
    flex: 1; min-width: 180px; border-bottom: none;
    border-right: 1px solid var(--spmm-s-border);
}
.spmm-filters-horizontal .spmm-filter-group:last-child { border-right: none; }
.spmm-filters-horizontal .spmm-filter-group-body { display: block; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .spmm-shop-sort .spmm-sort-label { display: none; }
    .spmm-sort-select { min-width: 160px; }
    .spmm-active-pill-type { display: none; }
    .spmm-filters-horizontal .spmm-filter-form { flex-direction: column; }
    .spmm-filters-horizontal .spmm-filter-group { border-right: none; border-bottom: 1px solid var(--spmm-s-border); }
    .spmm-breadcrumb li { font-size: 12px; }
}


/* ══════════════════════════════════════════════════════════
   BOUTIQUE ARCHIVE LAYOUT
   Used by archive-product.php and taxonomy-product_cat.php
══════════════════════════════════════════════════════════ */
.spmm-boutique-wrap {
    max-width: 1360px; margin: 0 auto;
    padding: 28px 48px 80px;
}

.spmm-boutique-page-header {
    margin-bottom: 16px;
}
.spmm-boutique-page-title {
    font-family: 'Syne', var(--spmm-s-font);
    font-size: 28px; font-weight: 800;
    color: var(--spmm-s-text); letter-spacing: -.03em;
    margin: 0 0 6px;
}

/* ════════════════════════════════════════════════════════
   BOUTIQUE LAYOUT v5.3.2
════════════════════════════════════════════════════════ */
.spmm-boutique-wrap{padding:28px 0 80px;font-family:var(--spmm-s-font);-webkit-font-smoothing:antialiased}

/* ── Hero ── */
.spmm-shop-hero{background:linear-gradient(135deg,#0D111A 0%,#1E293B 100%);border-radius:18px;overflow:hidden;margin-bottom:22px;min-height:110px;position:relative}
.spmm-shop-hero.has-img{background-size:cover;background-position:center}
.spmm-shop-hero.has-img::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(13,17,26,.88),rgba(30,41,59,.65))}
.spmm-shop-hero-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:28px 36px;gap:20px}
.spmm-shop-hero-title{font-family:'Syne',var(--spmm-s-font);font-size:clamp(20px,3vw,32px);font-weight:800;color:#fff;letter-spacing:-.03em;margin:0 0 5px;line-height:1.1}
.spmm-shop-hero-desc{font-size:13.5px;color:rgba(255,255,255,.55);margin:0;line-height:1.55;max-width:460px}
.spmm-shop-hero-stat{flex-shrink:0;text-align:center;background:rgba(245,158,11,.12);border:1.5px solid rgba(245,158,11,.28);border-radius:14px;padding:14px 20px}
.spmm-shop-hero-stat-num{display:block;font-family:'Syne',var(--spmm-s-font);font-size:30px;font-weight:900;color:#F59E0B;line-height:1}
.spmm-shop-hero-stat-label{font-size:10px;font-weight:700;color:rgba(255,255,255,.45);text-transform:uppercase;letter-spacing:.08em}

/* ── Category pills ── */
.spmm-cat-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;align-items:center}
.spmm-cat-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:100px;border:1.5px solid var(--spmm-s-border);background:#fff;color:var(--spmm-s-text);font-size:13px;font-weight:600;text-decoration:none!important;transition:all .18s;white-space:nowrap}
.spmm-cat-pill:hover{border-color:rgba(245,158,11,.5);background:#FFFBEB;color:#D97706;transform:translateY(-1px)}
.spmm-cat-pill.is-active{background:linear-gradient(135deg,#F59E0B,#D97706);border-color:#D97706;color:#fff;box-shadow:0 4px 12px rgba(245,158,11,.3)}
.spmm-cat-pill i{font-size:11px;opacity:.7}
.spmm-cat-pill-img{width:20px;height:20px;border-radius:50%;object-fit:cover;flex-shrink:0}
.spmm-cat-pill-count{font-size:10px;font-weight:700;background:rgba(0,0,0,.08);padding:1px 7px;border-radius:100px;margin-left:2px}
.spmm-cat-pill.is-active .spmm-cat-pill-count{background:rgba(255,255,255,.22)}

/* ── Layout ── */
.spmm-boutique-layout{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start}
.spmm-boutique-sidebar{position:sticky;top:calc(var(--spmm-nav-h,72px) + var(--spmm-topbar-h,36px) + 16px);max-height:calc(100vh - 130px);overflow-y:auto;display:flex;flex-direction:column;gap:14px}
.spmm-boutique-sidebar::-webkit-scrollbar{width:3px}
.spmm-boutique-sidebar::-webkit-scrollbar-thumb{background:var(--spmm-s-border);border-radius:3px}
.spmm-boutique-main{min-width:0}

/* ── Toolbar ── */
.spmm-boutique-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 0 14px;margin-bottom:18px;border-bottom:1.5px solid var(--spmm-s-border);flex-wrap:wrap;gap:10px}
.spmm-toolbar-right{display:flex;align-items:center;gap:10px}
.spmm-view-toggle{display:flex;border:1.5px solid var(--spmm-s-border);border-radius:9px;overflow:hidden}
.spmm-view-btn{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#fff;border:none;cursor:pointer;font-size:13px;color:var(--spmm-s-muted);transition:all .15s}
.spmm-view-btn:first-child{border-right:1px solid var(--spmm-s-border)}
.spmm-view-btn.active,.spmm-view-btn:hover{background:#0D111A;color:#F59E0B}
.spmm-boutique-toolbar .woocommerce-ordering select{border:1.5px solid var(--spmm-s-border)!important;border-radius:9px!important;padding:7px 30px 7px 11px!important;font-family:var(--spmm-s-font)!important;font-size:13px!important;font-weight:600!important;color:var(--spmm-s-text)!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center!important;-webkit-appearance:none!important;outline:none!important;height:36px!important}

/* ════════════════════════════════════════════════════════
   ★ PRODUCT CARDS — Double image FIX + full redesign
   WooCommerce adds <img class="secondary"> for hover effect
════════════════════════════════════════════════════════ */

/* Grid */
.spmm-boutique-main ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important;gap:18px!important;margin:0!important;padding:0!important;list-style:none!important}

/* Card shell */
.spmm-boutique-main ul.products li.product,
.spmm-sc-wrap ul.products li.product{
    display:flex!important;flex-direction:column!important;background:#fff!important;
    border:1.5px solid var(--spmm-s-border)!important;border-radius:15px!important;
    overflow:hidden!important;margin:0!important;padding:0!important;
    float:none!important;width:auto!important;position:relative!important;
    transition:box-shadow .22s,transform .22s,border-color .22s!important
}
.spmm-boutique-main ul.products li.product:hover,
.spmm-sc-wrap ul.products li.product:hover{
    box-shadow:0 10px 32px rgba(0,0,0,.09)!important;
    transform:translateY(-4px)!important;
    border-color:rgba(245,158,11,.4)!important
}

/* ★ THE FIX: hide WooCommerce hover/secondary image */
.spmm-boutique-main ul.products li.product img.secondary,
.spmm-sc-wrap ul.products li.product img.secondary,
ul.products li.product img.secondary{display:none!important}

/* Image - contain so signs show fully */
.spmm-boutique-main ul.products li.product .woocommerce-LoopProduct-link,
.spmm-boutique-main ul.products li.product a.product-image-link,
.spmm-sc-wrap ul.products li.product .woocommerce-LoopProduct-link{
    display:block!important;overflow:hidden!important;background:#F8FAFC!important
}
.spmm-boutique-main ul.products li.product img,
.spmm-sc-wrap ul.products li.product img{
    display:block!important;width:100%!important;height:auto!important;
    aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;
    padding:18px!important;box-sizing:border-box!important;
    transition:transform .4s ease!important;margin:0!important;
    float:none!important;max-width:none!important
}
.spmm-boutique-main ul.products li.product:hover img,
.spmm-sc-wrap ul.products li.product:hover img{transform:scale(1.06)!important}

/* Title */
.spmm-boutique-main ul.products .woocommerce-loop-product__title,
.spmm-sc-wrap ul.products .woocommerce-loop-product__title{
    font-family:'Syne',-apple-system,sans-serif!important;
    font-size:13px!important;font-weight:700!important;
    color:#0F172A!important;line-height:1.35!important;
    padding:12px 14px 5px!important;margin:0!important;flex:1!important
}

/* Price */
.spmm-boutique-main ul.products li.product .price,
.spmm-sc-wrap ul.products li.product .price{
    display:flex!important;flex-direction:column!important;
    padding:0 14px 8px!important;margin:0!important;
    background:none!important;border:none!important;border-radius:0!important;gap:1px!important
}
.spmm-boutique-main ul.products li.product .price::before,
.spmm-sc-wrap ul.products li.product .price::before{
    content:'Prix HT';font-size:8.5px!important;font-weight:800!important;
    letter-spacing:.1em!important;text-transform:uppercase!important;color:#94A3B8!important
}
.spmm-boutique-main ul.products li.product .price .amount,
.spmm-sc-wrap ul.products li.product .price .amount{
    font-family:'Syne',sans-serif!important;font-size:15px!important;
    font-weight:900!important;color:#D97706!important;letter-spacing:-.02em!important
}
.spmm-boutique-main ul.products li.product .price del .amount,
.spmm-sc-wrap ul.products li.product .price del .amount{font-size:12px!important;color:#94A3B8!important;font-weight:500!important}
.spmm-boutique-main ul.products li.product .price ins,
.spmm-sc-wrap ul.products li.product .price ins{text-decoration:none!important}

/* CTA button */
.spmm-boutique-main ul.products li.product a.button,
.spmm-boutique-main ul.products li.product button.add_to_cart_button,
.spmm-sc-wrap ul.products li.product a.button,
.spmm-sc-wrap ul.products li.product button.add_to_cart_button{
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:6px!important;margin:4px 13px 13px!important;padding:10px 13px!important;
    background:#0D111A!important;color:#F59E0B!important;border:none!important;
    border-radius:100px!important;font-size:11.5px!important;font-weight:800!important;
    text-decoration:none!important;cursor:pointer!important;
    transition:all .18s!important;width:calc(100% - 26px)!important;letter-spacing:.01em!important
}
.spmm-boutique-main ul.products li.product a.button:hover,
.spmm-boutique-main ul.products li.product button.add_to_cart_button:hover,
.spmm-sc-wrap ul.products li.product a.button:hover,
.spmm-sc-wrap ul.products li.product button.add_to_cart_button:hover{
    background:linear-gradient(135deg,#F59E0B,#D97706)!important;color:#fff!important;
    box-shadow:0 4px 12px rgba(245,158,11,.35)!important
}

/* Sale badge */
.spmm-boutique-main ul.products li.product .onsale,
.spmm-sc-wrap ul.products li.product .onsale{
    position:absolute!important;top:10px!important;left:10px!important;
    z-index:2!important;background:#EF4444!important;color:#fff!important;
    border-radius:7px!important;font-size:9.5px!important;font-weight:800!important;
    padding:3px 9px!important;min-height:unset!important;min-width:unset!important;
    line-height:1.3!important;margin:0!important;letter-spacing:.03em
}

/* ── Sidebar help ── */
.spmm-sidebar-help{display:flex;gap:13px;padding:16px;background:linear-gradient(135deg,#0D111A,#1E293B);border-radius:13px;color:rgba(255,255,255,.7)}
.spmm-sidebar-help-icon{width:38px;height:38px;flex-shrink:0;border-radius:11px;background:rgba(245,158,11,.15);display:flex;align-items:center;justify-content:center;font-size:17px;color:#F59E0B}
.spmm-sidebar-help strong{display:block;font-size:12.5px;font-weight:800;color:#fff;margin-bottom:2px}
.spmm-sidebar-help p{font-size:11.5px;margin:0 0 9px;color:rgba(255,255,255,.45)}
.spmm-sidebar-help-btn{display:inline-flex;align-items:center;gap:5px;padding:7px 13px;background:#F59E0B;color:#0D111A!important;border-radius:8px;font-size:11.5px;font-weight:800;text-decoration:none!important;transition:opacity .18s}
.spmm-sidebar-help-btn:hover{opacity:.9}

/* ── Pagination ── */
.spmm-boutique-main .woocommerce-pagination ul,
.spmm-sc-wrap .woocommerce-pagination ul{display:flex!important;gap:5px!important;justify-content:center!important;list-style:none!important;padding:0!important;margin:32px 0 0!important}
.spmm-boutique-main .woocommerce-pagination ul li a,
.spmm-boutique-main .woocommerce-pagination ul li span,
.spmm-sc-wrap .woocommerce-pagination ul li a,
.spmm-sc-wrap .woocommerce-pagination ul li span{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;border-radius:9px!important;border:1.5px solid #E2E8F0!important;background:#fff!important;font-size:13px!important;font-weight:600!important;color:#0F172A!important;text-decoration:none!important;transition:all .15s!important}
.spmm-boutique-main .woocommerce-pagination ul li span.current,
.spmm-sc-wrap .woocommerce-pagination ul li span.current{background:#F59E0B!important;border-color:#F59E0B!important;color:#fff!important}

/* ── WC notices ── */
.spmm-boutique-main .woocommerce-info,.spmm-sc-wrap .woocommerce-info{border-left-color:#F59E0B!important;background:#FFFBEB!important;color:#92400E!important;border-radius:10px!important;font-size:14px!important}

/* ── Empty state ── */
.spmm-shop-empty{padding:64px 28px;text-align:center;background:#F8FAFC;border:1.5px dashed var(--spmm-s-border);border-radius:18px}
.spmm-shop-empty-icon{font-size:44px;color:#CBD5E1;display:block;margin-bottom:18px}
.spmm-shop-empty h2{font-family:'Syne',sans-serif;font-size:20px;font-weight:800;color:#0F172A;margin:0 0 9px}
.spmm-shop-empty p{color:#64748B;font-size:14px;margin:0 0 22px}
.spmm-shop-empty-btn{display:inline-flex;align-items:center;gap:7px;padding:12px 26px;background:linear-gradient(135deg,#F59E0B,#D97706);color:#fff!important;border-radius:100px;font-weight:800;font-size:13.5px;text-decoration:none!important;transition:all .2s}
.spmm-shop-empty-btn:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(245,158,11,.38)}

/* ── List view ── */
.spmm-boutique-main.spmm-view-list ul.products{grid-template-columns:1fr!important}
.spmm-boutique-main.spmm-view-list ul.products li.product{flex-direction:row!important;align-items:center!important;max-height:130px!important;overflow:hidden!important}
.spmm-boutique-main.spmm-view-list ul.products li.product img{width:130px!important;height:130px!important;aspect-ratio:unset!important;flex-shrink:0!important;padding:12px!important}
.spmm-boutique-main.spmm-view-list ul.products .woocommerce-loop-product__title{font-size:14px!important;padding:12px 13px 4px!important}
.spmm-boutique-main.spmm-view-list ul.products li.product .button,
.spmm-boutique-main.spmm-view-list ul.products li.product .add_to_cart_button{width:auto!important;margin:auto 13px auto auto!important;white-space:nowrap!important}

/* ── Responsive ── */
@media(max-width:1024px){.spmm-boutique-wrap{padding:20px 0 56px}}
@media(max-width:820px){
    .spmm-boutique-layout{grid-template-columns:1fr}
    .spmm-boutique-sidebar{position:static;max-height:none;overflow-y:visible}
    .spmm-boutique-main ul.products{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important}
    .spmm-shop-hero-inner{padding:22px 24px}
}
@media(max-width:520px){
    .spmm-boutique-main ul.products{grid-template-columns:1fr 1fr!important;gap:12px!important}
    .spmm-shop-hero-stat{display:none}
    .spmm-cat-pill{padding:6px 12px;font-size:12px}
}
