.is-store-shop {
    --store-shop-border: rgba(15, 23, 42, 0.10);
    --store-shop-muted: rgba(15, 23, 42, 0.60);
    --store-shop-bg: rgba(255, 255, 255, 1);
    --store-shop-radius: 14px;
    --store-shop-hero-bg: rgba(255, 255, 255, 1);
    --store-shop-hero-image: none;
}

.is-store-shop .store-shop-hero {
    border: 1px solid var(--store-shop-border);
    border-radius: 18px;
    background-color: var(--store-shop-hero-bg);
    background-image: var(--store-shop-hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 34px 22px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 150px;
}

.is-store-shop .store-shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--store-shop-hero-overlay, linear-gradient(180deg, rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.32)));
    pointer-events: none;
}

.is-store-shop .store-shop-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.is-store-shop .store-shop-header {
    margin-bottom: 18px;
}

.is-store-shop .store-shop-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.is-store-shop .woocommerce-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.82);
}

.is-store-shop .woocommerce-breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 160ms ease-out, text-decoration-color 160ms ease-out;
}

.is-store-shop .woocommerce-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.65);
    text-underline-offset: 2px;
}

.is-store-shop .woocommerce-breadcrumb a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
    border-radius: 8px;
}

.is-store-shop .store-breadcrumb-delimiter {
    opacity: 0.65;
}

.is-store-shop .store-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 0 16px;
    margin-bottom: 18px;
    font-weight: 400;
}

.is-store-shop .store-shop-toolbar > .d-flex {
    flex: 1 1 auto;
    min-width: 0;
}

.is-store-shop .store-shop-toolbar .woocommerce-result-count,
.is-store-shop .store-shop-toolbar .woocommerce-ordering {
    float: none !important;
}

.is-store-shop .store-shop-toolbar .woocommerce-result-count,
.is-store-shop .store-shop-toolbar .woocommerce-ordering {
    display: inline-flex;
    align-items: center;
}

.is-store-shop .woocommerce-result-count {
    margin: 0;
    font-weight: 400;
    color: var(--store-shop-muted);
}

.is-store-shop .woocommerce-ordering {
    margin: 0;
    margin-left: auto;
}

.is-store-shop .woocommerce-ordering select {
    min-width: 210px;
    padding: 0.6rem 2.75rem 0.6rem 1rem;
    border: 1px solid var(--store-shop-border);
    border-radius: 999px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='rgba(230,110,0,0.95)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px 18px;
    color: rgba(15, 23, 42, 0.85);
    font-weight: 400;
    -webkit-appearance: none;
    appearance: none;
}

.is-store-shop .woocommerce-ordering select::-ms-expand {
    display: none;
}

.is-store-shop .woocommerce-ordering select option,
.is-store-shop .woocommerce-ordering select optgroup {
    font-weight: 400;
}

.is-store-shop .woocommerce-ordering select:focus {
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.15);
    outline: none;
}

.is-store-shop .store-select {
    position: relative;
    min-width: 210px;
}

.is-store-shop .store-select__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.is-store-shop .store-select__button {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 2.75rem 0.6rem 1rem;
    border: 1px solid var(--store-shop-border);
    border-radius: 999px;
    background-color: #fff;
    color: rgba(15, 23, 42, 0.85);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
    text-align: left;
    position: relative;
}

.is-store-shop .store-select__button::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: no-repeat center / 18px 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='rgba(230,110,0,0.95)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    pointer-events: none;
}

.is-store-shop .store-select__button:focus-visible {
    border-color: rgba(var(--bs-primary-rgb), 0.55);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.15);
    outline: none;
}

.is-store-shop .store-select.is-open .store-select__button {
    border-color: rgba(var(--bs-primary-rgb), 0.55);
}

.is-store-shop .store-select__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.is-store-shop .store-select__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    border-radius: 14px;
    border: 1px solid var(--store-shop-border);
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
    padding: 6px;
    max-height: 280px;
    overflow: auto;
}

.is-store-shop .store-select__option {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 10px;
    border-radius: 10px;
    text-align: left;
    font-weight: 400;
    color: rgba(15, 23, 42, 0.88);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: background-color 120ms ease, color 120ms ease;
}

.is-store-shop .store-select__option:hover,
.is-store-shop .store-select__option:focus-visible {
    background: rgba(var(--bs-primary-rgb), 0.08);
    outline: none;
}

.is-store-shop .store-select__option[aria-selected="true"] {
    background: rgba(var(--bs-primary-rgb), 0.12);
    color: rgba(15, 23, 42, 0.92);
    font-weight: 500;
}

.is-store-shop .store-select__option[aria-selected="true"]::after {
    content: "";
    width: 16px;
    height: 16px;
    background: no-repeat center / 16px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-9' fill='none' stroke='rgba(230,110,0,0.95)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    flex: 0 0 auto;
}

.is-store-shop .store-shop-filter-toggle {
    display: none;
    gap: 8px;
    align-items: center;
    border-radius: 999px;
    font-weight: 400;
    padding: 0.6rem 0.95rem;
}

.is-store-shop .store-shop-layout {
    display: grid;
    gap: 24px;
}

.is-store-shop.has-shop-sidebar .store-shop-main {
    border-left: 0;
    padding-left: 0;
}

.is-store-shop.has-shop-sidebar .store-shop-sidebar {
    padding-right: 24px;
}

