/* ============================================================
   FASHION SHOP CSS v3 — Luxury Minimal
   Brand red: #c83632  |  Warm neutral base
   Fonts: Theme default (Playfair Display headings, Montserrat body)
   NO hardcoded font-family on h1/h2/h3/body — inherits theme fonts

   v3 CHANGES:
   FIX-A — Star rating: block wrapper, overflow:hidden, left-aligned with title
   FIX-B — Trust strip: .fsh-trust-icon red circle per item, mobile centred
   FIX-C — Mobile catbar: stroke-based bag icon for category items
   BONUS — Card hover accent bar, sale badge pulse, cart loading state,
            wishlist heart pop, catbar scroll fade hint
   ============================================================ */

.fsh-shop {
    /* ── Brand ── */
    --red:          #c83632;
    --red-dark:     #8B1F1C;
    --red-hover:    #b02e2a;
    --red-soft:     #F2D4D3;

    /* ── Neutrals ── */
    --warm-white:   #FAF8F5;
    --surface:      #F0EBE3;
    --surface-deep: #E5DDD0;
    --border:       #E2D9CF;
    --border-strong:#C8BDB2;

    /* ── Text ── */
    --ink:          #1C1917;
    --ink-soft:     #3D3530;
    --ink-muted:    #7A6F68;
    --ink-faint:    #B5ADA7;

    /* ── Shadows ── */
    --shadow-sm:    0 1px 4px rgba(28,25,23,.06);
    --shadow-md:    0 4px 16px rgba(28,25,23,.10);

    /* ── Layout ── */
    --sidebar-w:    272px;
    --transition:   all .25s cubic-bezier(.4,0,.2,1);

    color: var(--ink);
    background: var(--warm-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.fsh-shop *, .fsh-shop *::before, .fsh-shop *::after { box-sizing: border-box; }
.fsh-shop a { text-decoration: none; color: inherit; }
.fsh-shop button { cursor: pointer; border: none; background: none; }
.fsh-shop ul { list-style: none; margin: 0; padding: 0; }
/* Global SVG reset — stroke-based. Fill-based SVGs override inline or via class. */
.fsh-shop svg {
    display: block; fill: none;
    stroke: currentColor; stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
}

/* ============================================================
   MOBILE CATEGORY SCROLLBAR
   FIX #9 — Slim pill: icon left, text right
   FIX-C  — Shopping bag icon for category pills (stroke SVG override)
   ============================================================ */
.fsh-shop .fsh-mob-catbar {
    display: none; /* hidden on desktop */
    flex-direction: row;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid var(--border);
    background: var(--warm-white);
    padding: 10px 16px;
    white-space: nowrap;
    /* BONUS — right-edge fade hint so user knows it scrolls */
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
    mask-image: linear-gradient(to right, #000 85%, transparent 100%);
}
.fsh-shop .fsh-mob-catbar::-webkit-scrollbar { display: none; }

.fsh-shop .fsh-mob-cat-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding: 6px 14px 6px 8px;
    border-radius: 40px;
    border: 1px solid var(--border);
    margin-right: 8px;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--ink-muted);
    background: var(--warm-white);
    flex-shrink: 0;
    line-height: 1;
}
.fsh-shop .fsh-mob-cat-item:hover {
    border-color: var(--red);
    color: var(--red);
}
.fsh-shop .fsh-mob-cat-item.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* Icon container */
.fsh-shop .fsh-mob-cat-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--red-soft);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--red);
}
.fsh-shop .fsh-mob-cat-item.active .fsh-mob-cat-icon {
    background: rgba(255,255,255,.30);
    color: #fff;
}

/* Fill-based SVG (the "All" grid icon) */
.fsh-shop .fsh-mob-cat-icon--fill svg {
    width: 12px; height: 12px;
    fill: currentColor;
    stroke: none;
}

/* FIX-C — Stroke-based SVG (shopping bag for category items) */
.fsh-shop .fsh-mob-cat-icon--stroke svg {
    width: 13px; height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.fsh-shop .fsh-mob-cat-icon img {
    width: 100%; height: 100%; object-fit: cover;
}
.fsh-shop .fsh-mob-cat-name {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .03em;
    line-height: 1;
}

/* ============================================================
   WRAPPER
   ============================================================ */
.fsh-shop .fsh-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px 64px;
}

/* ============================================================
   FILTER BAR
   3-column grid: left | center (shipping CTA) | right
   ============================================================ */
