.aiq-products-shortcode {
    margin: 20px 0;
}

/* Theme wrapper uses overflow-y:auto, which can prevent sticky sidebars from sticking. */
html body #page.site {
    overflow: visible !important;
    overflow-y: visible !important;
}

.aiq-products-shortcode.with-filters .shortcode-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
    overflow: visible;
}

.aiq-products-shortcode .filters-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.aiq-products-shortcode .filter-section {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #e9eef4;
    border-radius: 14px;
    background: #fcfdff;
}

.aiq-products-shortcode .filter-section:last-child {
    margin-bottom: 0;
}

.aiq-products-shortcode .filter-title {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #334155;
}

.aiq-products-shortcode .filter-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
}

.aiq-products-shortcode .filter-toggle:hover,
.aiq-products-shortcode .filter-toggle:active,
.aiq-products-shortcode .filter-toggle:focus {
    background: transparent !important;
    color: inherit;
    box-shadow: none;
}

.aiq-products-shortcode .filter-toggle:focus-visible {
    outline: 2px solid #94a3b8;
    outline-offset: 2px;
    border-radius: 8px;
}

.aiq-products-shortcode .filter-toggle .filter-title {
    margin: 0;
}

.aiq-products-shortcode .filter-toggle-icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex: 0 0 18px;
}

.aiq-products-shortcode .filter-toggle-icon::before,
.aiq-products-shortcode .filter-toggle-icon::after {
    content: "";
    position: absolute;
    top: 8px;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: #334155;
    transition: transform 0.18s ease;
}

.aiq-products-shortcode .filter-toggle-icon::before {
    left: 1px;
    transform: rotate(45deg);
}

.aiq-products-shortcode .filter-toggle-icon::after {
    right: 1px;
    transform: rotate(-45deg);
}

.aiq-products-shortcode .filter-section-content {
    display: none;
    margin-top: 12px;
}

.aiq-products-shortcode .filter-section.is-open .filter-section-content {
    display: block;
}

.aiq-products-shortcode .filter-section.is-open .filter-toggle-icon::before {
    transform: rotate(-45deg);
}

.aiq-products-shortcode .filter-section.is-open .filter-toggle-icon::after {
    transform: rotate(45deg);
}

.aiq-products-shortcode .filter-option {
    margin-bottom: 7px;
}

.aiq-products-shortcode .filter-option:last-child {
    margin-bottom: 0;
}

.aiq-products-shortcode .filter-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #edf1f5;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.aiq-products-shortcode .filter-option label:hover {
    background: #f8fafc;
    border-color: #c9d7e3;
}

.aiq-products-shortcode .filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--aiq-shortcode-primary-color);
    cursor: pointer;
    flex: 0 0 auto;
}

.aiq-products-shortcode .filter-input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aiq-products-shortcode .filter-input::placeholder {
    color: #94a3b8;
}

