.td-card,.td-card *{box-sizing:border-box}
.td-card{--td-accent:#725353;width:100%;min-width:0;padding:14px;display:flex;flex-direction:column;flex:1 0 auto;gap:14px;border:1px solid #e7ddd6;border-radius:24px;background:#fff;box-shadow:0 3px 8px rgba(43,35,33,.04),0 12px 26px rgba(43,35,33,.07);color:#2b2321;font-family:"iransans-x","Vazirmatn",Tahoma,sans-serif;direction:rtl;text-align:right;container-type:inline-size;line-height:1.7}
/* Scope Elementor sizing corrections to loops that actually contain this card. */
.elementor-loop-container:has(.td-card){row-gap:22px!important;column-gap:20px;align-items:stretch;padding:6px;border-radius:24px}
.e-loop-item:has(.td-card){display:flex;flex-direction:column;min-width:0}
.e-loop-item .e-con:has(.td-card),.e-loop-item .e-con-inner:has(.td-card),.e-loop-item .elementor-widget-shortcode:has(.td-card),.e-loop-item .elementor-widget-container:has(.td-card),.e-loop-item .elementor-shortcode:has(.td-card){display:flex;flex-direction:column;flex:1 1 auto;min-width:0;width:100%;gap:0;padding:0}
.td-card a{color:inherit;text-decoration:none}
.td-card button{font-family:inherit;text-transform:none;letter-spacing:normal;box-shadow:none}
.td-card a:focus-visible,.td-card button:focus-visible,.td-card summary:focus-visible{outline:3px solid var(--td-accent);outline-offset:3px}
.td-card__gallery{display:flex;flex-direction:column;gap:10px;min-width:0}
.td-card__hero{position:relative;width:100%;aspect-ratio:4/5;flex-shrink:0;border-radius:18px;overflow:hidden;background:#f4eeea;touch-action:pan-y pinch-zoom}
.td-card__hero:focus-visible{outline:2px solid var(--td-accent);outline-offset:3px}
.td-card .td-card__main-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;object-fit:cover;border-radius:0;margin:0}
.td-card__badge{position:absolute;top:14px;right:14px;display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--td-accent);font-size:13px;font-weight:700;box-shadow:0 4px 14px -6px rgba(60,40,36,.35)}
.td-card__thumbs{display:flex;gap:6px;height:60px;min-height:60px;padding:2px 2px 8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#c8b6ae transparent;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}
.td-card__thumbs::-webkit-scrollbar{height:4px}
.td-card__thumbs::-webkit-scrollbar-thumb{background:#c8b6ae;border-radius:999px}
.td-card__thumbs::-webkit-scrollbar-track{background:transparent}
.td-card__thumb{scroll-snap-align:center;touch-action:auto}
.td-card .td-card__thumb{flex:0 0 44px;width:44px;height:44px;padding:0;margin:0;border:1.5px solid transparent;border-radius:10px;overflow:hidden;background:#f4eeea;opacity:.6;cursor:pointer;min-height:0}
.td-card .td-card__thumb[aria-pressed=true]{opacity:1;border-color:var(--td-accent)}
.td-card__thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.td-card__copy{display:flex;flex-direction:column;gap:8px;padding:0 6px;min-width:0;min-height:100px}
.td-card .td-card__title{margin:0;height:56px;flex-shrink:0;font-family:inherit;font-size:18px;font-weight:600;line-height:28px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.td-card .td-card__title a:hover{color:var(--td-accent)}
.td-card summary{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:36px;cursor:pointer;color:var(--td-accent);font-size:13px;font-weight:600;list-style:none}
.td-card summary::-webkit-details-marker{display:none}
.td-card__icon{display:inline-block;flex:0 0 18px;width:18px;height:18px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.td-card__chevron{display:inline-flex;align-items:center;margin-inline-start:auto}
.td-card__less{display:none}
.td-card__description[open] .td-card__less{display:inline}
.td-card__description[open] .td-card__more{display:none}
.td-card__description[open] .td-card__chevron{transform:rotate(180deg)}
.td-card__description-body{max-height:156px;overflow-y:auto;color:#6e5f5b;font-size:14px;line-height:26px;overflow-wrap:anywhere;margin:8px 0}
.td-card__description-body p{margin:0 0 8px}
.td-card__description-body ul,.td-card__description-body ol{margin:0;padding-inline-start:20px}
.td-card .td-card__product-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;width:fit-content;padding:0 14px;border:1px solid #e7ddd6;border-radius:999px;background:#fff;color:var(--td-accent);font-size:13px;font-weight:600;text-align:center}
.td-card__financials{display:flex;flex-direction:column;border-radius:16px;background:#faf6f3;padding:4px 16px}
.td-card__financial-slot{display:none}
.td-card--financial .td-card__financial-slot,.elementor-loop-container:has(.td-card--financial) .td-card__financial-slot{display:block;min-height:168px}
.td-card__badge[hidden]{display:none!important}
.td-card__sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.td-card__option-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;margin-bottom:6px;font-size:11px;color:#7a6a66}
.td-card .td-card__choose-option{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;max-width:75%;min-height:34px;padding:4px 8px;border:1px solid #e7ddd6;border-radius:10px;background:#fff;color:var(--td-accent);font-size:12px;cursor:pointer}
.td-card__option-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-card .td-card__profit-table{width:100%;margin:0;border:0;border-collapse:collapse;table-layout:fixed;background:transparent;font-variant-numeric:tabular-nums}
.td-card .td-card__profit-table th,.td-card .td-card__profit-table td{padding:12px 0;border:0;background:transparent;vertical-align:middle;font-size:13px;color:#5e4f4b;font-weight:400;text-align:right;overflow-wrap:anywhere}
.td-card .td-card__profit-table td{text-align:left}
.td-card .td-card__profit-table strong{font-size:16px;font-weight:600;color:#2b2321}
.td-card .td-card__profit-table .td-card__profit th,.td-card .td-card__profit-table .td-card__profit td{border-top:1px dashed #e3d6cf}
.td-card .td-card__profit-table .td-card__profit strong{font-weight:700;color:var(--td-accent)}
.td-card__pill{display:inline-block;margin-inline-start:4px;border-radius:999px;padding:2px 8px;color:#fff;background:var(--td-accent);font-size:11px;font-weight:700}
.td-card .woocommerce-Price-currencySymbol{font-size:12px;font-weight:400;color:#7a6a66}
.td-card .td-card__hint{margin:6px 0;color:#7a6a66;font-size:12px;line-height:1.8}
.td-card__footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:96px;gap:12px;padding:12px 6px 2px;border-top:1px solid #f3ece8;margin-top:auto}
.td-card__wholesale{grid-column:1;grid-row:1;min-width:0;min-height:80px;display:flex;flex-direction:column;justify-content:center;gap:4px}
.td-card__price-heading{display:flex;align-items:center;gap:6px;min-height:20px}
.td-card__price-label{font-size:12px;color:#7a6a66}
.td-card .td-card__verification{font-size:13px;line-height:1.8;font-weight:500;color:#6e5f5b;text-wrap:pretty}
.td-card__sale-badge{width:fit-content;border-radius:999px;padding:2px 8px;background:#fbedea;color:#a3362e;font-size:11px;font-weight:700}
.td-card .td-card__price{margin:0;color:#2b2321;font-size:24px;font-weight:700;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.td-card__price del{display:block;color:#8c7d79;font-size:14px;font-weight:400;text-decoration-color:#a3362e}
.td-card__price ins{background:transparent;text-decoration:none;color:inherit}
/* Keep FCC's markup and inline visibility switches; only restyle this card. */
.td-card .fcc-wrapper{display:contents;font-family:inherit}
.td-card .fcc-action-area{grid-column:2;grid-row:1;min-height:46px;flex-wrap:wrap;justify-content:end;gap:6px}
.td-card .fcc-add-btn{width:auto;min-width:102px;height:46px;border-radius:14px;padding:0 18px;border:0;background:var(--td-accent);color:#fff;font-size:14px;font-weight:600;gap:8px;font-family:inherit;cursor:pointer}
.td-card .fcc-add-btn:hover{background:var(--td-accent);color:#fff;filter:brightness(.94)}
.td-card .fcc-counter{width:auto;min-width:116px;height:46px;border-radius:14px;background:#f1e7e4;color:var(--td-accent);direction:rtl}
.td-card .fcc-counter button{width:42px;height:46px;margin:0;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--td-accent);display:flex;align-items:center;justify-content:center}
.td-card .fcc-counter svg{width:18px;height:18px;fill:currentColor}
.td-card .fcc-qty{min-width:24px;text-align:center;font-size:15px;font-weight:700}
.td-card .fcc-outofstock-text{font-size:12px}
.td-card .fcc-action-area.is-unavailable .fcc-add-btn{opacity:.45;cursor:not-allowed}
.td-card .fcc-action-area.is-unavailable{min-width:102px;justify-content:center}
.td-card .fcc-action-area.is-unavailable .fcc-add-btn{display:none!important}
.td-card .fcc-variations-list{grid-column:1/-1;min-width:0;width:100%}
.td-card .fcc-variations-list:empty{display:none}
.td-card .fcc-var-cart-row{gap:10px;flex-wrap:wrap;min-width:0;border-radius:14px!important;border-color:#e7ddd6!important;background:#faf6f3!important}
.td-card .fcc-var-info{flex:1 1 120px;min-width:0;padding:0}
.td-card .fcc-var-title,.td-card .fcc-var-cart-name{overflow-wrap:anywhere}
.td-card .fcc-var-title{direction:rtl;text-align:right}
.td-card .fcc-var-cart-row .fcc-counter{flex:0 0 auto;min-width:110px;direction:ltr!important}
.td-card .fcc-var-plus svg,.td-card .fcc-var-minus svg{fill:var(--td-accent)}
.td-card.fcc-contact-only-card .td-card__financials,.fcc-contact-only-card .td-card .td-card__financials{display:none}
@container (max-width: 275px){.td-card__footer{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-inline:0}.td-card__wholesale{min-height:96px}.td-card__financial-slot{min-height:216px!important}.td-card .td-card__price{font-size:20px}.td-card .fcc-action-area{grid-column:2;grid-row:1;justify-content:center}.td-card .fcc-add-btn{min-width:88px;padding-inline:12px}.td-card .td-card__profit-table strong{font-size:14px}.td-card__price-label{font-size:11px}.td-card__price-heading{flex-wrap:wrap}}
.td-card .fcc-var-cart-row .fcc-counter{height:44px}
.td-card .fcc-var-cart-row .fcc-counter button{height:44px}
.td-card__hero.is-loading::before,.td-card__thumb.is-loading::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#f4eeea 25%,#fff9f5 45%,#f4eeea 65%);background-size:220% 100%;animation:td-image-shimmer 1.3s linear infinite;pointer-events:none}
.td-card__thumb{position:relative}
.td-card__hero.is-loading img,.td-card__thumb.is-loading img,.td-card__hero.is-error img,.td-card__thumb.is-error img{opacity:0}
.td-card__hero .td-card__image-retry{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);max-width:85%;min-height:44px;padding:8px 14px;border:1px solid #d3c2ba;border-radius:12px;background:#fff;color:var(--td-accent);font-size:13px;white-space:nowrap;cursor:pointer;z-index:2}
.td-card__image-retry[hidden]{display:none!important}
.td-card__thumb.is-error::after{content:"↻";position:absolute;inset:0;display:grid;place-items:center;background:#f4eeea;color:var(--td-accent);font-size:22px;pointer-events:none}
@keyframes td-image-shimmer{to{background-position:-220% 0}}
@media(prefers-reduced-motion:reduce){.td-card__hero.is-loading::before,.td-card__thumb.is-loading::before{animation:none}}
body.td-picker-open{overflow:hidden}
.fcc-modal.td-variation-modal,.td-variation-modal *{box-sizing:border-box}
.fcc-overlay.td-variation-overlay{z-index:999998;background:rgba(43,35,33,.45)}
.fcc-modal.td-variation-modal{inset:auto 12px max(12px,env(safe-area-inset-bottom)) 12px;width:calc(100% - 24px);max-width:460px;max-height:85dvh;margin:0 auto;padding:20px;border:1px solid #e7ddd6;border-radius:24px;background:#fff;color:#2b2321;font-family:"iransans-x","Vazirmatn",Tahoma,sans-serif!important;animation:none;overflow:auto;overscroll-behavior:contain}
.td-variation-modal .fcc-modal-header{position:relative;display:flex;flex-direction:column;gap:5px;margin:0 0 12px;padding:0 0 12px 36px;border-bottom:1px solid #f3ece8;text-align:right}
.td-variation-modal .fcc-modal-header h4{margin:0;font-family:inherit;font-size:17px;font-weight:700;color:#2b2321}
.td-variation-modal .fcc-modal-header>span{font-size:13px;color:#7a6a66;line-height:1.8}
.td-variation-modal .td-picker-close{position:absolute;top:0;left:0;width:36px;height:36px;border:1px solid #e7ddd6;border-radius:12px;padding:0;background:#faf6f3;color:#725353;font-size:24px;line-height:1;cursor:pointer}
.td-variation-modal .fcc-modal-body{display:flex;flex-direction:column;gap:8px}
.td-variation-modal .fcc-var-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:12px;border:1px solid #e7ddd6;border-radius:14px;background:#fff;cursor:pointer}
.td-variation-modal .fcc-var-row:has(input:checked){border-color:#725353;background:#faf6f3;box-shadow:inset 0 0 0 1px #725353}
.td-variation-modal .fcc-var-row>div{display:flex;align-items:center;min-width:0;gap:8px}
.td-variation-modal input[type=radio]{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#725353}
.td-variation-modal .fcc-var-name{margin:0!important;font-size:13px;font-weight:600;overflow-wrap:anywhere}
.td-variation-modal .fcc-var-price{flex:0 0 auto;font-size:13px;font-weight:700;color:#725353;font-variant-numeric:tabular-nums;white-space:nowrap}
.td-variation-modal #fcc-confirm-var{height:48px;margin-top:16px;padding:0 14px;border:0;border-radius:14px;background:#725353;color:#fff;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer}
.td-variation-modal button:focus-visible,.td-variation-modal input:focus-visible{outline:3px solid #725353;outline-offset:3px}
@media(min-width:768px){.fcc-modal.td-variation-modal{inset:50% 0 auto;transform:translateY(-50%)}}
@media(max-width:360px){.td-variation-modal .fcc-var-row{flex-wrap:wrap}.td-variation-modal .fcc-var-price{margin-inline-start:26px}}
/* Mobile cards fit their own content. Desktop retains row-height alignment. */
@media(max-width:767px){
 .elementor-loop-container:has(.td-card){align-items:start}
 .e-loop-item:has(.td-card),.e-loop-item .e-con:has(.td-card),.e-loop-item .e-con-inner:has(.td-card),.e-loop-item .elementor-widget-shortcode:has(.td-card),.e-loop-item .elementor-widget-container:has(.td-card),.e-loop-item .elementor-shortcode:has(.td-card){flex:0 0 auto;height:auto;min-height:0}
 .td-card{flex:0 0 auto;height:auto;min-height:0;gap:12px}
 .td-card__gallery{gap:6px}
 .td-card__thumbs[aria-hidden=true]{display:none}
 .td-card__copy{min-height:0;gap:6px}
 .td-card .td-card__title{height:auto;min-height:0}
 .td-card__financial-slot{min-height:0!important}
 .td-card__option-heading[aria-hidden=true]{display:none}
 .td-card__financial-slot:not(:has(.td-card__financials,.td-card__choose-option)){display:none}
 .td-card__footer{min-height:0;margin-top:0;padding-top:12px}
 .td-card__wholesale{min-height:0}
}