.fsh-shop .fsh-filterbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 36px;
    gap: 0;
}
.fsh-shop .fsh-filterbar-left {
    display: flex; align-items: center; gap: 20px; justify-content: flex-start;
}
.fsh-shop .fsh-filterbar-center {
    display: flex; align-items: center; justify-content: center; padding: 0 32px;
}
.fsh-shop .fsh-filterbar-right {
    display: flex; align-items: center; gap: 20px; justify-content: flex-end;
}

/* Product count */
.fsh-shop .fsh-count {
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted);
}

/* Filter toggle (hamburger) */
.fsh-shop .fsh-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--ink);
    background: var(--ink);
    color: var(--warm-white);
    padding: 9px 18px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: var(--transition);
}
.fsh-shop .fsh-filter-toggle.fsh-desktop-show { display: flex; }
.fsh-shop .fsh-filter-toggle:hover { background: var(--red); border-color: var(--red); }
.fsh-shop .fsh-filter-toggle svg { width: 14px; height: 14px; }
.fsh-shop .fsh-active-count {
    background: var(--red); color: #fff; font-size: 10px; font-weight: 600;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Breadcrumb */
.fsh-shop .fsh-breadcrumb,
.fsh-shop .fsh-breadcrumb .woocommerce-breadcrumb {
    font-size: 12px; color: var(--ink-muted); letter-spacing: .03em;
}
.fsh-shop .fsh-breadcrumb a { color: var(--ink-soft); transition: color .2s; }
.fsh-shop .fsh-breadcrumb a:hover { color: var(--red); }

/* Sort dropdown */
.fsh-shop .fsh-sort-wrap select,
.fsh-shop .fsh-sort-wrap .orderby {
    border: none;
    border-bottom: 1px solid var(--border-strong);
    background: transparent;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 4px 24px 4px 0;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%237A6F68' stroke-width='1.5'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    cursor: pointer;
    transition: var(--transition);
}
.fsh-shop .fsh-sort-wrap select:focus,
.fsh-shop .fsh-sort-wrap .orderby:focus { outline: none; border-color: var(--ink); }

/* View toggle buttons */
.fsh-shop .fsh-view-toggle { display: flex; gap: 4px; }
.fsh-shop .fsh-view-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-muted); transition: var(--transition);
}
.fsh-shop .fsh-view-btn svg { width: 14px; height: 14px; }
.fsh-shop .fsh-view-btn:hover,
.fsh-shop .fsh-view-btn.active { border-color: var(--ink); background: var(--ink); color: var(--warm-white); }

/* ============================================================
   LAYOUT
   ============================================================ */
.fsh-shop .fsh-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    gap: 32px;
    align-items: start;
}
.fsh-shop .fsh-layout.sidebar-collapsed { grid-template-columns: 1fr; }
.fsh-shop .fsh-layout.sidebar-collapsed .fsh-sidebar { display: none; }

/* Filter wrap spacing — keeps sidebar aligned with first product card */
.fsh-shop .fsh-filter-wrap { margin-bottom: 25px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.fsh-shop .fsh-sidebar {
    position: sticky;
    top: 30px;
    align-self: start;
    margin-top: 87px; /* aligns sidebar top with first product card image */
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.fsh-shop .fsh-sidebar::-webkit-scrollbar { width: 3px; }
.fsh-shop .fsh-sidebar::-webkit-scrollbar-thumb { background: var(--border); }

.fsh-shop .fsh-sidebar-inner { margin-top: 0; padding-top: 0; }
.fsh-shop .fsh-widget-cats .fsh-widget-head { padding-top: 8px; padding-bottom: 8px; }

.fsh-shop .fsh-mobile-header { display: none; }
.fsh-shop .fsh-close-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft); transition: var(--transition);
}
.fsh-shop .fsh-close-btn:hover { background: var(--ink); color: var(--warm-white); border-color: var(--ink); }
.fsh-shop .fsh-close-btn svg { width: 16px; height: 16px; }

/* Widget */
.fsh-widget { border-bottom: 1px solid var(--border); }
.fsh-widget-head {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
    font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
    font-weight: 600; color: var(--ink); transition: color .2s;
}
.fsh-widget-head:hover { color: var(--red); }
.fsh-chevron { width: 14px; height: 14px; transition: transform .25s; }
.fsh-widget-head[aria-expanded="false"] .fsh-chevron { transform: rotate(-90deg); }
.fsh-widget-body { padding-bottom: 20px; }
.fsh-widget-body.collapsed { display: none; }

