/* Storefront design tokens and components. Base.css retains shared form layouts. */
:root { --ink:#26313a; --navy:#26313a; --muted:#66717c; --orange:#d92f46; --bg:#fff; --line:#e7e9ed; --red:#d92f46; }
body { background:#fff; color:var(--ink); font-family:Vazirmatn,Tahoma,sans-serif; font-size:14px; line-height:1.9; }
button,input,select,textarea { font-family:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #18869b; outline-offset:4px; }
.wrap { max-width:1400px; padding-inline:32px; }
h1,h2,h3 { letter-spacing:0; }
.topline { background:#f4f5f7; color:#58626c; font-size:11px; border-bottom:1px solid var(--line); }
.topline-inner { padding-block:6px; }
.site-header { position:relative; z-index:3; box-shadow:0 3px 15px #29344208; }
.header-inner { min-height:95px; gap:32px; }
.logo { font-size:30px; color:var(--ink); font-weight:850; }
.logo b { color:var(--red); }
.logo small { font-size:11px; letter-spacing:0; color:var(--muted); font-weight:400; }
.search-form { max-width:660px; background:#f2f3f5; border:1px solid transparent; border-radius:10px; overflow:hidden; }
.search-form:focus-within { border-color:#8495a1; background:white; }
.search-form input { min-width:0; padding:14px 18px; font-size:13px; }
.search-form button { font-size:12px; line-height:2; font-weight:650; background:#e9ebee; color:#3d4b57; padding:11px 18px; }
.header-actions { display:flex; align-items:center; gap:12px; margin-inline-start:auto; white-space:nowrap; }
.header-actions a { border:1px solid var(--line); padding:10px 15px; border-radius:8px; color:var(--ink); font-size:12px; }
.header-actions a:hover { background:#f6f7f8; }
.main-nav { border-bottom:1px solid var(--line); }
.nav-inner { min-height:50px; gap:25px; }
.nav-all { font-size:13px; padding-inline-end:24px; }
.nav-links { gap:24px; }
.nav-links a,.nav-guide { font-size:12px; color:#65717b; }
.nav-links a:hover,.nav-guide:hover { color:var(--red); }
.mobile-menu { display:none; }
.store-intro { display:flex; justify-content:space-between; font-size:11px; color:#7c8590; margin:24px 0 14px; }
.hero { min-height:390px; margin:0; background:#1a2b32; isolation:isolate; border-radius:18px; }
.hero::before { width:auto; height:auto; border:0; border-radius:0; inset:0; background:linear-gradient(270deg,#14252af5 0%,#14252add 38%,#14252a05 95%); z-index:-1; }
.hero-art { width:100%; max-width:none; height:100%; inset:0; object-fit:cover; object-position:center; z-index:-2; }
.hero-copy { padding:40px; max-width:560px; }
.hero-kicker { color:#c9e0df; font-weight:450; font-size:12px; }
.hero h1 { font-size:clamp(29px,3vw,40px); font-weight:800; line-height:1.65; margin:15px 0; }
.hero p { font-size:13px; color:#d7e1e3; line-height:2.1; max-width:400px; }
.button { border-radius:8px; padding:11px 22px; font-weight:650; gap:12px; transition:background .18s; }
.button-orange { background:var(--red); color:white; }
.button-orange:hover { background:#bd2339; }
.button-navy { background:#263d48; }
.button:hover { filter:none; }
.eyebrow { font-size:11px; color:#157681; font-weight:550; }
.section { margin:48px 0; }
.section-title { align-items:center; margin-bottom:24px; }
.section-title h2 { font-size:23px; font-weight:750; }
.section-title p { color:var(--muted); font-size:12px; }
.category-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.category-card { min-height:160px; border:1px solid var(--line); border-radius:12px; padding:0 0 10px; overflow:hidden; gap:4px; justify-content:flex-start; background:#fff; }
.category-card:hover { border-color:#b9cbd0; transform:translateY(-3px); }
.category-photo { display:block; width:100%; height:105px; background:#f3f5f6; overflow:hidden; }
.category-photo img { width:100%; height:100%; object-fit:contain; }
.category-card strong { font-size:13px; padding:4px 10px 0; line-height:1.6; }
.category-text-label { color:#7c8e94; font-size:10px; padding-top:33px; }
.type-card { background:#f7f9fa; justify-content:center; padding:12px; }
.type-card strong { margin-top:7px; }
.type-card:nth-child(3n) { background:#f8f6f2; }
.type-card:nth-child(3n+1) { background:#f3f7f5; }
.category-showcase { border:1px solid var(--line); border-radius:16px; margin:24px 0; padding:22px 24px 24px; background:#fff; min-width:0; }
.showcase-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.showcase-heading-link { display:flex; align-items:center; gap:10px; min-width:0; color:var(--ink); }
.showcase-heading-image { flex:none; width:44px; height:44px; object-fit:contain; border-radius:8px; background:#f7f9fa; }
.showcase-heading-link:hover,.showcase-all:hover { color:var(--red); }
.showcase-heading h2 { margin:0; font-size:19px; line-height:1.5; }
.showcase-heading p { margin:2px 0 0; font-size:12px; color:#687680; line-height:1.7; }
.showcase-all { flex:none; color:#16808d; font-size:11px; font-weight:650; }
.showcase-all span { margin-inline-start:5px; font-size:18px; vertical-align:-1px; }
.showcase-product-area { min-width:0; position:relative; }
.showcase-products { display:flex; gap:12px; min-width:0; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:2px; scrollbar-width:none; overscroll-behavior-inline:contain; }
.showcase-products::-webkit-scrollbar { display:none; }
.showcase-products .product-card { flex:0 0 clamp(170px,15vw,192px); min-width:0; max-width:none; border:1px solid #e0e5e9; border-radius:9px; box-shadow:none; scroll-snap-align:start; overflow:hidden; }
.showcase-products .product-card:hover { border-color:#bdcbd2; box-shadow:0 6px 16px #26313a13; transform:none; }
.showcase-products .product-image { display:block; flex:none; height:165px; padding:13px; overflow:hidden; border:0; background:#fff; }
.showcase-products .product-image img { display:block; width:100%; height:100%; object-fit:contain; }
.showcase-products .product-card-body { padding:10px 11px 11px; min-height:132px; }
.showcase-products .product-meta { display:none; }
.showcase-products .product-card-title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:43px; margin:0 0 5px; font-size:12px; line-height:1.8; font-weight:600; }
.showcase-products .product-card-body .muted { display:none; }
.showcase-products .product-card-bottom { border:0; padding-top:8px; margin-top:auto; font-size:13px; }
.showcase-empty { width:100%; text-align:center; padding:40px 16px; color:var(--muted); }
.showcase-controls { position:absolute; inset:0; display:flex; justify-content:space-between; align-items:center; pointer-events:none; }
.showcase-controls button { pointer-events:auto; display:grid; place-items:center; width:38px; height:38px; border:1px solid #d9e1e5; border-radius:50%; background:#fff; color:var(--ink); box-shadow:0 3px 10px #26313a19; font-size:25px; line-height:1; }
.showcase-controls button:first-child { margin-inline-start:-18px; }
.showcase-controls button:last-child { margin-inline-end:-18px; }
.showcase-controls button:hover { border-color:var(--red); color:var(--red); }
.showcase-controls button[hidden] { display:none; }
.listing-search-form { margin-top:15px; max-width:560px; }
.listing-search-form label { display:block; margin-bottom:6px; font-size:12px; font-weight:650; }
.listing-search-form>div { display:flex; overflow:hidden; border:1px solid #d6dee2; border-radius:9px; background:#fff; }
.listing-search-form input { flex:1; min-width:0; border:0; padding:10px 13px; outline:none; }
.listing-search-form button { border:0; padding:9px 18px; background:var(--navy); color:white; }
.product-grid { gap:14px; }
.product-card { border-radius:12px; border-color:var(--line); transition:box-shadow .2s; }
.product-card { display:flex; flex-direction:column; color:var(--ink); }
.product-card-body { display:flex; flex-direction:column; flex:1; }
.product-card-title { display:block; font-size:14px; font-weight:700; line-height:1.8; min-height:52px; margin:10px 0 6px; }
.product-card:hover .product-card-title { color:var(--red); }
.product-card-bottom { margin-top:auto; }
.sort-row { gap:16px; min-width:0; margin:13px 0 16px; border-bottom:1px solid var(--line); }
.sort-options { display:flex; align-items:center; gap:18px; min-width:0; overflow-x:auto; scrollbar-width:none; font-family:Vazirmatn,Tahoma,sans-serif; }
.sort-options::-webkit-scrollbar { display:none; }
.sort-label { display:inline-flex; align-items:center; gap:5px; flex:none; color:#34414b; font-size:12px; font-weight:750; white-space:nowrap; }
.sort-options a { display:inline-flex; align-items:center; min-height:42px; border-bottom:2px solid transparent; color:#697782; font-size:12px; font-weight:550; white-space:nowrap; transition:color .18s,border-color .18s; }
.sort-options a:hover { color:var(--red); }
.sort-options a[aria-current="true"] { border-bottom-color:var(--red); color:var(--red); font-weight:750; }
.sort-count { flex:none; color:#687681; font-size:11px; font-weight:500; white-space:nowrap; }
.deferred-section { min-height:250px; margin:32px 0; border-radius:16px; background:linear-gradient(100deg,#f5f7f8 25%,#e9eef1 50%,#f5f7f8 75%); background-size:200% 100%; animation:section-shimmer 1.7s linear infinite; display:grid; place-items:center; color:#667783; }
.deferred-section a { position:relative; z-index:1; text-decoration:underline; }
.deferred-error { min-height:110px; animation:none; background:#f8f9fa; }
@keyframes section-shimmer { to { background-position-x:-200%; } }
.service-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; padding:35px 0 48px; border-top:1px solid var(--line); }
.service-strip>div { display:grid; justify-items:center; text-align:center; gap:9px; color:#394c59; font-size:12px; }
.service-strip .service-visual { display:grid; place-items:center; width:68px; height:68px; border-radius:18px; background:#f4f7f8; }
.service-strip .service-visual img { display:block; width:48px; height:48px; object-fit:contain; }
.social-placeholders { display:flex; gap:10px; margin-top:17px; }
.social-placeholders span { display:grid; place-items:center; width:38px; height:38px; border:1px solid #d8e0e4; border-radius:12px; background:#fff; cursor:not-allowed; }
.social-placeholders span:nth-child(1) { background:#fff6f9; border-color:#f3dce5; }
.social-placeholders span:nth-child(2) { background:#f0faff; border-color:#d5edf8; }
.social-placeholders span:nth-child(3) { background:#f1f7ff; border-color:#dbe8f7; }
.social-placeholders img { display:block; width:21px; height:21px; object-fit:contain; }
@media(max-width:720px) { .service-strip { grid-template-columns:repeat(2,1fr); } .product-card-title { font-size:12px; min-height:48px; } }
@media(max-width:720px) { .sort-row { gap:8px; }.sort-options { gap:13px; }.sort-options a { font-size:11px; }.sort-label { font-size:11px; }.sort-count { font-size:10px; } }
@media(prefers-reduced-motion:reduce) { .deferred-section { animation:none; } }
.hero-carousel { position:relative; display:block; height:clamp(350px,32vw,430px); margin:18px 0 0; }
.hero-carousel::before { display:none; }
.hero-slide { position:absolute; inset:0; display:flex; align-items:center; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .7s ease, visibility .7s ease; }
.hero-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; }
.hero-slide::before { content:""; position:absolute; inset:0; background:linear-gradient(270deg,#14252aeb 0%,#14252ac0 38%,#14252a18 100%); z-index:1; }
.hero-slide .hero-art { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:0; }
.hero-slide .hero-copy { position:relative; z-index:2; padding:40px 64px; max-width:680px; }
.hero-slide h2 { font-size:clamp(29px,3vw,40px); font-weight:800; line-height:1.65; margin:15px 0; }
.hero-controls { position:absolute; z-index:4; bottom:15px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:10px; padding:4px 8px; border-radius:999px; background:#091b21a8; }
.hero-controls button { border:0; background:transparent; color:#fff; min-width:30px; min-height:30px; font-size:23px; line-height:1; }
.hero-dots { display:flex; align-items:center; gap:6px; }
.hero-dots button { min-width:10px; min-height:10px; width:10px; height:10px; padding:0; border-radius:100px; background:#ffffff75; transition:width .25s ease,background .25s ease; }
.hero-dots button[aria-current] { width:26px; background:#fff; }
@media(max-width:720px) { .hero-carousel { height:360px; }.hero-slide .hero-copy { padding:24px; max-width:100%; }.hero-slide::before { background:linear-gradient(270deg,#14252af0,#14252a62); }.hero-slide h2 { font-size:27px; } }
@media(prefers-reduced-motion:reduce) { .hero-slide,.hero-dots button { transition:none; } }
.product-card:hover { box-shadow:0 7px 25px #2032400d; }
.product-image { background:#f8f9fa; height:180px; padding:15px; position:relative; }
.product-image img { width:100%; height:100%; object-fit:contain; }
.missing-photo { color:#84909a; font-size:11px; text-align:center; max-width:140px; padding:14px; line-height:1.9; }
.product-card-body { padding:21px 17px 17px; }
.product-meta { color:#6f7b83; }
.product-card h3 { font-size:14px; font-weight:650; line-height:1.9; min-height:55px; margin:13px 0 5px; }
.product-card h3 a:hover { color:var(--red); }
.product-card-bottom { gap:6px; font-size:15px; flex-wrap:wrap; }
.product-card-bottom b { font-weight:750; font-variant-numeric:tabular-nums; }
.product-card-bottom small { font-size:10px; }
.card-arrow { font-size:11px; color:#147b86; background:#eef6f6; padding:4px 9px; }
.sample-badge { background:#f9f0df; color:#83612c; }
.muted { color:#74808a; font-size:11px; }
.buying-guide { margin:48px 0; padding:30px; background:#f5f7f8; border-radius:16px; display:grid; grid-template-columns:240px minmax(0,1fr); gap:32px; }
.guide-heading h2 { font-size:27px; margin:12px 0; }
.guide-heading p { color:#6c7984; font-size:12px; }
.guide-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; align-items:center; }
.guide-steps article { border-inline-start:1px solid #dce2e7; padding-inline-start:22px; }
.guide-steps article>span { font-size:26px; font-weight:300; color:#7b969e; }
.guide-steps h3 { font-size:14px; margin:10px 0; }
.guide-steps p { color:#697783; font-size:12px; }
.store-faq { margin:48px 0; padding:24px 30px; background:#f7f8f9; border:1px solid var(--line); border-radius:16px; }
.store-faq h2 { font-size:23px; }
.store-faq details { border-bottom:1px solid var(--line); padding:16px 0; }
.store-faq summary { cursor:pointer; font-size:14px; font-weight:550; }
.store-faq p { color:#657580; font-size:13px; }
.photo-credits { color:#7b858c; font-size:10px; margin:35px 0; }
.photo-credits a { text-decoration:underline; }
.footer { background:#f8f9fa; color:var(--ink); border-top:1px solid var(--line); }
.footer-logo { color:var(--ink); font-size:25px; }
.footer-grid { gap:55px; }
.footer-grid p,.footer-grid a { color:#64717c; font-size:12px; }
.footer-bottom { color:#6d7d89; border-color:var(--line); }
.back-top { display:block; text-align:center; background:#f0f2f4; padding:12px; color:#5c6a76; font-size:12px; }
/* Listing, product and transactional forms. */
.breadcrumb { font-size:12px; }
.listing-heading,.filters,.product-layout,.detail-section { border-color:var(--line); }
.filters { position:relative; }
.filter-details summary { cursor:pointer; font-weight:650; padding:5px 0 13px; padding-inline-end:100px; }
.filter-header { position:absolute; top:22px; inset-inline-end:18px; }
.filter-header a { color:var(--red); font-size:11px; font-weight:650; white-space:nowrap; }
.filter-header h2 { display:none; }
.check input { accent-color:var(--red); }
.filter-group input:focus,.filter-group select:focus { outline:2px solid #88b6be; }
.cart-line { grid-template-columns:112px minmax(0,1fr) auto; gap:18px; align-items:start; padding:22px 0; font-size:12px; }
.cart-line-photo { display:grid; place-items:center; width:112px; height:112px; border-radius:10px; background:#f6f7f8; overflow:hidden; }
.cart-line-photo img { width:100%; height:100%; padding:8px; object-fit:contain; }
.cart-line-photo .missing-photo { font-size:10px; }
.cart-line-info { min-width:0; padding-top:3px; }
.cart-line-info strong { font-size:14px; line-height:1.7; }
.cart-line-info small { margin-top:5px; }
.cart-unit-price { display:block; margin-top:13px; color:#677480; font-size:11px; }
.cart-line-actions { display:flex; flex-direction:column; align-items:flex-end; justify-self:end; gap:12px; min-width:145px; }
.cart-line-total { white-space:nowrap; color:#26313a; font-size:16px; font-variant-numeric:tabular-nums; }
.cart-line-total small { display:inline; color:inherit; font-size:11px; font-weight:500; }
.cart-line-controls { display:flex; align-items:center; gap:8px; }
.cart-line form { margin:0; }
.cart-line input { width:60px; min-height:38px; border-radius:8px; text-align:center; font-size:12px; }
.cart-line .remove-button { display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid var(--line); border-radius:8px; background:#fff; color:#a13a4c; cursor:pointer; }
.cart-line .remove-button:hover { border-color:#d78695; background:#fff5f6; }
.cart-line .remove-button svg { width:18px; height:18px; }
.cart-line[aria-busy="true"] { opacity:.65; pointer-events:none; }
.product-info h1 { font-size:25px; font-weight:750; }
.product-main-image { background:#f8f9fa; }
.product-main-image img { object-fit:contain; width:100%; height:100%; }
.purchase-panel { background:#f7f8fa; }
.disabled-action { background:#e4e8ec; color:#66727c; opacity:1; }
.panel-price strong { font-variant-numeric:tabular-nums; }
@media(max-width:1100px) {
 .header-inner { gap:18px; }.nav-links { gap:18px; }.nav-links a:nth-child(n+5) { display:none; }
 .category-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.hero-copy { padding:30px; }
 .buying-guide { grid-template-columns:1fr; }.guide-heading br { display:none; }
}
@media(max-width:720px) {
 .wrap { padding-inline:16px; }.topline-inner span:first-child { display:inline; }.topline-inner span:last-child { display:none; }
 .header-inner { display:grid; grid-template-columns:1fr auto; min-height:0; gap:14px 8px; padding-block:15px; }
 .logo { grid-column:1; font-size:25px; }.logo small { font-size:10px; }
 .header-actions { grid-column:2; gap:6px; margin:0; }.header-actions a { display:block; padding:8px; font-size:10px; }
 .search-form { grid-column:1/-1; grid-row:2; max-width:none; width:100%; }.search-form input { font-size:12px; padding:12px; }
 .main-nav { display:none; }.mobile-menu { display:block; border-top:1px solid var(--line); }
 .mobile-menu summary { padding-block:10px; font-size:13px; cursor:pointer; }.mobile-menu>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; padding-bottom:15px; }
 .mobile-menu a { padding:10px 0; border-top:1px solid var(--line); font-size:12px; }
 .store-intro { margin-top:16px; font-size:10px; }.hero { min-height:350px; align-items:center; }
 .hero-copy { padding:28px; }.hero h1 { font-size:29px; }.hero-art { width:100%; opacity:1; inset:0; }
 .section { margin:36px 0; }.section-title h2 { font-size:21px; }.section-title p { display:none; }
 .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }.category-card { min-height:140px; }
 .category-photo { height:88px; }.category-card strong { font-size:12px; padding-inline:5px; }.category-text-label { padding-top:14px; font-size:9px; }
 .category-showcase { margin:20px 0; padding:15px 13px 17px; }
 .showcase-heading { margin-bottom:13px; gap:8px; }.showcase-heading h2 { font-size:17px; }.showcase-heading p { font-size:10px; }
 .showcase-products { gap:8px; scroll-snap-type:x proximity; }
 .showcase-products .product-card { flex-basis:145px; }.showcase-products .product-image { height:125px; padding:8px; }
 .showcase-products .product-card-body { min-height:118px; padding:8px; }.showcase-products .product-card-title { font-size:11px; min-height:39px; }
 .showcase-controls button { width:32px; height:32px; font-size:21px; }.showcase-controls button:first-child { margin-inline-start:-11px; }.showcase-controls button:last-child { margin-inline-end:-11px; }
 .product-grid,.listing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.product-image { height:140px; padding:10px; }.product-card-body { padding:16px 11px 11px; }
 .product-card h3 { font-size:12px; min-height:48px; }.product-card-bottom { font-size:13px; }.product-card-bottom .card-arrow { font-size:10px; }.muted { font-size:10px; }
 .buying-guide { padding:22px; gap:10px; }.guide-heading h2 { font-size:23px; }.guide-steps { grid-template-columns:1fr; gap:12px; }.guide-steps article { padding-inline-start:16px; }
 .store-faq { margin:36px 0; padding:18px; }
 .guide-steps article>span { font-size:20px; }.guide-steps h3 { display:inline; margin-inline-start:12px; }.guide-steps p { margin:5px 0; }
 .footer-grid { gap:25px; }.filters { padding:14px; }.filter-details summary { padding:2px 0; }.filter-header { top:17px; inset-inline-end:14px; }.filter-details[open] summary { margin-bottom:15px; }
 .product-info h1 { font-size:23px; }
 .cart-line { grid-template-columns:82px minmax(0,1fr); gap:12px; }.cart-line-photo { width:82px; height:82px; }.cart-line-info strong { font-size:12px; }.cart-line-actions { grid-column:1/-1; justify-self:stretch; flex-direction:row; align-items:center; justify-content:space-between; }.cart-line-total { font-size:14px; }
}
@media(max-width:380px) { .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.header-actions a { font-size:9px; padding:7px; }.hero-copy { padding:23px; }.hero h1 { font-size:26px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }

.gallery-thumbs a[aria-current] { outline:2px solid #147b86; outline-offset:2px; }
.product-image { position:relative; }

/* Restrained transitions: emphasize opening and feedback, not constant floating. */
:root { --motion-fast: 140ms; --motion-ui: 220ms; --motion-float: 560ms; --motion-ease: cubic-bezier(.2,.7,.25,1); }
html { scroll-behavior:smooth; }
@view-transition { navigation:auto; }
::view-transition-old(root) { animation:page-out .12s ease both; }
::view-transition-new(root) { animation:page-in .24s var(--motion-ease) both; }
@keyframes page-out { to { opacity:0; } }
@keyframes page-in { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
main { animation:page-in .26s var(--motion-ease) both; }
.header-actions a,.header-cart,.search-form,.search-form button,.nav-links a,.nav-guide,
.card-arrow,.footer a,.back-top,.button,.category-card,.product-card,
.category-photo img,.gallery-thumbs a {
  transition:color var(--motion-fast) ease, background-color var(--motion-fast) ease,
    border-color var(--motion-ui) ease, box-shadow var(--motion-ui) ease,
    transform var(--motion-ui) var(--motion-ease);
}
.header-actions a:hover,.header-cart:hover { border-color:#c6cdd2; box-shadow:0 3px 10px #26313a0c; }
.search-form:focus-within { box-shadow:0 0 0 3px #d92f4610; }
.nav-links a:hover,.nav-guide:hover { color:var(--red); }
.hero { overflow:hidden; box-shadow:0 12px 36px #16252b20; }
.hero-copy { animation:hero-copy-in .38s .04s both var(--motion-ease); }
@keyframes hero-copy-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.button { transition:background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.button:hover { box-shadow:0 4px 12px #26313a18; }
.button:active { transform:scale(.98); }
.category-card { transition:border-color var(--motion-float) ease, box-shadow var(--motion-float) ease, transform var(--motion-float) var(--motion-ease); }
.category-card:hover { border-color:#c7d2d5; box-shadow:0 12px 25px #26313a14; transform:translateY(-4px); }
.category-photo img { transition:transform .65s var(--motion-ease); }
.category-card:hover .category-photo img { transform:scale(1.035); }
.product-card { transition:border-color var(--motion-float) ease, box-shadow var(--motion-float) ease, transform var(--motion-float) var(--motion-ease); }
.product-card:hover { border-color:#cbd2d6; box-shadow:0 11px 24px #26313a12; transform:translateY(-3px); }
.product-card h3 a { transition:color var(--motion-fast) ease; }
.gallery-thumbs a { transition:opacity var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.gallery-thumbs a:hover { box-shadow:0 0 0 2px #147b8633; }
.product-main-image img { opacity:1; transition:opacity .14s ease, transform .2s ease; }
.product-main-image img.is-changing { opacity:.25; transform:scale(.99); }
.mobile-menu>div,.store-faq details[open] p { animation:panel-open .22s var(--motion-ease) both; transform-origin:top; }
@keyframes panel-open { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
.mobile-menu summary,.store-faq summary { transition:color var(--motion-fast) ease; }
.mobile-menu[open] summary,.store-faq details[open] summary { color:var(--red); }
.footer a:hover { color:var(--red); }
.back-top:hover { background:#e9edef; color:var(--ink); }
@media(max-width:720px) { .hero { box-shadow:0 7px 22px #16252b16; } }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
.ui-arrow { display:inline-block; width:.38em; height:.38em; margin-inline-start:.55em; border-top:1.5px solid currentColor; border-left:1.5px solid currentColor; transform:rotate(-45deg); vertical-align:.04em; }
.button .ui-arrow { transition:transform var(--motion-fast) ease; }
.button:hover .ui-arrow { transform:translateX(-2px) rotate(-45deg); }
.breadcrumb-separator { display:inline-flex; align-items:center; justify-content:center; width:8px; height:16px; margin:0 7px; color:#98a2aa; font:16px/1 Arial,sans-serif; vertical-align:middle; }
.breadcrumb-separator::before { content:"‹"; }
.history-row .ui-arrow { flex:0 0 auto; color:#84919a; }
.documents a { display:inline-flex; align-items:center; }

/* Digikala-inspired header structure, adapted to sanatibaz صنعتی باز's brand. */
.site-header { position:sticky; top:0; z-index:30; background:#fff; box-shadow:0 1px 0 #e7e9ed; }
.site-header .wrap { max-width:1660px; padding-inline:clamp(16px,1.8vw,30px); }
.header-inner { display:grid; grid-template-columns:auto minmax(260px,1fr) auto; align-items:center; gap:24px; min-height:72px; }
.logo { font-size:27px; line-height:1.15; }
.logo small { display:block; margin-top:3px; font-size:9px; line-height:1.6; }
.search-shell { position:relative; justify-self:start; min-width:0; width:min(500px,100%); }
.search-form { width:100%; max-width:none; min-height:44px; border:1px solid transparent; border-radius:10px; background:#f1f2f4; }
.search-form { transition:background .25s ease,border-color .25s ease,box-shadow .25s ease; }
.search-form:focus-within { background:#fff; border-color:#c8cdd2; }
.search-shell:focus-within .search-form { box-shadow:0 5px 18px #25354710; }
.search-form input { padding:10px 16px; }
.search-form input::placeholder { color:#8b9299; }
.search-form button { display:grid; place-items:center; align-self:stretch; min-width:50px; padding:0 15px; border:0; background:transparent; color:#424c55; }
.search-form button:hover { background:#e8eaed; }
.search-suggestions[hidden] { display:none!important; }
.search-suggestions { position:absolute; inset-inline:0; top:calc(100% + 9px); z-index:42; max-height:min(65vh,460px); overflow:auto; padding:10px; border:1px solid #e7eaed; border-radius:13px; background:#fff; box-shadow:0 18px 42px #23313c20; animation:search-panel-in .24s var(--motion-ease) both; }
.search-suggestions-heading { padding:10px 12px 5px; color:#87939b; font-size:11px; font-weight:700; }
.search-suggestion { display:flex; align-items:center; gap:11px; min-height:49px; padding:7px 10px; border-radius:9px; color:#35414b; transition:background .2s ease,transform .2s ease; }
.search-suggestion:hover,.search-suggestion.is-active { background:#f4f6f8; transform:translateX(-2px); }
.search-suggestion-icon { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; border-radius:9px; background:#f0f3f5; color:#60717d; font:20px/1 Arial,sans-serif; }
.search-suggestion-icon-category { background:#fff0f2; color:var(--red); font-size:17px; }
.search-suggestion-copy { display:grid; min-width:0; gap:1px; }
.search-suggestion-copy strong { overflow:hidden; font-size:12px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
.search-suggestion-copy small { color:#95a0a7; font-size:10px; }
.search-suggestions-empty { padding:15px 12px; color:#89959d; font-size:11px; }
@keyframes search-panel-in { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .search-suggestions { animation:none; } .search-suggestion { transition:none; } }
.categories-section.is-reveal-ready .section-title,.categories-section.is-reveal-ready .category-card { opacity:0; transform:translateY(12px); transition:opacity .55s ease,transform .55s var(--motion-ease),border-color .2s ease; }
.categories-section.is-reveal-ready.is-visible .section-title,.categories-section.is-reveal-ready.is-visible .category-card { opacity:1; transform:translateY(0); }
.categories-section.is-reveal-ready .category-card:nth-child(2n) { transition-delay:.07s; }
.categories-section.is-reveal-ready .category-card:nth-child(3n) { transition-delay:.12s; }
.categories-section.is-reveal-ready.is-visible .category-card:hover { transform:translateY(-4px); }
.header-actions { display:flex; align-items:center; gap:12px; margin:0; }
.header-actions a { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:7px 12px; border:1px solid #e5e7e9; border-radius:8px; color:#303940; font-size:11px; }
.header-actions a:hover { background:#fafafa; border-color:#cbd0d4; }
.account-menu { position:relative; }
.account-menu-trigger { display:grid; place-items:center; width:42px; height:42px; border:0; border-radius:11px; color:#303940; cursor:pointer; list-style:none; transition:background var(--motion-fast) ease,color var(--motion-fast) ease; }
.account-menu-trigger::-webkit-details-marker { display:none; }
.account-menu-trigger:hover,.account-menu[open] .account-menu-trigger { background:#fff0f2; color:var(--red); }
.account-menu-trigger:hover .header-icon,.account-menu[open] .account-menu-trigger .header-icon { color:var(--red); }
.account-menu[open]::after { content:""; position:absolute; inset-inline:0; top:100%; height:8px; }
.account-menu-panel { position:absolute; inset-inline-end:0; top:calc(100% + 6px); z-index:40; width:264px; overflow:hidden; border:1px solid #e9e9ec; border-radius:14px; background:#fff; box-shadow:0 16px 40px #26313a20; animation:header-menu-open .2s var(--motion-ease) both; }
.header-actions .account-menu-panel .account-menu-heading { display:flex; justify-content:flex-start; gap:11px; padding:17px 16px; border:0; border-radius:0; background:#faf4f5; text-align:start; }
.header-actions .account-menu-panel .account-menu-heading:hover { background:#fff0f2; }
.account-menu-heading > span:last-child { display:grid; gap:2px; min-width:0; }
.account-menu-heading strong { overflow:hidden; color:#323944; font-size:13px; font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.account-menu-heading small { color:#ad4054; font-size:10px; font-weight:600; }
.account-menu-avatar { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; border-radius:11px; background:#fff; }
.account-menu-avatar .header-icon { color:var(--red); }
.account-menu-links { display:grid; padding:5px 10px; }
.header-actions .account-menu-links a,.account-menu-panel button { display:flex; align-items:center; justify-content:flex-start; gap:11px; width:100%; min-height:44px; padding:10px 9px; border:0; border-radius:7px; background:transparent; color:#46515d; font:inherit; font-size:11px; font-weight:600; text-align:start; text-decoration:none; }
.header-actions .account-menu-links a + a { border-top:1px solid #f0f1f3; border-radius:0; }
.account-menu-panel svg { flex:0 0 19px; width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.account-menu-links a:hover,.account-menu-panel button:hover { background:#fff4f5; color:var(--red); }
.account-menu-panel a:focus-visible,.account-menu-panel button:focus-visible { outline-offset:-3px; }
.account-menu-panel form { border-top:1px solid #edf0f2; padding:5px 10px; }
.account-menu-panel button { cursor:pointer; }
.header-cart { border-color:transparent!important; padding-inline:7px!important; gap:4px!important; }
.cart-count { display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding-inline:4px; border-radius:9px; background:var(--red); color:#fff; font-size:10px; line-height:1; font-variant-numeric:tabular-nums; }
.header-cart:hover { background:#f6f7f8!important; }
.header-icon { position:relative; display:inline-block; flex:0 0 20px; width:20px; height:20px; color:#424c55; }
.header-icon-search::before { content:""; position:absolute; width:10px; height:10px; inset:2px auto auto 2px; border:1.7px solid currentColor; border-radius:50%; }
.header-icon-search::after { content:""; position:absolute; width:7px; height:1.7px; top:14px; left:12px; border-radius:2px; background:currentColor; transform:rotate(45deg); transform-origin:left center; }
.header-icon-user::before { content:""; position:absolute; width:6px; height:6px; top:1px; left:7px; border:1.6px solid currentColor; border-radius:50%; }
.header-icon-user::after { content:""; position:absolute; width:13px; height:7px; left:3px; bottom:1px; border:1.6px solid currentColor; border-bottom:0; border-radius:10px 10px 0 0; }
.header-icon-cart { width:22px; height:22px; overflow:visible; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.nav-inner { display:flex; align-items:center; gap:24px; min-height:43px; }
.category-dropdown { position:relative; flex:0 0 auto; }
.category-dropdown summary { list-style:none; cursor:pointer; }
.category-dropdown summary::-webkit-details-marker { display:none; }
.nav-all { display:flex; align-items:center; gap:9px; padding-inline-end:18px; border-inline-end:1px solid var(--line); color:#313a42; font-size:12px; font-weight:700; white-space:nowrap; }
.nav-menu-mark { display:inline-block; flex:0 0 14px; width:14px; height:12px; border-block:1.6px solid currentColor; position:relative; }
.nav-menu-mark::after { content:""; position:absolute; inset-inline:0; top:4px; border-top:1.6px solid currentColor; }
.category-dropdown[open] .nav-all { color:var(--red); }
.category-dropdown-panel { position:absolute; top:100%; right:0; z-index:35; display:grid; grid-template-columns:repeat(2,minmax(150px,1fr)); gap:2px 14px; width:min(480px,80vw); max-height:min(65vh,460px); overflow:auto; padding:14px; border:1px solid #e8eaed; border-radius:10px; background:#fff; box-shadow:0 14px 35px #1f2c381c; animation:header-menu-open .2s var(--motion-ease) both; }
.category-dropdown-panel a { padding:8px 10px; border-radius:6px; color:#4a555f; font-size:12px; }
.category-dropdown-panel a:hover { background:#f4f6f7; color:var(--red); }
@keyframes header-menu-open { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
@media(hover:hover) and (pointer:fine) {
  .category-dropdown:hover > .category-dropdown-panel,
  .category-dropdown:focus-within > .category-dropdown-panel { display:grid; }
  .category-dropdown:hover > .nav-all { color:var(--red); }
}
.nav-links { display:flex; align-items:center; gap:22px; overflow:hidden; white-space:nowrap; }
.nav-links a,.nav-guide { color:#626c74; font-size:11px; }
.nav-guide { margin-inline-start:0; white-space:nowrap; }
.header-location { display:flex; align-items:center; gap:8px; margin-inline-start:auto; color:#777f86; font-size:10px; white-space:nowrap; }
.location-pin { position:relative; display:inline-block; width:12px; height:12px; border:1.4px solid #8d969d; border-radius:50% 50% 50% 0; transform:rotate(-45deg); }
.location-pin::after { content:""; position:absolute; width:3px; height:3px; left:3px; top:3px; border:1px solid #8d969d; border-radius:50%; }
.mobile-menu { display:none; }
@media(max-width:1050px) {
  .header-inner { gap:18px; }
  .nav-inner { gap:16px; }
  .nav-links { gap:14px; }
  .header-location { display:none; }
}
@media(max-width:720px) {
  .header-inner { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"brand actions" "search search"; gap:10px 8px; min-height:0; padding-block:10px; }
  .logo { grid-area:brand; font-size:23px; }
  .logo small { font-size:8px; }
  .search-shell { grid-area:search; width:100%; }
  .search-form { width:100%; min-height:42px; }
  .search-form input { padding:9px 12px; font-size:11px; }
  .header-actions { grid-area:actions; gap:4px; }
  .header-actions a { min-height:36px; padding:6px 9px; font-size:10px; }
  .account-menu-trigger { width:38px; height:38px; }
  .account-menu-panel { width:min(264px,calc(100vw - 32px)); }
  .header-cart { width:auto; min-width:38px; padding:6px!important; }
  .header-icon { flex-basis:18px; width:18px; height:18px; }
  .main-nav { display:none; }
  .mobile-menu { display:block; width:100%; padding-inline:16px; border-top:1px solid #f0f1f3; }
  .mobile-menu summary { display:flex; align-items:center; gap:9px; padding-block:9px; color:#3d474f; font-size:11px; }
  .mobile-menu[open] { padding-bottom:8px; }
  .mobile-menu>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
  .mobile-menu a { border-top:1px solid #f1f2f3; padding:9px 0; font-size:11px; }
  .category-dropdown-panel { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  .category-dropdown-panel,.account-menu-panel { animation:none; }
}
