.swf-color-carousel,
.swf-filter-shop,
.swf-color-carousel *,
.swf-filter-shop * {
    box-sizing: border-box;
}

.swf-color-carousel {
    --swf-columns: var(--swf-columns-default, 6);
    --swf-gap: 12px;
    --swf-item-size: 112px;
    position: relative;
    width: 100%;
    padding: 34px 0 28px;
    overflow: hidden;
    color: #171717;
    background: #f8f6ee;
}

.swf-color-carousel--full {
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
}

.swf-color-carousel__head {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    width: 924px;
    min-height: 30px;
    padding: 0 20px;
    margin:     auto;
    margin-bottom: 50px;
  
}

.swf-color-carousel__title {
    justify-self: left;
    margin: 0 !important;
    padding: 0;
    color: #171717;
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.swf-color-carousel__nav {
    justify-self: right;
    display: flex;
    gap: 7px;
}

.swf-carousel-arrow {
    display: block;
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.swf-carousel-arrow:hover,
.swf-carousel-arrow:focus-visible {
    color: inherit;
    background: transparent;
    transform: scale(1.08);
}

.swf-carousel-arrow:disabled {
    opacity: .34;
    cursor: default;
    transform: none;
}

.swf-carousel-arrow img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
}

.swf-color-carousel__track {
    display: flex;
    align-items: center;
    gap: var(--swf-gap);
    width: 100%;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: none;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-y;
    cursor: grab;
}

.swf-color-carousel__track::-webkit-scrollbar {
    display: none;
}

.swf-color-carousel__track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.swf-color-card {
    position: relative;
    flex: 0 0 var(--swf-item-size);
    width: var(--swf-item-size);
    color: #fff;
    text-decoration: none !important;
    user-select: none;
    -webkit-user-drag: none;
}

.swf-color-card__flower {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: visible;
    background: transparent;
    isolation: isolate;
}

.swf-color-carousel__filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.swf-color-card__flower img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
    -webkit-mask:
        radial-gradient(circle at 50% 18%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 78% 28%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 86% 58%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 68% 82%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 36% 83%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 14% 59%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 22% 29%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 50% 50%, #000 0 44%, transparent 45%);
    mask:
        radial-gradient(circle at 50% 18%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 78% 28%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 86% 58%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 68% 82%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 36% 83%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 14% 59%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 22% 29%, #000 0 26%, transparent 27%),
        radial-gradient(circle at 50% 50%, #000 0 44%, transparent 45%);
}

.swf-color-card__outline {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    opacity: 0;
    filter: var(--swf-hover-filter);
    pointer-events: none;
    transition: opacity .28s ease;
}

.swf-color-card__image {
    z-index: 1;
}

.swf-color-card:hover .swf-color-card__outline,
.swf-color-card:focus-visible .swf-color-card__outline {
    opacity: 1;
}

.swf-color-card__label {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    max-width: calc(100% - 20px);
    padding: 5px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(29, 28, 27, .88);
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(3px);
}

.swf-color-card__label i {
    display: block;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
}

.swf-editor-note {
    padding: 15px;
    border: 1px dashed #c3c4c7;
    background: #fff;
    color: #50575e;
    font-size: 13px;
}

/* Filter results */
.swf-filter-shop {
    --swf-text: #20201e;
    --swf-line: #99978f;
    --swf-bg: #faf8f1;
    position: relative;
    width: 100%;
    min-height: 500px;
    padding: 16px 16px 38px;
    color: var(--swf-text);
    background: var(--swf-bg);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.swf-filter-shop a {
    color: inherit;
}

/* Prevent theme/Elementor accent colors from turning filter controls pink. */
.swf-filter-shop a:hover,
.swf-filter-shop a:focus,
.swf-filter-shop a:focus-visible {
    color: inherit !important;
    background: transparent !important;
}

.swf-filter-shop button:hover,
.swf-filter-shop button:focus,
.swf-filter-shop button:focus-visible {
    color: var(--swf-text) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.swf-filter-shop__top {
    margin-bottom: 20px;
}

.swf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    color: var(--swf-text);
    font-size: 12px;
    line-height: 1;
    text-decoration: none !important;
}

.swf-back-link svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.swf-filter-shop__heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
}

.swf-results-title {
    flex: 1;
    margin: 0 !important;
    padding: 0;
    color: var(--swf-text);
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.06;
}

.swf-filter-shop__actions {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-top: 8px;
    white-space: nowrap;
}

.swf-toggle-filters,
.swf-sort-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    color: var(--swf-text);
    background: transparent;
    box-shadow: none;
    font: inherit;
    line-height: 1.2;
}

.swf-toggle-filters {
    cursor: pointer;
}

.swf-toggle-filters:hover,
.swf-toggle-filters:focus-visible {
    color: #000;
    background: transparent;
}

.swf-toggle-filters svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-linecap: round;
}

.swf-sort-label {
    position: relative;
}

.swf-sort-label select {
    width: auto;
    min-width: 48px;
    max-width: 160px;
    height: auto;
    padding: 0 18px 0 0;
    border: 0;
    outline: 0;
    color: var(--swf-text);
    background: transparent;
    box-shadow: none;
    font: inherit;
    appearance: none;
    cursor: pointer;
}

.swf-sort-label > svg {
    position: absolute;
    right: 0;
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    pointer-events: none;
}

.swf-filter-shop__body {
    position: relative;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 16px;
}

.swf-filter-sidebar {
    min-width: 0;
    transition: width .35s ease, opacity .25s ease, transform .35s ease;
}

.swf-filter-shop.filters-hidden .swf-filter-shop__body {
    grid-template-columns: 0 minmax(0, 1fr);
}

.swf-filter-shop.filters-hidden .swf-filter-sidebar {
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-12px);
}

