.btp-lartisan-shop,
.btp-lartisan-shop * {
    box-sizing: border-box;
}

.btp-lartisan-shop {
    --btp-shop-primary: #B68A45;
    --btp-shop-secondary: #916A32;
    --btp-shop-cream: #F7F2E9;
    --btp-shop-text: #211b16;
    --btp-shop-muted: #6f675f;
    --btp-shop-border: #e7dccd;
    --btp-shop-surface: #fffdf9;
    --btp-shop-shadow: 0 12px 32px rgba(55, 39, 23, 0.08);
    position: relative;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 22px 26px 48px;
    color: var(--btp-shop-text);
    font-family: inherit;
}

.btp-lartisan-shop button,
.btp-lartisan-shop input,
.btp-lartisan-shop select {
    font: inherit;
}

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

.btp-shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.btp-shop-result-count {
    flex: 0 0 auto;
    color: var(--btp-shop-muted);
    font-size: 14px;
}

.btp-shop-result-count strong {
    color: var(--btp-shop-text);
    font-weight: 600;
}

.btp-shop-topbar__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
}

.btp-shop-select,
.btp-shop-search {
    display: flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid var(--btp-shop-border);
    background: #fff;
    border-radius: 2px;
}

.btp-shop-select {
    padding-left: 14px;
}

.btp-shop-select__prefix {
    color: var(--btp-shop-muted);
    font-size: 13px;
    white-space: nowrap;
}

.btp-shop-select select {
    min-width: 150px;
    height: 42px;
    border: 0 !important;
    background: transparent;
    box-shadow: none !important;
    color: var(--btp-shop-text);
    font-weight: 600;
    font-size: 13px;
    padding: 0 34px 0 5px;
}

.btp-shop-search {
    position: relative;
    min-width: 255px;
}

.btp-shop-search input {
    width: 100%;
    min-height: 42px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 42px 0 14px !important;
    font-size: 13px;
}

.btp-shop-search > span:last-child {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--btp-shop-text);
    pointer-events: none;
}

.btp-shop-view-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btp-shop-view-switch button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--btp-shop-muted);
    cursor: pointer;
    font-size: 12px;
}

.btp-shop-view-switch button.is-active {
    color: var(--btp-shop-primary);
}

.btp-shop-view-switch button.is-active svg {
    fill: currentColor;
    stroke: currentColor;
}

.btp-shop-category-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    overflow: visible;
    padding: 0;
    margin-bottom: 16px;
}

.btp-shop-category-chips button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 22px;
    border: 1px solid var(--btp-shop-border);
    border-radius: 999px;
    background: #fff;
    color: var(--btp-shop-text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btp-shop-category-chips button:hover,
.btp-shop-category-chips button.is-active {
    border-color: var(--btp-shop-primary);
    background: var(--btp-shop-primary);
    color: #fff;
}

.btp-shop-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.btp-shop-filters {
    position: sticky;
    top: 104px;
    padding: 20px 18px;
    border: 1px solid var(--btp-shop-border);
    background: rgba(255, 253, 249, 0.96);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(72, 51, 29, 0.04);
    z-index: 4;
}

.btp-shop-filters > h2 {
    margin: 0 0 6px;
    font-family: inherit;
    font-size: 20px;
    line-height: 1.25;
}

.btp-shop-filters > h2::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 8px;
    background: var(--btp-shop-primary);
}

.btp-shop-filters__mobile-head,
.btp-shop-mobile-filter-toggle,
.btp-shop-filter-backdrop {
    display: none;
}

.btp-filter-group {
    min-width: 0;
    margin: 0;
    padding: 17px 0;
    border: 0;
    border-bottom: 1px solid var(--btp-shop-border);
}

.btp-filter-group legend {
    width: 100%;
    padding: 0;
}

.btp-filter-group legend button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--btp-shop-text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.btp-filter-group legend button span:last-child {
    color: var(--btp-shop-primary);
    font-size: 16px;
}

.btp-filter-group__content {
    display: none;
    padding-top: 13px;
}

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

.btp-filter-check {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
    color: var(--btp-shop-muted);
    cursor: pointer;
    font-size: 11px;
}

.btp-filter-check input {
    appearance: none;
    width: 14px;
    height: 14px;
    margin: 0;
    border: 1px solid #cdbb9f;
    background: #fff;
    border-radius: 2px;
    cursor: pointer;
}

