
.cartnexa-pro-product-price del {
    opacity: 1 !important;
}

.cartnexa-pro-product-price del,
.cartnexa-pro-product-price del *,
.cartnexa-pro-product-price .price,
.cartnexa-pro-product-price ins,
.cartnexa-pro-product-price ins *,
.cartnexa-pro-product-price .woocommerce-Price-amount,
.cartnexa-pro-product-price .woocommerce-Price-currencySymbol,
.cartnexa-pro-product-price bdi {
    font-weight: inherit !important;
}

.cartnexa-pro-grid-wrap {
    width: 100%;
}

/* Grid */
.cartnexa-pro-product-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

.cartnexa-pro-product-grid.columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.cartnexa-pro-product-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cartnexa-pro-product-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cartnexa-pro-product-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cartnexa-pro-product-grid.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cartnexa-pro-product-grid.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .cartnexa-pro-product-grid.columns-tablet-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-tablet-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-tablet-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-tablet-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-tablet-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-tablet-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .cartnexa-pro-product-grid.columns-mobile-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-mobile-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-mobile-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-mobile-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-mobile-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .cartnexa-pro-product-grid.columns-mobile-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Card */
.cartnexa-pro-product-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #ebf0f5;
    border-radius: 20px;
    padding: 12px;
    overflow: visible;
    min-width: 0;
    text-align: center;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.cartnexa-pro-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
	border-color: #dde6ef;
}

/* Image */
.cartnexa-pro-product-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc, #eef2f7);
    padding: 8px;
    min-height: 265px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartnexa-pro-product-image {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
}

.cartnexa-pro-product-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}

.cartnexa-pro-main-image,
.cartnexa-pro-second-image,
.cartnexa-pro-product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    transition: opacity 0.40s ease, transform 0.40s ease;
    will-change: transform, opacity;
}

.cartnexa-pro-main-image {
    opacity: 1;
    transform: scale(1);
}

.cartnexa-pro-second-image {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.06);
}

.cartnexa-pro-product-card.has-second-image:hover .cartnexa-pro-main-image {
    opacity: 0;
    transform: scale(0.97);
}

.cartnexa-pro-product-card.has-second-image:hover .cartnexa-pro-second-image {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Actions */
.cartnexa-pro-product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.28s ease;
    z-index: 3;
}

.cartnexa-pro-product-card:hover .cartnexa-pro-product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cartnexa-pro-action-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, background 0.22s ease;
    padding: 0;
    overflow: visible;
}

.cartnexa-pro-thirdparty-btn {
    overflow: visible;
}


.cartnexa-pro-action-btn:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #1d4ed8;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.cartnexa-pro-action-btn svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 18px;
}

