@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root{--bg:#0c0c0e;--panel:#151519;--panel2:#1c1c21;--text:#f6f2ea;--muted:#aaa5a0;--gold:#d8b36a;--line:#2b2a2d;--danger:#e77c7c;--ok:#7ed6a0;--max:1240px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 80% 0,#24201a 0,#0c0c0e 34%);color:var(--text);font-family:Vazirmatn,Tahoma,Arial,sans-serif;line-height:1.8}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{width:min(100% - 32px,var(--max));margin:auto}.top{border-bottom:1px solid var(--line);position:sticky;top:0;background:#0c0c0eee;backdrop-filter:blur(14px);z-index:10}.nav{height:76px;display:flex;align-items:center;gap:20px}.brand{font-size:25px;font-weight:800;letter-spacing:-1px}.brand small{display:block;color:var(--gold);font-size:10px;line-height:1}.links{display:flex;gap:20px;color:#d4d0ca}.spacer{flex:1}.profile-link{display:inline-flex;align-items:center;gap:7px}.profile-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 3px rgba(126,214,160,.12)}
.iconbtn,.btn{border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:12px;padding:9px 14px}.btn.primary{background:var(--gold);border-color:var(--gold);color:#19150d;font-weight:800}.btn.ghost{background:transparent}.hero{padding:82px 0 45px;display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:end}.eyebrow{color:var(--gold);font-size:13px}.hero h1{font-size:clamp(42px,7vw,78px);line-height:1.08;margin:12px 0}.hero p{max-width:640px;color:var(--muted);font-size:18px}.hero-card{min-height:320px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(135deg,#2a241b,#111114);padding:28px;display:flex;flex-direction:column;justify-content:flex-end}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.search{flex:1;min-width:220px;background:var(--panel);border:1px solid var(--line);border-radius:12px;color:var(--text);padding:12px 14px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow:hidden}.thumb{aspect-ratio:1/1;background:linear-gradient(135deg,#29231a,#19191e);display:grid;place-items:center;color:#777}.thumb img{width:100%;height:100%;object-fit:cover}.cardbody{padding:15px}.card h3{margin:0 0 6px;font-size:17px}.price{color:var(--gold);font-weight:800}.muted{color:var(--muted)}.section{padding:30px 0 70px}.sectionhead{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.sectionhead h2{margin:0;font-size:28px}.page{padding:50px 0 80px}.product{display:grid;grid-template-columns:1fr 1fr;gap:34px}.product .visual{border-radius:26px;min-height:560px;background:linear-gradient(135deg,#2b261e,#151519);display:grid;place-items:center}.panel{background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:24px}.form{display:grid;gap:12px}.form label{font-size:13px;color:var(--muted)}.form input,.form textarea,.form select{width:100%;padding:12px;background:#0f0f12;border:1px solid var(--line);border-radius:10px;color:var(--text)}.notice{padding:12px 14px;border-radius:12px;background:#201f1c;border:1px solid var(--line);margin:12px 0}.error{color:var(--danger)}.ok{color:var(--ok)}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px;border-bottom:1px solid var(--line);text-align:right}.footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted)}.cartline{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.cartline .grow{flex:1}.pill{padding:3px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px}.modal{position:fixed;inset:0;background:#0009;display:grid;place-items:center;padding:18px;z-index:30}.modalbox{width:min(440px,100%);background:var(--panel2);border:1px solid var(--line);border-radius:22px;padding:24px}.hide{display:none!important}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.hero,.product{grid-template-columns:1fr}.hero{padding-top:55px}.links{display:none}}@media(max-width:520px){.grid{grid-template-columns:1fr}.wrap{width:min(100% - 22px,var(--max))}.nav{height:68px}.brand{font-size:21px}}


.admin-layout{
display:flex;
min-height:100vh;
direction:ltr;
background:#f6f6f6;
}

.admin-sidebar{
width:250px;
background:#111;
color:white;
padding:20px;
direction:rtl;
}

.admin-sidebar a{
display:block;
color:white;
padding:12px;
text-decoration:none;
}

.admin-header{
height:70px;
background:white;
padding:20px;
display:flex;
justify-content:space-between;
direction:rtl;
}

.admin-layout main{
flex:1;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
padding:20px;
}

.card{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 2px 10px #ddd;
}

.card strong{
display:block;
font-size:30px;
margin-top:15px;
}

.chart-box{
background:white;
margin:20px;
padding:20px;
border-radius:12px;
}


@media(max-width:700px){

.admin-sidebar{
display:none;
}

}


/* Production admin UI */
.admin-layout{min-height:100vh;display:flex;direction:rtl;background:#0c0c0e;color:var(--text)}
.admin-layout>aside{width:260px;flex:0 0 260px}
.admin-layout>main{min-width:0;flex:1;background:linear-gradient(180deg,#111114,#0c0c0e)}
.admin-sidebar{position:sticky;top:0;height:100vh;width:260px;padding:24px 16px;background:#101013;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:18px;box-shadow:0 18px 50px #0005}
.admin-brand{font-size:20px;font-weight:900;padding:8px 10px 18px;border-bottom:1px solid var(--line)}
.admin-brand small{display:block;color:var(--gold);font-size:9px;letter-spacing:2px}
.admin-nav-group{display:grid;gap:5px}
.admin-sidebar a{display:flex;align-items:center;min-height:44px;padding:10px 13px;border-radius:11px;color:#d8d3cb;transition:.18s;background:transparent}
.admin-sidebar a:hover{background:#1b1b20;color:#fff;transform:translateX(-2px)}
.admin-back{margin-top:auto;border:1px solid var(--line)!important;justify-content:center}
.admin-header{height:76px;background:#111114dd;border-bottom:1px solid var(--line);padding:0 28px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:5;backdrop-filter:blur(14px)}
.admin-header h3{margin:0;font-size:20px}.admin-header>div{color:var(--muted)}
.admin-page,.dashboard{padding:28px;max-width:1500px;margin:auto}.admin-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.admin-title h2{margin:0}
.admin-layout .cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0;margin-bottom:20px}
.admin-layout .card,.admin-layout .panel,.admin-layout .chart-box{background:linear-gradient(145deg,#17171b,#121215);border:1px solid var(--line);box-shadow:none;color:var(--text)}
.admin-layout .card{padding:20px;border-radius:18px}.admin-layout .card strong{color:var(--gold);font-size:28px}
.admin-layout .chart-box{margin:0;padding:20px;border-radius:18px}.admin-layout .chart-box h3{margin-top:0}
.admin-layout .admin-table{width:100%;border-collapse:collapse}.admin-layout .admin-table th,.admin-layout .admin-table td{padding:13px 10px;border-bottom:1px solid var(--line);text-align:right}
.admin-layout .admin-table th{color:var(--muted);font-size:12px}.admin-layout input,.admin-layout textarea,.admin-layout select{background:#0f0f12;color:var(--text);border:1px solid var(--line)}
@media(max-width:900px){.admin-layout>aside{width:0;flex-basis:0}.admin-sidebar{display:none}.admin-layout .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-page,.dashboard{padding:18px}}
@media(max-width:520px){.admin-layout .cards{grid-template-columns:1fr}.admin-header{padding:0 16px}.admin-page,.dashboard{padding:14px}.admin-table{font-size:12px;display:block;overflow:auto;white-space:nowrap}}

/* GilasArt visual system — premium RTL responsive layer */
:root{
 --ga-bg:#0b0b0d;--ga-surface:#121216;--ga-surface-2:#18181d;--ga-line:#2a292d;
 --ga-text:#f5f1ea;--ga-muted:#aaa39a;--ga-gold:#c9a86a;--ga-gold-2:#e2c891;
 --ga-radius:18px;--ga-shadow:0 18px 55px rgba(0,0,0,.28);
}
html{font-family:Vazirmatn,Tahoma,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;scroll-behavior:smooth}
body{background:radial-gradient(circle at 80% -10%,rgba(201,168,106,.08),transparent 32%),var(--ga-bg);color:var(--ga-text)}
button,a,input,select,textarea{font:inherit}
button,.btn,[role="button"]{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
button:hover,.btn:hover{transform:translateY(-1px)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--ga-gold-2);outline-offset:3px}
img{max-width:100%;height:auto}
main,section,.container,.products,.product-grid,.cards{min-width:0}
.product-grid,.products-grid{container:products / inline-size}
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:clamp(14px,2vw,26px)}
.product-card,.product-item{overflow:hidden;border:1px solid rgba(255,255,255,.07);border-radius:var(--ga-radius);background:linear-gradient(145deg,var(--ga-surface-2),var(--ga-surface));box-shadow:var(--ga-shadow);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.product-card:hover,.product-item:hover{transform:translateY(-4px);border-color:rgba(201,168,106,.35);box-shadow:0 24px 65px rgba(0,0,0,.36)}
.product-card img,.product-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
@container products (width < 560px){
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .product-card h3,.product-item h3{font-size:14px}
}
@container products (width < 360px){
 .product-grid{grid-template-columns:1fr}
}
.admin-layout{min-height:100dvh;background:radial-gradient(circle at 15% 0%,rgba(201,168,106,.055),transparent 30%),#0b0b0d}
.admin-layout>aside{flex:0 0 250px}
.admin-sidebar{height:100dvh;position:sticky;top:0;overflow:auto;scrollbar-width:thin}
.admin-layout main{min-width:0}
.admin-header{box-shadow:0 8px 30px rgba(0,0,0,.14)}
.admin-page,.dashboard{width:min(100%,1500px);box-sizing:border-box}
.admin-layout .panel,.admin-layout .chart-box{overflow:hidden}
.admin-layout .admin-table{min-width:680px}
.admin-layout .admin-table tbody tr{transition:background .15s ease}
.admin-layout .admin-table tbody tr:hover{background:rgba(255,255,255,.025)}
.admin-layout .card{position:relative;overflow:hidden}
.admin-layout .card::after{content:"";position:absolute;inset:auto -20px -45px auto;width:110px;height:110px;border-radius:50%;background:rgba(201,168,106,.06);filter:blur(2px);pointer-events:none}
@media(max-width:900px){
 .admin-layout{display:block!important}
 .admin-layout>aside{display:none}
 .admin-header{height:64px}
 .admin-page,.dashboard{padding:18px 14px}
}
@media(max-width:520px){
 .admin-title{gap:12px;align-items:flex-start;flex-direction:column}
 .admin-layout .cards{grid-template-columns:1fr!important}
 .admin-layout .card{padding:16px;border-radius:15px}
 .admin-layout .card strong{font-size:24px}
 .admin-layout .admin-table{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* Persian typography polish */
:root{font-synthesis:none}
body{font-weight:400;letter-spacing:-.01em}
h1,h2,h3,h4,h5,h6,.brand,.admin-brand,.admin-header h3{font-weight:700;letter-spacing:-.025em}
.price,.btn.primary,.admin-layout .card strong{font-variant-numeric:tabular-nums;font-feature-settings:"ss01","tnum"}
input,textarea,select{font-weight:400;letter-spacing:0}

/* Admin forms + tables */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.form label{display:flex;flex-direction:column;gap:7px;color:var(--ga-muted);font-size:13px;margin-bottom:12px}
.form input,.form select,.form textarea{width:100%;box-sizing:border-box;border:1px solid var(--ga-line);background:#0f0f13;color:var(--ga-text);border-radius:12px;padding:11px 13px;min-height:44px}
.form textarea{min-height:110px;resize:vertical}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.btn.danger{border:1px solid rgba(220,90,90,.35);color:#f0b0b0;background:rgba(120,30,30,.12)}
.admin-nav-group a{display:flex;align-items:center;min-height:42px;border-radius:10px;padding:0 12px}
.admin-nav-group a:hover{background:rgba(201,168,106,.09);color:var(--ga-gold-2)}
@media(max-width:700px){.form-grid{grid-template-columns:1fr}}

/* Main navigation — desktop + mobile */
.nav{min-width:0}.links{align-items:center;min-width:0;overflow-x:auto;scrollbar-width:none}.links::-webkit-scrollbar{display:none}.links a{padding:8px 10px;border-radius:10px;white-space:nowrap;transition:background .18s ease,color .18s ease,transform .18s ease}.links a:hover{background:rgba(201,168,106,.09);color:var(--gold);transform:translateY(-1px)}.links .admin-link{color:var(--ui-gold-strong);border:1px solid rgba(201,168,106,.22);background:rgba(201,168,106,.06)}.iconbtn{white-space:nowrap}
@media(max-width:900px){.nav{position:relative;gap:7px}.brand{flex:0 0 auto}.links{display:none}.links.is-open{display:flex;position:absolute;top:calc(100% + 8px);right:0;left:0;z-index:25;flex-direction:column;align-items:stretch;gap:4px;padding:10px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:16px;box-shadow:0 18px 45px rgba(0,0,0,.28);max-height:calc(100vh - 82px);overflow:auto}.links.is-open a{display:flex;align-items:center;justify-content:flex-start;min-height:44px;padding:9px 12px;border-radius:10px;font-size:14px}.spacer{display:block;flex:1}.iconbtn{padding:7px 9px;font-size:12px;order:initial}.mobile-menu-toggle{display:flex;order:initial}.top{z-index:50}}
@media(max-width:520px){.nav{height:64px}.brand small{display:none}.brand{font-size:18px}.iconbtn{font-size:0;width:40px;min-width:40px;height:40px;padding:7px;border-radius:12px}.iconbtn span{display:none}.theme-toggle{width:40px;min-width:40px;height:40px;padding:7px}.theme-toggle span{display:none}.mobile-menu-toggle{width:40px;height:40px;flex-basis:40px}.links.is-open{left:0;right:0}}

/* GilasArt Modern UI System v2 */
:root{color-scheme:light dark;--ui-bg:#0b0b0d;--ui-surface:#121216;--ui-surface-2:#18181d;--ui-surface-3:#202027;--ui-text:#f7f3eb;--ui-muted:#aaa49b;--ui-line:rgba(255,255,255,.09);--ui-gold:#c9a86a;--ui-gold-strong:#e5cc98;--ui-success:#5fd3a3;--ui-danger:#ef8d8d;--ui-radius:18px;--ui-shadow:0 18px 60px rgba(0,0,0,.26);--ui-shadow-soft:0 10px 35px rgba(0,0,0,.14);--ui-ease:cubic-bezier(.22,1,.36,1);--ga-gutter:clamp(12px,2.4vw,32px);--bg:var(--ui-bg);--panel:var(--ui-surface);--panel2:var(--ui-surface-2);--text:var(--ui-text);--muted:var(--ui-muted);--gold:var(--ui-gold);--line:var(--ui-line);--danger:var(--ui-danger);--ok:var(--ui-success);--max:1240px}
:root[data-theme="light"]{color-scheme:light;--ui-bg:#f5f2ec;--ui-surface:#fffdfa;--ui-surface-2:#f0ece4;--ui-surface-3:#e8e1d6;--ui-text:#202020;--ui-muted:#6d685f;--ui-line:rgba(30,25,20,.10);--ui-gold:#9b742d;--ui-gold-strong:#76551e;--ui-success:#187a58;--ui-danger:#b53f3f;--bg:var(--ui-bg);--panel:var(--ui-surface);--panel2:var(--ui-surface-2);--text:var(--ui-text);--muted:var(--ui-muted);--gold:var(--ui-gold);--line:var(--ui-line);--danger:var(--ui-danger);--ok:var(--ui-success);--ui-shadow:0 18px 55px rgba(50,42,30,.11);--ui-shadow-soft:0 8px 25px rgba(50,42,30,.08)}
body{background:radial-gradient(900px 420px at 85% -10%,color-mix(in srgb,var(--ui-gold) 12%,transparent),transparent 65%),var(--ui-bg);color:var(--ui-text);transition:background-color .25s ease,color .25s ease}
.top{position:sticky;top:0;z-index:50;backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);background:color-mix(in srgb,var(--ui-bg) 82%,transparent);border-bottom:1px solid var(--ui-line)}
.nav{min-height:72px;gap:10px}.brand{display:inline-flex;flex-direction:column;line-height:1.05;text-decoration:none;color:var(--ui-text);font-weight:800}.brand small{margin-top:5px;font-size:9px;letter-spacing:.20em;color:var(--ui-gold)}
.links{display:flex;gap:4px;align-items:center;flex-wrap:nowrap}.links a{color:var(--ui-muted);border:1px solid transparent;transition:all .18s var(--ui-ease)}.links a:hover,.links a:focus-visible{color:var(--ui-text);background:color-mix(in srgb,var(--ui-gold) 10%,transparent);border-color:color-mix(in srgb,var(--ui-gold) 25%,transparent)}.admin-link{color:var(--ui-gold-strong)!important}.mobile-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:40px;height:40px;flex:0 0 40px;padding:8px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface);color:var(--ui-text);cursor:pointer;box-shadow:var(--ui-shadow-soft)}.mobile-menu-toggle span{display:block;width:19px;height:2px;border-radius:2px;background:currentColor;transition:transform .18s ease,opacity .18s ease}.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid var(--ui-line);border-radius:999px;background:var(--ui-surface);color:var(--ui-text);cursor:pointer;box-shadow:var(--ui-shadow-soft);transition:transform .18s var(--ui-ease),border-color .18s ease,background .18s ease}.theme-toggle:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--ui-gold) 45%,var(--ui-line))}.theme-icon{font-size:16px;color:var(--ui-gold)}
.page,.hero,.section{animation:ui-enter .45s var(--ui-ease) both}@keyframes ui-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.card,.panel,.chart-box{border:1px solid var(--ui-line);background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft)}.card{transition:transform .25s var(--ui-ease),box-shadow .25s ease,border-color .25s ease}.card:hover{transform:translateY(-5px);box-shadow:var(--ui-shadow);border-color:color-mix(in srgb,var(--ui-gold) 32%,var(--ui-line))}.cardbody{padding:16px}.price{color:var(--ui-gold-strong)}
.btn{min-height:42px;border-radius:12px;border:1px solid var(--ui-line);padding:9px 15px;cursor:pointer}.btn.primary{background:linear-gradient(135deg,var(--ui-gold-strong),var(--ui-gold));color:#16130d;border-color:transparent;box-shadow:0 9px 24px color-mix(in srgb,var(--ui-gold) 22%,transparent)}.btn.ghost{background:var(--ui-surface);color:var(--ui-text)}
.form input,.form select,.form textarea,.search{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-line);box-shadow:inset 0 1px 0 rgba(255,255,255,.025);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.form input:focus,.form select:focus,.form textarea:focus,.search:focus{border-color:color-mix(in srgb,var(--ui-gold) 70%,var(--ui-line));box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-gold) 12%,transparent);outline:none}
.admin-layout{background:radial-gradient(700px 450px at 12% 0%,color-mix(in srgb,var(--ui-gold) 9%,transparent),transparent 65%),var(--ui-bg);color:var(--ui-text)}.admin-layout>aside{border-left:1px solid var(--ui-line)}.admin-sidebar{background:color-mix(in srgb,var(--ui-surface) 94%,transparent);padding:18px 14px}.admin-brand{padding:12px 10px 22px;font-size:21px;font-weight:850;color:var(--ui-text)}.admin-brand small{display:block;margin-top:5px;color:var(--ui-gold);font-size:9px;letter-spacing:.16em}.admin-nav-group{display:grid;gap:4px}.admin-nav-group a{color:var(--ui-muted);border:1px solid transparent;transition:all .18s var(--ui-ease)}.admin-nav-group a:hover{color:var(--ui-text);background:color-mix(in srgb,var(--ui-gold) 9%,transparent);border-color:color-mix(in srgb,var(--ui-gold) 16%,transparent);transform:translateX(-2px)}.admin-back{display:flex;align-items:center;justify-content:center;margin-top:18px;min-height:42px;border:1px solid var(--ui-line);border-radius:12px;color:var(--ui-muted)}
.admin-header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 clamp(16px,3vw,34px);background:color-mix(in srgb,var(--ui-bg) 84%,transparent);border-bottom:1px solid var(--ui-line);backdrop-filter:blur(18px)}.admin-header-title{display:flex;flex-direction:column;gap:3px}.admin-kicker{font-size:9px;letter-spacing:.18em;color:var(--ui-gold)}.admin-header h3{margin:0;font-size:21px}.admin-header-actions{display:flex;align-items:center;gap:9px}.admin-user-badge{padding:7px 11px;border:1px solid var(--ui-line);border-radius:999px;color:var(--ui-muted);background:var(--ui-surface);font-size:12px}
.admin-page{padding:clamp(18px,3vw,34px)}.admin-title{margin-bottom:20px}.admin-title h2{font-size:clamp(24px,3vw,34px);margin:0 0 6px}.admin-page .panel,.dashboard .card,.dashboard .chart-box{border-radius:var(--ui-radius)}.admin-page .panel{padding:clamp(16px,2vw,24px);margin-bottom:18px}
.admin-table{width:100%;border-collapse:separate;border-spacing:0}.admin-table th{color:var(--ui-muted);font-size:12px;font-weight:700;background:color-mix(in srgb,var(--ui-surface-3) 65%,transparent)}.admin-table th,.admin-table td{padding:13px 12px;border-bottom:1px solid var(--ui-line);text-align:right;vertical-align:middle}.admin-table tbody tr{transition:background .15s ease}.admin-table tbody tr:hover{background:color-mix(in srgb,var(--ui-gold) 5%,transparent)}
.pill{display:inline-flex;align-items:center;min-height:27px;padding:3px 9px;border-radius:999px;border:1px solid var(--ui-line);background:color-mix(in srgb,var(--ui-gold) 8%,var(--ui-surface));color:var(--ui-gold-strong);font-size:11px}.error{color:var(--ui-danger);background:color-mix(in srgb,var(--ui-danger) 8%,transparent);border:1px solid color-mix(in srgb,var(--ui-danger) 22%,transparent);border-radius:10px;padding:8px 10px}.notice{padding:13px 15px;border:1px solid color-mix(in srgb,var(--ui-gold) 20%,var(--ui-line));background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface));border-radius:14px}
#admin-page>.panel>.muted{display:flex;align-items:center;gap:10px;min-height:100px;justify-content:center}#admin-page>.panel>.muted::before{content:"";width:18px;height:18px;border:2px solid var(--ui-line);border-top-color:var(--ui-gold);border-radius:50%;animation:ui-spin .7s linear infinite}@keyframes ui-spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.admin-header-actions .admin-user-badge{display:none}.admin-header{min-height:64px}.admin-layout>main{width:100%}}@media(max-width:700px){.links{overflow-x:auto;max-width:48vw}.theme-toggle span{display:none}.theme-toggle{width:40px;padding:7px}.admin-header{padding:0 14px}.admin-page{padding:16px 12px}.admin-page .panel{padding:14px;border-radius:15px}.admin-table{min-width:700px}}@media(prefers-reduced-motion:reduce){.page,.hero,.section{animation:none}*,*::before,*::after{transition:none!important}}

/* Sky-frame hero — HTML5 canvas presentation */
.hero-sky{position:relative;min-height:420px;border:1px solid var(--ui-line);border-radius:32px;overflow:hidden;background:#0a1727;box-shadow:var(--ui-shadow);isolation:isolate}.hero-sky::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,transparent 0 24%,rgba(0,0,0,.12) 70%,rgba(0,0,0,.32));pointer-events:none;z-index:1}.hero-sky canvas{display:block;width:100%;height:100%;min-height:420px}.sky-caption{position:absolute;right:22px;bottom:20px;z-index:2;display:grid;gap:4px;padding:12px 15px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(8,12,18,.32);backdrop-filter:blur(12px);color:#fff}.sky-caption strong{font-size:20px}.sky-caption small{color:rgba(255,255,255,.72)}
:root[data-theme="light"] .hero-sky{box-shadow:0 18px 50px rgba(45,38,25,.12)}
.error-cell{text-align:center!important;padding:24px!important;color:var(--ui-danger);background:color-mix(in srgb,var(--ui-danger) 7%,transparent)}
@media(max-width:900px){.hero-sky,.hero-sky canvas{min-height:340px}.hero-sky{border-radius:24px}}
@media(max-width:520px){.hero-sky,.hero-sky canvas{min-height:300px}.sky-caption{right:12px;bottom:12px}.sky-caption strong{font-size:17px}}

/* Admin navigation + responsive premium polish */
.admin-nav-group a.active{
  color:var(--ui-text);
  background:linear-gradient(135deg,color-mix(in srgb,var(--ui-gold) 16%,transparent),color-mix(in srgb,var(--ui-gold) 6%,transparent));
  border-color:color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));
  box-shadow:inset -3px 0 0 var(--ui-gold),0 8px 24px rgba(0,0,0,.10);
  font-weight:700;
}
:root[data-theme="light"] .admin-nav-group a.active{box-shadow:inset -3px 0 0 var(--ui-gold),0 8px 24px rgba(80,60,30,.07)}
.top .theme-toggle{margin-inline:4px}
@media(max-width:700px){.top .theme-toggle{width:38px;min-width:38px;padding:7px}.top .theme-toggle span:not(.theme-icon){display:none}}

.shop-hero{position:relative;min-height:430px;overflow:hidden;display:flex;align-items:center;border-bottom:1px solid var(--line);background:radial-gradient(circle at 78% 35%,rgba(217,164,65,.16),transparent 34%),radial-gradient(circle at 20% 80%,rgba(168,92,42,.13),transparent 30%),linear-gradient(135deg,#0b1220,#12100e 55%,#19130d)}
.shop-hero-inner{position:relative;z-index:2;padding:78px 0}.shop-hero h1{font-size:clamp(42px,7vw,82px);margin:12px 0 8px;line-height:1.05;letter-spacing:-2px}.shop-hero p{font-size:clamp(18px,2.4vw,27px);color:var(--muted);margin:0 0 28px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.shop-orbit{position:absolute;inset:-140px -80px auto auto;width:620px;height:620px;border:1px solid rgba(217,164,65,.18);border-radius:50%;animation:orbitFloat 12s ease-in-out infinite}.shop-orbit:before,.shop-orbit:after{content:"";position:absolute;border:1px solid rgba(217,164,65,.12);border-radius:50%}.shop-orbit:before{inset:70px}.shop-orbit:after{inset:145px}.shop-orbit span{position:absolute;width:13px;height:13px;border-radius:50%;background:var(--gold);box-shadow:0 0 28px rgba(217,164,65,.65)}.shop-orbit span:nth-child(1){top:16%;left:20%;animation:orb 7s linear infinite}.shop-orbit span:nth-child(2){right:15%;top:48%;animation:orb 10s linear infinite reverse}.shop-orbit span:nth-child(3){bottom:14%;left:46%;animation:orb 8s linear infinite}.product-stream .card{animation:productIn .55s ease both;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.product-stream .card:hover{transform:translateY(-7px);border-color:rgba(217,164,65,.45);box-shadow:0 18px 45px rgba(0,0,0,.22)}.infinite-sentinel{height:2px}.load-status{text-align:center;color:var(--muted);padding:24px}.empty-state{text-align:center;margin-top:20px}.cat.active{border-color:var(--gold);color:var(--gold)}@keyframes productIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}@keyframes orbitFloat{0%,100%{transform:translate3d(0,0,0) rotate(0)}50%{transform:translate3d(-18px,14px,0) rotate(5deg)}}@keyframes orb{from{transform:rotate(0) translateX(24px)}to{transform:rotate(360deg) translateX(24px)}}@media(max-width:760px){.shop-hero{min-height:390px}.shop-hero-inner{padding:65px 0}.shop-orbit{width:430px;height:430px;right:-180px;top:10px}.shop-hero h1{font-size:46px}.shop-hero p{font-size:17px}.shop-page{padding-top:32px}}
@media(prefers-reduced-motion:reduce){.shop-orbit,.shop-orbit span,.product-stream .card{animation:none!important;transition:none!important}}

/* Admin DataGrid */
.data-grid-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:10px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.02)}
.data-grid-search{flex:1 1 220px;min-width:160px;padding:10px 12px;border-radius:10px!important}
.data-grid-count{color:var(--muted);font-size:12px;margin-inline-start:auto}.data-grid-toolbar .btn{white-space:nowrap}
.admin-layout .admin-table th.sortable{cursor:pointer;user-select:none;white-space:nowrap}.admin-layout .admin-table th.sortable:hover{color:var(--ui-gold-strong)}
.sort-indicator{display:inline-block;min-width:18px;margin-inline-start:5px;opacity:.55}.admin-layout .admin-table tr[hidden]{display:none}
@media(max-width:520px){.data-grid-toolbar{align-items:stretch}.data-grid-search{flex-basis:100%}.data-grid-count{margin-inline-start:0}}

.image-field{display:flex;gap:8px;align-items:center}.image-field input{flex:1}
.media-picker-modal{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:18px}.media-picker-modal[hidden]{display:none}
.media-picker-panel{width:min(920px,96vw);max-height:88vh;overflow:auto;background:#0b1220;border:1px solid rgba(217,164,65,.35);border-radius:18px;padding:18px;box-shadow:0 24px 80px rgba(0,0,0,.5)}
.media-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:14px}.media-pick{border:1px solid rgba(255,255,255,.1);background:#111a2a;color:inherit;border-radius:12px;padding:8px;cursor:pointer;text-align:center}.media-pick img{width:100%;height:120px;object-fit:contain;background:#fff;border-radius:8px}.media-pick span{display:block;margin-top:6px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* CMS, contact, footer and OTP UX */
.otp-loading{padding:12px 14px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface);color:var(--ui-muted)}
.footer{margin-top:50px;background:linear-gradient(180deg,var(--ui-surface),var(--ui-surface-2));border-top:1px solid var(--ui-line)}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px;padding:34px 0}.footer-grid>div{display:flex;flex-direction:column;gap:7px}.footer-grid strong{color:var(--ui-text);font-size:16px}.footer-grid a{color:var(--ui-muted)}.footer-grid a:hover{color:var(--ui-gold-strong)}.trust-badges{display:flex;gap:8px;flex-wrap:wrap}.trust-badges span{display:inline-flex;align-items:center;justify-content:center;min-height:58px;min-width:105px;padding:8px;border:1px dashed color-mix(in srgb,var(--ui-gold) 38%,var(--ui-line));border-radius:12px;background:color-mix(in srgb,var(--ui-gold) 5%,var(--ui-surface));color:var(--ui-gold-strong);font-size:12px}
.cms-page{min-height:60vh}.cms-list{display:grid;gap:16px}.cms-card{position:relative;overflow:hidden}.cms-card h2,.cms-rich h2{margin-top:7px}.cms-card p,.cms-rich p{max-width:850px}.cms-contact-grid{display:grid;grid-template-columns:minmax(0,1fr)}.contact-list{display:grid;gap:8px;margin-top:18px}.contact-list p{margin:0}.cms-editor{border-color:color-mix(in srgb,var(--ui-gold) 18%,var(--ui-line))}
.checkline{flex-direction:row!important;align-items:center;gap:9px!important}.checkline input{width:auto!important;min-height:auto!important}
@media(max-width:700px){.footer-grid{grid-template-columns:1fr;gap:18px;padding:25px 0}.trust-badges span{min-width:92px}.cms-page{padding-top:28px}}


/* GilasArt auth / flash sale / CRM premium layer */
.iconbtn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.iconbtn svg,.btn svg,.theme-toggle svg,.profile-avatar svg,.support-orb svg,.flash-badge svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.profile-avatar{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--ui-gold) 25%,transparent),color-mix(in srgb,var(--ui-surface-3) 80%,transparent));border:1px solid color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));color:var(--ui-gold-strong);box-shadow:var(--ui-shadow-soft)}
.profile-panel,.login-panel{overflow:hidden;position:relative}.profile-head{display:flex;align-items:center;gap:16px}.profile-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.profile-data>div{padding:16px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface)}.profile-data span{display:block;color:var(--ui-muted);font-size:12px}.profile-data strong{display:block;margin-top:4px;font-size:16px}
.otp-session{display:grid;gap:12px;margin-top:12px}.otp-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.otp-count{font-variant-numeric:tabular-nums;min-width:66px;text-align:center;border-radius:999px;padding:5px 9px;background:color-mix(in srgb,var(--ui-gold) 12%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));color:var(--ui-gold-strong);font-weight:800}.resend-btn{margin-top:2px}
.flash-section{margin:20px auto 50px;padding:26px;border:1px solid color-mix(in srgb,var(--ui-gold) 25%,var(--ui-line));border-radius:28px;background:radial-gradient(500px 180px at 85% 0,color-mix(in srgb,var(--ui-gold) 15%,transparent),transparent 70%),linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));box-shadow:var(--ui-shadow)}
.flash-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.flash-head h2{margin:4px 0}.flash-head p{margin:0;color:var(--ui-muted)}.flash-controls{display:flex;gap:8px}.icon-circle{width:42px;height:42px;border-radius:50%;border:1px solid var(--ui-line);background:var(--ui-surface);color:var(--ui-text);font-size:26px}.flash-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:5px 3px 12px;scrollbar-width:thin}.flash-track .card{flex:0 0 min(310px,82vw);scroll-snap-align:start}.flash-badge{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:rgba(15,12,8,.86);color:#f4d79b;border:1px solid rgba(229,204,152,.35);backdrop-filter:blur(10px);font-size:11px;font-weight:800}.thumb{position:relative}.flash-timer{margin:10px 0;padding:7px 10px;border-radius:10px;background:linear-gradient(90deg,color-mix(in srgb,var(--ui-gold) 16%,transparent),color-mix(in srgb,var(--ui-surface-3) 80%,transparent));border:1px solid color-mix(in srgb,var(--ui-gold) 24%,var(--ui-line));color:var(--ui-gold-strong);font-size:13px;font-weight:900;font-variant-numeric:tabular-nums;text-align:center;letter-spacing:.03em}.flash-old{text-decoration:line-through;font-size:11px}.flash-ended{opacity:.65}
.cms-date{display:inline-flex;align-items:center;margin-bottom:12px;padding:6px 10px;border-radius:999px;background:var(--ui-surface-2);border:1px solid var(--ui-line);color:var(--ui-muted);font-size:12px;font-variant-numeric:tabular-nums}.cms-stream{display:grid;gap:16px}.cms-card{position:relative;overflow:hidden}.cms-card::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,var(--ui-gold),transparent)}.cms-card h2{margin:6px 0 8px}.cms-card .btn{margin-top:10px}.cms-detail{max-width:900px;margin:auto}.cms-detail .lead{font-size:18px;color:var(--ui-muted)}.cms-body{white-space:pre-wrap;line-height:2.1;margin:24px 0}.infinite-sentinel{height:2px}.load-status{text-align:center;color:var(--ui-muted);padding:18px}
.support-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px;border-radius:28px;background:radial-gradient(500px 250px at 10% 0,color-mix(in srgb,var(--ui-gold) 13%,transparent),transparent 70%),linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));border:1px solid var(--ui-line);box-shadow:var(--ui-shadow)}.support-hero h1{margin:4px 0 8px}.support-orb{width:76px;height:76px;display:grid;place-items:center;border-radius:24px;color:var(--ui-gold-strong);background:color-mix(in srgb,var(--ui-gold) 10%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-gold) 30%,var(--ui-line));box-shadow:0 0 50px color-mix(in srgb,var(--ui-gold) 12%,transparent)}.support-orb svg{width:36px;height:36px}.support-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:18px;margin-top:18px}.support-grid>div{display:grid;gap:18px}.ticket-list{display:grid;gap:8px}.ticket-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface);transition:.18s ease}.ticket-row:hover{border-color:color-mix(in srgb,var(--ui-gold) 32%,var(--ui-line));transform:translateY(-1px)}.ticket-row small{display:block;color:var(--ui-muted);margin-top:3px}.status-open,.status-closed{padding:5px 9px;border-radius:999px;font-size:11px}.status-open{color:var(--ui-success);background:color-mix(in srgb,var(--ui-success) 10%,transparent)}.status-closed{color:var(--ui-muted);background:var(--ui-surface-2)}.faq-panel{position:sticky;top:95px}.faq-item{border-top:1px solid var(--ui-line);padding:12px 0}.faq-item:last-child{border-bottom:1px solid var(--ui-line)}.faq-item summary{cursor:pointer;font-weight:700;list-style:none}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary::after{content:'+';float:left;color:var(--ui-gold);font-size:20px}.faq-item[open] summary::after{content:'−'}.faq-item>div{color:var(--ui-muted);padding:9px 0 0}.ticket-thread{display:grid;gap:10px;margin:20px 0}.ticket-message{max-width:82%;padding:13px 15px;border-radius:16px;border:1px solid var(--ui-line);white-space:pre-wrap}.from-user{justify-self:start;background:var(--ui-surface)}.from-admin{justify-self:end;background:color-mix(in srgb,var(--ui-gold) 10%,var(--ui-surface));border-color:color-mix(in srgb,var(--ui-gold) 25%,var(--ui-line))}.message-meta{font-size:11px;color:var(--ui-muted);margin-bottom:5px}.support-admin-detail{margin-top:18px}.flash-sale-editor{grid-column:1/-1;padding:15px;border:1px solid color-mix(in srgb,var(--ui-gold) 20%,var(--ui-line));border-radius:14px;background:color-mix(in srgb,var(--ui-gold) 4%,var(--ui-surface))}.flash-sale-editor label{margin-bottom:8px}.check-row{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;color:var(--ui-text)!important}.check-row input{width:18px!important;min-height:18px!important;accent-color:var(--ui-gold)}
@media(max-width:800px){.support-grid{grid-template-columns:1fr}.faq-panel{position:static}.profile-data{grid-template-columns:1fr}.support-hero{padding:22px}.flash-section{padding:18px}.ticket-message{max-width:92%}}
@media(max-width:520px){.flash-head{align-items:flex-start}.flash-controls{display:none}.flash-track .card{flex-basis:84vw}.support-hero{align-items:flex-start}.support-orb{width:58px;height:58px;border-radius:18px}.support-orb svg{width:28px;height:28px}.profile-head{align-items:flex-start}}


