/* =========================================================
   WEBTASTIX MYM SHOP DESIGNER V1.0.0
   Scoped to body.mym-shop-designer-active only.
========================================================= */

body.mym-shop-designer-active {
    --mym-shop-blue:#0084ff;
    --mym-shop-blue-dark:#005da3;
    --mym-shop-navy:#041b35;
    --mym-shop-red:#e51b2b;
    --mym-shop-red-dark:#c91422;
    --mym-shop-bg:#eef8fd;
    --mym-shop-card:#ffffff;
    --mym-shop-text:#0b1d30;
    --mym-shop-muted:#75828d;
    --mym-shop-border:#d4e1e8;
    --mym-shop-radius:14px;
}

body.mym-shop-designer-active .main-page-wrapper,
body.mym-shop-designer-active .site-content,
body.mym-shop-designer-active .content-layout-wrapper,
body.mym-shop-designer-active .shop-content-area {
    background:var(--mym-shop-bg);
}

body.mym-shop-designer-active .main-page-wrapper {
    padding-top:0 !important;
}

body.mym-shop-designer-active .mym-shop-shell,
body.mym-shop-designer-active .mym-shop-shell * {
    box-sizing:border-box;
}

body.mym-shop-designer-active .mym-shop-shell {
    width:100%;
    margin:0 0 20px;
    color:var(--mym-shop-text);
}

/* SEARCH */
body.mym-shop-designer-active .mym-shop-search-row {
    padding:18px 0 14px;
}

body.mym-shop-designer-active .mym-shop-search {
    position:relative;
    display:grid;
    grid-template-columns:46px minmax(0,1fr) auto;
    align-items:center;
    min-height:58px;
    overflow:hidden;
    border:1px solid rgba(0,93,163,.17);
    border-radius:999px;
    background:#fff;
    box-shadow:0 10px 28px rgba(5,43,70,.07);
}

body.mym-shop-designer-active .mym-shop-search__icon {
    display:grid;
    place-items:center;
    color:var(--mym-shop-navy);
}

body.mym-shop-designer-active .mym-shop-search__icon svg {
    width:22px;
    height:22px;
    fill:currentColor;
}

body.mym-shop-designer-active .mym-shop-search input[type="search"] {
    width:100%;
    min-width:0;
    height:56px;
    margin:0 !important;
    padding:0 12px !important;
    border:0 !important;
    background:#fff !important;
    color:var(--mym-shop-text) !important;
    box-shadow:none !important;
    font-size:14px !important;
    font-weight:650 !important;
}

body.mym-shop-designer-active .mym-shop-search input::placeholder {
    color:#8b979f;
    opacity:1;
}

body.mym-shop-designer-active .mym-shop-search button {
    min-width:138px;
    height:58px;
    margin:0 !important;
    padding:0 24px !important;
    border:0 !important;
    border-radius:999px !important;
    background:linear-gradient(135deg,var(--mym-shop-blue),#0a6bd7) !important;
    color:#fff !important;
    font-size:12px !important;
    font-weight:900 !important;
    letter-spacing:.05em;
    cursor:pointer;
}

/* TRUST */
body.mym-shop-designer-active .mym-shop-trust {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin-bottom:14px;
    overflow:hidden;
    border:1px solid #dce6ec;
    border-radius:12px;
    background:#fff;
}

body.mym-shop-designer-active .mym-shop-trust__item {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:11px;
    min-height:70px;
    padding:10px 14px;
    border-right:1px solid #dce4e9;
}

body.mym-shop-designer-active .mym-shop-trust__item:last-child {
    border-right:0;
}

body.mym-shop-designer-active .mym-shop-trust__icon {
    display:grid;
    place-items:center;
    width:37px;
    height:37px;
    flex:0 0 37px;
    color:var(--mym-shop-navy);
}

body.mym-shop-designer-active .mym-shop-trust__icon svg,
body.mym-shop-designer-active .mym-shop-trust__icon img {
    display:block;
    width:30px;
    height:30px;
    object-fit:contain;
    fill:currentColor;
}

body.mym-shop-designer-active .mym-shop-trust__item strong {
    color:var(--mym-shop-navy);
    font-size:10px;
    line-height:1.1;
    font-weight:900;
    letter-spacing:.025em;
}

body.mym-shop-designer-active .mym-shop-trust__copy {
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
}

body.mym-shop-designer-active .mym-shop-trust__item small {
    display:block;
    max-width:170px;
    margin-top:2px;
    color:#687985;
    font-size:8px;
    line-height:1.25;
    font-weight:700;
    letter-spacing:.01em;
}

body.mym-shop-designer-active .mym-shop-trust__item--link {
    color:inherit !important;
    text-decoration:none !important;
}

/* BANNER */
body.mym-shop-designer-active .mym-shop-hero {
    position:relative;
    min-height:190px;
    overflow:hidden;
    border-radius:14px;
    background:linear-gradient(115deg,#03172d 0%,#052b53 70%,#006fca 100%);
    box-shadow:0 18px 38px rgba(3,27,52,.12);
}

body.mym-shop-designer-active .mym-shop-hero__media,
body.mym-shop-designer-active .mym-shop-hero__media img {
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
}

body.mym-shop-designer-active .mym-shop-hero__media img {
    object-fit:cover;
    object-position:center;
}

body.mym-shop-designer-active .mym-shop-hero__overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(2,17,34,.96) 0%,rgba(2,17,34,.84) 34%,rgba(2,17,34,.25) 70%,rgba(2,17,34,.12) 100%);
}

body.mym-shop-designer-active .mym-shop-hero--no-image::after {
    content:"";
    position:absolute;
    top:-85px;
    right:8%;
    width:270px;
    height:270px;
    border:58px solid rgba(0,132,255,.22);
    transform:skewX(-20deg) rotate(15deg);
}

body.mym-shop-designer-active .mym-shop-hero__content {
    position:relative;
    z-index:2;
    width:min(600px,65%);
    padding:30px 34px;
}

body.mym-shop-designer-active .mym-shop-hero__content > span {
    display:block;
    margin-bottom:6px;
    color:#7dc4ff;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.16em;
}

body.mym-shop-designer-active .mym-shop-hero__content h1 {
    margin:0 !important;
    color:#fff !important;
    font-size:clamp(32px,4vw,56px) !important;
    line-height:.9 !important;
    font-weight:950 !important;
    letter-spacing:-.045em;
    font-style:italic;
}

body.mym-shop-designer-active .mym-shop-hero__content h1 em {
    color:var(--mym-shop-red);
    font-style:normal;
}

body.mym-shop-designer-active .mym-shop-hero__content > strong {
    display:block;
    margin-top:10px;
    color:#fff;
    font-size:18px;
    line-height:1;
    font-weight:900;
    font-style:italic;
}

body.mym-shop-designer-active .mym-shop-hero__content > i {
    display:block;
    width:82px;
    height:4px;
    margin-top:17px;
    background:linear-gradient(90deg,var(--mym-shop-red) 0 55%,var(--mym-shop-blue) 55% 100%);
    transform:skewX(-20deg);
}

body.mym-shop-designer-active .mym-shop-hero__tagline {
    position:absolute;
    z-index:3;
    right:32px;
    bottom:28px;
    max-width:260px;
    padding:16px 22px;
    background:rgba(0,57,112,.88);
    transform:skewX(-13deg);
    text-align:right;
}

body.mym-shop-designer-active .mym-shop-hero__tagline > * {
    display:block;
    transform:skewX(13deg);
    color:#fff;
    font-family:Georgia,serif;
    font-style:italic;
}

body.mym-shop-designer-active .mym-shop-hero__tagline span {
    font-size:18px;
    line-height:1;
}

body.mym-shop-designer-active .mym-shop-hero__tagline strong {
    margin-top:3px;
    font-size:20px;
    line-height:1;
}

/* QUICK FILTERS */
body.mym-shop-designer-active .mym-shop-quick-nav {
    display:flex;
    gap:10px;
    margin:14px 0 12px;
    padding:0 2px 12px;
    overflow-x:auto;
    scrollbar-width:none;
    border-bottom:1px solid #dbe5eb;
}