.cartnexa-pro-widget-wishlist-btn.is-active,
.cartnexa-wishlist-btn.is-active {
    color: inherit;
    background: inherit;
    border-color: inherit;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.cartnexa-pro-widget-wishlist-btn.is-active svg,
.cartnexa-wishlist-btn.is-active svg {
    fill: currentColor;
    stroke: currentColor;
}

/* Content */
.cartnexa-pro-product-content {
    padding: 12px 4px 2px;
    text-align: center;
}

.cartnexa-pro-product-title {
	font-size: 17px;
	line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin: 0 0 8px;
    min-height: 46px;
}

.cartnexa-pro-product-title a {
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.cartnexa-pro-product-title a:hover {
    color: #1d4ed8;
}

.cartnexa-pro-product-rating {
    min-height: 18px;
    margin: 0 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cartnexa-pro-product-rating .star-rating {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.6px;
}

.cartnexa-pro-product-price {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
    color: #ef5b47;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    word-break: keep-all;
}

.cartnexa-pro-product-price del,
.cartnexa-pro-product-price .old-price {
    color: #94a3b8;
    font-weight: 600;
}

.cartnexa-pro-product-price ins {
    text-decoration: none;
    color: #ef5b47;
}

.cartnexa-pro-product-price .woocommerce-Price-amount {
    font-weight: 800;
}

.cartnexa-pro-product-button {
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 2px;
}

.cartnexa-pro-product-card {
    --cartnexa-pro-btn-bg: linear-gradient(180deg, #2c39a4 0%, #25308c 100%);
    --cartnexa-pro-btn-color: #ffffff;
    --cartnexa-pro-btn-border: transparent;
    --cartnexa-pro-btn-shadow: 0 12px 24px rgba(37, 48, 140, 0.22);
    --cartnexa-pro-btn-hover-bg: linear-gradient(180deg, #3342b8 0%, #2a3699 100%);
    --cartnexa-pro-btn-hover-color: #ffffff;
    --cartnexa-pro-btn-hover-border: transparent;
    --cartnexa-pro-btn-hover-shadow: 0 16px 30px rgba(37, 48, 140, 0.28);
}

.cartnexa-pro-product-button .button,
.cartnexa-pro-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid var(--cartnexa-pro-btn-border, transparent);
    background: var(--cartnexa-pro-btn-bg);
    color: var(--cartnexa-pro-btn-color);
    box-shadow: var(--cartnexa-pro-btn-shadow);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.cartnexa-pro-product-button .button:hover,
.cartnexa-pro-cart-btn:hover {
    transform: translateY(-1px);
    background: var(--cartnexa-pro-btn-hover-bg);
    color: var(--cartnexa-pro-btn-hover-color);
    border-color: var(--cartnexa-pro-btn-hover-border, transparent);
    box-shadow: var(--cartnexa-pro-btn-hover-shadow);
}

/* View cart separate secondary style */
.cartnexa-pro-product-button .added_to_cart,
.cartnexa-pro-hover-add-to-cart .added_to_cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid var(--cartnexa-pro-secondary-btn-border, transparent);
    background: var(--cartnexa-pro-secondary-btn-bg, #e9edff);
    color: var(--cartnexa-pro-secondary-btn-color, #2f3fae);
    box-shadow: var(--cartnexa-pro-secondary-btn-shadow, none);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.cartnexa-pro-product-button .added_to_cart:hover,
.cartnexa-pro-hover-add-to-cart .added_to_cart:hover {
    transform: translateY(-1px);
    background: var(--cartnexa-pro-secondary-btn-hover-bg, #dfe6ff);
    color: var(--cartnexa-pro-secondary-btn-hover-color, #2f3fae);
    border-color: var(--cartnexa-pro-secondary-btn-hover-border, transparent);
    box-shadow: var(--cartnexa-pro-secondary-btn-hover-shadow, none);
}



/* Badges */
.cartnexa-pro-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.cartnexa-pro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.cartnexa-pro-badge-discount { background: #1677ff; }
.cartnexa-pro-badge-hot { background: #ff3b30; }
.cartnexa-pro-badge-new { background: #16a34a; }
.cartnexa-pro-badge-stock-out { background: #111827; }
.cartnexa-pro-badge-low-stock { background: #f59e0b; }
.cartnexa-pro-badge-best-seller { background: #7c3aed; }

.cartnexa-pro-product-card.cartnexa-pro-badges-top_left .cartnexa-pro-product-badges {
    top: 12px;
    right: auto;
    bottom: auto;
    left: 12px;
    align-items: flex-start;
}

.cartnexa-pro-product-card.cartnexa-pro-badges-top_right .cartnexa-pro-product-badges {
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
    align-items: flex-end;
}

.cartnexa-pro-product-card.cartnexa-pro-badges-bottom_left .cartnexa-pro-product-badges {
    top: auto;
    right: auto;
    bottom: 12px;
    left: 12px;
    align-items: flex-start;
}

.cartnexa-pro-product-card.cartnexa-pro-badges-bottom_right .cartnexa-pro-product-badges {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: auto;
    align-items: flex-end;
}

/* Tablet */
@media (max-width: 1024px) {
    .cartnexa-pro-product-card {
        border-radius: 18px;
        padding: 13px;
    }

    .cartnexa-pro-product-image-wrap {
        min-height: 250px;
        padding: 8px;
    }

    .cartnexa-pro-product-image {
        height: 240px;
    }

    .cartnexa-pro-product-title {
        font-size: 18px;
        margin: 0 0 6px;
        min-height: 56px;
    }

    .cartnexa-pro-product-price {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .cartnexa-pro-product-button .button,
    .cartnexa-pro-product-button .added_to_cart,
    .cartnexa-pro-cart-btn {
        min-height: 48px;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cartnexa-pro-product-card {
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    }

    .cartnexa-pro-product-image-wrap {
        border-radius: 14px;
        min-height: 220px;
        padding: 6px;
    }

    .cartnexa-pro-product-image {
        height: 190px;
    }

    .cartnexa-pro-product-content {
        padding: 14px 2px 2px;
    }

    .cartnexa-pro-product-title {
        font-size: 16px;
        line-height: 1.42;
        margin-bottom: 8px;
        min-height: 50px;
    }

    .cartnexa-pro-product-rating {
        margin: 0 0 6px;
        min-height: 18px;
    }

    .cartnexa-pro-product-rating .star-rating {
        font-size: 13px;
    }

    .cartnexa-pro-product-price {
        font-size: 15px;
        gap: 4px;
        margin: 0 0 10px;
        line-height: 1.5;
    }

    .cartnexa-pro-product-button .button,
    .cartnexa-pro-product-button .added_to_cart,
    .cartnexa-pro-cart-btn {
        min-height: 46px;
        border-radius: 12px;
        font-size: 15px;
        padding: 11px 16px;
    }

    .cartnexa-pro-badge {
		min-height: 24px;
		padding: 4px 9px;
		border-radius: 9px;
		font-size: 11px;
		box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
    }

    .cartnexa-pro-action-btn {
		width: 40px;
		height: 40px;
		border-radius: 12px;
		background: rgba(255,255,255,0.88);
		border: 1px solid rgba(226,232,240,0.9);
		box-shadow: 0 10px 24px rgba(15,23,42,0.10);
    }
}

/* Pagination */
.cartnexa-pro-pagination-wrap {
    margin-top: 28px;
    text-align: center;
}

.cartnexa-pro-load-more-btn {
    min-height: 46px;
    padding:12px 28px;
	border:1px solid transparent;
    border-radius:12px;
    background: #ef5a47;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cartnexa-pro-load-more-btn:hover {
    transform: translateY(-2px);
    background: #d94c3a;
	border:1px solid transparent;
    transition: all .25s ease;
	
}

.cartnexa-pro-load-more-btn.is-loading {
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
}

.cartnexa-pro-grid-loader,
.cartnexa-pro-grid-end-message {
    margin-top: 14px;
    font-size: 14px;
    color: #6b7280;
}

/* Skeleton */
.cartnexa-pro-grid-skeleton {
    margin-top: 24px;
}

.cartnexa-pro-skeleton-card {
    pointer-events: none;
}

.cartnexa-pro-skeleton {
    position: relative;
    overflow: hidden;
    background: #eceff3;
    border-radius: 10px;
}

.cartnexa-pro-skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.55) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: cartnexa-pro-skeleton-shimmer 1.2s infinite;
}

.cartnexa-pro-skeleton-image {
    width: 100%;
    height: 300px;
    border-radius: 14px;
}

.cartnexa-pro-skeleton-title {
    width: 82%;
    height: 16px;
    margin: 0 auto 10px;
}

.cartnexa-pro-skeleton-title.small {
    width: 58%;
    height: 16px;
}

.cartnexa-pro-skeleton-rating {
    width: 96px;
    height: 14px;
    margin: 0 auto 12px;
}

.cartnexa-pro-skeleton-price {
    width: 90px;
    height: 18px;
    margin: 0 auto 14px;
}

.cartnexa-pro-skeleton-button {
    width: 140px;
    height: 42px;
    margin: 0 auto;
    border-radius: 10px;
}

.cartnexa-pro-new-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.cartnexa-pro-new-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes cartnexa-pro-skeleton-shimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* Sorting */
.cartnexa-pro-grid-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cartnexa-pro-grid-sorting-wrap {
    display: inline-flex;
    align-items: center;
}

.cartnexa-pro-grid-sorting {
    min-width: 220px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #1f2937;
    outline: none;
    transition: all 0.3s ease;
}

.cartnexa-pro-grid-sorting:focus {
    border-color: #ef5a47;
    box-shadow: 0 0 0 3px rgba(239, 90, 71, 0.12);
}

/* Filter Widget */
.cartnexa-pro-filter-widget {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 14px 14px 10px;
}

.cartnexa-pro-filter-header {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0 0 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
    transition: opacity 0.2s ease;
}

.cartnexa-pro-filter-header:hover {
    opacity: 0.85;
}

.cartnexa-pro-filter-header-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #1f2937;
}

.cartnexa-pro-filter-toggle-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.cartnexa-pro-filter-toggle-icon::before,
.cartnexa-pro-filter-toggle-icon::after {
    content: "";
    position: absolute;
    background: #1f2937;
    border-radius: 2px;
}

.cartnexa-pro-filter-toggle-icon::before {
    top: 7px;
    left: 1px;
    width: 14px;
    height: 2px;
}

.cartnexa-pro-filter-toggle-icon::after {
    top: 1px;
    left: 7px;
    width: 2px;
    height: 14px;
    transition: opacity 0.22s ease;
}

.cartnexa-pro-category-filter:not(.is-collapsed) .cartnexa-pro-filter-toggle-icon::after,
.cartnexa-pro-attribute-filter:not(.is-collapsed) .cartnexa-pro-filter-toggle-icon::after,
.cartnexa-pro-stock-filter:not(.is-collapsed) .cartnexa-pro-filter-toggle-icon::after,
.cartnexa-pro-rating-filter:not(.is-collapsed) .cartnexa-pro-filter-toggle-icon::after,
.cartnexa-pro-price-filter:not(.is-collapsed) .cartnexa-pro-filter-toggle-icon::after,
.cartnexa-pro-price-slider-filter:not(.is-collapsed) .cartnexa-pro-filter-toggle-icon::after {
    opacity: 0;
}

.cartnexa-pro-filter-body {
    padding-top: 14px;
    overflow: hidden;
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.cartnexa-pro-category-filter.is-collapsed .cartnexa-pro-filter-body,
.cartnexa-pro-attribute-filter.is-collapsed .cartnexa-pro-filter-body,
.cartnexa-pro-stock-filter.is-collapsed .cartnexa-pro-filter-body,
.cartnexa-pro-rating-filter.is-collapsed .cartnexa-pro-filter-body,
.cartnexa-pro-price-filter.is-collapsed .cartnexa-pro-filter-body,
.cartnexa-pro-price-slider-filter.is-collapsed .cartnexa-pro-filter-body {
    max-height: 0;
    opacity: 0;
}

.cartnexa-pro-filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 6px;
}

.cartnexa-pro-filter-list::-webkit-scrollbar {
    width: 6px;
}

.cartnexa-pro-filter-list::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}

.cartnexa-pro-filter-item {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    color: #374151;
}

.cartnexa-pro-filter-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 2px;
    display: inline-block;
    position: relative;
}

.cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-checkbox::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #ef5a47;
    border-radius: 1px;
}

.cartnexa-pro-filter-label,
.cartnexa-pro-filter-count {
    font-size: 15px;
    line-height: 1.5;
}

.cartnexa-pro-filter-item:hover .cartnexa-pro-filter-label,
.cartnexa-pro-filter-item:hover .cartnexa-pro-filter-count,
.cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-label,
.cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-count {
    color: #111827;
}

.cartnexa-pro-filter-empty {
    font-size: 14px;
    color: #6b7280;
}

/* Attribute Filter - Box */
.cartnexa-pro-attribute-filter-list.display-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.cartnexa-pro-attribute-filter-list.display-box .cartnexa-pro-filter-item {
    width: auto;
    min-width: 44px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    display: inline-flex;
    grid-template-columns: none;
    justify-content: center;
    background: #fff;
}

.cartnexa-pro-attribute-filter-list.display-box .cartnexa-pro-filter-item.is-active {
    border-color: #ef5a47;
    color: #ef5a47;
    background: #fff7f5;
}

/* Attribute Filter - Swatch */
.cartnexa-pro-attribute-filter-list.display-swatch {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.cartnexa-pro-attribute-filter-list.display-swatch .cartnexa-pro-filter-item {
    width: auto;
    border: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    grid-template-columns: none;
    gap: 0;
}

.cartnexa-pro-attribute-swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    display: inline-block;
    transition: all 0.3s ease;
}

.cartnexa-pro-attribute-filter-list.display-swatch .cartnexa-pro-filter-item.is-active .cartnexa-pro-attribute-swatch {
    border-color: #111827;
    transform: scale(1.08);
}

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

/* Responsive */
@media (max-width: 767px) {
    .cartnexa-pro-product-image-wrap {
        min-height: 250px;
        padding: 18px;
    }

    .cartnexa-pro-product-image {
        height: 240px;
    }

    .cartnexa-pro-product-actions {
        top: 14px;
        right: 14px;
    }
}


.cartnexa-pro-price-filter-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cartnexa-pro-price-filter-fields input {
    width: 100%;
    height: 44px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 0 14px;
    outline: none;
    box-sizing: border-box;
}

.cartnexa-pro-price-filter-fields input:focus {
    border-color: #2563eb;
}

.cartnexa-pro-price-apply-btn,
.cartnexa-pro-price-slider-apply-btn,
.cartnexa-pro-reset-filters {
    width: 100%;
    min-height: 44px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    background: #111827;
    color: #fff;
}

.cartnexa-pro-price-apply-btn:hover,
.cartnexa-pro-price-slider-apply-btn:hover,
.cartnexa-pro-reset-filters:hover {
    opacity: 0.92;
}

.cartnexa-pro-price-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cartnexa-pro-price-slider-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cartnexa-pro-price-slider-inputs input[type="range"] {
    width: 100%;
    margin: 0;
}

.cartnexa-pro-price-slider-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #374151;
}

.cartnexa-pro-reset-filter {
    margin-top: 12px;
    margin-bottom: 18px;
}

.cartnexa-mobile-filter-btn {
    display: none;
    padding: 10px 15px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .cartnexa-mobile-filter-btn {
        display: block;
    }
    .cartnexa-mobile-filter-btn.is-disabled-mobile,
    .cartnexa-mobile-hide-sorting {
        display: none !important;
    }
}

.cartnexa-filter-drawer {
    position: fixed;
    right: -350px;
    top: 0;
    width: 320px;
    height: 100%;
    background: #fff;
    transition: .3s;
    z-index: 9999;
}

.cartnexa-filter-drawer.open {
    right: 0;
}


.cartnexa-filter-widget-placeholder {
    display: none !important;
}

.cartnexa-filter-overlay {
    display: none;
}

.cartnexa-filter-drawer-header {
    display: none;
}

.cartnexa-filter-drawer-close {
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    color: #111827;
}

.cartnexa-filter-drawer-content {
    display: block;
}

body.cartnexa-mobile-filters-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .cartnexa-pro-grid-toolbar {
        justify-content: space-between;
        align-items: stretch;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .cartnexa-mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        min-width: 92px;
        min-height: 44px;
        margin: 0;
        padding: 12px 18px;
        background: linear-gradient(135deg, #0f172a, #111827);
        color: #fff;
        border: none;
        border-radius: 12px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    }

    .cartnexa-pro-grid-sorting-wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    .cartnexa-pro-grid-sorting {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        border-radius: 12px;
    }

    .cartnexa-filter-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.42);
        backdrop-filter: blur(2px);
        z-index: 9997;
    }

    .cartnexa-filter-overlay.is-active {
        display: block;
    }

    .cartnexa-filter-drawer {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        width: min(340px, 88vw);
        max-width: 88vw;
        height: 100vh;
        background: #fff;
        z-index: 9998;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        overflow: hidden;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .cartnexa-filter-drawer.open {
        transform: translateX(0);
        right: auto;
    }

    .cartnexa-filter-drawer-header {
        position: sticky;
        top: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        border-bottom: 1px solid #eef2f7;
        background: rgba(255,255,255,0.94);
        backdrop-filter: blur(10px);
    }

    .cartnexa-filter-drawer-heading {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .cartnexa-filter-drawer-title {
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
        letter-spacing: -0.01em;
    }

    .cartnexa-filter-drawer-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 24px;
        height: 24px;
        padding: 0 7px;
        border-radius: 999px;
        background: #eff6ff;
        color: #1d4ed8;
        font-size: 12px;
        font-weight: 700;
    }

    .cartnexa-filter-drawer-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .cartnexa-filter-drawer-clear {
        border: none;
        background: transparent;
        color: #2563eb;
        font-size: 13px;
        font-weight: 700;
        padding: 0;
        cursor: pointer;
    }

    .cartnexa-filter-drawer-clear.is-hidden {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .cartnexa-filter-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        background: #fff;
        font-size: 28px;
        line-height: 1;
        padding: 0;
        cursor: pointer;
        color: #111827;
    }

    .cartnexa-filter-drawer-content {
        height: calc(100vh - 66px);
        overflow-y: auto;
        padding: 14px 14px 28px;
        -webkit-overflow-scrolling: touch;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .cartnexa-filter-drawer-content .cartnexa-pro-filter-widget,
    .cartnexa-filter-drawer-content .cartnexa-pro-reset-filter {
        margin-top: 0;
        margin-bottom: 14px;
        border-radius: 16px;
    }

    .cartnexa-filter-drawer-content .cartnexa-pro-filter-widget {
        background: #fff;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
        border: 1px solid #edf2f7;
        padding: 0;
    }

    .cartnexa-filter-drawer-content .cartnexa-pro-filter-header {
        min-height: 52px;
        padding: 14px 16px;
        border: 0;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 16px 16px 0 0;
        background: #fff;
    }

    .cartnexa-filter-drawer-content .cartnexa-pro-filter-header-title {
        font-size: 15px;
        font-weight: 700;
    }

    .cartnexa-filter-drawer-content .cartnexa-pro-filter-body {
        padding: 4px 14px 14px;
    }

    .cartnexa-filter-drawer-content .cartnexa-pro-reset-filter {
        position: sticky;
        bottom: 0;
        background: linear-gradient(180deg, rgba(248,250,252,0.4) 0%, #f8fafc 25%, #f8fafc 100%);
        padding-top: 10px;
        padding-bottom: 18px;
        margin-bottom: 8px;
    }

    .cartnexa-filter-drawer-content .cartnexa-pro-reset-filters {
        min-height: 46px;
        border-radius: 12px;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    }
}

@media (min-width: 769px) {
    .cartnexa-filter-overlay,
    .cartnexa-filter-drawer {
        display: none !important;
    }
}
/* Common premium style for all list-based filters */

.cartnexa-pro-filter-widget .cartnexa-pro-filter-header {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-header:hover,
.cartnexa-pro-filter-widget .cartnexa-pro-filter-header:focus {
    background: #ffffff;
    color: #0f172a;
    border-color: #dbe3ec;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #ffffff;
    padding: 10px 12px;
    transition: background-color .22s ease, border-color .22s ease, transform .18s ease;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item:hover {
    background: #f8fafc;
    border-color: #e5e7eb;
    transform: translateX(2px);
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-checkbox {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    position: relative;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item:hover .cartnexa-pro-filter-checkbox {
    border-color: #94a3b8;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-checkbox {
    background: #ffffff;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.10);
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-checkbox::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #f97366;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-label {
    flex: 1;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    color: #0f172a;
    text-align: left;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-count {
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    color: #0f172a;
    opacity: 0.9;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-label,
.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-count {
    color: #0f172a;
}

@media (max-width: 767px) {
    .cartnexa-pro-filter-widget .cartnexa-pro-filter-item {
        padding: 9px 10px;
        border-radius: 9px;
    }

    .cartnexa-pro-filter-widget .cartnexa-pro-filter-label {
        font-size: 15px;
    }

    .cartnexa-pro-filter-widget .cartnexa-pro-filter-count {
        font-size: 14px;
    }

    .cartnexa-pro-filter-widget .cartnexa-pro-filter-checkbox {
        width: 15px;
        height: 15px;
        min-width: 15px;
    }

    .cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-checkbox::after {
        width: 7px;
        height: 7px;
    }
}

/* Filter header polish */

.cartnexa-pro-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(15,23,42,0.05);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.cartnexa-pro-filter-header:hover {
    box-shadow: 0 6px 16px rgba(15,23,42,0.08);
    border-color: #dbe3ec;
}

/* header title */

.cartnexa-pro-filter-header-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

/* toggle icon */

.cartnexa-pro-filter-toggle-icon {
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform .25s ease;
}

.cartnexa-pro-filter-toggle-icon::before,
.cartnexa-pro-filter-toggle-icon::after {
    content: "";
    position: absolute;
    background: #334155;
    border-radius: 2px;
}

.cartnexa-pro-filter-toggle-icon::before {
    width: 14px;
    height: 2px;
    top: 7px;
    left: 1px;
}

.cartnexa-pro-filter-toggle-icon::after {
    width: 2px;
    height: 14px;
    left: 7px;
    top: 1px;
}

/* when open */

.cartnexa-pro-filter-header[aria-expanded="true"] 
.cartnexa-pro-filter-toggle-icon::after {
    display: none;
}
.cartnexa-pro-filter-widget {
    margin-bottom: 18px;
}

/* Mobile polish for price range */

@media (max-width: 767px){

.cartnexa-pro-price-slider-wrap{
    padding: 12px 10px 6px;
}

.cartnexa-pro-price-slider-inputs{
    gap:10px;
}

/* slider track */

.cartnexa-pro-price-slider-inputs input[type="range"]{
    -webkit-appearance:none;
    appearance:none;
    width:100%;
    height:4px;
    border-radius:999px;
    background:#e2e8f0;
    outline:none;
}

/* slider thumb */

.cartnexa-pro-price-slider-inputs input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance:none;
    appearance:none;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#1d4ed8;
    border:3px solid #ffffff;
    box-shadow:0 3px 8px rgba(0,0,0,0.18);
    margin-top:-7px;
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-moz-range-thumb{
    width:18px;
    height:18px;
    border-radius:50%;
    background:#1d4ed8;
    border:3px solid #ffffff;
    box-shadow:0 3px 8px rgba(0,0,0,0.18);
}

/* values */

.cartnexa-pro-price-slider-values{
    display:flex;
    justify-content:space-between;
    font-size:15px;
    font-weight:600;
    margin-top:10px;
    color:#334155;
}

}
.cartnexa-pro-price-slider-wrap{
    background:#f8fafc;
    border-radius:12px;
    padding:14px;
}

/* ===============================
   Cartnexa Lite Premium Pagination
   =============================== */

.cartnexa-pro-pagination-wrap{
    width:100%;
    margin-top:30px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}

/* Pagination container */
.cartnexa-pro-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
}

/* UL layout */
.cartnexa-pro-pagination ul.page-numbers{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
}

/* Remove bullets */
.cartnexa-pro-pagination ul.page-numbers li{
    list-style:none;
}

/* Link + number */
.cartnexa-pro-pagination .page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    height:44px;
    padding:0 16px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    border-radius:999px;
    border:1px solid #e5e7eb;
    background:#ffffff;
    color:#1f2937;
    transition:all .25s ease;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

/* Hover */
.cartnexa-pro-pagination a.page-numbers:hover{
    background:linear-gradient(135deg,#ff4d6d,#ff7a59);
    color:#fff;
    border-color:transparent;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(255,77,109,0.25);
}

/* Active page */
.cartnexa-pro-pagination .current{
    background:linear-gradient(135deg,#ff4d6d,#ff7a59);
    color:#fff;
    border:none;
    box-shadow:0 10px 24px rgba(255,77,109,0.25);
}

/* Next button slightly wider */
.cartnexa-pro-pagination .next{
    padding:0 20px;
}

/* Loader */
.cartnexa-pro-pagination-loader{
    margin-top:15px;
    text-align:center;
}

.cartnexa-pro-loader-text{
    font-size:14px;
    color:#64748b;
}

/* ===============================
   Responsive
   =============================== */

@media (max-width:768px){

.cartnexa-pro-pagination ul.page-numbers{
    gap:8px;
}

.cartnexa-pro-pagination .page-numbers{
    min-width:38px;
    height:38px;
    font-size:13px;
    padding:0 14px;
}

}

@media (max-width:480px){

.cartnexa-pro-pagination .page-numbers{
    min-width:34px;
    height:34px;
    font-size:12px;
    padding:0 12px;
}

.cartnexa-pro-pagination .next{
    padding:0 14px;
}

}
/* Phase 2: Full Style Controls polish */
.cartnexa-pro-grid-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cartnexa-pro-grid-sorting {
    min-height: 44px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    padding: 10px 14px;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.cartnexa-pro-grid-sorting:hover,
.cartnexa-pro-grid-sorting:focus {
    border-color: #c7d4e2;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.08);
    outline: none;
}

.cartnexa-pro-cart-btn {
    border: 1px solid transparent;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.cartnexa-pro-cart-btn:hover {
    transform: translateY(-1px);
}

.cartnexa-pro-pagination-loader,
.cartnexa-pro-pagination-end-message {
    width: 100%;
    margin-top: 14px;
    text-align: center;
}

.cartnexa-pro-pagination ul.page-numbers {
    gap: 10px;
}

.cartnexa-pro-pagination .page-numbers {
    transition: all 0.25s ease;
}


/* Phase 3: Layout Presets */
.cartnexa-pro-product-card.cartnexa-pro-layout-classic {
    text-align: center;
}


.cartnexa-pro-product-card.cartnexa-pro-layout-minimal {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
.cartnexa-pro-product-card.cartnexa-pro-layout-minimal .cartnexa-pro-product-image-wrap {
    background: #fff;
    border: 1px solid #eef2f7;
}
.cartnexa-pro-product-card.cartnexa-pro-layout-minimal .cartnexa-pro-product-content {
    padding: 16px 6px 6px;
}

/* Phase 3: Image Hover Effects */
.cartnexa-pro-product-card.cartnexa-pro-hover-none .cartnexa-pro-main-image,
.cartnexa-pro-product-card.cartnexa-pro-hover-none .cartnexa-pro-second-image {
    transition: none;
}
.cartnexa-pro-product-card.cartnexa-pro-hover-none:hover .cartnexa-pro-main-image {
    opacity: 1;
    transform: none;
}
.cartnexa-pro-product-card.cartnexa-pro-hover-none:hover .cartnexa-pro-second-image {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.06);
}

.cartnexa-pro-product-card.cartnexa-pro-hover-zoom:hover .cartnexa-pro-main-image {
    opacity: 1;
    transform: scale(1.08);
}
.cartnexa-pro-product-card.cartnexa-pro-hover-zoom:hover .cartnexa-pro-second-image {
    opacity: 0;
}

.cartnexa-pro-product-card.cartnexa-pro-hover-fade:hover .cartnexa-pro-main-image {
    opacity: 0.65;
    transform: scale(1);
}
.cartnexa-pro-product-card.cartnexa-pro-hover-fade:hover .cartnexa-pro-second-image {
    opacity: 0;
}

.cartnexa-pro-product-card.cartnexa-pro-hover-zoom_fade:hover .cartnexa-pro-main-image {
    opacity: 0.72;
    transform: scale(1.08);
}
.cartnexa-pro-product-card.cartnexa-pro-hover-zoom_fade:hover .cartnexa-pro-second-image {
    opacity: 0;
}

.cartnexa-pro-product-card.cartnexa-pro-hover-swap:not(.has-second-image):hover .cartnexa-pro-main-image {
    transform: scale(1.08);
}


/* Pagination presets (5 options) */
.cartnexa-pro-pagination-wrap[class*='cartnexa-pro-pagination-preset-'] .page-numbers,
.cartnexa-pro-pagination-wrap[class*='cartnexa-pro-pagination-preset-'] .cartnexa-pro-load-more-btn {
    transition: all .25s ease;
}
.cartnexa-pro-pagination-preset-classic .page-numbers,
.cartnexa-pro-pagination-preset-classic .cartnexa-pro-load-more-btn {
    border-radius: 12px;
}
.cartnexa-pro-pagination-preset-rounded .page-numbers,
.cartnexa-pro-pagination-preset-rounded .cartnexa-pro-load-more-btn {
    border-radius: 999px;
}
.cartnexa-pro-pagination-preset-minimal .page-numbers,
.cartnexa-pro-pagination-preset-minimal .cartnexa-pro-load-more-btn {
    background: transparent;
    box-shadow: none;
    border-color: transparent;
    color: #0f172a;
}
.cartnexa-pro-pagination-preset-minimal .current,
.cartnexa-pro-pagination-preset-minimal a.page-numbers:hover,
.cartnexa-pro-pagination-preset-minimal .cartnexa-pro-load-more-btn:hover {
    background: #eef2ff;
    color: #1d4ed8;
    border-color: transparent;
}
.cartnexa-pro-pagination-preset-filled .page-numbers,
.cartnexa-pro-pagination-preset-filled .cartnexa-pro-load-more-btn {
    background: linear-gradient(180deg, #2c39a4 0%, #25308c 100%);
    color: #fff;
    border-color: transparent;
}
.cartnexa-pro-pagination-preset-filled a.page-numbers:hover,
.cartnexa-pro-pagination-preset-filled .current,
.cartnexa-pro-pagination-preset-filled .cartnexa-pro-load-more-btn:hover {
    background: linear-gradient(180deg, #3342b8 0%, #2a3699 100%);
    color: #fff;
}
.cartnexa-pro-pagination-preset-soft .page-numbers,
.cartnexa-pro-pagination-preset-soft .cartnexa-pro-load-more-btn {
    background: #eef4ff;
    color: #274690;
    border-color: #d8e3ff;
    box-shadow: none;
}
.cartnexa-pro-pagination-preset-soft a.page-numbers:hover,
.cartnexa-pro-pagination-preset-soft .current,
.cartnexa-pro-pagination-preset-soft .cartnexa-pro-load-more-btn:hover {
    background: #d9e7ff;
    color: #183b7a;
    border-color: #c7dafd;
}


.cartnexa-pro-thirdparty-wrap,
.cartnexa-pro-thirdparty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap {
    width: 48px;
    height: 48px;
}

.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap a,
.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap .feedback,
.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap .yith-wcwl-add-to-wishlist,
.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap .tinv-wraper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap a span {
    line-height: 1;
}

.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap .feedback,
.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap .view-wishlist,
.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-wrap .feedback {
    display: none !important;
}

.cartnexa-pro-product-button {
    display: flex;
    justify-content: flex-start;
}

.cartnexa-pro-product-title {
    text-align: left;
}

.cartnexa-pro-product-rating {
    justify-content: center;
}

.cartnexa-pro-product-price {
    justify-content: center;
}


/* Phase 5.2 button presets - consolidated */
.cartnexa-pro-product-card[class*='cartnexa-pro-button-'] .cartnexa-pro-product-button .button,
.cartnexa-pro-product-card[class*='cartnexa-pro-button-'] .cartnexa-pro-cart-btn {
    background: var(--cartnexa-pro-btn-bg) !important;
    color: var(--cartnexa-pro-btn-color) !important;
    border: 1px solid var(--cartnexa-pro-btn-border) !important;
    box-shadow: var(--cartnexa-pro-btn-shadow) !important;
    background-image: none !important;
    text-shadow: none !important;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
    letter-spacing: -.01em;
}

/* View cart preset override */
.cartnexa-pro-product-card[class*='cartnexa-pro-button-'] .cartnexa-pro-product-button .added_to_cart {
    background: var(--cartnexa-pro-secondary-btn-bg, #e9edff) !important;
    color: var(--cartnexa-pro-secondary-btn-color, #2f3fae) !important;
    border: 1px solid var(--cartnexa-pro-secondary-btn-border, transparent) !important;
    box-shadow: var(--cartnexa-pro-secondary-btn-shadow, none) !important;
    background-image: none !important;
    text-shadow: none !important;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
    letter-spacing: -.01em;
}

.cartnexa-pro-product-card[class*='cartnexa-pro-button-'] .cartnexa-pro-product-button .button:hover,
.cartnexa-pro-product-card[class*='cartnexa-pro-button-'] .cartnexa-pro-cart-btn:hover {
    background: var(--cartnexa-pro-btn-hover-bg) !important;
    color: var(--cartnexa-pro-btn-hover-color) !important;
    border-color: var(--cartnexa-pro-btn-hover-border) !important;
    box-shadow: var(--cartnexa-pro-btn-hover-shadow) !important;
    background-image: none !important;
    transform: translateY(-2px);
}

.cartnexa-pro-product-card[class*='cartnexa-pro-button-'] .cartnexa-pro-product-button .added_to_cart:hover {
    background: var(--cartnexa-pro-secondary-btn-hover-bg, #dfe6ff) !important;
    color: var(--cartnexa-pro-secondary-btn-hover-color, #2f3fae) !important;
    border-color: var(--cartnexa-pro-secondary-btn-hover-border, transparent) !important;
    box-shadow: var(--cartnexa-pro-secondary-btn-hover-shadow, none) !important;
    background-image: none !important;
    transform: translateY(-2px);
}

.cartnexa-pro-product-card.cartnexa-pro-button-filled {
    --cartnexa-pro-btn-bg: #2f3fae;
    --cartnexa-pro-btn-color: #ffffff;
    --cartnexa-pro-btn-border: #2f3fae;
    --cartnexa-pro-btn-shadow: 0 12px 24px rgba(47, 63, 174, 0.20);
    --cartnexa-pro-btn-hover-bg: #243291;
    --cartnexa-pro-btn-hover-color: #ffffff;
    --cartnexa-pro-btn-hover-border: #243291;
    --cartnexa-pro-btn-hover-shadow: 0 16px 28px rgba(36, 50, 145, 0.24);
}
.cartnexa-pro-product-card.cartnexa-pro-button-filled .cartnexa-pro-product-button .button,
.cartnexa-pro-product-card.cartnexa-pro-button-filled .cartnexa-pro-product-button .added_to_cart,
.cartnexa-pro-product-card.cartnexa-pro-button-filled .cartnexa-pro-cart-btn {
    border-radius: 14px;
    padding-left: 22px;
    padding-right: 22px;
}

.cartnexa-pro-product-card.cartnexa-pro-button-outline {
    --cartnexa-pro-btn-bg: #ffffff;
    --cartnexa-pro-btn-color: #243291;
    --cartnexa-pro-btn-border: #243291;
    --cartnexa-pro-btn-shadow: none;
    --cartnexa-pro-btn-hover-bg: #243291;
    --cartnexa-pro-btn-hover-color: #ffffff;
    --cartnexa-pro-btn-hover-border: #243291;
    --cartnexa-pro-btn-hover-shadow: 0 10px 20px rgba(36, 50, 145, 0.10);
}
.cartnexa-pro-product-card.cartnexa-pro-button-outline .cartnexa-pro-product-button .button,
.cartnexa-pro-product-card.cartnexa-pro-button-outline .cartnexa-pro-product-button .added_to_cart,
.cartnexa-pro-product-card.cartnexa-pro-button-outline .cartnexa-pro-cart-btn {
    border-width: 2px !important;
    border-radius: 14px;
    padding-left: 22px;
    padding-right: 22px;
}

.cartnexa-pro-product-card.cartnexa-pro-button-minimal {
    --cartnexa-pro-btn-bg: transparent;
    --cartnexa-pro-btn-color: #243291;
    --cartnexa-pro-btn-border: transparent;
    --cartnexa-pro-btn-shadow: none;
    --cartnexa-pro-btn-hover-bg: rgba(36, 50, 145, 0.08);
    --cartnexa-pro-btn-hover-color: #243291;
    --cartnexa-pro-btn-hover-border: transparent;
    --cartnexa-pro-btn-hover-shadow: none;
}
.cartnexa-pro-product-card.cartnexa-pro-button-minimal .cartnexa-pro-product-button .button,
.cartnexa-pro-product-card.cartnexa-pro-button-minimal .cartnexa-pro-product-button .added_to_cart,
.cartnexa-pro-product-card.cartnexa-pro-button-minimal .cartnexa-pro-cart-btn {
    min-height: 46px;
    border-radius: 10px;
    padding-left: 14px;
    padding-right: 14px;
    box-shadow: none !important;
    font-weight: 700;
}

.cartnexa-pro-product-card.cartnexa-pro-button-soft {
    --cartnexa-pro-btn-bg: #e8edff;
    --cartnexa-pro-btn-color: #243291;
    --cartnexa-pro-btn-border: #e8edff;
    --cartnexa-pro-btn-shadow: none;
    --cartnexa-pro-btn-hover-bg: #d9e1ff;
    --cartnexa-pro-btn-hover-color: #1f2b7a;
    --cartnexa-pro-btn-hover-border: #d9e1ff;
    --cartnexa-pro-btn-hover-shadow: 0 10px 18px rgba(36, 50, 145, 0.12);
}
.cartnexa-pro-product-card.cartnexa-pro-button-soft .cartnexa-pro-product-button .button,
.cartnexa-pro-product-card.cartnexa-pro-button-soft .cartnexa-pro-product-button .added_to_cart,
.cartnexa-pro-product-card.cartnexa-pro-button-soft .cartnexa-pro-cart-btn {
    border-radius: 999px;
    padding-left: 24px;
    padding-right: 24px;
}
/* =========================
   CartNexa Pro Equal Height
   Grid + Carousel Safe CSS
   ========================= */

/* Card base */
.cartnexa-pro-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product image area stays natural */
.cartnexa-pro-product-image-wrap {
    flex-shrink: 0;
}

/* Content area grows and keeps button aligned */
.cartnexa-pro-product-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* Title: keep layout consistent */
.cartnexa-pro-product-title {
    margin-bottom: 5px;
}

.cartnexa-pro-product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* Rating spacing */
.cartnexa-pro-product-rating {
    margin-bottom: 5px;
    flex-shrink: 0;
}

/* Price spacing */
.cartnexa-pro-product-price {
    margin-bottom: auto;
    flex-shrink: 0;
}

/* Button wrapper always goes to bottom */
.cartnexa-pro-product-button {
    margin-top: auto;
    flex-shrink: 0;
}

/* Button full row consistency */
.cartnexa-pro-product-button .button,
.cartnexa-pro-product-button .added_to_cart,
.cartnexa-pro-cart-btn {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff; 
    border: none; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Make card width stable inside carousel */
.cartnexa-pro-product-carousel .swiper-slide {
    height: auto;
    display: flex;
}

.cartnexa-pro-product-carousel .swiper-slide > * {
    width: 100%;
}

.cartnexa-pro-product-carousel .swiper-slide .cartnexa-pro-product-card {
    width: 100%;
    height: 100%;
}

/* Optional: make carousel track stretch properly */
.cartnexa-pro-product-carousel .swiper-wrapper {
    align-items: stretch;
}

/* Desktop only: stronger equal-height rhythm */
@media (min-width: 1025px) {
    .cartnexa-pro-product-title {
        min-height: 32px;
    }

    .cartnexa-pro-product-price {
        min-height: 25px;
    }
}

/* Tablet: loosen fixed areas a bit */
@media (min-width: 768px) and (max-width: 1024px) {
    .cartnexa-pro-product-title {
        min-height: 32px;
    }

    .cartnexa-pro-product-price {
        min-height: 25px;
    }
}

/* Mobile: let content flow naturally */
@media (max-width: 767px) {
    .cartnexa-pro-product-title,
    .cartnexa-pro-product-price {
        min-height: auto;
    }

    .cartnexa-pro-product-title {
        margin-bottom: 8px;
    }

    .cartnexa-pro-product-rating {
        margin-bottom: 8px;
    }

    .cartnexa-pro-product-price {
        margin-bottom: 5px;
    }
}
/* Phase 18: Premium Hover Presets */
.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-button {
    margin-top: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .26s ease, visibility .26s ease, transform .26s ease;
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal:hover .cartnexa-pro-product-button {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal:hover .cartnexa-pro-main-image {
    transform: scale(1.05);
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal {
    overflow: hidden;
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-content {
    transform: translateY(10px);
    transition: transform .3s ease;
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    height: 108px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.96) 34%, rgba(255,255,255,1) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 0;
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-content,
.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-button,
.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-title,
.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-rating,
.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-price {
    position: relative;
    z-index: 1;
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal:hover::after {
    opacity: 1;
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal:hover .cartnexa-pro-product-content {
    transform: translateY(-6px);
}

.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-button .button,
.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-button .added_to_cart,
.cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-cart-btn {
    border-radius: 999px;
}

@media (max-width: 767px) {
    .cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-button {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal::after {
        display: none;
    }

    .cartnexa-pro-product-card.cartnexa-pro-layout-hover_reveal .cartnexa-pro-product-content {
        transform: none;
    }
}


.cartnexa-pro-widget-compare-btn.is-active,
.cartnexa-compare-btn.is-active {
    background: #f4b95d !important;
    border-color: #f4b95d !important;
    color: #111827 !important;
    position: relative;
}



.cartnexa-pro-grid-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.cartnexa-pro-grid-results{font-size:15px;line-height:1.5;color:#111827;flex:1 1 auto;}
.cartnexa-pro-grid-results .cartnexa-results-total,.cartnexa-pro-grid-results .cartnexa-results-start,.cartnexa-pro-grid-results .cartnexa-results-end{font-weight:600;}
@media (max-width: 767px){.cartnexa-pro-grid-results{order:2;width:100%;font-size:14px;}.cartnexa-pro-grid-sorting-wrap{margin-left:auto;}}


/* Strong widget-specific icon overrides */
.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-product-actions .cartnexa-pro-widget-wishlist-btn svg,
.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-product-actions .cartnexa-pro-widget-compare-btn svg {
    transition: fill 0.22s ease, stroke 0.22s ease, opacity 0.22s ease;
}

.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-product-actions .cartnexa-pro-widget-wishlist-btn,
.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-product-actions .cartnexa-pro-widget-compare-btn {
    background-clip: padding-box;
}


/* Action button layout presets */
.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-product-actions {
    top: 12px;
    right: 12px;
    left: auto;
    bottom: auto;
    flex-direction: column;
    align-items: flex-end;
}

.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-product-actions {
    top: 12px;
    left: 12px;
    right: auto;
    bottom: auto;
    flex-direction: column;
    align-items: flex-start;
}

.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-product-actions {
    top: 12px;
    left: 50%;
    right: auto;
    bottom: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -8px);
    width: max-content;
    max-width: calc(100% - 24px);
}

.cartnexa-pro-actions-preset-horizontal_top:hover .cartnexa-pro-product-actions,
.cartnexa-pro-actions-preset-horizontal_top:focus-within .cartnexa-pro-product-actions {
    transform: translate(-50%, 0);
}

.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-product-actions {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transform: translateY(8px);
}

.cartnexa-pro-product-card.cartnexa-pro-actions-preset-horizontal_bottom:hover .cartnexa-pro-product-actions,
.cartnexa-pro-product-card.cartnexa-pro-actions-preset-horizontal_bottom:focus-within .cartnexa-pro-product-actions,
.cartnexa-pro-product-card.cartnexa-pro-actions-preset-horizontal_top:hover .cartnexa-pro-product-actions,
.cartnexa-pro-product-card.cartnexa-pro-actions-preset-horizontal_top:focus-within .cartnexa-pro-product-actions {
    opacity: 1;
    visibility: visible;
}

.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-action-btn,
.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-action-btn {
    width: 40px;
    height: 40px;
}

@media (max-width: 767px) {
    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-product-actions,
    .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-product-actions {
        gap: 6px;
    }
}


.cartnexa-pro-product-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
    width: 100%;
}

.cartnexa-pro-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 8px 6px;
    border-radius: 10px;
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    text-align: center;
	opacity: 0.9;
}

.cartnexa-pro-countdown-value {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.02em;
}

.cartnexa-pro-countdown-label {
    display: block;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f97316;
}

.cartnexa-pro-product-carousel .cartnexa-pro-product-countdown,
.cartnexa-pro-tabs-panel .cartnexa-pro-product-countdown {
    margin-bottom: 14px;
}

@media (max-width: 1024px) {
    .cartnexa-pro-product-countdown {
        gap: 6px;
        margin-bottom: 14px;
    }

    .cartnexa-pro-countdown-item {
        padding: 8px 5px;
        border-radius: 9px;
    }

    .cartnexa-pro-countdown-value {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .cartnexa-pro-product-countdown {
        gap: 5px;
        margin-bottom: 12px;
    }

    .cartnexa-pro-countdown-item {
        padding: 7px 4px;
        border-radius: 8px;
    }

    .cartnexa-pro-countdown-value {
        font-size: 14px;
    }

    .cartnexa-pro-countdown-label {
        font-size: 9px;
        letter-spacing: 0.06em;
    }
}

/* Fix add to cart + view cart button breaking */
.cartnexa-pro-hover-add-to-cart,
.cartnexa-pro-product-button {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.cartnexa-pro-hover-add-to-cart .cartnexa-pro-cart-btn,
.cartnexa-pro-hover-add-to-cart .added_to_cart,
.cartnexa-pro-product-button .cartnexa-pro-cart-btn,
.cartnexa-pro-product-button .added_to_cart {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    margin: 0 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 14px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

/* Primary Button (Add to cart) */
.cartnexa-pro-hover-add-to-cart .cartnexa-pro-cart-btn,
.cartnexa-pro-product-button .cartnexa-pro-cart-btn {
    border: 1px solid var(--cartnexa-pro-btn-border, transparent);
    background: var(--cartnexa-pro-btn-bg, #6c7cff);
    color: var(--cartnexa-pro-btn-color, #ffffff);
    box-shadow: var(--cartnexa-pro-btn-shadow, none);
}

.cartnexa-pro-hover-add-to-cart .cartnexa-pro-cart-btn:hover,
.cartnexa-pro-product-button .cartnexa-pro-cart-btn:hover {
    transform: translateY(-1px);
    background: var(--cartnexa-pro-btn-hover-bg, #5a6bff);
    color: var(--cartnexa-pro-btn-hover-color, #ffffff);
    border-color: var(--cartnexa-pro-btn-hover-border, transparent);
    box-shadow: var(--cartnexa-pro-btn-hover-shadow, none);
}

/* Secondary Button (View cart) */
.cartnexa-pro-hover-add-to-cart .added_to_cart,
.cartnexa-pro-product-button .added_to_cart {
    border: 1px solid var(--cartnexa-pro-secondary-btn-border, transparent);
    background: var(--cartnexa-pro-secondary-btn-bg, #e9edff);
    color: var(--cartnexa-pro-secondary-btn-color, #2f3fae);
    box-shadow: var(--cartnexa-pro-secondary-btn-shadow, none);
}

.cartnexa-pro-hover-add-to-cart .added_to_cart:hover,
.cartnexa-pro-product-button .added_to_cart:hover {
    transform: translateY(-1px);
    background: var(--cartnexa-pro-secondary-btn-hover-bg, #dfe6ff);
    color: var(--cartnexa-pro-secondary-btn-hover-color, #2f3fae);
    border-color: var(--cartnexa-pro-secondary-btn-hover-border, transparent);
    box-shadow: var(--cartnexa-pro-secondary-btn-hover-shadow, none);
}

.cartnexa-pro-hover-add-to-cart a.added_to_cart.wc-forward::after,
.cartnexa-pro-product-button a.added_to_cart.wc-forward::after {
    display: none !important;
}

.cartnexa-pro-tooltips-yes .cartnexa-pro-product-image-wrap,
.cartnexa-pro-tooltips-yes .cartnexa-pro-product-actions {
    overflow: visible;
}

/* ===== Action Button Style Presets ===== */
.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-circle .cartnexa-pro-action-btn,
.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-circle .cartnexa-pro-thirdparty-btn,
.cartnexa-pro-action-style-circle .cartnexa-pro-action-btn,
.cartnexa-pro-action-style-circle .cartnexa-pro-thirdparty-btn {
    border-radius: 999px;
}

.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-square .cartnexa-pro-action-btn,
.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-square .cartnexa-pro-thirdparty-btn,
.cartnexa-pro-action-style-square .cartnexa-pro-action-btn,
.cartnexa-pro-action-style-square .cartnexa-pro-thirdparty-btn {
    border-radius: 12px;
}

.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-soft .cartnexa-pro-action-btn,
.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-soft .cartnexa-pro-thirdparty-btn,
.cartnexa-pro-action-style-soft .cartnexa-pro-action-btn,
.cartnexa-pro-action-style-soft .cartnexa-pro-thirdparty-btn {
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
    border-color: rgba(147, 197, 253, 0.5);
    box-shadow: 0 10px 18px rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-soft .cartnexa-pro-action-btn:hover,
.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-soft .cartnexa-pro-thirdparty-btn:hover,
.cartnexa-pro-action-style-soft .cartnexa-pro-action-btn:hover,
.cartnexa-pro-action-style-soft .cartnexa-pro-thirdparty-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #f8fbff 0%, #dbeafe 100%);
    border-color: rgba(96, 165, 250, 0.75);
    box-shadow: 0 14px 26px rgba(59, 130, 246, 0.18);
}

.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-filled .cartnexa-pro-action-btn,
.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-filled .cartnexa-pro-thirdparty-btn,
.cartnexa-pro-action-style-filled .cartnexa-pro-action-btn,
.cartnexa-pro-action-style-filled .cartnexa-pro-thirdparty-btn {
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
}

.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-filled .cartnexa-pro-action-btn:hover,
.elementor-widget-cartnexa-pro-product-grid.cartnexa-pro-action-filled .cartnexa-pro-thirdparty-btn:hover,
.cartnexa-pro-action-style-filled .cartnexa-pro-action-btn:hover,
.cartnexa-pro-action-style-filled .cartnexa-pro-thirdparty-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    border-color: #1e40af;
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(30, 64, 175, 0.28);
}

/* ===== Tooltip Upgrade + Smart Direction ===== */
.cartnexa-pro-action-btn,
.cartnexa-pro-thirdparty-btn {
    position: relative;
}

.cartnexa-pro-action-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%) translateY(6px);
    background: var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96));
    color: var(--cartnexa-pro-tooltip-color, #ffffff);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 60;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.24);
}

.cartnexa-pro-action-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent transparent transparent;
}

.cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-action-btn:focus-visible .cartnexa-pro-action-tooltip,
.cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-thirdparty-btn:focus-visible .cartnexa-pro-action-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Auto direction based on action button preset */
.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-action-tooltip {
    top: calc(100% + 12px);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
}

.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-action-tooltip::after {
    top: auto;
    bottom: 100%;
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent;
}

.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-action-btn:focus-visible .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-thirdparty-btn:focus-visible .cartnexa-pro-action-tooltip {
    transform: translateX(-50%) translateY(0);
}

.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-action-tooltip {
    right: calc(100% + 12px);
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(6px);
}

.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-action-tooltip::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96));
}

.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-action-btn:focus-visible .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-thirdparty-btn:focus-visible .cartnexa-pro-action-tooltip {
    transform: translateY(-50%) translateX(0);
}

.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-action-tooltip {
    left: calc(100% + 12px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(-6px);
}

.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-action-tooltip::after {
    left: auto;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0;
    border-color: transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent transparent;
}

.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-action-btn:focus-visible .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-thirdparty-btn:focus-visible .cartnexa-pro-action-tooltip {
    transform: translateY(-50%) translateX(0);
}

/* Horizontal bottom stays on top but keep explicit for consistency */
.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-action-tooltip {
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%) translateY(6px);
}

.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-action-btn:focus-visible .cartnexa-pro-action-tooltip,
.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-thirdparty-btn:focus-visible .cartnexa-pro-action-tooltip {
    transform: translateX(-50%) translateY(0);
}

.cartnexa-pro-tooltips-no .cartnexa-pro-action-tooltip {
    display: none !important;
}

@media (max-width: 767px) {
    .cartnexa-pro-action-tooltip {
        display: none !important;
    }
}

/* ===== Final action tooltip + compare active fixes ===== */
.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-action-btn,
.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-thirdparty-btn,
.cartnexa-pro-product-card .cartnexa-pro-action-btn,
.cartnexa-pro-product-card .cartnexa-pro-thirdparty-btn {
    overflow: visible !important;
    position: relative;
}

.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-action-tooltip,
.cartnexa-pro-product-card .cartnexa-pro-action-tooltip {
    z-index: 999 !important;
}

.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-widget-compare-btn.is-active svg,
.elementor-widget-cartnexa-pro-product-grid .cartnexa-compare-btn.is-active svg,
.cartnexa-pro-product-card .cartnexa-pro-widget-compare-btn.is-active svg,
.cartnexa-pro-product-card .cartnexa-compare-btn.is-active svg {
    opacity: 1 !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-widget-compare-btn.is-active::before,
.elementor-widget-cartnexa-pro-product-grid .cartnexa-compare-btn.is-active::before,
.cartnexa-pro-product-card .cartnexa-pro-widget-compare-btn.is-active::before,
.cartnexa-pro-product-card .cartnexa-compare-btn.is-active::before {
    content: none !important;
    display: none !important;
}

.elementor-widget-cartnexa-pro-product-grid .cartnexa-pro-widget-compare-btn.is-active,
.elementor-widget-cartnexa-pro-product-grid .cartnexa-compare-btn.is-active,
.cartnexa-pro-product-card .cartnexa-pro-widget-compare-btn.is-active,
.cartnexa-pro-product-card .cartnexa-compare-btn.is-active {
    color: #111827 !important;
    background: #f4b95d !important;
    border-color: #f4b95d !important;
    box-shadow: 0 10px 22px rgba(244,185,93,.28) !important;
}

/* Premium action preset polish */
.cartnexa-pro-action-style-circle .cartnexa-pro-action-btn,
.cartnexa-pro-action-style-circle .cartnexa-pro-thirdparty-btn {
    border-radius: 999px;
}

.cartnexa-pro-action-style-square .cartnexa-pro-action-btn,
.cartnexa-pro-action-style-square .cartnexa-pro-thirdparty-btn {
    border-radius: 10px;
}

.cartnexa-pro-action-style-soft .cartnexa-pro-action-btn,
.cartnexa-pro-action-style-soft .cartnexa-pro-thirdparty-btn {
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    color: #1e3a8a;
    border-color: rgba(147, 197, 253, .55);
    box-shadow: 0 10px 22px rgba(59,130,246,.14);
}

.cartnexa-pro-action-style-filled .cartnexa-pro-action-btn,
.cartnexa-pro-action-style-filled .cartnexa-pro-thirdparty-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-color: #1d4ed8;
    box-shadow: 0 12px 24px rgba(37,99,235,.22);
}

/* Premium filter controls support */
.cartnexa-pro-filter-list {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.cartnexa-pro-filter-list::-webkit-scrollbar {
    width: 6px;
}

.cartnexa-pro-filter-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.cartnexa-pro-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cartnexa-pro-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-size: 16px;
    line-height: 1;
}

.cartnexa-pro-rating-stars-filled {
    color: #f59e0b;
}

.cartnexa-pro-rating-stars-empty {
    color: #cbd5e1;
}

.cartnexa-pro-price-slider-wrap {
    --cnx-price-slider-track: #e2e8f0;
    --cnx-price-slider-handle: #1d4ed8;
    --cnx-price-slider-handle-border: #ffffff;
    --cnx-price-slider-handle-size: 18px;
}

.cartnexa-pro-price-slider-inputs input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--cnx-price-slider-track);
    outline: none;
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: var(--cnx-price-slider-track);
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: var(--cnx-price-slider-track);
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: var(--cnx-price-slider-handle-size);
    height: var(--cnx-price-slider-handle-size);
    border-radius: 50%;
    background: var(--cnx-price-slider-handle);
    border: 3px solid var(--cnx-price-slider-handle-border);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    margin-top: calc((var(--cnx-price-slider-handle-size) - 6px) / -2);
    cursor: pointer;
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-moz-range-thumb {
    width: var(--cnx-price-slider-handle-size);
    height: var(--cnx-price-slider-handle-size);
    border-radius: 50%;
    background: var(--cnx-price-slider-handle);
    border: 3px solid var(--cnx-price-slider-handle-border);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    cursor: pointer;
}

.cartnexa-pro-reset-filters {
    border: 1px solid transparent;
    transition: all 0.22s ease;
}


/* =============================================
   CartNexa Pro Final Premium Filter Override
   ============================================= */
.cartnexa-pro-filter-widget{
  background:#ffffff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:14px;
  margin-bottom:18px;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.cartnexa-pro-filter-body{
  padding-top:12px;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-header{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px 18px;
  box-shadow:0 2px 8px rgba(15,23,42,.04);
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-header:hover,
.cartnexa-pro-filter-widget .cartnexa-pro-filter-header:focus{
  border-color:#dbe3ec;
  box-shadow:0 6px 16px rgba(15,23,42,.07);
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-header-title{
  font-size:17px;
  font-weight:700;
  color:#0f172a;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-toggle-icon::before,
.cartnexa-pro-filter-widget .cartnexa-pro-filter-toggle-icon::after{
  background:#334155;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  background:#ffffff;
  border:1px solid #eef2f7;
  border-radius:14px;
  padding:14px 14px;
  transition:all .22s ease;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item:hover{
  background:#f8fafc;
  border-color:#dbe3ec;
  transform:translateY(-1px);
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active{
  background:#eff6ff;
  border-color:#bfdbfe;
  box-shadow:0 8px 20px rgba(59,130,246,.08);
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-checkbox{
  width:18px;
  height:18px;
  min-width:18px;
  border:1.5px solid #cbd5e1;
  border-radius:5px;
  background:#ffffff;
  position:relative;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item:hover .cartnexa-pro-filter-checkbox{
  border-color:#94a3b8;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-checkbox{
  border-color:#60a5fa;
  background:#ffffff;
  box-shadow:0 0 0 3px rgba(59,130,246,.10);
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-checkbox::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:8px;
  height:8px;
  border-radius:2px;
  background:#f97366;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-label,
.cartnexa-pro-filter-widget .cartnexa-pro-rating-text{
  flex:1;
  color:#0f172a;
  font-size:16px;
  font-weight:500;
  line-height:1.4;
  text-align:left;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  padding:4px 10px;
  border-radius:999px;
  background:#f8fafc;
  color:#334155;
  font-size:14px;
  font-weight:700;
  line-height:1;
}

.cartnexa-pro-filter-widget .cartnexa-pro-filter-item.is-active .cartnexa-pro-filter-count{
  background:#dbeafe;
  color:#1d4ed8;
}

.cartnexa-pro-category-filter .cartnexa-pro-filter-list,
.cartnexa-pro-rating-filter .cartnexa-pro-filter-list{
  max-height:380px;
  overflow:auto;
  padding-right:2px;
}

.cartnexa-pro-category-filter .cartnexa-pro-filter-list::-webkit-scrollbar,
.cartnexa-pro-rating-filter .cartnexa-pro-filter-list::-webkit-scrollbar{
  width:6px;
}

.cartnexa-pro-category-filter .cartnexa-pro-filter-list::-webkit-scrollbar-thumb,
.cartnexa-pro-rating-filter .cartnexa-pro-filter-list::-webkit-scrollbar-thumb{
  background:#cbd5e1;
  border-radius:999px;
}

.cartnexa-pro-price-slider-wrap{
  --cnx-price-slider-track:#e2e8f0;
  --cnx-price-slider-handle:#1d4ed8;
  --cnx-price-slider-handle-border:#ffffff;
  --cnx-price-slider-handle-size:18px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:16px 14px 14px;
}

.cartnexa-pro-price-slider-inputs input[type="range"]{
  height:6px;
  border-radius:999px;
  background:var(--cnx-price-slider-track);
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-webkit-slider-runnable-track{
  height:6px;
  border-radius:999px;
  background:var(--cnx-price-slider-track);
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-moz-range-track{
  height:6px;
  border-radius:999px;
  background:var(--cnx-price-slider-track);
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-webkit-slider-thumb{
  width:var(--cnx-price-slider-handle-size);
  height:var(--cnx-price-slider-handle-size);
  border-radius:50%;
  background:var(--cnx-price-slider-handle);
  border:3px solid var(--cnx-price-slider-handle-border);
  box-shadow:0 4px 12px rgba(0,0,0,.16);
  margin-top:calc((var(--cnx-price-slider-handle-size) - 6px) / -2);
}

.cartnexa-pro-price-slider-inputs input[type="range"]::-moz-range-thumb{
  width:var(--cnx-price-slider-handle-size);
  height:var(--cnx-price-slider-handle-size);
  border-radius:50%;
  background:var(--cnx-price-slider-handle);
  border:3px solid var(--cnx-price-slider-handle-border);
  box-shadow:0 4px 12px rgba(0,0,0,.16);
}

.cartnexa-pro-price-slider-values{
  display:flex;
  justify-content:space-between;
  margin-top:12px;
  color:#334155;
  font-size:15px;
  font-weight:700;
}

.cartnexa-pro-rating-stars{
  display:inline-flex;
  align-items:center;
  gap:1px;
  font-size:16px;
  line-height:1;
}

.cartnexa-pro-rating-stars-filled{ color:#f59e0b; }
.cartnexa-pro-rating-stars-empty{ color:#cbd5e1; }

.cartnexa-pro-reset-filters{
  display:inline-flex;
  width:100%;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:14px 18px;
  border-radius:14px;
  border:1px solid #0f172a;
  background:#0f172a;
  color:#ffffff;
  font-size:18px;
  font-weight:700;
  line-height:1.2;
  box-shadow:0 12px 30px rgba(15,23,42,.16);
  transition:all .22s ease;
}

.cartnexa-pro-reset-filters:hover{
  background:#111827;
  border-color:#111827;
  color:#ffffff;
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(15,23,42,.20);
}

/* ===== CartNexa Pro v1.4.1 safe countdown/action swap ===== */
.cartnexa-pro-product-image-wrap {
    position: relative;
}

.cartnexa-pro-image-bottom-ui {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    overflow: visible;
    min-height: 40px;
    pointer-events: none;
}

.cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    pointer-events: auto;
}

.cartnexa-pro-image-bottom-ui .cartnexa-pro-countdown-item {
	padding: 6px 4px;
	border-radius: 9px;
	background: rgba(255,255,255,0.72);
	border: 1px solid rgba(255,255,255,0.45);
	backdrop-filter: blur(10px);
	box-shadow: 0 6px 18px rgba(15,23,42,0.08);
}

.cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    position: absolute;
    display: flex;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    z-index: 5;
    pointer-events: auto;
}

/* preset positions */
.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    transform: translateX(10px);
}

.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(-10px);
}

.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    left: 50%;
    right: auto;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 24px);
    transform: translateX(-50%) translateY(-10px);
}

.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 24px);
    transform: translateX(-50%) translateY(10px);
}

/* hover states */
.cartnexa-pro-product-card:hover .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown,
.cartnexa-pro-product-card:focus-within .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}

.cartnexa-pro-product-card:hover .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.cartnexa-pro-product-card:hover .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.cartnexa-pro-product-card:hover .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cartnexa-pro-product-card:hover .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* desktop polish */
.cartnexa-pro-product-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.cartnexa-pro-product-image img {
    transition: transform 0.4s ease, opacity 0.35s ease;
}

.cartnexa-pro-product-card:hover .cartnexa-pro-product-image img {
    transform: scale(1.03);
}

/* tablet */
@media (max-width: 1024px) {
    .cartnexa-pro-product-grid {
        gap: 20px;
    }

    .cartnexa-pro-product-card {
        border-radius: 18px;
        padding: 12px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    }

    .cartnexa-pro-product-image-wrap {
        min-height: 250px;
        padding: 10px;
    }

    .cartnexa-pro-product-image {
        height: 236px;
    }

    .cartnexa-pro-product-content {
        padding: 14px 8px 4px;
    }

    .cartnexa-pro-product-title {
        margin: 0 0 8px;
    }

    .cartnexa-pro-product-title a {
        line-height: 1.38;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cartnexa-pro-product-rating {
        margin-bottom: 6px;
    }

    .cartnexa-pro-product-price {
        margin-bottom: 10px;
        font-size: 15px;
    }

    .cartnexa-pro-product-button .button,
    .cartnexa-pro-product-button .added_to_cart,
    .cartnexa-pro-cart-btn {
        width: 100%;
        min-height: 44px;
        padding: 12px 16px;
        justify-content: center;
        text-align: center;
        border-radius: 12px;
        font-size: 14px;
    }

    .cartnexa-pro-image-bottom-ui {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
        gap: 6px;
    }

    .cartnexa-pro-image-bottom-ui .cartnexa-pro-countdown-item {
        padding: 8px 5px;
        border-radius: 10px;
    }

    .cartnexa-pro-image-bottom-ui .cartnexa-pro-countdown-value {
		font-size: 13px;
		font-weight: 700;
    }

    .cartnexa-pro-image-bottom-ui .cartnexa-pro-countdown-label {
		font-size: 8px;
		letter-spacing: 0.06em;
    }

    .cartnexa-pro-action-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    .cartnexa-pro-action-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* mobile */
@media (max-width: 767px) {
    .cartnexa-pro-product-grid {
        gap: 14px;
    }

    .cartnexa-pro-product-card {
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    }

    .cartnexa-pro-product-image-wrap {
        min-height: 180px;
        padding: 8px;
        border-radius: 14px;
    }

    .cartnexa-pro-product-image {
        height: 158px;
    }

    .cartnexa-pro-product-content {
        padding: 10px 6px 2px;
    }

    .cartnexa-pro-product-title {
        margin: 0 0 6px;
    }

    .cartnexa-pro-product-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cartnexa-pro-product-rating {
        margin-bottom: 4px;
    }

    .cartnexa-pro-product-price {
        margin-bottom: 8px;
        font-size: 14px;
    }

	.cartnexa-pro-product-button .button,
	.cartnexa-pro-product-button .added_to_cart,
	.cartnexa-pro-cart-btn {
		width: 100%;
		min-height: 44px;         
		padding: 10px 16px;        
		font-size: 15px;           
		font-weight: 700;          
		border-radius: 13px;       
		justify-content: center;
		text-align: center;
	}
	.cartnexa-pro-product-button:empty {
		display: none;
	}
    .cartnexa-pro-image-bottom-ui {
        left: 8px;
        right: 8px;
        bottom: 8px;
        overflow: visible;
        min-height: 0;
    }

    .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
        display: grid;
        gap: 5px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
		position: absolute;
		opacity: 1;
		visibility: visible;
		gap: 8px;
    }

    .cartnexa-pro-action-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        border-radius: 10px;
    }

    .cartnexa-pro-action-btn svg {
        width: 15px;
        height: 15px;
    }

    .cartnexa-pro-product-badges {
        gap: 6px;
    }

    .cartnexa-pro-badge {
        font-size: 10px;
        line-height: 1;
        padding: 6px 8px;
    }

    .cartnexa-pro-grid-toolbar {
        gap: 10px;
    }

    .cartnexa-pro-grid-results {
        font-size: 13px;
    }

    .cartnexa-pro-grid-sorting,
    .cartnexa-pro-grid-toolbar select,
    .cartnexa-pro-filter-toggle {
        min-height: 40px;
        border-radius: 12px;
        font-size: 13px;
    }
}

/* ===== Safe fix: use full image area for left/right/top presets ===== */

/* left/right/top presets should use full image wrap */
.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui,
.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui,
.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui {
    top: 12px;
    bottom: 12px;
}

/* vertical right */
.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    transform: translateX(8px);
}

/* vertical left */
.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    transform: translateX(-8px);
}

/* horizontal top */
.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%) translateY(-8px);
}

/* hover/focus final position */
.cartnexa-pro-product-card:hover.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    transform: translateX(0);
}

.cartnexa-pro-product-card:hover.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    transform: translateX(0);
}

.cartnexa-pro-product-card:hover.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    transform: translateX(-50%) translateY(0);
}

/* keep bottom preset unchanged */
.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui {
    top: auto;
    bottom: 12px;
}

/* responsive */
@media (max-width: 1024px) {
    .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui {
        top: 10px;
        bottom: 10px;
    }
}

@media (max-width: 767px) {
    .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui {
        top: 8px;
        bottom: 8px;
    }
}

/* ===== Fix countdown always bottom ===== */
.cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
}

/* keep bottom preset actions unchanged */
.cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
}

@media (max-width: 767px) {
    .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui {
        top: 8px;
        bottom: 8px;
    }

    .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        right: 0;
        left: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        transform: none !important;
    }

    .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui {
        top: 8px;
        bottom: 8px;
    }

    .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transform: none !important;
    }

    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui {
        top: 8px;
        bottom: 8px;
    }

    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
    }

    .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui {
        top: auto;
        bottom: 8px;
    }

    .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        bottom: 0;
        left: 50%;
        right: auto;
        top: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
    }
}

/* =========================
   Responsive Action Button Presets
========================= */

/* Desktop */
.cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    transform: translateX(8px);
}

.cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(-8px);
}

.cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-image-bottom-ui {
    top: 12px;
    bottom: 12px;
}

.cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: 0;
    left: 50%;
    right: auto;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%) translateY(-8px);
}

.cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-image-bottom-ui {
    top: auto;
    bottom: 12px;
}

.cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    top: auto;
    left: 50%;
    right: auto;
    bottom: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%) translateY(8px);
}

/* Desktop hover final */
.cartnexa-pro-product-card:hover.cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    transform: translateX(0);
}

.cartnexa-pro-product-card:hover.cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    transform: translateX(0);
}

.cartnexa-pro-product-card:hover.cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    transform: translateX(-50%) translateY(0);
}

.cartnexa-pro-product-card:hover.cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    transform: translateX(-50%) translateY(0);
}

/* Tablet */
@media (max-width: 1024px) {
    .cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-image-bottom-ui {
        top: 10px;
        bottom: 10px;
    }

    .cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        right: 0;
        left: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        transform: translateX(8px);
    }

    .cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-image-bottom-ui {
        top: 10px;
        bottom: 10px;
    }

    .cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transform: translateX(-8px);
    }

    .cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-image-bottom-ui {
        top: 10px;
        bottom: 10px;
    }

    .cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) translateY(-8px);
    }

    .cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-image-bottom-ui {
        top: auto;
        bottom: 10px;
    }

    .cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: auto;
        left: 50%;
        right: auto;
        bottom: 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) translateY(8px);
    }

    .cartnexa-pro-product-card:hover.cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        transform: translateX(0);
    }

    .cartnexa-pro-product-card:hover.cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        transform: translateX(0);
    }

    .cartnexa-pro-product-card:hover.cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        transform: translateX(-50%) translateY(0);
    }

    .cartnexa-pro-product-card:hover.cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-card:focus-within.cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cartnexa-pro-actions-mobile-vertical_right .cartnexa-pro-image-bottom-ui {
        top: 8px;
        bottom: 8px;
    }

    .cartnexa-pro-actions-mobile-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        transform: none !important;
        opacity: 1;
        visibility: visible;
    }

    .cartnexa-pro-actions-mobile-vertical_left .cartnexa-pro-image-bottom-ui {
        top: 8px;
        bottom: 8px;
    }

    .cartnexa-pro-actions-mobile-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        position: absolute;
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transform: none !important;
        opacity: 1;
        visibility: visible;
    }

    .cartnexa-pro-actions-mobile-horizontal_top .cartnexa-pro-image-bottom-ui {
        top: 8px;
        bottom: 8px;
    }

    .cartnexa-pro-actions-mobile-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        position: absolute;
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
        opacity: 1;
        visibility: visible;
    }

    .cartnexa-pro-actions-mobile-horizontal_bottom .cartnexa-pro-image-bottom-ui {
        top: auto;
        bottom: 8px;
    }

    .cartnexa-pro-actions-mobile-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        position: absolute;
        top: auto;
        left: 50%;
        right: auto;
        bottom: 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
        opacity: 1;
        visibility: visible;
    }
}

/* =========================================
   RESPONSIVE SAFE FIX: tooltip + carousel actions
========================================= */

/* shared tooltip anchors */
.cartnexa-pro-product-actions .cartnexa-pro-action-btn,
.cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn {
    position: relative;
    overflow: visible;
}

.cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
    z-index: 9999;
    pointer-events: none;
}

/* desktop / preset tooltip direction */
@media (min-width: 1025px) {
    .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
        left: auto;
        right: calc(100% + 12px);
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) translateX(6px);
    }

    .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after,
    .cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after {
        left: 100%;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        border-width: 6px 0 6px 6px;
        border-color: transparent transparent transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96));
    }

    .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
        left: calc(100% + 12px);
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) translateX(-6px);
    }

    .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after,
    .cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after {
        left: auto;
        right: 100%;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        border-width: 6px 6px 6px 0;
        border-color: transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent transparent;
    }

    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
        top: calc(100% + 12px);
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-6px);
    }

    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after,
    .cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after {
        top: auto;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 0 6px 6px 6px;
        border-color: transparent transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent;
    }

    .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
        left: 50%;
        right: auto;
        top: auto;
        bottom: calc(100% + 12px);
        transform: translateX(-50%) translateY(6px);
    }

    .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after,
    .cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after {
        left: 50%;
        right: auto;
        top: 100%;
        bottom: auto;
        transform: translateX(-50%);
        border-width: 6px 6px 0 6px;
        border-color: var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent transparent transparent;
    }

    .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip {
        transform: translateY(-50%) translateX(0);
    }

    .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip {
        transform: translateY(-50%) translateX(0);
    }

    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip {
        transform: translateX(-50%) translateY(0);
    }

    .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip {
        transform: translateX(-50%) translateY(0);
    }
}