.is-store-shop .store-shop-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.is-store-shop .store-shop-product {
    min-width: 0;
}

.is-store-shop .product-card {
    border-radius: 16px;
}

.is-store-shop .product-card .card-body {
    padding: 14px 14px 16px;
}

.is-store-shop .product-card .card-title {
    line-height: 1.35;
}

.is-store-shop .product-img-wrap {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

@media (min-width: 768px) {
    .is-store-shop .store-shop-products {
        grid-template-columns: repeat(var(--store-shop-columns-tablet, 3), minmax(0, 1fr));
        gap: 16px;
    }
    .is-store-shop.has-shop-sidebar .store-shop-main { padding-left: 0; }
    .is-store-shop.has-shop-sidebar .store-shop-sidebar {
        padding-right: 28px;
    }
}

@media (min-width: 1024px) {
    .is-store-shop.has-shop-sidebar .store-shop-main {
        padding-left: 24px;
    }
}

@media (min-width: 1200px) {
    .is-store-shop .store-shop-products {
        grid-template-columns: repeat(var(--store-shop-columns-desktop, 4), minmax(0, 1fr));
        gap: 18px;
    }
    .is-store-shop.has-shop-sidebar .store-shop-main {
        padding-left: 32px;
    }
    .is-store-shop.has-shop-sidebar .store-shop-sidebar {
        padding-right: 32px;
    }
}

@media (max-width: 768px) {
    .is-store-shop .store-shop-toolbar {
        gap: 0.5rem;
    }
    .is-store-shop .store-shop-toolbar > .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
    }
    .is-store-shop .store-shop-toolbar > .d-flex > * {
        width: 100%;
    }
    .is-store-shop .woocommerce-ordering {
        margin-left: 0;
        justify-content: center;
    }
    .is-store-shop .woocommerce-ordering select,
    .is-store-shop .store-select {
        width: 100%;
        min-width: 0;
    }
    .is-store-shop .store-shop-filter-toggle {
        width: 100%;
        justify-content: center;
    }
}

.is-store-shop .store-shop-infinite {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 0 0;
}

.is-store-shop .store-shop-infinite__button {
    border-radius: 999px;
    font-weight: 900;
    padding: 0.65rem 1.15rem;
}

.is-store-shop .store-shop-infinite__status {
    font-weight: 800;
    color: var(--store-shop-muted);
    min-height: 22px;
}

.is-store-shop .store-shop-infinite__sentinel {
    width: 100%;
    height: 1px;
}

@media (min-width: 1200px) {
    .is-store-shop.has-shop-sidebar .store-shop-layout {
        grid-template-columns: 360px minmax(0, 1fr);
        align-items: start;
    }
    .is-store-shop.has-shop-sidebar .store-shop-sidebar {
        position: sticky;
        top: 110px;
        overflow: visible;
    }
}

.is-store-shop .store-shop-sidebar {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.is-store-shop .store-shop-sidebar .widget-title {
    color: rgba(15, 23, 42, 0.90);
    letter-spacing: 0.2px;
}

.is-store-shop .store-shop-sidebar a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
    font-weight: 700;
}

.is-store-shop .store-shop-sidebar a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.is-store-shop .store-shop-main {
    min-width: 0;
}

.is-store-shop .store-shop-pagination {
    margin-top: 26px;
}

.is-store-shop .store-shop-pagination .pagination {
    gap: 8px;
}

.is-store-shop .store-shop-pagination .page-item .page-link {
    border-radius: 999px;
    border: 1px solid var(--store-shop-border);
    color: rgba(15, 23, 42, 0.78);
    font-weight: 900;
    padding: 0.55rem 0.95rem;
}

.is-store-shop .store-shop-pagination .page-item.active .page-link {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 1);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 1);
    color: #fff;
}

.is-store-shop .store-shop-pagination .page-item.disabled .page-link {
    opacity: 0.6;
}

.is-store-shop .store-shop-pagination .page-item .page-link:hover {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.06);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35);
    color: rgba(var(--bs-primary-rgb, 13, 110, 253), 1);
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .is-store-shop.has-shop-sidebar .store-shop-filter-toggle {
        display: inline-flex;
    }

    .is-store-shop.has-shop-sidebar .store-shop-layout {
        grid-template-columns: 1fr;
    }

    .is-store-shop.has-shop-sidebar .store-shop-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(380px, 92vw);
        transform: translateX(-110%);
        transition: transform 200ms ease-out;
        z-index: 1000;
        border-radius: 0;
        box-shadow: none;
        padding: 18px 18px 10px;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .is-store-shop.has-shop-sidebar .store-shop-sidebar::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    body.is-shop-filter-open.has-shop-sidebar::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.40);
        z-index: 999;
    }

    body.is-shop-filter-open.has-shop-sidebar {
        overflow: hidden;
    }

    body.is-shop-filter-open.has-shop-sidebar .store-shop-sidebar {
        transform: translateX(0);
    }
}

@media (max-width: 767.98px) {
    .is-store-shop .store-shop-sidebar {
        display: none !important;
    }
    .is-store-shop .store-shop-hero {
        padding: 26px 16px 22px;
        min-height: 120px;
        border-radius: 16px;
    }
    .is-store-shop .store-shop-title {
        font-size: 1.5rem;
    }
}
