/*
 * Hellani Modern Shop
 * Front-end styles for product, category, and live-search shortcodes.
 */

:root {
    --miski-primary: #7A3159;
    --miski-primary-dark: #55213D;
    --miski-accent: #DB5075;
    --miski-accent-soft: #F8E7EE;
    --miski-surface: #FFFFFF;
    --miski-background: #FFF8FB;
    --miski-text: #7A3159;
    --miski-muted: #9B7D8C;
    --miski-border: rgba(122, 49, 89, 0.13);
    --miski-radius-xl: 28px;
    --miski-radius-lg: 22px;
    --miski-radius-md: 15px;
    --miski-shadow: 0 22px 55px rgba(122, 49, 89, 0.10);
}

.miski-shop-section,
.miski-shop-section *,
.miski-categories-section,
.miski-categories-section *,
.miski-live-search,
.miski-live-search * {
    box-sizing: border-box;
}

.miski-shop-section button,
.miski-categories-section button,
.miski-live-search button,
.miski-shop-section input,
.miski-live-search input {
    font: inherit;
}

/* --------------------------------------------------
   Modern products section
-------------------------------------------------- */

.miski-shop-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: var(--miski-text);
    background:
        radial-gradient(circle at 96% 2%, rgba(219,80,117,.18), transparent 27%),
        radial-gradient(circle at 2% 100%, rgba(219,80,117, 0.10), transparent 28%),
        var(--miski-background);
    font-family: Poppins, Arial, sans-serif;
}

.miski-shop-section::before,
.miski-shop-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(122,49,89, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.miski-shop-section::before {
    width: 540px;
    height: 540px;
    top: -350px;
    right: -240px;
}

.miski-shop-section::after {
    width: 430px;
    height: 430px;
    bottom: -310px;
    left: -220px;
    border-color: rgba(219,80,117,.14);
}

.miski-shop-inner {
    width: 100%;
    max-width: 1480px;
    min-width: 0;
    margin: 0 auto;
    padding: clamp(36px, 5vw, 76px) clamp(18px, 5vw, 76px);
}

.miski-shop-header {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin: 0 0 34px;
}

.miski-shop-heading {
    max-width: 720px;
    min-width: 0;
}

.miski-shop-kicker {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 14px;
    color: var(--miski-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.3px;
    line-height: 1.4;
    text-transform: uppercase;
}

.miski-shop-kicker i {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--miski-accent);
    box-shadow: 0 0 0 5px rgba(219,80,117,.15), 0 0 17px rgba(219,80,117,.45);
}

.miski-shop-heading h2 {
    margin: 0;
    color: var(--miski-primary);
    font-size: clamp(38px, 4.2vw, 64px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -2.1px;
}

.miski-shop-heading p {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--miski-muted);
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.75;
}

.miski-shop-header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.miski-shop-all-link {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 10px 20px 10px 24px;
    border: 1px solid var(--miski-primary);
    border-radius: 999px;
    background: var(--miski-primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 13px 30px rgba(122,49,89, 0.15);
    transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.miski-shop-all-link:hover {
    background: var(--miski-accent);
    border-color: var(--miski-accent);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(219,80,117,.27);
}

.miski-shop-all-link svg,
.miski-product-cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.miski-shop-nav {
    display: flex;
    align-items: center;
    gap: 9px;
}

.miski-shop-nav button,
.miski-categories-nav button,
.miski-gallery-prev,
.miski-gallery-next {
    appearance: none !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    cursor: pointer;
}

.miski-shop-nav button {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border: 1px solid rgba(122,49,89, 0.14) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: var(--miski-primary) !important;
    box-shadow: 0 10px 24px rgba(122,49,89, 0.08) !important;
    transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease;
}

.miski-shop-nav button:hover:not(:disabled) {
    transform: translateY(-2px);
    background: var(--miski-accent) !important;
    border-color: var(--miski-accent) !important;
    color: #fff !important;
}

.miski-shop-nav button:disabled {
    opacity: .34;
    cursor: not-allowed;
}

.miski-shop-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Toolbar */

.miski-shop-toolbar {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
}

.miski-shop-filters {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
}

.miski-shop-filters::-webkit-scrollbar {
    display: none;
}

.miski-shop-filters button {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 39px !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 9px 15px !important;
    border: 1px solid rgba(122,49,89, 0.11) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: #9B7D8C !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.miski-shop-filters button:hover,
.miski-shop-filters button.is-active {
    color: #fff !important;
    background: var(--miski-primary) !important;
    border-color: var(--miski-primary) !important;
    transform: translateY(-1px);
}

.miski-shop-inline-search {
    width: min(300px, 32vw);
    min-width: 220px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid rgba(122,49,89, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 25px rgba(122,49,89, 0.05);
}

.miski-shop-inline-search svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--miski-accent);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.miski-shop-inline-search input {
    width: 100%;
    min-width: 0;
    height: 42px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--miski-primary) !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

/* Horizontal viewport */

.miski-shop-viewport,
.miski-categories-viewport {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-y;
}

.miski-shop-viewport {
    padding: 9px 2px 17px;
}

.miski-shop-viewport::-webkit-scrollbar,
.miski-categories-viewport::-webkit-scrollbar {
    display: none;
}

.miski-shop-viewport.is-dragging,
.miski-categories-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.miski-shop-track {
    width: max-content;
    min-width: 100%;
    display: flex;
    align-items: stretch;
    gap: clamp(15px, 1.6vw, 23px);
    margin: 0;
    padding: 0;
}

/* Product card */

.miski-product-card {
    position: relative;
    width: clamp(284px, 23vw, 342px);
    min-width: clamp(284px, 23vw, 342px);
    min-height: 510px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--miski-border);
    border-radius: var(--miski-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    scroll-snap-align: start;
    box-shadow: var(--miski-shadow);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, opacity .25s ease;
}

.miski-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(219,80,117,.54);
    box-shadow: 0 28px 62px rgba(122,49,89, 0.15);
}

.miski-product-card[hidden] {
    display: none !important;
}

.miski-product-gallery {
    position: relative;
    width: 100%;
    height: 285px;
    flex: 0 0 285px;
    overflow: hidden;
    background: linear-gradient(145deg, #FFF8FB, #F8E7EE);
}

.miski-product-image-link {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
}

.miski-product-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition: opacity .42s ease, visibility .42s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.miski-product-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.miski-product-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.miski-product-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 60%, rgba(8, 29, 45, .12));
    pointer-events: none;
}

.miski-product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 4;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(122,49,89, .80);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.miski-product-badge.is-sale,
.miski-product-badge.is-featured {
    background: rgba(219,80,117,.91);
}

.miski-product-badge.is-stock {
    background: rgba(126, 43, 43, .82);
}

.miski-gallery-prev,
.miski-gallery-next {
    position: absolute !important;
    top: 50%;
    z-index: 5;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(10, 34, 54, .52) !important;
    color: #fff !important;
    opacity: 0;
    transform: translateY(-50%) scale(.9);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.miski-gallery-prev { left: 12px; }
.miski-gallery-next { right: 12px; }

.miski-product-card:hover .miski-gallery-prev,
.miski-product-card:hover .miski-gallery-next,
.miski-product-card:focus-within .miski-gallery-prev,
.miski-product-card:focus-within .miski-gallery-next {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.miski-gallery-prev:hover,
.miski-gallery-next:hover {
    background: var(--miski-accent) !important;
}

.miski-gallery-prev svg,
.miski-gallery-next svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.miski-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
}

.miski-gallery-dots i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.65);
    box-shadow: 0 1px 5px rgba(0,0,0,.16);
    transition: width .25s ease, background .25s ease;
}

.miski-gallery-dots i.is-active {
    width: 20px;
    background: var(--miski-accent);
}

.miski-product-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 23px;
}

.miski-product-category {
    margin: 0 0 8px;
    color: var(--miski-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.35px;
    line-height: 1.4;
    text-transform: uppercase;
}

.miski-product-content h3 {
    margin: 0;
    color: var(--miski-primary);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.45px;
    line-height: 1.3;
}

.miski-product-content h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.miski-product-content > p {
    margin: 11px 0 0;
    color: var(--miski-muted);
    font-size: 13px;
    line-height: 1.62;
}

.miski-product-meta {
    margin: auto 0 0;
    padding: 22px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.miski-product-price {
    color: var(--miski-primary);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}

.miski-product-price del {
    margin-right: 5px;
    color: #9B7D8C;
    font-size: 12px;
    opacity: 1;
}

.miski-product-price ins {
    color: var(--miski-accent);
    text-decoration: none;
}

.miski-product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9B7D8C;
    font-size: 10px;
    white-space: nowrap;
}

.miski-product-stock i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #DB5075;
    box-shadow: 0 0 0 4px rgba(45,185,120,.11);
}

.miski-product-stock.is-out-of-stock i {
    background: #ce5f5f;
    box-shadow: 0 0 0 4px rgba(206,95,95,.10);
}

.miski-product-cta {
    width: 100%;
    min-height: 46px;
    margin: 18px 0 0 !important;
    padding: 10px 13px 10px 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    border: 1px solid var(--miski-primary) !important;
    border-radius: 999px !important;
    background: var(--miski-primary) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.miski-product-cta:hover {
    background: var(--miski-accent) !important;
    border-color: var(--miski-accent) !important;
    transform: translateY(-2px);
}

.miski-product-cta.loading {
    opacity: .65;
    pointer-events: none;
}

/* Footer */

.miski-shop-footer {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(100px, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin: 6px 0 0;
}

.miski-shop-drag-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9B7D8C;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.miski-shop-drag-hint svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--miski-accent);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.miski-shop-progress {
    position: relative;
    width: 100%;
    height: 3px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(122,49,89,.11);
}

.miski-shop-progress i {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--miski-accent), var(--miski-accent-soft));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .12s linear;
}

.miski-shop-counter {
    min-width: 67px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #9B7D8C;
    font-size: 11px;
    letter-spacing: .7px;
}

.miski-shop-counter b {
    color: var(--miski-primary);
    font-weight: 600;
}

.miski-shop-counter em {
    color: var(--miski-accent);
    font-style: normal;
}

.miski-shop-empty {
    width: 100%;
    padding: 32px;
    border: 1px dashed rgba(122,49,89,.18);
    border-radius: var(--miski-radius-lg);
    background: rgba(255,255,255,.58);
    color: var(--miski-muted);
    text-align: center;
}

/* --------------------------------------------------
   Categories slider
-------------------------------------------------- */

.miski-categories-section {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: clamp(34px, 5vw, 72px) clamp(18px, 5vw, 72px);
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 15%, rgba(47, 106, 148, .55), transparent 34%),
        linear-gradient(135deg, #55213D, #55213D);
    color: #fff;
    font-family: Poppins, Arial, sans-serif;
}

.miski-categories-header {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.miski-categories-header > div:first-child {
    max-width: 700px;
}

.miski-categories-header > div:first-child > span {
    display: block;
    margin: 0 0 10px;
    color: #DB5075;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.miski-categories-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3.8vw, 56px);
    font-weight: 600;
    letter-spacing: -1.8px;
    line-height: 1.07;
}

.miski-categories-header p {
    margin: 14px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.7;
}

.miski-categories-nav {
    display: flex;
    gap: 9px;
}

.miski-categories-nav button {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.miski-categories-nav button:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #DB5075 !important;
    border-color: #DB5075 !important;
}

.miski-categories-viewport {
    max-width: 1360px;
    margin: 0 auto;
    padding: 7px 2px 12px;
}

.miski-categories-track {
    width: max-content;
    min-width: 100%;
    display: flex;
    align-items: stretch;
    gap: 17px;
}

.miski-category-card {
    position: relative;
    width: clamp(230px, 19vw, 300px);
    min-width: clamp(230px, 19vw, 300px);
    height: 360px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: #55213D;
    color: #fff !important;
    text-decoration: none !important;
    scroll-snap-align: start;
    box-shadow: 0 20px 45px rgba(0,0,0,.22);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.miski-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(219,80,117,.78);
    box-shadow: 0 28px 55px rgba(0,0,0,.3);
}

.miski-category-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.miski-category-card:hover > img {
    transform: scale(1.075);
}

.miski-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,20,31,.02), rgba(5,20,31,.18) 45%, rgba(5,20,31,.92));
}