/* Product options + video gallery: additive styles only */
.product-gallery{display:flex;flex-direction:column;gap:14px;min-width:0}
.product-media{min-height:360px;border:1px solid var(--border,#3a3a3a);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.025);display:flex;align-items:center;justify-content:center;padding:18px}
.product-media img,.product-media-player,.product-video-player{width:100%;max-height:560px;object-fit:contain;border-radius:12px}
.product-video-player{background:#05070b;aspect-ratio:16/9}
.product-thumbs{display:flex;gap:10px;overflow:auto;padding:2px}
.product-thumb{border:1px solid var(--border,#3a3a3a);background:transparent;border-radius:12px;width:72px;height:72px;flex:0 0 72px;padding:4px;cursor:pointer;opacity:.72}
.product-thumb.active{opacity:1;outline:2px solid var(--gold,#D9A441);outline-offset:1px}
.product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.video-thumb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:inherit}
.video-thumb span{font-size:22px}.video-thumb small{font-size:10px}
.product-options-panel{margin:22px 0}.product-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.product-option{display:flex;flex-direction:column;gap:7px}.product-option span{font-weight:700}
.product-option select{width:100%;min-height:44px;border-radius:10px;padding:8px 12px;background:var(--surface,#111827);color:inherit;border:1px solid var(--border,#3a3a3a)}
.product-live-price{font-weight:800}.cart-options{font-size:12px;margin-top:5px;opacity:.8}
.attributes-manager{display:grid;gap:14px;margin-top:16px}.attribute-card{border:1px solid var(--border,#3a3a3a);border-radius:14px;padding:14px;background:rgba(255,255,255,.02)}
.attribute-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.attribute-card-head>div{display:flex;align-items:center;gap:8px}
.attribute-options{display:grid;gap:8px}.attribute-option-row{display:grid;grid-template-columns:minmax(120px,1fr) auto auto 130px auto auto;gap:8px;align-items:center;padding:8px;border-radius:10px;background:rgba(255,255,255,.025)}
.attribute-option-row input{max-width:100%}.attribute-option-row .opt-price{width:120px}.inline-option-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.inline-option-form input:not([type=checkbox]){min-height:40px;border-radius:9px;border:1px solid var(--border,#3a3a3a);background:var(--surface,#111827);color:inherit;padding:8px 10px}.attribute-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.attribute-check{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border,#3a3a3a);border-radius:12px;cursor:pointer}.attribute-check span{display:flex;flex-direction:column;gap:2px}.attribute-check small{opacity:.7}
@media(max-width:700px){
 .product-options{grid-template-columns:1fr}.attribute-choice-grid{grid-template-columns:1fr}.attribute-option-row{grid-template-columns:1fr 1fr}.attribute-option-row .opt-name{grid-column:1/-1}.attribute-option-row .opt-price{width:100%}.product-media{min-height:260px;padding:10px}.product-thumb{width:62px;height:62px;flex-basis:62px}.inline-option-form>*{flex:1 1 140px}.inline-option-form button{flex-basis:100%}
}


/* Admin mobile navigation — touch-first responsive system */
.admin-mobile-menu,.admin-mobile-backdrop{display:none}
@media(max-width:900px){
  body.admin-menu-open{overflow:hidden}
  .admin-mobile-menu{
    display:flex;position:fixed;top:12px;right:12px;z-index:1002;width:44px;height:44px;
    align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid var(--ui-line);
    border-radius:12px;background:color-mix(in srgb,var(--ui-surface) 94%,transparent);color:var(--ui-text);
    box-shadow:0 10px 30px rgba(0,0,0,.28);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
    padding:9px;cursor:pointer
  }
  .admin-mobile-menu span{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s ease,opacity .2s ease}
  .admin-mobile-menu[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .admin-mobile-menu[aria-expanded="true"] span:nth-child(2){opacity:0}
  .admin-mobile-menu[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .admin-mobile-backdrop{
    display:block;position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.62);
    opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;backdrop-filter:blur(2px)
  }
  .admin-mobile-backdrop.open{opacity:1;visibility:visible}
  .admin-layout>aside{display:block!important;position:static;width:0!important;flex:0 0 0!important}
  .admin-sidebar{
    display:flex!important;position:fixed!important;top:0!important;right:0!important;z-index:1001;width:min(86vw,320px)!important;height:100dvh!important;
    max-height:100dvh;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px 14px 20px!important;
    transform:translateX(105%);transition:transform .25s cubic-bezier(.22,1,.36,1);
    box-shadow:-20px 0 60px rgba(0,0,0,.42);border-left:1px solid var(--ui-line);border-right:0
  }
  .admin-sidebar.open{transform:translateX(0)}
  .admin-brand{padding:12px 10px 18px!important}
  .admin-nav-group{gap:3px!important;padding:8px 0 14px}
  .admin-nav-group a{
    min-height:48px!important;padding:10px 14px!important;border-radius:12px!important;
    font-size:14px;line-height:1.5;touch-action:manipulation
  }
  .admin-nav-group a.active{box-shadow:inset -4px 0 0 var(--ui-gold),0 7px 22px rgba(0,0,0,.12)}
  .admin-back{min-height:48px!important;margin-top:8px!important}
  .admin-header{padding-right:68px!important;min-height:64px!important}
  .admin-header-title{min-width:0}
  .admin-header h3{font-size:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .admin-kicker{font-size:8px!important}
}
@media(max-width:520px){
  .admin-mobile-menu{top:10px;right:10px;width:42px;height:42px}
  .admin-header{padding-left:12px!important;padding-right:62px!important}
  .admin-header-actions{gap:5px}
  .admin-header-actions .theme-toggle{min-width:40px!important;width:40px!important;height:40px}
  .admin-page,.dashboard{padding:14px 10px!important}
  .admin-page .panel{padding:12px!important}
}


/* Premium admin navigation polish v3 */
.admin-brand{display:flex!important;align-items:center;gap:12px}
.admin-brand-mark{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--ui-gold) 42%,var(--ui-line));border-radius:13px;background:linear-gradient(145deg,color-mix(in srgb,var(--ui-gold) 20%,var(--ui-surface)),var(--ui-surface-2));color:var(--ui-gold-strong);font-family:Georgia,serif;font-size:21px;font-weight:700;box-shadow:0 8px 25px rgba(0,0,0,.18)}
.admin-brand-copy{display:flex;min-width:0;flex-direction:column;line-height:1.25}
.admin-brand-copy strong{font-size:17px;color:var(--ui-text)}
.admin-brand-copy small{margin-top:3px!important}
.admin-nav-label{padding:2px 12px 4px;color:var(--ui-muted);font-size:10px;font-weight:700;letter-spacing:.04em;opacity:.8}
.admin-nav-group a{gap:11px!important;position:relative;overflow:hidden}
.admin-nav-icon{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--ui-muted);font-size:13px;line-height:1;background:transparent}
.admin-nav-group a:hover .admin-nav-icon{color:var(--ui-gold-strong);background:color-mix(in srgb,var(--ui-gold) 9%,transparent);border-color:color-mix(in srgb,var(--ui-gold) 13%,transparent)}
.admin-nav-group a.active .admin-nav-icon{color:var(--ui-gold-strong);background:color-mix(in srgb,var(--ui-gold) 12%,transparent);border-color:color-mix(in srgb,var(--ui-gold) 20%,transparent)}
.admin-nav-group a.active::after{content:"";position:absolute;right:0;top:9px;bottom:9px;width:3px;border-radius:4px;background:var(--ui-gold)}
.admin-back{gap:9px!important;background:color-mix(in srgb,var(--ui-surface-2) 55%,transparent);transition:all .18s var(--ui-ease)}
.admin-back:hover{color:var(--ui-text)!important;border-color:color-mix(in srgb,var(--ui-gold) 30%,var(--ui-line))!important;background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface))}
.admin-header{isolation:isolate}
.admin-header::after{content:"";position:absolute;inset:auto 0 0 0;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--ui-gold) 35%,transparent),transparent);pointer-events:none}
.admin-user-badge{display:inline-flex;align-items:center;gap:7px}
.admin-user-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ui-success);box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-success) 12%,transparent)}
.admin-mobile-menu{border-color:color-mix(in srgb,var(--ui-gold) 22%,var(--ui-line))!important}
@media(max-width:900px){
 .admin-sidebar{padding-top:14px!important}
 .admin-brand-mark{width:42px;height:42px;flex-basis:42px}
 .admin-nav-label{margin-top:3px}
 .admin-nav-group a{min-height:50px!important;font-size:14px}
}
@media(max-width:520px){
 .admin-sidebar{width:min(90vw,340px)!important}
 .admin-brand-copy strong{font-size:16px}
 .admin-nav-group a{min-height:52px!important}
}

.admin-status-badge{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px;border:1px solid color-mix(in srgb,var(--ui-success) 20%,var(--ui-line));border-radius:999px;background:color-mix(in srgb,var(--ui-success) 7%,var(--ui-surface));color:var(--ui-success);font-size:11px;font-weight:700}.admin-status-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 10%,transparent)}@media(max-width:700px){.admin-status-badge{display:none}}


/* Premium admin dashboard v4 */
.dashboard-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;padding:22px;border:1px solid color-mix(in srgb,var(--ui-gold) 20%,var(--ui-line));border-radius:22px;background:radial-gradient(500px 180px at 0 0,color-mix(in srgb,var(--ui-gold) 12%,transparent),transparent 70%),linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));box-shadow:var(--ui-shadow-soft)}
.dashboard-hero h2{margin:5px 0 4px}.dashboard-hero p,.dashboard-panel-head p{margin:0;color:var(--ui-muted);font-size:12px}.dashboard-kicker{font-size:10px;color:var(--ui-gold);letter-spacing:.08em;font-weight:800}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.dashboard-kpi{position:relative;overflow:hidden;padding:19px;border:1px solid var(--ui-line);border-radius:18px;background:linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));box-shadow:var(--ui-shadow-soft)}.dashboard-kpi::after{content:"";position:absolute;width:90px;height:90px;left:-35px;bottom:-45px;border-radius:50%;background:color-mix(in srgb,var(--ui-gold) 9%,transparent)}.dashboard-kpi span,.dashboard-kpi small{display:block;color:var(--ui-muted);font-size:12px}.dashboard-kpi strong{display:block;margin:8px 0 2px;color:var(--ui-text);font-size:25px;font-variant-numeric:tabular-nums}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:18px}.dashboard-secondary-grid{margin-top:18px}.dashboard-panel{min-width:0;padding:18px;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-surface);box-shadow:var(--ui-shadow-soft)}.dashboard-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.dashboard-panel-head h3{margin:0 0 4px}.dashboard-link{font-size:12px;color:var(--ui-gold-strong);white-space:nowrap}.dashboard-live-dot{font-size:9px;color:var(--ui-success);border:1px solid color-mix(in srgb,var(--ui-success) 25%,var(--ui-line));padding:5px 8px;border-radius:999px}.dashboard-chart{min-height:230px;display:flex;align-items:end;gap:8px;padding:18px 4px 0;overflow-x:auto}.dashboard-chart-col{min-width:38px;height:200px;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:7px}.dashboard-chart-value{font-size:8px;color:var(--ui-muted);white-space:nowrap;max-width:58px;overflow:hidden;text-overflow:ellipsis}.dashboard-chart-bar{width:22px;height:145px;display:flex;align-items:end;border-radius:8px;background:var(--ui-surface-2);overflow:hidden}.dashboard-chart-bar i{display:block;width:100%;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,var(--ui-gold-strong),var(--ui-gold));transition:height .5s var(--ui-ease)}.dashboard-chart-col small{font-size:8px;color:var(--ui-muted);direction:ltr}.dashboard-list{display:grid;gap:8px}.dashboard-order,.dashboard-stock{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid var(--ui-line);border-radius:13px;background:var(--ui-surface-2)}.dashboard-order>div,.dashboard-stock>div{min-width:0;display:flex;flex-direction:column;gap:4px}.dashboard-order span,.dashboard-stock small{color:var(--ui-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis}.dashboard-order b{display:block;font-size:12px;white-space:nowrap}.dashboard-status{display:inline-flex;align-items:center;justify-content:center;margin-top:3px;padding:4px 7px;border-radius:999px;font-size:9px;font-style:normal;background:color-mix(in srgb,var(--ui-gold) 10%,transparent);color:var(--ui-gold-strong)}.dashboard-status.cancelled{color:var(--ui-danger);background:color-mix(in srgb,var(--ui-danger) 9%,transparent)}.dashboard-status.paid,.dashboard-status.delivered{color:var(--ui-success);background:color-mix(in srgb,var(--ui-success) 9%,transparent)}.dashboard-stock>b{font-size:11px;color:var(--ui-gold-strong);white-space:nowrap}.dashboard-stock>b.danger{color:var(--ui-danger)}.dashboard-health-row{display:flex;align-items:center;justify-content:space-between;padding:15px 4px;border-bottom:1px solid var(--ui-line);font-size:12px}.dashboard-health-row:last-child{border-bottom:0}.dashboard-health-row span{display:flex;align-items:center;gap:8px}.dashboard-health-row i{width:7px;height:7px;border-radius:50%;background:var(--ui-success);box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-success) 10%,transparent)}.dashboard-health-row b{color:var(--ui-success);font-size:11px}.dashboard-empty,.dashboard-loading{min-height:90px;display:grid;place-items:center;color:var(--ui-muted);font-size:12px;text-align:center;padding:18px}
@media(max-width:900px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid{grid-template-columns:1fr}.dashboard-hero{align-items:flex-start}}
@media(max-width:520px){.dashboard-hero{padding:16px;border-radius:18px}.dashboard-hero h2{font-size:19px}.dashboard-hero .btn{min-height:42px}.dashboard-kpis{display:flex;overflow-x:auto;gap:10px;padding-bottom:3px;scroll-snap-type:x mandatory}.dashboard-kpi{min-width:160px;flex:0 0 160px;scroll-snap-align:start;padding:15px}.dashboard-kpi strong{font-size:20px}.dashboard-panel{padding:14px;border-radius:17px}.dashboard-order,.dashboard-stock{padding:11px}.dashboard-chart{min-height:210px}.dashboard-chart-col{min-width:34px}}


/* Premium admin navigation visibility fix */
@media(max-width:900px){
  .admin-sidebar#admin-mobile-drawer{display:flex!important;visibility:visible!important;opacity:1!important;z-index:1001!important;}
  .admin-mobile-backdrop{z-index:1000!important;}
}


/* Mobile drawer hardening v5 */
@media(max-width:900px){
  .admin-layout .admin-sidebar#admin-mobile-drawer{
    display:flex!important;
    position:fixed!important;
    inset:0 0 0 auto!important;
    width:min(90vw,340px)!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:14px 14px 20px!important;
    overflow-y:auto!important;
    visibility:visible!important;
    opacity:1!important;
    z-index:10001!important;
    background:#101013!important;
    color:#f7f3eb!important;
    transform:translate3d(105%,0,0)!important;
  }
  .admin-layout .admin-sidebar#admin-mobile-drawer.open{
    transform:translate3d(0,0,0)!important;
  }
  .admin-layout .admin-sidebar#admin-mobile-drawer a,
  .admin-layout .admin-sidebar#admin-mobile-drawer span{
    color:inherit;
  }
  .admin-mobile-backdrop{
    position:fixed!important;
    inset:0!important;
    z-index:10000!important;
  }
  body.admin-menu-open .admin-layout .admin-sidebar#admin-mobile-drawer{
    transform:translate3d(0,0,0)!important;
  }
}

/* Simple math CAPTCHA */
.gilasart-captcha{min-height:92px;margin:12px 0;display:block}
.gilasart-captcha .math-captcha{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border:1px solid #d8d1c5;border-radius:12px;background:rgba(255,255,255,.04)}
.gilasart-captcha .math-captcha label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;line-height:1.8}
.gilasart-captcha .math-question{font-size:16px;direction:ltr;unicode-bidi:isolate}
.gilasart-captcha .math-answer{width:64px;height:40px;border:1px solid #bfb7aa;border-radius:8px;padding:0 8px;text-align:center;font-size:16px;background:transparent;color:inherit}
.gilasart-captcha .math-refresh{min-height:40px;padding:0 10px}
.gilasart-captcha .captcha-hint{width:100%;font-size:11px;opacity:.7}
.gilasart-captcha .error{display:block;font-size:13px}
.form button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:520px){.gilasart-captcha{min-height:100px}.gilasart-captcha .math-captcha{padding:9px}.gilasart-captcha .math-answer{width:58px}}

/* Security CAPTCHA — always visible in auth/support/review forms */
.gilasart-captcha{display:block;width:100%;min-height:96px;margin:10px 0 4px}
.gilasart-captcha .math-captcha{display:flex;align-items:center;flex-wrap:wrap;gap:9px;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025);color:var(--text)}
.gilasart-captcha label{display:flex;align-items:center;gap:9px;flex-wrap:wrap;width:auto;margin:0;color:var(--muted);font-size:13px}
.gilasart-captcha .math-question{direction:ltr;unicode-bidi:isolate;color:var(--ui-gold-strong);font-size:16px;font-weight:800;white-space:nowrap}
.gilasart-captcha .math-answer{width:70px!important;height:40px!important;padding:6px 8px!important;text-align:center!important;border:1px solid var(--line)!important;border-radius:9px!important;background:#0f0f12!important;color:var(--text)!important}
.gilasart-captcha .math-refresh{min-height:40px;padding:6px 11px}
.gilasart-captcha .captcha-hint{width:100%;font-size:11px;color:var(--muted);opacity:.85}
.gilasart-captcha .captcha-loading{justify-content:center;min-height:64px;color:var(--muted)}
.gilasart-captcha .captcha-error{justify-content:space-between;min-height:64px}
.form button:disabled{opacity:.5;cursor:not-allowed;filter:saturate(.65)}
@media(max-width:520px){.gilasart-captcha{min-height:104px}.gilasart-captcha .math-captcha{padding:10px}.gilasart-captcha .math-answer{width:62px!important}}


/* Mobile interaction policy — production touch behavior */
html,body{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:pan-x pan-y;}
body{overscroll-behavior-x:none;}
input,textarea,select,[contenteditable="true"]{-webkit-user-select:text;user-select:text;touch-action:pan-x pan-y;}
img,svg{touch-action:pan-x pan-y;-webkit-user-drag:none;}


/* GilasArt mobile kiosk interaction policy */
html,body{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:pan-x pan-y;}
body{-webkit-user-select:none;user-select:none;overscroll-behavior-x:none;}
input,textarea,select,button,[contenteditable="true"]{-webkit-user-select:none;user-select:none;}
/* Admin orders master-detail */
.orders-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.orders-title>div{min-width:0}
.orders-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.85fr);gap:18px;align-items:start}
.orders-master,.order-detail{min-width:0}
.orders-master{overflow:hidden}
.orders-master-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 14px}
.orders-master-head>div{display:flex;flex-direction:column;gap:4px}.orders-master-head small{color:var(--ui-muted);font-size:11px}
.orders-count{padding:6px 10px;border:1px solid var(--ui-line);border-radius:999px;color:var(--ui-muted);font-size:10px;white-space:nowrap}
.orders-table-wrap{overflow:auto}.orders-table{min-width:700px}
.orders-table tbody tr.order-master-row{cursor:pointer;transition:background .16s ease,box-shadow .16s ease}
.orders-table tbody tr.order-master-row:hover{background:color-mix(in srgb,var(--ui-gold) 5%,transparent)}
.orders-table tbody tr.order-master-row.is-selected{background:color-mix(in srgb,var(--ui-gold) 9%,var(--ui-surface));box-shadow:inset -3px 0 0 var(--ui-gold)}
.orders-table td{vertical-align:middle}
.orders-table td>strong,.orders-table td>small{display:block}.orders-table td small{margin-top:3px;color:var(--ui-muted);font-size:10px}
.orders-table .order-status{min-width:145px;min-height:38px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface-2);color:var(--ui-text);padding:6px 10px}
.order-date{font-size:11px;color:var(--ui-muted);white-space:nowrap}
.order-detail{position:sticky;top:16px;overflow:hidden}
.order-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--ui-line)}
.order-detail-kicker{display:block;color:var(--ui-muted);font-size:10px}.order-detail-head h3{margin:4px 0 3px;font-size:21px}.order-detail-head small{color:var(--ui-muted);font-size:9px;word-break:break-all}
.order-status-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap;background:color-mix(in srgb,var(--ui-gold) 10%,transparent);color:var(--ui-gold-strong)}
.order-status-badge.status-paid,.order-status-badge.status-delivered{background:color-mix(in srgb,var(--ui-success) 10%,transparent);color:var(--ui-success)}
.order-status-badge.status-cancelled,.order-status-badge.status-failed{background:color-mix(in srgb,var(--ui-danger) 10%,transparent);color:var(--ui-danger)}
.order-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}
.order-detail-grid>div{padding:11px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface-2)}
.order-detail-grid span,.order-detail-grid small{display:block;color:var(--ui-muted);font-size:10px}.order-detail-grid b{display:block;margin:5px 0;font-size:12px}
.order-detail-section{padding-top:15px;margin-top:15px;border-top:1px solid var(--ui-line)}.order-detail-section h4{margin:0 0 10px;font-size:12px}
.order-items-list,.order-history{display:grid;gap:7px}
.order-item,.order-history-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-surface-2)}
.order-item>div,.order-history-row>div{min-width:0;display:flex;flex-direction:column;gap:3px}.order-item small,.order-history-row small{color:var(--ui-muted);font-size:9px}.order-item strong{font-size:11px;white-space:nowrap}
.order-history-row{justify-content:flex-start}.order-history-row i{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--ui-gold);box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-gold) 10%,transparent)}
.order-address{margin:0;color:var(--ui-muted);font-size:11px;line-height:1.9}
.order-detail-empty,.order-detail-loading{min-height:360px;display:grid;place-content:center;text-align:center;color:var(--ui-muted);padding:25px}.order-detail-empty span{font-size:32px;color:var(--ui-gold)}.order-detail-empty strong{color:var(--ui-text);font-size:14px}.order-detail-empty p{font-size:11px;line-height:1.8}.order-empty{padding:12px;text-align:center;color:var(--ui-muted);font-size:10px}
@media(max-width:1050px){.orders-layout{grid-template-columns:1fr}.order-detail{position:relative;top:auto}.orders-table{min-width:650px}}
@media(max-width:700px){.orders-title{align-items:flex-start}.orders-title .btn{min-height:42px}.orders-master-head{align-items:flex-start}.orders-table{min-width:620px}.order-detail-grid{grid-template-columns:1fr}.order-detail-empty,.order-detail-loading{min-height:220px}}

