.tewc-cards {
    --tewc-card-cols: 5;
    --tewc-card-cols-tablet: 4;
    --tewc-card-cols-mobile: 2;

    --tewc-gap-desktop: 14px;
    --tewc-gap-mobile: 10px;

    --tewc-card-radius: 20px;
    --tewc-card-radius-mobile: 16px;

    --tewc-card-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    --tewc-card-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.09);

    --tewc-border: #e9eef5;
    --tewc-border-strong: #dbe5f0;

    --tewc-text: #0f172a;
    --tewc-muted: #64748b;
    --tewc-soft: #94a3b8;

    --tewc-red: #ff4d5e;
    --tewc-red-dark: #e11d48;

    --tewc-brand-blue-1: #1da1f2;
    --tewc-brand-blue-2: #22c7f6;
    --tewc-brand-blue-3: #0f7bff;
    --tewc-brand-blue-4: #2563ff;

    --tewc-meta-icon: #4285f4;

    --tewc-error: #dc2626;
    --tewc-error-bg: #fff1f2;
    --tewc-error-border: #fecdd3;

    --tewc-focus-ring: 0 0 0 3px rgba(37, 99, 255, 0.18);

    margin: 0;
    position: relative;
    width: 100%;
}

.tewc-cards,
.tewc-cards * {
    box-sizing: border-box;
}

.tewc-cards img {
    max-width: 100%;
    height: auto;
}

.tewc-cards a,
.tewc-cards button {
    -webkit-tap-highlight-color: transparent;
}

.tewc-cards__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.tewc-cards__head-main {
    min-width: 0;
    flex: 1 1 auto;
}

.tewc-title,
.tewc-cards__title {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: #0f172a !important;
    word-break: break-word;
}

.tewc-cards__subtitle {
    margin: 6px 0 0 !important;
    color: var(--tewc-muted) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    word-break: break-word;
}

.tewc-cards__empty {
    padding: 16px 18px;
    border: 1px solid var(--tewc-border);
    background: #fff;
    border-radius: 16px;
    color: var(--tewc-muted);
    font-size: 14px;
    line-height: 1.6;
}

.tewc-cards__grid {
    display: grid;
    grid-template-columns: repeat(var(--tewc-card-cols), minmax(0, 1fr));
    gap: var(--tewc-gap-desktop);
    align-items: stretch;
}

.tewc-slider {
    position: relative;
    width: 100%;
}

.tewc-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--tewc-gap-desktop) * (var(--tewc-card-cols) - 1))) / var(--tewc-card-cols));
    gap: var(--tewc-gap-desktop);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 2px;
    align-items: stretch;
}

.tewc-slider__track::-webkit-scrollbar {
    display: none;
}

.tewc-slider__item {
    min-width: 0;
    height: 100%;
}

.tewc-slider__navs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tewc-slider__nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #edf2f7;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
    font-size: 22px;
    line-height: 1;
    padding: 0;
}

.tewc-slider__nav:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
    border-color: #d7e3f1;
}

.tewc-slider__nav:focus-visible {
    outline: none;
    box-shadow: var(--tewc-focus-ring);
}

.tewc-slider__nav:disabled,
.tewc-slider__nav[aria-disabled="true"] {
    opacity: 0.45;
    cursor: default;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.tewc-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: var(--tewc-card-radius) !important;
    background: #ffffff !important;
    border: 1px solid var(--tewc-border) !important;
    box-shadow: var(--tewc-card-shadow) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    position: relative !important;
    contain: layout paint;
}

.tewc-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--tewc-card-shadow-hover) !important;
    border-color: #dfe7f0 !important;
}

.tewc-card:focus-within {
    box-shadow: var(--tewc-card-shadow-hover), var(--tewc-focus-ring) !important;
    border-color: #cfe0f4 !important;
}

.tewc-card__media-wrap {
    position: relative;
}

.tewc-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1.08 / 1;
    overflow: hidden;
    background: #e5e7eb;
}

.tewc-card__media:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.65);
}

