.woolements-product-table{--wpt-accent:#635bff;--wpt-text:#181a2d;--wpt-muted:#7e8296;--wpt-line:#e8e9f2;--wpt-soft:#f7f7fb;--wpt-radius:20px;color:var(--wpt-text);font-family:inherit;direction:rtl}.woolements-product-table *{box-sizing:border-box}.wpt-shell{overflow:hidden;border:1px solid var(--wpt-line);border-radius:var(--wpt-radius);background:#fff;box-shadow:0 16px 50px rgba(27,25,65,.08)}
.wpt-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;background:linear-gradient(120deg,color-mix(in srgb,var(--wpt-accent) 9%,#fff),#fff 65%)}.wpt-header h2{margin:3px 0 4px;font-size:clamp(22px,3vw,31px);line-height:1.4}.wpt-header p{margin:0;color:var(--wpt-muted)}.wpt-eyebrow{color:var(--wpt-accent);font-size:11px;font-weight:800}.wpt-favorites-toggle,.wpt-filter-toggle,.wpt-reset,.wpt-pagination button,.wpt-button{border:0;font:inherit;cursor:pointer}.wpt-favorites-toggle{display:flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid var(--wpt-line);border-radius:12px;background:#fff}.wpt-favorites-toggle i{color:#ec3d68}.wpt-favorites-toggle b{min-width:22px;padding:3px 6px;border-radius:20px;background:#eeeefe;color:var(--wpt-accent);font-size:10px}.wpt-favorites-toggle.is-active{background:var(--wpt-accent);color:#fff}
.woolements-product-table .wpt-favorites-toggle b{display:inline-flex;align-items:center;justify-content:center;gap:4px;font-style:normal}.woolements-product-table .wpt-favorites-toggle b em{font-style:normal;line-height:1}.woolements-product-table .wpt-favorites-toggle b i,.woolements-product-table .wpt-favorites-toggle b svg{display:block;width:.8em;height:.8em;font-size:.8em;fill:currentColor;color:inherit}
.woolements-product-table .wpt-header,.woolements-product-table .wpt-header *{box-sizing:border-box}.woolements-product-table .wpt-header>div{min-width:0}.woolements-product-table .wpt-header h2,.woolements-product-table .wpt-header p{max-width:100%}.woolements-product-table .wpt-eyebrow{line-height:1.5}.woolements-product-table .wpt-favorites-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto;text-decoration:none!important;line-height:1.4!important;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s,transform .2s}.woolements-product-table .wpt-favorites-toggle:hover{transform:translateY(-1px)}.woolements-product-table .wpt-favorites-toggle i{flex:0 0 auto;line-height:1}.woolements-product-table .wpt-favorites-toggle b{line-height:1}.woolements-product-table .wpt-favorites-toggle.is-active b{background:rgba(255,255,255,.18);color:inherit}
.wpt-toolbar{display:flex;align-items:center;gap:10px;padding:14px 22px;border-block:1px solid var(--wpt-line)}.wpt-search{display:flex;align-items:center;gap:9px;flex:1;max-width:440px;height:42px;padding:0 13px;border:1px solid var(--wpt-line);border-radius:11px;background:var(--wpt-soft)}.wpt-search input{width:100%;height:39px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important}.wpt-filter-toggle{display:flex;align-items:center;gap:7px;height:42px;padding:0 14px;border-radius:11px;background:#eeeefe;color:var(--wpt-accent);font-weight:700}.wpt-count{margin-inline-start:auto;color:var(--wpt-muted);font-size:12px}.wpt-filters{display:none;padding:18px 22px;border-bottom:1px solid var(--wpt-line);background:#fafaff}.wpt-filters.is-open{display:block}.wpt-filter-head{display:flex;justify-content:space-between;margin-bottom:13px}.wpt-reset{background:none;color:#e43d65}.wpt-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wpt-filter-grid label>span{display:block;margin-bottom:5px;color:var(--wpt-muted);font-size:11px}.wpt-filter-grid select{width:100%;height:40px;border:1px solid var(--wpt-line);border-radius:9px;background:#fff}.wpt-attribute-filters{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}.wpt-attribute-filters fieldset{min-width:170px;margin:0;padding:10px;border:1px solid var(--wpt-line);border-radius:10px;background:#fff}.wpt-attribute-filters legend{font-size:11px;font-weight:800}.wpt-attribute-filters fieldset div{display:flex;flex-wrap:wrap;gap:5px}.wpt-attribute-filters input{position:absolute;opacity:0}.wpt-attribute-filters label span{display:block;padding:5px 8px;border-radius:7px;background:#f1f1f6;font-size:10px}.wpt-attribute-filters input:checked+span{background:var(--wpt-accent);color:#fff}.wpt-status{height:0;text-align:center;color:var(--wpt-accent);font-size:11px}.is-loading .wpt-status{height:auto;padding:7px}.is-loading .wpt-results{opacity:.4;pointer-events:none}
.woolements-product-table .wpt-search{transition:border-color .2s,background-color .2s,box-shadow .2s}.woolements-product-table .wpt-search:focus-within{border-color:var(--wpt-accent);background:#fff;box-shadow:0 0 0 3px color-mix(in srgb,var(--wpt-accent) 10%,transparent)}.woolements-product-table .wpt-filter-close{display:none;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:10px;background:#f2f3f7;color:#707483;cursor:pointer}.woolements-product-table .wpt-filter-close:hover{background:#ffedf1;color:#e43d65}.wpt-filter-open{overflow:hidden}.wpt-results-wrap{position:relative;min-height:120px}.wpt-product-loader{position:absolute;z-index:20;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;visibility:hidden;opacity:0;background:var(--wpt-loader-bg,rgba(255,255,255,.82));backdrop-filter:blur(6px);pointer-events:none;transition:.2s}.wpt-product-loader strong{color:var(--wpt-loader-text,var(--wpt-text));font-size:11px;font-weight:850}.is-loading .wpt-product-loader{visibility:visible;opacity:1}.is-loading .wpt-results{opacity:.2;filter:saturate(.75);pointer-events:none}.wpt-uiverse-loader{display:flex;align-items:center;justify-content:center;--color:var(--wpt-loader-color,var(--wpt-accent));--animation:2s ease-in-out infinite}.wpt-uiverse-loader .circle{position:relative;display:flex;align-items:center;justify-content:center;width:var(--wpt-loader-size,20px);height:var(--wpt-loader-size,20px);margin:0 calc(var(--wpt-loader-size,20px) / 2);border:solid 2px var(--color);border-radius:50%;background-color:transparent;animation:wpt-uiverse-circle var(--animation)}.wpt-uiverse-loader .circle .dot{position:absolute;width:calc(var(--wpt-loader-size,20px) * .8);height:calc(var(--wpt-loader-size,20px) * .8);border-radius:50%;background-color:var(--color);animation:wpt-uiverse-dot var(--animation)}.wpt-uiverse-loader .circle .outline{position:absolute;width:var(--wpt-loader-size,20px);height:var(--wpt-loader-size,20px);border-radius:50%;animation:wpt-uiverse-outline var(--animation)}.wpt-uiverse-loader .circle:nth-child(2){animation-delay:.3s}.wpt-uiverse-loader .circle:nth-child(3){animation-delay:.6s}.wpt-uiverse-loader .circle:nth-child(4){animation-delay:.9s}.wpt-uiverse-loader .circle:nth-child(5){animation-delay:1.2s}.wpt-uiverse-loader .circle:nth-child(2) .dot{animation-delay:.3s}.wpt-uiverse-loader .circle:nth-child(3) .dot{animation-delay:.6s}.wpt-uiverse-loader .circle:nth-child(4) .dot{animation-delay:.9s}.wpt-uiverse-loader .circle:nth-child(5) .dot{animation-delay:1.2s}.wpt-uiverse-loader .circle:nth-child(1) .outline{animation-delay:.9s}.wpt-uiverse-loader .circle:nth-child(2) .outline{animation-delay:1.2s}.wpt-uiverse-loader .circle:nth-child(3) .outline{animation-delay:1.5s}.wpt-uiverse-loader .circle:nth-child(4) .outline{animation-delay:1.8s}.wpt-uiverse-loader .circle:nth-child(5) .outline{animation-delay:2.1s}@keyframes wpt-uiverse-circle{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.5);opacity:.5}}@keyframes wpt-uiverse-dot{0%,100%{transform:scale(1)}50%{transform:scale(0)}}@keyframes wpt-uiverse-outline{0%{transform:scale(0);outline:solid var(--wpt-loader-size,20px) var(--color);outline-offset:0;opacity:1}100%{transform:scale(1);outline:solid 0 transparent;outline-offset:var(--wpt-loader-size,20px);opacity:0}}
.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filters{position:fixed;z-index:1000001;display:block;width:min(var(--wpt-filter-panel-width,390px),calc(100vw - 26px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--wpt-line);border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(10,12,30,.28);visibility:hidden;opacity:0;pointer-events:none;transition:opacity .22s,transform .22s}.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filters.is-open{visibility:visible;opacity:1;pointer-events:auto}.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filter-close{display:grid;position:sticky;top:0;float:left;z-index:2;margin:0 0 8px 8px}.woolements-product-table.wpt-filter-mode-popup .wpt-filters{top:50%;left:50%;transform:translate(-50%,-46%) scale(.96)}.woolements-product-table.wpt-filter-mode-popup .wpt-filters.is-open{transform:translate(-50%,-50%) scale(1)}.woolements-product-table.wpt-filter-mode-sidebar-right .wpt-filters,.woolements-product-table.wpt-filter-mode-slide-right .wpt-filters{top:14px;right:14px;bottom:14px;max-height:none;border-radius:20px 0 0 20px;transform:translateX(105%)}.woolements-product-table.wpt-filter-mode-sidebar-left .wpt-filters,.woolements-product-table.wpt-filter-mode-slide-left .wpt-filters{top:14px;left:14px;bottom:14px;max-height:none;border-radius:0 20px 20px 0;transform:translateX(-105%)}.woolements-product-table.wpt-filter-mode-sidebar-right .wpt-filters.is-open,.woolements-product-table.wpt-filter-mode-slide-right .wpt-filters.is-open,.woolements-product-table.wpt-filter-mode-sidebar-left .wpt-filters.is-open,.woolements-product-table.wpt-filter-mode-slide-left .wpt-filters.is-open{transform:translateX(0)}.woolements-product-table.wpt-filter-mode-slide-right .wpt-filters,.woolements-product-table.wpt-filter-mode-slide-left .wpt-filters{top:0;bottom:0;border-radius:0;max-height:100dvh}.woolements-product-table:not(.wpt-filter-mode-dropdown):has(.wpt-filters.is-open)::before{content:"";position:fixed;z-index:1000000;inset:0;background:rgba(18,19,31,.48);backdrop-filter:blur(5px)}@media(max-width:560px){.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filters{inset:auto 10px 10px 10px!important;width:auto;max-height:82dvh;border-radius:20px!important;transform:translateY(105%)!important}.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filters.is-open{transform:translateY(0)!important}}
.woolements-product-table .wpt-product-loader{justify-content:flex-start;padding-top:50px}
/* Five exact columns */
.wpt-column-head,.wpt-product{display:grid;grid-template-columns:105px minmax(260px,1fr) 170px 125px minmax(310px,.8fr);align-items:center;column-gap:18px}.wpt-column-head{min-height:48px;padding:0 24px;border-bottom:1px solid var(--wpt-line);background:#fafafe;color:#9699a9;font-size:10px;font-weight:750}.wpt-column-head span:nth-child(n+3){text-align:center}.wpt-product{min-height:132px;padding:16px 24px;border-bottom:1px solid var(--wpt-line);background:#fff;transition:background-color .2s,border-color .2s,box-shadow .2s}.wpt-product:last-child{border-bottom:0}.wpt-product:hover{position:relative;z-index:1;background:linear-gradient(90deg,#fff,color-mix(in srgb,var(--wpt-accent) 3%,#fff));box-shadow:0 8px 25px rgba(30,28,70,.06)}
.wpt-product-media{position:relative;width:92px;height:92px;overflow:hidden;border-radius:15px;background:var(--wpt-soft)}.wpt-product-media a{display:block;width:100%;height:100%}.wpt-product-media img{width:100%;height:100%;object-fit:cover;border-radius:15px;transition:transform .3s}.wpt-product:hover .wpt-product-media img{transform:scale(1.045)}.wpt-sale-badge{position:absolute;top:6px;right:6px;padding:4px 7px;border-radius:6px;background:#f13f69;color:#fff;font-size:8px;font-weight:800}
.wpt-product-info{min-width:0;max-width:100%;overflow:hidden;box-sizing:border-box}.wpt-product-info h3{margin:0 0 8px;font-size:15px;line-height:1.55;word-break:break-word;overflow-wrap:break-word}.wpt-product-info h3 a{color:inherit;text-decoration:none}.wpt-taxonomies{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px 12px;width:100%;min-width:0;box-sizing:border-box}.wpt-taxonomies>span{display:inline-flex;align-items:flex-start;gap:6px;color:var(--wpt-muted);font-size:11px;line-height:1.5;word-break:break-word;overflow-wrap:break-word;max-width:100%;min-width:0;box-sizing:border-box}.wpt-taxonomies i{color:var(--wpt-accent);margin-top:3px;flex-shrink:0}.wpt-taxonomies a{color:inherit;text-decoration:none;display:inline}.wpt-stock-count{display:inline-block;margin-top:8px;padding:3px 7px;border-radius:6px;background:#eaf9f1;color:#27805a;font-size:9px}.wpt-stock-count.is-low{background:#fff2e3;color:#cc7116}.wpt-hide-category .wpt-product-category,.wpt-hide-brand .wpt-product-brand,.wpt-hide-stock .wpt-stock-count{display:none}
.wpt-price-cell{display:flex;align-items:center;justify-content:center;min-height:70px;padding-inline:12px;border-inline:1px dashed var(--wpt-line);text-align:center}.wpt-price{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--wpt-accent);font-size:15px;font-weight:900;line-height:1.5}.wpt-price del{display:block;order:1;color:#989cab;font-size:11px;font-weight:500}.wpt-price ins{display:block;order:2;color:var(--wpt-accent);font-size:16px;font-weight:900;text-decoration:none}.wpt-unavailable{padding:7px 11px;border-radius:8px;background:#f0f1f5;color:#777b8d;font-size:11px}
.wpt-quantity-cell{display:flex;justify-content:center}.wpt-quantity{display:grid!important;grid-template-columns:30px 36px 30px!important;width:102px!important;min-width:102px!important;max-width:102px!important;height:34px!important;margin:0!important;padding:2px!important;border:1px solid var(--wpt-line)!important;border-radius:10px!important;background:var(--wpt-soft)!important;direction:ltr!important;overflow:hidden}.wpt-quantity button{display:grid!important;place-items:center;width:30px!important;height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:7px!important;background:#fff!important;color:var(--wpt-accent)!important;font-size:16px!important;line-height:1!important;cursor:pointer}.wpt-quantity button:disabled{background:transparent!important;color:#c7c9d3!important;cursor:not-allowed}.wpt-quantity input{grid-column:2;width:36px!important;min-width:36px!important;max-width:36px!important;height:28px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;text-align:center!important;direction:ltr!important;font-size:11px!important;font-weight:850!important;line-height:28px!important;box-shadow:none!important;appearance:textfield}.wpt-quantity input::-webkit-inner-spin-button,.wpt-quantity input::-webkit-outer-spin-button{display:none!important;-webkit-appearance:none!important}.wpt-qty-minus{grid-column:1}.wpt-qty-plus{grid-column:3}.wpt-quantity.is-disabled{opacity:.52;background:#f1f2f5!important}
.wpt-actions{display:grid;grid-template-columns:repeat(4,minmax(42px,1fr));gap:7px}.wpt-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:39px;padding:0 9px;border:1px solid var(--wpt-line);border-radius:9px;background:#fff;color:var(--wpt-text);font-size:9px;font-weight:750;text-decoration:none!important;white-space:nowrap;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .2s}.wpt-button:hover{border-color:var(--wpt-accent);color:var(--wpt-accent);transform:translateY(-1px)}.wpt-button:disabled,.wpt-button.is-disabled{cursor:not-allowed;pointer-events:none;opacity:.48;filter:grayscale(.35);box-shadow:none!important;transform:none!important}.wpt-cart,.wpt-choose-variation{border-color:var(--wpt-accent);background:var(--wpt-accent);color:#fff}.wpt-cart:hover,.wpt-choose-variation:hover{color:#fff}.wpt-quick-buy{border-color:#ffb642;background:#fff7e9;color:#b96d00}.wpt-wishlist{min-width:39px;padding:0;color:#e83c65}.wpt-wishlist.is-active{border-color:#ffc2d0;background:#fff0f3}
/* Compact variant uses the same columns and smaller rhythm. */
.wpt-layout-compact .wpt-results{padding:8px;background:#f6f7fa}.wpt-layout-compact .wpt-product{grid-template-columns:82px minmax(235px,1fr) 150px 115px minmax(290px,.75fr);min-height:96px;margin-bottom:6px;padding:9px 14px;border:1px solid var(--wpt-line);border-radius:11px;column-gap:13px}.wpt-layout-compact .wpt-product:last-child{margin-bottom:0;border-bottom:1px solid var(--wpt-line)}.wpt-layout-compact .wpt-product-media{width:68px;height:68px;border-radius:10px}.wpt-layout-compact .wpt-product-media img{border-radius:10px}.wpt-layout-compact .wpt-product-info h3{margin-bottom:4px;font-size:13px}.wpt-layout-compact .wpt-stock-count{margin-top:4px}.wpt-layout-compact .wpt-price-cell{min-height:54px}.wpt-layout-compact .wpt-button{min-height:34px;padding-inline:7px;font-size:8px}
.wpt-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:65px 20px;color:var(--wpt-muted)}.wpt-empty span{font-size:38px}.wpt-footer{display:flex;justify-content:center;padding:20px;background:linear-gradient(180deg,#fff,#fafbff)}.wpt-pagination{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:8px;border:1px solid color-mix(in srgb,var(--wpt-accent) 12%,var(--wpt-line));border-radius:16px;background:var(--wpt-pagination-box-bg,rgba(255,255,255,.86));box-shadow:0 14px 32px rgba(25,28,60,.07)}.wpt-pagination button{position:relative;display:inline-grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--wpt-pagination-border,#eceef7);border-radius:12px;background:var(--wpt-pagination-bg,#fff);color:var(--wpt-pagination-color,var(--wpt-text));font-size:12px;font-weight:850;line-height:1;box-shadow:0 6px 16px rgba(24,28,60,.055);transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s,transform .2s}.wpt-pagination button:hover:not(:disabled):not(.is-active){border-color:var(--wpt-pagination-hover-border,var(--wpt-accent));background:var(--wpt-pagination-hover-bg,color-mix(in srgb,var(--wpt-accent) 8%,#fff));color:var(--wpt-pagination-hover-color,var(--wpt-accent));transform:translateY(-2px);box-shadow:0 10px 22px color-mix(in srgb,var(--wpt-accent) 14%,transparent)}.wpt-pagination button.is-active{border-color:var(--wpt-pagination-active-border,var(--wpt-accent));background:var(--wpt-pagination-active-bg,linear-gradient(135deg,var(--wpt-accent),color-mix(in srgb,var(--wpt-accent) 68%,#25116d)));color:var(--wpt-pagination-active-color,#fff);box-shadow:0 12px 26px color-mix(in srgb,var(--wpt-accent) 26%,transparent);transform:translateY(-1px)}.wpt-pagination button:disabled{background:var(--wpt-pagination-disabled-bg,#f3f4f8);color:var(--wpt-pagination-disabled-color,#b7bac7);box-shadow:none;cursor:not-allowed;opacity:.55}.wpt-pagination span{display:inline-grid;place-items:center;min-width:24px;height:38px;color:var(--wpt-muted);font-weight:900}
@media(prefers-reduced-motion:reduce){.wpt-product,.wpt-product-media img,.wpt-button{transition:none}}

/* ==========================================================================
   Desktop Grid & Physical Geometry (Screen Width >= 1025px)
   ========================================================================== */
.wpt-column-head,
.wpt-product,
.wpt-layout-compact .wpt-column-head,
.wpt-layout-compact .wpt-product {
  direction: rtl;
  grid-template-areas: none;
  grid-template-columns: 105px minmax(260px, 1fr) 170px 125px minmax(310px, 0.8fr);
  column-gap: 18px;
}
.wpt-layout-compact .wpt-column-head {
  grid-template-columns: 82px minmax(235px, 1fr) 150px 115px minmax(290px, 0.75fr);
  column-gap: 13px;
  padding-inline: 22px;
}
.wpt-product > .wpt-product-media,
.wpt-product > .wpt-product-info,
.wpt-product > .wpt-price-cell,
.wpt-product > .wpt-quantity-cell,
.wpt-product > .wpt-actions,
.wpt-column-head > span {
  grid-area: auto;
  grid-column: auto;
  direction: rtl;
}
.wpt-column-head {
  direction: rtl;
  display: grid;
  grid-template-areas: none;
  align-items: center;
  padding-inline: 24px;
  column-gap: 18px;
}
.wpt-column-head > span {
  grid-area: auto !important;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
.wpt-column-head > span:nth-child(1) { grid-column: 1; text-align: right; }
.wpt-column-head > span:nth-child(2) { grid-column: 2; text-align: right; }
.wpt-column-head > span:nth-child(3) { grid-column: 3; text-align: center; }
.wpt-column-head > span:nth-child(4) { grid-column: 4; text-align: center; }
.wpt-column-head > span:nth-child(5) { grid-column: 5; text-align: center; }

.wpt-product > .wpt-product-media { grid-column: 1; }
.wpt-product > .wpt-product-info { grid-column: 2; min-width: 0; }
.wpt-product > .wpt-price-cell { grid-column: 3; min-width: 0; }
.wpt-product > .wpt-quantity-cell {
  grid-column: 4;
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.wpt-product > .wpt-quantity-cell .wpt-quantity {
  box-shadow: 0 5px 14px rgba(38, 35, 90, 0.07);
  transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.wpt-product > .wpt-quantity-cell .wpt-quantity:not(.is-disabled):hover {
  border-color: color-mix(in srgb, var(--wpt-accent) 45%, var(--wpt-line)) !important;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--wpt-accent) 13%, transparent);
}
.wpt-product > .wpt-quantity-cell .wpt-quantity:not(.is-disabled):focus-within {
  border-color: var(--wpt-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpt-accent) 11%, transparent);
}
.wpt-product > .wpt-quantity-cell .wpt-quantity.is-disabled {
  opacity: 0.48;
  box-shadow: none;
  filter: grayscale(0.25);
}

.wpt-product > .wpt-actions {
  grid-column: 5;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(42px, 0.85fr);
  align-items: center;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  gap: 7px;
  overflow: hidden;
}
.wpt-product > .wpt-actions .wpt-button {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.wpt-product > .wpt-actions .wpt-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wpt-product > .wpt-actions .wpt-wishlist {
  width: 100%;
  min-width: 0;
}

/* Theme-proof quantity symbols */
.woolements-product-table .wpt-quantity .wpt-qty-minus:before,
.woolements-product-table .wpt-quantity .wpt-qty-plus:before {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: currentColor !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
}
.woolements-product-table .wpt-quantity .wpt-qty-minus:before { content: "−" !important; }
.woolements-product-table .wpt-quantity .wpt-qty-plus:before { content: "+" !important; }
.woolements-product-table.wpt-custom-qty-icons .wpt-quantity .wpt-qty-minus:before,
.woolements-product-table.wpt-custom-qty-icons .wpt-quantity .wpt-qty-plus:before,
.woolements-product-table.wpt-custom-qty-icons .wpt-variation-body .wpt-vqty-minus:before,
.woolements-product-table.wpt-custom-qty-icons .wpt-variation-body .wpt-vqty-plus:before {
  display: none !important;
  content: none !important;
}
.wpt-qty-icon-template { display: none !important; }
.woolements-product-table .wpt-quantity button i,
.woolements-product-table .wpt-quantity button svg,
.woolements-product-table .wpt-variation-body .quantity button i,
.woolements-product-table .wpt-variation-body .quantity button svg {
  display: block;
  pointer-events: none;
  fill: currentColor;
}
.woolements-product-table .wpt-product > .wpt-quantity-cell .wpt-quantity {
  background: var(--wpt-qty-bg, var(--wpt-soft)) !important;
}
.woolements-product-table .wpt-quantity input {
  color: var(--wpt-qty-number, #161824) !important;
}
.woolements-product-table .wpt-quantity button:not(:disabled) {
  color: var(--wpt-qty-button-color, var(--wpt-accent)) !important;
  background: var(--wpt-qty-button-bg, #fff) !important;
}
.woolements-product-table .wpt-quantity button:not(:disabled):hover {
  color: var(--wpt-qty-button-hover-color, var(--wpt-qty-button-color, var(--wpt-accent))) !important;
  background: var(--wpt-qty-button-hover-bg, var(--wpt-qty-button-bg, #fff)) !important;
}
.woolements-product-table .wpt-quantity button:disabled {
  color: var(--wpt-qty-button-disabled-color, #c7c9d3) !important;
  background: var(--wpt-qty-button-disabled-bg, transparent) !important;
}
.woolements-product-table .wpt-quantity.is-disabled {
  background: var(--wpt-qty-bg, #f1f2f5) !important;
}
.woolements-product-table.wpt-custom-qty-icons .wpt-product .wpt-quantity:not(.is-disabled) .wpt-qty-plus:not(:disabled),
.woolements-product-table.wpt-custom-qty-icons .wpt-product .wpt-quantity:not(.is-disabled) .wpt-qty-minus:not(:disabled) {
  color: var(--wpt-qty-button-color, var(--wpt-accent)) !important;
  background: var(--wpt-qty-button-bg, #fff) !important;
}
.woolements-product-table.wpt-custom-qty-icons .wpt-product .wpt-quantity:not(.is-disabled) .wpt-qty-plus:not(:disabled):hover,
.woolements-product-table.wpt-custom-qty-icons .wpt-product .wpt-quantity:not(.is-disabled) .wpt-qty-minus:not(:disabled):hover {
  color: var(--wpt-qty-button-hover-color, var(--wpt-qty-button-color, var(--wpt-accent))) !important;
  background: var(--wpt-qty-button-hover-bg, var(--wpt-qty-button-bg, #fff)) !important;
}
.woolements-product-table.wpt-custom-qty-icons .wpt-quantity .wpt-qty-plus:disabled,
.woolements-product-table.wpt-custom-qty-icons .wpt-quantity .wpt-qty-minus:disabled {
  color: var(--wpt-qty-button-disabled-color, #c7c9d3) !important;
  background: var(--wpt-qty-button-disabled-bg, transparent) !important;
}
.woolements-product-table .wpt-quantity button:disabled { opacity: 1 !important; }
.woolements-product-table .wpt-quantity:not(.is-disabled) .wpt-qty-plus:not(:disabled) {
  color: var(--wpt-accent) !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(35, 32, 90, 0.08) !important;
}
.woolements-product-table .added_to_cart,
.woolements-product-table .added_to_cart.wc-forward,
.woolements-product-table a.added_to_cart,
.wpt-variation-modal .added_to_cart,
.wpt-variation-modal .added_to_cart.wc-forward,
.wpt-variation-modal a.added_to_cart,
.wpt-variation-dialog .added_to_cart,
.wpt-variation-dialog .added_to_cart.wc-forward,
.wpt-variation-dialog a.added_to_cart,
.wpt-variation-body .added_to_cart,
.wpt-variation-body .added_to_cart.wc-forward,
.wpt-variation-body a.added_to_cart,
.woocommerce-variation-add-to-cart .added_to_cart,
.woocommerce-variation-add-to-cart .added_to_cart.wc-forward,
.woocommerce-variation-add-to-cart a.added_to_cart{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;position:absolute!important;clip:rect(0,0,0,0)!important}
.woolements-product-table .wpt-view-cart{border-color:#1d9b65;background:#1d9b65;color:#fff}.woolements-product-table .wpt-view-cart:hover{border-color:#178455;color:#fff}
.woolements-product-table .wpt-cart,.woolements-product-table .wpt-choose-variation{color:var(--wpt-cart-color,#fff);background:var(--wpt-cart-bg,var(--wpt-accent));border-color:var(--wpt-cart-border,var(--wpt-accent))}.woolements-product-table .wpt-cart:not(.wpt-view-cart):hover,.woolements-product-table .wpt-choose-variation:hover{color:var(--wpt-cart-hover-color,var(--wpt-cart-color,#fff));background:var(--wpt-cart-hover-bg,var(--wpt-cart-bg,var(--wpt-accent)));border-color:var(--wpt-cart-hover-border,var(--wpt-cart-border,var(--wpt-accent)))}.woolements-product-table .wpt-view-cart{color:var(--wpt-cart-added-color,#fff);background:var(--wpt-cart-added-bg,#1d9b65);border-color:var(--wpt-cart-added-border,#1d9b65)}.woolements-product-table .wpt-view-cart:hover{color:var(--wpt-cart-hover-color,var(--wpt-cart-added-color,#fff));background:var(--wpt-cart-hover-bg,var(--wpt-cart-added-bg,#178455));border-color:var(--wpt-cart-hover-border,var(--wpt-cart-added-border,#178455))}.wpt-action-icon-template{display:none!important}.woolements-product-table .wpt-cart svg,.woolements-product-table .wpt-choose-variation svg{fill:currentColor}.woolements-product-table.wpt-cart-display-icon .wpt-cart span,.woolements-product-table.wpt-cart-display-icon .wpt-choose-variation span{display:none!important}.woolements-product-table.wpt-cart-display-text .wpt-cart i,.woolements-product-table.wpt-cart-display-text .wpt-cart svg,.woolements-product-table.wpt-cart-display-text .wpt-choose-variation i,.woolements-product-table.wpt-cart-display-text .wpt-choose-variation svg{display:none!important}.woolements-product-table.wpt-cart-display-text .wpt-cart span,.woolements-product-table.wpt-cart-display-text .wpt-choose-variation span,.woolements-product-table.wpt-cart-display-both .wpt-cart span,.woolements-product-table.wpt-cart-display-both .wpt-choose-variation span{display:inline!important}
.woolements-product-table .wpt-variation-body .single_add_to_cart_button{color:var(--wpt-cart-color,#fff);background:var(--wpt-cart-bg,var(--wpt-accent));border-color:var(--wpt-cart-border,var(--wpt-accent))}.woolements-product-table .wpt-variation-body .single_add_to_cart_button:not(:disabled):hover{color:var(--wpt-cart-hover-color,var(--wpt-cart-color,#fff));background:var(--wpt-cart-hover-bg,var(--wpt-cart-bg,var(--wpt-accent)));border-color:var(--wpt-cart-hover-border,var(--wpt-cart-border,var(--wpt-accent)))}
.woolements-product-table .wpt-variation-body .single_add_to_cart_button{display:inline-flex!important;align-items:center;justify-content:center;border-style:solid!important}.woolements-product-table .wpt-variation-body .single_add_to_cart_button svg{fill:currentColor}.woolements-product-table.wpt-cart-display-icon .wpt-variation-body .single_add_to_cart_button span{display:none!important}.woolements-product-table.wpt-cart-display-text .wpt-variation-body .single_add_to_cart_button i,.woolements-product-table.wpt-cart-display-text .wpt-variation-body .single_add_to_cart_button svg{display:none!important}.woolements-product-table.wpt-cart-display-text .wpt-variation-body .single_add_to_cart_button span,.woolements-product-table.wpt-cart-display-both .wpt-variation-body .single_add_to_cart_button span{display:inline!important}
.woolements-product-table .wpt-quick-buy,.woolements-product-table .wpt-variation-quick-buy{color:var(--wpt-quick-color,#b96d00);background:var(--wpt-quick-bg,#fff7e9);border-color:var(--wpt-quick-border,#ffb642)}.woolements-product-table .wpt-quick-buy:hover,.woolements-product-table .wpt-variation-quick-buy:hover{color:var(--wpt-quick-hover-color,var(--wpt-quick-color,#b96d00));background:var(--wpt-quick-hover-bg,var(--wpt-quick-bg,#fff7e9));border-color:var(--wpt-quick-hover-border,var(--wpt-quick-border,#ffb642))}.woolements-product-table .wpt-quick-buy svg,.woolements-product-table .wpt-variation-quick-buy svg{fill:currentColor}.woolements-product-table.wpt-quick-display-icon .wpt-quick-buy span,.woolements-product-table.wpt-quick-display-icon .wpt-variation-quick-buy span{display:none!important}.woolements-product-table.wpt-quick-display-text .wpt-quick-buy i,.woolements-product-table.wpt-quick-display-text .wpt-quick-buy svg,.woolements-product-table.wpt-quick-display-text .wpt-variation-quick-buy i,.woolements-product-table.wpt-quick-display-text .wpt-variation-quick-buy svg{display:none!important}.woolements-product-table.wpt-quick-display-text .wpt-quick-buy span,.woolements-product-table.wpt-quick-display-text .wpt-variation-quick-buy span,.woolements-product-table.wpt-quick-display-both .wpt-quick-buy span,.woolements-product-table.wpt-quick-display-both .wpt-variation-quick-buy span{display:inline!important}
.woolements-product-table .wpt-wishlist{min-height:var(--wpt-wishlist-height,39px);height:var(--wpt-wishlist-height,auto);color:var(--wpt-wishlist-color,#e83c65);background:var(--wpt-wishlist-bg,#fff);border-color:var(--wpt-wishlist-border,var(--wpt-line))}.woolements-product-table .wpt-wishlist:hover{color:var(--wpt-wishlist-hover-color,var(--wpt-wishlist-color,#e83c65));background:var(--wpt-wishlist-hover-bg,var(--wpt-wishlist-bg,#fff));border-color:var(--wpt-wishlist-hover-border,var(--wpt-wishlist-border,var(--wpt-accent)))}.woolements-product-table .wpt-wishlist.is-active{color:var(--wpt-wishlist-active-color,#e83c65);background:var(--wpt-wishlist-active-bg,#fff0f3);border-color:var(--wpt-wishlist-active-border,#ffc2d0)}.woolements-product-table .wpt-wishlist svg{fill:currentColor}.woolements-product-table.wpt-wishlist-display-icon .wpt-wishlist span{display:none!important}.woolements-product-table.wpt-wishlist-display-text .wpt-wishlist i,.woolements-product-table.wpt-wishlist-display-text .wpt-wishlist svg{display:none!important}.woolements-product-table.wpt-wishlist-display-text .wpt-wishlist span,.woolements-product-table.wpt-wishlist-display-both .wpt-wishlist span{display:inline!important}.woolements-product-table.wpt-wishlist-display-icon .wpt-wishlist{aspect-ratio:auto;padding-inline:0!important}

/* Quick checkout modal */
body.wpt-modal-open{overflow:hidden}.wpt-checkout-modal{position:fixed;z-index:999999;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .22s,visibility .22s}.wpt-checkout-modal.is-open{visibility:visible;opacity:1;pointer-events:auto}.wpt-checkout-backdrop{position:absolute;inset:0;background:rgba(18,18,35,.68);backdrop-filter:blur(7px)}.wpt-checkout-dialog{position:relative;display:flex;flex-direction:column;width:min(1080px,96vw);max-height:92vh;overflow:hidden;border:1px solid rgba(255,255,255,.55);border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(9,8,35,.35);transform:translateY(18px) scale(.985);transition:transform .24s}.wpt-checkout-modal.is-open .wpt-checkout-dialog{transform:none}.wpt-checkout-dialog>header{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;padding:18px 22px;border-bottom:1px solid var(--wpt-line);background:linear-gradient(115deg,color-mix(in srgb,var(--wpt-accent) 11%,#fff),#fff)}.wpt-checkout-dialog>header span{color:var(--wpt-accent);font-size:10px;font-weight:800}.wpt-checkout-dialog>header h3{margin:2px 0 0;font-size:20px}.wpt-checkout-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--wpt-line);border-radius:12px;background:#fff;color:#696d80;font-size:27px;line-height:1;cursor:pointer}.wpt-checkout-body{overflow:auto;padding:22px;overscroll-behavior:contain}.wpt-checkout-loading,.wpt-checkout-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:340px;color:var(--wpt-muted)}.wpt-checkout-loading i{color:var(--wpt-accent);font-size:34px}.wpt-checkout-error i{color:#ef476f;font-size:32px}.wpt-checkout-retry{padding:9px 16px;border:0;border-radius:9px;background:var(--wpt-accent);color:#fff;cursor:pointer}.wpt-checkout-body .woocommerce{font-family:inherit}.wpt-checkout-body form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:24px}.wpt-checkout-body #customer_details{display:block}.wpt-checkout-body #customer_details .col-1,.wpt-checkout-body #customer_details .col-2{float:none;width:100%}.wpt-checkout-body #order_review_heading,.wpt-checkout-body #order_review{grid-column:2}.wpt-checkout-body #order_review_heading{margin:0 0 -16px}.wpt-checkout-body #order_review{padding:18px;border:1px solid var(--wpt-line);border-radius:16px;background:#fafafe}.wpt-checkout-body .form-row{margin-bottom:12px}.wpt-checkout-body input.input-text,.wpt-checkout-body textarea,.wpt-checkout-body select{min-height:44px;padding:8px 11px;border:1px solid var(--wpt-line);border-radius:10px;background:#fff}.wpt-checkout-body input.input-text:focus,.wpt-checkout-body textarea:focus{border-color:var(--wpt-accent);outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--wpt-accent) 10%,transparent)}.wpt-checkout-body #place_order{width:100%;min-height:48px;border:0;border-radius:11px;background:var(--wpt-accent);color:#fff;font-weight:800}.wpt-checkout-body .blockUI.blockOverlay{border-radius:14px!important}
@media(max-width:760px){.wpt-checkout-modal{align-items:flex-end;padding:0}.wpt-checkout-dialog{width:100%;max-height:94vh;border-radius:22px 22px 0 0}.wpt-checkout-body{padding:15px}.wpt-checkout-body form.checkout{display:block}.wpt-checkout-body #order_review_heading{margin-top:22px}.wpt-checkout-body #order_review{margin-top:10px}.wpt-checkout-dialog>header{padding:14px 16px}}

/* Minimal signature checkout — desktop and mobile */
.wpt-checkout-modal{--wpt-checkout-ink:#171927;--wpt-checkout-sub:#777b8d;--wpt-checkout-bg:#f5f6f9;padding:24px}
.wpt-checkout-backdrop{background:rgba(15,16,27,.72);backdrop-filter:blur(12px) saturate(.8)}
.wpt-checkout-dialog{width:min(1160px,calc(100vw - 48px));max-height:calc(100vh - 48px);border:0;border-radius:28px;background:var(--wpt-checkout-bg);box-shadow:0 40px 120px rgba(5,6,18,.48);transform:translateY(26px) scale(.975)}
.wpt-checkout-dialog>.wpt-checkout-top{min-height:82px;padding:14px 20px 14px 24px;border:0;background:#fff}
.wpt-checkout-brand{display:flex;align-items:center;gap:12px}.wpt-checkout-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:linear-gradient(145deg,var(--wpt-accent),color-mix(in srgb,var(--wpt-accent) 68%,#211a70));color:#fff;box-shadow:0 9px 22px color-mix(in srgb,var(--wpt-accent) 23%,transparent)}.wpt-checkout-mark i{font-size:16px}.wpt-checkout-brand small{display:block;margin-bottom:1px;color:var(--wpt-accent);font-size:9px;font-weight:800;letter-spacing:.3px}.wpt-checkout-brand h3{margin:0!important;color:var(--wpt-checkout-ink);font-size:19px!important;line-height:1.4}
.wpt-checkout-trust{display:flex;align-items:center;gap:7px;margin-inline-start:auto;margin-inline-end:15px;padding:8px 11px;border-radius:10px;background:#eef9f4;color:#267957;font-size:9px;font-weight:700}.wpt-checkout-trust i{font-size:13px}.wpt-checkout-close{width:38px;height:38px;border:0;border-radius:12px;background:#f3f4f7;color:#6f7281;font-size:14px}.wpt-checkout-close:hover{background:#ffedf1;color:#e43e63}
.wpt-checkout-close i,.wpt-checkout-close svg{display:block;fill:currentColor;color:inherit}
.wpt-checkout-steps{display:flex;align-items:center;justify-content:center;flex:0 0 auto;gap:10px;min-height:58px;padding:8px 22px;border-block:1px solid #ececf1;background:#fff}.wpt-checkout-steps>span{display:flex;align-items:center;gap:7px;color:#a0a3af;font-size:9px;font-weight:700;white-space:nowrap}.wpt-checkout-steps>span b{display:grid;place-items:center;width:24px;height:24px;border:1px solid #dfe0e7;border-radius:50%;background:#fff;font-size:9px}.wpt-checkout-steps>span.is-current{color:var(--wpt-checkout-ink)}.wpt-checkout-steps>span.is-current b{border-color:var(--wpt-accent);background:var(--wpt-accent);color:#fff;box-shadow:0 4px 12px color-mix(in srgb,var(--wpt-accent) 23%,transparent)}.wpt-checkout-steps>span.is-done{color:#26815c}.wpt-checkout-steps>span.is-done b{border-color:#dff3e9;background:#eaf8f1;color:#26815c}.wpt-checkout-steps>i{width:42px;height:1px;background:#e4e5eb}
.wpt-checkout-body{padding:22px 24px 26px;background:var(--wpt-checkout-bg);scrollbar-width:thin;scrollbar-color:#c9cbd5 transparent}.wpt-checkout-body::-webkit-scrollbar{width:6px}.wpt-checkout-body::-webkit-scrollbar-thumb{border-radius:10px;background:#c9cbd5}
.wpt-checkout-loading{min-height:410px}.wpt-checkout-loading strong{color:var(--wpt-checkout-ink);font-size:14px}.wpt-checkout-loading small{color:#9a9dab;font-size:10px}.wpt-loader-ring{width:42px;height:42px;border:3px solid #e4e4f3;border-top-color:var(--wpt-accent);border-radius:50%;animation:wpt-checkout-spin .75s linear infinite}@keyframes wpt-checkout-spin{to{transform:rotate(360deg)}}
.wpt-checkout-body .woocommerce{color:var(--wpt-checkout-ink)}.wpt-checkout-body .woocommerce-error,.wpt-checkout-body .woocommerce-info,.wpt-checkout-body .woocommerce-message{margin:0 0 16px;padding:12px 16px 12px 42px;border:0;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(25,24,50,.04);font-size:10px}.wpt-checkout-body form.checkout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(350px,.82fr);align-items:start;gap:22px}
.wpt-checkout-body #customer_details{padding:22px;border:1px solid #e7e8ee;border-radius:20px;background:#fff;box-shadow:0 8px 30px rgba(25,24,50,.045)}.wpt-checkout-body #customer_details .col-1,.wpt-checkout-body #customer_details .col-2{float:none;width:100%;padding:0}.wpt-checkout-body #customer_details .col-2{margin-top:20px;padding-top:18px;border-top:1px solid #efeff3}.wpt-checkout-body .woocommerce-billing-fields>h3,.wpt-checkout-body .woocommerce-additional-fields>h3,.wpt-checkout-body #ship-to-different-address{display:flex;align-items:center;margin:0 0 18px;color:var(--wpt-checkout-ink);font-size:15px}.wpt-checkout-body .woocommerce-billing-fields>h3:before{content:"\f007";margin-inline-end:8px;color:var(--wpt-accent);font-family:"Font Awesome 6 Free";font-size:12px;font-weight:900}
.wpt-checkout-body .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wpt-checkout-body .form-row{float:none!important;width:100%!important;margin:0!important;padding:0!important}.wpt-checkout-body .form-row-wide,.wpt-checkout-body #billing_address_1_field,.wpt-checkout-body #billing_address_2_field{grid-column:1/-1}.wpt-checkout-body .form-row label{display:block;margin:0 2px 6px;color:#6f7282;font-size:9px;font-weight:700}.wpt-checkout-body .required{color:#e84967}.wpt-checkout-body input.input-text,.wpt-checkout-body textarea,.wpt-checkout-body select,.wpt-checkout-body .select2-selection{width:100%;min-height:44px!important;margin:0!important;padding:9px 12px!important;border:1px solid #e3e4ea!important;border-radius:11px!important;background:#fafafd!important;color:var(--wpt-checkout-ink);font-size:11px;box-shadow:none!important;transition:.2s}.wpt-checkout-body textarea{min-height:85px!important;resize:vertical}.wpt-checkout-body input.input-text:focus,.wpt-checkout-body textarea:focus,.wpt-checkout-body .select2-container--open .select2-selection{border-color:var(--wpt-accent)!important;background:#fff!important;outline:0;box-shadow:0 0 0 3px color-mix(in srgb,var(--wpt-accent) 9%,transparent)!important}.wpt-checkout-body .select2-selection__rendered{padding:0!important;line-height:25px!important}.wpt-checkout-body .select2-selection__arrow{top:9px!important}
.wpt-checkout-body #order_review_heading{grid-column:2;margin:0 0 -10px;padding:0 18px;color:var(--wpt-checkout-ink);font-size:15px}.wpt-checkout-body #order_review{position:sticky;top:0;grid-column:2;padding:18px;border:1px solid #e7e8ee;border-radius:20px;background:#fff;box-shadow:0 8px 30px rgba(25,24,50,.055)}.wpt-checkout-body .woocommerce-checkout-review-order-table{margin:0 0 15px;border:0!important;border-collapse:separate;border-spacing:0;font-size:10px}.wpt-checkout-body .woocommerce-checkout-review-order-table th,.wpt-checkout-body .woocommerce-checkout-review-order-table td{padding:10px 7px;border-color:#efeff3}.wpt-checkout-body .woocommerce-checkout-review-order-table thead th{color:#9699a7;font-size:9px}.wpt-checkout-body .order-total th,.wpt-checkout-body .order-total td{padding-top:14px!important;color:var(--wpt-checkout-ink);font-size:13px}.wpt-checkout-body .order-total .amount{color:var(--wpt-accent);font-size:15px;font-weight:900}
.wpt-checkout-body #payment{border:0;border-radius:14px;background:#f7f7fa}.wpt-checkout-body #payment ul.payment_methods{padding:10px;border-bottom:1px solid #e6e7ed}.wpt-checkout-body #payment ul.payment_methods li{margin:0;padding:10px;border-radius:10px;background:#fff}.wpt-checkout-body #payment ul.payment_methods li+li{margin-top:7px}.wpt-checkout-body #payment label{font-size:10px;font-weight:750}.wpt-checkout-body #payment div.payment_box{margin:8px 0 0;padding:10px;border-radius:8px;background:#f5f5f9;color:#737686;font-size:9px}.wpt-checkout-body #payment div.form-row{padding:12px!important}.wpt-checkout-body #place_order{width:100%;min-height:50px;margin:0;border:0;border-radius:12px;background:linear-gradient(135deg,var(--wpt-accent),color-mix(in srgb,var(--wpt-accent) 70%,#24166f));color:#fff;font-size:12px;font-weight:850;box-shadow:0 10px 24px color-mix(in srgb,var(--wpt-accent) 24%,transparent);transition:.2s}.wpt-checkout-body #place_order:hover{transform:translateY(-1px);box-shadow:0 13px 30px color-mix(in srgb,var(--wpt-accent) 31%,transparent)}.wpt-checkout-body .woocommerce-privacy-policy-text{color:#8d909e;font-size:8px;line-height:1.8}
@media(max-width:820px){.wpt-checkout-modal{align-items:flex-end;padding:0}.wpt-checkout-dialog{width:100%;max-height:96dvh;border-radius:24px 24px 0 0}.wpt-checkout-dialog>.wpt-checkout-top{min-height:68px;padding:11px 14px}.wpt-checkout-mark{width:40px;height:40px;border-radius:12px}.wpt-checkout-trust{display:none}.wpt-checkout-steps{justify-content:space-between;min-height:50px;padding:7px 16px}.wpt-checkout-steps>span{font-size:0}.wpt-checkout-steps>span b{font-size:9px}.wpt-checkout-steps>i{flex:1;width:auto}.wpt-checkout-body{padding:12px 12px 20px}.wpt-checkout-body form.checkout{display:block}.wpt-checkout-body #customer_details{padding:16px;border-radius:16px}.wpt-checkout-body .woocommerce-billing-fields__field-wrapper{grid-template-columns:1fr}.wpt-checkout-body .form-row{grid-column:1!important}.wpt-checkout-body #order_review_heading{margin:20px 0 10px;padding:0 6px}.wpt-checkout-body #order_review{position:static;margin:0;padding:14px;border-radius:16px}.wpt-checkout-body input.input-text,.wpt-checkout-body textarea,.wpt-checkout-body select,.wpt-checkout-body .select2-selection{min-height:46px!important;font-size:12px}.wpt-checkout-body .form-row label{font-size:10px}.wpt-checkout-loading{min-height:55vh}}
@media(max-width:380px){.wpt-checkout-brand h3{font-size:16px!important}.wpt-checkout-brand small{font-size:8px}.wpt-checkout-close{width:36px;height:36px}.wpt-checkout-body{padding-inline:8px}.wpt-checkout-body #customer_details,.wpt-checkout-body #order_review{padding:12px}}

/* Exclusive Iran checkout fields and order card */
.wpt-checkout-intro{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:13px 16px;border:1px solid #e3e5f4;border-radius:15px;background:linear-gradient(110deg,#fff,color-mix(in srgb,var(--wpt-accent) 5%,#fff));box-shadow:0 5px 18px rgba(25,24,50,.035)}.wpt-checkout-intro>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--wpt-accent) 10%,#fff);color:var(--wpt-accent)}.wpt-checkout-intro strong,.wpt-checkout-intro small{display:block}.wpt-checkout-intro strong{margin-bottom:3px;color:var(--wpt-checkout-ink);font-size:11px}.wpt-checkout-intro small{color:#858897;font-size:9px;line-height:1.7}
.wpt-checkout-body #billing_country_field,.wpt-checkout-body #ship-to-different-address,.wpt-checkout-body .woocommerce-shipping-fields{display:none!important}.wpt-checkout-body .woocommerce-billing-fields>h3{position:relative;padding-bottom:14px;border-bottom:1px solid #eeeef3}.wpt-checkout-body .woocommerce-billing-fields>h3:after{content:"";position:absolute;right:0;bottom:-1px;width:42px;height:2px;border-radius:3px;background:var(--wpt-accent)}
.wpt-checkout-body .form-row label:before{display:inline-block;width:16px;margin-inline-end:2px;color:#a2a5b2;font-family:"Font Awesome 6 Free";font-size:9px;font-weight:900;text-align:center}.wpt-checkout-body .wpt-field-name label:before{content:"\f007"}.wpt-checkout-body .wpt-field-family label:before{content:"\f2bb"}.wpt-checkout-body .wpt-field-state label:before{content:"\f3c5"}.wpt-checkout-body .wpt-field-city label:before{content:"\f64f"}.wpt-checkout-body .wpt-field-address label:before{content:"\f015"}.wpt-checkout-body .wpt-field-postcode label:before{content:"\f3c5"}.wpt-checkout-body .wpt-field-phone label:before{content:"\f095"}.wpt-checkout-body .wpt-field-email label:before{content:"\f0e0"}.wpt-checkout-body .wpt-field-notes label:before{content:"\f249"}
.wpt-checkout-body .wpt-field-address input{background-image:linear-gradient(90deg,color-mix(in srgb,var(--wpt-accent) 3%,#fafafd),#fafafd)!important}.wpt-checkout-body .wpt-field-phone input,.wpt-checkout-body .wpt-field-postcode input,.wpt-checkout-body .wpt-field-email input{direction:ltr;text-align:left}.wpt-checkout-body .woocommerce-additional-fields>h3{position:relative;margin-top:2px!important;padding-right:22px}.wpt-checkout-body .woocommerce-additional-fields>h3:before{content:"\f249";position:absolute;right:0;color:var(--wpt-accent);font-family:"Font Awesome 6 Free";font-size:12px;font-weight:900}.wpt-checkout-body .wpt-field-notes textarea{min-height:96px!important;background:#fafafd!important;line-height:1.8}
.wpt-checkout-body #order_review_heading{display:flex;align-items:center;gap:8px}.wpt-checkout-body #order_review_heading:before{content:"\f46d";display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:color-mix(in srgb,var(--wpt-accent) 9%,#fff);color:var(--wpt-accent);font-family:"Font Awesome 6 Free";font-size:11px;font-weight:900}.wpt-checkout-body #order_review{overflow:hidden;padding:0!important}.wpt-checkout-body #order_review:before{content:"خلاصه سفارش شما";display:block;padding:16px 18px 12px;border-bottom:1px solid #eeeef3;background:linear-gradient(110deg,#fff,#fafafe);color:var(--wpt-checkout-ink);font-size:11px;font-weight:850}.wpt-checkout-body #order_review>.woocommerce-checkout-review-order-table{width:calc(100% - 32px);margin:8px 16px 15px}.wpt-checkout-body .woocommerce-checkout-review-order-table tbody tr{transition:background .18s}.wpt-checkout-body .woocommerce-checkout-review-order-table tbody tr:hover{background:#fafafe}.wpt-checkout-body .woocommerce-checkout-review-order-table .product-name{color:#434655;font-weight:700;line-height:1.8}.wpt-checkout-body .woocommerce-checkout-review-order-table .product-quantity{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-right:4px;border-radius:6px;background:#eeeefe;color:var(--wpt-accent);font-size:8px}.wpt-checkout-body .woocommerce-checkout-review-order-table .cart-subtotal th,.wpt-checkout-body .woocommerce-checkout-review-order-table .cart-subtotal td{background:#fafafe}.wpt-checkout-body .woocommerce-checkout-review-order-table .order-total th,.wpt-checkout-body .woocommerce-checkout-review-order-table .order-total td{border-top:1px dashed #dcdde5;background:#fff}.wpt-checkout-body #payment{margin:0;border-radius:0;background:#f7f8fb}.wpt-checkout-body #payment:before{content:"روش پرداخت";display:block;padding:14px 16px 5px;color:var(--wpt-checkout-ink);font-size:10px;font-weight:850}.wpt-checkout-body #payment ul.payment_methods{margin:0;padding:8px 14px 12px}.wpt-checkout-body #payment ul.payment_methods li{position:relative;border:1px solid #e7e8ee;box-shadow:0 3px 10px rgba(25,24,50,.025)}.wpt-checkout-body #payment ul.payment_methods li:has(input:checked){border-color:color-mix(in srgb,var(--wpt-accent) 42%,#fff);box-shadow:0 0 0 3px color-mix(in srgb,var(--wpt-accent) 7%,transparent)}.wpt-checkout-body #payment input[type=radio]{accent-color:var(--wpt-accent)}.wpt-checkout-body #payment div.form-row{padding:14px!important;border-top:1px solid #e8e9ee}.wpt-checkout-body #place_order{position:relative;letter-spacing:0}.wpt-checkout-body #place_order:after{content:"\f053";margin-right:8px;font-family:"Font Awesome 6 Free";font-size:9px;font-weight:900}
@media(max-width:820px){.wpt-checkout-intro{margin-bottom:10px;padding:11px 12px}.wpt-checkout-intro>span{width:34px;height:34px;flex-basis:34px}.wpt-checkout-body .woocommerce-billing-fields__field-wrapper{gap:11px}.wpt-checkout-body #order_review:before{padding:14px}.wpt-checkout-body #order_review>.woocommerce-checkout-review-order-table{width:calc(100% - 24px);margin-inline:12px}.wpt-checkout-body #payment ul.payment_methods{padding-inline:10px}}

/* WooCommerce visual reset + exclusive native checkout UI */
.wpt-native-checkout,.wpt-native-checkout form,.wpt-native-checkout fieldset,.wpt-native-checkout table,.wpt-native-checkout tbody,.wpt-native-checkout thead,.wpt-native-checkout tfoot,.wpt-native-checkout tr,.wpt-native-checkout th,.wpt-native-checkout td{margin:0;border:0;background:none;box-shadow:none}.wpt-native-checkout:before,.wpt-native-checkout:after,.wpt-native-checkout form:before,.wpt-native-checkout form:after,.wpt-native-checkout .col2-set:before,.wpt-native-checkout .col2-set:after{display:none!important;content:none!important}.wpt-native-checkout .col2-set,.wpt-native-checkout .col-1,.wpt-native-checkout .col-2{float:none!important;width:auto!important;margin:0!important}.wpt-native-checkout abbr.required{border:0;text-decoration:none}.wpt-native-checkout a{color:var(--wpt-accent)}
.wpt-native-checkout form.checkout{position:relative;margin:0!important;padding:0!important;border:0!important;background:transparent!important}.wpt-native-checkout #customer_details{position:relative;overflow:hidden}.wpt-native-checkout #customer_details:before{content:"";position:absolute;top:-90px;left:-90px;width:210px;height:210px;border:50px solid color-mix(in srgb,var(--wpt-accent) 4%,transparent);border-radius:50%;pointer-events:none}.wpt-native-checkout #customer_details>*{position:relative;z-index:1}
.wpt-native-checkout .form-row{display:block;clear:none!important}.wpt-native-checkout .form-row label{line-height:1.5!important}.wpt-native-checkout .form-row .optional{color:#aaaeba;font-size:8px}.wpt-native-checkout .form-row.woocommerce-invalid input.input-text,.wpt-native-checkout .form-row.woocommerce-invalid .select2-selection{border-color:#ec4768!important;background:#fff8fa!important;box-shadow:0 0 0 3px rgba(236,71,104,.08)!important}.wpt-native-checkout .form-row.woocommerce-validated input.input-text,.wpt-native-checkout .form-row.woocommerce-validated .select2-selection{border-color:#52b788!important}.wpt-native-checkout .woocommerce-input-wrapper{display:block;width:100%}
.wpt-native-checkout input,.wpt-native-checkout textarea,.wpt-native-checkout select,.wpt-native-checkout button{font-family:inherit}.wpt-native-checkout input.input-text::placeholder,.wpt-native-checkout textarea::placeholder{color:#b0b3bf;opacity:1}.wpt-native-checkout input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fafafd inset!important;-webkit-text-fill-color:var(--wpt-checkout-ink)!important}
.wpt-native-checkout .select2-container{width:100%!important}.wpt-native-checkout .select2-container .select2-selection--single{display:flex!important;align-items:center;height:44px!important}.wpt-native-checkout .select2-selection__rendered{width:100%;color:var(--wpt-checkout-ink)!important}.wpt-native-checkout .select2-selection__placeholder{color:#b0b3bf!important}.wpt-modal-open>.select2-container--open{z-index:1000001}.wpt-modal-open .select2-dropdown{overflow:hidden;border:1px solid #dedfe7;border-radius:12px;background:#fff;box-shadow:0 14px 35px rgba(20,19,48,.16)}.wpt-modal-open .select2-search{padding:8px}.wpt-modal-open .select2-search__field{height:38px;border:1px solid #e3e4ea!important;border-radius:9px!important;outline:0}.wpt-modal-open .select2-results__option{padding:9px 12px;font-size:10px}.wpt-modal-open .select2-results__option--highlighted{background:#635bff!important}
.wpt-native-checkout .woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse!important}.wpt-native-checkout .woocommerce-checkout-review-order-table thead,.wpt-native-checkout .woocommerce-checkout-review-order-table tbody,.wpt-native-checkout .woocommerce-checkout-review-order-table tfoot{background:transparent!important}.wpt-native-checkout .woocommerce-checkout-review-order-table th,.wpt-native-checkout .woocommerce-checkout-review-order-table td{vertical-align:middle;text-align:right}.wpt-native-checkout .woocommerce-checkout-review-order-table td.product-total,.wpt-native-checkout .woocommerce-checkout-review-order-table tfoot td{text-align:left;white-space:nowrap}.wpt-native-checkout .woocommerce-checkout-review-order-table .amount{font-variant-numeric:tabular-nums}.wpt-native-checkout .woocommerce-checkout-review-order-table .product-name{max-width:210px}
.wpt-native-checkout #payment,.wpt-native-checkout #payment ul,.wpt-native-checkout #payment li{border:0!important}.wpt-native-checkout #payment ul{list-style:none!important}.wpt-native-checkout #payment li{line-height:1.6!important}.wpt-native-checkout #payment li>input[type=radio]{position:absolute;opacity:0}.wpt-native-checkout #payment li>label{position:relative;display:flex;align-items:center;min-height:28px;padding-right:30px;cursor:pointer}.wpt-native-checkout #payment li>label:before{content:"";position:absolute;right:0;width:18px;height:18px;border:2px solid #d6d8e1;border-radius:50%;background:#fff;transition:.18s}.wpt-native-checkout #payment li>label:after{content:"";position:absolute;right:5px;width:8px;height:8px;border-radius:50%;background:var(--wpt-accent);opacity:0;transform:scale(.3);transition:.18s}.wpt-native-checkout #payment li>input:checked+label:before{border-color:var(--wpt-accent)}.wpt-native-checkout #payment li>input:checked+label:after{opacity:1;transform:scale(1)}.wpt-native-checkout #payment img{max-height:24px;margin-inline-start:auto}.wpt-native-checkout #payment .payment_box:before{display:none!important}.wpt-native-checkout #payment .payment_box p:last-child{margin-bottom:0}
.wpt-native-checkout .woocommerce-terms-and-conditions-wrapper{margin-bottom:10px}.wpt-native-checkout .woocommerce-form__label-for-checkbox{display:flex!important;align-items:flex-start;gap:7px;color:#777b8c;font-size:9px;line-height:1.8}.wpt-native-checkout input[type=checkbox]{width:16px;height:16px;margin-top:2px;accent-color:var(--wpt-accent)}.wpt-native-checkout .woocommerce-terms-and-conditions{margin-bottom:10px;padding:12px;border:1px solid #e7e8ee;border-radius:10px;background:#fff;font-size:9px}
.wpt-native-checkout .woocommerce-error,.wpt-native-checkout .woocommerce-message,.wpt-native-checkout .woocommerce-info{position:relative;list-style:none!important}.wpt-native-checkout .woocommerce-error:before{color:#eb4567}.wpt-native-checkout .woocommerce-message:before{color:#35a271}.wpt-native-checkout .blockUI.blockOverlay{background:#fff!important;opacity:.72!important}.wpt-native-checkout .blockUI.blockOverlay:before{position:absolute!important;top:50%!important;left:50%!important;width:28px!important;height:28px!important;margin:-14px 0 0 -14px!important;border:3px solid #e6e6f2!important;border-top-color:var(--wpt-accent)!important;border-radius:50%!important;background:none!important;animation:wpt-checkout-spin .7s linear infinite!important}
.wpt-native-checkout #place_order{float:none!important;overflow:hidden}.wpt-native-checkout #place_order:active{transform:translateY(1px);box-shadow:0 5px 14px color-mix(in srgb,var(--wpt-accent) 20%,transparent)}
@media(max-width:820px){.wpt-native-checkout #customer_details:before{top:-120px;left:-130px}.wpt-native-checkout .woocommerce-checkout-review-order-table .product-name{max-width:160px}.wpt-native-checkout #payment li>label{font-size:11px}.wpt-native-checkout .woocommerce-form__label-for-checkbox{font-size:10px}}

/* Unified vertical checkout flow */
.wpt-checkout-dialog{width:min(760px,calc(100vw - 48px))}.wpt-checkout-body{padding:20px 22px 26px}.wpt-checkout-intro{max-width:680px;margin-inline:auto;margin-bottom:14px}.wpt-native-checkout form.checkout,.wpt-checkout-body form.checkout{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;width:100%;max-width:680px;margin-inline:auto!important}.wpt-native-checkout #customer_details,.wpt-checkout-body #customer_details{order:1;width:100%;padding:20px}.wpt-native-checkout #customer_details .col-1,.wpt-native-checkout #customer_details .col-2{display:block;width:100%!important}.wpt-checkout-body .woocommerce-billing-fields__field-wrapper{display:flex!important;flex-direction:column!important;gap:12px!important}.wpt-checkout-body .woocommerce-billing-fields__field-wrapper>.form-row,.wpt-native-checkout .form-row{display:block!important;grid-column:auto!important;width:100%!important}.wpt-checkout-body .woocommerce-additional-fields{display:block;width:100%}.wpt-checkout-body .wpt-field-notes textarea{width:100%;min-height:105px!important}
.wpt-native-checkout #order_review_heading,.wpt-checkout-body #order_review_heading{position:static;order:2;grid-column:auto;width:100%;margin:4px 0 -4px!important;padding:0 4px!important}.wpt-native-checkout #order_review,.wpt-checkout-body #order_review{position:static;order:3;grid-column:auto;width:100%;margin:0!important}.wpt-checkout-body #order_review:before{padding:15px 18px}.wpt-native-checkout .woocommerce-checkout-review-order-table .product-name{max-width:none}.wpt-checkout-body #order_review>.woocommerce-checkout-review-order-table{width:calc(100% - 32px);margin:8px 16px 15px}
.wpt-checkout-body input.input-text,.wpt-checkout-body textarea,.wpt-checkout-body select,.wpt-checkout-body .select2-selection{min-height:47px!important;border-radius:12px!important}.wpt-checkout-body .form-row label{margin-bottom:7px;font-size:10px}.wpt-checkout-body #payment ul.payment_methods{display:flex;flex-direction:column;gap:8px}.wpt-checkout-body #payment ul.payment_methods li+li{margin-top:0}.wpt-checkout-body #place_order{min-height:52px;border-radius:13px}
@media(max-width:820px){.wpt-checkout-dialog{width:100%;max-width:none}.wpt-checkout-body{padding:12px 10px 20px}.wpt-native-checkout form.checkout,.wpt-checkout-body form.checkout{max-width:none;gap:12px!important}.wpt-checkout-intro{max-width:none}.wpt-native-checkout #customer_details,.wpt-checkout-body #customer_details{padding:15px}.wpt-checkout-body #order_review>.woocommerce-checkout-review-order-table{width:calc(100% - 24px);margin-inline:12px}}

/* Narrow dialog without checkout stepper. */
.wpt-checkout-dialog{width:min(620px,calc(100vw - 40px))}.wpt-checkout-steps{display:none!important}.wpt-checkout-intro,.wpt-native-checkout form.checkout,.wpt-checkout-body form.checkout{max-width:552px}.wpt-checkout-body{padding-inline:18px}
@media(max-width:660px){.wpt-checkout-modal{padding:0}.wpt-checkout-dialog{width:100%;max-width:none}.wpt-checkout-body{padding-inline:10px}.wpt-checkout-intro,.wpt-native-checkout form.checkout,.wpt-checkout-body form.checkout{max-width:none}}

/* Variable product quick selector */
body.wpt-variation-open{overflow:hidden}.wpt-variation-modal{position:fixed;z-index:1000000;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .24s ease,visibility .24s ease}.wpt-variation-modal.is-open{visibility:visible;opacity:1;pointer-events:auto}.wpt-variation-backdrop{position:absolute;inset:0;background:rgba(15,17,30,.72);backdrop-filter:blur(12px) saturate(180%)}.wpt-variation-dialog{position:relative;width:min(530px,calc(100vw - 36px));max-height:90vh;overflow:hidden;border:1px solid rgba(255,255,255,.45);border-radius:24px;background:#f8f9fc;box-shadow:0 32px 90px rgba(8,10,26,.45),0 0 0 1px rgba(255,255,255,.2);transform:translateY(24px) scale(.98);transition:transform .28s cubic-bezier(.16,1,.3,1)}.wpt-variation-modal.is-open .wpt-variation-dialog{transform:none}.wpt-variation-dialog>header{display:flex;align-items:center;justify-content:space-between;min-height:78px;padding:14px 18px;border-bottom:1px solid #e8eaf2;background:#fff}.wpt-variation-product{display:flex;align-items:center;gap:12px;min-width:0}.wpt-variation-thumb{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;overflow:hidden;border-radius:14px;background:#f0efff;color:var(--wpt-accent);border:1px solid rgba(0,0,0,.04);box-shadow:0 4px 12px rgba(0,0,0,.04)}.wpt-variation-thumb img{width:100%;height:100%;object-fit:cover;display:block}.wpt-variation-product>div{min-width:0}.wpt-variation-product small{display:block;margin-bottom:3px;color:var(--wpt-accent);font-size:9px;font-weight:800;letter-spacing:.3px}.wpt-variation-product h3{overflow:hidden;max-width:350px;margin:0;color:#181b2a;font-size:14px;font-weight:800;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.wpt-variation-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid transparent;border-radius:12px;background:#f1f3f7;color:#707485;cursor:pointer;transition:all .22s cubic-bezier(.16,1,.3,1)}.wpt-variation-close:hover{background:#ffedf1;color:#e43c63;border-color:rgba(228,60,99,.15);transform:rotate(90deg) scale(1.05)}.wpt-variation-body{max-height:calc(90vh - 78px);overflow:auto;padding:20px;overscroll-behavior:contain}.wpt-variation-loading,.wpt-variation-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:280px;color:#787c8d}.wpt-variation-loading strong,.wpt-variation-error strong{font-size:12px;font-weight:700}.wpt-variation-error i{color:#e64868;font-size:28px}.wpt-variation-retry{padding:9px 16px;border:0;border-radius:10px;background:var(--wpt-accent);color:#fff;font-size:11px;font-weight:750;cursor:pointer;box-shadow:0 6px 18px color-mix(in srgb,var(--wpt-accent) 24%,transparent);transition:all .2s ease}.wpt-variation-retry:hover{transform:translateY(-1px);box-shadow:0 8px 22px color-mix(in srgb,var(--wpt-accent) 32%,transparent)}
.wpt-variation-body form.variations_form{margin:0;padding:20px;border:1px solid #e4e6f0;border-radius:20px;background:#fff;box-shadow:0 8px 30px rgba(20,24,55,.05)}.wpt-variation-body table.variations{display:block;width:100%;margin:0 0 16px;border:0}.wpt-variation-body table.variations tbody,.wpt-variation-body table.variations tr,.wpt-variation-body table.variations th,.wpt-variation-body table.variations td{display:block;width:100%;margin:0;padding:0;border:0;background:none}.wpt-variation-body table.variations tr+tr{margin-top:15px}.wpt-variation-body table.variations th.label{margin-bottom:8px;color:#4c5163;font-size:11px;font-weight:750;text-align:right}.wpt-variation-body table.variations th.label label:before{content:"\f1de";margin-inline-end:7px;color:var(--wpt-accent);font-family:"Font Awesome 6 Free";font-size:10px;font-weight:900}.wpt-variation-body table.variations select{width:100%;height:48px;margin:0;padding:0 14px;border:1.5px solid #dfe2eb;border-radius:12px;background:#fafbfc;color:#222536;font-family:inherit;font-size:11px;font-weight:600;outline:0;cursor:pointer;transition:all .2s ease}.wpt-variation-body table.variations select:focus{border-color:var(--wpt-accent);background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--wpt-accent) 11%,transparent)}.wpt-variation-body .reset_variations{display:none;margin-top:8px;color:#e54767;font-size:9px;text-decoration:none}.wpt-variation-body .reset_variations.is-active{display:inline-flex!important}.wpt-variation-body .single_variation_wrap{padding-top:16px;border-top:1px dashed #dde0ec}.wpt-variation-body .woocommerce-variation{margin-bottom:14px}.wpt-variation-body .woocommerce-variation-price .price{display:flex;align-items:center;gap:9px;color:var(--wpt-accent);font-size:17px;font-weight:900}.wpt-variation-body .woocommerce-variation-price del{color:#989ba8;font-size:11px;font-weight:500}.wpt-variation-body .woocommerce-variation-price ins{text-decoration:none}.wpt-variation-body .woocommerce-variation-availability{color:#28805c;font-size:10px;font-weight:700}.wpt-variation-body .woocommerce-variation-description{color:#747788;font-size:10px;line-height:1.8}.wpt-variation-body .woocommerce-variation-add-to-cart{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px}.wpt-variation-body .quantity{display:block!important;float:none!important;width:105px!important;margin:0!important}.wpt-variation-body .quantity input.qty{width:100%!important;height:46px!important;margin:0!important;border:1px solid #e1e2e9!important;border-radius:11px!important;background:#fafafd!important;text-align:center}.wpt-variation-body .single_add_to_cart_button{position:relative;float:none!important;width:100%;min-height:48px;margin:0!important;padding:0 16px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--wpt-accent),color-mix(in srgb,var(--wpt-accent) 70%,#21146c));color:#fff;font-family:inherit;font-size:11px;font-weight:800;box-shadow:0 8px 22px color-mix(in srgb,var(--wpt-accent) 24%,transparent);transition:all .22s cubic-bezier(.16,1,.3,1)}.wpt-variation-body .single_add_to_cart_button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 26px color-mix(in srgb,var(--wpt-accent) 32%,transparent)}.wpt-variation-body .single_add_to_cart_button.disabled{opacity:.45;cursor:not-allowed}.wpt-variation-body .single_add_to_cart_button.is-loading{color:transparent!important;pointer-events:none}.wpt-variation-body .single_add_to_cart_button.is-loading:after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:wpt-checkout-spin .7s linear infinite}.wpt-variation-message{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:14px;padding:11px;border-radius:10px;font-size:10px;font-weight:750}.wpt-variation-message.is-success{background:#eaf8f1;color:#25805a}.wpt-variation-message.is-error{background:#fff0f3;color:#d93f60}.wpt-choose-variation{grid-column:span 2;border-color:var(--wpt-accent);background:color-mix(in srgb,var(--wpt-accent) 8%,#fff);color:var(--wpt-accent)}
@media(max-width:560px){.wpt-variation-modal{align-items:flex-end;padding:0}.wpt-variation-dialog{width:100%;max-height:94dvh;border-radius:24px 24px 0 0;box-shadow:0 -12px 45px rgba(8,10,26,.38);transform:translateY(100%);transition:transform .3s cubic-bezier(.16,1,.3,1)}.wpt-variation-modal.is-open .wpt-variation-dialog{transform:translateY(0)}.wpt-variation-body{max-height:calc(94dvh - 74px);padding:14px}.wpt-variation-dialog>header{min-height:74px;padding:12px 14px}.wpt-variation-product h3{max-width:210px;font-size:13px}.wpt-variation-body form.variations_form{padding:14px;border-radius:16px}.wpt-variation-body .woocommerce-variation-add-to-cart{grid-template-columns:92px minmax(0,1fr)}}

/* Variation quantity mirrors the table control + quick checkout action. */
.wpt-variation-body .woocommerce-variation-add-to-cart{grid-template-columns:104px minmax(0,1fr) minmax(0,1fr);align-items:center}.wpt-variation-body .quantity{box-sizing:border-box!important;display:grid!important;grid-template-columns:30px 38px 30px!important;align-items:center;width:104px!important;min-width:104px!important;max-width:104px!important;height:46px!important;margin:0!important;padding:4px!important;border:1px solid #e1e2e9!important;border-radius:12px!important;background:#f7f7fb!important;direction:ltr!important;box-shadow:0 5px 14px rgba(38,35,90,.06)!important}.wpt-variation-body .quantity input.qty{grid-column:2;width:38px!important;min-width:38px!important;max-width:38px!important;height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important;font-weight:850!important;line-height:36px!important;box-shadow:none!important;appearance:textfield}.wpt-variation-body .quantity input.qty::-webkit-inner-spin-button,.wpt-variation-body .quantity input.qty::-webkit-outer-spin-button{display:none;-webkit-appearance:none}.wpt-variation-body .wpt-vqty-minus,.wpt-variation-body .wpt-vqty-plus{display:grid;place-items:center;width:30px;height:36px;margin:0;padding:0;border:0;border-radius:8px;background:#fff;color:var(--wpt-accent);cursor:pointer;box-shadow:0 2px 6px rgba(35,32,90,.07)}.wpt-variation-body .wpt-vqty-minus{grid-column:1}.wpt-variation-body .wpt-vqty-plus{grid-column:3}.wpt-variation-body .wpt-vqty-minus:before,.wpt-variation-body .wpt-vqty-plus:before{display:block;font-family:Arial,sans-serif;font-size:18px;line-height:1}.wpt-variation-body .wpt-vqty-minus:before{content:"−"}.wpt-variation-body .wpt-vqty-plus:before{content:"+"}.wpt-variation-body .wpt-vqty-minus:disabled,.wpt-variation-body .wpt-vqty-plus:disabled{background:transparent;color:#c6c8d1;box-shadow:none;cursor:not-allowed}
.wpt-variation-body .wpt-variation-quick-buy{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:46px;padding:0 12px;border:1px solid #ffc466;border-radius:11px;background:linear-gradient(135deg,#fff9ec,#fff2d9);color:#a96500;font-family:inherit;font-size:10px;font-weight:850;cursor:pointer}.wpt-variation-body .wpt-variation-quick-buy:hover{border-color:#f4aa36;background:#fff4dd}.wpt-variation-body .wpt-variation-quick-buy.is-loading{color:transparent;pointer-events:none}.wpt-variation-body .wpt-variation-quick-buy.is-loading:after{content:"";position:absolute;width:17px;height:17px;border:2px solid rgba(169,101,0,.2);border-top-color:#a96500;border-radius:50%;animation:wpt-checkout-spin .7s linear infinite}
@media(max-width:560px){.wpt-variation-body .woocommerce-variation-add-to-cart{grid-template-columns:104px minmax(0,1fr);gap:8px}.wpt-variation-body .wpt-variation-quick-buy{grid-column:1/-1}.wpt-variation-body .single_add_to_cart_button{min-width:0}}

/* Shared quantity styling for table rows and the variation popup. */
.woolements-product-table .wpt-quantity,.woolements-product-table .wpt-variation-body .quantity{box-sizing:border-box!important;align-items:center!important}.woolements-product-table .wpt-quantity button,.woolements-product-table .wpt-variation-body .quantity button{align-self:center!important;justify-self:center!important;width:var(--wpt-qty-button-size,28px)!important;height:min(var(--wpt-qty-button-size,28px),calc(100% - 4px))!important;margin-block:0!important;transform:none!important}.woolements-product-table .wpt-quantity input,.woolements-product-table .wpt-variation-body .quantity input.qty{align-self:center!important;margin-block:0!important;transform:none!important}.woolements-product-table.wpt-cart-display-both .wpt-cart>i,.woolements-product-table.wpt-cart-display-both .wpt-cart>svg,.woolements-product-table.wpt-cart-display-icon .wpt-cart>i,.woolements-product-table.wpt-cart-display-icon .wpt-cart>svg,.woolements-product-table.wpt-cart-display-both .wpt-variation-body .single_add_to_cart_button>i,.woolements-product-table.wpt-cart-display-both .wpt-variation-body .single_add_to_cart_button>svg,.woolements-product-table.wpt-cart-display-icon .wpt-variation-body .single_add_to_cart_button>i,.woolements-product-table.wpt-cart-display-icon .wpt-variation-body .single_add_to_cart_button>svg{display:block!important;visibility:visible!important;opacity:1!important;flex:0 0 auto}
.woolements-product-table .wpt-variation-body .quantity{background:var(--wpt-qty-bg,var(--wpt-soft))!important}.woolements-product-table .wpt-variation-body .quantity input.qty{color:var(--wpt-qty-number,#161824)!important}.woolements-product-table.wpt-custom-qty-icons .wpt-variation-body .quantity .wpt-vqty-plus:not(:disabled),.woolements-product-table.wpt-custom-qty-icons .wpt-variation-body .quantity .wpt-vqty-minus:not(:disabled){color:var(--wpt-qty-button-color,var(--wpt-accent))!important;background:var(--wpt-qty-button-bg,#fff)!important}.woolements-product-table.wpt-custom-qty-icons .wpt-variation-body .quantity .wpt-vqty-plus:not(:disabled):hover,.woolements-product-table.wpt-custom-qty-icons .wpt-variation-body .quantity .wpt-vqty-minus:not(:disabled):hover{color:var(--wpt-qty-button-hover-color,var(--wpt-qty-button-color,var(--wpt-accent)))!important;background:var(--wpt-qty-button-hover-bg,var(--wpt-qty-button-bg,#fff))!important}.woolements-product-table.wpt-custom-qty-icons .wpt-variation-body .quantity .wpt-vqty-plus:disabled,.woolements-product-table.wpt-custom-qty-icons .wpt-variation-body .quantity .wpt-vqty-minus:disabled{color:var(--wpt-qty-button-disabled-color,#c7c9d3)!important;background:var(--wpt-qty-button-disabled-bg,transparent)!important}
.woolements-product-table .wpt-quantity input,.woolements-product-table .wpt-variation-body .quantity input.qty{height:calc(100% - 4px)!important;line-height:normal!important}
.woolements-product-table .wpt-variation-body .quantity{display:grid!important;grid-template-columns:var(--wpt-qty-button-size,28px) minmax(28px,1fr) var(--wpt-qty-button-size,28px)!important;place-items:center!important;gap:4px!important;overflow:hidden!important;direction:ltr!important}.woolements-product-table .wpt-variation-body .quantity .wpt-vqty-minus{grid-column:1!important}.woolements-product-table .wpt-variation-body .quantity input.qty{grid-column:2!important;width:100%!important;min-width:0!important;max-width:100%!important;height:calc(100% - 4px)!important;padding:0!important;text-align:center!important;line-height:1!important}.woolements-product-table .wpt-variation-body .quantity .wpt-vqty-plus{grid-column:3!important}.woolements-product-table .wpt-variation-body .quantity .wpt-vqty-minus,.woolements-product-table .wpt-variation-body .quantity .wpt-vqty-plus{display:grid!important;place-items:center!important;align-self:center!important;justify-self:center!important;width:min(var(--wpt-qty-button-size,28px),calc(100% - 2px))!important;height:min(var(--wpt-qty-button-size,28px),calc(100% - 4px))!important;margin:0!important;padding:0!important;line-height:1!important;float:none!important;position:static!important}.woolements-product-table .wpt-variation-body .quantity .wpt-vqty-minus i,.woolements-product-table .wpt-variation-body .quantity .wpt-vqty-minus svg,.woolements-product-table .wpt-variation-body .quantity .wpt-vqty-plus i,.woolements-product-table .wpt-variation-body .quantity .wpt-vqty-plus svg{display:block!important;margin:0!important;line-height:1!important;transform:none!important}
.wpt-variation-body .woocommerce-variation-price{display:none!important}.wpt-live-variation-price{display:none;margin:0 0 16px;padding:14px 18px;border:1px solid color-mix(in srgb,var(--wpt-accent,#474bff) 16%,#e5e7f0);border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--wpt-accent,#474bff) 6%,#fff),#fff);text-align:right;box-shadow:0 8px 24px rgba(20,24,55,.05);transition:all .22s cubic-bezier(.16,1,.3,1)}.wpt-live-variation-price.is-visible{display:block!important}.wpt-live-variation-price .price{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin:0;color:var(--wpt-accent,#474bff);font-size:17px;font-weight:850;line-height:1.4}.wpt-live-variation-price del{color:#9da0af;font-size:11px;font-weight:500;text-decoration:line-through;opacity:.75}.wpt-live-variation-price ins{color:inherit;text-decoration:none;font-weight:850}.wpt-live-variation-price .woocommerce-Price-currencySymbol{font-size:.85em;font-weight:700;margin-inline-start:3px}.woolements-product-table .wpt-variation-body .single_add_to_cart_button.wpt-variation-added{color:var(--wpt-cart-added-color,#fff)!important;background:var(--wpt-cart-added-bg,#1d9b65)!important;border-color:var(--wpt-cart-added-border,#1d9b65)!important;cursor:pointer!important;opacity:1!important}
.woolements-product-table .wpt-filter-toggle{color:var(--wpt-filter-normal-color,var(--wpt-text))!important;background:var(--wpt-filter-normal-bg,#fff)!important;border-color:var(--wpt-filter-normal-border,var(--wpt-line))!important}.woolements-product-table .wpt-filter-toggle:hover{color:var(--wpt-filter-hover-color,var(--wpt-accent))!important;background:var(--wpt-filter-hover-bg,#fff)!important;border-color:var(--wpt-filter-hover-border,var(--wpt-accent))!important}.woolements-product-table .wpt-filter-toggle.is-active{color:var(--wpt-filter-active-color,#fff)!important;background:var(--wpt-filter-active-bg,var(--wpt-accent))!important;border-color:var(--wpt-filter-active-border,var(--wpt-accent))!important}.woolements-product-table .wpt-filter-toggle svg{fill:currentColor}.wpt-filter-toggle.wpt-filter-display-icon span{display:none!important}.wpt-filter-toggle.wpt-filter-display-text i,.wpt-filter-toggle.wpt-filter-display-text svg{display:none!important}.wpt-filter-toggle.wpt-filter-display-both span,.wpt-filter-toggle.wpt-filter-display-text span{display:inline!important}
.woolements-product-table .wpt-variation-close svg{display:block;fill:currentColor;pointer-events:none}.woolements-product-table .wpt-variation-product h3,.woolements-product-table .wpt-variation-product small{transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s}.woolements-product-table .wpt-variation-close{display:grid;place-items:center;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s,transform .2s}
.woolements-product-table .wpt-filter-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}.woolements-product-table .wpt-filter-toggle i,.woolements-product-table .wpt-filter-toggle svg{display:block;visibility:visible;opacity:1;flex:0 0 auto;fill:currentColor;pointer-events:none}.woolements-product-table .wpt-filter-toggle.wpt-filter-display-icon span{display:none!important}.woolements-product-table .wpt-filter-toggle.wpt-filter-display-text i,.woolements-product-table .wpt-filter-toggle.wpt-filter-display-text svg{display:none!important}.woolements-product-table .wpt-filter-toggle.wpt-filter-display-both span,.woolements-product-table .wpt-filter-toggle.wpt-filter-display-text span{display:inline-block!important}
.woolements-product-table .wpt-clear-filters{display:none;align-items:center;justify-content:center;box-sizing:border-box;gap:7px;height:42px;padding:0 13px;border:1px solid #ffd0da;border-radius:11px;background:#fff5f7;color:#d93f60;font:inherit;font-weight:750;line-height:1.4;white-space:nowrap;cursor:pointer;text-decoration:none!important;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s,transform .2s}.woolements-product-table.has-active-filters .wpt-clear-filters{display:inline-flex}.woolements-product-table .wpt-clear-filters:hover{border-color:#ef6d89;background:#ffe9ee;color:#c82f52;transform:translateY(-1px)}.woolements-product-table .wpt-clear-filters i,.woolements-product-table .wpt-clear-filters svg{display:block;visibility:visible;opacity:1;flex:0 0 auto;fill:currentColor;pointer-events:none}.woolements-product-table .wpt-clear-filters.wpt-clear-display-icon .wpt-clear-text{display:none!important}.woolements-product-table .wpt-clear-filters.wpt-clear-display-text .wpt-clear-icon,.woolements-product-table .wpt-clear-filters.wpt-clear-display-text i,.woolements-product-table .wpt-clear-filters.wpt-clear-display-text svg{display:none!important}.woolements-product-table .wpt-clear-filters.wpt-clear-display-both span,.woolements-product-table .wpt-clear-filters.wpt-clear-display-text span{display:inline-block!important}
.woolements-product-table .wpt-variation-modal .wpt-variation-close{display:grid!important;place-items:center!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;overflow:hidden!important;width:var(--wpt-variation-close-size,38px);height:var(--wpt-variation-close-size,38px);min-width:var(--wpt-variation-close-size,38px);flex-basis:var(--wpt-variation-close-size,38px);padding:0!important;border:1px solid var(--wpt-variation-close-border,transparent);border-radius:12px;background:var(--wpt-variation-close-bg,#f2f3f6);color:var(--wpt-variation-close-color,#747787);line-height:1!important;text-align:center!important;cursor:pointer;transition:all .22s cubic-bezier(.16,1,.3,1)}.woolements-product-table .wpt-variation-modal .wpt-variation-close:hover{color:var(--wpt-variation-close-hover-color,#e43c63);background:var(--wpt-variation-close-hover-bg,#ffedf1);border-color:var(--wpt-variation-close-hover-border,var(--wpt-variation-close-border,transparent));transform:rotate(90deg) scale(1.05)}.woolements-product-table .wpt-variation-modal .wpt-variation-close i,.woolements-product-table .wpt-variation-modal .wpt-variation-close svg{display:grid!important;place-items:center!important;flex:0 0 auto!important;max-width:calc(var(--wpt-variation-close-size,38px) - 8px)!important;max-height:calc(var(--wpt-variation-close-size,38px) - 8px)!important;width:var(--wpt-variation-close-icon-size,14px)!important;height:var(--wpt-variation-close-icon-size,14px)!important;font-size:var(--wpt-variation-close-icon-size,14px)!important;margin:0!important;line-height:1!important;text-align:center!important;fill:currentColor!important;overflow:visible!important}.woolements-product-table .wpt-variation-modal .wpt-variation-close i:before{display:block!important;margin:0!important;line-height:1!important}
.woolements-product-table .wpt-variation-body .reset_variations{display:none;align-items:center;justify-content:center;box-sizing:border-box;gap:6px;color:var(--wpt-reset-color,#e54767);background:var(--wpt-reset-bg,transparent);border-color:var(--wpt-reset-border,transparent);text-decoration:none}.woolements-product-table .wpt-variation-body .reset_variations.is-active{display:inline-flex!important}.woolements-product-table .wpt-variation-body .reset_variations:hover{color:var(--wpt-reset-hover-color,var(--wpt-reset-color,#e54767));background:var(--wpt-reset-hover-bg,var(--wpt-reset-bg,transparent));border-color:var(--wpt-reset-hover-border,var(--wpt-reset-border,transparent))}.woolements-product-table .wpt-variation-body .reset_variations i,.woolements-product-table .wpt-variation-body .reset_variations svg{display:block;visibility:visible;opacity:1;flex:0 0 auto;fill:currentColor}.woolements-product-table .wpt-variation-body .reset_variations.wpt-reset-display-icon span{display:none!important}.woolements-product-table .wpt-variation-body .reset_variations.wpt-reset-display-text i,.woolements-product-table .wpt-variation-body .reset_variations.wpt-reset-display-text svg{display:none!important}.woolements-product-table .wpt-variation-body .reset_variations.wpt-reset-display-text span,.woolements-product-table .wpt-variation-body .reset_variations.wpt-reset-display-both span{display:inline-block!important}
.woolements-product-table .wpt-variation-body a.reset_variations.wpt-variation-reset-button{display:none;position:relative;float:none;align-self:flex-start;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;margin:10px 0 0;padding:8px 14px;gap:7px;border-width:1px;border-style:solid;border-color:var(--wpt-reset-border,#ffd1dc);border-radius:10px;background:var(--wpt-reset-bg,#fff4f6);color:var(--wpt-reset-color,#dc3558);font-family:inherit;font-size:11px;font-weight:750;text-align:center;text-decoration:none!important;line-height:1.4;white-space:nowrap;cursor:pointer;box-shadow:0 2px 6px rgba(220,53,88,.06);transform:none;transition:all .22s cubic-bezier(.16,1,.3,1)}.woolements-product-table .wpt-variation-body a.reset_variations.wpt-variation-reset-button.is-active{display:inline-flex!important}.woolements-product-table .wpt-variation-body a.reset_variations.wpt-variation-reset-button:hover,.woolements-product-table .wpt-variation-body a.reset_variations.wpt-variation-reset-button:focus{border-color:var(--wpt-reset-hover-border,var(--wpt-reset-border,#f88ca4));background:var(--wpt-reset-hover-bg,#ffe5ec);color:var(--wpt-reset-hover-color,var(--wpt-reset-color,#b81d3e));box-shadow:0 4px 14px rgba(220,53,88,.16);transform:translateY(-1px);outline:0}.woolements-product-table .wpt-variation-body a.reset_variations.wpt-variation-reset-button:hover i,.woolements-product-table .wpt-variation-body a.reset_variations.wpt-variation-reset-button:hover svg{transform:rotate(-45deg)}.woolements-product-table .wpt-variation-body a.wpt-variation-reset-button i,.woolements-product-table .wpt-variation-body a.wpt-variation-reset-button svg{display:block!important;visibility:visible!important;opacity:1!important;flex:0 0 auto;fill:currentColor!important;pointer-events:none;transition:transform .22s ease}.woolements-product-table .wpt-variation-body a.wpt-variation-reset-button.wpt-reset-display-icon span{display:none!important}.woolements-product-table .wpt-variation-body a.wpt-variation-reset-button.wpt-reset-display-text i,.woolements-product-table .wpt-variation-body a.wpt-variation-reset-button.wpt-reset-display-text svg{display:none!important}.woolements-product-table .wpt-variation-body a.wpt-variation-reset-button.wpt-reset-display-text span,.woolements-product-table .wpt-variation-body a.wpt-variation-reset-button.wpt-reset-display-both span{display:inline-block!important}

/* Adaptive variation picker: chips for short lists, searchable menu for long lists */
.woolements-product-table .wpt-variation-body select.wpt-native-variation-select{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.wpt-variation-picker{position:relative;width:100%;direction:rtl}.wpt-variation-picker .wpt-picker-options{display:grid;gap:8px}.wpt-variation-picker.is-chips .wpt-picker-options{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}.wpt-picker-option{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:44px;padding:8px 12px;border:1px solid #e2e4ec;border-radius:12px;background:#fff;color:#353848;font-family:inherit;font-size:11px;font-weight:700;line-height:1.45;text-align:right;cursor:pointer;box-shadow:0 2px 6px rgba(18,22,45,.03);transition:all .2s cubic-bezier(.16,1,.3,1)}.wpt-picker-option:hover:not(:disabled){border-color:color-mix(in srgb,var(--wpt-accent,#474bff) 45%,#d1d5e4);background:color-mix(in srgb,var(--wpt-accent,#474bff) 5%,#fff);color:var(--wpt-accent,#474bff);box-shadow:0 6px 16px color-mix(in srgb,var(--wpt-accent,#474bff) 12%,rgba(18,22,45,.06));transform:translateY(-2px)}.wpt-picker-option.is-selected{border-color:var(--wpt-accent,#474bff);background:color-mix(in srgb,var(--wpt-accent,#474bff) 9%,#fff);color:var(--wpt-accent,#474bff);box-shadow:0 0 0 3px color-mix(in srgb,var(--wpt-accent,#474bff) 14%,transparent),0 6px 18px color-mix(in srgb,var(--wpt-accent,#474bff) 16%,rgba(18,22,45,.06));transform:translateY(-1px)}.wpt-picker-option:disabled,.wpt-picker-option.is-disabled{opacity:.4;cursor:not-allowed;filter:grayscale(.75);background:#f6f7fa;border-style:dashed}.wpt-picker-option strong{overflow:hidden;flex:1;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.wpt-picker-check{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border:1.5px solid #d4d7e3;border-radius:7px;background:#fff;color:transparent;font-size:9px;box-shadow:inset 0 1px 3px rgba(0,0,0,.04);transition:all .2s cubic-bezier(.16,1,.3,1)}.wpt-picker-check i,.wpt-picker-check svg{display:block;fill:currentColor;line-height:1;transform:scale(.7);transition:transform .2s cubic-bezier(.16,1,.3,1)}.wpt-picker-option.is-selected .wpt-picker-check{border-color:var(--wpt-accent,#474bff);background:var(--wpt-accent,#474bff);color:#fff;box-shadow:0 2px 8px color-mix(in srgb,var(--wpt-accent,#474bff) 35%,transparent)}.wpt-picker-option.is-selected .wpt-picker-check i,.wpt-picker-option.is-selected .wpt-picker-check svg{transform:scale(1)}.woolements-product-table.wpt-picker-type-radio .wpt-picker-check{border-radius:999px}.woolements-product-table.wpt-picker-type-radio .wpt-picker-option.is-selected .wpt-picker-check{box-shadow:inset 0 0 0 4px #fff,0 2px 8px color-mix(in srgb,var(--wpt-accent,#474bff) 35%,transparent)}.wpt-picker-trigger{display:flex;align-items:center;gap:11px;width:100%;min-height:50px;padding:8px 14px;border:1.5px solid #dfe2ec;border-radius:13px;background:#fafbfc;color:#282b3a;font-family:inherit;font-size:12px;font-weight:750;text-align:right;cursor:pointer;box-shadow:0 2px 6px rgba(18,22,45,.03);transition:all .2s cubic-bezier(.16,1,.3,1)}.wpt-picker-trigger:hover,.wpt-variation-picker.is-open .wpt-picker-trigger{border-color:var(--wpt-accent,#474bff);background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--wpt-accent,#474bff) 12%,transparent),0 6px 18px rgba(18,22,45,.06)}.wpt-picker-trigger strong{flex:1;overflow:hidden;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.wpt-picker-trigger>i:last-child{color:#9699a7;font-size:10px;transition:transform .22s cubic-bezier(.16,1,.3,1)}.wpt-variation-picker.is-open .wpt-picker-trigger>i:last-child{transform:rotate(180deg);color:var(--wpt-accent,#474bff)}.wpt-picker-trigger-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:color-mix(in srgb,var(--wpt-accent,#474bff) 9%,#fff);color:var(--wpt-accent,#474bff);font-size:12px;transition:all .2s}.wpt-variation-picker.has-value .wpt-picker-trigger-icon{background:var(--wpt-accent,#474bff);color:#fff}.wpt-picker-panel{position:absolute;z-index:40;top:calc(100% + 8px);right:0;left:0;display:none;padding:10px;border:1px solid #dfe2eb;border-radius:16px;background:#fff;box-shadow:0 20px 50px rgba(18,22,50,.18),0 2px 6px rgba(18,22,50,.04);backdrop-filter:blur(8px)}.wpt-variation-picker.is-open .wpt-picker-panel{display:block;animation:wpt-picker-in .2s cubic-bezier(.16,1,.3,1)}.wpt-variation-picker.is-menu .wpt-picker-options{grid-template-columns:repeat(2,minmax(0,1fr));max-height:250px;overflow:auto;padding:3px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--wpt-accent,#474bff) 25%,#ddd) transparent}.wpt-picker-search{display:flex;align-items:center;gap:9px;height:42px;margin-bottom:9px;padding:0 12px;border:1px solid #e2e4ed;border-radius:11px;background:#f7f8fb;color:#9598a5;transition:all .2s}.wpt-picker-search:focus-within{border-color:var(--wpt-accent,#474bff);background:#fff;box-shadow:0 0 0 3px color-mix(in srgb,var(--wpt-accent,#474bff) 10%,transparent)}.wpt-picker-search input{width:100%!important;height:38px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;color:#282b3a!important;font-family:inherit!important;font-size:11px!important;font-weight:600!important;box-shadow:none!important}.wpt-picker-search i{font-size:11px}@keyframes wpt-picker-in{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:560px){.wpt-variation-picker.is-chips .wpt-picker-options,.wpt-variation-picker.is-menu .wpt-picker-options{grid-template-columns:1fr}.wpt-picker-panel{position:relative;top:auto;margin-top:8px;box-shadow:0 8px 24px rgba(18,22,50,.1)}.wpt-variation-picker.is-menu .wpt-picker-options{max-height:215px}}
.woolements-product-table.wpt-picker-type-radio .wpt-picker-check{border-radius:999px}.woolements-product-table.wpt-picker-type-radio .wpt-picker-option.is-selected .wpt-picker-check{box-shadow:inset 0 0 0 4px #fff}.woolements-product-table .wpt-picker-check i,.woolements-product-table .wpt-picker-check svg{display:block;fill:currentColor;line-height:1}
.wpt-attribute-empty,.wpt-editor-only-hint{display:none!important}body.elementor-editor-active .wpt-attribute-empty,body.elementor-editor-active .wpt-editor-only-hint,body.elementor-editor-preview .wpt-attribute-empty,body.elementor-editor-preview .wpt-editor-only-hint,.elementor-editor-active .wpt-attribute-empty,.elementor-editor-active .wpt-editor-only-hint{width:100%;display:flex!important;align-items:center;gap:12px;padding:14px 16px;border:1px dashed rgba(105,91,245,.32);border-radius:16px;background:linear-gradient(135deg,#fff,#f7f6ff);color:#6f7288;box-sizing:border-box}.wpt-attribute-empty>span{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:13px;background:#edeaff;color:var(--wpt-accent);box-shadow:0 10px 24px rgba(105,91,245,.13)}.wpt-attribute-empty strong{display:block;color:#1f2540;font-size:12px}.wpt-attribute-empty small{display:block;margin-top:3px;color:#8b90a8;font-size:11px;line-height:1.8}
.wpt-attribute-loading{width:100%;min-height:88px;display:flex;align-items:center;justify-content:center;gap:42px;padding:18px;border:1px solid rgba(105,91,245,.14);border-radius:18px;background:radial-gradient(circle at 70% 20%,rgba(105,91,245,.1),transparent 38%),linear-gradient(135deg,#fff,#f8f8ff);color:#454a67;font-size:12px;font-weight:800}.wpt-attribute-loading .spinner{--d:24.6px;width:4.5px;height:4.5px;border-radius:50%;color:var(--wpt-accent,#474bff);box-shadow:calc(1*var(--d)) calc(0*var(--d)) 0 0,calc(.707*var(--d)) calc(.707*var(--d)) 0 1.1px,calc(0*var(--d)) calc(1*var(--d)) 0 2.2px,calc(-.707*var(--d)) calc(.707*var(--d)) 0 3.4px,calc(-1*var(--d)) calc(0*var(--d)) 0 4.5px,calc(-.707*var(--d)) calc(-.707*var(--d)) 0 5.6px,calc(0*var(--d)) calc(-1*var(--d)) 0 6.7px;animation:spinner-a90wxe 1s infinite steps(8)}@keyframes spinner-a90wxe{100%{transform:rotate(1turn)}}
.wpt-filter-sticky{position:sticky;top:0;z-index:5;margin:-18px -22px 14px;padding:18px 22px 10px;background:inherit;border-bottom:1px solid rgba(226,228,238,.82);box-shadow:0 12px 24px rgba(20,22,45,.05)}.wpt-filter-scroll{max-height:min(56dvh,620px);overflow-y:auto;overflow-x:hidden;padding-inline-end:4px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--wpt-accent) 35%,#d8dbe8) transparent}.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filters{display:flex!important;flex-direction:column;overflow:hidden}.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filter-sticky{flex:0 0 auto}.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filter-scroll{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto}.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filter-close{position:relative!important;top:auto!important;float:left;z-index:6}.woolements-product-table.wpt-filter-mode-dropdown .wpt-filters.is-open{overflow:hidden}.woolements-product-table.wpt-filter-mode-popup .wpt-filter-scroll{max-height:calc(78dvh - 110px)}@media(max-width:560px){.wpt-filter-sticky{margin:-18px -22px 12px}.woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filter-scroll{max-height:none}}
.woolements-product-table .wpt-attribute-filters fieldset{position:relative;overflow:hidden;border-color:rgba(221,224,236,.9);box-shadow:0 10px 28px rgba(22,25,50,.045)}.woolements-product-table .wpt-attribute-filters legend{padding:0 8px;color:#252944}.woolements-product-table .wpt-attribute-filters label{cursor:pointer}.woolements-product-table .wpt-attribute-filters label span{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:7px 11px;border:1px solid transparent;border-radius:11px;background:linear-gradient(135deg,#f5f6fb,#fff);color:#555b73;font-weight:750;box-shadow:0 8px 18px rgba(20,24,55,.045);transition:color .18s,background .18s,border-color .18s,box-shadow .18s,transform .18s}.woolements-product-table .wpt-attribute-filters label span:before{content:"";width:7px;height:7px;border-radius:999px;background:#ccd0df;box-shadow:0 0 0 3px rgba(204,208,223,.22);transition:.18s}.woolements-product-table .wpt-attribute-filters label:hover span{transform:translateY(-1px);border-color:color-mix(in srgb,var(--wpt-accent) 30%,#dde0ec);color:var(--wpt-accent);box-shadow:0 12px 26px rgba(105,91,245,.12)}.woolements-product-table .wpt-attribute-filters input:checked+span{border-color:color-mix(in srgb,var(--wpt-accent) 72%,#fff);background:linear-gradient(135deg,var(--wpt-accent),color-mix(in srgb,var(--wpt-accent) 74%,#8f84ff));color:#fff;box-shadow:0 14px 30px rgba(105,91,245,.24)}.woolements-product-table .wpt-attribute-filters input:checked+span:before{background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.24)}.woolements-product-table.wpt-filter-option-soft .wpt-attribute-filters label span{border-radius:999px;background:#f3f4ff;color:#5550c9;box-shadow:none}.woolements-product-table.wpt-filter-option-soft .wpt-attribute-filters input:checked+span{background:#2f35ff;color:#fff}.woolements-product-table.wpt-filter-option-card .wpt-attribute-filters fieldset div{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));width:100%}.woolements-product-table.wpt-filter-option-card .wpt-attribute-filters label span{justify-content:flex-start;min-height:48px;padding:11px 13px;border-color:#e4e7f0;border-radius:15px;background:#fff;text-align:right}.woolements-product-table.wpt-filter-option-card .wpt-attribute-filters input:checked+span{background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--wpt-accent) 10%,#fff));color:var(--wpt-accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--wpt-accent) 45%,transparent),0 14px 30px rgba(105,91,245,.13)}.woolements-product-table.wpt-filter-option-card .wpt-attribute-filters input:checked+span:before{background:var(--wpt-accent)}.woolements-product-table.wpt-filter-option-line .wpt-attribute-filters fieldset{box-shadow:none;background:transparent}.woolements-product-table.wpt-filter-option-line .wpt-attribute-filters label span{padding:6px 3px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none}.woolements-product-table.wpt-filter-option-line .wpt-attribute-filters label span:before{width:5px;height:5px}.woolements-product-table.wpt-filter-option-line .wpt-attribute-filters label:hover span,.woolements-product-table.wpt-filter-option-line .wpt-attribute-filters input:checked+span{background:transparent!important;color:var(--wpt-accent);border-bottom-color:var(--wpt-accent);box-shadow:none;transform:none}
.woolements-product-table .wpt-reset,.woolements-product-table .wpt-filter-close{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;font-family:inherit;line-height:1;white-space:nowrap;transition:color .18s,background-color .18s,border-color .18s,box-shadow .18s,transform .18s}.woolements-product-table .wpt-reset{min-height:34px;padding:7px 11px;border-radius:10px;background:#fff3f6;color:#d93f60;font-size:11px;font-weight:800}.woolements-product-table .wpt-reset:hover{background:#ffe6ec;color:#c82f52;transform:translateY(-1px)}.woolements-product-table .wpt-filter-close{min-width:34px;min-height:34px}.woolements-product-table .wpt-reset svg,.woolements-product-table .wpt-filter-close svg{display:block;fill:currentColor}.woolements-product-table .wpt-reset-display-icon .wpt-reset-text,.woolements-product-table .wpt-filter-close-display-icon span{display:none!important}.woolements-product-table .wpt-reset-display-text .wpt-reset-icon,.woolements-product-table .wpt-reset-display-text i,.woolements-product-table .wpt-reset-display-text svg,.woolements-product-table .wpt-filter-close-display-text i,.woolements-product-table .wpt-filter-close-display-text svg{display:none!important}.woolements-product-table .wpt-reset-display-text span,.woolements-product-table .wpt-reset-display-both span,.woolements-product-table .wpt-filter-close-display-text span,.woolements-product-table .wpt-filter-close-display-both span{display:inline-block!important}
.woolements-product-table .wpt-filter-head .wpt-reset{display:none}.woolements-product-table.has-active-filters .wpt-filter-head .wpt-reset{display:inline-flex}
.woolements-product-table .wpt-filter-grid label{position:relative;padding-top:11px}.woolements-product-table .wpt-filter-grid label>span{position:relative;z-index:1;display:inline-flex;align-items:center;margin:0 12px -8px 0;padding:0 8px;background:linear-gradient(180deg,#fff 45%,rgba(255,255,255,.88));color:#252944;font-size:12px;font-weight:850;line-height:1.6}.woolements-product-table .wpt-filter-grid select{height:50px!important;padding:0 16px!important;border:1px solid #e1e4ef!important;border-radius:15px!important;background:linear-gradient(135deg,#fff,#f8f9ff)!important;color:#151a2d!important;font-family:inherit!important;font-size:14px!important;font-weight:750!important;box-shadow:0 12px 28px rgba(24,29,65,.07)!important;outline:0!important;transition:border-color .2s,box-shadow .2s,background-color .2s,transform .2s;appearance:auto}.woolements-product-table .wpt-filter-grid select:hover{border-color:color-mix(in srgb,var(--wpt-accent) 35%,#dfe2ee)!important;box-shadow:0 16px 34px rgba(105,91,245,.12)!important}.woolements-product-table .wpt-filter-grid select:focus{border-color:var(--wpt-accent)!important;background:#fff!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--wpt-accent) 12%,transparent),0 16px 34px rgba(105,91,245,.12)!important}.woolements-product-table .wpt-attribute-empty.is-hint{border-style:solid;background:linear-gradient(135deg,#f9fbff,#fff);opacity:.92}

/* Quantity button size must follow Elementor control in table and variation popup. */
.woolements-product-table .wpt-quantity{grid-template-columns:var(--wpt-qty-button-size,28px) minmax(24px,1fr) var(--wpt-qty-button-size,28px)!important}.woolements-product-table .wpt-quantity button,.woolements-product-table .wpt-variation-body .quantity button{width:var(--wpt-qty-button-size,28px)!important;min-width:var(--wpt-qty-button-size,28px)!important;max-width:var(--wpt-qty-button-size,28px)!important;height:min(var(--wpt-qty-button-size,28px),calc(100% - 4px))!important;min-height:0!important}.woolements-product-table .wpt-variation-body .quantity{grid-template-columns:var(--wpt-qty-button-size,28px) minmax(24px,1fr) var(--wpt-qty-button-size,28px)!important}
@media(max-width:767px){.woolements-product-table .wpt-product>.wpt-quantity-cell .wpt-quantity{grid-template-columns:min(var(--wpt-qty-button-size,28px),32px) minmax(22px,1fr) min(var(--wpt-qty-button-size,28px),32px)!important}.woolements-product-table .wpt-product>.wpt-quantity-cell .wpt-quantity button{width:min(var(--wpt-qty-button-size,28px),32px)!important;min-width:min(var(--wpt-qty-button-size,28px),32px)!important;max-width:min(var(--wpt-qty-button-size,28px),32px)!important;height:min(var(--wpt-qty-button-size,28px),38px)!important}}
.woolements-product-table .wpt-product.is-unavailable>.wpt-actions{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(42px,.85fr)!important}.woolements-product-table .wpt-product.is-unavailable .wpt-cart,.woolements-product-table .wpt-product.is-unavailable .wpt-quick-buy{pointer-events:none!important}
.wpt-picker-option.is-unavailable{position:relative}.wpt-picker-option.is-unavailable:not([style*="display: none"]){opacity:.45;filter:grayscale(.45);cursor:not-allowed}.wpt-picker-option.is-unavailable strong:after{content:"ناموجود";display:inline-flex;margin-inline-start:6px;padding:1px 6px;border-radius:999px;background:#fff0f3;color:#d84063;font-size:8px;font-weight:850;vertical-align:middle}
@media(max-width:767px){.woolements-product-table .wpt-product.is-unavailable>.wpt-actions{grid-template-columns:1.2fr 1fr 52px!important;justify-content:stretch!important}.woolements-product-table .wpt-product.is-unavailable>.wpt-actions .wpt-button span{display:inline!important}}
@media(max-width:480px){.woolements-product-table .wpt-product.is-unavailable>.wpt-actions{grid-template-columns:1.15fr 1fr 48px!important}.woolements-product-table .wpt-product.is-unavailable>.wpt-actions .wpt-button span{display:none!important}}

/* Soft action feedback for add-to-cart and quick-buy buttons. */
.woolements-product-table .wpt-cart,
.woolements-product-table .wpt-quick-buy,
.woolements-product-table .single_add_to_cart_button,
.woolements-product-table .wpt-variation-quick-buy{position:relative;overflow:hidden}
.woolements-product-table .wpt-action-loading{pointer-events:none;cursor:wait!important;isolation:isolate;animation:wpt-action-soft-pulse 1.05s ease-in-out infinite}
.woolements-product-table .wpt-action-loading>i,
.woolements-product-table .wpt-action-loading>svg,
.woolements-product-table .wpt-action-loading>span,
.woolements-product-table .wpt-action-loading>strong{position:relative;z-index:1;opacity:.46;transform:scale(.98);transition:opacity .2s ease,transform .2s ease}
.woolements-product-table .wpt-action-loading:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.18) 38%,rgba(255,255,255,.42) 50%,rgba(255,255,255,.18) 62%,transparent 100%);transform:translateX(110%);animation:wpt-action-sheen 1.15s ease-in-out infinite;pointer-events:none}
.woolements-product-table .wpt-action-loading:after{content:"";position:absolute;z-index:2;top:50%;left:14px;width:16px;height:16px;margin-top:-8px;border-radius:50%;border:2px solid currentColor;border-inline-start-color:transparent;opacity:.92;animation:wpt-action-spin .68s linear infinite}
[dir="rtl"] .woolements-product-table .wpt-action-loading:after,
.rtl .woolements-product-table .wpt-action-loading:after{left:auto;right:14px}
@keyframes wpt-action-spin{to{transform:rotate(360deg)}}
@keyframes wpt-action-sheen{0%{transform:translateX(110%)}100%{transform:translateX(-110%)}}
@keyframes wpt-action-soft-pulse{0%,100%{filter:saturate(1)}50%{filter:saturate(1.12) brightness(1.03)}}

/* ==========================================================================
   Woolements Smart Product Table - Advanced Architecture Overhaul Styles
   ========================================================================== */

/* 1. Modular Grid & Dynamic Columns */
.woolements-product-table .wpt-column-head,
.woolements-product-table .wpt-product {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  box-sizing: border-box !important;
  transition: all 0.22s ease !important;
}

.wpt-head-col, .wpt-col {
  box-sizing: border-box;
}

.wpt-head-select, .wpt-col-select {
  flex: 0 0 38px !important;
  width: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.wpt-head-image, .wpt-product-media {
  flex: 0 0 88px !important;
  width: 88px !important;
}

.wpt-head-sku, .wpt-col-sku {
  flex: 0 0 90px !important;
  width: 90px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.wpt-head-title, .wpt-product-info {
  flex: 1 1 220px !important;
  min-width: 0 !important;
  text-align: right !important;
}

.wpt-card-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.woolements-product-table:not(.wpt-mobile-cards) .wpt-card-meta-badges .wpt-card-only {
  display: none !important;
}

.wpt-head-rating, .wpt-col-rating {
  flex: 0 0 100px !important;
  width: 100px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.wpt-head-price, .wpt-price-cell {
  flex: 0 0 145px !important;
  width: 145px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.wpt-head-stock, .wpt-col-stock {
  flex: 0 0 95px !important;
  width: 95px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.wpt-head-quantity, .wpt-quantity-cell {
  flex: 0 0 120px !important;
  width: 120px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.wpt-head-actions, .wpt-actions {
  flex: 0 0 240px;
  min-width: 180px;
}

.wpt-head-actions.wpt-dual-actions,
.wpt-actions.wpt-dual-actions,
.woolements-product-table.wpt-has-dual-actions .wpt-head-actions,
.woolements-product-table.wpt-has-dual-actions .wpt-actions,
.woolements-product-table.wpt-has-cart-and-quick .wpt-head-actions,
.woolements-product-table.wpt-has-cart-and-quick .wpt-actions {
  flex: 0 0 350px !important;
  width: 350px !important;
  min-width: 320px !important;
}

.woolements-product-table.wpt-has-dual-actions.wpt-has-wishlist .wpt-head-actions,
.woolements-product-table.wpt-has-dual-actions.wpt-has-wishlist .wpt-actions,
.woolements-product-table.wpt-has-cart-and-quick.wpt-has-wishlist .wpt-head-actions,
.woolements-product-table.wpt-has-cart-and-quick.wpt-has-wishlist .wpt-actions {
  flex: 0 0 380px !important;
  width: 380px !important;
  min-width: 350px !important;
}

/* 2. Interactive Sortable Column Headers */
.wpt-sortable-col {
  cursor: pointer !important;
  user-select: none !important;
  transition: color 0.2s ease, opacity 0.2s ease !important;
}
.wpt-sortable-col:hover {
  color: var(--wpt-accent, #6d5dfc) !important;
}
.wpt-sortable-col i {
  font-size: 11px !important;
  margin-inline-start: 4px !important;
  opacity: 0.45 !important;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease !important;
}
.wpt-sortable-col:hover i {
  opacity: 0.9 !important;
}
.wpt-sortable-col.is-sorted-asc i {
  opacity: 1 !important;
  color: var(--wpt-accent, #6d5dfc) !important;
  transform: rotate(180deg) !important;
}
.wpt-sortable-col.is-sorted-desc i {
  opacity: 1 !important;
  color: var(--wpt-accent, #6d5dfc) !important;
  transform: rotate(0deg) !important;
}

/* 3. Toolbar Sort Dropdown */
.wpt-toolbar {
  position: relative;
  z-index: 30;
}

.wpt-shell.has-sort-open {
  overflow: visible !important;
}

.wpt-sort-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

/* Visually hide native select while keeping it fully accessible and in form flow */
.wpt-sort-wrap .wpt-sort-select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
}

/* Custom Modern Combobox Component */
.wpt-custom-sort {
  position: relative;
  display: inline-block;
  user-select: none;
}

.wpt-sort-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  height: 42px !important;
  padding: 0 14px !important;
  background-color: #ffffff;
  border: 1px solid var(--wpt-line, #e2e8f0);
  border-radius: 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
  white-space: nowrap;
}

.wpt-sort-trigger:hover {
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 45%, #cbd5e1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  transform: translateY(-1px);
}

.wpt-custom-sort.is-open .wpt-sort-trigger,
.wpt-sort-trigger:focus-visible {
  border-color: var(--wpt-accent, #6d5dfc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 16%, transparent), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.wpt-sort-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 10%, #f8fafc);
  color: var(--wpt-accent, #6d5dfc);
  font-size: 12px;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.wpt-sort-trigger:hover .wpt-sort-trigger-icon {
  transform: scale(1.06);
  background-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 16%, #f1f5f9);
}

.wpt-sort-trigger-label {
  font-size: 12.5px;
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.2px;
}

.wpt-sort-trigger-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #94a3b8;
  margin-inline-start: 4px;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  flex-shrink: 0;
}

.wpt-custom-sort.is-open .wpt-sort-trigger-arrow {
  transform: rotate(180deg);
  color: var(--wpt-accent, #6d5dfc);
}

/* Glassmorphic Floating Dropdown Menu */
.wpt-sort-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  transform-origin: top right;
}

[dir="ltr"] .wpt-sort-dropdown {
  right: auto;
  left: 0;
  transform-origin: top left;
}

.wpt-custom-sort.is-open .wpt-sort-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wpt-sort-dropdown-inner {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 7px;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.16), 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

.wpt-sort-dropdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.wpt-sort-dropdown-header i {
  font-size: 11px;
  color: var(--wpt-accent, #6d5dfc);
}

.wpt-sort-options {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.wpt-sort-option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 8px 10px !important;
  background: transparent;
  border: none !important;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  transition: all 0.18s ease;
  box-sizing: border-box;
  outline: none;
}

[dir="ltr"] .wpt-sort-option {
  text-align: left;
}

.wpt-sort-opt-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wpt-sort-opt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.wpt-sort-opt-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.wpt-sort-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--wpt-accent, #6d5dfc);
  font-size: 11px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.wpt-sort-option:hover {
  background-color: #f1f5f9;
}

.wpt-sort-option:hover .wpt-sort-opt-label {
  color: #0f172a;
  font-weight: 600;
}

.wpt-sort-option:hover .wpt-sort-opt-icon {
  background-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 14%, #ffffff);
  color: var(--wpt-accent, #6d5dfc);
  transform: scale(1.08);
}

.wpt-sort-option.is-active {
  background-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 10%, #ffffff);
}

.wpt-sort-option.is-active .wpt-sort-opt-label {
  color: var(--wpt-accent, #6d5dfc);
  font-weight: 700;
}

.wpt-sort-option.is-active .wpt-sort-opt-icon {
  background-color: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, transparent);
}

.wpt-sort-option.is-active .wpt-sort-check {
  opacity: 1;
  transform: scale(1);
}

/* 4. Quick Filter Pills */
.wpt-quick-pills {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding: 14px 24px 14px !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}

.wpt-quick-pills::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.wpt-quick-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px;
  background-color: #ffffff;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--wpt-line, #e2e8f0);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.wpt-pill-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.wpt-pill-icon i {
  font-size: 11px;
  line-height: 1;
}

.wpt-pill-icon svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.wpt-pill-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1;
}

.wpt-quick-pill:hover {
  background-color: #ffffff;
  color: #0f172a;
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, #cbd5e1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transform: translateY(-1.5px);
}

.wpt-quick-pill:hover .wpt-pill-icon {
  background-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 12%, #f1f5f9);
  color: var(--wpt-accent, #6d5dfc);
  transform: scale(1.08);
}

.wpt-quick-pill.is-active {
  background: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
  border-color: var(--wpt-accent, #6d5dfc);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 36%, transparent), 0 2px 4px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.wpt-quick-pill.is-active .wpt-pill-label {
  color: #ffffff;
  font-weight: 700;
}

.wpt-quick-pill.is-active .wpt-pill-icon {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wpt-quick-pill:focus-visible {
  border-color: var(--wpt-accent, #6d5dfc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 18%, transparent);
}

/* ==========================================================================
   4.1. Category Horizontal Scroll Bar & Subcategories
   ========================================================================== */
.wpt-category-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  position: relative;
  border-bottom: 1px solid var(--wpt-line, #f1f5f9);
}

.wpt-category-scroll {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
  padding: 4px 2px !important;
  scroll-behavior: smooth;
}

.wpt-category-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.wpt-category-bar-wrapper[data-drag-scroll="yes"] .wpt-category-scroll {
  cursor: grab;
}

.wpt-category-bar-wrapper[data-drag-scroll="yes"] .wpt-category-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}

.wpt-category-bar-wrapper[data-drag-scroll="yes"] .wpt-category-scroll.is-dragging * {
  pointer-events: none;
}

.wpt-cat-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px;
  background-color: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--wpt-line, #e2e8f0);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  flex: 0 0 auto !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.wpt-cat-thumb {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  flex-shrink: 0;
}

.wpt-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wpt-cat-thumb-letter {
  font-weight: 700;
  font-size: 11px;
  color: #475569;
  text-transform: uppercase;
}

.wpt-cat-thumb--icon i,
.wpt-cat-thumb--icon svg {
  font-size: 11px;
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.wpt-cat-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.wpt-cat-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
  margin-inline-start: 2px;
}

.wpt-cat-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #94a3b8;
  margin-inline-start: 2px;
  transition: transform 0.22s ease;
}

.wpt-cat-pill:hover {
  background-color: #ffffff;
  color: #0f172a;
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, #cbd5e1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transform: translateY(-1.5px);
}

.wpt-cat-pill:hover .wpt-cat-thumb {
  background-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 12%, #f1f5f9);
  color: var(--wpt-accent, #6d5dfc);
}

.wpt-cat-pill:hover .wpt-cat-count {
  background-color: #e2e8f0;
  color: #334155;
}

.wpt-cat-pill.is-active {
  background-color: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
  border-color: var(--wpt-accent, #6d5dfc);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 36%, transparent), 0 2px 4px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.wpt-cat-pill.is-active .wpt-cat-thumb {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.wpt-cat-pill.is-active .wpt-cat-thumb-letter {
  color: #ffffff;
}

.wpt-cat-pill.is-active .wpt-cat-name {
  color: #ffffff;
  font-weight: 700;
}

.wpt-cat-pill.is-active .wpt-cat-count {
  background-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.wpt-cat-pill.is-active .wpt-cat-caret {
  color: rgba(255, 255, 255, 0.85);
  transform: rotate(180deg);
}

/* نوار ناوبری بالا (Breadcrumb و دکمه بازگشت) */
.wpt-cat-nav-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 8px 6px;
  border-bottom: 1px dashed var(--wpt-line, #e2e8f0);
  box-sizing: border-box;
}

.wpt-cat-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  flex-shrink: 0;
  font-family: inherit;
  box-sizing: border-box;
  text-decoration: none;
  line-height: 1;
}

.wpt-cat-back-btn.wpt-cat-back-display-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
}

.wpt-cat-back-btn .wpt-cat-back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wpt-cat-back-btn:hover {
  background-color: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
  border-color: var(--wpt-accent, #6d5dfc);
  box-shadow: 0 2px 6px rgba(109, 93, 252, 0.25);
}

.wpt-cat-back-btn i,
.wpt-cat-back-btn svg {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.wpt-cat-back-btn:hover i,
.wpt-cat-back-btn:hover svg {
  transform: translateX(2px);
}

.wpt-cat-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
}

.wpt-cat-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.wpt-crumb-item {
  background: none;
  border: none;
  padding: 2px 6px;
  border-radius: 6px;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.2;
}

.wpt-crumb-item:hover {
  color: var(--wpt-accent, #6d5dfc);
  background-color: rgba(109, 93, 252, 0.08);
}

.wpt-crumb-item.is-current {
  color: var(--wpt-accent, #6d5dfc);
  font-weight: 700;
  cursor: default;
}

.wpt-crumb-sep {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  color: #94a3b8;
}

/* نوار زیرمجموعه‌ها */
.wpt-subcategory-bar-wrap {
  width: 100%;
  padding: 8px 14px;
  background-color: #f8fafc;
  border-radius: 12px;
  border: 1px dashed var(--wpt-line, #e2e8f0);
  box-sizing: border-box;
}

.wpt-cat-sub {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.wpt-cat-pill--sub-all,
.wpt-cat-pill--sub {
  height: 34px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  background-color: #ffffff;
  border-color: #cbd5e1;
}

.wpt-cat-pill--sub-all .wpt-cat-thumb,
.wpt-cat-pill--sub .wpt-cat-thumb {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  font-size: 9.5px;
}

/* Preset Styles */
.wpt-cat-style-card .wpt-cat-pill {
  border-radius: 12px;
  padding: 8px 14px !important;
  height: 48px !important;
}

.wpt-cat-style-card .wpt-cat-thumb {
  border-radius: 8px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
}

.wpt-cat-style-glass .wpt-cat-pill {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.wpt-cat-style-glass .wpt-cat-pill.is-active {
  background: var(--wpt-accent, #6d5dfc);
  backdrop-filter: none;
}

.wpt-cat-style-minimal .wpt-cat-pill {
  background: transparent;
  border-width: 1.5px;
  box-shadow: none;
}

.wpt-cat-style-minimal .wpt-cat-pill:hover {
  background: #f8fafc;
  box-shadow: none;
}

.wpt-cat-style-soft .wpt-cat-pill {
  background: #f1f5f9;
  border-color: transparent;
  box-shadow: none;
}

.wpt-cat-style-soft .wpt-cat-pill:hover {
  background: #e2e8f0;
}

/* Dark Theme Support for Category Bar */
[data-theme="dark"] .wpt-category-bar-wrapper,
.dark .wpt-category-bar-wrapper {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .wpt-cat-pill,
.dark .wpt-cat-pill {
  background-color: #1a1e36;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}
[data-theme="dark"] .wpt-cat-pill:hover,
.dark .wpt-cat-pill:hover {
  background-color: #232847;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .wpt-cat-thumb,
.dark .wpt-cat-thumb {
  background-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}
[data-theme="dark"] .wpt-cat-thumb-letter,
.dark .wpt-cat-thumb-letter {
  color: #cbd5e1;
}
[data-theme="dark"] .wpt-cat-count,
.dark .wpt-cat-count {
  background-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}
[data-theme="dark"] .wpt-cat-nav-header,
.dark .wpt-cat-nav-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .wpt-cat-back-btn,
.dark .wpt-cat-back-btn {
  background-color: #1e2238;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .wpt-crumb-item,
.dark .wpt-crumb-item {
  color: #94a3b8;
}
[data-theme="dark"] .wpt-subcategory-bar-wrap,
.dark .wpt-subcategory-bar-wrap {
  background-color: #13172b;
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .wpt-cat-pill--sub-all,
[data-theme="dark"] .wpt-cat-pill--sub,
.dark .wpt-cat-pill--sub-all,
.dark .wpt-cat-pill--sub {
  background-color: #1a1e36;
  border-color: rgba(255, 255, 255, 0.15);
}

/* 7. SKU Badge with Click-to-copy */
.wpt-sku-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 750;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.wpt-sku-badge:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.wpt-sku-badge.is-copied {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #059669 !important;
}

/* 8. Star Rating Box */
.wpt-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 750;
  color: #f59e0b;
}
.wpt-rating-box i {
  font-size: 11px;
}

/* 9. Stock Status Badges */
.wpt-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.wpt-stock-badge.is-instock {
  background: #ecfdf5;
  color: #059669;
}
.wpt-stock-badge.is-lowstock {
  background: #fffbeb;
  color: #d97706;
}
.wpt-stock-badge.is-outofstock {
  background: #fef2f2;
  color: #dc2626;
}

/* 10. Discount Percentage Badge */
.wpt-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  border-radius: 999px;
  margin-inline-start: 6px;
  line-height: 1.3;
}

/* 11. Quick View Lightbox Modal & Floating Action Button */
.wpt-product-media {
  position: relative;
}

.wpt-product-media .wpt-quick-view-btn {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  color: #334155;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-sizing: border-box;
}

.wpt-product-media .wpt-quick-view-btn:hover {
  background: var(--wpt-accent, #6d5dfc);
  color: #fff;
  border-color: var(--wpt-accent, #6d5dfc);
  box-shadow: 0 6px 20px rgba(109, 93, 252, 0.35);
  transform: translate(-50%, -50%) scale(1.08);
}

.wpt-product-media .wpt-quick-view-btn .wpt-qv-btn-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.wpt-product-media .wpt-quick-view-btn:has(.wpt-qv-btn-text) {
  width: auto;
  min-width: 36px;
  padding: 0 12px;
  border-radius: 999px;
}

/* Positions on Product Media */
.wpt-product-media .wpt-quick-view-btn.wpt-qv-pos-center,
.wpt-qv-pos-center .wpt-product-media .wpt-quick-view-btn {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.wpt-product-media .wpt-quick-view-btn.wpt-qv-pos-bottom_center,
.wpt-qv-pos-bottom_center .wpt-product-media .wpt-quick-view-btn {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}
.wpt-product-media .wpt-quick-view-btn.wpt-qv-pos-bottom_left,
.wpt-qv-pos-bottom_left .wpt-product-media .wpt-quick-view-btn {
  bottom: 8px;
  left: 8px;
  transform: none;
}
.wpt-product-media .wpt-quick-view-btn.wpt-qv-pos-bottom_right,
.wpt-qv-pos-bottom_right .wpt-product-media .wpt-quick-view-btn {
  bottom: 8px;
  right: 8px;
  transform: none;
}
.wpt-product-media .wpt-quick-view-btn.wpt-qv-pos-top_left,
.wpt-qv-pos-top_left .wpt-product-media .wpt-quick-view-btn {
  top: 8px;
  left: 8px;
  transform: none;
}
.wpt-product-media .wpt-quick-view-btn.wpt-qv-pos-top_right,
.wpt-qv-pos-top_right .wpt-product-media .wpt-quick-view-btn {
  top: 8px;
  right: 8px;
  transform: none;
}

/* Desktop Hover Modes */
@media (min-width: 769px) {
  .woolements-product-table.wpt-qv-disp-hover .wpt-product-media .wpt-quick-view-btn,
  .wpt-product-media .wpt-quick-view-btn.wpt-qv-disp-hover {
    opacity: 0;
    pointer-events: none;
  }
  .woolements-product-table.wpt-qv-disp-hover .wpt-product:hover .wpt-product-media .wpt-quick-view-btn,
  .woolements-product-table.wpt-qv-disp-hover .wpt-product-media:hover .wpt-quick-view-btn,
  .wpt-product-media:hover .wpt-quick-view-btn.wpt-qv-disp-hover {
    opacity: 1;
    pointer-events: auto;
  }
  .wpt-qv-disp-hover.wpt-qv-pos-center .wpt-product-media .wpt-quick-view-btn,
  .wpt-product-media .wpt-quick-view-btn.wpt-qv-disp-hover.wpt-qv-pos-center {
    transform: translate(-50%, -50%) scale(0.85);
  }
  .wpt-qv-disp-hover.wpt-qv-pos-center .wpt-product:hover .wpt-product-media .wpt-quick-view-btn,
  .wpt-qv-disp-hover.wpt-qv-pos-center .wpt-product-media:hover .wpt-quick-view-btn,
  .wpt-product-media:hover .wpt-quick-view-btn.wpt-qv-disp-hover.wpt-qv-pos-center {
    transform: translate(-50%, -50%) scale(1);
  }
  .wpt-qv-disp-hover.wpt-qv-pos-center .wpt-product-media .wpt-quick-view-btn:hover {
    transform: translate(-50%, -50%) scale(1.08) !important;
  }

  .woolements-product-table.wpt-qv-disp-always .wpt-product-media .wpt-quick-view-btn,
  .wpt-product-media .wpt-quick-view-btn.wpt-qv-disp-always {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Strictly Hide Quick View Button When Disabled */
.woolements-product-table.wpt-qv-disabled .wpt-quick-view-btn,
.woolements-product-table.wpt-qv-disabled .wpt-product-media .wpt-quick-view-btn,
.woolements-product-table.wpt-qv-disabled .wpt-quick-view-modal {
  display: none !important;
}

/* Quick View Lightbox Modal Structure */
.wpt-quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
  font-family: inherit;
}
.wpt-quick-view-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.wpt-qv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  cursor: pointer;
}
.wpt-qv-dialog {
  position: relative;
  z-index: 2;
  width: 900px;
  max-width: calc(100% - 36px);
  max-height: calc(100vh - 48px);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 32px 70px -10px rgba(15, 23, 42, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.wpt-quick-view-modal.is-open .wpt-qv-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Close Button */
.wpt-qv-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.wpt-qv-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg) scale(1.08);
}

/* Modal Body & Loading States */
.wpt-qv-body {
  overflow-y: auto;
  padding: 32px;
  max-height: calc(100vh - 80px);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.wpt-qv-body::-webkit-scrollbar {
  width: 6px;
}
.wpt-qv-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}
.wpt-qv-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  color: #64748b;
  font-size: 14px;
}
.wpt-qv-loading .wpt-loader-ring {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(109, 93, 252, 0.15);
  border-top-color: var(--wpt-accent, #6d5dfc);
  border-radius: 50%;
  animation: wpt-spin 0.8s linear infinite;
}
.wpt-qv-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: #ef4444;
  font-size: 14px;
  background: #fef2f2;
  border-radius: 16px;
}

/* Inner Layout Grid: Media + Summary */
.wpt-qv-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.25fr;
  gap: 32px;
  direction: rtl;
  text-align: right;
  align-items: start;
}

/* Media Column & Gallery */
.wpt-qv-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wpt-qv-main-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.wpt-qv-current-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease, transform 0.3s ease;
}
.wpt-qv-main-image:hover .wpt-qv-current-img {
  transform: scale(1.03);
}
.wpt-qv-main-image .wpt-qv-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}
.wpt-qv-main-image .wpt-discount-pill {
  background: #ef4444;
  color: #ffffff;
}
.wpt-qv-main-image .wpt-sale-pill {
  background: #f59e0b;
  color: #ffffff;
}

.wpt-qv-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}
.wpt-qv-thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 12px;
  border: 2px solid transparent;
  padding: 0;
  background: #f8fafc;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  transition: all 0.22s ease;
}
.wpt-qv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wpt-qv-thumb.is-active,
.wpt-qv-thumb:hover {
  opacity: 1;
  border-color: var(--wpt-accent, #6d5dfc);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(109, 93, 252, 0.25);
}

/* Summary Column */
.wpt-qv-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wpt-qv-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  color: #0f172a;
  margin: 0;
}
.wpt-qv-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.wpt-qv-title a:hover {
  color: var(--wpt-accent, #6d5dfc);
}

/* Meta Row: Rating + SKU */
.wpt-qv-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 4px;
}
.wpt-qv-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
}
.wpt-qv-rating .wpt-stars {
  display: inline-flex;
  gap: 2px;
}
.wpt-qv-rating .wpt-stars i {
  font-size: 12px;
  color: #f59e0b;
}
.wpt-qv-summary .wpt-sku-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wpt-qv-summary .wpt-sku-badge:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Price Styling */
.wpt-qv-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--wpt-accent, #6d5dfc);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
.wpt-qv-price del {
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
}
.wpt-qv-price ins {
  text-decoration: none;
  color: inherit;
}

/* Excerpt / Short Description */
.wpt-qv-excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 0;
}
.wpt-qv-excerpt p {
  margin: 0;
}

/* Stock Status */
.wpt-qv-stock-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.wpt-qv-stock-status .wpt-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}
.wpt-qv-stock-status .wpt-stock-badge.in-stock {
  background: #ecfdf5;
  color: #059669;
}
.wpt-qv-stock-status .wpt-stock-badge.out-of-stock {
  background: #fef2f2;
  color: #dc2626;
}
.wpt-qv-stock-status .wpt-stock-qty {
  color: #64748b;
  font-size: 12px;
}

/* Actions Row & Stepper & Buttons */
.wpt-qv-actions {
  margin-top: 6px;
}
.wpt-qv-simple-cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.wpt-qv-simple-cart .wpt-quantity {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2px 4px;
}
.wpt-qv-simple-cart .wpt-quantity button {
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.wpt-qv-simple-cart .wpt-quantity button:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.wpt-qv-simple-cart .wpt-quantity input {
  width: 44px;
  height: 34px;
  text-align: center;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  -moz-appearance: textfield;
}
.wpt-qv-simple-cart .wpt-quantity input::-webkit-outer-spin-button,
.wpt-qv-simple-cart .wpt-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wpt-qv-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wpt-accent, #6d5dfc);
  color: #ffffff !important;
  border: none;
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(109, 93, 252, 0.28);
}
.wpt-qv-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(109, 93, 252, 0.4);
  filter: brightness(1.05);
}
.wpt-qv-view-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #334155 !important;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
}
.wpt-qv-view-detail:hover {
  background: #e2e8f0;
  color: #0f172a !important;
  transform: translateY(-1px);
}
.wpt-unavailable-notice {
  padding: 12px 18px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 12px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Mobile & Tablet Modal Responsiveness */
@media (max-width: 768px) {
  .wpt-qv-dialog {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    max-height: 85vh !important;
    position: fixed;
    bottom: 0;
    margin: 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .wpt-quick-view-modal.is-open .wpt-qv-dialog {
    transform: translateY(0);
  }
  .wpt-qv-body {
    padding: 20px 16px 28px;
    max-height: calc(85vh - 50px);
  }
  .wpt-qv-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wpt-qv-main-image {
    max-height: 280px;
  }
  .wpt-qv-simple-cart {
    flex-direction: column;
    align-items: stretch;
  }
  .wpt-qv-simple-cart .wpt-quantity {
    justify-content: center;
    width: 100%;
  }
  .wpt-qv-add-btn,
  .wpt-qv-view-detail {
    justify-content: center;
    width: 100%;
  }
}

/* Dark Luxury Preset Modal Styling */
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-dialog {
  background: #141721;
  border: 1px solid #23293a;
  box-shadow: 0 32px 70px -10px rgba(0, 0, 0, 0.7);
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-close {
  background: #1e2230;
  border-color: #2e354a;
  color: #94a3b8;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-close:hover {
  background: #3e1b1e;
  color: #f87171;
  border-color: #7f1d1d;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-main-image {
  background: #1a1e2b;
  border-color: #282f44;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-thumb {
  background: #1a1e2b;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-title {
  color: #f8fafc;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-sku-badge {
  background: #1e2230;
  color: #cbd5e1;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-excerpt {
  color: #94a3b8;
  border-top-color: #242938;
  border-bottom-color: #242938;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-quantity {
  background: #1a1e2b;
  border-color: #282f44;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-quantity button {
  color: #cbd5e1;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-quantity button:hover {
  background: #242938;
  color: #ffffff;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-quantity input {
  color: #ffffff;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-view-detail {
  background: #1e2230;
  color: #cbd5e1 !important;
  border-color: #2e354a;
}
.wpt-preset-dark_luxury .wpt-quick-view-modal .wpt-qv-view-detail:hover {
  background: #282f44;
  color: #ffffff !important;
}

/* 12. Toast Notification System */
.wpt-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  direction: rtl;
}
.wpt-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #1e293b;
  color: #fff;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.wpt-toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.wpt-toast-success i {
  color: #10b981;
}
.wpt-toast-error i {
  color: #ef4444;
}

/* 13. Skeleton Loader */
.wpt-skeleton-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  width: 100%;
}
.wpt-skeleton-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
}
.wpt-sk-cell {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: wpt-shimmer 1.5s infinite;
  border-radius: 8px;
}
.wpt-sk-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.wpt-sk-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
}
.wpt-sk-title {
  flex: 1;
  height: 20px;
}
.wpt-sk-price {
  width: 100px;
  height: 20px;
}
.wpt-sk-qty {
  width: 90px;
  height: 32px;
  border-radius: 10px;
}
.wpt-sk-btn {
  width: 110px;
  height: 36px;
  border-radius: 12px;
}
@keyframes wpt-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 14. Load More Button & Finished State */
.wpt-load-more-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 12px;
  gap: 12px;
  box-sizing: border-box;
}
.wpt-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--wpt-line, #e2e8f0);
  color: var(--wpt-text, #1e293b);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  position: relative;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
}
.wpt-load-more-btn:hover {
  border-color: var(--wpt-accent, #6d5dfc);
  color: var(--wpt-accent, #6d5dfc);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 15%, transparent);
}
.wpt-load-more-btn .wpt-load-more-icon,
.wpt-load-more-btn .wpt-load-more-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.wpt-load-more-btn .wpt-load-more-icon i,
.wpt-load-more-btn .wpt-load-more-icon svg {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.wpt-load-more-btn.wpt-icon-align-right .wpt-load-more-icon {
  order: 1;
}
.wpt-load-more-btn.wpt-icon-align-right .wpt-load-more-text {
  order: 2;
}
.wpt-load-more-btn.wpt-icon-align-left .wpt-load-more-icon {
  order: 2;
}
.wpt-load-more-btn.wpt-icon-align-left .wpt-load-more-text {
  order: 1;
}
.wpt-load-more-btn .wpt-btn-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-top-color: transparent !important;
  border-radius: 50%;
  animation: wpt-action-spin 0.75s linear infinite;
  flex-shrink: 0;
}
.wpt-load-more-btn.is-loading {
  pointer-events: none;
  cursor: wait;
}
.wpt-load-more-btn.is-loading .wpt-load-more-icon i,
.wpt-load-more-btn.is-loading .wpt-load-more-icon svg {
  animation: wpt-action-spin 0.75s linear infinite;
}
.wpt-load-more-btn.is-loading:not(:has(.wpt-load-more-icon i)):not(:has(.wpt-load-more-icon svg)) .wpt-btn-spinner {
  display: inline-block;
}

/* Finished Message */
.wpt-load-more-finished {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--wpt-card, #f8fafc);
  border: 1px dashed var(--wpt-line, #cbd5e1);
  color: var(--wpt-muted, #64748b);
  font-size: 13px;
  font-weight: 700;
  box-sizing: border-box;
  animation: wptFadeIn 0.3s ease-out;
}
.wpt-load-more-finished .wpt-finished-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wpt-load-more-finished .wpt-finished-icon i,
.wpt-load-more-finished .wpt-finished-icon svg {
  font-size: 15px;
  width: 15px;
  height: 15px;
}
@keyframes wptFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 15. The 5 Visual Presets */
/* A. Digikala Preset */
.wpt-preset-digikala .wpt-shell {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.wpt-preset-digikala .wpt-discount-badge {
  background: #ef394e;
}
.wpt-preset-digikala .wpt-quick-pill.is-active {
  background: #ef394e;
  border-color: #ef394e;
}

/* B. Floating Cards Preset */
.wpt-preset-cards .wpt-results {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 14px !important;
  background: #f8fafc !important;
}
.wpt-preset-cards .wpt-product {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
  margin-bottom: 0 !important;
}
.wpt-preset-cards .wpt-product:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

/* C. Dark Luxury Preset */
.wpt-preset-dark_luxury .wpt-shell {
  background: #0f1117 !important;
  border-color: #1e2230 !important;
  color: #f1f5f9 !important;
}
.wpt-preset-dark_luxury .wpt-header {
  background: linear-gradient(120deg, #161822, #0f1117 75%) !important;
}
.wpt-preset-dark_luxury .wpt-header h2 {
  color: #f8fafc !important;
}
.wpt-preset-dark_luxury .wpt-header p {
  color: #94a3b8 !important;
}
.wpt-preset-dark_luxury .wpt-product {
  background: #161822 !important;
  border-color: #1e2230 !important;
  color: #f1f5f9 !important;
}
.wpt-preset-dark_luxury .wpt-product:hover {
  background: #1b1e2c !important;
}
.wpt-preset-dark_luxury .wpt-column-head {
  background: #11131c !important;
  border-color: #1e2230 !important;
  color: #94a3b8 !important;
}
.wpt-preset-dark_luxury .wpt-product-info h3 a {
  color: #f8fafc !important;
}
.wpt-preset-dark_luxury .wpt-quick-pill {
  background: #161822 !important;
  border-color: #1e2230 !important;
  color: #cbd5e1 !important;
}
.wpt-preset-dark_luxury .wpt-quick-pill .wpt-pill-icon {
  background: #1e2230 !important;
  color: #94a3b8 !important;
}
.wpt-preset-dark_luxury .wpt-quick-pill:hover {
  background: #1c202d !important;
  border-color: #2e354a !important;
  color: #f8fafc !important;
}
.wpt-preset-dark_luxury .wpt-quick-pill.is-active {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #0f1117 !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4) !important;
}
.wpt-preset-dark_luxury .wpt-quick-pill.is-active .wpt-pill-icon {
  background: rgba(15, 17, 23, 0.25) !important;
  color: #0f1117 !important;
}
.wpt-preset-dark_luxury .wpt-quick-pill.is-active .wpt-pill-label {
  color: #0f1117 !important;
}
.wpt-preset-dark_luxury .wpt-sku-badge {
  background: #1e2230 !important;
  border-color: #2a2f42 !important;
  color: #cbd5e1 !important;
}
.wpt-preset-dark_luxury .wpt-sort-trigger {
  background-color: #161822 !important;
  border-color: #1e2230 !important;
  color: #cbd5e1 !important;
}
.wpt-preset-dark_luxury .wpt-sort-trigger:hover {
  background-color: #1a1e2b !important;
  border-color: #2e354a !important;
  color: #f8fafc !important;
}
.wpt-preset-dark_luxury .wpt-sort-trigger-icon {
  background-color: rgba(109, 93, 252, 0.15) !important;
  color: #8b7ef8 !important;
}
.wpt-preset-dark_luxury .wpt-sort-dropdown-inner {
  background: rgba(22, 24, 34, 0.98) !important;
  border-color: #2a2f42 !important;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6) !important;
}
.wpt-preset-dark_luxury .wpt-sort-dropdown-header {
  border-bottom-color: #242938 !important;
  color: #64748b !important;
}
.wpt-preset-dark_luxury .wpt-sort-opt-icon {
  background: #1e2230 !important;
  color: #94a3b8 !important;
}
.wpt-preset-dark_luxury .wpt-sort-opt-label {
  color: #cbd5e1 !important;
}
.wpt-preset-dark_luxury .wpt-sort-option:hover {
  background-color: #1e2230 !important;
}
.wpt-preset-dark_luxury .wpt-sort-option:hover .wpt-sort-opt-label {
  color: #f8fafc !important;
}
.wpt-preset-dark_luxury .wpt-sort-option.is-active {
  background-color: rgba(109, 93, 252, 0.18) !important;
}
.wpt-preset-dark_luxury .wpt-sort-option.is-active .wpt-sort-opt-label {
  color: #a59bfb !important;
}
.wpt-preset-dark_luxury .wpt-search {
  background: #161822 !important;
  border-color: #1e2230 !important;
}
.wpt-preset-dark_luxury .wpt-search input {
  color: #f8fafc !important;
}
.wpt-preset-dark_luxury .wpt-footer {
  background: #0f1117 !important;
}
.wpt-preset-dark_luxury .wpt-qv-dialog {
  background: #161822 !important;
  color: #f1f5f9 !important;
}
.wpt-preset-dark_luxury .wpt-qv-title {
  color: #f8fafc !important;
}

/* D. Glassmorphism Preset */
.wpt-preset-glassmorphism .wpt-shell {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 16px 45px rgba(31, 38, 135, 0.08) !important;
}
.wpt-preset-glassmorphism .wpt-product {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(8px) !important;
}
.wpt-preset-glassmorphism .wpt-product:hover {
  background: rgba(255, 255, 255, 0.85) !important;
}

/* E. Minimal Flat Preset */
.wpt-preset-minimal .wpt-shell {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.wpt-preset-minimal .wpt-product {
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 12px 6px !important;
}
.wpt-preset-minimal .wpt-header {
  background: transparent !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* 16. Zebra Striping */
.wpt-zebra .wpt-product:nth-child(even) {
  background: #f8fafc !important;
}
.wpt-preset-dark_luxury.wpt-zebra .wpt-product:nth-child(even) {
  background: #1a1d2b !important;
}

/* ==========================================================================
   17. Flagship Responsive Architecture (Tablet & Mobile Ecosystem)
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. TABLET SPECIFIC LAYOUT (@media min-width: 768px and max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 1. Mobile Cards Mode on Tablet: Luxury 2-Column Responsive Grid */
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-results {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-column-head {
    display: none !important;
  }

  /* Flagship 2D CSS Grid Product Card for Tablets */
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product {
    display: grid !important;
    grid-template-areas:
      "media info info"
      "price price quantity"
      "actions actions actions" !important;
    grid-template-columns: 114px minmax(0, 1fr) auto !important;
    row-gap: 12px !important;
    column-gap: 16px !important;
    align-items: center !important;
    padding: 16px !important;
    margin-bottom: 0 !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid var(--wpt-line, #e2e8f0) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02) !important;
    position: relative !important;
    direction: rtl !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product:hover,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.1), 0 6px 14px -2px rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
  }

  /* When Quantity is Hidden (View Mode, Variable or Out of Stock) */
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.product-type-variable,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.product-type-variable,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.is-unavailable,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.is-unavailable {
    grid-template-areas:
      "media info info"
      "price price price"
      "actions actions actions" !important;
    grid-template-columns: 114px minmax(0, 1fr) auto !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-mobile-cards .wpt-product > .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product > .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.product-type-variable > .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.product-type-variable > .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.is-unavailable > .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.is-unavailable > .wpt-quantity-cell {
    display: none !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-mobile-cards .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.product-type-variable > .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.product-type-variable > .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.is-unavailable > .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.is-unavailable > .wpt-price-cell {
    width: 100% !important;
  }

  /* Floating Bulk Select Checkbox on Tablet Cards */
  .woolements-product-table.wpt-mobile-cards .wpt-col-select,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-select {
    position: absolute !important;
    top: 12px !important;
    inset-inline-start: 12px !important;
    z-index: 6 !important;
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-col-select .wpt-checkbox-wrap,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-select .wpt-checkbox-wrap {
    width: 26px !important;
    height: 26px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-radius: 8px !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-col-select .wpt-checkbox-wrap:hover,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-select .wpt-checkbox-wrap:hover {
    border-color: var(--wpt-accent, #6366f1) !important;
    transform: scale(1.05) !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-col-select input:checked + .wpt-checkmark,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-select input:checked + .wpt-checkmark {
    background: var(--wpt-accent, #6366f1) !important;
    border-color: var(--wpt-accent, #6366f1) !important;
  }

  /* Product Media on Tablet */
  .woolements-product-table.wpt-mobile-cards .wpt-product-media,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media {
    grid-area: media !important;
    width: 114px !important;
    height: 114px !important;
    min-width: 114px !important;
    max-width: 114px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: start !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    float: none !important;
    margin: 0 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product:hover .wpt-product-media,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product:hover .wpt-product-media {
    border-color: rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-media a.wpt-img-link,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media a.wpt-img-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-media img,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    display: block !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product:hover .wpt-product-media img,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product:hover .wpt-product-media img {
    transform: scale(1.06) !important;
  }
  /* Floating Discount Badge on Tablet */
  .woolements-product-table.wpt-mobile-cards .wpt-product-media .wpt-sale-badge,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media .wpt-sale-badge {
    position: absolute !important;
    top: 6px !important;
    inset-inline-end: 6px !important;
    z-index: 3 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 3px 7px !important;
    border-radius: 7px !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3) !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
  }
  /* Quick View Button on Media on Tablet */
  .woolements-product-table.wpt-qv-enabled.wpt-mobile-cards .wpt-product-media .wpt-quick-view-btn,
  .woolements-product-table.wpt-qv-enabled:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media .wpt-quick-view-btn {
    display: inline-flex !important;
    position: absolute !important;
    z-index: 4 !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    color: #1e293b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 0.9 !important;
  }
  .woolements-product-table.wpt-qv-enabled.wpt-mobile-cards .wpt-product-media .wpt-quick-view-btn:hover,
  .woolements-product-table.wpt-qv-enabled:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media .wpt-quick-view-btn:hover {
    opacity: 1 !important;
    transform: scale(1.08) !important;
    background: #ffffff !important;
    color: var(--wpt-accent, #6366f1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18) !important;
  }

  /* Product Information on Tablet */
  .woolements-product-table.wpt-mobile-cards .wpt-product-info,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info {
    grid-area: info !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 7px !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-info h3,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-info h3 a,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 a {
    display: inline !important;
    color: #0f172a !important;
    text-decoration: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: inherit !important;
    transition: color 0.2s ease !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-info h3 a:hover,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 a:hover {
    color: var(--wpt-accent, #6366f1) !important;
  }

  /* Taxonomies (Categories & Brands) on Tablet */
  .woolements-product-table.wpt-mobile-cards .wpt-taxonomies,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-taxonomies {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: flex-start !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-category,
  .woolements-product-table.wpt-mobile-cards .wpt-product-brand,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-category,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-brand {
    display: inline-flex !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    max-width: 100% !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-category i,
  .woolements-product-table.wpt-mobile-cards .wpt-product-brand i,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-category i,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-brand i {
    margin-top: 3px !important;
    flex-shrink: 0 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-category:hover,
  .woolements-product-table.wpt-mobile-cards .wpt-product-brand:hover,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-category:hover,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-brand:hover {
    background: #e2e8f0 !important;
    color: #334155 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-category a,
  .woolements-product-table.wpt-mobile-cards .wpt-product-brand a,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-category a,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-brand a {
    color: inherit !important;
    text-decoration: none !important;
  }

  /* Meta Badges on Tablet Card */
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px !important;
    margin-top: 2px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-mini-rating,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-mini-rating {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    color: #854d0e !important;
    background: #fefce8 !important;
    border: 1px solid #fef08a !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    line-height: 1.25 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-mini-rating .wpt-stars,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-mini-rating .wpt-stars {
    color: #f59e0b !important;
    font-size: 11px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-mini-rating small,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-mini-rating small {
    color: #713f12 !important;
    font-weight: 700 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-stock-count,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-stock-count {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #15803d !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    line-height: 1.25 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-stock-count.is-low,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-stock-count.is-low {
    color: #b45309 !important;
    background: #fffbeb !important;
    border-color: #fde68a !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-stock-count.is-out,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-stock-count.is-out {
    color: #b91c1c !important;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-sku-badge,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-sku-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-sku-badge:hover,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-sku-badge:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-card-only,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-card-only {
    display: inline-flex !important;
  }

  /* Hide unmapped table columns on tablet cards */
  .woolements-product-table.wpt-mobile-cards .wpt-col-sku,
  .woolements-product-table.wpt-mobile-cards .wpt-col-rating,
  .woolements-product-table.wpt-mobile-cards .wpt-col-stock,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-sku,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-rating,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-stock {
    display: none !important;
  }

  /* Price Cell on Tablet */
  .woolements-product-table.wpt-mobile-cards .wpt-price-cell,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price-cell {
    grid-area: price !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 0 0 0 !important;
    margin: 0 !important;
    border-top: 1px solid var(--wpt-line, #f1f5f9) !important;
    border-inline: none !important;
    border-bottom: none !important;
    min-height: auto !important;
    box-sizing: border-box !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-price,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-price ins,
  .woolements-product-table.wpt-mobile-cards .wpt-price > .woocommerce-Price-amount,
  .woolements-product-table.wpt-mobile-cards .wpt-price .wpt-price-val,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price ins,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price > .woocommerce-Price-amount,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price .wpt-price-val {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    line-height: 1.25 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-price del,
  .woolements-product-table.wpt-mobile-cards .wpt-price .wpt-old-price,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price del,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price .wpt-old-price {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    line-height: 1.25 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-price-cell .wpt-unavailable,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price-cell .wpt-unavailable {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
    border: 1px solid #fee2e2 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
  }

  /* Quantity Cell on Tablet */
  .woolements-product-table.wpt-mobile-cards .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity-cell {
    grid-area: quantity !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 12px 0 0 0 !important;
    margin: 0 !important;
    border-top: 1px solid var(--wpt-line, #f1f5f9) !important;
    border-inline: none !important;
    border-bottom: none !important;
    box-sizing: border-box !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity {
    height: 38px !important;
    min-width: 104px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 2px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity:focus-within,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity:focus-within {
    border-color: var(--wpt-accent, #6366f1) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity button,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity button {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 8px !important;
    border: none !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.15s ease !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity button:hover:not(:disabled),
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity button:hover:not(:disabled) {
    background: var(--wpt-accent, #6366f1) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3) !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity button:disabled,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity button:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity input,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity input {
    width: 36px !important;
    height: 30px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
  }

  /* Action Buttons on Tablet (Table mode only) */
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions {
    grid-area: actions !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: stretch !important;
    margin-top: 2px !important;
    box-sizing: border-box !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 12px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button:hover,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button span,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button span {
    display: inline;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button i,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button svg,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button i,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button svg {
    font-size: 13px !important;
    flex-shrink: 0 !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-wishlist,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-actions .wpt-wishlist:hover,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist:hover {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #e11d48 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15) !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-actions .wpt-wishlist.is-active,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist.is-active {
    background: #ffe4e6 !important;
    border-color: #fda4af !important;
    color: #e11d48 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-actions .wpt-wishlist span,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist span {
    display: none !important;
  }

  /* Dark Theme Support on Tablet Cards */
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-product,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-product,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product {
    background: #181c2e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-product-media,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-product-media,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media {
    background: #1e2238 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-product-info h3 a,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 a,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-product-info h3 a,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 a {
    color: #f1f5f9 !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-price ins,
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-price > .woocommerce-Price-amount,
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-price .wpt-price-val,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price ins,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price > .woocommerce-Price-amount,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price .wpt-price-val,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-price ins,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-price > .woocommerce-Price-amount,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-price .wpt-price-val,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price ins,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price > .woocommerce-Price-amount,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price .wpt-price-val {
    color: #f1f5f9 !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-price-cell,
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-quantity-cell,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price-cell,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity-cell,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-price-cell,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-quantity-cell,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price-cell,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity-cell {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-quantity,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-quantity,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity {
    background: #1e2238 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-quantity button,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity button,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-quantity button,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity button {
    background: #252a45 !important;
    color: #f1f5f9 !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-quantity input,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity input,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-quantity input,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity input {
    color: #f1f5f9 !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-product-category,
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-product-brand,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-category,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-brand,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-product-category,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-product-brand,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-category,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-brand {
    background: #232842 !important;
    color: #94a3b8 !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-actions .wpt-wishlist,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-actions .wpt-wishlist,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist {
    background: #1e2238 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
  }
  [data-theme="dark"] .woolements-product-table.wpt-mobile-cards .wpt-col-select .wpt-checkbox-wrap,
  [data-theme="dark"] .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-select .wpt-checkbox-wrap,
  .dark .woolements-product-table.wpt-mobile-cards .wpt-col-select .wpt-checkbox-wrap,
  .dark .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-select .wpt-checkbox-wrap {
    background: #1e2238 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
  }

  /* 2. Standard Tabular Mode on Tablet (Balanced Proportions) */
  .woolements-product-table:not(.wpt-mobile-cards) .wpt-column-head,
  .woolements-product-table:not(.wpt-mobile-cards) .wpt-product {
    grid-template-columns: 80px minmax(180px, 1.2fr) 140px 105px minmax(260px, 1fr) !important;
    column-gap: 12px !important;
    padding-inline: 16px !important;
  }
  .woolements-product-table:not(.wpt-mobile-cards) .wpt-product-media {
    width: 76px !important;
    height: 76px !important;
    border-radius: 12px !important;
  }
  .woolements-product-table:not(.wpt-mobile-cards) .wpt-product > .wpt-actions {
    gap: 6px !important;
  }
  .woolements-product-table:not(.wpt-mobile-cards) .wpt-product > .wpt-actions .wpt-button {
    font-size: 11px !important;
    min-height: 36px !important;
    padding: 0 6px !important;
  }
  .woolements-product-table:not(.wpt-mobile-cards) .wpt-product > .wpt-actions .wpt-wishlist {
    min-width: 36px !important;
    width: 36px !important;
    padding: 0 !important;
  }
  .woolements-product-table:not(.wpt-mobile-cards) .wpt-product > .wpt-actions .wpt-wishlist span {
    display: none !important;
  }

  /* 3. Quick Filter Pills Carousel on Tablet */
  .woolements-product-table .wpt-quick-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 10px 16px !important;
    gap: 8px !important;
  }
  .woolements-product-table .wpt-quick-pills::-webkit-scrollbar {
    display: none !important;
  }
  .woolements-product-table .wpt-quick-pill {
    flex: 0 0 auto !important;
    height: 36px !important;
    padding: 0 14px !important;
    white-space: nowrap !important;
    font-size: 12.5px !important;
  }
  .woolements-product-table .wpt-category-bar-wrapper {
    padding: 10px 16px !important;
  }
  .woolements-product-table .wpt-cat-pill {
    height: 36px !important;
    padding: 0 14px !important;
    font-size: 12.5px !important;
  }
}

/* --------------------------------------------------------------------------
   B. FLAGSHIP MOBILE SPECIFIC LAYOUT (@media max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* 1. Hide Standard Table Header in Non-Scroll Modes */
  .woolements-product-table:not(.wpt-mobile-scroll) .wpt-column-head {
    display: none !important;
  }

  /* 2. Container Padding in Mobile Card Mode */
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-results,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-results {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px !important;
    background: transparent !important;
  }

  /* 3. Elite Mobile eCommerce Product Card */
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product {
    display: grid !important;
    grid-template-areas:
      "media info"
      "price quantity"
      "actions actions" !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
    row-gap: 12px !important;
    column-gap: 14px !important;
    align-items: center !important;
    padding: 14px 14px 16px 14px !important;
    margin: 0 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid var(--wpt-line, #e2e8f0) !important;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    direction: rtl !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product:active,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product:active {
    transform: scale(0.995) !important;
  }

  /* When Quantity is Hidden (View Mode, Variable or Out of Stock) */
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.product-type-variable,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.is-unavailable,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.product-type-variable,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.is-unavailable {
    grid-template-areas:
      "media info"
      "price price"
      "actions actions" !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.product-type-variable > .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.is-unavailable > .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.product-type-variable > .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.is-unavailable > .wpt-quantity-cell {
    display: none !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-mobile-cards .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.product-type-variable > .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.is-unavailable > .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.product-type-variable > .wpt-price-cell,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.is-unavailable > .wpt-price-cell {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* 4. Product Media & Thumbnail */
  .woolements-product-table.wpt-mobile-cards .wpt-product-media,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media {
    grid-area: media !important;
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: start !important;
    padding: 4px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-media a.wpt-img-link,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media a.wpt-img-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-media img,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    display: block !important;
  }
  /* Floating Discount Badge */
  .woolements-product-table.wpt-mobile-cards .wpt-product-media .wpt-sale-badge,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media .wpt-sale-badge {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    z-index: 2 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  }
  /* Floating Quick View Icon Button (Only when enabled) */
  .woolements-product-table.wpt-qv-enabled.wpt-mobile-cards .wpt-product-media .wpt-quick-view-btn,
  .woolements-product-table.wpt-qv-enabled:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media .wpt-quick-view-btn {
    position: absolute !important;
    bottom: 5px !important;
    left: 5px !important;
    z-index: 4 !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(226, 232, 240, 0.7) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    color: #475569 !important;
    cursor: pointer !important;
    padding: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .woolements-product-table.wpt-qv-disabled .wpt-quick-view-btn,
  .woolements-product-table.wpt-qv-disabled .wpt-product-media .wpt-quick-view-btn {
    display: none !important;
  }

  /* 5. Product Information & Badges */
  .woolements-product-table.wpt-mobile-cards .wpt-product-info,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info {
    grid-area: info !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    align-self: center !important;
    justify-self: stretch !important;
    gap: 5px !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important;
    overflow: visible !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-info h3,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-align: right !important;
    align-self: stretch !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-info h3 a,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 a {
    display: inline !important;
    color: var(--wpt-text, #1e293b) !important;
    text-decoration: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: inherit !important;
  }
  /* Hide unmapped table columns in mobile card mode to prevent CSS Grid auto-placement conflicts */
  .woolements-product-table.wpt-mobile-cards .wpt-col-sku,
  .woolements-product-table.wpt-mobile-cards .wpt-col-rating,
  .woolements-product-table.wpt-mobile-cards .wpt-col-stock,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-sku,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-rating,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-stock {
    display: none !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-taxonomies,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-taxonomies {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-top: 2px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-category,
  .woolements-product-table.wpt-mobile-cards .wpt-product-brand,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-category,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    line-height: 1.2 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 2px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-card-meta-badges .wpt-card-only,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-card-meta-badges .wpt-card-only {
    display: inline-flex !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-mini-rating,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-mini-rating {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    margin-top: 2px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-sku-badge,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-sku-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 1px 6px !important;
    border-radius: 5px !important;
    line-height: 1.2 !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-stock-count,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-stock-count {
    font-size: 10.5px !important;
    color: #059669 !important;
    margin-top: 2px !important;
    display: inline-block !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-stock-count.is-low,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-stock-count.is-low {
    color: #e11d48 !important;
    font-weight: 600 !important;
  }

  /* 6. Checkbox Floating Badge on Mobile Card */
  .woolements-product-table.wpt-mobile-cards .wpt-col-select,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-col-select {
    position: absolute !important;
    top: 10px !important;
    inset-inline-start: 10px !important;
    z-index: 5 !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 7. Price & Quantity Stepper Row */
  .woolements-product-table.wpt-mobile-cards .wpt-price-cell,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price-cell {
    grid-area: price !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 10px !important;
    border-top: 1px dashed var(--wpt-line, #e2e8f0) !important;
    border-inline: none !important;
    min-height: auto !important;
    text-align: right !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-price,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-price {
    align-items: flex-start !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity-cell,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity-cell {
    grid-area: quantity !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 10px !important;
    border-top: 1px dashed var(--wpt-line, #e2e8f0) !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity {
    height: 34px !important;
    min-width: 96px !important;
    border-radius: 9px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity button,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity button {
    width: 30px !important;
    height: 100% !important;
    font-size: 15px !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-quantity input,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-quantity input {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* 8. Action Buttons (Full-Width, Ergonomic & Beautiful for Table in Mobile Cards Mode) */
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions {
    grid-area: actions !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    margin-top: 2px !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 40px;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button span,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button span {
    display: inline;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button i,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button svg,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button i,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button svg {
    font-size: 13.5px;
    flex-shrink: 0 !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-wishlist,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist {
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-wishlist span,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist span {
    display: none !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-wishlist i,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-wishlist svg,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist i,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist svg {
    margin: 0 !important;
    font-size: 15px !important;
  }

  /* 9. Mobile Horizontal Touch Scroll Mode (wpt-mobile-scroll) */
  .woolements-product-table.wpt-mobile-scroll {
    width: 100% !important;
    overflow: hidden !important;
  }
  .woolements-product-table.wpt-mobile-scroll .wpt-results-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    padding-bottom: 8px !important;
  }
  .woolements-product-table.wpt-mobile-scroll .wpt-column-head,
  .woolements-product-table.wpt-mobile-scroll .wpt-product {
    min-width: 760px !important;
    display: grid !important;
  }
  .woolements-product-table.wpt-mobile-scroll .wpt-column-head {
    display: grid !important;
  }

  /* 10. Mobile Compact Stack Mode (wpt-mobile-stack) */
  .woolements-product-table.wpt-mobile-stack .wpt-column-head {
    display: none !important;
  }
  .woolements-product-table.wpt-mobile-stack .wpt-product {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    background: #ffffff !important;
    border: 1px solid var(--wpt-line, #e2e8f0) !important;
  }
  .woolements-product-table.wpt-mobile-stack .wpt-product-media {
    width: 72px !important;
    height: 72px !important;
    border-radius: 10px !important;
    float: right !important;
    margin-left: 12px !important;
  }
  .woolements-product-table.wpt-mobile-stack .wpt-actions {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .woolements-product-table.wpt-mobile-stack .wpt-actions .wpt-button {
    flex: 1 1 0 !important;
    min-height: 38px !important;
    font-size: 11.5px !important;
  }
  .woolements-product-table.wpt-mobile-stack .wpt-actions .wpt-wishlist {
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
  }
  .woolements-product-table.wpt-mobile-stack .wpt-actions .wpt-wishlist span {
    display: none !important;
  }

  /* 11. Mobile Header Styling */
  .woolements-product-table .wpt-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 18px 16px !important;
    text-align: center !important;
  }
  .woolements-product-table .wpt-header > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .woolements-product-table .wpt-header h2 {
    font-size: 20px !important;
    margin: 4px 0 !important;
    line-height: 1.4 !important;
  }
  .woolements-product-table .wpt-header p {
    font-size: 12.5px !important;
  }
  .woolements-product-table .wpt-favorites-toggle {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
  }

  /* 12. Mobile Toolbar Architecture */
  .woolements-product-table .wpt-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 14px !important;
  }
  .woolements-product-table .wpt-search,
  .woolements-product-table .wpt-search-group {
    order: 1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
  }
  .woolements-product-table .wpt-sort-wrap {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .woolements-product-table .wpt-sort-trigger {
    width: 100% !important;
    height: 40px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
    justify-content: space-between !important;
  }
  .woolements-product-table .wpt-count-with-switchers {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    margin-inline-start: auto !important;
    gap: 6px !important;
  }
  .woolements-product-table .wpt-count-with-switchers .wpt-count {
    display: none !important;
  }
  .woolements-product-table .wpt-view-switcher {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 3px !important;
    height: 40px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }
  .woolements-product-table .wpt-view-switch-btn {
    min-width: 34px !important;
    height: 32px !important;
    padding: 0 6px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }
  .woolements-product-table .wpt-toolbar > .wpt-filter-toggle {
    order: 3 !important;
    flex: 1 1 100% !important;
    height: 40px !important;
    border-radius: 11px !important;
    font-size: 12px !important;
    justify-content: center !important;
    padding: 0 12px !important;
  }
  .woolements-product-table .wpt-clear-filters {
    order: 4 !important;
    flex: 1 1 100% !important;
    height: 38px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    justify-content: center !important;
  }
  .woolements-product-table .wpt-count {
    order: 5 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 11.5px !important;
    padding-top: 4px !important;
    margin: 0 !important;
  }

  /* 13. Mobile Touch-Scrollable Filter Pills */
  .woolements-product-table .wpt-quick-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 10px 14px !important;
    gap: 8px !important;
  }
  .woolements-product-table .wpt-quick-pills::-webkit-scrollbar {
    display: none !important;
  }
  .woolements-product-table .wpt-quick-pill {
    flex: 0 0 auto !important;
    height: 36px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  .woolements-product-table .wpt-category-bar-wrapper {
    padding: 8px 12px !important;
  }
  .woolements-product-table .wpt-cat-pill {
    height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
  .woolements-product-table .wpt-subcategory-bar-wrap {
    padding: 6px 10px !important;
    border-radius: 10px !important;
  }
  .woolements-product-table .wpt-cat-pill--sub-all,
  .woolements-product-table .wpt-cat-pill--sub {
    height: 30px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }

  /* 15. Mobile Filter Drawer / Bottom Sheet */
  .woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filters {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: 85dvh !important;
    border-radius: 24px 24px 0 0 !important;
    transform: translateY(105%) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
    padding: 16px 16px 24px !important;
    z-index: 1000001 !important;
  }
  .woolements-product-table:not(.wpt-filter-mode-dropdown) .wpt-filters.is-open {
    transform: translateY(0) !important;
  }
  .woolements-product-table .wpt-filter-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* 16. Mobile Load More & Pagination */
  .woolements-product-table .wpt-load-more-wrap {
    padding: 14px 12px !important;
  }
  .woolements-product-table .wpt-load-more-btn {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    justify-content: center !important;
  }
  .woolements-product-table .wpt-pagination {
    gap: 5px !important;
    padding: 6px !important;
  }
  .woolements-product-table .wpt-pagination button {
    min-width: 34px !important;
    height: 34px !important;
    font-size: 11px !important;
    padding: 0 6px !important;
    border-radius: 9px !important;
  }
  .wpt-qv-container {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   C. SMALL MOBILE MICRO-TUNING (@media max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product-media,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-media {
    width: 84px !important;
    height: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    border-radius: 12px !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product-info,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
    justify-self: stretch !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product-info h3,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 {
    font-size: 13px !important;
    line-height: 1.4 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    align-self: stretch !important;
  }
  .woolements-product-table.wpt-mobile-cards .wpt-product-info h3 a,
  .woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3 a {
    display: inline !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-button,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-button {
    min-height: 38px;
    font-size: 11px;
    padding: 0 6px;
    gap: 4px;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-actions .wpt-wishlist,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-actions .wpt-wishlist {
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
  }
}

/* ==========================================================================
   Woolements Smart Product Table - Action Buttons, View Mode & Granular Prices
   ========================================================================== */

/* 1. View Product Button Base & Hover */
.woolements-product-table .wpt-view-product {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--wpt-view-border, #d1d5db);
  border-radius: 9px;
  background: var(--wpt-view-bg, #f3f4f6);
  color: var(--wpt-view-color, #374151);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.woolements-product-table .wpt-view-product:hover {
  border-color: var(--wpt-view-hover-border, #9ca3af);
  background: var(--wpt-view-hover-bg, #e5e7eb);
  color: var(--wpt-view-hover-color, #111827);
  transform: translateY(-1px);
}

.woolements-product-table .wpt-view-product svg {
  fill: currentColor;
  width: 14px;
  height: 14px;
}

/* View Product Display Modes */
.woolements-product-table.wpt-view-display-icon .wpt-view-product span {
  display: none !important;
}

.woolements-product-table.wpt-view-display-text .wpt-view-product i,
.woolements-product-table.wpt-view-display-text .wpt-view-product svg {
  display: none !important;
}

.woolements-product-table.wpt-view-display-text .wpt-view-product span,
.woolements-product-table.wpt-view-display-both .wpt-view-product span {
  display: inline !important;
}

/* 2. Action Column Flex Harmony & Strict Button / Icon Sizing */
.woolements-product-table .wpt-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
}

.woolements-product-table .wpt-actions .wpt-button {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

/* جلوگیری از دفرمه شدن آیکون‌های SVG و فونت‌اوسم در دکمه‌ها */
.woolements-product-table .wpt-actions .wpt-button i,
.woolements-product-table .wpt-actions .wpt-button svg,
.woolements-product-table .single_add_to_cart_button i,
.woolements-product-table .single_add_to_cart_button svg,
.woolements-product-table .wpt-variation-quick-buy i,
.woolements-product-table .wpt-variation-quick-buy svg,
.wpt-variation-body .single_add_to_cart_button i,
.wpt-variation-body .single_add_to_cart_button svg,
.wpt-variation-body .wpt-variation-quick-buy i,
.wpt-variation-body .wpt-variation-quick-buy svg {
  max-width: 15px;
  max-height: 15px;
  width: 15px;
  height: 15px;
  font-size: 14px;
  line-height: 1 !important;
  flex: 0 0 auto !important;
  object-fit: contain !important;
  pointer-events: none !important;
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
}

.woolements-product-table .wpt-actions .wpt-button span,
.woolements-product-table .single_add_to_cart_button span,
.woolements-product-table .wpt-variation-quick-buy span,
.wpt-variation-body .single_add_to_cart_button span,
.wpt-variation-body .wpt-variation-quick-buy span {
  display: inline-block;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: inherit !important;
}

.woolements-product-table .wpt-actions .wpt-wishlist {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 38px !important;
}

/* هماهنگی و زیبایی دکمه‌های مدال انتخاب تنوع */
.wpt-variation-body .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.wpt-variation-body .quantity {
  flex: 0 0 104px !important;
}

.wpt-variation-body .single_add_to_cart_button {
  flex: 1 1 130px !important;
  min-width: 120px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  border-radius: 11px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}

.wpt-variation-body .wpt-variation-quick-buy {
  flex: 1 1 130px !important;
  min-width: 120px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  border-radius: 11px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}

/* گسترش ستون‌های گرید در صورت فعال بودن دکمه‌های دوتایی */
.woolements-product-table.wpt-has-dual-actions:not(.wpt-mobile-cards) .wpt-column-head,
.woolements-product-table.wpt-has-dual-actions:not(.wpt-mobile-cards) .wpt-product,
.woolements-product-table.wpt-has-cart-and-quick:not(.wpt-mobile-cards) .wpt-column-head,
.woolements-product-table.wpt-has-cart-and-quick:not(.wpt-mobile-cards) .wpt-product {
  grid-template-columns: 105px minmax(220px, 1fr) 160px 120px minmax(340px, 0.95fr) !important;
}

.woolements-product-table:not(.wpt-layout-cards).wpt-has-dual-actions.wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-column-head,
.woolements-product-table:not(.wpt-layout-cards).wpt-has-dual-actions.wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-product,
.woolements-product-table:not(.wpt-layout-cards).wpt-has-cart-and-quick.wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-column-head,
.woolements-product-table:not(.wpt-layout-cards).wpt-has-cart-and-quick.wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-product {
  grid-template-columns: 105px minmax(240px, 1fr) 170px minmax(340px, 0.95fr) !important;
}

@media (max-width: 1150px) and (min-width: 801px) {
  .woolements-product-table:not(.wpt-layout-cards).wpt-has-dual-actions:not(.wpt-mobile-cards) .wpt-column-head,
  .woolements-product-table:not(.wpt-layout-cards).wpt-has-dual-actions:not(.wpt-mobile-cards) .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-has-cart-and-quick:not(.wpt-mobile-cards) .wpt-column-head,
  .woolements-product-table:not(.wpt-layout-cards).wpt-has-cart-and-quick:not(.wpt-mobile-cards) .wpt-product {
    grid-template-columns: 88px minmax(180px, 1fr) 140px 105px minmax(290px, 0.95fr) !important;
  }
}

@media (max-width: 767px) {
  .woolements-product-table .wpt-product > .wpt-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
  }
  .woolements-product-table .wpt-product > .wpt-actions .wpt-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .woolements-product-table .wpt-product > .wpt-actions .wpt-wishlist {
    flex: 0 0 44px !important;
    min-width: 44px !important;
  }
}

/* 3. Hide Quantity on View Mode & Grid Realignment */
.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity .wpt-quantity,
.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity .wpt-head-quantity,
.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity .wpt-quantity-cell,
.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity .wpt-sk-qty {
  display: none !important;
}

.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-column-head,
.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-product,
.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-layout-compact .wpt-column-head,
.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-layout-compact .wpt-product {
  grid-template-columns: 105px minmax(260px, 1fr) 170px minmax(220px, 0.75fr) !important;
}

.woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-product > .wpt-actions {
  grid-column: 4 !important;
}

@media (max-width: 1150px) and (min-width: 801px) {
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-column-head,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-layout-compact .wpt-column-head,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-layout-compact .wpt-product {
    grid-template-columns: 88px minmax(220px, 1fr) 145px minmax(190px, 0.75fr) !important;
  }
}

.woolements-product-table.wpt-view-mode-active .wpt-actions .wpt-view-product,
.woolements-product-table.wpt-catalog-mode .wpt-actions .wpt-view-product {
  flex: 1 1 auto !important;
  min-width: 120px !important;
  max-width: 100% !important;
  justify-content: center !important;
}

@media (max-width: 767px) {
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-layout-compact:not(.wpt-mobile-cards) .wpt-product {
    grid-template-areas: "media info" "price price" "actions actions" !important;
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-cards) .wpt-product > .wpt-price-cell {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    text-align: center !important;
  }
}
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    text-align: center !important;
  }
}

/* 4. Granular Price Architecture */
.woolements-product-table .wpt-price {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--wpt-price-gap, 4px) !important;
  line-height: 1.35 !important;
}

.woolements-product-table .wpt-price-regular {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
}

.woolements-product-table .wpt-price-sale {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--wpt-price-gap, 4px) !important;
}

.woolements-product-table .wpt-price-sale del,
.woolements-product-table .wpt-price del {
  display: inline-block !important;
  opacity: 0.65;
  font-size: 0.85em !important;
  text-decoration: line-through !important;
}

.woolements-product-table .wpt-price-sale ins,
.woolements-product-table .wpt-price ins {
  display: inline-block !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

.woolements-product-table .wpt-price-variable {
  display: inline-flex !important;
  font-weight: 800 !important;
}

/* Variable Product Price - Inline Layout (در یک سطر) */
.woolements-product-table .wpt-price-variable.wpt-var-price-inline,
.woolements-product-table.wpt-var-price-inline .wpt-price-variable {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: var(--wpt-price-gap, 4px) !important;
}

.woolements-product-table .wpt-price-variable.wpt-var-price-inline .wpt-var-price-wrap,
.woolements-product-table.wpt-var-price-inline .wpt-var-price-wrap {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}

/* Variable Product Price - Stacked Layout (زیر هم) */
.woolements-product-table .wpt-price-variable.wpt-var-price-stacked,
.woolements-product-table.wpt-var-price-stacked .wpt-price-variable {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--wpt-var-gap, 6px) !important;
}

.woolements-product-table .wpt-price-variable.wpt-var-price-stacked .wpt-var-price-wrap,
.woolements-product-table.wpt-var-price-stacked .wpt-var-price-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--wpt-var-gap, 6px) !important;
  width: 100% !important;
}

.woolements-product-table .wpt-var-price-from,
.woolements-product-table .wpt-var-price-to,
.woolements-product-table .wpt-var-price-single {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}

.woolements-product-table .wpt-var-sep {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 3px !important;
  opacity: 0.75;
  font-weight: 700 !important;
  font-size: 0.9em !important;
  line-height: 1 !important;
}

.woolements-product-table .wpt-price-variable.wpt-var-price-stacked .wpt-var-sep,
.woolements-product-table.wpt-var-price-stacked .wpt-var-sep {
  margin: 0 !important;
  font-size: 0.82em !important;
  opacity: 0.65;
}

/* Variable Sale in Stacked Mode */
.woolements-product-table .wpt-price-variable.wpt-var-price-stacked .wpt-var-sale-wrap,
.woolements-product-table.wpt-var-price-stacked .wpt-var-sale-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--wpt-var-gap, 5px) !important;
}

.woolements-product-table .wpt-var-min-wrap,
.woolements-product-table .wpt-var-max-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}

.woolements-product-table .wpt-price-variable.wpt-var-price-stacked .wpt-var-min-wrap.wpt-var-sale-wrap,
.woolements-product-table.wpt-var-price-stacked .wpt-var-min-wrap.wpt-var-sale-wrap {
  flex-direction: column !important;
  gap: var(--wpt-var-gap, 4px) !important;
}

.woolements-product-table .wpt-var-del {
  display: inline-block !important;
  opacity: 0.65 !important;
  font-size: 0.85em !important;
  text-decoration: line-through !important;
}

.woolements-product-table .wpt-var-ins {
  display: inline-block !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

.woolements-product-table .wpt-var-prefix {
  display: inline-block !important;
  font-size: 0.88em !important;
  font-weight: 700 !important;
  margin-inline-end: 3px !important;
}

.woolements-product-table .wpt-discount-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1.4 !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  margin-inline-start: 4px !important;
  vertical-align: middle !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.28) !important;
}

/* مخفی‌سازی نشان درصد تخفیف در سلول قیمت فقط زمانی که گزینه خاموش است */
.woolements-product-table.wpt-hide-price-discount .wpt-price .wpt-discount-badge {
  display: none !important;
}

.woolements-product-table .wpt-price .woocommerce-Price-currencySymbol {
  font-size: 0.82em !important;
  margin-inline-start: 2px !important;
  opacity: 0.88;
  font-weight: normal;
}

/* ==========================================================================
   Woolements Smart Product Table - Modern Filters Panel, Tree View & Controls
   ========================================================================== */

/* 1. Filters Container & Modern Sticky Header */
.woolements-product-table .wpt-filters {
  background: var(--wpt-filter-panel-bg, #ffffff);
  border: 1px solid var(--wpt-filter-panel-border, #e2e8f0);
  border-radius: var(--wpt-filter-panel-radius, 20px);
  padding: var(--wpt-filter-panel-pad, 20px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.woolements-product-table .wpt-filter-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--wpt-filter-sticky-bg, inherit);
  border-bottom: 1px solid var(--wpt-filter-header-border, #f1f5f9);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.woolements-product-table .wpt-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.woolements-product-table .wpt-filter-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 850;
  color: #0f172a;
}

.woolements-product-table .wpt-filter-title i,
.woolements-product-table .wpt-filter-title svg {
  color: var(--wpt-accent, #6d5dfc);
  font-size: 15px;
}

.woolements-product-table .wpt-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #ef4444;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  outline: none;
}

.woolements-product-table .wpt-reset:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: translateY(-1px);
}

.woolements-product-table .wpt-filter-scroll {
  max-height: min(65vh, 650px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-inline-end: 4px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 30%, #cbd5e1) transparent;
}

.woolements-product-table .wpt-filter-scroll::-webkit-scrollbar {
  width: 5px;
}

.woolements-product-table .wpt-filter-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.woolements-product-table .wpt-filter-scroll::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 30%, #cbd5e1);
  border-radius: 999px;
}

/* Hidden Synchronized Select Elements */
.woolements-product-table select.wpt-hidden-sync-select {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* 2. Filter Groups & Section Headings */
.woolements-product-table .wpt-filter-group {
  margin-bottom: 20px;
}

.woolements-product-table .wpt-filter-group:last-child {
  margin-bottom: 0;
}

.woolements-product-table .wpt-filter-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
}

.woolements-product-table .wpt-filter-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 12%, #f8fafc);
  color: var(--wpt-accent, #6d5dfc);
  font-size: 11px;
  flex-shrink: 0;
}

.woolements-product-table .wpt-filter-group-title {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.2px;
}

/* 3. Hierarchical Tree View (حالت درختی آکاردئونی) */
.woolements-product-table .wpt-tree-view {
  width: 100%;
  box-sizing: border-box;
}

.woolements-product-table .wpt-tree-list,
.woolements-product-table .wpt-tree-children {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woolements-product-table .wpt-tree-node {
  position: relative;
  list-style: none !important;
  margin: 3px 0;
}

/* Tree Branch Connector Lines (Hierarchical Lines) */
.woolements-product-table .wpt-tree-children {
  position: relative;
  margin-inline-start: 14px !important;
  padding-inline-start: 12px !important;
  border-inline-start: 1.5px dashed var(--wpt-tree-line-color, rgba(203, 213, 225, 0.8));
}

.woolements-product-table .wpt-tree-children > .wpt-tree-node::before {
  content: "";
  position: absolute;
  top: 18px;
  inset-inline-start: -12px;
  width: 10px;
  height: 1.5px;
  border-top: 1.5px dashed var(--wpt-tree-line-color, rgba(203, 213, 225, 0.8));
}

/* Tree Item Row */
.woolements-product-table .wpt-tree-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 11px;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-sizing: border-box;
  position: relative;
}

.woolements-product-table .wpt-tree-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.woolements-product-table .wpt-tree-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.woolements-product-table .wpt-tree-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

/* Count Badge */
.woolements-product-table .wpt-tree-badge,
.woolements-product-table .wpt-card-count,
.woolements-product-table .wpt-chip-count,
.woolements-product-table .wpt-tax-opt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Tree Expand/Collapse Toggle Button */
.woolements-product-table .wpt-tree-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
  outline: none;
}

.woolements-product-table .wpt-tree-toggle:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.woolements-product-table .wpt-tree-node .wpt-toggle-opened {
  display: none;
}

.woolements-product-table .wpt-tree-node .wpt-toggle-closed {
  display: inline-flex;
}

.woolements-product-table .wpt-tree-node.is-expanded > .wpt-tree-item .wpt-toggle-opened {
  display: inline-flex;
}

.woolements-product-table .wpt-tree-node.is-expanded > .wpt-tree-item .wpt-toggle-closed {
  display: none;
}

/* Tree Item Hover */
.woolements-product-table .wpt-tree-item:hover {
  background: #f8fafc;
}

.woolements-product-table .wpt-tree-item:hover .wpt-tree-name {
  color: #0f172a;
}

.woolements-product-table .wpt-tree-item:hover .wpt-tree-icon {
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 15%, #f1f5f9);
  color: var(--wpt-accent, #6d5dfc);
  transform: scale(1.05);
}

/* Tree Item Active Base */
.woolements-product-table .wpt-tree-node.is-active > .wpt-tree-item {
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 10%, #ffffff);
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 25%, transparent);
}

.woolements-product-table .wpt-tree-node.is-active > .wpt-tree-item .wpt-tree-name {
  color: var(--wpt-accent, #6d5dfc);
  font-weight: 750;
}

.woolements-product-table .wpt-tree-node.is-active > .wpt-tree-item .wpt-tree-icon {
  background: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, transparent);
}

.woolements-product-table .wpt-tree-node.is-active > .wpt-tree-item .wpt-tree-badge {
  background: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
}

/* Preset 1: Modern (Glass & Soft Elevation) */
.woolements-product-table .wpt-tree-view.preset-modern .wpt-tree-node.is-active > .wpt-tree-item {
  background: linear-gradient(135deg, color-mix(in srgb, var(--wpt-accent, #6d5dfc) 14%, #fff), color-mix(in srgb, var(--wpt-accent, #6d5dfc) 6%, #fff));
  box-shadow: 0 4px 12px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 16%, transparent);
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 30%, transparent);
}

/* Preset 2: Minimal (Line & Typography Focused) */
.woolements-product-table .wpt-tree-view.preset-minimal .wpt-tree-item {
  padding: 6px 4px;
  border-radius: 6px;
}

.woolements-product-table .wpt-tree-view.preset-minimal .wpt-tree-node.is-active > .wpt-tree-item {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.woolements-product-table .wpt-tree-view.preset-minimal .wpt-tree-node.is-active > .wpt-tree-item .wpt-tree-name {
  color: var(--wpt-accent, #6d5dfc);
  font-weight: 850;
}

/* Preset 3: Soft (Pill & Rounded Pastel) */
.woolements-product-table .wpt-tree-view.preset-soft .wpt-tree-item {
  border-radius: 999px;
  padding: 7px 14px;
}

.woolements-product-table .wpt-tree-view.preset-soft .wpt-tree-node.is-active > .wpt-tree-item {
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 16%, #ffffff);
  border-color: transparent;
}

/* Preset 4: Accent (Side Accent Indicator Stripe) */
.woolements-product-table .wpt-tree-view.preset-accent .wpt-tree-item {
  border-inline-start: 3px solid transparent;
  border-radius: 0 10px 10px 0;
}

[dir="ltr"] .woolements-product-table .wpt-tree-view.preset-accent .wpt-tree-item {
  border-radius: 10px 0 0 10px;
}

.woolements-product-table .wpt-tree-view.preset-accent .wpt-tree-node.is-active > .wpt-tree-item {
  border-inline-start-color: var(--wpt-accent, #6d5dfc);
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 8%, #ffffff);
}

/* 4. Visual Cards Grid Mode (کارت‌های شبکه‌ای) */
.woolements-product-table .wpt-filter-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 8px;
}

.woolements-product-table .wpt-filter-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  text-align: center;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  user-select: none;
  box-sizing: border-box;
}

.woolements-product-table .wpt-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  transition: all 0.2s ease;
}

.woolements-product-table .wpt-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.woolements-product-table .wpt-filter-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, #cbd5e1);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.woolements-product-table .wpt-filter-card:hover .wpt-card-icon {
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 14%, #f1f5f9);
  color: var(--wpt-accent, #6d5dfc);
  transform: scale(1.08);
}

.woolements-product-table .wpt-filter-card.is-active {
  background: linear-gradient(145deg, #ffffff, color-mix(in srgb, var(--wpt-accent, #6d5dfc) 9%, #ffffff));
  border-color: var(--wpt-accent, #6d5dfc);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 20%, transparent);
}

.woolements-product-table .wpt-filter-card.is-active .wpt-card-name {
  color: var(--wpt-accent, #6d5dfc);
  font-weight: 750;
}

.woolements-product-table .wpt-filter-card.is-active .wpt-card-icon {
  background: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 40%, transparent);
}

.woolements-product-table .wpt-filter-card.is-active .wpt-card-count {
  background: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
}

/* 5. Pill Chips Mode (چیپ‌های قرصی) */
.woolements-product-table .wpt-filter-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.woolements-product-table .wpt-filter-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  font-family: inherit;
  outline: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.woolements-product-table .wpt-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #64748b;
  transition: all 0.2s ease;
}

.woolements-product-table .wpt-filter-chip:hover {
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, #cbd5e1);
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

.woolements-product-table .wpt-filter-chip:hover .wpt-chip-icon {
  color: var(--wpt-accent, #6d5dfc);
}

.woolements-product-table .wpt-filter-chip.is-active {
  background: var(--wpt-accent, #6d5dfc);
  border-color: var(--wpt-accent, #6d5dfc);
  color: #ffffff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, transparent);
}

.woolements-product-table .wpt-filter-chip.is-active .wpt-chip-icon,
.woolements-product-table .wpt-filter-chip.is-active .wpt-chip-name {
  color: #ffffff;
}

.woolements-product-table .wpt-filter-chip.is-active .wpt-chip-count {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* 6. Custom Taxonomy Dropdowns (سلکتور مدرن کشویی) */
.woolements-product-table .wpt-custom-tax-dropdown {
  position: relative;
  width: 100%;
}

.woolements-product-table .wpt-tax-drop-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  outline: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}

.woolements-product-table .wpt-tax-drop-trigger:hover {
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, #cbd5e1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.woolements-product-table .wpt-tax-drop-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  margin-inline-end: 8px;
}

.woolements-product-table .wpt-tax-drop-trigger-label {
  flex: 1 1 auto;
  text-align: start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.woolements-product-table .wpt-tax-drop-arrow {
  font-size: 11px;
  color: #94a3b8;
  margin-inline-start: 8px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  flex-shrink: 0;
}

.woolements-product-table .wpt-custom-tax-dropdown.is-open .wpt-tax-drop-arrow {
  transform: rotate(180deg);
  color: var(--wpt-accent, #6d5dfc);
}

.woolements-product-table .wpt-tax-drop-panel {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.16), 0 4px 14px -2px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.woolements-product-table .wpt-custom-tax-dropdown.is-open .wpt-tax-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.woolements-product-table .wpt-tax-drop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  margin-bottom: 6px;
}

.woolements-product-table .wpt-tax-drop-search i {
  color: #94a3b8;
  font-size: 11px;
}

.woolements-product-table .wpt-tax-search-input {
  width: 100%;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 12px !important;
  color: #1e293b !important;
  outline: none !important;
  font-family: inherit !important;
  box-shadow: none !important;
}

.woolements-product-table .wpt-tax-drop-options {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
}

.woolements-product-table .wpt-tax-drop-options::-webkit-scrollbar {
  width: 4px;
}

.woolements-product-table .wpt-tax-drop-options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.woolements-product-table .wpt-tax-drop-option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  cursor: pointer;
  background: transparent;
  transition: all 0.16s ease;
  box-sizing: border-box;
}

.woolements-product-table .wpt-tax-opt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  margin-inline-end: 6px;
}

.woolements-product-table .wpt-tax-opt-label {
  flex: 1 1 auto;
  font-size: 12.5px;
  font-weight: 550;
  color: #334155;
  text-align: start;
}

.woolements-product-table .wpt-tax-opt-check {
  font-size: 11px;
  color: var(--wpt-accent, #6d5dfc);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woolements-product-table .wpt-tax-drop-option:hover {
  background: #f1f5f9;
}

.woolements-product-table .wpt-tax-drop-option:hover .wpt-tax-opt-label {
  color: #0f172a;
  font-weight: 650;
}

.woolements-product-table .wpt-tax-drop-option:hover .wpt-tax-opt-icon {
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 14%, #fff);
  color: var(--wpt-accent, #6d5dfc);
}

.woolements-product-table .wpt-tax-drop-option.is-active {
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 10%, #fff);
}

.woolements-product-table .wpt-tax-drop-option.is-active .wpt-tax-opt-label {
  color: var(--wpt-accent, #6d5dfc);
  font-weight: 750;
}

.woolements-product-table .wpt-tax-drop-option.is-active .wpt-tax-opt-check {
  opacity: 1;
  transform: scale(1);
}

/* 7. Modern iOS-Style Toggle Switches (فقط موجودی / تخفیف‌دار) */
.woolements-product-table .wpt-filter-status-switches {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.woolements-product-table .wpt-filter-toggle-switch {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  position: relative;
  box-sizing: border-box;
}

.woolements-product-table .wpt-filter-toggle-switch input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

.woolements-product-table .wpt-filter-toggle-switch .wpt-switch-content {
  order: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.woolements-product-table .wpt-filter-toggle-switch .wpt-switch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  transition: all 0.2s ease;
}

.woolements-product-table .wpt-filter-toggle-switch .wpt-switch-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s ease;
}

/* iOS Toggle Slider */
.woolements-product-table .wpt-filter-toggle-switch .wpt-switch-slider {
  order: 2;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.woolements-product-table .wpt-filter-toggle-switch .wpt-switch-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.woolements-product-table .wpt-filter-toggle-switch:hover {
  border-color: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 35%, #cbd5e1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Switch Active State */
.woolements-product-table .wpt-filter-toggle-switch input[type="checkbox"]:checked ~ .wpt-switch-slider {
  background: var(--wpt-accent, #6d5dfc);
}

.woolements-product-table .wpt-filter-toggle-switch input[type="checkbox"]:checked ~ .wpt-switch-slider::after {
  transform: translateX(18px);
}

[dir="rtl"] .woolements-product-table .wpt-filter-toggle-switch input[type="checkbox"]:checked ~ .wpt-switch-slider::after {
  transform: translateX(-18px);
}

.woolements-product-table .wpt-filter-toggle-switch input[type="checkbox"]:checked ~ .wpt-switch-content .wpt-switch-text {
  color: var(--wpt-accent, #6d5dfc);
  font-weight: 750;
}

.woolements-product-table .wpt-filter-toggle-switch input[type="checkbox"]:checked ~ .wpt-switch-content .wpt-switch-icon {
  background: color-mix(in srgb, var(--wpt-accent, #6d5dfc) 14%, #f1f5f9);
  color: var(--wpt-accent, #6d5dfc);
}

/* 8. Dark Luxury Preset Theme Harmony for Filters */
.wpt-preset-dark_luxury .wpt-filters {
  background: #161822 !important;
  border-color: #1e2230 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
}

.wpt-preset-dark_luxury .wpt-filter-sticky {
  border-bottom-color: #242938 !important;
}

.wpt-preset-dark_luxury .wpt-filter-title {
  color: #f8fafc !important;
}

.wpt-preset-dark_luxury .wpt-filter-group-header {
  border-bottom-color: #242938 !important;
}

.wpt-preset-dark_luxury .wpt-filter-group-icon {
  background: #1e2230 !important;
  color: #f59e0b !important;
}

.wpt-preset-dark_luxury .wpt-filter-group-title {
  color: #f1f5f9 !important;
}

.wpt-preset-dark_luxury .wpt-tree-children {
  border-inline-start-color: rgba(255, 255, 255, 0.12) !important;
}

.wpt-preset-dark_luxury .wpt-tree-children > .wpt-tree-node::before {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.wpt-preset-dark_luxury .wpt-tree-item:hover {
  background: #1e2230 !important;
}

.wpt-preset-dark_luxury .wpt-tree-item:hover .wpt-tree-name {
  color: #f8fafc !important;
}

.wpt-preset-dark_luxury .wpt-tree-icon {
  background: #1e2230 !important;
  color: #94a3b8 !important;
}

.wpt-preset-dark_luxury .wpt-tree-name {
  color: #cbd5e1 !important;
}

.wpt-preset-dark_luxury .wpt-tree-badge {
  background: #1e2230 !important;
  color: #94a3b8 !important;
}

.wpt-preset-dark_luxury .wpt-tree-node.is-active > .wpt-tree-item {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

.wpt-preset-dark_luxury .wpt-tree-node.is-active > .wpt-tree-item .wpt-tree-name {
  color: #fbbf24 !important;
}

.wpt-preset-dark_luxury .wpt-tree-node.is-active > .wpt-tree-item .wpt-tree-icon {
  background: #f59e0b !important;
  color: #0f1117 !important;
}

.wpt-preset-dark_luxury .wpt-tree-node.is-active > .wpt-tree-item .wpt-tree-badge {
  background: #f59e0b !important;
  color: #0f1117 !important;
}

.wpt-preset-dark_luxury .wpt-filter-card {
  background: #161822 !important;
  border-color: #1e2230 !important;
}

.wpt-preset-dark_luxury .wpt-filter-card .wpt-card-icon {
  background: #1e2230 !important;
  color: #94a3b8 !important;
}

.wpt-preset-dark_luxury .wpt-filter-card .wpt-card-name {
  color: #cbd5e1 !important;
}

.wpt-preset-dark_luxury .wpt-filter-card:hover {
  background: #1e2230 !important;
  border-color: #2e354a !important;
}

.wpt-preset-dark_luxury .wpt-filter-card.is-active {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: #f59e0b !important;
}

.wpt-preset-dark_luxury .wpt-filter-card.is-active .wpt-card-name {
  color: #fbbf24 !important;
}

.wpt-preset-dark_luxury .wpt-filter-card.is-active .wpt-card-icon {
  background: #f59e0b !important;
  color: #0f1117 !important;
}

.wpt-preset-dark_luxury .wpt-filter-chip {
  background: #161822 !important;
  border-color: #1e2230 !important;
  color: #cbd5e1 !important;
}

.wpt-preset-dark_luxury .wpt-filter-chip:hover {
  background: #1e2230 !important;
  color: #f8fafc !important;
}

.wpt-preset-dark_luxury .wpt-filter-chip.is-active {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #0f1117 !important;
}

.wpt-preset-dark_luxury .wpt-filter-chip.is-active .wpt-chip-name,
.wpt-preset-dark_luxury .wpt-filter-chip.is-active .wpt-chip-icon {
  color: #0f1117 !important;
}

.wpt-preset-dark_luxury .wpt-tax-drop-trigger {
  background: #161822 !important;
  border-color: #1e2230 !important;
  color: #cbd5e1 !important;
}

.wpt-preset-dark_luxury .wpt-tax-drop-panel {
  background: rgba(22, 24, 34, 0.98) !important;
  border-color: #2a2f42 !important;
}

.wpt-preset-dark_luxury .wpt-tax-drop-search {
  background: #11131c !important;
}

.wpt-preset-dark_luxury .wpt-tax-search-input {
  color: #f8fafc !important;
}

.wpt-preset-dark_luxury .wpt-tax-drop-option:hover {
  background: #1e2230 !important;
}

.wpt-preset-dark_luxury .wpt-tax-drop-option.is-active {
  background: rgba(245, 158, 11, 0.16) !important;
}

.wpt-preset-dark_luxury .wpt-tax-drop-option.is-active .wpt-tax-opt-label {
  color: #fbbf24 !important;
}

.wpt-preset-dark_luxury .wpt-tax-drop-option.is-active .wpt-tax-opt-check {
  color: #f59e0b !important;
}

.wpt-preset-dark_luxury .wpt-filter-toggle-switch {
  background: #161822 !important;
  border-color: #1e2230 !important;
}

.wpt-preset-dark_luxury .wpt-filter-toggle-switch .wpt-switch-icon {
  background: #1e2230 !important;
  color: #94a3b8 !important;
}

.wpt-preset-dark_luxury .wpt-filter-toggle-switch .wpt-switch-text {
  color: #cbd5e1 !important;
}

.wpt-preset-dark_luxury .wpt-filter-toggle-switch .wpt-switch-slider {
  background: #333b52 !important;
}

.wpt-preset-dark_luxury .wpt-filter-toggle-switch input[type="checkbox"]:checked ~ .wpt-switch-slider {
  background: #f59e0b !important;
}

.wpt-preset-dark_luxury .wpt-filter-toggle-switch input[type="checkbox"]:checked ~ .wpt-switch-content .wpt-switch-text {
  color: #fbbf24 !important;
}

/* 9. Attribute Filter Hints - Editor Only Display (مخفی در صفحه زنده، نمایش فقط در ویرایشگر) */
.woolements-product-table .wpt-attribute-empty,
.woolements-product-table .wpt-editor-only-hint {
  display: none !important;
}

body.elementor-editor-active .woolements-product-table .wpt-attribute-empty,
body.elementor-editor-active .woolements-product-table .wpt-editor-only-hint,
body.elementor-editor-preview .woolements-product-table .wpt-attribute-empty,
body.elementor-editor-preview .woolements-product-table .wpt-editor-only-hint,
.elementor-editor-active .woolements-product-table .wpt-attribute-empty,
.elementor-editor-active .woolements-product-table .wpt-editor-only-hint {
  display: flex !important;
}

.wpt-preset-dark_luxury .wpt-attribute-empty {
  background: #161822 !important;
  border-color: #242938 !important;
  color: #94a3b8 !important;
}

.wpt-preset-dark_luxury .wpt-attribute-empty strong {
  color: #f8fafc !important;
}

.wpt-preset-dark_luxury .wpt-attribute-empty small {
  color: #94a3b8 !important;
}

.wpt-preset-dark_luxury .wpt-attribute-empty > span {
  background: #1e2230 !important;
  color: #f59e0b !important;
}

/* ==========================================================================
   Woolements Smart Product Table - Search Target Highlight & Smooth Scroll Anchor
   ========================================================================== */
.wpt-scroll-anchor {
  display: block;
  position: relative;
  top: -85px;
  visibility: hidden;
  pointer-events: none;
}

.woolements-product-table.wpt-search-target-highlight {
  animation: wptTargetPulse 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes wptTargetPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 93, 252, 0.65);
    transform: scale(0.995);
  }
  30% {
    box-shadow: 0 0 0 12px rgba(109, 93, 252, 0.25);
    transform: scale(1.003);
  }
  60% {
    box-shadow: 0 0 0 18px rgba(109, 93, 252, 0);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(109, 93, 252, 0);
    transform: scale(1);
  }
}

/* ==========================================================================
   Woolements Smart Product Table - Modern Clear & Reset Buttons Architecture
   ========================================================================== */

/* 1. Entrance, Spin & Pulse Keyframes */
@keyframes wptClearBtnIn {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(3px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes wptResetSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes wptClearPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.28);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(225, 29, 72, 0);
  }
}

/* 2. Toolbar Clear Filters Button (.wpt-clear-filters) */
.woolements-product-table .wpt-clear-filters {
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff5f7 0%, #ffe4e6 100%);
  color: #e11d48;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.woolements-product-table.has-active-filters .wpt-clear-filters {
  display: inline-flex !important;
  animation: wptClearBtnIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.woolements-product-table .wpt-clear-filters:hover {
  background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
  border-color: #fda4af;
  color: #be123c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.16);
}

.woolements-product-table .wpt-clear-filters:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(225, 29, 72, 0.1);
}

.woolements-product-table .wpt-clear-filters .wpt-clear-icon,
.woolements-product-table .wpt-clear-filters i,
.woolements-product-table .wpt-clear-filters svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  fill: currentColor;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woolements-product-table .wpt-clear-filters:hover .wpt-clear-icon,
.woolements-product-table .wpt-clear-filters:hover > i,
.woolements-product-table .wpt-clear-filters:hover > svg {
  transform: rotate(-180deg);
}

.woolements-product-table .wpt-clear-filters.is-clearing .wpt-clear-icon,
.woolements-product-table .wpt-clear-filters.is-clearing i,
.woolements-product-table .wpt-clear-filters.is-clearing svg {
  animation: wptResetSpin 0.55s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 3. Panel Header Reset Button (.wpt-reset) */
.woolements-product-table .wpt-reset {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 33px;
  padding: 6px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff5f7 0%, #ffe4e6 100%);
  border: 1px solid #fecdd3;
  color: #e11d48;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.woolements-product-table.has-active-filters .wpt-filter-head .wpt-reset {
  display: inline-flex !important;
  animation: wptClearBtnIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.woolements-product-table .wpt-reset:hover {
  background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
  border-color: #fda4af;
  color: #be123c;
  transform: translateY(-1.5px);
  box-shadow: 0 5px 14px rgba(225, 29, 72, 0.16);
}

.woolements-product-table .wpt-reset:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(225, 29, 72, 0.1);
}

.woolements-product-table .wpt-reset .wpt-reset-icon,
.woolements-product-table .wpt-reset i,
.woolements-product-table .wpt-reset svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  fill: currentColor;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woolements-product-table .wpt-reset:hover .wpt-reset-icon,
.woolements-product-table .wpt-reset:hover > i,
.woolements-product-table .wpt-reset:hover > svg {
  transform: rotate(-180deg);
}

.woolements-product-table .wpt-reset.is-clearing .wpt-reset-icon,
.woolements-product-table .wpt-reset.is-clearing i,
.woolements-product-table .wpt-reset.is-clearing svg {
  animation: wptResetSpin 0.55s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 4. Active Filters Count Badge Indicator */
.woolements-product-table .wpt-clear-count-badge,
.woolements-product-table .wpt-reset-count-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
  border-radius: 999px;
  background-color: #e11d48;
  color: #ffffff;
  font-size: 11px;
  font-weight: 850;
  line-height: 1 !important;
  margin-inline-start: 5px;
  vertical-align: middle !important;
  direction: ltr !important;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.woolements-product-table .wpt-clear-count-badge .wpt-badge-num,
.woolements-product-table .wpt-reset-count-badge .wpt-badge-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-style: normal !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  line-height: 1 !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(0.5px);
}

.woolements-product-table .wpt-clear-count-badge[style*="display: none"],
.woolements-product-table .wpt-clear-count-badge[style*="display:none"],
.woolements-product-table .wpt-reset-count-badge[style*="display: none"],
.woolements-product-table .wpt-reset-count-badge[style*="display:none"],
.woolements-product-table:not(.has-active-filters) .wpt-clear-count-badge,
.woolements-product-table:not(.has-active-filters) .wpt-reset-count-badge {
  display: none !important;
}

.woolements-product-table .wpt-clear-filters:hover .wpt-clear-count-badge,
.woolements-product-table .wpt-reset:hover .wpt-reset-count-badge {
  transform: scale(1.12);
}

/* 5. Display Modes Handling (Icon / Text / Both) */
.woolements-product-table .wpt-clear-filters.wpt-clear-display-icon .wpt-clear-text {
  display: none !important;
}
.woolements-product-table .wpt-clear-filters.wpt-clear-display-icon .wpt-clear-icon {
  display: inline-flex !important;
}
.woolements-product-table .wpt-clear-filters.wpt-clear-display-text .wpt-clear-icon {
  display: none !important;
}
.woolements-product-table .wpt-clear-filters.wpt-clear-display-text .wpt-clear-text,
.woolements-product-table .wpt-clear-filters.wpt-clear-display-both .wpt-clear-text {
  display: inline-block !important;
}
.woolements-product-table .wpt-clear-filters.wpt-clear-display-both .wpt-clear-icon {
  display: inline-flex !important;
}

.woolements-product-table .wpt-reset.wpt-reset-display-icon .wpt-reset-text {
  display: none !important;
}
.woolements-product-table .wpt-reset.wpt-reset-display-icon .wpt-reset-icon {
  display: inline-flex !important;
}
.woolements-product-table .wpt-reset.wpt-reset-display-text .wpt-reset-icon {
  display: none !important;
}
.woolements-product-table .wpt-reset.wpt-reset-display-text .wpt-reset-text,
.woolements-product-table .wpt-reset.wpt-reset-display-both .wpt-reset-text {
  display: inline-block !important;
}
.woolements-product-table .wpt-reset.wpt-reset-display-both .wpt-reset-icon {
  display: inline-flex !important;
}

/* 6. Dark Luxury Preset Special Styling (.wpt-preset-dark_luxury) */
.wpt-preset-dark_luxury .wpt-clear-filters {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(225, 29, 72, 0.08)) !important;
  border-color: rgba(244, 63, 94, 0.35) !important;
  color: #fb7185 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px rgba(244, 63, 94, 0.12) !important;
}

.wpt-preset-dark_luxury .wpt-clear-filters:hover {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.28), rgba(225, 29, 72, 0.18)) !important;
  border-color: rgba(244, 63, 94, 0.6) !important;
  color: #fda4af !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 63, 94, 0.28) !important;
}

.wpt-preset-dark_luxury .wpt-clear-count-badge {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.55) !important;
}

.wpt-preset-dark_luxury .wpt-reset {
  background: rgba(244, 63, 94, 0.14) !important;
  border-color: rgba(244, 63, 94, 0.35) !important;
  color: #fb7185 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.wpt-preset-dark_luxury .wpt-reset:hover {
  background: rgba(244, 63, 94, 0.26) !important;
  border-color: rgba(244, 63, 94, 0.6) !important;
  color: #fda4af !important;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.25) !important;
}

.wpt-preset-dark_luxury .wpt-reset-count-badge {
  background-color: #e11d48 !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.55) !important;
}

/* ==========================================================================
   Woolements Smart Product Table - Wishlist Buttons & Dynamic Counter Badge
   ========================================================================== */

/* 1. Header Favorites Toggle Button (.wpt-favorites-toggle) */
.woolements-product-table .wpt-favorites-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--wpt-fav-btn-border, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  background: var(--wpt-fav-btn-bg, #ffffff);
  color: var(--wpt-fav-btn-color, var(--wpt-text, #181a2d));
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  position: relative;
  overflow: visible;
  line-height: 1.4 !important;
  box-sizing: border-box;
}

.woolements-product-table .wpt-favorites-toggle.wpt-is-empty-hidden,
.woolements-product-table .wpt-favorites-toggle[style*="display: none"],
.woolements-product-table .wpt-favorites-toggle[style*="display:none"] {
  display: none !important;
}

.woolements-product-table .wpt-favorites-toggle:hover {
  background: var(--wpt-fav-btn-hover-bg, #fff5f7);
  border-color: var(--wpt-fav-btn-hover-border, #f43f5e);
  color: var(--wpt-fav-btn-hover-color, #e11d48);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.16);
  transform: translateY(-1px);
}

.woolements-product-table .wpt-favorites-toggle.is-active {
  background: var(--wpt-fav-btn-active-bg, linear-gradient(135deg, #f43f5e, #e11d48));
  border-color: var(--wpt-fav-btn-active-border, #e11d48);
  color: var(--wpt-fav-btn-active-color, #ffffff);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.3);
}

.woolements-product-table .wpt-favorites-toggle .wpt-fav-icon,
.woolements-product-table .wpt-favorites-toggle > i,
.woolements-product-table .wpt-favorites-toggle > svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #f43f5e;
  transition: transform 0.25s ease, color 0.25s ease;
  flex: 0 0 auto;
}

.woolements-product-table .wpt-favorites-toggle:hover .wpt-fav-icon,
.woolements-product-table .wpt-favorites-toggle:hover > i,
.woolements-product-table .wpt-favorites-toggle:hover > svg {
  transform: scale(1.15);
}

.woolements-product-table .wpt-favorites-toggle.is-active .wpt-fav-icon,
.woolements-product-table .wpt-favorites-toggle.is-active > i,
.woolements-product-table .wpt-favorites-toggle.is-active > svg {
  color: var(--wpt-fav-active-icon-color, #ffffff);
  fill: var(--wpt-fav-active-icon-color, #ffffff);
}

.woolements-product-table .wpt-favorites-toggle .wpt-fav-text,
.woolements-product-table .wpt-favorites-toggle > span {
  display: inline-block;
  line-height: 1;
}

/* 2. Favorites Counter Badge (.wpt-fav-count / b) */
.woolements-product-table .wpt-favorites-toggle .wpt-fav-count,
.woolements-product-table .wpt-favorites-toggle b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 20px;
  background: var(--wpt-fav-badge-bg, #ffe4e6);
  color: var(--wpt-fav-badge-color, #e11d48);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  font-style: normal;
  border: 1px solid var(--wpt-fav-badge-border, transparent);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.woolements-product-table .wpt-favorites-toggle .wpt-fav-count em,
.woolements-product-table .wpt-favorites-toggle b em {
  font-style: normal;
  line-height: 1;
}

.woolements-product-table .wpt-favorites-toggle.is-active .wpt-fav-count,
.woolements-product-table .wpt-favorites-toggle.is-active b {
  background: var(--wpt-fav-badge-active-bg, rgba(255, 255, 255, 0.25));
  color: var(--wpt-fav-badge-active-color, #ffffff);
  border-color: var(--wpt-fav-badge-active-border, rgba(255, 255, 255, 0.35));
}

/* Zero state suppression */
.woolements-product-table .wpt-favorites-toggle.has-no-count .wpt-fav-count,
.woolements-product-table .wpt-favorites-toggle.has-no-count b {
  display: none !important;
}

/* Badge Pop Animation */
@keyframes wptFavBadgePop {
  0% { transform: scale(0.4); opacity: 0; }
  65% { transform: scale(1.22); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.woolements-product-table .wpt-favorites-toggle .wpt-fav-count.wpt-pop,
.woolements-product-table .wpt-favorites-toggle b.wpt-pop {
  animation: wptFavBadgePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. Product Row Wishlist Button (.wpt-wishlist) */
.woolements-product-table .wpt-actions .wpt-wishlist,
.woolements-product-table .wpt-product:not(.wpt-card-item) .wpt-wishlist {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--wpt-wishlist-border, #e5e7eb);
  border-radius: 9px;
  background: var(--wpt-wishlist-bg, #ffffff);
  color: var(--wpt-wishlist-color, #e11d48);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.woolements-product-table .wpt-wishlist:hover {
  border-color: var(--wpt-wishlist-hover-border, #fda4af);
  background: var(--wpt-wishlist-hover-bg, #fff1f2);
  color: var(--wpt-wishlist-hover-color, #be123c);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.12);
}

.woolements-product-table .wpt-wishlist.is-active {
  border-color: var(--wpt-wishlist-active-border, #fecdd3);
  background: var(--wpt-wishlist-active-bg, #ffe4e6);
  color: var(--wpt-wishlist-active-color, #e11d48);
  font-weight: 800;
}

.woolements-product-table .wpt-wishlist.is-active:hover {
  background: #fecdd3;
  border-color: #fda4af;
  color: #be123c;
  box-shadow: 0 3px 12px rgba(225, 29, 72, 0.16);
}

.woolements-product-table .wpt-wishlist svg,
.woolements-product-table .wpt-wishlist i {
  fill: currentColor;
  color: inherit;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.woolements-product-table .wpt-wishlist:hover i,
.woolements-product-table .wpt-wishlist:hover svg {
  transform: scale(1.15);
}

/* Micro-interaction Heartbeat Keyframe Animation */
@keyframes wptHeartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(0.92); }
  75% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

.woolements-product-table .wpt-wishlist.wpt-pop-anim i,
.woolements-product-table .wpt-wishlist.wpt-pop-anim svg {
  animation: wptHeartBeat 0.45s ease-in-out;
}

/* Wishlist Button Display Modes */
.woolements-product-table.wpt-wishlist-display-icon .wpt-wishlist span {
  display: none !important;
}

.woolements-product-table.wpt-wishlist-display-text .wpt-wishlist i,
.woolements-product-table.wpt-wishlist-display-text .wpt-wishlist svg {
  display: none !important;
}

.woolements-product-table.wpt-wishlist-display-text .wpt-wishlist span,
.woolements-product-table.wpt-wishlist-display-both .wpt-wishlist span {
  display: inline !important;
}

/* 4. Visual Presets Support */
/* Dark Luxury */
.wpt-preset-dark_luxury .wpt-favorites-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f1f6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.wpt-preset-dark_luxury .wpt-favorites-toggle:hover {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.45);
  color: #fda4af;
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.25);
}

.wpt-preset-dark_luxury .wpt-favorites-toggle.is-active {
  background: linear-gradient(135deg, #e11d48, #be123c) !important;
  border-color: #f43f5e !important;
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(225, 29, 72, 0.45) !important;
}

.wpt-preset-dark_luxury .wpt-favorites-toggle .wpt-fav-count,
.wpt-preset-dark_luxury .wpt-favorites-toggle b {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

.wpt-preset-dark_luxury .wpt-favorites-toggle.is-active .wpt-fav-count,
.wpt-preset-dark_luxury .wpt-favorites-toggle.is-active b {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

.wpt-preset-dark_luxury .wpt-wishlist {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fda4af;
}

.wpt-preset-dark_luxury .wpt-wishlist:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fff;
  box-shadow: 0 3px 12px rgba(244, 63, 94, 0.2);
}

.wpt-preset-dark_luxury .wpt-wishlist.is-active {
  background: rgba(244, 63, 94, 0.25);
  border-color: #f43f5e;
  color: #ff859c;
}

/* Glassmorphism */
.wpt-preset-glassmorphism .wpt-favorites-toggle {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.65);
}

.wpt-preset-glassmorphism .wpt-favorites-toggle:hover {
  background: rgba(255, 241, 242, 0.8);
  border-color: #f43f5e;
}

/* Minimal Flat */
.wpt-preset-minimal .wpt-favorites-toggle {
  box-shadow: none;
  border-color: #e5e7eb;
}

.wpt-preset-minimal .wpt-wishlist {
  box-shadow: none;
}

/* Elementor image dimensions must supersede fixed responsive card geometry. */
.woolements-product-table .wpt-product-media {
  width: var(--wpt-product-image-width, 92px) !important;
  height: var(--wpt-product-image-height, 92px) !important;
  min-width: var(--wpt-product-image-width, 92px) !important;
  max-width: var(--wpt-product-image-width, 92px) !important;
  min-height: var(--wpt-product-image-height, 92px) !important;
  max-height: var(--wpt-product-image-height, 92px) !important;
  flex: 0 0 var(--wpt-product-image-width, 92px) !important;
}

.woolements-product-table .wpt-product-media > .wpt-img-link,
.woolements-product-table .wpt-product-media > .wpt-img-link > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product {
    grid-template-columns: var(--wpt-product-image-width, 114px) minmax(0, 1fr) auto !important;
  }

  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.product-type-variable,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.product-type-variable,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.is-unavailable,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.is-unavailable {
    grid-template-columns: var(--wpt-product-image-width, 114px) minmax(0, 1fr) auto !important;
  }
}

@media (max-width: 767px) {
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity.wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-hide-quantity:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.product-type-variable,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.product-type-variable,
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product.is-unavailable,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product.is-unavailable {
    grid-template-columns: var(--wpt-product-image-width, 96px) minmax(0, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .woolements-product-table:not(.wpt-layout-cards).wpt-mobile-cards .wpt-product,
  .woolements-product-table:not(.wpt-layout-cards):not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product {
    grid-template-columns: var(--wpt-product-image-width, 84px) minmax(0, 1fr) !important;
  }
}

/* Performance: skip layout/paint for offscreen product rows (table mode only) */
.woolements-product-table:not(.wpt-layout-cards) .wpt-product {
  content-visibility: auto;
  contain-intrinsic-size: auto 132px;
}

.woolements-product-table.wpt-layout-compact .wpt-product {
  contain-intrinsic-size: auto 96px;
}

/* Phase 3: Price Range Filter, Active Filter Chips & Extended Skeleton Cells */
.wpt-sk-sku {
  width: 78px;
  height: 22px;
}
.wpt-sk-rating {
  width: 72px;
  height: 18px;
}
.wpt-sk-stock {
  width: 68px;
  height: 22px;
  border-radius: 10px;
}

.wpt-filter-price-group {
  margin-top: 14px;
}

.wpt-price-range-inputs {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.wpt-price-field {
  flex: 1 1 110px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wpt-price-field span {
  font-size: 11px;
  font-weight: 700;
  color: var(--wpt-muted);
}

.wpt-price-field input {
  width: 100%;
  height: 38px !important;
  padding: 0 11px !important;
  border: 1px solid var(--wpt-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--wpt-text) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  direction: ltr;
  text-align: center;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.wpt-price-field input:focus {
  border-color: var(--wpt-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpt-accent) 12%, transparent) !important;
}

.wpt-price-range-sep {
  padding-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--wpt-muted);
}

.wpt-price-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 0;
  border-radius: 10px;
  background: var(--wpt-accent);
  color: #fff;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, opacity .18s;
}

.wpt-price-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--wpt-accent) 28%, transparent);
}

.wpt-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--wpt-line);
  background: color-mix(in srgb, var(--wpt-accent) 3%, #fff);
}

.wpt-active-filters[hidden] {
  display: none !important;
}

.wpt-active-chip,
.wpt-active-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}

.wpt-active-chip {
  border: 1px solid color-mix(in srgb, var(--wpt-accent) 22%, var(--wpt-line));
  background: #fff;
  color: var(--wpt-text);
}

.wpt-active-chip i {
  font-size: 10px;
  color: var(--wpt-muted);
}

.wpt-active-chip:hover {
  border-color: #f43f5e;
  background: #fff1f2;
  color: #e11d48;
  transform: translateY(-1px);
}

.wpt-active-chip:hover i {
  color: #e11d48;
}

.wpt-active-clear-all {
  margin-inline-start: auto;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #e11d48;
}

.wpt-active-clear-all:hover {
  background: #ffe4e6;
  transform: translateY(-1px);
}

.wpt-preset-dark_luxury .wpt-active-filters {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.wpt-preset-dark_luxury .wpt-active-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
}

.wpt-preset-dark_luxury .wpt-price-field input {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}

@media (max-width: 767px) {
  .wpt-active-filters {
    padding: 10px 14px;
  }
}

/* ==========================================================================
   Phase 4: Custom Cards View & List/Card View Switcher
   ========================================================================== */

/* 1. View Switcher in Toolbar & Count Wrapper */
.wpt-count-with-switchers {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-inline-start: auto;
}

.wpt-count-with-switchers .wpt-count {
  margin: 0;
}

.wpt-view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--wpt-line);
  border-radius: 12px;
  background: #f8fafc;
}

.wpt-view-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--wpt-muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
  box-sizing: border-box;
  user-select: none;
}

.wpt-view-switch-btn .wpt-switch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wpt-view-switch-btn i,
.wpt-view-switch-btn svg {
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.wpt-view-switch-btn span {
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
}

.wpt-view-switch-btn:hover {
  color: var(--wpt-accent);
}

.wpt-view-switch-btn.is-active {
  background: var(--wpt-accent);
  color: #fff;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--wpt-accent) 26%, transparent);
}

.wpt-preset-dark_luxury .wpt-view-switcher {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Visibility Rules per Device for View Switcher */
/* Desktop (>= 1025px): show table + desktop buttons (3, 4, 5) */
@media (min-width: 1025px) {
  .wpt-view-tablet-only,
  .wpt-view-mobile-only {
    display: none !important;
  }
}

/* Tablet (768px - 1024px): show table + tablet buttons (2, 3, 4) */
@media (min-width: 768px) and (max-width: 1024px) {
  .wpt-view-desktop-only,
  .wpt-view-mobile-only {
    display: none !important;
  }
}

/* Mobile (<= 767px): show table + mobile buttons (1, 2, 3) */
@media (max-width: 767px) {
  .wpt-view-desktop-only,
  .wpt-view-tablet-only {
    display: none !important;
  }
}

/* 2. Hide Table Header & Build Card Grid */
section.woolements-product-table.wpt-layout-cards .wpt-column-head {
  display: none !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-results {
  display: grid !important;
  grid-template-columns: repeat(var(--wpt-card-cols, 3), minmax(0, 1fr)) !important;
  gap: var(--wpt-card-gap, 20px) !important;
  padding: 20px !important;
  background: linear-gradient(180deg, #fafbff 0%, #f5f7fc 100%) !important;
  align-items: stretch !important;
}

@media (max-width: 1024px) {
  section.woolements-product-table.wpt-layout-cards .wpt-results {
    grid-template-columns: repeat(var(--wpt-card-cols, 2), minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  section.woolements-product-table.wpt-layout-cards .wpt-results {
    grid-template-columns: repeat(var(--wpt-card-cols, 1), minmax(0, 1fr)) !important;
  }
}

/* Explicit User Column Selections (1 to 5 columns) */
section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-results,
section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-skeleton-table {
  --wpt-card-cols: 1;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-results,
section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-skeleton-table {
  --wpt-card-cols: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

section.woolements-product-table.wpt-layout-cards.wpt-card-cols-3 .wpt-results,
section.woolements-product-table.wpt-layout-cards.wpt-card-cols-3 .wpt-skeleton-table {
  --wpt-card-cols: 3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

section.woolements-product-table.wpt-layout-cards.wpt-card-cols-4 .wpt-results,
section.woolements-product-table.wpt-layout-cards.wpt-card-cols-4 .wpt-skeleton-table {
  --wpt-card-cols: 4;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

section.woolements-product-table.wpt-layout-cards.wpt-card-cols-5 .wpt-results,
section.woolements-product-table.wpt-layout-cards.wpt-card-cols-5 .wpt-skeleton-table {
  --wpt-card-cols: 5;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

section.woolements-product-table.wpt-layout-cards.wpt-preset-dark_luxury .wpt-results {
  background: linear-gradient(180deg, #0b0e17 0%, #111524 100%) !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-empty {
  grid-column: 1 / -1;
}

/* Skeleton Grid for Card Mode */
section.woolements-product-table.wpt-layout-cards .wpt-skeleton-table {
  display: grid !important;
  grid-template-columns: repeat(var(--wpt-card-cols, 3), minmax(0, 1fr));
  gap: var(--wpt-card-gap, 20px);
  padding: 20px;
}

section.woolements-product-table.wpt-layout-cards .wpt-skeleton-row {
  flex-direction: column;
  align-items: stretch;
  min-height: 360px;
  padding: 14px;
  border-radius: 20px;
}

section.woolements-product-table.wpt-layout-cards .wpt-sk-thumb {
  width: 100%;
  height: 190px;
  border-radius: 14px;
}

section.woolements-product-table.wpt-layout-cards .wpt-sk-btn {
  width: 100%;
  height: 40px;
}

/* 3. Card Item Base Geometry (Override all table/mobile grid rules) - Nike Minimal Standard */
section.woolements-product-table.wpt-layout-cards .wpt-product.wpt-card-item,
.woolements-product-table.wpt-layout-cards .wpt-card-item {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 10px !important;
  margin: 0 !important;
  border-radius: 24px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #ffffff !important;
  position: relative !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.02) !important;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease, background-color .28s ease !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-media {
  border-radius: 18px !important;
  overflow: hidden !important;
  background: var(--wpt-card-canvas-bg, #edf2ed) !important;
  position: relative !important;
}

section.woolements-product-table.wpt-layout-cards.wpt-card-hover-lift .wpt-product.wpt-card-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.11);
  border-color: color-mix(in srgb, var(--wpt-accent) 28%, rgba(15, 23, 42, 0.1));
}

section.woolements-product-table.wpt-layout-cards.wpt-card-hover-glow .wpt-product.wpt-card-item:hover {
  border-color: var(--wpt-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpt-accent) 16%, transparent), 0 16px 36px color-mix(in srgb, var(--wpt-accent) 14%, transparent);
}

section.woolements-product-table.wpt-layout-cards.wpt-card-hover-none .wpt-product.wpt-card-item:hover {
  transform: none !important;
}

.wpt-tech-cart-btn.is-disabled,
.wpt-tech-cart-btn:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* Style: Tech Modern (Gadget Clean Minimal with Squircle Cart) */
section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-item {
  --wpt-tech-card-pad-right: 12px;
  --wpt-tech-card-pad-left: 12px;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 28px !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05), 0 2px 6px -2px rgba(15, 23, 42, 0.02) !important;
  padding: 12px 12px 18px !important;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern:hover,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12) !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-media,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-media {
  background: #f1f3f6 !important;
  border-radius: 20px !important;
  position: relative !important;
  overflow: hidden !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-img-link img,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-img-link img {
  object-fit: var(--wpt-card-img-fit, contain) !important;
  padding: var(--wpt-card-img-pad, 14px) !important;
}

/* Floating Wishlist Button in Top Corner */
section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-icons,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-icons {
  top: 14px !important;
  inset-inline-end: 14px !important;
  inset-inline-start: auto !important;
  gap: 8px !important;
  z-index: 5 !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-icon-btn,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-icon-btn,
.woolements-product-table .wpt-card-theme-tech_modern .wpt-card-floating-icons .wpt-card-icon-btn,
.woolements-product-table .wpt-card-theme-tech_modern .wpt-card-floating-icons .wpt-wishlist,
.woolements-product-table .wpt-card-theme-tech_modern .wpt-card-floating-icons .wpt-quick-view-btn,
.woolements-product-table .wpt-card-theme-tech_modern .wpt-card-floating-icons .wpt-card-view-btn,
.woolements-product-table .wpt-card-theme-tech_modern .wpt-card-floating-icons .wpt-card-like-btn,
.woolements-product-table .wpt-card-theme-tech_modern .wpt-card-floating-icons .wpt-card-share-btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
  background: #ffffff;
  color: #94a3b8;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  transition: all .24s cubic-bezier(.34, 1.56, .64, 1) !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-icon-btn:hover,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-icon-btn:hover {
  transform: scale(1.08);
  color: var(--wpt-accent, #6366f1);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-icon-btn.wpt-wishlist.is-active,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-icon-btn.wpt-wishlist.is-active {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-icon-btn.wpt-card-like-btn.is-liked,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-icon-btn.wpt-card-like-btn.is-liked {
  background: #dbeafe;
  color: #3b82f6;
  border-color: #93c5fd;
}

/* Tech Modern Body */
section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-body,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-body {
  padding: 16px 8px 4px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Category & Brand Eyebrows */
.wpt-card-tech-category,
.wpt-card-tech-brand {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.3 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.wpt-card-tech-category a,
.wpt-card-tech-brand a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color .2s ease !important;
  text-align: inherit !important;
}

.wpt-card-tech-category a:hover,
.wpt-card-tech-brand a:hover {
  color: var(--wpt-accent, #6366f1) !important;
}

/* Card Title */
section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-title,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-title,
.wpt-card-theme-tech_modern .wpt-tech-title,
.wpt-card-theme-tech_modern .wpt-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-title a,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-title a,
.wpt-card-theme-tech_modern .wpt-tech-title a,
.wpt-card-theme-tech_modern .wpt-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .22s ease, text-decoration .22s ease;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: inherit !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-title a:hover,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-title a:hover,
.wpt-card-theme-tech_modern .wpt-tech-title a:hover,
.wpt-card-theme-tech_modern .wpt-card-title a:hover {
  color: var(--wpt-accent, #6366f1);
}

/* Rating with Star and Count */
.wpt-card-tech-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 2px !important;
}

.wpt-card-tech-rating .wpt-stars {
  --wpt-star-size: 14px;
  display: inline-flex !important;
  position: relative !important;
  color: #cbd5e1 !important;
  font-size: var(--wpt-star-size, 14px) !important;
  line-height: 1 !important;
}

.wpt-card-tech-rating .wpt-stars i {
  font-size: var(--wpt-star-size, 14px) !important;
}

.wpt-card-tech-rating .wpt-stars::after {
  content: "★★★★★" !important;
  position: absolute !important;
  inset-inline-start: 0 !important;
  top: 0 !important;
  height: 100% !important;
  width: calc(var(--rating, 0) / 5 * 100%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  color: #f59e0b !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: 1 !important;
  letter-spacing: inherit !important;
}

.wpt-card-tech-rating-count {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  line-height: 1 !important;
}

/* Bottom Row: Price + Squircle Cart Action */
.wpt-card-tech-bottom-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  transition: border-color .2s ease, background-color .2s ease;
}

/* Fallback if rendered inside .wpt-card-body */
.wpt-card-body > .wpt-card-tech-bottom-row {
  margin-inline: -8px !important;
  width: calc(100% + 16px) !important;
  max-width: calc(100% + 16px) !important;
  padding-inline: 8px !important;
}

[data-theme="dark"] .wpt-card-tech-bottom-row,
.dark .wpt-card-tech-bottom-row {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.wpt-card-tech-price {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: baseline !important;
}

.wpt-card-tech-price .wpt-price,
.wpt-card-tech-price .price {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
}

/* Strikethrough price defaults (overridable by Elementor typography without !important clash) */
.wpt-card-tech-price del,
.wpt-card-tech-price .wpt-var-del {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  text-decoration: line-through !important;
  line-height: 1.2;
}

.wpt-card-tech-price del .woocommerce-Price-amount,
.wpt-card-tech-price .wpt-var-del .woocommerce-Price-amount {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  text-decoration: line-through !important;
  line-height: inherit;
}

/* Active / main price defaults */
.wpt-card-tech-price ins,
.wpt-card-tech-price .wpt-var-ins,
.wpt-card-tech-price .wpt-price-regular,
.wpt-card-tech-price .wpt-var-price-wrap,
.wpt-card-tech-price > .woocommerce-Price-amount {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  text-decoration: none !important;
  line-height: 1.2;
}

.wpt-card-tech-price ins .woocommerce-Price-amount,
.wpt-card-tech-price .wpt-var-ins .woocommerce-Price-amount,
.wpt-card-tech-price .wpt-price-regular .woocommerce-Price-amount,
.wpt-card-tech-price .wpt-var-price-from .woocommerce-Price-amount,
.wpt-card-tech-price .wpt-var-price-to .woocommerce-Price-amount,
.wpt-card-tech-price .wpt-var-price-single .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: none !important;
  line-height: inherit;
}

.wpt-card-tech-price .wpt-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: #ef4444;
  color: #ffffff;
}

.wpt-card-tech-action {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
}

/* Squircle Cart Button */
.wpt-tech-cart-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 14px !important;
  background: #3b82f6 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 18px -4px rgba(59, 130, 246, 0.45) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s ease, background-color .2s ease !important;
}

.wpt-tech-cart-btn i,
.wpt-tech-cart-btn svg {
  font-size: 18px !important;
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

.wpt-tech-cart-btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.55) !important;
}

.wpt-tech-cart-btn:active {
  transform: scale(0.95) !important;
}

.wpt-tech-cart-btn.wpt-view-cart {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px -4px rgba(16, 185, 129, 0.45) !important;
}

.wpt-tech-cart-btn.wpt-view-cart i,
.wpt-tech-cart-btn.wpt-view-cart svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.wpt-tech-cart-btn.is-loading,
.wpt-tech-cart-btn.loading,
.wpt-tech-cart-btn.wpt-action-loading,
.woolements-product-table .wpt-tech-cart-btn.is-loading,
.woolements-product-table .wpt-tech-cart-btn.loading,
.woolements-product-table .wpt-tech-cart-btn.wpt-action-loading {
  position: relative !important;
  pointer-events: none !important;
  color: transparent !important;
}

.wpt-tech-cart-btn.is-loading::before,
.wpt-tech-cart-btn.loading::before,
.wpt-tech-cart-btn.wpt-action-loading::before {
  display: none !important;
}

.wpt-tech-cart-btn.is-loading i,
.wpt-tech-cart-btn.is-loading svg,
.wpt-tech-cart-btn.is-loading .wpt-btn-text,
.wpt-tech-cart-btn.loading i,
.wpt-tech-cart-btn.loading svg,
.wpt-tech-cart-btn.loading .wpt-btn-text,
.wpt-tech-cart-btn.wpt-action-loading i,
.wpt-tech-cart-btn.wpt-action-loading svg,
.wpt-tech-cart-btn.wpt-action-loading .wpt-btn-text {
  opacity: 0 !important;
  visibility: hidden !important;
}

.wpt-tech-cart-btn.is-loading::after,
.wpt-tech-cart-btn.loading::after,
.wpt-tech-cart-btn.wpt-action-loading::after,
.woolements-product-table .wpt-tech-cart-btn.is-loading::after,
.woolements-product-table .wpt-tech-cart-btn.loading::after,
.woolements-product-table .wpt-tech-cart-btn.wpt-action-loading::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translate(-50%, -50%) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: wpt-checkout-spin .6s linear infinite !important;
  box-sizing: border-box !important;
  z-index: 10 !important;
}

[dir="rtl"] .woolements-product-table .wpt-tech-cart-btn.is-loading::after,
[dir="rtl"] .woolements-product-table .wpt-tech-cart-btn.loading::after,
[dir="rtl"] .woolements-product-table .wpt-tech-cart-btn.wpt-action-loading::after,
.rtl .woolements-product-table .wpt-tech-cart-btn.is-loading::after,
.rtl .woolements-product-table .wpt-tech-cart-btn.loading::after,
.rtl .woolements-product-table .wpt-tech-cart-btn.wpt-action-loading::after {
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
}

/* ========================================================
   Minimal Float Card Theme (طرح مدرن شناور آیکونیک)
   ======================================================== */
section.woolements-product-table.wpt-layout-cards .wpt-card-theme-minimal_float,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-minimal_float .wpt-card-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.05), 0 2px 6px -2px rgba(15, 23, 42, 0.02);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-theme-minimal_float:hover,
section.woolements-product-table.wpt-layout-cards.wpt-card-style-minimal_float .wpt-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Float Media (Top Image Area) */
.wpt-card-theme-minimal_float .wpt-float-media {
  position: relative;
  width: 100%;
  height: 200px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: background-color .25s ease;
}

.wpt-card-theme-minimal_float .wpt-float-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  outline: none;
}

.wpt-card-theme-minimal_float .wpt-float-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}

.wpt-card-theme-minimal_float:hover .wpt-float-img {
  transform: scale(1.05) translateY(-2px);
}

/* Float Content: Category and Title (Above Price and Buttons) */
.wpt-card-theme-minimal_float .wpt-float-content,
.wpt-card-theme-minimal_float .wpt-float-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  width: 100%;
  gap: 4px;
  margin-bottom: 8px;
}

.wpt-card-theme-minimal_float .wpt-float-cat {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.3;
  margin-bottom: 2px;
}

.wpt-card-theme-minimal_float .wpt-float-cat a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.wpt-card-theme-minimal_float .wpt-float-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 0;
  width: 100% !important;
  box-sizing: border-box;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}

.wpt-card-theme-minimal_float .wpt-float-title a {
  color: inherit;
  text-decoration: none;
  transition: color .22s ease, text-decoration .22s ease;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: inherit !important;
}

.wpt-card-theme-minimal_float .wpt-float-title a:hover {
  color: var(--wpt-accent, #6366f1);
}

/* Float Footer: Positioned UNDER the title, holds Price and Action Buttons */
.wpt-card-theme-minimal_float .wpt-float-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.wpt-card-theme-minimal_float .wpt-float-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}

.wpt-card-theme-minimal_float .wpt-float-price .price,
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.wpt-card-theme-minimal_float .wpt-float-price del,
.wpt-card-theme-minimal_float .wpt-float-price del .woocommerce-Price-amount,
.wpt-card-theme-minimal_float .wpt-float-price del bdi {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  text-decoration: line-through;
}

.wpt-card-theme-minimal_float .wpt-float-price ins,
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price-regular,
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price-sale,
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price-variable,
.wpt-card-theme-minimal_float .wpt-float-price .woocommerce-Price-amount,
.wpt-card-theme-minimal_float .wpt-float-price ins .woocommerce-Price-amount,
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price-regular .woocommerce-Price-amount,
.wpt-card-theme-minimal_float .wpt-float-price bdi {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}

.wpt-card-theme-minimal_float .wpt-float-price .wpt-discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 6px;
  background: #fee2e2;
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.wpt-card-theme-minimal_float .wpt-float-price .wpt-unavailable {
  font-size: 13px;
  font-weight: 700;
  color: #ef4444;
}

/* Actions Row (Wishlist, Cart) under title alongside Price */
.wpt-card-theme-minimal_float .wpt-float-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Wishlist Button */
.wpt-card-theme-minimal_float .wpt-float-wishlist-btn,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-wishlist-btn {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none;
  max-height: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0;
  line-height: 1 !important;
  box-sizing: border-box !important;
  flex-shrink: 0;
  transition: all .22s cubic-bezier(.34, 1.56, .64, 1);
}

.wpt-card-theme-minimal_float .wpt-float-wishlist-btn i,
.wpt-card-theme-minimal_float .wpt-float-wishlist-btn svg {
  font-size: 15px;
  width: 15px;
  height: 15px;
  color: inherit;
  fill: currentColor;
  transition: transform .2s ease, color .2s ease;
}

.wpt-card-theme-minimal_float .wpt-float-wishlist-btn:hover {
  transform: scale(1.08);
  color: #ef4444;
  background: #fee2e2;
  border-color: #fca5a5;
}

.wpt-card-theme-minimal_float .wpt-float-wishlist-btn.is-active {
  color: #ef4444;
  background: #fee2e2;
  border-color: #fca5a5;
}

.wpt-card-theme-minimal_float .wpt-float-wishlist-btn.wpt-btn-display-both,
.wpt-card-theme-minimal_float .wpt-float-wishlist-btn.wpt-btn-display-text,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-wishlist-btn.wpt-btn-display-both,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-wishlist-btn.wpt-btn-display-text {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 12px !important;
  gap: 6px;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-btn-display-both,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-btn-display-text,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-btn-display-both,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-btn-display-text {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 14px !important;
  gap: 7px;
}

.wpt-tech-cart-btn.wpt-btn-display-both,
.wpt-tech-cart-btn.wpt-btn-display-text,
.woolements-product-table .wpt-tech-cart-btn.wpt-btn-display-both,
.woolements-product-table .wpt-tech-cart-btn.wpt-btn-display-text {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 14px !important;
  gap: 7px;
}

.wpt-float-wishlist-btn .wpt-btn-text,
.wpt-float-cart-btn .wpt-btn-text,
.wpt-tech-cart-btn .wpt-btn-text {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: inherit;
}

.wpt-float-wishlist-btn.wpt-btn-display-text i,
.wpt-float-wishlist-btn.wpt-btn-display-text svg,
.wpt-float-cart-btn.wpt-btn-display-text i,
.wpt-float-cart-btn.wpt-btn-display-text svg,
.wpt-tech-cart-btn.wpt-btn-display-text i,
.wpt-tech-cart-btn.wpt-btn-display-text svg {
  display: none !important;
}

.wpt-float-wishlist-btn.wpt-btn-display-icon .wpt-btn-text,
.wpt-float-cart-btn.wpt-btn-display-icon .wpt-btn-text,
.wpt-tech-cart-btn.wpt-btn-display-icon .wpt-btn-text {
  display: none !important;
}

/* Add to Cart Button */
.wpt-card-theme-minimal_float .wpt-float-cart-btn,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none;
  max-height: none;
  border-radius: 10px;
  background: #0f8a5f;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(15, 138, 95, 0.25);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  text-decoration: none;
  padding: 0 !important;
  margin: 0;
  line-height: 1 !important;
  box-sizing: border-box !important;
  flex-shrink: 0;
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease, box-shadow .2s ease;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn i,
.wpt-card-theme-minimal_float .wpt-float-cart-btn svg {
  font-size: 14px;
  width: 14px;
  height: 14px;
  color: inherit;
  fill: currentColor;
  line-height: 1;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn:hover {
  transform: scale(1.08);
  background: #0b6c4a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 138, 95, 0.35);
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn:active {
  transform: scale(0.95);
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-view-cart {
  background: #10b981;
  color: #ffffff;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.loading,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.loading,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading {
  position: relative !important;
  pointer-events: none !important;
  color: transparent !important;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading::before,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.loading::before,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading::before {
  display: none !important;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading i,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading svg,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading .wpt-btn-text,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.loading i,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.loading svg,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.loading .wpt-btn-text,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading i,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading svg,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading .wpt-btn-text {
  opacity: 0 !important;
  visibility: hidden !important;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading::after,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.loading::after,
.wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading::after,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading::after,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.loading::after,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translate(-50%, -50%) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: wpt-checkout-spin .6s linear infinite !important;
  box-sizing: border-box !important;
  z-index: 10 !important;
}

[dir="rtl"] .woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading::after,
[dir="rtl"] .woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.loading::after,
[dir="rtl"] .woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading::after,
.rtl .woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.is-loading::after,
.rtl .woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.loading::after,
.rtl .woolements-product-table .wpt-card-theme-minimal_float .wpt-float-cart-btn.wpt-action-loading::after {
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
}

/* Disabled / Out of stock button */
.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-disabled {
  background: #f3f4f6 !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 1;
}

.wpt-card-theme-minimal_float .wpt-float-cart-btn.is-disabled:hover {
  transform: none !important;
  background: #f3f4f6 !important;
  color: #9ca3af !important;
  box-shadow: none !important;
}

.wpt-card-theme-minimal_float .wpt-float-price .wpt-unavailable {
  font-size: 14px;
  font-weight: 700;
  color: #ef4444;
  display: inline-block;
}

/* 5. Card Media Box + Second Image Hover Crossfade */
section.woolements-product-table.wpt-layout-cards .wpt-card-media {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  aspect-ratio: var(--wpt-card-img-ratio, 1 / 1);
  overflow: hidden;
  background: #f3f5fa;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-img-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-img-link img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: var(--wpt-card-img-fit, contain) !important;
  padding: var(--wpt-card-img-pad, 12px) !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
  transition: opacity .42s cubic-bezier(.4, 0, .2, 1), transform .55s cubic-bezier(.22, 1, .36, 1);
}

section.woolements-product-table.wpt-layout-cards .wpt-card-img-secondary {
  opacity: 0;
  transform: scale(1.04);
  z-index: 1;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-item:hover .wpt-card-media.has-second-image .wpt-card-img-primary {
  opacity: 0;
  transform: scale(1.03);
}

section.woolements-product-table.wpt-layout-cards .wpt-card-item:hover .wpt-card-media.has-second-image .wpt-card-img-secondary {
  opacity: 1;
  transform: scale(1.06);
}

section.woolements-product-table.wpt-layout-cards .wpt-card-item:hover .wpt-card-media:not(.has-second-image) .wpt-card-img-primary {
  transform: scale(1.06);
}

/* 6. Corner Badges (Discount, Sale, New) */
.wpt-card-badges {
  position: absolute;
  top: 12px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}

.wpt-card-badges.is-pos-right {
  right: 12px;
  left: auto;
  align-items: flex-start;
}

.wpt-card-badges.is-pos-left {
  left: 12px;
  right: auto;
  align-items: flex-end;
}

.wpt-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

.wpt-card-badge-discount {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.wpt-card-badge-sale {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.wpt-card-badge-new {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* 7. Corner Floating Action Icons (Wishlist, Quick View, Like, Share) */
.wpt-card-floating-icons {
  position: absolute;
  top: 12px;
  z-index: 5;
  display: flex;
  gap: 7px;
  transition: opacity .26s ease, transform .26s ease;
}

.wpt-card-floating-icons.is-pos-left {
  left: 12px;
  right: auto;
}

.wpt-card-floating-icons.is-pos-right {
  right: 12px;
  left: auto;
}

.wpt-card-floating-icons.is-dir-vertical {
  flex-direction: column;
}

.wpt-card-floating-icons.is-dir-horizontal {
  flex-direction: row;
}

.wpt-card-floating-icons.is-vis-hover {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.wpt-card-item:hover .wpt-card-floating-icons.is-vis-hover,
.wpt-card-item:focus-within .wpt-card-floating-icons.is-vis-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wpt-card-icon-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #334155;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.wpt-card-icon-btn:hover {
  transform: scale(1.08);
  background: var(--wpt-accent);
  border-color: var(--wpt-accent);
  color: #fff;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--wpt-accent) 30%, transparent);
}

.wpt-card-icon-btn.wpt-wishlist {
  padding: 0 !important;
  min-height: unset !important;
  gap: 0 !important;
}

.wpt-card-icon-btn.wpt-wishlist.is-active {
  background: #e11d48;
  border-color: #e11d48;
  color: #fff;
}

.wpt-card-icon-btn.wpt-card-like-btn.is-liked {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.wpt-card-icon-btn.wpt-card-like-btn .wpt-like-count {
  position: absolute;
  bottom: -4px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.wpt-card-icon-btn.wpt-card-like-btn.is-liked .wpt-like-count {
  background: #1d4ed8;
}

/* 8. Card & Table Body Content (Title, Taxonomies, Excerpt, Attributes, Price) */
.wpt-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  gap: 6px !important;
  padding: 12px 6px 4px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.wpt-card-title,
.wpt-product-title,
.wpt-product-info h3 {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  color: var(--wpt-text, #1e293b);
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  box-sizing: border-box !important;
}

.wpt-card-title a,
.wpt-product-title a,
.wpt-product-info h3 a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color .18s ease;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

.wpt-card-title a:hover,
.wpt-product-title a:hover,
.wpt-product-info h3 a:hover {
  color: var(--wpt-accent, #6366f1) !important;
}

/* 1-Line Truncation: Ellipsis (...) */
.wpt-lines-1,
.wpt-card-title.wpt-lines-1,
.wpt-float-title.wpt-lines-1,
.wpt-product-title.wpt-lines-1,
.wpt-product-info h3.wpt-lines-1,
.woolements-product-table.wpt-mobile-cards .wpt-product-info h3.wpt-lines-1,
.woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3.wpt-lines-1 {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  max-width: 100% !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  max-height: none !important;
}

.wpt-lines-1 a,
.wpt-card-title.wpt-lines-1 a,
.wpt-float-title.wpt-lines-1 a,
.wpt-product-title.wpt-lines-1 a,
.wpt-product-info h3.wpt-lines-1 a,
.woolements-product-table.wpt-mobile-cards .wpt-product-info h3.wpt-lines-1 a,
.woolements-product-table:not(.wpt-mobile-scroll):not(.wpt-mobile-stack) .wpt-product-info h3.wpt-lines-1 a {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: inherit !important;
  vertical-align: middle !important;
}

/* 2-Lines Truncation: Ellipsis (...) on 2nd line */
.wpt-lines-2,
.wpt-card-title.wpt-lines-2,
.wpt-float-title.wpt-lines-2,
.wpt-product-title.wpt-lines-2,
.wpt-product-info h3.wpt-lines-2,
.wpt-product-info h3:not([class*="wpt-lines-"]) {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.55 !important;
  max-height: calc(1.55em * 2 + 2px) !important;
}

.wpt-lines-2 a,
.wpt-card-title.wpt-lines-2 a,
.wpt-float-title.wpt-lines-2 a,
.wpt-product-title.wpt-lines-2 a,
.wpt-product-info h3.wpt-lines-2 a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: inherit !important;
}

/* 3-Lines Truncation: Ellipsis (...) on 3rd line */
.wpt-lines-3,
.wpt-card-title.wpt-lines-3,
.wpt-float-title.wpt-lines-3,
.wpt-product-title.wpt-lines-3,
.wpt-product-info h3.wpt-lines-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.55 !important;
  max-height: calc(1.55em * 3 + 2px) !important;
}

.wpt-lines-3 a,
.wpt-card-title.wpt-lines-3 a,
.wpt-float-title.wpt-lines-3 a,
.wpt-product-title.wpt-lines-3 a,
.wpt-product-info h3.wpt-lines-3 a {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: inherit !important;
}

/* Full Lines: No limit */
.wpt-lines-full,
.wpt-card-title.wpt-lines-full,
.wpt-product-title.wpt-lines-full,
.wpt-product-info h3.wpt-lines-full {
  display: block !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  max-height: none !important;
  white-space: normal !important;
}

.wpt-lines-full a,
.wpt-card-title.wpt-lines-full a,
.wpt-float-title.wpt-lines-full a {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: inherit !important;
}

/* Universal Clean Taxonomies (Category & Brand) with Seamless Wrapping & No Indentation */
.wpt-taxonomies,
.wpt-card-taxonomies {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 6px 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.wpt-card-taxonomies.wpt-tax-layout-row {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

.wpt-card-taxonomies.wpt-tax-layout-column {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 5px !important;
}

.wpt-product-category,
.wpt-product-brand {
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  color: var(--wpt-muted, #64748b) !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

.wpt-product-category i,
.wpt-product-category svg,
.wpt-product-brand i,
.wpt-product-brand svg {
  margin-top: 3px !important;
  flex-shrink: 0 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  color: var(--wpt-accent, #6366f1) !important;
}

.wpt-terms-list {
  display: inline !important;
  min-width: 0 !important;
  max-width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.5 !important;
}

.wpt-terms-list a,
.wpt-product-category a,
.wpt-product-brand a {
  display: inline !important;
  color: inherit !important;
  text-decoration: none !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  transition: color 0.18s ease !important;
}

.wpt-terms-list a:hover,
.wpt-product-category a:hover,
.wpt-product-brand a:hover {
  color: var(--wpt-accent, #6366f1) !important;
}

.wpt-card-body .wpt-card-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.wpt-card-body .wpt-stock-count {
  margin-top: 0;
}

.wpt-card-excerpt {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--wpt-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wpt-card-excerpt.wpt-excerpt-lines-1 { -webkit-line-clamp: 1; }
.wpt-card-excerpt.wpt-excerpt-lines-2 { -webkit-line-clamp: 2; }
.wpt-card-excerpt.wpt-excerpt-lines-3 { -webkit-line-clamp: 3; }

/* Card Attributes (3 Styles) */
.wpt-card-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wpt-card-attr-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--wpt-line);
  background: #f8fafc;
  font-size: 11px;
  line-height: 1.4;
}

.wpt-card-attr-label {
  color: var(--wpt-muted);
  font-weight: 600;
}

.wpt-card-attr-val {
  color: var(--wpt-text);
  font-weight: 800;
}

.wpt-card-attrs-specs {
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--wpt-line);
}

.wpt-card-attrs-specs .wpt-card-attr-item {
  justify-content: space-between;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px dashed var(--wpt-line);
  border-radius: 0;
  background: transparent;
}

.wpt-card-attrs-specs .wpt-card-attr-item:last-child {
  border-bottom: 0;
}

.wpt-card-attrs-pills .wpt-card-attr-item {
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--wpt-accent) 22%, transparent);
  background: color-mix(in srgb, var(--wpt-accent) 8%, #fff);
}

.wpt-card-attrs-pills .wpt-card-attr-val {
  color: var(--wpt-accent);
}

/* Price Row pinned cleanly before footer */
.wpt-card-price-row {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-price-row .wpt-price {
  align-items: flex-start !important;
}

/* 9. Card Footer (Quantity + Side-by-Side / Stacked Buttons) */
.wpt-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 18px 18px;
  border-top: 1px solid var(--wpt-line);
  box-sizing: border-box;
  width: 100%;
  transition: width .2s ease, max-width .2s ease, height .2s ease, min-height .2s ease, background-color .2s ease, border-color .2s ease;
}

.wpt-card-qty-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-qty-wrap .wpt-quantity {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: 38px 1fr 38px !important;
  height: 38px !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-qty-wrap .wpt-quantity button {
  width: 38px !important;
  height: 32px !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-qty-wrap .wpt-quantity input {
  width: 100% !important;
  max-width: 100% !important;
  height: 32px !important;
  line-height: 32px !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-actions.wpt-card-actions {
  display: flex !important;
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: none !important;
  gap: 8px;
}

section.woolements-product-table.wpt-layout-cards .wpt-actions.wpt-card-actions.wpt-card-btns-row {
  flex-direction: row !important;
  flex-wrap: wrap;
}

section.woolements-product-table.wpt-layout-cards .wpt-actions.wpt-card-actions.wpt-card-btns-row .wpt-button {
  flex: 1 1 0;
  min-width: 0;
}

section.woolements-product-table.wpt-layout-cards .wpt-actions.wpt-card-actions.wpt-card-btns-column {
  flex-direction: column !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-actions.wpt-card-actions.wpt-card-btns-column .wpt-button {
  width: 100%;
  flex: none;
}

section.woolements-product-table.wpt-layout-cards .wpt-actions.wpt-card-actions .wpt-button {
  min-height: 41px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 800;
}

/* حالت نمایش دکمه سبد خرید و مشاهده: فیلد تعداد و دکمه افزودن کنار هم در دسکتاپ و تبلت */
@media (min-width: 768px) {
  section.woolements-product-table.wpt-layout-cards.wpt-view-and-cart-inline .wpt-card-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-view-and-cart-inline .wpt-card-footer .wpt-card-qty-wrap {
    flex: 0 0 auto !important;
    width: auto !important;
    margin-bottom: 0 !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-view-and-cart-inline .wpt-card-footer .wpt-card-actions {
    flex: 1 1 auto !important;
    width: auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-view-and-cart-inline .wpt-card-footer .wpt-card-actions .wpt-button {
    flex: 1 1 0 !important;
    width: auto !important;
  }
}

/* Base Mobile Card Styling (<= 767px) */
@media (max-width: 767px) {
  section.woolements-product-table.wpt-layout-cards .wpt-results {
    grid-template-columns: repeat(var(--wpt-card-cols, 1), minmax(0, 1fr)) !important;
    grid-auto-rows: min-content !important;
    align-items: stretch !important;
    padding: 10px !important;
    gap: 12px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    width: 100% !important;
    overflow: visible !important;
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    border-radius: 20px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern,
  section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-item,
  section.woolements-product-table.wpt-layout-cards .wpt-card-theme-minimal_float,
  section.woolements-product-table.wpt-layout-cards.wpt-card-style-minimal_float .wpt-card-item {
    padding: 10px 10px 14px !important;
    border-radius: 20px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-theme-minimal_float .wpt-float-media {
    height: auto !important;
    aspect-ratio: var(--wpt-card-img-ratio, 1 / 1) !important;
    border-radius: 16px !important;
    padding: 8px !important;
    margin-bottom: 8px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-media {
    overflow: hidden !important;
    border-radius: 16px !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    aspect-ratio: var(--wpt-card-img-ratio, 1 / 1) !important;
    background: var(--wpt-card-canvas-bg, #f1f3f6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-img-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-img-link img,
  section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-img-link img,
  section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-img-link img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: var(--wpt-card-img-fit, contain) !important;
    padding: var(--wpt-card-img-pad, 8px) !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    transform: none !important;
    transition: opacity .3s ease !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-badges {
    top: 8px !important;
    inset-inline-start: 8px !important;
    inset-inline-end: auto !important;
    gap: 4px !important;
    z-index: 4 !important;
    max-width: calc(100% - 46px) !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-badge {
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-icons,
  section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-icons,
  section.woolements-product-table.wpt-layout-cards .wpt-card-floating-icons {
    top: 8px !important;
    inset-inline-end: 8px !important;
    inset-inline-start: auto !important;
    gap: 6px !important;
    z-index: 5 !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-icon-btn,
  section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-icon-btn,
  section.woolements-product-table.wpt-layout-cards .wpt-card-floating-icons .wpt-card-icon-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-floating-icons .wpt-card-icon-btn i,
  section.woolements-product-table.wpt-layout-cards .wpt-card-floating-icons .wpt-card-icon-btn svg {
    font-size: 13px !important;
    width: 13px !important;
    height: 13px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-body {
    padding: 10px 4px 4px !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-theme-tech_modern .wpt-card-body,
  section.woolements-product-table.wpt-layout-cards.wpt-card-style-tech_modern .wpt-card-body {
    padding: 10px 4px 4px !important;
    gap: 5px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-title {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-category,
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-brand {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-rating {
    font-size: 11px !important;
    gap: 4px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-bottom-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-tech-cart-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-tech-cart-btn i,
  section.woolements-product-table.wpt-layout-cards .wpt-tech-cart-btn svg {
    font-size: 15px !important;
    width: 15px !important;
    height: 15px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-price ins,
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-price .wpt-var-ins,
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-price .wpt-price-regular,
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-price > .woocommerce-Price-amount {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-price del,
  section.woolements-product-table.wpt-layout-cards .wpt-card-tech-price .wpt-var-del {
    font-size: 11px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-footer {
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0 !important;
    padding: 10px 12px 14px !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-qty-wrap {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
    margin-bottom: 2px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-qty-wrap .wpt-quantity {
    width: 100% !important;
    max-width: 130px !important;
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-card-qty-wrap .wpt-quantity button {
    height: 28px !important;
    width: 32px !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-actions.wpt-card-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  section.woolements-product-table.wpt-layout-cards .wpt-actions.wpt-card-actions .wpt-button {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    min-height: 38px !important;
    height: 38px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }
}

/* 2-Card Mobile Layout Polish */
@media (max-width: 767px) {
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-results,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-results {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 8px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-item,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-item {
    border-radius: 16px !important;
    padding: 8px 8px 10px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-theme-tech_modern,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-theme-tech_modern,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2.wpt-card-style-tech_modern .wpt-card-item,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2.wpt-card-style-tech_modern .wpt-card-item {
    padding: 8px 8px 10px !important;
    border-radius: 16px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-media,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-media,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2.wpt-card-style-tech_modern .wpt-card-media,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2.wpt-card-style-tech_modern .wpt-card-media {
    border-radius: 14px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-theme-minimal_float,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-theme-minimal_float,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2.wpt-card-style-minimal_float .wpt-card-item,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2.wpt-card-style-minimal_float .wpt-card-item {
    padding: 8px 8px 10px !important;
    border-radius: 16px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-theme-minimal_float .wpt-float-media,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-theme-minimal_float .wpt-float-media {
    border-radius: 12px !important;
    padding: 6px !important;
    margin-bottom: 6px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-img-link img,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-img-link img,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-theme-tech_modern .wpt-card-img-link img,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-theme-tech_modern .wpt-card-img-link img {
    padding: var(--wpt-card-img-pad, 6px) !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-theme-tech_modern .wpt-card-icons,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-theme-tech_modern .wpt-card-icons,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-floating-icons,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-floating-icons {
    top: 6px !important;
    inset-inline-end: 6px !important;
    gap: 4px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-floating-icons .wpt-card-icon-btn,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-floating-icons .wpt-card-icon-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-floating-icons .wpt-card-icon-btn i,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-floating-icons .wpt-card-icon-btn svg {
    font-size: 11px !important;
    width: 11px !important;
    height: 11px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-badges,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-badges {
    top: 6px !important;
    inset-inline-start: 6px !important;
    gap: 3px !important;
    max-width: calc(100% - 38px) !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-badge,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-badge {
    font-size: 9px !important;
    padding: 2px 5px !important;
    border-radius: 5px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-body,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-body,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-theme-tech_modern .wpt-card-body,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-theme-tech_modern .wpt-card-body {
    padding: 8px 2px 2px !important;
    gap: 4px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-title,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-title {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    max-height: 2.8em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-tech-cart-btn,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-tech-cart-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-tech-cart-btn i,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-tech-cart-btn svg {
    font-size: 13px !important;
    width: 13px !important;
    height: 13px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-tech-price ins,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-tech-price ins,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-tech-price .wpt-var-ins,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-tech-price .wpt-var-ins,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-tech-price .wpt-price-regular,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-tech-price .wpt-price-regular,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-tech-price > .woocommerce-Price-amount,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-tech-price > .woocommerce-Price-amount {
    font-size: 13px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-tech-price del,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-tech-price del {
    font-size: 10.5px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-footer,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-footer {
    padding: 8px 8px 10px !important;
    gap: 6px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-actions.wpt-card-actions,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-actions.wpt-card-actions {
    gap: 5px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-actions.wpt-card-actions .wpt-button,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-actions.wpt-card-actions .wpt-button {
    min-height: 34px !important;
    height: 34px !important;
    font-size: 11px !important;
    padding: 0 6px !important;
    border-radius: 8px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-qty-wrap .wpt-quantity,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-qty-wrap .wpt-quantity {
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 8px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-qty-wrap .wpt-quantity button,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-qty-wrap .wpt-quantity button {
    height: 26px !important;
    width: 28px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-price-qty-row,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-price-qty-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-price-col,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-price-col {
    justify-content: flex-start !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-qty-col,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-qty-col {
    width: 100% !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-2 .wpt-card-qty-col .wpt-quantity,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-2 .wpt-card-qty-col .wpt-quantity {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* 1-Card Mobile Layout Polish (wpt-card-cols-1) */
@media (max-width: 767px) {
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-results,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-1 .wpt-results {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 12px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-card-item,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-1 .wpt-card-item {
    border-radius: 20px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-card-media,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-1 .wpt-card-media {
    border-radius: 16px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-card-footer,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-1 .wpt-card-footer {
    padding: 12px 16px 16px !important;
    gap: 10px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-actions.wpt-card-actions,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-1 .wpt-actions.wpt-card-actions {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-actions.wpt-card-actions .wpt-button,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-1 .wpt-actions.wpt-card-actions .wpt-button {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-1 .wpt-card-qty-wrap .wpt-quantity,
  section.woolements-product-table.wpt-layout-cards.wpt-card-cols-mob-1 .wpt-card-qty-wrap .wpt-quantity {
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 10px !important;
  }
}

/* ==========================================================================
   Phase 5: Enhanced Cart Button Styles (With Price & Integrated Quantity)
   ========================================================================== */

/* 1. Base wrapper inside styled cart button */
.wpt-cart-btn-content {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.wpt-cart-main-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}

/* 2. Style A: Cart Button with Embedded Live Price Badge */
.wpt-button.wpt-cart.wpt-cart-style-with_price {
  padding: 0 14px !important;
  justify-content: space-between !important;
  background: linear-gradient(135deg, var(--wpt-accent), color-mix(in srgb, var(--wpt-accent) 85%, #000)) !important;
  border-color: var(--wpt-accent) !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--wpt-accent) 28%, transparent);
}

.wpt-cart-price-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.3;
  direction: rtl;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background-color .2s ease, transform .2s ease;
}

.wpt-button.wpt-cart:hover .wpt-cart-price-badge {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.04);
}

.wpt-cart-price-badge bdi,
.wpt-cart-price-badge .woocommerce-Price-amount {
  color: inherit !important;
}

/* 3. Style B: Cart Button with Integrated Quantity Stepper */
.wpt-button.wpt-cart.wpt-cart-style-integrated_qty {
  padding: 3px 8px !important;
  background: linear-gradient(135deg, var(--wpt-accent), color-mix(in srgb, var(--wpt-accent) 85%, #000)) !important;
  border-color: var(--wpt-accent) !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--wpt-accent) 28%, transparent);
}

.wpt-cart-integrated-qty {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.wpt-int-qty-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11.5px;
  cursor: pointer;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color .18s ease, transform .15s ease, box-shadow .18s ease;
}

.wpt-int-qty-ctrl:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wpt-int-qty-ctrl:active {
  transform: scale(0.92);
}

.wpt-int-qty-val {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 850;
  color: #fff;
  user-select: none;
}

.wpt-int-qty-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
}

/* در صورت فعال بودن ادغام تعداد داخل دکمه در کارت، فیلد تعداد مستقل بالا مخفی می‌شود تا تکراری نشود */
section.woolements-product-table.wpt-layout-cards:has(.wpt-cart-style-integrated_qty) .wpt-card-qty-wrap {
  display: none !important;
}

/* سازگاری با تم تیره لوکس */
.wpt-preset-dark_luxury .wpt-cart-price-badge,
.wpt-preset-dark_luxury .wpt-int-qty-ctrl {
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Button Content Display Modes (both, text only, icon only)
   Strictly enforced across table rows, cards, popups and responsive views
   ========================================================================== */

/* 1. Cart & Choose Variation Buttons */
/* --- Text Only: hide icon, show text --- */
.wpt-cart-display-text .wpt-cart i,
.wpt-cart-display-text .wpt-cart svg,
.wpt-cart-display-text .wpt-choose-variation i,
.wpt-cart-display-text .wpt-choose-variation svg,
.wpt-cart-display-text .single_add_to_cart_button i,
.wpt-cart-display-text .single_add_to_cart_button svg,
.wpt-cart-display-text .wpt-variation-body .single_add_to_cart_button i,
.wpt-cart-display-text .wpt-variation-body .single_add_to_cart_button svg,
.woolements-product-table.wpt-cart-display-text .wpt-cart i,
.woolements-product-table.wpt-cart-display-text .wpt-cart svg,
.woolements-product-table.wpt-cart-display-text .wpt-choose-variation i,
.woolements-product-table.wpt-cart-display-text .wpt-choose-variation svg {
  display: none !important;
}
.wpt-cart-display-text .wpt-cart span,
.wpt-cart-display-text .wpt-choose-variation span,
.wpt-cart-display-text .single_add_to_cart_button span,
.woolements-product-table.wpt-cart-display-text .wpt-cart span,
.woolements-product-table.wpt-cart-display-text .wpt-choose-variation span {
  display: inline-block !important;
}
.wpt-cart-display-text .wpt-cart .wpt-cart-title {
  display: inline-block !important;
}

/* --- Icon Only: hide text, show icon --- */
.wpt-cart-display-icon .wpt-cart > span:not(.wpt-cart-btn-content),
.wpt-cart-display-icon .wpt-cart .wpt-cart-title,
.wpt-cart-display-icon .wpt-choose-variation > span,
.wpt-cart-display-icon .single_add_to_cart_button > span,
.wpt-cart-display-icon .wpt-variation-body .single_add_to_cart_button > span,
.woolements-product-table.wpt-cart-display-icon .wpt-cart > span:not(.wpt-cart-btn-content),
.woolements-product-table.wpt-cart-display-icon .wpt-cart .wpt-cart-title,
.woolements-product-table.wpt-cart-display-icon .wpt-choose-variation > span {
  display: none !important;
}
.wpt-cart-display-icon .wpt-cart i,
.wpt-cart-display-icon .wpt-cart svg,
.wpt-cart-display-icon .wpt-choose-variation i,
.wpt-cart-display-icon .wpt-choose-variation svg,
.wpt-cart-display-icon .single_add_to_cart_button i,
.wpt-cart-display-icon .single_add_to_cart_button svg,
.wpt-cart-display-icon .wpt-variation-body .single_add_to_cart_button i,
.wpt-cart-display-icon .wpt-variation-body .single_add_to_cart_button svg,
.woolements-product-table.wpt-cart-display-icon .wpt-cart i,
.woolements-product-table.wpt-cart-display-icon .wpt-cart svg,
.woolements-product-table.wpt-cart-display-icon .wpt-choose-variation i,
.woolements-product-table.wpt-cart-display-icon .wpt-choose-variation svg {
  display: inline-flex !important;
}
.wpt-cart-display-icon .wpt-cart.wpt-cart-style-with_price .wpt-cart-price-badge,
.woolements-product-table.wpt-cart-display-icon .wpt-cart.wpt-cart-style-with_price .wpt-cart-price-badge {
  display: inline-flex !important;
}
.wpt-cart-display-icon .wpt-cart.wpt-cart-style-integrated_qty .wpt-int-qty-ctrl,
.wpt-cart-display-icon .wpt-cart.wpt-cart-style-integrated_qty .wpt-int-qty-val,
.woolements-product-table.wpt-cart-display-icon .wpt-cart.wpt-cart-style-integrated_qty .wpt-int-qty-ctrl,
.woolements-product-table.wpt-cart-display-icon .wpt-cart.wpt-cart-style-integrated_qty .wpt-int-qty-val {
  display: inline-flex !important;
}

/* 2. Quick Buy Button */
/* --- Text Only: hide icon, show text --- */
.wpt-quick-display-text .wpt-quick-buy i,
.wpt-quick-display-text .wpt-quick-buy svg,
.wpt-quick-display-text .wpt-variation-quick-buy i,
.wpt-quick-display-text .wpt-variation-quick-buy svg,
.wpt-quick-display-text .wpt-variation-body .wpt-variation-quick-buy i,
.wpt-quick-display-text .wpt-variation-body .wpt-variation-quick-buy svg,
.woolements-product-table.wpt-quick-display-text .wpt-quick-buy i,
.woolements-product-table.wpt-quick-display-text .wpt-quick-buy svg {
  display: none !important;
}
.wpt-quick-display-text .wpt-quick-buy span,
.wpt-quick-display-text .wpt-variation-quick-buy span,
.wpt-quick-display-text .wpt-variation-body .wpt-variation-quick-buy span,
.woolements-product-table.wpt-quick-display-text .wpt-quick-buy span {
  display: inline-block !important;
}

/* --- Icon Only: hide text, show icon --- */
.wpt-quick-display-icon .wpt-quick-buy span,
.wpt-quick-display-icon .wpt-variation-quick-buy span,
.wpt-quick-display-icon .wpt-variation-body .wpt-variation-quick-buy span,
.woolements-product-table.wpt-quick-display-icon .wpt-quick-buy span {
  display: none !important;
}
.wpt-quick-display-icon .wpt-quick-buy i,
.wpt-quick-display-icon .wpt-quick-buy svg,
.wpt-quick-display-icon .wpt-variation-quick-buy i,
.wpt-quick-display-icon .wpt-variation-quick-buy svg,
.wpt-quick-display-icon .wpt-variation-body .wpt-variation-quick-buy i,
.wpt-quick-display-icon .wpt-variation-body .wpt-variation-quick-buy svg,
.woolements-product-table.wpt-quick-display-icon .wpt-quick-buy i,
.woolements-product-table.wpt-quick-display-icon .wpt-quick-buy svg {
  display: inline-flex !important;
}

/* 3. View Product Button */
/* --- Text Only: hide icon, show text --- */
.wpt-view-display-text .wpt-view-product i,
.wpt-view-display-text .wpt-view-product svg,
.woolements-product-table.wpt-view-display-text .wpt-view-product i,
.woolements-product-table.wpt-view-display-text .wpt-view-product svg {
  display: none !important;
}
.wpt-view-display-text .wpt-view-product span,
.woolements-product-table.wpt-view-display-text .wpt-view-product span {
  display: inline-block !important;
}

/* --- Icon Only: hide text, show icon --- */
.wpt-view-display-icon .wpt-view-product span,
.woolements-product-table.wpt-view-display-icon .wpt-view-product span {
  display: none !important;
}
.wpt-view-display-icon .wpt-view-product i,
.wpt-view-display-icon .wpt-view-product svg,
.woolements-product-table.wpt-view-display-icon .wpt-view-product i,
.woolements-product-table.wpt-view-display-icon .wpt-view-product svg {
  display: inline-flex !important;
}

/* 4. Wishlist Button (in table actions) */
/* --- Text Only: hide icon, show text --- */
.wpt-wishlist-display-text .wpt-actions .wpt-wishlist i,
.wpt-wishlist-display-text .wpt-actions .wpt-wishlist svg,
.woolements-product-table.wpt-wishlist-display-text .wpt-actions .wpt-wishlist i,
.woolements-product-table.wpt-wishlist-display-text .wpt-actions .wpt-wishlist svg {
  display: none !important;
}
.wpt-wishlist-display-text .wpt-actions .wpt-wishlist span,
.woolements-product-table.wpt-wishlist-display-text .wpt-actions .wpt-wishlist span {
  display: inline-block !important;
}

/* --- Icon Only: hide text, show icon --- */
.wpt-wishlist-display-icon .wpt-actions .wpt-wishlist span,
.woolements-product-table.wpt-wishlist-display-icon .wpt-actions .wpt-wishlist span {
  display: none !important;
}
.wpt-wishlist-display-icon .wpt-actions .wpt-wishlist i,
.wpt-wishlist-display-icon .wpt-actions .wpt-wishlist svg,
.woolements-product-table.wpt-wishlist-display-icon .wpt-actions .wpt-wishlist i,
.woolements-product-table.wpt-wishlist-display-icon .wpt-actions .wpt-wishlist svg {
  display: inline-flex !important;
}

/* ==========================================================================
   Smart Floating Tooltips for Action Buttons
   ========================================================================== */
.wpt-tooltip-bubble {
  position: fixed !important;
  z-index: 99999999 !important;
  pointer-events: none !important;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: opacity .18s cubic-bezier(.22, 1, .36, 1), transform .18s cubic-bezier(.22, 1, .36, 1);
  will-change: transform, opacity;
  direction: rtl;
  font-family: inherit;
}

.wpt-tooltip-bubble.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.wpt-tooltip-bubble .wpt-tooltip-content {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
  white-space: nowrap;
  border-radius: 9px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.35), 0 4px 10px -2px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  box-sizing: border-box;
}

.wpt-tooltip-bubble .wpt-tooltip-arrow {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(15, 23, 42, 0.94);
  pointer-events: none;
  transform: rotate(45deg);
  box-sizing: border-box;
}

/* Arrow Positions & Borders */
.wpt-tooltip-bubble.wpt-tooltip-top .wpt-tooltip-arrow {
  bottom: -4px;
  left: 50%;
  margin-left: -4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.wpt-tooltip-bubble.wpt-tooltip-bottom .wpt-tooltip-arrow {
  top: -4px;
  left: 50%;
  margin-left: -4px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.wpt-tooltip-bubble.wpt-tooltip-left .wpt-tooltip-arrow {
  right: -4px;
  top: 50%;
  margin-top: -4px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.wpt-tooltip-bubble.wpt-tooltip-right .wpt-tooltip-arrow {
  left: -4px;
  top: 50%;
  margin-top: -4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tooltip Micro-Animations */
.wpt-tooltip-bubble.wpt-anim-zoom {
  transform: scale(0.85);
}
.wpt-tooltip-bubble.wpt-anim-zoom.is-visible {
  transform: scale(1);
}

.wpt-tooltip-bubble.wpt-anim-fade {
  transform: none;
}
.wpt-tooltip-bubble.wpt-anim-fade.is-visible {
  transform: none;
}

.wpt-tooltip-bubble.wpt-anim-slide.wpt-tooltip-top {
  transform: translateY(6px);
}
.wpt-tooltip-bubble.wpt-anim-slide.wpt-tooltip-top.is-visible {
  transform: translateY(0);
}
.wpt-tooltip-bubble.wpt-anim-slide.wpt-tooltip-bottom {
  transform: translateY(-6px);
}
.wpt-tooltip-bubble.wpt-anim-slide.wpt-tooltip-bottom.is-visible {
  transform: translateY(0);
}
.wpt-tooltip-bubble.wpt-anim-slide.wpt-tooltip-left {
  transform: translateX(6px);
}
.wpt-tooltip-bubble.wpt-anim-slide.wpt-tooltip-left.is-visible {
  transform: translateX(0);
}
.wpt-tooltip-bubble.wpt-anim-slide.wpt-tooltip-right {
  transform: translateX(-6px);
}
.wpt-tooltip-bubble.wpt-anim-slide.wpt-tooltip-right.is-visible {
  transform: translateX(0);
}

.wpt-tooltip-bubble.wpt-anim-bounce {
  transform: scale(0.65);
  transition-timing-function: cubic-bezier(.34, 1.56, .64, 1);
}
.wpt-tooltip-bubble.wpt-anim-bounce.is-visible {
  transform: scale(1);
}

/* Luxury Dark Preset Theme */
.wpt-preset-dark_luxury .wpt-tooltip-bubble .wpt-tooltip-content {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}
.wpt-preset-dark_luxury .wpt-tooltip-bubble .wpt-tooltip-arrow {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Mobile Hide when enabled */
@media (max-width: 767px) {
  .woolements-product-table[data-tooltip-hide-mobile="yes"] ~ .wpt-tooltip-bubble,
  .woolements-product-table[data-tooltip-hide-mobile="yes"] .wpt-tooltip-bubble {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* ==========================================================================
   Phase 6: Inline Price & Quantity Row + Advanced Quantity Stepper Styles
   ========================================================================== */

/* 1. Inline Price and Quantity Row in Card Mode */
.wpt-card-price-qty-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wpt-card-price-qty-row.wpt-layout-inline {
  flex-wrap: nowrap !important;
}

/* Smart Auto-Wrap Mode: beside quantity when space permits, gracefully breaks into separate lines when narrow */
.wpt-card-price-qty-row.wpt-layout-smart_auto {
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
}

.wpt-card-price-qty-row.wpt-layout-smart_auto .wpt-card-price-col {
  flex: 1 1 120px !important;
  min-width: 105px !important;
}

.wpt-card-price-qty-row.wpt-layout-smart_auto .wpt-card-qty-col {
  flex: 0 0 auto !important;
}

.wpt-card-price-qty-row.wpt-align-space_between {
  justify-content: space-between !important;
}

.wpt-card-price-qty-row.wpt-align-start {
  justify-content: flex-start !important;
}

.wpt-card-price-qty-row.wpt-align-center {
  justify-content: center !important;
}

.wpt-card-price-qty-row.wpt-align-end {
  justify-content: flex-end !important;
}

.wpt-card-price-qty-row.wpt-reverse {
  flex-direction: row-reverse !important;
}

.wpt-card-price-col {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.wpt-card-price-col .wpt-price {
  align-items: flex-start !important;
  margin: 0 !important;
}

.wpt-card-qty-col {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.wpt-card-qty-col .wpt-quantity {
  margin: 0 !important;
}

/* Equal Footer Height Baseline on Grid Rows */
section.woolements-product-table.wpt-layout-cards .wpt-card-item {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
}

section.woolements-product-table.wpt-layout-cards .wpt-card-footer {
  margin-top: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Ensure empty/absent quantity space in variable products does not cause footer height mismatch */
section.woolements-product-table.wpt-layout-cards:not(.wpt-view-and-cart-inline) .wpt-card-item.product-type-variable .wpt-card-footer {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

/* Equalizing actions row across simple & variable products in horizontal row mode */
@media (min-width: 768px) {
  section.woolements-product-table.wpt-layout-cards .wpt-card-actions.wpt-card-btns-row {
    min-height: 41px !important;
    align-items: stretch !important;
  }

  section.woolements-product-table.wpt-layout-cards .wpt-card-actions.wpt-card-btns-row .wpt-button {
    height: auto !important;
    min-height: 41px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .wpt-card-price-qty-row.wpt-layout-smart_auto {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .wpt-card-price-qty-row.wpt-layout-smart_auto .wpt-card-price-col,
  .wpt-card-price-qty-row.wpt-layout-smart_auto .wpt-card-qty-col {
    width: 100% !important;
    justify-content: center !important;
  }
  .wpt-card-price-qty-row.wpt-layout-smart_auto .wpt-card-qty-col .wpt-quantity {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* 2. Modernized Quantity Stepper Base Geometry & Responsiveness */
.woolements-product-table .wpt-quantity,
.wpt-quick-view-modal .wpt-quantity,
.wpt-variation-modal .quantity {
  display: inline-grid !important;
  grid-template-columns: var(--wpt-qty-btn-size, 32px) minmax(28px, 1fr) var(--wpt-qty-btn-size, 32px) !important;
  align-items: center !important;
  justify-items: center !important;
  width: var(--wpt-qty-width, 108px) !important;
  height: var(--wpt-qty-height, 36px) !important;
  min-height: var(--wpt-qty-height, 36px) !important;
  margin: 0 !important;
  padding: 3px !important;
  border: 1px solid var(--wpt-line, #e2e8f0);
  border-radius: 12px;
  background: var(--wpt-qty-bg, #f8fafc) !important;
  direction: ltr !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.woolements-product-table .wpt-quantity:not(.is-disabled):hover,
.wpt-quick-view-modal .wpt-quantity:hover {
  border-color: color-mix(in srgb, var(--wpt-accent) 45%, var(--wpt-line, #e2e8f0)) !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--wpt-accent) 12%, transparent);
}

.woolements-product-table .wpt-quantity:not(.is-disabled):focus-within,
.wpt-quick-view-modal .wpt-quantity:focus-within {
  border-color: var(--wpt-accent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpt-accent) 15%, transparent);
}

/* Buttons (+ and -) */
.woolements-product-table .wpt-quantity button,
.wpt-quick-view-modal .wpt-quantity button,
.wpt-variation-modal .quantity button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 8px;
  background: var(--wpt-qty-button-bg, #ffffff) !important;
  color: var(--wpt-qty-button-color, var(--wpt-accent)) !important;
  font-size: 13px !important;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  transition: background-color .18s ease, color .18s ease, transform .15s ease, box-shadow .18s ease;
  user-select: none;
}

.woolements-product-table .wpt-quantity button:not(:disabled):hover,
.wpt-quick-view-modal .wpt-quantity button:not(:disabled):hover {
  background: var(--wpt-qty-button-hover-bg, var(--wpt-accent)) !important;
  color: var(--wpt-qty-button-hover-color, #ffffff) !important;
  transform: scale(1.06);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--wpt-accent) 26%, transparent);
}

.woolements-product-table .wpt-quantity button:not(:disabled):active,
.wpt-quick-view-modal .wpt-quantity button:not(:disabled):active {
  transform: scale(0.92);
}

.woolements-product-table .wpt-quantity button:disabled,
.wpt-quick-view-modal .wpt-quantity button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--wpt-qty-button-disabled-bg, transparent) !important;
  color: var(--wpt-qty-button-disabled-color, #94a3b8) !important;
  box-shadow: none;
}

.woolements-product-table .wpt-quantity button i,
.woolements-product-table .wpt-quantity button svg,
.wpt-quick-view-modal .wpt-quantity button i,
.wpt-quick-view-modal .wpt-quantity button svg {
  display: inline-block !important;
  font-size: inherit !important;
  width: 1em !important;
  height: 1em !important;
  pointer-events: none;
  fill: currentColor;
}

/* Input Number */
.woolements-product-table .wpt-quantity input,
.wpt-quick-view-modal .wpt-quantity input,
.wpt-variation-modal .quantity input {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  background: var(--wpt-qty-input-bg, transparent) !important;
  color: var(--wpt-qty-number, var(--wpt-text, #0f172a)) !important;
  font-size: 13.5px !important;
  font-weight: 850 !important;
  text-align: center !important;
  outline: none !important;
  box-shadow: none !important;
  direction: ltr !important;
  user-select: none;
  -moz-appearance: textfield;
}

.woolements-product-table .wpt-quantity input::-webkit-outer-spin-button,
.woolements-product-table .wpt-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 3. Four Design Style Presets for Quantity Stepper */
/* A. Modern Floating Pill */
.wpt-qty-style-modern_pill .wpt-quantity,
.woolements-product-table.wpt-qty-style-modern_pill .wpt-quantity,
.wpt-quantity.wpt-qty-style-modern_pill {
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}
.wpt-qty-style-modern_pill .wpt-quantity button,
.woolements-product-table.wpt-qty-style-modern_pill .wpt-quantity button,
.wpt-quantity.wpt-qty-style-modern_pill button {
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

/* B. Clean Outline */
.wpt-qty-style-clean_outline .wpt-quantity,
.woolements-product-table.wpt-qty-style-clean_outline .wpt-quantity,
.wpt-quantity.wpt-qty-style-clean_outline {
  background: transparent !important;
  border: 1.5px solid var(--wpt-line, #cbd5e1) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.wpt-qty-style-clean_outline .wpt-quantity button,
.woolements-product-table.wpt-qty-style-clean_outline .wpt-quantity button,
.wpt-quantity.wpt-qty-style-clean_outline button {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 7px !important;
  color: var(--wpt-text, #1e293b) !important;
}
.wpt-qty-style-clean_outline .wpt-quantity button:not(:disabled):hover,
.woolements-product-table.wpt-qty-style-clean_outline .wpt-quantity button:not(:disabled):hover,
.wpt-quantity.wpt-qty-style-clean_outline button:not(:disabled):hover {
  background: var(--wpt-accent) !important;
  color: #ffffff !important;
}
.wpt-qty-style-clean_outline .wpt-quantity input,
.woolements-product-table.wpt-qty-style-clean_outline .wpt-quantity input,
.wpt-quantity.wpt-qty-style-clean_outline input {
  color: var(--wpt-text, #1e293b) !important;
}

/* C. Soft Filled */
.wpt-qty-style-soft_filled .wpt-quantity,
.woolements-product-table.wpt-qty-style-soft_filled .wpt-quantity,
.wpt-quantity.wpt-qty-style-soft_filled {
  background: color-mix(in srgb, var(--wpt-accent) 9%, #ffffff) !important;
  border: 1px solid color-mix(in srgb, var(--wpt-accent) 24%, transparent) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--wpt-accent) 8%, transparent) !important;
}
.wpt-qty-style-soft_filled .wpt-quantity button,
.woolements-product-table.wpt-qty-style-soft_filled .wpt-quantity button,
.wpt-quantity.wpt-qty-style-soft_filled button {
  background: #ffffff !important;
  color: var(--wpt-accent) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--wpt-accent) 15%, transparent) !important;
}
.wpt-qty-style-soft_filled .wpt-quantity input,
.woolements-product-table.wpt-qty-style-soft_filled .wpt-quantity input,
.wpt-quantity.wpt-qty-style-soft_filled input {
  color: var(--wpt-accent) !important;
  font-weight: 900 !important;
}

/* D. Frosted Glass */
.wpt-qty-style-glassmorphic .wpt-quantity,
.woolements-product-table.wpt-qty-style-glassmorphic .wpt-quantity,
.wpt-quantity.wpt-qty-style-glassmorphic {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}
.wpt-qty-style-glassmorphic .wpt-quantity button,
.woolements-product-table.wpt-qty-style-glassmorphic .wpt-quantity button,
.wpt-quantity.wpt-qty-style-glassmorphic button {
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 10px !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Luxury Dark Mode Quantity Stepper */
.wpt-preset-dark_luxury .wpt-quantity {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.wpt-preset-dark_luxury .wpt-quantity button {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}
.wpt-preset-dark_luxury .wpt-quantity input {
  color: #ffffff !important;
}

/* Table View Product Excerpt */
.wpt-table-excerpt {
  margin: 6px 0 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--wpt-muted, #64748b);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.wpt-preset-dark_luxury .wpt-table-excerpt {
  color: #94a3b8;
}

/* Card Media placeholder when image is disabled but badges/icons are present */
.wpt-card-media.wpt-no-image {
  aspect-ratio: auto !important;
  min-height: 54px !important;
  background: transparent !important;
}

/* Minimal Float Badges */
.wpt-card-theme-minimal_float .wpt-float-media {
  position: relative;
}
.wpt-card-theme-minimal_float .wpt-float-badges {
  position: absolute;
  top: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 20px);
  pointer-events: none;
}
.wpt-card-theme-minimal_float .wpt-float-badges.is-pos-left {
  left: 10px;
}
.wpt-card-theme-minimal_float .wpt-float-badges.is-pos-right {
  right: 10px;
  align-items: flex-end;
}
.wpt-card-theme-minimal_float .wpt-float-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.wpt-float-badge-discount { background: #ef4444; }
.wpt-float-badge-sale { background: #f59e0b; }
.wpt-float-badge-new { background: #10b981; }
.wpt-float-badge-bestseller { background: #8b5cf6; }

/* Discount badge location in price */
.woolements-product-table .wpt-price .wpt-discount-badge-inline {
  display: inline-flex !important;
  margin-inline-start: 6px !important;
  vertical-align: middle;
}
.woolements-product-table .wpt-price .wpt-discount-badge-above,
.woolements-product-table .wpt-price .wpt-discount-badge-below {
  display: inline-flex !important;
  width: fit-content !important;
  flex: 0 0 auto;
  margin-inline-start: 0 !important;
  margin-block: 2px !important;
}
/* Minimal Float Price & Discount Badge Layout */
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price-amounts,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-price-amounts {
  display: inline-flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

/* وقتی نشان تخفیف کنار قیمت (inline) است */
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price.wpt-discount-pos-inline,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-price.wpt-discount-pos-inline,
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price-sale.wpt-discount-pos-inline,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-price-sale.wpt-discount-pos-inline {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
}

.wpt-card-theme-minimal_float .wpt-float-price .wpt-discount-badge-inline,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-discount-badge-inline {
  display: inline-flex !important;
  align-self: center !important;
  flex-shrink: 0 !important;
  margin-inline-start: 6px !important;
  white-space: nowrap !important;
  order: 2 !important;
}

/* وقتی نشان تخفیف بالای قیمت است */
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price.wpt-discount-pos-above,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-price.wpt-discount-pos-above,
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price:has(.wpt-discount-badge-above),
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-price:has(.wpt-discount-badge-above) {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
}
.wpt-card-theme-minimal_float .wpt-float-price .wpt-discount-badge-above,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-discount-badge-above {
  order: 0 !important;
}

/* وقتی نشان تخفیف زیر قیمت است */
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price.wpt-discount-pos-below,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-price.wpt-discount-pos-below,
.wpt-card-theme-minimal_float .wpt-float-price .wpt-price:has(.wpt-discount-badge-below),
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-price:has(.wpt-discount-badge-below) {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
}
.wpt-card-theme-minimal_float .wpt-float-price .wpt-discount-badge-below,
.woolements-product-table .wpt-card-theme-minimal_float .wpt-float-price .wpt-discount-badge-below {
  order: 4 !important;
}

/* Minimal Float Image & Frame Sizing */
.wpt-card-theme-minimal_float .wpt-float-media.is-match-frame,
.wpt-card-theme-minimal_float .wpt-float-media.is-match-size {
  padding: 0 !important;
}

.wpt-card-theme-minimal_float .wpt-float-media.is-match-frame .wpt-float-img-link,
.wpt-card-theme-minimal_float .wpt-float-media.is-match-size .wpt-float-img-link {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
}

.wpt-card-theme-minimal_float .wpt-float-media.is-match-frame .wpt-float-img,
.wpt-card-theme-minimal_float .wpt-float-media.is-match-size .wpt-float-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
}

.wpt-card-theme-minimal_float .wpt-float-media.is-auto-width {
  width: fit-content !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

/* ==========================================================================
   Out-of-Stock Product Image Effects (All Layouts: Table, Cards, Minimal Float)
   ========================================================================== */
.woolements-product-table .wpt-product.is-unavailable img,
.woolements-product-table .wpt-product.is-unavailable .wpt-float-img,
.woolements-product-table .wpt-product.is-unavailable .wpt-card-img,
.woolements-product-table .wpt-product.is-unavailable .wpt-product-media img {
  transition: filter .32s cubic-bezier(.22, 1, .36, 1), opacity .32s cubic-bezier(.22, 1, .36, 1) !important;
}

/* Grayscale (سیاه و سفید) */
.woolements-product-table.wpt-unavail-img-grayscale .wpt-product.is-unavailable img,
.woolements-product-table.wpt-unavail-img-grayscale .wpt-product.is-unavailable .wpt-float-img,
.woolements-product-table.wpt-unavail-img-grayscale .wpt-product.is-unavailable .wpt-card-img,
.woolements-product-table.wpt-unavail-img-grayscale .wpt-product.is-unavailable .wpt-product-media img {
  filter: grayscale(var(--wpt-unavail-grayscale, 100%)) !important;
}

/* Blur (تار شدن) */
.woolements-product-table.wpt-unavail-img-blur .wpt-product.is-unavailable img,
.woolements-product-table.wpt-unavail-img-blur .wpt-product.is-unavailable .wpt-float-img,
.woolements-product-table.wpt-unavail-img-blur .wpt-product.is-unavailable .wpt-card-img,
.woolements-product-table.wpt-unavail-img-blur .wpt-product.is-unavailable .wpt-product-media img {
  filter: blur(var(--wpt-unavail-blur, 3px)) !important;
}

/* Grayscale + Blur (سیاه و سفید و تار) */
.woolements-product-table.wpt-unavail-img-grayscale_blur .wpt-product.is-unavailable img,
.woolements-product-table.wpt-unavail-img-grayscale_blur .wpt-product.is-unavailable .wpt-float-img,
.woolements-product-table.wpt-unavail-img-grayscale_blur .wpt-product.is-unavailable .wpt-card-img,
.woolements-product-table.wpt-unavail-img-grayscale_blur .wpt-product.is-unavailable .wpt-product-media img {
  filter: grayscale(var(--wpt-unavail-grayscale, 100%)) blur(var(--wpt-unavail-blur, 3px)) !important;
}

/* Opacity (نیمه‌شفاف / کم‌رنگ) */
.woolements-product-table.wpt-unavail-img-opacity .wpt-product.is-unavailable img,
.woolements-product-table.wpt-unavail-img-opacity .wpt-product.is-unavailable .wpt-float-img,
.woolements-product-table.wpt-unavail-img-opacity .wpt-product.is-unavailable .wpt-card-img,
.woolements-product-table.wpt-unavail-img-opacity .wpt-product.is-unavailable .wpt-product-media img {
  opacity: var(--wpt-unavail-opacity, 0.6) !important;
}

/* Grayscale + Opacity */
.woolements-product-table.wpt-unavail-img-grayscale_opacity .wpt-product.is-unavailable img,
.woolements-product-table.wpt-unavail-img-grayscale_opacity .wpt-product.is-unavailable .wpt-float-img,
.woolements-product-table.wpt-unavail-img-grayscale_opacity .wpt-product.is-unavailable .wpt-card-img,
.woolements-product-table.wpt-unavail-img-grayscale_opacity .wpt-product.is-unavailable .wpt-product-media img {
  filter: grayscale(var(--wpt-unavail-grayscale, 100%)) !important;
  opacity: var(--wpt-unavail-opacity, 0.6) !important;
}

/* Blur + Opacity */
.woolements-product-table.wpt-unavail-img-blur_opacity .wpt-product.is-unavailable img,
.woolements-product-table.wpt-unavail-img-blur_opacity .wpt-product.is-unavailable .wpt-float-img,
.woolements-product-table.wpt-unavail-img-blur_opacity .wpt-product.is-unavailable .wpt-card-img,
.woolements-product-table.wpt-unavail-img-blur_opacity .wpt-product.is-unavailable .wpt-product-media img {
  filter: blur(var(--wpt-unavail-blur, 3px)) !important;
  opacity: var(--wpt-unavail-opacity, 0.6) !important;
}

/* All: Grayscale + Blur + Opacity */
.woolements-product-table.wpt-unavail-img-all .wpt-product.is-unavailable img,
.woolements-product-table.wpt-unavail-img-all .wpt-product.is-unavailable .wpt-float-img,
.woolements-product-table.wpt-unavail-img-all .wpt-product.is-unavailable .wpt-card-img,
.woolements-product-table.wpt-unavail-img-all .wpt-product.is-unavailable .wpt-product-media img {
  filter: grayscale(var(--wpt-unavail-grayscale, 100%)) blur(var(--wpt-unavail-blur, 3px)) !important;
  opacity: var(--wpt-unavail-opacity, 0.6) !important;
}

/* Hover Restore */
.woolements-product-table.wpt-unavail-img-hover-restore .wpt-product.is-unavailable:hover img,
.woolements-product-table.wpt-unavail-img-hover-restore .wpt-product.is-unavailable:hover .wpt-float-img,
.woolements-product-table.wpt-unavail-img-hover-restore .wpt-product.is-unavailable:hover .wpt-card-img,
.woolements-product-table.wpt-unavail-img-hover-restore .wpt-product.is-unavailable:hover .wpt-product-media img {
  filter: none !important;
  opacity: 1 !important;
}

/* ==========================================================================
   Search Bar & Filter Toggle Integration (Inside Search & Beside Search)
   Full RTL & LTR mirror support
   ========================================================================== */

/* 1. Base Search Wrapper */
.woolements-product-table .wpt-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  max-width: 440px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--wpt-line, #e2e8f0);
  border-radius: 999px;
  background: var(--wpt-soft, #f8fafc);
  box-sizing: border-box;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.woolements-product-table .wpt-search:focus-within {
  border-color: var(--wpt-accent, #6366f1);
  background: #ffffff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wpt-accent, #6366f1) 14%, transparent);
}

.woolements-product-table .wpt-search .wpt-search-icon,
.woolements-product-table .wpt-search > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wpt-muted, #64748b);
  font-size: 14px;
  flex-shrink: 0;
  pointer-events: none;
  line-height: 1;
}

.woolements-product-table .wpt-search .wpt-search-icon svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.woolements-product-table .wpt-search input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 13.5px;
  color: var(--wpt-text, #1e293b);
  line-height: normal !important;
}

.woolements-product-table .wpt-search input::placeholder {
  color: var(--wpt-muted, #94a3b8);
  opacity: 1;
}

/* 2. Mode 1: Filter Toggle Inside Search Box (.wpt-search--has-filter) */
.woolements-product-table .wpt-search.wpt-search--has-filter {
  padding-inline-end: 5px !important;
}

.woolements-product-table .wpt-search--has-filter .wpt-filter-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  margin-inline-start: auto !important;
  height: calc(100% - 8px) !important;
  min-height: 32px !important;
  border: none !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--wpt-text, #1e293b) 6%, transparent) !important;
  color: var(--wpt-text, #334155) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 0 12px !important;
  cursor: pointer;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  transition: all .2s cubic-bezier(.16, 1, .3, 1) !important;
  box-sizing: border-box;
}

.woolements-product-table .wpt-search--has-filter .wpt-filter-toggle.wpt-filter-display-icon {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border-radius: 50% !important;
}

.woolements-product-table .wpt-search--has-filter .wpt-filter-toggle:hover {
  background: color-mix(in srgb, var(--wpt-accent, #6366f1) 15%, transparent) !important;
  color: var(--wpt-accent, #6366f1) !important;
  transform: none !important;
}

.woolements-product-table .wpt-search--has-filter .wpt-filter-toggle.is-active {
  background: var(--wpt-accent, #6366f1) !important;
  color: #ffffff !important;
}

.woolements-product-table .wpt-search--has-filter .wpt-filter-toggle.is-active svg {
  fill: #ffffff !important;
}

/* 3. Mode 2: Filter Toggle Beside Search Box (.wpt-search-group) */
.woolements-product-table .wpt-search-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  max-width: 500px;
  box-sizing: border-box;
}

.woolements-product-table .wpt-search-group .wpt-search {
  flex: 1 1 auto;
  max-width: none;
}

.woolements-product-table .wpt-search-group .wpt-filter-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px;
  height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border: 1px solid var(--wpt-line, #e2e8f0);
  border-radius: 12px;
  background: #ffffff;
  color: var(--wpt-text, #1e293b);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  box-sizing: border-box;
}

.woolements-product-table .wpt-search-group .wpt-filter-toggle.wpt-filter-display-icon {
  width: 44px;
  padding: 0;
}

.woolements-product-table .wpt-search-group .wpt-filter-toggle:hover {
  background: #f8fafc;
  border-color: color-mix(in srgb, var(--wpt-accent, #6366f1) 40%, var(--wpt-line, #e2e8f0));
  color: var(--wpt-accent, #6366f1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.woolements-product-table .wpt-search-group .wpt-filter-toggle.is-active {
  background: var(--wpt-accent, #6366f1);
  border-color: var(--wpt-accent, #6366f1);
  color: #ffffff;
}

.woolements-product-table .wpt-search-group .wpt-filter-toggle.is-active svg {
  fill: #ffffff;
}

/* 4. Display modes strict visibility rules for filter toggle */
.woolements-product-table .wpt-filter-toggle.wpt-filter-display-icon .wpt-filter-text {
  display: none !important;
}
.woolements-product-table .wpt-filter-toggle.wpt-filter-display-icon .wpt-filter-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.woolements-product-table .wpt-filter-toggle.wpt-filter-display-text .wpt-filter-icon {
  display: none !important;
}
.woolements-product-table .wpt-filter-toggle.wpt-filter-display-text .wpt-filter-text {
  display: inline-block !important;
}
.woolements-product-table .wpt-filter-toggle.wpt-filter-display-both .wpt-filter-icon {
  display: inline-flex !important;
  align-items: center !important;
}
.woolements-product-table .wpt-filter-toggle.wpt-filter-display-both .wpt-filter-text {
  display: inline-block !important;
}

/* 5. Mobile & Responsive Adaptation */
@media (max-width: 768px) {
  .woolements-product-table .wpt-search-group {
    order: 1 !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }
  .woolements-product-table .wpt-search-group .wpt-search {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
  }
  .woolements-product-table .wpt-search-group .wpt-filter-toggle {
    order: 2 !important;
    flex: 0 0 auto !important;
    height: 42px !important;
    width: auto !important;
  }
  .woolements-product-table .wpt-search-group .wpt-filter-toggle.wpt-filter-display-icon {
    width: 42px !important;
    min-width: 42px !important;
  }
  .woolements-product-table .wpt-search.wpt-search--has-filter {
    order: 1 !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    height: 42px !important;
  }
  .woolements-product-table .wpt-search--has-filter .wpt-filter-toggle {
    order: unset !important;
    flex: 0 0 auto !important;
    height: calc(100% - 8px) !important;
    min-height: 30px !important;
    width: auto !important;
    border-radius: 999px !important;
  }
  .woolements-product-table .wpt-search--has-filter .wpt-filter-toggle.wpt-filter-display-icon {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
}

/* ==========================================================================
   Woolements Smart Product Table - Taxonomy Hierarchy Styling (All Modes)
   Dropdown, Visual Cards, Pill Chips & Tree View Hierarchy Rules
   ========================================================================== */

/* 1. Common Hierarchy Branch & Badge Elements */
.woolements-product-table .wpt-tax-opt-branch,
.woolements-product-table .wpt-chip-branch,
.woolements-product-table .wpt-card-branch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wpt-accent, #6366f1);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
}

/* 2. Dropdown Options Hierarchy */
.woolements-product-table .wpt-tax-drop-option[class*="depth-"]:not(.depth-0) {
  padding-inline-start: calc(10px + (var(--wpt-opt-depth, 1) * var(--wpt-drop-indent, 16px))) !important;
  position: relative;
  border-inline-start: 2px solid transparent;
}

.woolements-product-table .wpt-tax-drop-option[class*="depth-"]:not(.depth-0):hover,
.woolements-product-table .wpt-tax-drop-option[class*="depth-"]:not(.depth-0).is-active {
  border-inline-start-color: var(--wpt-accent, #6366f1);
}

.woolements-product-table .wpt-tax-opt-branch {
  margin-inline-end: 6px;
  flex-shrink: 0;
}

.woolements-product-table .wpt-tax-opt-parent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.1);
  color: var(--wpt-accent, #6366f1);
  margin-inline-start: 4px;
  margin-inline-end: auto;
  line-height: 1.2;
}

/* 3. Chips Hierarchy */
.woolements-product-table .wpt-filter-chips-wrap.style-nested {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.woolements-product-table .wpt-filter-chip-child {
  opacity: 0.95;
}

.woolements-product-table .wpt-chip-branch {
  margin-inline-end: 4px;
}

/* Chip Groups (Grouped & Collapsible) */
.woolements-product-table .wpt-chip-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--wpt-line, #e2e8f0);
  background: #fbfcfe;
  box-sizing: border-box;
}

.woolements-product-table .wpt-chip-parent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.woolements-product-table .wpt-chip-parent-row .wpt-filter-chip {
  flex: 1 1 auto;
  justify-content: flex-start;
}

.woolements-product-table .wpt-chip-sub-toggle,
.woolements-product-table .wpt-card-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--wpt-line, #e2e8f0);
  background: #ffffff;
  color: var(--wpt-muted, #64748b);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}

.woolements-product-table .wpt-chip-sub-toggle:hover,
.woolements-product-table .wpt-card-sub-toggle:hover {
  border-color: var(--wpt-accent, #6366f1);
  color: var(--wpt-accent, #6366f1);
  background: rgba(99, 102, 241, 0.05);
}

.woolements-product-table .wpt-chip-sub-toggle i,
.woolements-product-table .wpt-card-sub-toggle i {
  transition: transform 0.22s ease;
  font-size: 10px;
}

.woolements-product-table .wpt-chip-group.is-expanded .wpt-chip-sub-toggle i,
.woolements-product-table .wpt-card-group.is-expanded .wpt-card-sub-toggle i {
  transform: rotate(180deg);
}

.woolements-product-table .wpt-subchips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 10px;
  margin-inline-start: 12px;
  border-inline-start: 2px solid var(--wpt-accent, #6366f1);
  box-sizing: border-box;
}

/* 4. Cards Hierarchy */
.woolements-product-table .wpt-filter-card-child {
  position: relative;
  overflow: visible;
}

.woolements-product-table .wpt-card-child-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 750;
  background: rgba(99, 102, 241, 0.1);
  color: var(--wpt-accent, #6366f1);
  margin-bottom: 2px;
  line-height: 1.2;
}

/* Card Groups (Grouped & Collapsible) */
.woolements-product-table .wpt-card-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--wpt-line, #e2e8f0);
  background: #fbfcfe;
  box-sizing: border-box;
  margin-bottom: 6px;
}

.woolements-product-table .wpt-card-parent-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.woolements-product-table .wpt-card-parent-wrap .wpt-card-parent {
  flex: 1 1 auto;
}

.woolements-product-table .wpt-subcards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  padding: 8px 10px;
  margin-inline-start: 12px;
  border-inline-start: 2px solid var(--wpt-accent, #6366f1);
  box-sizing: border-box;
}

/* Dark Luxury Preset Compatibility for Hierarchy */
.wpt-preset-dark_luxury .wpt-chip-group,
.wpt-preset-dark_luxury .wpt-card-group {
  background: #161822 !important;
  border-color: #242938 !important;
}

.wpt-preset-dark_luxury .wpt-chip-sub-toggle,
.wpt-preset-dark_luxury .wpt-card-sub-toggle {
  background: #1e2230 !important;
  border-color: #2d3345 !important;
  color: #cbd5e1 !important;
}

.wpt-preset-dark_luxury .wpt-chip-sub-toggle:hover,
.wpt-preset-dark_luxury .wpt-card-sub-toggle:hover {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
}

.wpt-preset-dark_luxury .wpt-tax-opt-parent-badge,
.wpt-preset-dark_luxury .wpt-card-child-badge {
  background: rgba(245, 158, 11, 0.16) !important;
  color: #fbbf24 !important;
}

.wpt-preset-dark_luxury .wpt-tax-opt-branch,
.wpt-preset-dark_luxury .wpt-chip-branch,
.wpt-preset-dark_luxury .wpt-card-branch {
  color: #f59e0b !important;
}