/* Category tiles */
.fsh-shop .fsh-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fsh-shop .fsh-cat-tile { display: block; overflow: hidden; position: relative; }
.fsh-shop .fsh-cat-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.fsh-shop .fsh-cat-img-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94), filter .4s;
    filter: brightness(.78);
}
.fsh-shop .fsh-cat-tile:hover .fsh-cat-img-wrap img { transform: scale(1.07); filter: brightness(.55); }
.fsh-shop .fsh-cat-img-placeholder { width: 100%; min-height: 110px; background: var(--surface); }
.fsh-shop .fsh-cat-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px 10px 26px;
    background: linear-gradient(to top, rgba(10,8,7,.82) 0%, rgba(10,8,7,.20) 60%, transparent 100%);
    display: block;
}
.fsh-shop .fsh-cat-name {
    color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    font-weight: 700; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.fsh-shop .fsh-cat-count {
    position: absolute; bottom: 12px; left: 10px;
    color: rgba(255,255,255,.72); font-size: 10px; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.fsh-shop .fsh-cat-tile.active::after {
    content: ''; position: absolute; inset: 0;
    border: 2px solid var(--red); pointer-events: none; z-index: 2;
}

/* Active filters */
.fsh-shop .fsh-active-filters { padding: 14px 0; border-bottom: 1px solid var(--border); }
.fsh-shop .fsh-active-label {
    font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-muted); font-weight: 500; display: block; margin-bottom: 8px;
}
.fsh-shop .fsh-active-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fsh-shop .fsh-active-chip {
    display: flex; align-items: center; gap: 5px;
    border: 1px solid var(--border);
    padding: 4px 10px; font-size: 11px; color: var(--ink-soft); transition: var(--transition);
}
.fsh-shop .fsh-active-chip:hover { border-color: var(--red); color: var(--red); }
.fsh-shop .fsh-active-chip svg { width: 10px; height: 10px; }
.fsh-shop .fsh-clear-all {
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--red); border-bottom: 1px solid var(--red-soft); padding-bottom: 1px;
    transition: color .2s; margin-left: auto;
}
.fsh-shop .fsh-clear-all:hover { color: var(--red-dark); }

/* Top rated */
.fsh-shop .fsh-toprated-list { display: flex; flex-direction: column; gap: 0; }
.fsh-shop .fsh-toprated-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--border);
}
.fsh-shop .fsh-toprated-item:last-child { border-bottom: none; }
.fsh-shop .fsh-toprated-thumb {
    flex-shrink: 0; width: 60px; height: 60px;
    overflow: hidden; display: block; border: 1px solid var(--border);
}
.fsh-shop .fsh-toprated-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s;
}
.fsh-shop .fsh-toprated-item:hover .fsh-toprated-thumb img { transform: scale(1.08); }
.fsh-shop .fsh-toprated-no-img { width: 60px; height: 60px; background: var(--surface); }
.fsh-shop .fsh-toprated-info { flex: 1; min-width: 0; }
.fsh-shop .fsh-toprated-name {
    font-size: 12px; color: var(--ink-soft); display: block;
    line-height: 1.4; margin-bottom: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s;
}
.fsh-shop .fsh-toprated-item:hover .fsh-toprated-name { color: var(--red); }
.fsh-shop .fsh-toprated-stars { margin-bottom: 3px; }
.fsh-shop .fsh-toprated-stars .star-rating { font-size: .75em !important; margin: 0 !important; float: none !important; }
.fsh-shop .fsh-toprated-stars .star-rating::before,
.fsh-shop .fsh-toprated-stars .star-rating span::before { color: var(--red) !important; }
.fsh-shop .fsh-toprated-price { font-size: 12px; color: var(--ink); font-weight: 500; }
.fsh-shop .fsh-toprated-price del { color: var(--ink-faint); font-weight: 400; font-size: 11px; margin-right: 4px; }
.fsh-shop .fsh-toprated-price ins { text-decoration: none; color: var(--red); }

