/* Phase 8B Shop UI migration. Source: reference/dtfshop.code-snippets.php shop snippets. */

/* ------------------------------
   Remove real Porto shop banner
------------------------------ */
body.woocommerce-shop .banner-container.my-banner,
body.post-type-archive-product .banner-container.my-banner,
body.tax-product_cat .banner-container.my-banner,
body.tax-product_tag .banner-container.my-banner,
body.woocommerce-shop #banner-wrapper,
body.tax-product_cat #banner-wrapper,
body.tax-product_tag #banner-wrapper,
body.woocommerce-shop .porto-block[data-id="881"],
body.tax-product_cat .porto-block[data-id="881"],
body.tax-product_tag .porto-block[data-id="881"] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hide old breadcrumb/header strip on shop archive */
body.woocommerce-shop .page-top,
body.post-type-archive-product .page-top,
body.tax-product_cat .page-top,
body.tax-product_tag .page-top {
    display: none !important;
}

/* Remove old note because new professional note is inside intro */
body.woocommerce-shop .page-description,
body.post-type-archive-product .page-description,
body.tax-product_cat .page-description,
body.tax-product_tag .page-description {
    display: none !important;
}

/* Fix Porto footer reveal extra blank space on shop */
body.woocommerce-shop .page-wrapper,
body.post-type-archive-product .page-wrapper,
body.tax-product_cat .page-wrapper,
body.tax-product_tag .page-wrapper {
    margin-bottom: 0 !important;
}

body.woocommerce-shop .footer-wrapper.footer-reveal,
body.post-type-archive-product .footer-wrapper.footer-reveal,
body.tax-product_cat .footer-wrapper.footer-reveal,
body.tax-product_tag .footer-wrapper.footer-reveal {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    pointer-events: auto !important;
}

/* Page spacing */
body.woocommerce-shop #main,
body.post-type-archive-product #main,
body.tax-product_cat #main,
body.tax-product_tag #main {
    padding-top: 18px !important;
    background: #fbfdff !important;
}

/* ------------------------------
   Premium intro block
------------------------------ */
.dtf-shop-pro-hero {
    margin: 0 0 18px !important;
    padding: 20px !important;
    border-radius: 22px !important;
    border: 1px solid #e5eef8 !important;
    background:
        radial-gradient(circle at top right, rgba(0,159,227,.16), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 100%) !important;
    box-shadow: 0 14px 38px rgba(15,23,42,.065) !important;
    overflow: hidden !important;
}

.dtf-shop-pro-hero__top {
    display: flex !important;
    justify-content: space-between !important;
    gap: 18px !important;
    align-items: flex-start !important;
}

.dtf-shop-pro-hero__kicker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 11px !important;
    margin-bottom: 9px !important;
    border-radius: 999px !important;
    background: #eaf7ff !important;
    color: #0079ad !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

.dtf-shop-pro-hero h1 {
    margin: 0 0 7px !important;
    color: #111111 !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: -.025em !important;
}

.dtf-shop-pro-hero p {
    margin: 0 !important;
    max-width: 760px !important;
    color: #536172 !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
}

.dtf-shop-pro-hero__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    min-width: 172px !important;
}

.dtf-shop-pro-btn {
    min-height: 39px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all .18s ease !important;
}

.dtf-shop-pro-btn--dark {
    color: #ffffff !important;
    background: #111111 !important;
    box-shadow: 0 10px 22px rgba(17,17,17,.16) !important;
}

.dtf-shop-pro-btn--dark:hover {
    color: #ffffff !important;
    background: #009fe3 !important;
}

.dtf-shop-pro-btn--wa {
    color: #128c4a !important;
    background: #ecfdf3 !important;
    border: 1px solid #bbf7d0 !important;
}

.dtf-shop-pro-btn--wa:hover {
    color: #ffffff !important;
    background: #16a34a !important;
    border-color: #16a34a !important;
}

.dtf-shop-pro-hero__benefits {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin-top: 17px !important;
}

.dtf-shop-pro-benefit {
    padding: 11px 11px !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.88) !important;
    border: 1px solid #edf2f7 !important;
}

.dtf-shop-pro-benefit strong {
    display: block !important;
    margin-bottom: 3px !important;
    color: #172033 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

.dtf-shop-pro-benefit span {
    display: block !important;
    color: #64748b !important;
    font-size: 10.8px !important;
    line-height: 1.35 !important;
}

.dtf-shop-pro-hero__quick {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #eaf0f7 !important;
}

.dtf-shop-pro-hero__quick a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 11px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    color: #334155 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.dtf-shop-pro-hero__quick a:hover {
    color: #ffffff !important;
    background: #009fe3 !important;
    border-color: #009fe3 !important;
}

.dtf-shop-pro-note {
    margin-top: 12px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px dashed #dbeafe !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
}