.tewc-card__media-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, rgba(15, 23, 42, 0) 26%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.24) 0%, rgba(15, 23, 42, 0.06) 28%, rgba(15, 23, 42, 0) 58%);
    pointer-events: none;
}

.tewc-card__img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tewc-card:hover .tewc-card__img {
    transform: scale(1.03);
}

.tewc-card__overlay-top {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    pointer-events: none;
}

.tewc-card__overlay-left,
.tewc-card__overlay-right {
    min-width: 0;
    max-width: calc(100% - 4px);
}

.tewc-card__category {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 26px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.52);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tewc-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.tewc-card__badge--discount {
    background: linear-gradient(135deg, var(--tewc-red) 0%, var(--tewc-red-dark) 100%);
    box-shadow: 0 6px 14px rgba(225, 29, 72, 0.2);
}

/* 修正 grid 兩欄時右下訂閱鈕位置不置中 */
.tewc-card__notify-float {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tewc-card__notify-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tewc-card__notify-icon-wrap .wcpn-notify-button,
.tewc-card__notify-icon-wrap .wcpn-restock-notify-button,
.tewc-card__notify-icon-wrap button.wcpn-notify-button,
.tewc-card__notify-icon-wrap button.wcpn-restock-notify-button,
.tewc-card__notify-icon-wrap a.wcpn-notify-button,
.tewc-card__notify-icon-wrap a.wcpn-restock-notify-button {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    background: rgba(17, 24, 39, 0.84) !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-indent: 0 !important;
    vertical-align: middle !important;
}

.tewc-card__notify-icon-wrap .wcpn-notify-button:focus-visible,
.tewc-card__notify-icon-wrap .wcpn-restock-notify-button:focus-visible {
    outline: none !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14), var(--tewc-focus-ring) !important;
}

/* 改成♡ / ♥，不使用 emoji */
.tewc-card__notify-icon-wrap .wcpn-notify-button::before,
.tewc-card__notify-icon-wrap .wcpn-restock-notify-button::before {
    content: "♡";
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    width: 36px !important;
    height: 36px !important;
    transform: translateY(-0.5px);
}

.tewc-card__notify-icon-wrap .wcpn-notify-button.subscribed,
.tewc-card__notify-icon-wrap .wcpn-restock-notify-button.subscribed {
    background: rgba(239, 68, 68, 0.95) !important;
}

.tewc-card__notify-icon-wrap .wcpn-notify-button.subscribed::before,
.tewc-card__notify-icon-wrap .wcpn-restock-notify-button.subscribed::before {
    content: "♥";
    font-size: 17px !important;
    font-weight: 800 !important;
}

.tewc-card__body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 3px !important;
    padding: 12px 12px 14px !important;
    background: #ffffff !important;
    min-width: 0 !important;
}

.tewc-card__name,
.tewc-card .tewc-card__body .tewc-card__name,
.tewc-card .tewc-card__body .tewc-card__name a,
.tewc-slider__item .tewc-card__name,
.tewc-slider__item .tewc-card__name a,
.tewc-cards .tewc-card__name,
.tewc-cards .tewc-card__name a {
    margin: 0 !important;
    color: var(--tewc-text) !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    letter-spacing: -0.018em !important;
    text-decoration: none !important;
}

.tewc-card__name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 1.35em !important;
    word-break: break-word !important;
}

.tewc-card__name a {
    color: inherit !important;
    text-decoration: none !important;
}

.tewc-card__name a:hover {
    color: #0b5cff !important;
}

.tewc-card__name a:focus-visible {
    outline: none;
    text-decoration: underline !important;
}

.tewc-card__meta-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin-top: 5px !important;
    min-width: 0 !important;
}

.tewc-card__meta {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    min-width: 0 !important;
}

.tewc-card__meta-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    transform: translateY(1px) !important;
}

.tewc-card__meta-icon--svg {
    width: 15px !important;
    height: 15px !important;
    flex: 0 0 15px !important;
    color: var(--tewc-meta-icon) !important;
    transform: translateY(1px) !important;
}

