/* AIN ZONE / ATELIER 01
 * Presentation layer for the original 1.1.4 templates.
 * Existing class names, forms and script hooks remain supported.
 * Fonts are self-hosted by the optional download step in the guarded update installer.
 */
@font-face{font-family:'Ain Arabic';src:local('Noto Sans Arabic'),url('/static/fonts/NotoSansArabic-Variable.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}

@font-face{font-family:'Ain Display';src:local('Noto Kufi Arabic'),url('/static/fonts/NotoKufiArabic-Variable.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}

:root{color-scheme:light;--bg:#f6f7f3;--panel:#fff;--panel2:#f0f3ee;--input:#fff;--border:#dce3da;--gold:#174b3b;--gold-dark:#e8f0e9;--text:#20342a;--muted:#68766c;--blue:#28628a;--green:#226846;--red:#b13e3f;--radius:12px;--shadow:0 16px 45px #173a2512;--forest:#174b3b;--forest-deep:#12392e;--lime:#d9e5af;--paper:#f0f1e9;--amber:#8b641f;--font-ui:'Ain Arabic','Segoe UI',Tahoma,Arial,sans-serif;--font-display:'Ain Display','Ain Arabic','Segoe UI',Tahoma,sans-serif;--header-height:80px;--sidebar-width:244px}

html{scroll-padding-top:100px}
body.theme-atelier{background:var(--bg);color:var(--text);font-family:var(--font-ui);font-size:14px;line-height:1.8;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

::selection{background:#d9e5af;color:#173c2d}
a{transition:color .16s,background-color .16s,border-color .16s}
a:hover{color:var(--forest)}
h1,h2,h3,h4{color:var(--text)}
h1{font-size:30px;line-height:1.65;letter-spacing:-.5px}
h2{font-size:21px}
h3{font-size:16px}
p{line-height:1.85}
b,strong{font-weight:700}
small{font-size:12px}
.small-text{font-size:13px}
.muted,.help{color:var(--muted)}
.help{font-size:12px;line-height:1.85}
.eyebrow{font-size:10px;letter-spacing:.17em;color:var(--forest);font-family:Arial,sans-serif;font-weight:700}
code{font:11px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;color:inherit}
.amount,.price{font-variant-numeric:tabular-nums;font-weight:700;color:var(--forest)}
.positive{color:var(--green)}
.negative,.danger-text{color:var(--red)}
.gold-text{color:var(--forest)}
.grow,.container,main,section,article,.workspace-content{min-width:0}
hr{border-color:var(--border);margin:26px 0}

:focus-visible{outline:3px solid #56836d;outline-offset:3px}
button:disabled{opacity:.5;cursor:not-allowed}
button,input,select,textarea{font-family:inherit}
button{touch-action:manipulation}
button,a{scroll-margin-top:110px}
svg.icon{width:19px;height:19px;stroke-width:1.65}
.skip-link{position:fixed;top:8px;inset-inline-start:16px;transform:translateY(-160%);background:var(--forest);color:white;padding:10px 18px;z-index:1000;border-radius:6px}
.skip-link:focus{transform:none;color:white}
#main-content:focus{outline:0}

/* Controls: one hierarchy across storefront and every operational screen. */
.button,button.primary{background:var(--forest);border:1px solid var(--forest);color:#fff;border-radius:8px;min-height:44px;padding:10px 19px;font-size:13px;font-weight:700;box-shadow:none;gap:9px;transition:background .16s,border .16s,box-shadow .16s}

.button:hover,button.primary:hover{background:var(--forest-deep);border-color:var(--forest-deep);color:white;box-shadow:0 3px 8px #143c2c12}
.button.gold{background:var(--forest);color:#fff;border-color:var(--forest)}
.button.gold:hover{background:var(--forest-deep);color:#fff}
.button.secondary,.button.ghost,.button.outline{background:var(--panel);border-color:var(--border);color:var(--forest)}
.button.secondary:hover,.button.ghost:hover,.button.outline:hover{background:var(--gold-dark);border-color:#b7cbbc}
.button.danger{background:#a53b3f;border-color:#a53b3f;color:#fff}
.button.danger:hover{background:#8d2e32;border-color:#8d2e32}
.button.compact,.button.small{font-size:12px;min-height:38px;padding:7px 13px}
.button.wide,.button.full{min-height:46px}
.text-button{font-weight:700;font-size:12px;color:var(--forest)}
.text-button:hover{text-decoration:underline}
.icon-button{background:var(--panel);border-color:var(--border);border-radius:8px;color:var(--forest);width:40px;height:40px}
.icon-button:hover{background:var(--gold-dark);border-color:#adc4b0}
.icon-button.small{width:34px;height:34px}
.button-row,.actions{gap:10px}

input,select,textarea{background:var(--input);color:var(--text);border:1px solid #ced8cc;border-radius:8px;min-height:45px;padding:10px 13px;font-size:14px;box-shadow:none}
input:read-only{background:#f3f5f1;color:#69796c}
input[type=checkbox]:read-only,input[type=radio]:read-only{background:initial;color:initial}
input::placeholder,textarea::placeholder{color:#7c897f;font-size:12px}
input:focus,select:focus,textarea:focus{border-color:#668d73;box-shadow:0 0 0 3px #dce9df}
input[type=file]{background:#f6f8f3;border:1px dashed #c3cfc0;font-size:12px;padding:12px}
input[type=file]::file-selector-button{border:0;background:var(--gold-dark);color:var(--forest);border-radius:5px;padding:7px 10px;margin-inline-end:12px;font:inherit;cursor:pointer}
input[type=checkbox],input[type=radio]{accent-color:var(--forest);width:18px;height:18px;min-height:18px}
label{font-size:13px;font-weight:600;gap:8px;margin-bottom:20px;color:var(--text)}
label.check,.check-label{font-weight:400;font-size:12px}
.form-grid{gap:20px}
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
textarea{min-height:120px;line-height:1.9}

/* Global header. Original language form, account menu and all links retained. */
.header{height:var(--header-height);background:#fff;border-bottom:1px solid var(--border);backdrop-filter:none;box-shadow:none;z-index:80}
.header-inner{max-width:1440px;padding-inline:36px;gap:25px}
.brand{gap:11px}
.brand-mark{width:43px;height:43px;border:0;background:#18221e;border-radius:11px}
.brand strong{font-family:var(--font-display);font-size:19px;font-weight:700;line-height:1.5;color:var(--forest)}
.brand small{font-size:8px;letter-spacing:2.1px;font-weight:700;color:#6b7d6d;margin-top:0}
.main-nav{gap:5px}
.main-nav>a{font-size:13px;padding:8px 15px;border-radius:6px;color:#57675c;font-weight:600}
.main-nav>a.active{background:var(--gold-dark);color:var(--forest)}
.main-nav>a:hover{background:#f3f6f0;color:var(--forest)}
.header-actions{gap:12px;font-size:12px}
.header .tools-nav{background:#f2f5ed;border:1px solid #e1e8db;color:var(--forest)}
.header .tools-nav:hover{background:#e6eede}
.header .language{font-size:12px;color:#55685a}
.header .login-link{font-weight:600;color:var(--forest)}
.header .signup{font-size:12px;padding:9px 15px}
.bell{background:transparent;border:0}
.bell b{background:var(--forest);color:#fff;top:-1px;inset-inline-end:0}
.avatar{background:#e2ebda;color:var(--forest);border:1px solid #d3dfca;font-family:var(--font-ui);font-size:16px}
.avatar.small{width:34px;height:34px}
.account-menu summary{gap:7px}
.account-menu summary>.icon{width:14px;color:#7a877b}
.dropdown{top:49px;min-width:244px;padding:20px;background:white;border-color:var(--border);border-radius:12px;box-shadow:0 12px 48px #213a2526}
.dropdown>a{padding:7px 9px;border:0;border-radius:5px;font-size:13px}
.dropdown>a:hover{background:var(--gold-dark)}
.dropdown>strong{font-size:15px}
.dropdown>small{margin-bottom:8px}
.menu-balance{background:#edf4e8;border-radius:7px;padding:10px!important;margin-bottom:9px;font-weight:700}
.dropdown form{margin-top:10px;padding:10px 9px 0;border-color:var(--border)}
.dropdown .text-button{color:var(--red)}

/* Storefront / editorial, not a dashboard made of identical panels. */
.container{max-width:1360px;margin:auto;padding:36px 36px 72px;min-height:calc(100vh - 390px)}
.storefront-kicker{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 22px;color:#727e6f;font-size:11px}
.storefront-kicker>span:first-child{font:700 10px/1.5 Arial,sans-serif;letter-spacing:2px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:22px;margin-bottom:30px}
.hero{border:1px solid #d9dfd0;border-radius:14px;background:#edf0e3;min-height:342px;padding:38px;gap:24px;align-items:flex-start;box-shadow:none}
.hero .hero-copy{flex:1;min-width:0;align-self:center}
.hero h1,.hero h2{font-family:var(--font-display);font-weight:700;letter-spacing:-.8px;color:var(--forest-deep);margin:20px 0 15px;font-size:34px;line-height:1.8}
.hero h1{max-width:570px}
.hero p{font-size:13px;line-height:1.95;color:#61725e;max-width:480px;margin-bottom:26px}
.hero .hero-link{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:43px;font-size:13px;font-weight:700;color:var(--forest);border-bottom:1px solid #9eaf92;padding-bottom:6px}
.hero .hero-link .icon{width:22px;height:22px}
.marketplace-art{width:132px;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;flex-shrink:0;padding-block:10px;color:#658364;border-inline-start:1px solid #cad5bd;padding-inline-start:20px;pointer-events:none}
.art-rule{display:block;width:40px;height:6px;background:#afc38e}
.art-word{font-family:Arial,sans-serif;letter-spacing:-6px;font-size:57px;font-weight:800;line-height:.93;direction:ltr}
.art-period{color:var(--forest)}
.marketplace-art small{font:8px/1.5 Arial,sans-serif;letter-spacing:1px;direction:ltr}
.hero.seller-hero{background:var(--forest);border-color:var(--forest);padding:34px;color:white;flex-direction:column;justify-content:space-between;gap:18px}
.seller-hero .eyebrow{color:#c2d4b1;font-size:9px;letter-spacing:1.8px}
.seller-hero h2{color:#f5f7e9;font-size:24px;letter-spacing:-.5px;margin-block:15px 10px}
.seller-hero p{color:#d0dccb;font-size:12px;margin-bottom:18px;max-width:100%}
.seller-hero .hero-link{color:#f5f7e9;border-color:#607f61;font-size:12px;min-height:36px}
.seller-notation{display:flex;justify-content:space-between;align-items:center;width:100%;color:#c3d699;font:bold 34px/1 Arial,sans-serif;letter-spacing:-2px;border-top:1px solid #547359;padding-top:14px;direction:ltr}
.seller-notation span{font:8px/1.5 Arial,sans-serif;letter-spacing:1px;text-align:end;color:#cedcc4}
.banner-upload{padding:0!important;min-height:0;aspect-ratio:2.8;align-self:start;background:transparent}
.banner-upload img{object-fit:contain;height:auto;max-height:100%;width:100%}
.hero-grid:has(.banner-upload){align-items:start}
.discovery-band{padding:0 0 27px;border-bottom:1px solid var(--border)}
.search-bar{padding:9px 12px 9px 20px;min-height:65px;border-radius:10px;background:#fff;border:1px solid #d1dcca;box-shadow:0 4px 15px #193d2810;gap:14px}
.search-bar input{font-size:15px;min-height:42px;background:transparent}
.search-bar .icon{color:#6a7f68}
.search-bar .button{min-width:100px;min-height:44px;font-size:13px}
.categories{display:flex;align-items:flex-start;gap:20px;margin-top:20px}
.categories h3{font-size:11px;color:#768270;white-space:nowrap;padding-top:8px;margin-bottom:0;font-weight:600}
.pills{gap:8px;align-items:center}
.pill{background:#fff;color:#536c54;border:1px solid #dde4d7;border-radius:6px;padding:6px 12px;font-size:12px;display:inline-flex;align-items:center;gap:8px;min-height:37px}
.pill .icon{width:16px;height:16px}
.pill:hover,.pill.selected{background:var(--forest);color:white;border-color:var(--forest)}
.section{margin-top:40px}
.section-title{margin-bottom:22px;gap:16px;align-items:center}
.section-title h2{font-size:22px;font-weight:700;display:flex;align-items:center;gap:12px;line-height:1.75}
.section-index{font:11px/1.2 Arial,sans-serif;color:#78916c;border:1px solid #cfdac4;padding:6px;border-radius:4px;flex-shrink:0}
.section-title>a{font-size:12px;color:var(--forest);font-weight:600;white-space:nowrap}
.section-title>a:hover{text-decoration:underline}
.section-title .dot{background:#63885d;box-shadow:none}
.product-grid,.related-grid,.store-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.product-card{background:white;border:1px solid #e0e5db;border-radius:12px;box-shadow:0 2px 5px #29472803;overflow:hidden;transition:border-color .18s,box-shadow .18s,transform .18s}
.product-card:hover{transform:translateY(-3px);border-color:#aac09e;box-shadow:0 9px 22px #28432912}
.product-cover{background:#eef0e9;aspect-ratio:1.19;overflow:hidden;border-bottom:1px solid #e3e8df}
.product-cover img{width:100%;height:100%;object-fit:contain;transition:transform .25s}
.product-card:hover .product-cover img{transform:scale(1.015)}
.cover-fallback{background:#ecf1e6;color:#698362}
.cover-fallback .icon{width:56px;height:56px}
.cover-fallback span{font-size:9px}
.new-label{background:#fff;color:var(--forest);border:1px solid #d2dfc8;font-size:10px;padding:4px 9px;border-radius:5px;top:12px;inset-inline-start:12px;font-weight:700}
.rank{background:var(--forest);color:white;padding:4px 8px;font-size:11px;top:12px;inset-inline-end:12px}
.stock-label{background:#9e4442;color:#fff;inset-inline:12px;top:auto;bottom:12px;padding:6px}
.product-info{padding:18px 18px 16px;gap:0}
.product-info>.store-link{font-size:11px;color:#7b8677;margin:0 0 8px;gap:5px;line-height:1.6}
.store-link .icon{color:#769a67;width:13px;height:13px}
.product-title{font-size:15px;line-height:1.8;min-height:54px;font-weight:700;color:#293c2a}
.card-meta{margin-top:12px;padding-top:0;font-size:11px;color:#788573;align-items:center}
.card-meta .icon{width:12px;height:12px;color:#9b7629;fill:#c5a151}
.product-card-bottom{border-top:1px solid #edf0e8;margin-top:14px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.product-card-bottom .price{margin:0;font-size:17px;text-align:start;line-height:1.6;overflow-wrap:anywhere}
.price small{font-size:10px;color:#768670;font-weight:400}
.product-card-arrow{display:flex;align-items:center;justify-content:center;color:var(--forest);width:30px;height:30px;flex-shrink:0;background:#f0f4eb;border-radius:50%}
.product-card-arrow .icon{width:16px;height:16px}
.features{margin-top:48px;border-block:1px solid var(--border);padding-block:28px;gap:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.feature{background:transparent;border:0;border-inline-end:1px solid var(--border);border-radius:0;padding:8px 26px;gap:17px}
.feature:last-child{border:0}
.feature>.icon{width:27px;height:27px;color:var(--forest)}
.feature h3{font-size:13px;font-weight:700}
.feature p{font-size:11px;line-height:1.8;color:#74806e}

/* Workspace structure: same routes, intentionally different content density. */
.app-shell{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);max-width:1680px;margin-inline:auto;align-items:start;min-height:calc(100vh - var(--header-height));background:#f7f8f5}
.workspace-sidebar{position:sticky;top:var(--header-height);height:calc(100dvh - var(--header-height));max-height:1100px;background:#fff;border-inline-end:1px solid var(--border);padding:26px 16px 18px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfdbc7 transparent;display:flex;flex-direction:column;gap:20px;z-index:40}
.workspace-identity{display:flex;gap:10px;align-items:center;padding:0 6px 20px;border-bottom:1px solid var(--border)}
.workspace-monogram{width:35px;height:35px;display:grid;place-items:center;background:#eaf0e3;border-radius:8px;color:var(--forest);flex-shrink:0}
.workspace-identity small{display:block;font:8px/1.8 Arial,sans-serif;letter-spacing:.9px;color:#86947e}
.workspace-identity strong{display:block;font-size:14px;color:#2f4835}
.workspace-nav{display:block;padding:0;margin:0;background:none;border:0;border-radius:0}
.nav-group+.nav-group{margin-top:22px}
.nav-group-label{display:block;padding:0 13px 8px;color:#84917d;font-size:10px;font-weight:600}
.workspace-nav .nav-group>a{display:flex;align-items:center;gap:10px;border:1px solid transparent;color:#5f735c;font-size:12px;min-height:42px;padding:8px 12px;border-radius:7px;margin-block:3px;line-height:1.7}
.workspace-nav .nav-group>a .icon{width:17px;height:17px;color:#7c8e75}
.workspace-nav .nav-group>a:hover{color:var(--forest);background:#f1f5ec}
.workspace-nav .nav-group>a.selected{background:var(--forest);color:#fff;box-shadow:0 3px 8px #174b3b12}
.workspace-nav .nav-group>a.selected .icon{color:#d0dfbd}
.workspace-sidebar-bottom{display:flex;align-items:center;gap:9px;border-top:1px solid var(--border);padding:17px 6px 0;margin-top:auto}
.workspace-sidebar-bottom strong{font-size:11px;display:block;overflow-wrap:anywhere}
.workspace-sidebar-bottom small{font-size:10px;color:var(--muted);display:block}
.workspace-sidebar-bottom>a{margin-inline-start:auto;color:#7a8a73}
.workspace-topline{height:64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e9df;background:#fff;padding-inline:30px;gap:14px;font-size:11px;color:#8a9684}
.workspace-topline>div{display:flex;align-items:center;gap:12px}
.workspace-topline strong{font-weight:600;color:#4d674c}
.workspace-topline>a{display:flex;align-items:center;gap:9px;color:#5e7657;font-size:11px}
.workspace-topline .icon{width:16px;height:16px}
.crumb-divider{color:#b1bdab}
.workspace-content>.container{padding:28px 30px 65px;width:100%;max-width:1436px}
.workspace-content .page-heading{margin-bottom:28px}
.page-heading h1{font-size:28px;font-weight:700;letter-spacing:-.35px}
.page-heading .eyebrow{display:block;font-size:9px;margin-bottom:7px;color:#7d9273}
.workspace-close,.workspace-toggle,.workspace-backdrop{display:none}
.workspace-backdrop{border:0;border-radius:0;padding:0;background:#16382b66;position:fixed;inset:0;z-index:89;backdrop-filter:blur(2px)}
.stats-cards{gap:17px;margin-bottom:27px;grid-template-columns:repeat(4,minmax(0,1fr))}
.stat-card{background:#fff;border:1px solid #dee6d8;border-radius:10px;padding:22px;position:relative;overflow:hidden;min-width:0;min-height:118px}
.stat-card small{font-size:11px;color:#76866d;margin-bottom:13px;line-height:1.8}
.stat-card>strong{font-size:28px;color:#264b34;line-height:1.65;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.stat-card .amount{font-size:24px;white-space:normal;overflow-wrap:anywhere}
.stat-card .amount small{display:inline;font-size:10px}
.stat-card.pending,.stat-card.processing,.stat-card.completed{background:#fff;border-color:#dde5d7}
.stat-card.pending{border-top:3px solid #c7a757}
.stat-card.processing{border-top:3px solid #789bb8}
.stat-card.completed{border-top:3px solid #709775}
.seller-summary .stat-card:nth-child(3){background:var(--forest);border-color:var(--forest)}
.seller-summary .stat-card:nth-child(3) :is(strong,.amount){color:#fff}
.seller-summary .stat-card:nth-child(3) small{color:#cedfc3}
.admin-summary .stat-card{min-height:123px;padding:20px}
.admin-summary .stat-card:hover{border-color:#9bb88e;background:#f7faf3}
.admin-summary .stat-card:last-child{background:#eaf1e2;border-color:#cddfc0}
.admin-summary .stat-card:last-child .amount{font-size:25px}
.admin-grid{gap:22px}
.section-heading{gap:16px;align-items:center;margin-bottom:18px}
.section-heading h2{font-size:19px}
.section-heading>a{font-size:12px;color:var(--forest)}

/* Panels, financial tables, notices, and forms on ALL inherited screens. */
.panel{background:white;border:1px solid var(--border);box-shadow:0 1px 2px #28422903;border-radius:12px;margin-bottom:24px}
.panel-body{padding:26px}
.panel-head{padding:20px 26px;border-color:var(--border)}
.panel-subtitle{color:var(--muted)}
.panel .panel{box-shadow:none}
.table-scroll{background:#fff;border:1px solid var(--border);border-radius:10px;scrollbar-width:thin;scrollbar-color:#cad7c1 #f8faf5}
table{font-size:12px;background:white}
th{background:#eef3e8;color:#657b59;font-size:11px;font-weight:700;padding:14px 17px;border-bottom:1px solid #dce5d4}
td{padding:16px 17px;color:#344832;border-bottom:1px solid #e8ede3;line-height:1.9}
td small{font-size:10px;color:#78866e}
td code{font-size:10px}
td .button{min-height:34px;font-size:10px;border-radius:6px}
tbody tr:hover{background:#f7faf3}
.summary-list dt{color:#7a8a71}
.summary-list .total{color:var(--forest);border-color:var(--border);font-size:16px}
.summary-list dd{font-weight:600}
.summary-line{font-size:13px}
.summary-line.total{border-color:var(--border);color:var(--forest);font-size:18px}
.notice,.flash{background:#edf4f8;border:1px solid #d5e3ec;color:#41617b;border-radius:8px;padding:14px 17px;font-size:12px;line-height:1.85}
.notice.green,.flash{background:#eef5e8;border-color:#d1e2c6;color:#3f6535}
.notice.gold{background:#f8f4e6;border-color:#e6dcb6;color:#7f672e}
.notice.red{background:#fcf0ee;border-color:#ebcfca;color:#a34e45}
.status{font-size:10px;padding:4px 9px;font-weight:600;background:#edf0e9;color:#66745e;border-radius:5px;white-space:nowrap;line-height:1.6}
.status:before{content:'';width:5px;height:5px;display:inline-block;border-radius:50%;background:currentColor;opacity:.65;flex-shrink:0}
.status.pending,.status.waiting,.status.uncertain,.status.open{background:#f7efd6;color:#8b6d1d}
.status.processing{background:#e9f1f8;color:#346a97}
.status.shipped{background:#eeeaf7;color:#6e58a2}
.status.completed,.status.active,.status.approved,.status.paid,.status.accepted,.status.resolved{background:#e8f2e3;color:#387342}
.status.cancelled,.status.disputed,.status.suspended,.status.rejected,.status.failed{background:#f9eae6;color:#a65344}
.status.closed,.status.paused,.status.draft{background:#edf0e9;color:#6b7660}
.empty{background:#fdfefb;border:1px dashed #cad6c0;border-radius:12px;color:#7a8c6f;min-height:170px;padding:30px}
.empty .icon{color:#8ca67a;width:31px;height:31px}
.empty p{font-size:13px}
.filter-panel{background:#fff;border:1px solid var(--border);padding:17px;border-radius:10px;margin-bottom:22px;gap:12px}
.filter-box{background:#fff;border:1px solid var(--border);padding:20px;border-radius:12px;margin-bottom:28px}
.filter-row{gap:12px;margin-top:14px}
.filter-row select{background:#f6f8f1}
.pagination{font-size:12px;margin-top:30px}
.pagination nav a,.pagination nav>span{background:#fff;min-height:36px;min-width:35px;padding:5px 10px;text-align:center;border-color:var(--border);border-radius:6px}
.pagination nav a.selected{background:var(--forest);color:white;border-color:var(--forest)}
.pagination nav a:hover{background:var(--gold-dark);color:var(--forest)}
.tabs{gap:24px;overflow:auto;border-color:var(--border)}
.tabs a{font-size:13px;white-space:nowrap;padding:13px 4px;font-weight:600;color:#6c7f63}
.tabs a.active{color:var(--forest);border-color:var(--forest)}
.tag{background:#edf2e6;color:#577746;border:1px solid #dce7d1;font-size:10px;border-radius:4px}
.ticket-item{background:#fff;border:1px solid var(--border);border-radius:10px;padding:18px 22px;gap:16px;margin-block:11px;line-height:1.85}
.ticket-item:hover{background:#fafcf6;border-color:#bdd0af}
.ticket-item h3{font-size:15px}
.ticket-message{background:#fff;border:1px solid var(--border);padding:24px;border-radius:12px}
.ticket-message.staff{border-inline-start:3px solid #709a5a}
.notice-item.unread{border-inline-start:3px solid #749c62}
.toast,#toast:not(:empty){background:var(--forest);color:white;border-radius:8px;box-shadow:0 6px 28px #132e2a30;font-size:13px;position:fixed;z-index:150;bottom:24px;inset-inline-start:50%;transform:translateX(-50%);max-width:90vw;padding:12px 20px}
[dir=rtl] #toast:not(:empty){transform:translateX(50%)}

/* Product detail and existing checkout dialog. */
.product-breadcrumb{display:flex;align-items:center;gap:12px;margin-bottom:26px;color:#88977d;font-size:12px;min-width:0}
.product-breadcrumb>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-breadcrumb a{color:var(--forest);font-weight:600;flex-shrink:0}
.product-detail{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px;align-items:start}
.gallery{position:sticky;top:108px;min-width:0}
.main-image{border-radius:14px;border:1px solid #dce4d6;aspect-ratio:1;background:#eef2e8;display:block}
.main-image img{object-fit:contain}
.thumbnails{gap:11px;flex-wrap:wrap}
.thumbnails button{width:71px;height:71px;border-radius:7px;background:white;border-color:#d9e2d3}
.thumbnails button.active,.thumbnails button:hover{border-color:#709768;box-shadow:0 0 0 1px #709768}
.product-purchase-panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:30px}
.product-detail h1{font-size:27px;line-height:1.75;font-weight:700}
.detail-price{font-size:31px;margin:15px 0 23px}
.detail-price small{font-size:12px}
.identity{gap:12px}
.identity small{font-size:11px;color:#778a6b}
.stats-strip{border:1px solid #dfe6d8;background:#f7f9f2;margin:22px 0;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:8px}
.stats-strip>div{padding:13px 8px;border-color:#e0e7d9;overflow-wrap:anywhere}
.stats-strip strong{font-size:13px;line-height:1.8;display:block;color:#47623a}
.stats-strip small{font-size:10px;color:#809172}
.product-purchase-panel .panel{border:0;border-top:1px solid #e5ecdd;background:transparent;border-radius:0;margin:0;box-shadow:none}
.product-purchase-panel .panel-body{padding:20px 0 0}
.product-purchase-panel .panel h3{font-size:14px}
.product-purchase-panel .panel .button{background:#f3f7ec;color:var(--forest);border-color:#d8e4cb}
.product-purchase-panel .panel+.panel{margin-top:21px}
.buy-row{margin:0 0 22px;gap:11px}
.buy-row .buy,.buy-row .chat{min-height:50px;height:50px}
.buy-row .chat{width:50px;background:#eef5e7;color:var(--forest);border-color:#d0dfc4}
.description{font-size:13px;line-height:2;color:#677b5e}
.share-panel{margin-top:28px}
.share-panel .panel-body{display:flex;align-items:center;justify-content:space-between;padding:17px 23px;gap:15px}
.share-panel h3{margin:0;font-size:13px;color:#61785b}
.share-links a,.share-links button{color:var(--forest);background:#f5f8ef;border-color:#dce6d1;border-radius:6px;width:37px;height:37px}
.modal{background:#fff;color:var(--text);border:1px solid #d3dfca;border-radius:14px;box-shadow:0 20px 90px #193a2b33;width:560px;max-width:calc(100vw - 26px);max-height:calc(100dvh - 30px)}
.modal::backdrop{background:#153b2d77;backdrop-filter:blur(4px)}
.modal-head{padding:22px 24px;border-color:var(--border);background:#f6f9f0}
.modal-head h2{font-size:22px}
.modal-head small{color:#728969}
.modal-body{padding:24px;max-height:calc(100dvh - 240px)}
.modal-footer{background:#fff;border-color:var(--border);padding:18px 24px}
.variant-options{gap:10px;margin:12px 0 24px}
.variant-choice{background:#fff;color:#617752;border:1px solid #d6e2cb;border-radius:8px;min-height:74px;padding:12px 17px;font-size:12px;min-width:135px}
.variant-choice strong{color:var(--forest);font-size:14px;margin-top:5px}
.variant-choice.selected{background:#eef5e5;border-color:#678958;box-shadow:0 0 0 1px #678958}
.quantity input{background:#fff;border-color:#d5dfcc;color:var(--forest);height:45px}
.quantity button{background:#edf4e4;border-color:#d5dfcc;color:var(--forest);height:45px}
.lightbox{width:min(850px,95vw)}
.lightbox img{background:#edf2e6}
.lightbox-controls{padding:15px 22px;color:#697e5d}

/* Accounts, wallet and order records. */
.account-layout{grid-template-columns:275px minmax(0,1fr);gap:24px}
.account-sidebar{display:block}
.account-summary .top{padding:26px 20px;background:#f0f5e8}
.account-summary .top .avatar{border:4px solid white;background:#dae6cd}
.account-summary .top p{font-size:11px;color:#6b805e}
.account-summary .info{border-color:var(--border);padding:21px}
.key-values{font-size:11px;gap:13px}
.key-values dt{color:#7c8c73}
.copy-small{color:#62824e}
.wallet-balance-card{background:var(--forest);border-color:var(--forest);position:relative}
.wallet-balance-card .panel-body{padding:30px 32px}
.wallet-balance-card h1{margin:8px 0 14px;font-size:38px}
.wallet-balance-card .amount{color:#f2f7e5}
.wallet-balance-card .muted{color:#c1d5b2}
.wallet-balance-card .small-text{font-size:12px;max-width:600px}
.order-card{background:#fff;border-color:var(--border);border-radius:12px;margin-bottom:20px;box-shadow:none}
.order-card-head{background:#f4f7ed;color:#7f8f73;border-bottom:1px solid #e5ecd9;padding:13px 20px;font-size:11px}
.order-card-body{padding:22px;gap:20px}
.order-card-body .strong{font-size:14px}
.order-card-body small{color:#7c8e70;font-size:11px}
.order-image{width:68px;height:68px;background:#eef3e5;display:grid;place-items:center;color:#64834e;overflow:hidden;border-radius:8px}
.order-image img{width:100%;height:100%;object-fit:contain}
.order-card-foot{padding:13px 22px;background:#fff;border-top:1px solid #e8eee0;color:var(--forest);font-size:12px}
.order-card-foot a{display:flex;align-items:center;justify-content:space-between;gap:15px;font-weight:600}
.order-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,1fr);gap:24px;align-items:start}
.order-layout .chat-panel{top:105px}
.order-number{font-size:19px;line-height:1.8}
.deadline{background:#f7f3e2;border:1px solid #e6dfb8;color:#896f2d;padding:15px;border-radius:8px;font-size:12px;gap:12px}
.deadline [data-countdown]{font-weight:700;color:#76602a;direction:ltr}
.delivery-data{background:#f0f5e8;border-color:#d5e2c8;color:#425d36;padding:18px;border-radius:8px}
.stars span{background:#fff9e8;border-color:#e6d6a2;color:#8c6b17;font-size:20px;padding:6px 10px}
.stars input:checked+span{background:#e7d49a;color:#765311}
.stars input:focus-visible+span{outline:3px solid #588b63}
.editor-section-label{display:flex;align-items:center;gap:12px;margin-bottom:24px;border-bottom:1px solid #e1e9d8;padding-bottom:17px}
.editor-section-label>span{font:10px Arial,sans-serif;border:1px solid #d4e1c8;padding:6px;border-radius:4px;color:#6d8a59}
.editor-section-label h2{margin:0;font-size:17px}
.editor-subheading{margin-top:16px;padding-top:24px;border-top:1px solid #e3eadb;font-size:16px}
.product-editor{max-width:1060px}
.variant-row{background:#f5f8ef;border:1px solid #dbe6d0;padding:15px;border-radius:8px;gap:12px;grid-template-columns:minmax(100px,2fr) minmax(60px,1fr) minmax(60px,1fr) 40px}
.variant-row .icon-button{background:#fff;height:45px}
.variant-labels{font-size:11px;color:#7e936e}
.image-list img,.cover-preview{border:1px solid #d7e3ca;border-radius:8px}
.image-list{gap:15px}
.image-list form{margin-top:7px}
.proof-image{border-radius:9px}

/* Auth is deliberately an editorial split, not a floating generic card. */
.auth-experience{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);max-width:1080px;margin:24px auto 34px;border:1px solid #d9e2cf;border-radius:16px;overflow:hidden;background:white;box-shadow:0 10px 35px #33492908;min-height:600px}
.auth-editorial{background:var(--forest);color:#f7faed;padding:40px;display:flex;flex-direction:column;justify-content:space-between;gap:48px}
.auth-editorial .eyebrow{font-size:8px;color:#c3d7b1;line-height:1.8}
.auth-editorial h2{color:#f0f7e5;font-family:var(--font-display);font-size:26px;line-height:1.9;letter-spacing:-.5px;max-width:340px}
.auth-editorial p{color:#bdd1ad;font-size:13px;max-width:350px}
.auth-editorial>small{font:9px Arial,sans-serif;letter-spacing:2px;border-top:1px solid #4d7050;padding-top:20px;color:#c4d5b3}
.auth-wordmark{display:block;font:700 55px/1.3 Arial,sans-serif;letter-spacing:-3px;color:#d1e29d;direction:ltr;margin-bottom:32px}
.auth-experience .auth-wrap{width:100%;max-width:100%;margin:0;display:flex;align-items:center}
.auth-experience .auth-wrap>.panel{border:0;border-radius:0;box-shadow:none;margin:0;width:100%}
.auth-experience .auth-wrap .panel-body{padding:42px}
.auth-wrap h1{font-size:26px;text-align:start;margin-bottom:10px}
.auth-wrap p.center{text-align:start;font-size:12px;margin-bottom:24px}
.auth-brand-mark{margin:0 0 24px;width:54px;height:54px;border:0;border-radius:12px}
.auth-wrap .bottom{font-size:12px}
.auth-wrap .bottom a{font-weight:700}
.steps{color:#829771;border-color:var(--border)}
.steps .done{color:var(--forest)}
.otp{background:#fff;border-color:#bfcca9;color:#325329}

/* Seller storefront and community views. */
.store-profile{background:#fff;border-color:var(--border);border-radius:14px}
.store-cover{background:var(--forest);aspect-ratio:5.3}
.empty-cover span{color:#d3e0b7;font:bold 36px Arial,sans-serif;letter-spacing:8px}
.store-profile-body{padding:0 30px 28px}
.store-top .avatar{border-color:white;background:#e5eed8;color:#3d6130}
.store-top h1{font-size:24px;color:#2f492a}
.store-details-line{color:#7e906f;border-color:#e1e9d6;font-size:11px;gap:18px;padding-bottom:19px}
.store-rating{color:#8b6922;font-size:13px}
.mini-stats>div{background:#f3f7e9;border-color:#dce6cc;min-width:180px;padding:12px 16px;color:#476536}
.mini-stats small{color:#7a9068;font-size:11px}
.store-bio,.store-hours{background:#f6f8f0;color:#5b754d;font-size:13px;padding:17px}
.review-card{background:#fff;border-color:var(--border);padding:24px}
.review-stars{color:#99782b}
.review-card p{color:#667d58}
.forum-sidebar,.topic-card,.tool-card{background:#fff;border-color:var(--border);box-shadow:none}
.forum-sidebar{border-radius:12px}
.forum-sections a{color:#5d7651;border-color:#dce6d2}
.forum-sections a.active,.forum-sections a.selected{background:#eaf1e0;color:var(--forest)}
.topic-card{padding:24px;border-radius:12px}
.topic-card .excerpt{color:#748667;font-size:13px}
.topic-author time{color:#8a9b7b}
.topic-card h3{font-size:17px}
.tool-card{border-radius:12px}
.tool-icon{background:#edf4e3;color:var(--forest)}
.tool-card .help{color:#788e68}
.legal{font-size:14px;color:#4e6841}
.legal h2{margin-top:30px}
.error-page h1{color:var(--forest)}
.error-page>strong{color:#adc391}
.reading-column{max-width:920px}

/* Messaging: readability, actual receipts and unchanged transport hooks. */
.discussion-layout{grid-template-columns:245px minmax(0,1fr);gap:20px;align-items:start}
.chat-sidebar{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.chat-sidebar>h3{padding:20px 18px 0;color:#4c6b3e;font-size:14px}
.chat-sidebar>.chat-general{margin:0 12px 18px;background:#f1f6e7;border:1px solid #e0e9d3;color:var(--forest);border-radius:8px}
.chat-general.selected{background:#e5efda;color:var(--forest)}
.chat-general small{color:#8a9b79}
.chat-sidebar>.section-heading{padding-inline:18px}
.chat-sidebar>.section-heading h4{font-size:11px;color:#7e9270}
.chat-sidebar .help{color:#899c7a;font-size:11px;line-height:1.9;border-color:#e2ead8}
.people-search{padding:0 12px 10px}
.people-search input{font-size:12px;background:#f8faf3}
.people-results{background:#fff;border-color:var(--border);box-shadow:0 8px 24px #2943271a}
.person-result{background:#f1f6e7;color:#4c703c;border-radius:7px;padding:12px;font-size:12px}
.person-result:hover{background:#e5efda}
.contact-row{padding:13px 15px;background:transparent;border-color:#e8eede;border-radius:7px}
.contact-row.selected{background:#ecf3e1;border-color:#d1e1c1}
.contact-row .grow b{font-size:12px;color:#3e5e31}
.contact-row .grow small{font-size:10px;color:#889a77;max-width:160px}
.unread-pill{background:var(--forest);color:#fff;padding:1px 4px;min-width:19px;font-size:10px}
.chat-panel{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}
.chat-head{padding:19px 20px;background:white;border-bottom:1px solid #dde7d2;gap:14px}
.chat-head h2,.chat-panel h2{font-size:15px;font-weight:700;color:#3b5c2f}
.chat-connection.help{font-size:10px;color:#819873;margin:0}
.chat-panel .messages{background:#f5f7f0;padding:20px;height:480px;min-height:290px}
.message{max-width:88%}
.message .message-bubble{background:#fff;border:1px solid #e0e8d7;color:#425c36;border-radius:11px 11px 11px 3px;padding:12px 15px;font-size:13px;line-height:1.85;box-shadow:0 1px 2px #36552404}
.message.own .message-bubble{background:#e2ecd3;color:#365328;border:1px solid #d0dfbb;border-radius:11px 11px 3px 11px}
.message.system .message-bubble{background:#eff3e7;border:1px dashed #c9d8b8;color:#6d845c}
.message-author,.message.own .message-author{color:#759460;font-size:11px;margin:0 4px 4px}
.message-meta,.message-meta .reply-button{color:#7a9069;font-size:10px}
.message-text a{color:#386d5b}
.message-reply-link{border-color:#82a16b;background:#aabd9422;border-radius:3px;color:inherit;font-size:11px}
.reply-preview{background:#eaf2df;color:#597a42;padding:9px 12px}
.ticks{color:#697d5a;background:#d8e4c8}
.ticks.read{color:#2b6f9b;background:transparent}
.chat-compose{background:#fff;border-top:1px solid #e0e9d4;padding:17px 19px}
.chat-compose textarea{min-height:82px;background:#f7faf2;border-color:#e0e9d5;resize:vertical;font-size:13px}
.chat-compose .send-button{background:var(--forest);color:#fff;min-height:37px;border:1px solid var(--forest);font-size:12px;padding:7px 15px}
.attachment-control{font-size:11px;display:flex;flex-direction:row;color:#6d875c;align-items:center;gap:5px;cursor:pointer}
.attachment-name{font-size:10px;max-width:110px}
.keyboard-hint{font-size:9px;color:#9aab8a}
.chat-closed{background:#f3f7eb;border-top:1px solid #dce7cf;color:#7d926a;font-size:12px}
.chat-mobile-back{background:#f0f5e7;color:var(--forest);border-color:#d7e4c9;border-radius:6px;font-size:11px}
.progress{background:#e2ead8}
.progress span{background:#82a665}
.load-older{background:#fff!important;color:#6c845b!important;border-color:#d9e4ce!important;font-size:11px!important}
.file-link{color:#41683c}
.chat-error{margin:12px}
.chat-panel .message-meta time{color:#7c906c}

/* Footer has its own deliberate dark canvas, not inherited dark UI controls. */
.footer{background:#153e31;border-top:0;padding:45px 36px 22px;color:#e2ecd5}
.footer-inner,.footer-bottom{max-width:1288px;gap:65px}
.footer-brand{max-width:390px}
.footer .brand strong{color:#f0f5e9}
.footer .brand small{color:#bbcea9}
.footer .brand-mark{background:#15251b;border:1px solid #476345}
.footer-brand p{font-size:12px;color:#b9cbb0;line-height:2;margin-top:23px}
.footer-inner h4{font-size:13px;color:#e8f0df;margin-bottom:13px}
.footer-inner>div>a:not(.brand){font-size:12px;color:#b9cbb0;padding:4px 0}
.footer-inner>div>a:hover{color:#f1f8e2}
.footer-bottom{border-color:#43664b;margin-top:32px;padding-top:20px;color:#a1b994;font-size:10px}
.footer-bottom a{color:#c5d6bb}
.has-workspace .footer{padding-top:32px}
.has-workspace .footer-inner{gap:45px}

/* Responsive layouts. Never hide transaction actions to make a layout fit. */
@media(min-width:1681px){.app-shell{border-inline:1px solid var(--border)}
}

@media(max-width:1250px){.header-inner{padding-inline:24px;gap:16px}
.main-nav>a{padding-inline:11px}
.header-actions{gap:9px}
.container{padding-inline:28px}
.hero{padding:30px}
.hero h1{font-size:30px}
.marketplace-art{width:98px;padding-inline-start:16px}
.art-word{font-size:43px;letter-spacing:-4px}
.hero.seller-hero{padding:30px}
.workspace-content>.container{padding:26px 24px 55px}
.workspace-topline{padding-inline:24px}
.stat-card{padding:17px}
.stat-card>strong{font-size:25px}
.stat-card .amount{font-size:20px}
.account-layout{grid-template-columns:235px minmax(0,1fr)}
.order-layout{grid-template-columns:1fr}
.order-layout .chat-panel{position:static}
.discussion-layout{grid-template-columns:220px minmax(0,1fr);gap:16px}
.admin-summary .stat-card{padding:16px}
.product-purchase-panel{padding:25px}
.product-detail{gap:27px}
.product-detail h1{font-size:24px}
.product-title{font-size:14px}
.product-info{padding:15px}
.product-card-bottom .price{font-size:16px}
}

@media(max-width:1050px){:root{--header-height:72px;--sidebar-width:226px}
.header{height:72px}
.header-inner{padding-inline:22px;gap:16px}
.main-nav{display:none;position:absolute;top:71px;inset-inline:0;background:#fff;border-bottom:1px solid var(--border);padding:18px;justify-content:center;box-shadow:0 8px 22px #173a2512;gap:9px}
.main-nav.open{display:flex}
.main-nav>a{padding:9px 20px}
.mobile-menu{display:inline-flex}
.hero-grid{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:18px}
.hero{min-height:335px;padding:28px}
.hero h1{font-size:27px}
.hero h2{font-size:22px}
.hero p{font-size:12px}
.marketplace-art{display:none}
.product-grid,.related-grid,.store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.workspace-content .stats-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-content .stats-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.workspace-content .stats-cards.three .stat-card{padding:15px}
.workspace-content .stats-cards.three .amount{font-size:18px}
.account-layout{grid-template-columns:1fr}
.account-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.account-summary .top{padding:20px}
.workspace-content .form-grid.three{grid-template-columns:1fr}
.workspace-content .discussion-layout{grid-template-columns:190px minmax(0,1fr)}
.workspace-content .chat-head{flex-wrap:wrap}
.workspace-content .chat-head .status{font-size:9px}
.workspace-content .chat-head .chat-identity{min-width:0}
.auth-editorial{padding:30px}
.auth-experience .auth-wrap .panel-body{padding:32px}
.features{gap:0}
.feature{padding-inline:16px}
.footer-inner{flex-wrap:wrap;gap:32px}
.footer-brand{flex-basis:100%;max-width:600px}
}

@media(max-width:900px){.app-shell{display:block}
.workspace-sidebar{position:static;width:auto;height:auto;max-height:none;border-inline:0;border-bottom:1px solid var(--border)}
.workspace-sidebar .workspace-nav{display:flex;flex-wrap:wrap;gap:20px}
.workspace-sidebar .workspace-nav .nav-group{margin:0}
.workspace-sidebar .workspace-nav .nav-group>a{font-size:12px}
.workspace-sidebar-bottom{display:none}
.presentation-ready .workspace-sidebar{position:fixed;top:0;bottom:0;inset-inline-start:0;width:min(300px,86vw);height:100dvh;max-height:100dvh;transform:translateX(-105%);transition:transform .2s ease;z-index:90;border-inline-end:1px solid var(--border);box-shadow:0 0 40px #172e251f;padding-top:24px;visibility:hidden}
.presentation-ready[dir=rtl] .workspace-sidebar,[dir=rtl] .presentation-ready .workspace-sidebar{transform:translateX(105%)}
.presentation-ready .workspace-sidebar .workspace-nav{display:block}
.presentation-ready .workspace-sidebar .nav-group+.nav-group{margin-top:22px}
.presentation-ready .workspace-sidebar-bottom{display:flex}
.presentation-ready.workspace-open .workspace-sidebar{transform:translateX(0);visibility:visible}
.presentation-ready .workspace-toggle,.presentation-ready .workspace-close{display:inline-flex}
.presentation-ready .workspace-toggle{width:34px;height:34px;background:#edf3e6;border-color:#dce6d3}
.workspace-close{margin-inline-start:auto;width:32px;height:32px;background:#f4f7ed}
.workspace-open .workspace-backdrop:not([hidden]){display:block}
.workspace-topline{height:58px;padding-inline:23px;font-size:11px}
.workspace-content>.container{padding:26px 23px 54px}
.workspace-content .discussion-layout{grid-template-columns:230px minmax(0,1fr)}
.workspace-content .stats-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.workspace-content .stats-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.workspace-content .form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.account-sidebar{grid-template-columns:1.3fr 1fr}
.gallery{position:static}
.product-detail{gap:22px}
.product-purchase-panel{padding:22px}
.product-detail h1{font-size:22px}
.stats-strip strong{font-size:11px}
.stats-strip small{font-size:9px}
.buy-row .buy{font-size:12px}
.auth-wordmark{font-size:44px}
.auth-editorial h2{font-size:22px}
.auth-experience{min-height:540px}
.auth-experience .auth-wrap .panel-body{padding:29px}
.auth-wrap h1{font-size:23px}
.footer-inner>div:not(:first-child){min-width:160px}
}

@media(max-width:760px){.container{padding:26px 21px 50px}
.hero-grid{grid-template-columns:1fr;gap:16px}
.hero{min-height:285px;padding:30px}
.marketplace-art{display:flex;width:118px}
.art-word{font-size:48px}
.hero h1{font-size:30px;max-width:450px}
.hero.seller-hero{min-height:200px;padding:26px 30px;flex-direction:row;align-items:center;gap:20px}
.seller-hero .hero-copy{max-width:470px}
.seller-hero h2{font-size:24px;margin:10px 0}
.seller-hero p{font-size:12px;margin-bottom:12px}
.seller-notation{width:80px;flex-shrink:0;align-self:stretch;flex-direction:column;justify-content:space-between;border-top:0;border-inline-start:1px solid #658563;padding-top:0;padding-inline-start:20px;font-size:27px}
.seller-notation span{font-size:7px;line-height:1.8;text-align:start}
.categories{gap:13px;flex-direction:column;margin-top:18px}
.categories h3{padding-top:0}
.section-title h2{font-size:19px}
.product-grid,.related-grid,.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.product-title{font-size:14px}
.features{grid-template-columns:1fr;gap:0;padding-block:9px;margin-top:36px}
.feature{border:0;border-bottom:1px solid var(--border);padding:20px 5px}
.feature h3{font-size:14px}
.feature p{font-size:12px}
.page-heading h1{font-size:24px}
.workspace-content .stats-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-content .stats-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.workspace-content .form-grid.three{grid-template-columns:1fr}
.workspace-content .stats-cards.three .stat-card .amount{font-size:18px}
.stats-cards{gap:13px}
.stat-card{min-height:108px;padding:19px}
.stat-card>strong{font-size:25px}
.admin-summary .stat-card{min-height:112px;padding:18px}
.panel-body{padding:22px}
.product-detail{grid-template-columns:1fr;gap:22px}
.product-purchase-panel{padding:27px}
.product-detail h1{font-size:26px}
.main-image{max-height:590px;aspect-ratio:1.1}
.stats-strip strong{font-size:13px}
.stats-strip small{font-size:10px}
.detail-price{font-size:31px}
.auth-experience{grid-template-columns:1fr;min-height:0}
.auth-editorial{min-height:190px;padding:26px 30px;gap:16px}
.auth-editorial>div{position:relative}
.auth-wordmark{position:absolute;inset-inline-end:0;bottom:0;font-size:33px;opacity:.35;margin:0}
.auth-editorial h2{font-size:23px;max-width:400px;margin-bottom:8px}
.auth-editorial p{font-size:12px;margin:0;max-width:340px}
.auth-editorial>small{display:none}
.auth-experience .auth-wrap .panel-body{padding:30px}
.auth-brand-mark{display:none}
.auth-wrap h1{font-size:26px}
.auth-wrap .panel-body{padding:26px}
.account-layout{gap:0}
.account-sidebar{display:block}
.account-summary .top{padding:24px}
.order-layout{display:flex;flex-direction:column;gap:0}
.order-information,.order-chat{width:100%}
.order-chat{order:2}
.order-state-cards{gap:12px}
.order-card-body{padding:19px;gap:14px}
.order-card-body .amount{font-size:15px}
.order-card-body .strong{font-size:13px}
.order-number{font-size:17px}
.order-card-head{padding:12px 17px}
.order-card-head code{font-size:10px}
.form-grid,.form-grid.three{grid-template-columns:1fr;gap:0}
.variant-labels{display:none}
.variant-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;padding:12px;gap:10px}
.variant-row input[name=variant_name]{grid-column:1/-1}
.variant-row input[name=variant_stock]{grid-column:2}
.variant-row button{grid-column:3;grid-row:2;width:40px}
.workspace-content .discussion-layout{grid-template-columns:210px minmax(0,1fr);gap:14px}
.chat-head{padding:16px}
.chat-panel .messages{padding:16px}
.forum-layout{grid-template-columns:1fr}
.forum-sections{display:flex;flex-wrap:wrap;gap:8px}
.topic-card{padding:21px}
.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.footer{padding:34px 24px 21px}
.footer-inner{gap:27px}
.footer-inner>div:not(:first-child){min-width:130px}
.footer-bottom{flex-wrap:wrap;gap:15px}
.store-profile-body{padding:0 22px 23px}
}

@media(max-width:600px){:root{--header-height:68px}
.header{height:68px}
.header-inner{padding-inline:13px;gap:8px}
.brand{gap:7px}
.brand-mark{width:31px;height:34px;border-radius:8px}
.brand strong{font-size:14px}
.brand small{font-size:6px;letter-spacing:1.3px;margin-top:1px}
.header-actions{gap:7px}
.header .tools-nav{font-size:0;width:31px;height:34px;min-height:34px;padding:6px;background:#eff4e8}
.header .tools-nav .icon{display:block;width:16px;height:16px}
.header .signup{display:inline-flex;font-size:10px;padding:7px 10px;min-height:34px;border-radius:6px}
.header .login-link{font-size:10px}
.header .language{font-size:10px}
.header .bell{width:28px;height:32px}
.header .avatar.small{width:29px;height:29px}
.account-menu summary>.icon{display:none}
.header .mobile-menu{width:31px;height:34px;border-radius:6px}
.header .mobile-menu .icon{width:17px;height:17px}
.main-nav{top:67px;padding:15px 12px;gap:7px}
.main-nav>a{font-size:12px;padding:8px 12px;min-height:38px}
.container{padding:23px 16px 44px}
.storefront-kicker{margin-bottom:18px;gap:10px}
.storefront-kicker>span:first-child{font-size:8px;letter-spacing:1.1px}
.storefront-kicker>span:last-child{font-size:9px}
.hero-grid{gap:14px;margin-bottom:23px}
.hero{padding:26px;min-height:290px;gap:10px;border-radius:12px}
.hero h1{font-size:25px;line-height:1.85;margin:15px 0;letter-spacing:-.5px;max-width:100%}
.hero p{font-size:12px;line-height:1.95;max-width:100%;margin-bottom:19px}
.hero .eyebrow{font-size:8px}
.hero .hero-link{font-size:12px;min-height:37px;gap:20px}
.marketplace-art{display:none}
.hero.seller-hero{min-height:199px;padding:24px;gap:13px}
.seller-hero h2{font-size:21px;letter-spacing:-.35px}
.seller-hero p{font-size:11px;max-width:100%;margin-bottom:10px}
.seller-notation{width:64px;padding-inline-start:12px;font-size:24px}
.seller-notation span{font-size:6px;letter-spacing:.3px}
.banner-upload{min-height:0;aspect-ratio:2.8}
.search-bar{padding:8px 10px;min-height:57px;gap:10px}
.search-bar input{font-size:13px;min-height:37px}
.search-bar input::placeholder{font-size:11px}
.search-bar>.icon{width:18px;height:18px}
.search-bar .button{min-width:63px;min-height:39px;font-size:11px;padding-inline:13px}
.discovery-band{padding-bottom:23px}
.categories{gap:11px}
.categories h3{font-size:10px}
.pills{gap:7px}
.pill{font-size:10px;gap:6px;padding:5px 9px;border-radius:5px;min-height:34px}
.pill .icon{width:14px;height:14px}
.section{margin-top:29px}
.section-title{margin-bottom:17px;gap:10px}
.section-title h2{font-size:16px;gap:9px;line-height:1.85;letter-spacing:-.2px}
.section-index{font-size:9px;padding:5px}
.section-title>a{font-size:10px}
.product-grid,.related-grid,.store-grid{gap:12px}
.product-card{border-radius:9px}
.product-cover{aspect-ratio:1.03}
.product-info{padding:12px}
.product-info>.store-link{font-size:9px;gap:4px;margin-bottom:6px}
.store-link .icon{width:11px;height:11px}
.product-title{font-size:12px;line-height:1.85;min-height:45px}
.card-meta{font-size:9px;margin-top:10px}
.card-meta .icon{width:11px;height:11px}
.product-card-bottom{margin-top:11px;padding-top:10px;gap:4px}
.product-card-bottom .price{font-size:13px;line-height:1.7}
.price small{font-size:8px}
.product-card-arrow{width:23px;height:23px}
.product-card-arrow .icon{width:13px;height:13px}
.new-label{font-size:9px;top:9px;inset-inline-start:9px;padding:3px 7px}
.rank{top:9px;inset-inline-end:9px;font-size:9px}
.features{margin-top:30px}
.feature{gap:16px;padding:19px 4px}
.feature h3{font-size:13px}
.feature p{font-size:11px}
.feature>.icon{width:25px;height:25px}
.workspace-topline{height:56px;padding-inline:17px;gap:8px}
.workspace-topline>div{gap:8px;font-size:10px}
.workspace-topline>a{font-size:10px;gap:5px}
.workspace-content>.container{padding:23px 16px 44px}
.workspace-content .page-heading{margin-bottom:22px;gap:13px}
.page-heading h1{font-size:23px;line-height:1.7}
.page-heading .eyebrow{font-size:8px}
.page-heading .button{min-height:37px;font-size:11px;padding:8px 12px}
.workspace-content .stats-cards,.stats-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.workspace-content .stats-cards.three,.stats-cards.three{grid-template-columns:1fr}
.stat-card{min-height:104px;padding:16px}
.stat-card small{font-size:10px;margin-bottom:9px}
.stat-card>strong{font-size:26px}
.stat-card .amount{font-size:19px}
.stat-card .amount small{font-size:8px}
.admin-summary .stat-card{padding:16px;min-height:110px}
.admin-summary .stat-card:last-child .amount{font-size:23px}
.workspace-content .stats-cards.three .stat-card{padding:18px;min-height:100px}
.workspace-content .stats-cards.three .stat-card .amount{font-size:25px}
.section-heading h2{font-size:17px}
.section-heading>a{font-size:11px}
.panel{border-radius:10px;margin-bottom:20px}
.panel-body{padding:19px}
.panel-head{padding:17px 19px}
.panel h2{font-size:18px}
.panel h3{font-size:15px}
.notice,.flash{font-size:11px;padding:13px 15px}
.help{font-size:11px}
input,select,textarea{font-size:14px;min-height:44px}
label{font-size:12px;gap:7px}
.filter-box{padding:15px}
.filter-box .search-line{gap:7px}
.filter-box .button{font-size:11px;padding:8px 12px}
.filter-toggle{display:block}
.filter-row{display:none;gap:10px}
.filter-row.open{display:flex}
.filter-row select{min-width:100%}
.filter-row input{max-width:calc(50% - 5px)}
.table-scroll{border-radius:8px}
table{font-size:11px}
th,td{padding:12px 13px}
th{font-size:10px}
.ticket-item{padding:16px;gap:12px;flex-wrap:wrap}
.ticket-message{padding:18px}
.product-breadcrumb{font-size:10px;margin-bottom:18px;gap:10px}
.product-detail{gap:20px}
.product-purchase-panel{padding:21px;border-radius:12px}
.product-detail h1{font-size:23px;line-height:1.8}
.main-image{aspect-ratio:1;border-radius:12px}
.detail-price{font-size:29px;margin:14px 0 20px}
.detail-price small{font-size:11px}
.stats-strip{margin:20px 0}
.stats-strip>div{padding:12px 5px}
.stats-strip strong{font-size:12px}
.stats-strip small{font-size:9px}
.buy-row .buy{font-size:13px;min-height:48px;height:48px}
.buy-row .chat{min-height:48px;height:48px;width:48px}
.description{font-size:12px}
.share-panel .panel-body{padding:16px;flex-wrap:wrap;gap:12px}
.share-panel h3{font-size:12px}
.share-links a,.share-links button{width:34px;height:34px}
.modal{width:calc(100vw - 26px);border-radius:12px}
.modal-head{padding:18px}
.modal-head h2{font-size:21px}
.modal-body{padding:19px}
.modal-footer{padding:17px 19px}
.variant-choice{min-width:120px;min-height:74px;font-size:11px;padding:10px 13px}
.variant-choice strong{font-size:13px}
.order-card-head{align-items:flex-start;padding:12px 15px}
.order-card-head code{font-size:9px}
.order-card-head time{font-size:9px;max-width:90px}
.order-card-head>div{gap:7px}
.order-card-body{padding:17px;gap:12px;flex-wrap:wrap}
.order-image{width:54px;height:54px}
.order-card-body>.grow{min-width:130px}
.order-card-body small{font-size:10px}
.order-card-foot{padding:12px 17px;font-size:11px}
.order-card-body .amount{font-size:14px}
.wallet-balance-card .panel-body{padding:25px}
.wallet-balance-card h1{font-size:34px}
.wallet-balance-card .small-text{font-size:11px}
.auth-experience{margin:5px auto 20px;border-radius:12px}
.auth-editorial{padding:24px;min-height:204px}
.auth-editorial h2{font-size:22px;max-width:275px}
.auth-wordmark{display:none}
.auth-editorial p{font-size:11px}
.auth-experience .auth-wrap .panel-body{padding:26px 23px}
.auth-wrap h1{font-size:25px}
.auth-wrap p.center{font-size:12px}
.auth-wrap .bottom{font-size:12px}
.workspace-content .discussion-layout,.discussion-layout{grid-template-columns:1fr;gap:0}
.discussion-layout .chat-sidebar{display:none}
.discussion-layout.mobile-list-default .chat-sidebar,.discussion-layout.show-sidebar .chat-sidebar{display:block}
.discussion-layout.mobile-list-default .chat-main{display:none}
.discussion-layout.show-sidebar .chat-panel{display:none}
.chat-head{padding:15px;gap:12px}
.chat-head .chat-identity h2{font-size:14px}
.chat-head .status{font-size:9px}
.chat-mobile-back{display:inline-flex;min-height:33px}
.chat-panel .messages,.discussion-layout .chat-panel .messages{height:calc(100dvh - 375px);min-height:300px;padding:15px}
.message{max-width:94%}
.message .message-bubble{font-size:12px;padding:10px 12px}
.message-author,.message.own .message-author{font-size:10px}
.message-meta,.message-meta .reply-button{font-size:9px}
.chat-compose{padding:14px}
.chat-compose textarea{min-height:80px;font-size:13px}
.compose-actions{gap:8px;flex-wrap:wrap}
.attachment-control{font-size:10px}
.attachment-name{max-width:76px}
.chat-compose .send-button{padding:7px 13px;font-size:11px}
.keyboard-hint{display:none}
.chat-sidebar .chat-contacts{max-height:440px}
.contact-row .grow small{max-width:240px}
.store-cover{aspect-ratio:3.5}
.empty-cover span{font-size:27px;letter-spacing:5px}
.store-profile-body{padding:0 18px 20px}
.store-top{gap:10px;flex-wrap:wrap}
.store-top h1{font-size:21px}
.store-top .button{font-size:11px;min-height:35px;padding:7px 10px}
.store-details-line{font-size:10px;gap:10px}
.mini-stats>div{min-width:125px;padding:11px 13px}
.store-bio,.store-hours{font-size:12px;padding:14px}
.review-card{padding:18px;gap:12px}
.review-card p{font-size:12px}
.tool-grid{grid-template-columns:1fr}
.topic-card h3{font-size:16px}
.footer{padding:32px 22px 19px}
.footer-inner{gap:24px}
.footer-inner>div:not(:first-child){min-width:120px}
.footer .brand strong{font-size:18px}
.footer .brand-mark{width:37px;height:39px}
.footer .brand small{font-size:7px}
.footer-brand p{font-size:11px}
.footer-inner h4{font-size:12px}
.footer-inner>div>a:not(.brand){font-size:11px}
.footer-bottom{font-size:9px;gap:13px}
.footer-bottom>div{gap:18px}
.has-workspace .footer-inner{gap:25px}
}

@media(max-width:370px){.header-inner{padding-inline:10px;gap:5px}
.header-actions{gap:5px}
.brand{gap:5px}
.brand strong{font-size:13px}
.brand small{font-size:5px}
.brand-mark{width:28px;height:31px}
.header .signup{padding-inline:8px;font-size:9px}
.header .language{font-size:9px}
.header .login-link{font-size:9px}
.hero{padding:23px}
.hero h1{font-size:23px}
.hero.seller-hero{padding:22px}
.seller-hero h2{font-size:19px}
.product-info{padding:10px}
.product-title{font-size:11px}
.product-card-bottom .price{font-size:12px}
.product-card-arrow{width:21px;height:21px}
.workspace-topline{padding-inline:14px}
.workspace-topline>div{gap:6px}
.page-heading h1{font-size:22px}
.section-title h2{font-size:15px}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

@media print{.header,.workspace-sidebar,.workspace-topline,.workspace-backdrop,.footer,.buy-row,.chat-compose,.button{display:none!important}
.app-shell{display:block}
.container,.workspace-content>.container{padding:0}
.panel,.table-scroll{break-inside:avoid}
body.theme-atelier{background:#fff;color:#000}
.chat-panel .messages{height:auto;overflow:visible}
}

