/*
 * SimpleTools Shop Pro Design
 * All selectors are scoped to the plugin archive/account wrappers or dedicated
 * body classes so ordinary WoodMart pages are not restyled.
 */

:root {
    --stsd-green: #087a43;
    --stsd-green-dark: #005d33;
    --stsd-green-deep: #043d2a;
    --stsd-green-soft: #eaf7f0;
    --stsd-red: #eb2f3b;
    --stsd-gold: #f5a600;
    --stsd-text: #18221d;
    --stsd-muted: #6f7974;
    --stsd-border: #e2e7e4;
    --stsd-surface: #ffffff;
    --stsd-page: #f5f7f6;
    --stsd-shadow: 0 8px 28px rgba(18, 48, 34, 0.065);
    --stsd-shadow-hover: 0 16px 38px rgba(11, 62, 38, 0.13);
    --stsd-radius: 12px;
}

.stsd-archive,
.stsd-archive *,
.stsd-modal,
.stsd-modal *,
.stsd-compare-bar,
.stsd-compare-bar *,
.stsd-catalog-footer,
.stsd-catalog-footer * {
    box-sizing: border-box;
}

.stsd-archive {
    position: relative;
    width: 100%;
    min-height: 60vh;
    color: var(--stsd-text);
    background: var(--stsd-page);
    font-family: inherit;
    line-height: 1.45;
    isolation: isolate;
}

.stsd-archive a {
    color: inherit;
    text-decoration: none;
}

.stsd-archive button,
.stsd-archive input,
.stsd-archive select,
.stsd-archive textarea {
    font: inherit;
}

.stsd-archive button,
.stsd-archive select,
.stsd-archive input[type="checkbox"],
.stsd-archive input[type="range"] {
    cursor: pointer;
}

.stsd-archive .stsd-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    vertical-align: middle;
}

.stsd-container {
    width: min(1450px, calc(100% - 36px));
    margin-inline: auto;
}

/* WooCommerce notices remain usable but match the catalog. */
body.stsd-catalog-active .woocommerce-notices-wrapper,
body.stsd-catalog-active > .woocommerce-message,
body.stsd-catalog-active > .woocommerce-error,
body.stsd-catalog-active > .woocommerce-info {
    width: min(1450px, calc(100% - 36px));
    margin: 14px auto;
}

/* Loading state used by progressive AJAX navigation. */
.stsd-loading {
    position: fixed;
    z-index: 100005;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 19px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    color: #fff;
    background: rgba(2, 48, 29, .93);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -45%);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    pointer-events: none;
}

.stsd-archive.is-loading .stsd-loading {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.stsd-loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: stsd-spin .65s linear infinite;
}

@keyframes stsd-spin { to { transform: rotate(360deg); } }

/* Hero / archive introduction. */
.stsd-hero-section {
    position: relative;
    z-index: 2;
    padding: 24px 0 16px;
    background:
        radial-gradient(circle at 15% 0%, rgba(8,122,67,.035), transparent 28%),
        #fff;
    border-bottom: 1px solid #edf0ee;
}

.stsd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 24px;
    margin: 0 0 15px;
    color: #79827e;
    font-size: 12px;
}

.stsd-breadcrumb a {
    color: #68736d;
    transition: color .18s ease;
}

.stsd-breadcrumb a:hover { color: var(--stsd-green); }

.stsd-breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: #a7afab;
}

.stsd-breadcrumb-separator .stsd-icon {
    width: 13px;
    height: 13px;
}

.stsd-hero-grid {
    display: grid;
    grid-template-columns: minmax(390px, .76fr) minmax(600px, 1.24fr);
    align-items: stretch;
    gap: 26px;
}

.stsd-archive-intro {
    display: flex;
    min-width: 0;
    min-height: 205px;
    flex-direction: column;
    justify-content: center;
    padding: 2px 0;
}

.stsd-archive-intro h1 {
    margin: 0 0 13px;
    color: #17211c;
    font-size: clamp(27px, 2.1vw, 38px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.12;
}

/* Full category description. The text is never truncated and gets its own
 * light reading surface, so longer SEO copy remains readable without making
 * the top of the catalog feel like one dense paragraph. */
.stsd-archive-description {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 12px 14px 12px 16px;
    overflow: hidden;
    border: 1px solid #e5ece8;
    border-radius: 10px;
    color: var(--stsd-muted);
    background: linear-gradient(135deg, #fbfdfc 0%, #f6faf8 100%);
    box-shadow: 0 5px 16px rgba(18, 48, 34, .035);
}

.stsd-archive-description::before {
    position: absolute;
    top: 11px;
    bottom: 11px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    content: "";
    background: linear-gradient(180deg, #0ca159 0%, #087a43 100%);
}

.stsd-archive-description p {
    margin: 0 !important;
    color: inherit !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.stsd-intro-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 17px;
    margin-top: 15px;
}

.stsd-intro-benefits > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4d5852;
    font-size: 12px;
    white-space: nowrap;
}

.stsd-intro-benefits .stsd-icon {
    width: 18px;
    height: 18px;
    color: #4d5852;
}

.stsd-intro-benefits em {
    font-style: normal;
}

.stsd-brand-hero {
    position: relative;
    display: grid;
    min-height: 205px;
    grid-template-columns: minmax(300px, 1.2fr) minmax(210px, .8fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(4, 65, 39, .22);
    border-radius: 16px;
    color: #fff;
    background-color: #063f2c;
    background-image:
        linear-gradient(90deg, rgba(2,55,36,.98) 0%, rgba(3,71,45,.94) 48%, rgba(4,73,46,.61) 100%),
        var(--stsd-hero-bg, none);
    background-position: center;
    background-size: cover;
    box-shadow: 0 10px 24px rgba(4, 61, 38, .12);
}

.stsd-brand-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 78% 42%, rgba(45,211,117,.18), transparent 29%),
        linear-gradient(115deg, transparent 49%, rgba(255,255,255,.045) 49.3%, transparent 49.7%),
        linear-gradient(115deg, transparent 62%, rgba(255,255,255,.035) 62.3%, transparent 62.7%);
    pointer-events: none;
}

.stsd-brand-hero-pattern {
    position: absolute;
    right: -55px;
    bottom: -82px;
    width: 390px;
    height: 285px;
    border: 38px solid rgba(255,255,255,.038);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.stsd-brand-hero-pattern::before,
.stsd-brand-hero-pattern::after {
    position: absolute;
    content: "";
    border: 18px solid rgba(255,255,255,.035);
    border-radius: 50%;
}

.stsd-brand-hero-pattern::before {
    inset: 48px;
}

.stsd-brand-hero-pattern::after {
    inset: 98px;
    border-width: 8px;
}

.stsd-brand-hero-copy {
    position: relative;
    z-index: 2;
    padding: 25px 18px 25px 34px;
}

.stsd-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 6px;
    color: #6ee0a3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.stsd-brand-hero h2 {
    max-width: 430px;
    margin: 0 0 4px;
    color: #fff;
    font-size: clamp(20px, 1.65vw, 29px);
    font-weight: 760;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.stsd-brand-hero p {
    max-width: 470px;
    margin: 0;
    color: rgba(255,255,255,.77);
    font-size: 12.5px;
}

.stsd-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 38px;
    margin-top: 14px;
    padding: 9px 17px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 7px;
    color: #fff !important;
    background: linear-gradient(180deg, #13a65d 0%, #078044 100%);
    box-shadow: 0 8px 18px rgba(0,0,0,.14);
    font-size: 12px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.stsd-hero-button:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #18b667 0%, #078044 100%);
    box-shadow: 0 11px 23px rgba(0,0,0,.2);
    transform: translateY(-1px);
}

.stsd-hero-button .stsd-icon { width: 16px; height: 16px; }

.stsd-brand-hero-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 19px 28px 19px 0;
}

.stsd-brand-hero-logo img {
    display: block;
    width: min(250px, 100%);
    max-height: 125px;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(0,0,0,.2));
}

/* Dynamic category carousel. */
.stsd-category-rail-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.stsd-category-rail {
    display: flex;
    flex: 1;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
    overflow-x: auto;
    padding: 2px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.stsd-category-rail::-webkit-scrollbar { display: none; }

.stsd-category-chip {
    display: flex;
    min-width: 175px;
    height: 52px;
    flex: 1 0 175px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--stsd-border);
    border-radius: 9px;
    color: #515d56 !important;
    background: #fff;
    box-shadow: 0 2px 7px rgba(18,48,34,.03);
    font-size: 12.5px;
    font-weight: 600;
    transition: border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.stsd-category-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stsd-category-chip b {
    display: inline-flex;
    min-width: 38px;
    height: 27px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 1px solid #e3e8e5;
    border-radius: 6px;
    color: #89918d;
    background: #f8faf9;
    font-size: 11px;
    font-weight: 650;
}

.stsd-category-chip:hover {
    border-color: rgba(8,122,67,.45);
    color: var(--stsd-green) !important;
    box-shadow: 0 7px 18px rgba(8,122,67,.09);
    transform: translateY(-1px);
}

.stsd-category-chip.is-active {
    border-color: var(--stsd-green);
    color: #fff !important;
    background: linear-gradient(135deg, #09824a, #006637);
    box-shadow: 0 8px 18px rgba(8,122,67,.19);
}

.stsd-category-chip.is-active b {
    border-color: rgba(255,255,255,.23);
    color: #fff;
    background: rgba(255,255,255,.11);
}


/* One-level-up navigation shown on every product-category archive. */
.stsd-category-chip.stsd-category-back {
    justify-content: flex-start;
    gap: 8px;
    border-color: rgba(8,122,67,.28);
    color: var(--stsd-green) !important;
    background: #f5fbf8;
    font-weight: 700;
}

.stsd-category-chip.stsd-category-back .stsd-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    stroke-width: 2;
}

.stsd-category-chip.stsd-category-back:hover {
    border-color: var(--stsd-green);
    color: #fff !important;
    background: var(--stsd-green);
}

.stsd-rail-arrow {
    display: none;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--stsd-border);
    border-radius: 50%;
    color: var(--stsd-green);
    background: #fff;
    box-shadow: 0 5px 14px rgba(16,46,32,.08);
    transition: color .18s ease, border-color .18s ease, transform .18s ease;
}

.stsd-category-rail-wrap.has-overflow .stsd-rail-arrow { display: inline-flex; }
.stsd-rail-arrow:hover { border-color: var(--stsd-green); transform: scale(1.04); }
.stsd-rail-arrow .stsd-icon { width: 17px; height: 17px; }
.stsd-rail-arrow:disabled { opacity: .3; cursor: default; transform: none; }

/* Main catalog layout. */
.stsd-catalog-section {
    padding: 17px 0 31px;
    background: var(--stsd-page);
}

.stsd-catalog-layout {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}