.tewc-card__meta-svg {
    display: block;
    width: 15px;
    height: 15px;
}

.tewc-card__meta-value,
.tewc-card .tewc-card__meta-value,
.tewc-cards .tewc-card__meta-value {
    color: #607089 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
}

.tewc-card__time-unconfirmed {
    font-size: 0.9em;
    font-weight: 800;
    color: inherit;
}

.tewc-card__price {
    margin-top: 5px !important;
    min-width: 0 !important;
    line-height: 1.12 !important;
}

.tewc-card__price .amount,
.tewc-card__price .woocommerce-Price-amount,
.tewc-card__price bdi,
.tewc-card__price-current,
.tewc-card__price-current .woocommerce-Price-amount,
.tewc-card__price-current bdi {
    color: #0f172a !important;
    font-size: 16px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
}

.tewc-card__price-old,
.tewc-card__price-old .woocommerce-Price-amount,
.tewc-card__price-old bdi,
.tewc-card__price del,
.tewc-card__price del .woocommerce-Price-amount,
.tewc-card__price del bdi {
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-right: 6px !important;
}

.tewc-card__actions {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding-top: 8px !important;
}

.tewc-card__restock-btn-wrap {
    width: 100% !important;
}

.tewc-card__button,
.tewc-card a.tewc-card__button,
.tewc-card__restock-btn-wrap .wcpn-notify-button,
.tewc-card__restock-btn-wrap .wcpn-restock-notify-button,
.tewc-card__restock-btn-wrap button.wcpn-notify-button,
.tewc-card__restock-btn-wrap button.wcpn-restock-notify-button,
.tewc-card__restock-btn-wrap a.wcpn-notify-button,
.tewc-card__restock-btn-wrap a.wcpn-restock-notify-button,
.tewc-card.is-out-of-stock .tewc-card__button--notify,
.tewc-load-more__btn {
    width: 100% !important;
    max-width: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em !important;
    background: linear-gradient(90deg, var(--tewc-brand-blue-1) 0%, var(--tewc-brand-blue-2) 52%, var(--tewc-brand-blue-3) 100%) !important;
    box-shadow:
        0 8px 18px rgba(29, 161, 242, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    position: relative !important;
    overflow: hidden !important;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease,
        opacity 0.18s ease,
        background 0.18s ease !important;
}

.tewc-card__button::before,
.tewc-card a.tewc-card__button::before,
.tewc-card__restock-btn-wrap .wcpn-notify-button::before,
.tewc-card__restock-btn-wrap .wcpn-restock-notify-button::before,
.tewc-card.is-out-of-stock .tewc-card__button--notify::before {
    content: none !important;
}

.tewc-card__button:hover,
.tewc-card a.tewc-card__button:hover,
.tewc-card__restock-btn-wrap .wcpn-notify-button:hover,
.tewc-card__restock-btn-wrap .wcpn-restock-notify-button:hover,
.tewc-card.is-out-of-stock .tewc-card__button--notify:hover,
.tewc-load-more__btn:hover {
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow:
        0 10px 20px rgba(29, 161, 242, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    filter: brightness(1.02) saturate(1.02) !important;
}

.tewc-card__button:active,
.tewc-card a.tewc-card__button:active,
.tewc-card__restock-btn-wrap .wcpn-notify-button:active,
.tewc-card__restock-btn-wrap .wcpn-restock-notify-button:active,
.tewc-card.is-out-of-stock .tewc-card__button--notify:active,
.tewc-load-more__btn:active {
    transform: translateY(0) !important;
}

.tewc-card__button:focus-visible,
.tewc-card a.tewc-card__button:focus-visible,
.tewc-card__restock-btn-wrap .wcpn-notify-button:focus-visible,
.tewc-card__restock-btn-wrap .wcpn-restock-notify-button:focus-visible,
.tewc-card.is-out-of-stock .tewc-card__button--notify:focus-visible,
.tewc-load-more__btn:focus-visible {
    outline: none !important;
    box-shadow:
        0 10px 20px rgba(29, 161, 242, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        var(--tewc-focus-ring) !important;
}

.tewc-card__restock-btn-wrap .wcpn-notify-button.subscribed,
.tewc-card__restock-btn-wrap .wcpn-restock-notify-button.subscribed {
    opacity: 1 !important;
    cursor: pointer !important;
}

.tewc-load-more {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.tewc-load-more__btn {
    width: auto !important;
    min-width: 180px;
    gap: 10px;
    padding: 0 22px !important;
}

.tewc-load-more__btn[disabled],
.tewc-load-more__btn[aria-busy="true"] {
    opacity: 0.92;
    pointer-events: none;
}

.tewc-load-more__spinner {
    width: 16px;
    height: 16px;
    display: none;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    animation: tewc-spin 0.8s linear infinite;
    flex: 0 0 16px;
}

.tewc-load-more.is-loading .tewc-load-more__spinner {
    display: inline-block;
}

.tewc-load-more.is-loading .tewc-load-more__btn {
    opacity: 0.92;
    pointer-events: none;
}

.tewc-load-more__error {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
    border: 1px solid var(--tewc-error-border);
    background: var(--tewc-error-bg);
    color: var(--tewc-error);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    word-break: break-word;
}

@keyframes tewc-spin {
    to {
        transform: rotate(360deg);
    }
}

.tewc-pagination {
    margin-top: 24px;
}

.tewc-pagination__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tewc-pagination__item {
    display: inline-flex;
}

.tewc-pagination__item .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: #ffffff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.tewc-pagination__item a.page-numbers:hover {
    transform: translateY(-1px);
    border-color: #cfe0f4;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.tewc-pagination__item .page-numbers:focus-visible {
    outline: none;
    box-shadow: var(--tewc-focus-ring);
}

.tewc-pagination__item .page-numbers.current {
    border: 0;
    color: #ffffff;
    background: linear-gradient(90deg, var(--tewc-brand-blue-1) 0%, var(--tewc-brand-blue-2) 52%, var(--tewc-brand-blue-3) 100%);
    box-shadow:
        0 10px 22px rgba(29, 161, 242, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tewc-pagination__item .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    min-width: auto;
    padding: 0 4px;
    color: #64748b;
}

.tewc-pagination__mobile {
    display: none;
}

.tewc-pagination__mobile-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: #ffffff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.tewc-pagination__mobile-btn:focus-visible {
    outline: none;
    box-shadow: var(--tewc-focus-ring);
}

.tewc-pagination__mobile-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.tewc-pagination__mobile-status {
    color: #334155;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

@media (max-width: 1280px) {
    .tewc-cards__grid {
        grid-template-columns: repeat(var(--tewc-card-cols-tablet), minmax(0, 1fr));
    }

    .tewc-slider__track {
        grid-auto-columns: calc((100% - (var(--tewc-gap-desktop) * (var(--tewc-card-cols-tablet) - 1))) / var(--tewc-card-cols-tablet));
    }

    .tewc-card__name,
    .tewc-card .tewc-card__body .tewc-card__name,
    .tewc-card .tewc-card__body .tewc-card__name a,
    .tewc-slider__item .tewc-card__name,
    .tewc-slider__item .tewc-card__name a,
    .tewc-cards .tewc-card__name,
    .tewc-cards .tewc-card__name a {
        font-size: 16px !important;
    }

    .tewc-card__price .amount,
    .tewc-card__price .woocommerce-Price-amount,
    .tewc-card__price bdi,
    .tewc-card__price-current,
    .tewc-card__price-current .woocommerce-Price-amount,
    .tewc-card__price-current bdi {
        font-size: 15px !important;
    }
}

@media (max-width: 767px) {
    .tewc-cards__head {
        align-items: center;
    }

    .tewc-title,
    .tewc-cards__title {
        font-size: 15px !important;
    }

    .tewc-cards__subtitle {
        font-size: 12px !important;
    }

    .tewc-slider__navs {
        display: none;
    }

    .tewc-cards__grid {
        grid-template-columns: repeat(var(--tewc-card-cols-mobile), minmax(0, 1fr));
        gap: var(--tewc-gap-mobile);
    }

    .tewc-slider__track {
        grid-auto-columns: calc((100% - var(--tewc-gap-mobile)) / 2.15);
        gap: var(--tewc-gap-mobile);
        padding-bottom: 2px;
        scroll-snap-type: x mandatory;
    }

    .tewc-slider__item {
        scroll-snap-align: start;
    }

    .tewc-card {
        border-radius: var(--tewc-card-radius-mobile) !important;
    }

    .tewc-card__media {
        aspect-ratio: 1 / 1;
    }

    .tewc-card__body {
        gap: 3px !important;
        padding: 10px 10px 12px !important;
    }

    .tewc-card__name,
    .tewc-card .tewc-card__body .tewc-card__name,
    .tewc-card .tewc-card__body .tewc-card__name a,
    .tewc-slider__item .tewc-card__name,
    .tewc-slider__item .tewc-card__name a,
    .tewc-cards .tewc-card__name,
    .tewc-cards .tewc-card__name a {
        font-size: 14px !important;
        line-height: 1.28 !important;
        font-weight: 800 !important;
    }

    .tewc-card__name {
        min-height: 1.28em !important;
    }

    .tewc-card__category {
        min-height: 24px;
        padding: 5px 9px;
        font-size: 10px;
    }

    .tewc-card__meta-group {
        gap: 2px !important;
        margin-top: 4px !important;
    }

    .tewc-card__meta-icon {
        width: 14px !important;
        height: 14px !important;
        flex: 0 0 14px !important;
        font-size: 12px !important;
        transform: translateY(1px) !important;
    }

    .tewc-card__meta-icon--svg {
        width: 14px !important;
        height: 14px !important;
        flex: 0 0 14px !important;
    }

    .tewc-card__meta-svg {
        width: 14px;
        height: 14px;
    }

    .tewc-card__meta-value,
    .tewc-card .tewc-card__meta-value,
    .tewc-cards .tewc-card__meta-value {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .tewc-card__price {
        margin-top: 4px !important;
    }

    .tewc-card__price .amount,
    .tewc-card__price .woocommerce-Price-amount,
    .tewc-card__price bdi,
    .tewc-card__price-current,
    .tewc-card__price-current .woocommerce-Price-amount,
    .tewc-card__price-current bdi {
        font-size: 13px !important;
    }

    .tewc-card__button,
    .tewc-card a.tewc-card__button,
    .tewc-card__restock-btn-wrap .wcpn-notify-button,
    .tewc-card__restock-btn-wrap .wcpn-restock-notify-button,
    .tewc-card.is-out-of-stock .tewc-card__button--notify,
    .tewc-load-more__btn {
        min-height: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
        padding: 0 14px !important;
    }

    .tewc-card__notify-float {
        right: 8px;
        bottom: 8px;
    }

    .tewc-card__notify-icon-wrap .wcpn-notify-button,
    .tewc-card__notify-icon-wrap .wcpn-restock-notify-button {
        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
    }

    .tewc-card__notify-icon-wrap .wcpn-notify-button::before,
    .tewc-card__notify-icon-wrap .wcpn-restock-notify-button::before {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
        line-height: 1 !important;
    }

    .tewc-card__notify-icon-wrap .wcpn-notify-button.subscribed::before,
    .tewc-card__notify-icon-wrap .wcpn-restock-notify-button.subscribed::before {
        font-size: 15px !important;
    }

    .tewc-pagination,
    .tewc-load-more {
        margin-top: 18px;
    }

    .tewc-pagination__inner {
        display: none;
    }

    .tewc-pagination__mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .tewc-load-more__btn {
        min-width: 160px;
    }

    .tewc-load-more__error {
        font-size: 12px;
    }
}