/* Customer invoice and order journey */
.customer-orders-section{margin-top:22px}
.customer-orders-section .sectionhead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.customer-orders-section .sectionhead h2{margin:4px 0}.customer-orders-section .sectionhead p{margin:0}
.customer-order-card{position:relative;overflow:hidden;margin-bottom:15px;padding:18px;border:1px solid color-mix(in srgb,var(--ui-gold) 15%,var(--ui-line));background:linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));box-shadow:var(--ui-shadow-soft)}
.customer-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.customer-order-head h3{margin:4px 0 2px;font-size:19px}.customer-order-head small{color:var(--ui-muted);font-size:10px}
.customer-order-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.order-status-pill{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--ui-gold) 10%,transparent);color:var(--ui-gold-strong);font-size:10px;font-weight:800}
.order-status-pill.status-paid,.order-status-pill.status-processing,.order-status-pill.status-shipped,.order-status-pill.status-delivered{background:color-mix(in srgb,var(--ui-success) 10%,transparent);color:var(--ui-success)}
.order-status-pill.status-cancelled,.order-status-pill.status-failed{background:color-mix(in srgb,var(--ui-danger) 10%,transparent);color:var(--ui-danger)}
.customer-order-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:15px 0}
.customer-order-summary>div{padding:11px;border:1px solid var(--ui-line);border-radius:12px;background:color-mix(in srgb,var(--ui-surface) 72%,transparent)}
.customer-order-summary span,.customer-order-summary b{display:block}.customer-order-summary span{color:var(--ui-muted);font-size:10px}.customer-order-summary b{margin-top:5px;font-size:12px}
.order-track{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:16px 2px 3px}
.order-track::before{content:"";position:absolute;top:30px;right:8%;left:8%;height:2px;background:var(--ui-line);z-index:0}
.order-track-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-width:0}
.order-track-dot{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;border:2px solid var(--ui-line);background:var(--ui-surface);color:var(--ui-muted);font-size:10px;font-weight:800}
.order-track-step.done .order-track-dot{border-color:var(--ui-gold);background:var(--ui-gold);color:#15110a;box-shadow:0 0 0 5px color-mix(in srgb,var(--ui-gold) 10%,transparent)}
.order-track-step.active .order-track-dot{animation:gilasart-pulse 1.8s ease-in-out infinite}
.order-track-step b{font-size:10px}.order-track-step small{display:block;margin-top:3px;color:var(--ui-muted);font-size:9px;line-height:1.6}
.order-track-terminal{grid-column:1/-1;margin-top:8px;padding:10px 12px;border-radius:11px;background:color-mix(in srgb,var(--ui-danger) 7%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-danger) 18%,var(--ui-line));display:flex;justify-content:center;gap:8px;align-items:center;font-size:10px}
.order-track-terminal small{color:var(--ui-muted)}
.customer-empty{padding:38px;text-align:center;color:var(--ui-muted)}
@keyframes gilasart-pulse{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--ui-gold) 20%,transparent)}50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--ui-gold) 5%,transparent)}}
@media(max-width:700px){.customer-orders-section .sectionhead{align-items:flex-start}.customer-order-head{flex-direction:column}.customer-order-actions{width:100%;justify-content:space-between}.customer-order-summary{grid-template-columns:1fr 1fr}.customer-order-summary>div:last-child{grid-column:1/-1}.order-track{grid-template-columns:1fr;gap:10px;padding:10px 0}.order-track::before{top:20px;bottom:20px;right:14px;left:auto;width:2px;height:auto}.order-track-step{flex-direction:row;text-align:right;align-items:center}.order-track-step b,.order-track-step small{display:block}.order-track-step>div{min-width:0}.order-track-dot{flex:0 0 29px}.order-track-terminal{margin-top:10px}}

/* Invoice + customer order tracking */
.invoice-settings{margin-top:24px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)}
.invoice-settings h3{margin:0 0 4px;color:var(--gold)}
.orders-profile-section{margin-top:34px}.orders-profile-section .sectionhead{align-items:center}.orders-profile-section .sectionhead h2{margin:3px 0;font-size:28px}.orders-profile-count{border:1px solid var(--line);background:var(--panel);border-radius:999px;padding:7px 14px;color:var(--gold);font-weight:800}
.customer-order-card{margin-top:16px;background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.customer-order-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.customer-order-number{color:var(--gold);font-size:12px;font-weight:800}.customer-order-head h3{margin:2px 0;font-size:19px}.customer-order-head small{color:var(--muted)}.customer-order-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.customer-order-actions .btn{white-space:nowrap}
.customer-order-timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:24px 0 12px;position:relative}.customer-order-timeline:before{content:"";position:absolute;right:10%;left:10%;top:15px;height:2px;background:var(--line);z-index:0}.track-step{position:relative;z-index:1;text-align:center}.track-dot{width:32px;height:32px;margin:auto;border-radius:50%;display:grid;place-items:center;border:2px solid var(--line);background:var(--panel2);color:var(--muted);font-size:12px;font-weight:900}.track-step.done .track-dot{background:var(--ok);border-color:var(--ok);color:#102016}.track-step.current .track-dot{background:var(--gold);border-color:var(--gold);color:#20170b;box-shadow:0 0 0 7px rgba(216,179,106,.12)}.track-label{margin-top:7px}.track-label b{display:block;font-size:11px}.track-label small{display:block;color:var(--muted);font-size:9px;line-height:1.5}.timeline-terminal{grid-template-columns:repeat(5,1fr)}.track-terminal{grid-column:1/-1;text-align:center;margin-top:12px;color:var(--danger);font-size:11px}.track-terminal span{display:block;color:var(--muted)}
.customer-order-summary{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:12px}.customer-order-summary span{padding:5px 10px;border-radius:999px;background:var(--panel2)}.customer-order-summary span:nth-child(2){color:var(--gold);font-weight:800}.empty-orders{text-align:center;padding:42px;margin-top:16px}
.order-detail-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.order-invoice-btn{font-size:12px;padding:6px 10px;color:var(--gold);border-color:rgba(216,179,106,.35)}
@media(max-width:850px){.customer-order-head{flex-direction:column}.customer-order-actions{width:100%}.customer-order-actions .btn{flex:1}.customer-order-timeline{overflow-x:auto;grid-template-columns:repeat(5,minmax(115px,1fr));padding-bottom:5px}.customer-order-timeline:before{right:58px;left:58px}.orders-profile-section .sectionhead{align-items:flex-start;flex-direction:column}.orders-profile-count{align-self:flex-start}}
@media print{.customer-order-card{box-shadow:none}}

/* Premium cart + inline checkout */
.cart-page{padding-top:34px}
.cart-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px;padding:8px 2px}
.cart-hero h1{margin:5px 0 8px;font-size:clamp(28px,4vw,42px)}
.cart-hero p{margin:0;color:var(--ga-muted)}
.cart-hero-badge,.cart-items-count{border:1px solid var(--ga-line);background:var(--ga-surface-2);color:var(--ga-gold-2);border-radius:999px;padding:8px 14px;white-space:nowrap;font-size:12px}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}
.cart-main{display:grid;gap:16px;min-width:0}
.cart-side{position:sticky;top:94px}
.cart-items-panel,.cart-section,.cart-checkout-bar,.cart-trust{border:1px solid var(--ga-line);background:linear-gradient(145deg,#151519,#101014);border-radius:20px;box-shadow:var(--ga-shadow)}
.cart-items-panel{padding:22px}
.cart-section{padding:22px}
.cart-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}
.cart-section-title h2{margin:3px 0 0;font-size:20px}
.cart-section-title p{margin:5px 0 0;font-size:12px}
.cart-items-list{display:grid;gap:0}
.cartline{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--ga-line)}
.cartline:last-child{border-bottom:0}
.cart-product-link{display:flex;align-items:center;gap:13px;min-width:0;flex:1;color:inherit;text-decoration:none;border-radius:14px;padding:4px;transition:transform .2s ease,background .2s ease}
.cart-product-link:hover{background:rgba(201,168,106,.06);transform:translateX(-2px)}
.cart-product-link .grow{display:grid;gap:5px;min-width:0}
.cart-product-link b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-product-thumb{width:72px;height:72px;flex:0 0 72px;border-radius:13px;overflow:hidden;background:linear-gradient(135deg,#2a241b,#17171b);display:grid;place-items:center;color:#bcae94;font-size:9px;text-align:center}
.cart-product-thumb img{width:100%;height:100%;object-fit:cover}
.cart-options{font-size:11px;line-height:1.7;color:var(--ga-muted)}
.cart-line-total{display:block;font-size:13px;font-weight:800;color:var(--ga-gold-2);direction:ltr;text-align:left;font-variant-numeric:tabular-nums}
.cartline .del{flex:0 0 auto}
.cart-coupon{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:18px;padding:16px;background:rgba(255,255,255,.025);border-radius:15px}
.cart-coupon label{display:block;margin-bottom:7px;color:var(--ga-muted);font-size:12px}
.cart-coupon input{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext;letter-spacing:.04em}
.cart-coupon #coupon-message{grid-column:1/-1;min-height:18px;font-size:12px}
.price-summary{display:grid;gap:0;margin-top:16px}
.cart-total-list>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid var(--ga-line)}
.cart-total-list>div:last-child{border-bottom:0}
.cart-total-list b{font-weight:700}
.cart-grand-total{margin-top:4px;padding:16px 0!important}
.cart-grand-total strong{font-size:22px;color:var(--ga-gold-2)}
.cart-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cart-address-grid label{display:grid;gap:7px;color:var(--ga-muted);font-size:12px}
.cart-address-grid input,.cart-address-grid textarea{font-size:14px}
.cart-address-wide{grid-column:1/-1}
.cart-mobile-field{display:grid;align-content:center;gap:4px;border:1px solid var(--ga-line);border-radius:10px;padding:11px 12px;background:rgba(255,255,255,.02)}
.cart-mobile-field span,.cart-mobile-field small{font-size:11px;color:var(--ga-muted)}
.cart-mobile-field strong{font-size:14px;color:var(--ga-text)}
.cart-secure-note{font-size:10px;color:var(--ga-muted);padding-top:6px}
.cart-checkout-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:linear-gradient(135deg,rgba(201,168,106,.13),rgba(18,18,22,.98))}
.cart-checkout-bar>div{display:grid;gap:3px}
.cart-checkout-bar span,.cart-checkout-bar small{color:var(--ga-muted);font-size:11px}
.cart-checkout-bar strong{font-size:22px;color:var(--ga-gold-2)}
.cart-pay-btn{min-width:220px;min-height:50px;font-size:15px;box-shadow:0 10px 28px rgba(201,168,106,.14)}
.cart-order-message{text-align:center;min-height:20px;font-size:12px}
.cart-trust{padding:20px}
.cart-trust h3{margin:7px 0;font-size:18px}
.cart-trust p{color:var(--ga-muted);font-size:12px;line-height:2;margin:0 0 15px}
.cart-trust-item{padding:11px 0;border-top:1px solid var(--ga-line);font-size:11px;color:#d5d0c8;line-height:1.8}
.cart-empty{text-align:center;padding:48px 15px;color:var(--ga-muted)}
.cart-empty strong{display:block;color:var(--ga-text);font-size:17px;margin-bottom:5px}
.cart-empty p{margin:0 0 15px}
@media(max-width:900px){
 .cart-layout{grid-template-columns:1fr}
 .cart-side{position:static}
 .cart-trust{display:none}
}
@media(max-width:600px){
 .cart-page{padding-top:20px}
 .cart-hero{align-items:flex-start;flex-direction:column}
 .cart-hero-badge{align-self:flex-start}
 .cart-items-panel,.cart-section{padding:15px}
 .cart-product-thumb{width:58px;height:58px;flex-basis:58px}
 .cart-product-link b{font-size:13px}
 .cartline .del{padding:8px 10px}
 .cart-address-grid{grid-template-columns:1fr}
 .cart-address-wide{grid-column:auto}
 .cart-coupon{grid-template-columns:1fr}
 .cart-coupon button{width:100%}
 .cart-checkout-bar{align-items:stretch;flex-direction:column}
 .cart-pay-btn{width:100%}
}

/* Cart quantity controls */
.cart-qty{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:92px;padding:4px 6px;border:1px solid var(--ga-line);border-radius:12px;background:rgba(255,255,255,.025);direction:ltr}
.cart-qty>span{min-width:24px;text-align:center;font-size:12px;font-weight:800;color:var(--ga-text);font-variant-numeric:tabular-nums}
.cart-qty-btn{width:30px;height:30px;padding:0;border:1px solid var(--ga-line);border-radius:9px;background:var(--ga-surface);color:var(--ga-gold-2);font-size:18px;line-height:1;display:grid;place-items:center}
.cart-qty-btn:hover{border-color:color-mix(in srgb,var(--ga-gold) 45%,var(--ga-line));background:var(--ga-surface-2)}
.cart-qty-btn:disabled{opacity:.55;cursor:wait}
#rm{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext}
@media(max-width:600px){.cartline{align-items:flex-start;flex-wrap:wrap}.cartline .cart-product-link{min-width:calc(100% - 70px)}.cartline .cart-qty{margin-right:71px}.cartline .del{margin-right:auto}}

/* Final responsive main navigation override */
@media (max-width: 900px){
  .top .nav{
    position:relative;
    min-width:0;
    gap:8px;
  }
  .top .links{
    display:none !important;
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    left:0;
    z-index:100;
    width:auto;
    max-width:none !important;
    min-width:0;
    overflow:visible;
    flex-direction:column;
    align-items:stretch;
    gap:5px;
    padding:10px;
    background:var(--ui-surface, #151519);
    border:1px solid var(--ui-line, #2b2a2d);
    border-radius:18px;
    box-shadow:0 20px 55px rgba(0,0,0,.38);
  }
  .top .links.is-open{
    display:flex !important;
  }
  .top .links a{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    min-height:46px;
    padding:10px 14px;
    border-radius:12px;
    white-space:nowrap;
    font-size:14px;
  }
  .top .mobile-menu-toggle{
    display:flex !important;
    position:relative;
    z-index:101;
    order:10;
  }
  .top .theme-toggle{
    order:7;
    flex:0 0 auto;
  }
  .top .cart-link{
    order:8;
    flex:0 0 auto;
  }
  .top .profile-link{
    order:9;
    flex:0 0 auto;
  }
}
@media (max-width: 520px){
  .top .nav{
    height:64px;
    gap:6px;
  }
  .top .brand{
    font-size:18px;
    flex:0 1 auto;
    min-width:0;
  }
  .top .brand small{display:none}
  .top .theme-toggle,
  .top .cart-link,
  .top .mobile-menu-toggle{
    width:40px;
    min-width:40px;
    height:40px;
    flex-basis:40px;
    padding:7px;
    border-radius:12px;
  }
  .top .theme-toggle span,
  .top .cart-link span{
    display:none !important;
  }
  .top .profile-link{
    min-width:40px;
    width:40px;
    justify-content:center;
    font-size:0;
  }
  .top .profile-link .profile-dot{
    display:block;
  }
  .top .links{
    top:calc(100% + 8px);
    right:0;
    left:0;
    padding:9px;
    border-radius:16px;
  }
  .top .links a{
    min-height:48px;
    font-size:15px;
    padding:11px 14px;
  }
}

/* Mobile storefront: fixed app-style header + two-column artwork grid */
@media (max-width:900px){
  .top{position:fixed;top:0;left:0;right:0;width:100%;z-index:1000;}
  body{padding-top:68px;}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .product-grid,.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:520px){
  .top{position:fixed;top:0;left:0;right:0;}
  body{padding-top:64px;}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .product-grid,.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .product-card h3,.product-item h3{font-size:13px;line-height:1.55;}
  .product-card .cardbody,.product-item .cardbody{padding:10px;}
  .product-card .price,.product-item .price{font-size:13px;}
}


/* Canonical responsive/gallery extensions — shared structure, token-driven */
main,section,.container,.products,.product-grid,.cards{min-width:0}
.product-grid,.products-grid{container:products / inline-size}
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:clamp(14px,2vw,26px)}
@container products (width < 560px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card h3,.product-item h3{font-size:14px}}
@container products (width < 360px){.product-grid{grid-template-columns:1fr}}
.product-gallery{min-width:0;position:relative;gap:12px}
.product-media{position:relative;min-height:clamp(320px,52vw,590px);aspect-ratio:4/3;padding:clamp(10px,2vw,24px);border:1px solid color-mix(in srgb,var(--ui-gold) 16%,var(--ui-line));border-radius:28px;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--ui-gold) 7%,transparent),transparent 42%),var(--ui-surface-2);box-shadow:var(--ui-shadow);isolation:isolate}
.product-media::before{content:"";position:absolute;inset:10px;border:1px solid color-mix(in srgb,var(--ui-gold) 9%,transparent);border-radius:21px;pointer-events:none;z-index:-1}
.product-media img,.product-media video,.product-video-player{width:100%;height:100%;max-height:none;object-fit:contain;border-radius:14px;background:var(--ui-surface);box-shadow:0 16px 42px color-mix(in srgb,#000 15%,transparent)}
.product-media-empty{display:grid;place-items:center;width:100%;height:100%;min-height:280px;border:1px dashed var(--ui-line);border-radius:14px;color:var(--ui-muted);background:color-mix(in srgb,var(--ui-surface) 65%,transparent)}
.product-thumbs{display:flex;gap:9px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:3px 2px 7px}
.product-thumb{width:70px;height:70px;flex:0 0 70px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface)}
.product-thumb.active{border-color:var(--ui-gold);outline:2px solid color-mix(in srgb,var(--ui-gold) 24%,transparent);outline-offset:1px}
.product-option select{min-height:46px}
.product-live-price{color:var(--ui-gold-strong)!important}
.cart-product-thumb{background:var(--ui-surface-3)}
.cartline{border-color:var(--ui-line)}
.cart-coupon,.cart-mobile-field{background:color-mix(in srgb,var(--ui-surface-2) 72%,transparent)}
.cart-checkout-bar{background:linear-gradient(135deg,color-mix(in srgb,var(--ui-gold) 12%,transparent),var(--ui-surface))}
.modal{padding:calc(18px + env(safe-area-inset-top,0px)) calc(18px + env(safe-area-inset-right,0px)) calc(18px + env(safe-area-inset-bottom,0px)) calc(18px + env(safe-area-inset-left,0px))}
.modalbox{max-height:calc(100dvh - 36px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow:auto;background:var(--ui-surface)}
.admin-layout{background:var(--ui-bg);color:var(--ui-text)}
.admin-sidebar,.admin-header{background:color-mix(in srgb,var(--ui-surface) 96%,transparent);border-color:var(--ui-line)}
.admin-page,.dashboard{width:min(100%,1500px)}
.admin-layout .card,.admin-layout .panel,.admin-layout .chart-box{box-shadow:var(--ui-shadow-soft)}
.admin-layout input,.admin-layout textarea,.admin-layout select{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-line)}
.admin-mobile-menu{background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
@media(max-width:900px){.product{grid-template-columns:1fr;gap:18px}.product-gallery{order:0}.product-info{order:1}.product-media{min-height:min(78vh,520px);aspect-ratio:1/1;border-radius:22px}.product-media img,.product-media video{border-radius:12px}.cart-side{position:static}.admin-layout .admin-table{min-width:680px}}
@media(max-width:600px){:root{--ga-gutter:11px}html{scroll-padding-top:calc(64px + env(safe-area-inset-top,0px))}body{padding-bottom:env(safe-area-inset-bottom,0px)}.top{padding-top:env(safe-area-inset-top,0px)}.page{padding-top:24px;padding-bottom:48px}.product-media{min-height:min(76vh,470px);aspect-ratio:1/1;padding:9px;border-radius:20px}.product-media::before{inset:7px;border-radius:15px}.product-thumbs{padding-bottom:8px}.product-thumb{width:62px;height:62px;flex-basis:62px}.product-info h1{font-size:clamp(24px,7vw,34px);line-height:1.35}.product-info .toolbar{display:grid;grid-template-columns:1fr 1fr}.product-info .toolbar .btn{width:100%}.cart-checkout-bar{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}.cart-pay-btn{min-height:52px}}
@media(min-width:901px){.product{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);align-items:start}.product-gallery{position:sticky;top:98px}}
@media(orientation:landscape) and (max-width:1024px){#orientation-lock{display:none!important}body,#app{visibility:visible!important;pointer-events:auto!important;overflow-x:hidden!important}}


/* GilasArt gallery depth refinement — shared cards, gallery, themes */
.product-card>a,.product-item>a{display:block;height:100%;color:inherit;text-decoration:none}
.product-card,.product-item{
  background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));
  border-color:var(--ui-line);
  box-shadow:var(--ui-shadow-soft);
}
.product-card .thumb,.product-item .thumb{
  position:relative;
  aspect-ratio:4/3;
  background:var(--ui-surface-2);
  overflow:hidden;
}
.product-card .thumb::after,.product-item .thumb::after{
  content:"";
  position:absolute;
  inset:9px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:calc(var(--ui-radius) - 7px);
  pointer-events:none;
}
:root[data-theme="light"] .product-card .thumb::after,
:root[data-theme="light"] .product-item .thumb::after{border-color:rgba(40,32,20,.10)}
.product-card .cardbody,.product-item .cardbody{display:grid;gap:6px;padding:16px}
.product-card h3,.product-item h3{
  margin:0;
  line-height:1.55;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.product-card .price,.product-item .price{font-size:15px;margin-top:3px}
.product-card .flash-old,.product-item .flash-old{text-decoration:line-through}
.product-card:hover,.product-item:hover{
  border-color:color-mix(in srgb,var(--ui-gold) 38%,var(--ui-line));
  box-shadow:var(--ui-shadow);
}
.hero,.shop-hero{isolation:isolate}
.hero::before,.shop-hero::before{
  content:"";
  position:absolute;
  pointer-events:none;
  width:min(42vw,520px);
  height:min(42vw,520px);
  border:1px solid color-mix(in srgb,var(--ui-gold) 13%,transparent);
  border-radius:58% 42% 61% 39%;
  transform:rotate(-18deg);
  opacity:.8;
}
.hero::before{inset:auto -170px -220px auto}
.shop-hero::before{inset:-220px auto auto -170px}
.product-gallery{
  padding:8px;
  border:1px solid var(--ui-line);
  border-radius:calc(var(--ui-radius) + 4px);
  background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));
  box-shadow:var(--ui-shadow-soft);
}
.product-media{border-color:var(--ui-line);background:var(--ui-surface-2)}
.product-thumbs{scrollbar-width:thin}
.product-thumb{border-color:var(--ui-line);background:var(--ui-surface)}
.product-thumb.active{outline-color:var(--ui-gold)}
.product-info .panel{
  background:var(--ui-surface);
  border-color:var(--ui-line);
  box-shadow:var(--ui-shadow-soft);
}
.product-info h1{letter-spacing:-.3px}
.product-category-pills{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}
.product-category-pills .pill{
  background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface));
  border-color:color-mix(in srgb,var(--ui-gold) 24%,var(--ui-line));
  color:var(--ui-gold-strong);
}
.shop-page .toolbar{
  padding:12px;
  border:1px solid var(--ui-line);
  border-radius:var(--ui-radius);
  background:color-mix(in srgb,var(--ui-surface) 94%,var(--ui-gold));
}
.shop-page .cat.active{background:var(--ui-gold);border-color:var(--ui-gold);color:#19150d}
:root[data-theme="light"] .shop-hero{
  background:
    radial-gradient(circle at 78% 35%,rgba(155,116,45,.14),transparent 34%),
    radial-gradient(circle at 20% 80%,rgba(168,92,42,.10),transparent 30%),
    linear-gradient(135deg,#f5f2ec,#fffdfa 58%,#eee6d8);
  color:var(--ui-text);
}
:root[data-theme="light"] .shop-hero p{color:var(--ui-muted)}
@media(max-width:600px){
  .product-card .cardbody,.product-item .cardbody{padding:13px}
  .product-card .thumb,.product-item .thumb{aspect-ratio:4/3}
  .product-gallery{padding:6px;border-radius:22px}
  .product-media{box-shadow:inset 0 0 0 1px var(--ui-line)}
  .shop-page .toolbar{padding:10px;gap:8px}
}
@media(prefers-reduced-motion:reduce){
  .product-card,.product-item,.product-card:hover,.product-item:hover{transition:none;transform:none}
}



/* Final gallery + theme consistency refinement */
.hero{position:relative;overflow:hidden}
.hero>*{position:relative;z-index:1}
.product-card .thumb img,.product-item .thumb img{
  object-fit:contain;
  padding:8px;
  box-sizing:border-box;
  background:var(--ui-surface-2);
}
.product-media img{object-fit:contain}
.product-media:focus-visible{outline:2px solid var(--ui-gold);outline-offset:3px}
.product-gallery .product-thumbs{overscroll-behavior-inline:contain}
.product-thumb{min-width:62px}
.form input,.form select,.form textarea{
  background:var(--ui-surface)!important;
  color:var(--ui-text)!important;
  border-color:var(--ui-line)!important;
}
.product-option select{background:var(--ui-surface)!important;color:var(--ui-text)!important}
.cart-coupon input,.cart-address-grid input,.cart-address-grid textarea{
  background:var(--ui-surface)!important;
  color:var(--ui-text)!important;
  border-color:var(--ui-line)!important;
}
.cart-coupon input::placeholder,.cart-address-grid input::placeholder,.cart-address-grid textarea::placeholder{
  color:var(--ui-muted);
}
@media(min-width:901px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:521px) and (max-width:900px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .grid{grid-template-columns:1fr;gap:14px}
  .product-card .thumb,.product-item .thumb{aspect-ratio:1/1}
  .product-card .thumb img,.product-item .thumb img{padding:10px}
}


/* CMS visual system refinement — About / Contact / Articles */
.cms-page{padding-top:clamp(28px,5vw,56px);padding-bottom:clamp(60px,8vw,100px)}
.cms-hero{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:180px;margin-bottom:22px;padding:clamp(24px,4vw,42px);overflow:hidden;border:1px solid var(--ui-line);border-radius:28px;background:radial-gradient(circle at 78% 20%,color-mix(in srgb,var(--ui-gold) 14%,transparent),transparent 34%),linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));box-shadow:var(--ui-shadow-soft)}
.cms-hero::before{content:"";position:absolute;width:280px;height:180px;left:-130px;bottom:-120px;border:1px solid color-mix(in srgb,var(--ui-gold) 18%,transparent);border-radius:58% 42% 61% 39%;transform:rotate(-18deg);pointer-events:none}
.cms-hero>*{position:relative;z-index:1}
.cms-hero h1{margin:6px 0 0;font-size:clamp(30px,5vw,52px);line-height:1.2}
.cms-hero-lead{max-width:720px;margin:10px 0 0;color:var(--ui-muted);font-size:clamp(14px,2vw,17px)}
.cms-hero-mark{width:78px;height:78px;flex:0 0 78px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--ui-gold) 34%,var(--ui-line));border-radius:26px;color:var(--ui-gold-strong);background:color-mix(in srgb,var(--ui-gold) 8%,var(--ui-surface));font-size:20px;font-weight:900;letter-spacing:.08em;box-shadow:var(--ui-shadow-soft)}
.cms-hero-compact{min-height:120px;padding:24px 30px}
.cms-hero-compact .cms-hero-mark{width:60px;height:60px;flex-basis:60px;border-radius:20px}
.cms-loading{min-height:180px;display:grid;place-items:center;color:var(--ui-muted)}
.cms-rich,.cms-card,.cms-contact-aside{background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft)}
.cms-rich{border-color:var(--ui-line)}
.cms-rich h2{font-size:clamp(24px,3.5vw,34px);line-height:1.35;margin:8px 0 12px}
.cms-lead,.cms-detail-lead{color:var(--ui-muted);font-size:clamp(15px,2vw,18px);line-height:2}
.cms-body{line-height:2.15;color:var(--ui-text);margin-top:20px;overflow-wrap:anywhere}
.cms-body br+br{content:"";display:block;height:8px}
.cms-about-card{max-width:980px;margin:auto;padding:clamp(22px,4vw,38px)}
.cms-about-actions,.cms-contact-actions,.cms-detail-footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px;padding-top:20px;border-top:1px solid var(--ui-line)}
.cms-contact-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px}
.cms-contact-main{padding:clamp(22px,4vw,34px)}
.cms-contact-aside{align-self:start;position:sticky;top:96px}
.cms-contact-aside h3{margin:8px 0}
.cms-contact-list{display:grid;gap:10px;margin-top:24px}
.cms-contact-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid var(--ui-line);border-radius:15px;background:var(--ui-surface);transition:border-color .18s ease,transform .18s ease}
.cms-contact-item span{color:var(--ui-muted);font-size:12px}
.cms-contact-item strong{color:var(--ui-text);text-align:left;direction:ltr;overflow-wrap:anywhere}
.cms-contact-item:hover{border-color:color-mix(in srgb,var(--ui-gold) 35%,var(--ui-line));transform:translateY(-1px)}
.cms-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cms-card{position:relative;display:flex;flex-direction:column;min-height:235px;padding:24px;overflow:hidden}
.cms-card::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,var(--ui-gold),transparent)}
.cms-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cms-card h2{margin:14px 0 8px;font-size:clamp(19px,2.4vw,25px);line-height:1.45}
.cms-card .cms-lead{margin:0 0 14px}
.cms-card .btn{margin-top:auto;align-self:flex-start}
.cms-date{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;background:var(--ui-surface-2);border:1px solid var(--ui-line);color:var(--ui-muted);font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.cms-empty{padding:36px;text-align:center}
.cms-empty strong{font-size:18px}
.cms-detail{max-width:920px;margin:auto;padding:clamp(22px,5vw,46px)}
.cms-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--ui-line)}
.cms-detail h1{font-size:clamp(28px,5vw,48px);line-height:1.3;margin:8px 0 12px}
.cms-detail-lead{margin:22px 0 0;padding:16px 18px;border-right:3px solid var(--ui-gold);background:color-mix(in srgb,var(--ui-gold) 5%,var(--ui-surface-2));border-radius:12px}
.cms-detail .cms-body{font-size:clamp(15px,1.8vw,17px);margin-top:28px}
@media(max-width:800px){
 .cms-contact-layout{grid-template-columns:1fr}
 .cms-contact-aside{position:static}
 .cms-list{grid-template-columns:1fr}
 .cms-detail-head{flex-direction:column}
}
@media(max-width:520px){
 .cms-page{padding-top:18px;padding-bottom:60px}
 .cms-hero{min-height:150px;padding:22px 18px;border-radius:22px}
 .cms-hero-compact{min-height:100px;padding:18px}
 .cms-hero-mark{width:58px;height:58px;flex-basis:58px;border-radius:18px;font-size:16px}
 .cms-hero-lead{font-size:13px}
 .cms-contact-item{align-items:flex-start;flex-direction:column;gap:5px}
 .cms-contact-item strong{text-align:right;direction:rtl}
 .cms-card{min-height:0;padding:20px}
 .cms-card-top{align-items:flex-start}
 .cms-date{font-size:10px}
 .cms-detail{padding:20px 16px;border-radius:20px}
 .cms-detail h1{font-size:28px}
 .cms-detail-head .btn{width:100%}
 .cms-about-actions .btn,.cms-contact-actions .btn,.cms-detail-footer .btn{flex:1;min-width:140px}
}
@media(prefers-reduced-motion:reduce){
 .cms-contact-item{transition:none}
 .cms-contact-item:hover{transform:none}
}