/* Quick-cat cards (New In / Sale) */
.fsh-shop .fsh-widget-quickcats { border-bottom: 1px solid var(--border); }
.fsh-shop .fsh-quickcat-row { display: flex; gap: 8px; }
.fsh-shop .fsh-quickcat-card {
    flex: 1; display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    border: 1px solid var(--border); transition: var(--transition); min-width: 0;
}
.fsh-shop .fsh-quickcat-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); }
.fsh-shop .fsh-quickcat-card.active { border-color: var(--red); }
.fsh-shop .fsh-quickcat-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.fsh-shop .fsh-quickcat-img-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94); filter: brightness(.82);
}
.fsh-shop .fsh-quickcat-card:hover .fsh-quickcat-img-wrap img { transform: scale(1.07); }
.fsh-shop .fsh-quickcat-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,8,7,.60) 0%, transparent 60%);
}
.fsh-shop .fsh-quickcat-name {
    display: flex; align-items: center; gap: 7px;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink); padding: 8px 8px 2px;
}
.fsh-shop .fsh-quickcat-tag {
    display: inline-flex; align-items: center;
    background: var(--red); color: #fff;
    font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 3px 8px; line-height: 1.4; border-radius: 2px; flex-shrink: 0;
}
.fsh-shop .fsh-quickcat-count {
    display: block; font-size: 10px; color: var(--ink-muted); padding: 0 8px 10px;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.fsh-shop .fsh-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: transparent;
}
.fsh-shop .fsh-layout.sidebar-collapsed .fsh-products-grid {
    grid-template-columns: repeat(4, 1fr);
}
.fsh-shop .fsh-products-grid ul.products { display: contents; }
.fsh-shop .fsh-products-grid ul.products::before,
.fsh-shop .fsh-products-grid ul.products::after { display: none !important; }

/* Product card */
.fsh-shop .fsh-products-grid ul.products li.product,
.fsh-shop .fsh-products-grid ul.products li.product.first,
.fsh-shop .fsh-products-grid ul.products li.product.last,
.fsh-shop .fsh-products-grid ul.products li.product:nth-child(n) {
    background: var(--warm-white);
    margin: 0 !important; width: 100% !important; clear: none !important; padding: 0 !important;
    position: relative; display: flex; flex-direction: column;
    border: 1px solid var(--border);
    transition: box-shadow .3s, border-color .3s;
    overflow: hidden; /* needed for the bottom accent bar */
}
.fsh-shop .fsh-products-grid ul.products li.product:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

/* BONUS — Red accent bar sweeps from left on hover */
.fsh-shop .fsh-products-grid ul.products li.product::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.fsh-shop .fsh-products-grid ul.products li.product:hover::after {
    transform: scaleX(1);
}

/* Product image */
.fsh-shop .fsh-products-grid ul.products li.product a.woocommerce-LoopProduct-link {
    display: block; overflow: hidden; position: relative; flex-shrink: 0;
}
.fsh-shop .fsh-products-grid ul.products li.product img {
    width: 100% !important; height: 300px !important;
    object-fit: cover !important; display: block !important; margin: 0 !important;
    transition: transform .65s cubic-bezier(.25,.46,.45,.94) !important;
}
.fsh-shop .fsh-products-grid ul.products li.product:hover img { transform: scale(1.05) !important; }

/* ── FIX-A: STAR RATING ──
   WooCommerce .star-rating uses position:absolute + padding-top on its inner
   span to clip the filled stars — do NOT remove that mechanism.
   We only need to ensure the outer wrapper:
   1. Is a block element (not inline-block which floats inside flex)
   2. Clears the internal absolute-positioned span with overflow:hidden
   3. Has the same left padding (14px) as .woocommerce-loop-product__title
      so the stars align perfectly below the title text.
   ── */
.fsh-shop .fsh-products-grid .woocommerce-product-rating,
.fsh-shop .fsh-products-grid .nhs-loop-rating,
.fsh-shop .fsh-products-grid .custom-shop-rating {
    display: block !important;
    overflow: hidden !important;   /* clears WC's internal float */
    padding: 8px 14px 0 !important; /* 14px matches title left padding */
    margin: 0 !important;
    line-height: 1 !important;
}
/* Star rating widget itself — remove float, keep inline so it respects padding */
.fsh-shop .fsh-products-grid .star-rating {
    float: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
}
.fsh-shop .fsh-products-grid .star-rating::before,
.fsh-shop .fsh-products-grid .star-rating span::before { color: var(--red) !important; }
.fsh-shop .shop-rating-count { display: none !important; }