.dtf-shop-pro-note strong {
    color: #111827 !important;
}

/* ------------------------------
   Toolbar polish
------------------------------ */
body.woocommerce-shop .shop-loop-before,
body.post-type-archive-product .shop-loop-before,
body.tax-product_cat .shop-loop-before,
body.tax-product_tag .shop-loop-before {
    margin: 0 0 16px !important;
    padding: 11px 12px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 8px 24px rgba(15,23,42,.045) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.woocommerce-shop .shop-loop-before nav.woocommerce-pagination,
body.post-type-archive-product .shop-loop-before nav.woocommerce-pagination,
body.tax-product_cat .shop-loop-before nav.woocommerce-pagination,
body.tax-product_tag .shop-loop-before nav.woocommerce-pagination,
body.woocommerce-shop .shop-loop-before .gridlist-toggle,
body.post-type-archive-product .shop-loop-before .gridlist-toggle,
body.tax-product_cat .shop-loop-before .gridlist-toggle,
body.tax-product_tag .shop-loop-before .gridlist-toggle {
    display: none !important;
}

body.woocommerce-shop .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
    margin: 0 !important;
}

body.woocommerce-shop .woocommerce-ordering label,
body.post-type-archive-product .woocommerce-ordering label,
body.tax-product_cat .woocommerce-ordering label,
body.tax-product_tag .woocommerce-ordering label {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

body.woocommerce-shop .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select,
body.woocommerce-shop select.count,
body.post-type-archive-product select.count,
body.tax-product_cat select.count,
body.tax-product_tag select.count {
    height: 36px !important;
    border-radius: 999px !important;
    border: 1px solid #e5e7eb !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding-left: 12px !important;
    padding-right: 28px !important;
}

body.woocommerce-shop .porto-product-filters-toggle,
body.post-type-archive-product .porto-product-filters-toggle,
body.tax-product_cat .porto-product-filters-toggle,
body.tax-product_tag .porto-product-filters-toggle {
    min-height: 36px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* ------------------------------
   Product card polish
------------------------------ */
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
    display: flex !important;
}

body.woocommerce-shop ul.products li.product .product-inner,
body.post-type-archive-product ul.products li.product .product-inner,
body.tax-product_cat ul.products li.product .product-inner,
body.tax-product_tag ul.products li.product .product-inner {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    padding: 10px !important;
    box-shadow: 0 9px 24px rgba(15,23,42,.045) !important;
    overflow: hidden !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.woocommerce-shop ul.products li.product .product-inner:hover,
body.post-type-archive-product ul.products li.product .product-inner:hover,
body.tax-product_cat ul.products li.product .product-inner:hover,
body.tax-product_tag ul.products li.product .product-inner:hover {
    transform: translateY(-2px) !important;
    border-color: #bfdbfe !important;
    box-shadow: 0 16px 34px rgba(15,23,42,.085) !important;
}

body.woocommerce-shop ul.products li.product .product-image,
body.post-type-archive-product ul.products li.product .product-image,
body.tax-product_cat ul.products li.product .product-image,
body.tax-product_tag ul.products li.product .product-image {
    border-radius: 14px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
}

body.woocommerce-shop ul.products li.product .product-image .inner,
body.post-type-archive-product ul.products li.product .product-image .inner,
body.tax-product_cat ul.products li.product .product-image .inner,
body.tax-product_tag ul.products li.product .product-image .inner {
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
}

body.woocommerce-shop ul.products li.product .product-image img,
body.post-type-archive-product ul.products li.product .product-image img,
body.tax-product_cat ul.products li.product .product-image img,
body.tax-product_tag ul.products li.product .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 6px !important;
}

body.woocommerce-shop ul.products li.product .product-content,
body.post-type-archive-product ul.products li.product .product-content,
body.tax-product_cat ul.products li.product .product-content,
body.tax-product_tag ul.products li.product .product-content {
    padding: 10px 2px 2px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

body.woocommerce-shop ul.products li.product .category-list,
body.post-type-archive-product ul.products li.product .category-list,
body.tax-product_cat ul.products li.product .category-list,
body.tax-product_tag ul.products li.product .category-list {
    display: block !important;
    min-height: 14px !important;
    margin-bottom: 4px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    color: #009fe3 !important;
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .035em !important;
}

body.woocommerce-shop ul.products li.product .category-list a,
body.post-type-archive-product ul.products li.product .category-list a,
body.tax-product_cat ul.products li.product .category-list a,
body.tax-product_tag ul.products li.product .category-list a {
    color: #009fe3 !important;
    text-decoration: none !important;
}

body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
    min-height: 34px !important;
    margin: 0 0 6px !important;
    color: #111827 !important;
    font-size: 12px !important;
    line-height: 1.38 !important;
    font-weight: 700 !important;
    letter-spacing: -.01em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.woocommerce-shop ul.products li.product .rating-wrap.dtf-empty-rating,
body.post-type-archive-product ul.products li.product .rating-wrap.dtf-empty-rating,
body.tax-product_cat ul.products li.product .rating-wrap.dtf-empty-rating,
body.tax-product_tag ul.products li.product .rating-wrap.dtf-empty-rating {
    display: none !important;
}

body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
    margin-top: auto !important;
    color: #111111 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}

body.woocommerce-shop ul.products li.product .price del,
body.post-type-archive-product ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del,
body.tax-product_tag ul.products li.product .price del {
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

body.woocommerce-shop ul.products li.product .price ins,
body.post-type-archive-product ul.products li.product .price ins,
body.tax-product_cat ul.products li.product .price ins,
body.tax-product_tag ul.products li.product .price ins {
    color: #111111 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

body.woocommerce-shop ul.products li.product .labels .onsale,
body.post-type-archive-product ul.products li.product .labels .onsale,
body.tax-product_cat ul.products li.product .labels .onsale,
body.tax-product_tag ul.products li.product .labels .onsale {
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    min-width: 38px !important;
    height: 22px !important;
    line-height: 22px !important;
}

body.woocommerce-shop ul.products li.product .labels .onhot,
body.post-type-archive-product ul.products li.product .labels .onhot,
body.tax-product_cat ul.products li.product .labels .onhot,
body.tax-product_tag ul.products li.product .labels .onhot {
    border-radius: 999px !important;
    background: #22c55e !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    min-width: 38px !important;
    height: 22px !important;
    line-height: 22px !important;
}

/* ------------------------------
   Sidebar polish
------------------------------ */
body.woocommerce-shop .sidebar .widget,
body.post-type-archive-product .sidebar .widget,
body.tax-product_cat .sidebar .widget,
body.tax-product_tag .sidebar .widget {
    margin-bottom: 16px !important;
    padding: 15px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 8px 24px rgba(15,23,42,.045) !important;
}

body.woocommerce-shop .sidebar .widget-title,
body.post-type-archive-product .sidebar .widget-title,
body.tax-product_cat .sidebar .widget-title,
body.tax-product_tag .sidebar .widget-title {
    margin-bottom: 11px !important;
    padding-bottom: 9px !important;
    border-bottom: 1px solid #eef2f7 !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .035em !important;
}

body.woocommerce-shop .sidebar .product-categories a,
body.post-type-archive-product .sidebar .product-categories a,
body.tax-product_cat .sidebar .product-categories a,
body.tax-product_tag .sidebar .product-categories a {
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

body.woocommerce-shop .sidebar .product-categories a:hover,
body.post-type-archive-product .sidebar .product-categories a:hover,
body.tax-product_cat .sidebar .product-categories a:hover,
body.tax-product_tag .sidebar .product-categories a:hover {
    color: #009fe3 !important;
}

body.woocommerce-shop .sidebar .count,
body.post-type-archive-product .sidebar .count,
body.tax-product_cat .sidebar .count,
body.tax-product_tag .sidebar .count {
    color: #94a3b8 !important;
    font-size: 11px !important;
}

/* ------------------------------
   Bottom pagination
------------------------------ */
body.woocommerce-shop .shop-loop-after,
body.post-type-archive-product .shop-loop-after,
body.tax-product_cat .shop-loop-after,
body.tax-product_tag .shop-loop-after {
    margin-top: 18px !important;
    padding: 12px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
}

body.woocommerce-shop .page-numbers .page-numbers,
body.post-type-archive-product .page-numbers .page-numbers,
body.tax-product_cat .page-numbers .page-numbers,
body.tax-product_tag .page-numbers .page-numbers {
    border-radius: 10px !important;
}

/* ------------------------------
   Popup
------------------------------ */
.dtf-shop-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    background: rgba(15,23,42,.58) !important;
    backdrop-filter: blur(7px) !important;
}

.dtf-shop-popup.is-visible {
    display: flex !important;
}

.dtf-shop-popup__box {
    width: min(590px, 100%) !important;
    position: relative !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 32px 90px rgba(0,0,0,.28) !important;
    animation: dtfShopPopupIn .24s ease both !important;
}

@keyframes dtfShopPopupIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dtf-shop-popup__head {
    padding: 23px 24px 18px !important;
    color: #ffffff !important;
    background:
        radial-gradient(circle at top right, rgba(0,159,227,.26), transparent 36%),
        linear-gradient(135deg, #111111 0%, #202938 100%) !important;
}

.dtf-shop-popup__tag {
    display: inline-flex !important;
    margin-bottom: 10px !important;
    padding: 6px 11px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.13) !important;
    color: #dff7ff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

.dtf-shop-popup__head h3 {
    margin: 0 0 7px !important;
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -.025em !important;
}

.dtf-shop-popup__head p {
    margin: 0 !important;
    color: #dbeafe !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.dtf-shop-popup__body {
    padding: 20px 24px 22px !important;
}

.dtf-shop-popup__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.dtf-shop-popup__item {
    padding: 12px !important;
    border-radius: 15px !important;
    background: #f8fafc !important;
    border: 1px solid #eef2f7 !important;
}

.dtf-shop-popup__item strong {
    display: block !important;
    margin-bottom: 3px !important;
    color: #111827 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

.dtf-shop-popup__item span {
    display: block !important;
    color: #64748b !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

.dtf-shop-popup__note {
    margin: 0 0 15px !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
    background: #fff7ed !important;
    color: #9a3412 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
}

.dtf-shop-popup__actions {
    display: flex !important;
    gap: 9px !important;
    flex-wrap: wrap !important;
}

.dtf-shop-popup__actions a,
.dtf-shop-popup__actions button {
    flex: 1 1 auto !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 0 !important;
    cursor: pointer !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dtf-shop-popup__login {
    background: #111111 !important;
    color: #ffffff !important;
}

.dtf-shop-popup__wa {
    background: #16a34a !important;
    color: #ffffff !important;
}

.dtf-shop-popup__later {
    background: #f1f5f9 !important;
    color: #334155 !important;
}

.dtf-shop-popup__close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.15) !important;
    color: #ffffff !important;
    font-size: 21px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

html.dtf-shop-popup-open,
html.dtf-shop-popup-open body {
    overflow: hidden !important;
}

/* ------------------------------
   Mobile
------------------------------ */
@media (max-width: 767px) {

    body.woocommerce-shop #main,
    body.post-type-archive-product #main,
    body.tax-product_cat #main,
    body.tax-product_tag #main {
        padding-top: 12px !important;
    }

    .dtf-shop-pro-hero {
        margin: 0 0 14px !important;
        padding: 15px !important;
        border-radius: 18px !important;
    }

    .dtf-shop-pro-hero__top {
        display: block !important;
    }

    .dtf-shop-pro-hero h1 {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    .dtf-shop-pro-hero p {
        font-size: 12px !important;
    }

    .dtf-shop-pro-hero__actions {
        margin-top: 13px !important;
        min-width: 0 !important;
        width: 100% !important;
        flex-direction: row !important;
    }

    .dtf-shop-pro-btn {
        flex: 1 !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
    }

    .dtf-shop-pro-hero__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 13px !important;
    }

    .dtf-shop-pro-benefit {
        padding: 10px !important;
        border-radius: 14px !important;
    }

    .dtf-shop-pro-benefit strong {
        font-size: 11px !important;
    }

    .dtf-shop-pro-benefit span {
        font-size: 10.3px !important;
    }

    .dtf-shop-pro-hero__quick {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 2px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .dtf-shop-pro-hero__quick a {
        flex: 0 0 auto !important;
    }

    body.woocommerce-shop .shop-loop-before,
    body.post-type-archive-product .shop-loop-before,
    body.tax-product_cat .shop-loop-before,
    body.tax-product_tag .shop-loop-before {
        padding: 9px !important;
        border-radius: 15px !important;
        gap: 8px !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 12 !important;
    }

    body.woocommerce-shop .woocommerce-ordering,
    body.post-type-archive-product .woocommerce-ordering,
    body.tax-product_cat .woocommerce-ordering,
    body.tax-product_tag .woocommerce-ordering {
        flex: 1 !important;
    }

    body.woocommerce-shop .woocommerce-ordering label,
    body.post-type-archive-product .woocommerce-ordering label,
    body.tax-product_cat .woocommerce-ordering label,
    body.tax-product_tag .woocommerce-ordering label {
        display: none !important;
    }

    body.woocommerce-shop .woocommerce-ordering select,
    body.post-type-archive-product .woocommerce-ordering select,
    body.tax-product_cat .woocommerce-ordering select,
    body.tax-product_tag .woocommerce-ordering select {
        width: 100% !important;
        height: 36px !important;
        font-size: 11px !important;
    }

    body.woocommerce-shop .porto-product-filters-toggle,
    body.post-type-archive-product .porto-product-filters-toggle,
    body.tax-product_cat .porto-product-filters-toggle,
    body.tax-product_tag .porto-product-filters-toggle {
        flex: 0 0 auto !important;
        min-height: 36px !important;
        padding: 0 12px !important;
        font-size: 11px !important;
    }

    body.woocommerce-shop ul.products li.product .product-inner,
    body.post-type-archive-product ul.products li.product .product-inner,
    body.tax-product_cat ul.products li.product .product-inner,
    body.tax-product_tag ul.products li.product .product-inner {
        padding: 8px !important;
        border-radius: 15px !important;
    }

    body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
    body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
    body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
    body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
        min-height: 32px !important;
        font-size: 11px !important;
        line-height: 1.42 !important;
    }

    body.woocommerce-shop ul.products li.product .price,
    body.post-type-archive-product ul.products li.product .price,
    body.tax-product_cat ul.products li.product .price,
    body.tax-product_tag ul.products li.product .price {
        font-size: 12px !important;
    }

    .dtf-shop-popup {
        align-items: flex-end !important;
        padding: 10px !important;
    }

    .dtf-shop-popup__box {
        border-radius: 22px 22px 16px 16px !important;
    }

    .dtf-shop-popup__head {
        padding: 19px 18px 15px !important;
    }

    .dtf-shop-popup__head h3 {
        font-size: 20px !important;
    }

    .dtf-shop-popup__body {
        padding: 16px 18px 18px !important;
    }

    .dtf-shop-popup__grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .dtf-shop-popup__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
}

/* ==================================================
   1. DESKTOP WIDTH + PRODUCT GRID ALIGNMENT
================================================== */

@media (min-width: 992px) {

    body.woocommerce-shop #main.boxed > .container,
    body.post-type-archive-product #main.boxed > .container,
    body.tax-product_cat #main.boxed > .container,
    body.tax-product_tag #main.boxed > .container {
        max-width: 1440px !important;
        width: calc(100% - 48px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.woocommerce-shop .main-content-wrap,
    body.post-type-archive-product .main-content-wrap,
    body.tax-product_cat .main-content-wrap,
    body.tax-product_tag .main-content-wrap {
        display: flex !important;
        align-items: flex-start !important;
        gap: 18px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar {
        flex: 0 0 300px !important;
        max-width: 300px !important;
        width: 300px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.woocommerce-shop .main-content,
    body.post-type-archive-product .main-content,
    body.tax-product_cat .main-content,
    body.tax-product_tag .main-content {
        flex: 1 1 auto !important;
        max-width: calc(100% - 318px) !important;
        width: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.woocommerce-shop .archive-products ul.products.products-container.grid,
    body.post-type-archive-product .archive-products ul.products.products-container.grid,
    body.tax-product_cat .archive-products ul.products.products-container.grid,
    body.tax-product_tag .archive-products ul.products.products-container.grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
        gap: 18px !important;
        margin: 0 !important;
    }

    body.woocommerce-shop .archive-products ul.products.products-container.grid > li.product,
    body.post-type-archive-product .archive-products ul.products.products-container.grid > li.product,
    body.tax-product_cat .archive-products ul.products.products-container.grid > li.product,
    body.tax-product_tag .archive-products ul.products.products-container.grid > li.product {
        width: auto !important;
        max-width: none !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (min-width: 1440px) {
    body.woocommerce-shop .archive-products ul.products.products-container.grid,
    body.post-type-archive-product .archive-products ul.products.products-container.grid,
    body.tax-product_cat .archive-products ul.products.products-container.grid,
    body.tax-product_tag .archive-products ul.products.products-container.grid {
        grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)) !important;
    }
}

/* ==================================================
   2. INTRO AUTO-MINIMIZE / ACCORDION
================================================== */

.dtf-shop-pro-hero {
    position: relative !important;
    transition: all .25s ease !important;
}

.dtf-shop-hero-toggle {
    appearance: none !important;
    border: 1px solid #dbeafe !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border-radius: 999px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 6px 16px rgba(15,23,42,.06) !important;
}

.dtf-shop-hero-toggle:hover {
    background: #009fe3 !important;
    border-color: #009fe3 !important;
    color: #ffffff !important;
}

.dtf-shop-pro-hero--collapsed {
    padding: 14px 16px !important;
    border-radius: 18px !important;
}

.dtf-shop-pro-hero--collapsed .dtf-shop-pro-hero__top {
    align-items: center !important;
}

.dtf-shop-pro-hero--collapsed .dtf-shop-pro-hero__benefits,
.dtf-shop-pro-hero--collapsed .dtf-shop-pro-hero__quick,
.dtf-shop-pro-hero--collapsed .dtf-shop-pro-note,
.dtf-shop-pro-hero--collapsed .dtf-shop-pro-hero__actions,
.dtf-shop-pro-hero--collapsed p {
    display: none !important;
}

.dtf-shop-pro-hero--collapsed h1 {
    margin-bottom: 0 !important;
    font-size: 20px !important;
}

.dtf-shop-pro-hero--collapsed .dtf-shop-pro-hero__kicker {
    margin-bottom: 6px !important;
}

/* ==================================================
   3. MOBILE FILTER DRAWER FIX
================================================== */

@media (max-width: 991px) {

    html.dtf-filter-open,
    html.dtf-filter-open body {
        overflow: hidden !important;
    }

    body.woocommerce-shop .sidebar-overlay,
    body.post-type-archive-product .sidebar-overlay,
    body.tax-product_cat .sidebar-overlay,
    body.tax-product_tag .sidebar-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(15, 23, 42, .54) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 999998 !important;
        transition: opacity .22s ease, visibility .22s ease !important;
    }

    html.dtf-filter-open body.woocommerce-shop .sidebar-overlay,
    html.dtf-filter-open body.post-type-archive-product .sidebar-overlay,
    html.dtf-filter-open body.tax-product_cat .sidebar-overlay,
    html.dtf-filter-open body.tax-product_tag .sidebar-overlay {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: min(88vw, 360px) !important;
        max-width: min(88vw, 360px) !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #f8fbff !important;
        z-index: 999999 !important;
        transform: translateX(-105%) !important;
        transition: transform .26s ease !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: 18px 0 60px rgba(15,23,42,.24) !important;
    }

    html.dtf-filter-open body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    html.dtf-filter-open body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    html.dtf-filter-open body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    html.dtf-filter-open body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar {
        transform: translateX(0) !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar .pin-wrapper,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar .pin-wrapper,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar .pin-wrapper,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar .pin-wrapper,
    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar [data-plugin-sticky],
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar [data-plugin-sticky],
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar [data-plugin-sticky],
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar [data-plugin-sticky] {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar .sidebar-content,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar .sidebar-content,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar .sidebar-content,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar .sidebar-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        min-height: 100vh !important;
        padding: 14px 14px 36px !important;
        background: #f8fbff !important;
    }

    .dtf-filter-drawer-head {
        position: sticky !important;
        top: 0 !important;
        z-index: 2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: -14px -14px 14px !important;
        padding: 14px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e5e7eb !important;
        box-shadow: 0 6px 18px rgba(15,23,42,.05) !important;
    }

    .dtf-filter-drawer-head strong {
        color: #111827 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
    }

    .dtf-filter-drawer-head span {
        display: block !important;
        margin-top: 2px !important;
        color: #64748b !important;
        font-size: 11px !important;
        font-weight: 600 !important;
    }

    .dtf-filter-close {
        width: 34px !important;
        height: 34px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #111111 !important;
        color: #ffffff !important;
        font-size: 20px !important;
        line-height: 1 !important;
        cursor: pointer !important;
    }

    body.woocommerce-shop .sidebar .widget,
    body.post-type-archive-product .sidebar .widget,
    body.tax-product_cat .sidebar .widget,
    body.tax-product_tag .sidebar .widget {
        box-shadow: 0 8px 22px rgba(15,23,42,.05) !important;
    }
}

/* Hide drawer header on desktop */
@media (min-width: 992px) {
    .dtf-filter-drawer-head {
        display: none !important;
    }
}

/* Smaller mobile intro when expanded */
@media (max-width: 767px) {

    .dtf-shop-hero-toggle {
        min-height: 30px !important;
        padding: 0 10px !important;
        font-size: 10.5px !important;
        margin-top: 8px !important;
    }

    .dtf-shop-pro-hero--collapsed {
        padding: 13px 14px !important;
    }

    .dtf-shop-pro-hero--collapsed .dtf-shop-pro-hero__top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .dtf-shop-pro-hero--collapsed h1 {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }

    .dtf-shop-pro-hero--collapsed .dtf-shop-pro-hero__kicker {
        font-size: 9.5px !important;
        padding: 5px 8px !important;
    }

    body.woocommerce-shop .archive-products ul.products.products-container.grid,
    body.post-type-archive-product .archive-products ul.products.products-container.grid,
    body.tax-product_cat .archive-products ul.products.products-container.grid,
    body.tax-product_tag .archive-products ul.products.products-container.grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin: 0 !important;
    }

    body.woocommerce-shop .archive-products ul.products.products-container.grid > li.product,
    body.post-type-archive-product .archive-products ul.products.products-container.grid > li.product,
    body.tax-product_cat .archive-products ul.products.products-container.grid > li.product,
    body.tax-product_tag .archive-products ul.products.products-container.grid > li.product {
        width: auto !important;
        max-width: none !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Hide Porto hover-only add button because we create visible CTA */
body.woocommerce-shop ul.products li.product .links-on-image,
body.post-type-archive-product ul.products li.product .links-on-image,
body.tax-product_cat ul.products li.product .links-on-image,
body.tax-product_tag ul.products li.product .links-on-image {
    display: none !important;
}

/* More premium card feel */
body.woocommerce-shop ul.products li.product .product-inner,
body.post-type-archive-product ul.products li.product .product-inner,
body.tax-product_cat ul.products li.product .product-inner,
body.tax-product_tag ul.products li.product .product-inner {
    position: relative !important;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(0,159,227,.24), rgba(17,17,17,.05)) border-box !important;
    border: 1px solid transparent !important;
}

body.woocommerce-shop ul.products li.product .product-inner::before,
body.post-type-archive-product ul.products li.product .product-inner::before,
body.tax-product_cat ul.products li.product .product-inner::before,
body.tax-product_tag ul.products li.product .product-inner::before {
    content: "" !important;
    position: absolute !important;
    left: 10px !important;
    right: 10px !important;
    top: 10px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #009fe3, rgba(0,159,227,.08)) !important;
    opacity: .75 !important;
    z-index: 2 !important;
}

body.woocommerce-shop ul.products li.product .product-image,
body.post-type-archive-product ul.products li.product .product-image,
body.tax-product_cat ul.products li.product .product-image,
body.tax-product_tag ul.products li.product .product-image {
    box-shadow: inset 0 0 0 1px rgba(226,232,240,.8) !important;
}

/* Trust chips */
.dtf-card-micro {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 2px 0 8px !important;
}

.dtf-card-micro span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #f1f8ff !important;
    border: 1px solid #dbeafe !important;
    color: #0f5f86 !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.dtf-card-micro span:first-child {
    background: #ecfdf3 !important;
    border-color: #bbf7d0 !important;
    color: #15803d !important;
}

/* Price separation */
body.woocommerce-shop ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
    padding-top: 7px !important;
    border-top: 1px dashed #e5e7eb !important;
}

/* Visible card buttons */
.dtf-card-actions {
    display: grid !important;
    grid-template-columns: 1fr .78fr !important;
    gap: 7px !important;
    margin-top: 10px !important;
}

.dtf-card-actions.dtf-card-actions--single {
    grid-template-columns: 1fr !important;
}

.dtf-card-actions a,
.dtf-card-actions .button {
    min-height: 38px !important;
    width: 100% !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
    margin: 0 !important;
    padding: 0 10px !important;
    box-shadow: none !important;
}

.dtf-card-actions .dtf-card-primary-cta,
.dtf-card-actions .add_to_cart_button,
.dtf-card-actions .add_to_cart_read_more {
    background: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #111111 !important;
}

.dtf-card-actions .dtf-card-primary-cta:hover,
.dtf-card-actions .add_to_cart_button:hover,
.dtf-card-actions .add_to_cart_read_more:hover {
    background: #009fe3 !important;
    border-color: #009fe3 !important;
    color: #ffffff !important;
}

.dtf-card-details {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #dbe3ef !important;
}

.dtf-card-details:hover {
    background: #f1f8ff !important;
    color: #009fe3 !important;
    border-color: #bfdbfe !important;
}

/* Small help row */
.dtf-card-help {
    margin-top: 8px !important;
    color: #64748b !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    font-weight: 650 !important;
}

.dtf-card-help strong {
    color: #111827 !important;
}

/* Hover excitement */
@media (min-width: 768px) {
    body.woocommerce-shop ul.products li.product .product-inner:hover .product-image img,
    body.post-type-archive-product ul.products li.product .product-inner:hover .product-image img,
    body.tax-product_cat ul.products li.product .product-inner:hover .product-image img,
    body.tax-product_tag ul.products li.product .product-inner:hover .product-image img {
        transform: scale(1.035) !important;
    }

    body.woocommerce-shop ul.products li.product .product-image img,
    body.post-type-archive-product ul.products li.product .product-image img,
    body.tax-product_cat ul.products li.product .product-image img,
    body.tax-product_tag ul.products li.product .product-image img {
        transition: transform .25s ease !important;
    }
}

/* Mobile compact */
@media (max-width: 767px) {
    .dtf-card-micro {
        gap: 4px !important;
        margin-bottom: 7px !important;
    }

    .dtf-card-micro span {
        min-height: 20px !important;
        padding: 0 6px !important;
        font-size: 8.7px !important;
    }

    .dtf-card-actions {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }

    .dtf-card-actions a,
    .dtf-card-actions .button {
        min-height: 34px !important;
        border-radius: 11px !important;
        font-size: 10.5px !important;
    }

    .dtf-card-details {
        display: none !important;
    }

    .dtf-card-help {
        display: none !important;
    }
}

/* ==================================================
   1. MOBILE FILTER DRAWER REAL SCROLL + Z-INDEX FIX
================================================== */

@media (max-width: 991px) {

    html.dtf-filter-open,
    html.dtf-filter-open body {
        overflow: hidden !important;
        height: 100% !important;
        touch-action: none !important;
    }

    html.dtf-filter-open body .sidebar-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 2147483500 !important;
        background: rgba(15, 23, 42, .58) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: min(88vw, 370px) !important;
        max-width: min(88vw, 370px) !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #f8fbff !important;
        z-index: 2147483501 !important;
        transform: translateX(-105%) !important;
        transition: transform .26s ease !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        touch-action: pan-y !important;

        box-shadow: 18px 0 60px rgba(15,23,42,.28) !important;
        pointer-events: auto !important;
    }

    html.dtf-filter-open body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    html.dtf-filter-open body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    html.dtf-filter-open body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar,
    html.dtf-filter-open body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar {
        transform: translateX(0) !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar .pin-wrapper,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar .pin-wrapper,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar .pin-wrapper,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar .pin-wrapper,
    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar [data-plugin-sticky],
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar [data-plugin-sticky],
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar [data-plugin-sticky],
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar [data-plugin-sticky] {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar .sidebar-content,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar .sidebar-content,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar .sidebar-content,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar .sidebar-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 14px 14px 140px !important;
        background: #f8fbff !important;
        touch-action: pan-y !important;
    }

    .dtf-filter-drawer-head {
        position: sticky !important;
        top: 0 !important;
        z-index: 2147483502 !important;
        margin: -14px -14px 14px !important;
        padding: 14px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e5e7eb !important;
        box-shadow: 0 8px 22px rgba(15,23,42,.08) !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar .widget,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar .widget,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar .widget,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar .widget {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }

    body.woocommerce-shop .sidebar.porto-woo-category-sidebar.mobile-sidebar .product-categories,
    body.post-type-archive-product .sidebar.porto-woo-category-sidebar.mobile-sidebar .product-categories,
    body.tax-product_cat .sidebar.porto-woo-category-sidebar.mobile-sidebar .product-categories,
    body.tax-product_tag .sidebar.porto-woo-category-sidebar.mobile-sidebar .product-categories {
        touch-action: pan-y !important;
    }

    body.woocommerce-shop .porto-sticky-navbar,
    body.post-type-archive-product .porto-sticky-navbar,
    body.tax-product_cat .porto-sticky-navbar,
    body.tax-product_tag .porto-sticky-navbar,
    body.woocommerce-shop .pg-whatsapp-business,
    body.post-type-archive-product .pg-whatsapp-business,
    body.tax-product_cat .pg-whatsapp-business,
    body.tax-product_tag .pg-whatsapp-business {
        z-index: 9999 !important;
    }

    html.dtf-filter-open body .porto-sticky-navbar,
    html.dtf-filter-open body .pg-whatsapp-business {
        pointer-events: none !important;
    }
}

/* ==================================================
   2. SUBTLE PREMIUM ADD TO CART GRADIENT + SHINE
================================================== */

.dtf-card-actions .dtf-card-primary-cta,
.dtf-card-actions .add_to_cart_button,
.dtf-card-actions .add_to_cart_read_more {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: linear-gradient(135deg, #101010 0%, #1d2939 48%, #009fe3 130%) !important;
    border: 1px solid rgba(0,159,227,.28) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.14) !important;
}

.dtf-card-actions .dtf-card-primary-cta::before,
.dtf-card-actions .add_to_cart_button::before,
.dtf-card-actions .add_to_cart_read_more::before {
    content: "" !important;
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) scale(.9) !important;
    color: rgba(255,255,255,.78) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    opacity: .65 !important;
    animation: dtfCartStarSoft 2.6s ease-in-out infinite !important;
    z-index: -1 !important;
}

.dtf-card-actions .dtf-card-primary-cta::after,
.dtf-card-actions .add_to_cart_button::after,
.dtf-card-actions .add_to_cart_read_more::after {
    content: "" !important;
    position: absolute !important;
    top: -45% !important;
    left: -60% !important;
    width: 42% !important;
    height: 190% !important;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.16),
        transparent
    ) !important;
    transform: rotate(18deg) !important;
    animation: dtfCartButtonSheen 4.2s ease-in-out infinite !important;
    z-index: -1 !important;
}

@keyframes dtfCartButtonSheen {
    0%, 52% {
        left: -65%;
        opacity: 0;
    }
    62% {
        opacity: 1;
    }
    82% {
        left: 125%;
        opacity: 0;
    }
    100% {
        left: 125%;
        opacity: 0;
    }
}

@keyframes dtfCartStarSoft {
    0%, 100% {
        opacity: .38;
        transform: translateY(-50%) scale(.82) rotate(0deg);
    }
    50% {
        opacity: .9;
        transform: translateY(-50%) scale(1.08) rotate(12deg);
    }
}

.dtf-card-actions .dtf-card-primary-cta:hover,
.dtf-card-actions .add_to_cart_button:hover,
.dtf-card-actions .add_to_cart_read_more:hover {
    background: linear-gradient(135deg, #009fe3 0%, #111111 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 767px) {
    .dtf-card-actions .dtf-card-primary-cta::before,
    .dtf-card-actions .add_to_cart_button::before,
    .dtf-card-actions .add_to_cart_read_more::before {
        left: 9px !important;
        font-size: 9px !important;
    }
}