/* tablet tooltip direction */
@media (min-width: 768px) and (max-width: 1024px) {
    .cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
        left: auto;
        right: calc(100% + 12px);
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) translateX(6px);
    }

    .cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after {
        left: 100%;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        border-width: 6px 0 6px 6px;
        border-color: transparent transparent transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96));
    }

    .cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
        left: calc(100% + 12px);
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) translateX(-6px);
    }

    .cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after {
        left: auto;
        right: 100%;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        border-width: 6px 6px 6px 0;
        border-color: transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent transparent;
    }

    .cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
        top: calc(100% + 12px);
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-6px);
    }

    .cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after {
        top: auto;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 0 6px 6px 6px;
        border-color: transparent transparent var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent;
    }

    .cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip {
        left: 50%;
        right: auto;
        top: auto;
        bottom: calc(100% + 12px);
        transform: translateX(-50%) translateY(6px);
    }

    .cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-tooltip::after {
        left: 50%;
        right: auto;
        top: 100%;
        bottom: auto;
        transform: translateX(-50%);
        border-width: 6px 6px 0 6px;
        border-color: var(--cartnexa-pro-tooltip-bg, rgba(15, 23, 42, 0.96)) transparent transparent transparent;
    }

    .cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip {
        transform: translateY(-50%) translateX(0);
    }

    .cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip {
        transform: translateY(-50%) translateX(0);
    }

    .cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip {
        transform: translateX(-50%) translateY(0);
    }

    .cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-action-btn:hover .cartnexa-pro-action-tooltip,
    .cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-product-actions .cartnexa-pro-thirdparty-btn:hover .cartnexa-pro-action-tooltip {
        transform: translateX(-50%) translateY(0);
    }
}