.swf-filter-sidebar__mobile-head {
    display: none;
}

.swf-filter-group {
    min-width: 190px;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid var(--swf-line);
}

.swf-filter-group:last-child {
    border-bottom: 1px solid var(--swf-line);
}

.swf-filter-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--swf-text);
    background: transparent;
    box-shadow: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.swf-filter-group__toggle:hover,
.swf-filter-group__toggle:focus-visible {
    border-color: transparent !important;
    border-radius: 0 !important;
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.swf-filter-group__toggle span {
    font-weight: 500;
}

.swf-filter-group__toggle em {
    font-style: normal;
    font-weight: 400;
}

.swf-filter-group__toggle i {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
}

.swf-filter-group__toggle i::before,
.swf-filter-group__toggle i::after {
    content: "";
    position: absolute;
    left: 1px;
    top: 5px;
    width: 10px;
    height: 1px;
    background: currentColor;
}

.swf-filter-group__toggle i::after {
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.swf-filter-group.is-open .swf-filter-group__toggle i::after {
    transform: rotate(0);
}

.swf-filter-group__content {
    display: none;
    padding: 0 8px 18px;
}

.swf-filter-group.is-open .swf-filter-group__content {
    display: block;
}

.swf-check {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 23px;
    margin: 0;
    color: var(--swf-text);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    cursor: pointer;
}

.swf-check.is-sale {
    color: #ed302f;
}

.swf-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.swf-check__box {
    position: relative;
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border: 1px solid #d4d2cc;
    border-radius: 2px;
    background: transparent;
}

.swf-check input:checked + .swf-check__box {
    border-color: #262624;
    background: #262624;
}

.swf-check input:checked + .swf-check__box::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 1px;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.swf-check input:focus-visible + .swf-check__box {
    outline: 2px solid #6aaeff;
    outline-offset: 2px;
}

.swf-products-panel {
    position: relative;
    min-width: 0;
}

.swf-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    align-items: start;
}

.swf-product-card {
    min-width: 0;
    margin: 0;
    color: var(--swf-text);
    background: transparent;
}

.swf-product-card__image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.24;
    overflow: hidden;
    background: #eee;
    text-decoration: none !important;
}

.swf-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22,.61,.36,1);
}

.swf-product-card:hover .swf-product-card__image img {
    transform: scale(1.035);
}

.swf-product-card__content {
    padding: 9px 9px 20px;
}

.swf-product-card__badge {
    display: inline-block;
    margin: 0 0 5px;
    padding: 2px 4px;
    color: #fff;
    background: #222;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.swf-product-card h2 {
    margin: 0 0 2px !important;
    padding: 0;
    color: var(--swf-text);
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(18px, 1.55vw, 24px);
    font-weight: 400;
    line-height: 1.05;
}

.swf-product-card h2 a {
    color: inherit;
    text-decoration: none !important;
}

.swf-product-card p {
    min-height: 1.35em;
    margin: 0 0 5px;
    color: var(--swf-text);
    font-size: 12px;
    line-height: 1.35;
}

.swf-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
    line-height: 1.3;
}

.swf-product-card__price,
.swf-product-card__price .amount,
.swf-product-card__price ins,
.swf-product-card__price del {
    color: var(--swf-text);
    font-weight: 600;
    text-decoration-thickness: 1px;
}

.swf-product-card__price ins {
    text-decoration: none;
}

.swf-from {
    font-size: 10px;
    letter-spacing: .02em;
}

.swf-product-card__colors {
    color: #a2a09a;
}