.btp-filter-check input:checked {
    border-color: var(--btp-shop-primary);
    background-color: var(--btp-shop-primary);
    box-shadow: inset 0 0 0 3px #fff;
}

.btp-filter-check small {
    color: #9c9389;
    font-size: 10px;
}

.btp-price-range {
    position: relative;
    min-height: 58px;
    padding-top: 14px;
}

.btp-price-range__track {
    position: absolute;
    top: 20px;
    left: 4px;
    right: 4px;
    height: 3px;
    border-radius: 10px;
    background: #ddd3c6;
}

.btp-price-range__track span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--btp-shop-primary);
}

.btp-price-range input[type="range"] {
    position: absolute;
    z-index: 2;
    top: 11px;
    left: 0;
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
    appearance: none;
    pointer-events: none;
    background: transparent;
}

.btp-price-range input[type="range"]::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    appearance: none;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--btp-shop-primary);
    box-shadow: 0 0 0 1px var(--btp-shop-primary);
    cursor: grab;
    pointer-events: auto;
}

.btp-price-range input[type="range"]::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--btp-shop-primary);
    box-shadow: 0 0 0 1px var(--btp-shop-primary);
    cursor: grab;
    pointer-events: auto;
}

.btp-price-range__labels {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 29px;
    color: var(--btp-shop-text);
    font-size: 10px;
    font-weight: 600;
}

.btp-price-range__labels .woocommerce-Price-currencySymbol {
    margin-right: 1px;
}

.btp-shop-clear-all.button {
    width: 100%;
    min-height: 38px;
    margin-top: 18px;
    border: 1px solid var(--btp-shop-primary) !important;
    background: transparent !important;
    color: var(--btp-shop-secondary) !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.btp-shop-admin-hint {
    margin-top: 16px;
    padding: 12px;
    border: 1px dashed var(--btp-shop-primary);
    background: #fff9ef;
    color: var(--btp-shop-muted);
    font-size: 11px;
    line-height: 1.5;
}

.btp-shop-results {
    min-width: 0;
}

.btp-products {
    display: grid;
    gap: 16px;
}

.btp-products--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.btp-product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee5d9;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 7px 18px rgba(56, 39, 21, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btp-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--btp-shop-shadow);
}

.btp-product-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.37 / 1;
    background: #eee8df;
}

.btp-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.btp-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 2px;
    background: rgba(255, 253, 249, 0.94);
    color: var(--btp-shop-secondary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btp-product-card__body {
    padding: 10px 11px 12px;
}

.btp-product-card__category {
    overflow: hidden;
    margin-bottom: 4px;
    color: #a39b92;
    font-size: 9px;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.btp-product-card h3 {
    min-height: 34px;
    margin: 0 0 5px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.btp-product-card h3 a {
    color: var(--btp-shop-text);
    text-decoration: none;
}

.btp-product-card__price {
    min-height: 22px;
    color: var(--btp-shop-text);
    font-size: 12px;
    font-weight: 700;
}

.btp-product-card__price del {
    margin-right: 4px;
    color: #a59b91;
    font-size: 10px;
    font-weight: 400;
}

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

.btp-product-card__excerpt {
    display: none;
    color: var(--btp-shop-muted);
    font-size: 12px;
    line-height: 1.55;
}

.btp-product-card__excerpt p {
    margin: 0;
}

.btp-product-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
}

.btp-add-to-cart.button {
    flex: 1 1 auto;
    min-height: 31px;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: var(--btp-shop-primary) !important;
    color: #1f170e !important;
    box-shadow: none !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: center;
    text-transform: uppercase;
}

.btp-add-to-cart.button:hover {
    background: var(--btp-shop-secondary) !important;
    color: #fff !important;
}

.btp-lartisan-shop .btp-favorite-button--shop {
    flex: 0 0 30px;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--btp-shop-secondary);
    cursor: pointer;
    box-shadow: none;
}

.btp-lartisan-shop .btp-favorite-button--shop .btp-favorite-button__icon {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.btp-lartisan-shop .btp-favorite-button--shop.is-active {
    color: var(--btp-shop-primary);
}

.btp-products--list {
    grid-template-columns: 1fr;
}

.btp-products--list .btp-product-card {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
}

.btp-products--list .btp-product-card__image {
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
}

.btp-products--list .btp-product-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 24px;
}

.btp-products--list .btp-product-card h3 {
    min-height: 0;
    font-size: 18px;
}

.btp-products--list .btp-product-card__price {
    margin-bottom: 9px;
    font-size: 15px;
}

.btp-products--list .btp-product-card__excerpt {
    display: block;
    max-width: 680px;
}

.btp-products--list .btp-product-card__actions {
    max-width: 310px;
    margin-top: 15px;
}

.btp-shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 10px;
}

