/* Stage 33 and 34 layout overlays moved out of the immutable Vite asset. */
.t-seller-profile-hero{display:grid;gap:1rem;padding-block-end:1rem}.t-seller-profile-cover{position:relative;overflow:hidden}.t-seller-profile-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0f172a0a,#0f172a2e);pointer-events:none}.t-seller-profile-cover-fallback{min-block-size:12rem;background:radial-gradient(circle at top right,#d4af3738,transparent 24%),linear-gradient(135deg,var(--color-brand-100),var(--color-subtle))}.t-seller-profile-hero-main{display:grid;gap:1rem;padding-inline:1rem}.t-seller-profile-identity{position:relative;z-index:2;display:grid;gap:1rem;min-inline-size:0;margin-block-start:-2.2rem}.t-seller-profile-avatar{position:relative;z-index:3;inline-size:5.8rem!important;block-size:5.8rem!important;margin-block-start:0;border:4px solid #fff!important;box-shadow:0 16px 30px #0f172a1a;background:var(--color-base)}.t-seller-profile-copy{display:grid;gap:.75rem;min-inline-size:0}.t-seller-profile-heading{display:grid;gap:.45rem;min-inline-size:0}.t-seller-profile-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;min-inline-size:0}.t-seller-profile-title-row .type-h2{margin:0;min-inline-size:0;overflow-wrap:anywhere}.t-seller-profile-meta{color:var(--color-neutral-600);font-size:.92rem;line-height:1.9}.t-seller-profile-summary{color:var(--color-ink-900);font-size:.96rem;line-height:2;overflow-wrap:anywhere}.t-seller-profile-chips{display:flex;flex-wrap:wrap;gap:.55rem}.t-seller-chip{display:inline-flex;align-items:center;gap:.35rem;max-inline-size:100%;border:1px solid var(--color-border);border-radius:999px;background:var(--color-canvas);padding:.45rem .75rem;color:var(--color-neutral-700);font-size:.8rem;line-height:1.7}.t-seller-profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;align-self:start}.t-seller-profile-action-form,.t-seller-profile-report{margin:0;min-inline-size:0}.t-seller-profile-actions>*{min-inline-size:0}.t-seller-profile-action-link,.t-seller-profile-actions .t-btn,.t-seller-profile-actions form>*{inline-size:100%;justify-content:center}.t-seller-profile-actions .t-btn{min-block-size:2.8rem}.t-seller-profile-report .t-btn{inline-size:100%;justify-content:center}.t-seller-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding-inline:1rem}.t-seller-profile-stat-card{border:1px solid var(--color-border);border-radius:1rem;background:linear-gradient(180deg,var(--color-base),var(--color-canvas));padding:.85rem .8rem;text-align:center}.t-seller-profile-stat-card strong{display:block;color:var(--color-ink-950);font-size:1.1rem;font-weight:850;font-variant-numeric:tabular-nums}.t-seller-profile-stat-card span{display:block;margin-block-start:.2rem;color:var(--color-neutral-500);font-size:.76rem;line-height:1.7}.t-seller-profile-rating-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;border-top:1px solid var(--color-border);padding:0 1rem;padding-top:1rem}.t-seller-mini-link{display:inline-flex;align-items:center;border-radius:999px;background:var(--color-canvas);padding:.45rem .75rem;color:var(--color-neutral-700);font-size:.8rem;font-weight:700;text-decoration:none}.t-seller-mini-link:hover{color:var(--color-brand-700);background:var(--color-brand-50)}.t-seller-profile-layout{display:grid;gap:1.25rem;align-items:start}.t-seller-profile-main,.t-seller-profile-sidebar{display:grid;gap:1.25rem;min-inline-size:0}.t-seller-panel{border:1px solid var(--color-border);border-radius:var(--radius-feature);background:var(--color-base);padding:1rem}.t-seller-panel-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.75rem}.t-seller-panel-header .type-h2,.t-seller-panel-header .type-h3{margin:0;overflow-wrap:anywhere}.t-seller-panel-note{display:inline-flex;align-items:center;border-radius:999px;background:var(--color-brand-50);padding:.35rem .7rem;color:var(--color-brand-700);font-size:.74rem;font-weight:800}.t-seller-aside-card{position:relative;overflow:hidden}.t-seller-aside-text{white-space:pre-line;color:var(--color-neutral-700);line-height:2;font-size:.92rem;overflow-wrap:anywhere}.t-seller-contact-list,.t-seller-info-list,.t-seller-hours-list{display:grid;gap:.75rem;margin-top:1rem}.t-seller-contact-item,.t-seller-info-item,.t-seller-hours-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border:1px solid var(--color-border);border-radius:.95rem;background:var(--color-canvas);padding:.8rem .9rem}.t-seller-contact-item span,.t-seller-info-item strong,.t-seller-hours-row dt{color:var(--color-neutral-600);font-size:.8rem;font-weight:800}.t-seller-contact-item a,.t-seller-info-item span,.t-seller-hours-row dd{margin:0;text-align:end;color:var(--color-ink-950);font-size:.86rem;font-weight:700;line-height:1.8;overflow-wrap:anywhere}.t-seller-address-card{margin-top:1rem;border-radius:1rem;background:#d4af3717;padding:.95rem 1rem}.t-seller-empty-copy{color:var(--color-neutral-500);font-size:.88rem;line-height:1.9}@media (min-width:64rem){.t-seller-profile-hero{gap:1.15rem;padding-block-end:1.15rem}.t-seller-profile-hero-main{grid-template-columns:minmax(0,1fr) minmax(15rem,18rem);align-items:start;gap:1.25rem;padding-inline:1.5rem}.t-seller-profile-identity{grid-template-columns:auto minmax(0,1fr);align-items:end}.t-seller-profile-avatar{inline-size:7rem!important;block-size:7rem!important;margin-block-start:0}.t-seller-profile-stats{grid-template-columns:repeat(4,minmax(0,1fr));padding-inline:1.5rem}.t-seller-profile-rating-strip{padding-inline:1.5rem}.t-seller-profile-layout{grid-template-columns:minmax(0,1.5fr) minmax(18rem,.8fr);gap:1.5rem}.t-seller-profile-sidebar{position:sticky;inset-block-start:calc(var(--t-header-desktop) + 1rem)}}@media (max-width:47.99rem){.t-seller-profile-actions{grid-template-columns:minmax(0,1fr)}.t-seller-contact-item,.t-seller-info-item,.t-seller-hours-row{flex-direction:column}.t-seller-contact-item a,.t-seller-info-item span,.t-seller-hours-row dd{text-align:start}}
.t-sellers-directory-hero{display:grid;gap:1rem;margin-block:.9rem 1rem;padding:1rem;border:1px solid var(--color-border);border-radius:var(--radius-feature);background:linear-gradient(180deg,var(--color-base),var(--color-canvas))}.t-sellers-directory-heading{margin:0}.t-sellers-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.t-sellers-hero-stat{border:1px solid var(--color-border);border-radius:1rem;background:var(--color-base);padding:.8rem;text-align:center}.t-sellers-hero-stat strong{display:block;color:var(--color-ink-950);font-size:1.05rem;font-weight:850;font-variant-numeric:tabular-nums}.t-sellers-hero-stat span{display:block;margin-top:.2rem;color:var(--color-neutral-500);font-size:.73rem}.t-sellers-directory-toolbar{margin-block:0}.t-sellers-active-filters{margin-block-start:0}.t-sellers-results-shell{display:grid;gap:1rem;margin-block-start:1rem}.t-sellers-results-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.t-sellers-results-count{display:inline-flex;align-items:center;border-radius:999px;background:var(--color-brand-50);padding:.38rem .75rem;color:var(--color-brand-700);font-size:.78rem;font-weight:800}.t-page-seller-grid-v2{gap:1rem}.t-directory-seller-card-v2{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.t-directory-seller-card-v2:hover{transform:translateY(-2px);border-color:var(--color-brand-200);box-shadow:0 16px 32px #0f172a14}.t-directory-seller-link-v2{gap:.9rem;padding:.85rem}.t-directory-seller-media{position:relative}.t-directory-seller-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;min-block-size:4.75rem}.t-directory-seller-thumb{display:block;overflow:hidden;border-radius:.9rem;background:var(--color-subtle);aspect-ratio:1/.8}.t-directory-seller-thumb img{inline-size:100%;block-size:100%;object-fit:cover}.t-directory-seller-thumb.is-placeholder{background:linear-gradient(135deg,var(--color-brand-100),var(--color-subtle))}.t-directory-seller-avatar-v2{position:absolute;inset-inline-start:.7rem;inset-block-end:-1rem;inline-size:4rem;block-size:4rem;border:3px solid #fff;box-shadow:0 14px 24px #0f172a1f}.t-directory-seller-content{display:grid;gap:.65rem;min-inline-size:0;padding-top:.65rem}.t-directory-seller-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.t-directory-seller-name-v2{display:flex;align-items:center;gap:.25rem;min-inline-size:0;margin:0;font-size:.94rem;white-space:normal;line-height:1.75;overflow-wrap:anywhere}.t-directory-seller-rating-pill{display:inline-flex;align-items:center;gap:.25rem;white-space:nowrap;border-radius:999px;background:#fef3c7;padding:.28rem .55rem;color:#92400e;font-size:.72rem;font-weight:800}.t-directory-seller-title{margin:0;color:var(--color-neutral-600);font-size:.78rem;line-height:1.85;min-block-size:2.85rem;overflow:hidden}.t-directory-seller-chips{display:flex;flex-wrap:wrap;gap:.38rem}.t-directory-seller-chip{display:inline-flex;align-items:center;max-inline-size:100%;border:1px solid var(--color-border);border-radius:999px;background:var(--color-canvas);padding:.26rem .55rem;color:var(--color-neutral-700);font-size:.7rem;line-height:1.7}.t-directory-seller-rating-v2{min-block-size:auto;font-size:.74rem}.t-directory-seller-action-v2{min-block-size:2.6rem;margin-top:.1rem}@media (max-width:39.999rem){.t-sellers-directory-hero{padding:.85rem}.t-sellers-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.t-sellers-results-head{flex-direction:column;align-items:flex-start}.t-directory-seller-avatar-v2{inline-size:3.5rem;block-size:3.5rem}.t-directory-seller-title{min-block-size:auto}}@media (min-width:40rem){.t-page-seller-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:64rem){.t-sellers-directory-hero{padding:1.25rem}.t-page-seller-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Bazaar Talaieh Stage 35 - after Vite and all compatibility styles.
   Scope: public store directories, store profiles and product cards/pages only. */
.t-storefront-directory-card,
.t-storefront-directory-card *,
.t-seller-profile-hero,
.t-seller-profile-hero * { box-sizing: border-box; }

/* A flex card MUST stretch its media box; otherwise the three intrinsic
   images from older layouts create a very tall narrow strip. */
.t-directory-seller-card.t-storefront-directory-card {
  display:block;
  min-inline-size:0;
  inline-size:100%;
  overflow:hidden;
  border:1px solid #e9e2d7;
  border-radius:1.1rem;
  background:#fff;
  box-shadow:0 3px 14px rgb(42 32 16 / .045);
}
.t-storefront-directory-card .t-directory-seller-link.t-storefront-directory-link {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  inline-size:100%;
  min-inline-size:0;
  min-block-size:100%;
  gap:0;
  padding:.75rem;
  text-decoration:none;
  color:inherit;
}
.t-storefront-directory-cover {
  position:relative;
  isolation:isolate;
  display:block;
  inline-size:100%;
  min-inline-size:0;
  block-size:clamp(7rem, 23vw, 9rem);
  max-block-size:9rem;
  border-radius:.9rem;
  background:linear-gradient(130deg,#f1e4c0,#f8f5eb);
}
.t-storefront-directory-cover-img {
  display:block;
  inline-size:100%;
  block-size:100%;
  max-inline-size:100%;
  object-fit:cover;
  object-position:center;
  border-radius:inherit;
}
.t-storefront-directory-cover-empty {
  display:grid;
  inline-size:100%;
  block-size:100%;
  place-items:center;
  border-radius:inherit;
  color:#8b691f;
}
.t-storefront-directory-avatar.t-directory-seller-avatar {
  position:absolute;
  z-index:2;
  inset-inline-start:.75rem;
  inset-block-end:-1.25rem;
  display:grid;
  inline-size:3.75rem;
  block-size:3.75rem;
  min-inline-size:3.75rem;
  place-items:center;
  overflow:hidden;
  border:3px solid #fff;
  border-radius:9999px;
  background:#fffdf9;
  box-shadow:0 5px 15px rgb(25 22 16 / .14);
}
.t-storefront-directory-avatar img {
  display:block;
  inline-size:100%;
  block-size:100%;
  object-fit:cover;
}
.t-storefront-directory-info {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:.55rem;
  min-inline-size:0;
  padding-block:1.65rem .1rem;
}
.t-storefront-directory-heading {
  display:flex;
  min-inline-size:0;
  align-items:flex-start;
  gap:.35rem;
}
.t-storefront-directory-name {
  margin:0;
  min-inline-size:0;
  overflow-wrap:anywhere;
  color:#24221d;
  font-size:.95rem;
  font-weight:850;
  line-height:1.75;
}
.t-storefront-directory-verified {
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  color:#16804e;
  padding-block-start:.3rem;
}
.t-storefront-directory-description {
  display:-webkit-box;
  overflow:hidden;
  min-inline-size:0;
  margin:0;
  color:#655f55;
  font-size:.8rem;
  line-height:1.8;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow-wrap:anywhere;
}
.t-storefront-directory-chips { display:flex; flex-wrap:wrap; gap:.35rem; min-inline-size:0; }
.t-storefront-directory-chip {
  display:inline-flex;
  max-inline-size:100%;
  align-items:center;
  border:1px solid #eae5dc;
  border-radius:999px;
  background:#faf8f3;
  padding:.2rem .5rem;
  color:#635e53;
  font-size:.71rem;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.t-storefront-directory-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:.5rem;
  margin-block-start:auto;
  padding-block-start:.6rem;
  border-block-start:1px solid #f0ebe3;
}
.t-storefront-directory-review {
  display:inline-flex;
  align-items:center;
  gap:.2rem;
  min-inline-size:0;
  color:#986308;
  font-size:.76rem;
  font-weight:750;
}
.t-storefront-directory-review small { font-size:.7rem; font-weight:500; color:#80766a; }
.t-storefront-directory-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.25rem;
  border-radius:.65rem;
  background:#fff3d8;
  padding:.42rem .65rem;
  color:#714d12;
  font-size:.75rem;
  font-weight:800;
}
.t-storefront-directory-link:hover .t-storefront-directory-action,
.t-storefront-directory-link:focus-visible .t-storefront-directory-action { background:#f1dfa9; }
.t-storefront-directory-link:focus-visible { outline:3px solid #ae801d; outline-offset:-3px; border-radius:.85rem; }

/* Contain the directory result grid and preserve a readable one-column
   mobile layout even with the older commerce-v5 compatibility stylesheet. */
.t-home-seller-grid,
.t-page-seller-grid.t-page-seller-grid-v2 {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
  gap:.85rem;
  min-inline-size:0;
}
.t-home-seller-grid > *,
.t-page-seller-grid.t-page-seller-grid-v2 > * { min-inline-size:0; }
.t-sellers-directory-hero,
.t-sellers-results-shell { min-inline-size:0; }
.t-sellers-results-head h2 { overflow-wrap:anywhere; }
.t-sellers-directory-toolbar { min-inline-size:0; }

/* Stage 33 shop profile: logo is lifted in FRONT of the banner, never
   clipped or painted underneath the cover by a new stacking context. */
.t-seller-hero.t-seller-profile-hero { position:relative; isolation:isolate; min-inline-size:0; }
.t-seller-profile-hero .t-seller-profile-cover {
  position:relative;
  z-index:0;
  display:block;
  inline-size:100%;
  block-size:clamp(8rem, 32vw, 13.5rem);
  min-block-size:0;
  overflow:hidden;
}
.t-seller-profile-cover img {
  display:block;
  inline-size:100%;
  block-size:100%;
  max-block-size:none;
  object-fit:cover;
  object-position:center;
}
.t-seller-profile-cover-fallback { min-block-size:100%; }
.t-seller-profile-hero .t-seller-profile-hero-main { position:relative; z-index:2; min-inline-size:0; }
.t-seller-profile-hero .t-seller-profile-identity {
  position:relative;
  z-index:2;
  min-inline-size:0;
  margin-block-start:-2.7rem;
}
.t-seller-profile-hero .t-avatar.t-seller-profile-avatar {
  position:relative;
  z-index:4;
  inline-size:5.75rem!important;
  block-size:5.75rem!important;
  margin:0;
  border:4px solid #fff!important;
  background:#fff;
  box-shadow:0 7px 20px rgb(20 24 16 / .14);
  overflow:hidden;
}
.t-seller-profile-hero .t-seller-profile-avatar > img { inline-size:100%; block-size:100%; object-fit:cover; }
.t-seller-profile-hero .t-seller-profile-copy { min-inline-size:0; }
.t-seller-profile-hero .t-seller-profile-title-row { min-inline-size:0; }
.t-seller-profile-hero .t-seller-profile-title-row h1 { min-inline-size:0; overflow-wrap:anywhere; }
.t-seller-profile-hero .t-seller-profile-summary { max-inline-size:70ch; overflow-wrap:anywhere; }
.t-seller-profile-hero .t-seller-profile-actions { min-inline-size:0; }
.t-seller-profile-hero .t-seller-profile-actions > *,
.t-seller-profile-hero .t-seller-profile-actions .t-btn { min-inline-size:0; max-inline-size:100%; }
.t-seller-profile-sidebar,
.t-seller-profile-main,
.t-seller-panel,
.t-seller-aside-card,
.t-seller-profile-layout { min-inline-size:0; }
.t-seller-panel h2, .t-seller-panel h3 { overflow-wrap:anywhere; }
.t-seller-profile-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }

/* Product cards: reliable dimensions, small-screen readability and reduced
   layout shift; no global image changes or interference with private media. */
.t-market-product-grid,
.t-product-carousel-track { min-inline-size:0; }
.t-market-product-grid .t-product-card { min-inline-size:0; }
.t-market-product-grid .t-product-card-link { min-inline-size:0; }
.t-market-product-grid .t-product-media { min-inline-size:0; overflow:hidden; background:#f4efe5; }
.t-market-product-grid .t-product-media > img { display:block; inline-size:100%; block-size:100%; object-fit:cover; }
.t-market-product-grid .t-product-body { min-inline-size:0; }
.t-market-product-grid .t-product-title { overflow-wrap:anywhere; }
.t-market-product-grid .t-product-price { margin-block-start:.45rem; overflow-wrap:anywhere; line-height:1.55; }
.t-market-product-grid .t-product-meta { overflow:hidden; gap:.25rem; max-inline-size:100%; }
.t-product-carousel-item { min-inline-size:0; }
.t-product-carousel-item .t-product-card-link { min-inline-size:0; }

/* Product detail: predictable mobile gallery and responsive purchase panel. */
.t-pdp-shell,
.t-pdp-header,
.t-pdp-media-pane,
.t-pdp-buybox,
.t-pdp-section,
.t-personal-pdp,
.t-personal-hero,
.t-personal-summary { min-inline-size:0; }
.t-pdp .t-product-gallery-main { min-block-size:0; aspect-ratio:4/3; }
.t-pdp .t-product-gallery-main img { display:block; inline-size:100%; block-size:100%; object-fit:contain; }
.t-pdp .t-pdp-purchase,
.t-pdp .t-pdp-seller { min-inline-size:0; overflow-wrap:anywhere; }
.t-pdp .t-pdp-header h1 { overflow-wrap:anywhere; }
.t-personal-pdp .t-personal-gallery-stage { min-inline-size:0; max-inline-size:100%; }
.t-personal-pdp .t-personal-gallery-stage img { display:block; max-inline-size:100%; }

@media (min-width:40rem) {
  .t-home-seller-grid,
  .t-page-seller-grid.t-page-seller-grid-v2 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
}
@media (min-width:64rem) {
  .t-home-seller-grid,
  .t-page-seller-grid.t-page-seller-grid-v2 { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .t-seller-profile-hero .t-seller-profile-hero-main { grid-template-columns:minmax(0,1fr) minmax(14rem,18rem); }
  .t-seller-profile-hero .t-seller-profile-identity { margin-block-start:-3rem; }
  .t-seller-profile-hero .t-avatar.t-seller-profile-avatar { inline-size:6.6rem!important; block-size:6.6rem!important; transform:translateY(-2.25rem); }
  .t-seller-profile-stats { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:39.999rem) {
  .t-storefront-directory-cover { block-size:8.15rem; }
  .t-storefront-directory-avatar.t-directory-seller-avatar { inline-size:3.45rem; block-size:3.45rem; min-inline-size:3.45rem; }
  .t-seller-profile-hero .t-seller-profile-cover { block-size:9rem; }
  .t-seller-profile-hero .t-seller-profile-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .t-seller-profile-hero .t-seller-profile-action-link { min-block-size:2.8rem; padding-inline:.35rem; white-space:normal; }
  .t-seller-profile-hero .t-seller-profile-rating-strip { flex-wrap:wrap; }
}
@media (max-width:355px) {
  .t-seller-profile-hero .t-seller-profile-actions { grid-template-columns:minmax(0,1fr); }
  .t-storefront-directory-footer { align-items:flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  .t-storefront-directory-card,
  .t-storefront-directory-card * { transition:none!important; animation:none!important; }
}