/* Product title */
.fsh-shop .woocommerce-loop-product__title {
    font-size: 15px !important; font-weight: 500 !important;
    color: var(--ink) !important; line-height: 1.35 !important;
    padding: 10px 14px 4px !important; margin: 0 !important; transition: color .2s;
}
.fsh-shop .fsh-products-grid ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--red) !important;
}

/* Price */
.fsh-shop .fsh-products-grid ul.products li.product .price {
    font-size: 14px !important; font-weight: 400 !important;
    color: var(--ink-soft) !important; padding: 2px 14px 8px !important;
    margin: 0 !important; display: block !important; letter-spacing: .01em;
}
.fsh-shop .fsh-products-grid ul.products li.product .price del {
    color: var(--ink-faint) !important; font-size: 12px !important;
    margin-right: 5px !important; opacity: .8 !important;
}
.fsh-shop .fsh-products-grid ul.products li.product .price ins {
    text-decoration: none !important; color: var(--red) !important; font-weight: 500 !important;
}

/* Sale badge + BONUS pulse */
@keyframes fsh-sale-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,54,50,.4); }
    50%       { box-shadow: 0 0 0 5px rgba(200,54,50,0); }
}
.fsh-shop .onsale,
.fsh-shop .fsh-products-grid .onsale {
    position: absolute !important;
    top: 12px !important; left: 12px !important; right: auto !important; bottom: auto !important;
    margin: 0 !important;
    background: var(--red) !important; color: #fff !important;
    font-size: 9px !important; font-weight: 600 !important;
    letter-spacing: .14em !important; text-transform: uppercase !important;
    padding: 5px 10px !important; border-radius: 0 !important;
    min-height: auto !important; min-width: auto !important;
    z-index: 3 !important; line-height: 1.2 !important;
    animation: fsh-sale-pulse 2.4s ease infinite;
}

.fsh-shop .et_overlay { display: none !important; }

/* ── BUTTONS ── */
.fsh-shop .fsh-btn-wrap {
    padding: 10px 14px 16px; display: flex; gap: 8px; margin-top: auto;
}
.fsh-shop .fsh-add-cart-btn,
.fsh-shop .fsh-view-options-btn {
    flex: 1; background: var(--red); color: #fff; border: none;
    padding: 12px 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    font-weight: 500; display: flex; align-items: center; justify-content: center;
    gap: 8px; transition: background .2s; cursor: pointer; text-align: center;
    position: relative; overflow: hidden;
}
.fsh-shop .fsh-add-cart-btn:hover,
.fsh-shop .fsh-view-options-btn:hover { background: var(--red-dark); }
.fsh-shop .fsh-add-cart-btn svg {
    width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 1.8;
}

/* BONUS — Add to cart loading spinner */
@keyframes fsh-spin { to { transform: rotate(360deg); } }
.fsh-shop .fsh-add-cart-btn.loading {
    pointer-events: none;
    color: transparent;
}
.fsh-shop .fsh-add-cart-btn.loading::before {
    content: '';
    position: absolute;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: fsh-spin .7s linear infinite;
}
.fsh-shop .fsh-add-cart-btn.loading svg { opacity: 0; }

/* Hide WC "View Cart" notice */
.fsh-shop .woocommerce-message,
.fsh-shop .added_to_cart,
.fsh-active .woocommerce-message a.button.wc-forward { display: none !important; }