body.mym-shop-designer-active .mym-shop-quick-nav::-webkit-scrollbar {
    display:none;
}

body.mym-shop-designer-active .mym-shop-quick-nav a {
    flex:0 0 auto;
    padding:11px 20px;
    border:1px solid transparent;
    border-radius:10px;
    background:#e5eff5;
    color:#203142 !important;
    font-size:11px;
    font-weight:850;
    text-decoration:none !important;
    transition:.18s ease;
}

body.mym-shop-designer-active .mym-shop-quick-nav a:hover,
body.mym-shop-designer-active .mym-shop-quick-nav a.is-active {
    background:var(--mym-shop-blue);
    color:#fff !important;
    box-shadow:0 8px 20px rgba(0,132,255,.20);
}

/* TOOLBAR */
body.mym-shop-designer-active .mym-shop-toolbar {
    display:grid;
    grid-template-columns:auto minmax(180px,1fr) auto;
    gap:12px;
    align-items:center;
    margin-bottom:15px;
    padding:0 2px;
}

body.mym-shop-designer-active .mym-shop-toolbar button,
body.mym-shop-designer-active .mym-shop-toolbar select {
    margin:0 !important;
}

body.mym-shop-designer-active .mym-shop-toolbar__filter {
    display:flex;
    align-items:center;
    gap:9px;
    min-height:44px;
    padding:0 10px 0 2px !important;
    border:0 !important;
    background:transparent !important;
    color:var(--mym-shop-text) !important;
    cursor:pointer;
}

body.mym-shop-designer-active .mym-shop-toolbar__filter span {
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    color:var(--mym-shop-navy);
}

body.mym-shop-designer-active .mym-shop-toolbar__filter svg {
    width:25px;
    height:25px;
    fill:currentColor;
}

body.mym-shop-designer-active .mym-shop-toolbar__filter strong {
    font-size:13px;
    font-weight:900;
}

body.mym-shop-designer-active .mym-shop-toolbar__filter i {
    font-style:normal;
    font-size:18px;
}

body.mym-shop-designer-active .mym-shop-toolbar__sort {
    display:flex;
    justify-content:center;
}

body.mym-shop-designer-active .mym-shop-toolbar__sort select {
    width:auto;
    min-width:175px;
    height:42px;
    padding:0 34px 0 14px !important;
    border:0 !important;
    background-color:transparent !important;
    color:var(--mym-shop-text) !important;
    box-shadow:none !important;
    font-size:12px !important;
    font-weight:800 !important;
}

body.mym-shop-designer-active .mym-shop-toolbar__view {
    display:flex;
    align-items:center;
    gap:5px;
    color:var(--mym-shop-navy);
}

body.mym-shop-designer-active .mym-shop-toolbar__view > span {
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
}

body.mym-shop-designer-active .mym-shop-toolbar__view svg {
    width:22px;
    height:22px;
    fill:currentColor;
}

body.mym-shop-designer-active .mym-shop-toolbar__view button {
    width:32px;
    height:32px;
    padding:0 !important;
    border:1px solid #cedbe3 !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#40505d !important;
    font-size:10px !important;
    font-weight:900 !important;
}

body.mym-shop-designer-active.mym-shop-view-3 .mym-shop-toolbar__view button[data-mym-view="3"],
body.mym-shop-designer-active.mym-shop-view-4 .mym-shop-toolbar__view button[data-mym-view="4"] {
    border-color:var(--mym-shop-blue) !important;
    background:var(--mym-shop-blue) !important;
    color:#fff !important;
}