/* Filter sidebar. */
.stsd-filter-sidebar {
    position: sticky;
    z-index: 10;
    top: 18px;
    overflow: hidden;
    border: 1px solid var(--stsd-border);
    border-radius: var(--stsd-radius);
    background: #fff;
    box-shadow: var(--stsd-shadow);
}

.stsd-filter-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 18px 18px 14px;
}

.stsd-filter-head h2 {
    margin: 0;
    color: #28312d;
    font-size: 17px;
    font-weight: 750;
}

.stsd-filter-head > a {
    color: var(--stsd-green) !important;
    font-size: 11px;
    font-weight: 650;
}

.stsd-filter-head > a:hover { text-decoration: underline; }

.stsd-filter-close {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #25322b;
    background: #f2f5f3;
}

.stsd-filter-section {
    border-top: 1px solid #edf0ee;
}

.stsd-filter-section-title {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border: 0;
    color: #303a35;
    background: transparent;
    text-align: left;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 760;
    letter-spacing: .025em;
}

.stsd-filter-section-title .stsd-icon {
    width: 14px;
    height: 14px;
    transition: transform .18s ease;
    transform: rotate(90deg);
}

.stsd-filter-section:not(.is-open) .stsd-filter-section-title .stsd-icon { transform: rotate(0deg); }

.stsd-filter-section-content {
    padding: 0 18px 17px;
}

.stsd-filter-section:not(.is-open) .stsd-filter-section-content { display: none; }

.stsd-category-filter-list,
.stsd-filter-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stsd-category-filter-list li { margin: 0; }
.stsd-category-filter-list li.is-extra { display: none; }
.stsd-category-filter-list.is-expanded li.is-extra { display: list-item; }

.stsd-category-filter-list a {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 31px;
    color: #5a645f !important;
    font-size: 11.5px;
}

.stsd-category-filter-list a:hover,
.stsd-category-filter-list a.is-selected { color: var(--stsd-green) !important; }

.stsd-category-filter-list small,
.stsd-check-list small {
    color: #9aa19d;
    font-size: 10.5px;
}

.stsd-faux-check,
.stsd-real-check {
    display: inline-flex;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;
    border: 1.4px solid #abb4af;
    border-radius: 3px;
    color: #fff;
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
}

.stsd-faux-check .stsd-icon,
.stsd-real-check .stsd-icon {
    width: 11px;
    height: 11px;
    stroke-width: 2.7;
}

.stsd-category-filter-list a.is-selected .stsd-faux-check {
    border-color: var(--stsd-green);
    background: var(--stsd-green);
}

.stsd-show-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 7px;
    padding: 0;
    border: 0;
    color: #5d9b78;
    background: transparent;
    font-size: 10.5px;
}

.stsd-show-more .stsd-icon { width: 13px; height: 13px; }

.stsd-built-in-filter-form { margin: 0; }

/* Dual price range. */
.stsd-price-range {
    position: relative;
    height: 29px;
    margin: 2px 4px 9px;
}

.stsd-price-track {
    position: absolute;
    z-index: 1;
    top: 13px;
    right: 0;
    left: 0;
    height: 3px;
    border-radius: 99px;
    background: #d9dfdc;
}

.stsd-price-track span {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: var(--stsd-green);
}

.stsd-range {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 29px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.stsd-range::-webkit-slider-runnable-track { height: 3px; background: transparent; }
.stsd-range::-moz-range-track { height: 3px; background: transparent; }

.stsd-range::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    margin-top: -6.5px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--stsd-green);
    box-shadow: 0 1px 5px rgba(0,74,40,.34);
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
}

.stsd-range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--stsd-green);
    box-shadow: 0 1px 5px rgba(0,74,40,.34);
    pointer-events: auto;
}

.stsd-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stsd-price-inputs label { min-width: 0; }
.stsd-price-inputs label > span:first-child {
    display: block;
    margin-bottom: 4px;
    color: #8a938e;
    font-size: 9px;
    text-transform: uppercase;
}

.stsd-price-inputs label > span:last-child {
    display: flex;
    height: 38px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dfe5e1;
    border-radius: 6px;
    background: #fff;
}

.stsd-price-inputs input {
    width: 100%;
    min-width: 0;
    height: 100% !important;
    padding: 0 4px 0 10px !important;
    border: 0 !important;
    outline: 0 !important;
    color: #38433d;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 11px;
    -moz-appearance: textfield;
}