/* Wishlist button */
.fsh-shop .fsh-wish-btn {
    width: 44px; flex-shrink: 0;
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); cursor: pointer; padding: 0;
}
.fsh-shop .fsh-wish-btn:hover { background: var(--red-soft); border-color: var(--red-soft); }
.fsh-shop .fsh-wish-btn .fsh-heart-icon {
    width: 17px; height: 17px;
    stroke: var(--ink-muted); fill: none; stroke-width: 1.8; display: block;
    transition: stroke .2s, fill .2s, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.fsh-shop .fsh-wish-btn:hover .fsh-heart-icon { stroke: var(--red); fill: var(--red-soft); }
/* BONUS — heart pop on wishlisted */
.fsh-shop .fsh-wish-btn.wishlisted .fsh-heart-icon {
    stroke: var(--red); fill: var(--red);
}
.fsh-shop .fsh-wish-btn.fsh-heart-pop .fsh-heart-icon {
    transform: scale(1.4);
}

/* Hide TI plugin's own text links */
.fsh-shop .tinv-wishlist,
.fsh-shop a.tinvwl-loop-btn-link,
.fsh-shop .tinvwl-loop-btn-link,
.fsh-shop a[class*="tinvwl"]:not(.fsh-wish-btn),
.fsh-active a.tinvwl-loop-btn-link,
.fsh-active .tinv-wishlist.tinvwl-loop { display: none !important; }

/* TI Wishlist popup brand styling */
.tinv-wishlist-popup .tinv-modal-header,
.tinv-wishlist .tinv-modal-header { background: var(--red) !important; border-color: var(--red) !important; }
.tinv-wishlist-popup .tinv-modal-header h2,
.tinv-wishlist-popup .tinv-modal-header .tinv-modal-title { color: #fff !important; }
.tinv-wishlist-popup .tinv-close-modal,
.tinv-wishlist .tinv-close-modal { color: #fff !important; }
.tinv-wishlist-popup .button.alt,
.tinv-wishlist-popup .tinv-modal-footer .button,
.tinv-wishlist-popup a.button {
    background: var(--red) !important; border-color: var(--red) !important; color: #fff !important;
    border-radius: 0 !important; text-transform: uppercase !important;
    letter-spacing: .1em !important; font-size: 11px !important; transition: background .2s !important;
}
.tinv-wishlist-popup .button.alt:hover,
.tinv-wishlist-popup a.button:hover { background: var(--red-dark) !important; border-color: var(--red-dark) !important; }
.tinv-wishlist-popup .tinv-modal-footer a:not(.button) {
    color: var(--red) !important; border-bottom: 1px solid var(--red-soft) !important; text-decoration: none !important;
}
.tinv-wishlist-popup .tinvwl-icon-heart:before,
.tinv-wishlist-popup .tinv-wishlist-clear:before { color: var(--red) !important; }

/* TI native button text suppression */
.fsh-shop .tinvwl_add_to_wishlist_button.fsh-wish-btn {
    font-size: 0 !important; line-height: 1 !important;
}
.fsh-shop .tinvwl_add_to_wishlist_button.fsh-wish-btn::before,
.fsh-shop .tinvwl_add_to_wishlist_button.fsh-wish-btn .tinvwl-icon,
.fsh-shop .tinvwl_add_to_wishlist_button.fsh-wish-btn span:not(.fsh-heart-icon) { display: none !important; }
.fsh-shop .fsh-wish-btn.tinvwl-product-in-list .fsh-heart-icon,
.fsh-shop .fsh-wish-btn.wishlisted .fsh-heart-icon { stroke: var(--red); fill: var(--red); }

/* ============================================================
   LIST VIEW
   ============================================================ */
.fsh-shop .fsh-products-grid.list-view { grid-template-columns: 1fr !important; gap: 1px !important; background: var(--border) !important; }
.fsh-shop .fsh-products-grid.list-view ul.products li.product {
    flex-direction: row !important; border: none !important; box-shadow: none !important;
    background: var(--warm-white) !important; min-height: 160px;
}
.fsh-shop .fsh-products-grid.list-view ul.products li.product a.woocommerce-LoopProduct-link {
    flex-shrink: 0; width: 130px;
}
.fsh-shop .fsh-products-grid.list-view ul.products li.product img { height: 100% !important; width: 130px !important; }
.fsh-shop .fsh-products-grid.list-view .woocommerce-loop-product__title { font-size: 18px !important; padding: 18px 18px 5px !important; }
.fsh-shop .fsh-products-grid.list-view ul.products li.product .price { padding: 0 18px 8px !important; }
.fsh-shop .fsh-products-grid.list-view .fsh-btn-wrap { padding: 0 14px 0 18px; margin-top: auto; flex-wrap: wrap; }

/* ============================================================
   PAGINATION
   ============================================================ */
.fsh-shop .fsh-pagination { padding: 48px 0 0; border-top: 1px solid var(--border); margin-top: 24px; }
.fsh-shop .fsh-pagination .woocommerce-pagination ul {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; padding: 0; margin: 0; list-style: none;
}
.fsh-shop .fsh-pagination .woocommerce-pagination ul li { margin: 0; }
.fsh-shop .fsh-pagination .woocommerce-pagination a,
.fsh-shop .fsh-pagination .woocommerce-pagination span {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; font-size: 13px; color: var(--ink-muted);
    border: 1px solid transparent; transition: var(--transition);
}
.fsh-shop .fsh-pagination .woocommerce-pagination a:hover { border-color: var(--border); color: var(--ink); }
.fsh-shop .fsh-pagination .woocommerce-pagination span.current { border-color: var(--ink); color: var(--ink); font-weight: 500; }

/* ============================================================
   FIX-B — TRUST STRIP v3
   4-col grid desktop → 2-col tablet → 1-col mobile (centred)
   Each item: .fsh-trust-icon red circle + text block
   ============================================================ */
.fsh-shop .fsh-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 56px;
}
.fsh-shop .fsh-trust-item {
    background: var(--surface);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background .2s;
}
.fsh-shop .fsh-trust-item:hover { background: var(--surface-deep); }

/* FIX-B — Red icon circle */
.fsh-shop .fsh-trust-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--red-soft);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--red);
    transition: background .2s, color .2s;
}
.fsh-shop .fsh-trust-item:hover .fsh-trust-icon {
    background: var(--red);
    color: #fff;
}
.fsh-shop .fsh-trust-icon svg {
    width: 20px; height: 20px;
    stroke: currentColor; fill: none; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}