/* Global chrome refinement — header / navigation / footer */
.top{
  background:color-mix(in srgb,var(--ui-bg) 88%,transparent);
  border-bottom-color:color-mix(in srgb,var(--ui-gold) 12%,var(--ui-line));
  box-shadow:0 8px 28px rgba(0,0,0,.06);
}
.nav{
  min-height:72px;
  padding-top:max(0px,env(safe-area-inset-top));
}
.brand{
  position:relative;
  gap:0;
  padding-inline-start:14px;
  letter-spacing:-.3px;
}
.brand::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:50%;
  width:6px;
  height:30px;
  transform:translateY(-50%);
  border-radius:999px;
  background:linear-gradient(180deg,var(--ui-gold-strong),var(--ui-gold));
  box-shadow:0 0 20px color-mix(in srgb,var(--ui-gold) 20%,transparent);
}
.brand small{
  color:var(--ui-gold-strong);
  opacity:.92;
}
.links a{
  position:relative;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.links a:not(.admin-link)::after{
  content:"";
  position:absolute;
  inset:auto 10px 3px;
  height:2px;
  border-radius:999px;
  background:var(--ui-gold);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .18s var(--ui-ease);
}
.links a:hover::after,
.links a:focus-visible::after{
  transform:scaleX(1);
}
.theme-toggle,.iconbtn,.mobile-menu-toggle{
  border-color:color-mix(in srgb,var(--ui-gold) 15%,var(--ui-line));
}
.theme-toggle:focus-visible,.iconbtn:focus-visible,.mobile-menu-toggle:focus-visible,
.links a:focus-visible{
  outline:2px solid var(--ui-gold);
  outline-offset:2px;
}
.footer{
  position:relative;
  overflow:hidden;
  margin-top:clamp(44px,7vw,90px);
  padding:46px 0 calc(28px + env(safe-area-inset-bottom));
  border-top:1px solid color-mix(in srgb,var(--ui-gold) 14%,var(--ui-line));
  background:
    radial-gradient(500px 180px at 85% 0,color-mix(in srgb,var(--ui-gold) 8%,transparent),transparent 70%),
    linear-gradient(180deg,var(--ui-surface-2),var(--ui-bg));
}
.footer::before{
  content:"";
  position:absolute;
  width:330px;
  height:190px;
  left:-170px;
  bottom:-120px;
  border:1px solid color-mix(in srgb,var(--ui-gold) 12%,transparent);
  border-radius:58% 42% 61% 39%;
  transform:rotate(-18deg);
  pointer-events:none;
}
.footer-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(1.5fr,2fr) repeat(2,minmax(150px,1fr));
  gap:30px;
}
.footer-grid>div{
  display:grid;
  align-content:start;
  gap:7px;
}
.footer-grid>div:first-child{
  padding-inline-end:24px;
  border-inline-end:1px solid var(--ui-line);
}
.footer-grid strong{
  color:var(--ui-text);
  font-size:14px;
}
.footer-grid>div:first-child strong{
  font-size:20px;
  letter-spacing:-.2px;
}
.footer-grid p{
  margin:0;
  color:var(--ui-muted);
  max-width:300px;
}
.footer-grid a{
  width:max-content;
  max-width:100%;
  color:var(--ui-muted);
  transition:color .18s ease,transform .18s var(--ui-ease);
}
.footer-grid a:hover,.footer-grid a:focus-visible{
  color:var(--ui-gold-strong);
  transform:translateX(-2px);
}
.trust-badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.trust-badges span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 9px;
  border:1px solid var(--ui-line);
  border-radius:999px;
  background:var(--ui-surface);
  color:var(--ui-muted);
  font-size:11px;
}
@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1.4fr 1fr;
    gap:24px;
  }
  .footer-grid>div:first-child{
    grid-column:1/-1;
    padding-inline-end:0;
    padding-bottom:18px;
    border-inline-end:0;
    border-bottom:1px solid var(--ui-line);
  }
}
@media(max-width:520px){
  .top{
    box-shadow:0 6px 22px rgba(0,0,0,.08);
  }
  .nav{
    min-height:64px;
  }
  .brand{
    font-size:18px;
    padding-inline-start:11px;
  }
  .brand::before{
    width:4px;
    height:24px;
  }
  .footer{
    margin-top:42px;
    padding-top:34px;
  }
  .footer-grid{
    grid-template-columns:1fr;
    gap:22px;
  }
  .footer-grid>div:first-child{
    padding-bottom:18px;
  }
  .footer-grid a{
    min-height:34px;
    display:inline-flex;
    align-items:center;
  }
}
@media(prefers-reduced-motion:reduce){
  .links a::after,.footer-grid a{transition:none}
}


/* Home — Luxury Iranian Art Gallery */
.home-hero{position:relative;min-height:clamp(560px,72vh,760px);padding-top:clamp(54px,8vw,96px);padding-bottom:clamp(42px,7vw,82px);grid-template-columns:minmax(0,1fr) minmax(340px,.86fr);align-items:center;gap:clamp(28px,5vw,72px)}
.home-hero::before,.home-hero::after{content:"";position:absolute;pointer-events:none;z-index:-1;border:1px solid color-mix(in srgb,var(--ui-gold) 10%,transparent);border-radius:58% 42% 61% 39%}
.home-hero::before{width:330px;height:210px;inset-inline-start:-150px;top:9%;transform:rotate(-18deg)}
.home-hero::after{width:240px;height:160px;inset-inline-end:5%;bottom:2%;transform:rotate(12deg);opacity:.55}
.home-hero .hero-copy{position:relative;z-index:2}.home-hero h1{max-width:780px;font-size:clamp(42px,6.7vw,82px);letter-spacing:-1.8px}.home-hero p{max-width:680px;line-height:2}.home-hero .toolbar{margin-top:28px}
.home-hero-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:28px;color:var(--ui-muted);font-size:12px}
.home-hero-art{position:relative;display:block;aspect-ratio:4/5;min-height:470px;max-height:650px;overflow:hidden;border:1px solid var(--ui-line);border-radius:34px;background:linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));box-shadow:var(--ui-shadow);isolation:isolate}
.home-hero-art::before{content:"";position:absolute;inset:14px;border:1px solid color-mix(in srgb,var(--ui-gold) 22%,transparent);border-radius:25px;z-index:1;pointer-events:none}
.home-hero-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.48));z-index:1;pointer-events:none}
.home-hero-art img{width:100%;height:100%;display:block;object-fit:contain;padding:28px;background:var(--ui-surface-2);transition:transform .55s var(--ui-ease),filter .35s ease}
.home-hero-art:hover img{transform:scale(1.025)}
.home-hero-art-caption{position:absolute;z-index:2;inset-inline:22px;bottom:20px;display:grid;gap:3px;color:#fff}.home-hero-art-caption span{font-size:11px;color:rgba(255,255,255,.72)}.home-hero-art-caption strong{font-size:18px}
.home-hero-art-empty{display:grid;place-items:center;align-content:center;color:var(--ui-muted);text-align:center}.home-hero-art-empty::after{display:none}.home-hero-art-empty span{font-size:11px;letter-spacing:.22em;color:var(--ui-gold)}.home-hero-art-empty strong{font-size:28px;margin-top:8px;color:var(--ui-text)}
.home-intro{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;margin-top:12px;padding:clamp(22px,4vw,34px);border:1px solid var(--ui-line);border-radius:24px;background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft)}
.home-intro-mark{width:52px;height:52px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--ui-gold) 25%,var(--ui-line));border-radius:18px;color:var(--ui-gold);font-size:22px}
.home-intro h2{margin:4px 0 5px;font-size:clamp(20px,3vw,30px)}.home-intro p{margin:0;color:var(--ui-muted);line-height:1.9;max-width:760px}
.home-categories{padding-top:clamp(56px,8vw,90px);padding-bottom:20px}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.category-card{position:relative;min-height:180px;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;border:1px solid var(--ui-line);border-radius:24px;background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));color:var(--ui-text);transition:transform .25s var(--ui-ease),border-color .25s ease,box-shadow .25s ease}
.category-card::before{content:"";position:absolute;inset:auto -30px -60px auto;width:170px;height:170px;border:1px solid color-mix(in srgb,var(--ui-gold) 13%,transparent);border-radius:58% 42% 61% 39%;transform:rotate(-22deg)}
.category-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--ui-gold) 35%,var(--ui-line));box-shadow:var(--ui-shadow-soft)}
.category-index{position:absolute;top:17px;inset-inline-start:18px;color:var(--ui-gold);font-size:11px;letter-spacing:.14em}.category-mark{position:absolute;top:18px;inset-inline-end:20px;width:42px;height:42px;border:1px solid color-mix(in srgb,var(--ui-gold) 28%,transparent);border-radius:50% 50% 45% 55%;transform:rotate(28deg)}
.category-card strong{position:relative;font-size:20px;line-height:1.5}.category-card small{position:relative;margin-top:5px;color:var(--ui-muted)}.category-arrow{position:absolute;bottom:22px;inset-inline-end:22px;color:var(--ui-gold);opacity:.7}
.home-latest{padding-top:58px}.home-process{padding:30px 0 90px}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.process-grid>div{position:relative;padding:24px;border-top:1px solid var(--ui-line);background:linear-gradient(180deg,color-mix(in srgb,var(--ui-gold) 4%,transparent),transparent);border-radius:18px}.process-grid span{display:block;color:var(--ui-gold);font-size:11px;letter-spacing:.16em;margin-bottom:28px}.process-grid strong{display:block;font-size:20px;margin-bottom:7px}.process-grid p{margin:0;color:var(--ui-muted);line-height:1.9}
@media(max-width:900px){.home-hero{grid-template-columns:1fr;min-height:0}.home-hero-art{order:-1;min-height:420px;max-height:600px}.home-hero h1{font-size:clamp(40px,9vw,64px)}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-intro{grid-template-columns:auto 1fr}.home-intro>.btn{grid-column:1/-1;justify-self:start}.process-grid{grid-template-columns:1fr}}
@media(max-width:520px){.home-hero{padding-top:28px;gap:26px}.home-hero-art{min-height:390px;border-radius:24px}.home-hero-art img{padding:20px}.home-hero-art::before{inset:10px;border-radius:18px}.home-hero h1{font-size:clamp(36px,11vw,50px);letter-spacing:-.8px}.home-hero p{font-size:15px}.home-intro{grid-template-columns:1fr;padding:20px}.home-intro-mark{width:46px;height:46px}.home-intro>.btn{width:100%}.category-grid{grid-template-columns:1fr}.category-card{min-height:150px}.home-latest{padding-top:42px}.home-process{padding-bottom:65px}}
@media(prefers-reduced-motion:reduce){.home-hero-art img,.category-card{transition:none}.home-hero-art:hover img,.category-card:hover{transform:none}}

/* Product Showcase — gallery-first cards */
.product-showcase{position:relative;isolation:isolate}
.product-showcase .product-card-link{display:block;height:100%;color:inherit}
.product-card-media{position:relative;aspect-ratio:4/3;padding:10px;overflow:hidden;background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--ui-gold) 9%,transparent),transparent 55%),var(--ui-surface-2)}
.product-art-frame{position:relative;width:100%;height:100%;overflow:hidden;border:1px solid color-mix(in srgb,var(--ui-gold) 13%,var(--ui-line));border-radius:15px;background:var(--ui-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ui-gold) 5%,transparent)}
.product-art-frame::after{content:"";position:absolute;inset:7px;border:1px solid color-mix(in srgb,var(--ui-gold) 9%,transparent);border-radius:11px;pointer-events:none}
.product-art-frame img{display:block;width:100%;height:100%;aspect-ratio:auto!important;object-fit:contain!important;padding:8px;transition:transform .45s var(--ui-ease);background:var(--ui-surface)}
.product-image-empty{display:grid;place-items:center;width:100%;height:100%;min-height:160px;color:var(--ui-muted);font-size:13px}
.product-card-badges{position:absolute;top:18px;right:18px;left:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:7px;z-index:2;pointer-events:none}
.product-art-badge,.product-showcase .flash-badge{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:4px 9px;border-radius:999px;border:1px solid color-mix(in srgb,var(--ui-gold) 25%,var(--ui-line));background:color-mix(in srgb,var(--ui-surface) 86%,transparent);color:var(--ui-gold-strong);font-size:10px;line-height:1.3;backdrop-filter:blur(8px)}
.product-showcase .flash-badge{margin:0;border-color:color-mix(in srgb,var(--ui-danger) 24%,var(--ui-line));color:var(--ui-danger)}
.product-showcase .flash-badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
.product-card-overlay{position:absolute;inset:auto 18px 18px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(8,8,10,.58);color:#fff;font-size:12px;opacity:0;transform:translateY(7px);transition:opacity .25s ease,transform .25s var(--ui-ease);backdrop-filter:blur(8px);pointer-events:none}
.product-showcase:hover .product-card-overlay,.product-showcase:focus-within .product-card-overlay{opacity:1;transform:none}
.product-showcase:hover .product-art-frame img{transform:scale(1.025)}
.product-card-body{padding:14px 15px 16px}
.product-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.product-card-heading h3{margin:0;min-width:0;font-size:17px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-sku{flex:0 0 auto;color:var(--ui-muted);font-size:9px;letter-spacing:.06em;max-width:34%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-card-timer{margin-top:9px;width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface));border:1px solid var(--ui-line);color:var(--ui-muted);font-size:10px;font-variant-numeric:tabular-nums}
.product-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:13px;padding-top:12px;border-top:1px solid var(--ui-line)}
.product-price-group{display:grid;gap:2px;min-width:0}
.product-price-label{color:var(--ui-muted);font-size:10px}
.product-card-price{display:block;font-size:16px;line-height:1.4;white-space:nowrap}
.product-card-price small{font-size:9px;font-weight:600;color:var(--ui-muted)}
.product-card-arrow{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid var(--ui-line);border-radius:10px;color:var(--ui-gold-strong);background:var(--ui-surface-2);transition:transform .2s var(--ui-ease),border-color .2s ease}
.product-showcase:hover .product-card-arrow,.product-showcase:focus-within .product-card-arrow{transform:translateX(-3px);border-color:color-mix(in srgb,var(--ui-gold) 38%,var(--ui-line))}
.product-showcase .flash-old{font-size:10px;text-decoration:line-through}
:root[data-theme="light"] .product-card-overlay{background:rgba(35,30,24,.68);border-color:rgba(255,255,255,.24)}
@media(max-width:700px){
 .product-card-media{aspect-ratio:1/1;padding:8px}
 .product-art-frame{border-radius:13px}
 .product-art-frame img{padding:7px}
 .product-card-badges{top:14px;right:14px;left:14px}
 .product-card-overlay{inset:auto 14px 14px 14px}
 .product-card-body{padding:11px 11px 13px}
 .product-card-heading h3{font-size:13px;line-height:1.5}
 .product-sku{font-size:8px;max-width:38%}
 .product-card-footer{margin-top:10px;padding-top:9px}
 .product-card-price{font-size:13px}
 .product-card-arrow{width:30px;height:30px;flex-basis:30px}
 .product-price-label{font-size:9px}
 .product-card-timer{font-size:9px}
 .product-art-badge,.product-showcase .flash-badge{font-size:9px;padding:3px 7px}
}
@media(max-width:420px){
 .product-card-media{aspect-ratio:1/1;padding:6px}
 .product-card-badges{top:11px;right:11px;left:11px}
 .product-art-badge{display:none}
 .product-card-overlay{display:none}
 .product-card-body{padding:9px}
 .product-card-heading{display:block}
 .product-sku{display:block;max-width:100%;margin-top:2px}
 .product-card-footer{align-items:center}
 .product-card-price{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .product-art-frame img,.product-card-overlay,.product-card-arrow{transition:none}
 .product-showcase:hover .product-art-frame img{transform:none}
}

/* Luxury Gallery Discipline — shared HTML5 page, filter and reading system */
main#main-content{min-height:60vh}
.page-masthead{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:clamp(22px,4vw,56px);align-items:stretch;margin-bottom:34px}
.page-masthead-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(18px,3vw,38px) 0}
.page-masthead-copy h1{margin:9px 0 12px;font-size:clamp(34px,5vw,58px);line-height:1.18;letter-spacing:-.025em}
.page-masthead-copy p{max-width:680px;margin:0;color:var(--ui-muted);font-size:clamp(15px,2vw,18px);line-height:2;text-align:justify}
.shop-page-visual,.cms-page-visual{position:relative;display:block;min-height:300px;overflow:hidden;border:1px solid color-mix(in srgb,var(--ui-gold) 25%,var(--ui-line));border-radius:26px;background:var(--ui-surface-2);box-shadow:var(--ui-shadow-soft)}
.shop-page-visual::after,.cms-page-visual::after{content:"";position:absolute;inset:12px;border:1px solid color-mix(in srgb,var(--ui-gold) 15%,transparent);border-radius:19px;pointer-events:none}
.shop-page-visual img,.cms-page-visual img{display:block;width:100%;height:100%;min-height:300px;object-fit:contain;padding:24px;background:radial-gradient(circle at 50% 40%,color-mix(in srgb,var(--ui-gold) 12%,transparent),transparent 62%),var(--ui-surface)}
.shop-page-visual>span,.cms-page-visual>span{position:absolute;right:22px;left:22px;bottom:20px;z-index:2;display:grid;gap:3px;padding:11px 14px;border:1px solid rgba(255,255,255,.14);border-radius:13px;background:rgba(8,8,10,.62);color:#fff;backdrop-filter:blur(9px)}
.shop-page-visual small,.cms-page-visual small{font-size:10px;opacity:.75}.shop-page-visual strong,.cms-page-visual strong{font-size:14px}
.shop-page-visual-empty{display:grid;place-items:center;align-content:center;color:var(--ui-gold-strong);text-align:center}
.shop-page-visual-empty span{position:static;background:none;border:0;backdrop-filter:none;font-size:12px}.shop-page-visual-empty strong{font-size:26px}
.gallery-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
.filter-panel{position:sticky;top:92px;padding:18px;border:1px solid var(--ui-line);border-radius:20px;background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft)}
.filter-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--ui-line)}
.filter-panel h2,.results-head h2{margin:5px 0 0;font-size:19px}
.filter-reset{border:0;background:none;color:var(--ui-gold-strong);font:inherit;font-size:11px;cursor:pointer;padding:7px;border-radius:8px}
.filter-reset:hover,.filter-reset:focus-visible{background:var(--ui-surface-2);outline:none}
.search-field{display:grid;gap:7px;margin:17px 0;font-size:11px;color:var(--ui-muted)}
.search-field input{width:100%;box-sizing:border-box;min-height:44px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface);color:var(--ui-text);padding:10px 12px;font:inherit;outline:none}
.search-field input:focus{border-color:color-mix(in srgb,var(--ui-gold) 55%,var(--ui-line));box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold) 10%,transparent)}
.filter-group{border:0;padding:0;margin:0}.filter-group legend{font-size:11px;color:var(--ui-muted);margin-bottom:8px}
.check-option{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:9px;min-height:42px;padding:5px 8px;border-radius:10px;color:var(--ui-text);font-size:12px;cursor:pointer;transition:background .18s ease}
.check-option:hover{background:var(--ui-surface-2)}
.check-option input{position:absolute;opacity:0;pointer-events:none}
.check-box{width:18px;height:18px;border:1px solid var(--ui-line);border-radius:5px;background:var(--ui-surface);box-shadow:inset 0 0 0 2px var(--ui-surface);transition:.18s ease}
.check-option input:checked+.check-box{background:var(--ui-gold);border-color:var(--ui-gold);box-shadow:inset 0 0 0 4px var(--ui-surface)}
.check-option input:focus-visible+.check-box{outline:2px solid var(--ui-gold);outline-offset:2px}
.filter-help{margin-top:15px;padding-top:13px;border-top:1px solid var(--ui-line);color:var(--ui-muted);font-size:10px;line-height:1.8;text-align:justify}
.gallery-results{min-width:0}
.results-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:15px;padding-bottom:13px;border-bottom:1px solid var(--ui-line)}
.results-count{font-size:11px;color:var(--ui-muted)}
.gallery-results .product-stream{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-showcase{border-radius:20px;overflow:hidden;border-color:var(--ui-line);background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft);transition:transform .22s var(--ui-ease),box-shadow .22s ease,border-color .22s ease}
.product-showcase:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));box-shadow:var(--ui-shadow)}
.product-card-media{aspect-ratio:1/1;padding:12px}
.product-art-frame{border-radius:13px}
.product-art-frame img{padding:10px}
.product-card-body{padding:16px}
.product-card-heading h3{font-size:16px}
.btn{min-height:42px;border-radius:11px;font-weight:700;letter-spacing:-.01em;transition:transform .18s var(--ui-ease),box-shadow .18s ease,border-color .18s ease}
.btn:hover{transform:translateY(-1px)}
.btn.primary{box-shadow:0 8px 22px color-mix(in srgb,var(--ui-gold) 16%,transparent)}
.btn:focus-visible{outline:2px solid var(--ui-gold);outline-offset:3px}
.panel{border-radius:20px}
.cms-hero{min-height:0}
.cms-page .cms-hero{display:none}
.cms-page .cms-rich,.cms-page .cms-card,.cms-page .cms-detail,.cms-page .cms-contact-aside{line-height:2}
.cms-page .cms-body,.cms-page .cms-lead,.cms-page .cms-detail-lead,.cms-page p,.cms-page li{text-align:justify;text-justify:inter-word}
.cms-page .cms-body{line-height:2.25;max-width:920px}
.cms-page .cms-body br+br{height:12px}
.cms-list{align-items:stretch}
.cms-card h2{line-height:1.5}
.cms-card .cms-lead{line-height:2;text-align:justify}
.cms-detail-head h1{line-height:1.35}
.cms-contact-main .cms-contact-list{line-height:1.7}
.cms-contact-aside p{text-align:justify}
@media(max-width:1050px){
 .page-masthead{grid-template-columns:1fr .8fr}
 .gallery-workspace{grid-template-columns:220px minmax(0,1fr)}
 .gallery-results .product-stream{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
 .page-masthead{grid-template-columns:1fr;margin-bottom:24px}
 .page-masthead-copy{padding:5px 0}
 .shop-page-visual{min-height:260px}
 .shop-page-visual img{min-height:260px}
 .gallery-workspace{grid-template-columns:1fr}
 .filter-panel{position:static}
 .gallery-results .product-stream{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .page-masthead-copy h1{font-size:32px}
 .page-masthead-copy p{font-size:14px;line-height:1.95}
 .shop-page-visual{min-height:230px;border-radius:20px}
 .shop-page-visual img{min-height:230px;padding:16px}
 .filter-panel{padding:14px;border-radius:16px}
 .filter-panel-head{padding-bottom:11px}
 .gallery-results .product-stream{grid-template-columns:1fr}
 .results-head{align-items:center}
 .product-showcase{border-radius:17px}
 .product-card-media{aspect-ratio:1/1}
 .cms-page .cms-body,.cms-page .cms-lead,.cms-page .cms-detail-lead,.cms-page p,.cms-page li{line-height:2.05}
}
@media(prefers-reduced-motion:reduce){
 .product-showcase,.btn{transition:none}
 .product-showcase:hover,.btn:hover{transform:none}
}

/* Editorial reading rhythm */
.page p,.page article p,.page section p,.page li{ text-align:justify; text-justify:inter-word; hyphens:auto; }
.page .eyebrow,.page .muted,.page .btn,.page label,.page legend,.page button{hyphens:none}

/* CMS cover media picker */
.cms-cover-field{grid-column:1/-1;margin-top:4px;padding:18px;border:1px solid var(--ui-line);border-radius:20px;background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2))}
.cms-cover-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.cms-cover-head strong{display:block;color:var(--ui-text);font-size:15px}
.cms-cover-head small{display:block;margin-top:5px;color:var(--ui-muted);line-height:1.8}
.cms-cover-current{display:flex;align-items:center;gap:14px;min-height:84px;padding:10px;border:1px dashed var(--ui-line);border-radius:15px;background:var(--ui-surface-2);margin-bottom:14px}
.cms-cover-current img{width:90px;height:68px;object-fit:contain;border-radius:10px;background:var(--ui-surface);border:1px solid var(--ui-line)}
.cms-cover-current>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cms-cover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:430px;overflow:auto;padding:2px}
.cms-cover-option{appearance:none;display:flex;flex-direction:column;gap:5px;padding:7px;text-align:right;color:var(--ui-text);background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:14px;cursor:pointer;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.cms-cover-option:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--ui-gold) 45%,var(--ui-line))}
.cms-cover-option.active{border-color:var(--ui-gold);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-gold) 18%,transparent)}
.cms-cover-option img{width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:9px;background:var(--ui-surface-2)}
.cms-cover-option span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cms-cover-option small{color:var(--ui-muted);font-size:10px}
.cms-card-image{display:block;margin:-24px -24px 18px;overflow:hidden;border-bottom:1px solid var(--ui-line);background:var(--ui-surface-2)}
.cms-card-image img{display:block;width:100%;aspect-ratio:16/8;object-fit:cover}
.cms-page-visual-empty{display:grid;place-items:center;background:radial-gradient(circle at 70% 20%,color-mix(in srgb,var(--ui-gold) 12%,transparent),transparent 38%),var(--ui-surface-2)}
@media(max-width:520px){
 .cms-cover-head{align-items:flex-start;flex-direction:column}
 .cms-cover-head .btn{width:100%}
 .cms-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:360px}
 .cms-card-image{margin:-20px -20px 16px}
 .cms-card-image img{aspect-ratio:16/9}
}
@media(prefers-reduced-motion:reduce){
 .cms-cover-option{transition:none}
}

/* Reviews management — focused admin surface */
.reviews-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}
.reviews-stats .panel{padding:18px;border-radius:16px;display:flex;flex-direction:column;gap:5px}
.reviews-stats strong{font-size:28px;color:var(--gold)}
.reviews-stats span{color:var(--muted);font-size:12px}
.reviews-manager{padding:18px;border-radius:18px}
.reviews-toolbar{display:flex;gap:12px;align-items:end;margin-bottom:16px;flex-wrap:wrap}
.reviews-toolbar label{display:grid;gap:6px;color:var(--muted);font-size:12px;min-width:170px}
.reviews-toolbar .review-search{flex:1;min-width:240px}
.reviews-toolbar input,.reviews-toolbar select{width:100%;min-height:44px;padding:10px 12px;border-radius:10px}
.review-body{min-width:260px;max-width:520px;line-height:1.9;white-space:normal}
.review-stars{letter-spacing:2px;color:var(--gold);white-space:nowrap}
.review-status{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 9px;border-radius:999px;font-size:11px}
.review-status.is-approved{border:1px solid #3d8057;color:#8fd3a4;background:#173021}
.review-status.is-pending{border:1px solid #806a3d;color:#e2c47c;background:#302714}
.review-actions{white-space:nowrap}
.review-actions .btn{margin:2px}
.admin-kicker{display:block;color:var(--gold);font-size:10px;letter-spacing:2px;margin-bottom:5px}
@media(max-width:700px){
 .reviews-stats{grid-template-columns:1fr}
 .reviews-manager{padding:12px}
 .reviews-toolbar{display:grid;grid-template-columns:1fr}
 .reviews-toolbar label,.reviews-toolbar .review-search{min-width:0}
 .review-body{min-width:180px}
 .review-actions{display:flex;flex-direction:column}
 .review-actions .btn{width:100%}
}


/* Cart UX refinement — mobile-first, theme-aware, accessibility-safe */
.cart-items-panel,.cart-section,.cart-trust,.cart-checkout-bar{
 background:linear-gradient(145deg,var(--ui-surface-2,var(--ga-surface-2)),var(--ui-surface,var(--ga-surface)));
 border-color:var(--ui-line,var(--ga-line));
}
.cartline{transition:background .18s ease,transform .18s ease}
.cartline:hover{background:color-mix(in srgb,var(--ui-gold,var(--ga-gold)) 5%,transparent)}
.cart-product-link{min-height:72px}
.cart-address-grid input,.cart-address-grid textarea,.cart-coupon input{
 background:var(--ui-surface,var(--ga-surface));
 color:var(--ui-text,var(--ga-text));
 border:1px solid var(--ui-line,var(--ga-line));
 border-radius:12px;
 padding:11px 13px;
 transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.cart-address-grid input:focus,.cart-address-grid textarea:focus,.cart-coupon input:focus{
 border-color:var(--ui-gold,var(--ga-gold));
 box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold,var(--ga-gold)) 14%,transparent);
 outline:none;
}
.cart-coupon input::placeholder{color:var(--ui-muted,var(--ga-muted));opacity:.75}
@media(max-width:600px){
 .cartline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:13px 0}
 .cart-product-link{grid-column:1/-1}
 .cart-qty{justify-self:start}
 .cartline .del{justify-self:end;align-self:center}
 .cart-checkout-bar{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom));z-index:8;margin-inline:-2px;box-shadow:0 14px 38px rgba(0,0,0,.22)}
 .cart-page{padding-bottom:18px}
 body:has(.cart-page){padding-bottom:env(safe-area-inset-bottom)}
}
@media(prefers-reduced-motion:reduce){.cart-product-link,.cartline{transition:none!important}.cart-product-link:hover{transform:none}}

/* Product reviews */
.review-list{display:grid;gap:14px;margin-top:16px}
.review-card{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel2);box-shadow:0 8px 28px rgba(0,0,0,.12)}
.review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.review-stars{margin-top:5px;color:var(--gold);letter-spacing:1px}
.review-body{margin:14px 0;line-height:1.95;white-space:pre-wrap}
.review-reactions{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:12px}
.review-reaction{border:1px solid var(--line);background:transparent;color:var(--text);border-radius:999px;padding:7px 13px;cursor:pointer}
.review-reaction:hover,.review-reaction.active{border-color:var(--gold);background:rgba(201,168,106,.10)}
@media(max-width:520px){.review-card{padding:14px}.review-head{flex-direction:column;gap:5px}.review-reaction{flex:1}}

