body.woocommerce-shop,
body.post-type-archive-product {
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-family: var(--font-body);
}

body.woocommerce-shop :where(input, textarea, select, button),
body.post-type-archive-product :where(input, textarea, select, button) {
    font-family: var(--font-body);
}

.woocommerce .woocommerce-breadcrumb {
    margin: 1em 0 1em;
}

.woocommerce .ananeoo-shop-toolbar {
    display: none !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 30px 0 0;
}

.woocommerce ul.products.bundle-grid.ananeoo-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 20px);
    margin: 46px 0 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products.bundle-grid.ananeoo-shop-grid.reveal {
    opacity: 1;
    transform: none;
}

.woocommerce ul.products.bundle-grid.ananeoo-shop-grid::before,
.woocommerce ul.products.bundle-grid.ananeoo-shop-grid::after {
    display: none;
}

.woocommerce ul.products.bundle-grid.ananeoo-shop-grid li.product.ananeoo-product-card {
    float: none;
    clear: none;
    width: auto;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 24px 22px 18px;
    border: 3px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    text-align: left;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.woocommerce ul.products.bundle-grid.ananeoo-shop-grid li.product.ananeoo-product-card:hover {
    border-color: var(--teal-2);
}

.woocommerce ul.products.bundle-grid.ananeoo-shop-grid li.product.ananeoo-product-card.is-selected {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-flag {
    position: absolute;
    top: -15px;
    left: 50%;
    z-index: 2;
    max-width: calc(100% - 28px);
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-radio {
    display: none !important;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-radio .dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent-ink);
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-radio .dot svg {
    opacity: 0;
}

.woocommerce ul.products li.product.ananeoo-product-card.is-selected .bundle-radio {
    color: var(--accent-ink);
}

.woocommerce ul.products li.product.ananeoo-product-card.is-selected .bundle-radio .dot {
    border-color: var(--accent);
    background: var(--accent-gradient);
}

.woocommerce ul.products li.product.ananeoo-product-card.is-selected .bundle-radio .dot svg {
    opacity: 1;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 188px;
    aspect-ratio: 1;
    margin: 6px auto 8px;
    text-decoration: none;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-img img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: contain;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-name {
    color: var(--ananeoo-bundle-name-color, var(--ink)) !important;
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-name:hover {
    color: var(--ananeoo-bundle-name-color, var(--blue)) !important;
}

.woocommerce ul.products li.product.ananeoo-product-card .woocommerce-loop-product__title {
    display: none;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-tagline {
    min-height: 2.6em;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.45;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 9px;
    margin-top: 14px;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-price b {
    color: var(--ink);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-price s {
    color: var(--muted);
    font-size: 1.05rem;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-price--variable .price {
    margin: 0;
    color: var(--ink);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-price--variable del {
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 400;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-price--variable ins {
    text-decoration: none;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-price .per {
    width: 100%;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    background: oklch(91% 0.06 165);
    color: oklch(40% 0.09 165);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-save.is-note {
    background: var(--blue-soft);
    color: var(--blue);
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-feats {
    display: grid;
    gap: 10px;
    margin: 16px 0 14px;
    padding: 14px 0 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-feats li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 4px 6px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 1.2rem;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--green);
    font-size: 1rem;
    line-height: 1;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-feat-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-sku {
    margin-top: auto;
    padding-top: 10px;
    color: var(--muted);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    margin-top: 12px;
    padding: 15px 16px;
    border: 2px solid var(--accent);
    border-radius: 10px;
    background: var(--accent-gradient);
    color: var(--accent-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.woocommerce ul.products li.product.ananeoo-product-card .bundle-state:hover {
    border-color: var(--teal-2);
    color: var(--ink);
}

.woocommerce ul.products li.product.ananeoo-product-card.is-selected .bundle-state {
    border-style: solid;
    border-color: var(--accent);
    background: var(--accent-gradient);
    color: var(--accent-ink);
}

.woocommerce ul.products li.product.ananeoo-product-card .added_to_cart {
    margin-top: 8px;
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1080px) {
    .woocommerce ul.products.bundle-grid.ananeoo-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .woocommerce .ananeoo-shop-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .woocommerce ul.products.bundle-grid.ananeoo-shop-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products.bundle-grid.ananeoo-shop-grid li.product.ananeoo-product-card {
        padding: 24px 16px 18px;
    }

    .woocommerce ul.products li.product.ananeoo-product-card .bundle-name {
        width: 100%;
        text-align: center;
    }

    .woocommerce ul.products li.product.ananeoo-product-card .bundle-price {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .woocommerce ul.products li.product.ananeoo-product-card .bundle-price--variable .price {
        width: 100%;
        text-align: center;
    }
}