.miski-category-copy {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.miski-category-copy strong {
    color: #fff;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
}

.miski-category-copy small {
    color: rgba(255,255,255,.62);
    font-size: 11px;
}

.miski-category-arrow {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(7,27,42,.42);
    color: #fff;
    opacity: 0;
    transform: translateX(-6px);
    backdrop-filter: blur(8px);
    transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.miski-category-card:hover .miski-category-arrow {
    opacity: 1;
    transform: translateX(0);
    background: #DB5075;
}

/* --------------------------------------------------
   Live search shortcode
-------------------------------------------------- */

.miski-live-search {
    position: relative;
    width: 100%;
    max-width: 760px;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-family: Poppins, Arial, sans-serif;
}

.miski-search-form {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
    padding: 7px 8px 7px 18px;
    border: 1px solid rgba(122,49,89,.11);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(122,49,89,.09);
}

.miski-search-form > svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: none;
    stroke: #DB5075;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.miski-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #7A3159 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.miski-search-form button {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #7A3159 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.miski-search-form button:hover {
    background: #DB5075 !important;
    transform: translateY(-1px);
}

.miski-live-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 999;
    max-height: 430px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(122,49,89,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 60px rgba(122,49,89,.18);
    backdrop-filter: blur(12px);
}

.miski-live-result {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 9px;
    border-radius: 13px;
    color: #7A3159 !important;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.miski-live-result:hover {
    background: #FFF8FB;
    transform: translateX(2px);
}

.miski-live-result-image {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 11px;
    background: #F8E7EE;
}

.miski-live-result-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.miski-live-result-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.miski-live-result-name {
    overflow: hidden;
    color: #7A3159;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.miski-live-result-price {
    color: #DB5075;
    font-size: 12px;
}

.miski-live-result-arrow {
    color: #DB5075;
    font-size: 17px;
}

.miski-live-empty {
    padding: 22px;
    color: #9B7D8C;
    font-size: 13px;
    text-align: center;
}

/* --------------------------------------------------
   Native WooCommerce loop enhancement
-------------------------------------------------- */

.woocommerce ul.products li.product {
    position: relative;
    overflow: hidden;
    padding: 15px;
    border: 1px solid rgba(122,49,89,.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(122,49,89,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(122,49,89,.14);
}

.woocommerce ul.products li.product img {
    border-radius: 14px;
}

.miski-native-sale {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 4;
    padding: 7px 12px;
    border-radius: 999px;
    background: #DB5075;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
}

/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 1100px) {
    .miski-shop-header {
        align-items: flex-start;
    }

    .miski-shop-header-actions {
        flex-direction: column;
        align-items: flex-end;
    }

    .miski-product-card {
        width: clamp(276px, 38vw, 330px);
        min-width: clamp(276px, 38vw, 330px);
    }
}

@media (max-width: 820px) {
    .miski-shop-header {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .miski-shop-header-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .miski-shop-toolbar {
        align-items: stretch;
        flex-direction: column-reverse;
        gap: 13px;
    }

    .miski-shop-inline-search {
        width: 100%;
        min-width: 0;
    }

    .miski-categories-header {
        align-items: center;
    }
}

@media (max-width: 767px) {
    .miski-shop-inner {
        padding: 34px 20px;
    }

    .miski-shop-heading h2 {
        font-size: clamp(36px, 10vw, 49px);
        letter-spacing: -1.4px;
    }

    .miski-shop-heading p {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.65;
    }

    .miski-shop-all-link {
        min-height: 48px;
        padding-left: 19px;
        font-size: 12px;
    }

    .miski-shop-nav button {
        width: 43px !important;
        height: 43px !important;
        min-width: 43px !important;
        min-height: 43px !important;
    }

    .miski-product-card {
        width: min(82vw, 320px);
        min-width: min(82vw, 320px);
        min-height: 490px;
    }

    .miski-product-gallery {
        height: 265px;
        flex-basis: 265px;
    }

    .miski-gallery-prev,
    .miski-gallery-next {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    .miski-shop-footer {
        grid-template-columns: auto minmax(50px, 1fr) auto;
        gap: 12px;
    }

    .miski-shop-drag-hint {
        font-size: 0;
    }

    .miski-shop-drag-hint svg {
        width: 20px;
        height: 20px;
    }

    .miski-categories-section {
        padding: 34px 20px;
    }

    .miski-categories-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .miski-categories-nav {
        align-self: flex-end;
        margin-top: -62px;
    }

    .miski-category-card {
        width: min(78vw, 300px);
        min-width: min(78vw, 300px);
        height: 350px;
    }
}

@media (max-width: 480px) {
    .miski-shop-inner {
        padding: 30px 16px;
    }

    .miski-shop-kicker {
        font-size: 10px;
        letter-spacing: 1.7px;
    }

    .miski-shop-heading h2 {
        font-size: 36px;
    }

    .miski-shop-header-actions {
        gap: 10px;
    }

    .miski-shop-all-link span {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .miski-shop-nav {
        gap: 6px;
    }

    .miski-shop-nav button {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .miski-shop-track {
        gap: 13px;
    }

    .miski-product-card {
        width: calc(100vw - 52px);
        min-width: calc(100vw - 52px);
        max-width: 318px;
    }

    .miski-product-content {
        padding: 20px;
    }

    .miski-product-content h3 {
        font-size: 19px;
    }

    .miski-product-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .miski-categories-section {
        padding: 30px 16px;
    }

    .miski-categories-header h2 {
        font-size: 34px;
    }

    .miski-category-card {
        width: calc(100vw - 50px);
        min-width: calc(100vw - 50px);
        max-width: 300px;
    }

    .miski-search-form {
        min-height: 54px;
        padding-left: 15px;
    }

    .miski-search-form button {
        min-height: 40px !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .miski-shop-section *,
    .miski-categories-section *,
    .miski-live-search * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==================================================
   Version 1.1: load-more, cart feedback and mobile
   two-card layout
================================================== */

.miski-shop-section,
.miski-categories-section {
    align-self: stretch;
}

.miski-shop-viewport,
.miski-categories-viewport {
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

/* Show more button */

.miski-shop-load-more-wrap {
    width: 100%;
    margin: 26px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.miski-shop-load-more-wrap[hidden] {
    display: none !important;
}

.miski-shop-section button.miski-shop-load-more {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 11px 18px 11px 23px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    border: 1px solid rgba(122,49,89, .16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .88) !important;
    color: var(--miski-primary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    cursor: pointer;
    box-shadow: 0 13px 30px rgba(122,49,89, .09) !important;
    transition: transform .3s ease, background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}

.miski-shop-section button.miski-shop-load-more:hover {
    transform: translateY(-2px);
    border-color: var(--miski-accent) !important;
    background: var(--miski-accent) !important;
    color: #fff !important;
    box-shadow: 0 16px 35px rgba(219,80,117,.25) !important;
}

.miski-shop-load-more svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* WooCommerce AJAX add-to-cart feedback */

.miski-product-cta.is-added,
.miski-product-cta.added {
    border-color: #B83E64 !important;
    background: #B83E64 !important;
}

.miski-product-card .added_to_cart.wc-forward {
    width: 100%;
    min-height: 42px;
    margin: 9px 0 0;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(122,49,89, .13);
    border-radius: 999px;
    background: rgba(122,49,89, .06);
    color: var(--miski-primary) !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
}

.miski-product-card .added_to_cart.wc-forward:hover {
    border-color: var(--miski-accent);
    color: var(--miski-accent) !important;
}

/* Two visible product/category cards on phones */

@media (max-width: 767px) {
    .miski-shop-track,
    .miski-categories-track {
        width: 100%;
        min-width: 100%;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 10px) / 2);
        align-items: stretch;
        gap: 10px;
    }

    .miski-product-card {
        width: 100%;
        min-width: 0;
        min-height: 385px;
        border-radius: 16px;
    }

    .miski-product-gallery {
        height: 170px;
        flex-basis: 170px;
    }

    .miski-product-badge {
        top: 9px;
        left: 9px;
        min-height: 24px;
        max-width: calc(100% - 18px);
        padding: 5px 8px;
        overflow: hidden;
        font-size: 7px;
        letter-spacing: .7px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .miski-gallery-prev,
    .miski-gallery-next {
        width: 29px !important;
        height: 29px !important;
        min-width: 29px !important;
        min-height: 29px !important;
    }

    .miski-gallery-prev {
        left: 6px;
    }

    .miski-gallery-next {
        right: 6px;
    }

    .miski-gallery-prev svg,
    .miski-gallery-next svg {
        width: 14px;
        height: 14px;
    }

    .miski-gallery-dots {
        bottom: 8px;
        gap: 4px;
    }

    .miski-gallery-dots i {
        width: 5px;
        height: 5px;
    }

    .miski-gallery-dots i.is-active {
        width: 14px;
    }

    .miski-product-content {
        padding: 13px;
    }

    .miski-product-category {
        margin-bottom: 5px;
        font-size: 8px;
        letter-spacing: .8px;
    }

    .miski-product-content h3 {
        font-size: 14px;
        letter-spacing: -.2px;
        line-height: 1.28;
    }

    .miski-product-content > p {
        display: none;
    }

    .miski-product-meta {
        padding-top: 13px;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .miski-product-price {
        font-size: 14px;
    }

    .miski-product-price del {
        font-size: 10px;
    }

    .miski-product-stock {
        font-size: 8px;
    }

    .miski-product-stock i {
        width: 5px;
        height: 5px;
    }

    .miski-product-cta {
        min-height: 38px;
        margin-top: 11px !important;
        padding: 8px 10px 8px 12px !important;
        gap: 6px;
        font-size: 9px !important;
    }

    .miski-product-cta svg {
        width: 14px;
        height: 14px;
    }

    .miski-product-card .added_to_cart.wc-forward {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 9px;
    }

    .miski-category-card {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: 245px;
        border-radius: 16px;
    }

    .miski-category-copy {
        right: 12px;
        bottom: 13px;
        left: 12px;
    }

    .miski-category-copy strong {
        font-size: 14px;
    }

    .miski-category-copy small {
        font-size: 9px;
    }

    .miski-category-arrow {
        top: 10px;
        right: 10px;
        width: 31px;
        height: 31px;
    }

    .miski-shop-load-more-wrap {
        margin-top: 20px;
    }

    .miski-shop-section button.miski-shop-load-more {
        min-height: 46px !important;
        padding: 10px 16px 10px 20px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .miski-shop-track,
    .miski-categories-track {
        grid-auto-columns: calc((100% - 8px) / 2);
        gap: 8px;
    }

    .miski-product-card {
        min-height: 352px;
        border-radius: 14px;
    }

    .miski-product-gallery {
        height: 150px;
        flex-basis: 150px;
    }

    .miski-product-content {
        padding: 11px;
    }

    .miski-product-content h3 {
        font-size: 13px;
    }

    .miski-product-stock {
        display: none;
    }

    .miski-product-meta {
        margin-top: auto;
        padding-top: 10px;
    }

    .miski-product-cta span {
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .miski-category-card {
        height: 220px;
    }
}

/* ==================================================
   Version 1.2: vertical product loading, reliable cart,
   wrapped filters and aligned two-row categories
================================================== */

/* Product navigation arrows are no longer needed because products use a grid. */
.miski-shop-nav {
    display: none !important;
}

/* Category filter chips use as many clean lines as needed. */
.miski-shop-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
}

.miski-shop-filters {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    overflow: visible;
    row-gap: 9px;
    padding: 2px 0;
}

.miski-shop-inline-search {
    flex: 0 1 320px;
    width: min(320px, 100%);
    min-width: 220px;
    margin-left: auto;
}

/* Products now flow down in responsive rows instead of loading sideways. */
.miski-shop-viewport {
    overflow: visible;
    padding: 8px 0 4px;
    cursor: default;
    scroll-behavior: auto;
    scroll-snap-type: none;
    touch-action: auto;
}

.miski-shop-viewport.is-dragging {
    cursor: default;
    user-select: auto;
}

.miski-shop-track {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    align-items: stretch;
    gap: clamp(16px, 1.7vw, 24px);
}

.miski-product-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    scroll-snap-align: none;
}

.miski-product-card.is-newly-revealed {
    animation: miskiProductReveal .45s ease both;
}

@keyframes miskiProductReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Keep cart feedback visible and modern. */
.miski-product-cta.has-error {
    border-color: #b84f4f !important;
    background: #b84f4f !important;
}

.miski-view-cart-link.added_to_cart.wc-forward {
    width: 100%;
    min-height: 42px;
    margin: 9px 0 0;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(122,49,89, .13);
    border-radius: 999px;
    background: rgba(122,49,89, .06);
    color: var(--miski-primary) !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
}

.miski-view-cart-link.added_to_cart.wc-forward:hover {
    border-color: var(--miski-accent);
    color: var(--miski-accent) !important;
}

/* Categories stay draggable but are arranged in two aligned rows. */
.miski-categories-viewport {
    padding: 7px 2px 14px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

.miski-categories-track {
    width: max-content;
    min-width: 100%;
    display: grid;
    grid-template-rows: repeat(2, 250px);
    grid-auto-flow: column;
    grid-auto-columns: clamp(225px, 18vw, 285px);
    align-items: stretch;
    gap: 16px;
}

.miski-category-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 100%;
    scroll-snap-align: start;
}

.miski-category-copy {
    min-height: 56px;
    justify-content: flex-end;
}

/* Large tablet */
@media (max-width: 1180px) {
    .miski-shop-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .miski-categories-track {
        grid-template-rows: repeat(2, 235px);
        grid-auto-columns: min(31vw, 275px);
    }
}

/* Tablet */
@media (max-width: 900px) {
    .miski-shop-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .miski-product-card {
        min-height: 455px;
    }

    .miski-product-gallery {
        height: 235px;
        flex-basis: 235px;
    }

    .miski-categories-track {
        grid-template-rows: repeat(2, 220px);
        grid-auto-columns: min(38vw, 260px);
        gap: 13px;
    }
}

/* Mobile: always two product cards per row. */
@media (max-width: 767px) {
    .miski-shop-toolbar {
        gap: 13px;
    }

    .miski-shop-filters {
        gap: 7px;
        row-gap: 8px;
    }

    .miski-shop-filters button {
        min-height: 35px !important;
        padding: 8px 12px !important;
        font-size: 10px !important;
    }

    .miski-shop-inline-search {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .miski-shop-track {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 10px;
    }

    .miski-product-card {
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 385px;
    }

    .miski-product-gallery {
        height: 170px;
        flex-basis: 170px;
    }

    .miski-categories-track {
        width: max-content;
        min-width: 100%;
        grid-template-rows: repeat(2, 190px);
        grid-auto-columns: min(58vw, 230px);
        gap: 10px;
    }

    .miski-category-card {
        width: 100%;
        min-width: 0;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .miski-shop-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .miski-product-card {
        min-height: 352px;
    }

    .miski-product-gallery {
        height: 150px;
        flex-basis: 150px;
    }

    .miski-categories-track {
        grid-template-rows: repeat(2, 175px);
        grid-auto-columns: min(64vw, 215px);
        gap: 8px;
    }

    .miski-category-copy {
        min-height: 48px;
    }
}


/* ==================================================
   Version 1.3: single cart link, quantity controls,
   aligned categories and collision-free mobile cards
================================================== */

/* Category filters use equal columns and wrap into clean additional lines. */
.miski-shop-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
}

.miski-shop-filters {
    width: 100%;
    max-width: none;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 0;
}

.miski-shop-filters button {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 42px !important;
    padding: 9px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.25 !important;
}

.miski-shop-inline-search {
    width: min(360px, 100%);
    min-width: 0;
    margin-left: auto;
}

/* Make every product row calculate its natural height. */
.miski-shop-track {
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
    column-gap: clamp(14px, 1.7vw, 24px);
    row-gap: clamp(22px, 2.2vw, 32px);
    padding: 0 1px 4px;
}

.miski-product-card {
    position: relative;
    z-index: 0;
    height: auto !important;
    min-height: 0;
    align-self: stretch;
}

.miski-product-content {
    min-width: 0;
    min-height: 0;
    height: auto;
}

.miski-product-content h3,
.miski-product-content > p {
    unicode-bidi: plaintext;
}

.miski-product-content h3 {
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Quantity selector for simple products. */
.miski-quantity-row {
    width: 100%;
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.miski-quantity-label {
    color: var(--miski-muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.miski-quantity-control {
    min-height: 36px;
    display: inline-grid;
    grid-template-columns: 34px minmax(38px, 48px) 34px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(122,49,89, .13);
    border-radius: 999px;
    background: rgba(122,49,89, .045);
}

.miski-shop-section button.miski-quantity-minus,
.miski-shop-section button.miski-quantity-plus {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--miski-primary) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.miski-shop-section button.miski-quantity-minus:hover,
.miski-shop-section button.miski-quantity-plus:hover {
    background: var(--miski-primary) !important;
    color: #fff !important;
}

.miski-quantity-input {
    width: 100% !important;
    height: 34px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-right: 1px solid rgba(122,49,89, .09) !important;
    border-left: 1px solid rgba(122,49,89, .09) !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--miski-primary) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}

.miski-quantity-input::-webkit-outer-spin-button,
.miski-quantity-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

/* WooCommerce adds one native View cart link after a successful click. */
.miski-product-card .added_to_cart.wc-forward {
    width: 100%;
    min-height: 42px;
    margin: 9px 0 0 !important;
    padding: 10px 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(122,49,89, .13) !important;
    border-radius: 999px !important;
    background: rgba(122,49,89, .06) !important;
    color: var(--miski-primary) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.miski-product-card .added_to_cart.wc-forward ~ .added_to_cart.wc-forward {
    display: none !important;
}

.miski-product-card .added_to_cart.wc-forward:hover {
    border-color: var(--miski-accent) !important;
    background: var(--miski-accent) !important;
    color: #fff !important;
}

/* More breathing space around the standalone category slider. */
.miski-categories-viewport {
    padding: 8px 4px 20px;
}

.miski-categories-track {
    row-gap: 14px;
    column-gap: 14px;
}

@media (max-width: 1180px) {
    .miski-shop-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .miski-shop-inner {
        padding: 32px 14px 38px;
    }

    .miski-shop-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .miski-shop-filters button {
        min-height: 39px !important;
        padding: 8px 7px !important;
        font-size: 9px !important;
    }

    .miski-shop-inline-search {
        width: 100%;
        max-width: none;
    }

    .miski-shop-track {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        grid-auto-rows: auto !important;
        column-gap: 10px !important;
        row-gap: 22px !important;
        align-items: stretch !important;
        padding: 0 1px 5px;
    }

    .miski-product-card {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden;
        transform: none;
    }

    .miski-product-card:hover {
        transform: none;
    }

    .miski-product-gallery {
        width: 100%;
        height: auto !important;
        flex: 0 0 auto !important;
        aspect-ratio: 1 / 1;
    }

    .miski-product-content {
        min-height: 230px;
        padding: 12px;
    }

    .miski-product-content h3 {
        min-height: 2.8em;
        font-size: 13px;
        line-height: 1.4;
    }

    .miski-product-meta {
        margin-top: auto;
        padding-top: 13px;
        gap: 7px;
    }

    .miski-product-price {
        font-size: 13px;
    }

    .miski-quantity-row {
        margin-top: 10px;
        gap: 6px;
    }

    .miski-quantity-label {
        display: none;
    }

    .miski-quantity-control {
        width: 100%;
        grid-template-columns: 30px minmax(32px, 1fr) 30px;
        min-height: 32px;
    }

    .miski-shop-section button.miski-quantity-minus,
    .miski-shop-section button.miski-quantity-plus {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        font-size: 16px !important;
    }

    .miski-quantity-input {
        height: 30px !important;
        font-size: 11px !important;
    }

    .miski-product-cta {
        flex: 0 0 auto;
        min-height: 37px !important;
        margin-top: 10px !important;
        padding: 8px 9px 8px 10px !important;
        font-size: 8px !important;
    }

    .miski-product-card .added_to_cart.wc-forward {
        min-height: 35px;
        margin-top: 7px !important;
        padding: 8px 8px !important;
        font-size: 8px !important;
    }

    .miski-shop-load-more-wrap {
        margin-top: 24px;
        padding-bottom: 2px;
    }

    .miski-categories-track {
        row-gap: 10px;
        column-gap: 10px;
    }
}

@media (max-width: 480px) {
    .miski-shop-inner {
        padding-right: 10px;
        padding-left: 10px;
    }

    .miski-shop-track {
        column-gap: 8px !important;
        row-gap: 18px !important;
    }

    .miski-product-content {
        min-height: 218px;
        padding: 10px;
    }

    .miski-product-category {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .miski-product-content h3 {
        font-size: 12px;
    }

    .miski-product-price {
        font-size: 12px;
    }

    .miski-product-cta span {
        max-width: 80px;
    }
}

@media (hover: none) {
    .miski-product-card:hover {
        transform: none !important;
        box-shadow: var(--miski-shadow);
    }
}

/* ==================================================
   Version 1.4: compact mobile marketplace layout
   Three complete product cards per row on mobile
================================================== */

.miski-product-cta svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 767px) {
    .miski-shop-section {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 0 !important;
    }

    .miski-shop-inner {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 20px 8px 30px !important;
        gap: 18px !important;
    }

    .miski-shop-header {
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .miski-shop-heading h2 {
        font-size: clamp(27px, 8vw, 38px) !important;
        line-height: 1.08 !important;
        letter-spacing: -1px !important;
    }

    .miski-shop-heading p {
        margin-top: 10px !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    .miski-shop-all-link {
        min-height: 42px !important;
        padding: 7px 7px 7px 15px !important;
        font-size: 10px !important;
    }

    .miski-shop-toolbar {
        gap: 10px !important;
    }

    .miski-shop-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .miski-shop-filters button {
        min-height: 32px !important;
        padding: 6px 4px !important;
        border-radius: 9px !important;
        font-size: 7.5px !important;
        line-height: 1.2 !important;
        letter-spacing: .1px !important;
    }

    .miski-shop-inline-search {
        min-height: 40px !important;
        border-radius: 11px !important;
    }

    .miski-shop-inline-search input {
        min-width: 0 !important;
        font-size: 11px !important;
    }

    .miski-shop-viewport {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .miski-shop-track {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        grid-auto-rows: auto !important;
        align-items: stretch !important;
        column-gap: 7px !important;
        row-gap: 12px !important;
    }

    .miski-product-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        align-self: stretch !important;
        overflow: hidden !important;
        border-radius: 11px !important;
        box-shadow: 0 6px 17px rgba(122,49,89, .09) !important;
        transform: none !important;
    }

    .miski-product-card:hover {
        transform: none !important;
        box-shadow: 0 6px 17px rgba(122,49,89, .09) !important;
    }

    .miski-product-gallery {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex: 0 0 auto !important;
        aspect-ratio: 1 / 1.08 !important;
        background: #FFFFFF !important;
    }

    .miski-product-slide img {
        object-fit: contain !important;
        padding: 2px !important;
    }

    .miski-product-gallery::after {
        background: linear-gradient(180deg, transparent 78%, rgba(8, 29, 45, .04)) !important;
    }

    .miski-product-badge {
        top: 5px !important;
        left: 5px !important;
        min-height: 18px !important;
        max-width: calc(100% - 10px) !important;
        padding: 4px 6px !important;
        overflow: hidden !important;
        border-radius: 7px !important;
        font-size: 5.5px !important;
        letter-spacing: .35px !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .miski-gallery-prev,
    .miski-gallery-next,
    .miski-gallery-dots {
        display: none !important;
    }

    .miski-product-content {
        position: relative !important;
        min-width: 0 !important;
        min-height: 118px !important;
        height: auto !important;
        padding: 8px 7px 8px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .miski-product-category {
        max-width: 100% !important;
        margin: 0 0 4px !important;
        overflow: hidden !important;
        color: var(--miski-primary) !important;
        font-size: 5.8px !important;
        font-weight: 600 !important;
        letter-spacing: .55px !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .miski-product-content h3 {
        min-height: 2.5em !important;
        max-height: 2.5em !important;
        margin: 0 !important;
        display: -webkit-box !important;
        overflow: hidden !important;
        font-size: 9.5px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        letter-spacing: -.1px !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .miski-product-content > p {
        display: none !important;
    }

    .miski-product-meta {
        min-width: 0 !important;
        margin: auto 0 0 !important;
        padding: 8px 34px 0 0 !important;
        display: block !important;
    }

    .miski-product-price {
        max-width: 100% !important;
        display: block !important;
        overflow: hidden !important;
        color: #b3202c !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .miski-product-price del {
        display: none !important;
    }

    .miski-product-price ins {
        color: inherit !important;
    }

    .miski-product-stock,
    .miski-quantity-row {
        display: none !important;
    }

    .miski-product-cta {
        position: absolute !important;
        right: 7px !important;
        bottom: 7px !important;
        z-index: 3 !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        font-size: 0 !important;
        box-shadow: 0 5px 12px rgba(122,49,89, .16) !important;
    }

    .miski-product-cta span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .miski-product-cta svg {
        width: 14px !important;
        height: 14px !important;
        flex: 0 0 14px !important;
    }

    .miski-product-cta.loading {
        opacity: .55 !important;
    }

    .miski-product-cta.is-added,
    .miski-product-cta.added {
        background: #DB5075 !important;
        border-color: #DB5075 !important;
    }

    .miski-product-card .added_to_cart.wc-forward,
    .miski-view-cart-link.added_to_cart.wc-forward {
        display: none !important;
    }

    .miski-shop-load-more-wrap {
        margin-top: 18px !important;
        padding: 0 0 2px !important;
    }

    .miski-shop-load-more {
        min-height: 44px !important;
        padding: 10px 17px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 360px) {
    .miski-shop-inner {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .miski-shop-track {
        column-gap: 5px !important;
        row-gap: 9px !important;
    }

    .miski-product-content {
        min-height: 112px !important;
        padding: 7px 5px !important;
    }

    .miski-product-content h3 {
        font-size: 8.5px !important;
    }

    .miski-product-price {
        font-size: 9px !important;
    }

    .miski-product-cta {
        right: 5px !important;
        bottom: 5px !important;
        width: 25px !important;
        height: 25px !important;
        min-width: 25px !important;
        min-height: 25px !important;
    }
}

/* ==================================================
   Version 1.5: reliable quantity controls
================================================== */
.miski-quantity-row,
.miski-quantity-control,
.miski-shop-section button.miski-quantity-minus,
.miski-shop-section button.miski-quantity-plus,
.miski-quantity-input {
    position: relative;
    z-index: 6;
    pointer-events: auto !important;
}

.miski-shop-section button.miski-quantity-minus:disabled,
.miski-shop-section button.miski-quantity-plus:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* ==================================================
   Version 1.6: quantity and cart feedback
================================================== */
.miski-cart-feedback {
    width: 100%;
    margin: 7px 0 0;
    display: block;
    color: #DB5075;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.miski-cart-feedback.is-error {
    color: #c74332;
}

.miski-cart-feedback[hidden] {
    display: none !important;
}

.miski-shop-section button.miski-quantity-minus:not(:disabled),
.miski-shop-section button.miski-quantity-plus:not(:disabled) {
    opacity: 1 !important;
    touch-action: manipulation;
}

.miski-quantity-input {
    touch-action: manipulation;
}

@media (max-width: 600px) {
    .miski-cart-feedback {
        display: none !important;
    }
}

/* ==================================================
   Version 1.7: scalable server-side product loading
================================================== */
.miski-shop-section.is-loading-products .miski-shop-track {
    opacity: .72;
    transition: opacity .2s ease;
}

.miski-shop-section button.miski-shop-load-more.loading {
    opacity: .65;
    cursor: wait !important;
}

/* ==================================================
   Version 1.8.0: Professional responsive mobile UI
   - Larger readable mobile typography
   - 3 columns on large phones / 2 columns on normal phones
   - Clear-search controls
   - More polished toolbar, cards and touch targets
================================================== */

.miski-shop-inline-search,
.miski-search-form {
    position: relative;
}

.miski-shop-inline-search input[type="search"]::-webkit-search-cancel-button,
.miski-search-form input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.miski-search-clear {
    appearance: none !important;
    -webkit-appearance: none !important;
    flex: 0 0 auto;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(122,49,89, .07) !important;
    color: var(--miski-primary) !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.miski-search-clear[hidden] {
    display: none !important;
}

.miski-search-clear:hover,
.miski-search-clear:focus-visible {
    background: var(--miski-primary) !important;
    color: #fff !important;
    transform: scale(1.04);
}

.miski-search-clear:focus-visible {
    outline: 3px solid rgba(219,80,117,.28) !important;
    outline-offset: 2px;
}

.miski-search-clear svg {
    width: 15px !important;
    height: 15px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round;
    pointer-events: none;
}

.miski-shop-inline-search {
    padding-right: 7px !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.miski-shop-inline-search:focus-within {
    border-color: rgba(219,80,117,.65) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(219,80,117,.10), 0 12px 28px rgba(122,49,89,.07) !important;
}

.miski-shop-inline-search .miski-search-icon {
    flex: 0 0 auto;
}

.miski-live-search .miski-live-search-clear {
    position: absolute !important;
    right: 116px;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
}

.miski-live-search .miski-live-search-clear:hover,
.miski-live-search .miski-live-search-clear:focus-visible {
    transform: translateY(-50%) scale(1.04);
}

.miski-product-card,
.miski-category-card,
.miski-shop-inline-search,
.miski-shop-filters button,
.miski-shop-load-more {
    -webkit-tap-highlight-color: transparent;
}

.miski-product-card:focus-within {
    outline: 3px solid rgba(219,80,117,.18);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .miski-shop-inner {
        padding: 26px 12px 38px !important;
    }

    .miski-shop-header {
        margin-bottom: 22px !important;
    }

    .miski-shop-kicker {
        margin-bottom: 10px !important;
        font-size: 11px !important;
        letter-spacing: 1.6px !important;
    }

    .miski-shop-heading h2 {
        font-size: clamp(30px, 8vw, 40px) !important;
        line-height: 1.08 !important;
        letter-spacing: -1.2px !important;
    }

    .miski-shop-heading p {
        margin-top: 11px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .miski-shop-all-link {
        min-height: 46px !important;
        padding: 10px 16px !important;
        font-size: 12px !important;
    }

    .miski-shop-toolbar {
        margin-bottom: 18px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .miski-shop-filters {
        width: 100% !important;
        display: flex !important;
        grid-template-columns: none !important;
        gap: 8px !important;
        padding: 2px 1px 5px !important;
        overflow-x: auto !important;
        scroll-snap-type: x proximity;
    }

    .miski-shop-filters button {
        min-height: 39px !important;
        padding: 9px 14px !important;
        border-radius: 999px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        scroll-snap-align: start;
    }

    .miski-shop-inline-search {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        padding: 0 7px 0 14px !important;
        gap: 9px !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(122,49,89,.06) !important;
    }

    .miski-shop-inline-search input {
        width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .miski-shop-inline-search .miski-search-icon {
        width: 19px !important;
        height: 19px !important;
    }

    .miski-search-clear {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .miski-shop-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 10px !important;
        row-gap: 16px !important;
    }

    .miski-product-card {
        border: 1px solid rgba(122,49,89,.08) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(122,49,89,.09) !important;
    }

    .miski-product-gallery {
        aspect-ratio: 1 / 1 !important;
        border-radius: 13px 13px 0 0 !important;
        background: #FFF8FB !important;
    }

    .miski-product-slide img {
        padding: 4px !important;
        object-fit: contain !important;
    }

    .miski-product-badge {
        top: 7px !important;
        left: 7px !important;
        min-height: 20px !important;
        padding: 4px 7px !important;
        border-radius: 7px !important;
        font-size: 7px !important;
        font-weight: 700 !important;
        letter-spacing: .35px !important;
    }

    .miski-product-content {
        min-height: 142px !important;
        padding: 11px 9px 10px !important;
    }

    .miski-product-category {
        margin-bottom: 6px !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        letter-spacing: .45px !important;
        line-height: 1.25 !important;
    }

    .miski-product-content h3 {
        min-height: 2.7em !important;
        max-height: 2.7em !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        letter-spacing: -.12px !important;
    }

    .miski-product-meta {
        padding: 10px 38px 0 0 !important;
    }

    .miski-product-price {
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }

    .miski-product-cta {
        right: 9px !important;
        bottom: 9px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        box-shadow: 0 6px 15px rgba(122,49,89,.18) !important;
    }

    .miski-product-cta svg {
        width: 16px !important;
        height: 16px !important;
        flex-basis: 16px !important;
    }

    .miski-shop-load-more {
        min-height: 48px !important;
        padding: 12px 20px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    .miski-search-form {
        min-height: 52px;
    }

    .miski-search-form input[type="search"] {
        font-size: 14px !important;
    }

    .miski-live-search .miski-live-search-clear {
        right: 96px;
    }
}

/* Typical phones: two columns gives text and buttons enough room to be readable. */
@media (max-width: 599px) {
    .miski-shop-inner {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .miski-shop-track {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 11px !important;
        row-gap: 16px !important;
    }

    .miski-product-card {
        border-radius: 16px !important;
        box-shadow: 0 9px 24px rgba(122,49,89,.10) !important;
    }

    .miski-product-gallery {
        border-radius: 15px 15px 0 0 !important;
    }

    .miski-product-badge {
        min-height: 22px !important;
        padding: 5px 8px !important;
        font-size: 8px !important;
    }

    .miski-product-content {
        min-height: 168px !important;
        padding: 12px 11px 11px !important;
    }

    .miski-product-category {
        margin-bottom: 7px !important;
        font-size: 9px !important;
        letter-spacing: .5px !important;
    }

    .miski-product-content h3 {
        min-height: 2.8em !important;
        max-height: 2.8em !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }

    .miski-product-meta {
        margin-top: auto !important;
        padding: 12px 0 0 !important;
    }

    .miski-product-price {
        font-size: 14px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .miski-product-cta {
        position: static !important;
        width: 100% !important;
        height: 39px !important;
        min-width: 0 !important;
        min-height: 39px !important;
        margin: 10px 0 0 !important;
        padding: 0 11px !important;
        gap: 7px !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        line-height: 1 !important;
        box-shadow: 0 7px 16px rgba(122,49,89,.14) !important;
    }

    .miski-product-cta span {
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: nowrap !important;
        border: 0 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
    }

    .miski-product-cta svg {
        width: 15px !important;
        height: 15px !important;
        flex: 0 0 15px !important;
    }

    .miski-product-card .added_to_cart.wc-forward,
    .miski-view-cart-link.added_to_cart.wc-forward {
        position: static !important;
        width: 100% !important;
        min-height: 36px !important;
        margin: 7px 0 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px !important;
        font-size: 11px !important;
    }

    .miski-cart-feedback {
        margin-top: 7px !important;
        font-size: 10.5px !important;
    }
}

@media (max-width: 380px) {
    .miski-shop-inner {
        padding-right: 9px !important;
        padding-left: 9px !important;
    }

    .miski-shop-track {
        column-gap: 8px !important;
        row-gap: 13px !important;
    }

    .miski-product-content {
        min-height: 160px !important;
        padding: 11px 9px 10px !important;
    }

    .miski-product-content h3 {
        font-size: 13px !important;
    }

    .miski-product-price {
        font-size: 13px !important;
    }

    .miski-product-cta,
    .miski-product-cta span {
        font-size: 10.5px !important;
    }
}


/* ==================================================
   Version 1.8.1: compact professional mobile categories
   - 4 category tiles/filters per row on wider phones
   - 3 per row on smaller phones
   - no one-category-per-line mobile layout
================================================== */

@media (max-width: 767px) {
    /* Product category filter buttons: show a real grid instead of a long row. */
    .miski-shop-filters {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 2px 0 !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .miski-shop-filters button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 8px 5px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        line-height: 1.22 !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        scroll-snap-align: none !important;
    }

    /* The [miski_categories] visual category section becomes a compact grid. */
    .miski-categories-section {
        padding: 32px 12px 38px !important;
    }

    .miski-categories-header {
        margin-bottom: 20px !important;
        gap: 10px !important;
    }

    .miski-categories-header h2 {
        font-size: clamp(29px, 8vw, 38px) !important;
        letter-spacing: -1px !important;
    }

    .miski-categories-header p {
        margin-top: 9px !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .miski-categories-nav {
        display: none !important;
    }

    .miski-categories-viewport {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        cursor: default !important;
        scroll-snap-type: none !important;
    }

    .miski-categories-track {
        width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 9px !important;
        align-items: stretch !important;
    }

    .miski-category-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        aspect-ratio: 1 / 1.15 !important;
        border-radius: 14px !important;
        scroll-snap-align: none !important;
        box-shadow: 0 9px 22px rgba(0, 0, 0, .18) !important;
    }

    .miski-category-card:hover {
        transform: none !important;
    }

    .miski-category-copy {
        right: 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        gap: 2px !important;
    }

    .miski-category-copy strong {
        display: -webkit-box !important;
        overflow: hidden !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .miski-category-copy small,
    .miski-category-arrow {
        display: none !important;
    }

    .miski-category-overlay {
        background: linear-gradient(180deg, rgba(5,20,31,.02), rgba(5,20,31,.10) 45%, rgba(5,20,31,.90)) !important;
    }
}

@media (max-width: 480px) {
    .miski-shop-filters,
    .miski-categories-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .miski-shop-filters {
        gap: 7px !important;
    }

    .miski-shop-filters button {
        min-height: 42px !important;
        padding: 8px 4px !important;
        font-size: 10.5px !important;
        border-radius: 11px !important;
    }

    .miski-categories-track {
        gap: 8px !important;
    }

    .miski-category-card {
        aspect-ratio: 1 / 1.10 !important;
        border-radius: 13px !important;
    }

    .miski-category-copy strong {
        font-size: 11px !important;
    }
}

@media (max-width: 360px) {
    .miski-shop-filters button {
        min-height: 40px !important;
        font-size: 9.5px !important;
    }

    .miski-category-copy strong {
        font-size: 10px !important;
    }
}

/* ==================================================
   Version 1.8.2: mobile category Show More
   Scoped only to the Miski category shortcode.
   - <=480px: 6 visible categories (2 rows x 3)
   - 481-767px: 8 visible categories (2 rows x 4)
   - desktop/tablet >767px: all categories remain visible
================================================== */

.miski-categories-more-wrap {
    display: none;
}

@media (max-width: 767px) {
    .miski-categories-section .miski-category-card.miski-mobile-category-hidden {
        display: none !important;
    }

    .miski-categories-section .miski-categories-more-wrap {
        width: 100%;
        margin: 18px 0 0;
        display: flex;
        justify-content: center;
    }

    .miski-categories-section .miski-categories-more-wrap[hidden] {
        display: none !important;
    }

    .miski-categories-section .miski-categories-more {
        appearance: none !important;
        -webkit-appearance: none !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 11px 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        border: 1px solid rgba(122,49,89, .16) !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        color: #7A3159 !important;
        font-family: inherit !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-align: center !important;
        cursor: pointer !important;
        box-shadow: 0 9px 24px rgba(122,49,89, .10) !important;
        transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease !important;
    }

    .miski-categories-section .miski-categories-more:hover,
    .miski-categories-section .miski-categories-more:focus-visible {
        border-color: #DB5075 !important;
        background: #7A3159 !important;
        color: #ffffff !important;
        box-shadow: 0 12px 28px rgba(122,49,89, .18) !important;
        transform: translateY(-1px) !important;
    }

    .miski-categories-section .miski-categories-more:focus-visible {
        outline: 3px solid rgba(219,80,117, .28) !important;
        outline-offset: 2px !important;
    }

    .miski-categories-section .miski-categories-more svg {
        width: 17px !important;
        height: 17px !important;
        flex: 0 0 17px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        transition: transform .22s ease !important;
    }

    .miski-categories-section .miski-categories-more.is-expanded svg {
        transform: rotate(180deg) !important;
    }
}

@media (max-width: 480px) {
    .miski-categories-section .miski-categories-more-wrap {
        margin-top: 16px;
    }

    .miski-categories-section .miski-categories-more {
        min-height: 44px !important;
        padding: 10px 16px !important;
        font-size: 12px !important;
    }
}



/* ==================================================
   Version 1.8.3: mobile category controls
   - Show More / Show Less for product filter categories
   - 6 visible buttons on small phones (2 x 3)
   - 8 visible buttons on wider phones (2 x 4)
   - scoped to Miski shop only
================================================== */

.miski-shop-filter-area {
    min-width: 0;
    flex: 1 1 auto;
}

.miski-filter-more-wrap {
    display: none;
}

@media (max-width: 767px) {
    .miski-shop-toolbar {
        align-items: stretch !important;
    }

    .miski-shop-filter-area {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .miski-shop-section .miski-shop-filters button.miski-mobile-filter-hidden {
        display: none !important;
    }

    .miski-shop-section .miski-filter-more-wrap {
        width: 100%;
        margin: 12px 0 0;
        display: flex;
        justify-content: center;
    }

    .miski-shop-section .miski-filter-more-wrap[hidden] {
        display: none !important;
    }

    .miski-shop-section .miski-filter-more {
        appearance: none !important;
        -webkit-appearance: none !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 9px 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border: 1px solid rgba(122,49,89, .16) !important;
        border-radius: 999px !important;
        background: #fff !important;
        color: var(--miski-primary, #7A3159) !important;
        font: inherit !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        cursor: pointer !important;
        box-shadow: 0 8px 20px rgba(122,49,89, .09) !important;
        transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease !important;
    }

    .miski-shop-section .miski-filter-more:hover,
    .miski-shop-section .miski-filter-more:focus-visible {
        background: var(--miski-primary, #7A3159) !important;
        color: #fff !important;
        border-color: var(--miski-accent, #DB5075) !important;
        transform: translateY(-1px) !important;
    }

    .miski-shop-section .miski-filter-more svg {
        width: 16px !important;
        height: 16px !important;
        flex: 0 0 16px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        transition: transform .2s ease !important;
    }

    .miski-shop-section .miski-filter-more.is-expanded svg {
        transform: rotate(180deg) !important;
    }
}


/* ==================================================
   Version 1.8.4: WooCommerce category image filters
   - Product filters now use WooCommerce category thumbnails.
   - Fallback: first product image, then WooCommerce placeholder.
   - Desktop: 6 per row; tablet: 4; mobile: 4 or 3.
   - Strictly scoped to .miski-shop-section.
================================================== */

.miski-shop-section .miski-shop-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
}

.miski-shop-section .miski-shop-filter-area {
    width: 100% !important;
    min-width: 0 !important;
}

.miski-shop-section .miski-shop-category-filters {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 12px !important;
    overflow: visible !important;
    padding: 2px !important;
}

.miski-shop-section .miski-shop-category-filters .miski-filter-card {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative !important;
    isolation: isolate !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 142px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border: 1px solid rgba(122,49,89, .10) !important;
    border-radius: 18px !important;
    background: #F8E7EE !important;
    color: #fff !important;
    text-align: left !important;
    cursor: pointer !important;
    box-shadow: 0 9px 24px rgba(122,49,89, .08) !important;
    transform: translateZ(0) !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}

.miski-shop-section .miski-shop-category-filters .miski-filter-card:hover,
.miski-shop-section .miski-shop-category-filters .miski-filter-card:focus-visible {
    border-color: var(--miski-accent, #DB5075) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 34px rgba(122,49,89, .16) !important;
}

.miski-shop-section .miski-shop-category-filters .miski-filter-card:focus-visible {
    outline: 3px solid rgba(219,80,117, .28) !important;
    outline-offset: 3px !important;
}

.miski-shop-section .miski-filter-card-media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    overflow: hidden !important;
    background: #F8E7EE !important;
}

.miski-shop-section .miski-filter-card-media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: scale(1.01) !important;
    transition: transform .45s ease !important;
}

.miski-shop-section .miski-filter-card:hover .miski-filter-card-media img,
.miski-shop-section .miski-filter-card:focus-visible .miski-filter-card-media img,
.miski-shop-section .miski-filter-card.is-active .miski-filter-card-media img {
    transform: scale(1.07) !important;
}

.miski-shop-section .miski-filter-card-media-all {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at 80% 15%, rgba(219,80,117,.38), transparent 34%),
        linear-gradient(145deg, #7A3159 0%, var(--miski-primary, #7A3159) 58%, #55213D 100%) !important;
}

.miski-shop-section .miski-filter-card-media-all::before,
.miski-shop-section .miski-filter-card-media-all::after {
    content: "" !important;
    position: absolute !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 50% !important;
}

.miski-shop-section .miski-filter-card-media-all::before {
    width: 118px !important;
    height: 118px !important;
    right: -44px !important;
    top: -47px !important;
}

.miski-shop-section .miski-filter-card-media-all::after {
    width: 76px !important;
    height: 76px !important;
    left: -25px !important;
    bottom: -32px !important;
}

.miski-shop-section .miski-filter-card-media-all svg {
    width: 43px !important;
    height: 43px !important;
    fill: none !important;
    stroke: rgba(255,255,255,.92) !important;
    stroke-width: 1.45 !important;
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 21px !important;
}

.miski-shop-section .miski-filter-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(7, 24, 38, .03) 18%, rgba(7, 24, 38, .22) 52%, rgba(7, 24, 38, .90) 100%) !important;
    transition: background .25s ease !important;
}

.miski-shop-section .miski-filter-card.is-active .miski-filter-card-overlay {
    background: linear-gradient(180deg, rgba(7, 24, 38, .02) 12%, rgba(7, 24, 38, .22) 48%, rgba(7, 24, 38, .94) 100%) !important;
}

.miski-shop-section .miski-filter-card-copy {
    position: absolute !important;
    left: 13px !important;
    right: 13px !important;
    bottom: 12px !important;
    z-index: 3 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    pointer-events: none !important;
}

.miski-shop-section .miski-filter-card-copy strong {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    letter-spacing: -.15px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.28) !important;
}

.miski-shop-section .miski-filter-card-copy small {
    overflow: hidden !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.miski-shop-section .miski-filter-card-selected {
    position: absolute !important;
    top: 9px !important;
    right: 9px !important;
    z-index: 4 !important;
    width: 25px !important;
    height: 25px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,.55) !important;
    border-radius: 50% !important;
    background: rgba(9, 31, 48, .58) !important;
    color: #fff !important;
    opacity: 0 !important;
    transform: scale(.72) !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
    transition: opacity .2s ease, transform .2s ease, background .2s ease !important;
    pointer-events: none !important;
}

.miski-shop-section .miski-filter-card-selected svg {
    width: 15px !important;
    height: 15px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.miski-shop-section .miski-filter-card.is-active {
    border-color: var(--miski-accent, #DB5075) !important;
    box-shadow: 0 0 0 2px var(--miski-accent, #DB5075), 0 16px 36px rgba(122,49,89, .18) !important;
    transform: translateY(-2px) !important;
}

.miski-shop-section .miski-filter-card.is-active .miski-filter-card-selected {
    opacity: 1 !important;
    transform: scale(1) !important;
    background: var(--miski-accent, #DB5075) !important;
}

.miski-shop-section .miski-shop-inline-search {
    width: min(340px, 100%) !important;
    min-width: 0 !important;
    align-self: flex-end !important;
}

@media (max-width: 1100px) {
    .miski-shop-section .miski-shop-category-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card {
        min-height: 132px !important;
    }
}

@media (max-width: 767px) {
    .miski-shop-section .miski-shop-toolbar {
        gap: 15px !important;
        margin-bottom: 22px !important;
    }

    .miski-shop-section .miski-shop-category-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 1px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card {
        min-height: 108px !important;
        border-radius: 14px !important;
    }

    .miski-shop-section .miski-filter-card-copy {
        left: 9px !important;
        right: 9px !important;
        bottom: 9px !important;
        gap: 2px !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 10.5px !important;
        line-height: 1.18 !important;
    }

    .miski-shop-section .miski-filter-card-copy small {
        font-size: 8px !important;
    }

    .miski-shop-section .miski-filter-card-selected {
        width: 22px !important;
        height: 22px !important;
        top: 6px !important;
        right: 6px !important;
    }

    .miski-shop-section .miski-filter-card-media-all svg {
        width: 34px !important;
        height: 34px !important;
        margin-bottom: 18px !important;
    }

    .miski-shop-section .miski-shop-inline-search {
        width: 100% !important;
        align-self: stretch !important;
    }
}

@media (max-width: 480px) {
    .miski-shop-section .miski-shop-category-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card {
        min-height: 112px !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 11px !important;
    }

    .miski-shop-section .miski-filter-card-copy small {
        display: none !important;
    }

    .miski-shop-section .miski-filter-card-media-all svg {
        width: 35px !important;
        height: 35px !important;
        margin-bottom: 17px !important;
    }
}

@media (max-width: 360px) {
    .miski-shop-section .miski-shop-category-filters {
        gap: 6px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card {
        min-height: 102px !important;
        border-radius: 12px !important;
    }

    .miski-shop-section .miski-filter-card-copy {
        left: 7px !important;
        right: 7px !important;
        bottom: 7px !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 10px !important;
    }
}

/* ==================================================
   Version 1.8.5: compact image category grid
   Inspired by dense marketplace category navigation, but rectangular.
   - Desktop: up to 8 per row
   - Tablet: 5-7 per row
   - Mobile: 4 per row, 3 on small phones
   - Show More / Show Less works on every viewport
   - Keeps WooCommerce category images and AJAX filtering
================================================== */

.miski-shop-section .miski-shop-category-filters {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
    padding: 2px 0 !important;
}

.miski-shop-section .miski-shop-category-filters .miski-filter-card {
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--miski-primary, #7A3159) !important;
    box-shadow: none !important;
    text-align: center !important;
    transform: none !important;
}

.miski-shop-section .miski-shop-category-filters .miski-filter-card:hover,
.miski-shop-section .miski-shop-category-filters .miski-filter-card:focus-visible,
.miski-shop-section .miski-shop-category-filters .miski-filter-card.is-active {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-2px) !important;
}

.miski-shop-section .miski-shop-category-filters .miski-filter-card:focus-visible {
    outline: none !important;
}

.miski-shop-section .miski-filter-card-media {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    aspect-ratio: 1.34 / 1 !important;
    min-height: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border: 1px solid rgba(122,49,89, .10) !important;
    border-radius: 14px !important;
    background: #FFF8FB !important;
    box-shadow: 0 7px 18px rgba(122,49,89, .07) !important;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease !important;
}

.miski-shop-section .miski-filter-card:hover .miski-filter-card-media,
.miski-shop-section .miski-filter-card:focus-visible .miski-filter-card-media {
    border-color: rgba(219,80,117, .70) !important;
    box-shadow: 0 11px 24px rgba(122,49,89, .12) !important;
}

.miski-shop-section .miski-filter-card.is-active .miski-filter-card-media {
    border-color: var(--miski-accent, #DB5075) !important;
    box-shadow: 0 0 0 2px var(--miski-accent, #DB5075), 0 10px 24px rgba(122,49,89, .13) !important;
}

.miski-shop-section .miski-filter-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.miski-shop-section .miski-filter-card-overlay {
    display: none !important;
}

.miski-shop-section .miski-filter-card-copy {
    position: static !important;
    inset: auto !important;
    z-index: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 3px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    text-align: center !important;
}

.miski-shop-section .miski-filter-card-copy strong {
    display: -webkit-box !important;
    width: 100% !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: var(--miski-primary, #7A3159) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    letter-spacing: -.1px !important;
    text-shadow: none !important;
}

/* Keep the category grid clean like a marketplace menu. */
.miski-shop-section .miski-filter-card-copy small {
    display: none !important;
}

.miski-shop-section .miski-filter-card-selected {
    top: 7px !important;
    right: 7px !important;
    z-index: 4 !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    box-shadow: 0 5px 14px rgba(7, 28, 44, .18) !important;
}

.miski-shop-section .miski-filter-card-media-all {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(145deg, #7A3159 0%, var(--miski-primary, #7A3159) 62%, #55213D 100%) !important;
}

.miski-shop-section .miski-filter-card-media-all::before,
.miski-shop-section .miski-filter-card-media-all::after {
    display: none !important;
}

.miski-shop-section .miski-filter-card-media-all svg {
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
}

/* Show More / Show Less is now available on desktop too. */
.miski-shop-section .miski-shop-filters button.miski-mobile-filter-hidden {
    display: none !important;
}

.miski-shop-section .miski-filter-more-wrap {
    width: 100% !important;
    margin: 16px 0 0 !important;
    display: flex !important;
    justify-content: center !important;
}

.miski-shop-section .miski-filter-more-wrap[hidden] {
    display: none !important;
}

.miski-shop-section .miski-filter-more {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 19px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    border: 1px solid rgba(122,49,89, .14) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--miski-primary, #7A3159) !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 7px 18px rgba(122,49,89, .08) !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease !important;
}

.miski-shop-section .miski-filter-more:hover,
.miski-shop-section .miski-filter-more:focus-visible {
    border-color: var(--miski-accent, #DB5075) !important;
    background: var(--miski-primary, #7A3159) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.miski-shop-section .miski-filter-more svg {
    width: 16px !important;
    height: 16px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: transform .2s ease !important;
}

.miski-shop-section .miski-filter-more.is-expanded svg {
    transform: rotate(180deg) !important;
}

@media (max-width: 1279px) {
    .miski-shop-section .miski-shop-category-filters {
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 999px) {
    .miski-shop-section .miski-shop-category-filters {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px 10px !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .miski-shop-section .miski-shop-category-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px 8px !important;
    }

    .miski-shop-section .miski-filter-card-media {
        border-radius: 11px !important;
        aspect-ratio: 1.18 / 1 !important;
    }

    .miski-shop-section .miski-filter-card-copy {
        padding-top: 6px !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 10.5px !important;
        line-height: 1.18 !important;
    }

    .miski-shop-section .miski-filter-card-selected {
        width: 21px !important;
        height: 21px !important;
        top: 5px !important;
        right: 5px !important;
        border-radius: 7px !important;
    }

    .miski-shop-section .miski-filter-card-media-all svg {
        width: 30px !important;
        height: 30px !important;
    }

    .miski-shop-section .miski-filter-more-wrap {
        margin-top: 13px !important;
    }
}

@media (max-width: 480px) {
    .miski-shop-section .miski-shop-category-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 13px 8px !important;
    }

    .miski-shop-section .miski-filter-card-media {
        aspect-ratio: 1.28 / 1 !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 11px !important;
    }
}

/* ==================================================
   Version 1.9.0: mobile photo category slider + staggered products
   Mobile-only marketplace presentation. Desktop category grid stays intact.
================================================== */

.miski-shop-section .miski-category-slider-shell {
    position: relative;
    width: 100%;
    min-width: 0;
}

.miski-shop-section .miski-category-slider-arrow {
    display: none !important;
}

@media (max-width: 767px) {
    /* ---------- CATEGORY PHOTO SLIDER ---------- */
    .miski-shop-section .miski-category-slider-shell {
        margin: 0;
        padding: 0;
    }

    .miski-shop-section .miski-shop-category-filters {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 5px 32px 9px !important;
        display: flex !important;
        grid-template-columns: none !important;
        align-items: flex-start !important;
        gap: 9px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x proximity !important;
        scroll-behavior: smooth !important;
        scrollbar-width: none !important;
        overscroll-behavior-inline: contain !important;
        touch-action: pan-x pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .miski-shop-section .miski-shop-category-filters::-webkit-scrollbar {
        display: none !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: clamp(74px, 19vw, 88px) !important;
        min-width: clamp(74px, 19vw, 88px) !important;
        max-width: clamp(74px, 19vw, 88px) !important;
        flex: 0 0 clamp(74px, 19vw, 88px) !important;
        display: flex !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: normal !important;
    }

    .miski-shop-section .miski-filter-card-media {
        width: 100% !important;
        aspect-ratio: 1.12 / 1 !important;
        border-radius: 12px !important;
        border: 1px solid rgba(122,49,89,.10) !important;
        background: #FFF8FB !important;
        box-shadow: none !important;
    }

    .miski-shop-section .miski-filter-card.is-active .miski-filter-card-media {
        border-color: var(--miski-accent, #DB5075) !important;
        box-shadow: 0 0 0 2px var(--miski-accent, #DB5075) !important;
    }

    .miski-shop-section .miski-filter-card-copy {
        padding: 7px 2px 0 !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        min-height: 2.35em !important;
        font-size: 10.5px !important;
        line-height: 1.18 !important;
        font-weight: 700 !important;
    }

    .miski-shop-section .miski-filter-card-selected {
        top: 5px !important;
        right: 5px !important;
        width: 20px !important;
        height: 20px !important;
        border-radius: 7px !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        appearance: none !important;
        -webkit-appearance: none !important;
        position: absolute !important;
        top: 34px !important;
        z-index: 9 !important;
        width: 31px !important;
        height: 31px !important;
        min-width: 31px !important;
        min-height: 31px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(122,49,89,.13) !important;
        border-radius: 50% !important;
        background: rgba(255,255,255,.96) !important;
        color: var(--miski-primary, #7A3159) !important;
        box-shadow: 0 5px 15px rgba(122,49,89,.13) !important;
        cursor: pointer !important;
    }

    .miski-shop-section .miski-category-slider-prev { left: 2px !important; }
    .miski-shop-section .miski-category-slider-next { right: 2px !important; }

    .miski-shop-section .miski-category-slider-arrow:disabled {
        opacity: .28 !important;
        cursor: default !important;
    }

    .miski-shop-section .miski-category-slider-arrow svg {
        width: 17px !important;
        height: 17px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2.1 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    /* All categories are reachable by swipe on mobile, so no Show More button. */
    .miski-shop-section .miski-filter-more-wrap {
        display: none !important;
    }

    /* ---------- TWO-COLUMN STAGGERED PRODUCT FEED ---------- */
    .miski-shop-section .miski-shop-viewport {
        overflow: visible !important;
        padding: 0 !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .miski-shop-section .miski-mobile-masonry-column {
        width: calc(50% - 5px) !important;
        min-width: 0 !important;
        flex: 1 1 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Deliberate stagger: the second photo column does not start directly beside the first. */
    .miski-shop-section .miski-mobile-masonry-column.is-right {
        padding-top: 24px !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        display: block !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card:hover {
        border: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-gallery {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex: none !important;
        aspect-ratio: 1 / 1.08 !important;
        overflow: hidden !important;
        border-radius: 10px !important;
        background: #FFF8FB !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card.miski-mobile-tall .miski-product-gallery {
        aspect-ratio: 1 / 1.28 !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card.miski-mobile-wide .miski-product-gallery {
        aspect-ratio: 1 / .94 !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-slide img {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #fff !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-gallery::after,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-badge,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-gallery-prev,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-gallery-next,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-gallery-dots {
        display: none !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content {
        position: relative !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 8px 2px 2px !important;
        display: block !important;
        background: transparent !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-category,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content > p,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-stock,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-quantity-row {
        display: none !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content h3 {
        min-height: 0 !important;
        max-height: 2.7em !important;
        margin: 0 !important;
        display: -webkit-box !important;
        overflow: hidden !important;
        color: #161b20 !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        letter-spacing: -.1px !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content h3 a {
        color: inherit !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-meta {
        min-height: 34px !important;
        margin: 6px 0 0 !important;
        padding: 0 38px 0 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-price {
        display: block !important;
        overflow: hidden !important;
        color: var(--miski-accent, #DB5075) !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-price del {
        display: none !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-cta {
        position: absolute !important;
        right: 2px !important;
        bottom: 1px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        border-radius: 8px !important;
        border: 1px solid rgba(122,49,89,.10) !important;
        background: #fff !important;
        color: var(--miski-primary, #7A3159) !important;
        box-shadow: 0 3px 10px rgba(122,49,89,.10) !important;
        font-size: 0 !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-cta span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-cta svg {
        width: 17px !important;
        height: 17px !important;
        flex: 0 0 17px !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .added_to_cart.wc-forward,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-view-cart-link {
        display: none !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-cart-feedback {
        display: block !important;
        margin-top: 4px !important;
        font-size: 9px !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 380px) {
    .miski-shop-section .miski-shop-category-filters {
        padding-left: 30px !important;
        padding-right: 30px !important;
        gap: 7px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        flex-basis: 72px !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        gap: 8px !important;
    }

    .miski-shop-section .miski-mobile-masonry-column {
        gap: 12px !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content h3 {
        font-size: 11.5px !important;
    }

    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-price {
        font-size: 13px !important;
    }
}


/* ==================================================
   Version 1.9.2: RESPONSIVE CATEGORY CAROUSEL + EQUAL PRODUCT GRID
   - One category row on desktop/tablet/mobile.
   - Native finger swipe and trackpad scroll.
   - One-category-per-click left/right navigation.
   - Equal-size responsive product cards.
================================================== */

/* ---------- PRODUCT FILTER CATEGORY CAROUSEL ---------- */
.miski-shop-section .miski-shop-filter-area {
    width: 100% !important;
    min-width: 0 !important;
}

.miski-shop-section .miski-category-slider-shell {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 42px !important;
    align-items: center !important;
    gap: 10px !important;
}

.miski-shop-section .miski-shop-category-filters {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 6px 2px 10px !important;
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    overscroll-behavior-inline: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    cursor: grab !important;
}

.miski-shop-section .miski-shop-category-filters.is-miski-category-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    user-select: none !important;
}

.miski-shop-section .miski-shop-category-filters::-webkit-scrollbar {
    display: none !important;
}

.miski-shop-section .miski-shop-category-filters .miski-filter-card,
.miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    flex: 0 0 132px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    transform: none !important;
}

.miski-shop-section .miski-filter-card-media {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1.25 / 1 !important;
    overflow: hidden !important;
    border: 1px solid rgba(122,49,89, .11) !important;
    border-radius: 13px !important;
    background: #FFF8FB !important;
    box-shadow: 0 5px 15px rgba(122,49,89, .07) !important;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease !important;
}

.miski-shop-section .miski-filter-card-media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
}

.miski-shop-section .miski-filter-card:hover .miski-filter-card-media,
.miski-shop-section .miski-filter-card:focus-visible .miski-filter-card-media {
    border-color: rgba(219,80,117, .62) !important;
    box-shadow: 0 8px 20px rgba(122,49,89, .11) !important;
    transform: translateY(-2px) !important;
}

.miski-shop-section .miski-filter-card.is-active .miski-filter-card-media {
    border-color: var(--miski-accent, #DB5075) !important;
    box-shadow: 0 0 0 2px var(--miski-accent, #DB5075), 0 8px 20px rgba(122,49,89, .11) !important;
}

.miski-shop-section .miski-filter-card-overlay {
    display: none !important;
}

.miski-shop-section .miski-filter-card-copy {
    position: static !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 7px 2px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: center !important;
    background: transparent !important;
}

.miski-shop-section .miski-filter-card-copy strong {
    width: 100% !important;
    min-height: 2.35em !important;
    margin: 0 !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    color: var(--miski-primary, #7A3159) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-transform: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.miski-shop-section .miski-filter-card-copy small {
    display: none !important;
}

.miski-shop-section .miski-filter-card-selected {
    top: 7px !important;
    right: 7px !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    border-radius: 50% !important;
    background: var(--miski-accent, #DB5075) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(122,49,89, .18) !important;
}

.miski-shop-section .miski-filter-card-media-all {
    background: linear-gradient(145deg, #7A3159, #55213D) !important;
}

.miski-shop-section .miski-filter-card-media-all svg {
    width: 34px !important;
    height: 34px !important;
    color: #fff !important;
    opacity: .9 !important;
}

/* Arrow design follows the same dark/glass + gold interaction language as the first Miski slider. */
.miski-shop-section .miski-category-slider-arrow {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: static !important;
    inset: auto !important;
    z-index: 20 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, .40) !important;
    border-radius: 50% !important;
    background: rgba(16, 43, 66, .90) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(122,49,89, .18) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    cursor: pointer !important;
    opacity: 1 !important;
    transform: none !important;
    transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, opacity .22s ease !important;
}

.miski-shop-section .miski-category-slider-arrow:hover:not(:disabled),
.miski-shop-section .miski-category-slider-arrow:focus-visible:not(:disabled) {
    border-color: var(--miski-accent, #DB5075) !important;
    background: var(--miski-accent, #DB5075) !important;
    color: #fff !important;
    transform: scale(1.06) !important;
}

.miski-shop-section .miski-category-slider-arrow:disabled {
    opacity: .28 !important;
    cursor: default !important;
    transform: none !important;
}

.miski-shop-section .miski-category-slider-arrow svg {
    width: 19px !important;
    height: 19px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none !important;
}

/* Category Show More controls are intentionally removed/hidden everywhere. */
.miski-shop-section .miski-filter-more-wrap,
.miski-shop-section .miski-filter-more,
.miski-categories-section .miski-categories-more-wrap,
.miski-categories-section .miski-categories-more {
    display: none !important;
}

/* ---------- EQUAL-SIZE RESPONSIVE PRODUCT GRID ---------- */
.miski-shop-section .miski-shop-viewport {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 4px 0 12px !important;
    overflow: visible !important;
    cursor: default !important;
    scroll-snap-type: none !important;
    touch-action: auto !important;
}

.miski-shop-section .miski-shop-track,
.miski-shop-section .miski-shop-track.is-mobile-masonry {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr !important;
    align-items: stretch !important;
    gap: clamp(14px, 1.7vw, 24px) !important;
}

.miski-shop-section .miski-mobile-masonry-column {
    display: contents !important;
}

.miski-shop-section .miski-product-card,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
    border-radius: 18px !important;
    scroll-snap-align: none !important;
}

.miski-shop-section .miski-product-gallery,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-gallery,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card.miski-mobile-tall .miski-product-gallery,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card.miski-mobile-wide .miski-product-gallery {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #fff !important;
}

.miski-shop-section .miski-product-slide img,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-slide img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff !important;
}

.miski-shop-section .miski-product-content,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content {
    position: relative !important;
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.miski-shop-section .miski-product-content h3 {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.miski-shop-section .miski-product-content > p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
}

/* We keep the cards clean: no sale/featured ribbons in this layout. */
.miski-shop-section .miski-product-badge {
    display: none !important;
}

/* ---------- STANDALONE CATEGORY SHORTCODE ---------- */
.miski-categories-section .miski-categories-viewport {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
}

.miski-categories-section .miski-categories-viewport::-webkit-scrollbar {
    display: none !important;
}

.miski-categories-section .miski-categories-track {
    width: max-content !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 14px !important;
}

.miski-categories-section .miski-category-card,
.miski-categories-section .miski-category-card.miski-mobile-category-hidden {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 180px !important;
    flex: 0 0 150px !important;
    display: block !important;
    border-radius: 14px !important;
    scroll-snap-align: start !important;
}

/* ---------- TABLET ---------- */
@media (max-width: 1100px) {
    .miski-shop-section .miski-category-slider-shell {
        grid-template-columns: 38px minmax(0, 1fr) 38px !important;
        gap: 8px !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: 116px !important;
        min-width: 116px !important;
        max-width: 116px !important;
        flex-basis: 116px !important;
    }

    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
    .miski-shop-section .miski-category-slider-shell {
        grid-template-columns: 34px minmax(0, 1fr) 34px !important;
        gap: 6px !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        box-shadow: 0 5px 15px rgba(122,49,89, .16) !important;
    }

    .miski-shop-section .miski-category-slider-arrow svg {
        width: 16px !important;
        height: 16px !important;
    }

    .miski-shop-section .miski-shop-category-filters {
        gap: 8px !important;
        padding: 4px 1px 8px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: clamp(86px, 25vw, 102px) !important;
        min-width: clamp(86px, 25vw, 102px) !important;
        max-width: clamp(86px, 25vw, 102px) !important;
        flex: 0 0 clamp(86px, 25vw, 102px) !important;
    }

    .miski-shop-section .miski-filter-card-media {
        aspect-ratio: 1.12 / 1 !important;
        border-radius: 11px !important;
    }

    .miski-shop-section .miski-filter-card-copy {
        min-height: 37px !important;
        padding-top: 6px !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 10.5px !important;
    }

    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 1fr !important;
        gap: 10px !important;
    }

    .miski-shop-section .miski-product-card,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {
        min-height: 0 !important;
        border-radius: 12px !important;
        box-shadow: 0 6px 18px rgba(122,49,89, .08) !important;
    }

    .miski-shop-section .miski-product-gallery,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-gallery {
        aspect-ratio: 1 / 1.05 !important;
        border-radius: 0 !important;
    }

    .miski-shop-section .miski-product-gallery::after,
    .miski-shop-section .miski-gallery-prev,
    .miski-shop-section .miski-gallery-next,
    .miski-shop-section .miski-gallery-dots {
        display: none !important;
    }

    .miski-shop-section .miski-product-content,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content {
        min-height: 112px !important;
        margin: 0 !important;
        padding: 9px 8px 47px !important;
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
    }

    .miski-shop-section .miski-product-category,
    .miski-shop-section .miski-product-content > p,
    .miski-shop-section .miski-product-stock,
    .miski-shop-section .miski-quantity-row {
        display: none !important;
    }

    .miski-shop-section .miski-product-content h3,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content h3 {
        min-height: 2.7em !important;
        max-height: 2.7em !important;
        margin: 0 !important;
        color: #171d22 !important;
        font-size: 12.5px !important;
        font-weight: 650 !important;
        line-height: 1.35 !important;
        letter-spacing: -.1px !important;
        -webkit-line-clamp: 2 !important;
    }

    .miski-shop-section .miski-product-meta,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-meta {
        min-height: 24px !important;
        margin: 7px 0 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .miski-shop-section .miski-product-price,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-price {
        max-width: calc(100% - 6px) !important;
        overflow: hidden !important;
        color: var(--miski-accent, #DB5075) !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    .miski-shop-section .miski-product-price del {
        display: none !important;
    }

    .miski-shop-section .miski-product-cta,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-cta {
        position: absolute !important;
        right: 8px !important;
        bottom: 8px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        border: 1px solid rgba(122,49,89, .13) !important;
        border-radius: 9px !important;
        background: #fff !important;
        color: var(--miski-primary, #7A3159) !important;
        box-shadow: 0 3px 10px rgba(122,49,89, .10) !important;
        font-size: 0 !important;
    }

    .miski-shop-section .miski-product-cta span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .miski-shop-section .miski-product-cta svg {
        width: 17px !important;
        height: 17px !important;
        flex: 0 0 17px !important;
    }

    .miski-shop-section .miski-product-card .added_to_cart.wc-forward,
    .miski-shop-section .miski-view-cart-link,
    .miski-shop-section .miski-cart-feedback {
        display: none !important;
    }

    .miski-categories-section .miski-category-card,
    .miski-categories-section .miski-category-card.miski-mobile-category-hidden {
        width: 104px !important;
        min-width: 104px !important;
        max-width: 104px !important;
        height: 132px !important;
        flex-basis: 104px !important;
    }
}

@media (max-width: 390px) {
    .miski-shop-section .miski-category-slider-shell {
        grid-template-columns: 32px minmax(0, 1fr) 32px !important;
        gap: 5px !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
        flex-basis: 82px !important;
    }

    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        gap: 8px !important;
    }

    .miski-shop-section .miski-product-content,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content {
        min-height: 108px !important;
        padding: 8px 7px 45px !important;
    }

    .miski-shop-section .miski-product-content h3 {
        font-size: 11.5px !important;
    }

    .miski-shop-section .miski-product-price {
        font-size: 13px !important;
    }
}


/* ==================================================
   Version 1.9.3: FULL RESPONSIVE CATEGORY STRIP
   + RELIABLE DESKTOP CATEGORY CLICK
   + STAGGERED MOBILE PRODUCTS WITH EQUAL PHOTO FRAMES
================================================== */

/* One true horizontal category line on every screen. The arrows sit below the
   strip so they never reduce the width available to the category photos. */
.miski-shop-section .miski-category-slider-shell {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px 44px minmax(0, 1fr) !important;
    grid-template-rows: auto 44px !important;
    column-gap: 10px !important;
    row-gap: 12px !important;
    align-items: center !important;
}

.miski-shop-section .miski-shop-category-filters {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 7px 3px 10px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 3px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-inline: contain !important;
    touch-action: pan-x pan-y !important;
}

.miski-shop-section .miski-shop-category-filters::-webkit-scrollbar {
    display: none !important;
}

.miski-shop-section .miski-category-slider-prev {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
}

.miski-shop-section .miski-category-slider-next {
    grid-column: 3 !important;
    grid-row: 2 !important;
    justify-self: start !important;
}

.miski-shop-section .miski-category-slider-arrow {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border: 1px solid rgba(255,255,255,.42) !important;
    border-radius: 50% !important;
    background: rgba(16,43,66,.94) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(122,49,89,.17) !important;
}

/* Large desktop: 7 complete categories. */
.miski-shop-section .miski-shop-category-filters .miski-filter-card,
.miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
    width: calc((100% - 72px) / 7) !important;
    min-width: calc((100% - 72px) / 7) !important;
    max-width: calc((100% - 72px) / 7) !important;
    flex: 0 0 calc((100% - 72px) / 7) !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
}

/* Bigger category photographs than v1.9.2. */
.miski-shop-section .miski-filter-card-media {
    width: 100% !important;
    aspect-ratio: 1.08 / 1 !important;
    border: 1px solid rgba(122,49,89,.12) !important;
    border-radius: 15px !important;
    background: #FFF8FB !important;
    box-shadow: 0 7px 18px rgba(122,49,89,.08) !important;
}

.miski-shop-section .miski-filter-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.miski-shop-section .miski-filter-card-copy {
    min-height: 42px !important;
    padding-top: 8px !important;
}

.miski-shop-section .miski-filter-card-copy strong {
    font-size: 12.5px !important;
    line-height: 1.22 !important;
}

/* Tablet: five complete category cards. */
@media (min-width: 768px) and (max-width: 1199px) {
    .miski-shop-section .miski-shop-category-filters {
        gap: 11px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: calc((100% - 44px) / 5) !important;
        min-width: calc((100% - 44px) / 5) !important;
        max-width: calc((100% - 44px) / 5) !important;
        flex-basis: calc((100% - 44px) / 5) !important;
    }
}

/* Larger phones: four complete categories, never 3.5. */
@media (min-width: 600px) and (max-width: 767px) {
    .miski-shop-section .miski-shop-category-filters {
        gap: 10px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: calc((100% - 30px) / 4) !important;
        min-width: calc((100% - 30px) / 4) !important;
        max-width: calc((100% - 30px) / 4) !important;
        flex-basis: calc((100% - 30px) / 4) !important;
    }
}

/* Normal/small phones: exactly three complete category cards. */
@media (max-width: 599px) {
    .miski-shop-section .miski-category-slider-shell {
        grid-template-columns: minmax(0,1fr) 40px 40px minmax(0,1fr) !important;
        grid-template-rows: auto 40px !important;
        column-gap: 9px !important;
        row-gap: 10px !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .miski-shop-section .miski-shop-category-filters {
        gap: 8px !important;
        padding: 5px 1px 8px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: calc((100% - 16px) / 3) !important;
        min-width: calc((100% - 16px) / 3) !important;
        max-width: calc((100% - 16px) / 3) !important;
        flex: 0 0 calc((100% - 16px) / 3) !important;
    }

    .miski-shop-section .miski-filter-card-media {
        aspect-ratio: 1.04 / 1 !important;
        border-radius: 13px !important;
    }

    .miski-shop-section .miski-filter-card-copy {
        min-height: 40px !important;
        padding: 7px 2px 0 !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 11.5px !important;
        line-height: 1.2 !important;
    }
}

/* Restore the requested marketplace stagger on mobile, while keeping every
   card and every photo frame the SAME dimensions. The second column is only
   shifted down visually; it is not given a different image height. */
@media (max-width: 767px) {
    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        grid-auto-rows: auto !important;
        column-gap: 10px !important;
        row-gap: 36px !important;
        padding: 0 0 28px !important;
        align-items: start !important;
    }

    .miski-shop-section .miski-product-card,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        align-self: start !important;
        overflow: visible !important;
        border: 1px solid rgba(122,49,89,.09) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 6px 18px rgba(122,49,89,.07) !important;
        transform: none !important;
    }

    .miski-shop-section .miski-product-card:nth-child(even) {
        transform: translateY(24px) !important;
    }

    /* Equal, framed product image area. */
    .miski-shop-section .miski-product-gallery,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-gallery {
        width: calc(100% - 12px) !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin: 6px 6px 0 !important;
        padding: 4px !important;
        overflow: hidden !important;
        border: 1px solid rgba(122,49,89,.12) !important;
        border-radius: 11px !important;
        background: #FFFFFF !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.75) !important;
    }

    .miski-shop-section .miski-product-slide,
    .miski-shop-section .miski-product-image-link {
        width: 100% !important;
        height: 100% !important;
    }

    .miski-shop-section .miski-product-slide img,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #fff !important;
    }

    .miski-shop-section .miski-product-content,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content {
        min-height: 112px !important;
        padding: 10px 9px 47px !important;
        border-radius: 0 0 13px 13px !important;
    }
}

/* Very narrow phones keep three category cards and readable text. */
@media (max-width: 370px) {
    .miski-shop-section .miski-shop-category-filters {
        gap: 7px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: calc((100% - 14px) / 3) !important;
        min-width: calc((100% - 14px) / 3) !important;
        max-width: calc((100% - 14px) / 3) !important;
        flex-basis: calc((100% - 14px) / 3) !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 10.5px !important;
    }

    .miski-shop-section .miski-product-card:nth-child(even) {
        transform: translateY(20px) !important;
    }
}

/* ==================================================
   Version 1.9.5: CATEGORY NAVIGATION + MOBILE MARKETPLACE POLISH
   - Desktop arrows sit on left/right of the category row.
   - Tablet/mobile arrows are compact and below the row.
   - Desktop mouse drag is horizontal without hijacking vertical wheel scroll.
   - All Products tile restores Miski navy treatment.
   - Mobile title and WooCommerce price are always readable under equal photo frames.
================================================== */

/* One-line category scroller. */
.miski-shop-section .miski-shop-category-filters {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.miski-shop-section .miski-shop-category-filters::-webkit-scrollbar {
    display: none !important;
}

.miski-shop-section .miski-shop-category-filters.is-miski-category-dragging {
    cursor: grabbing !important;
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    user-select: none !important;
}

/* Make All Products visually distinct in the original Miski navy/gold language. */
.miski-shop-section .miski-filter-card-all .miski-filter-card-media,
.miski-shop-section .miski-filter-card-media-all {
    background: linear-gradient(145deg, #7A3159 0%, var(--miski-primary, #7A3159) 58%, #55213D 100%) !important;
    border-color: rgba(219,80,117, .62) !important;
    box-shadow: 0 7px 18px rgba(122,49,89, .14) !important;
}

.miski-shop-section .miski-filter-card-all.is-active .miski-filter-card-media,
.miski-shop-section .miski-filter-card-all:focus-visible .miski-filter-card-media {
    border-color: var(--miski-accent, #DB5075) !important;
    box-shadow: 0 0 0 2px var(--miski-accent, #DB5075), 0 8px 20px rgba(122,49,89, .15) !important;
}

.miski-shop-section .miski-filter-card-media-all svg {
    width: 38px !important;
    height: 38px !important;
    fill: none !important;
    stroke: #fff !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    opacity: .96 !important;
}

/* DESKTOP: arrows stay at the far left/right of the category strip. */
@media (min-width: 1024px) {

    .elementor-widget-shortcode:has(.miski-shop-section),
    .elementor-widget-shortcode:has(.miski-shop-section) > .elementor-widget-container,
    .elementor-widget-html:has(.miski-shop-section),
    .elementor-widget-html:has(.miski-shop-section) > .elementor-widget-container {
        overflow: visible !important;
        max-width: none !important;
    }
    .miski-shop-section .miski-category-slider-shell {
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 58px !important;
        display: block !important;
    }

    .miski-shop-section .miski-shop-category-filters {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 8px 3px 12px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        cursor: grab !important;
        touch-action: auto !important;
        scroll-snap-type: x proximity !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        position: absolute !important;
        top: 50% !important;
        z-index: 30 !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.40) !important;
        border-radius: 50% !important;
        background: rgba(16,43,66,.96) !important;
        color: #fff !important;
        box-shadow: 0 9px 24px rgba(122,49,89,.18) !important;
        transform: translateY(-64%) !important;
    }

    .miski-shop-section .miski-category-slider-prev {
        left: 4px !important;
        right: auto !important;
    }

    .miski-shop-section .miski-category-slider-next {
        right: 4px !important;
        left: auto !important;
    }

    .miski-shop-section .miski-category-slider-arrow:hover:not(:disabled),
    .miski-shop-section .miski-category-slider-arrow:focus-visible:not(:disabled) {
        border-color: var(--miski-accent, #DB5075) !important;
        background: var(--miski-accent, #DB5075) !important;
        color: #fff !important;
    }
}

/* TABLET/MOBILE: arrows are smaller and centered below the category strip. */
@media (max-width: 1023px) {
    .miski-shop-section .miski-category-slider-shell {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) 32px 32px minmax(0,1fr) !important;
        grid-template-rows: auto 32px !important;
        column-gap: 6px !important;
        row-gap: 7px !important;
        align-items: center !important;
    }

    .miski-shop-section .miski-shop-category-filters {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 5px 1px 7px !important;
        touch-action: pan-x pan-y !important;
    }

    .miski-shop-section .miski-category-slider-prev {
        position: static !important;
        grid-column: 2 !important;
        grid-row: 2 !important;
        justify-self: end !important;
    }

    .miski-shop-section .miski-category-slider-next {
        position: static !important;
        grid-column: 3 !important;
        grid-row: 2 !important;
        justify-self: start !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        position: static !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.34) !important;
        border-radius: 50% !important;
        background: var(--miski-primary, #7A3159) !important;
        color: #fff !important;
        box-shadow: 0 5px 13px rgba(122,49,89,.13) !important;
        transform: none !important;
    }

    .miski-shop-section .miski-category-slider-arrow svg {
        width: 13px !important;
        height: 13px !important;
    }
}

@media (max-width: 599px) {
    .miski-shop-section .miski-category-slider-shell {
        grid-template-columns: minmax(0,1fr) 28px 28px minmax(0,1fr) !important;
        grid-template-rows: auto 28px !important;
        row-gap: 5px !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
    }

    .miski-shop-section .miski-category-slider-arrow svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* Mobile marketplace product presentation. Keep equal image frames while the
   right column remains staggered from v1.9.3. */
@media (max-width: 767px) {
    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: start !important;
        gap: 10px !important;
    }

    .miski-shop-section .miski-product-card,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        border: 1px solid rgba(122,49,89,.08) !important;
        border-radius: 13px !important;
        background: #fff !important;
        box-shadow: 0 5px 15px rgba(122,49,89,.07) !important;
    }

    .miski-shop-section .miski-product-card:nth-child(even),
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card:nth-child(even) {
        transform: translateY(22px) !important;
    }

    .miski-shop-section .miski-product-gallery,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-gallery {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1.08 !important;
        overflow: hidden !important;
        border-bottom: 1px solid rgba(122,49,89,.07) !important;
        background: #FFFFFF !important;
    }

    .miski-shop-section .miski-product-slide,
    .miski-shop-section .miski-product-image-link {
        width: 100% !important;
        height: 100% !important;
    }

    .miski-shop-section .miski-product-slide img {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #fff !important;
    }

    .miski-shop-section .miski-product-content,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content {
        position: relative !important;
        min-height: 118px !important;
        margin: 0 !important;
        padding: 10px 9px 49px !important;
        display: block !important;
        background: #fff !important;
    }

    .miski-shop-section .miski-product-category,
    .miski-shop-section .miski-product-content > p,
    .miski-shop-section .miski-product-stock,
    .miski-shop-section .miski-quantity-row {
        display: none !important;
    }

    .miski-shop-section .miski-product-content h3,
    .miski-shop-section .miski-product-content h3 a {
        color: var(--miski-primary, #7A3159) !important;
        text-decoration: none !important;
    }

    .miski-shop-section .miski-product-content h3 {
        min-height: 2.6em !important;
        max-height: 2.6em !important;
        margin: 0 !important;
        display: -webkit-box !important;
        overflow: hidden !important;
        font-size: 12.8px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        letter-spacing: -.1px !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .miski-shop-section .miski-product-meta {
        min-height: 28px !important;
        margin: 8px 0 0 !important;
        padding: 0 38px 0 0 !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
    }

    .miski-shop-section .miski-product-price {
        display: inline-flex !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        gap: 5px !important;
        max-width: 100% !important;
        overflow: visible !important;
        color: var(--miski-accent, #DB5075) !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        text-overflow: clip !important;
    }

    .miski-shop-section .miski-product-price .woocommerce-Price-amount,
    .miski-shop-section .miski-product-price .amount {
        color: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
    }

    .miski-shop-section .miski-product-price del {
        display: inline-flex !important;
        color: #9B7D8C !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
        opacity: .9 !important;
    }

    .miski-shop-section .miski-product-price ins {
        display: inline-flex !important;
        color: var(--miski-accent, #DB5075) !important;
        font-size: inherit !important;
        font-weight: 800 !important;
        line-height: inherit !important;
        text-decoration: none !important;
    }

    .miski-shop-section .miski-product-cta,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-cta {
        position: absolute !important;
        right: 9px !important;
        bottom: 9px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid var(--miski-primary, #7A3159) !important;
        border-radius: 9px !important;
        background: var(--miski-primary, #7A3159) !important;
        color: #fff !important;
        box-shadow: 0 4px 11px rgba(122,49,89,.15) !important;
        font-size: 0 !important;
    }

    .miski-shop-section .miski-product-cta:hover,
    .miski-shop-section .miski-product-cta:focus-visible {
        border-color: var(--miski-accent, #DB5075) !important;
        background: var(--miski-accent, #DB5075) !important;
        color: #fff !important;
    }

    .miski-shop-section .miski-product-cta svg {
        width: 17px !important;
        height: 17px !important;
        flex: 0 0 17px !important;
    }
}

@media (max-width: 370px) {
    .miski-shop-section .miski-product-card:nth-child(even),
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card:nth-child(even) {
        transform: translateY(18px) !important;
    }

    .miski-shop-section .miski-product-content h3 {
        font-size: 11.8px !important;
    }

    .miski-shop-section .miski-product-price {
        font-size: 15px !important;
    }
}

/* ==================================================
   Version 1.9.6: FINAL RESPONSIVE CATEGORY + MOBILE CARD FIX
================================================== */

/* Category strip: one line, no visible scrollbar, reliable clicks. */
.miski-shop-section .miski-shop-category-filters {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: auto !important;
}

.miski-shop-section .miski-shop-category-filters::-webkit-scrollbar {
    display: none !important;
}

.miski-shop-section .miski-shop-category-filters .miski-filter-card {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
}

/* All Products must stay dark navy on every device. */
.miski-shop-section .miski-filter-card-all .miski-filter-card-media,
.miski-shop-section .miski-filter-card .miski-filter-card-media-all {
    background: linear-gradient(145deg, #7A3159 0%, #7A3159 56%, #55213D 100%) !important;
    border: 2px solid rgba(219,80,117,.78) !important;
    box-shadow: 0 8px 20px rgba(122,49,89,.15) !important;
}

.miski-shop-section .miski-filter-card-media-all svg {
    stroke: #fff !important;
    color: #fff !important;
    opacity: 1 !important;
}

.miski-shop-section .miski-filter-card-all.is-active .miski-filter-card-media,
.miski-shop-section .miski-filter-card-all[aria-pressed="true"] .miski-filter-card-media {
    border-color: #DB5075 !important;
    box-shadow: 0 0 0 2px #DB5075, 0 9px 22px rgba(122,49,89,.16) !important;
}

/* Desktop: side arrows only. Mouse can drag the row; wheel remains page scroll. */
@media (min-width: 1024px) {
    .miski-shop-section .miski-category-slider-shell {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        padding: 0 56px !important;
    }

    .miski-shop-section .miski-shop-category-filters {
        width: 100% !important;
        padding: 7px 2px 12px !important;
        gap: 12px !important;
        cursor: grab !important;
        touch-action: auto !important;
        scroll-snap-type: x proximity !important;
    }

    .miski-shop-section .miski-shop-category-filters.is-miski-category-dragging {
        cursor: grabbing !important;
        scroll-snap-type: none !important;
        user-select: none !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        position: absolute !important;
        top: 50% !important;
        z-index: 40 !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: #7A3159 !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,.35) !important;
        box-shadow: 0 8px 22px rgba(122,49,89,.17) !important;
        transform: translateY(-64%) !important;
    }

    .miski-shop-section .miski-category-slider-prev {
        left: 2px !important;
        right: auto !important;
    }

    .miski-shop-section .miski-category-slider-next {
        right: 2px !important;
        left: auto !important;
    }

    .miski-shop-section .miski-category-slider-arrow:hover:not(:disabled),
    .miski-shop-section .miski-category-slider-arrow:focus-visible:not(:disabled) {
        background: #DB5075 !important;
        border-color: #DB5075 !important;
    }
}

/* Tablet/mobile: compact arrows below. */
@media (max-width: 1023px) {
    .miski-shop-section .miski-category-slider-shell {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) 28px 28px minmax(0,1fr) !important;
        grid-template-rows: auto 28px !important;
        column-gap: 6px !important;
        row-gap: 6px !important;
        padding: 0 !important;
    }

    .miski-shop-section .miski-shop-category-filters {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        touch-action: pan-x pan-y !important;
    }

    .miski-shop-section .miski-category-slider-prev,
    .miski-shop-section .miski-category-slider-next {
        position: static !important;
        align-self: center !important;
    }

    .miski-shop-section .miski-category-slider-prev {
        grid-column: 2 !important;
        grid-row: 2 !important;
        justify-self: end !important;
    }

    .miski-shop-section .miski-category-slider-next {
        grid-column: 3 !important;
        grid-row: 2 !important;
        justify-self: start !important;
    }

    .miski-shop-section .miski-category-slider-arrow {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: #7A3159 !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,.32) !important;
        box-shadow: 0 4px 10px rgba(122,49,89,.12) !important;
    }

    .miski-shop-section .miski-category-slider-arrow svg {
        width: 11px !important;
        height: 11px !important;
    }
}

/* Exactly 3 complete categories on phones, 4 on wide phones, 5 tablet. */
@media (max-width: 599px) {
    .miski-shop-section .miski-shop-category-filters {
        gap: 8px !important;
        padding: 4px 1px 7px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: calc((100% - 16px) / 3) !important;
        min-width: calc((100% - 16px) / 3) !important;
        max-width: calc((100% - 16px) / 3) !important;
        flex: 0 0 calc((100% - 16px) / 3) !important;
    }

    .miski-shop-section .miski-filter-card-media {
        aspect-ratio: 1 / 1 !important;
        border-radius: 12px !important;
    }

    .miski-shop-section .miski-filter-card-copy strong {
        font-size: 11px !important;
        line-height: 1.18 !important;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .miski-shop-section .miski-shop-category-filters {
        gap: 9px !important;
    }

    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: calc((100% - 27px) / 4) !important;
        min-width: calc((100% - 27px) / 4) !important;
        max-width: calc((100% - 27px) / 4) !important;
        flex: 0 0 calc((100% - 27px) / 4) !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .miski-shop-section .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: calc((100% - 44px) / 5) !important;
        min-width: calc((100% - 44px) / 5) !important;
        max-width: calc((100% - 44px) / 5) !important;
        flex: 0 0 calc((100% - 44px) / 5) !important;
    }
}

/* Marketplace mobile products: equal image/card dimensions, staggered columns,
   compact title + price row. */
@media (max-width: 767px) {
    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        column-gap: 9px !important;
        row-gap: 28px !important;
        align-items: start !important;
        padding-bottom: 24px !important;
    }

    .miski-shop-section .miski-product-card,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: 1px solid rgba(122,49,89,.09) !important;
        border-radius: 11px !important;
        background: #fff !important;
        box-shadow: 0 4px 12px rgba(122,49,89,.06) !important;
    }

    .miski-shop-section .miski-product-card:nth-child(even) {
        transform: translateY(18px) !important;
    }

    .miski-shop-section .miski-product-gallery {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        aspect-ratio: 1 / 1.08 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(122,49,89,.07) !important;
        border-radius: 0 !important;
        background: #FFFFFF !important;
        box-shadow: none !important;
    }

    .miski-shop-section .miski-product-image-link,
    .miski-shop-section .miski-product-slide {
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .miski-shop-section .miski-product-slide img {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
        background: #fff !important;
        transform: scale(1.025) !important;
    }

    .miski-shop-section .miski-product-content {
        position: relative !important;
        height: 98px !important;
        min-height: 98px !important;
        padding: 8px 8px 9px !important;
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
    }

    .miski-shop-section .miski-product-category,
    .miski-shop-section .miski-product-content > p,
    .miski-shop-section .miski-product-stock,
    .miski-shop-section .miski-quantity-row {
        display: none !important;
    }

    .miski-shop-section .miski-product-content h3 {
        min-height: 2.5em !important;
        max-height: 2.5em !important;
        margin: 0 !important;
        display: -webkit-box !important;
        overflow: hidden !important;
        color: #7A3159 !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        letter-spacing: -.1px !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .miski-shop-section .miski-product-content h3 a {
        color: inherit !important;
        text-decoration: none !important;
    }

    .miski-shop-section .miski-product-meta {
        width: 100% !important;
        min-height: 30px !important;
        margin: auto 0 0 !important;
        padding: 5px 34px 0 0 !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 5px !important;
        overflow: hidden !important;
    }

    .miski-shop-section .miski-product-price {
        min-width: 0 !important;
        max-width: 100% !important;
        display: inline-flex !important;
        align-items: baseline !important;
        gap: 4px !important;
        overflow: hidden !important;
        color: #DB5075 !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .miski-shop-section .miski-product-price ins {
        order: 1 !important;
        display: inline-flex !important;
        color: #DB5075 !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .miski-shop-section .miski-product-price del {
        order: 3 !important;
        display: inline-flex !important;
        color: #9B7D8C !important;
        font-size: 9.5px !important;
        font-weight: 500 !important;
        opacity: .95 !important;
    }

    .miski-shop-section .miski-product-discount {
        order: 2 !important;
        flex: 0 0 auto !important;
        padding: 2px 4px !important;
        border-radius: 4px !important;
        background: rgba(219,80,117,.13) !important;
        color: #B83E64 !important;
        font-size: 8.5px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
    }

    .miski-shop-section .miski-product-badge.is-sale {
        top: 7px !important;
        left: 7px !important;
        min-height: 21px !important;
        padding: 4px 7px !important;
        border: 1px solid rgba(255,255,255,.65) !important;
        border-radius: 6px !important;
        background: #DB5075 !important;
        color: #fff !important;
        font-size: 7.5px !important;
        font-weight: 800 !important;
        letter-spacing: .2px !important;
        text-transform: none !important;
    }

    .miski-shop-section .miski-product-badge:not(.is-sale) {
        display: none !important;
    }

    .miski-shop-section .miski-product-cta {
        position: absolute !important;
        right: 8px !important;
        bottom: 8px !important;
        width: 29px !important;
        height: 29px !important;
        min-width: 29px !important;
        min-height: 29px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        border: 1px solid #7A3159 !important;
        background: #7A3159 !important;
        color: #fff !important;
        box-shadow: none !important;
        font-size: 0 !important;
    }

    .miski-shop-section .miski-product-cta svg {
        width: 14px !important;
        height: 14px !important;
    }
}

@media (max-width: 370px) {
    .miski-shop-section .miski-product-content {
        height: 94px !important;
        min-height: 94px !important;
        padding: 7px !important;
    }

    .miski-shop-section .miski-product-content h3 {
        font-size: 10.7px !important;
    }

    .miski-shop-section .miski-product-price,
    .miski-shop-section .miski-product-price ins {
        font-size: 12.5px !important;
    }
}

/* ==================================================
   v1.9.7 — branded loading, sticky in-section search,
   Elementor-only desktop full bleed
================================================== */

/* Keep sticky positioning functional while still clipping decoration. */
.miski-shop-section {
    overflow: clip !important;
}

/* The category toolbar remains normal; only the search follows the user. */
.miski-shop-section .miski-shop-toolbar {
    display: block !important;
    margin-bottom: 14px !important;
}

.miski-shop-section .miski-shop-filter-area {
    width: 100% !important;
    min-width: 0 !important;
}

.miski-shop-section .miski-shop-search-sticky {
    position: sticky !important;
    top: 12px !important;
    z-index: 75 !important;
    width: min(760px, calc(100% - 24px)) !important;
    margin: 14px auto 26px !important;
    padding: 6px !important;
    border-radius: 999px !important;
    background: rgba(243, 245, 246, .82) !important;
    box-shadow: 0 10px 32px rgba(122,49,89, .08) !important;
    backdrop-filter: blur(14px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
}

.miski-shop-section .miski-shop-inline-search {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    margin: 0 !important;
    padding: 6px 8px 6px 8px !important;
    border: 1px solid rgba(122,49,89, .13) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 26px rgba(122,49,89, .09) !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

.miski-shop-section .miski-shop-inline-search:focus-within {
    border-color: var(--miski-accent) !important;
    box-shadow: 0 12px 30px rgba(122,49,89, .11), 0 0 0 3px rgba(219,80,117, .12) !important;
}

.miski-shop-section .miski-search-icon-wrap {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(219,80,117, .12) !important;
    color: var(--miski-accent) !important;
}

.miski-shop-section .miski-search-icon-wrap .miski-search-icon {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
}

.miski-shop-section .miski-shop-inline-search input {
    height: 44px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

.miski-shop-section .miski-shop-inline-search input::placeholder {
    color: #9B7D8C !important;
    opacity: 1 !important;
}

.miski-shop-section .miski-search-clear {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin: 0 2px 0 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(122,49,89, .08) !important;
    color: var(--miski-primary) !important;
    cursor: pointer !important;
}

.miski-shop-section .miski-search-clear[hidden] {
    display: none !important;
}

.miski-shop-section .miski-search-clear:hover,
.miski-shop-section .miski-search-clear:focus-visible {
    background: var(--miski-primary) !important;
    color: #fff !important;
}

/* Product AJAX loader — confined to this Miski element only. */
.miski-shop-section .miski-shop-viewport {
    position: relative !important;
}

.miski-shop-section .miski-shop-loader {
    position: absolute !important;
    inset: 8px 0 16px !important;
    z-index: 65 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: clamp(55px, 8vw, 115px) !important;
    background: rgba(243, 245, 246, .78) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .12s ease, visibility .12s ease !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.miski-shop-section.is-loading-products.is-filter-loading .miski-shop-loader {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.miski-shop-section .miski-shop-loader-card {
    width: min(250px, 72vw) !important;
    min-height: 150px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 20px 24px !important;
    border: 1px solid rgba(122,49,89, .10) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 20px 50px rgba(122,49,89, .12) !important;
}

.miski-shop-section .miski-shop-loader-logo {
    width: min(155px, 52vw) !important;
    max-height: 64px !important;
    display: block !important;
    object-fit: contain !important;
}

.miski-shop-section .miski-shop-loader-wordmark {
    color: var(--miski-primary) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: .3px !important;
}

.miski-shop-section .miski-shop-loader-spinner {
    width: 24px !important;
    height: 24px !important;
    border: 3px solid rgba(122,49,89, .13) !important;
    border-top-color: var(--miski-accent) !important;
    border-radius: 50% !important;
    animation: miskiShopSpin .7s linear infinite !important;
}

.miski-shop-section .miski-shop-loader-text {
    color: #9B7D8C !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .4px !important;
}

@keyframes miskiShopSpin {
    to { transform: rotate(360deg); }
}

/* Full bleed only for the Miski shop Elementor output, never the whole site. */
@media (min-width: 1024px) {
    .elementor-shortcode > .miski-shop-section,
    .elementor-widget-container > .miski-shop-section,
    .elementor-widget-shortcode .miski-shop-section,
    .elementor-widget-html .miski-shop-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }

    .miski-shop-section .miski-shop-inner {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-left: clamp(28px, 3.5vw, 64px) !important;
        padding-right: clamp(28px, 3.5vw, 64px) !important;
    }
}

@media (max-width: 767px) {
    .miski-shop-section .miski-shop-search-sticky {
        top: 8px !important;
        width: 100% !important;
        margin: 12px auto 22px !important;
        padding: 4px !important;
    }

    .miski-shop-section .miski-shop-inline-search {
        min-height: 50px !important;
        padding: 4px 6px !important;
    }

    .miski-shop-section .miski-search-icon-wrap {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    .miski-shop-section .miski-shop-inline-search input {
        height: 40px !important;
        font-size: 13px !important;
    }

    .miski-shop-section .miski-search-clear {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .miski-shop-section .miski-shop-loader {
        padding-top: 42px !important;
    }

    .miski-shop-section .miski-shop-loader-card {
        width: min(210px, 70vw) !important;
        min-height: 132px !important;
        padding: 17px 20px !important;
        border-radius: 18px !important;
    }

    .miski-shop-section .miski-shop-loader-logo {
        width: min(135px, 48vw) !important;
        max-height: 55px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .miski-shop-section .miski-shop-loader-spinner {
        animation-duration: 1.4s !important;
    }
}


/* ==================================================
   v1.9.8 — FULLY ALIGNED PRODUCT GRID
   No staggered cards. Equal image/title/price positions.
================================================== */

/* Keep product cards aligned as equal-height grid items. */
.miski-shop-section .miski-shop-track,
.miski-shop-section .miski-shop-track.is-mobile-masonry {
    align-items: stretch !important;
}

.miski-shop-section .miski-product-card,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card,
.miski-shop-section .miski-product-card:nth-child(even),
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card:nth-child(even) {
    transform: none !important;
}

.miski-shop-section .miski-product-card {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
}

.miski-shop-section .miski-product-content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Mobile: two perfectly aligned columns, square photos, fixed content rhythm. */
@media (max-width: 767px) {
    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: auto !important;
        column-gap: 9px !important;
        row-gap: 12px !important;
        align-items: stretch !important;
        padding-bottom: 8px !important;
    }

    .miski-shop-section .miski-product-card,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card,
    .miski-shop-section .miski-product-card:nth-child(even),
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card:nth-child(even) {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        transform: none !important;
        align-self: stretch !important;
    }

    /* 1:1 frame matches the recommended 1000 x 1000 product image. */
    .miski-shop-section .miski-product-gallery,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-gallery,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card.miski-mobile-tall .miski-product-gallery,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card.miski-mobile-wide .miski-product-gallery {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
        flex: 0 0 auto !important;
        background: #fff !important;
    }

    .miski-shop-section .miski-product-slide img,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-slide img {
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #fff !important;
        transform: none !important;
    }

    .miski-shop-section .miski-product-content,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content {
        position: relative !important;
        flex: 1 1 auto !important;
        height: auto !important;
        min-height: 104px !important;
        margin: 0 !important;
        padding: 9px 8px 42px !important;
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
    }

    /* All titles reserve exactly two lines so prices start on the same baseline. */
    .miski-shop-section .miski-product-content h3,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-content h3 {
        width: 100% !important;
        min-height: 2.6em !important;
        max-height: 2.6em !important;
        margin: 0 !important;
        display: -webkit-box !important;
        overflow: hidden !important;
        color: #7A3159 !important;
        font-size: 11.8px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        letter-spacing: -.08px !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .miski-shop-section .miski-product-content h3 a {
        color: inherit !important;
        text-decoration: none !important;
    }

    /* Price row always occupies the same area and sits directly below the title. */
    .miski-shop-section .miski-product-meta,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-meta {
        width: 100% !important;
        min-height: 28px !important;
        margin: 7px 0 0 !important;
        padding: 0 31px 0 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        overflow: hidden !important;
    }

    .miski-shop-section .miski-product-price,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-price {
        min-width: 0 !important;
        max-width: 100% !important;
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        align-items: baseline !important;
        gap: 4px !important;
        overflow: hidden !important;
        color: #DB5075 !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    .miski-shop-section .miski-product-price ins {
        order: 1 !important;
        color: #DB5075 !important;
        font-size: inherit !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .miski-shop-section .miski-product-discount {
        order: 2 !important;
        flex: 0 0 auto !important;
    }

    .miski-shop-section .miski-product-price del {
        order: 3 !important;
        display: inline-flex !important;
        color: #9B7D8C !important;
        font-size: 9px !important;
        font-weight: 500 !important;
        opacity: .95 !important;
        white-space: nowrap !important;
    }

    /* Cart icon is locked to the same bottom-right position on every card. */
    .miski-shop-section .miski-product-cta,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-cta {
        position: absolute !important;
        right: 8px !important;
        bottom: 8px !important;
        width: 29px !important;
        height: 29px !important;
        min-width: 29px !important;
        min-height: 29px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 370px) {
    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        gap: 8px !important;
        row-gap: 10px !important;
    }

    .miski-shop-section .miski-product-card:nth-child(even),
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card:nth-child(even) {
        transform: none !important;
    }

    .miski-shop-section .miski-product-content {
        min-height: 100px !important;
        padding: 8px 7px 40px !important;
    }

    .miski-shop-section .miski-product-content h3 {
        font-size: 10.8px !important;
    }

    .miski-shop-section .miski-product-price,
    .miski-shop-section .miski-product-price ins {
        font-size: 12px !important;
    }
}

/* ==================================================
   HELLANI MODERN SHOP v1.1.0
   Preserve the proven Modern Shop layout; only expose the requested
   section background and category hover overlay as visual controls.
================================================== */

.miski-shop-section {
    background:
        radial-gradient(circle at 96% 2%, rgba(219,80,117,.18), transparent 27%),
        radial-gradient(circle at 2% 100%, rgba(219,80,117,.10), transparent 28%),
        var(--hellani-section-background, #FFF8FB) !important;
}

/* Categories remain the first visible block and respect the original inner margins. */
.miski-shop-section .miski-shop-toolbar {
    margin-top: 0 !important;
}

/* Clean placeholder until a WooCommerce category photo is uploaded. */
.miski-shop-section .miski-filter-card-media.is-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(145deg, #FFFFFF, #F8E7EE) !important;
}

.miski-shop-section .miski-category-placeholder-letter {
    position: relative !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--miski-primary, #7A3159) !important;
    font-size: clamp(25px, 2.2vw, 34px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

/* Requested category hover/selected overlay. It covers only the image area. */
.miski-shop-section .miski-shop-category-filters .miski-filter-card-overlay {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.25 / 1 !important;
    border-radius: 13px !important;
    background: var(--hellani-category-hover-overlay, #DB5075) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .24s ease !important;
}

.miski-shop-section .miski-filter-card:hover .miski-filter-card-overlay,
.miski-shop-section .miski-filter-card:focus-visible .miski-filter-card-overlay {
    opacity: .24 !important;
}

.miski-shop-section .miski-filter-card.is-active .miski-filter-card-overlay {
    opacity: .32 !important;
}

/* Keep the active check above the overlay. */
.miski-shop-section .miski-filter-card-selected {
    z-index: 4 !important;
}

/* Standalone category shortcode: same placeholder behavior. */
.miski-categories-section .miski-category-card-media.is-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #7A3159, #55213D);
}

.miski-categories-section .miski-category-placeholder-letter {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
}


/* ==================================================
   HELLANI MODERN SHOP v1.2.0 — CUSTOMIZE VIEW
   All values are supplied as CSS variables by [hellani_products].
================================================== */

/* Category cards */
.miski-shop-section .miski-filter-card-media,
.miski-shop-section .miski-filter-card-media.is-placeholder {
    background: var(--hellani-category-card-background, #FFFFFF) !important;
}

.miski-shop-section .miski-filter-card-copy strong {
    color: var(--hellani-category-name-color, #7A3159) !important;
}

.miski-shop-section .miski-category-placeholder-letter {
    color: var(--hellani-category-letter-color, #7A3159) !important;
}

.miski-shop-section .miski-filter-card:hover .miski-filter-card-media,
.miski-shop-section .miski-filter-card:focus-visible .miski-filter-card-media,
.miski-shop-section .miski-filter-card.is-active .miski-filter-card-media {
    border-color: var(--hellani-category-selected-color, #DB5075) !important;
}

.miski-shop-section .miski-filter-card.is-active .miski-filter-card-media {
    box-shadow: 0 0 0 2px var(--hellani-category-selected-color, #DB5075), 0 10px 24px rgba(122,49,89,.13) !important;
}

.miski-shop-section .miski-filter-card-selected {
    background: var(--hellani-category-selected-color, #DB5075) !important;
    color: #fff !important;
}

.miski-shop-section .miski-category-slider-arrow {
    background: var(--hellani-category-arrow-bg, #7A3159) !important;
    color: var(--hellani-category-arrow-color, #fff) !important;
}

.miski-shop-section .miski-category-slider-arrow:hover:not(:disabled),
.miski-shop-section .miski-category-slider-arrow:focus-visible:not(:disabled) {
    border-color: var(--hellani-category-selected-color, #DB5075) !important;
    background: var(--hellani-category-selected-color, #DB5075) !important;
    color: var(--hellani-category-arrow-color, #fff) !important;
}

/* Search */
.miski-shop-section .miski-shop-inline-search {
    background: var(--hellani-search-bg, #fff) !important;
    border-color: var(--hellani-search-border, #ead7e1) !important;
}

.miski-shop-section .miski-shop-inline-search input,
.miski-shop-section .miski-shop-inline-search input::placeholder {
    color: var(--hellani-search-text, #9B7D8C) !important;
}

.miski-shop-section .miski-search-icon-wrap,
.miski-shop-section .miski-search-icon,
.miski-shop-section .miski-search-clear {
    color: var(--hellani-search-icon, #DB5075) !important;
    stroke: var(--hellani-search-icon, #DB5075) !important;
}

/* Product cards */
.miski-shop-section .miski-product-card,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {
    background: var(--hellani-product-card-bg, #fff) !important;
    border-color: var(--hellani-product-card-border, #EAD7E1) !important;
    border-radius: var(--hellani-product-radius, 22px) !important;
}

.miski-shop-section .miski-product-gallery,
.miski-shop-section .miski-product-slide,
.miski-shop-section .miski-product-image-link {
    background: var(--hellani-product-image-bg, #F8E7EE) !important;
}

.miski-shop-section .miski-product-category {
    color: var(--hellani-product-category, #DB5075) !important;
}

.miski-shop-section .miski-product-content h3,
.miski-shop-section .miski-product-content h3 a {
    color: var(--hellani-product-title, #7A3159) !important;
}

.miski-shop-section .miski-product-content > p,
.miski-shop-section .miski-quantity-label,
.miski-shop-section .miski-cart-feedback {
    color: var(--hellani-product-text, #9B7D8C) !important;
}

.miski-shop-section .miski-product-price,
.miski-shop-section .miski-product-price ins,
.miski-shop-section .miski-product-discount {
    color: var(--hellani-product-price, #DB5075) !important;
}

.miski-shop-section .miski-product-stock {
    color: var(--hellani-product-stock-text, #9B7D8C) !important;
}

.miski-shop-section .miski-product-stock.is-in-stock i,
.miski-shop-section .miski-product-stock:not(.is-out-of-stock) i {
    background: var(--hellani-product-stock-dot, #DB5075) !important;
}

.miski-shop-section .miski-product-cta,
.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-cta,
.miski-shop-section .miski-shop-load-more {
    background: var(--hellani-product-button-bg, #7A3159) !important;
    border-color: var(--hellani-product-button-bg, #7A3159) !important;
    color: var(--hellani-product-button-text, #fff) !important;
}

.miski-shop-section .miski-product-cta:hover,
.miski-shop-section .miski-product-cta:focus-visible,
.miski-shop-section .miski-shop-load-more:hover,
.miski-shop-section .miski-shop-load-more:focus-visible {
    background: var(--hellani-product-button-hover, #DB5075) !important;
    border-color: var(--hellani-product-button-hover, #DB5075) !important;
    color: var(--hellani-product-button-text, #fff) !important;
}

/* Responsive grid controlled from Customize View. */
.miski-shop-section .miski-shop-track,
.miski-shop-section .miski-shop-track.is-mobile-masonry {
    grid-template-columns: repeat(var(--hellani-cols-desktop, 4), minmax(0, 1fr)) !important;
    gap: var(--hellani-gap-desktop, 18px) !important;
    row-gap: var(--hellani-gap-desktop, 18px) !important;
}

@media (max-width: 1023px) {
    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        grid-template-columns: repeat(var(--hellani-cols-tablet, 3), minmax(0, 1fr)) !important;
        gap: var(--hellani-gap-desktop, 18px) !important;
        row-gap: var(--hellani-gap-desktop, 18px) !important;
    }
}

@media (max-width: 767px) {
    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        grid-template-columns: repeat(var(--hellani-cols-mobile, 2), minmax(0, 1fr)) !important;
        gap: var(--hellani-gap-mobile, 10px) !important;
        row-gap: var(--hellani-gap-mobile, 10px) !important;
    }
}

/* ==================================================
   HELLANI MODERN SHOP v1.3.0
   Category style selector + configurable loader
================================================== */

/* ----- Circle category style ----- */
.miski-shop-section.hellani-category-style-circle .miski-category-slider-shell {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.miski-shop-section.hellani-category-style-circle .miski-shop-category-filters {
    gap: clamp(14px, 2vw, 28px) !important;
    align-items: flex-start !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.miski-shop-section.hellani-category-style-circle .miski-shop-category-filters .miski-filter-card,
.miski-shop-section.hellani-category-style-circle .miski-shop-category-filters button.miski-mobile-filter-hidden {
    width: max(var(--hellani-category-circle-size, 96px), 92px) !important;
    min-width: max(var(--hellani-category-circle-size, 96px), 92px) !important;
    flex: 0 0 max(var(--hellani-category-circle-size, 96px), 92px) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.miski-shop-section.hellani-category-style-circle .miski-filter-card-media,
.miski-shop-section.hellani-category-style-circle .miski-filter-card-media.is-placeholder {
    position: relative !important;
    width: var(--hellani-category-circle-size, 96px) !important;
    height: var(--hellani-category-circle-size, 96px) !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
    border: 2px solid color-mix(in srgb, var(--hellani-category-selected-color, #DB5075) 16%, transparent) !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: var(--hellani-category-card-background, #FFFFFF) !important;
    box-shadow: none !important;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

.miski-shop-section.hellani-category-style-circle .miski-filter-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}

.miski-shop-section.hellani-category-style-circle .miski-filter-card-overlay {
    top: 0 !important;
    left: 50% !important;
    width: var(--hellani-category-circle-size, 96px) !important;
    height: var(--hellani-category-circle-size, 96px) !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    transform: translateX(-50%) !important;
}

.miski-shop-section.hellani-category-style-circle .miski-filter-card:hover .miski-filter-card-media,
.miski-shop-section.hellani-category-style-circle .miski-filter-card:focus-visible .miski-filter-card-media {
    transform: translateY(-3px) !important;
    border-color: var(--hellani-category-selected-color, #DB5075) !important;
}

.miski-shop-section.hellani-category-style-circle .miski-filter-card.is-active .miski-filter-card-media {
    border-color: var(--hellani-category-selected-color, #DB5075) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--hellani-category-selected-color, #DB5075) 22%, transparent) !important;
}

.miski-shop-section.hellani-category-style-circle .miski-filter-card-copy {
    min-height: 0 !important;
    margin: 9px auto 0 !important;
    padding: 0 2px !important;
    display: block !important;
    text-align: center !important;
}

.miski-shop-section.hellani-category-style-circle .miski-filter-card-copy strong {
    display: block !important;
    color: var(--hellani-category-name-color, #7A3159) !important;
    font-size: clamp(10px, .9vw, 13px) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
}

.miski-shop-section.hellani-category-style-circle .miski-filter-card-selected {
    top: 2px !important;
    right: 2px !important;
    width: 24px !important;
    height: 24px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
}

.miski-shop-section.hellani-category-style-circle .miski-category-placeholder-letter {
    font-size: calc(var(--hellani-category-circle-size, 96px) * .28) !important;
}

/* ----- Loader customization ----- */
.miski-shop-section .miski-shop-loader {
    background: var(--hellani-loader-overlay, #FFF8FB) !important;
}

.miski-shop-section .miski-shop-loader-card {
    background: var(--hellani-loader-card-bg, #ffffff) !important;
}

.miski-shop-section .miski-shop-loader-logo {
    width: min(var(--hellani-loader-logo-width, 155px), 72vw) !important;
    max-width: 100% !important;
    max-height: 100px !important;
}

.miski-shop-section .miski-shop-loader-spinner {
    border-top-color: var(--hellani-loader-spinner, #DB5075) !important;
}

.miski-shop-section .miski-shop-loader-text {
    color: var(--hellani-loader-text, #9B7D8C) !important;
}

@media (max-width: 767px) {
    .miski-shop-section.hellani-category-style-circle .miski-shop-category-filters {
        gap: 14px !important;
    }

    .miski-shop-section.hellani-category-style-circle .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section.hellani-category-style-circle .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: max(var(--hellani-category-circle-size, 96px), 78px) !important;
        min-width: max(var(--hellani-category-circle-size, 96px), 78px) !important;
        flex-basis: max(var(--hellani-category-circle-size, 96px), 78px) !important;
    }

    .miski-shop-section.hellani-category-style-circle .miski-filter-card-copy strong {
        font-size: 11px !important;
    }
}

/* ==================================================
   Hellani v1.3.1 - circular categories customization
   Removes the old rectangular look and adds richer
   hover/selected customization for circle categories.
================================================== */

.miski-shop-section[class*="hellani-category-style-circle"] .miski-shop-category-filters {
    align-items: flex-start !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-shop-category-filters .miski-filter-card,
.miski-shop-section[class*="hellani-category-style-circle"] .miski-shop-category-filters button.miski-mobile-filter-hidden {
    width: clamp(92px, calc(var(--hellani-category-circle-size, 96px) + 22px), 200px) !important;
    min-width: clamp(92px, calc(var(--hellani-category-circle-size, 96px) + 22px), 200px) !important;
    flex: 0 0 clamp(92px, calc(var(--hellani-category-circle-size, 96px) + 22px), 200px) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card-media,
.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card-media.is-placeholder {
    position: relative !important;
    width: var(--hellani-category-circle-size, 96px) !important;
    height: var(--hellani-category-circle-size, 96px) !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
    border: 1.6px solid var(--hellani-category-ring-color, #ead7e1) !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: var(--hellani-category-card-background, #FFFFFF) !important;
    box-shadow: 0 8px 18px rgba(122,49,89, 0.05) !important;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    width: var(--hellani-category-circle-size, 96px) !important;
    height: var(--hellani-category-circle-size, 96px) !important;
    border-radius: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--hellani-category-hover-overlay, #DB5075) !important;
    opacity: 0 !important;
    transition: opacity .22s ease !important;
    pointer-events: none !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card-copy {
    min-height: 0 !important;
    margin: 11px auto 0 !important;
    padding: 0 4px !important;
    text-align: center !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card-copy strong {
    display: block !important;
    color: var(--hellani-category-name-color, #7A3159) !important;
    font-size: clamp(11px, .95vw, 14px) !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;
    white-space: normal !important;
    transition: color .22s ease !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-category-placeholder-letter {
    color: var(--hellani-category-letter-color, #7A3159) !important;
    font-size: calc(var(--hellani-category-circle-size, 96px) * .29) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card:hover .miski-filter-card-media,
.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card:focus-visible .miski-filter-card-media {
    transform: translateY(-4px) !important;
    border-color: var(--hellani-category-hover-ring-color, #DB5075) !important;
    box-shadow: 0 12px 24px rgba(122,49,89, 0.08) !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card:hover .miski-filter-card-overlay,
.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card:focus-visible .miski-filter-card-overlay {
    opacity: .16 !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card:hover .miski-filter-card-copy strong,
.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card:focus-visible .miski-filter-card-copy strong {
    color: var(--hellani-category-hover-text-color, #7A3159) !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card.is-active .miski-filter-card-media {
    border-color: var(--hellani-category-selected-color, #DB5075) !important;
    background: var(--hellani-category-selected-bg, #ffffff) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--hellani-category-selected-color, #DB5075) 18%, transparent), 0 16px 28px rgba(122,49,89, 0.06) !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card.is-active .miski-filter-card-overlay {
    opacity: .10 !important;
    background: var(--hellani-category-selected-color, #DB5075) !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card.is-active .miski-filter-card-copy strong {
    color: var(--hellani-category-selected-name, #7A3159) !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card-selected {
    top: 4px !important;
    right: 4px !important;
    width: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    background: var(--hellani-category-check-bg, #DB5075) !important;
    color: var(--hellani-category-check-icon, #ffffff) !important;
    box-shadow: 0 8px 16px rgba(0,0,0,.12) !important;
    opacity: 0 !important;
    transform: scale(.76) !important;
    transition: opacity .18s ease, transform .18s ease !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card-selected svg {
    stroke: currentColor !important;
}

.miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card.is-active .miski-filter-card-selected {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Optional circle style variations */
.miski-shop-section.hellani-category-style-circle-soft .miski-filter-card-media {
    box-shadow: 0 10px 30px rgba(217, 149, 180, 0.12) !important;
}
.miski-shop-section.hellani-category-style-circle-minimal .miski-filter-card-media {
    box-shadow: none !important;
    background: transparent !important;
}
.miski-shop-section.hellani-category-style-circle-minimal .miski-filter-card.is-active .miski-filter-card-media {
    background: color-mix(in srgb, var(--hellani-category-selected-color, #DB5075) 8%, #ffffff 92%) !important;
}

@media (max-width: 767px) {
    .miski-shop-section[class*="hellani-category-style-circle"] .miski-shop-category-filters {
        gap: 14px !important;
    }
    .miski-shop-section[class*="hellani-category-style-circle"] .miski-shop-category-filters .miski-filter-card,
    .miski-shop-section[class*="hellani-category-style-circle"] .miski-shop-category-filters button.miski-mobile-filter-hidden {
        width: max(calc(var(--hellani-category-circle-size, 96px) + 16px), 82px) !important;
        min-width: max(calc(var(--hellani-category-circle-size, 96px) + 16px), 82px) !important;
        flex-basis: max(calc(var(--hellani-category-circle-size, 96px) + 16px), 82px) !important;
    }
    .miski-shop-section[class*="hellani-category-style-circle"] .miski-filter-card-copy strong {
        font-size: 11px !important;
    }
}


/* ==================================================
   HELLANI MODERN SHOP v1.3.3
   Definitive large-screen catalogue fix
   - No :has() product-count detection
   - Fixed sensible desktop card width
   - Always centered on wide displays
================================================== */

@media (min-width: 1200px) {
    .miski-shop-section .miski-shop-viewport,
    .miski-shop-section .miski-shop-load-more-wrap,
    .miski-shop-section .miski-shop-empty {
        width: min(100%, 1440px) !important;
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry {
        display: grid !important;
        width: 100% !important;
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: repeat(auto-fit, minmax(260px, 320px)) !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: var(--hellani-gap-desktop, 18px) !important;
        row-gap: var(--hellani-gap-desktop, 18px) !important;
    }

    .miski-shop-section .miski-product-card,
    .miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {
        width: 100% !important;
        max-width: 320px !important;
        min-width: 0 !important;
        margin: 0 !important;
        justify-self: stretch !important;
    }

    .miski-shop-section .miski-product-gallery {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (min-width: 1800px) {
    .miski-shop-section .miski-shop-viewport,
    .miski-shop-section .miski-shop-track,
    .miski-shop-section .miski-shop-track.is-mobile-masonry,
    .miski-shop-section .miski-shop-load-more-wrap,
    .miski-shop-section .miski-shop-empty {
        max-width: 1480px !important;
    }
}


/* ==================================================
   HELLANI MODERN SHOP v1.3.4
   Large-screen category centering fix
   - Center category cards when the full row fits
   - Remove empty right-side space
   - Hide navigation arrows when scrolling is unnecessary
================================================== */
@media (min-width: 1024px) {
    .miski-shop-section .miski-shop-category-filters.hellani-category-no-overflow {
        justify-content: center !important;
        overflow-x: hidden !important;
        cursor: default !important;
        scroll-snap-type: none !important;
    }

    .miski-shop-section.hellani-categories-fit .miski-category-slider-shell {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .miski-shop-section.hellani-categories-fit .miski-category-slider-arrow {
        display: none !important;
    }

    .miski-shop-section[class*="hellani-category-style-circle"] .miski-shop-category-filters.hellani-category-no-overflow {
        gap: clamp(22px, 2.6vw, 48px) !important;
        width: 100% !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

@media (min-width: 1600px) {
    .miski-shop-section[class*="hellani-category-style-circle"] .miski-shop-category-filters.hellani-category-no-overflow {
        gap: clamp(28px, 2.8vw, 58px) !important;
        max-width: 1440px !important;
    }
}
\n\n/* ==================================================\n   HELLANI MODERN SHOP v1.3.5 — SHADOWLINE PALETTE\n   Layout intentionally unchanged from v1.3.4.\n================================================== */\n.miski-shop-section {\n    color: #7A3159;\n    background:\n        radial-gradient(circle at 96% 2%, rgba(219,80,117,.10), transparent 27%),\n        radial-gradient(circle at 2% 100%, rgba(248,231,238,.70), transparent 30%),\n        var(--hellani-section-background, #FFF8FB) !important;\n}\n.miski-shop-section .miski-shop-inline-search {\n    background: var(--hellani-search-bg, #FFFFFF) !important;\n    border-color: var(--hellani-search-border, #EAD7E1) !important;\n    box-shadow: 0 12px 30px rgba(122,49,89,.08) !important;\n}\n.miski-shop-section .miski-search-icon-wrap {\n    background: #F8E7EE !important;\n    color: var(--hellani-search-icon, #DB5075) !important;\n}\n.miski-shop-section .miski-category-slider-arrow {\n    background: var(--hellani-category-arrow-bg, #55213D) !important;\n    color: var(--hellani-category-arrow-color, #FFFFFF) !important;\n    box-shadow: 0 10px 24px rgba(85,33,61,.16) !important;\n}\n.miski-shop-section .miski-category-slider-arrow:hover:not(:disabled),\n.miski-shop-section .miski-category-slider-arrow:focus-visible:not(:disabled) {\n    background: var(--hellani-category-selected-color, #DB5075) !important;\n    border-color: var(--hellani-category-selected-color, #DB5075) !important;\n}\n.miski-shop-section .miski-product-card,\n.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-card {\n    box-shadow: 0 16px 38px rgba(122,49,89,.08) !important;\n}\n.miski-shop-section .miski-product-content h3,\n.miski-shop-section .miski-product-content h3 a {\n    color: var(--hellani-product-title, #7A3159) !important;\n}\n.miski-shop-section .miski-product-price,\n.miski-shop-section .miski-product-price ins,\n.miski-shop-section .miski-product-discount {\n    color: var(--hellani-product-price, #DB5075) !important;\n}\n.miski-shop-section .miski-product-cta,\n.miski-shop-section .miski-shop-track.is-mobile-masonry .miski-product-cta,\n.miski-shop-section .miski-shop-load-more {\n    background: var(--hellani-product-button-bg, #DB5075) !important;\n    border-color: var(--hellani-product-button-bg, #DB5075) !important;\n    color: var(--hellani-product-button-text, #FFFFFF) !important;\n}\n.miski-shop-section .miski-product-cta:hover,\n.miski-shop-section .miski-product-cta:focus-visible,\n.miski-shop-section .miski-shop-load-more:hover,\n.miski-shop-section .miski-shop-load-more:focus-visible {\n    background: var(--hellani-product-button-hover, #B83E64) !important;\n    border-color: var(--hellani-product-button-hover, #B83E64) !important;\n}\n