.fsh-shop .fsh-trust-item div { display: flex; flex-direction: column; gap: 3px; }
.fsh-shop .fsh-trust-item strong {
    font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
    font-weight: 600; color: var(--ink); display: block;
}
.fsh-shop .fsh-trust-item span { font-size: 11px; color: var(--ink-muted); display: block; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.fsh-shop .fsh-empty { padding: 80px 0; text-align: center; }
.fsh-shop .fsh-empty-inner svg { width: 48px; height: 48px; margin: 0 auto 20px; color: var(--ink-faint); }
.fsh-shop .fsh-empty-inner p { font-size: 22px; font-weight: 300; color: var(--ink-muted); margin-bottom: 20px; }
.fsh-shop .fsh-reset-link {
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); border-bottom: 1px solid var(--red-soft); padding-bottom: 2px;
}

/* ============================================================
   OVERLAY
   ============================================================ */
.fsh-shop .fsh-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(28,25,23,.42); backdrop-filter: blur(2px); z-index: 9997;
}
.fsh-shop .fsh-overlay.active { display: block; }

/* ============================================================
   FREE SHIPPING CTA — desktop center
   ============================================================ */
.fsh-shop .fsh-shipping-cta--inline {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 500; color: var(--ink-muted); white-space: nowrap;
    padding: 6px 18px;
    border-left: 1px solid var(--border); border-right: 1px solid var(--border);
}
.fsh-shop .fsh-shipping-cta--inline svg { width: 15px; height: 15px; stroke: var(--red); flex-shrink: 0; }
.fsh-shop .fsh-shipping-cta--inline strong { color: var(--red); font-weight: 700; }
@media (max-width: 900px) { .fsh-shop .fsh-shipping-cta--inline { display: none !important; } }

/* FREE SHIPPING CTA — mobile */
.fsh-shop .fsh-shipping-cta {
    display: none;
    align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--red); white-space: nowrap;
}
.fsh-shop .fsh-shipping-cta svg { width: 14px; height: 14px; stroke: var(--red); flex-shrink: 0; }
.fsh-shop .fsh-shipping-cta strong { color: var(--red); font-weight: 700; }
.fsh-shop .fsh-shipping-cta span { color: var(--ink-muted); font-weight: 400; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .fsh-shop { --sidebar-w: 240px; }
    .fsh-shop .fsh-layout { gap: 24px; }
    .fsh-shop .fsh-products-grid ul.products li.product img { height: 260px !important; }
}