/* Loyalty / Rewards */
.rewards-nav-link{color:var(--ui-gold-strong,var(--gold))!important;font-weight:800}
.points-badge{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 10px;border:1px solid color-mix(in srgb,var(--ui-gold) 45%,var(--ui-line));border-radius:999px;background:color-mix(in srgb,var(--ui-gold) 9%,var(--ui-surface));color:var(--ui-gold-strong);font-size:11px;font-weight:800;white-space:nowrap}
.rewards-promo{border-bottom:1px solid var(--ui-line);background:linear-gradient(90deg,color-mix(in srgb,var(--ui-gold) 10%,var(--ui-surface)),var(--ui-surface))}
.rewards-promo-inner{min-height:38px;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--ui-muted)}
.rewards-promo-inner b{color:var(--ui-gold-strong)}
.rewards-promo-inner a{color:var(--ui-gold-strong);font-weight:800;text-decoration:none}
.rewards-account-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:20px;border-color:color-mix(in srgb,var(--ui-gold) 25%,var(--ui-line));background:linear-gradient(135deg,color-mix(in srgb,var(--ui-gold) 8%,var(--ui-surface)),var(--ui-surface-2))}
.rewards-balance-inline{color:var(--ui-gold-strong);font-size:20px}
.rewards-balance-hero{display:grid;align-content:center;gap:5px;min-height:210px;padding:28px;border:1px solid color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));border-radius:24px;background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--ui-gold) 18%,transparent),transparent 62%),var(--ui-surface-2);text-align:center;box-shadow:var(--ui-shadow-soft)}
.rewards-balance-hero span,.rewards-balance-hero small{color:var(--ui-muted);font-size:11px}.rewards-balance-hero strong{font-size:clamp(44px,7vw,70px);line-height:1;color:var(--ui-gold-strong)}
.rewards-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-bottom:18px;align-items:start}.rewards-grid>.panel,.rewards-page>.panel{padding:22px}.rewards-page>.panel{margin-bottom:18px}.rewards-page .sectionhead{margin-bottom:16px}.rewards-page .page-masthead{margin-bottom:18px}
.reward-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reward-tier{display:grid;gap:8px;padding:16px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-surface-2)}.reward-tier strong{font-size:18px}.reward-tier span{color:var(--ui-gold-strong);font-size:15px;font-weight:800}.reward-tier .btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.referral-code{display:flex;align-items:center;gap:10px;margin:15px 0}.referral-code code{flex:1;padding:11px;border:1px dashed var(--ui-gold);border-radius:11px;background:var(--ui-surface-2);text-align:center;font-weight:800;letter-spacing:1px}.referral-url{width:100%;box-sizing:border-box;min-height:42px;padding:10px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-surface-2);color:var(--ui-muted);font-size:10px}
.referral-url-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:stretch}.referral-copy-btn,.referral-paste-btn,.referral-sms-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.referral-copy-btn svg,.referral-paste-btn svg,.referral-sms-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.referral-paste-btn{min-width:112px}.referral-copy-btn{min-width:150px}.referral-sms-btn{min-width:210px}

.reward-coupons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reward-coupon{display:grid;gap:5px;padding:15px;border:1px solid var(--ui-line);border-radius:15px;background:var(--ui-surface-2)}.reward-coupon code{font-size:17px;font-weight:900;color:var(--ui-gold-strong)}.reward-coupon b{font-size:18px}.reward-coupon span,.reward-coupon small{color:var(--ui-muted);font-size:10px}
.rewards-ledger{width:100%;border-collapse:collapse}.rewards-ledger th,.rewards-ledger td{padding:11px 10px;border-bottom:1px solid var(--ui-line);text-align:right}.points-positive{color:#62c38a;font-weight:800}.points-negative{color:#d98282;font-weight:800}
.loyalty-rules{margin-top:24px;padding:22px}.loyalty-rules table{width:100%;border-collapse:collapse;margin:14px 0}.loyalty-rules th,.loyalty-rules td{padding:10px;border-bottom:1px solid var(--ui-line);text-align:right}.loyalty-rules th{color:var(--ui-gold-strong)}
@media(max-width:800px){.points-badge{display:none}.rewards-grid{grid-template-columns:1fr}.rewards-account-card{align-items:flex-start;flex-direction:column}.rewards-account-card .btn{width:100%}}
@media(max-width:560px){.referral-url-row{grid-template-columns:1fr 1fr}.referral-copy-btn,.referral-sms-btn{min-width:0;width:100%}.referral-url-row .referral-url{grid-column:1 / -1;grid-row:1}.referral-copy-btn{grid-column:1;grid-row:2}.referral-sms-btn{grid-column:2;grid-row:2}.rewards-promo-inner{padding:7px 12px;gap:6px;justify-content:space-between}.rewards-promo-inner span:nth-child(2){display:none}.rewards-page .page-masthead{grid-template-columns:1fr}.rewards-balance-hero{min-height:150px}.reward-tiers,.reward-coupons{grid-template-columns:1fr}.reward-tier .btn{width:100%}.referral-code{flex-direction:column;align-items:stretch}.referral-code code{text-align:center}.loyalty-rules{padding:15px}.loyalty-rules table{font-size:11px}}

/* Loyalty experience polish — preserves existing GilasArt design system */
.rewards-page{padding-bottom:70px}
.rewards-masthead{align-items:stretch;gap:24px}
.rewards-masthead .page-masthead-copy{display:flex;flex-direction:column;justify-content:center}
.rewards-masthead h1{max-width:760px}
.rewards-microcopy{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.rewards-microcopy span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border:1px solid var(--ui-line);border-radius:999px;background:var(--ui-surface-2);color:var(--ui-muted);font-size:10px}
.rewards-microcopy span::before{content:'✓';margin-left:6px;color:var(--ui-gold-strong);font-weight:900}
.rewards-balance-hero{position:relative;overflow:hidden}
.rewards-balance-hero::after{content:'✦';position:absolute;left:18px;top:10px;color:color-mix(in srgb,var(--ui-gold) 35%,transparent);font-size:36px;line-height:1;transform:rotate(12deg)}
.rewards-balance-hero small{font-size:12px}
.rewards-progress{height:7px;margin:14px 0 2px;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--ui-line) 85%,transparent)}
.rewards-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--ui-gold),var(--ui-gold-strong));transition:width .45s ease}
.rewards-progress-copy{font-size:10px;color:var(--ui-muted)}
.rewards-progress-copy b{color:var(--ui-gold-strong)}
.rewards-convert-panel .sectionhead p{margin:4px 0 0;font-size:11px}
.reward-tier{position:relative;min-height:184px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.reward-tier.is-ready{border-color:color-mix(in srgb,var(--ui-gold) 40%,var(--ui-line));box-shadow:0 12px 28px color-mix(in srgb,var(--ui-gold) 7%,transparent)}
.reward-tier.is-ready:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--ui-gold) 65%,var(--ui-line))}
.reward-tier-top{display:flex;align-items:center;gap:10px}
.reward-tier-top>div{display:grid;gap:1px}
.reward-tier-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--ui-gold) 35%,var(--ui-line));border-radius:50%;color:var(--ui-gold-strong);background:color-mix(in srgb,var(--ui-gold) 8%,var(--ui-surface))}
.reward-tier p{margin:0;color:var(--ui-muted);font-size:10px;line-height:1.8;min-height:36px}
.reward-tier .btn{margin-top:auto}
.referral-panel{position:relative;overflow:hidden}.referral-panel .muted{max-width:62ch}.referral-panel .referral-note{margin-top:12px}.referral-privacy-note{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;padding:10px 12px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface-2);font-size:11px;color:var(--ui-muted)}.referral-privacy-note strong{color:var(--ui-text)}
.referral-panel::before{content:'↗';position:absolute;left:20px;top:18px;color:color-mix(in srgb,var(--ui-gold) 25%,transparent);font-size:54px;font-weight:300}
.referral-label{display:block;margin:5px 0 6px;color:var(--ui-muted);font-size:10px}
.referral-note{margin:8px 0 0;color:var(--ui-muted);font-size:9px}
.rewards-earn-panel{margin-bottom:20px}
.reward-earn-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.reward-earn-panel{margin-bottom:18px}.reward-coupons-panel{margin-bottom:18px}
.reward-earn-item{display:grid;gap:3px;min-height:104px;padding:14px;border:1px solid var(--ui-line);border-radius:15px;background:var(--ui-surface-2)}
.reward-earn-item strong{font-size:13px}
.reward-earn-item span{color:var(--ui-gold-strong);font-weight:900;font-size:12px}
.reward-earn-item small{color:var(--ui-muted);font-size:9px}
.section-count{align-self:center;color:var(--ui-muted);font-size:10px;white-space:nowrap}
.reward-coupon{position:relative;overflow:hidden;min-height:112px}
.reward-coupon:not(.is-expired){border-color:color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line))}
.reward-coupon-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.reward-coupon-head b{color:var(--ui-gold-strong)}
.reward-coupon-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--ui-muted);font-size:9px}
.reward-coupon.is-expired{opacity:.6}
.reward-coupon.is-expired code,.reward-coupon.is-expired b{color:var(--ui-muted)}
.empty-rewards{min-height:150px;display:grid;place-items:center;text-align:center;padding:25px;color:var(--ui-muted);border:1px dashed var(--ui-line);border-radius:15px}
.empty-rewards span{font-size:24px;color:var(--ui-gold-strong)}
.empty-rewards p{margin:0;font-weight:800;color:var(--ui-text)}
.empty-rewards small{font-size:10px}
.rewards-ledger td:first-child{font-weight:600}
.rewards-ledger time{color:var(--ui-muted);font-size:10px}
@media(max-width:800px){
 .reward-earn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rewards-masthead{grid-template-columns:1fr}
}
@media(max-width:560px){
 .rewards-page{padding-bottom:45px}
 .rewards-microcopy{gap:6px}
 .rewards-microcopy span{font-size:9px}
 .reward-earn-grid{grid-template-columns:1fr}
 .reward-earn-item{min-height:auto}
 .sectionhead{gap:8px}
 .section-count{font-size:9px}
 .reward-coupon{min-height:auto}
 .reward-coupon-meta{display:grid}
 .rewards-ledger th,.rewards-ledger td{padding:9px 6px;font-size:10px}
}

/* Quantity discount — per-product wholesale ladder */
.quantity-discount-card{margin:12px 0 20px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));border-radius:16px;background:linear-gradient(135deg,color-mix(in srgb,var(--ui-gold) 8%,var(--ui-surface)),var(--ui-surface));box-shadow:var(--ui-shadow-soft)}
.quantity-discount-head{display:flex;gap:10px;align-items:flex-start}.quantity-discount-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:var(--ui-gold);color:#19150d;font-weight:900}.quantity-discount-head strong{display:block;font-size:14px}.quantity-discount-head small{display:block;margin-top:4px;color:var(--muted);line-height:1.7}.quantity-discount-tiers{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.quantity-discount-tiers span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid var(--ui-line);border-radius:999px;background:var(--ui-surface-2);font-size:11px}.quantity-discount-tiers em{font-style:normal;color:var(--ui-gold-strong);font-weight:900}.quantity-discount-note{font-size:11px;color:var(--muted);line-height:1.8}.cart-quantity-discount{display:block;color:var(--ui-gold-strong);font-size:11px;margin-top:3px}.cart-line-old-total{display:block;color:var(--muted);font-size:11px;text-decoration:line-through}.quantity-discount-summary{margin:0 0 14px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--ui-gold) 20%,var(--ui-line));border-radius:14px;background:color-mix(in srgb,var(--ui-gold) 5%,var(--ui-surface));font-size:12px}.quantity-discount-summary>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0}.quantity-discount-summary b{color:var(--ui-gold-strong)}
@media(max-width:600px){.quantity-discount-card{padding:13px}.quantity-discount-tiers{gap:5px}.quantity-discount-tiers span{font-size:10px;padding:5px 7px}.quantity-discount-summary>div{align-items:flex-start}}

/* Cart quantity indicator — refined for light/dark themes */
.cart-link{position:relative;overflow:visible}.cart-link .cart-icon-wrap{display:inline-flex!important}
.cart-icon-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;line-height:1;flex:0 0 24px}
.cart-icon-wrap>svg{display:block;width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cart-count-badge{position:absolute;top:-8px;right:-9px;min-width:21px;height:21px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--ui-surface);border-radius:999px;background:#b85f3f;color:#fff;font-size:11px;font-weight:900;line-height:1;letter-spacing:-.1px;box-shadow:0 3px 10px rgba(120,55,35,.30);font-variant-numeric:tabular-nums;z-index:4;white-space:nowrap}
.cart-count-badge[hidden]{display:none}
@media (max-width:520px){
  .cart-icon-wrap{width:23px;height:23px;flex-basis:23px}
  .cart-icon-wrap>svg{width:21px;height:21px}
  .cart-count-badge{top:-7px;right:-8px;min-width:19px;height:19px;padding:0 4px;font-size:10px}
}
/* Product quantity control */
.product-cart-control{display:flex;align-items:stretch;min-width:0}
.product-add-btn{min-height:48px;min-width:190px}
.product-qty-control{display:flex;align-items:stretch;direction:ltr;border:1px solid var(--ui-line);border-radius:14px;overflow:hidden;background:var(--ui-surface-2);box-shadow:0 8px 22px rgba(0,0,0,.08);min-height:52px}
.product-qty-btn{width:52px;min-width:52px;border:0;background:transparent;color:var(--ui-gold-strong);font-size:28px;font-weight:900;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .18s ease,color .18s ease,transform .18s ease}
.product-qty-btn:hover:not(:disabled){background:var(--ui-surface-3);color:var(--ui-gold)}
.product-qty-btn:active:not(:disabled){transform:scale(.94)}
.product-qty-btn:disabled{opacity:.45;cursor:wait}
.product-qty-summary{direction:rtl;min-width:170px;padding:6px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-inline:1px solid var(--ui-line);line-height:1.2}
.product-qty-summary span{font-size:14px;font-weight:800;color:var(--ui-text)}
.product-qty-summary strong{font-size:20px;color:var(--ui-gold-strong);font-variant-numeric:tabular-nums}
.product-qty-summary small{font-size:10px;color:var(--ui-muted);margin-top:2px}
@media(max-width:560px){
  .product-cart-control{width:100%}
  .product-add-btn{width:100%;min-width:0}
  .product-qty-control{width:100%}
  .product-qty-btn{width:50px;min-width:50px}
  .product-qty-summary{flex:1;min-width:0}
}


/* Store sorting + hybrid pagination */
.shop-page .gallery-workspace{align-items:start}
.sort-field{display:grid;gap:7px;margin:14px 0}
.sort-field>span{font-size:11px;font-weight:800;color:var(--ui-muted)}
.sort-field select{width:100%;min-height:46px;padding:9px 40px 9px 13px;border:1px solid var(--ui-line);border-radius:13px;background:linear-gradient(135deg,var(--ui-surface),var(--ui-surface-2));color:var(--ui-text);outline:none;cursor:pointer;box-shadow:var(--ui-shadow-soft);transition:border-color .18s ease,box-shadow .18s ease,transform .18s var(--ui-ease)}
.sort-field select:hover{border-color:color-mix(in srgb,var(--ui-gold) 40%,var(--ui-line));transform:translateY(-1px)}
.sort-field select:focus{border-color:var(--ui-gold);box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold) 14%,transparent)}
.load-more-wrap{display:grid;justify-items:center;gap:10px;padding:22px 8px 8px}
.load-more-button{min-width:min(300px,100%);min-height:48px;border-radius:14px;font-weight:800}
.load-more-button[hidden]{display:none}
.load-more-button:disabled{opacity:.58;cursor:wait;transform:none}
.load-status{min-height:26px;text-align:center;color:var(--ui-muted);font-size:11px;line-height:1.9}
.infinite-sentinel{height:2px;width:100%;pointer-events:none}
.results-count{font-variant-numeric:tabular-nums;color:var(--ui-muted)}
@media(max-width:700px){
 .sort-field{margin-top:12px}
 .sort-field select{min-height:50px;font-size:13px}
 .load-more-wrap{padding-top:18px}
 .load-more-button{width:100%}
}

/* Control panel — dedicated light/dark visual system */
.admin-layout{min-height:100dvh;background:radial-gradient(900px 380px at 10% -5%,color-mix(in srgb,var(--ui-gold) 9%,transparent),transparent 65%),var(--ui-bg)}
.admin-layout main{min-width:0}
.admin-sidebar{box-shadow:var(--ui-shadow-soft)}
.admin-brand{border-bottom:1px solid var(--ui-line)}
.admin-nav-label{color:var(--ui-muted)!important;letter-spacing:.08em}
.admin-nav-group{display:grid;gap:5px}
.admin-nav-group a{position:relative;gap:10px;border:1px solid transparent!important;color:var(--ui-muted);transition:background .18s var(--ui-ease),border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.admin-nav-group a:hover{color:var(--ui-text);background:color-mix(in srgb,var(--ui-gold) 8%,var(--ui-surface));border-color:color-mix(in srgb,var(--ui-gold) 18%,var(--ui-line))!important;transform:translateX(-2px)}
.admin-nav-group a.active{color:var(--ui-text)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--ui-gold) 17%,var(--ui-surface)),var(--ui-surface));border-color:color-mix(in srgb,var(--ui-gold) 35%,var(--ui-line))!important;box-shadow:0 8px 22px color-mix(in srgb,var(--ui-gold) 8%,transparent)}
.admin-nav-group a.active::before{content:"";position:absolute;right:-1px;top:8px;bottom:8px;width:3px;border-radius:4px;background:var(--ui-gold)}
.admin-nav-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:var(--ui-gold-strong);background:color-mix(in srgb,var(--ui-gold) 7%,transparent);font-size:15px;flex:0 0 28px}
.admin-header{min-height:76px;padding:14px clamp(14px,2vw,28px);box-shadow:0 8px 30px color-mix(in srgb,var(--ui-bg) 18%,transparent)}
.admin-header-title h3{margin:2px 0 0;color:var(--ui-text);font-size:20px}
.admin-kicker{color:var(--ui-gold-strong)!important;font-size:9px;letter-spacing:.14em}
.admin-status-badge,.admin-user-badge{border-color:var(--ui-line)!important;background:var(--ui-surface-2)!important;color:var(--ui-muted)!important}
.admin-page{padding:clamp(14px,2.2vw,30px)}
.admin-page>.panel,.admin-page>.card,.admin-page .panel,.admin-page .card,.admin-page .chart-box{border-radius:18px;border-color:var(--ui-line);background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft)}
.admin-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px;padding-bottom:15px;border-bottom:1px solid var(--ui-line)}
.admin-title h2{margin:0;color:var(--ui-text);font-size:clamp(20px,2.4vw,29px)}
.admin-title .muted{color:var(--ui-muted)}
.admin-layout .sectionhead{color:var(--ui-text)}
.admin-layout .sectionhead p,.admin-layout .muted{color:var(--ui-muted)}
.admin-layout .form label{color:var(--ui-muted)}
.admin-layout .form input,.admin-layout .form select,.admin-layout .form textarea,.admin-layout input,.admin-layout select,.admin-layout textarea{min-height:44px;background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important;border-radius:12px}
.admin-layout input::placeholder,.admin-layout textarea::placeholder{color:var(--ui-muted);opacity:.78}
.admin-layout input:focus,.admin-layout select:focus,.admin-layout textarea:focus{outline:none;border-color:var(--ui-gold)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold) 12%,transparent)}
.admin-layout .btn{min-height:42px;border-radius:12px}
.admin-layout .btn.ghost{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-line)}
.admin-layout .btn.ghost:hover{border-color:color-mix(in srgb,var(--ui-gold) 38%,var(--ui-line));background:var(--ui-surface-2)}
.admin-layout .admin-table{border-collapse:separate;border-spacing:0;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:15px;overflow:hidden}
.admin-layout .admin-table thead th{background:var(--ui-surface-2);color:var(--ui-text);border-bottom:1px solid var(--ui-line);font-weight:800}
.admin-layout .admin-table tbody td{color:var(--ui-text);border-bottom:1px solid var(--ui-line)}
.admin-layout .admin-table tbody tr:last-child td{border-bottom:0}
.admin-layout .admin-table tbody tr:hover td{background:color-mix(in srgb,var(--ui-gold) 5%,var(--ui-surface))}
.admin-layout .data-grid-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px;margin-bottom:10px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface-2);box-shadow:var(--ui-shadow-soft)}
.admin-layout .data-grid-search{flex:1;min-width:190px}
.admin-layout .data-grid-count{color:var(--ui-muted);font-size:11px;font-weight:700}
.admin-layout .sortable{cursor:pointer;user-select:none}
.admin-layout .sortable:focus-visible{outline:2px solid var(--ui-gold);outline-offset:-2px}
.admin-layout .sort-indicator{display:inline-block;margin-right:6px;color:var(--ui-gold-strong)}
.admin-layout .stats-grid{gap:14px}
.admin-layout .stat-card{border:1px solid var(--ui-line);background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft);border-radius:16px}
.admin-layout .stat-card strong{color:var(--ui-gold-strong)}
.admin-layout .admin-mobile-menu{border-radius:12px;box-shadow:var(--ui-shadow)}
.admin-layout .admin-mobile-backdrop{background:color-mix(in srgb,var(--ui-bg) 72%,transparent)!important;backdrop-filter:blur(8px)}
@media(max-width:900px){
 .admin-page{padding:13px 10px 30px}
 .admin-title{align-items:flex-start;flex-direction:column;gap:8px}
 .admin-layout .data-grid-toolbar{position:sticky;top:0;z-index:12}
 .admin-layout .admin-table{font-size:12px}
}
@media(max-width:600px){
 .admin-header{min-height:64px;padding:10px}
 .admin-header-actions{gap:6px!important}
 .admin-status-badge,.admin-user-badge{display:none}
 .admin-page{padding:10px 8px 28px}
 .admin-page>.panel,.admin-page .panel,.admin-page .card{border-radius:15px}
 .admin-layout .data-grid-toolbar{padding:8px;gap:7px}
 .admin-layout .data-grid-search{min-width:100%;order:-1}
 .admin-layout .data-grid-count{flex:1}
 .admin-layout .data-grid-clear{min-height:38px}
}

.referral-apply{margin-top:16px;padding-top:16px;border-top:1px solid var(--ui-line)}
.referral-apply-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}
.referral-apply-input{width:100%;min-height:46px;padding:10px 13px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface-2);color:var(--ui-text);text-align:center;letter-spacing:.08em;font-weight:800;outline:none}
.referral-apply-input:focus{border-color:var(--ui-gold);box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold) 12%,transparent)}
.referral-apply-message{display:block;min-height:20px;margin-top:7px;color:var(--ui-gold-strong);font-size:10px;line-height:1.8}
.ga-notification-hint{position:fixed;top:calc(82px + env(safe-area-inset-top));right:18px;z-index:99990;width:min(390px,calc(100vw - 36px));display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:14px 15px;border:1px solid color-mix(in srgb,var(--ui-gold) 38%,var(--ui-line));border-radius:17px;background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));color:var(--ui-text);box-shadow:0 20px 55px rgba(0,0,0,.28);animation:ga-notify-in .35s var(--ui-ease)}
.ga-notification-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:var(--ui-gold-strong);background:color-mix(in srgb,var(--ui-gold) 10%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-gold) 25%,var(--ui-line))}
.ga-notification-hint strong{display:block;font-size:12px;color:var(--ui-gold-strong)}
.ga-notification-hint p{margin:3px 0 0;color:var(--ui-muted);font-size:11px;line-height:1.8}
.ga-notification-hint button{border:0;background:transparent;color:var(--ui-muted);font-size:20px;line-height:1;padding:0;cursor:pointer}
@keyframes ga-notify-in{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:560px){
 .referral-url-row{grid-template-columns:1fr}.referral-copy-btn{width:100%}
 .referral-apply-row{grid-template-columns:minmax(0,1fr) auto}.referral-apply-row .btn{width:100%}.referral-paste-btn{min-width:48px;padding-inline:12px}.referral-paste-btn span{display:none}
 .ga-notification-hint{top:calc(72px + env(safe-area-inset-top));right:10px;width:calc(100vw - 20px)}
}


/* Mobile/PWA release readiness */
.mobile-update-hint{position:fixed;right:18px;left:18px;bottom:18px;z-index:120;display:flex;align-items:center;gap:14px;padding:15px 16px;border:1px solid var(--ga-line);border-radius:18px;background:color-mix(in srgb,var(--ga-surface) 94%,transparent);box-shadow:0 20px 60px rgba(0,0,0,.28);backdrop-filter:blur(18px);direction:rtl}.mobile-update-hint>div{flex:1;min-width:0;display:grid;gap:2px}.mobile-update-hint strong{font-size:14px;color:var(--ga-text)}.mobile-update-hint span{font-size:12px;color:var(--ga-muted)}.mobile-update-close{width:34px;height:34px;border:1px solid var(--ga-line);border-radius:50%;background:transparent;color:var(--ga-muted);font-size:20px;line-height:1}.native-update-hint{border-color:color-mix(in srgb,var(--ga-gold) 55%,var(--ga-line))}@media(max-width:600px){.mobile-update-hint{right:10px;left:10px;bottom:max(10px,env(safe-area-inset-bottom));padding:13px;gap:9px;align-items:flex-end}.mobile-update-hint .btn{padding:8px 11px;white-space:nowrap}.mobile-update-hint span{font-size:11px}}


/* ============================================================
   GilasArt — FINAL THEME CONSISTENCY PATCH
   One semantic token system for light/dark; fixes legacy hard-coded
   dark surfaces that were overriding the theme on later components.
   ============================================================ */

:root{
  --theme-bg:#0b0b0d;
  --theme-surface:#121216;
  --theme-surface-2:#18181d;
  --theme-surface-3:#202027;
  --theme-text:#f7f3eb;
  --theme-muted:#aaa49b;
  --theme-line:rgba(255,255,255,.09);
  --theme-soft:rgba(255,255,255,.035);
  --theme-overlay:rgba(0,0,0,.72);
  --theme-input:#0f0f13;
}

:root[data-theme="light"]{
  --theme-bg:#f6f3ed;
  --theme-surface:#fffdfa;
  --theme-surface-2:#f1ede5;
  --theme-surface-3:#e8e1d6;
  --theme-text:#25221e;
  --theme-muted:#6f6a61;
  --theme-line:rgba(54,45,32,.13);
  --theme-soft:rgba(54,45,32,.035);
  --theme-overlay:rgba(32,27,21,.58);
  --theme-input:#fffefa;
}

/* Native controls follow the active user-selected theme. */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
html,body{background-color:var(--theme-bg);color:var(--theme-text)}
body{background:radial-gradient(900px 420px at 85% -10%,color-mix(in srgb,var(--ui-gold) 12%,transparent),transparent 65%),var(--theme-bg)}

/* Shared surfaces */
.card,.panel,.chart-box,
.product-card,.product-item,
.dashboard-panel,.dashboard-kpi,
.category-card,.home-intro,
.cms-rich,.cms-card,.cms-contact-aside,
.filter-panel,.product-gallery,
.product-info .panel,.cart-items-panel,.cart-section,.cart-trust,
.customer-order-card,.invoice-settings,
.flash-section,.support-hero,
.admin-layout .card,.admin-layout .panel,.admin-layout .chart-box{
  color:var(--theme-text);
  border-color:var(--theme-line);
}

.form input,.form select,.form textarea,.search,
.product-option select,.data-grid-search,
.cart-coupon input,.cart-address-grid input,.cart-address-grid textarea,
.admin-layout input,.admin-layout textarea,.admin-layout select,
.attribute-option-row input,.inline-option-form input:not([type=checkbox]),
.product-option select{
  background:var(--theme-input)!important;
  color:var(--theme-text)!important;
  border-color:var(--theme-line)!important;
}

.form input::placeholder,.form textarea::placeholder,.search::placeholder,
.cart-coupon input::placeholder,.cart-address-grid input::placeholder,
.cart-address-grid textarea::placeholder{color:var(--theme-muted)}

.notice,.pill,.cart-coupon,.cart-mobile-field,.data-grid-toolbar,
.otp-loading,.dashboard-order,.dashboard-stock,.order-detail-grid>div,
.order-item,.order-history-row,.customer-order-summary>div{
  background:color-mix(in srgb,var(--theme-surface-2) 78%,transparent);
  color:var(--theme-text);
  border-color:var(--theme-line);
}

/* Header / navigation */
.top,.admin-header{
  background:color-mix(in srgb,var(--theme-bg) 90%,transparent);
  border-color:var(--theme-line);
}
.theme-toggle,.iconbtn,.mobile-menu-toggle{
  background:var(--theme-surface);
  color:var(--theme-text);
  border-color:var(--theme-line);
}

/* Mobile admin drawer had a hard-coded dark !important background. */
.admin-layout .admin-sidebar#admin-mobile-drawer{
  background:var(--theme-surface)!important;
  color:var(--theme-text)!important;
  border-color:var(--theme-line)!important;
}
.admin-layout .admin-sidebar#admin-mobile-drawer a,
.admin-layout .admin-sidebar#admin-mobile-drawer span{color:var(--theme-text)}
.admin-layout .admin-sidebar#admin-mobile-drawer .admin-nav-label{color:var(--theme-muted)}
.admin-layout .admin-sidebar#admin-mobile-drawer .admin-nav-icon{color:var(--theme-muted)}
.admin-layout .admin-sidebar#admin-mobile-drawer a:hover{
  background:color-mix(in srgb,var(--ui-gold) 9%,var(--theme-surface));
}
.admin-mobile-backdrop{background:var(--theme-overlay)}

/* Legacy dark-only overlays / widgets */
.media-picker-modal{background:var(--theme-overlay)}
.media-picker-panel{background:var(--theme-surface);color:var(--theme-text);border-color:color-mix(in srgb,var(--ui-gold) 35%,var(--theme-line))}
.media-pick{background:var(--theme-surface-2);color:var(--theme-text);border-color:var(--theme-line)}
.media-pick img{background:var(--theme-surface)}