.stsd-price-inputs input::-webkit-inner-spin-button,
.stsd-price-inputs input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.stsd-price-inputs em { padding-right: 9px; color: #6f7873; font-size: 10px; font-style: normal; }

/* Checkbox filters. */
.stsd-check-list {
    display: grid;
    gap: 8px;
}

.stsd-check-list label {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #5c6661;
    font-size: 11.5px;
    cursor: pointer;
}

.stsd-check-list input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.stsd-check-list input:checked + .stsd-real-check {
    border-color: var(--stsd-green);
    background: var(--stsd-green);
}

.stsd-check-list input:focus-visible + .stsd-real-check { outline: 2px solid rgba(8,122,67,.24); outline-offset: 2px; }

.stsd-brand-search {
    display: flex;
    height: 37px;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    padding: 0 9px;
    border: 1px solid #dfe4e1;
    border-radius: 6px;
    background: #fff;
}

.stsd-brand-search .stsd-icon { width: 15px; height: 15px; color: #9ca49f; }
.stsd-brand-search input {
    width: 100%;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 11px;
}

.stsd-brand-list {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 3px;
    scrollbar-color: #cbd4cf transparent;
    scrollbar-width: thin;
}

.stsd-apply-filters {
    display: flex;
    width: calc(100% - 36px);
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 18px 18px;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(180deg, #078a4b, #006d3b);
    box-shadow: 0 7px 15px rgba(8,122,67,.17);
    font-size: 11.5px;
    font-weight: 700;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.stsd-apply-filters:hover {
    background: linear-gradient(180deg, #0b9954, #00713e);
    box-shadow: 0 10px 19px rgba(8,122,67,.22);
    transform: translateY(-1px);
}

.stsd-apply-filters .stsd-icon { width: 16px; height: 16px; }

.stsd-widget-empty {
    margin: 0 14px 14px;
    padding: 12px;
    border: 1px dashed #cad6cf;
    border-radius: 7px;
    color: #6f7974;
    background: #f8fbf9;
    font-size: 11px;
}

.stsd-widget-empty strong { display: block; color: #3b4841; }
.stsd-widget-empty p { margin: 4px 0 0; }

/* WooCommerce / WoodMart widgets placed in the selected filter area. */
.stsd-extra-widgets {
    border-top: 1px solid #edf0ee;
}

.stsd-extra-widgets .widget,
.stsd-extra-widgets .stsd-extra-widget {
    margin: 0 !important;
    padding: 15px 18px 17px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf0ee !important;
    background: transparent !important;
    box-shadow: none !important;
}

.stsd-extra-widgets .widget-title,
.stsd-extra-widgets .stsd-widget-title,
.stsd-extra-widgets .wd-widget-title {
    margin: 0 0 12px !important;
    color: #303a35 !important;
    font-size: 11px !important;
    font-weight: 760 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
}

.stsd-extra-widgets ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.stsd-extra-widgets li { margin: 0 0 7px !important; padding: 0 !important; }
.stsd-extra-widgets li:last-child { margin-bottom: 0 !important; }
.stsd-extra-widgets a {
    color: #5c6661 !important;
    font-size: 11.5px !important;
    transition: color .15s ease;
}
.stsd-extra-widgets a:hover,
.stsd-extra-widgets .chosen > a,
.stsd-extra-widgets .wc-layered-nav-term.chosen a { color: var(--stsd-green) !important; }
.stsd-extra-widgets .count { float: right; color: #9aa19d !important; font-size: 10px !important; }
.stsd-extra-widgets select,
.stsd-extra-widgets input[type="text"],
.stsd-extra-widgets input[type="search"] {
    width: 100% !important;
    min-height: 38px !important;
    padding: 7px 9px !important;
    border: 1px solid #dfe4e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 11px !important;
}
.stsd-extra-widgets button,
.stsd-extra-widgets .button {
    min-height: 37px !important;
    padding: 7px 13px !important;
    border-radius: 6px !important;
    color: #fff !important;
    background: var(--stsd-green) !important;
    font-size: 11px !important;
}
.stsd-extra-widgets .price_slider_wrapper .ui-widget-content { background: #d9dfdc !important; }
.stsd-extra-widgets .ui-slider .ui-slider-range,
.stsd-extra-widgets .ui-slider .ui-slider-handle { background: var(--stsd-green) !important; }

/* Results and toolbar. */
.stsd-results { min-width: 0; }

.stsd-toolbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
    padding: 9px 11px 9px 16px;
    border: 1px solid #e6eae8;
    border-radius: 10px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 3px 12px rgba(20,48,35,.035);
    backdrop-filter: blur(8px);
}

.stsd-toolbar-left,
.stsd-toolbar-right,
.stsd-active-filters,
.stsd-ordering,
.stsd-view-toggle {
    display: flex;
    align-items: center;
}

.stsd-toolbar-left {
    min-width: 0;
    flex: 1;
    gap: 13px;
}

.stsd-result-count {
    flex: 0 0 auto;
    padding-right: 13px;
    border-right: 1px solid #dfe4e1;
    color: #424c47;
    font-size: 12px;
    font-weight: 730;
    white-space: nowrap;
}

.stsd-result-count span { color: #747d78; font-weight: 450; }

.stsd-active-filters {
    min-width: 0;
    flex-wrap: wrap;
    gap: 7px;
}

.stsd-active-filters > a:not(.stsd-clear-filters) {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    border: 1px solid #dde3df;
    border-radius: 5px;
    color: #515b56 !important;
    background: #fff;
    font-size: 10.5px;
    transition: border-color .15s ease, color .15s ease;
}

.stsd-active-filters > a:not(.stsd-clear-filters):hover { border-color: #a9c7b7; color: var(--stsd-green) !important; }
.stsd-active-filters .stsd-icon { width: 12px; height: 12px; }
.stsd-clear-filters { color: var(--stsd-green) !important; font-size: 10.5px; font-weight: 650; white-space: nowrap; }
.stsd-clear-filters:hover { text-decoration: underline; }

.stsd-toolbar-right { flex: 0 0 auto; gap: 10px; }

.stsd-ordering { gap: 9px; margin: 0; }
.stsd-ordering > label { margin: 0; color: #4f5954; font-size: 10.5px; font-weight: 650; white-space: nowrap; }

.stsd-select-wrap {
    position: relative;
    min-width: 205px;
}

.stsd-select-wrap select {
    width: 100%;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 34px 0 12px !important;
    border: 1px solid #dfe4e1 !important;
    border-radius: 6px !important;
    outline: 0 !important;
    color: #505a55 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 10.5px !important;
    appearance: none;
}

.stsd-select-wrap > .stsd-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    color: #6f7873;
    transform: translateY(-50%) rotate(90deg);
    pointer-events: none;
}

.stsd-view-toggle {
    overflow: hidden;
    height: 38px;
    padding: 3px;
    border: 1px solid #dfe4e1;
    border-radius: 7px;
    background: #f7f9f8;
}

.stsd-view-toggle button {
    display: inline-flex;
    width: 31px;
    height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 5px;
    color: #5f6964;
    background: transparent;
}

.stsd-view-toggle button.is-active {
    color: var(--stsd-green);
    background: #fff;
    box-shadow: 0 2px 6px rgba(22,46,35,.08);
}

.stsd-view-toggle .stsd-icon { width: 17px; height: 17px; }

.stsd-mobile-filter-button { display: none; }

/* Product cards. */
.stsd-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--stsd-columns-desktop, 4), minmax(0, 1fr));
    align-items: stretch;
    gap: 13px;
}

.stsd-archive .stsd-product-card.product {
    position: relative;
    display: flex;
    width: auto !important;
    min-width: 0;
    height: 100%;
    min-height: 438px;
    flex-direction: column;
    float: none !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--stsd-border);
    border-radius: 10px;
    color: var(--stsd-text);
    background: #fff;
    box-shadow: 0 4px 13px rgba(19,52,36,.035);
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.stsd-archive .stsd-product-card.product:hover {
    z-index: 2;
    border-color: rgba(8,122,67,.3);
    box-shadow: var(--stsd-shadow-hover);
    transform: translateY(-3px);
}

.stsd-product-media {
    position: relative;
    display: flex;
    height: 215px;
    flex: 0 0 215px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 18px 15px 8px;
    background: #fff;
}

.stsd-product-media::after {
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, #eef1ef 22%, #eef1ef 78%, transparent);
}

.stsd-product-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.stsd-product-image,
.stsd-product-image-link img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: scale(.94);
    transition: transform .25s ease;
}

.stsd-product-card:hover .stsd-product-image { transform: scale(1); }

.stsd-product-badges {
    position: absolute;
    z-index: 3;
    top: 11px;
    left: 11px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    pointer-events: none;
}

.stsd-badge {
    display: inline-flex;
    min-height: 23px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 99px;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,.09);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: uppercase;
}

.stsd-badge-sale { background: var(--stsd-red); }
.stsd-badge-new { background: #16813e; }

.stsd-product-content {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 13px 10px;
}

.stsd-product-title {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    margin: 0 0 8px !important;
    color: #222d27 !important;
    font-size: 12px !important;
    font-weight: 640 !important;
    letter-spacing: 0 !important;
    line-height: 1.45 !important;
    text-transform: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.stsd-product-title a {
    color: inherit !important;
    transition: color .18s ease;
}

.stsd-product-title a:hover { color: var(--stsd-green) !important; }

.stsd-rating {
    display: flex;
    min-height: 18px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 6px;
}

.stsd-stars {
    position: relative;
    display: inline-block;
    overflow: hidden;
    color: #d8ddda;
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.stsd-stars > span { display: block; }
.stsd-stars > i {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
    color: var(--stsd-gold);
    font-style: normal;
    white-space: nowrap;
}

.stsd-rating small { color: #9aa19d; font-size: 9px; }

.stsd-product-price {
    display: flex;
    min-height: 28px;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    margin: 0 0 5px;
    color: #18251e;
    font-size: 15px;
    font-weight: 760;
    line-height: 1.2;
}

.stsd-product-price .amount { color: inherit; font-weight: inherit; }
.stsd-product-price ins { order: 1; color: #18251e; background: transparent; text-decoration: none; }
.stsd-product-price del { order: 2; color: #949c98; font-size: 10px; font-weight: 450; opacity: 1; }
.stsd-product-price del .amount { color: inherit; font-weight: inherit; }
.stsd-product-price .price-suffix { font-size: 9px; font-weight: 450; }

.stsd-product-meta {
    display: flex;
    min-height: 20px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 9.5px;
}

.stsd-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #169653;
}

.stsd-stock .stsd-icon { width: 12px; height: 12px; stroke-width: 2.5; }
.stsd-stock b { font-weight: 550; }
.stsd-stock-onbackorder { color: #168d50; }
.stsd-stock-outofstock { color: #c3343e; }
.stsd-delivery { position: relative; color: #909895; }
.stsd-delivery::before { position: absolute; top: 50%; left: -7px; width: 1px; height: 11px; content: ""; background: #dfe4e1; transform: translateY(-50%); }

.stsd-archive .stsd-add-to-cart,
.stsd-quick-add {
    display: flex !important;
    width: 100% !important;
    min-height: 39px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: auto 0 0 !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 5px !important;
    color: #fff !important;
    background: linear-gradient(180deg, #078a4b 0%, #006b3a 100%) !important;
    box-shadow: 0 6px 13px rgba(8,122,67,.15) !important;
    font-size: 11px !important;
    font-weight: 710 !important;
    line-height: 1.15 !important;
    text-transform: none !important;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.stsd-archive .stsd-add-to-cart:hover,
.stsd-quick-add:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #0a9853 0%, #006c3a 100%) !important;
    box-shadow: 0 9px 19px rgba(8,122,67,.22) !important;
    transform: translateY(-1px);
}

.stsd-add-to-cart .stsd-icon,
.stsd-quick-add .stsd-icon { width: 17px; height: 17px; }
.stsd-add-to-cart.loading { opacity: .65; }
.stsd-add-to-cart.added::after { margin-left: 3px !important; }

/* Sold-out products keep the card layout but never look purchasable. */
.stsd-archive .stsd-add-to-cart.stsd-out-of-stock-button {
    color: #5f6662 !important;
    background: #e4e7e5 !important;
    box-shadow: none !important;
}
.stsd-archive .stsd-add-to-cart.stsd-out-of-stock-button:hover {
    color: #5f6662 !important;
    background: #dfe3e1 !important;
    box-shadow: none !important;
    transform: none !important;
}

.stsd-product-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    margin-top: 8px;
    border-top: 1px solid #eef1ef;
}

.stsd-product-actions button {
    position: relative;
    display: flex;
    height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-right: 1px solid #eef1ef;
    color: #6f7974;
    background: transparent;
    transition: color .15s ease, background .15s ease;
}

.stsd-product-actions button:last-child { border-right: 0; }
.stsd-product-actions button:hover,
.stsd-product-actions button.is-active { color: var(--stsd-green); background: #f4faf6; }
.stsd-product-actions button.is-active .stsd-icon { fill: currentColor; }
.stsd-product-actions .stsd-icon { width: 15px; height: 15px; }
.stsd-product-actions button > span {
    position: absolute;
    z-index: 5;
    bottom: calc(100% + 6px);
    left: 50%;
    padding: 5px 7px;
    border-radius: 4px;
    color: #fff;
    background: #1b2d24;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 3px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    pointer-events: none;
}
.stsd-product-actions button:hover > span { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* List mode. */
.stsd-archive.is-list-view .stsd-product-grid { grid-template-columns: 1fr; }
.stsd-archive.is-list-view .stsd-product-card.product {
    display: grid;
    min-height: 245px;
    grid-template-columns: 260px minmax(0, 1fr);
    text-align: left;
}
.stsd-archive.is-list-view .stsd-product-media { height: 245px; min-height: 245px; }
.stsd-archive.is-list-view .stsd-product-content { align-items: flex-start; padding: 22px 24px 14px; }
.stsd-archive.is-list-view .stsd-product-title { min-height: 0; margin-bottom: 10px !important; font-size: 15px !important; -webkit-line-clamp: 3; }
.stsd-archive.is-list-view .stsd-rating,
.stsd-archive.is-list-view .stsd-product-price,
.stsd-archive.is-list-view .stsd-product-meta { justify-content: flex-start; }
.stsd-archive.is-list-view .stsd-product-price { font-size: 18px; }
.stsd-archive.is-list-view .stsd-add-to-cart { width: min(270px, 100%) !important; margin-top: 14px !important; }
.stsd-archive.is-list-view .stsd-product-actions { width: min(270px, 100%); margin-top: 9px; }

/* Pagination matching the concept image. */
.stsd-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 44px;
    margin: 28px 0 6px;
}

.stsd-pagination > a,
.stsd-pagination > span {
    display: inline-flex;
    min-width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #1f2c25 !important;
    background: transparent;
    font-size: 12px;
    font-weight: 690;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.stsd-pagination > a:hover {
    border-color: #c8d8cf;
    color: var(--stsd-green) !important;
    background: #fff;
}

.stsd-pagination > a.is-current {
    border-color: var(--stsd-green-dark);
    color: #fff !important;
    background: var(--stsd-green-dark);
    box-shadow: 0 5px 12px rgba(0,93,51,.17);
}

.stsd-pagination .stsd-page-dots { min-width: 25px; padding: 0 3px; }
.stsd-pagination .stsd-page-arrow { min-width: 35px; padding: 0; }
.stsd-pagination .stsd-icon { width: 17px; height: 17px; }

.stsd-no-products {
    display: flex;
    min-height: 420px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 45px;
    border: 1px solid var(--stsd-border);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
.stsd-no-products > span { display: inline-flex; width: 70px; height: 70px; align-items: center; justify-content: center; border-radius: 50%; color: var(--stsd-green); background: var(--stsd-green-soft); }
.stsd-no-products > span .stsd-icon { width: 34px; height: 34px; }
.stsd-no-products h2 { margin: 17px 0 5px; font-size: 22px; }
.stsd-no-products p { margin: 0 0 16px; color: var(--stsd-muted); }
.stsd-no-products > a { padding: 9px 15px; border-radius: 6px; color: #fff !important; background: var(--stsd-green); font-weight: 650; }

/* Benefits strip under products. */
.stsd-benefit-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid rgba(8,122,67,.42);
    border-radius: 9px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 4px 12px rgba(23,57,41,.03);
}

.stsd-benefit-strip > div {
    position: relative;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
}

.stsd-benefit-strip > div:not(:last-child)::after {
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    content: "";
    background: #d9dfdc;
}

.stsd-benefit-strip > div > .stsd-icon { width: 30px; height: 30px; color: var(--stsd-green); stroke-width: 1.55; }
.stsd-benefit-strip span { display: flex; min-width: 0; flex-direction: column; }
.stsd-benefit-strip strong { color: #34413a; font-size: 11.5px; font-weight: 730; }
.stsd-benefit-strip small { margin-top: 2px; color: #8a938e; font-size: 9px; }

/* Mobile filter drawer. */
.stsd-mobile-filter-backdrop {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: none;
    background: rgba(3,24,14,.47);
    opacity: 0;
    transition: opacity .2s ease;
}

body.stsd-filter-open { overflow: hidden; }

/* Modal / quick view / compare. Injected by frontend.js. */
.stsd-modal {
    position: fixed;
    z-index: 100100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.stsd-modal.is-open { opacity: 1; visibility: visible; }
.stsd-modal-backdrop { position: absolute; inset: 0; background: rgba(2,20,12,.66); backdrop-filter: blur(3px); }
.stsd-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(940px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0,0,0,.32);
    transform: translateY(14px) scale(.985);
    transition: transform .22s ease;
}
.stsd-modal.is-open .stsd-modal-dialog { transform: translateY(0) scale(1); }
.stsd-modal-close {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 12px;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e1e7e3;
    border-radius: 50%;
    color: #334039;
    background: rgba(255,255,255,.94);
    box-shadow: 0 5px 14px rgba(0,0,0,.08);
}
.stsd-modal-close .stsd-icon { width: 18px; height: 18px; }
.stsd-modal-body { min-height: 220px; }
.stsd-modal-loader { display: flex; min-height: 360px; align-items: center; justify-content: center; gap: 10px; color: #5f6b64; }
.stsd-modal-loader::before { width: 22px; height: 22px; border: 2px solid #d8e2dc; border-top-color: var(--stsd-green); border-radius: 50%; content: ""; animation: stsd-spin .65s linear infinite; }

.stsd-quick-view-card {
    display: grid;
    min-height: 475px;
    grid-template-columns: minmax(320px, .95fr) minmax(350px, 1.05fr);
}
.stsd-quick-view-media { display: flex; min-height: 475px; align-items: center; justify-content: center; padding: 35px; background: #f7f9f8; }
.stsd-quick-view-media img { width: 100%; height: 100%; max-height: 405px; object-fit: contain; }
.stsd-quick-view-copy { display: flex; flex-direction: column; justify-content: center; padding: 45px 48px 38px; }
.stsd-quick-view-kicker { color: var(--stsd-green); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.stsd-quick-view-copy h2 { margin: 8px 45px 9px 0; color: #17231c; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.22; }
.stsd-quick-view-copy .stsd-rating { justify-content: flex-start; margin-bottom: 13px; }
.stsd-quick-view-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; color: #17231c; font-size: 23px; font-weight: 760; }
.stsd-quick-view-price ins { order: 1; background: transparent; text-decoration: none; }
.stsd-quick-view-price del { order: 2; color: #929a96; font-size: 13px; font-weight: 450; }
.stsd-quick-view-stock { display: flex; align-items: center; gap: 6px; margin-bottom: 15px; color: #169653; font-size: 12px; font-weight: 650; }
.stsd-quick-view-stock .stsd-icon { width: 15px; height: 15px; }
.stsd-quick-view-description { color: #69736e; font-size: 13px; line-height: 1.7; }
.stsd-quick-view-description p { margin: 0 0 12px; }
.stsd-quick-view-buttons { display: grid; gap: 10px; margin-top: 18px; }
.stsd-view-product { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; border: 1px solid #cfd8d3; border-radius: 6px; color: #425149 !important; font-size: 12px; font-weight: 650; }
.stsd-view-product:hover { border-color: var(--stsd-green); color: var(--stsd-green) !important; }
.stsd-view-product .stsd-icon { width: 15px; height: 15px; }

.stsd-compare-bar {
    position: fixed;
    z-index: 99980;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 11px 10px 15px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    color: #fff;
    background: rgba(3,63,40,.96);
    box-shadow: 0 16px 42px rgba(0,0,0,.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.stsd-compare-bar.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.stsd-compare-bar strong { font-size: 12px; }
.stsd-compare-bar button { min-height: 32px; padding: 6px 11px; border: 0; border-radius: 5px; color: #07532f; background: #fff; font-size: 11px; font-weight: 750; }

.stsd-compare-content { padding: 30px 28px 28px; }
.stsd-compare-content h2 { margin: 0 45px 20px 0; font-size: 25px; }
.stsd-compare-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stsd-compare-item { display: flex; min-width: 0; flex-direction: column; padding: 15px; border: 1px solid var(--stsd-border); border-radius: 10px; }
.stsd-compare-item img { width: 100%; height: 160px; object-fit: contain; }
.stsd-compare-item h3 { min-height: 42px; margin: 10px 0 7px; font-size: 12px; line-height: 1.45; }
.stsd-compare-item .stsd-compare-price { color: #18251e; font-size: 15px; font-weight: 760; }
.stsd-compare-item .stsd-compare-stock { margin: 5px 0 12px; color: #198c50; font-size: 10px; }
.stsd-compare-item a { display: flex; min-height: 36px; align-items: center; justify-content: center; margin-top: auto; border-radius: 5px; color: #fff !important; background: var(--stsd-green); font-size: 11px; font-weight: 700; }
.stsd-compare-remove { margin-top: 7px; padding: 4px; border: 0; color: #8b9590; background: transparent; font-size: 10px; }
.stsd-compare-empty { padding: 70px 20px; color: #6f7974; text-align: center; }

.stsd-toast {
    position: fixed;
    z-index: 100200;
    right: 20px;
    bottom: 20px;
    max-width: 360px;
    padding: 12px 15px;
    border-radius: 8px;
    color: #fff;
    background: #173c2b;
    box-shadow: 0 14px 35px rgba(0,0,0,.2);
    font-size: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}
.stsd-toast.is-visible { opacity: 1; transform: translateY(0); }

/* Tablet. */
@media (max-width: 1220px) {
    .stsd-hero-grid { grid-template-columns: minmax(350px, .78fr) minmax(520px, 1.22fr); gap: 20px; }
    .stsd-archive-description p { font-size: 13px !important; }
    .stsd-catalog-layout { grid-template-columns: 260px minmax(0, 1fr); }
    .stsd-product-grid { grid-template-columns: repeat(var(--stsd-columns-tablet, 3), minmax(0, 1fr)); }
    .stsd-toolbar { align-items: flex-start; }
    .stsd-toolbar-left { flex-wrap: wrap; }
    .stsd-active-filters { order: 3; width: 100%; }
    .stsd-product-media { height: 205px; flex-basis: 205px; }
}

@media (max-width: 1024px) {
    .stsd-container { width: min(100% - 28px, 1450px); }
    .stsd-hero-grid { grid-template-columns: 1fr; }
    .stsd-archive-intro { min-height: auto; }
    .stsd-brand-hero { min-height: 175px; }
    .stsd-catalog-layout { grid-template-columns: minmax(0, 1fr); }
    .stsd-filter-sidebar {
        position: fixed;
        z-index: 100010;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(360px, calc(100vw - 44px));
        overflow-y: auto;
        border: 0;
        border-radius: 0 14px 14px 0;
        box-shadow: 20px 0 55px rgba(0,0,0,.22);
        transform: translateX(-105%);
        transition: transform .23s ease;
    }
    body.stsd-filter-open .stsd-filter-sidebar { transform: translateX(0); }
    body.stsd-filter-open .stsd-mobile-filter-backdrop { display: block; opacity: 1; }
    .stsd-filter-head { position: sticky; z-index: 4; top: 0; grid-template-columns: 1fr auto auto; background: #fff; box-shadow: 0 4px 10px rgba(18,48,34,.05); }
    .stsd-filter-close { display: inline-flex; }
    .stsd-mobile-filter-button {
        display: inline-flex;
        min-height: 38px;
        align-items: center;
        gap: 7px;
        padding: 10px 14px;
        border: 1px solid #d9e1dc;
        border-radius: 6px;
        color: var(--stsd-green);
        background: #fff;
        font-size: 11px;
        font-weight: 700;
    }
    .stsd-mobile-filter-button .stsd-icon { width: 16px; height: 16px; }
    .stsd-mobile-filter-button b { display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--stsd-green); font-size: 9px; }
    .stsd-result-count { border-right: 0; padding-right: 0; }
    .stsd-benefit-strip { grid-template-columns: repeat(2, 1fr); }
    .stsd-benefit-strip > div:nth-child(2)::after { display: none; }
    .stsd-benefit-strip > div:nth-child(-n+2) { border-bottom: 1px solid #d9dfdc; }
    .stsd-rail-arrow { display: none !important; }
}

@media (max-width: 760px) {
    .stsd-container { width: min(100% - 20px, 1450px); }
    .stsd-hero-section { padding-top: 14px; }
    .stsd-breadcrumb { margin-bottom: 10px; font-size: 10px; }
    .stsd-archive-intro h1 { margin-bottom: 10px; font-size: 27px; }
    .stsd-archive-description { padding: 10px 11px 10px 13px; border-radius: 8px; }
    .stsd-archive-description::before { top: 9px; bottom: 9px; width: 2px; }
    .stsd-archive-description p { font-size: 12.5px !important; line-height: 1.66 !important; text-align: left; hyphens: none; }
    .stsd-intro-benefits { gap: 10px 14px; margin-top: 13px; }
    .stsd-intro-benefits > span { font-size: 10px; }
    .stsd-brand-hero { grid-template-columns: 1fr 135px; min-height: 145px; border-radius: 12px; }
    .stsd-brand-hero-copy { padding: 20px 8px 20px 20px; }
    .stsd-brand-hero h2 { font-size: 20px; }
    .stsd-brand-hero p { display: none; }
    .stsd-brand-hero-logo { padding: 14px 15px 14px 0; }
    .stsd-brand-hero-logo img { max-height: 96px; }
    .stsd-hero-button { min-height: 34px; margin-top: 10px; padding: 7px 12px; font-size: 10px; }
    .stsd-category-rail-wrap { margin-top: 13px; }
    .stsd-category-rail { gap: 8px; }
    .stsd-category-chip { min-width: 150px; height: 46px; flex-basis: 150px; padding: 8px 11px; font-size: 10.5px; }
    .stsd-category-chip b { min-width: 31px; height: 24px; font-size: 9px; }
    .stsd-catalog-section { padding-top: 11px; }
    .stsd-toolbar { min-height: 0; flex-direction: column; align-items: stretch; gap: 9px; padding: 9px; }
    .stsd-toolbar-left { width: 100%; gap: 9px; }
    .stsd-toolbar-right { width: 100%; justify-content: space-between; }
    .stsd-active-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
    .stsd-active-filters::-webkit-scrollbar { display: none; }
    .stsd-result-count { margin-left: auto; font-size: 11px; }
    .stsd-result-count span { display: none; }
    .stsd-ordering { flex: 1; }
    .stsd-ordering > label { display: none; }
    .stsd-select-wrap { width: 100%; min-width: 0; }
    .stsd-product-grid { grid-template-columns: repeat(var(--stsd-columns-mobile, 2), minmax(0, 1fr)); gap: 8px; }
    .stsd-archive .stsd-product-card.product { min-height: 365px; border-radius: 8px; }
    .stsd-product-media { height: 160px; flex-basis: 160px; padding: 14px 8px 4px; }
    .stsd-product-content { padding: 10px 8px 7px; }
    .stsd-product-title { min-height: 35px; margin-bottom: 5px !important; font-size: 10.5px !important; }
    .stsd-stars { font-size: 10px; letter-spacing: .5px; }
    .stsd-rating { gap: 4px; margin-bottom: 4px; }
    .stsd-rating small { font-size: 8px; }
    .stsd-product-price { min-height: 24px; gap: 4px; margin-bottom: 3px; font-size: 13px; }
    .stsd-product-price del { font-size: 8.5px; }
    .stsd-product-meta {
        min-height: 24px;
        flex-wrap: wrap;
        gap: 2px 7px;
        margin-bottom: 7px;
        font-size: 8px;
        line-height: 1.25;
    }
    .stsd-stock,
    .stsd-delivery { white-space: nowrap; }
    .stsd-delivery { display: inline-block; }
    .stsd-delivery::before { display: none; }
    .stsd-add-to-cart { min-height: 35px !important; padding: 7px 5px !important; font-size: 9.5px !important; }
    .stsd-add-to-cart .stsd-icon { width: 14px; height: 14px; }
    .stsd-product-actions button { height: 28px; }
    .stsd-product-actions .stsd-icon { width: 14px; height: 14px; }
    .stsd-badge { min-height: 20px; padding: 3px 6px; font-size: 8px; }
    .stsd-product-badges { top: 7px; left: 7px; gap: 3px; }
    .stsd-pagination { gap: 1px; margin-top: 20px; }
    .stsd-pagination > a,
    .stsd-pagination > span { min-width: 29px; height: 31px; padding: 0 5px; font-size: 10px; }
    .stsd-benefit-strip { grid-template-columns: 1fr 1fr; }
    .stsd-benefit-strip > div { min-height: 68px; justify-content: flex-start; padding: 12px 10px; }
    .stsd-benefit-strip > div > .stsd-icon { width: 25px; height: 25px; }
    .stsd-benefit-strip strong { font-size: 10px; }
    .stsd-benefit-strip small { font-size: 8px; }
    .stsd-archive.is-list-view .stsd-product-card.product { grid-template-columns: 135px minmax(0,1fr); min-height: 205px; }
    .stsd-archive.is-list-view .stsd-product-media { height: 205px; min-height: 205px; }
    .stsd-archive.is-list-view .stsd-product-content { padding: 13px 10px 8px; }
    .stsd-archive.is-list-view .stsd-product-title { font-size: 11px !important; }
    .stsd-archive.is-list-view .stsd-product-price { font-size: 14px; }
    .stsd-quick-view-card { grid-template-columns: 1fr; }
    .stsd-quick-view-media { min-height: 270px; padding: 25px; }
    .stsd-quick-view-media img { max-height: 240px; }
    .stsd-quick-view-copy { padding: 27px 22px 24px; }
    .stsd-quick-view-copy h2 { margin-right: 25px; font-size: 21px; }
    .stsd-compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .stsd-brand-hero { grid-template-columns: 1fr 105px; }
    .stsd-brand-hero-logo { padding-right: 8px; }
    .stsd-intro-benefits > span:nth-child(3) { display: none; }
    .stsd-product-media { height: 145px; flex-basis: 145px; }
    .stsd-archive .stsd-product-card.product { min-height: 352px; }
    .stsd-product-meta { min-height: 25px; }
    .stsd-add-to-cart span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .stsd-compare-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .stsd-archive *,
    .stsd-modal *,
    .stsd-compare-bar * {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Extra compatibility polish for standard WooCommerce layered navigation. */
.stsd-extra-widgets .woocommerce-widget-layered-nav-list__item > a,
.stsd-extra-widgets .wc-block-product-filter-checkbox-list__item > label,
.stsd-extra-widgets .wd-filter-list > li > a {
    position: relative;
    display: flex !important;
    min-height: 25px;
    align-items: center;
    gap: 8px;
    padding-left: 23px !important;
}

.stsd-extra-widgets .woocommerce-widget-layered-nav-list__item > a::before,
.stsd-extra-widgets .wd-filter-list > li > a::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 14px;
    border: 1.4px solid #abb4af;
    border-radius: 3px;
    content: "";
    background: #fff;
    transform: translateY(-50%);
}

.stsd-extra-widgets .woocommerce-widget-layered-nav-list__item.chosen > a::before,
.stsd-extra-widgets .wd-filter-list > li.wd-active > a::before,
.stsd-extra-widgets .wd-filter-list > li.chosen > a::before {
    border-color: var(--stsd-green);
    background: var(--stsd-green);
    box-shadow: inset 0 0 0 3px var(--stsd-green), inset 0 0 0 5px #fff;
}

.stsd-archive .added_to_cart.wc-forward {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    color: var(--stsd-green) !important;
    font-size: 9.5px;
    font-weight: 700;
}

.stsd-notices {
    padding-top: 12px;
}

.stsd-notices:empty {
    display: none;
}

.stsd-modal .added_to_cart.wc-forward {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    color: var(--stsd-green) !important;
    font-size: 11px;
    font-weight: 700;
}

.stsd-product-actions > button:focus-visible > span {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}


/* --------------------------------------------------------------------------
 * Version 1.2.0 – WoodMart-safe catalog refinements
 * -------------------------------------------------------------------------- */

/* Category chips keep the complete title and grow naturally. The rail remains
 * horizontally scrollable, so long taxonomy names are never truncated. */
body.stsd-catalog-active .stsd-archive .stsd-category-chip {
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    min-height: 52px !important;
    height: auto !important;
    flex: 0 0 auto !important;
    padding: 10px 14px !important;
    white-space: nowrap !important;
}

body.stsd-catalog-active .stsd-archive .stsd-category-chip span {
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

/* Strongly scoped filter skin. The !important declarations intentionally beat
 * WoodMart button/widget rules without affecting anything outside the plugin. */
body.stsd-catalog-active .stsd-archive .stsd-filter-sidebar {
    overflow: hidden;
    border: 1px solid #e2e7e4 !important;
    border-radius: 10px !important;
    color: #313b36;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(18, 48, 34, .06) !important;
}

body.stsd-catalog-active .stsd-archive .stsd-filter-head {
    min-height: 62px;
    padding: 17px 18px 14px !important;
    background: #fff !important;
}

body.stsd-catalog-active .stsd-archive .stsd-filter-head h2 {
    margin: 0 !important;
    color: #202924 !important;
    font-size: 16px !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-filter-head > a {
    padding: 0 !important;
    color: #18814d !important;
    background: transparent !important;
    font-size: 10.5px !important;
    font-weight: 650 !important;
    text-transform: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-filter-section {
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid #edf0ee !important;
    background: #fff !important;
}

body.stsd-catalog-active .stsd-archive button.stsd-filter-section-title {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #303a35 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-align: left !important;
    text-transform: uppercase !important;
    font-size: 10.5px !important;
    font-weight: 760 !important;
    letter-spacing: .025em !important;
    line-height: 1.2 !important;
}

body.stsd-catalog-active .stsd-archive button.stsd-filter-section-title:hover,
body.stsd-catalog-active .stsd-archive button.stsd-filter-section-title:focus {
    color: var(--stsd-green) !important;
    background: #fff !important;
}

body.stsd-catalog-active .stsd-archive .stsd-filter-section-title .stsd-icon {
    width: 13px !important;
    height: 13px !important;
    color: #68736d !important;
}

body.stsd-catalog-active .stsd-archive .stsd-filter-section-content {
    padding: 0 18px 17px !important;
    color: #59635e !important;
    background: #fff !important;
}

body.stsd-catalog-active .stsd-archive .stsd-category-filter-list a,
body.stsd-catalog-active .stsd-archive .stsd-check-list label {
    min-height: 29px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #5b6560 !important;
    background: transparent !important;
    font-size: 11px !important;
    font-weight: 450 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-category-filter-list a:hover,
body.stsd-catalog-active .stsd-archive .stsd-category-filter-list a.is-selected,
body.stsd-catalog-active .stsd-archive .stsd-check-list label:hover {
    color: var(--stsd-green) !important;
}

body.stsd-catalog-active .stsd-archive .stsd-category-filter-list small::before,
body.stsd-catalog-active .stsd-archive .stsd-check-list small::before { content: "("; }
body.stsd-catalog-active .stsd-archive .stsd-category-filter-list small::after,
body.stsd-catalog-active .stsd-archive .stsd-check-list small::after { content: ")"; }

body.stsd-catalog-active .stsd-archive .stsd-faux-check,
body.stsd-catalog-active .stsd-archive .stsd-real-check {
    width: 15px !important;
    height: 15px !important;
    border: 1.3px solid #adb6b1 !important;
    border-radius: 3px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-category-filter-list a.is-selected .stsd-faux-check,
body.stsd-catalog-active .stsd-archive .stsd-check-list input:checked + .stsd-real-check {
    border-color: var(--stsd-green) !important;
    color: #fff !important;
    background: var(--stsd-green) !important;
}

body.stsd-catalog-active .stsd-archive .stsd-price-range {
    margin: 1px 4px 10px !important;
}

body.stsd-catalog-active .stsd-archive .stsd-price-inputs {
    gap: 10px !important;
}

/* The visual reference shows only the two amount boxes, without MIN/MAX labels. */
body.stsd-catalog-active .stsd-archive .stsd-price-inputs label > span:first-child {
    display: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-price-inputs label > span:last-child {
    height: 38px !important;
    border: 1px solid #dfe5e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-price-inputs input {
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 4px 0 10px !important;
    border: 0 !important;
    color: #303b35 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    font-size: 11px !important;
}

body.stsd-catalog-active .stsd-archive .stsd-brand-search {
    height: 38px !important;
    margin: 0 0 9px !important;
    padding: 0 9px !important;
    border: 1px solid #dfe4e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-brand-search input {
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 11px !important;
}

/* Brand names match the proposed design: name + count, no redundant square. */
body.stsd-catalog-active .stsd-archive .stsd-brand-list {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
}

body.stsd-catalog-active .stsd-archive .stsd-brand-list label {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 25px !important;
    gap: 8px !important;
}

body.stsd-catalog-active .stsd-archive .stsd-brand-list .stsd-real-check {
    display: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-brand-list input:checked ~ span:not(.stsd-real-check) {
    color: var(--stsd-green) !important;
    font-weight: 700 !important;
}

body.stsd-catalog-active .stsd-archive .stsd-brand-list label.is-extra {
    display: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-brand-list.is-expanded label.is-extra,
body.stsd-catalog-active .stsd-archive .stsd-brand-list.is-searching label.is-extra {
    display: grid !important;
}

body.stsd-catalog-active .stsd-archive .stsd-brand-list label[hidden] {
    display: none !important;
}

body.stsd-catalog-active .stsd-archive .stsd-show-more,
body.stsd-catalog-active .stsd-archive .stsd-brand-more {
    min-height: 22px !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #4b976e !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

body.stsd-catalog-active .stsd-archive button.stsd-apply-filters {
    display: flex !important;
    width: calc(100% - 36px) !important;
    min-height: 41px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 4px 18px 18px !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-radius: 5px !important;
    color: #fff !important;
    background: linear-gradient(180deg, #078a4b, #006d3b) !important;
    box-shadow: 0 7px 15px rgba(8,122,67,.17) !important;
    font-size: 11px !important;
    font-weight: 720 !important;
    line-height: 1 !important;
    text-transform: none !important;
}

body.stsd-catalog-active .stsd-archive button.stsd-apply-filters:hover,
body.stsd-catalog-active .stsd-archive button.stsd-apply-filters:focus {
    color: #fff !important;
    background: linear-gradient(180deg, #0b9954, #00713e) !important;
}

body.stsd-catalog-active .stsd-archive button.stsd-apply-filters .stsd-icon,
body.stsd-catalog-active .stsd-archive button.stsd-apply-filters span {
    color: #fff !important;
}

.stsd-widget-empty { display: none !important; }

/* Extra WoodMart/WooCommerce widgets inherit the same clean panel language. */
body.stsd-catalog-active .stsd-archive .stsd-extra-widgets {
    border-top: 1px solid #edf0ee;
    background: #fff;
}

body.stsd-catalog-active .stsd-archive .stsd-extra-widgets .widget {
    margin: 0 !important;
    padding: 15px 18px !important;
    border-bottom: 1px solid #edf0ee !important;
    background: #fff !important;
}

body.stsd-catalog-active .stsd-archive .stsd-extra-widgets .widget-title,
body.stsd-catalog-active .stsd-archive .stsd-extra-widgets .wd-widget-title {
    margin: 0 0 11px !important;
    color: #303a35 !important;
    font-size: 10.5px !important;
    font-weight: 760 !important;
    text-transform: uppercase !important;
}

/* Compare modal: visible close control, centered title and a real comparison table. */
.stsd-modal.is-compare {
    padding: 20px !important;
}

.stsd-modal.is-compare .stsd-modal-dialog {
    width: min(1320px, calc(100vw - 40px)) !important;
    max-height: calc(100vh - 40px) !important;
    overflow: hidden !important;
    border-radius: 15px !important;
}

.stsd-modal .stsd-modal-close {
    position: absolute !important;
    z-index: 20 !important;
    top: 14px !important;
    right: 14px !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    border: 1px solid #dce3df !important;
    border-radius: 999px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    color: #16221b !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(0,0,0,.12) !important;
    font-size: 29px !important;
    font-weight: 350 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.stsd-modal .stsd-modal-close span {
    display: block !important;
    color: inherit !important;
    font: inherit !important;
    line-height: .85 !important;
}

.stsd-modal .stsd-modal-close:hover,
.stsd-modal .stsd-modal-close:focus {
    border-color: var(--stsd-green) !important;
    color: var(--stsd-green) !important;
    transform: rotate(4deg);
}

.stsd-modal.is-compare .stsd-modal-body {
    max-height: calc(100vh - 40px);
    overflow: hidden;
}

.stsd-compare-content {
    display: flex;
    max-height: calc(100vh - 40px);
    flex-direction: column;
    padding: 24px 24px 26px !important;
}

.stsd-compare-heading {
    flex: 0 0 auto;
    padding: 4px 54px 19px;
    text-align: center;
}

.stsd-compare-heading > span {
    display: inline-flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border-radius: 50%;
    color: var(--stsd-green);
    background: #eaf7f0;
}

.stsd-compare-heading > span .stsd-icon { width: 19px; height: 19px; }

.stsd-compare-content .stsd-compare-heading h2 {
    margin: 0 !important;
    color: #17231c !important;
    font-size: clamp(22px, 2.25vw, 30px) !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.stsd-compare-heading p {
    margin: 6px 0 0 !important;
    color: #748078;
    font-size: 11.5px;
}

.stsd-compare-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow: auto;
    border: 1px solid #dfe6e2;
    border-radius: 11px;
    background: #fff;
    scrollbar-color: #b9c8c0 #f3f6f4;
    scrollbar-width: thin;
}

.stsd-compare-scroll:focus-visible {
    outline: 3px solid rgba(8,122,67,.18);
    outline-offset: 2px;
}

.stsd-compare-table {
    min-width: max(100%, var(--stsd-compare-min-width, 885px));
    color: #36423b;
    background: #fff;
}

.stsd-compare-products-row,
.stsd-compare-row {
    display: grid;
    grid-template-columns: 180px repeat(var(--stsd-compare-columns, 2), minmax(220px, 1fr));
}

.stsd-compare-products-row {
    position: sticky;
    z-index: 3;
    top: 0;
    align-items: stretch;
    border-bottom: 1px solid #dfe6e2;
    background: #fff;
    box-shadow: 0 5px 13px rgba(20,53,36,.045);
}

.stsd-compare-corner {
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #7c8781;
    background: #f7f9f8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.stsd-compare-product {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 13px 15px 15px;
    border-left: 1px solid #e5eae7;
    text-align: center;
}

.stsd-compare-product__remove {
    position: absolute !important;
    z-index: 2;
    top: 9px !important;
    right: 9px !important;
    display: inline-flex !important;
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    border: 1px solid #e2e7e4 !important;
    border-radius: 999px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    color: #64716a !important;
    background: #fff !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.06) !important;
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.stsd-compare-product__remove:hover { color: #d42d39 !important; border-color: #f0bfc3 !important; }

.stsd-compare-product__image {
    display: flex;
    width: 100%;
    height: 120px;
    align-items: center;
    justify-content: center;
    padding: 3px 20px;
}

.stsd-compare-product__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stsd-compare-product h3 {
    min-height: 36px;
    margin: 7px 0 11px !important;
    color: #1f2a24 !important;
    font-size: 11.5px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
}

.stsd-compare-product h3 a { color: inherit !important; }

.stsd-compare-product__view {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 7px 15px;
    border-radius: 5px;
    color: #fff !important;
    background: var(--stsd-green);
    font-size: 10.5px;
    font-weight: 700;
}

.stsd-compare-row {
    min-height: 49px;
    border-bottom: 1px solid #e8ecea;
}

.stsd-compare-row:last-child { border-bottom: 0; }
.stsd-compare-row:nth-child(even) { background: #fbfcfb; }

.stsd-compare-row__label,
.stsd-compare-row__value {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 12px 15px;
    overflow-wrap: anywhere;
}

.stsd-compare-row__label {
    position: sticky;
    z-index: 2;
    left: 0;
    color: #34423a;
    background: #f7f9f8;
    font-size: 10.5px;
    font-weight: 730;
}

.stsd-compare-row__value {
    border-left: 1px solid #e8ecea;
    color: #55615a;
    background: inherit;
    font-size: 10.5px;
    line-height: 1.5;
}

.stsd-compare-row__value small { margin-left: 3px; color: #909995; }
.stsd-compare-row.is-price .stsd-compare-row__value { color: #17231c; font-size: 13px; font-weight: 760; }
.stsd-compare-row.is-stock .stsd-compare-row__value { color: #178b4f; font-weight: 650; }
.stsd-compare-row.is-description .stsd-compare-row__value { align-items: flex-start; }

.stsd-compare-empty h2 {
    margin: 0 0 7px !important;
    color: #17231c !important;
    text-align: center !important;
}
.stsd-compare-empty p { margin: 0; }

.stsd-compare-bar__icon {
    display: inline-flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.12);
}
.stsd-compare-bar__icon .stsd-icon { width: 14px; height: 14px; }

/* Manual Google review band. It performs no browser-side API/AJAX request. */
.stsd-catalog-footer {
    position: relative;
    z-index: 3;
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    align-self: stretch !important;
    clear: both;
    margin: 0 !important;
    padding: 14px 0;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 90% -110%, rgba(38, 209, 120, .29), transparent 37%),
        linear-gradient(105deg, #003e2b 0%, #005a39 50%, #003d2a 100%);
    border-top: 1px solid rgba(40,202,114,.25);
    border-bottom: 1px solid rgba(0,0,0,.16);
    font-family: inherit;
}

.stsd-catalog-footer .stsd-container {
    display: block !important;
    width: min(1450px, calc(100% - 36px)) !important;
    min-width: 0 !important;
    max-width: 1450px !important;
    margin-inline: auto !important;
}

.stsd-google-review-band {
    display: grid;
    width: 100%;
    min-height: 82px;
    grid-template-columns: 60px minmax(170px, .72fr) auto minmax(205px, .85fr) auto;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 11px;
    color: #fff !important;
    background: rgba(0,31,21,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 12px 30px rgba(0,0,0,.08);
    text-decoration: none !important;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.stsd-google-review-band:hover,
.stsd-google-review-band:focus {
    border-color: rgba(91,239,159,.43);
    color: #fff !important;
    background: rgba(0,31,21,.28);
    transform: translateY(-1px);
}

.stsd-google-review-band__icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 2px solid #15b967;
    border-radius: 13px;
    color: #54e398;
    background: rgba(2,83,51,.35);
}

.stsd-google-review-band__icon .stsd-icon {
    width: 28px;
    height: 28px;
    fill: rgba(84,227,152,.10);
    stroke-width: 1.55;
}

.stsd-google-review-band__intro,
.stsd-google-review-band__score,
.stsd-google-review-band__count {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.stsd-google-review-band__intro small,
.stsd-google-review-band__score small,
.stsd-google-review-band__count small {
    color: rgba(255,255,255,.68);
    font-size: 9.5px;
    line-height: 1.4;
}

.stsd-google-review-band__intro strong {
    margin-top: 2px;
    color: #fff;
    font-size: 17px;
    font-weight: 770;
    line-height: 1.25;
}

.stsd-google-review-band__score {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 10px;
    padding: 0 22px;
    border-right: 1px solid rgba(255,255,255,.16);
    border-left: 1px solid rgba(255,255,255,.16);
}

.stsd-google-review-band__score > strong {
    grid-row: 1 / span 2;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.stsd-google-review-band__score > small { align-self: start; }

.stsd-rating-stars {
    position: relative;
    display: inline-block;
    width: max-content;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.stsd-rating-stars__base { color: rgba(255,255,255,.23); }
.stsd-rating-stars__fill {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
    color: #ffc53d;
    white-space: nowrap;
}

.stsd-google-review-band__count strong {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.stsd-google-review-band__count small { margin-top: 3px; }
.stsd-google-review-band__count b { color: #fff; font-weight: 650; }

.stsd-google-review-band__cta {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(180deg, #0dbb61, #079a4d);
    box-shadow: 0 7px 17px rgba(0,25,16,.18);
    font-size: 10.5px;
    font-weight: 720;
    white-space: nowrap;
}

.stsd-google-review-band__cta .stsd-icon { width: 15px; height: 15px; }

@media (max-width: 1024px) {
    body.stsd-catalog-active .stsd-archive .stsd-category-chip {
        min-height: 48px !important;
        padding: 9px 12px !important;
        font-size: 10.5px !important;
    }

    .stsd-google-review-band {
        grid-template-columns: 52px minmax(145px, 1fr) auto minmax(180px, 1fr);
        gap: 15px;
    }
    .stsd-google-review-band__cta { grid-column: 2 / -1; justify-self: end; min-width: 150px; }
}

@media (max-width: 760px) {
    .stsd-modal.is-compare { padding: 8px !important; }
    .stsd-modal.is-compare .stsd-modal-dialog {
        width: calc(100vw - 16px) !important;
        max-height: calc(100vh - 16px) !important;
        border-radius: 11px !important;
    }
    .stsd-modal.is-compare .stsd-modal-body,
    .stsd-compare-content { max-height: calc(100vh - 16px); }
    .stsd-compare-content { padding: 15px 12px 14px !important; }
    .stsd-compare-heading { padding: 3px 45px 14px; }
    .stsd-compare-heading > span { display: none; }
    .stsd-compare-heading p { display: none; }
    .stsd-modal .stsd-modal-close {
        top: 9px !important;
        right: 9px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        font-size: 25px !important;
    }
    .stsd-compare-products-row,
    .stsd-compare-row {
        grid-template-columns: 125px repeat(var(--stsd-compare-columns, 2), minmax(205px, 1fr));
    }
    .stsd-compare-product__image { height: 100px; }
    .stsd-compare-row__label,
    .stsd-compare-row__value { padding: 10px 11px; }

    .stsd-catalog-footer { padding: 12px 0; }
    .stsd-catalog-footer .stsd-container { width: min(100% - 20px, 1450px) !important; }
    .stsd-google-review-band {
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 11px;
        min-height: 0;
        padding: 13px;
    }
    .stsd-google-review-band__icon { width: 44px; height: 44px; border-radius: 10px; }
    .stsd-google-review-band__icon .stsd-icon { width: 23px; height: 23px; }
    .stsd-google-review-band__intro small { display: none; }
    .stsd-google-review-band__intro strong { font-size: 14px; }
    .stsd-google-review-band__score {
        grid-template-columns: auto;
        padding: 0 0 0 12px;
        border-right: 0;
        border-left: 1px solid rgba(255,255,255,.16);
    }
    .stsd-google-review-band__score > strong { display: none; }
    .stsd-google-review-band__score > small { display: none; }
    .stsd-rating-stars { font-size: 16px; }
    .stsd-google-review-band__count {
        grid-column: 2 / 4;
        padding-left: 59px;
        margin-top: -9px;
    }
    .stsd-google-review-band__count strong { font-size: 11px; }
    .stsd-google-review-band__count small { font-size: 8.5px; }
    .stsd-google-review-band__cta {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 36px;
        margin-top: 2px;
    }
}

@media (max-width: 420px) {
    .stsd-compare-bar { right: 10px; bottom: 10px; left: 10px; justify-content: center; }
    .stsd-compare-bar__icon { display: none; }
    .stsd-google-review-band__count { padding-left: 0; }
}

/* Supplier-stock delivery text used by the quick-view panel. */
.stsd-quick-view-stock { flex-wrap: wrap; }
.stsd-quick-view-stock small {
    margin-left: 3px;
    color: #8a948f;
    font-size: 11px;
    font-weight: 450;
}
.stsd-quick-view-stock.stsd-stock-onbackorder small { color: #6f7c75; }

/* Independent Favorites page inside WooCommerce My Account. */
body.stsd-favorites-active .woocommerce-MyAccount-content {
    overflow: visible;
}

.stsd-favorites-page {
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: visible;
    color: var(--stsd-text);
    background: transparent;
    isolation: auto;
}

.stsd-favorites-shell {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--stsd-border);
    border-radius: 14px;
    background: #f7f9f8;
    box-shadow: 0 10px 32px rgba(12, 55, 35, .06);
}

.stsd-favorites-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 28px;
    color: #fff;
    background:
        radial-gradient(circle at 92% -80%, rgba(47, 223, 132, .28), transparent 42%),
        linear-gradient(110deg, #003f2c 0%, #00633c 64%, #00462f 100%);
}

.stsd-favorites-header > div:first-child { min-width: 0; }

.stsd-favorites-kicker {
    display: block;
    margin-bottom: 5px;
    color: #55df95;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.stsd-favorites-header h2 {
    margin: 0 0 6px !important;
    color: #fff !important;
    font-size: clamp(23px, 2.4vw, 32px) !important;
    font-weight: 760 !important;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.stsd-favorites-header p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.55;
}

.stsd-favorites-counter {
    display: grid;
    min-width: 118px;
    grid-template-columns: 31px auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    background: rgba(0,35,23,.22);
    backdrop-filter: blur(4px);
}

.stsd-favorites-counter .stsd-icon {
    width: 27px;
    height: 27px;
    grid-row: 1 / 3;
    color: #58e59b;
    fill: rgba(88,229,155,.12);
}

.stsd-favorites-counter strong {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.stsd-favorites-counter span {
    color: rgba(255,255,255,.7);
    font-size: 9px;
    line-height: 1.2;
}

.stsd-favorites-content { padding: 22px; }

.stsd-favorites-page .stsd-product-grid {
    grid-template-columns: repeat(var(--stsd-columns-desktop, 4), minmax(0, 1fr));
    gap: 14px;
}

.stsd-favorites-page .stsd-product-card.product {
    min-width: 0;
    transition: border-color .2s ease, box-shadow .2s ease, opacity .18s ease, transform .2s ease;
}

.stsd-favorites-page .stsd-product-card.is-removing {
    opacity: 0;
    transform: scale(.96);
    pointer-events: none;
}

.stsd-product-actions button.is-loading {
    opacity: .55;
    cursor: wait;
}

.stsd-favorites-pagination { margin-bottom: 2px; }

.stsd-favorites-empty {
    display: flex;
    min-height: 360px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 38px 22px;
    border: 1px dashed #cfdad4;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.stsd-favorites-empty > span {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--stsd-green);
    background: var(--stsd-green-soft);
}

.stsd-favorites-empty > span .stsd-icon {
    width: 33px;
    height: 33px;
}

.stsd-favorites-empty h3 {
    margin: 17px 0 6px !important;
    color: var(--stsd-text) !important;
    font-size: 21px !important;
    font-weight: 740 !important;
}

.stsd-favorites-empty p {
    max-width: 430px;
    margin: 0 0 17px;
    color: var(--stsd-muted);
    font-size: 12px;
    line-height: 1.6;
}

.stsd-favorites-empty a {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 6px;
    color: #fff !important;
    background: linear-gradient(180deg, #078a4b, #006b3a);
    box-shadow: 0 7px 16px rgba(8,122,67,.18);
    font-size: 11px;
    font-weight: 720;
}

@media (max-width: 1220px) {
    .stsd-favorites-page .stsd-product-grid {
        grid-template-columns: repeat(var(--stsd-columns-tablet, 3), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .stsd-favorites-shell { border-radius: 10px; }
    .stsd-favorites-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        padding: 21px 18px;
    }
    .stsd-favorites-counter { min-width: 112px; }
    .stsd-favorites-content { padding: 12px; }
    .stsd-favorites-page .stsd-product-grid {
        grid-template-columns: repeat(var(--stsd-columns-mobile, 2), minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 390px) {
    .stsd-favorites-page .stsd-product-grid { grid-template-columns: 1fr; }
}



/* v1.6.0 - desktop filter header, WoodMart mobile trigger and stacked notices. */
@media (min-width: 1025px) {
    body.stsd-catalog-active .stsd-archive .stsd-filter-close {
        display: none !important;
    }
}

/* Keep transient messages clear of the persistent compare bar. */
body.stsd-has-compare-bar .stsd-toast {
    bottom: 82px;
}

/* Make the remove control in the compare table obvious and on-brand. */
.stsd-modal.is-compare .stsd-compare-product__remove {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border: 1.5px solid var(--stsd-green) !important;
    color: var(--stsd-green) !important;
    background: #eef9f3 !important;
    box-shadow: 0 4px 12px rgba(8,122,67,.14) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
}

.stsd-modal.is-compare .stsd-compare-product__remove:hover,
.stsd-modal.is-compare .stsd-compare-product__remove:focus-visible {
    border-color: var(--stsd-green) !important;
    color: #fff !important;
    background: var(--stsd-green) !important;
    box-shadow: 0 6px 16px rgba(8,122,67,.24) !important;
}

@media (max-width: 1024px) {
    /* WoodMart's sticky mobile navbar sits at the bottom; keep both plugin UI layers above it. */
    .stsd-compare-bar {
        right: 12px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        left: 12px;
        justify-content: center;
        width: auto;
        max-width: 420px;
        margin-inline: auto;
    }

    .stsd-toast {
        right: 12px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        max-width: 420px;
        margin-inline: auto;
        text-align: center;
    }

    body.stsd-has-compare-bar .stsd-toast {
        bottom: calc(136px + env(safe-area-inset-bottom));
    }
}

/* v1.7.0 - true scrollable mobile filter drawer. */
@media (max-width: 1024px) {
    html.stsd-filter-open,
    body.stsd-filter-open {
        overflow: hidden !important;
    }

    body.stsd-catalog-active .stsd-archive .stsd-filter-sidebar {
        top: 0 !important;
        right: auto !important;
        bottom: auto !important;
        left: 0 !important;
        box-sizing: border-box !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        scroll-behavior: smooth;
        scroll-padding-bottom: calc(104px + env(safe-area-inset-bottom));
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
        scrollbar-gutter: stable;
    }

    body.stsd-catalog-active .stsd-archive .stsd-filter-head {
        top: 0 !important;
    }

    body.stsd-catalog-active .stsd-archive .stsd-extra-widgets:last-child,
    body.stsd-catalog-active .stsd-archive .stsd-built-in-filter-form:last-child {
        margin-bottom: 12px;
    }
}
\n\n/* v1.7.1 - keep the mobile filter title/close bar below WoodMart's visible mobile header.\n * The top and bottom offsets are measured by frontend.js at runtime so this works\n * with different Header Builder heights and with the sticky bottom navbar enabled. */\n@media (max-width: 1024px) {\n    body.stsd-catalog-active .stsd-archive .stsd-filter-sidebar {\n        top: var(--stsd-mobile-filter-top, 0px) !important;\n        bottom: auto !important;\n        height: calc(100dvh - var(--stsd-mobile-filter-top, 0px) - var(--stsd-mobile-filter-bottom, 0px)) !important;\n        max-height: calc(100dvh - var(--stsd-mobile-filter-top, 0px) - var(--stsd-mobile-filter-bottom, 0px)) !important;\n        padding-bottom: calc(22px + env(safe-area-inset-bottom)) !important;\n    }\n\n    /* Never let theme rules hide the drawer's own bar or close control. */\n    body.stsd-filter-open .stsd-archive .stsd-filter-head {\n        position: sticky !important;\n        z-index: 100020 !important;\n        top: 0 !important;\n        display: grid !important;\n        min-height: 72px;\n        background: #fff !important;\n    }\n\n    body.stsd-filter-open .stsd-archive .stsd-filter-close {\n        position: relative !important;\n        z-index: 100021 !important;\n        display: inline-flex !important;\n        visibility: visible !important;\n        opacity: 1 !important;\n        pointer-events: auto !important;\n    }\n}\n
/* =========================================================
   HOMEPAGE PROMOTIONS CAROUSEL
   Shortcode: [simpletools_promotions_carousel]
   Reuses the exact Shop Pro product-card markup and styling.
   ========================================================= */
.stsd-promo-carousel-section.stsd-archive,
.stsd-home-products-section.stsd-archive {
    --stsd-page: transparent;
    width: 100%;
    min-height: 0 !important;
    margin: 34px auto;
    padding: 0 !important;
    color: var(--stsd-text);
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0 !important;
    isolation: auto;
}

/* Keep every structural wrapper of this shortcode transparent.
 * Product cards themselves stay white via their own Shop Pro styles. */
.stsd-promo-carousel-section > .stsd-promo-heading,
.stsd-promo-carousel-section > .stsd-promo-carousel-shell,
.stsd-promo-carousel-section .stsd-promo-carousel,
.stsd-home-products-section > .stsd-promo-heading,
.stsd-home-products-section > .stsd-promo-carousel-shell,
.stsd-home-products-section .stsd-promo-carousel {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Elementor/WoodMart wrappers that contain this shortcode must not paint a
 * plugin-style page background. :has() is supported by current browsers. */
.elementor-widget-shortcode:has(.stsd-promo-carousel-section),
.elementor-shortcode:has(.stsd-promo-carousel-section),
.elementor-widget-shortcode:has(.stsd-home-products-section),
.elementor-shortcode:has(.stsd-home-products-section) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.stsd-promo-carousel-section.stsd-archive::before,
.stsd-promo-carousel-section.stsd-archive::after,
.stsd-home-products-section.stsd-archive::before,
.stsd-home-products-section.stsd-archive::after {
    display: none !important;
    content: none !important;
}

.stsd-promo-carousel-section,
.stsd-promo-carousel-section *,
.stsd-home-products-section,
.stsd-home-products-section * {
    box-sizing: border-box;
}

.stsd-promo-heading {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    background: transparent !important;
}

.stsd-promo-heading__center {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
}

.stsd-promo-heading h2 {
    margin: 0 !important;
    color: #171a1d !important;
    font-size: 22px !important;
    font-weight: 760 !important;
    letter-spacing: -.25px !important;
    line-height: 1.2 !important;
    text-align: center;
    text-transform: none !important;
}

.stsd-promo-max-badge {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    background: var(--stsd-red);
    box-shadow: 0 3px 9px rgba(235,47,59,.18);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.stsd-promo-all {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--stsd-green) !important;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none !important;
    background: transparent !important;
    transition: color .18s ease, transform .18s ease;
}

.stsd-promo-all .stsd-icon {
    width: 15px;
    height: 15px;
    transition: transform .18s ease;
}

.stsd-promo-all:hover {
    color: var(--stsd-green-dark) !important;
}

.stsd-promo-all:hover .stsd-icon {
    transform: translateX(3px);
}

.stsd-promo-carousel-shell {
    position: relative;
    width: 100%;
    padding: 0 22px;
    background: transparent !important;
    overflow: visible !important;
}

.stsd-promo-carousel {
    display: flex;
    align-items: stretch;
    gap: 13px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: transparent !important;
}

.stsd-promo-carousel::-webkit-scrollbar {
    display: none;
}

.stsd-promo-carousel .stsd-product-card.product {
    flex: 0 0 calc((100% - 39px) / 4);
    min-width: calc((100% - 39px) / 4);
    scroll-snap-align: start;
}

.stsd-promo-nav {
    position: absolute !important;
    z-index: 20 !important;
    top: 50% !important;
    bottom: auto !important;
    margin: 0 !important;
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid #dfe5e1 !important;
    border-radius: 999px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    color: #233129 !important;
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(20,48,34,.13) !important;
    opacity: 1;
    transform: translateY(-50%) !important;
    transition: color .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease !important;
}

.stsd-promo-nav .stsd-icon {
    width: 18px;
    height: 18px;
}

.stsd-promo-nav:hover {
    color: #fff !important;
    background: var(--stsd-green) !important;
    border-color: var(--stsd-green) !important;
}

.stsd-promo-nav--prev {
    left: 0 !important;
    right: auto !important;
}

.stsd-promo-nav--next {
    right: 0 !important;
    left: auto !important;
}

.stsd-promo-nav.is-disabled { opacity: .25; pointer-events: none; }
.stsd-promo-nav.is-hidden { display: none !important; }

@media (max-width: 1200px) {
    .stsd-promo-carousel .stsd-product-card.product {
        flex-basis: calc((100% - 26px) / 3);
        min-width: calc((100% - 26px) / 3);
    }
    .stsd-promo-carousel-shell {
        padding: 0 18px;
    }
    .stsd-promo-nav--prev { left: 0 !important; }
    .stsd-promo-nav--next { right: 0 !important; }
}

@media (max-width: 850px) {
    .stsd-promo-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .stsd-promo-heading__spacer { display: none; }
    .stsd-promo-heading__center,
    .stsd-promo-all {
        grid-column: 1;
        justify-self: center;
    }
    .stsd-promo-heading__center { flex-wrap: wrap; }
    .stsd-promo-carousel .stsd-product-card.product {
        flex-basis: calc((100% - 13px) / 2);
        min-width: calc((100% - 13px) / 2);
    }
    .stsd-promo-carousel-shell {
        padding: 0;
    }
    .stsd-promo-nav { display: none !important; }
}

@media (max-width: 520px) {
    .stsd-promo-carousel-section.stsd-archive, .stsd-home-products-section.stsd-archive { margin: 26px auto; }
    .stsd-promo-heading h2 { font-size: 19px !important; }
    .stsd-promo-max-badge { font-size: 8.5px; }
    .stsd-promo-carousel { gap: 10px; }
    .stsd-promo-carousel .stsd-product-card.product {
        flex-basis: 78%;
        min-width: 78%;
    }
}


/* =========================================================
   HOMEPAGE NEW / BESTSELLER AJAX CAROUSELS
   Shortcodes:
   [simpletools_new_products_carousel]
   [simpletools_bestsellers_carousel]
   ========================================================= */
.stsd-home-products-section.stsd-archive {
    --stsd-page: transparent;
    width: 100%;
    min-height: 0 !important;
    margin: 34px auto;
    padding: 0 !important;
    color: var(--stsd-text);
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    isolation: auto;
}

.stsd-home-products-section.is-loading .stsd-promo-nav {
    opacity: 0 !important;
    pointer-events: none !important;
}

.stsd-home-carousel-loading {
    flex: 0 0 100%;
    width: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stsd-muted);
    background: transparent !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
}

.stsd-home-products-section[hidden] {
    display: none !important;
}

/* =========================================================
   v1.8.8 - HOMEPAGE BRANDS CAROUSEL
   Shortcode: [simpletools_brands_carousel]
   ========================================================= */
.stsd-brands-carousel-section,
.stsd-brands-carousel-section * {
    box-sizing: border-box;
}

.stsd-brands-carousel-section {
    width: 100%;
    margin: 24px auto;
    padding: 0;
    background: transparent !important;
}

.stsd-brands-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    width: 100%;
}

.stsd-brands-shell {
    position: relative;
    min-width: 0;
    width: 100%;
    padding: 0 20px;
}

.stsd-brands-track {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 1px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stsd-brands-track::-webkit-scrollbar {
    display: none;
}

.stsd-brand-card {
    flex: 0 0 calc((100% - 48px) / 5);
    min-width: calc((100% - 48px) / 5);
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    margin: 0;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #e1e5e3;
    border-radius: 7px;
    color: #17221d !important;
    text-decoration: none !important;
    scroll-snap-align: start;
    box-shadow: 0 1px 4px rgba(12,39,25,.035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.stsd-brand-card:hover {
    transform: translateY(-2px);
    border-color: #cbd4cf;
    box-shadow: 0 5px 15px rgba(12,39,25,.08);
}

.stsd-brand-card__logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 56px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: transform .2s ease;
}

.stsd-brand-card:hover .stsd-brand-card__logo {
    transform: scale(1.04);
}

.stsd-brand-card__name {
    display: -webkit-box;
    overflow: hidden;
    color: #1b2821;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stsd-brands-all {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-width: 146px;
    color: var(--stsd-green) !important;
    background: transparent !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none !important;
    white-space: nowrap;
}

.stsd-brands-all .stsd-icon {
    width: 15px;
    height: 15px;
    transition: transform .18s ease;
}

.stsd-brands-all:hover {
    color: var(--stsd-green-dark) !important;
}

.stsd-brands-all:hover .stsd-icon {
    transform: translateX(3px);
}

.stsd-brands-nav {
    position: absolute !important;
    z-index: 10;
    top: 50% !important;
    display: inline-flex !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dde3df !important;
    border-radius: 999px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    color: #24312a !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(20,48,34,.11) !important;
    transform: translateY(-50%) !important;
    transition: color .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease !important;
}

.stsd-brands-nav .stsd-icon {
    width: 16px;
    height: 16px;
}

.stsd-brands-nav:hover {
    color: #fff !important;
    background: var(--stsd-green) !important;
    border-color: var(--stsd-green) !important;
}

.stsd-brands-nav--prev { left: 0 !important; }
.stsd-brands-nav--next { right: 0 !important; }
.stsd-brands-nav.is-disabled { opacity: .25 !important; pointer-events: none !important; }
.stsd-brands-nav.is-hidden { display: none !important; }

@media (max-width: 1250px) {
    .stsd-brand-card {
        flex-basis: calc((100% - 18px) / 3);
        min-width: calc((100% - 18px) / 3);
    }
}

@media (max-width: 900px) {
    .stsd-brands-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .stsd-brand-card {
        flex-basis: calc((100% - 36px) / 4);
        min-width: calc((100% - 36px) / 4);
    }
    .stsd-brands-all {
        justify-self: end;
    }
}

@media (max-width: 650px) {
    .stsd-brands-carousel-section { margin: 18px auto; }
    .stsd-brands-shell { padding: 0; }
    .stsd-brands-track { gap: 9px; padding-inline: 1px; }
    .stsd-brand-card {
        flex-basis: calc((100% - 18px) / 3);
        min-width: calc((100% - 18px) / 3);
        height: 66px;
        padding: 8px 10px;
    }
    .stsd-brand-card__logo { max-height: 46px !important; }
    .stsd-brands-nav { display: none !important; }
    .stsd-brands-all {
        justify-self: center;
        min-width: 0;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .stsd-brand-card {
        flex-basis: 42%;
        min-width: 42%;
    }
}