/* carousel / tabs carousel action positions */
.cartnexa-pro-product-carousel .cartnexa-pro-product-image-wrap {
    position: relative;
}

.cartnexa-pro-product-carousel .cartnexa-pro-image-bottom-ui {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    overflow: visible;
}

@media (min-width: 1025px) {
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-image-bottom-ui {
        top: 12px;
        bottom: 12px;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-image-bottom-ui {
        top: auto;
        bottom: 12px;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-preset-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        right: 0;
        left: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-preset-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-preset-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-preset-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        left: 50%;
        right: auto;
        bottom: 0;
        top: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-image-bottom-ui {
        top: 10px;
        bottom: 10px;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-image-bottom-ui {
        top: auto;
        bottom: 10px;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        right: 0;
        left: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        left: 50%;
        right: auto;
        bottom: 0;
        top: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 767px) {
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-mobile-vertical_right .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-mobile-vertical_left .cartnexa-pro-image-bottom-ui,
    .cartnexa-pro-product-carousel .cartnexa-pro-actions-mobile-horizontal_top .cartnexa-pro-image-bottom-ui {
        top: 8px;
        bottom: 8px;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-mobile-horizontal_bottom .cartnexa-pro-image-bottom-ui {
        top: auto;
        bottom: 8px;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-mobile-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        transform: none !important;
        opacity: 1;
        visibility: visible;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-mobile-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        position: absolute;
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transform: none !important;
        opacity: 1;
        visibility: visible;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-mobile-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        position: absolute;
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
        opacity: 1;
        visibility: visible;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-actions-mobile-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
        position: absolute;
        left: 50%;
        right: auto;
        bottom: 0;
        top: auto;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%) !important;
        opacity: 1;
        visibility: visible;
    }

    .cartnexa-pro-product-carousel .cartnexa-pro-action-tooltip,
    .cartnexa-pro-product-grid .cartnexa-pro-action-tooltip {
        display: none !important;
    }
}


/* ===== CartNexa Pro clean responsive action/countdown layer ===== */
.cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    overflow: visible;
    pointer-events: none;
}

.cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
.cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
    pointer-events: auto;
}

.cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
    margin: 0;
    width: 100%;
}

.cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions {
    position: absolute;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.cartnexa-pro-product-card.cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-image-bottom-ui { top: 12px; bottom: 12px; }
.cartnexa-pro-product-card.cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-image-bottom-ui { top: 12px; bottom: 12px; }
.cartnexa-pro-product-card.cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-image-bottom-ui { top: 12px; bottom: 12px; }
.cartnexa-pro-product-card.cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-image-bottom-ui { top: auto; bottom: 12px; }

.cartnexa-pro-product-card.cartnexa-pro-actions-desktop-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; right: 0; left: auto; bottom: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start; }
.cartnexa-pro-product-card.cartnexa-pro-actions-desktop-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; left: 0; right: auto; bottom: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.cartnexa-pro-product-card.cartnexa-pro-actions-desktop-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; left: 50%; right: auto; bottom: auto; flex-direction: row; align-items: center; justify-content: center; transform: translateX(-50%); }
.cartnexa-pro-product-card.cartnexa-pro-actions-desktop-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: auto; left: 50%; right: auto; bottom: 0; flex-direction: row; align-items: center; justify-content: center; transform: translateX(-50%); }