@media (max-width: 900px) {
    .fsh-shop .fsh-mob-catbar { display: flex; }
    .fsh-shop .fsh-layout { grid-template-columns: 1fr; }

    .fsh-shop .fsh-sidebar {
        position: fixed; margin-top: 0;
        top: var(--fsh-header-h, 60px); left: -320px; width: 300px;
        height: calc(100% - var(--fsh-header-h, 60px));
        max-height: 100%; background: var(--warm-white);
        z-index: 9999; overflow-y: auto;
        transition: left .3s cubic-bezier(.4,0,.2,1); box-shadow: none;
    }
    .fsh-shop .fsh-sidebar.active { left: 0; box-shadow: 4px 0 24px rgba(28,25,23,.18); }
    .fsh-shop .fsh-sidebar-inner { padding: 0 20px 80px; margin-top: 0; }
    .fsh-shop .fsh-mobile-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 8px;
        position: sticky; top: 0; background: var(--warm-white); z-index: 2;
        margin-top: -16px; padding-top: 16px;
    }
    .fsh-shop .fsh-mobile-title { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }

    .fsh-shop .fsh-filter-toggle { display: flex !important; }
    .fsh-shop .fsh-filterbar { display: flex; flex-wrap: wrap; gap: 10px; }
    .fsh-shop .fsh-filterbar-center { display: none !important; }
    .fsh-shop .fsh-view-toggle { display: none !important; }
    .fsh-shop .fsh-sort-wrap { display: none !important; }
    .fsh-shop .fsh-shipping-cta { display: flex !important; }
    .fsh-shop .fsh-products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .fsh-shop .fsh-products-grid ul.products li.product img { height: 240px !important; }

    /* FIX-B — Trust strip: 2-col tablet, items centred */
    .fsh-shop .fsh-trust-strip { grid-template-columns: repeat(2, 1fr); }
    .fsh-shop .fsh-trust-item { justify-content: center; text-align: left; }

    .fsh-shop .fsh-quickcat-row { gap: 6px; }
}

@media (max-width: 560px) {
    .fsh-shop .fsh-wrapper { padding: 0 14px 48px; }
    .fsh-shop .fsh-products-grid { gap: 10px !important; }
    .fsh-shop .fsh-products-grid ul.products li.product img { height: 200px !important; }
    .fsh-shop .woocommerce-loop-product__title { font-size: 13px !important; padding: 8px 10px 3px !important; }
    .fsh-shop .fsh-products-grid ul.products li.product .price { padding: 0 10px 6px !important; font-size: 12px !important; }
    .fsh-shop .fsh-btn-wrap { padding: 8px 10px 12px; gap: 6px; }
    .fsh-shop .fsh-add-cart-btn, .fsh-shop .fsh-view-options-btn { padding: 10px 0; font-size: 9px; }
    .fsh-shop .fsh-filterbar { flex-wrap: wrap; gap: 10px; justify-content: space-between; }

    /* FIX-B — Trust strip: 1 col, icon + text centred */
    .fsh-shop .fsh-trust-strip { grid-template-columns: 1fr; }
    .fsh-shop .fsh-trust-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        padding: 22px 20px;
    }
    .fsh-shop .fsh-trust-item div { align-items: center; }

    .fsh-shop .fsh-quickcat-row { flex-direction: column; }
    .fsh-shop .fsh-quickcat-card { flex-direction: row; align-items: stretch; }
    .fsh-shop .fsh-quickcat-img-wrap { width: 70px; flex-shrink: 0; aspect-ratio: auto; }
    .fsh-shop .fsh-quickcat-name { padding: 10px 10px 2px; }
    .fsh-shop .fsh-quickcat-count { padding: 0 10px 10px; }
}

/* ============================================================
   WC WIDGET / SWATCH PLUGIN COMPATIBILITY
   ============================================================ */
.fsh-shop .woo-variation-swatches .variable-items-wrapper li.button-variable-item {
    border-radius: 0 !important; border: 1px solid var(--border) !important; font-size: 11px !important;
}
.fsh-shop .woo-variation-swatches .variable-items-wrapper li.selected {
    box-shadow: 0 0 0 2px var(--warm-white), 0 0 0 3.5px var(--red) !important;
}
.fsh-shop .price-btw-suffix,
.fsh-shop .woocommerce-price-suffix { font-size: .75em !important; color: var(--ink-faint) !important; font-weight: 300 !important; }

/* ============================================================
   WISHLIST POPUP COLORS
   ============================================================ */
.tinv-wishlist .tinv-modal .button,
.tinv-modal .button {
    background-color: var(--red, #c83632) !important;
    border-color: var(--red, #c83632) !important;
    color: #ffffff !important;
}
.tinv-wishlist .tinv-modal .button:hover,
.tinv-modal .button:hover {
    background-color: var(--red-hover, #b02e2a) !important;
    border-color: var(--red-hover, #b02e2a) !important;
}
.tinv-wishlist .tinv-modal a:not(.button),
.tinv-modal a:not(.button) { color: var(--ink, #111) !important; text-decoration: underline; }
.tinv-wishlist .tinv-modal a:not(.button):hover,
.tinv-modal a:not(.button):hover { color: var(--red, #c83632) !important; }
.tinv-modal .tinvwl-icon-check { color: var(--red, #c83632) !important; }