.swf-no-products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 330px;
    padding: 30px;
    text-align: center;
}

.swf-no-products strong {
    margin-bottom: 6px;
    font-family: "Times New Roman", Times, serif;
    font-size: 26px;
    font-weight: 400;
}

.swf-no-products span {
    color: #77746d;
}

.swf-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 25px 0 5px;
}

.swf-pagination button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    border: 1px solid #bdbab1;
    border-radius: 50%;
    color: var(--swf-text);
    background: transparent;
    box-shadow: none;
    font: inherit;
    cursor: pointer;
}

.swf-pagination button:hover,
.swf-pagination button.is-current {
    color: #fff !important;
    border-color: #222 !important;
    background: #222 !important;
}

.swf-pagination button:disabled {
    opacity: .35;
    cursor: default;
}

.swf-loading {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: grid;
    place-items: start center;
    padding-top: 100px;
    background: rgba(250, 248, 241, .72);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
}

.swf-products-panel[aria-busy="true"] .swf-loading {
    opacity: 1;
    visibility: visible;
}

.swf-loading span {
    width: 30px;
    height: 30px;
    border: 2px solid #b7b4ad;
    border-top-color: #1d1d1b;
    border-radius: 50%;
    animation: swf-spin .75s linear infinite;
}

.swf-filter-overlay {
    display: none;
}

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

@media (max-width: 1024px) {
    .swf-color-carousel { --swf-columns: 4; --swf-item-size: 126px; }
    .swf-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .swf-results-title { font-size: 30px; }
}

@media (max-width: 767px) {
    .swf-color-carousel {
        --swf-columns: 2;
        --swf-item-size: 124px;
        --swf-gap: 14px;
        padding: 25px 0 22px;
    }

    .swf-color-carousel__head {
        display: flex;
        justify-content: space-between;
        width: auto;
        margin-bottom:40px;
        padding: 0 20px;
    }

    .swf-color-carousel__track {
        padding: 0;
    }

    .swf-color-card__label {
        min-height: 25px;
        padding: 4px 9px;
        font-size: 12px;
    }

    .swf-filter-shop {
        padding: 14px 12px 30px;
    }

    .swf-filter-shop__heading-row {
        display: block;
    }

    .swf-results-title {
        font-size: 27px;
    }

    .swf-filter-shop__actions {
        justify-content: space-between;
        width: 100%;
        padding-top: 16px;
    }

    .swf-toggle-filters__text {
        font-size: 0;
    }

    .swf-toggle-filters__text::after {
        content: "Filters";
        font-size: 13px;
    }

    .swf-filter-shop__body,
    .swf-filter-shop.filters-hidden .swf-filter-shop__body {
        display: block;
    }

    .swf-filter-sidebar,
    .swf-filter-shop.filters-hidden .swf-filter-sidebar {
        position: fixed;
        z-index: 99992;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(88vw, 340px);
        padding: 0 18px 30px;
        overflow-y: auto;
        color: var(--swf-text);
        background: var(--swf-bg);
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-105%);
        transition: transform .32s ease;
    }

    .swf-filter-shop.mobile-filters-open .swf-filter-sidebar {
        transform: translateX(0);
    }

    .swf-filter-sidebar__mobile-head {
        position: sticky;
        z-index: 3;
        top: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 62px;
        border-bottom: 1px solid var(--swf-line);
        background: var(--swf-bg);
    }

    .swf-filter-sidebar__mobile-head strong {
        font-family: "Times New Roman", Times, serif;
        font-size: 24px;
        font-weight: 400;
    }

    .swf-filter-close {
        padding: 0;
        border: 0;
        color: inherit;
        background: transparent;
        box-shadow: none;
        font-size: 30px;
        font-weight: 300;
        line-height: 1;
    }

    .swf-filter-overlay {
        position: fixed;
        z-index: 99991;
        inset: 0;
        display: block;
        background: rgba(0,0,0,.38);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease;
    }

    .swf-filter-shop.mobile-filters-open .swf-filter-overlay {
        opacity: 1;
        visibility: visible;
    }

    .swf-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px;
    }

    .swf-product-card__content {
        padding: 8px 5px 18px;
    }

    .swf-product-card h2 {
        font-size: 18px;
    }

    .swf-product-card p {
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .swf-color-carousel { --swf-item-size: 116px; }
    .swf-product-card__image { aspect-ratio: 1 / 1.18; }
}

@media (prefers-reduced-motion: reduce) {
    .swf-color-carousel__track { scroll-behavior: auto; }
    .swf-color-card__outline,
    .swf-product-card__image img,
    .swf-filter-sidebar { transition: none; }
    .swf-loading span { animation-duration: 1.5s; }
}