.btp-shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--btp-shop-border);
    background: #fff;
    color: var(--btp-shop-muted);
    text-decoration: none;
    font-size: 11px;
}

.btp-shop-pagination .page-numbers.current,
.btp-shop-pagination a.page-numbers:hover {
    border-color: var(--btp-shop-primary);
    background: var(--btp-shop-primary);
    color: #fff;
}

.btp-shop-pagination .next {
    border-color: transparent;
    background: transparent;
}

.btp-shop-empty {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 1px solid var(--btp-shop-border);
    background: #fff;
    text-align: center;
}

.btp-shop-empty > span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--btp-shop-cream);
    color: var(--btp-shop-primary);
}

.btp-shop-empty h2 {
    margin: 16px 0 7px;
    font-size: 23px;
}

.btp-shop-empty p {
    margin: 0 0 18px;
    color: var(--btp-shop-muted);
}

.btp-shop-empty .btp-shop-clear-all.button {
    width: auto;
    min-width: 180px;
    margin: 0;
}

.btp-shop-editorial {
    display: grid;
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 20px;
    margin-top: 42px;
}

.btp-shop-editorial__intro {
    padding: 10px 0;
}

.btp-shop-editorial__intro h2 {
    margin: 0 0 10px;
    color: var(--btp-shop-text);
    font-family: inherit;
    font-size: 23px;
    line-height: 1.15;
}

.btp-shop-editorial__intro p {
    margin: 0;
    color: var(--btp-shop-muted);
    font-size: 11px;
    line-height: 1.55;
}

.btp-shop-editorial__intro > a {
    display: inline-block;
    margin-top: 22px;
    color: var(--btp-shop-secondary);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.btp-shop-cravings {
    padding: 18px 20px;
    border: 1px solid #ede5da;
    background: linear-gradient(105deg, #fbf7f0, #fff);
    border-radius: 5px;
}

.btp-shop-cravings__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.btp-craving-card {
    position: relative;
    min-height: 175px;
    overflow: hidden;
    border-radius: 5px;
    background-image: var(--btp-card-image);
    background-position: center;
    background-size: cover;
    color: #fff;
    text-decoration: none !important;
}

.btp-craving-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 10, 6, 0.1), rgba(16, 10, 6, 0.84));
    transition: background 0.25s ease;
}

.btp-craving-card:hover .btp-craving-card__overlay {
    background: linear-gradient(180deg, rgba(16, 10, 6, 0.02), rgba(16, 10, 6, 0.72));
}

.btp-craving-card__content {
    position: absolute;
    z-index: 1;
    inset: auto 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-align: center;
}

.btp-craving-card__content strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.15;
}

.btp-craving-card__content small {
    color: rgba(255, 255, 255, 0.91);
    font-size: 10px;
    line-height: 1.45;
}

.btp-shop-highlights {
    padding: 0 20px;
}

.btp-shop-highlights__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #ede5da;
    border-radius: 4px;
    overflow: hidden;
}

.btp-highlight-card {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    min-height: 145px;
    border-right: 1px solid #ede5da;
    border-bottom: 1px solid #ede5da;
    background: #fff;
    color: var(--btp-shop-text);
    text-decoration: none !important;
}

.btp-highlight-card:nth-child(3n) {
    border-right: 0;
}

.btp-highlight-card:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.btp-highlight-card__image {
    overflow: hidden;
    background: #eee7dd;
}

.btp-highlight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.btp-highlight-card:hover .btp-highlight-card__image img {
    transform: scale(1.04);
}

.btp-highlight-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 13px;
}