@media (max-width: 1024px) {
    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .cartnexa-pro-product-card.has-countdown .cartnexa-pro-image-bottom-ui {
        min-height: 96px;
    }

    .cartnexa-pro-product-card.cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-image-bottom-ui { top: 10px; bottom: 10px; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-image-bottom-ui { top: 10px; bottom: 10px; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-image-bottom-ui { top: 10px; bottom: 10px; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-image-bottom-ui { top: auto; bottom: 10px; }

    .cartnexa-pro-product-card.cartnexa-pro-actions-tablet-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; right: 0; left: auto; bottom: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start; transform: none !important; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-tablet-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; left: 0; right: auto; bottom: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; transform: none !important; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-tablet-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; left: 50%; right: auto; bottom: auto; flex-direction: row; align-items: center; justify-content: center; transform: translateX(-50%) !important; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-tablet-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: auto; left: 50%; right: auto; bottom: 0; flex-direction: row; align-items: center; justify-content: center; transform: translateX(-50%) !important; }
}

@media (max-width: 767px) {
    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }

    .cartnexa-pro-product-card.has-countdown .cartnexa-pro-image-bottom-ui {
        min-height: 84px;
    }

    .cartnexa-pro-product-card.cartnexa-pro-actions-mobile-vertical_right .cartnexa-pro-image-bottom-ui { top: 8px; bottom: 8px; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-mobile-vertical_left .cartnexa-pro-image-bottom-ui { top: 8px; bottom: 8px; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-mobile-horizontal_top .cartnexa-pro-image-bottom-ui { top: 8px; bottom: 8px; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-mobile-horizontal_bottom .cartnexa-pro-image-bottom-ui { top: auto; bottom: 8px; }

    .cartnexa-pro-product-card.cartnexa-pro-actions-mobile-vertical_right .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; right: 0; left: auto; bottom: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start; transform: none !important; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-mobile-vertical_left .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; left: 0; right: auto; bottom: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; transform: none !important; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-mobile-horizontal_top .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: 0; left: 50%; right: auto; bottom: auto; flex-direction: row; align-items: center; justify-content: center; transform: translateX(-50%) !important; }
    .cartnexa-pro-product-card.cartnexa-pro-actions-mobile-horizontal_bottom .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions { top: auto; left: 50%; right: auto; bottom: 0; flex-direction: row; align-items: center; justify-content: center; transform: translateX(-50%) !important; }
}



/* ===== Mobile countdown visible fix ===== */
@media (max-width: 767px) {
    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
        gap: 5px;
    }

    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-countdown-item {
        padding: 5px 3px;
        border-radius: 8px;
    }

    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-countdown-value {
        font-size: 12px;
    }

    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-countdown-label {
        font-size: 8px;
        letter-spacing: 0.05em;
    }

    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-actions,
    .cartnexa-pro-product-card .cartnexa-pro-image-bottom-ui .cartnexa-pro-product-countdown {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

