/* تم مینیمال «گالری»: وسط‌چین، تایپوگرافی درشت، تصویر بدون قاب، فهرست دسته‌ها به‌شکل نمایه */
:root{--accent:#111;--accent-ink:#fff;--bg:#fff;--surface:#fff;--ink:#111;--muted:#666;--line:#e5e5e5;--soft:#f4f4f4;--radius:0;--radius-lg:0;--e1:none;--e2:none;--e3:0 12px 32px -12px rgba(0,0,0,.25);--shadow:none}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--accent:#f2f2f2;--accent-ink:#111;--bg:#0e0e0e;--surface:#0e0e0e;--ink:#f2f2f2;--muted:#a0a0a0;--line:#2b2b2b;--soft:#1a1a1a}}
:root[data-theme=dark]{--accent:#f2f2f2;--accent-ink:#111;--bg:#0e0e0e;--surface:#0e0e0e;--ink:#f2f2f2;--muted:#a0a0a0;--line:#2b2b2b;--soft:#1a1a1a;color-scheme:dark}

.theme-minimal :focus-visible{border-radius:0}
.theme-minimal .btn{border-radius:0;font-weight:400;letter-spacing:.01em}
.theme-minimal .btn-lg{box-shadow:none;font-weight:700}
.theme-minimal .icon-btn{border-radius:0;border-color:var(--ink);background:none}
.theme-minimal .icon-btn:hover{background:var(--ink);color:var(--bg)}
.theme-minimal .chip{background:none;border:0;padding:0;border-radius:0;color:var(--muted);min-height:22px;font-size:.8rem}

/* ----- سرصفحه: نام سایت وسط، جست‌وجوی خطی در یک سو، ابزار در سوی دیگر ----- */
@media (min-width:900px){
  .theme-minimal .site-header{position:static;border-bottom:0}
  .theme-minimal .bar{display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:"s b t" ". g .";gap:0 24px;padding-block:34px 18px;align-items:center}
  .theme-minimal .brand{grid-area:b;justify-self:center;font-size:2.1rem;letter-spacing:-.01em}
  .theme-minimal .brand-tag{grid-area:g;display:block;justify-self:center;margin:2px 0 0;font-size:.85rem;color:var(--muted)}
  .theme-minimal .search{grid-area:s;justify-self:start;width:100%;max-width:280px;flex:none;margin:0;gap:0}
  .theme-minimal .tools{grid-area:t;justify-self:end;margin:0}
  .theme-minimal .cats{border-top:1px solid var(--ink);border-bottom:1px solid var(--line);margin-bottom:8px}
  .theme-minimal .cats ul{justify-content:safe center;padding-block:0;-webkit-mask-image:none;mask-image:none}
}
.theme-minimal .search input{border:0;border-bottom:1px solid var(--ink);border-radius:0;background:transparent;padding:0 2px;height:44px;box-shadow:none}
.theme-minimal .search input:focus{box-shadow:none;border-bottom-width:2px}
.theme-minimal .search .btn{background:none;color:var(--ink);border:0;border-bottom:1px solid var(--ink);border-radius:0;padding:0 6px;min-height:44px}
.theme-minimal .search .btn span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.theme-minimal .search .btn:hover{background:none;filter:none;color:var(--at)}
.theme-minimal .sugg{border-radius:0;border-color:var(--ink);box-shadow:none}
.theme-minimal .cats a{border-radius:0;border:0;border-bottom:2px solid transparent;min-height:46px;padding:0 16px;font-size:.92rem}
.theme-minimal .cats a:hover{background:none;border-bottom-color:var(--line)}
.theme-minimal .cats a[aria-current=page]{background:none;border-bottom-color:var(--ink);color:var(--ink)}
@media (max-width:899px){.theme-minimal .brand{justify-content:center;flex:1}.theme-minimal .site-header{border-bottom:1px solid var(--ink)}}

/* ----- صفحهٔ اول: تیتر غول‌پیکر، بدون قاب ----- */
.theme-minimal .hero{display:block;border:0;background:none;border-radius:0;padding:clamp(28px,7vw,88px) 0 clamp(24px,4vw,48px);margin:0}
.theme-minimal .hero::before{display:none}
.theme-minimal .hero h1{font-size:clamp(2.7rem,10vw,7rem);font-weight:700;line-height:1.2;letter-spacing:-.02em;margin:0 0 .15em;text-wrap:balance}
.theme-minimal[data-o-hero=small] .hero h1{font-size:clamp(1.9rem,5vw,3rem)}
.theme-minimal[data-o-hero=small] .hero{padding-block:clamp(20px,4vw,40px)}
.theme-minimal .lead{font-size:clamp(1.05rem,2.4vw,1.4rem);max-width:34ch;color:var(--muted)}
.theme-minimal .search-hero{max-width:560px;margin-top:30px}
.theme-minimal .search-hero input{height:64px;font-size:1.3rem;background:transparent;border:0;border-bottom:2px solid var(--ink);box-shadow:none;border-radius:0;padding:0}
.theme-minimal .search-hero .btn{min-height:64px;border-bottom-width:2px;padding:0 16px}
.theme-minimal .search-hero .btn span{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
.theme-minimal .hero-links{margin-top:22px}
.theme-minimal .hero-links a{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 2px;min-height:34px;color:var(--ink)}
.theme-minimal .hero-links a:hover{border-bottom-color:var(--ink)}
.theme-minimal .hero .trust-strip{display:flex;flex-wrap:wrap;gap:6px 36px;margin-top:34px;padding-top:18px;border-top:1px solid var(--line)}
.theme-minimal .trust-strip li{padding:0;background:none;border:0;box-shadow:none;border-radius:0}
.theme-minimal .trust-strip .ico,.theme-minimal .trust-strip span span{display:none}
.theme-minimal .trust-strip b{font-weight:400;font-size:.9rem;color:var(--muted)}

/* ----- بخش‌ها: خط ضخیم بالا، عنوان درشت ----- */
.theme-minimal section{margin-bottom:64px}
.theme-minimal .sec-head,.theme-minimal section>h2{border-top:2px solid var(--ink);padding-top:14px;margin-bottom:26px}
.theme-minimal .sec-head h2,.theme-minimal section>h2{font-size:clamp(1.4rem,3vw,2rem);font-weight:700;margin:0}
.theme-minimal section>h2{margin-bottom:26px}
.theme-minimal .sec-head h2::before,.theme-minimal section>h2::before{display:none}
.theme-minimal .sec-head a{background:none;border-radius:0;padding:0;min-height:44px;color:var(--ink);text-decoration:underline;font-weight:400}
.theme-minimal .sec-head a:hover{background:none;color:var(--at)}
.theme-minimal .empty-search h2,.theme-minimal .more h2{font-size:1.2rem}

/* نمایهٔ دسته‌ها */
.theme-minimal .cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 56px}
.theme-minimal .cat-grid a{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none;min-height:64px;padding:0;font-size:1.12rem;font-weight:400;gap:0;transition:padding .2s,color .2s}
.theme-minimal .cat-grid .ico{display:none}
.theme-minimal .cat-grid .txt{flex-direction:row;align-items:baseline;justify-content:space-between;width:100%}
.theme-minimal .cat-grid small{font-size:.85rem}
.theme-minimal .cat-grid a:hover{padding-inline-start:10px;color:var(--at);border-bottom-color:var(--ink)}
@media (max-width:899px){.theme-minimal .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}}
@media (max-width:520px){.theme-minimal .cat-grid{grid-template-columns:1fr}}

/* ----- کارت‌ها: تصویر بدون قاب، زیرنویس خطی ----- */
.theme-minimal .grid{gap:44px 24px}
@media (min-width:900px){
  .theme-minimal[data-o-cols="3"] .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .theme-minimal[data-o-cols="4"] .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .theme-minimal[data-o-cols="5"] .grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
.theme-minimal .card{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible;transform:none}
@media (hover:hover){.theme-minimal .card:hover{transform:none;box-shadow:none;border-color:transparent}}
.theme-minimal .card-img{aspect-ratio:1/1;background:var(--soft);border-radius:0}
.theme-minimal[data-o-ratio=tall] .card-img{aspect-ratio:3/4}
.theme-minimal[data-o-ratio=wide] .card-img{aspect-ratio:4/3}
.theme-minimal .card-img img{transition:opacity .25s,filter .35s}
.theme-minimal[data-o-bw=on] .card-img img{filter:grayscale(1) contrast(1.05)}
@media (hover:hover){
  .theme-minimal .card:hover .card-img img{opacity:.88}
  .theme-minimal[data-o-bw=on] .card:hover .card-img img{filter:none;opacity:1}
}
.theme-minimal .card:has(.card-title a:focus-visible){outline-offset:6px;outline-width:2px}
.theme-minimal .card-body{padding:14px 0 0;gap:4px}
.theme-minimal .card-title{font-weight:400;font-size:1.02rem;-webkit-line-clamp:2}
.theme-minimal .card-title a:hover{color:var(--ink);text-decoration:underline}
.theme-minimal .card-foot{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 12px;border-top:1px solid var(--line);margin-top:10px;padding-top:6px}
.theme-minimal .price b{font-weight:700;font-size:1rem}
.theme-minimal .card-foot .btn{background:none;border:0;border-radius:0;color:var(--ink);padding:0;min-height:40px;font-weight:400;font-size:.85rem;text-decoration:underline;text-underline-offset:4px}
.theme-minimal .card-foot .btn:hover{background:none;color:var(--at)}
.theme-minimal .noimg{background-color:var(--soft)}

.theme-minimal .toolbar{border-bottom:1px solid var(--line);padding-bottom:14px}
.theme-minimal .sorts a,.theme-minimal .pager a,.theme-minimal .pager span,.theme-minimal .tag-list a{border-radius:0}
.theme-minimal .sorts a{border:0;border-bottom:2px solid transparent;background:none;padding:0 8px;min-height:44px}
.theme-minimal .sorts a:hover{border-bottom-color:var(--line)}
.theme-minimal .sorts a[aria-current]{background:none;color:var(--ink);border-bottom-color:var(--ink)}
.theme-minimal .pager a:hover{border-color:var(--ink)}
.theme-minimal .tag-list a{background:none;border-color:var(--ink)}

/* ----- محصول ----- */
.theme-minimal .product,.theme-minimal .prose{border:0;background:none;border-radius:0;padding:0}
.theme-minimal .product{gap:32px clamp(28px,5vw,72px)}
.theme-minimal .p-media img,.theme-minimal .p-media .noimg{border:0;border-radius:0;background-color:var(--soft)}
.theme-minimal .p-info h1{font-size:clamp(1.7rem,3.6vw,2.6rem);font-weight:700;letter-spacing:-.01em}
.theme-minimal .buy{background:none;border:0;border-top:2px solid var(--ink);border-radius:0;padding:20px 0 0}
.theme-minimal .p-price .price b{font-size:2.1rem}
.theme-minimal .share,.theme-minimal .desc-more{border-radius:0;border-color:var(--ink);background:none}
.theme-minimal .p-desc{border-top:2px solid var(--ink)}
.theme-minimal .crumbs ol{font-size:.8rem}
.theme-minimal .sticky-cta{border-radius:0;border-top:1px solid var(--ink)}
.theme-minimal .drawer{border-radius:0}

/* ----- پاورقی: ساده و بی‌جعبه ----- */
.theme-minimal .site-footer{border-top:2px solid var(--ink);margin-top:24px}
.theme-minimal .foot-grid{padding-block:48px 28px}
.theme-minimal .foot-brand .brand{font-size:1.6rem}
.theme-minimal .foot-badges li{border:0;padding:0;min-height:0;font-size:.82rem}
.theme-minimal .foot-badges li+li::before{content:"/";margin-inline-end:8px;color:var(--muted)}
.theme-minimal .foot-badges svg{display:none}
.theme-minimal .foot-note{border:0;border-radius:0;background:none;padding:0}
.theme-minimal .foot-col h2,.theme-minimal .foot-note h2{font-size:.85rem;font-weight:700;border-bottom:1px solid var(--ink);padding-bottom:8px;margin-bottom:8px}
.theme-minimal .foot-bar{border-top:1px solid var(--line)}
.theme-minimal .to-top{border:0;padding:0;text-decoration:underline}
