/* The public card is shared by rankings, archives, creator stores, favorites and related material. */
body:not(.dokan-dashboard) #page .product-card.ta-material-card { display:flex; flex-direction:column; position:relative; min-width:0; height:100%; margin:0; padding:0; border:1px solid #dfe7e1!important; border-radius:14px!important; background:#fff!important; box-shadow:none!important; overflow:visible; container-type:inline-size; container-name:ta-card; transform:none!important; transition:border-color .16s ease,box-shadow .16s ease; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card:hover { border-color:#a8cdbb!important; box-shadow:0 5px 18px #253b3009!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__image-wrapper { position:relative; flex:none; width:auto!important; height:auto!important; min-height:0; margin:9px 9px 0; padding:0!important; aspect-ratio:4/3; border:0; border-radius:9px; background:#fff!important; overflow:hidden; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__image-wrapper>a { display:block; width:100%; height:100%; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__image-wrapper img { display:block; width:100%!important; height:100%!important; max-height:none; margin:0; padding:0!important; border:0; border-radius:0; object-fit:contain!important; object-position:center; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__gallery-img { position:absolute; inset:0; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .onsale { display:none; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__body { display:flex; flex:1 1 auto; flex-direction:column; align-items:stretch; gap:6px; min-width:0; margin:0; padding:11px 12px 10px!important; text-align:left!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__title { order:1; width:100%; min-width:0; margin:0!important; padding:0!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__title a { display:block; color:#293c31!important; text-align:left!important; text-decoration:none; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__title :is(h2,h3) { display:-webkit-box; min-height:2.8em; max-height:2.8em; margin:0!important; padding:0!important; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; color:inherit!important; font-family:inherit; font-size:13px!important; font-weight:600!important; line-height:1.4!important; letter-spacing:-.01em!important; text-align:left!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__vendor { display:block; order:2; width:100%; min-width:0; min-height:17px; margin:0!important; padding:0!important; border:0!important; color:#657469; font-size:11px; line-height:1.5; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__vendor :is(a,span) { display:block; max-width:100%; overflow:hidden; color:inherit!important; font-size:11px!important; line-height:1.5; font-weight:400; text-overflow:ellipsis; white-space:nowrap; text-decoration:none; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__price { order:3; min-width:0; margin:3px 0 0!important; padding:0; color:#287562; text-align:left!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__price .price { display:flex; align-items:baseline; justify-content:flex-start!important; flex-wrap:wrap; gap:3px 6px; min-height:22px; margin:0!important; color:#287562; font-size:14px!important; font-weight:600; line-height:1.45; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__price del { color:#89938d; font-size:11px; font-weight:400; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__price ins { background:transparent; color:inherit; text-decoration:none; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .ta-price-free { padding:3px 7px; border-radius:6px; background:#edf6ef; color:#287562; font-size:10px; font-weight:500; line-height:1.4; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__badges { position:absolute; right:auto; left:5px; bottom:5px; display:flex; gap:4px; max-width:calc(100% - 10px); margin:0; pointer-events:none; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__badges>span { max-width:100%; min-height:0; padding:3px 6px; border:1px solid #dfe7e2; border-radius:5px; background:#fffffff2; color:#53685b; font-size:9px; font-weight:500; line-height:1.4; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__badge--premium { position:absolute; top:5px; right:5px; left:auto; z-index:3; display:flex; align-items:center; gap:4px; max-width:calc(100% - 50px); padding:5px 7px; border:1px solid #c6dfd1; border-radius:7px; background:#f0f7f1f5; color:#287562; font-size:9px; line-height:1.3; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__premium-label { display:none; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__premium-short { display:inline; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__sale-badge { top:5px; left:5px; z-index:3; padding:5px 7px; border-radius:7px; background:#2c8d7a; font-size:10px; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card[data-ta-rank] .product-card__sale-badge { top:43px; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:6px; min-width:0; margin:0; padding:0 10px 10px!important; border:0!important; background:transparent; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main { display:flex; grid-column:1/-1; flex:none!important; width:auto; max-width:none!important; min-width:0; margin:0; padding:0; border:0; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main .add-to-cart-container { width:100%; min-width:0; margin:0!important; padding:0; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a { display:flex; align-items:center; justify-content:center; gap:6px; width:100%!important; min-width:0; min-height:44px!important; height:auto; margin:0!important; padding:8px 9px!important; border:1px solid #2c8d7a!important; border-radius:9px!important; background:#2c8d7a!important; color:#fff!important; font-size:12px!important; font-weight:600; line-height:1.3!important; text-align:center; text-decoration:none; white-space:normal!important; box-shadow:none!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a:hover { background:#247562!important; border-color:#247562!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a.product-card__action-btn--remove { border-color:#c9ded2!important; background:#edf6ef!important; color:#287562!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a.loading { font-size:0!important; line-height:1!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a.loading>* { display:none!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-quick-view,body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-favorite { display:flex; position:relative; flex:none!important; width:auto; max-width:none!important; min-width:0; min-height:44px; margin:0; padding:0; border:0; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-favorite { order:2; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-quick-view { order:3; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card :is(.product-card__quick-view,.ta-favorite-btn--card) { display:flex!important; align-items:center; justify-content:center; flex:1; gap:5px; position:relative; width:100%!important; min-width:0!important; max-width:none!important; min-height:44px!important; height:44px!important; margin:0!important; padding:7px!important; border:1px solid #dce6df!important; border-radius:9px!important; background:#fff!important; color:#587161!important; font-family:inherit; font-size:11px!important; font-weight:500; line-height:1.4; text-decoration:none; box-shadow:none; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card :is(.product-card__quick-view,.ta-favorite-btn--card):hover { border-color:#91bca7!important; background:#f1f7f1!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card :is(.product-card__quick-view,.ta-favorite-btn--card) svg { display:block; flex:none; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .ta-favorite-btn--card.active { color:#2c8d7a!important; background:#f0f7f0!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .ta-favorite-btn--card.active svg { fill:currentColor; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action :is(a,button):focus-visible { outline:2px solid #2c8d7a; outline-offset:2px; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .added_to_cart { display:none!important; }
body .ta-material-rank { position:absolute; top:5px; left:5px; z-index:4; display:grid; place-items:center; width:32px; height:32px; margin:0; border:1px solid #c9dfd2; border-radius:10px; background:#edf6ef; color:#287562; font-size:15px; font-weight:700; line-height:1; font-variant-numeric:tabular-nums; box-shadow:0 0 0 3px #fff; }
body .ta-material-rank--podium { border-color:#2c8d7a; background:#2c8d7a; color:#fff; }
body #ta-monthly-top .ta-shop-monthly-top__item { min-width:0; }
body #ta-monthly-top .ta-shop-monthly-top__list { align-items:stretch; }
body #ta-monthly-top .ta-shop-monthly-top__name { display:block; }
body .ta-fp-following-strip:has(>.ta-material-card) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
body .ta-favorites-page .ta-favorite-items--cards { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
body .ta-favorites-page .ta-favorite-item--unified { display:block!important; position:relative; min-width:0; margin:0; padding:0!important; border:0!important; border-radius:14px; background:transparent!important; box-shadow:none; }
body .ta-favorites-page .ta-favorite-item--unified>.ta-favorite-item__check { position:absolute; top:7px; left:7px; z-index:6; display:grid; place-items:center; width:44px; height:44px; margin:0; }
body .ta-favorite-item--unified .ta-favorite-item__check input { position:absolute; inset:0; width:44px; height:44px; margin:0; opacity:0; }
body .ta-favorite-item--unified .ta-favorite-item__checkmark { width:22px; height:22px; border:2px solid #fff; box-shadow:0 1px 5px #233e3326; }
body .ta-favorite-item--unified:has(input:checked) .ta-material-card { border-color:#a8cdbb!important; }
@container ta-card (min-width:250px) {
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action { grid-template-columns:minmax(0,1fr) 44px 44px; }
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main { grid-column:auto; }
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action :is(.ta-card-control-label,.ta-fav-text) { display:none; }
}
@container ta-card (max-width:175px) {
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__body { padding:9px 10px 8px!important; }
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__title :is(h2,h3) { font-size:12px!important; }
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action { gap:5px; padding-inline:8px!important; }
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a { font-size:11px!important; }
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a.loading { font-size:0!important; }
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__premium-short { display:none; }
}
/* One purchase row, with native form fields and a dedicated favorite button. */
.single-product .product-summary .product-add-to-cart { display:block; margin-top:20px; padding:0; border:0; background:transparent; }
.single-product .product-summary .product-add-to-cart__main { min-width:0; width:100%; }
.single-product .product-summary .product-add-to-cart__main :is(form.cart:not(.variations_form),.woocommerce-variation-add-to-cart) { display:grid!important; grid-template-columns:120px minmax(0,1fr) 48px; align-items:stretch; gap:8px; width:100%; }
.single-product .product-summary .product-add-to-cart__main form.variations_form { display:block!important; }
.single-product .product-summary .product-add-to-cart__main :is(form.cart,.woocommerce-variation-add-to-cart)>*:not(.quantity):not(.single_add_to_cart_button):not(.ta-purchase-favorite) { grid-column:1/-1; min-width:0; }
.single-product .product-summary .product-add-to-cart__main :is(form.cart,.woocommerce-variation-add-to-cart):not(:has(>.quantity input[type=number])) { grid-template-columns:minmax(0,1fr) 48px; }
.single-product .product-summary .product-add-to-cart__main .quantity { display:block; width:120px!important; height:48px; margin:0!important; }
.single-product .product-summary .product-add-to-cart__main .quantity .input-group { display:grid!important; grid-template-columns:44px 32px 44px; width:120px; height:48px; overflow:hidden; border:1px solid #d1dfd5; border-radius:10px; background:#fff; }
.single-product .product-summary .product-add-to-cart__main .quantity .input-group-text { display:flex; align-items:center; justify-content:center; width:44px!important; height:46px; margin:0; padding:0; border:0; border-radius:0; background:#f3f7f1; color:#345c46; font-size:20px; font-weight:400; line-height:1; box-shadow:none; }
.single-product .product-summary .product-add-to-cart__main .quantity .input-group-text:hover:not(:disabled) { background:#e8f2e8; }
.single-product .product-summary .product-add-to-cart__main .quantity .input-group-text:disabled { opacity:.4; cursor:default; }
.single-product .product-summary .product-add-to-cart__main .quantity .qty { width:32px!important; min-width:0!important; max-width:none!important; height:46px!important; margin:0!important; padding:0!important; border:0; border-radius:0; background:#fff; color:#314b3a; font-size:16px; line-height:1; text-align:center; box-shadow:none; }
.single-product .product-summary .product-add-to-cart__main .single_add_to_cart_button { min-height:48px!important; height:auto; padding:10px 12px!important; border-radius:10px!important; font-size:13px!important; line-height:1.35; }
.ta-purchase-favorite { grid-column:-2/-1; grid-row:auto; position:relative; width:48px; min-width:0; height:48px; align-self:end; }
body .ta-purchase-favorite .ta-favorite-btn--purchase { display:flex; align-items:center; justify-content:center; width:48px!important; min-width:48px; height:48px!important; margin:0!important; padding:10px!important; border:1px solid #cbded1; border-radius:10px; background:#fff; color:#2c8d7a; box-shadow:none; text-decoration:none; }
body .ta-purchase-favorite .ta-favorite-btn--purchase svg { display:block; width:22px; height:22px; fill:none; stroke:currentColor; }
body .ta-purchase-favorite .ta-favorite-btn--purchase.active { background:#edf6ef; }
body .ta-purchase-favorite .ta-favorite-btn--purchase.active svg { fill:currentColor; }
body .ta-purchase-favorite .ta-favorite-btn--purchase:focus-visible { outline:2px solid #2c8d7a; outline-offset:3px; }
body .ta-purchase-favorite .ta-fav-text { display:none; }
.single-product .product-summary .product-add-to-cart__main:has(>.ta-fdn-download-wrapper) { display:grid; grid-template-columns:minmax(0,1fr) 48px; gap:8px; align-items:end; }
.single-product .product-summary .product-add-to-cart__main .ta-fdn-download-button { min-height:48px; border-radius:10px; }
.single-product .ta-single-favorite-count { margin:10px 0 0; color:#7a887e; font-size:12px; }
.single-product .ta-single-favorite-count:empty { display:none; }
.single-product .ta-single-favorite-count .ta-favorite-count { margin:0; padding:0; border:0; background:transparent; font-size:12px; }
body .ta-material-card .ta-favorite-btn.loading svg,body .ta-purchase-favorite .ta-favorite-btn.loading svg { opacity:0; }
body .ta-material-card .ta-favorite-btn.loading::after,body .ta-purchase-favorite .ta-favorite-btn.loading::after { content:''; position:absolute; top:50%; left:50%; width:16px; height:16px; margin:-8px 0 0 -8px; border:2px solid #c4dfd0; border-top-color:#2c8d7a; border-radius:50%; animation:ta-material-spin .7s linear infinite; }
@keyframes ta-material-spin { to { transform:rotate(360deg); } }
@media(max-width:991px) { body .ta-favorites-page .ta-favorite-items--cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:575px) { body .ta-fp-following-strip:has(>.ta-material-card) { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce) { body .product-card.ta-material-card { transition:none; } body .ta-material-card .ta-favorite-btn.loading::after,body .ta-purchase-favorite .ta-favorite-btn.loading::after { animation-duration:1.5s; } }
/* Retire page-specific pseudo labels and keep compact controls readable. */
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a.ajax_add_to_cart:not(.loading) { font-size:12px!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a.ajax_add_to_cart:not(.loading)::before { content:none!important; display:none!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card :is(.product-card__quick-view,.ta-favorite-btn--card) { flex-direction:column; gap:2px; padding:4px!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action :is(.ta-card-control-label,.ta-fav-text) { display:block!important; max-width:100%; font-size:9px!important; line-height:1.15; white-space:nowrap; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__price :is(.amount,bdi) { color:#287562!important; }
@container ta-card (min-width:250px) {
 body:not(.dokan-dashboard) #page .product-card.ta-material-card :is(.product-card__quick-view,.ta-favorite-btn--card) { flex-direction:row; }
 body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action :is(.ta-card-control-label,.ta-fav-text) { display:none!important; }
}
.single-product .product-summary .product-add-to-cart { position:static!important; inset:auto!important; z-index:auto; margin:20px 0 12px; box-shadow:none; }
.single-product .product-summary .product-add-to-cart__main form.cart>.ta-purchase-favorite,
.single-product .product-summary .product-add-to-cart__main .woocommerce-variation-add-to-cart>.ta-purchase-favorite { grid-column:-2/-1; }
.single-product .product-summary .product-add-to-cart__main .quantity .input-group { grid-template-columns:44px minmax(0,1fr) 44px; }
.single-product .product-summary .product-add-to-cart__main .quantity .qty { width:100%!important; min-height:0!important; }
.single-product .product-summary .product-add-to-cart__main .quantity.ta-quantity-fixed-one { display:none!important; }
.single-product .product-summary .product-add-to-cart__main :is(form.cart,.woocommerce-variation-add-to-cart):not(:has(>.quantity:not(.ta-quantity-fixed-one) input[type=number])) { grid-template-columns:minmax(0,1fr) 48px; }
body .ta-material-skeleton { pointer-events:none; }
body .ta-material-skeleton .ta-material-skeleton__image { display:block; width:100%; height:100%; border-radius:9px; }
body .ta-material-skeleton .ta-material-skeleton__title { display:block; width:90%; height:36px; margin:0; border-radius:5px; }
body .ta-material-skeleton .ta-material-skeleton__creator { display:block; width:65%; height:17px; border-radius:4px; }
body .ta-material-skeleton .ta-material-skeleton__price { display:block; width:35%; height:22px; margin-top:3px; border-radius:4px; }
body .ta-material-skeleton .ta-material-skeleton__button { display:block; min-height:44px; border-radius:9px; }
.single-product .product-summary .product-add-to-cart__main .ta-purchase-favorite { grid-column:-2/-1!important; }

body:not(.dokan-dashboard) #page .product-card.ta-material-card :is(.product-card__action-quick-view,.product-card__action-favorite) { inset:auto; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a.product-card__action-btn--remove:not(.loading)::before { content:none!important; display:none!important; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__action-main a.product-card__action-btn--remove:not(.loading)>span { display:inline!important; }
@media(max-width:767.98px) {
 body #ta-products-grid>.products { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:14px 12px!important; width:100%; margin:0!important; padding:0; }
 body #ta-products-grid>.products>[class*="col-"] { display:block; width:100%!important; max-width:100%!important; min-width:0; flex:none; margin:0!important; padding:0!important; }
}
.single-product .product-summary .product-add-to-cart__main:has(>.ta-purchase-favorite) { display:grid; grid-template-columns:minmax(0,1fr) 48px; gap:8px; align-items:end; }
body:not(.dokan-dashboard) #page .product-card.ta-material-card .product-card__price del :is(.amount,bdi) { color:#89938d!important; }