.gilasart-captcha .math-captcha{
  background:color-mix(in srgb,var(--theme-surface-2) 82%,transparent);
  border-color:var(--theme-line);
  color:var(--theme-text);
}
.gilasart-captcha .math-answer{
  background:var(--theme-input)!important;
  color:var(--theme-text)!important;
  border-color:var(--theme-line)!important;
}

/* Support ticket form — responsive, accessible, touch-friendly */
.support-portal{padding-bottom:48px}
.ticket-form-panel{overflow:hidden}
.ticket-form-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid var(--ui-line)}
.ticket-form-intro h2{margin:5px 0 8px;display:flex;align-items:center;gap:8px}
.ticket-form-intro p{margin:0;max-width:760px;line-height:1.9}
.ticket-form-badge{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:color-mix(in srgb,var(--ui-gold) 10%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-gold) 30%,var(--ui-line));color:var(--ui-gold-strong);font-size:12px;font-weight:800}
.ticket-form{gap:18px}
.ticket-form-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr) minmax(220px,.8fr);gap:14px}
.ticket-field{display:grid;gap:8px;min-width:0;position:relative}
.ticket-field>span{font-size:13px;font-weight:800;color:var(--ui-text)}
.ticket-field input,.ticket-field select,.ticket-field textarea{width:100%;min-width:0;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface-2);color:var(--ui-text);padding:13px 14px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.ticket-field input,.ticket-field select{min-height:50px}
.ticket-field textarea{min-height:190px;resize:vertical;line-height:2}
.ticket-field input::placeholder,.ticket-field textarea::placeholder{color:var(--ui-muted);opacity:.72}
.ticket-field input:focus,.ticket-field select:focus,.ticket-field textarea:focus{border-color:color-mix(in srgb,var(--ui-gold) 65%,var(--ui-line));box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-gold) 10%,transparent);background:var(--ui-surface)}
.ticket-field-wide{min-width:0}
.ticket-counter{justify-self:end;margin-top:-3px;color:var(--ui-muted);font-size:11px;direction:rtl}
.ticket-form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:4px}
.ticket-form-note{color:var(--ui-muted);font-size:12px;line-height:1.8}
.ticket-submit{min-height:50px;padding-inline:22px;white-space:nowrap}
.ticket-submit[disabled]{opacity:.65;cursor:wait}
.ticket-submit[aria-busy=true] svg{animation:ticketSendSpin .8s linear infinite}
.ticket-empty{display:grid;gap:6px;padding:22px;border:1px dashed var(--ui-line);border-radius:16px;color:var(--ui-muted)}
.ticket-empty strong{color:var(--ui-text)}
@keyframes ticketSendSpin{to{transform:rotate(360deg)}}
.support-detail .sectionhead{align-items:flex-start}
.support-detail .ticket-thread{padding:4px}
@media(max-width:900px){
 .ticket-form-grid{grid-template-columns:1fr 1fr}
 .ticket-field-wide{grid-column:1/-1}
}
@media(max-width:650px){
 .support-hero{gap:14px}
 .support-hero h1{font-size:clamp(22px,7vw,30px)}
 .ticket-form-intro{display:grid;gap:12px}
 .ticket-form-badge{justify-self:start}
 .ticket-form-grid{grid-template-columns:1fr;gap:12px}
 .ticket-field-wide{grid-column:auto}
 .ticket-field input,.ticket-field select{min-height:52px;font-size:16px}
 .ticket-field textarea{min-height:220px;font-size:16px}
 .ticket-form-actions{display:grid;grid-template-columns:1fr;align-items:stretch}
 .ticket-form-note{order:2}
 .ticket-submit{width:100%;min-height:54px}
}
@media(max-width:420px){
 .support-hero{padding:18px}
 .support-orb{flex:0 0 54px}
 .ticket-form-panel,.support-portal .panel{border-radius:20px}
 .ticket-form{gap:15px}
 .ticket-field textarea{min-height:200px}
}

/* Admin support reply controls */
.admin-ticket-reply-form{gap:14px}
.ticket-sms-toggle{width:fit-content!important;min-height:44px;padding:9px 12px;border-radius:12px;background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-gold) 20%,var(--ui-line));cursor:pointer}
.ticket-sms-toggle span{font-weight:700}
.admin-ticket-reply-form textarea{min-height:170px;resize:vertical;line-height:2}


/* Support FAQ manager */
.support-faq-first{position:relative;margin-top:18px}
.admin-modal-backdrop{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.68);backdrop-filter:blur(8px)}
.admin-modal{width:min(1100px,100%);max-height:min(88vh,900px);overflow:auto;background:var(--ui-surface,#151519);color:var(--ui-text,#f6f2ea);border:1px solid var(--ui-line,#2b2a2d);border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.4)}
.admin-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px;border-bottom:1px solid var(--ui-line)}
.admin-modal-head h3{margin:4px 0}.admin-modal-head p{margin:0}
.faq-manager-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px;padding:18px}
.faq-manager-list{display:grid;gap:10px;align-content:start}.faq-manager-item{border:1px solid var(--ui-line);border-radius:16px;padding:14px;background:var(--ui-surface-2)}
.faq-manager-item-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.faq-manager-item p{white-space:pre-wrap;color:var(--ui-muted);margin:8px 0}
.faq-manager-item-actions{display:flex;gap:8px;margin-top:12px}.faq-manager-form{align-self:start;position:sticky;top:0;padding:16px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-surface-2)}
.faq-manager-form textarea{min-height:180px}.faq-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
@media(max-width:760px){.faq-manager-body{grid-template-columns:1fr}.faq-manager-form{position:static}.admin-modal-backdrop{padding:8px}.admin-modal{max-height:94vh}.admin-modal-head{padding:16px}.faq-manager-body{padding:10px}.admin-title{align-items:flex-start;gap:10px}.admin-title .btn{white-space:nowrap}}


