.tim-shop{padding:var(--tim-space-8) 0 var(--tim-space-16);color:var(--tim-text)}
.tim-shop [hidden],.tim-ds-ov :is([class^="tim-shop"],[class*=" tim-shop"],.tim-ds-field,.tim-ds-switch,.tim-ds-panel__foot,.tim-ds-btn)[hidden]{display:none!important}
.tim-shop .tim-ds-crumbs{margin-bottom:var(--tim-space-5)}
.tim-shop-hero{margin-bottom:var(--tim-space-8)}
.tim-shop-hero .tim-ds-hero__extra{max-width:560px;margin-inline:auto}
.tim-shop-search{margin:0}
.tim-shop-hero--page{margin-bottom:var(--tim-space-6)}
.tim-shop-hero--page .tim-ds-hero__title{font-size:var(--tim-fs-2xl)!important}
.tim-shop-muted{margin:var(--tim-space-2) 0 0;color:var(--tim-muted);font-size:var(--tim-fs-sm);line-height:1.8}
/* ---------- شريط الأدوات ---------- */
.tim-shop-bar{display:flex;align-items:center;gap:var(--tim-space-3);min-width:0;margin:0 0 var(--tim-space-4)}
.tim-shop-chips{flex:1 1 auto;flex-wrap:nowrap;min-width:0;overflow-x:auto;scrollbar-width:none;padding:2px}
.tim-shop-chips::-webkit-scrollbar{display:none}
.tim-shop-chips .tim-ds-chip{flex:0 0 auto;text-decoration:none!important}
.tim-shop-bar__aside{display:flex;align-items:center;gap:var(--tim-space-2);flex:0 0 auto;margin-inline-start:auto}
.tim-shop-sort{display:block;width:200px}
.tim-shop-sort .tim-ds-input{width:100%}
.tim-shop-filterbtn,.tim-shop-cartbtn{position:relative}
.tim-shop-cartbtn__n{position:absolute;top:-6px;inset-inline-end:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid var(--tim-bg);border-radius:var(--tim-radius-pill);background:var(--tim-primary);color:var(--tim-on-primary);font-size:11px;font-weight:var(--tim-fw-bold);line-height:1;font-variant-numeric:tabular-nums}
.tim-shop-active{margin:0 0 var(--tim-space-4);align-items:center}
.tim-shop-active .tim-ds-chip{text-decoration:none!important}
.tim-shop-active__clear{font-size:var(--tim-fs-sm)}
.tim-shop-count{margin:0 0 var(--tim-space-4);color:var(--tim-muted);font-size:var(--tim-fs-sm)}
/* ---------- الشبكة والبطاقة ---------- */
.tim-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--tim-space-8) var(--tim-space-5)}
@media (max-width:1100px){.tim-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){.tim-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--tim-space-6) var(--tim-space-3)}}
.tim-shop-card{position:relative;display:flex;flex-direction:column;gap:var(--tim-space-3);min-width:0}
.tim-shop-card__media{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;border-radius:var(--tim-radius-lg);background:var(--tim-tile)}
.tim-shop-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s var(--tim-ease-out)}
@media (hover:hover){.tim-shop-card:hover .tim-shop-card__media img{transform:scale(1.035)}}
.tim-shop-card.is-out .tim-shop-card__media img{opacity:.6;filter:saturate(.6)}
.tim-shop-card__ph{display:grid;place-items:center;width:100%;height:100%;color:var(--tim-muted)}
.tim-shop-card__badges{position:absolute;top:var(--tim-space-3);inset-inline-start:var(--tim-space-3);display:flex;flex-wrap:wrap;gap:6px;max-width:calc(100% - 24px);pointer-events:none}
.tim-shop-card__badges .tim-ds-badge{background:var(--tim-surface);box-shadow:none}
.tim-shop-card__badges .tim-ds-badge--brand{background:var(--tim-primary);color:var(--tim-on-primary)}
.tim-shop-card__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.tim-shop-card__cat{overflow:hidden;color:var(--tim-muted);font-size:var(--tim-fs-xs);font-weight:var(--tim-fw-medium);text-overflow:ellipsis;white-space:nowrap}
.tim-shop-card__title{display:-webkit-box;margin:0!important;overflow:hidden;color:var(--tim-heading)!important;font-size:var(--tim-fs-base)!important;font-weight:var(--tim-fw-bold)!important;line-height:1.6!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tim-shop-card__title a{color:inherit!important;text-decoration:none!important}
.tim-shop-card__title a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:var(--tim-radius-lg)}
.tim-shop-card__title a:focus-visible{outline:none}
.tim-shop-card:has(.tim-shop-card__title a:focus-visible) .tim-shop-card__media{outline:2px solid var(--tim-focus);outline-offset:2px}
.tim-shop-card__foot{display:flex;align-items:center;justify-content:space-between;gap:var(--tim-space-2);min-width:0;margin-top:2px}
.tim-shop-card__add{position:relative;z-index:2;flex:0 0 auto}
.tim-shop-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;min-width:0}
.tim-shop-price strong{color:var(--tim-heading);font-size:var(--tim-fs-md);font-weight:var(--tim-fw-bold);font-variant-numeric:tabular-nums;white-space:nowrap}
.tim-shop-price s{color:var(--tim-muted);font-size:var(--tim-fs-sm);font-variant-numeric:tabular-nums;white-space:nowrap}
.tim-shop-price--lg strong{font-size:var(--tim-fs-xl);font-weight:var(--tim-fw-black)}
.tim-shop-price--lg s{font-size:var(--tim-fs-md)}
.tim-shop-price--sm strong{font-size:var(--tim-fs-base)}
.tim-shop-more{display:flex;justify-content:center;margin-top:var(--tim-space-10)}
/* ---------- شريط الثقة ---------- */
.tim-shop-trust{margin-top:var(--tim-space-16);padding-top:var(--tim-space-8);border-top:1px solid var(--tim-border)}
.tim-shop-trust__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--tim-space-6)}
.tim-shop-trust__item{display:flex;align-items:flex-start;gap:var(--tim-space-3);min-width:0}
.tim-shop-trust__item strong{display:block;color:var(--tim-heading);font-size:var(--tim-fs-base);font-weight:var(--tim-fw-bold)}
.tim-shop-trust__item p{margin:2px 0 0;color:var(--tim-text);font-size:var(--tim-fs-sm);line-height:1.7}
.tim-shop-trust__links{display:flex;justify-content:center;gap:var(--tim-space-3);margin:var(--tim-space-6) 0 0;color:var(--tim-muted);font-size:var(--tim-fs-sm)}
@media (max-width:767px){.tim-shop-trust__grid{grid-template-columns:minmax(0,1fr);gap:var(--tim-space-4)}}
/* ---------- نافذة الفلاتر ---------- */
.tim-shop-ff{display:flex;flex-direction:column;gap:var(--tim-space-5)}
.tim-shop-ff__set{margin:0;padding:0;border:0;min-width:0}
.tim-shop-ff__set>legend{margin-bottom:var(--tim-space-3);padding:0}
.tim-shop-ff__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--tim-space-3)}
/* ---------- صفحة المنتج ---------- */
.tim-shop-pdp{padding-top:var(--tim-space-6)}
.tim-shop-pdp__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:var(--tim-space-12);align-items:start}
@media (max-width:900px){.tim-shop-pdp__grid{grid-template-columns:minmax(0,1fr);gap:var(--tim-space-6)}}
.tim-shop-gal{position:sticky;top:96px;display:flex;flex-direction:column;gap:var(--tim-space-3);min-width:0}
@media (max-width:900px){.tim-shop-gal{position:relative;top:auto}}
.tim-shop-gal__stage{position:relative;overflow:hidden;border-radius:var(--tim-radius-xl);background:var(--tim-tile)}
.tim-shop-gal__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;outline:none}
.tim-shop-gal__track::-webkit-scrollbar{display:none}
.tim-shop-gal__track:focus-visible{box-shadow:inset 0 0 0 2px var(--tim-focus)}
.tim-shop-gal__slide{flex:0 0 100%;margin:0;aspect-ratio:1/1;scroll-snap-align:center;cursor:zoom-in}
.tim-shop-gal__slide img{display:block;width:100%;height:100%;object-fit:cover}
.tim-shop-gal__zoom{position:absolute;top:var(--tim-space-3);inset-inline-end:var(--tim-space-3);z-index:2}
html body .tim-shop-gal .tim-ds-iconbtn{background:color-mix(in srgb,var(--tim-surface) 92%,transparent);border-color:transparent}
.tim-shop-gal__nav{position:absolute;top:50%;z-index:2;transform:translateY(-50%);opacity:0;transition:opacity var(--tim-dur-fast) ease}
.tim-shop-gal__nav.is-prev{inset-inline-start:var(--tim-space-3)}
.tim-shop-gal__nav.is-next{inset-inline-end:var(--tim-space-3)}
.tim-shop-gal__stage:hover .tim-shop-gal__nav,.tim-shop-gal__nav:focus-visible{opacity:1}
@media (hover:none){.tim-shop-gal__nav{display:none}}
.tim-shop-gal__count{position:absolute;bottom:var(--tim-space-3);inset-inline-end:var(--tim-space-3);z-index:2;padding:2px 10px;border-radius:var(--tim-radius-pill);background:color-mix(in srgb,var(--tim-heading) 72%,transparent);color:var(--tim-bg);font-size:var(--tim-fs-xs);font-weight:var(--tim-fw-bold);font-variant-numeric:tabular-nums;direction:ltr}
.tim-shop-gal__thumbs{display:flex;gap:var(--tim-space-2);overflow-x:auto;scrollbar-width:none;padding:2px}
.tim-shop-gal__thumbs::-webkit-scrollbar{display:none}
.tim-shop-gal__thumb{flex:0 0 72px;width:72px;height:72px;padding:0;overflow:hidden;border:1px solid var(--tim-border);border-radius:var(--tim-radius);background:var(--tim-tile);cursor:pointer;opacity:.72;transition:opacity var(--tim-dur-fast) ease,border-color var(--tim-dur-fast) ease}
.tim-shop-gal__thumb img{display:block;width:100%;height:100%;object-fit:cover}
.tim-shop-gal__thumb[aria-pressed=true]{border-color:var(--tim-heading);opacity:1}
.tim-shop-gal__thumb:hover{opacity:1}
.tim-shop-gal__thumb:focus-visible{outline:2px solid var(--tim-focus);outline-offset:2px}
@media (max-width:600px){.tim-shop-gal__thumbs{display:none}.tim-shop-gal{margin-inline:calc(var(--tim-gutter) * -1)}.tim-shop-gal__stage{border-radius:0}}
.tim-shop-pdp__info{display:flex;flex-direction:column;gap:var(--tim-space-4);min-width:0}
.tim-shop-pdp__cat{align-self:flex-start;color:var(--tim-brand-text)!important;font-size:var(--tim-fs-sm);font-weight:var(--tim-fw-bold);text-decoration:none!important}
.tim-shop-pdp__cat:hover{text-decoration:underline!important}
.tim-shop-pdp__title{margin:0!important;color:var(--tim-heading)!important;font-size:clamp(24px,3vw,var(--tim-fs-2xl))!important;font-weight:var(--tim-fw-black)!important;line-height:1.35!important;letter-spacing:0!important;text-wrap:balance}
.tim-shop-pdp__price{display:flex;flex-wrap:wrap;align-items:center;gap:var(--tim-space-3)}
.tim-shop-pdp__short{margin:0;color:var(--tim-text);font-size:var(--tim-fs-md);line-height:1.9}
.tim-shop-buy{display:flex;flex-direction:column;gap:var(--tim-space-4);padding-top:var(--tim-space-4);border-top:1px solid var(--tim-border)}
.tim-shop-opt{margin:0;padding:0;border:0;min-width:0}
.tim-shop-opt>legend{margin-bottom:var(--tim-space-2);padding:0;font-weight:var(--tim-fw-bold)}
.tim-shop-opt__val{color:var(--tim-text);font-weight:var(--tim-fw-regular)}
.tim-shop-opt__list{display:flex;flex-wrap:wrap;gap:var(--tim-space-2)}
html body .tim-shop-opt__btn{display:inline-flex;align-items:center;min-height:var(--tim-h);padding:0 16px;border:1px solid var(--tim-border-strong);border-radius:var(--tim-radius);background:var(--tim-surface);color:var(--tim-heading);font:inherit;font-size:var(--tim-fs-sm);font-weight:var(--tim-fw-medium);cursor:pointer;box-shadow:none;transition:border-color var(--tim-dur-fast) ease,background var(--tim-dur-fast) ease}
html body .tim-shop-opt__btn:hover{border-color:var(--tim-heading);background:var(--tim-surface);color:var(--tim-heading)}
html body .tim-shop-opt__btn[aria-pressed=true]{border-color:var(--tim-heading);background:var(--tim-heading);color:var(--tim-bg)}
html body .tim-shop-opt__btn.is-off{color:var(--tim-muted);text-decoration:line-through;border-style:dashed}
html body .tim-shop-opt__btn.is-off[aria-pressed=true]{background:var(--tim-soft);color:var(--tim-muted);border-color:var(--tim-border-strong)}
.tim-shop-opt__btn:focus-visible{outline:2px solid var(--tim-focus);outline-offset:2px}
.tim-shop-stock{margin:0}
.tim-shop-buy__row{display:flex;gap:var(--tim-space-3);min-width:0}
.tim-shop-qty{flex:0 0 136px;width:136px}
.tim-shop-qty .tim-ds-input{height:var(--tim-h-lg)!important;text-align:center}
.tim-shop-buy__add{flex:1 1 auto}
html body .tim-shop-buy .tim-ds-btn{width:100%}
html body .tim-shop-buy__row .tim-ds-btn{width:auto}
.tim-shop-buy__err:empty{display:none}
.tim-shop-buy__err{display:block;margin:0}
.tim-shop-tiles{display:flex;flex-direction:column;gap:0;border:1px solid var(--tim-border);border-radius:var(--tim-radius-lg);background:var(--tim-surface)}
.tim-shop-tile{display:flex;align-items:flex-start;gap:var(--tim-space-3);padding:var(--tim-space-4);min-width:0;color:var(--tim-heading)}
.tim-shop-tile+.tim-shop-tile{border-top:1px solid var(--tim-border)}
.tim-shop-tile>.tim-ds-ico{margin-top:2px}
.tim-shop-tile>div{min-width:0;flex:1 1 auto}
.tim-shop-tile strong{display:block;font-size:var(--tim-fs-base);font-weight:var(--tim-fw-bold)}
.tim-shop-tile p{margin:4px 0 0;color:var(--tim-text);font-size:var(--tim-fs-sm);line-height:1.7}
.tim-shop-tile__list{margin:6px 0 0;padding:0;list-style:none}
.tim-shop-tile__list li{display:flex;justify-content:space-between;gap:var(--tim-space-3);padding:3px 0;color:var(--tim-text);font-size:var(--tim-fs-sm)}
.tim-shop-tile__list b{color:var(--tim-heading);font-weight:var(--tim-fw-bold);white-space:nowrap;font-variant-numeric:tabular-nums}
.tim-shop-pdp__meta{display:flex;align-items:center;justify-content:space-between;gap:var(--tim-space-3);color:var(--tim-muted);font-size:var(--tim-fs-sm)}
.tim-shop-pdp__more{max-width:880px;margin:var(--tim-space-12) 0 0}
.tim-shop-related{margin-top:var(--tim-space-16)}
.tim-shop-sticky{position:fixed;inset-inline:0;bottom:0;z-index:50;display:flex;align-items:center;gap:var(--tim-space-3);padding:var(--tim-space-3) var(--tim-gutter);padding-bottom:max(var(--tim-space-3),env(safe-area-inset-bottom));border-top:1px solid var(--tim-border);background:var(--tim-surface);box-shadow:var(--tim-shadow-pop);transform:translateY(110%);transition:transform var(--tim-dur-in) var(--tim-ease-out)}
.tim-shop-sticky.is-on{transform:none}
.tim-shop-sticky__in{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.tim-shop-sticky__t{overflow:hidden;color:var(--tim-heading);font-size:var(--tim-fs-sm);font-weight:var(--tim-fw-bold);text-overflow:ellipsis;white-space:nowrap}
@media (min-width:901px){.tim-shop-sticky{display:none!important}}
@media (prefers-reduced-motion:reduce){.tim-shop-sticky{transition:none}.tim-shop-card__media img{transition:none}}
/* ---------- المكبّر ---------- */
.tim-shop-lb .tim-ds-panel__body{padding:0;background:var(--tim-tile)}
.tim-shop-lb__stage{position:relative;display:grid;place-items:center;min-height:min(70vh,720px)}
.tim-shop-lb__stage img{display:block;max-width:100%;max-height:min(78vh,860px);object-fit:contain}
.tim-shop-lb__nav{position:absolute;top:50%;transform:translateY(-50%)}
.tim-shop-lb__nav.is-prev{inset-inline-start:var(--tim-space-3)}
.tim-shop-lb__nav.is-next{inset-inline-end:var(--tim-space-3)}
.tim-shop-lb__n{position:absolute;bottom:var(--tim-space-3);inset-inline:0;text-align:center;color:var(--tim-muted);font-size:var(--tim-fs-xs);direction:ltr}
/* ---------- الأسطر (السلة، الملخص، الطلب) ---------- */
.tim-shop-lines{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.tim-shop-line{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:var(--tim-space-3);align-items:start;padding:var(--tim-space-4) 0;border-bottom:1px solid var(--tim-border)}
.tim-shop-line:last-child{border-bottom:0}
.tim-shop-line__img{display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border-radius:var(--tim-radius);background:var(--tim-tile);color:var(--tim-muted)}
.tim-shop-line__img img{display:block;width:100%;height:100%;object-fit:cover}
.tim-shop-line__main{display:flex;flex-direction:column;gap:2px;min-width:0}
.tim-shop-line__t{overflow:hidden;color:var(--tim-heading)!important;font-size:var(--tim-fs-base);font-weight:var(--tim-fw-bold);line-height:1.5;text-decoration:none!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
a.tim-shop-line__t:hover{text-decoration:underline!important}
.tim-shop-line__v{color:var(--tim-muted);font-size:var(--tim-fs-xs);line-height:1.6}
.tim-shop-line__warn{color:var(--tim-warning);font-size:var(--tim-fs-xs);font-weight:var(--tim-fw-medium)}
.tim-shop-line.is-bad .tim-shop-line__img,.tim-shop-line.is-bad .tim-shop-line__t{opacity:.55}
.tim-shop-line__end{display:flex;flex-direction:column;align-items:flex-end;gap:var(--tim-space-2)}
.tim-shop-line__total{color:var(--tim-heading);font-size:var(--tim-fs-base);font-weight:var(--tim-fw-bold);white-space:nowrap;font-variant-numeric:tabular-nums}
.tim-shop-line__ctl{display:flex;align-items:center;gap:var(--tim-space-2);margin-top:var(--tim-space-2)}
.tim-shop-step-q{display:inline-flex;align-items:center;height:var(--tim-h-sm);border:1px solid var(--tim-border-strong);border-radius:var(--tim-radius);background:var(--tim-surface)}
html body .tim-shop-step-q button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:var(--tim-radius);background:transparent;color:var(--tim-heading);cursor:pointer;box-shadow:none}
html body .tim-shop-step-q button:hover{background:var(--tim-hover)}
.tim-shop-step-q button:focus-visible{outline:2px solid var(--tim-focus);outline-offset:-2px}
.tim-shop-step-q button[disabled]{opacity:.35;cursor:not-allowed}
.tim-shop-step-q output{min-width:28px;color:var(--tim-heading);font-size:var(--tim-fs-sm);font-weight:var(--tim-fw-bold);text-align:center;font-variant-numeric:tabular-nums}
.tim-shop-rows{display:flex;flex-direction:column;gap:var(--tim-space-2);padding-top:var(--tim-space-4);border-top:1px solid var(--tim-border)}
.tim-shop-row{display:flex;justify-content:space-between;gap:var(--tim-space-3);font-size:var(--tim-fs-sm)}
.tim-shop-row>span:last-child{color:var(--tim-heading);font-weight:var(--tim-fw-medium);white-space:nowrap;font-variant-numeric:tabular-nums}
.tim-shop-row.is-disc>span:last-child{color:var(--tim-success)}
.tim-shop-row.is-total{margin-top:var(--tim-space-2);padding-top:var(--tim-space-3);border-top:1px solid var(--tim-border);color:var(--tim-heading);font-size:var(--tim-fs-md);font-weight:var(--tim-fw-bold)}
.tim-shop-row.is-total>span:last-child{font-size:var(--tim-fs-lg);font-weight:var(--tim-fw-black)}
.tim-shop-row small{color:var(--tim-muted);font-size:var(--tim-fs-xs)}
.tim-shop-free{display:flex;flex-direction:column;gap:var(--tim-space-2);padding:var(--tim-space-3) var(--tim-space-4);border-radius:var(--tim-radius-lg);background:var(--tim-tile);color:var(--tim-heading);font-size:var(--tim-fs-sm)}
.tim-shop-coupon{display:flex;flex-direction:column;gap:var(--tim-space-2)}
.tim-shop-coupon__row{display:flex;gap:var(--tim-space-2)}
.tim-shop-coupon__row .tim-ds-input{flex:1 1 auto;min-width:0;text-transform:uppercase}
.tim-shop-coupon__on{display:flex;align-items:center;justify-content:space-between;gap:var(--tim-space-2);padding:var(--tim-space-2) var(--tim-space-3);border:1px dashed color-mix(in srgb,var(--tim-success) 50%,var(--tim-border));border-radius:var(--tim-radius);background:var(--tim-success-bg);color:var(--tim-heading);font-size:var(--tim-fs-sm)}
.tim-shop-coupon__on b{direction:ltr;letter-spacing:.04em}
.tim-shop-coupon summary{color:var(--tim-brand-text);font-size:var(--tim-fs-sm);font-weight:var(--tim-fw-bold);cursor:pointer;list-style:none}
.tim-shop-coupon summary::-webkit-details-marker{display:none}
.tim-shop-coupon details[open] summary{margin-bottom:var(--tim-space-2)}
.tim-shop-note-ship{margin:0;color:var(--tim-muted);font-size:var(--tim-fs-xs)}
/* ---------- النافذة الجانبية للسلة ---------- */
.tim-shop-drawer .tim-ds-panel__body{display:flex;flex-direction:column;gap:var(--tim-space-4)}
.tim-shop-drawer .tim-ds-panel__foot{flex-direction:column;align-items:stretch;gap:var(--tim-space-3)}
.tim-shop-drawer .tim-ds-panel__foot .tim-shop-rows{padding-top:0;border-top:0}
.tim-shop-drawer__acts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:var(--tim-space-2)}
html body .tim-shop-drawer__acts .tim-ds-btn{width:100%}
.tim-shop-drawer .tim-ds-empty{margin:auto 0}
/* ---------- صفحة السلة ---------- */
.tim-shop-cartgrid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:var(--tim-space-8);align-items:start}
.tim-shop-cartgrid>.tim-ds-card:first-child{padding-block:var(--tim-space-2)}
@media (max-width:900px){.tim-shop-cartgrid{grid-template-columns:minmax(0,1fr);gap:var(--tim-space-5)}}
.tim-shop-sum{position:sticky;top:96px;display:flex;flex-direction:column;gap:var(--tim-space-4)}
.tim-shop-sum__head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--tim-space-3)}
.tim-shop-sum__head h2{margin:0!important;color:var(--tim-heading)!important;font-size:var(--tim-fs-md)!important;font-weight:var(--tim-fw-bold)!important}
html body .tim-shop-sum .tim-ds-btn--block{width:100%}
.tim-shop-sum .tim-shop-line{grid-template-columns:52px minmax(0,1fr) auto;padding:var(--tim-space-3) 0}
.tim-shop-sum .tim-shop-line__img{width:52px;height:52px;position:relative;overflow:visible}
.tim-shop-sum .tim-shop-line__img img{border-radius:var(--tim-radius)}
.tim-shop-sum .tim-shop-line__q{position:absolute;top:-6px;inset-inline-end:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:var(--tim-radius-pill);background:var(--tim-heading);color:var(--tim-bg);font-size:11px;font-weight:var(--tim-fw-bold)}
@media (max-width:900px){.tim-shop-sum{position:static}}
/* ---------- إتمام الطلب ---------- */
.tim-shop-co{padding-top:var(--tim-space-6)}
.tim-shop-co__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--tim-space-2) var(--tim-space-4);margin-bottom:var(--tim-space-5)}
.tim-shop-co__title{margin:0!important;color:var(--tim-heading)!important;font-size:clamp(26px,3vw,var(--tim-fs-2xl))!important;font-weight:var(--tim-fw-black)!important;line-height:1.3!important}
.tim-shop-co__secure{display:flex;align-items:center;gap:6px;margin:0;color:var(--tim-muted);font-size:var(--tim-fs-sm)}
.tim-shop-progress{display:flex;gap:var(--tim-space-2);margin:0 0 var(--tim-space-6);padding:0;list-style:none;counter-reset:none}
.tim-shop-progress li{display:flex;align-items:center;gap:var(--tim-space-2);flex:1 1 0;min-width:0;padding-top:var(--tim-space-2);border-top:3px solid var(--tim-border);color:var(--tim-muted);font-size:var(--tim-fs-sm);font-weight:var(--tim-fw-medium);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:border-color var(--tim-dur-in) ease,color var(--tim-dur-in) ease}
.tim-shop-progress li span{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--tim-soft);color:var(--tim-heading);font-size:var(--tim-fs-xs);font-weight:var(--tim-fw-bold)}
.tim-shop-progress li.is-on,.tim-shop-progress li.is-done{border-color:var(--tim-primary);color:var(--tim-heading)}
.tim-shop-progress li.is-on span,.tim-shop-progress li.is-done span{background:var(--tim-primary);color:var(--tim-on-primary)}
@media (max-width:600px){.tim-shop-progress li{font-size:0;gap:0}.tim-shop-progress li span{font-size:var(--tim-fs-xs)}}
.tim-shop-co__grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:var(--tim-space-8);align-items:start}
@media (max-width:1024px){.tim-shop-co__grid{grid-template-columns:minmax(0,1fr) 340px;gap:var(--tim-space-6)}}
@media (max-width:900px){.tim-shop-co__grid{grid-template-columns:minmax(0,1fr)}.tim-shop-co__aside{order:-1}}
.tim-shop-co__form{display:flex;flex-direction:column;gap:var(--tim-space-4);min-width:0}
.tim-shop-step{gap:var(--tim-space-5);scroll-margin-top:96px}
.tim-shop-step__head{display:flex;align-items:flex-start;gap:var(--tim-space-3)}
.tim-shop-step__n{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--tim-heading);color:var(--tim-bg);font-size:var(--tim-fs-sm);font-weight:var(--tim-fw-bold)}
.tim-shop-step.is-done .tim-shop-step__n{background:var(--tim-success);color:#fff}
.tim-shop-step__head h2{margin:0!important;color:var(--tim-heading)!important;font-size:var(--tim-fs-lg)!important;font-weight:var(--tim-fw-bold)!important;line-height:1.4!important}
.tim-shop-step__head p{margin:2px 0 0;color:var(--tim-muted);font-size:var(--tim-fs-sm)}
.tim-shop-step__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--tim-space-4)}
.tim-shop-step__grid>.is-wide{grid-column:1/-1}
@media (max-width:600px){.tim-shop-step__grid{grid-template-columns:minmax(0,1fr)}}
.tim-shop-step__note{margin:0;color:var(--tim-text);font-size:var(--tim-fs-sm)}
.tim-shop-step textarea.tim-ds-input{min-height:72px}
.tim-shop-notes{margin-top:var(--tim-space-2)}
.tim-shop-choices{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--tim-space-3)}
.tim-shop-choice{position:relative;display:block;cursor:pointer}
.tim-shop-choice>input{position:absolute;opacity:0;pointer-events:none}
.tim-shop-choice__box{display:flex;align-items:flex-start;gap:var(--tim-space-3);padding:var(--tim-space-4);border:1px solid var(--tim-border-strong);border-radius:var(--tim-radius-lg);background:var(--tim-surface);color:var(--tim-heading);transition:border-color var(--tim-dur-fast) ease,box-shadow var(--tim-dur-fast) ease,background var(--tim-dur-fast) ease}
.tim-shop-choice__box>.tim-ds-ico{margin-top:2px;flex:0 0 auto}
.tim-shop-choice__box>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.tim-shop-choice__box strong{font-size:var(--tim-fs-base);font-weight:var(--tim-fw-bold)}
.tim-shop-choice__box small{color:var(--tim-text);font-size:var(--tim-fs-sm);line-height:1.7}
.tim-shop-choice__box::after{content:"";flex:0 0 18px;width:18px;height:18px;margin-inline-start:auto;border:1.5px solid var(--tim-border-strong);border-radius:50%;background:var(--tim-surface);transition:border var(--tim-dur-fast) ease}
.tim-shop-choice>input:checked+.tim-shop-choice__box{border-color:var(--tim-heading);box-shadow:inset 0 0 0 1px var(--tim-heading);background:var(--tim-tile)}
.tim-shop-choice>input:checked+.tim-shop-choice__box::after{border:5px solid var(--tim-heading)}
.tim-shop-choice>input:focus-visible+.tim-shop-choice__box{outline:2px solid var(--tim-focus);outline-offset:2px}
.tim-shop-zone{display:flex;align-items:center;gap:var(--tim-space-2);align-self:end;min-height:var(--tim-input-h);padding:0 var(--tim-space-3);border-radius:var(--tim-radius);background:var(--tim-tile);color:var(--tim-text);font-size:var(--tim-fs-sm)}
.tim-shop-zone.is-ok{background:var(--tim-success-bg);color:var(--tim-heading)}
.tim-shop-zone.is-bad{background:var(--tim-danger-bg);color:var(--tim-danger)}
.tim-shop-zone>span{min-width:0}
@media (max-width:600px){.tim-shop-zone{min-height:0;padding:var(--tim-space-2) var(--tim-space-3)}}
.tim-shop-hp{position:absolute!important;inset-inline-start:-9999px!important;width:1px;height:1px;overflow:hidden}
.tim-shop-ts{display:flex;justify-content:center;min-height:0}
.tim-shop-agree{margin:0;color:var(--tim-text);font-size:var(--tim-fs-sm);line-height:1.8}
html body .tim-shop-place{width:100%}
.tim-shop-co__err p{margin:0}
.tim-shop-cobar{display:none}
@media (max-width:900px){
	.tim-shop-co{padding-bottom:calc(var(--tim-space-16) + 40px)}
	.tim-shop-cobar{position:fixed;inset-inline:0;bottom:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:var(--tim-space-3);padding:var(--tim-space-3) var(--tim-gutter);padding-bottom:max(var(--tim-space-3),env(safe-area-inset-bottom));border-top:1px solid var(--tim-border);background:var(--tim-surface);box-shadow:var(--tim-shadow-pop)}
	.tim-shop-cobar>div{display:flex;flex-direction:column;min-width:0}
	.tim-shop-cobar small{color:var(--tim-muted);font-size:var(--tim-fs-xs)}
	.tim-shop-cobar strong{color:var(--tim-heading);font-size:var(--tim-fs-lg);font-weight:var(--tim-fw-black);white-space:nowrap;font-variant-numeric:tabular-nums}
	.tim-shop-sum{padding:var(--tim-space-4)}
	.tim-shop-sum[data-collapsed] [data-co-lines]>*:not(.tim-shop-sum__toggle){display:none}
}
.tim-shop-sum__toggle{display:none}
@media (max-width:900px){html body .tim-shop-sum__toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0;border:0;background:none;color:var(--tim-heading);font:inherit;font-weight:var(--tim-fw-bold);cursor:pointer;box-shadow:none}.tim-shop-sum[data-collapsed] .tim-shop-sum__head{display:none}.tim-shop-sum__toggle .tim-ds-ico{transition:transform var(--tim-dur-fast) ease}.tim-shop-sum:not([data-collapsed]) .tim-shop-sum__toggle .tim-ds-ico{transform:rotate(180deg)}}
/* ---------- صفحة الطلب ---------- */
.tim-shop-order{padding-top:var(--tim-space-8)}
.tim-shop-order .tim-ds-container{display:flex;flex-direction:column;gap:var(--tim-space-4)}
.tim-shop-order__hero{display:flex;flex-direction:column;align-items:center;gap:var(--tim-space-2);margin-bottom:var(--tim-space-4);text-align:center}
.tim-shop-order__ok{display:grid;place-items:center;width:64px;height:64px;margin-bottom:var(--tim-space-2);border-radius:50%;background:var(--tim-success-bg);color:var(--tim-success)}
.tim-shop-order__hero h1{margin:0!important;color:var(--tim-heading)!important;font-size:clamp(26px,3.4vw,var(--tim-fs-2xl))!important;font-weight:var(--tim-fw-black)!important;line-height:1.35!important;text-wrap:balance}
.tim-shop-order__hero p{max-width:560px;margin:0;color:var(--tim-text);font-size:var(--tim-fs-md);line-height:1.8}
.tim-shop-order__num{display:inline-flex;align-items:center;gap:var(--tim-space-2);margin-top:var(--tim-space-3);padding:6px 8px 6px 14px;border:1px solid var(--tim-border-strong);border-radius:var(--tim-radius-pill);background:var(--tim-surface);color:var(--tim-muted);font-size:var(--tim-fs-sm)}
[dir=rtl] .tim-shop-order__num{padding:6px 14px 6px 8px}
.tim-shop-order__num strong{color:var(--tim-heading);font-size:var(--tim-fs-md);letter-spacing:.02em}
.tim-shop-order__badges{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:var(--tim-space-3);margin-top:var(--tim-space-2)}
.tim-shop-order__grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:var(--tim-space-4);align-items:start}
@media (max-width:767px){.tim-shop-order__grid{grid-template-columns:minmax(0,1fr)}}
.tim-shop-order__acts{justify-content:center;margin-top:var(--tim-space-4)}
.tim-shop-block{gap:var(--tim-space-3)}
.tim-shop-block__t{display:flex;align-items:center;gap:var(--tim-space-2);margin:0!important;color:var(--tim-heading)!important;font-size:var(--tim-fs-md)!important;font-weight:var(--tim-fw-bold)!important;line-height:1.4!important}
.tim-shop-block>p{margin:0;font-size:var(--tim-fs-sm);line-height:1.8}
.tim-shop-block--brand{border-color:color-mix(in srgb,var(--tim-primary) 28%,var(--tim-border))}
.tim-shop-next{padding:var(--tim-space-2) 0}
.tim-shop-track{display:flex;margin:var(--tim-space-2) 0 0;padding:0;list-style:none}
.tim-shop-track li{position:relative;display:flex;flex-direction:column;align-items:center;gap:var(--tim-space-2);flex:1 1 0;min-width:0;color:var(--tim-muted);font-size:var(--tim-fs-xs);font-weight:var(--tim-fw-medium);text-align:center}
.tim-shop-track li::before{content:"";position:absolute;top:11px;inset-inline-start:calc(-50% + 14px);inset-inline-end:calc(50% + 14px);height:2px;background:var(--tim-border-strong)}
.tim-shop-track li:first-child::before{display:none}
.tim-shop-track li.is-done::before,.tim-shop-track li.is-now::before{background:var(--tim-success)}
.tim-shop-track__dot{position:relative;z-index:1;display:grid;place-items:center;width:24px;height:24px;border:2px solid var(--tim-border-strong);border-radius:50%;background:var(--tim-surface);color:#fff}
.tim-shop-track li.is-done .tim-shop-track__dot{border-color:var(--tim-success);background:var(--tim-success)}
.tim-shop-track li.is-now .tim-shop-track__dot{border-color:var(--tim-success);box-shadow:0 0 0 4px var(--tim-success-bg)}
.tim-shop-track li.is-now,.tim-shop-track li.is-done{color:var(--tim-heading)}
.tim-shop-track li.is-now{font-weight:var(--tim-fw-bold)}
.tim-shop-bank{display:flex;flex-direction:column;margin:0;border:1px solid var(--tim-border);border-radius:var(--tim-radius-lg);background:var(--tim-tile)}
.tim-shop-bank>div{display:flex;align-items:center;justify-content:space-between;gap:var(--tim-space-3);padding:var(--tim-space-3) var(--tim-space-4);min-width:0}
.tim-shop-bank>div+div{border-top:1px solid var(--tim-border)}
.tim-shop-bank dt{color:var(--tim-muted);font-size:var(--tim-fs-sm)}
.tim-shop-bank dd{display:flex;align-items:center;gap:var(--tim-space-1);margin:0;min-width:0;color:var(--tim-heading);font-weight:var(--tim-fw-bold);text-align:end;overflow-wrap:anywhere}
.tim-shop-dls{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.tim-shop-dls li{display:flex;align-items:center;justify-content:space-between;gap:var(--tim-space-3);padding:var(--tim-space-3) 0;border-top:1px solid var(--tim-border)}
.tim-shop-dls li>div{display:flex;flex-direction:column;min-width:0}
.tim-shop-dls strong{color:var(--tim-heading);font-size:var(--tim-fs-base)}
.tim-shop-dls small{color:var(--tim-muted);font-size:var(--tim-fs-xs)}
.tim-shop-dl{display:flex;flex-direction:column;gap:var(--tim-space-4);margin:0}
.tim-shop-dl dt{margin-bottom:2px;color:var(--tim-muted);font-size:var(--tim-fs-xs);font-weight:var(--tim-fw-bold)}
.tim-shop-dl dd{margin:0;color:var(--tim-heading);font-size:var(--tim-fs-sm);line-height:1.8;overflow-wrap:anywhere}
.tim-shop-dl small{color:var(--tim-muted)}
/* ---------- «طلباتي» ---------- */
.tim-shop-my{display:flex;flex-direction:column;gap:var(--tim-space-3);padding:0}
html body .tim-shop-my__card{display:flex;flex-direction:row;align-items:center;gap:var(--tim-space-4);width:100%;padding:var(--tim-space-4);font:inherit;text-align:start;cursor:pointer;transition:border-color var(--tim-dur-fast) ease}
html body .tim-shop-my__card:hover{border-color:color-mix(in srgb,var(--tim-heading) 22%,var(--tim-border))}
.tim-shop-my__card:focus-visible{outline:2px solid var(--tim-focus);outline-offset:2px}
.tim-shop-my__thumbs{display:flex;flex:0 0 auto}
.tim-shop-my__img{display:grid;place-items:center;width:44px;height:44px;overflow:hidden;border:2px solid var(--tim-surface);border-radius:var(--tim-radius);background:var(--tim-tile);color:var(--tim-muted)}
.tim-shop-my__img+.tim-shop-my__img{margin-inline-start:-14px}
.tim-shop-my__img img{display:block;width:100%;height:100%;object-fit:cover}
.tim-shop-my__main{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}
.tim-shop-my__main strong{color:var(--tim-heading);font-size:var(--tim-fs-base);text-align:start}
[dir=rtl] .tim-shop-my__main strong{text-align:right}
.tim-shop-my__main small{overflow:hidden;color:var(--tim-muted);font-size:var(--tim-fs-xs);text-overflow:ellipsis;white-space:nowrap}
.tim-shop-my__end{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:0 0 auto}
.tim-shop-my__end b{color:var(--tim-heading);font-size:var(--tim-fs-base);white-space:nowrap;font-variant-numeric:tabular-nums}
@media (max-width:480px){.tim-shop-my__thumbs{display:none}}
.tim-shop-evs{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none}
.tim-shop-evs li{position:relative;display:flex;flex-direction:column;padding:0 0 var(--tim-space-4);padding-inline-start:var(--tim-space-6)}
.tim-shop-evs li::before{content:"";position:absolute;top:7px;inset-inline-start:4px;width:8px;height:8px;border-radius:50%;background:var(--tim-heading)}
.tim-shop-evs li::after{content:"";position:absolute;top:19px;bottom:0;inset-inline-start:7px;width:2px;background:var(--tim-border)}
.tim-shop-evs li:last-child{padding-bottom:0}
.tim-shop-evs li:last-child::after{display:none}
.tim-shop-evs strong{color:var(--tim-heading);font-size:var(--tim-fs-sm)}
.tim-shop-evs small{color:var(--tim-muted);font-size:var(--tim-fs-xs)}
.tim-shop-evs p{margin:2px 0 0;font-size:var(--tim-fs-sm)}
@media (max-width:600px){.tim-shop{padding:var(--tim-space-5) 0 var(--tim-space-12)}.tim-shop-bar{flex-wrap:wrap}.tim-shop-chips{order:2;flex:1 1 100%;margin-inline:calc(var(--tim-gutter) * -1);padding-inline:var(--tim-gutter)}.tim-shop-bar__aside{flex:1 1 100%;margin:0}.tim-shop-sort{flex:1 1 auto;width:auto;min-width:0}.tim-shop-buy__row{flex-wrap:nowrap}.tim-shop-qty{flex-basis:120px;width:120px}}