.aiq-products-shortcode .filter-input:focus {
    border-color: var(--aiq-shortcode-primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
    outline: none;
}

.aiq-products-shortcode .show-more-link {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0f766e;
    text-decoration: none;
}

.aiq-products-shortcode .show-more-link:hover {
    color: #115e59;
    text-decoration: underline;
}

.aiq-products-shortcode .simple-range-slider {
    display: grid;
    gap: 12px;
}

.aiq-products-shortcode .range-input-group label {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.aiq-products-shortcode .simple-slider {
    width: 100%;
    accent-color: var(--aiq-shortcode-primary-color);
}

.aiq-products-shortcode .range-value {
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    min-width: 64px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e9f2ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
}

.aiq-products-shortcode .filter-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 14px;
}

.aiq-products-shortcode .btn {
    min-height: 42px;
    border: none;
    border-radius: 11px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.aiq-products-shortcode .btn-primary {
    background: var(--aiq-shortcode-filter-btn-bg-color, var(--aiq-shortcode-primary-color));
    color: var(--aiq-shortcode-filter-btn-text-color, #fff);
    box-shadow: none;
}

.aiq-products-shortcode .btn-primary:hover {
    background: var(--aiq-shortcode-filter-btn-hover-bg-color, var(--aiq-shortcode-hover-color));
    color: var(--aiq-shortcode-filter-btn-hover-text-color, var(--aiq-shortcode-filter-btn-text-color, #fff));
    transform: none;
}

.aiq-products-shortcode .btn-secondary {
    background: var(--aiq-shortcode-filter-btn-bg-color, #eef2f7);
    color: var(--aiq-shortcode-filter-btn-text-color, #334155);
    border: 1px solid transparent;
}

.aiq-products-shortcode .btn-secondary:hover {
    background: var(--aiq-shortcode-filter-btn-hover-bg-color, #e2e8f0);
    color: var(--aiq-shortcode-filter-btn-hover-text-color, var(--aiq-shortcode-filter-btn-text-color, #334155));
    transform: none;
}

.aiq-products-shortcode .mobile-filter-toggle {
    display: none;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    background: var(--aiq-shortcode-filter-btn-bg-color, var(--aiq-shortcode-primary-color));
    color: var(--aiq-shortcode-filter-btn-text-color, #fff);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.aiq-products-shortcode .mobile-filter-toggle:hover {
    background: var(--aiq-shortcode-filter-btn-hover-bg-color, var(--aiq-shortcode-hover-color));
    color: var(--aiq-shortcode-filter-btn-hover-text-color, var(--aiq-shortcode-filter-btn-text-color, #fff));
    transform: translateY(-1px);
}

.aiq-products-shortcode .view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid #d5dde7;
    background: #ffffff;
    margin-right: 0;
}

.aiq-products-shortcode .products-toolbar-controls {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.aiq-products-shortcode .view-toggle-btn {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 7px 12px;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.aiq-products-shortcode .view-toggle-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.aiq-products-shortcode .view-toggle-btn.is-active {
    background: #0f172a;
    color: #fff;
}

.aiq-products-shortcode .products-content.view-list .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.aiq-products-shortcode .products-content.view-list .aiq-product-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
    border-radius: 14px;
    border-color: #d8e2ec;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.aiq-products-shortcode .products-content.view-list .aiq-product-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: #c9d6e4;
    transform: none;
}

.aiq-products-shortcode .products-content.view-list .product-image-link {
    height: 100%;
}

.aiq-products-shortcode .products-content.view-list .product-image-link img {
    height: 220px;
    min-height: 220px;
}

.aiq-products-shortcode .products-content.view-list .product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 22px;
}

.aiq-products-shortcode .products-content.view-list .product-brand {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    order: 1;
}

.aiq-products-shortcode .products-content.view-list .product-name {
    font-size: 22px;
    line-height: 1.25;
    order: 2;
}

.aiq-products-shortcode .products-content.view-list .product-meta {
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    order: 4;
}

.aiq-products-shortcode .products-content.view-list .product-price {
    font-size: 28px;
    color: var(--aiq-shortcode-primary-color);
    line-height: 1;
    margin-bottom: 0;
    order: 3;
}

.aiq-products-shortcode .products-content.view-list .product-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    order: 3;
    max-width: 90ch;
}

.aiq-products-shortcode .products-content.view-list .product-image-link .offer-badge {
    display: none;
}

.aiq-products-shortcode .products-content.view-list .product-offer-label {
    order: 5;
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.aiq-products-shortcode .products-content.view-list .product-weight {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #dbe6f1;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.aiq-products-shortcode .products-content.view-list .product-add-to-cart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    bottom: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--aiq-shortcode-primary-color);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.aiq-products-shortcode .products-content.view-list .product-add-to-cart-btn:hover {
    background: var(--aiq-shortcode-hover-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .aiq-products-shortcode .products-toolbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .aiq-products-shortcode .products-count {
        width: 100%;
        margin-right: 0;
    }

    .aiq-products-shortcode .products-toolbar-controls {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .aiq-products-shortcode .products-content.view-list .aiq-product-card {
        grid-template-columns: 1fr;
    }

    .aiq-products-shortcode .products-content.view-list .product-info {
        padding: 14px 14px 16px;
    }

    .aiq-products-shortcode .products-content.view-list .product-name {
        font-size: 18px;
    }

    .aiq-products-shortcode .products-content.view-list .product-price {
        font-size: 24px;
        line-height: 1;
        margin-bottom: 0;
    }

    .aiq-products-shortcode .products-content.view-list .product-add-to-cart-btn {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }
}

.aiq-products-shortcode .mobile-filter-toggle::after {
    content: " \25BE";
    font-size: 11px;
    margin-left: 10px;
}

.aiq-products-shortcode .mobile-filter-toggle.active::after {
    content: " \25B4";
}

.aiq-products-shortcode .products-content {
    background: #fff;
    border-radius: 8px;
    /* padding: 20px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.aiq-products-shortcode .offers-section {
    margin-bottom: 18px;
}

.aiq-products-shortcode .offers-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.aiq-products-shortcode .offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.aiq-products-shortcode .offer-banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 84px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #111827;
    background-size: cover;
    background-position: center;
}

.aiq-products-shortcode .offer-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.aiq-products-shortcode .offer-banner-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 15px;
    text-decoration: none;
    z-index: 2;
}

.aiq-products-shortcode .offer-banner-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.34) 100%);
}

.aiq-products-shortcode .offer-banner-link:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 8px;
}

.aiq-products-shortcode .offer-banner-content,
.aiq-products-shortcode .offer-banner-link .offer-shop-btn {
    position: relative;
    z-index: 2;
}

.aiq-products-shortcode .offer-banner-content {
    min-width: 0;
    flex: 1;
}

.aiq-products-shortcode .offer-banner-name {
    display: block;
    color: #fff;
    font-size: clamp(15px, 1.1vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiq-products-shortcode .offer-banner-subtext {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiq-products-shortcode .offer-banner-link .offer-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    border: 1px solid #2f3640;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    padding: 0 14px;
    flex-shrink: 0;
}

.aiq-products-shortcode .offer-banner-link:hover .offer-shop-btn {
    background: #f3f4f6;
    color: #111827;
}

.aiq-products-shortcode .products-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.aiq-products-shortcode .products-count {
    grid-column: 1;
    justify-self: start;
    font-size: 14px;
    color: #475569;
    margin-right: 0;
}

.aiq-products-shortcode .sort-select {
    min-height: 34px;
    padding: 6px 30px 6px 10px;
    border: 1px solid #d5dde7;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
}

.aiq-products-shortcode .products-toolbar-controls {
    grid-column: 2;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.aiq-products-shortcode .active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    flex-wrap: wrap;
}

.aiq-products-shortcode .active-filters-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #334155;
}

.aiq-products-shortcode .active-filters-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.aiq-products-shortcode .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #cfd8e3;
    border-radius: 20px;
    font-size: 13px;
    line-height: 1;
    color: #1e293b;
    transition: all 0.18s ease;
}

.aiq-products-shortcode .filter-tag:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.aiq-products-shortcode .filter-tag .remove-filter {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.aiq-products-shortcode .filter-tag .remove-filter:hover {
    background: #dc3545;
    color: #fff;
}

.aiq-products-shortcode .clear-all-filters {
    font-size: 13px;
    color: #b91c1c;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #f1b5b5;
    background: #fff;
    transition: all 0.2s;
}

.aiq-products-shortcode .clear-all-filters:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.aiq-products-shortcode .products-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(var(--aiq-shortcode-grid-mobile, 1), 1fr);
}

@media (min-width: 641px) {
    .aiq-products-shortcode .products-grid {
        grid-template-columns: repeat(var(--aiq-shortcode-grid-tablet, 2), 1fr);
    }
}

@media (min-width: 1025px) {
    .aiq-products-shortcode .products-grid {
        grid-template-columns: repeat(var(--aiq-shortcode-grid-desktop, 3), 1fr);
    }
}

@media (min-width: 1441px) {
    .aiq-products-shortcode .products-grid {
        grid-template-columns: repeat(var(--aiq-shortcode-grid-large, 4), 1fr);
    }
}

.aiq-products-shortcode .products-grid.columns-1 {
    grid-template-columns: 1fr;
}

.aiq-products-shortcode .products-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.aiq-products-shortcode .products-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.aiq-products-shortcode .products-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.aiq-products-shortcode .aiq-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.aiq-products-shortcode .aiq-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card {
    border-radius: 14px;
    border-color: #d6e1e9;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: relative;
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c5d3f 0%, #5a9a72 100%);
    opacity: 0.85;
    z-index: 2;
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card:hover {
    transform: translateY(-4px);
    border-color: #bfd0dd;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card .product-image-link {
    background: radial-gradient(circle at 50% 20%, #f7fbf8 0%, #eef3f7 72%);
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card img {
    transition: transform 0.35s ease;
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card:hover img {
    transform: scale(1.06);
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card .offer-badge {
    bottom: 10px;
    left: 10px;
    border-radius: 999px;
    padding: 7px 11px;
    box-shadow: 0 8px 18px rgba(214, 31, 38, 0.3);
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card .product-info {
    padding: 16px 16px 24px;
    gap: 8px;
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card .product-brand {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0;
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card .product-name {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.aiq-products-shortcode .products-content:not(.view-list) .aiq-product-card .product-price {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff8f1;
    border: 1px solid #cfe6d6;
    color: #1f6b44;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin-top: auto;
    margin-bottom: 4px;
}


.aiq-products-shortcode .aiq-product-card .product-image-link {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.aiq-products-shortcode .aiq-product-card .product-add-to-cart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--aiq-shortcode-button-color, var(--aiq-shortcode-primary-color, #0073e6));
    color: #fff !important;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.aiq-products-shortcode .aiq-product-card .product-add-to-cart-btn:hover {
    background: var(--aiq-shortcode-hover-color, #005bb5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
}

.aiq-products-shortcode .aiq-product-card .product-add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

.aiq-products-shortcode .aiq-product-card .product-add-to-cart-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.aiq-products-shortcode .aiq-product-card .product-add-to-cart-btn.loading i {
    animation: aiq-shortcode-cart-spin 0.7s linear infinite;
}

@keyframes aiq-shortcode-cart-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.aiq-add-to-cart-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: min(320px, calc(100vw - 32px));
    max-width: 420px;
    background:
        radial-gradient(circle at top left, rgba(52, 211, 153, 0.20), transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    opacity: 0;
    transform: translateY(12px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

.aiq-add-to-cart-toast i {
    color: #6ee7b7;
    font-size: 18px;
}

.aiq-add-to-cart-toast strong {
    color: #ffffff;
}

.aiq-add-to-cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .aiq-add-to-cart-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: 0;
        max-width: none;
    }
}

.aiq-products-shortcode .aiq-product-card .offer-badge {
    position: absolute;
    bottom: 11px;
    left: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 0;
    background: #d61f26;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    box-shadow: none;
}

.aiq-products-shortcode .aiq-product-card .low-stock-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.aiq-products-shortcode .aiq-product-card .special-banner {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 56px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    background: linear-gradient(120deg, rgba(17, 24, 39, 0.9) 0%, rgba(31, 41, 55, 0.85) 100%);
}

.aiq-products-shortcode .aiq-product-card .special-banner.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.aiq-products-shortcode .aiq-product-card .special-banner.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.aiq-products-shortcode .aiq-product-card .special-banner-text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    padding: 10px 12px;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.aiq-products-shortcode .aiq-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #f5f5f5;
    display: block;
}

.aiq-products-shortcode .aiq-product-card .product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.aiq-products-shortcode .aiq-product-card .product-brand {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.aiq-products-shortcode .aiq-product-card .product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    margin-top: 0;
}

.aiq-products-shortcode .aiq-product-card .product-name a {
    color: #333;
    text-decoration: none;
}

.aiq-products-shortcode .aiq-product-card .product-name a:hover {
    color: var(--aiq-shortcode-primary-color);
}

.aiq-products-shortcode .aiq-product-card .product-price {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    margin-bottom: 0;
}

.aiq-products-shortcode .aiq-product-card .product-excerpt {
    display: none;
    margin: 2px 0 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
}

.aiq-products-shortcode .aiq-product-card .product-offer-label {
    display: none;
}

.aiq-products-shortcode .aiq-product-card .product-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--aiq-shortcode-button-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    margin-top: auto;
}

.aiq-products-shortcode .aiq-product-card .product-cta-button:hover {
    background: var(--aiq-shortcode-hover-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.aiq-products-shortcode .products-grid.columns-1 .aiq-product-card {
    flex-direction: row;
    width: 100%;
    margin: 0 auto;
}

.aiq-products-shortcode .products-grid.columns-1 .aiq-product-card .product-image-link {
    flex-shrink: 0;
    width: 300px;
}

.aiq-products-shortcode .products-grid.columns-1 .aiq-product-card img {
    height: 100%;
    min-height: 280px;
}

.aiq-products-shortcode .products-grid.columns-1 .aiq-product-card .product-info {
    padding: 25px;
}

.aiq-products-shortcode .products-grid.columns-1 .aiq-product-card .product-name {
    font-size: 22px;
    margin-bottom: 12px;
}

.aiq-products-shortcode .products-grid.columns-1 .aiq-product-card .product-price {
    font-size: 24px;
    margin-bottom: 20px;
}

.aiq-products-shortcode .aiq-product-no-image {
    width: 100%;
    height: 220px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.aiq-products-shortcode .no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.aiq-products-shortcode .screen-reader-text {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.aiq-products-shortcode .skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    background: #fff;
    padding: 10px 20px;
    border: 2px solid var(--aiq-shortcode-button-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.aiq-products-shortcode a:focus,
.aiq-products-shortcode button:focus,
.aiq-products-shortcode input:focus,
.aiq-products-shortcode select:focus {
    outline: 3px solid var(--aiq-shortcode-button-color);
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    .aiq-products-shortcode.with-filters .shortcode-layout {
        grid-template-columns: 1fr;
    }

    .aiq-products-shortcode .filters-sidebar {
        position: static;
        display: none;
        margin-bottom: 20px;
        border-radius: 14px;
        padding: 13px;
    }

    .aiq-products-shortcode .filters-sidebar.active {
        display: block;
    }

    .aiq-products-shortcode .mobile-filter-toggle {
        display: block;
    }

    .aiq-products-shortcode .products-grid.columns-3,
    .aiq-products-shortcode .products-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

}

.aiq-products-shortcode .aiq-pagination {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.aiq-products-shortcode .aiq-pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.aiq-products-shortcode .aiq-pagination .page-numbers li {
    margin: 0;
}

.aiq-products-shortcode .aiq-pagination a.page-numbers,
.aiq-products-shortcode .aiq-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.aiq-products-shortcode .aiq-pagination a.page-numbers:hover {
    background: var(--aiq-shortcode-primary-color);
    color: #fff;
    border-color: var(--aiq-shortcode-primary-color);
}

.aiq-products-shortcode .aiq-pagination span.current {
    background: var(--aiq-shortcode-primary-color);
    color: #fff;
    border-color: var(--aiq-shortcode-primary-color);
}

.aiq-products-shortcode .aiq-pagination .dots {
    border: none;
    background: transparent;
    color: #999;
}

@media (max-width: 768px) {
    .aiq-products-shortcode .products-grid,
    .aiq-products-shortcode .products-grid.columns-2,
    .aiq-products-shortcode .products-grid.columns-3,
    .aiq-products-shortcode .products-grid.columns-4 {
        grid-template-columns: repeat(var(--aiq-shortcode-grid-mobile, 1), 1fr);
    }

    .aiq-products-shortcode .offers-grid {
        grid-template-columns: 1fr;
    }

    .aiq-products-shortcode .products-toolbar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .aiq-products-shortcode .products-count,
    .aiq-products-shortcode .products-toolbar-controls {
        width: 100%;
        justify-self: stretch;
    }

    .aiq-products-shortcode .products-toolbar-controls {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .aiq-products-shortcode .products-grid.columns-1 .aiq-product-card {
        flex-direction: column;
    }

    .aiq-products-shortcode .products-grid.columns-1 .aiq-product-card .product-image-link {
        width: 100%;
    }

    .aiq-products-shortcode .products-grid.columns-1 .aiq-product-card img {
        height: 220px;
        min-height: auto;
    }

    .aiq-products-shortcode .products-grid.columns-1 .aiq-product-card .product-info {
        padding: 15px;
    }

    .aiq-products-shortcode .products-grid.columns-1 .aiq-product-card .product-name {
        font-size: 16px;
    }

    .aiq-products-shortcode .products-grid.columns-1 .aiq-product-card .product-price {
        font-size: 20px;
    }

}