.btp-highlight-card__content small {
    color: var(--btp-shop-primary);
    font-size: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btp-highlight-card__content strong {
    font-size: 11px;
    line-height: 1.35;
}

.btp-highlight-card__content > span {
    font-size: 11px;
    font-weight: 700;
}

.btp-highlight-card__content em {
    color: var(--btp-shop-muted);
    font-size: 9px;
    font-style: normal;
    line-height: 1.45;
}

.btp-shop-loading {
    position: absolute;
    z-index: 30;
    inset: 0;
    background: rgba(255, 253, 249, 0.56);
    backdrop-filter: blur(1px);
}

.btp-shop-loading span {
    position: sticky;
    top: 45vh;
    display: block;
    width: 42px;
    height: 42px;
    margin: 80px auto;
    border: 3px solid rgba(182, 138, 69, 0.22);
    border-top-color: var(--btp-shop-primary);
    border-radius: 50%;
    animation: btp-shop-spin 0.8s linear infinite;
}

.btp-lartisan-shop.is-loading .btp-shop-results {
    opacity: 0.55;
}

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

@media (max-width: 1240px) {
    .btp-products--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .btp-shop-topbar {
        align-items: flex-start;
    }

    .btp-shop-topbar__controls {
        flex-wrap: wrap;
    }

    .btp-shop-highlights__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .btp-highlight-card:nth-child(3n) {
        border-right: 1px solid #ede5da;
    }

    .btp-highlight-card:nth-child(2n) {
        border-right: 0;
    }

    .btp-highlight-card:nth-last-child(-n + 3) {
        border-bottom: 1px solid #ede5da;
    }

    .btp-highlight-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 980px) {
    .btp-lartisan-shop {
        padding-inline: 20px;
    }

    .btp-shop-topbar {
        display: block;
    }

    .btp-shop-result-count {
        margin-bottom: 14px;
    }

    .btp-shop-topbar__controls {
        justify-content: flex-start;
    }

    .btp-shop-layout {
        grid-template-columns: 1fr;
    }

    .btp-shop-mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        margin-bottom: 16px;
        padding: 0 16px;
        border: 1px solid var(--btp-shop-primary);
        background: #fff;
        color: var(--btp-shop-secondary);
        cursor: pointer;
        font-weight: 700;
    }

    .btp-shop-filters {
        position: fixed;
        z-index: 99999;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(88vw, 340px);
        overflow-y: auto;
        border-radius: 0;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
    }

    .btp-lartisan-shop.filters-open .btp-shop-filters {
        transform: translateX(0);
    }

    .btp-shop-filters__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: -4px 0 18px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--btp-shop-border);
    }

    .btp-shop-mobile-filter-close {
        width: 34px;
        height: 34px;
        border: 0;
        background: transparent;
        color: var(--btp-shop-text);
        cursor: pointer;
        font-size: 28px;
        line-height: 1;
    }

    .btp-shop-filter-backdrop {
        position: fixed;
        z-index: 99998;
        inset: 0;
        border: 0;
        background: rgba(18, 12, 7, 0.58);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .btp-lartisan-shop.filters-open .btp-shop-filter-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    body.btp-shop-no-scroll {
        overflow: hidden;
    }

    .btp-shop-editorial {
        grid-template-columns: 1fr;
    }

    .btp-shop-editorial__intro {
        max-width: 500px;
    }

    .btp-shop-cravings__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .btp-lartisan-shop {
        padding: 18px 14px 36px;
    }

    .btp-shop-topbar__controls {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .btp-shop-select,
    .btp-shop-search {
        width: 100%;
        min-width: 0;
    }

    .btp-shop-select {
        grid-column: 1 / -1;
    }

    .btp-shop-select select {
        width: 100%;
    }

    .btp-shop-search {
        min-width: 0;
    }

    .btp-shop-view-switch button span {
        display: none;
    }

    .btp-shop-category-chips {
        margin-inline: -14px;
        padding-inline: 14px;
    }

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

    .btp-product-card__body {
        padding: 9px;
    }

    .btp-product-card h3 {
        font-size: 11px;
    }

    .btp-add-to-cart.button {
        font-size: 8px !important;
    }

    .btp-products--list .btp-product-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .btp-products--list .btp-product-card__image {
        min-height: 150px;
    }

    .btp-products--list .btp-product-card__body {
        padding: 12px;
    }

    .btp-products--list .btp-product-card h3 {
        font-size: 14px;
    }

    .btp-products--list .btp-product-card__excerpt {
        display: none;
    }

    .btp-shop-cravings,
    .btp-shop-highlights {
        padding-inline: 12px;
    }

    .btp-shop-cravings__cards,
    .btp-shop-highlights__items {
        grid-template-columns: 1fr;
    }

    .btp-craving-card {
        min-height: 190px;
    }

    .btp-highlight-card,
    .btp-highlight-card:nth-child(n) {
        border-right: 0;
        border-bottom: 1px solid #ede5da;
    }

    .btp-highlight-card:last-child {
        border-bottom: 0;
    }
}