/* GilasArt — celestial Islamic 404 */
.gilas-404{min-height:calc(100vh - 40px);position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;padding:34px 18px;background:radial-gradient(circle at 50% 38%,rgba(217,164,65,.16),transparent 23%),radial-gradient(circle at 18% 18%,rgba(82,103,170,.15),transparent 26%),linear-gradient(135deg,#030712 0%,#07101f 48%,#02040b 100%);color:#f7f0df}
.gilas-404:before,.gilas-404:after{content:"";position:absolute;inset:-20%;z-index:-3;background-image:radial-gradient(circle,rgba(255,255,255,.9) 0 1px,transparent 1.5px);background-size:83px 91px;opacity:.32;transform:rotate(8deg)}
.gilas-404:after{background-size:137px 119px;opacity:.18;transform:rotate(-13deg);animation:g404drift 22s linear infinite}
.g404-stars{position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 73% 27%,rgba(217,164,65,.18) 0 1px,transparent 2px),radial-gradient(circle at 27% 73%,rgba(255,255,255,.25) 0 1px,transparent 2px);background-size:180px 160px}
.g404-orbit{position:absolute;border:1px solid rgba(217,164,65,.2);border-radius:50%;width:min(74vw,700px);height:min(74vw,700px);transform:rotate(-25deg);box-shadow:0 0 40px rgba(217,164,65,.04)}
.g404-orbit-a:after,.g404-orbit-b:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#d9a441;box-shadow:0 0 18px #d9a441;top:7%;left:19%}
.g404-orbit-b{width:min(54vw,510px);height:min(54vw,510px);transform:rotate(38deg);border-color:rgba(196,113,69,.16)}
.g404-orbit-b:after{background:#b96d48;box-shadow:0 0 18px #b96d48;top:80%;left:76%}
.g404-card{width:min(720px,100%);text-align:center;padding:42px 28px 28px;border:1px solid rgba(217,164,65,.28);border-radius:30px;background:linear-gradient(145deg,rgba(8,17,32,.84),rgba(3,7,15,.72));box-shadow:0 30px 100px rgba(0,0,0,.5),inset 0 1px rgba(255,255,255,.06);backdrop-filter:blur(12px);position:relative}
.g404-card:before{content:"";position:absolute;inset:10px;border:1px solid rgba(217,164,65,.1);border-radius:23px;pointer-events:none}
.g404-emblem{width:116px;height:116px;margin:-88px auto 16px;position:relative;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#1b1a19,#070b13 68%);border:1px solid rgba(217,164,65,.4);box-shadow:0 0 0 8px rgba(217,164,65,.035),0 0 55px rgba(217,164,65,.16)}
.g404-emblem img{width:78px;height:auto;position:relative;z-index:2}.g404-emblem-ring{position:absolute;inset:-9px;border:1px solid rgba(194,103,58,.42);border-radius:50%;border-top-color:transparent;transform:rotate(25deg)}
.g404-number{font-size:clamp(82px,18vw,156px);line-height:.88;font-weight:900;letter-spacing:-.06em;color:transparent;background:linear-gradient(120deg,#f6e2a7,#d9a441 42%,#a94f32 78%,#f3d88f);-webkit-background-clip:text;background-clip:text;text-shadow:0 0 45px rgba(217,164,65,.14);font-family:inherit}
.g404-card h1{font-size:clamp(24px,4vw,38px);margin:12px 0 10px}.g404-card>p{color:#c9c5bb;line-height:2;font-size:15px;margin:0 auto 24px;max-width:590px}
.g404-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.g404-shop{min-width:190px}.g404-divider{display:flex;align-items:center;gap:12px;justify-content:center;margin-top:26px;color:#bda875;font-size:12px}.g404-divider span{height:1px;width:70px;background:linear-gradient(90deg,transparent,rgba(217,164,65,.45))}
.g404-divider span:last-child{background:linear-gradient(90deg,rgba(217,164,65,.45),transparent)}.g404-motif{position:absolute;bottom:22px;color:rgba(217,164,65,.42);letter-spacing:8px;font-size:18px}
.g404-arabesque{position:absolute;inset:5%;pointer-events:none;opacity:.14}.g404-arabesque span{position:absolute;width:170px;height:170px;border:1px solid #d9a441;transform:rotate(45deg);border-radius:42% 8%;}.g404-arabesque span:nth-child(1){top:4%;right:3%}.g404-arabesque span:nth-child(2){top:9%;right:8%;transform:rotate(45deg) scale(.72)}.g404-arabesque span:nth-child(3){bottom:4%;left:3%}.g404-arabesque span:nth-child(4){bottom:9%;left:8%;transform:rotate(45deg) scale(.72)}
@keyframes g404drift{to{transform:rotate(347deg) translate(20px,10px)}}@media(max-width:600px){.gilas-404{min-height:100vh;padding:55px 12px}.g404-card{padding:34px 17px 22px;border-radius:24px}.g404-emblem{width:94px;height:94px;margin:-72px auto 12px}.g404-emblem img{width:64px}.g404-card>p{font-size:14px;line-height:1.9}.g404-orbit{width:110vw;height:110vw}.g404-number{font-size:100px}.g404-arabesque{opacity:.1}}
@media(prefers-reduced-motion:reduce){.gilas-404:after{animation:none}}


/* ============================================================
   GILAS ART — PREMIUM FOOTER / RTL GALLERY SYSTEM
   ============================================================ */
.footer{
  position:relative;
  margin-top:clamp(42px,6vw,78px);
  padding:0;
  color:var(--theme-text,var(--text));
  background:linear-gradient(180deg,color-mix(in srgb,var(--theme-surface, #121216) 96%,transparent),var(--theme-bg,#0b0b0d));
  border-top:1px solid color-mix(in srgb,var(--ui-gold,#c9a86a) 24%,var(--theme-line,#2a292d));
  overflow:hidden;
}
.footer:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent 3%,color-mix(in srgb,var(--ui-gold,#c9a86a) 55%,transparent),transparent 97%);pointer-events:none}
.footer .wrap{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.footer-grid-refined{
  display:grid;
  grid-template-columns:minmax(1.25fr,1.45fr) repeat(3,minmax(0,1fr));
  gap:0;
  padding:46px 0 38px;
}
.footer-grid-refined>section,.footer-grid-refined>nav{
  min-width:0;
  padding:0 26px;
  border-inline-start:1px solid var(--theme-line,#2a292d);
  text-align:right;
}
.footer-grid-refined>section:first-child{border-inline-start:0;padding-inline-start:0}
.footer-grid-refined>nav:last-child,.footer-grid-refined>section:last-child{padding-inline-end:0}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}
.footer-brand>strong{font-size:clamp(21px,2vw,27px);font-weight:900;letter-spacing:-.02em;color:var(--theme-text,#f5f1ea)}
.footer-brand>strong:after{content:"";display:block;width:48px;height:2px;margin-top:12px;border-radius:2px;background:linear-gradient(90deg,var(--ui-gold,#c9a86a),transparent)}
.footer-brand>p{margin:16px 0 7px;color:var(--ui-gold-strong,#e2c891);font-weight:800;line-height:1.9}
.footer-caption{max-width:280px;color:var(--theme-muted,#aaa39a);font-size:12px;line-height:2;text-align:right}
.footer-grid-refined>nav>strong,.footer-grid-refined>section>strong{display:block;margin:2px 0 18px;color:var(--theme-text,#f5f1ea);font-size:13px;font-weight:900;position:relative;padding-bottom:11px}
.footer-grid-refined>nav>strong:after,.footer-grid-refined>section>strong:after{content:"";position:absolute;right:0;bottom:0;width:34px;height:1px;background:var(--ui-gold,#c9a86a);opacity:.7}
.footer-links{display:flex;flex-direction:column;gap:5px}
.footer-links a{display:block;padding:8px 0;color:var(--theme-muted,#aaa39a);text-decoration:none;font-size:12px;line-height:1.8;transition:color .18s ease,transform .18s ease}
.footer-links a:hover{color:var(--ui-gold-strong,#e2c891);transform:translateX(-3px)}
.footer-social-list{display:grid;gap:5px}
.footer-social-link{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:38px;padding:5px 0;color:var(--theme-muted,#aaa39a);text-decoration:none;font-size:12px;border-radius:9px;transition:color .18s ease,background .18s ease,padding .18s ease}
.footer-social-link:hover{color:var(--theme-text,#f5f1ea);background:color-mix(in srgb,var(--ui-gold,#c9a86a) 6%,transparent);padding-inline:7px}
.footer-social-icon{width:29px;height:29px;display:grid;place-items:center;flex:0 0 29px;border:1px solid var(--theme-line,#2a292d);border-radius:9px;background:var(--theme-surface-2,#18181d)}
.footer-social-icon img{width:15px;height:15px;object-fit:contain}
.footer-trust .trust-badges{display:flex;flex-direction:column;align-items:flex-start;gap:10px;color:var(--theme-muted,#aaa39a);font-size:11px;line-height:1.8}
.footer-trust .trust-badges>a{display:grid;place-items:center;min-width:88px;min-height:88px;padding:8px;border:1px solid color-mix(in srgb,var(--ui-gold,#c9a86a) 28%,var(--theme-line,#2a292d));border-radius:14px;background:var(--theme-surface-2,#18181d)}
.footer-trust .trust-badges img{display:block;max-width:72px;height:auto}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0 calc(20px + env(safe-area-inset-bottom));border-top:1px solid var(--theme-line,#2a292d);color:var(--theme-muted,#aaa39a);font-size:10px;line-height:1.8}
.footer-bottom span+span{padding-inline-start:18px;border-inline-start:1px solid var(--theme-line,#2a292d)}
@media(max-width:900px){
 .footer-grid-refined{grid-template-columns:1.2fr 1fr 1fr;}
 .footer-brand{grid-column:1/-1;padding:0 0 28px!important;margin-bottom:28px;border-inline:0!important;border-bottom:1px solid var(--theme-line,#2a292d)}
 .footer-grid-refined>nav,.footer-grid-refined>section{padding-inline:18px}
 .footer-grid-refined>nav:nth-child(2){border-inline-start:0}
}
@media(max-width:600px){
 .footer{margin-top:34px}
 .footer .wrap{width:min(100% - 24px,1180px)}
 .footer-grid-refined{grid-template-columns:1fr 1fr;gap:0;padding:32px 0 24px}
 .footer-brand{grid-column:1/-1;padding-bottom:22px!important;margin-bottom:22px}
 .footer-grid-refined>nav,.footer-grid-refined>section{padding-inline:12px}
 .footer-grid-refined>nav:nth-child(2){padding-inline-start:0}
 .footer-grid-refined>section:nth-child(3){border-inline-start:1px solid var(--theme-line,#2a292d)}
 .footer-trust{grid-column:1/-1;margin-top:22px;padding:22px 0 0!important;border-inline:0!important;border-top:1px solid var(--theme-line,#2a292d);align-items:flex-start}
 .footer-trust .trust-badges{flex-direction:row;align-items:center}
 .footer-bottom{display:grid;grid-template-columns:1fr;justify-items:center;text-align:center;gap:5px;padding-top:14px}
 .footer-bottom span+span{padding-inline-start:0;border-inline-start:0}
}
@media(max-width:380px){
 .footer-grid-refined{grid-template-columns:1fr}
 .footer-grid-refined>nav,.footer-grid-refined>section{border-inline:0!important;border-top:1px solid var(--theme-line,#2a292d);padding:20px 0!important}
 .footer-grid-refined>nav:first-of-type{border-top:0}
 .footer-trust{margin-top:0}
}


/* ============================================================
   GILAS ART — FINAL FOOTER SYSTEM v2
   Canonical override for all legacy footer rules.
   ============================================================ */
.footer{
  position:relative!important;
  isolation:isolate;
  margin-top:clamp(48px,7vw,88px)!important;
  padding:0!important;
  overflow:hidden;
  color:var(--ui-text,var(--text));
  background:
    radial-gradient(620px 260px at 82% 0,color-mix(in srgb,var(--ui-gold) 9%,transparent),transparent 72%),
    linear-gradient(180deg,var(--ui-surface-2),var(--ui-bg))!important;
  border-top:1px solid color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line))!important;
}
.footer::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--ui-gold) 7%,transparent) 50%,transparent 100%);
  opacity:.7;
}
.footer::after{
  content:"";
  position:absolute;
  width:380px;
  height:220px;
  left:-190px;
  bottom:-150px;
  border:1px solid color-mix(in srgb,var(--ui-gold) 15%,transparent);
  border-radius:58% 42% 61% 39%;
  transform:rotate(-18deg);
  pointer-events:none;
}
.footer .wrap{
  width:min(1180px,calc(100% - 32px));
  margin-inline:auto;
}
.footer-grid-refined{
  position:relative;
  z-index:1;
  display:grid!important;
  grid-template-columns:minmax(260px,1.45fr) repeat(3,minmax(0,1fr));
  gap:0!important;
  padding:52px 0 42px!important;
}
.footer-grid-refined>section,
.footer-grid-refined>nav{
  min-width:0;
  min-height:188px;
  padding:4px 26px!important;
  border-inline-start:1px solid var(--ui-line)!important;
  text-align:right;
}
.footer-grid-refined>section:first-child{
  border-inline-start:0!important;
  padding-inline-start:0!important;
}
.footer-grid-refined>section:last-child{
  padding-inline-end:0!important;
}
.footer-brand{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}
.footer-brand>strong{
  display:block;
  color:var(--ui-text);
  font-size:clamp(22px,2.2vw,29px);
  line-height:1.3;
  font-weight:900;
  letter-spacing:-.4px;
}
.footer-brand>strong::after{
  content:"";
  display:block;
  width:58px;
  height:2px;
  margin-top:13px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--ui-gold-strong),transparent);
}
.footer-brand>p{
  margin:17px 0 7px;
  color:var(--ui-gold-strong);
  font-size:14px;
  font-weight:800;
  line-height:1.9;
}
.footer-caption{
  display:block;
  max-width:310px;
  color:var(--ui-muted);
  font-size:12px;
  line-height:2;
  text-align:right;
}
.footer-grid-refined>nav>strong,
.footer-grid-refined>section>strong{
  display:block;
  position:relative;
  margin:2px 0 15px;
  padding-bottom:10px;
  color:var(--ui-text);
  font-size:13px;
  font-weight:900;
  line-height:1.6;
}
.footer-grid-refined>nav>strong::after,
.footer-grid-refined>section>strong::after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:36px;
  height:1px;
  background:var(--ui-gold);
  opacity:.75;
}
.footer-links{
  display:flex!important;
  flex-direction:column;
  align-items:stretch;
  gap:1px;
}
.footer-links a{
  display:flex;
  align-items:center;
  width:100%!important;
  min-height:37px;
  padding:5px 8px!important;
  border-radius:9px;
  color:var(--ui-muted);
  font-size:12px;
  line-height:1.8;
  transition:color .18s ease,background .18s ease,transform .18s ease;
}
.footer-links a::before{
  content:"‹";
  margin-inline-end:7px;
  color:var(--ui-gold);
  opacity:.55;
  transition:transform .18s ease,opacity .18s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible{
  color:var(--ui-text);
  background:color-mix(in srgb,var(--ui-gold) 7%,transparent);
  transform:none;
}
.footer-links a:hover::before,
.footer-links a:focus-visible::before{
  opacity:1;
  transform:translateX(-2px);
}
.footer-social-list{
  display:grid!important;
  gap:3px;
}
.footer-social-link{
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  width:100%!important;
  min-height:39px;
  padding:4px 7px!important;
  gap:9px;
  border-radius:10px;
  color:var(--ui-muted);
  font-size:12px;
  transition:color .18s ease,background .18s ease;
}
.footer-social-link:hover,
.footer-social-link:focus-visible{
  color:var(--ui-text);
  background:color-mix(in srgb,var(--ui-gold) 7%,transparent);
}
.footer-social-icon{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:grid;
  place-items:center;
  border:1px solid var(--ui-line);
  border-radius:9px;
  background:var(--ui-surface);
}
.footer-social-icon img{
  width:16px;
  height:16px;
  object-fit:contain;
}
.footer-trust .trust-badges{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
}
.footer-trust .trust-badges>a{
  display:grid!important;
  place-items:center;
  width:92px;
  height:92px;
  min-width:92px;
  padding:7px;
  border:1px solid color-mix(in srgb,var(--ui-gold) 30%,var(--ui-line));
  border-radius:15px;
  background:var(--ui-surface);
  box-shadow:inset 0 1px color-mix(in srgb,#fff 7%,transparent);
}
.footer-trust .trust-badges img{
  display:block;
  width:auto;
  max-width:76px;
  max-height:76px;
  height:auto;
}
.footer-trust .trust-badges>span{
  color:var(--ui-muted);
  font-size:10px;
}
.footer-bottom{
  position:relative;
  z-index:1;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:58px;
  padding:15px 0 calc(15px + env(safe-area-inset-bottom))!important;
  border-top:1px solid var(--ui-line)!important;
  color:var(--ui-muted);
  font-size:10px;
  line-height:1.8;
}
.footer-bottom span{
  min-width:0;
}
.footer-bottom span+span{
  padding-inline-start:18px;
  border-inline-start:1px solid var(--ui-line);
}
:root[data-theme="light"] .footer{
  background:
    radial-gradient(620px 260px at 82% 0,rgba(160,112,35,.09),transparent 72%),
    linear-gradient(180deg,#f4efe5,#fbfaf7)!important;
}
:root[data-theme="light"] .footer-social-icon,
:root[data-theme="light"] .footer-trust .trust-badges>a{
  background:rgba(255,255,255,.72);
}
@media(max-width:980px){
  .footer-grid-refined{
    grid-template-columns:1.2fr 1fr!important;
  }
  .footer-grid-refined>section,
  .footer-grid-refined>nav{
    min-height:178px;
    padding-inline:22px!important;
  }
  .footer-grid-refined>section:nth-child(2n+1){
    border-inline-start:0!important;
    padding-inline-start:0!important;
  }
  .footer-grid-refined>section:nth-child(n+3),
  .footer-grid-refined>nav:nth-child(n+3){
    margin-top:26px;
    padding-top:26px!important;
    border-top:1px solid var(--ui-line)!important;
  }
}
@media(max-width:600px){
  .footer{
    margin-top:38px!important;
  }
  .footer .wrap{
    width:min(100% - 22px,1180px);
  }
  .footer-grid-refined{
    grid-template-columns:1fr!important;
    padding:34px 0 22px!important;
  }
  .footer-grid-refined>section,
  .footer-grid-refined>nav{
    min-height:0;
    padding:22px 0!important;
    border-inline:0!important;
    border-top:1px solid var(--ui-line)!important;
  }
  .footer-grid-refined>section:first-child{
    padding-top:0!important;
    padding-bottom:25px!important;
    border-top:0!important;
  }
  .footer-grid-refined>section:nth-child(2),
  .footer-grid-refined>nav:nth-child(2){
    margin-top:0;
    padding-top:22px!important;
  }
  .footer-grid-refined>section:nth-child(n+3),
  .footer-grid-refined>nav:nth-child(n+3){
    margin-top:0;
  }
  .footer-trust .trust-badges{
    flex-direction:row!important;
    align-items:center;
  }
  .footer-bottom{
    min-height:0;
    display:grid!important;
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
    gap:4px;
    padding:14px 0 calc(15px + env(safe-area-inset-bottom))!important;
  }
  .footer-bottom span+span{
    padding-inline-start:0;
    border-inline-start:0;
  }
}
@media(prefers-reduced-motion:reduce){
  .footer-links a,.footer-links a::before,.footer-social-link{transition:none}
}


/* ============================================================
   GilasArt Account / OTP — Production UX layer
   Scoped to account authentication + reward notification only.
   ============================================================ */
.auth-page{padding:clamp(28px,6vw,72px) 0 90px;min-height:calc(100dvh - 150px);display:grid;place-items:center;direction:rtl}
.login-panel{position:relative;width:min(100%,560px);overflow:hidden;padding:clamp(22px,5vw,42px);border-radius:28px;background:radial-gradient(700px 260px at 15% 0,color-mix(in srgb,var(--ui-gold) 11%,transparent),transparent 65%),linear-gradient(145deg,var(--theme-surface-2),var(--theme-surface));box-shadow:0 26px 80px rgba(0,0,0,.22)}
.login-aurora{position:absolute;inset:-30% -20% auto;height:260px;background:radial-gradient(circle at 30% 20%,color-mix(in srgb,var(--ui-gold) 13%,transparent),transparent 42%),radial-gradient(circle at 75% 0%,rgba(116,76,180,.10),transparent 42%);filter:blur(18px);pointer-events:none}
.auth-brand{position:relative;text-align:center;margin-bottom:26px}.auth-brand .profile-avatar{margin:0 auto 12px}.auth-brand h1{margin:6px 0 8px;font-size:clamp(24px,5vw,34px);line-height:1.35}.auth-brand p{margin:0 auto;max-width:430px;font-size:13px}
.auth-form{position:relative;gap:14px}.auth-form label{display:grid;gap:7px;color:var(--theme-muted);font-size:13px}.auth-form input{min-height:52px;border-radius:14px;font-size:17px}.auth-mobile-field input{direction:ltr;text-align:center;letter-spacing:.08em;font-variant-numeric:tabular-nums}.auth-referral-field input{direction:ltr;text-align:center;letter-spacing:.07em;text-transform:uppercase}.auth-send{min-height:52px;width:100%;justify-content:center;display:inline-flex;align-items:center;gap:8px}.auth-send svg,.otp-verify svg,.resend-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.auth-trust{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;margin-top:20px;color:var(--theme-muted);font-size:11px}.auth-trust span{display:inline-flex;align-items:center;gap:5px}.auth-trust span::before{content:"✓";color:var(--ui-success)}
.auth-inline-error{margin-top:10px;padding:11px 13px;border-radius:12px;border:1px solid color-mix(in srgb,var(--ui-danger) 28%,var(--ui-line));background:color-mix(in srgb,var(--ui-danger) 7%,var(--theme-surface));color:var(--ui-danger);font-size:12px;line-height:1.8}
.auth-loading{min-height:150px;display:grid;place-items:center;text-align:center;gap:6px;padding:24px;border-radius:16px}.auth-loading strong{font-size:14px;color:var(--theme-text)}.auth-loading small{color:var(--theme-muted);font-size:11px}.auth-spinner{width:28px;height:28px;border:2px solid var(--ui-line);border-top-color:var(--ui-gold);border-radius:50%;animation:ga-auth-spin .8s linear infinite}@keyframes ga-auth-spin{to{transform:rotate(360deg)}}
.auth-otp-panel{margin-top:8px;padding:clamp(16px,4vw,24px);border:1px solid var(--theme-line);border-radius:20px;background:color-mix(in srgb,var(--theme-surface-2) 86%,transparent);box-shadow:0 16px 45px rgba(0,0,0,.12)}
.otp-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.otp-topline>div{display:grid;gap:2px;min-width:0}.otp-topline strong{font-size:17px;color:var(--theme-text)}.otp-topline small{color:var(--theme-muted);font-size:11px}.otp-count{flex:0 0 auto;min-width:72px;padding:7px 10px;border:1px solid color-mix(in srgb,var(--ui-gold) 30%,var(--theme-line));border-radius:999px;text-align:center;color:var(--ui-gold-strong);font-weight:800;font-variant-numeric:tabular-nums;direction:ltr}
.otp-boxes{display:flex;direction:ltr;justify-content:center;gap:clamp(6px,2vw,11px);margin:18px 0 20px}.otp-digit{width:clamp(42px,10vw,58px)!important;height:clamp(50px,12vw,62px);min-height:0!important;padding:0!important;border-radius:14px!important;border:1px solid var(--theme-line)!important;background:var(--theme-input)!important;color:var(--theme-text)!important;text-align:center;font-size:clamp(20px,5vw,27px)!important;font-weight:800;line-height:1;direction:ltr;caret-color:var(--ui-gold)}.otp-digit:focus{border-color:var(--ui-gold)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold) 15%,transparent),0 10px 30px color-mix(in srgb,var(--ui-gold) 10%,transparent);transform:translateY(-1px)}
.otp-verify,.resend-btn{width:100%;min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.resend-btn{margin-top:8px}.resend-btn:disabled{opacity:.58;cursor:not-allowed;transform:none;box-shadow:none}.auth-change-number{display:block;width:max-content;max-width:100%;margin:14px auto 0;padding:6px 10px;border:0;background:transparent;color:var(--ui-gold-strong);font-size:12px;text-decoration:underline;text-underline-offset:4px}.auth-change-number:hover{color:var(--ui-gold)}#otp-status{margin:13px 0 0;text-align:center;font-size:11px;line-height:1.9}#otp-status .ok{font-weight:700}
.ga-galaxy-reward{position:fixed!important;inset:0!important;z-index:99999!important;width:100%!important;min-height:100dvh!important;display:grid!important;grid-template-columns:1fr!important;place-items:center!important;align-content:center!important;padding:max(24px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important;border:0!important;border-radius:0!important;background:radial-gradient(circle at 50% 35%,rgba(119,82,196,.18),transparent 30%),radial-gradient(circle at 20% 80%,rgba(201,168,106,.10),transparent 25%),linear-gradient(145deg,#070914,#0d0a18 52%,#08090f)!important;box-shadow:none!important;overflow:hidden;isolation:isolate}
.ga-galaxy-reward::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.7) 0 1px,transparent 1.5px),radial-gradient(circle at 72% 18%,rgba(255,255,255,.45) 0 1px,transparent 1.5px),radial-gradient(circle at 82% 76%,rgba(255,255,255,.55) 0 1px,transparent 1.5px),radial-gradient(circle at 32% 82%,rgba(255,255,255,.35) 0 1px,transparent 1.5px);background-size:180px 180px,240px 240px,210px 210px,260px 260px;opacity:.55;pointer-events:none}.ga-stars{position:absolute;inset:0;pointer-events:none;opacity:.7;background-image:radial-gradient(circle,rgba(255,255,255,.8) 0 1px,transparent 1.5px);background-size:95px 95px;mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent)}
.ga-galaxy-orb{position:relative;z-index:1;width:92px;height:92px;display:grid;place-items:center;margin-bottom:18px;border-radius:50%;font-size:42px;color:#f4dcff;background:radial-gradient(circle at 35% 30%,#fff8,rgba(137,94,213,.28) 35%,rgba(45,29,80,.1) 70%);border:1px solid rgba(226,200,145,.45);box-shadow:0 0 25px rgba(155,107,220,.35),inset 0 0 30px rgba(226,200,145,.12);animation:ga-reward-pulse 2.8s ease-in-out infinite}.ga-reward-content{position:relative;z-index:2;width:min(100%,520px);padding:clamp(24px,6vw,42px);text-align:center;border:1px solid rgba(226,200,145,.32);border-radius:26px;background:linear-gradient(145deg,rgba(18,16,35,.94),rgba(10,11,22,.94));box-shadow:0 25px 90px rgba(0,0,0,.55),0 0 45px rgba(112,77,170,.12);backdrop-filter:blur(16px)}.ga-reward-content h2{margin:8px 0 10px;font-size:clamp(21px,5vw,30px);color:#f7f0ff}.ga-reward-content p{margin:0 auto 16px;max-width:420px;color:#c9c2d5;font-size:13px;line-height:2}.ga-reward-points{display:block;margin:4px 0 20px;font-size:clamp(34px,10vw,54px);line-height:1.15;color:#e8c77e;text-shadow:0 0 28px rgba(232,199,126,.22);font-variant-numeric:tabular-nums}.ga-reward-close{min-width:170px;min-height:48px}@keyframes ga-reward-pulse{0%,100%{transform:scale(1);box-shadow:0 0 25px rgba(155,107,220,.35),inset 0 0 30px rgba(226,200,145,.12)}50%{transform:scale(1.04);box-shadow:0 0 42px rgba(155,107,220,.48),inset 0 0 36px rgba(226,200,145,.16)}}
@media(max-width:380px){.login-panel{padding:20px 14px}.otp-boxes{gap:5px}.otp-digit{width:40px!important;height:48px}.otp-topline{align-items:flex-start}.otp-count{min-width:64px;padding:6px 8px}.auth-trust{gap:5px 10px}.ga-reward-content{padding:22px 16px;border-radius:22px}.ga-galaxy-orb{width:76px;height:76px;font-size:34px}}@media(prefers-reduced-motion:reduce){.auth-spinner,.ga-galaxy-orb{animation:none!important}}

/* Contact page — live CMS premium layout */
.cms-contact-layout-premium{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:stretch;gap:20px}.cms-contact-main{position:relative;overflow:hidden}.cms-contact-main::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,var(--ui-gold),transparent)}.cms-contact-kicker{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.cms-live-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;border:1px solid color-mix(in srgb,var(--ui-gold) 35%,var(--ui-line));background:color-mix(in srgb,var(--ui-gold) 8%,var(--ui-surface));color:var(--ui-gold-strong);font-size:10px}.cms-contact-lead{font-size:16px;line-height:2}.cms-contact-body{text-align:justify;line-height:2.15}.cms-contact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.cms-contact-item{display:grid;gap:7px;padding:15px;border:1px solid var(--ui-line);border-radius:15px;background:linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));color:var(--ui-text);text-decoration:none}.cms-contact-item:hover{border-color:color-mix(in srgb,var(--ui-gold) 48%,var(--ui-line));transform:translateY(-1px)}.cms-contact-item span{font-size:11px;color:var(--ui-muted)}.cms-contact-item strong{font-size:15px}.cms-contact-address{grid-column:1/-1}.cms-contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--ui-line)}.cms-contact-aside-premium{display:flex;flex-direction:column;justify-content:center;min-height:100%;background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--ui-gold) 12%,transparent),transparent 52%),linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface))}.cms-contact-aside-mark{width:68px;height:68px;display:grid;place-items:center;margin-bottom:20px;border-radius:20px;border:1px solid color-mix(in srgb,var(--ui-gold) 38%,var(--ui-line));color:var(--ui-gold-strong);font-weight:900;letter-spacing:.12em;background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface))}.cms-contact-aside-line{width:70px;height:1px;margin:18px 0;background:var(--ui-gold)}.cms-contact-aside small{color:var(--ui-muted);line-height:1.8}@media(max-width:800px){.cms-contact-layout-premium{grid-template-columns:1fr}.cms-contact-list{grid-template-columns:1fr}.cms-contact-address{grid-column:auto}.cms-contact-aside-premium{min-height:unset}.cms-contact-actions .btn{width:100%}}


/* Contact admin GridView — responsive desktop/tablet/mobile */
.cms-contact-grid-wrap{width:100%;min-width:0}
.cms-contact-grid{width:100%;table-layout:fixed}
.cms-contact-grid th,.cms-contact-grid td{vertical-align:middle;overflow-wrap:anywhere}
.cms-contact-grid th:nth-child(1),.cms-contact-grid td:nth-child(1){width:16%}
.cms-contact-grid th:nth-child(2),.cms-contact-grid td:nth-child(2){width:10%}
.cms-contact-grid th:nth-child(3),.cms-contact-grid td:nth-child(3){width:11%}
.cms-contact-grid th:nth-child(4),.cms-contact-grid td:nth-child(4){width:22%}
.cms-contact-grid th:nth-child(5),.cms-contact-grid td:nth-child(5){width:8%}
.cms-contact-grid th:nth-child(6),.cms-contact-grid td:nth-child(6){width:8%}
.cms-contact-grid th:nth-child(7),.cms-contact-grid td:nth-child(7){width:7%}
.cms-contact-grid th:nth-child(8),.cms-contact-grid td:nth-child(8){width:10%}
.cms-contact-grid th:nth-child(9),.cms-contact-grid td:nth-child(9){width:16%}
.cms-contact-grid .table-actions{white-space:normal;display:flex;gap:6px;flex-wrap:wrap}
.cms-contact-grid .table-actions .btn{min-height:36px;padding:7px 10px}
.cms-contact-grid .cms-grid-address{line-height:1.75}
@media(max-width:1100px){
 .cms-contact-grid{min-width:940px;table-layout:auto}
 .cms-contact-grid-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:700px){
 .cms-contact-grid-wrap{overflow:visible}
 .cms-contact-grid{min-width:0;display:block}
 .cms-contact-grid thead{display:none}
 .cms-contact-grid tbody{display:grid;gap:12px}
 .cms-contact-grid tbody tr{display:grid;grid-template-columns:1fr;gap:0;padding:12px;border:1px solid var(--ui-line);border-radius:16px;background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft)}
 .cms-contact-grid tbody tr[hidden]{display:none}
 .cms-contact-grid tbody td{display:grid;grid-template-columns:minmax(82px,30%) minmax(0,1fr);gap:10px;align-items:start;width:auto!important;padding:9px 4px;border-bottom:1px solid var(--ui-line);text-align:right;white-space:normal}
 .cms-contact-grid tbody td:last-child{border-bottom:0;padding-bottom:3px}
 .cms-contact-grid tbody td::before{color:var(--ui-muted);font-size:11px;font-weight:700}
 .cms-contact-grid tbody td:nth-child(1)::before{content:"عنوان"}
 .cms-contact-grid tbody td:nth-child(2)::before{content:"تلفن"}
 .cms-contact-grid tbody td:nth-child(3)::before{content:"موبایل"}
 .cms-contact-grid tbody td:nth-child(4)::before{content:"آدرس"}
 .cms-contact-grid tbody td:nth-child(5)::before{content:"نقشه"}
 .cms-contact-grid tbody td:nth-child(6)::before{content:"وضعیت"}
 .cms-contact-grid tbody td:nth-child(7)::before{content:"ترتیب"}
 .cms-contact-grid tbody td:nth-child(8)::before{content:"آخرین ویرایش"}
 .cms-contact-grid tbody td:nth-child(9)::before{content:"عملیات"}
 .cms-contact-grid .table-actions{justify-content:flex-start;gap:8px}
 .cms-contact-grid .table-actions .btn{flex:1;min-width:100px}
}
@media(max-width:380px){
 .cms-contact-grid tbody td{grid-template-columns:72px minmax(0,1fr);gap:7px;padding:8px 2px}
 .cms-contact-grid .table-actions{display:grid;grid-template-columns:1fr 1fr}
 .cms-contact-grid .table-actions .btn{min-width:0;width:100%}
}


/* GilasArt Contact — premium production form */
.contact-page-premium{display:grid;gap:20px;direction:rtl}
.contact-hero-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:24px;min-height:230px;padding:clamp(24px,4vw,42px);border:1px solid color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));border-radius:28px;background:radial-gradient(500px 240px at 12% 10%,color-mix(in srgb,var(--ui-gold) 14%,transparent),transparent 68%),linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));box-shadow:var(--ui-shadow)}
.contact-hero-card::after{content:"";position:absolute;width:280px;height:280px;left:-150px;bottom:-190px;border:1px solid color-mix(in srgb,var(--ui-gold) 18%,transparent);border-radius:50%;pointer-events:none}
.contact-hero-copy{position:relative;z-index:1;min-width:0}.contact-hero-copy h2{margin:7px 0 10px;font-size:clamp(25px,4vw,38px);line-height:1.45}.contact-hero-copy p{max-width:720px;margin:0;color:var(--ui-muted);line-height:2.1;text-align:justify}.contact-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.contact-hero-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.contact-hero-emblem{position:relative;width:150px;height:150px;margin-inline:auto;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--ui-gold) 40%,var(--ui-line));border-radius:50%;background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--ui-gold) 22%,transparent),transparent 36%),var(--ui-surface);box-shadow:inset 0 0 35px color-mix(in srgb,var(--ui-gold) 8%,transparent),0 20px 55px rgba(0,0,0,.2)}.contact-hero-emblem::before,.contact-hero-emblem::after{content:"";position:absolute;inset:13px;border:1px solid color-mix(in srgb,var(--ui-gold) 20%,transparent);border-radius:50%;transform:rotate(45deg)}.contact-hero-emblem::after{inset:25px;border-radius:46% 54% 48% 52%}.contact-hero-emblem span{font-size:31px;font-weight:900;letter-spacing:.14em;color:var(--ui-gold-strong)}.contact-hero-emblem i{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--ui-gold);box-shadow:0 0 20px color-mix(in srgb,var(--ui-gold) 70%,transparent)}
.contact-content-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:stretch}.contact-details-panel,.contact-map-panel{min-width:0;padding:clamp(20px,3vw,30px)}.contact-section-title,.contact-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.contact-section-title h3,.contact-map-head h3{margin:4px 0 0;font-size:20px}.contact-status{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid color-mix(in srgb,var(--ui-success) 28%,var(--ui-line));border-radius:999px;color:var(--ui-success);font-size:10px;white-space:nowrap}.contact-status b{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 10%,transparent)}
.contact-description{margin-top:18px;padding-top:17px;border-top:1px solid var(--ui-line);color:var(--ui-muted);line-height:2.15}.contact-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.contact-info-card{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:15px;border:1px solid var(--ui-line);border-radius:16px;background:linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));color:var(--ui-text);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.contact-info-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--ui-gold) 42%,var(--ui-line));box-shadow:var(--ui-shadow-soft)}.contact-info-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));border-radius:12px;background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface));color:var(--ui-gold-strong)}.contact-info-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}.contact-info-copy{min-width:0;display:grid;gap:3px}.contact-info-copy small{color:var(--ui-muted);font-size:10px}.contact-info-copy strong{font-size:14px;overflow-wrap:anywhere}.contact-info-copy em{font-style:normal;color:var(--ui-gold-strong);font-size:9px}.contact-address-card{grid-column:1/-1}.contact-empty{grid-column:1/-1;padding:16px;border:1px dashed var(--ui-line);border-radius:14px;color:var(--ui-muted);text-align:center}
.contact-map-panel{display:flex;flex-direction:column;gap:16px;background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2))}.contact-map-head>div{min-width:0}.contact-map-head p{margin:7px 0 0;color:var(--ui-muted);font-size:11px;line-height:1.9}.contact-map-pin{width:45px;height:45px;flex:0 0 45px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--ui-gold) 32%,var(--ui-line));border-radius:14px;color:var(--ui-gold-strong);font-size:27px;background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface))}.contact-map-frame{position:relative;min-height:340px;overflow:hidden;border:1px solid var(--ui-line);border-radius:20px;background:var(--ui-surface-2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}.contact-map-frame::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;box-shadow:inset 0 0 45px rgba(0,0,0,.16)}.contact-map-frame iframe{display:block;width:100%;height:100%;min-height:340px;border:0;filter:saturate(.9) contrast(.96)}.contact-map-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.contact-map-footer>span{min-width:0;color:var(--ui-muted);font-size:10px;line-height:1.8;text-align:right}.contact-map-footer .btn{flex:0 0 auto;white-space:nowrap}
.contact-bottom-panel{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 26px;background:radial-gradient(420px 160px at 80% 0,color-mix(in srgb,var(--ui-gold) 9%,transparent),transparent 70%),linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface))}.contact-bottom-panel h3{margin:4px 0 6px;font-size:17px}.contact-bottom-panel p{margin:0;color:var(--ui-muted);font-size:11px;line-height:1.9}.contact-bottom-actions{display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}
@media(max-width:980px){.contact-content-grid{grid-template-columns:1fr}.contact-map-frame,.contact-map-frame iframe{min-height:360px}.contact-bottom-panel{align-items:flex-start;flex-direction:column}.contact-bottom-actions{width:100%}.contact-bottom-actions .btn{flex:1}}
@media(max-width:700px){.contact-hero-card{grid-template-columns:1fr;min-height:0}.contact-hero-emblem{width:105px;height:105px;order:-1;margin:0 auto 3px}.contact-hero-emblem span{font-size:23px}.contact-hero-actions,.contact-bottom-actions{display:grid;grid-template-columns:1fr}.contact-hero-actions .btn,.contact-bottom-actions .btn{width:100%}.contact-info-grid{grid-template-columns:1fr}.contact-address-card{grid-column:auto}.contact-section-title,.contact-map-head{align-items:flex-start}.contact-status{font-size:9px}.contact-map-frame,.contact-map-frame iframe{min-height:300px}.contact-map-footer{align-items:stretch;flex-direction:column}.contact-map-footer .btn{width:100%;text-align:center}.contact-details-panel,.contact-map-panel{padding:18px}.contact-bottom-panel{padding:20px 18px}}
@media(max-width:380px){.contact-hero-card{padding:20px 16px;border-radius:22px}.contact-hero-emblem{width:88px;height:88px}.contact-info-card{padding:13px}.contact-map-frame,.contact-map-frame iframe{min-height:260px}}


/* GilasArt Shop Filter — premium storefront workspace */
.shop-masthead{margin-bottom:18px;align-items:center}.mobile-filter-trigger{display:none}
.gallery-workspace{position:relative;display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);gap:22px;align-items:start}
.filter-panel{position:sticky;top:18px;z-index:12;display:grid;gap:17px;padding:22px;border:1px solid var(--ui-line);border-radius:24px;background:linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface));box-shadow:var(--ui-shadow);overflow:hidden}
.filter-panel::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,var(--ui-gold),transparent);opacity:.8}.filter-panel>*{position:relative;z-index:1}
.filter-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.filter-panel-head h2{margin:4px 0 2px;font-size:20px}.filter-panel-head p{margin:0;color:var(--ui-muted);font-size:10px}.filter-head-actions{display:flex;align-items:center;gap:7px}.filter-reset,.mobile-filter-close{border:1px solid var(--ui-line);background:var(--ui-surface);color:var(--ui-muted);border-radius:10px;min-height:34px;padding:0 10px;cursor:pointer;transition:.2s ease}.filter-reset:hover{color:var(--ui-gold-strong);border-color:color-mix(in srgb,var(--ui-gold) 40%,var(--ui-line));transform:translateY(-1px)}.mobile-filter-close{display:none;font-size:21px;line-height:1;padding:0 10px}
.filter-active-bar{min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 9px;border-radius:10px;background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface));border:1px solid color-mix(in srgb,var(--ui-gold) 16%,var(--ui-line));color:var(--ui-muted);font-size:10px}.filter-active-bar button{border:0;background:none;color:var(--ui-gold-strong);cursor:pointer;font-weight:800}
.filter-control,.price-filter{margin:0}.filter-control>span,.price-filter legend,.category-filter legend{display:block;margin-bottom:8px;color:var(--ui-muted);font-size:11px;font-weight:800}.filter-input-wrap{position:relative}.filter-leading{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--ui-gold-strong);font-size:21px;pointer-events:none}.filter-input-wrap input{padding-right:38px!important}.filter-control select,.filter-control input{width:100%;min-height:46px;border-radius:13px;border:1px solid var(--ui-line);background:var(--ui-surface);color:var(--ui-text);outline:none;transition:border-color .2s,box-shadow .2s,transform .2s}.filter-control input:focus,.filter-control select:focus{border-color:color-mix(in srgb,var(--ui-gold) 65%,var(--ui-line));box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold) 11%,transparent)}
.price-values{display:grid;grid-template-columns:1fr 1fr;gap:9px}.price-values label{display:grid;gap:5px}.price-values label span{font-size:9px;color:var(--ui-muted)}.price-values input{width:100%;height:40px;padding:0 9px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface);color:var(--ui-text);font-size:11px;outline:none}.price-values input:focus{border-color:var(--ui-gold)}
.price-slider{position:relative;height:34px;margin:11px 4px 0}.price-slider input[type=range]{position:absolute;inset:0;width:100%;height:34px;margin:0;background:none;pointer-events:none;appearance:none;-webkit-appearance:none}.price-slider input[type=range]::-webkit-slider-runnable-track{height:4px;background:transparent}.price-slider input[type=range]::-moz-range-track{height:4px;background:transparent}.price-slider input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:19px;height:19px;margin-top:-7px;border:2px solid var(--ui-surface);border-radius:50%;background:var(--ui-gold);box-shadow:0 2px 10px color-mix(in srgb,var(--ui-gold) 35%,transparent);pointer-events:auto;cursor:pointer}.price-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:2px solid var(--ui-surface);border-radius:50%;background:var(--ui-gold);box-shadow:0 2px 10px color-mix(in srgb,var(--ui-gold) 35%,transparent);pointer-events:auto;cursor:pointer}.price-track,.price-progress{position:absolute;right:0;left:0;top:15px;height:4px;border-radius:99px;pointer-events:none}.price-track{background:var(--ui-line)}.price-progress{background:linear-gradient(90deg,var(--ui-copper),var(--ui-gold));left:0;right:0}.price-scale{display:flex;justify-content:space-between;color:var(--ui-muted);font-size:8px;direction:rtl}.category-filter{border:0;padding:0;min-inline-size:0}.category-filter .check-option{margin:0;padding:8px 6px;border-radius:10px;transition:background .18s,transform .18s}.category-filter .check-option:hover{background:color-mix(in srgb,var(--ui-gold) 6%,transparent);transform:translateX(-2px)}.filter-choice input{accent-color:var(--ui-gold)}.filter-help{display:flex;gap:9px;align-items:flex-start;padding:11px;border:1px solid var(--ui-line);border-radius:13px;background:color-mix(in srgb,var(--ui-surface) 70%,transparent)}.filter-help>span{color:var(--ui-gold);font-size:17px}.filter-help div{display:grid;gap:3px}.filter-help strong{font-size:10px}.filter-help small{font-size:9px;color:var(--ui-muted);line-height:1.7}.filter-apply-mobile{display:none}
.gallery-results{min-width:0}.results-head{position:sticky;top:0;z-index:5;display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:14px;padding:13px 16px;border:1px solid var(--ui-line);border-radius:17px;background:color-mix(in srgb,var(--ui-surface) 88%,transparent);backdrop-filter:blur(12px)}.results-head h2{margin:3px 0 0;font-size:19px}.results-count{color:var(--ui-gold-strong);font-size:10px;font-weight:800}.filter-backdrop{display:none}
@media(max-width:900px){.gallery-workspace{grid-template-columns:1fr}.filter-panel{position:fixed;top:0;right:0;bottom:0;width:min(390px,92vw);height:100dvh;max-height:none;border-radius:24px 0 0 24px;z-index:1001;overflow:auto;transform:translateX(105%);transition:transform .32s cubic-bezier(.2,.8,.2,1);box-shadow:-25px 0 70px rgba(0,0,0,.35);padding:22px 18px}.filter-panel.is-open{transform:translateX(0)}.filter-backdrop.is-open{display:block;position:fixed;inset:0;z-index:1000;background:rgba(3,5,10,.55);backdrop-filter:blur(4px);animation:filterBackdropIn .22s ease}.mobile-filter-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid color-mix(in srgb,var(--ui-gold) 35%,var(--ui-line));border-radius:13px;background:linear-gradient(145deg,color-mix(in srgb,var(--ui-gold) 10%,var(--ui-surface)),var(--ui-surface));color:var(--ui-text);font-weight:800;box-shadow:var(--ui-shadow-soft);cursor:pointer}.mobile-filter-icon{font-size:20px;color:var(--ui-gold)}.mobile-filter-trigger b{min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border-radius:99px;background:var(--ui-gold);color:#15110a;font-size:9px}.mobile-filter-close{display:block}.filter-apply-mobile{display:flex;min-height:48px}.shop-masthead{align-items:center}.results-head{position:relative}.filter-drawer-open{overflow:hidden}}
@keyframes filterBackdropIn{from{opacity:0}to{opacity:1}}
@media(max-width:560px){.page-masthead.shop-masthead{padding:18px 15px}.page-masthead.shop-masthead h1{font-size:25px}.page-masthead.shop-masthead p{font-size:11px}.mobile-filter-trigger{padding:0 11px}.results-head{padding:12px}.results-head h2{font-size:17px}.price-values{gap:7px}.filter-panel{width:94vw}.product-stream{gap:12px}}
@media(prefers-reduced-motion:reduce){.filter-panel,.filter-backdrop.is-open,.filter-choice,.filter-reset{transition:none;animation:none}.price-slider input[type=range]::-webkit-slider-thumb{box-shadow:none}}


/* GilasArt Shop Filter — visual-only refinement
   Keeps the existing shop filtering logic untouched. */
.shop-page .gallery-workspace{
  grid-template-columns:minmax(250px,270px) minmax(0,1fr);
  gap:26px;
}
.shop-page .filter-panel{
  padding:20px;
  border-radius:24px;
  background:
    radial-gradient(circle at 12% 0%,color-mix(in srgb,var(--ui-gold) 8%,transparent),transparent 42%),
    linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));
  box-shadow:0 18px 48px rgba(0,0,0,.10);
}
.shop-page .filter-panel-head{
  align-items:flex-start;
  margin-bottom:2px;
}
.shop-page .filter-panel-head h2{
  margin-top:6px;
  font-size:20px;
  letter-spacing:-.02em;
}
.shop-page .filter-panel-head .eyebrow{
  color:var(--ui-gold-strong);
  letter-spacing:.16em;
  font-size:9px;
}
.shop-page .filter-reset{
  min-height:34px;
  padding:7px 11px;
  border:1px solid var(--ui-line);
  background:var(--ui-surface);
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.shop-page .filter-reset:hover{
  border-color:color-mix(in srgb,var(--ui-gold) 35%,var(--ui-line));
  transform:translateY(-1px);
}
.shop-page .search-field{
  margin:18px 0;
}
.shop-page .search-field>span,
.shop-page .sort-field>span,
.shop-page .filter-group legend{
  display:block;
  font-size:11px;
  font-weight:700;
  color:var(--ui-text);
}
.shop-page .search-field input,
.shop-page .sort-field select{
  min-height:46px;
  border-radius:13px;
  border:1px solid var(--ui-line);
  background:color-mix(in srgb,var(--ui-surface) 82%,var(--ui-surface-2));
  color:var(--ui-text);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.shop-page .search-field input:focus,
.shop-page .sort-field select:focus{
  border-color:color-mix(in srgb,var(--ui-gold) 55%,var(--ui-line));
  box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-gold) 9%,transparent);
  outline:none;
}
.shop-page .sort-field{
  display:grid;
  gap:8px;
  margin:0 0 18px;
}
.shop-page .sort-field select{
  width:100%;
  padding:9px 12px;
  font:inherit;
  outline:none;
}
.shop-page .filter-group{
  padding-top:16px;
  border-top:1px solid var(--ui-line);
}
.shop-page .check-option{
  margin-top:3px;
  border:1px solid transparent;
  border-radius:12px;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.shop-page .check-option:hover{
  border-color:color-mix(in srgb,var(--ui-gold) 13%,var(--ui-line));
  transform:translateX(-2px);
}
.shop-page .check-option:has(input:checked){
  background:color-mix(in srgb,var(--ui-gold) 7%,var(--ui-surface));
  border-color:color-mix(in srgb,var(--ui-gold) 18%,var(--ui-line));
}
.shop-page .filter-help{
  margin-top:16px;
  padding:12px 13px;
  border:1px solid var(--ui-line);
  border-radius:13px;
  background:color-mix(in srgb,var(--ui-gold) 4%,var(--ui-surface));
  line-height:1.9;
}
.shop-page .gallery-results{
  min-width:0;
}
.shop-page .results-head{
  min-height:52px;
}
.shop-page .results-head h2{
  font-size:21px;
}
.shop-page .results-count{
  padding:7px 10px;
  border:1px solid var(--ui-line);
  border-radius:999px;
  background:var(--ui-surface);
}
@media(max-width:900px){
  .shop-page .gallery-workspace{
    grid-template-columns:1fr;
    gap:16px;
  }
  .shop-page .filter-panel{
    position:relative;
    top:auto;
    padding:16px;
    border-radius:20px;
  }
  .shop-page .filter-panel-head{
    padding-bottom:13px;
  }
  .shop-page .filter-group{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
  }
  .shop-page .filter-group legend{
    grid-column:1/-1;
  }
}
@media(max-width:560px){
  .shop-page .filter-panel{
    padding:14px;
    border-radius:18px;
  }
  .shop-page .filter-panel-head h2{
    font-size:18px;
  }
  .shop-page .filter-group{
    grid-template-columns:1fr;
  }
  .shop-page .results-head{
    align-items:center;
  }
  .shop-page .results-head h2{
    font-size:18px;
  }
  .shop-page .results-count{
    font-size:9px;
    padding:6px 8px;
  }
}
@media(prefers-reduced-motion:reduce){
  .shop-page .filter-reset,
  .shop-page .search-field input,
  .shop-page .sort-field select,
  .shop-page .check-option{transition:none}
}


/* GilasArt Shop — platform-specific filter/search/sort system */
.shop-control-shell{margin:0 0 22px;position:relative;z-index:5}
.shop-searchbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;padding:14px;border:1px solid var(--ui-line);border-radius:20px;background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:var(--ui-shadow-soft)}
.shop-searchbar>label{position:relative;display:block;min-width:0}
.shop-searchbar>label input{width:100%;min-height:52px;box-sizing:border-box;padding:12px 48px 12px 16px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-bg);color:var(--ui-text);font:inherit;outline:none}
.shop-searchbar>label input:focus{border-color:var(--ui-gold);box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-gold) 10%,transparent)}
.shop-control-icon{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;color:var(--ui-gold);pointer-events:none}
.shop-control-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.shop-control-actions{display:flex;gap:10px;align-items:end}
.sort-control{display:grid;gap:6px;min-width:205px;color:var(--ui-muted);font-size:11px}
.sort-control select{width:100%;min-height:52px;padding:0 13px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-bg);color:var(--ui-text);font:inherit;outline:none}
.sort-control select:focus{border-color:var(--ui-gold);box-shadow:0 0 0 4px color-mix(in srgb,var(--ui-gold) 10%,transparent)}
.mobile-filter-button{display:none;white-space:nowrap}
.mobile-filter-button #filter-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--ui-gold);color:#111;font-size:10px}
.shop-active-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.filter-chip{border:1px solid color-mix(in srgb,var(--ui-gold) 30%,var(--ui-line));background:color-mix(in srgb,var(--ui-gold) 8%,var(--ui-surface));color:var(--ui-text);border-radius:999px;padding:7px 11px;font:inherit;font-size:11px;cursor:pointer}
.filter-chip span{color:var(--ui-gold);font-size:15px;margin-inline-start:5px}
.shop-filter-group{padding-top:18px;margin-top:18px!important;border-top:1px solid var(--ui-line)}
.shop-filter-group:first-of-type{border-top:0;margin-top:0!important;padding-top:12px}
.price-values{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.price-values label{display:grid;gap:5px;color:var(--ui-muted);font-size:10px}
.price-values input{width:100%;box-sizing:border-box;min-height:40px;padding:7px 8px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-bg);color:var(--ui-text);font:inherit;direction:ltr;text-align:right;outline:none}
.price-values input:focus{border-color:var(--ui-gold)}
.price-range{position:relative;height:30px;margin:12px 2px 0}
.price-range-track,.price-range-fill{position:absolute;top:14px;height:4px;border-radius:999px}
.price-range-track{inset-inline:0;background:var(--ui-line)}
.price-range-fill{background:var(--ui-gold)}
.price-range input{position:absolute;inset-inline:0;top:4px;width:100%;height:22px;margin:0;appearance:none;background:transparent;pointer-events:none}
.price-range input::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:var(--ui-gold);border:3px solid var(--ui-surface);box-shadow:0 2px 8px rgba(0,0,0,.22);pointer-events:auto;cursor:pointer}
.price-range input::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:var(--ui-gold);border:3px solid var(--ui-surface);box-shadow:0 2px 8px rgba(0,0,0,.22);pointer-events:auto;cursor:pointer}
.price-labels{display:flex;justify-content:space-between;gap:8px;color:var(--ui-muted);font-size:9px;margin-top:1px;direction:rtl}
.radio-box{width:18px;height:18px;border:1px solid var(--ui-line);border-radius:50%;background:var(--ui-surface);box-shadow:inset 0 0 0 3px var(--ui-surface);transition:.18s ease}
.shop-rating-option input:checked+.radio-box{background:var(--ui-gold);border-color:var(--ui-gold)}
.filter-panel-note{display:grid;gap:4px;margin-top:18px;padding:12px;border-radius:13px;background:color-mix(in srgb,var(--ui-gold) 6%,var(--ui-surface-2));border:1px solid color-mix(in srgb,var(--ui-gold) 15%,var(--ui-line));color:var(--ui-muted);font-size:10px;line-height:1.8;text-align:justify}
.filter-panel-note strong{color:var(--ui-text)}
.mobile-filter-apply{display:none;width:100%;margin-top:14px}
.mobile-filter-backdrop{display:none}
.gallery-results .product-stream{gap:18px}
.gallery-results .product-stream .card{min-width:0}
@media(min-width:1200px){
 .gallery-workspace{grid-template-columns:minmax(285px,310px) minmax(0,1fr);gap:28px}
 .filter-panel{top:104px;max-height:calc(100vh - 124px);overflow:auto;scrollbar-width:thin}
 .gallery-results .product-stream{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
}
@media(min-width:768px) and (max-width:1199px){
 .shop-searchbar{grid-template-columns:1fr}
 .shop-control-actions{justify-content:space-between}
 .sort-control{min-width:min(300px,48%)}
 .mobile-filter-button{display:none}
 .gallery-workspace{display:block}
 .filter-panel{position:static;display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:0 22px;margin-bottom:22px;padding:16px}
 .filter-panel-head{grid-column:1/-1}
 .shop-filter-group{margin-top:0!important;padding-top:15px}
 .shop-filter-group:first-of-type{padding-top:15px}
 .filter-panel-note{grid-column:1/-1}
 .mobile-filter-apply{display:none}
 .gallery-results .product-stream{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .filter-panel .filter-reset{font-size:12px}
}
@media(max-width:767px){
 body.shop-filter-open{overflow:hidden}
 .shop-control-shell{position:sticky;top:0;margin:0 -12px 16px;padding:8px 12px;background:color-mix(in srgb,var(--ui-bg) 94%,transparent);backdrop-filter:blur(16px);z-index:30}
 .shop-searchbar{grid-template-columns:1fr;gap:8px;padding:8px;border-radius:17px}
 .shop-searchbar>label input{min-height:48px;border-radius:13px;padding-inline-start:12px;padding-inline-end:44px}
 .shop-control-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .sort-control{min-width:0}
 .sort-control span{display:none}
 .sort-control select{min-height:44px;border-radius:12px}
 .mobile-filter-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 13px;border-radius:12px}
 .shop-active-filters{margin-top:7px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
 .shop-active-filters::-webkit-scrollbar{display:none}
 .filter-chip{white-space:nowrap}
 .gallery-workspace{display:block}
 .filter-panel{position:fixed;z-index:10020;inset-inline:0;bottom:0;top:auto;width:auto;max-height:min(82vh,720px);overflow:auto;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;border:1px solid var(--ui-line);background:var(--ui-surface);box-shadow:0 -22px 70px rgba(0,0,0,.42);transform:translateY(105%);transition:transform .28s ease;overscroll-behavior:contain}
 .filter-panel.is-open{transform:translateY(0)}
 .filter-panel-head{position:sticky;top:-18px;margin:-18px -16px 0;padding:16px;border-radius:24px 24px 0 0;background:color-mix(in srgb,var(--ui-surface) 94%,transparent);backdrop-filter:blur(14px);z-index:2}
 .filter-panel-head:after{content:"";position:absolute;top:7px;left:50%;width:42px;height:4px;border-radius:99px;background:var(--ui-line)}
 .shop-filter-group{margin-top:16px!important;padding-top:16px}
 .price-values{gap:10px}
 .mobile-filter-apply{display:block;position:sticky;bottom:0}
 .mobile-filter-backdrop[hidden]{display:none}
 .mobile-filter-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:10010;background:rgba(0,0,0,.58);backdrop-filter:blur(2px)}
 .gallery-results .product-stream{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .gallery-results .product-showcase{border-radius:15px}
 .gallery-results .product-card-media{padding:7px}
 .gallery-results .product-card-body{padding:10px}
 .gallery-results .product-card-heading h3{font-size:13px;line-height:1.6}
 .gallery-results .product-card-body p{font-size:10px}
 .gallery-results .product-showcase .btn{min-height:38px;font-size:11px;padding-inline:9px}
 .results-head{margin-top:5px}
 .page-masthead-copy h1{font-size:30px}
}
@media(max-width:380px){
 .shop-searchbar{padding:6px}
 .mobile-filter-button{padding-inline:9px;font-size:11px}
 .gallery-results .product-stream{gap:8px}
 .gallery-results .product-card-body{padding:8px}
 .gallery-results .product-card-heading h3{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .filter-panel{transition:none}
}


/* Shop visual refinement — luxury gallery / QA wow pass */
.shop-page{--shop-gap:clamp(14px,2vw,22px)}
.shop-page .page-masthead{margin-bottom:28px}
.shop-page .page-masthead-copy{position:relative}
.shop-page .page-masthead-copy:before{content:"";width:72px;height:1px;background:linear-gradient(90deg,var(--ui-gold),transparent);margin-bottom:12px}
.shop-page .page-masthead-copy p{max-width:720px}
.shop-page-visual{min-height:340px;transform:translateZ(0)}
.shop-page-visual img{transition:transform .7s cubic-bezier(.2,.75,.2,1),filter .5s ease}
.shop-page-visual:hover img,.shop-page-visual:focus-visible img{transform:scale(1.025)}
.shop-control-shell{margin-bottom:24px}
.shop-searchbar{padding:10px;background:linear-gradient(135deg,color-mix(in srgb,var(--ui-surface) 96%,var(--ui-gold) 4%),var(--ui-surface-2));border-color:color-mix(in srgb,var(--ui-gold) 13%,var(--ui-line));box-shadow:0 16px 45px color-mix(in srgb,#000 9%,transparent)}
.shop-searchbar>label input{font-size:13px}
.shop-control-actions{min-width:min(430px,42vw)}
.sort-control select{cursor:pointer}
.gallery-workspace{gap:var(--shop-gap)}
.filter-panel{border-color:color-mix(in srgb,var(--ui-gold) 13%,var(--ui-line));box-shadow:0 16px 42px color-mix(in srgb,#000 8%,transparent)}
.filter-panel-head{padding-bottom:13px}
.filter-panel-head .eyebrow{letter-spacing:.13em}
.results-head{padding-bottom:15px;margin-bottom:18px;border-bottom:1px solid color-mix(in srgb,var(--ui-gold) 15%,var(--ui-line))}
.results-head>div{position:relative}
.results-head>div:after{content:"";position:absolute;bottom:-16px;right:0;width:48px;height:2px;background:var(--ui-gold);border-radius:99px}
.results-count{padding:7px 11px;border:1px solid var(--ui-line);border-radius:999px;background:var(--ui-surface-2)}
.gallery-results .product-stream{gap:clamp(12px,1.6vw,22px)}
.product-showcase{border:1px solid color-mix(in srgb,var(--ui-gold) 12%,var(--ui-line));background:linear-gradient(145deg,var(--ui-surface),var(--ui-surface-2));box-shadow:0 10px 28px color-mix(in srgb,#000 7%,transparent);transition:transform .32s cubic-bezier(.2,.75,.2,1),box-shadow .32s ease,border-color .32s ease}
.product-showcase:hover,.product-showcase:focus-within{transform:translateY(-5px);border-color:color-mix(in srgb,var(--ui-gold) 32%,var(--ui-line));box-shadow:0 22px 48px color-mix(in srgb,#000 14%,transparent)}
.product-card-media{aspect-ratio:5/4;padding:11px;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--ui-gold) 12%,transparent),transparent 60%),linear-gradient(145deg,var(--ui-surface-2),var(--ui-surface))}
.product-art-frame{border-radius:17px}
.product-art-frame img{padding:10px;transition:transform .6s cubic-bezier(.2,.75,.2,1),filter .35s ease}
.product-showcase:hover .product-art-frame img,.product-showcase:focus-within .product-art-frame img{transform:scale(1.025)}
.product-card-corner{position:absolute;left:20px;bottom:20px;display:grid;gap:0;padding:5px 7px;border-radius:8px;background:rgba(8,8,10,.48);border:1px solid rgba(255,255,255,.13);backdrop-filter:blur(8px);color:rgba(255,255,255,.86);font-size:7px;line-height:1;letter-spacing:.14em;opacity:.7;pointer-events:none}
.product-card-corner b{font-size:8px;color:var(--ui-gold)}
.product-card-body{padding:15px 16px 17px}
.product-card-heading{align-items:flex-start}
.product-title-wrap{min-width:0;display:grid;gap:2px}
.product-card-kicker{font-size:8px;letter-spacing:.14em;color:var(--ui-gold-strong);opacity:.75;line-height:1.2}
.product-card-heading h3{font-size:16px;line-height:1.65}
.product-social-proof{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:9px;color:var(--ui-muted);font-size:9px}
.product-social-proof span{display:inline-flex;align-items:center;gap:3px}
.product-social-proof span+span{padding-inline-start:9px;border-inline-start:1px solid var(--ui-line)}
.product-social-proof .product-rating{color:var(--ui-text);font-variant-numeric:tabular-nums}
.product-rating b{color:var(--ui-gold);font-size:11px}
.product-card-timer{margin-top:10px}
.product-card-footer{margin-top:13px;padding-top:13px}
.product-card-price{font-size:17px;letter-spacing:-.02em}
.product-card-arrow{width:36px;height:36px;border-radius:11px}
.product-showcase .product-card-overlay{inset:auto 19px 19px 19px;padding:10px 13px}
@media(min-width:1400px){
 .gallery-results .product-stream{grid-template-columns:repeat(4,minmax(0,1fr))}
 .product-card-media{aspect-ratio:4/3}
 .product-card-heading h3{font-size:15px}
 .product-card-body{padding:14px 15px 16px}
}
@media(min-width:768px) and (max-width:1199px){
 .shop-page .page-masthead{grid-template-columns:1fr .82fr}
 .shop-page-visual,.shop-page-visual img{min-height:300px}
 .gallery-results .product-stream{gap:14px}
 .product-card-media{aspect-ratio:4/3}
 .product-card-body{padding:13px}
 .product-card-heading h3{font-size:14px}
}
@media(max-width:767px){
 .shop-page .page-masthead{gap:16px;margin-bottom:18px}
 .shop-page .page-masthead-copy{padding:8px 0}
 .shop-page .page-masthead-copy:before{margin-bottom:8px}
 .shop-page .page-masthead-copy p{font-size:13px;line-height:1.9}
 .shop-page-visual{min-height:250px;border-radius:20px}
 .shop-page-visual img{min-height:250px;padding:18px}
 .shop-control-shell{margin-bottom:15px}
 .shop-searchbar{box-shadow:0 10px 28px color-mix(in srgb,#000 10%,transparent)}
 .gallery-results .product-stream{gap:10px}
 .product-showcase{border-radius:17px;box-shadow:0 7px 20px color-mix(in srgb,#000 8%,transparent)}
 .product-showcase:hover,.product-showcase:focus-within{transform:none;box-shadow:0 10px 26px color-mix(in srgb,#000 11%,transparent)}
 .product-card-media{aspect-ratio:1/1;padding:7px}
 .product-art-frame{border-radius:13px}
 .product-art-frame img{padding:6px}
 .product-card-corner{left:12px;bottom:12px;padding:4px 6px}
 .product-card-badges{top:12px;right:12px;left:12px}
 .product-art-badge,.product-showcase .flash-badge{min-height:23px;padding:4px 7px;font-size:8px}
 .product-card-overlay{display:none}
 .product-card-body{padding:10px 10px 12px}
 .product-card-kicker{font-size:7px}
 .product-card-heading h3{font-size:12px;line-height:1.55}
 .product-sku{font-size:7px;max-width:38%}
 .product-social-proof{gap:6px;margin-top:7px;font-size:8px}
 .product-social-proof span+span{padding-inline-start:6px}
 .product-rating b{font-size:9px}
 .product-card-footer{margin-top:10px;padding-top:9px;gap:6px}
 .product-price-label{font-size:8px}
 .product-card-price{font-size:12px}
 .product-card-price small{font-size:7px}
 .product-card-arrow{width:30px;height:30px;flex-basis:30px;border-radius:9px;font-size:12px}
 .results-head{margin-bottom:12px}
}
@media(max-width:380px){
 .gallery-results .product-stream{gap:8px}
 .product-card-body{padding:9px 8px 10px}
 .product-social-proof{font-size:7px}
 .product-card-heading h3{font-size:11px}
 .product-card-price{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .product-showcase,.product-art-frame img,.shop-page-visual img{transition:none}
}


/* Shop filters — usability and layout stability refinement */
.shop-page .filter-panel{
  min-width:0;
  box-sizing:border-box;
  overflow-wrap:anywhere;
}
.shop-page .filter-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:52px;
}
.shop-page .filter-panel-head>div{min-width:0}
.shop-page .filter-panel-head h2{margin:3px 0 0;line-height:1.45}
.shop-page .filter-reset{
  flex:0 0 auto;
  min-height:38px;
  padding:0 12px;
  border:1px solid color-mix(in srgb,var(--ui-gold) 24%,var(--ui-line));
  border-radius:11px;
  background:var(--ui-surface-2);
  color:var(--ui-text);
  font:inherit;
  font-size:11px;
  cursor:pointer;
  white-space:nowrap;
  transition:.18s ease;
}
.shop-page .filter-reset:hover,
.shop-page .filter-reset:focus-visible{
  border-color:var(--ui-gold);
  color:var(--ui-gold);
  outline:none;
}
.shop-page .shop-filter-group{
  min-width:0;
}
.shop-page .shop-filter-group legend{
  width:100%;
  margin-bottom:11px;
  font-size:12px;
  font-weight:800;
  color:var(--ui-text);
}
.shop-page .shop-category-option,
.shop-page .shop-rating-option{
  min-height:44px;
  margin:4px 0;
  padding:8px 9px;
  border:1px solid transparent;
  border-radius:12px;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease;
}
.shop-page .shop-category-option:hover,
.shop-page .shop-rating-option:hover{
  background:color-mix(in srgb,var(--ui-gold) 6%,var(--ui-surface-2));
  border-color:color-mix(in srgb,var(--ui-gold) 14%,var(--ui-line));
}
.shop-page .shop-category-option input,
.shop-page .shop-rating-option input{
  width:20px;
  height:20px;
  flex:0 0 20px;
}
.shop-page .price-filter-group{
  overflow:hidden;
}
.shop-page .price-values{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
.shop-page .price-values label{
  min-width:0;
}
.shop-page .price-values input{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  min-height:43px;
  padding:0 10px;
  border:1px solid var(--ui-line);
  border-radius:11px;
  background:var(--ui-surface-2);
  color:var(--ui-text);
  font:inherit;
  font-size:12px;
  outline:none;
}
.shop-page .price-values input:focus{
  border-color:var(--ui-gold);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold) 12%,transparent);
}
.shop-page .price-range{
  margin:14px 4px 4px;
}
.shop-page .price-labels{
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-top:7px;
  font-size:9px;
  color:var(--ui-muted);
  direction:rtl;
}
.shop-page .filter-panel-note{
  margin-bottom:2px;
}
.shop-page .mobile-filter-apply{
  min-height:48px;
  border-radius:13px;
  font-weight:800;
  box-shadow:0 10px 24px color-mix(in srgb,#000 12%,transparent);
}
.shop-page .mobile-filter-button{
  position:relative;
  white-space:nowrap;
}
.shop-page #filter-badge{
  min-width:20px;
  height:20px;
  padding:0 5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:99px;
  background:color-mix(in srgb,var(--ui-gold) 18%,var(--ui-surface));
  color:var(--ui-gold-strong);
  font-size:10px;
  font-weight:800;
}
.shop-page .shop-active-filters:empty{display:none}
@media(min-width:1200px){
  .shop-page .filter-panel{
    max-width:310px;
    scrollbar-gutter:stable;
  }
  .shop-page .filter-panel::-webkit-scrollbar{width:6px}
  .shop-page .filter-panel::-webkit-scrollbar-thumb{
    background:color-mix(in srgb,var(--ui-gold) 28%,var(--ui-line));
    border-radius:99px;
  }
}
@media(min-width:768px) and (max-width:1199px){
  .shop-page .filter-panel{
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);
    align-items:start;
  }
  .shop-page .shop-category-option,
  .shop-page .shop-rating-option{
    min-height:42px;
  }
}
@media(max-width:767px){
  .shop-page .filter-panel{
    display:flex;
    flex-direction:column;
    gap:0;
    box-sizing:border-box;
    max-height:min(86dvh,760px);
    padding-bottom:calc(76px + env(safe-area-inset-bottom));
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .shop-page .filter-panel-head{
    flex:0 0 auto;
    min-height:58px;
    margin-bottom:2px;
    padding-bottom:12px;
  }
  .shop-page .filter-panel-head:after{top:7px}
  .shop-page .shop-filter-group{
    flex:0 0 auto;
    padding-block:14px;
  }
  .shop-page .shop-filter-group:first-of-type{padding-top:10px}
  .shop-page .shop-category-option,
  .shop-page .shop-rating-option{
    min-height:48px;
    margin:3px 0;
    padding:8px 10px;
  }
  .shop-page .shop-category-option .check-box,
  .shop-page .shop-rating-option .radio-box{
    width:20px;
    height:20px;
    flex-basis:20px;
  }
  .shop-page .price-values{gap:8px}
  .shop-page .price-values input{
    min-height:46px;
    font-size:13px;
  }
  .shop-page .filter-panel-note{
    margin-top:10px;
    margin-bottom:12px;
  }
  .shop-page .mobile-filter-apply{
    display:flex;
    position:fixed;
    z-index:4;
    inset-inline:16px;
    bottom:calc(12px + env(safe-area-inset-bottom));
    width:auto;
    margin:0;
    align-items:center;
    justify-content:center;
    background:var(--ui-gold);
    color:#101010;
  }
  .shop-page .filter-panel.is-open + .gallery-results{pointer-events:none}
}
@media(max-width:380px){
  .shop-page .filter-panel{
    padding-inline:12px;
    padding-bottom:calc(72px + env(safe-area-inset-bottom));
  }
  .shop-page .filter-panel-head{
    margin-inline:-12px;
    padding-inline:12px;
  }
  .shop-page .shop-filter-group legend{font-size:11px}
  .shop-page .shop-category-option,
  .shop-page .shop-rating-option{font-size:11px}
}


/* Shop mobile gallery + collapsible controls */
@media(max-width:767px){
  .shop-page .product-stream{grid-template-columns:minmax(0,1fr)!important}
  .shop-page .product-stream .product-card{width:100%;min-width:0}
  .shop-page .product-stream .product-card .product-card-media{aspect-ratio:16/10}
  .shop-page .product-stream .product-card .product-card-body{padding:14px 15px 16px}
  .shop-page .product-stream .product-card .product-card-title{font-size:15px;line-height:1.8}
  .shop-page .product-stream .product-card .product-card-price{font-size:15px}
  .shop-page .shop-control-shell{margin-top:14px}
  .shop-page .shop-control-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .shop-page .sort-control{min-width:0}
  .shop-page .sort-control select,
  .shop-page .mobile-filter-button{width:100%;min-height:46px}
}
.shop-page .shop-collapsible-control{
  border:1px solid var(--ui-line);
  border-radius:16px;
  background:var(--ui-surface);
  box-shadow:0 10px 28px color-mix(in srgb,#000 7%,transparent);
  overflow:hidden;
  margin-top:10px;
}
.shop-page .shop-collapsible-control>summary{
  list-style:none;
  cursor:pointer;
  min-height:52px;
  padding:0 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--ui-text);
  font-weight:800;
}
.shop-page .shop-collapsible-control>summary::-webkit-details-marker{display:none}
.shop-page .shop-collapsible-control>summary:after{
  content:'⌄';
  font-size:18px;
  color:var(--ui-gold);
  transition:transform .2s ease;
}
.shop-page .shop-collapsible-control[open]>summary:after{transform:rotate(180deg)}
.shop-page .shop-collapsible-control>summary:focus-visible{
  outline:2px solid var(--ui-gold);
  outline-offset:-2px;
}
.shop-page .collapsible-control-body{padding:0 14px 14px}
.shop-page .collapsible-control-label{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  color:var(--ui-muted);
  margin-bottom:8px;
}
.shop-page .collapsible-control-label .shop-control-icon{color:var(--ui-gold)}
@media(max-width:767px){
  .shop-page .shop-searchbar{
    display:block;
  }
  .shop-page .shop-searchbar>label{
    display:flex;
    min-width:0;
  }
  .shop-page .shop-collapsible-control .shop-search-input-wrap input{
    min-height:46px;
    width:100%;
    min-width:0;
  }
}


/* Shop masthead / controls — clean hierarchy */
.shop-page .shop-page-masthead{grid-template-columns:minmax(0,1fr);margin-bottom:10px}
.shop-page .shop-page-masthead .page-masthead-copy{max-width:900px}
.shop-page .shop-search-control{margin-top:0}
.shop-page .shop-search-control>summary{
  background:linear-gradient(180deg,color-mix(in srgb,var(--ui-surface) 96%,var(--ui-gold) 4%),var(--ui-surface));
}
.shop-page .collapsible-summary-hint{
  margin-inline-start:auto;
  color:var(--ui-muted);
  font-size:10px;
  font-weight:500;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.shop-page .shop-search-input-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  border:1px solid var(--ui-line);
  border-radius:13px;
  background:var(--ui-surface-2);
  padding:0 12px;
}
.shop-page .shop-search-input-wrap .shop-control-icon{color:var(--ui-gold);flex:0 0 auto}
.shop-page .shop-search-input-wrap input{
  flex:1 1 auto;
  min-width:0;
  min-height:46px;
  border:0;
  outline:0;
  background:transparent;
  color:var(--ui-text);
  font:inherit;
}
@media(max-width:767px){
  .shop-page .shop-page-masthead{margin-bottom:4px}
  .shop-page .shop-page-masthead .page-masthead-copy p{margin-bottom:0}
  .shop-page .shop-search-control>summary{
    min-height:50px;
    padding-inline:13px;
  }
  .shop-page .collapsible-summary-hint{display:none}
  .shop-page .collapsible-control-body{padding:0 10px 10px}
  .shop-page .shop-search-input-wrap input{font-size:13px}
  .shop-page .mobile-filter-button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
  }
}


/* GilasArt Shop — persistent discovery controls */
.shop-page .shop-control-shell{
  position:sticky;
  top:70px;
  z-index:60;
  overflow:visible!important;
  margin:12px 0 18px;
  padding:10px;
  border:1px solid var(--ui-line,#d9d2c8);
  border-radius:20px;
  background:color-mix(in srgb,var(--ui-surface,#fff) 94%,transparent);
  box-shadow:0 14px 34px color-mix(in srgb,#000 10%,transparent);
  backdrop-filter:blur(16px) saturate(1.15);
}
.shop-page .shop-control-bar{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.shop-page .shop-control-item{position:static;min-width:0}
.shop-page .shop-control-item>summary{list-style:none}
.shop-page .shop-control-item>summary::-webkit-details-marker{display:none}
.shop-page .shop-control-trigger{
  min-height:54px;
  padding:8px 12px;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  cursor:pointer;
  border:1px solid var(--ui-line,#d9d2c8);
  border-radius:15px;
  background:var(--ui-surface,#fff);
  color:var(--ui-text,#201b16);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.shop-page .shop-control-trigger:hover,.shop-page .shop-control-item[open]>.shop-control-trigger{
  border-color:color-mix(in srgb,var(--ui-gold,#d9a441) 58%,var(--ui-line,#d9d2c8));
  box-shadow:0 7px 20px color-mix(in srgb,#000 9%,transparent);
  transform:translateY(-1px);
}
.shop-page .shop-control-trigger-main{display:flex;align-items:center;gap:7px;min-width:0;font-weight:900;white-space:nowrap}
.shop-page .shop-control-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:var(--ui-gold,#d9a441);font-weight:900;flex:0 0 22px}
.shop-page .shop-control-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.shop-page .shop-control-trigger-hint{font-size:10px;color:var(--ui-muted,#756e66);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-page .shop-control-trigger:after{content:'⌄';font-size:16px;color:var(--ui-gold,#d9a441);transition:transform .18s ease;flex:0 0 auto}
.shop-page .shop-control-item[open]>.shop-control-trigger:after{transform:rotate(180deg)}
.shop-page .shop-control-indicator{width:7px;height:7px;border-radius:50%;background:var(--ui-muted,#9b948b);opacity:.5;display:inline-block;box-shadow:0 0 0 3px color-mix(in srgb,#000 0%,transparent);transition:opacity .18s ease,box-shadow .18s ease,background .18s ease}
.shop-page .shop-control-indicator.is-active{background:#35b56b;opacity:1;box-shadow:0 0 0 3px color-mix(in srgb,#35b56b 18%,transparent),0 0 10px color-mix(in srgb,#35b56b 55%,transparent)}
.shop-page .shop-control-panel{
  position:absolute;
  inset-inline:0;
  top:calc(100% + 8px);
  z-index:90;
  padding:15px;
  border:1px solid var(--ui-line,#d9d2c8);
  border-radius:18px;
  background:var(--ui-surface,#fff);
  box-shadow:0 22px 55px color-mix(in srgb,#000 18%,transparent);
  max-height:min(72vh,560px);
  overflow:auto;
}
.shop-page .shop-search-input-wrap{display:flex;align-items:center;width:100%;margin:0}
.shop-page .shop-search-input-wrap input{width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--ui-line,#d9d2c8);border-radius:13px;background:var(--ui-bg,#faf8f4);color:var(--ui-text,#201b16);outline:none}
.shop-page .shop-search-input-wrap input:focus{border-color:var(--ui-gold,#d9a441);box-shadow:0 0 0 3px color-mix(in srgb,var(--ui-gold,#d9a441) 18%,transparent)}
.shop-page .shop-category-fieldset,.shop-page .shop-filter-panel-inner{margin:0}
.shop-page .shop-category-fieldset{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px}
.shop-page .shop-category-fieldset legend,.shop-page .shop-filter-panel-inner legend{margin-bottom:8px;font-weight:900}
.shop-page .shop-filter-panel-inner{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr);gap:14px;align-items:start}
.shop-page .shop-filter-panel-inner .price-filter-group{min-width:0}
.shop-page .shop-filter-panel-inner .filter-group:not(.price-filter-group){min-width:0}
.shop-page .filter-panel-actions{grid-column:1/-1;display:flex;justify-content:flex-start;padding-top:4px;border-top:1px solid var(--ui-line,#d9d2c8)}
.shop-page .sort-panel-label{display:grid;gap:8px;font-weight:900;max-width:520px;margin:0 auto}
.shop-page .sort-panel-label select{min-height:48px;width:100%;border:1px solid var(--ui-line,#d9d2c8);border-radius:13px;background:var(--ui-bg,#faf8f4);color:var(--ui-text,#201b16);padding:0 12px;font:inherit}
.shop-page .shop-active-filters{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.shop-page .shop-active-filters[hidden]{display:none}
.shop-page .filter-chip{min-height:30px;border:1px solid color-mix(in srgb,var(--ui-gold,#d9a441) 35%,var(--ui-line,#d9d2c8));border-radius:999px;background:color-mix(in srgb,var(--ui-gold,#d9a441) 9%,var(--ui-surface,#fff));color:var(--ui-text,#201b16);padding:4px 10px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.shop-page .gallery-workspace{position:relative}
@media(max-width:767px){
  .shop-page .shop-control-shell{top:62px;margin:7px 0 13px;padding:7px;border-radius:16px}
  .shop-page .shop-control-bar{gap:5px}
  .shop-page .shop-control-trigger{min-height:50px;padding:6px 5px;justify-content:center;border-radius:12px;gap:4px}
  .shop-page .shop-control-trigger-main{flex-direction:column;gap:2px;font-size:11px}
  .shop-page .shop-control-icon{width:19px;height:19px;flex-basis:19px;font-size:17px}
  .shop-page .shop-control-trigger-hint,.shop-page .shop-control-trigger:after{display:none}
  .shop-page .shop-control-indicator{position:absolute;margin:-2px 0 0 18px;width:6px;height:6px}
  .shop-page .shop-control-panel{top:calc(100% + 6px);padding:12px;border-radius:15px;max-height:68vh}
  .shop-page .shop-category-fieldset{grid-template-columns:1fr 1fr;gap:6px}
  .shop-page .shop-filter-panel-inner{grid-template-columns:1fr;gap:10px}
  .shop-page .shop-filter-panel-inner .filter-group{padding:9px 0;border-bottom:1px solid var(--ui-line,#d9d2c8)}
  .shop-page .shop-filter-panel-inner .filter-group:last-of-type{border-bottom:0}
  .shop-page .filter-panel-actions{border-top:0;padding-top:0}
  .shop-page .shop-active-filters{margin-top:6px;max-height:48px;overflow:auto;flex-wrap:nowrap}
  .shop-page .shop-active-filters .filter-chip{flex:0 0 auto}
}
@media(min-width:768px) and (max-width:1199px){
  .shop-page .shop-control-shell{top:70px}
  .shop-page .shop-control-trigger-hint{display:none}
  .shop-page .shop-filter-panel-inner{grid-template-columns:1fr 1fr}
}
@media(min-width:1200px){
  .shop-page .shop-control-shell{top:70px}
  .shop-page .shop-control-panel{max-width:none}
}
@media(prefers-reduced-motion:reduce){.shop-page .shop-control-trigger{transition:none}.shop-page .shop-control-trigger:after{transition:none}}