/* PRODUCT GRID */
@media (min-width:1025px) {
    body.mym-shop-designer-active.mym-shop-view-3 .products {
        --wd-col:3 !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
    body.mym-shop-designer-active.mym-shop-view-4 .products {
        --wd-col:4 !important;
        grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    }
}

body.mym-shop-designer-active .products {
    gap:16px !important;
}

body.mym-shop-designer-active .products .product-grid-item,
body.mym-shop-designer-active .products .wd-product,
body.mym-shop-designer-active .products > .product {
    position:relative;
    overflow:hidden;
    padding:12px !important;
    border:2px solid #0f1b26 !important;
    border-radius:10px !important;
    background:#fff !important;
    box-shadow:0 8px 20px rgba(5,34,58,.035) !important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

body.mym-shop-designer-active .products .product-grid-item:hover,
body.mym-shop-designer-active .products .wd-product:hover,
body.mym-shop-designer-active .products > .product:hover {
    transform:translateY(-3px);
    border-color:var(--mym-shop-blue) !important;
    box-shadow:0 16px 32px rgba(5,34,58,.08) !important;
}

body.mym-shop-designer-active .product-element-top,
body.mym-shop-designer-active .wd-product-thumb,
body.mym-shop-designer-active .product-image-link {
    overflow:visible !important;
    border-radius:8px !important;
    background:#fff !important;
}

body.mym-shop-designer-active .product-element-top img,
body.mym-shop-designer-active .wd-product-thumb img,
body.mym-shop-designer-active .product-image-link img {
    width:100% !important;
    aspect-ratio:1 / .82;
    object-fit:contain !important;
    background:#fff;
}

body.mym-shop-designer-active .wd-product .wd-entities-title,
body.mym-shop-designer-active .wd-product .product-title,
body.mym-shop-designer-active .product-grid-item .wd-entities-title,
body.mym-shop-designer-active .product-grid-item .product-title,
body.mym-shop-designer-active .products > .product .woocommerce-loop-product__title {
    margin:10px 0 5px !important;
    color:var(--mym-shop-text) !important;
    font-size:13px !important;
    line-height:1.22 !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
}

body.mym-shop-designer-active .wd-product .wd-entities-title a,
body.mym-shop-designer-active .product-grid-item .wd-entities-title a,
body.mym-shop-designer-active .products > .product .woocommerce-loop-product__title a {
    color:inherit !important;
}

body.mym-shop-designer-active .star-rating {
    display:none !important;
}

body.mym-shop-designer-active .mym-shop-card-meta {
    margin-top:6px;
}


/* Keep the existing Woodmart engine-code pill, but make the ENTIRE pill solid MYM red. */
body.mym-shop-designer-active .mym-shop-engine-code-pill {
    border-color:var(--mym-shop-red) !important;
    background:var(--mym-shop-red) !important;
    color:#fff !important;
}

body.mym-shop-designer-active .mym-shop-engine-code-pill > *,
body.mym-shop-designer-active .mym-shop-engine-code-pill span,
body.mym-shop-designer-active .mym-shop-engine-code-pill strong,
body.mym-shop-designer-active .mym-shop-engine-code-pill small {
    border-color:transparent !important;
    background:transparent !important;
    color:#fff !important;
    box-shadow:none !important;
}

body.mym-shop-designer-active .mym-shop-card-meta__sku {
    margin-bottom:7px;
    color:var(--mym-shop-blue-dark);
    font-size:10px;
    line-height:1.25;
    font-weight:800;
}

body.mym-shop-designer-active .mym-shop-card-meta__sku span {
    font-weight:900;
}

body.mym-shop-designer-active .mym-shop-card-meta__sku strong {
    color:var(--mym-shop-red) !important;
}

body.mym-shop-designer-active .mym-shop-card-meta__attrs {
    display:grid;
    gap:4px;
}

body.mym-shop-designer-active .mym-shop-card-meta__attrs > div {
    display:flex;
    align-items:center;
    gap:6px;
    color:#40515f;
    font-size:9px;
    line-height:1.2;
    font-weight:650;
}

body.mym-shop-designer-active .mym-shop-card-meta__attrs i {
    display:block;
    width:6px;
    height:6px;
    flex:0 0 6px;
    border-radius:50%;
    background:var(--mym-shop-navy);
    box-shadow:0 0 0 2px rgba(0,132,255,.10);
}

body.mym-shop-designer-active .wd-product .price,
body.mym-shop-designer-active .product-grid-item .price,
body.mym-shop-designer-active .products > .product .price {
    display:block !important;
    margin:10px 0 9px !important;
    color:var(--mym-shop-blue-dark) !important;
    font-size:18px !important;
    line-height:1 !important;
    font-weight:950 !important;
}

body.mym-shop-designer-active .wd-product .price del,
body.mym-shop-designer-active .product-grid-item .price del {
    font-size:11px !important;
    color:#88949d !important;
}

body.mym-shop-designer-active .mym-shop-more-info {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    min-height:40px !important;
    margin-top:8px !important;
    padding:0 14px !important;
    border:0 !important;
    border-radius:999px !important;
    background:linear-gradient(135deg,var(--mym-shop-blue),#0769cc) !important;
    color:#fff !important;
    font-size:10px !important;
    font-weight:900 !important;
    letter-spacing:.04em !important;
    text-decoration:none !important;
    box-shadow:none !important;
}

body.mym-shop-designer-active .mym-shop-more-info span {
    font-size:16px;
}

/* Hide Woodmart card actions that would duplicate the More Info CTA. */
body.mym-shop-designer-active .wd-product .wd-buttons,
body.mym-shop-designer-active .wd-product .wd-add-btn,
body.mym-shop-designer-active .product-grid-item .wd-buttons,
body.mym-shop-designer-active .product-grid-item .wd-add-btn {
    display:none !important;
}

/* RESULTS */
body.mym-shop-designer-active .mym-shop-results-summary {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:16px auto 8px;
    color:#273846;
    font-size:10px;
}

body.mym-shop-designer-active .mym-shop-results-summary__icon {
    color:var(--mym-shop-navy);
    font-size:18px;
}

/* FILTER DRAWER */
body.mym-shop-designer-active .mym-shop-filter-overlay {
    position:fixed;
    inset:0;
    z-index:999998;
    background:rgba(2,17,34,.58);
    opacity:0;
    transition:opacity .22s ease;
}

body.mym-shop-designer-active .mym-shop-filter-overlay.is-open {
    opacity:1;
}

body.mym-shop-designer-active .mym-shop-filter-drawer {
    position:fixed;
    z-index:999999;
    top:0;
    left:0;
    bottom:0;
    width:min(440px,92vw);
    overflow-y:auto;
    background:#fff;
    box-shadow:30px 0 80px rgba(0,0,0,.20);
    transform:translateX(-103%);
    transition:transform .26s ease;
}

body.mym-shop-designer-active .mym-shop-filter-drawer.is-open {
    transform:translateX(0);
}

body.mym-shop-designer-active.mym-shop-filter-open {
    overflow:hidden !important;
}

body.mym-shop-designer-active .mym-shop-filter-drawer__head {
    position:sticky;
    top:0;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:90px;
    padding:20px 24px;
    border-bottom:1px solid #e0e7ec;
    background:#fff;
}

body.mym-shop-designer-active .mym-shop-filter-drawer__head span,
body.mym-shop-designer-active .mym-shop-filter-drawer__head strong {
    display:block;
}

body.mym-shop-designer-active .mym-shop-filter-drawer__head span {
    margin-bottom:4px;
    color:#84909a;
    font-size:8px;
    font-weight:900;
    letter-spacing:.14em;
}

body.mym-shop-designer-active .mym-shop-filter-drawer__head strong {
    color:var(--mym-shop-navy);
    font-size:20px;
    font-weight:950;
}

body.mym-shop-designer-active .mym-shop-filter-drawer__head button {
    width:40px;
    height:40px;
    padding:0 !important;
    border:1px solid #dce4e9 !important;
    border-radius:50% !important;
    background:#fff !important;
    color:#263847 !important;
    font-size:26px !important;
    font-weight:400 !important;
    cursor:pointer;
}

body.mym-shop-designer-active .mym-shop-filter-form {
    padding:22px 24px 30px;
}

body.mym-shop-designer-active .mym-shop-filter-field {
    display:block;
    margin:0 0 16px;
}

body.mym-shop-designer-active .mym-shop-filter-field > span,
body.mym-shop-designer-active .mym-shop-filter-price span {
    display:block;
    margin-bottom:7px;
    color:#5e6c78;
    font-size:8px;
    font-weight:900;
    letter-spacing:.09em;
}

body.mym-shop-designer-active .mym-shop-filter-field select,
body.mym-shop-designer-active .mym-shop-filter-field input,
body.mym-shop-designer-active .mym-shop-filter-price input {
    width:100%;
    height:46px;
    margin:0 !important;
    padding:0 13px !important;
    border:1px solid #dbe3e8 !important;
    border-radius:8px !important;
    background:#f9fbfc !important;
    color:#182a39 !important;
    box-shadow:none !important;
    font-size:12px !important;
}

body.mym-shop-designer-active .mym-shop-filter-price {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:22px;
}

body.mym-shop-designer-active .mym-shop-filter-actions {
    display:grid;
    grid-template-columns:auto 1fr;
    gap:10px;
    align-items:center;
    padding-top:18px;
    border-top:1px solid #e3e9ed;
}

body.mym-shop-designer-active .mym-shop-filter-actions a {
    padding:0 12px;
    color:#6d7881 !important;
    font-size:9px;
    font-weight:900;
    text-decoration:none !important;
}

body.mym-shop-designer-active .mym-shop-filter-actions button {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:48px;
    padding:0 16px !important;
    border:0 !important;
    border-radius:8px !important;
    background:var(--mym-shop-red) !important;
    color:#fff !important;
    font-size:10px !important;
    font-weight:900 !important;
}

body.mym-shop-designer-active .mym-shop-filter-actions button span {
    font-size:18px;
}

/* TABLET */
@media (max-width:1024px) {
    body.mym-shop-designer-active .mym-shop-hero__content {
        width:72%;
    }
    body.mym-shop-designer-active .mym-shop-hero__tagline {
        right:18px;
    }
    body.mym-shop-designer-active .mym-shop-trust__item {
        padding:9px 8px;
    }
}

/* MOBILE */
@media (max-width:767px) {
    body.mym-shop-designer-active .mym-shop-search-row {
        padding:12px 0 10px;
    }

    body.mym-shop-designer-active .mym-shop-search {
        grid-template-columns:40px minmax(0,1fr) 92px;
        min-height:50px;
    }

    body.mym-shop-designer-active .mym-shop-search input[type="search"] {
        height:50px;
        padding:0 5px !important;
        font-size:11px !important;
    }

    body.mym-shop-designer-active .mym-shop-search button {
        min-width:92px;
        height:50px;
        padding:0 12px !important;
        font-size:10px !important;
    }

    body.mym-shop-designer-active .mym-shop-search__icon svg {
        width:19px;
        height:19px;
    }

    body.mym-shop-designer-active .mym-shop-trust {
        margin-bottom:10px;
        border-radius:0;
    }

    body.mym-shop-designer-active .mym-shop-trust__item {
        display:grid;
        grid-template-columns:28px 1fr;
        gap:6px;
        min-height:61px;
        padding:7px 6px;
    }

    body.mym-shop-designer-active .mym-shop-trust__icon {
        width:28px;
        height:28px;
    }

    body.mym-shop-designer-active .mym-shop-trust__icon svg,
    body.mym-shop-designer-active .mym-shop-trust__icon img {
        width:24px;
        height:24px;
    }

    body.mym-shop-designer-active .mym-shop-trust__item strong {
        font-size:7px;
    }

    body.mym-shop-designer-active .mym-shop-hero {
        min-height:150px;
        border-radius:0;
    }

    body.mym-shop-designer-active .mym-shop-hero__media img {
        object-position:64% center;
    }

    body.mym-shop-designer-active .mym-shop-hero__overlay {
        background:linear-gradient(90deg,rgba(2,17,34,.96) 0%,rgba(2,17,34,.78) 48%,rgba(2,17,34,.16) 100%);
    }

    body.mym-shop-designer-active .mym-shop-hero__content {
        width:72%;
        padding:22px 18px;
    }

    body.mym-shop-designer-active .mym-shop-hero__content h1 {
        font-size:31px !important;
    }

    body.mym-shop-designer-active .mym-shop-hero__content > strong {
        font-size:16px;
    }

    body.mym-shop-designer-active .mym-shop-hero__tagline {
        display:none;
    }

    body.mym-shop-designer-active .mym-shop-quick-nav {
        gap:8px;
        margin-top:10px;
    }

    body.mym-shop-designer-active .mym-shop-quick-nav a {
        padding:10px 17px;
        font-size:9px;
    }

    body.mym-shop-designer-active .mym-shop-toolbar {
        grid-template-columns:auto minmax(120px,1fr) auto;
        gap:5px;
    }

    body.mym-shop-designer-active .mym-shop-toolbar__filter strong {
        font-size:11px;
    }

    body.mym-shop-designer-active .mym-shop-toolbar__sort select {
        min-width:0;
        width:100%;
        padding-left:5px !important;
        font-size:10px !important;
    }

    body.mym-shop-designer-active .mym-shop-toolbar__view button {
        display:none;
    }

    /* Force a true 2-column mobile product grid like the client reference. */
    body.mym-shop-designer-active .products {
        --wd-col:2 !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:8px !important;
    }

    body.mym-shop-designer-active .products .product-grid-item,
    body.mym-shop-designer-active .products .wd-product,
    body.mym-shop-designer-active .products > .product {
        padding:7px !important;
        border-width:1.5px !important;
        border-radius:7px !important;
    }

    body.mym-shop-designer-active .wd-product .wd-entities-title,
    body.mym-shop-designer-active .wd-product .product-title,
    body.mym-shop-designer-active .product-grid-item .wd-entities-title,
    body.mym-shop-designer-active .product-grid-item .product-title,
    body.mym-shop-designer-active .products > .product .woocommerce-loop-product__title {
        margin-top:6px !important;
        font-size:9.4px !important;
        line-height:1.18 !important;
    }

    body.mym-shop-designer-active .product-element-top img,
    body.mym-shop-designer-active .wd-product-thumb img,
    body.mym-shop-designer-active .product-image-link img {
        aspect-ratio:1 / .86;
    }

    body.mym-shop-designer-active .mym-shop-card-meta__sku {
        margin-bottom:5px;
        font-size:7.5px;
    }

    body.mym-shop-designer-active .mym-shop-card-meta__attrs {
        gap:3px;
    }

    body.mym-shop-designer-active .mym-shop-card-meta__attrs > div {
        gap:4px;
        font-size:7px;
    }

    body.mym-shop-designer-active .mym-shop-card-meta__attrs i {
        width:4px;
        height:4px;
        flex-basis:4px;
    }

    body.mym-shop-designer-active .wd-product .price,
    body.mym-shop-designer-active .product-grid-item .price,
    body.mym-shop-designer-active .products > .product .price {
        margin:7px 0 6px !important;
        font-size:14px !important;
    }

    body.mym-shop-designer-active .mym-shop-more-info {
        min-height:34px !important;
        padding:0 10px !important;
        font-size:8px !important;
    }

    body.mym-shop-designer-active .mym-shop-more-info span {
        font-size:14px;
    }
}

@media (max-width:390px) {
    body.mym-shop-designer-active .mym-shop-trust__item strong {
        font-size:6.5px;
    }

    body.mym-shop-designer-active .mym-shop-hero__content h1 {
        font-size:28px !important;
    }

    body.mym-shop-designer-active .mym-shop-hero__content > strong {
        font-size:14px;
    }

    body.mym-shop-designer-active .wd-product .wd-entities-title,
    body.mym-shop-designer-active .product-grid-item .wd-entities-title,
    body.mym-shop-designer-active .products > .product .woocommerce-loop-product__title {
        font-size:8.8px !important;
    }
}

/* =========================================================
   V1.1.0 — SMART FILTER + CTA HOTFIX
========================================================= */

body.mym-shop-designer-active .mym-shop-filter-live {
    display:flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    margin:4px 0 16px;
    padding:9px 11px;
    border:1px solid #dfe7ec;
    border-radius:8px;
    background:#f7fafc;
    color:#52626f;
}

body.mym-shop-designer-active .mym-shop-filter-live__dot {
    width:8px;
    height:8px;
    flex:0 0 8px;
    border-radius:50%;
    background:#8d9aa4;
}

body.mym-shop-designer-active .mym-shop-filter-live strong {
    font-size:9px;
    line-height:1.3;
    font-weight:850;
}

body.mym-shop-designer-active .mym-shop-filter-live.is-loading .mym-shop-filter-live__dot {
    background:var(--mym-shop-blue);
    box-shadow:0 0 0 4px rgba(0,132,255,.10);
    animation:mymShopFacetPulse .9s ease-in-out infinite alternate;
}

body.mym-shop-designer-active .mym-shop-filter-live.is-ready {
    border-color:rgba(0,93,163,.18);
    background:#f0f8fc;
    color:var(--mym-shop-blue-dark);
}

body.mym-shop-designer-active .mym-shop-filter-live.is-ready .mym-shop-filter-live__dot {
    background:var(--mym-shop-blue);
}

body.mym-shop-designer-active .mym-shop-filter-live.is-empty {
    border-color:rgba(229,27,43,.18);
    background:#fff6f6;
    color:#9e2630;
}

body.mym-shop-designer-active .mym-shop-filter-live.is-empty .mym-shop-filter-live__dot {
    background:var(--mym-shop-red);
}

body.mym-shop-designer-active .mym-shop-filter-field.is-unavailable {
    display:none !important;
}

body.mym-shop-designer-active .mym-shop-filter-actions {
    position:sticky;
    bottom:0;
    z-index:3;
    margin:0 -24px -30px;
    padding:16px 24px 20px;
    border-top:1px solid #e3e9ed;
    background:rgba(255,255,255,.97);
    box-shadow:0 -12px 30px rgba(4,28,48,.06);
}

body.mym-shop-designer-active .mym-shop-filter-actions button:disabled {
    opacity:.58;
    cursor:wait;
}

/* Guarantee that the primary product CTA is always visible even when
   Woodmart uses a product-card layout that hides its own action block. */
body.mym-shop-designer-active .products .mym-shop-more-info {
    position:relative !important;
    z-index:20 !important;
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    overflow:visible !important;
    pointer-events:auto !important;
    flex:none !important;
    clear:both !important;
    width:100% !important;
    min-height:42px !important;
    margin:10px 0 2px !important;
    padding:0 14px !important;
    border:0 !important;
    border-radius:7px !important;
    background:linear-gradient(135deg,var(--mym-shop-blue),#0569ce) !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(0,93,163,.16) !important;
    font-size:10px !important;
    font-weight:950 !important;
    letter-spacing:.045em !important;
    text-decoration:none !important;
}

body.mym-shop-designer-active .products .mym-shop-more-info:hover {
    background:linear-gradient(135deg,#087ee7,var(--mym-shop-blue-dark)) !important;
    color:#fff !important;
}

body.mym-shop-designer-active .products .mym-shop-more-info span {
    font-size:17px !important;
}

@keyframes mymShopFacetPulse {
    from { transform:scale(.86); opacity:.55; }
    to { transform:scale(1.08); opacity:1; }
}

@media (max-width:767px) {
    body.mym-shop-designer-active .mym-shop-filter-drawer {
        width:100vw;
        max-width:100vw;
    }

    body.mym-shop-designer-active .mym-shop-filter-form {
        padding-bottom:86px;
    }

    body.mym-shop-designer-active .mym-shop-filter-actions {
        margin:0 -24px -86px;
        padding-bottom:max(18px, env(safe-area-inset-bottom));
    }

    body.mym-shop-designer-active .products .mym-shop-more-info {
        min-height:36px !important;
        margin-top:8px !important;
        padding:0 9px !important;
        border-radius:6px !important;
        font-size:8.5px !important;
    }
}

/* =========================================================
   V1.2.0 — LIVE AJAX SHOP + SIDEBAR REMOVAL + ALWAYS CTA
========================================================= */

/* Remove Woodmart/WooCommerce's default archive sidebar completely. */
body.mym-shop-designer-active .sidebar-container,
body.mym-shop-designer-active .area-sidebar-shop,
body.mym-shop-designer-active aside.sidebar-container,
body.mym-shop-designer-active .wd-sidebar:not(.mym-shop-filter-drawer) {
    display:none !important;
}

body.mym-shop-designer-active .site-content,
body.mym-shop-designer-active .shop-content-area,
body.mym-shop-designer-active .content-layout-wrapper > .site-content {
    width:100% !important;
    max-width:100% !important;
    flex:0 0 100% !important;
}

body.mym-shop-designer-active .content-layout-wrapper {
    display:block !important;
}

/* Keep the MYM result cards fully visible while Woodmart swaps content. */
body.mym-shop-designer-active .products {
    position:relative;
    transition:opacity .18s ease;
}

body.mym-shop-designer-active.mym-shop-live-loading .products {
    opacity:.42;
    pointer-events:none;
}

body.mym-shop-designer-active.mym-shop-live-loading .main-page-wrapper::after {
    content:"UPDATING STOCK…";
    position:fixed;
    z-index:9990;
    left:50%;
    bottom:28px;
    transform:translateX(-50%);
    padding:11px 18px;
    border-radius:999px;
    background:#051c38;
    color:#fff;
    box-shadow:0 12px 30px rgba(4,28,48,.2);
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.08em;
}

/* AJAX views show their current result set; old pagination no longer applies. */
body.mym-shop-designer-active.mym-shop-live-active .woocommerce-pagination,
body.mym-shop-designer-active.mym-shop-live-active .wd-loop-footer,
body.mym-shop-designer-active.mym-shop-live-active .products-footer {
    display:none !important;
}

body.mym-shop-designer-active .mym-shop-no-results {
    grid-column:1 / -1 !important;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-height:220px;
    padding:34px;
    border:1px solid #d8e4eb;
    border-radius:12px;
    background:#fff;
    text-align:center;
}

body.mym-shop-designer-active .mym-shop-no-results strong {
    color:var(--mym-shop-navy);
    font-size:18px;
    font-weight:950;
}

body.mym-shop-designer-active .mym-shop-no-results span {
    margin-top:7px;
    color:#778590;
    font-size:12px;
}

/* The CTA is part of the visible card content, never a Woodmart hover action. */
body.mym-shop-designer-active .product-element-bottom,
body.mym-shop-designer-active .wd-product-content,
body.mym-shop-designer-active .product-wrapper,
body.mym-shop-designer-active .wd-product-wrapper {
    overflow:visible !important;
}

body.mym-shop-designer-active .products .mym-shop-more-info {
    position:relative !important;
    inset:auto !important;
    z-index:30 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    width:100% !important;
    min-height:42px !important;
    margin:10px 0 2px !important;
    padding:0 14px !important;
    border:0 !important;
    border-radius:7px !important;
    background:linear-gradient(135deg,var(--mym-shop-blue),#0569ce) !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(0,93,163,.17) !important;
    font-size:10px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.045em !important;
    text-decoration:none !important;
    text-transform:uppercase !important;
}

body.mym-shop-designer-active .products .mym-shop-more-info:hover {
    background:linear-gradient(135deg,#087ee7,var(--mym-shop-blue-dark)) !important;
    color:#fff !important;
}

body.mym-shop-designer-active .products .mym-shop-more-info span {
    display:block !important;
    font-size:17px !important;
    line-height:1 !important;
}

/* The dependent drawer should never feel empty while facets are loading. */
body.mym-shop-designer-active .mym-shop-filter-field select:disabled {
    opacity:.58;
    cursor:not-allowed;
}

/* Live search is a real filter; make its active state obvious. */
body.mym-shop-designer-active .mym-shop-search:focus-within {
    border-color:rgba(0,132,255,.55);
    box-shadow:0 12px 30px rgba(0,93,163,.12);
}

@media (max-width:767px) {
    body.mym-shop-designer-active .site-content,
    body.mym-shop-designer-active .shop-content-area {
        padding-left:12px !important;
        padding-right:12px !important;
    }

    body.mym-shop-designer-active .products .mym-shop-more-info {
        min-height:36px !important;
        margin-top:8px !important;
        padding:0 9px !important;
        border-radius:6px !important;
        font-size:8.5px !important;
    }

    body.mym-shop-designer-active .products .mym-shop-more-info span {
        font-size:14px !important;
    }

    body.mym-shop-designer-active .mym-shop-no-results {
        min-height:170px;
        padding:24px 16px;
    }

    body.mym-shop-designer-active.mym-shop-live-loading .main-page-wrapper::after {
        bottom:18px;
        font-size:8px;
    }
}

/* =========================================================
   V1.3.0 — PREMIUM SINGLE-COLUMN MOBILE PRODUCT CARDS
   Mobile only. Desktop/tablet behaviour remains unchanged.
========================================================= */
@media (max-width:767px) {
    /* One card per row gives long MYM product titles, engine codes and
       pricing enough room to breathe on a phone. */
    body.mym-shop-designer-active .products {
        --wd-col:1 !important;
        grid-template-columns:minmax(0,1fr) !important;
        gap:14px !important;
    }

    body.mym-shop-designer-active .products .product-grid-item,
    body.mym-shop-designer-active .products .wd-product,
    body.mym-shop-designer-active .products > .product {
        width:100% !important;
        max-width:none !important;
        padding:11px !important;
        border:1px solid #cbd9e2 !important;
        border-radius:14px !important;
        background:#fff !important;
        box-shadow:0 10px 24px rgba(5,34,58,.065) !important;
        transform:none !important;
    }

    body.mym-shop-designer-active .products .product-grid-item:hover,
    body.mym-shop-designer-active .products .wd-product:hover,
    body.mym-shop-designer-active .products > .product:hover {
        transform:none !important;
        border-color:#cbd9e2 !important;
        box-shadow:0 10px 24px rgba(5,34,58,.065) !important;
    }

    /* Keep the image generous, but stop a single card from becoming
       ridiculously tall on a narrow phone. */
    body.mym-shop-designer-active .product-element-top,
    body.mym-shop-designer-active .wd-product-thumb,
    body.mym-shop-designer-active .product-image-link {
        overflow:hidden !important;
        border:1px solid #e1e8ed !important;
        border-radius:11px !important;
        background:#fbfcfd !important;
    }

    body.mym-shop-designer-active .product-element-top img,
    body.mym-shop-designer-active .wd-product-thumb img,
    body.mym-shop-designer-active .product-image-link img {
        width:100% !important;
        height:220px !important;
        max-height:220px !important;
        aspect-ratio:auto !important;
        object-fit:contain !important;
        padding:8px !important;
        background:#fff !important;
    }

    body.mym-shop-designer-active .wd-product .wd-entities-title,
    body.mym-shop-designer-active .wd-product .product-title,
    body.mym-shop-designer-active .product-grid-item .wd-entities-title,
    body.mym-shop-designer-active .product-grid-item .product-title,
    body.mym-shop-designer-active .products > .product .woocommerce-loop-product__title {
        margin:13px 3px 7px !important;
        font-size:14px !important;
        line-height:1.28 !important;
        font-weight:900 !important;
        letter-spacing:-.01em !important;
    }

    /* Keep secondary category/brand text quiet so it does not compete
       with the actual product title. */
    body.mym-shop-designer-active .wd-product-cats,
    body.mym-shop-designer-active .product-grid-item .wd-product-cats,
    body.mym-shop-designer-active .wd-product .wd-product-brands-links {
        margin:0 3px 8px !important;
        color:#87919a !important;
        font-size:10px !important;
        line-height:1.2 !important;
    }

    body.mym-shop-designer-active .mym-shop-card-meta {
        margin:8px 3px 0 !important;
    }

    body.mym-shop-designer-active .mym-shop-card-meta__sku {
        margin:0 0 9px !important;
        color:var(--mym-shop-blue-dark) !important;
        font-size:10.5px !important;
        line-height:1.25 !important;
        font-weight:800 !important;
    }

    /* Turn the vertical bullet stack into easy-to-scan mobile chips. */
    body.mym-shop-designer-active .mym-shop-card-meta__attrs {
        display:flex !important;
        flex-wrap:wrap !important;
        gap:6px !important;
    }

    body.mym-shop-designer-active .mym-shop-card-meta__attrs > div {
        display:inline-flex !important;
        align-items:center !important;
        width:auto !important;
        min-height:28px !important;
        padding:5px 9px !important;
        border:1px solid #e0e8ed !important;
        border-radius:999px !important;
        background:#f5f8fa !important;
        color:#344756 !important;
        font-size:10px !important;
        line-height:1 !important;
        font-weight:750 !important;
    }

    body.mym-shop-designer-active .mym-shop-card-meta__attrs i {
        width:5px !important;
        height:5px !important;
        flex:0 0 5px !important;
        margin-right:1px !important;
        background:var(--mym-shop-blue-dark) !important;
        box-shadow:none !important;
    }

    body.mym-shop-designer-active .wd-product .price,
    body.mym-shop-designer-active .product-grid-item .price,
    body.mym-shop-designer-active .products > .product .price {
        margin:15px 3px 10px !important;
        color:var(--mym-shop-blue-dark) !important;
        font-size:22px !important;
        line-height:1 !important;
        font-weight:950 !important;
    }

    body.mym-shop-designer-active .products .mym-shop-more-info {
        min-height:48px !important;
        margin:8px 0 0 !important;
        padding:0 16px !important;
        border-radius:9px !important;
        background:linear-gradient(135deg,var(--mym-shop-blue),#0569ce) !important;
        box-shadow:0 8px 18px rgba(0,93,163,.15) !important;
        font-size:11px !important;
        letter-spacing:.045em !important;
    }

    body.mym-shop-designer-active .products .mym-shop-more-info span {
        font-size:21px !important;
        line-height:1 !important;
    }

    /* A little more breathing room at the bottom of the catalogue helps
       keep the last CTA clear of common floating mobile contact buttons. */
    body.mym-shop-designer-active .shop-content-area {
        padding-bottom:72px !important;
    }
}

@media (max-width:390px) {
    body.mym-shop-designer-active .product-element-top img,
    body.mym-shop-designer-active .wd-product-thumb img,
    body.mym-shop-designer-active .product-image-link img {
        height:205px !important;
        max-height:205px !important;
    }

    body.mym-shop-designer-active .wd-product .wd-entities-title,
    body.mym-shop-designer-active .product-grid-item .wd-entities-title,
    body.mym-shop-designer-active .products > .product .woocommerce-loop-product__title {
        font-size:13.5px !important;
    }
}


/* =========================================================
   CLEARANCE STOCK — DEDICATED LIST ARCHIVE
   Scope boundary:
   ONLY /product-category/clearance-stock/ and its descendants
========================================================= */

body.mym-clearance-stock-layout {
    background:#f4f8fc;
}

body.mym-clearance-stock-layout .mym-shop-shell {
    display:none !important;
}

/* Hide only the normal Woo/Woodmart product-card loop on Clearance archives.
   Pagination remains visible and usable below the custom list. */
body.mym-clearance-stock-layout ul.products,
body.mym-clearance-stock-layout .products.wd-products,
body.mym-clearance-stock-layout .shop-loop-head,
body.mym-clearance-stock-layout .wd-shop-tools,
body.mym-clearance-stock-layout .wd-products-per-page,
body.mym-clearance-stock-layout .wd-products-shop-view,
body.mym-clearance-stock-layout .wd-products-ordering {
    display:none !important;
}

body.mym-clearance-stock-layout .mym-clearance {
    --mym-clearance-navy:#07192f;
    --mym-clearance-navy2:#0b2845;
    --mym-clearance-blue:#0084ff;
    --mym-clearance-red:#d71920;
    --mym-clearance-line:#dbe5ee;
    --mym-clearance-soft:#eef7ff;
    --mym-clearance-ink:#102037;
    --mym-clearance-muted:#66778a;

    width:100%;
    max-width:1180px;
    margin:0 auto 28px;
    color:var(--mym-clearance-ink);
}

body.mym-clearance-stock-layout .mym-clearance *,
body.mym-clearance-stock-layout .mym-clearance *::before,
body.mym-clearance-stock-layout .mym-clearance *::after {
    box-sizing:border-box;
}

body.mym-clearance-stock-layout .mym-clearance__hero {
    position:relative;
    overflow:hidden;
    padding:31px 34px 30px;
    border-radius:16px 16px 0 0;
    background:
        radial-gradient(circle at 92% 12%,rgba(0,132,255,.26),transparent 25%),
        linear-gradient(135deg,#07192f,#0b2845);
    border-bottom:5px solid var(--mym-clearance-red);
    color:#fff;
}

body.mym-clearance-stock-layout .mym-clearance__hero::after {
    content:"";
    position:absolute;
    right:-55px;
    top:-90px;
    width:280px;
    height:280px;
    border:34px solid rgba(255,255,255,.035);
    border-radius:50%;
}

body.mym-clearance-stock-layout .mym-clearance__hero-kicker {
    position:relative;
    z-index:2;
    margin-bottom:7px;
    color:#79caff;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.14em;
}

body.mym-clearance-stock-layout .mym-clearance__hero h1 {
    position:relative;
    z-index:2;
    margin:0 !important;
    color:#fff !important;
    font-size:clamp(32px,4.2vw,55px) !important;
    line-height:.95 !important;
    font-weight:950 !important;
    letter-spacing:-.045em !important;
}

body.mym-clearance-stock-layout .mym-clearance__hero h1 span {
    color:var(--mym-clearance-red);
}

body.mym-clearance-stock-layout .mym-clearance__hero p {
    position:relative;
    z-index:2;
    max-width:700px;
    margin:12px 0 0 !important;
    color:rgba(255,255,255,.74) !important;
    font-size:12px !important;
    line-height:1.55 !important;
}

body.mym-clearance-stock-layout .mym-clearance__controls {
    position:relative;
    z-index:5;
    padding:15px;
    background:#fff;
    border:1px solid var(--mym-clearance-line);
    border-top:0;
    border-radius:0 0 16px 16px;
    box-shadow:0 8px 26px rgba(7,25,47,.07);
}

body.mym-clearance-stock-layout .mym-clearance__search {
    display:grid;
    grid-template-columns:28px minmax(0,1fr) 126px;
    align-items:center;
    min-height:54px;
    overflow:hidden;
    border:2px solid #cbd8e5;
    border-radius:12px;
    background:#fff;
}

body.mym-clearance-stock-layout .mym-clearance__search > span {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    color:#17314e;
}

body.mym-clearance-stock-layout .mym-clearance__search > span svg {
    width:18px;
    height:18px;
    fill:currentColor;
}

body.mym-clearance-stock-layout .mym-clearance__search input {
    width:100%;
    min-width:0;
    height:50px;
    padding:0 13px;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    color:#2a3747 !important;
    font-size:15px !important;
}

body.mym-clearance-stock-layout .mym-clearance__search input::placeholder {
    color:#7b8794;
}

body.mym-clearance-stock-layout .mym-clearance__search button {
    align-self:stretch;
    border:0;
    border-left:1px solid #dce5ed;
    background:var(--mym-clearance-blue);
    color:#fff;
    font-size:10px;
    font-weight:900;
    letter-spacing:.05em;
    cursor:pointer;
}

body.mym-clearance-stock-layout .mym-clearance__tabs {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    margin-top:12px;
}

body.mym-clearance-stock-layout .mym-clearance__tabs a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:49px;
    padding:9px 11px;
    border-radius:10px;
    background:var(--mym-clearance-navy2);
    color:#fff !important;
    font-size:10px;
    line-height:1.25;
    font-weight:900;
    text-align:center;
    text-decoration:none !important;
    transition:transform .18s ease,background .18s ease;
}

body.mym-clearance-stock-layout .mym-clearance__tabs a:hover {
    transform:translateY(-1px);
    background:#103656;
}

body.mym-clearance-stock-layout .mym-clearance__tabs a.is-active {
    background:var(--mym-clearance-red);
}

body.mym-clearance-stock-layout .mym-clearance__notice {
    margin:18px 0 0;
    padding:13px 15px;
    border-left:5px solid var(--mym-clearance-blue);
    border-radius:9px;
    background:#fff;
    box-shadow:0 5px 18px rgba(7,25,47,.045);
    color:#5d6c7d;
    font-size:11px;
    line-height:1.55;
}

body.mym-clearance-stock-layout .mym-clearance__notice strong {
    color:var(--mym-clearance-navy);
}

body.mym-clearance-stock-layout .mym-clearance__content {
    margin-top:21px;
}

body.mym-clearance-stock-layout .mym-clearance__section {
    margin:0 0 22px;
}

body.mym-clearance-stock-layout .mym-clearance__section h2 {
    margin:0 !important;
    padding:15px 18px;
    border-radius:12px 12px 0 0;
    background:var(--mym-clearance-navy);
    color:#fff !important;
    font-size:21px !important;
    line-height:1.1 !important;
    font-weight:900 !important;
    letter-spacing:-.015em !important;
}

body.mym-clearance-stock-layout .mym-clearance__table-wrap {
    overflow:hidden;
    border:1px solid var(--mym-clearance-line);
    border-top:0;
    border-radius:0 0 12px 12px;
    background:#fff;
}

body.mym-clearance-stock-layout .mym-clearance__table {
    width:100%;
    margin:0 !important;
    border:0 !important;
    border-collapse:collapse;
    table-layout:fixed;
}

body.mym-clearance-stock-layout .mym-clearance__table thead th {
    padding:13px 15px !important;
    border:0 !important;
    background:#e8f4ff !important;
    color:var(--mym-clearance-navy) !important;
    font-size:10px !important;
    line-height:1.2 !important;
    font-weight:900 !important;
    letter-spacing:.035em;
    text-align:left;
}

body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(1) {
    width:19%;
}

body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(2) {
    width:37%;
}

body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(3) {
    width:16%;
    text-align:right;
}

body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(4) {
    width:28%;
    text-align:right;
}

body.mym-clearance-stock-layout .mym-clearance__table tbody tr:nth-child(even) td {
    background:#fbfdff;
}

body.mym-clearance-stock-layout .mym-clearance__table td {
    padding:14px 15px !important;
    border:0 !important;
    border-top:1px solid var(--mym-clearance-line) !important;
    background:#fff;
    color:#26364a;
    font-size:13px !important;
    line-height:1.35 !important;
    vertical-align:middle;
}

body.mym-clearance-stock-layout .mym-clearance__table td strong {
    color:var(--mym-clearance-navy);
    font-weight:900;
}

body.mym-clearance-stock-layout .mym-clearance__table td a {
    color:#26364a !important;
    font-weight:700;
    text-decoration:none !important;
}

body.mym-clearance-stock-layout .mym-clearance__table td a:hover {
    color:var(--mym-clearance-blue) !important;
}

body.mym-clearance-stock-layout .mym-clearance__price {
    color:var(--mym-clearance-red) !important;
    font-weight:950 !important;
    text-align:right;
    white-space:nowrap;
}

body.mym-clearance-stock-layout .mym-clearance__price .amount,
body.mym-clearance-stock-layout .mym-clearance__price ins,
body.mym-clearance-stock-layout .mym-clearance__price bdi {
    color:var(--mym-clearance-red) !important;
    font-weight:950 !important;
}

body.mym-clearance-stock-layout .mym-clearance__price del {
    margin-right:5px;
    opacity:.46;
}

body.mym-clearance-stock-layout .mym-clearance__count {
    margin:8px 0 0;
    color:var(--mym-clearance-muted);
    font-size:10px;
    font-weight:700;
}

body.mym-clearance-stock-layout .mym-clearance__empty {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    padding:34px 20px;
    border:1px solid var(--mym-clearance-line);
    border-radius:12px;
    background:#fff;
    color:var(--mym-clearance-muted);
    text-align:center;
}

body.mym-clearance-stock-layout .mym-clearance__empty strong {
    color:var(--mym-clearance-navy);
    font-size:13px;
}

body.mym-clearance-stock-layout .mym-clearance__empty span {
    font-size:11px;
}

body.mym-clearance-stock-layout .mym-clearance__summary {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin:8px 0 0;
    color:#6d7c8d;
    font-size:10px;
}

body.mym-clearance-stock-layout .mym-clearance__summary span {
    color:var(--mym-clearance-blue);
}

/* Woodmart pagination remains active, but receives list-layout spacing. */
body.mym-clearance-stock-layout .woocommerce-pagination,
body.mym-clearance-stock-layout .wd-pagination {
    margin-top:20px !important;
}

@media (max-width:767px) {
    body.mym-clearance-stock-layout .mym-clearance {
        width:calc(100% - 18px);
        margin:0 auto 22px;
    }

    body.mym-clearance-stock-layout .mym-clearance__hero {
        padding:24px 20px 22px;
        border-radius:13px 13px 0 0;
    }

    body.mym-clearance-stock-layout .mym-clearance__hero h1 {
        font-size:36px !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__hero p {
        font-size:11px !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__controls {
        padding:12px;
        border-radius:0 0 13px 13px;
    }

    body.mym-clearance-stock-layout .mym-clearance__search {
        grid-template-columns:26px minmax(0,1fr);
        min-height:51px;
    }

    body.mym-clearance-stock-layout .mym-clearance__search input {
        height:48px;
        padding:0 9px;
        font-size:14px !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__search button {
        display:none;
    }

    body.mym-clearance-stock-layout .mym-clearance__tabs {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
    }

    body.mym-clearance-stock-layout .mym-clearance__tabs a {
        min-height:50px;
        padding:9px 7px;
        font-size:10px;
    }

    body.mym-clearance-stock-layout .mym-clearance__section h2 {
        padding:15px 17px;
        font-size:20px !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th {
        padding:11px 9px !important;
        font-size:9px !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(1) {
        width:28%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(2) {
        width:49%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(3) {
        width:23%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td {
        padding:12px 9px !important;
        font-size:12px !important;
        word-break:break-word;
    }

    body.mym-clearance-stock-layout .mym-clearance__price {
        font-size:11px !important;
    }
}

@media (max-width:410px) {
    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(1) {
        width:27%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(2) {
        width:48%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(3) {
        width:25%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td,
    body.mym-clearance-stock-layout .mym-clearance__table thead th {
        padding-left:7px !important;
        padding-right:7px !important;
    }
}


/* v1.3.9 — Clearance Stock is deliberately image-free.
   Even if the theme injects media into archive wrappers, suppress it only here. */
body.mym-clearance-stock-layout .mym-clearance img,
body.mym-clearance-stock-layout .mym-clearance picture,
body.mym-clearance-stock-layout .mym-clearance figure,
body.mym-clearance-stock-layout .mym-clearance .product-element-top,
body.mym-clearance-stock-layout .mym-clearance .product-image-link {
    display:none !important;
}




/* v1.3.11 — Clearance Stock renders outside Woodmart's loop toolbar.
   This is intentionally scoped only to Clearance Stock archives. */
body.mym-clearance-stock-layout .mym-clearance {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative;
    z-index:2;
}

body.mym-clearance-stock-layout .mym-clearance + .woocommerce-notices-wrapper {
    margin-top:0;
}


/* =========================================================
   CLEARANCE STOCK DIRECT ACTIONS — v1.3.12
   No product-page navigation is used from Clearance Stock.
========================================================= */

body.mym-clearance-stock-layout .mym-clearance__product-name {
    color:#26364a;
    font-size:13px;
    line-height:1.35;
    font-weight:800;
}

body.mym-clearance-stock-layout .mym-clearance__actions {
    text-align:right;
}

body.mym-clearance-stock-layout .mym-clearance__action-buttons {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
}

body.mym-clearance-stock-layout .mym-clearance__cart,
body.mym-clearance-stock-layout .mym-clearance__whatsapp {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:35px;
    padding:0 12px !important;
    border:0 !important;
    border-radius:7px !important;
    box-shadow:none !important;
    font-size:8px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.035em;
    text-decoration:none !important;
    white-space:nowrap;
    transition:transform .18s ease,opacity .18s ease,background .18s ease;
}

body.mym-clearance-stock-layout .mym-clearance__cart {
    background:#0084ff !important;
    color:#fff !important;
}

body.mym-clearance-stock-layout .mym-clearance__whatsapp {
    background:#25D366 !important;
    color:#fff !important;
}

body.mym-clearance-stock-layout .mym-clearance__cart:hover,
body.mym-clearance-stock-layout .mym-clearance__whatsapp:hover {
    transform:translateY(-1px);
    opacity:.9;
}

body.mym-clearance-stock-layout .mym-clearance__cart.added {
    background:#005da3 !important;
}

body.mym-clearance-stock-layout .mym-clearance__actions a.added_to_cart {
    display:none !important;
}

body.mym-clearance-stock-layout .mym-clearance__sold {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:35px;
    padding:0 10px;
    border-radius:7px;
    background:#edf1f5;
    color:#6a7886;
    font-size:8px;
    font-weight:900;
    letter-spacing:.03em;
    white-space:nowrap;
}

@media (max-width:767px) {
    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(1) {
        width:20%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(2) {
        width:32%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(3) {
        width:17%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(4) {
        width:31%;
    }

    body.mym-clearance-stock-layout .mym-clearance__product-name {
        font-size:11px;
    }

    body.mym-clearance-stock-layout .mym-clearance__action-buttons {
        flex-direction:column;
        align-items:stretch;
        gap:5px;
    }

    body.mym-clearance-stock-layout .mym-clearance__cart,
    body.mym-clearance-stock-layout .mym-clearance__whatsapp,
    body.mym-clearance-stock-layout .mym-clearance__sold {
        width:100%;
        min-height:31px;
        padding:0 6px !important;
        font-size:7px !important;
    }
}

@media (max-width:410px) {
    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(1) {
        width:19%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(2) {
        width:31%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(3) {
        width:18%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead th:nth-child(4) {
        width:32%;
    }
}


/* v1.3.13 — Clearance Stock action button text */
body.mym-clearance-stock-layout .mym-clearance__cart,
body.mym-clearance-stock-layout .mym-clearance__cart *,
body.mym-clearance-stock-layout .mym-clearance__whatsapp,
body.mym-clearance-stock-layout .mym-clearance__whatsapp * {
    color:#ffffff !important;
}


/* v1.3.14 — hard override for Clearance Stock action text */
body.mym-clearance-stock-layout .mym-clearance__cart,
body.mym-clearance-stock-layout .mym-clearance__cart:link,
body.mym-clearance-stock-layout .mym-clearance__cart:visited,
body.mym-clearance-stock-layout .mym-clearance__cart:hover,
body.mym-clearance-stock-layout .mym-clearance__cart:focus,
body.mym-clearance-stock-layout .mym-clearance__cart span,
body.mym-clearance-stock-layout .mym-clearance__whatsapp,
body.mym-clearance-stock-layout .mym-clearance__whatsapp:link,
body.mym-clearance-stock-layout .mym-clearance__whatsapp:visited,
body.mym-clearance-stock-layout .mym-clearance__whatsapp:hover,
body.mym-clearance-stock-layout .mym-clearance__whatsapp:focus,
body.mym-clearance-stock-layout .mym-clearance__whatsapp span {
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    text-shadow:none !important;
}


/* =========================================================
   CLEARANCE STOCK MOBILE ROW CARDS — v1.3.15
   Mobile only. Desktop Clearance Stock table remains unchanged.
========================================================= */
@media (max-width:767px) {

    body.mym-clearance-stock-layout .mym-clearance__table-wrap {
        overflow:visible;
        border:0;
        background:transparent;
    }

    body.mym-clearance-stock-layout .mym-clearance__table {
        display:block;
        width:100%;
        table-layout:auto;
        border-collapse:separate;
    }

    body.mym-clearance-stock-layout .mym-clearance__table thead {
        display:none !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__table tbody {
        display:grid;
        gap:10px;
        width:100%;
    }

    body.mym-clearance-stock-layout .mym-clearance__table tbody tr {
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        grid-template-areas:
            "make price"
            "product product"
            "actions actions";
        gap:8px 12px;
        width:100%;
        padding:15px;
        border:1px solid var(--mym-clearance-line);
        border-radius:12px;
        background:#fff;
        box-shadow:0 5px 16px rgba(7,25,47,.045);
    }

    body.mym-clearance-stock-layout .mym-clearance__table tbody tr:nth-child(even) td,
    body.mym-clearance-stock-layout .mym-clearance__table tbody tr:nth-child(odd) td {
        background:transparent !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td {
        display:block;
        width:auto !important;
        min-width:0;
        padding:0 !important;
        border:0 !important;
        background:transparent !important;
        word-break:normal !important;
        overflow-wrap:anywhere;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td:nth-child(1) {
        grid-area:make;
        align-self:center;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td:nth-child(2) {
        grid-area:product;
        padding-top:7px !important;
        border-top:1px solid #edf2f6 !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td:nth-child(3) {
        grid-area:price;
        align-self:center;
        text-align:right !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td:nth-child(4) {
        grid-area:actions;
        padding-top:9px !important;
        border-top:1px solid #edf2f6 !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td:nth-child(1) strong {
        display:inline-flex;
        align-items:center;
        max-width:100%;
        padding:6px 9px;
        border-radius:999px;
        background:#eef6fc;
        color:var(--mym-clearance-navy);
        font-size:10px;
        line-height:1;
        font-weight:950;
        white-space:nowrap;
    }

    body.mym-clearance-stock-layout .mym-clearance__product-name {
        display:block;
        color:#26364a;
        font-size:13px !important;
        line-height:1.35 !important;
        font-weight:850;
        white-space:normal;
    }

    body.mym-clearance-stock-layout .mym-clearance__price {
        font-size:14px !important;
        line-height:1 !important;
        white-space:nowrap;
    }

    body.mym-clearance-stock-layout .mym-clearance__action-buttons {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:8px;
        width:100%;
    }

    body.mym-clearance-stock-layout .mym-clearance__cart,
    body.mym-clearance-stock-layout .mym-clearance__whatsapp,
    body.mym-clearance-stock-layout .mym-clearance__sold {
        width:100%;
        min-height:42px;
        padding:0 9px !important;
        border-radius:8px !important;
        font-size:9px !important;
        line-height:1 !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__count {
        margin-top:9px;
        padding-left:2px;
    }
}

@media (max-width:390px) {

    body.mym-clearance-stock-layout .mym-clearance__table tbody tr {
        padding:13px;
        gap:7px 9px;
    }

    body.mym-clearance-stock-layout .mym-clearance__table td:nth-child(1) strong {
        font-size:9px;
    }

    body.mym-clearance-stock-layout .mym-clearance__product-name {
        font-size:12px !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__price {
        font-size:13px !important;
    }

    body.mym-clearance-stock-layout .mym-clearance__cart,
    body.mym-clearance-stock-layout .mym-clearance__whatsapp,
    body.mym-clearance-stock-layout .mym-clearance__sold {
        min-height:40px;
        font-size:8px !important;
    }
}


/* =========================================================
   CONFIGURABLE LIST-LAYOUT ROOTS — v1.4.0
   The existing mym-clearance class names are retained for
   backwards-compatible styling, but the layout can now be
   assigned to any WooCommerce category from plugin settings.
========================================================= */
body.mym-clearance-stock-layout .mym-clearance__tabs {
    grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
}

@media (max-width:767px) {
    body.mym-clearance-stock-layout .mym-clearance__tabs {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:420px) {
    body.mym-clearance-stock-layout .mym-clearance__tabs a:only-child {
        grid-column:1 / -1;
    }
}
