/* Snailo Moon shared UI — header/auth/account */
:root{
    --gold:var(--brand-gold,#C9A45C);
    --gold-light:var(--brand-gold-light,#E8CF94);
    --green-gold:#A98644;
    --bg:var(--theme-dark-bg,#090909);
    --bg2:#101010;
    --surface:#151515;
    --surface2:#1C1C1C;
    --text:#F7F2E9;
    --muted:#AAA39A;
    --border:rgba(255,255,255,.09);
    --gold-border:rgba(201,164,92,.30);
    --shadow:0 18px 55px rgba(0,0,0,.24);
    --glass:rgba(15,15,15,.76);
    --font-ar:"Cairo",system-ui,sans-serif;
    --font-brand:"Cormorant Garamond",Georgia,serif;
}
html[data-theme="light"]{
    --bg:var(--theme-light-bg,#F7F2EA);
    --bg2:#EEE6DA;
    --surface:#FFFDF9;
    --surface2:#F5EFE5;
    --text:#18130E;
    --muted:#6D655C;
    --border:rgba(30,22,14,.10);
    --gold-border:rgba(167,121,48,.26);
    --shadow:0 18px 55px rgba(82,58,26,.11);
    --glass:rgba(255,253,249,.78);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;min-width:320px;background:var(--bg);color:var(--text);
    font-family:var(--font-ar);overflow-x:hidden;transition:background .25s,color .25s;
}
html[lang="en"] body{font-family:Arial,system-ui,sans-serif}
body.drawer-open{overflow:hidden}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input{font:inherit}
button{color:inherit}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

/* Floating header inspired by the supplied project structure */
.site-header{
    position:fixed;top:0;inset-inline:0;z-index:1000;
    min-height:88px;padding:12px 0;
    pointer-events:none;transition:.28s;
}
.header-shell{
    pointer-events:auto;min-height:64px;
    display:grid;grid-template-columns:auto 1fr auto;
    align-items:center;gap:22px;padding:8px 10px 8px 14px;
    border:1px solid color-mix(in srgb,var(--border) 78%,transparent);
    border-radius:20px;background:var(--glass);
    backdrop-filter:blur(18px) saturate(1.15);
    -webkit-backdrop-filter:blur(18px) saturate(1.15);
    box-shadow:0 10px 34px rgba(0,0,0,.07);
    transition:.28s;
}
.site-header.scrolled .header-shell{
    background:color-mix(in srgb,var(--surface) 94%,transparent);
    border-color:color-mix(in srgb,var(--gold) 28%,var(--border));
    box-shadow:0 14px 40px rgba(0,0,0,.15);
    transform:translateY(-2px);
}
.brand{
    min-width:0;display:flex;align-items:center;gap:10px;
    padding-inline:4px 8px;
}
.brand-mark{
    width:46px;height:46px;border-radius:14px;
    display:grid;place-items:center;overflow:hidden;
    background:color-mix(in srgb,var(--gold) 9%,var(--surface));
    border:1px solid var(--gold-border);
}
.brand-mark img{width:42px;height:42px;object-fit:contain}
.brand-copy strong,.brand-copy small{display:block;white-space:nowrap}
.brand-copy strong{
    font-family:var(--font-brand);
    color:var(--gold-light);font-size:1.23rem;line-height:1;
}
.brand-copy small{
    margin-top:3px;color:var(--muted);font-size:.56rem;
    font-weight:700;letter-spacing:.12em;text-transform:uppercase;
}
.desktop-nav{
    justify-self:center;display:flex;align-items:center;justify-content:center;gap:7px;
}
.desktop-nav a{
    padding:9px 10px;border-radius:10px;
    color:var(--muted);font-size:.78rem;font-weight:800;
    transition:.2s;
}
.desktop-nav a:hover{background:var(--surface2);color:var(--gold-light)}
.header-actions{display:flex;align-items:center;gap:8px;justify-self:end}
.header-legal-chip{
    display:inline-flex;align-items:center;gap:5px;
    height:34px;padding:0 10px;border:1px solid var(--gold-border);
    border-radius:10px;color:var(--muted);font-size:.6rem;white-space:nowrap;
}
.header-legal-chip b{color:var(--gold-light);font-weight:800}
.switch-cluster{
    display:flex;align-items:center;gap:6px;padding:4px;
    border-radius:999px;background:var(--surface2);border:1px solid var(--border);
}
.smart-switch{
    position:relative;width:64px;height:32px;padding:0;
    border:1px solid var(--border);border-radius:999px;
    background:var(--surface);cursor:pointer;overflow:hidden;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.05);
    transition:.2s;direction:ltr;isolation:isolate;
}
.smart-switch:hover{
    border-color:color-mix(in srgb,var(--gold) 38%,var(--border));
    box-shadow:0 8px 22px rgba(201,164,92,.10);
}
.switch-ghost{
    position:absolute;top:0;width:30px;height:30px;
    display:grid;place-items:center;font-size:.66rem;font-weight:900;
    color:var(--muted);opacity:.58;z-index:1;pointer-events:none;
}
.switch-start{left:1px}.switch-end{right:1px}
.switch-thumb{
    position:absolute;z-index:2;top:2px;left:2px;
    width:27px;height:27px;border-radius:50%;
    display:grid;place-items:center;
    background:linear-gradient(135deg,#F7E8B4,var(--gold));
    color:#2A2114;font-size:.7rem;font-weight:950;
    box-shadow:0 4px 10px rgba(0,0,0,.16);
    transform:translate3d(0,0,0);
    transition:transform .27s cubic-bezier(.2,.78,.2,1),background .2s,color .2s;
}
.theme-switch.is-dark .switch-thumb,
.language-switch.is-en .switch-thumb{
    transform:translate3d(32px,0,0);
    background:linear-gradient(135deg,#B48B43,#6F5225);
    color:#fff;
}
.header-cart{
    position:relative;width:38px;height:38px;
    display:grid;place-items:center;border:1px solid var(--border);
    border-radius:12px;background:var(--surface);
    transition:.2s;
}
.header-cart:hover{border-color:var(--gold-border);color:var(--gold-light)}
.header-cart svg{
    width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round;
}
.cart-badge{
    position:absolute;top:-5px;inset-inline-end:-5px;
    min-width:18px;height:18px;padding:0 4px;
    display:grid;place-items:center;border-radius:999px;
    background:var(--gold);color:#111;font-size:.58rem;font-weight:900;
}
.btn-auth{
    min-height:38px;display:inline-flex;align-items:center;justify-content:center;
    padding:0 14px;border-radius:12px;font-size:.76rem;font-weight:900;
    border:1px solid transparent;transition:.2s;
}
.btn-auth:hover{transform:translateY(-1px)}
.btn-login{border-color:var(--border);background:var(--surface);color:var(--text)}
.btn-login:hover{border-color:var(--gold-border);color:var(--gold-light)}
.btn-register{
    background:linear-gradient(135deg,#E9CF91,var(--gold));
    color:#14100A;box-shadow:0 9px 20px rgba(201,164,92,.15);
}
.hamburger{
    display:none;width:39px;height:39px;padding:8px;
    border:1px solid var(--border);border-radius:12px;
    background:var(--surface2);cursor:pointer;
    align-content:center;gap:5px;
}
.hamburger span{
    display:block;height:2px;border-radius:4px;background:var(--text);
    transition:transform .26s cubic-bezier(.2,.78,.2,1),opacity .18s;
}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Logged-in menu */
.header-user-menu{position:relative}
.header-account-link{
    min-height:40px;max-width:190px;display:flex;align-items:center;gap:8px;
    padding:4px 8px 4px 5px;border:1px solid var(--border);
    border-radius:13px;background:var(--surface);cursor:pointer;text-align:start;
}
.header-user-avatar{
    flex:0 0 auto;width:31px;height:31px;border-radius:10px;
    display:grid;place-items:center;
    background:linear-gradient(135deg,#F1DBA5,var(--gold));
    color:#17110A;font-weight:900;font-size:.8rem;
}
.header-user-copy{min-width:0;line-height:1.15}
.header-user-copy small,.header-user-copy b{display:block}
.header-user-copy small{font-size:.52rem;color:var(--muted)}
.header-user-copy b{
    max-width:108px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    margin-top:2px;font-size:.69rem;
}
.account-chevron{color:var(--muted);font-size:.72rem}
.account-popover{
    position:absolute;top:calc(100% + 10px);inset-inline-end:0;
    width:180px;padding:8px;border:1px solid var(--border);
    border-radius:14px;background:var(--surface);box-shadow:var(--shadow);
    opacity:0;visibility:hidden;transform:translateY(-5px);transition:.2s;
}
.header-user-menu.open .account-popover{opacity:1;visibility:visible;transform:none}
.account-popover a,.account-popover button{
    width:100%;display:block;padding:9px 10px;border:0;border-radius:9px;
    background:transparent;color:var(--text);font-size:.72rem;font-weight:700;
    text-align:start;cursor:pointer;
}
.account-popover a:hover,.account-popover button:hover{background:var(--surface2);color:var(--gold-light)}
.account-popover form{margin:0}

/* Mobile sidebar */
.sidebar-overlay{
    position:fixed;inset:0;z-index:1900;background:rgba(0,0,0,.58);
    opacity:0;visibility:hidden;backdrop-filter:blur(0);transition:.28s;
}
.sidebar-overlay.active{opacity:1;visibility:visible;backdrop-filter:blur(4px)}
.sidebar{
    position:fixed;top:0;bottom:0;right:0;left:auto;z-index:2000;
    width:min(320px,86vw);padding:24px;
    display:flex;flex-direction:column;
    background:var(--surface);border-left:2px solid var(--gold);
    box-shadow:-18px 0 45px rgba(0,0,0,.24);
    transform:translate3d(105%,0,0);
    pointer-events:none;visibility:hidden;
    transition:transform .38s cubic-bezier(.2,.78,.2,1),visibility 0s linear .38s;
}
.sidebar.active{
    transform:translate3d(0,0,0);pointer-events:auto;visibility:visible;
    transition:transform .38s cubic-bezier(.2,.78,.2,1);
}
html[dir="ltr"] .sidebar{
    right:auto;left:0;border-left:0;border-right:2px solid var(--gold);
    box-shadow:18px 0 45px rgba(0,0,0,.24);
    transform:translate3d(-105%,0,0);
}
html[dir="ltr"] .sidebar.active{transform:translate3d(0,0,0)}
.sidebar-top{
    display:flex;justify-content:space-between;align-items:center;
    padding-bottom:20px;border-bottom:1px solid var(--border);
}
.sidebar-brand{display:flex;align-items:center;gap:9px}
.sidebar-brand img{width:48px;height:48px;object-fit:contain}
.sidebar-brand strong,.sidebar-brand small{display:block}
.sidebar-brand strong{font-family:var(--font-brand);color:var(--gold-light);font-size:1.05rem}
.sidebar-brand small{font-size:.54rem;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}
.sidebar-close{
    width:40px;height:40px;border:1px solid var(--border);
    border-radius:12px;background:var(--surface2);color:var(--text);
    font-size:1.45rem;cursor:pointer;
}
.sidebar-user-card{
    margin-top:15px;padding:12px;display:flex;align-items:center;gap:10px;
    border:1px solid var(--gold-border);border-radius:14px;background:var(--surface2);
}
.sidebar-user-card small,.sidebar-user-card b{display:block}
.sidebar-user-card small{color:var(--muted);font-size:.56rem}
.sidebar-user-card b{margin-top:2px;font-size:.75rem}
.sidebar-nav{padding:16px 0}
.sidebar-nav a{
    display:flex;align-items:center;gap:11px;padding:11px 7px;
    border-bottom:1px solid var(--border);font-size:.87rem;font-weight:800;
}
.sidebar-nav a span{
    width:33px;height:33px;border-radius:10px;display:grid;place-items:center;
    background:var(--surface2);color:var(--gold);
}
.sidebar-preferences{
    margin-top:4px;padding:8px 12px;border:1px solid var(--border);
    border-radius:16px;background:var(--surface2);
}
.pref-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0}
.pref-row + .pref-row{border-top:1px solid var(--border)}
.pref-row b,.pref-row small{display:block}
.pref-row b{font-size:.76rem}.pref-row small{font-size:.63rem;color:var(--muted);margin-top:2px}
.sidebar-legal{
    margin-top:11px;padding:10px 12px;border:1px dashed var(--gold-border);
    border-radius:13px;display:flex;justify-content:space-between;gap:10px;
    color:var(--muted);font-size:.65rem;
}
.sidebar-legal b{color:var(--gold-light)}
.sidebar-auth{margin-top:auto;padding-top:16px;display:grid;gap:8px}
.sidebar-auth .btn-auth{width:100%}
.sidebar-logout{border:0;cursor:pointer}
.sidebar-auth form{margin:0}

/* Shared page offset under fixed header */
.hero-section,.auth-page,.account-page,.cart-page{padding-top:108px}

/* Auth */
.auth-page{min-height:100vh;padding-bottom:90px}
.auth-layout{
    min-height:calc(100vh - 108px);
    display:grid;grid-template-columns:.95fr 1.05fr;
    align-items:stretch;gap:18px;padding-top:28px;
}
.auth-visual{
    position:relative;overflow:hidden;min-height:650px;padding:52px;
    display:flex;flex-direction:column;justify-content:flex-end;
    border:1px solid var(--gold-border);border-radius:30px;
    background:
        radial-gradient(circle at 72% 17%,rgba(201,164,92,.18),transparent 30%),
        linear-gradient(145deg,var(--surface),var(--bg2));
}
.auth-visual::after{
    content:"";position:absolute;width:500px;height:500px;top:-245px;inset-inline-end:-180px;
    border:1px solid rgba(201,164,92,.14);border-radius:50%;
}
.auth-visual-logo{
    position:absolute;top:55px;inset-inline-start:50%;transform:translateX(-50%);
    width:260px;height:260px;border-radius:50%;display:grid;place-items:center;
    border:1px solid var(--gold-border);background:rgba(201,164,92,.04);
}
.auth-visual-logo img{width:72%}
.auth-eyebrow{color:var(--gold-light);font-size:.68rem;font-weight:900;letter-spacing:.16em}
.auth-visual h1{
    max-width:580px;margin:13px 0 12px;
    font-size:clamp(2.7rem,4.6vw,4.8rem);line-height:1.02;letter-spacing:-.04em;
}
.auth-visual>p{max-width:580px;margin:0;color:var(--muted);font-size:.92rem;line-height:1.9}
.auth-points{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.auth-points span{
    padding:8px 10px;border:1px solid var(--border);border-radius:999px;
    color:var(--muted);font-size:.65rem;background:rgba(255,255,255,.015);
}
.auth-panel{display:grid;place-items:center;padding:28px}
.auth-card{
    width:min(620px,100%);padding:38px;
    border:1px solid var(--border);border-radius:28px;background:var(--surface);
    box-shadow:var(--shadow);
}
.auth-card-head>span{color:var(--gold-light);font-size:.65rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.auth-card-head h2{margin:7px 0 7px;font-size:2rem}
.auth-card-head p{margin:0;color:var(--muted);font-size:.82rem}
.form-alert{margin-top:18px;padding:12px 14px;border-radius:12px;font-size:.76rem;line-height:1.7}
.form-alert.error{border:1px solid rgba(218,90,90,.25);background:rgba(218,90,90,.09);color:#E8A0A0}
.auth-form{display:grid;gap:15px;margin-top:22px}
.auth-form label>span{display:block;margin-bottom:7px;color:var(--muted);font-size:.72rem;font-weight:700}
.auth-form input{
    width:100%;height:49px;padding:0 14px;
    border:1px solid var(--border);border-radius:12px;
    background:var(--surface2);color:var(--text);outline:0;
    transition:.2s;
}
.auth-form input:focus{border-color:var(--gold-border);box-shadow:0 0 0 3px rgba(201,164,92,.07)}
.auth-fields-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.password-field{position:relative}
.password-field input{padding-inline-end:46px}
.password-field button{
    position:absolute;top:50%;inset-inline-end:7px;transform:translateY(-50%);
    width:34px;height:34px;border:0;border-radius:9px;background:transparent;
    color:var(--muted);cursor:pointer;
}
.password-field button:hover{background:var(--surface);color:var(--gold-light)}
.auth-submit{
    min-height:50px;margin-top:3px;border:0;border-radius:13px;cursor:pointer;
    background:linear-gradient(135deg,#EED8A0,var(--gold));color:#151008;
    font-weight:900;box-shadow:0 12px 28px rgba(201,164,92,.16);
}
.auth-switch{
    margin-top:20px;padding-top:18px;border-top:1px solid var(--border);
    display:flex;justify-content:center;gap:6px;color:var(--muted);font-size:.75rem;
}
.auth-switch a{color:var(--gold-light);font-weight:800}

/* Account */
.account-page{min-height:100vh;padding-bottom:100px}
.account-shell{padding-top:46px}
.account-hero{
    padding:35px;display:flex;align-items:center;gap:20px;
    border:1px solid var(--gold-border);border-radius:24px;
    background:radial-gradient(circle at 88% 18%,rgba(201,164,92,.11),transparent 30%),var(--surface);
}
.account-avatar{
    width:78px;height:78px;border-radius:22px;display:grid;place-items:center;
    background:linear-gradient(135deg,#F0DDAE,var(--gold));color:#161008;
    font-size:1.5rem;font-weight:900;
}
.account-hero span{color:var(--gold-light);font-size:.65rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.account-hero h1{margin:5px 0 5px;font-size:2rem}
.account-hero p{margin:0;color:var(--muted);font-size:.8rem}
.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.account-card{
    min-height:120px;padding:20px;display:flex;align-items:center;gap:14px;
    border:1px solid var(--border);border-radius:18px;background:var(--surface);
}
.account-card-icon{
    width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
    background:var(--surface2);color:var(--gold);
}
.account-card small,.account-card strong{display:block}
.account-card small{color:var(--muted);font-size:.66rem}
.account-card strong{margin-top:4px;font-size:.86rem;overflow-wrap:anywhere}
.link-card:hover{border-color:var(--gold-border)}
.account-actions{margin-top:18px;display:flex;align-items:center;gap:10px}
.account-actions form{margin:0}
.danger-btn{background:transparent;color:#D98F8F;cursor:pointer}

/* Cart */
.cart-page{min-height:100vh;padding-bottom:100px}
.cart-shell{padding-top:50px}
.page-title-block{max-width:720px}
.page-title-block>span{color:var(--gold-light);font-size:.64rem;font-weight:900;letter-spacing:.15em}
.page-title-block h1{margin:8px 0 9px;font-size:clamp(2.5rem,4.8vw,4.3rem);line-height:1.05}
.page-title-block p{margin:0;color:var(--muted);line-height:1.8}
.cart-empty-card{
    min-height:390px;margin-top:30px;padding:40px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
    border:1px dashed var(--gold-border);border-radius:24px;background:var(--surface);
}
.cart-empty-card img{width:110px;margin-bottom:14px;opacity:.8}
.cart-empty-card h2{margin:0 0 7px}
.cart-empty-card p{max-width:560px;margin:0 0 20px;color:var(--muted);font-size:.82rem;line-height:1.8}

/* Existing common content helpers */
.btn-primary,.btn-secondary{
    min-height:46px;display:inline-flex;align-items:center;justify-content:center;
    padding:0 19px;border-radius:12px;font-size:.75rem;font-weight:900;transition:.2s;
}
.btn-primary{background:linear-gradient(135deg,#EED8A0,var(--gold));color:#151008}
.btn-secondary{border:1px solid var(--border);background:var(--surface);color:var(--text)}
.btn-primary:hover,.btn-secondary:hover{transform:translateY(-1px)}

/* footer styles remain compatible */
.site-footer{margin-top:18px;background:#050505;color:#F6F1E8;border-top:1px solid rgba(255,255,255,.08)}
html[data-theme="light"] .site-footer{background:#15120F;color:#F6F1E8}
.footer-top{padding:58px 0 46px;display:grid;grid-template-columns:1.35fr .72fr .72fr .9fr;gap:44px}
.footer-brand-block img{width:148px}
.footer-brand-block>p{max-width:300px;margin:13px 0 20px;color:#AAA39A;font-size:.78rem;line-height:1.8}
.social-row{display:flex;flex-wrap:wrap;gap:8px}
.social-btn{width:37px;height:37px;border:1px solid rgba(255,255,255,.11);border-radius:50%;display:grid;place-items:center;color:#D8B66A;transition:.2s}
.social-btn:hover{transform:translateY(-2px);border-color:rgba(216,182,106,.42);background:rgba(216,182,106,.08)}
.social-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.footer-links-col{display:flex;flex-direction:column;gap:9px}
.footer-links-col h3,.footer-company-col h3{margin:0 0 8px;color:#D8B66A;font-size:.86rem}
.footer-links-col a{color:#AAA39A;font-size:.76rem}
.footer-links-col a:hover{color:#fff}
.award-line{display:flex;align-items:flex-start;gap:8px;color:#AAA39A}
.award-line span{color:#D8B66A}
.award-line p{margin:0;font-size:.74rem;line-height:1.7}
.tax-line{margin:12px 0 0;color:#AAA39A;font-size:.7rem;line-height:1.7}
.tax-line strong{color:#D8B66A}
.footer-bottom{min-height:62px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#8E8880;font-size:.66rem}
.developer-credit{display:flex;align-items:center;gap:5px}
.developer-credit a{color:#D8B66A;font-weight:700}

/* Keep the existing home structure usable */
.hero-section{position:relative;overflow:hidden;padding-bottom:0}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:58px;align-items:center;min-height:610px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--gold-light);font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.eyebrow::before{content:"";width:34px;height:1px;background:currentColor}
.hero-copy h1{margin:18px 0 22px;font-size:clamp(4rem,7.4vw,8rem);line-height:.83;letter-spacing:-.055em;font-weight:500}
.hero-copy h1 strong{display:block;color:var(--gold-light);font-family:var(--font-brand);font-weight:600}
.hero-text{max-width:660px;margin:0;color:var(--muted);font-size:1.02rem;line-height:2}
.signature{margin:15px 0 0;font-family:var(--font-brand);font-size:1.2rem}
.signature em{color:var(--gold-light)}
.hero-buttons{display:flex;flex-wrap:wrap;gap:11px;margin-top:30px}
.award-pill{width:max-content;max-width:100%;margin-top:24px;padding:9px 13px;border:1px solid var(--gold-border);border-radius:999px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.7rem}
.award-pill span{color:var(--gold)}
.hero-card{position:relative;min-height:560px;display:grid;place-items:center}
.moon-glow{position:absolute;width:410px;height:410px;border-radius:50%;background:radial-gradient(circle at 36% 30%,rgba(255,248,222,.92),rgba(232,207,148,.35) 38%,rgba(201,164,92,.10) 66%,transparent 74%);opacity:.65}
.hero-mark{position:relative;z-index:2;width:380px;height:380px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--gold-border);background:radial-gradient(circle,rgba(201,164,92,.08),transparent 68%);box-shadow:var(--shadow)}
.hero-mark img{width:72%}
.hero-mini-card{position:absolute;z-index:5;min-width:150px;padding:14px 16px;border:1px solid var(--border);border-radius:15px;background:var(--glass);backdrop-filter:blur(10px);box-shadow:var(--shadow)}
.hero-mini-card small{display:block;color:var(--gold);font-size:.58rem;font-weight:800;letter-spacing:.12em}
.hero-mini-card strong{display:block;margin-top:4px;font-size:.8rem}
.mini-card-one{top:14%;inset-inline-start:0}.mini-card-two{bottom:14%;inset-inline-end:0}
.brand-strip{margin-top:12px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.brand-strip .container{min-height:50px;display:flex;align-items:center;justify-content:center;gap:18px;color:var(--muted);font-size:.6rem;letter-spacing:.16em}
.brand-strip i{width:4px;height:4px;border-radius:50%;background:var(--gold)}
.section{padding:110px 0}
.section-head{display:grid;grid-template-columns:1fr .82fr;gap:56px;align-items:end;margin-bottom:52px}
.section-head h2{margin:14px 0 0;font-size:clamp(2.35rem,4.7vw,4.6rem);line-height:1.04;letter-spacing:-.04em}
.section-head>p{margin:0;color:var(--muted);line-height:1.9}
.about-section{background:linear-gradient(to bottom,var(--bg),var(--bg2),var(--bg))}
.story-grid{display:grid;grid-template-columns:1.35fr .82fr .82fr;gap:18px}
.story-main,.story-card{position:relative;overflow:hidden;min-height:340px;padding:28px;border:1px solid var(--border);border-radius:26px;background:var(--surface);display:flex;flex-direction:column;justify-content:flex-end}
.story-main{min-height:420px;border-color:var(--gold-border);background:radial-gradient(circle at 82% 16%,rgba(201,164,92,.12),transparent 34%),var(--surface)}
.story-index{position:absolute;top:23px;inset-inline-start:26px;color:var(--gold);font-family:var(--font-brand)}
.story-content{position:relative;z-index:2}
.story-main h3,.story-card h3{margin:0 0 9px;font-size:1.35rem}
.story-main p,.story-card p{margin:0;color:var(--muted);line-height:1.9;font-size:.88rem}
.story-watermark{position:absolute;width:270px;top:16px;inset-inline-end:-38px;opacity:.09}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.product-card{overflow:hidden;border:1px solid var(--border);border-radius:26px;background:var(--surface);transition:.25s}
.product-card:hover{transform:translateY(-5px);border-color:var(--gold-border)}
.product-media{position:relative;height:320px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.018),transparent),radial-gradient(circle at 50% 48%,rgba(201,164,92,.12),transparent 38%)}
.product-media>img{width:100%;height:100%;object-fit:cover}
.product-fallback{width:180px;height:180px;border:1px solid var(--gold-border);border-radius:50%;display:grid;place-items:center}
.product-fallback img{width:70%;opacity:.82}
.product-badge{position:absolute;top:14px;inset-inline-start:14px;padding:6px 9px;border:1px solid var(--gold-border);border-radius:999px;color:var(--gold-light);font-size:.6rem;font-weight:800;background:var(--glass)}
.product-content{padding:22px 24px 26px;border-top:1px solid var(--border)}
.product-content small{color:var(--gold);font-family:var(--font-brand);font-size:.84rem}
.product-content h3{margin:6px 0 8px;font-size:1.25rem}
.product-content p{margin:0 0 15px;color:var(--muted);font-size:.84rem;line-height:1.75}
.price-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.price-row strong{color:var(--gold-light)}
.price-row del{color:var(--muted);font-size:.73rem}
.product-link{color:var(--gold-light);font-size:.78rem;font-weight:800}
.product-link::after{content:" ↗"}html[dir="rtl"] .product-link::after{content:" ↖"}
.empty-products{min-height:360px;padding:44px;border:1px dashed var(--gold-border);border-radius:26px;background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.empty-products img{width:110px;margin-bottom:16px;opacity:.75}
.empty-products h3{margin:0 0 8px}.empty-products p{margin:0;color:var(--muted)}
.why-section{background:var(--bg2)}
.why-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:64px;align-items:center}
.why-visual{min-height:470px;border:1px solid var(--gold-border);border-radius:30px;background:radial-gradient(circle,rgba(201,164,92,.09),transparent 58%),var(--surface);display:grid;place-items:center}
.why-visual img{width:min(320px,74%)}
.why-copy h2{margin:15px 0 27px;font-size:clamp(2.4rem,4.8vw,4.6rem);line-height:1.05;letter-spacing:-.04em}
.why-item{display:grid;grid-template-columns:46px 1fr;gap:17px;padding:20px 0;border-top:1px solid var(--border)}
.why-item:last-child{border-bottom:1px solid var(--border)}
.why-item>span{color:var(--gold);font-family:var(--font-brand)}
.why-item h3{margin:0 0 5px;font-size:1.05rem}.why-item p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.8}
.cta-section{padding-top:85px}
.cta-card{padding:50px 54px;border:1px solid var(--gold-border);border-radius:28px;background:radial-gradient(circle at 12% 16%,rgba(201,164,92,.12),transparent 34%),var(--surface);display:flex;align-items:center;justify-content:space-between;gap:34px}
.cta-card h2{margin:12px 0 7px;font-family:var(--font-brand);font-size:clamp(2.6rem,4.7vw,4.5rem);line-height:1}.cta-card p{margin:0;color:var(--muted)}

@media(max-width:1180px){
    .desktop-nav{display:none}
    .hamburger{display:grid}
    .switch-cluster,.btn-auth,.header-legal-chip{display:none}
    .header-shell{grid-template-columns:auto 1fr auto}
}
@media(max-width:980px){
    .hero-grid{grid-template-columns:1fr;gap:12px}
    .hero-copy{text-align:center}.hero-copy .eyebrow{justify-content:center}
    .hero-text{margin-inline:auto}.hero-buttons{justify-content:center}.award-pill{margin-inline:auto}
    .hero-card{min-height:500px}
    .section-head{grid-template-columns:1fr;gap:18px}
    .story-grid{grid-template-columns:1fr 1fr}.story-main{grid-column:1/-1}
    .product-grid{grid-template-columns:1fr 1fr}
    .why-grid{grid-template-columns:1fr}.why-visual{min-height:360px}
    .footer-top{grid-template-columns:1.2fr .8fr .8fr}.footer-company-col{grid-column:2/4}
    .auth-layout{grid-template-columns:1fr}.auth-visual{display:none}.auth-panel{padding:20px 0}
}
@media(max-width:760px){
    .site-header{padding:8px 0;min-height:74px}
    .header-shell{min-height:58px;border-radius:17px;padding:5px 7px 5px 10px;gap:10px}
    .brand-mark{width:43px;height:43px;border-radius:12px}.brand-mark img{width:39px;height:39px}
    .brand-copy strong{font-size:1.03rem}.brand-copy small{display:none}
    .header-user-menu{display:none}
    .header-cart{width:38px;height:38px}
    .auth-page,.account-page,.cart-page,.hero-section{padding-top:88px}
    .auth-card{padding:25px 19px;border-radius:22px}
    .auth-fields-row{grid-template-columns:1fr}
    .account-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
    .container{width:min(100% - 28px,1180px)}
    .brand-copy{display:none}
    .hero-copy h1{font-size:clamp(3.7rem,17vw,5.8rem)}
    .hero-text{font-size:.94rem}.hero-buttons{flex-direction:column}.hero-buttons a{width:100%}
    .hero-card{min-height:405px}.hero-mark{width:285px;height:285px}.moon-glow{width:315px;height:315px}
    .hero-mini-card{min-width:116px;padding:10px 11px}.hero-mini-card strong{font-size:.69rem}
    .brand-strip .container{font-size:.48rem;gap:8px;white-space:nowrap;overflow:hidden}
    .section{padding:82px 0}.section-head{margin-bottom:36px}
    .section-head h2{font-size:clamp(2.2rem,10vw,3.3rem)}
    .story-grid,.product-grid{grid-template-columns:1fr}.story-main{grid-column:auto;min-height:330px}.story-card{min-height:240px}
    .product-media{height:300px}.why-visual{min-height:300px}
    .cta-card{padding:32px 22px;flex-direction:column;align-items:flex-start}.cta-card .btn-primary{width:100%}
    .footer-top{grid-template-columns:1fr 1fr;gap:30px}.footer-brand-block{grid-column:1/-1}.footer-company-col{grid-column:1/-1}
    .footer-bottom{padding:15px 0;flex-direction:column;justify-content:center;text-align:center}
    .account-hero{padding:24px;align-items:flex-start}.account-avatar{width:62px;height:62px;border-radius:18px}
    .account-actions{flex-direction:column;align-items:stretch}.account-actions a,.account-actions form,.account-actions button{width:100%}
}


/* =========================================================
   Premium typography + redesigned public homepage
   ========================================================= */

html[lang="ar"] body{
    font-family:"Tajawal",system-ui,sans-serif;
    font-weight:500;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .desktop-nav,
html[lang="ar"] .btn-auth,
html[lang="ar"] .home-btn{
    font-family:"Alexandria","Tajawal",sans-serif;
}
html[lang="en"] body{
    font-family:"DM Sans",system-ui,sans-serif;
}
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4{
    font-family:"DM Sans",system-ui,sans-serif;
}
html[lang="en"] .brand-copy strong,
html[lang="en"] .home-hero-copy h1 strong{
    font-family:"Cormorant Garamond",Georgia,serif;
}
html[lang="ar"] .brand-copy strong,
html[lang="ar"] .home-hero-copy h1 strong{
    font-family:"Cormorant Garamond",Georgia,serif;
}

body{
    font-size:16px;
    line-height:1.65;
}
.desktop-nav a{
    font-size:.84rem;
}
.brand-copy small{
    font-size:.58rem;
    letter-spacing:0;
    text-transform:none;
}
.header-legal-chip{
    font-size:.66rem;
    font-weight:800;
}

/* Home */
.premium-home{
    overflow:hidden;
}
.home-hero{
    position:relative;
    min-height:100svh;
    padding:132px 0 0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    overflow:hidden;
}
.home-hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.02fr .98fr;
    align-items:center;
    gap:70px;
    flex:1;
    padding-block:42px 54px;
}
.home-kicker{
    display:inline-flex;
    align-items:center;
    gap:12px;
    color:var(--gold);
    font-family:"Alexandria","DM Sans",sans-serif;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.04em;
}
.home-kicker::before{
    content:"";
    width:42px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--gold),transparent);
}
html[dir="rtl"] .home-kicker::before{
    background:linear-gradient(270deg,var(--gold),transparent);
}
.home-hero-copy h1{
    margin:22px 0 24px;
    font-size:clamp(3.5rem,6.4vw,7rem);
    line-height:.92;
    letter-spacing:-.045em;
    font-weight:800;
}
.home-hero-copy h1 span{
    display:block;
    font-size:.56em;
    margin-bottom:8px;
    color:var(--text);
    letter-spacing:-.02em;
}
.home-hero-copy h1 strong{
    display:block;
    color:var(--gold-light);
    font-size:1.04em;
    font-weight:700;
}
.home-hero-text{
    max-width:690px;
    margin:0;
    color:var(--muted);
    font-size:1.12rem;
    line-height:2;
}
.home-signature{
    margin:18px 0 0;
    color:var(--text);
    font-size:1.05rem;
    font-weight:700;
}
.home-signature em{
    color:var(--gold-light);
    font-style:normal;
}
.home-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:32px;
}
.home-btn{
    min-height:54px;
    padding:0 25px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    font-size:.86rem;
    font-weight:800;
    transition:.22s transform,.22s box-shadow,.22s border-color,.22s background;
}
.home-btn:hover{
    transform:translateY(-2px);
}
.home-btn-primary{
    background:linear-gradient(135deg,#F3DFA9,var(--gold));
    color:#171109;
    box-shadow:0 14px 32px rgba(201,164,92,.19);
}
.home-btn-primary:hover{
    box-shadow:0 20px 42px rgba(201,164,92,.26);
}
.home-btn-secondary{
    border:1px solid var(--border);
    background:color-mix(in srgb,var(--surface) 78%,transparent);
}
.home-btn-secondary:hover{
    border-color:var(--gold-border);
    background:color-mix(in srgb,var(--gold) 7%,var(--surface));
}
.home-award-pill{
    width:max-content;
    max-width:100%;
    margin-top:26px;
    padding:11px 14px;
    display:flex;
    align-items:center;
    gap:11px;
    border:1px solid var(--gold-border);
    border-radius:14px;
    background:color-mix(in srgb,var(--gold) 5%,var(--surface));
}
.home-award-pill>span{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:rgba(201,164,92,.12);
    color:var(--gold);
}
.home-award-pill small,
.home-award-pill strong{
    display:block;
}
.home-award-pill small{
    color:var(--muted);
    font-size:.62rem;
}
.home-award-pill strong{
    margin-top:2px;
    font-size:.76rem;
}

.home-hero-visual{
    position:relative;
    min-height:570px;
    display:grid;
    place-items:center;
}
.home-moon{
    position:absolute;
    width:min(460px,88%);
    aspect-ratio:1;
    border-radius:50%;
    background:
        radial-gradient(circle at 34% 28%,rgba(255,250,229,.95),rgba(232,207,148,.42) 36%,rgba(201,164,92,.10) 63%,transparent 73%);
    opacity:.72;
}
.home-logo-orbit{
    position:relative;
    z-index:3;
    width:min(400px,78%);
    aspect-ratio:1;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:50%;
    background:radial-gradient(circle,rgba(201,164,92,.09),transparent 67%);
    box-shadow:0 35px 100px rgba(0,0,0,.18);
}
.home-logo-orbit::after{
    content:"";
    position:absolute;
    inset:20px;
    border:1px dashed rgba(201,164,92,.18);
    border-radius:50%;
}
.home-logo-orbit img{
    width:72%;
    position:relative;
    z-index:2;
}
.home-ring{
    position:absolute;
    border:1px solid rgba(201,164,92,.14);
    border-radius:50%;
}
.home-ring-one{
    width:min(520px,96%);
    aspect-ratio:1;
}
.home-ring-two{
    width:min(330px,64%);
    aspect-ratio:1;
}
.home-float-card{
    position:absolute;
    z-index:5;
    min-width:150px;
    padding:14px 16px;
    border:1px solid var(--border);
    border-radius:15px;
    background:var(--glass);
    backdrop-filter:blur(12px);
    box-shadow:var(--shadow);
}
.home-float-card span{
    display:block;
    color:var(--gold);
    font-size:.65rem;
    font-weight:800;
}
.home-float-card strong{
    display:block;
    margin-top:4px;
    font-size:.88rem;
}
.home-float-one{
    top:17%;
    inset-inline-start:-2%;
}
.home-float-two{
    bottom:17%;
    inset-inline-end:-2%;
}
.home-orb{
    position:absolute;
    border-radius:50%;
    filter:blur(110px);
    pointer-events:none;
}
.home-orb-one{
    width:420px;
    height:420px;
    top:4%;
    inset-inline-end:-170px;
    background:rgba(201,164,92,.10);
}
.home-orb-two{
    width:320px;
    height:320px;
    bottom:5%;
    inset-inline-start:-140px;
    background:rgba(201,164,92,.06);
}
.home-brand-line{
    position:relative;
    z-index:3;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    background:color-mix(in srgb,var(--surface) 45%,transparent);
}
.home-brand-line .container{
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:23px;
    color:var(--muted);
    font-size:.74rem;
    font-weight:800;
}
.home-brand-line i{
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--gold);
}

.home-section{
    padding:118px 0;
}
.home-section-heading{
    display:grid;
    grid-template-columns:1.07fr .93fr;
    align-items:end;
    gap:64px;
    margin-bottom:58px;
}
.home-section-heading h2{
    max-width:760px;
    margin:16px 0 0;
    font-size:clamp(2.5rem,4.3vw,4.7rem);
    line-height:1.12;
    letter-spacing:-.035em;
    font-weight:800;
}
.home-section-heading>p{
    margin:0;
    color:var(--muted);
    font-size:1.04rem;
    line-height:2;
}

.home-about{
    background:linear-gradient(to bottom,var(--bg),var(--bg2),var(--bg));
}
.home-story-layout{
    display:grid;
    grid-template-columns:1.25fr .75fr;
    gap:18px;
}
.home-story-feature{
    position:relative;
    min-height:480px;
    padding:38px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    border:1px solid var(--gold-border);
    border-radius:30px;
    background:
        radial-gradient(circle at 82% 14%,rgba(201,164,92,.14),transparent 32%),
        var(--surface);
}
.home-story-feature>img{
    position:absolute;
    top:18px;
    inset-inline-end:-40px;
    width:330px;
    opacity:.08;
}
.home-story-number{
    position:absolute;
    top:30px;
    inset-inline-start:34px;
    color:var(--gold);
    font-size:1rem;
    font-weight:800;
}
.home-story-copy{
    position:relative;
    z-index:2;
    max-width:700px;
}
.home-story-copy>span{
    color:var(--gold-light);
    font-size:.75rem;
    font-weight:800;
}
.home-story-copy h3{
    margin:10px 0 13px;
    font-size:clamp(2rem,3.1vw,3.25rem);
    line-height:1.18;
}
.home-story-copy p{
    margin:0;
    color:var(--muted);
    font-size:1rem;
    line-height:1.95;
}
.home-values{
    display:grid;
    gap:18px;
}
.home-values article{
    position:relative;
    min-height:231px;
    padding:27px;
    border:1px solid var(--border);
    border-radius:26px;
    background:var(--surface);
    transition:.22s transform,.22s border-color;
}
.home-values article:hover{
    transform:translateY(-4px);
    border-color:var(--gold-border);
}
.home-values article>span{
    position:absolute;
    top:23px;
    inset-inline-end:24px;
    color:var(--gold);
    font-size:.75rem;
    font-weight:800;
}
.value-icon{
    width:44px;
    height:44px;
    margin-bottom:36px;
    display:grid;
    place-items:center;
    border-radius:13px;
    color:var(--gold);
    background:rgba(201,164,92,.09);
    border:1px solid var(--gold-border);
}
.home-values h3{
    margin:0 0 8px;
    font-size:1.35rem;
}
.home-values p{
    margin:0;
    color:var(--muted);
    font-size:.92rem;
    line-height:1.85;
}

.home-products{
    position:relative;
}
.home-product-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.home-product-card{
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:28px;
    background:var(--surface);
    transition:.24s transform,.24s border-color,.24s box-shadow;
}
.home-product-card:hover{
    transform:translateY(-6px);
    border-color:var(--gold-border);
    box-shadow:var(--shadow);
}
.home-product-media{
    position:relative;
    height:350px;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:
        radial-gradient(circle at 50% 45%,rgba(201,164,92,.13),transparent 38%),
        var(--surface2);
}
.home-product-media>img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.home-product-placeholder{
    width:190px;
    aspect-ratio:1;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:1px solid var(--gold-border);
}
.home-product-placeholder img{
    width:70%;
    opacity:.85;
}
.home-product-badge{
    position:absolute;
    top:17px;
    inset-inline-start:17px;
    padding:7px 11px;
    border:1px solid var(--gold-border);
    border-radius:999px;
    background:var(--glass);
    color:var(--gold-light);
    font-size:.66rem;
    font-weight:800;
}
.home-product-content{
    padding:25px 27px 28px;
    border-top:1px solid var(--border);
}
.home-product-content small{
    color:var(--gold);
    font-size:.74rem;
    font-weight:800;
}
.home-product-content h3{
    margin:7px 0 8px;
    font-size:1.35rem;
}
.home-product-content p{
    margin:0 0 17px;
    color:var(--muted);
    font-size:.9rem;
    line-height:1.8;
}
.home-price-row{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:16px;
}
.home-price-row strong{
    color:var(--gold-light);
    font-size:1rem;
}
.home-price-row del{
    color:var(--muted);
    font-size:.76rem;
}
.home-product-link{
    color:var(--gold-light);
    font-size:.82rem;
    font-weight:800;
}
.home-product-link::after{
    content:" ←";
}
html[dir="ltr"] .home-product-link::after{
    content:" →";
}

.home-products-coming{
    min-height:470px;
    padding:52px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    border:1px solid var(--gold-border);
    border-radius:32px;
    background:
        radial-gradient(circle at 50% 28%,rgba(201,164,92,.12),transparent 30%),
        var(--surface);
}
.coming-logo{
    width:125px;
    aspect-ratio:1;
    margin-bottom:20px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:50%;
}
.coming-logo img{
    width:72%;
}
.home-products-coming>span{
    color:var(--gold);
    font-size:.75rem;
    font-weight:800;
}
.home-products-coming h3{
    max-width:720px;
    margin:10px 0 10px;
    font-size:clamp(2rem,3.5vw,3.25rem);
}
.home-products-coming p{
    max-width:650px;
    margin:0;
    color:var(--muted);
    font-size:1rem;
    line-height:1.9;
}
.coming-categories{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:9px;
    margin-top:25px;
}
.coming-categories b{
    padding:9px 13px;
    border:1px solid var(--border);
    border-radius:999px;
    color:var(--muted);
    font-size:.75rem;
}

.home-why{
    background:var(--bg2);
}
.home-why-grid{
    display:grid;
    grid-template-columns:1.04fr .96fr;
    gap:70px;
    align-items:center;
}
.home-why-copy h2{
    max-width:720px;
    margin:15px 0 34px;
    font-size:clamp(2.6rem,4.5vw,4.8rem);
    line-height:1.12;
    letter-spacing:-.035em;
}
.home-why-list{
    display:grid;
}
.home-why-list article{
    display:grid;
    grid-template-columns:54px 1fr;
    gap:20px;
    padding:24px 0;
    border-top:1px solid var(--border);
}
.home-why-list article:last-child{
    border-bottom:1px solid var(--border);
}
.home-why-list article>span{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:rgba(201,164,92,.08);
    color:var(--gold);
    font-weight:800;
}
.home-why-list h3{
    margin:0 0 7px;
    font-size:1.25rem;
}
.home-why-list p{
    margin:0;
    color:var(--muted);
    font-size:.94rem;
    line-height:1.85;
}
.home-why-visual{
    position:relative;
    min-height:540px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px solid var(--gold-border);
    border-radius:34px;
    background:var(--surface);
}
.why-glow{
    position:absolute;
    width:340px;
    height:340px;
    border-radius:50%;
    background:rgba(201,164,92,.13);
    filter:blur(80px);
}
.home-why-visual img{
    position:relative;
    z-index:2;
    width:min(360px,72%);
}
.home-why-visual span{
    position:relative;
    z-index:2;
    margin-top:20px;
    color:var(--gold-light);
    font-weight:800;
    font-size:.9rem;
}

.home-achievement{
    padding-block:90px;
}
.home-achievement-card{
    position:relative;
    overflow:hidden;
    padding:46px 52px;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:26px;
    align-items:center;
    border:1px solid var(--gold-border);
    border-radius:30px;
    background:
        linear-gradient(135deg,rgba(201,164,92,.10),transparent 48%),
        var(--surface);
}
.achievement-icon{
    width:86px;
    height:86px;
    display:grid;
    place-items:center;
    border-radius:25px;
    color:#191108;
    background:linear-gradient(135deg,#F4E1B0,var(--gold));
    font-size:2rem;
    box-shadow:0 18px 42px rgba(201,164,92,.20);
}
.home-achievement-card h2{
    margin:10px 0 7px;
    font-size:clamp(1.9rem,3vw,3rem);
}
.home-achievement-card p{
    max-width:760px;
    margin:0;
    color:var(--muted);
    font-size:.98rem;
    line-height:1.85;
}

.home-company-bar{
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    background:var(--surface);
}
.home-company-grid{
    min-height:112px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
}
.home-company-grid>div{
    padding:24px 25px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.home-company-grid>div + div{
    border-inline-start:1px solid var(--border);
}
.home-company-grid small{
    color:var(--muted);
    font-size:.68rem;
    font-weight:700;
}
.home-company-grid strong{
    margin-top:6px;
    color:var(--text);
    font-size:1rem;
    font-weight:800;
}

.home-final-cta{
    padding-top:90px;
}
.home-final-card{
    padding:58px 62px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:45px;
    border:1px solid var(--gold-border);
    border-radius:32px;
    background:
        radial-gradient(circle at 12% 15%,rgba(201,164,92,.13),transparent 35%),
        var(--surface);
}
.home-final-card h2{
    margin:14px 0 8px;
    font-size:clamp(2.4rem,4vw,4.1rem);
    line-height:1.1;
}
.home-final-card p{
    margin:0;
    color:var(--muted);
    font-size:1rem;
}
.home-final-actions{
    flex:0 0 auto;
    display:flex;
    gap:10px;
}

/* Larger, clearer footer */
.footer-brand-block>p{
    font-size:.88rem;
    line-height:1.9;
}
.footer-links-col h3,
.footer-company-col h3{
    font-size:.96rem;
}
.footer-links-col a{
    font-size:.84rem;
    line-height:1.8;
}
.award-line p,
.tax-line{
    font-size:.78rem;
}
.tax-line strong{
    display:inline-block;
    margin-inline-start:4px;
    direction:ltr;
}
.footer-bottom{
    font-size:.73rem;
}

/* Cleaner customer copy pages */
.page-title-block p,
.cart-empty-card p,
.account-hero p{
    font-size:.9rem;
}

/* Responsive */
@media(max-width:1180px){
    .home-hero-grid{
        gap:40px;
    }
    .home-float-one{
        inset-inline-start:1%;
    }
    .home-float-two{
        inset-inline-end:1%;
    }
}
@media(max-width:980px){
    .home-hero{
        padding-top:100px;
    }
    .home-hero-grid{
        grid-template-columns:1fr;
        gap:8px;
    }
    .home-hero-copy{
        text-align:center;
    }
    .home-kicker{
        justify-content:center;
    }
    .home-hero-text{
        margin-inline:auto;
    }
    .home-hero-actions{
        justify-content:center;
    }
    .home-award-pill{
        margin-inline:auto;
        text-align:start;
    }
    .home-hero-visual{
        min-height:500px;
    }
    .home-section-heading{
        grid-template-columns:1fr;
        gap:20px;
    }
    .home-story-layout{
        grid-template-columns:1fr;
    }
    .home-values{
        grid-template-columns:1fr 1fr;
    }
    .home-product-grid{
        grid-template-columns:1fr 1fr;
    }
    .home-why-grid{
        grid-template-columns:1fr;
    }
    .home-why-visual{
        min-height:420px;
    }
    .home-company-grid{
        grid-template-columns:1fr 1fr;
    }
    .home-company-grid>div:nth-child(3){
        border-inline-start:0;
        border-top:1px solid var(--border);
    }
    .home-company-grid>div:nth-child(4){
        border-top:1px solid var(--border);
    }
    .home-final-card{
        flex-direction:column;
        align-items:flex-start;
    }
}
@media(max-width:680px){
    body{
        font-size:15px;
    }
    .home-hero{
        padding-top:88px;
    }
    .home-hero-grid{
        padding-top:34px;
    }
    .home-hero-copy h1{
        font-size:clamp(3rem,15vw,4.8rem);
    }
    .home-hero-text{
        font-size:1rem;
        line-height:1.9;
    }
    .home-hero-actions{
        flex-direction:column;
    }
    .home-btn{
        width:100%;
    }
    .home-hero-visual{
        min-height:410px;
    }
    .home-logo-orbit{
        width:285px;
    }
    .home-moon{
        width:320px;
    }
    .home-ring-one{
        width:350px;
    }
    .home-ring-two{
        width:235px;
    }
    .home-float-card{
        min-width:116px;
        padding:10px 11px;
    }
    .home-float-card strong{
        font-size:.72rem;
    }
    .home-brand-line .container{
        min-height:52px;
        gap:9px;
        font-size:.6rem;
        white-space:nowrap;
        overflow:hidden;
    }
    .home-section{
        padding:84px 0;
    }
    .home-section-heading{
        margin-bottom:38px;
    }
    .home-section-heading h2{
        font-size:clamp(2.15rem,10vw,3.2rem);
    }
    .home-section-heading>p{
        font-size:.96rem;
    }
    .home-story-feature{
        min-height:390px;
        padding:28px 24px;
    }
    .home-story-feature>img{
        width:240px;
    }
    .home-values{
        grid-template-columns:1fr;
    }
    .home-values article{
        min-height:215px;
    }
    .home-product-grid{
        grid-template-columns:1fr;
    }
    .home-product-media{
        height:310px;
    }
    .home-products-coming{
        min-height:430px;
        padding:34px 22px;
    }
    .home-why-copy h2{
        font-size:clamp(2.2rem,10vw,3.35rem);
    }
    .home-why-visual{
        min-height:330px;
    }
    .home-achievement-card{
        padding:32px 24px;
        grid-template-columns:1fr;
    }
    .achievement-icon{
        width:68px;
        height:68px;
        border-radius:20px;
    }
    .home-company-grid{
        grid-template-columns:1fr;
    }
    .home-company-grid>div + div{
        border-inline-start:0;
        border-top:1px solid var(--border);
    }
    .home-final-card{
        padding:36px 24px;
    }
    .home-final-actions{
        width:100%;
        flex-direction:column;
    }
}


/* =========================================================
   V5 polish: tighter typography, richer cards, footer legal block
   ========================================================= */

html[lang="ar"] body{
    font-size:15px;
}
html[lang="en"] body{
    font-size:15px;
}

/* Tone down oversized type */
.home-hero-copy h1{
    font-size:clamp(3.15rem,5.5vw,6.2rem);
}
.home-section-heading h2{
    font-size:clamp(2.15rem,3.6vw,3.8rem);
    line-height:1.16;
}
.home-why-copy h2{
    font-size:clamp(2.25rem,3.75vw,3.95rem);
    line-height:1.15;
}
.home-final-card h2{
    font-size:clamp(2.1rem,3.4vw,3.55rem);
}
.home-achievement-card h2{
    font-size:clamp(1.7rem,2.6vw,2.65rem);
}
.home-hero-text,
.home-section-heading>p,
.home-story-copy p,
.home-products-coming p,
.home-why-list p,
.home-final-card p{
    font-size:.96rem;
}

/* Premium heading cards */
.home-heading-card{
    padding:28px 30px;
    border:1px solid var(--border);
    border-radius:24px;
    background:
        linear-gradient(135deg,color-mix(in srgb,var(--gold) 5%,transparent),transparent 50%),
        var(--surface);
    box-shadow:0 16px 42px rgba(0,0,0,.04);
}
html[data-theme="light"] .home-heading-card{
    box-shadow:0 16px 42px rgba(70,45,15,.05);
}
.home-heading-card h2{
    margin-top:12px;
}
.home-heading-card>p{
    padding-inline-start:20px;
    border-inline-start:2px solid var(--gold-border);
}

/* Make About cards more elegant */
.home-story-feature{
    min-height:430px;
    box-shadow:0 20px 55px rgba(0,0,0,.05);
}
.home-values article{
    box-shadow:0 15px 38px rgba(0,0,0,.035);
}
.home-values h3,
.home-story-copy h3,
.home-product-content h3,
.home-why-list h3{
    font-weight:800;
}

/* Why section becomes a proper card composition */
.home-copy-card{
    padding:34px 34px 30px;
    border:1px solid var(--border);
    border-radius:28px;
    background:
        linear-gradient(150deg,color-mix(in srgb,var(--gold) 5%,transparent),transparent 42%),
        var(--surface);
    box-shadow:0 18px 46px rgba(0,0,0,.05);
}
.home-copy-card .home-kicker{
    margin-bottom:3px;
}
.home-why-list article{
    padding:21px 0;
}
.home-why-list article>span{
    width:40px;
    height:40px;
    border-radius:11px;
}

/* Achievement stronger but not huge */
.premium-achievement-card{
    padding:38px 42px;
    border-radius:26px;
}
.premium-achievement-card .achievement-icon{
    width:72px;
    height:72px;
    border-radius:20px;
    font-size:1.6rem;
}

/* CTA cleaner */
.premium-final-card{
    padding:44px 48px;
}

/* Remove old main-page company strip entirely if cached markup somehow remains */
.home-company-bar{
    display:none!important;
}

/* Footer becomes the legal / company-info home */
.footer-top{
    padding:54px 0 38px;
    grid-template-columns:1.15fr .65fr .65fr 1.35fr;
    gap:36px;
}
.footer-brand-block>p{
    max-width:360px;
    font-size:.84rem;
}
.company-data-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.company-data-card>div{
    min-height:72px;
    padding:12px 13px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:13px;
    background:rgba(255,255,255,.025);
}
.company-data-card small,
.company-data-card strong{
    display:block;
}
.company-data-card small{
    color:#8f8980;
    font-size:.64rem;
}
.company-data-card strong{
    margin-top:5px;
    color:#f1eadf;
    font-size:.78rem;
    line-height:1.45;
}
.footer-award-card{
    margin-top:10px;
    padding:10px 12px;
    border:1px solid rgba(216,182,106,.18);
    border-radius:12px;
    background:rgba(216,182,106,.045);
}
.footer-divider{
    height:1px;
    background:rgba(255,255,255,.08);
}

/* Centered programmer-style developer badge */
.developer-strip{
    padding:22px 0 18px;
    display:flex;
    justify-content:center;
}
.developer-card{
    min-width:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:10px 14px;
    border:1px solid rgba(216,182,106,.26);
    border-radius:15px;
    background:
        linear-gradient(135deg,rgba(216,182,106,.08),rgba(255,255,255,.015)),
        #0b0a09;
    box-shadow:
        inset 0 1px rgba(255,255,255,.03),
        0 10px 26px rgba(0,0,0,.14);
    transition:.22s transform,.22s border-color,.22s box-shadow;
}
.developer-card:hover{
    transform:translateY(-2px);
    border-color:rgba(216,182,106,.52);
    box-shadow:0 15px 34px rgba(0,0,0,.20);
}
.developer-code{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:rgba(216,182,106,.10);
    color:#d8b66a;
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    font-size:.78rem;
    font-weight:800;
}
.developer-copy{
    line-height:1.08;
}
.developer-copy small,
.developer-copy strong{
    display:block;
}
.developer-copy small{
    color:#837d76;
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    font-size:.58rem;
    letter-spacing:.05em;
}
.developer-copy strong{
    margin-top:3px;
    color:#e1bf73;
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    font-size:.78rem;
}
.developer-arrow{
    color:#756e66;
    font-size:.72rem;
}
.footer-bottom{
    min-height:48px;
    justify-content:center;
    font-size:.68rem;
    border-top:0;
    padding-bottom:10px;
}

/* Keep footer readable in Arabic */
html[lang="ar"] .footer-links-col h3,
html[lang="ar"] .footer-company-col h3{
    font-size:.9rem;
}
html[lang="ar"] .footer-links-col a{
    font-size:.8rem;
}

/* Responsive */
@media(max-width:1100px){
    .footer-top{
        grid-template-columns:1.2fr .7fr .7fr;
    }
    .footer-company-col{
        grid-column:1/-1;
    }
    .company-data-card{
        grid-template-columns:repeat(4,1fr);
    }
}
@media(max-width:980px){
    .home-heading-card{
        padding:24px;
    }
    .home-heading-card>p{
        padding-inline-start:0;
        border-inline-start:0;
    }
    .home-copy-card{
        padding:28px 25px;
    }
}
@media(max-width:680px){
    html[lang="ar"] body,
    html[lang="en"] body{
        font-size:14.5px;
    }
    .home-hero-copy h1{
        font-size:clamp(2.8rem,13vw,4.25rem);
    }
    .home-section-heading h2,
    .home-why-copy h2{
        font-size:clamp(2rem,9vw,2.9rem);
    }
    .home-heading-card{
        padding:21px 18px;
        border-radius:20px;
    }
    .home-copy-card{
        padding:23px 19px;
        border-radius:22px;
    }
    .premium-achievement-card{
        padding:28px 22px;
    }
    .premium-final-card{
        padding:32px 22px;
    }
    .footer-top{
        grid-template-columns:1fr 1fr;
    }
    .footer-brand-block,
    .footer-company-col{
        grid-column:1/-1;
    }
    .company-data-card{
        grid-template-columns:1fr 1fr;
    }
    .developer-card{
        width:min(100%,320px);
        min-width:0;
    }
}


/* =========================================================
   V6 developer credit — centered rectangle at footer bottom
   ========================================================= */
.developer-strip{
    display:none!important;
}
.developer-bottom{
    width:100%;
    padding:0 14px 18px;
    display:flex;
    justify-content:center;
    background:#050505;
}
html[data-theme="light"] .developer-bottom{
    background:#15120f;
}
.developer-bottom .developer-card{
    width:auto;
    min-width:320px;
    min-height:44px;
    padding:9px 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    border:1px solid rgba(216,182,106,.28);
    border-radius:8px;
    background:#0d0c0b;
    box-shadow:
        inset 0 1px rgba(255,255,255,.025),
        0 8px 22px rgba(0,0,0,.16);
    color:#ece7df;
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    font-size:.76rem;
    line-height:1;
    transition:.2s transform,.2s border-color,.2s box-shadow,.2s background;
}
.developer-bottom .developer-card:hover{
    transform:translateY(-2px);
    border-color:rgba(216,182,106,.55);
    background:#12100e;
    box-shadow:0 12px 28px rgba(0,0,0,.24);
}
.developer-bottom .developer-card strong{
    color:#dfbd70;
    font-size:.82rem;
    font-weight:800;
}
.developer-bottom .developer-arrow,
.developer-bottom .developer-code{
    color:#dfbd70;
    font-weight:800;
}
.developer-bottom .developer-code{
    margin-inline-start:2px;
    font-size:.8rem;
}
.footer-bottom{
    padding-bottom:13px;
}
@media(max-width:680px){
    .developer-bottom{
        padding-inline:14px;
    }
    .developer-bottom .developer-card{
        width:min(100%,340px);
        min-width:0;
        padding:9px 12px;
        font-size:.69rem;
    }
    .developer-bottom .developer-card strong{
        font-size:.75rem;
    }
}


/* =========================================================
   V8 typography balance — calmer Arabic heading scale
   ========================================================= */

html[lang="ar"] .home-hero-copy h1{
    font-size:clamp(2.8rem,4.6vw,5.15rem);
    line-height:.96;
}

html[lang="ar"] .home-section-heading h2{
    font-size:clamp(1.85rem,2.75vw,2.95rem);
    line-height:1.22;
    letter-spacing:-.02em;
}

html[lang="ar"] .home-products-coming h3{
    font-size:clamp(1.65rem,2.25vw,2.35rem);
    line-height:1.3;
}

html[lang="ar"] .home-why-copy h2{
    font-size:clamp(1.95rem,3vw,3.15rem);
    line-height:1.2;
}

html[lang="ar"] .home-story-copy h3{
    font-size:clamp(1.55rem,2.2vw,2.25rem);
    line-height:1.3;
}

html[lang="ar"] .home-achievement-card h2{
    font-size:clamp(1.5rem,2.15vw,2.2rem);
    line-height:1.3;
}

html[lang="ar"] .home-final-card h2{
    font-size:clamp(1.9rem,2.8vw,2.9rem);
    line-height:1.2;
}

html[lang="ar"] .home-hero-text,
html[lang="ar"] .home-section-heading>p,
html[lang="ar"] .home-products-coming p,
html[lang="ar"] .home-story-copy p,
html[lang="ar"] .home-why-list p,
html[lang="ar"] .home-final-card p{
    font-size:.93rem;
    line-height:1.9;
}

html[lang="ar"] .home-values h3,
html[lang="ar"] .home-product-content h3,
html[lang="ar"] .home-why-list h3{
    font-size:1.12rem;
}

html[lang="ar"] .home-kicker{
    font-size:.7rem;
}

/* English stays premium but slightly calmer too */
html[lang="en"] .home-section-heading h2{
    font-size:clamp(2rem,3.15vw,3.3rem);
}
html[lang="en"] .home-products-coming h3{
    font-size:clamp(1.8rem,2.5vw,2.6rem);
}
html[lang="en"] .home-why-copy h2{
    font-size:clamp(2rem,3.25vw,3.35rem);
}

/* Mobile */
@media(max-width:680px){
    html[lang="ar"] .home-hero-copy h1{
        font-size:clamp(2.55rem,12vw,3.7rem);
    }
    html[lang="ar"] .home-section-heading h2,
    html[lang="ar"] .home-why-copy h2{
        font-size:clamp(1.75rem,8vw,2.45rem);
    }
    html[lang="ar"] .home-products-coming h3{
        font-size:clamp(1.55rem,7vw,2.05rem);
    }
}


/* =========================================================
   V10 section heading hierarchy
   Bigger boxed section label + calmer main title
   ========================================================= */

html[lang="ar"] .home-heading-card .home-kicker{
    min-height:42px;
    padding:0 15px;
    display:inline-flex;
    align-items:center;
    gap:9px;
    border:1px solid var(--gold-border);
    border-radius:12px;
    background:color-mix(in srgb,var(--gold) 7%,var(--surface));
    color:var(--gold);
    font-size:.88rem;
    font-weight:800;
    line-height:1;
}

html[lang="ar"] .home-heading-card .home-kicker::before{
    width:26px;
    height:2px;
    background:var(--gold);
}

html[lang="ar"] .home-heading-card h2{
    max-width:720px;
    margin-top:18px;
    font-size:clamp(1.7rem,2.35vw,2.55rem);
    line-height:1.24;
    letter-spacing:-.015em;
    font-weight:800;
}

html[lang="ar"] .home-heading-card>p{
    font-size:.95rem;
    line-height:1.95;
}

/* Apply the same visual hierarchy to the Why section label */
html[lang="ar"] .home-copy-card .home-kicker{
    min-height:42px;
    padding:0 15px;
    border:1px solid var(--gold-border);
    border-radius:12px;
    background:color-mix(in srgb,var(--gold) 7%,var(--surface));
    color:var(--gold);
    font-size:.88rem;
    font-weight:800;
}

html[lang="ar"] .home-copy-card .home-kicker::before{
    width:26px;
    height:2px;
    background:var(--gold);
}

html[lang="ar"] .home-copy-card h2{
    margin-top:18px;
    font-size:clamp(1.85rem,2.55vw,2.75rem);
    line-height:1.22;
}

/* English equivalent */
html[lang="en"] .home-heading-card .home-kicker,
html[lang="en"] .home-copy-card .home-kicker{
    min-height:40px;
    padding:0 14px;
    border:1px solid var(--gold-border);
    border-radius:12px;
    background:color-mix(in srgb,var(--gold) 7%,var(--surface));
    font-size:.76rem;
}

html[lang="en"] .home-heading-card h2{
    font-size:clamp(1.9rem,2.65vw,2.85rem);
}

html[lang="en"] .home-copy-card h2{
    font-size:clamp(2rem,2.8vw,3rem);
}

@media(max-width:680px){
    html[lang="ar"] .home-heading-card .home-kicker,
    html[lang="ar"] .home-copy-card .home-kicker{
        min-height:38px;
        padding:0 12px;
        font-size:.8rem;
    }

    html[lang="ar"] .home-heading-card h2,
    html[lang="ar"] .home-copy-card h2{
        font-size:clamp(1.55rem,7.2vw,2.15rem);
        line-height:1.28;
    }
}


/* =========================================================
   V12 final public-home polish
   Unified rectangular section labels + calmer supporting text
   ========================================================= */

/* Every major section label uses the same premium rectangular treatment */
.premium-home .home-kicker{
    min-height:40px;
    padding:0 15px;
    display:inline-flex;
    align-items:center;
    gap:9px;
    border:1px solid var(--gold-border);
    border-radius:10px;
    background:
        linear-gradient(135deg,color-mix(in srgb,var(--gold) 9%,transparent),transparent 70%),
        var(--surface);
    color:var(--gold);
    font-size:.80rem;
    font-weight:800;
    line-height:1;
    letter-spacing:0;
    box-shadow:inset 0 1px rgba(255,255,255,.025);
}

.premium-home .home-kicker::before{
    content:"";
    width:22px;
    height:2px;
    border-radius:999px;
    background:var(--gold);
    flex:0 0 auto;
}

/* Main headings beneath the labels are intentionally calmer */
html[lang="ar"] .home-hero-copy h1{
    font-size:clamp(2.75rem,4.35vw,4.85rem);
    line-height:.98;
}

html[lang="ar"] .home-section-heading h2{
    font-size:clamp(1.65rem,2.15vw,2.35rem);
    line-height:1.30;
    letter-spacing:-.01em;
}

html[lang="ar"] .home-copy-card h2{
    font-size:clamp(1.72rem,2.28vw,2.48rem);
    line-height:1.28;
}

html[lang="ar"] .home-achievement-card h2{
    font-size:clamp(1.45rem,1.95vw,2rem);
    line-height:1.35;
}

html[lang="ar"] .home-final-card h2{
    font-size:clamp(1.72rem,2.25vw,2.4rem);
    line-height:1.30;
}

/* Supporting copy reduced slightly for cleaner hierarchy */
html[lang="ar"] .home-hero-text,
html[lang="ar"] .home-section-heading>p,
html[lang="ar"] .home-story-copy p,
html[lang="ar"] .home-products-coming p,
html[lang="ar"] .home-why-list p,
html[lang="ar"] .home-final-card p,
html[lang="ar"] .home-achievement-card p{
    font-size:.88rem;
    line-height:1.95;
}

/* Keep card titles readable without becoming oversized */
html[lang="ar"] .home-story-copy h3{
    font-size:clamp(1.38rem,1.85vw,1.82rem);
}

html[lang="ar"] .home-values h3,
html[lang="ar"] .home-product-content h3,
html[lang="ar"] .home-why-list h3{
    font-size:1.04rem;
}

/* Give heading blocks a more deliberate premium composition */
.home-heading-card{
    padding:24px 26px;
    border-radius:22px;
}

.home-heading-card>p{
    max-width:620px;
    font-size:.90rem;
}

.home-copy-card{
    padding:29px 30px 26px;
    border-radius:24px;
}

/* Hero label should sit clearly above the title */
.home-hero-copy>.home-kicker{
    margin-bottom:4px;
}

/* About / products / why sections: tighter vertical rhythm */
.home-section-heading{
    gap:42px;
    margin-bottom:46px;
}

.home-section{
    padding:98px 0;
}

/* Product coming-soon box also follows the tighter hierarchy */
html[lang="ar"] .home-products-coming h3{
    font-size:clamp(1.48rem,1.95vw,2rem);
    line-height:1.35;
}

.home-products-coming>span{
    display:inline-flex;
    min-height:34px;
    align-items:center;
    padding:0 12px;
    border:1px solid var(--gold-border);
    border-radius:9px;
    background:rgba(201,164,92,.07);
    color:var(--gold);
    font-size:.70rem;
    font-weight:800;
}

/* English receives the same visual hierarchy */
html[lang="en"] .home-section-heading h2{
    font-size:clamp(1.8rem,2.35vw,2.55rem);
}

html[lang="en"] .home-copy-card h2{
    font-size:clamp(1.9rem,2.45vw,2.7rem);
}

html[lang="en"] .home-hero-text,
html[lang="en"] .home-section-heading>p,
html[lang="en"] .home-story-copy p,
html[lang="en"] .home-products-coming p,
html[lang="en"] .home-why-list p,
html[lang="en"] .home-final-card p{
    font-size:.90rem;
    line-height:1.85;
}

/* Mobile */
@media(max-width:680px){
    .premium-home .home-kicker{
        min-height:37px;
        padding:0 12px;
        border-radius:9px;
        font-size:.73rem;
    }

    .premium-home .home-kicker::before{
        width:18px;
    }

    html[lang="ar"] .home-hero-copy h1{
        font-size:clamp(2.35rem,10.8vw,3.35rem);
    }

    html[lang="ar"] .home-section-heading h2,
    html[lang="ar"] .home-copy-card h2{
        font-size:clamp(1.5rem,6.6vw,2rem);
        line-height:1.34;
    }

    html[lang="ar"] .home-hero-text,
    html[lang="ar"] .home-section-heading>p,
    html[lang="ar"] .home-story-copy p,
    html[lang="ar"] .home-products-coming p,
    html[lang="ar"] .home-why-list p{
        font-size:.86rem;
    }

    .home-heading-card{
        padding:19px 17px;
        border-radius:18px;
    }

    .home-copy-card{
        padding:21px 18px;
        border-radius:20px;
    }

    .home-section{
        padding:76px 0;
    }
}


/* =========================================================
   V13 account creation + email OTP + delivery address map
   ========================================================= */
.register-layout{grid-template-columns:.78fr 1.22fr;align-items:start}
.register-visual{position:sticky;top:125px;min-height:690px}
.register-panel{padding-top:28px;align-items:start}
.auth-card-wide{width:min(800px,100%);padding:34px}

.register-progress{display:flex;align-items:center;gap:10px;margin:24px 0 2px}
.register-progress>i{height:1px;flex:1;background:var(--border)}
.register-progress-item{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.68rem;font-weight:800;white-space:nowrap}
.register-progress-item b{width:28px;height:28px;border:1px solid var(--border);border-radius:9px;display:grid;place-items:center;background:var(--surface2);font-size:.7rem}
.register-progress-item.active{color:var(--gold-light)}
.register-progress-item.active b{border-color:var(--gold-border);background:rgba(201,164,92,.13);color:var(--gold-light)}
.register-progress-item.done{color:var(--text)}
.register-progress-item.done b{border-color:var(--gold-border);background:linear-gradient(135deg,#EED8A0,var(--gold));color:#171109}

.register-step{display:grid;gap:15px}
.register-step[hidden]{display:none!important}
.step-title{padding:14px 15px;border:1px solid var(--border);border-radius:14px;background:var(--surface2)}
.step-title b{display:block;font-size:.82rem;color:var(--text)}
.step-title span{display:block;margin-top:4px;color:var(--muted);font-size:.69rem;line-height:1.6}
.auth-form select,.auth-form textarea{
    width:100%;padding:0 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface2);color:var(--text);outline:0;transition:.2s;font:inherit
}
.auth-form select{height:49px}
.auth-form textarea{min-height:92px;padding-top:12px;padding-bottom:12px;resize:vertical;line-height:1.75}
.auth-form select:focus,.auth-form textarea:focus{border-color:var(--gold-border);box-shadow:0 0 0 3px rgba(201,164,92,.07)}
.auth-form option{background:var(--surface);color:var(--text)}

.register-actions{display:grid;grid-template-columns:.38fr 1fr;gap:10px;margin-top:3px}
.register-actions.one-side{grid-template-columns:1fr}
.register-back{min-height:50px;border:1px solid var(--border);border-radius:13px;background:var(--surface2);color:var(--text);font-weight:800;cursor:pointer}
.register-back:hover{border-color:var(--gold-border);color:var(--gold-light)}

.address-map-card{overflow:hidden;border:1px solid var(--gold-border);border-radius:18px;background:var(--surface2)}
.address-map-head{padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border)}
.address-map-head b{display:block;font-size:.78rem}
.address-map-head span{display:block;margin-top:3px;color:var(--muted);font-size:.64rem;line-height:1.55}
.map-location-btn{flex:0 0 auto;min-height:38px;padding:0 12px;border:1px solid var(--gold-border);border-radius:10px;background:rgba(201,164,92,.09);color:var(--gold-light);font-size:.68rem;font-weight:800;cursor:pointer}
.map-location-btn:disabled{opacity:.55;cursor:wait}
.address-map{height:285px;background:var(--surface)}
.map-status{padding:9px 13px;color:var(--muted);font-size:.64rem;border-top:1px solid var(--border)}
.heard-row[hidden],[data-heard-other-wrap][hidden]{display:none!important}

.otp-preview-line{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--gold-border);border-radius:14px;background:rgba(201,164,92,.055)}
.otp-preview-line>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:rgba(201,164,92,.12);color:var(--gold-light)}
.otp-preview-line b{display:block;font-size:.76rem}
.otp-preview-line small{display:block;margin-top:3px;color:var(--muted);font-size:.65rem}

.verify-page{display:grid;place-items:start center}
.verify-shell{min-height:calc(100vh - 108px);display:grid;place-items:center;padding-top:45px;padding-bottom:70px}
.verify-card{width:min(540px,100%);text-align:center}
.verify-icon{width:66px;height:66px;margin:0 auto 18px;border:1px solid var(--gold-border);border-radius:20px;display:grid;place-items:center;background:rgba(201,164,92,.08);color:var(--gold-light);font-size:1.55rem}
.verify-head p{max-width:410px;margin-inline:auto;line-height:1.75}
.form-alert.success{border:1px solid rgba(85,190,128,.27);background:rgba(85,190,128,.09);color:#8CD2AA}
.otp-form{display:grid;gap:18px;margin-top:24px}
.otp-boxes{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}
.otp-boxes input{width:100%;aspect-ratio:1/1;min-width:0;border:1px solid var(--border);border-radius:13px;background:var(--surface2);color:var(--text);outline:0;text-align:center;font-size:1.45rem;font-weight:800}
.otp-boxes input:focus{border-color:var(--gold-border);box-shadow:0 0 0 3px rgba(201,164,92,.08)}
.resend-form{margin-top:14px}
.resend-form button{border:0;background:transparent;color:var(--gold-light);font-size:.72rem;font-weight:800;cursor:pointer}
.resend-form button:disabled{color:var(--muted);cursor:not-allowed}
.verify-note{margin-top:18px;padding-top:16px;border-top:1px solid var(--border);color:var(--muted);font-size:.67rem;line-height:1.7}

.account-hero{position:relative}
.verified-account-badge{margin-inline-start:auto;padding:8px 11px;border:1px solid rgba(85,190,128,.25);border-radius:999px;background:rgba(85,190,128,.08);color:#83CDA3;font-size:.65rem;font-weight:800;white-space:nowrap}
.account-grid-profile{grid-template-columns:repeat(3,1fr)}
.account-address-card{grid-column:span 2}
.account-address-card strong{line-height:1.65}

@media(max-width:1180px){
    .register-layout{grid-template-columns:1fr}
    .register-visual{display:none}
    .register-panel{padding:24px 0}
    .auth-card-wide{width:min(820px,100%)}
}
@media(max-width:680px){
    .auth-card-wide{padding:24px 17px}
    .register-progress{gap:5px;margin-top:20px}
    .register-progress>i{min-width:10px}
    .register-progress-item{font-size:.58rem;gap:4px}
    .register-progress-item b{width:25px;height:25px;border-radius:8px}
    .register-actions{grid-template-columns:1fr}
    .register-actions .register-back{order:2}
    .address-map-head{align-items:flex-start;flex-direction:column}
    .map-location-btn{width:100%}
    .address-map{height:250px}
    .otp-boxes{gap:5px}
    .otp-boxes input{border-radius:10px;font-size:1.15rem}
    .verified-account-badge{position:absolute;top:14px;inset-inline-end:14px}
    .account-grid-profile{grid-template-columns:1fr}
    .account-address-card{grid-column:auto}
}


/* =========================================================
   V15 registration final polish
   ========================================================= */

/* Fresh registration always reads as a compact, premium form. */
.register-layout{
    grid-template-columns:.86fr 1.14fr;
    gap:22px;
    align-items:start;
}

.register-panel{
    padding:18px 0 28px;
    align-items:start;
}

.auth-card-wide{
    width:min(760px,100%);
    padding:28px 30px;
    border-radius:24px;
}

.register-panel .auth-card-head>span{
    display:inline-flex;
    min-height:30px;
    padding:0 10px;
    align-items:center;
    border:1px solid var(--gold-border);
    border-radius:8px;
    background:rgba(201,164,92,.06);
    font-size:.60rem;
    letter-spacing:.02em;
}

.register-panel .auth-card-head h2{
    margin:10px 0 5px;
    font-size:1.62rem;
    line-height:1.25;
}

.register-panel .auth-card-head p{
    max-width:560px;
    font-size:.74rem;
    line-height:1.75;
}

.register-progress{
    margin:18px 0 2px;
}

.register-progress-item{
    font-size:.62rem;
}

.register-progress-item b{
    width:26px;
    height:26px;
    border-radius:8px;
}

.register-form{
    gap:13px;
    margin-top:18px;
}

.step-title{
    padding:11px 13px;
    border-radius:12px;
}

.step-title b{font-size:.76rem}
.step-title span{font-size:.63rem;line-height:1.55}
.register-form label>span{font-size:.67rem;margin-bottom:6px}
.register-form input,.register-form select{height:46px}
.register-form textarea{min-height:82px}

/* Primary action on the right, Back on the left in Arabic too. */
.register-actions{
    direction:ltr;
    grid-template-columns:.38fr 1fr;
    gap:10px;
}
.register-actions>*{direction:rtl}
html[lang="en"] .register-actions>*{direction:ltr}
.register-actions.one-side{grid-template-columns:1fr}
.register-actions .auth-submit,
.register-actions .register-back{min-height:47px;margin-top:0}

/* Side panel: visible brand lockup and restrained copy. */
.register-visual{
    position:sticky;
    top:124px;
    min-height:600px;
    padding:34px;
    justify-content:flex-end;
    border-radius:28px;
}

.register-visual::after{
    width:390px;
    height:390px;
    top:-190px;
    inset-inline-end:-130px;
}

.register-brand-lockup{
    position:absolute;
    top:28px;
    inset-inline-start:28px;
    z-index:2;
    display:flex;
    align-items:center;
    gap:11px;
    min-height:68px;
    padding:9px 13px 9px 9px;
    border:1px solid var(--gold-border);
    border-radius:16px;
    background:color-mix(in srgb,var(--surface) 94%,transparent);
    box-shadow:0 14px 32px rgba(0,0,0,.08);
    backdrop-filter:blur(12px);
}

.register-brand-mark{
    width:48px;
    height:48px;
    flex:0 0 48px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:1px solid var(--gold-border);
    border-radius:13px;
    background:rgba(201,164,92,.05);
}

.register-brand-mark img{
    display:block;
    width:40px;
    height:40px;
    object-fit:contain;
}

.register-brand-text{display:grid;gap:1px;min-width:0}
.register-brand-text strong{
    color:var(--gold-light);
    font-family:"Cormorant Garamond",serif;
    font-size:1.16rem;
    line-height:1.1;
    white-space:nowrap;
}
.register-brand-text small{
    color:var(--muted);
    font-size:.56rem;
    white-space:nowrap;
}

.register-visual-copy{
    position:relative;
    z-index:2;
    max-width:500px;
}

.register-visual .auth-eyebrow{
    display:inline-flex;
    min-height:34px;
    padding:0 11px;
    align-items:center;
    border:1px solid var(--gold-border);
    border-radius:9px;
    background:rgba(201,164,92,.07);
    font-size:.64rem;
    letter-spacing:0;
}

.register-visual h1{
    max-width:500px;
    margin:16px 0 11px;
    font-size:clamp(1.9rem,2.65vw,2.75rem);
    line-height:1.15;
    letter-spacing:-.02em;
}

html[lang="ar"] .register-visual h1{
    font-size:clamp(1.85rem,2.55vw,2.62rem);
    line-height:1.22;
}

.register-visual-copy>p{
    max-width:460px;
    margin:0;
    color:var(--muted);
    font-size:.80rem;
    line-height:1.85;
}

.register-visual .auth-points{
    margin-top:18px;
    gap:7px;
}

.register-visual .auth-points span{
    padding:7px 10px;
    font-size:.60rem;
}

.otp-preview-line{
    padding:11px 12px;
    border-radius:12px;
}
.otp-preview-line>span{width:34px;height:34px;border-radius:9px}
.otp-preview-line b{font-size:.70rem}
.otp-preview-line small{font-size:.60rem}

@media(max-width:1180px){
    .register-layout{grid-template-columns:1fr}
    .register-visual{display:none}
    .register-panel{padding:22px 0 30px}
    .auth-card-wide{width:min(820px,100%)}
}

@media(max-width:680px){
    .auth-card-wide{padding:21px 16px;border-radius:20px}
    .register-panel .auth-card-head h2{font-size:1.42rem}
    .register-panel .auth-card-head p{font-size:.70rem}
    .register-progress{gap:5px;margin-top:17px}
    .register-progress-item{font-size:.56rem;gap:4px}
    .register-progress-item b{width:24px;height:24px}
    .register-actions{grid-template-columns:1fr}
    .register-actions .register-back{order:2}
    .register-actions .auth-submit{order:1}
}


/* =========================================================
   V18 login + password recovery
   ========================================================= */

.login-layout{
    grid-template-columns:.88fr 1.12fr;
    gap:22px;
    align-items:start;
}

.login-panel{
    padding:42px 0 32px;
    align-items:start;
}

.login-card{
    width:min(590px,100%);
    padding:31px 32px;
    border-radius:24px;
}

.login-card-head>span{
    display:inline-flex;
    min-height:30px;
    padding:0 10px;
    align-items:center;
    border:1px solid var(--gold-border);
    border-radius:8px;
    background:rgba(201,164,92,.06);
    color:var(--gold-light);
    font-size:.60rem;
    font-weight:900;
    letter-spacing:0;
    text-transform:none;
}

.login-card-head h2{
    margin:10px 0 6px;
    font-size:1.7rem;
    line-height:1.25;
}

.login-card-head p{
    max-width:470px;
    font-size:.74rem;
    line-height:1.75;
}

.login-form{
    gap:14px;
    margin-top:20px;
}

.login-form label>span{
    font-size:.68rem;
    margin-bottom:6px;
}

.login-form input{
    height:48px;
    border-radius:12px;
}

.login-password-label{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.login-password-label b{
    color:var(--muted);
    font-size:inherit;
}

.login-password-label a{
    color:var(--gold-light);
    font-size:.64rem;
    font-weight:800;
    text-decoration:none;
}

.login-password-label a:hover{
    text-decoration:underline;
}

.login-form .auth-submit{
    min-height:48px;
    margin-top:2px;
}

.login-card .auth-switch{
    margin-top:18px;
    padding-top:16px;
    font-size:.70rem;
}

.login-visual{
    position:sticky;
    top:124px;
    min-height:590px;
    padding:34px;
    justify-content:flex-end;
    border-radius:28px;
}

.login-visual::after{
    width:400px;
    height:400px;
    top:-195px;
    inset-inline-end:-120px;
}

.login-visual-copy{
    position:relative;
    z-index:2;
    max-width:500px;
}

.login-visual .auth-eyebrow{
    display:inline-flex;
    min-height:34px;
    padding:0 11px;
    align-items:center;
    border:1px solid var(--gold-border);
    border-radius:9px;
    background:rgba(201,164,92,.07);
    font-size:.63rem;
    letter-spacing:0;
}

.login-visual h1{
    max-width:500px;
    margin:16px 0 10px;
    font-size:clamp(2rem,2.75vw,2.9rem);
    line-height:1.16;
    letter-spacing:-.025em;
}

html[lang="ar"] .login-visual h1{
    font-size:clamp(1.95rem,2.6vw,2.72rem);
    line-height:1.22;
}

.login-visual-copy>p{
    max-width:440px;
    margin:0;
    color:var(--muted);
    font-size:.80rem;
    line-height:1.85;
}

.login-visual .auth-points{
    margin-top:18px;
    gap:7px;
}

.login-visual .auth-points span{
    padding:7px 10px;
    font-size:.60rem;
}

/* Recovery */
.recovery-card{
    width:min(610px,100%);
}

.recovery-reset-form{
    gap:13px;
}

.recovery-code-label{
    color:var(--muted);
    font-size:.68rem;
    font-weight:800;
}

.recovery-card .otp-boxes{
    margin-top:-3px;
}

.recovery-card .otp-boxes input{
    min-height:52px;
    aspect-ratio:auto;
    font-size:1.3rem;
}

.recovery-secondary-actions{
    margin-top:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px 16px;
}

.recovery-secondary-actions .resend-form{
    margin:0;
}

.recovery-restart{
    margin:0;
}

.recovery-restart button{
    border:0;
    background:transparent;
    color:var(--muted);
    font-size:.70rem;
    font-weight:800;
    cursor:pointer;
}

.recovery-restart button:hover{
    color:var(--gold-light);
}

.recovery-card .verify-note{
    margin-top:15px;
    padding-top:14px;
    text-align:center;
}

@media(max-width:1180px){
    .login-layout{grid-template-columns:1fr}
    .login-visual{display:none}
    .login-panel{padding:24px 0 34px}
    .login-card{width:min(660px,100%)}
}

@media(max-width:680px){
    .login-card{
        padding:22px 17px;
        border-radius:20px;
    }

    .login-card-head h2{
        font-size:1.46rem;
    }

    .login-card-head p{
        font-size:.70rem;
    }

    .login-password-label{
        align-items:flex-end;
    }

    .login-password-label a{
        font-size:.60rem;
    }

    .recovery-card .otp-boxes{
        gap:5px;
    }

    .recovery-card .otp-boxes input{
        min-height:46px;
        padding:0;
        font-size:1.05rem;
    }

    .recovery-secondary-actions{
        flex-direction:column;
        gap:8px;
    }
}


/* =========================================================
   V19 OTP resend ladder + password reset two-stage flow
   ========================================================= */

.resend-form button{
    min-height:38px;
    padding:0 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid transparent;
    border-radius:10px;
    transition:border-color .2s ease,background .2s ease,color .2s ease;
}

.resend-form button.is-counting{
    min-width:190px;
    border-color:var(--border);
    background:var(--surface2);
    color:var(--muted);
}

.resend-form button.is-counting [data-resend-countdown]{
    min-width:54px;
    padding:4px 7px;
    border:1px solid var(--gold-border);
    border-radius:7px;
    background:rgba(201,164,92,.07);
    color:var(--gold-light);
    direction:ltr;
    font-variant-numeric:tabular-nums;
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.02em;
}

.recovery-password-stage{
    gap:14px;
    margin-top:20px;
}

.recovery-password-stage label>span{
    display:block;
    margin-bottom:6px;
    color:var(--muted);
    font-size:.68rem;
    font-weight:800;
}

.recovery-password-stage .password-field input{
    height:48px;
    border-radius:12px;
}

.recovery-password-stage .auth-submit{
    min-height:48px;
    margin-top:2px;
}

@media(max-width:680px){
    .resend-form button.is-counting{
        min-width:172px;
        font-size:.67rem;
    }
}


.resend-ring{
    --ring-progress:360deg;
    width:18px;
    height:18px;
    flex:0 0 18px;
    position:relative;
    border-radius:50%;
    background:conic-gradient(var(--gold-light) var(--ring-progress),var(--border) 0);
    transform:rotate(-90deg);
}

.resend-ring::after{
    content:"";
    position:absolute;
    inset:4px;
    border-radius:50%;
    background:var(--surface2);
}

.resend-form button:not(.is-counting) .resend-ring{
    display:none;
}


/* =========================================================
   V21 recovery visual polish
   ========================================================= */

.recovery-visual{
    position:sticky;
    overflow:hidden;
    isolation:isolate;
    background:
        radial-gradient(circle at 82% 18%, rgba(214, 180, 104, .22), transparent 22%),
        radial-gradient(circle at 22% 22%, rgba(255,255,255,.72), transparent 26%),
        radial-gradient(circle at 50% 74%, rgba(209, 173, 96, .10), transparent 24%),
        linear-gradient(135deg, #f6f1e7 0%, #f1ebdf 38%, #ece5d8 100%);
    border:1px solid rgba(201,164,92,.30);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.55),
        0 28px 60px rgba(96,78,34,.08);
}

.recovery-visual::before{
    content:"";
    position:absolute;
    inset:88px 70px 150px;
    border-radius:34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,0)),
        url('/assets/images/logo-mark-gold.png') center 42% / min(45%, 320px) auto no-repeat;
    opacity:.20;
    filter:saturate(1.05);
    pointer-events:none;
    z-index:0;
}

.recovery-visual::after{
    width:460px;
    height:460px;
    top:-215px;
    inset-inline-end:-135px;
    background:
        radial-gradient(circle, rgba(201,164,92,.20) 0%, rgba(201,164,92,.06) 36%, transparent 72%);
    opacity:1;
}

.recovery-visual .register-brand-lockup{
    position:relative;
    z-index:2;
    margin-inline-start:auto;
    padding:14px 16px;
    border:1px solid rgba(201,164,92,.28);
    border-radius:22px;
    background:rgba(255,255,255,.60);
    box-shadow:
        0 18px 34px rgba(111,91,44,.10),
        inset 0 1px 0 rgba(255,255,255,.75);
    backdrop-filter:blur(8px);
}

.recovery-visual .register-brand-mark{
    background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,239,226,.94));
    box-shadow:
        inset 0 0 0 1px rgba(201,164,92,.20),
        0 10px 18px rgba(108,89,44,.08);
}

.recovery-visual .register-brand-text strong{
    color:var(--gold-light);
}

.recovery-visual .register-brand-text small{
    color:#6f6558;
}

.recovery-visual .login-visual-copy{
    max-width:560px;
    margin-top:auto;
    padding:26px 28px 24px;
    border:1px solid rgba(201,164,92,.28);
    border-radius:24px;
    background:linear-gradient(180deg, rgba(255,255,255,.60), rgba(255,255,255,.38));
    box-shadow:
        0 24px 46px rgba(96,78,34,.08),
        inset 0 1px 0 rgba(255,255,255,.75);
    backdrop-filter:blur(10px);
}

.recovery-visual .auth-eyebrow{
    background:rgba(201,164,92,.10);
}

.recovery-visual h1{
    max-width:100%;
    margin-top:18px;
    font-size:clamp(2.05rem, 3vw, 3.15rem);
    line-height:1.15;
}

html[lang="ar"] .recovery-visual h1{
    font-size:clamp(1.95rem, 2.8vw, 2.95rem);
    line-height:1.22;
}

.recovery-visual .login-visual-copy>p{
    max-width:100%;
    font-size:.84rem;
    color:#6c6255;
}

.recovery-visual .auth-points{
    margin-top:16px;
}

.recovery-visual .auth-points span{
    border-color:rgba(201,164,92,.20);
    background:rgba(255,255,255,.58);
    color:#6a5e51;
}

.recovery-visual .auth-points span::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:linear-gradient(180deg, #e2c77c, #c89c43);
    box-shadow:0 0 0 3px rgba(201,164,92,.10);
    flex:0 0 7px;
}

@media(max-width:1180px){
    .recovery-visual::before{
        inset:72px 44px 130px;
        background-size:min(52%, 280px) auto;
    }

    .recovery-visual .login-visual-copy{
        max-width:100%;
    }
}


/* =========================================================
   V22 Customer Dashboard
   ========================================================= */

.customer-dashboard-page{
    min-height:100vh;
    padding:112px 0 90px;
    background:
        radial-gradient(circle at 82% 12%,rgba(201,164,92,.08),transparent 24%),
        var(--bg);
}

.customer-dashboard-shell{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:18px;
    align-items:start;
}

.customer-dashboard-sidebar{
    position:sticky;
    top:112px;
    min-height:calc(100vh - 138px);
    padding:17px;
    display:flex;
    flex-direction:column;
    border:1px solid var(--border);
    border-radius:24px;
    background:
        radial-gradient(circle at 20% 0%,rgba(201,164,92,.10),transparent 25%),
        var(--surface);
    box-shadow:var(--shadow);
}

.dashboard-brand{
    min-height:58px;
    padding:7px;
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--text);
}

.dashboard-brand-mark{
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:14px;
    background:var(--surface2);
}

.dashboard-brand-mark img{
    width:36px;
    height:36px;
    object-fit:contain;
}

.dashboard-brand span:last-child{
    min-width:0;
}

.dashboard-brand strong,
.dashboard-brand small{
    display:block;
}

.dashboard-brand strong{
    color:var(--gold-light);
    font-family:"Cormorant Garamond",serif;
    font-size:1.12rem;
    line-height:1;
}

.dashboard-brand small{
    margin-top:3px;
    color:var(--muted);
    font-size:.57rem;
}

.dashboard-user-card{
    margin:14px 0 16px;
    padding:12px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:16px;
    background:var(--surface2);
}

.dashboard-avatar{
    width:40px;
    height:40px;
    flex:0 0 40px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:linear-gradient(135deg,#F0DDAE,var(--gold));
    color:#171008;
    font-size:.84rem;
    font-weight:900;
}

.dashboard-user-card div{
    min-width:0;
}

.dashboard-user-card small,
.dashboard-user-card strong{
    display:block;
}

.dashboard-user-card small{
    color:var(--muted);
    font-size:.56rem;
}

.dashboard-user-card strong{
    margin-top:2px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.68rem;
}

.dashboard-nav{
    display:grid;
    gap:5px;
}

.dashboard-nav a,
.dashboard-store-link,
.dashboard-logout{
    min-height:44px;
    padding:0 11px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid transparent;
    border-radius:12px;
    color:var(--muted);
    font-size:.68rem;
    transition:.2s ease;
}

.dashboard-nav a:hover,
.dashboard-nav a.active{
    border-color:var(--gold-border);
    background:rgba(201,164,92,.07);
    color:var(--text);
}

.dashboard-nav a.active{
    color:var(--gold-light);
}

.dashboard-nav-icon{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:var(--surface2);
    color:var(--gold-light);
    font-size:.78rem;
}

.dashboard-nav b,
.dashboard-store-link b,
.dashboard-logout b{
    font-weight:800;
}

.dashboard-nav em{
    margin-inline-start:auto;
    min-width:22px;
    height:22px;
    padding:0 6px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:var(--surface2);
    color:var(--muted);
    font-size:.55rem;
    font-style:normal;
}

.dashboard-sidebar-bottom{
    margin-top:auto;
    padding-top:18px;
    display:grid;
    gap:5px;
}

.dashboard-store-link:hover{
    color:var(--gold-light);
    background:rgba(201,164,92,.05);
}

.dashboard-sidebar-bottom form{
    margin:0;
}

.dashboard-logout{
    width:100%;
    border:0;
    background:transparent;
    color:#cf8a8a;
    cursor:pointer;
    text-align:inherit;
}

.dashboard-logout:hover{
    background:rgba(207,90,90,.07);
}

.customer-dashboard-main{
    min-width:0;
}

.dashboard-mobile-top{
    display:none;
}

.dashboard-welcome{
    min-height:258px;
    padding:32px 34px;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    border:1px solid var(--gold-border);
    border-radius:28px;
    background:
        radial-gradient(circle at 80% 15%,rgba(232,207,148,.17),transparent 27%),
        linear-gradient(135deg,var(--surface),var(--surface2));
    box-shadow:var(--shadow);
}

.dashboard-welcome-copy{
    position:relative;
    z-index:2;
    max-width:650px;
}

.dashboard-kicker{
    min-height:31px;
    padding:0 10px;
    display:inline-flex;
    align-items:center;
    border:1px solid var(--gold-border);
    border-radius:9px;
    background:rgba(201,164,92,.06);
    color:var(--gold-light);
    font-size:.61rem;
    font-weight:900;
}

.dashboard-welcome h1{
    margin:13px 0 8px;
    font-size:clamp(2rem,3vw,3rem);
    line-height:1.15;
}

html[lang="ar"] .dashboard-welcome h1{
    font-size:clamp(1.85rem,2.7vw,2.7rem);
}

.dashboard-welcome p{
    max-width:560px;
    margin:0;
    color:var(--muted);
    font-size:.78rem;
    line-height:1.85;
}

.dashboard-welcome-actions{
    margin-top:20px;
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

.dashboard-primary-action,
.dashboard-secondary-action{
    min-height:43px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    font-size:.68rem;
    font-weight:900;
}

.dashboard-primary-action{
    background:linear-gradient(135deg,#EED8A0,var(--gold));
    color:#171008;
    box-shadow:0 12px 28px rgba(201,164,92,.15);
}

.dashboard-secondary-action{
    border:1px solid var(--border);
    background:var(--surface);
    color:var(--text);
}

.dashboard-welcome-art{
    width:220px;
    height:220px;
    flex:0 0 220px;
    position:relative;
    display:grid;
    place-items:center;
}

.dashboard-welcome-art img{
    width:112px;
    position:relative;
    z-index:2;
    filter:drop-shadow(0 18px 32px rgba(201,164,92,.16));
}

.dashboard-orbit{
    position:absolute;
    border:1px solid var(--gold-border);
    border-radius:50%;
}

.dashboard-orbit.orbit-one{
    width:174px;
    height:174px;
}

.dashboard-orbit.orbit-two{
    width:218px;
    height:218px;
    opacity:.45;
}

.dashboard-stat-grid{
    margin-top:14px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.dashboard-stat-card{
    min-height:128px;
    padding:17px;
    display:flex;
    align-items:flex-start;
    gap:12px;
    border:1px solid var(--border);
    border-radius:18px;
    background:var(--surface);
}

.dashboard-stat-icon{
    width:39px;
    height:39px;
    flex:0 0 39px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:11px;
    background:rgba(201,164,92,.06);
    color:var(--gold-light);
    font-size:.82rem;
}

.dashboard-stat-card div{
    min-width:0;
}

.dashboard-stat-card small,
.dashboard-stat-card strong,
.dashboard-stat-card p{
    display:block;
}

.dashboard-stat-card small{
    color:var(--muted);
    font-size:.58rem;
    font-weight:700;
}

.dashboard-stat-card strong{
    margin-top:5px;
    color:var(--text);
    font-size:1.25rem;
    line-height:1.15;
}

.dashboard-stat-card p{
    margin:5px 0 0;
    overflow:hidden;
    color:var(--muted);
    font-size:.57rem;
    line-height:1.55;
    text-overflow:ellipsis;
}

.dashboard-progress{
    width:100%;
    height:5px;
    margin-top:11px;
    overflow:hidden;
    border-radius:999px;
    background:var(--surface2);
}

.dashboard-progress i{
    height:100%;
    display:block;
    border-radius:inherit;
    background:linear-gradient(90deg,var(--gold),var(--gold-light));
}

.dashboard-content-grid{
    margin-top:14px;
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);
    gap:14px;
}

.dashboard-panel{
    min-width:0;
    padding:22px;
    border:1px solid var(--border);
    border-radius:21px;
    background:var(--surface);
}

.dashboard-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.dashboard-panel-head span:first-child{
    color:var(--gold-light);
    font-size:.57rem;
    font-weight:900;
}

.dashboard-panel-head h2{
    margin:4px 0 0;
    font-size:1.05rem;
}

.dashboard-soft-badge{
    min-width:31px;
    height:31px;
    padding:0 8px;
    display:grid;
    place-items:center;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--surface2);
    color:var(--muted);
    font-size:.63rem;
}

.dashboard-empty-state{
    min-height:250px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.dashboard-empty-icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:16px;
    background:rgba(201,164,92,.05);
    color:var(--gold-light);
    font-size:1.05rem;
}

.dashboard-empty-state h3{
    margin:13px 0 5px;
    font-size:.95rem;
}

.dashboard-empty-state p{
    max-width:390px;
    margin:0;
    color:var(--muted);
    font-size:.67rem;
    line-height:1.8;
}

.dashboard-empty-state a{
    margin-top:13px;
    color:var(--gold-light);
    font-size:.65rem;
    font-weight:900;
}

.dashboard-location-dot{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:11px;
    color:var(--gold-light);
    background:rgba(201,164,92,.05);
}

.dashboard-address-card{
    margin-top:18px;
    padding:18px;
    border:1px solid var(--border);
    border-radius:16px;
    background:
        radial-gradient(circle at 85% 10%,rgba(201,164,92,.08),transparent 30%),
        var(--surface2);
}

.dashboard-address-card strong{
    display:block;
    font-size:.82rem;
}

.dashboard-address-card p{
    margin:7px 0 0;
    color:var(--muted);
    font-size:.65rem;
    line-height:1.8;
}

.dashboard-address-status{
    margin-top:13px;
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#7ca783;
    font-size:.58rem;
    font-weight:800;
}

.dashboard-inline-link{
    margin-top:15px;
    display:inline-flex;
    color:var(--gold-light);
    font-size:.62rem;
    font-weight:900;
}

.dashboard-lower-grid{
    grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);
}

.dashboard-profile-list{
    margin-top:17px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
}

.dashboard-profile-list>div{
    min-width:0;
    padding:13px 14px;
    border:1px solid var(--border);
    border-radius:13px;
    background:var(--surface2);
}

.dashboard-profile-list small,
.dashboard-profile-list strong{
    display:block;
}

.dashboard-profile-list small{
    color:var(--muted);
    font-size:.56rem;
}

.dashboard-profile-list strong{
    margin-top:4px;
    overflow-wrap:anywhere;
    font-size:.67rem;
}

.dashboard-quick-grid{
    margin-top:17px;
    display:grid;
    gap:9px;
}

.dashboard-quick-grid a{
    min-height:66px;
    padding:11px 13px;
    display:flex;
    align-items:center;
    gap:11px;
    border:1px solid var(--border);
    border-radius:14px;
    background:var(--surface2);
    color:var(--text);
    transition:.2s ease;
}

.dashboard-quick-grid a:hover{
    border-color:var(--gold-border);
    transform:translateY(-1px);
}

.dashboard-quick-grid>a>span{
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:rgba(201,164,92,.07);
    color:var(--gold-light);
}

.dashboard-quick-grid b,
.dashboard-quick-grid small{
    display:block;
}

.dashboard-quick-grid b{
    font-size:.68rem;
}

.dashboard-quick-grid small{
    margin-top:3px;
    color:var(--muted);
    font-size:.56rem;
}

@media(max-width:1180px){
    .customer-dashboard-shell{
        grid-template-columns:220px minmax(0,1fr);
    }

    .dashboard-stat-grid{
        grid-template-columns:1fr 1fr;
    }

    .dashboard-content-grid,
    .dashboard-lower-grid{
        grid-template-columns:1fr;
    }

    .dashboard-welcome-art{
        width:170px;
        height:170px;
        flex-basis:170px;
    }

    .dashboard-welcome-art img{
        width:92px;
    }

    .dashboard-orbit.orbit-one{
        width:138px;
        height:138px;
    }

    .dashboard-orbit.orbit-two{
        width:170px;
        height:170px;
    }
}

@media(max-width:880px){
    .customer-dashboard-page{
        padding-top:92px;
    }

    .customer-dashboard-shell{
        display:block;
    }

    .customer-dashboard-sidebar{
        display:none;
    }

    .dashboard-mobile-top{
        margin-bottom:11px;
        padding:10px 13px;
        display:flex;
        align-items:center;
        justify-content:space-between;
        border:1px solid var(--border);
        border-radius:15px;
        background:var(--surface);
    }

    .dashboard-mobile-top small,
    .dashboard-mobile-top b{
        display:block;
    }

    .dashboard-mobile-top small{
        color:var(--gold-light);
        font-size:.55rem;
    }

    .dashboard-mobile-top b{
        margin-top:2px;
        font-size:.67rem;
    }

    .dashboard-mobile-top>a{
        width:38px;
        height:38px;
        display:grid;
        place-items:center;
        border:1px solid var(--border);
        border-radius:11px;
        color:var(--gold-light);
        background:var(--surface2);
    }
}

@media(max-width:680px){
    .customer-dashboard-page{
        padding:82px 0 70px;
    }

    .dashboard-welcome{
        min-height:auto;
        padding:23px 19px;
        border-radius:21px;
    }

    .dashboard-welcome-art{
        position:absolute;
        width:150px;
        height:150px;
        inset-inline-end:-38px;
        top:8px;
        opacity:.22;
    }

    .dashboard-welcome-copy{
        max-width:100%;
    }

    html[lang="ar"] .dashboard-welcome h1,
    .dashboard-welcome h1{
        max-width:78%;
        font-size:1.65rem;
    }

    .dashboard-welcome p{
        max-width:76%;
        font-size:.69rem;
    }

    .dashboard-primary-action,
    .dashboard-secondary-action{
        min-height:40px;
        padding:0 13px;
        font-size:.63rem;
    }

    .dashboard-stat-grid{
        grid-template-columns:1fr 1fr;
        gap:8px;
        margin-top:9px;
    }

    .dashboard-stat-card{
        min-height:116px;
        padding:13px;
        gap:9px;
        border-radius:15px;
    }

    .dashboard-stat-icon{
        width:34px;
        height:34px;
        flex-basis:34px;
    }

    .dashboard-stat-card strong{
        font-size:1.02rem;
    }

    .dashboard-panel{
        padding:18px 15px;
        border-radius:18px;
    }

    .dashboard-content-grid{
        gap:9px;
        margin-top:9px;
    }

    .dashboard-profile-list{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   V23 Public homepage motion polish
   Elegant enter/exit scroll motion for index only
   ========================================================= */

.premium-home.motion-ready .motion-item{
    opacity:0;
    filter:blur(5px);
    transform:translate3d(0,34px,0);
    transition:
        opacity .72s cubic-bezier(.2,.75,.25,1),
        transform .82s cubic-bezier(.2,.75,.25,1),
        filter .72s ease;
    transition-delay:var(--motion-delay,0ms);
    will-change:opacity,transform,filter;
}

.premium-home.motion-ready .motion-item.motion-left{
    transform:translate3d(-38px,14px,0);
}

html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-left{
    transform:translate3d(38px,14px,0);
}

.premium-home.motion-ready .motion-item.motion-right{
    transform:translate3d(38px,14px,0);
}

html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-right{
    transform:translate3d(-38px,14px,0);
}

.premium-home.motion-ready .motion-item.motion-scale{
    transform:translate3d(0,22px,0) scale(.965);
}

.premium-home.motion-ready .motion-item.motion-in{
    opacity:1;
    filter:blur(0);
    transform:translate3d(0,0,0) scale(1);
}

/* Hero entrance */
.premium-home.motion-ready .home-hero-copy .home-kicker,
.premium-home.motion-ready .home-hero-copy h1,
.premium-home.motion-ready .home-hero-text,
.premium-home.motion-ready .home-signature,
.premium-home.motion-ready .home-hero-actions,
.premium-home.motion-ready .home-award-pill{
    opacity:0;
    transform:translate3d(0,24px,0);
    transition:
        opacity .7s cubic-bezier(.2,.75,.25,1),
        transform .8s cubic-bezier(.2,.75,.25,1);
}

.premium-home.motion-ready.motion-hero-in .home-hero-copy .home-kicker{transition-delay:80ms}
.premium-home.motion-ready.motion-hero-in .home-hero-copy h1{transition-delay:150ms}
.premium-home.motion-ready.motion-hero-in .home-hero-text{transition-delay:230ms}
.premium-home.motion-ready.motion-hero-in .home-signature{transition-delay:300ms}
.premium-home.motion-ready.motion-hero-in .home-hero-actions{transition-delay:370ms}
.premium-home.motion-ready.motion-hero-in .home-award-pill{transition-delay:440ms}

.premium-home.motion-ready.motion-hero-in .home-hero-copy .home-kicker,
.premium-home.motion-ready.motion-hero-in .home-hero-copy h1,
.premium-home.motion-ready.motion-hero-in .home-hero-text,
.premium-home.motion-ready.motion-hero-in .home-signature,
.premium-home.motion-ready.motion-hero-in .home-hero-actions,
.premium-home.motion-ready.motion-hero-in .home-award-pill{
    opacity:1;
    transform:none;
}

.premium-home.motion-ready .home-hero-visual{
    opacity:0;
    transform:translate3d(0,20px,0) scale(.92);
    filter:blur(7px);
    transition:
        opacity .9s .16s cubic-bezier(.2,.75,.25,1),
        transform 1s .16s cubic-bezier(.16,.84,.24,1),
        filter .85s .16s ease;
}

.premium-home.motion-ready.motion-hero-in .home-hero-visual{
    opacity:1;
    transform:none;
    filter:none;
}

/* Calm ambient movement after the entrance */
.premium-home.motion-hero-in .home-orb-one{
    animation:snailoOrbFloatOne 9s ease-in-out infinite;
}

.premium-home.motion-hero-in .home-orb-two{
    animation:snailoOrbFloatTwo 11s ease-in-out infinite;
}

.premium-home.motion-hero-in .home-logo-orbit{
    animation:snailoLogoBreathe 6s ease-in-out infinite;
}

.premium-home.motion-hero-in .home-ring-one{
    animation:snailoRingRotate 28s linear infinite;
}

.premium-home.motion-hero-in .home-ring-two{
    animation:snailoRingRotateReverse 36s linear infinite;
}

@keyframes snailoOrbFloatOne{
    0%,100%{transform:translate3d(0,0,0)}
    50%{transform:translate3d(18px,-20px,0)}
}

@keyframes snailoOrbFloatTwo{
    0%,100%{transform:translate3d(0,0,0)}
    50%{transform:translate3d(-16px,18px,0)}
}

@keyframes snailoLogoBreathe{
    0%,100%{transform:translate3d(0,0,0) scale(1)}
    50%{transform:translate3d(0,-8px,0) scale(1.025)}
}

@keyframes snailoRingRotate{
    to{transform:rotate(360deg)}
}

@keyframes snailoRingRotateReverse{
    to{transform:rotate(-360deg)}
}

/* Premium hover feedback */
.premium-home .home-btn,
.premium-home .home-values article,
.premium-home .home-product-card,
.premium-home .home-why-list article,
.premium-home .home-story-feature,
.premium-home .home-achievement-card,
.premium-home .home-final-card{
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        background .28s ease;
}

.premium-home .home-btn:hover{
    transform:translateY(-3px);
}

.premium-home .home-values article:hover,
.premium-home .home-product-card:hover,
.premium-home .home-why-list article:hover{
    transform:translateY(-5px);
    border-color:var(--gold-border);
    box-shadow:0 18px 38px rgba(80,62,24,.08);
}

.premium-home .home-story-feature:hover,
.premium-home .home-achievement-card:hover,
.premium-home .home-final-card:hover{
    transform:translateY(-3px);
    border-color:var(--gold-border);
}

/* Heading label gets a tiny shine on entry */
.premium-home .motion-item.motion-in .home-kicker,
.premium-home .home-heading-card.motion-in .home-kicker,
.premium-home .home-copy-card.motion-in .home-kicker{
    animation:snailoKickerGlow .9s ease both;
}

@keyframes snailoKickerGlow{
    0%{box-shadow:0 0 0 rgba(201,164,92,0)}
    45%{box-shadow:0 0 0 6px rgba(201,164,92,.07)}
    100%{box-shadow:0 0 0 rgba(201,164,92,0)}
}

/* Do not animate the layout for people who request reduced motion */
@media(prefers-reduced-motion:reduce){
    .premium-home *,
    .premium-home *::before,
    .premium-home *::after{
        scroll-behavior:auto!important;
        animation-duration:.001ms!important;
        animation-iteration-count:1!important;
        transition-duration:.001ms!important;
        transition-delay:0ms!important;
    }

    .premium-home.motion-ready .motion-item,
    .premium-home.motion-ready .home-hero-copy .home-kicker,
    .premium-home.motion-ready .home-hero-copy h1,
    .premium-home.motion-ready .home-hero-text,
    .premium-home.motion-ready .home-signature,
    .premium-home.motion-ready .home-hero-actions,
    .premium-home.motion-ready .home-award-pill,
    .premium-home.motion-ready .home-hero-visual{
        opacity:1!important;
        filter:none!important;
        transform:none!important;
    }
}

@media(max-width:680px){
    .premium-home.motion-ready .motion-item{
        transform:translate3d(0,22px,0);
        filter:blur(3px);
    }

    .premium-home.motion-ready .motion-item.motion-left,
    html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-left,
    .premium-home.motion-ready .motion-item.motion-right,
    html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-right{
        transform:translate3d(0,22px,0);
    }

    .premium-home.motion-ready .motion-item.motion-in{
        transform:none;
    }
}


.premium-home.motion-hero-in .home-hero-visual{
    translate:0 var(--hero-shift,0px);
}


/* =========================================================
   V24 Stronger homepage motion
   More visible entrances + real exit transitions
   ========================================================= */

.premium-home.motion-ready .motion-item{
    opacity:0;
    filter:blur(10px);
    transform:translate3d(0,68px,0) scale(.965);
    transition:
        opacity .78s cubic-bezier(.16,.84,.24,1),
        transform .95s cubic-bezier(.16,.84,.24,1),
        filter .78s ease;
}

.premium-home.motion-ready .motion-item.motion-left{
    transform:translate3d(-88px,18px,0) rotate(-1.2deg) scale(.965);
}

html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-left{
    transform:translate3d(88px,18px,0) rotate(1.2deg) scale(.965);
}

.premium-home.motion-ready .motion-item.motion-right{
    transform:translate3d(88px,18px,0) rotate(1.2deg) scale(.965);
}

html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-right{
    transform:translate3d(-88px,18px,0) rotate(-1.2deg) scale(.965);
}

.premium-home.motion-ready .motion-item.motion-scale{
    transform:translate3d(0,48px,0) scale(.88);
}

.premium-home.motion-ready .motion-item.motion-in{
    opacity:1;
    filter:blur(0);
    transform:translate3d(0,0,0) rotate(0) scale(1);
}

/* Noticeable exit motion while scrolling away */
.premium-home.motion-ready .motion-item.motion-exit-up{
    opacity:0;
    filter:blur(6px);
    transform:translate3d(0,-46px,0) scale(.975);
    transition-delay:0ms!important;
    transition-duration:.48s,.58s,.45s;
}

.premium-home.motion-ready .motion-item.motion-exit-down{
    opacity:0;
    filter:blur(6px);
    transform:translate3d(0,46px,0) scale(.975);
    transition-delay:0ms!important;
    transition-duration:.48s,.58s,.45s;
}

/* Hero: much clearer first-load animation */
.premium-home.motion-ready .home-hero-copy .home-kicker{
    transform:translate3d(54px,0,0) scale(.9);
    filter:blur(7px);
}

html[dir="ltr"] .premium-home.motion-ready .home-hero-copy .home-kicker{
    transform:translate3d(-54px,0,0) scale(.9);
}

.premium-home.motion-ready .home-hero-copy h1{
    transform:translate3d(0,58px,0) scale(.94);
    filter:blur(9px);
}

.premium-home.motion-ready .home-hero-text,
.premium-home.motion-ready .home-signature{
    transform:translate3d(0,38px,0);
    filter:blur(6px);
}

.premium-home.motion-ready .home-hero-actions{
    transform:translate3d(0,44px,0) scale(.92);
    filter:blur(5px);
}

.premium-home.motion-ready .home-award-pill{
    transform:translate3d(0,48px,0) scale(.9);
    filter:blur(6px);
}

.premium-home.motion-ready .home-hero-copy .home-kicker,
.premium-home.motion-ready .home-hero-copy h1,
.premium-home.motion-ready .home-hero-text,
.premium-home.motion-ready .home-signature,
.premium-home.motion-ready .home-hero-actions,
.premium-home.motion-ready .home-award-pill{
    transition:
        opacity .72s cubic-bezier(.16,.84,.24,1),
        transform .9s cubic-bezier(.16,.84,.24,1),
        filter .72s ease;
}

.premium-home.motion-ready.motion-hero-in .home-hero-copy .home-kicker,
.premium-home.motion-ready.motion-hero-in .home-hero-copy h1,
.premium-home.motion-ready.motion-hero-in .home-hero-text,
.premium-home.motion-ready.motion-hero-in .home-signature,
.premium-home.motion-ready.motion-hero-in .home-hero-actions,
.premium-home.motion-ready.motion-hero-in .home-award-pill{
    filter:blur(0);
}

.premium-home.motion-ready .home-hero-visual{
    opacity:0;
    transform:translate3d(70px,30px,0) rotate(5deg) scale(.78);
    filter:blur(12px);
    transition:
        opacity .82s .12s cubic-bezier(.16,.84,.24,1),
        transform 1.12s .12s cubic-bezier(.16,.84,.24,1),
        filter .82s .12s ease;
}

html[dir="rtl"] .premium-home.motion-ready .home-hero-visual{
    transform:translate3d(-70px,30px,0) rotate(-5deg) scale(.78);
}

.premium-home.motion-ready.motion-hero-in .home-hero-visual{
    opacity:1;
    transform:translate3d(0,var(--hero-shift,0px),0) rotate(0) scale(1);
    filter:none;
}

/* Hero floating cards get their own visible entrance */
.premium-home.motion-ready .home-float-card{
    opacity:0;
    transform:translate3d(0,32px,0) scale(.82);
    transition:
        opacity .55s ease,
        transform .7s cubic-bezier(.16,.84,.24,1);
}

.premium-home.motion-ready.motion-hero-in .home-float-one{
    opacity:1;
    transform:none;
    transition-delay:.75s;
}

.premium-home.motion-ready.motion-hero-in .home-float-two{
    opacity:1;
    transform:none;
    transition-delay:.9s;
}

/* Moving brand strip */
.premium-home.motion-ready .home-brand-line{
    opacity:0;
    transform:translate3d(0,22px,0);
    transition:opacity .65s .7s ease,transform .8s .7s cubic-bezier(.16,.84,.24,1);
}

.premium-home.motion-ready.motion-hero-in .home-brand-line{
    opacity:1;
    transform:none;
}

/* Product / benefit cards pop in with stronger depth */
.premium-home.motion-ready .home-product-card.motion-item,
.premium-home.motion-ready .home-values article.motion-item,
.premium-home.motion-ready .home-why-list article.motion-item{
    transform-origin:center bottom;
}

.premium-home.motion-ready .home-product-card.motion-in,
.premium-home.motion-ready .home-values article.motion-in,
.premium-home.motion-ready .home-why-list article.motion-in{
    animation:snailoCardSettle .72s cubic-bezier(.16,.84,.24,1) both;
}

@keyframes snailoCardSettle{
    0%{transform:translate3d(0,0,0) scale(.94)}
    62%{transform:translate3d(0,-7px,0) scale(1.012)}
    100%{transform:translate3d(0,0,0) scale(1)}
}

/* Section heading contents have a small secondary reveal */
.premium-home .home-section-heading.motion-in h2,
.premium-home .home-copy-card.motion-in h2,
.premium-home .home-achievement-card.motion-in h2,
.premium-home .home-final-card.motion-in h2{
    animation:snailoHeadingLift .72s .12s cubic-bezier(.16,.84,.24,1) both;
}

.premium-home .home-section-heading.motion-in>p,
.premium-home .home-copy-card.motion-in>p,
.premium-home .home-achievement-card.motion-in>p,
.premium-home .home-final-card.motion-in>p{
    animation:snailoHeadingLift .72s .22s cubic-bezier(.16,.84,.24,1) both;
}

@keyframes snailoHeadingLift{
    from{opacity:0;transform:translateY(24px);filter:blur(5px)}
    to{opacity:1;transform:none;filter:none}
}

@media(max-width:680px){
    .premium-home.motion-ready .motion-item{
        transform:translate3d(0,42px,0) scale(.975);
        filter:blur(6px);
    }

    .premium-home.motion-ready .motion-item.motion-left,
    html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-left,
    .premium-home.motion-ready .motion-item.motion-right,
    html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-right{
        transform:translate3d(0,46px,0) scale(.975);
    }

    .premium-home.motion-ready .home-hero-visual,
    html[dir="rtl"] .premium-home.motion-ready .home-hero-visual{
        transform:translate3d(0,34px,0) scale(.84);
    }
}


/* =========================================================
   V25 Clean motion — no blur, no tilt
   Strong, straight, premium movement only
   ========================================================= */

/* Remove all blur and rotation from homepage motion */
.premium-home.motion-ready .motion-item,
.premium-home.motion-ready .motion-item.motion-left,
.premium-home.motion-ready .motion-item.motion-right,
.premium-home.motion-ready .motion-item.motion-scale,
.premium-home.motion-ready .motion-item.motion-in,
.premium-home.motion-ready .motion-item.motion-exit-up,
.premium-home.motion-ready .motion-item.motion-exit-down,
.premium-home.motion-ready .home-hero-copy .home-kicker,
.premium-home.motion-ready .home-hero-copy h1,
.premium-home.motion-ready .home-hero-text,
.premium-home.motion-ready .home-signature,
.premium-home.motion-ready .home-hero-actions,
.premium-home.motion-ready .home-award-pill,
.premium-home.motion-ready .home-hero-visual,
html[dir="rtl"] .premium-home.motion-ready .home-hero-visual{
    filter:none!important;
}

/* Main section entrance */
.premium-home.motion-ready .motion-item{
    opacity:0;
    transform:translate3d(0,58px,0) scale(.97);
    transition:
        opacity .62s ease,
        transform .88s cubic-bezier(.18,.88,.28,1);
}

/* Straight horizontal entrances */
.premium-home.motion-ready .motion-item.motion-left{
    transform:translate3d(-82px,0,0) scale(.98);
}

html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-left{
    transform:translate3d(82px,0,0) scale(.98);
}

.premium-home.motion-ready .motion-item.motion-right{
    transform:translate3d(82px,0,0) scale(.98);
}

html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-right{
    transform:translate3d(-82px,0,0) scale(.98);
}

.premium-home.motion-ready .motion-item.motion-scale{
    transform:translate3d(0,42px,0) scale(.91);
}

.premium-home.motion-ready .motion-item.motion-in{
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
}

/* Clean exits — straight only */
.premium-home.motion-ready .motion-item.motion-exit-up{
    opacity:0;
    transform:translate3d(0,-42px,0) scale(.985);
}

.premium-home.motion-ready .motion-item.motion-exit-down{
    opacity:0;
    transform:translate3d(0,42px,0) scale(.985);
}

/* Hero entrance: staged, visible, no blur */
.premium-home.motion-ready .home-hero-copy .home-kicker{
    opacity:0;
    transform:translate3d(52px,0,0);
}

html[dir="ltr"] .premium-home.motion-ready .home-hero-copy .home-kicker{
    transform:translate3d(-52px,0,0);
}

.premium-home.motion-ready .home-hero-copy h1{
    opacity:0;
    transform:translate3d(0,54px,0) scale(.96);
}

.premium-home.motion-ready .home-hero-text{
    opacity:0;
    transform:translate3d(0,36px,0);
}

.premium-home.motion-ready .home-signature{
    opacity:0;
    transform:translate3d(0,30px,0);
}

.premium-home.motion-ready .home-hero-actions{
    opacity:0;
    transform:translate3d(0,34px,0) scale(.96);
}

.premium-home.motion-ready .home-award-pill{
    opacity:0;
    transform:translate3d(0,30px,0) scale(.96);
}

.premium-home.motion-ready .home-hero-copy .home-kicker,
.premium-home.motion-ready .home-hero-copy h1,
.premium-home.motion-ready .home-hero-text,
.premium-home.motion-ready .home-signature,
.premium-home.motion-ready .home-hero-actions,
.premium-home.motion-ready .home-award-pill{
    transition:
        opacity .56s ease,
        transform .82s cubic-bezier(.18,.88,.28,1);
}

.premium-home.motion-ready.motion-hero-in .home-hero-copy .home-kicker,
.premium-home.motion-ready.motion-hero-in .home-hero-copy h1,
.premium-home.motion-ready.motion-hero-in .home-hero-text,
.premium-home.motion-ready.motion-hero-in .home-signature,
.premium-home.motion-ready.motion-hero-in .home-hero-actions,
.premium-home.motion-ready.motion-hero-in .home-award-pill{
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
}

/* Hero artwork: clean zoom + vertical lift */
.premium-home.motion-ready .home-hero-visual,
html[dir="rtl"] .premium-home.motion-ready .home-hero-visual{
    opacity:0;
    transform:translate3d(0,58px,0) scale(.83);
    transition:
        opacity .7s .14s ease,
        transform 1s .14s cubic-bezier(.18,.88,.28,1);
}

.premium-home.motion-ready.motion-hero-in .home-hero-visual,
html[dir="rtl"] .premium-home.motion-ready.motion-hero-in .home-hero-visual{
    opacity:1;
    transform:translate3d(0,var(--hero-shift,0px),0) scale(1);
}

/* Floating hero cards rise in — no rotation */
.premium-home.motion-ready .home-float-card{
    opacity:0;
    transform:translate3d(0,36px,0) scale(.9);
}

.premium-home.motion-ready.motion-hero-in .home-float-card{
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
}

/* Section headings: visible lift, not blur */
.premium-home .home-section-heading.motion-in h2,
.premium-home .home-copy-card.motion-in h2,
.premium-home .home-achievement-card.motion-in h2,
.premium-home .home-final-card.motion-in h2{
    animation:snailoHeadingStraight .66s .08s cubic-bezier(.18,.88,.28,1) both;
}

.premium-home .home-section-heading.motion-in>p,
.premium-home .home-copy-card.motion-in>p,
.premium-home .home-achievement-card.motion-in>p,
.premium-home .home-final-card.motion-in>p{
    animation:snailoHeadingStraight .66s .17s cubic-bezier(.18,.88,.28,1) both;
}

@keyframes snailoHeadingStraight{
    from{
        opacity:0;
        transform:translate3d(0,28px,0);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0);
    }
}

/* Cards settle vertically only */
.premium-home.motion-ready .home-product-card.motion-in,
.premium-home.motion-ready .home-values article.motion-in,
.premium-home.motion-ready .home-why-list article.motion-in{
    animation:snailoCardStraight .68s cubic-bezier(.18,.88,.28,1) both;
}

@keyframes snailoCardStraight{
    0%{
        transform:translate3d(0,22px,0) scale(.96);
    }
    70%{
        transform:translate3d(0,-4px,0) scale(1.006);
    }
    100%{
        transform:translate3d(0,0,0) scale(1);
    }
}

/* Slight continuous motion in the decorative hero only */
.premium-home.motion-hero-in .home-logo-orbit{
    animation:snailoLogoStraightFloat 4.8s ease-in-out infinite;
}

@keyframes snailoLogoStraightFloat{
    0%,100%{transform:translate3d(0,0,0)}
    50%{transform:translate3d(0,-10px,0)}
}

/* Brand line slides in horizontally */
.premium-home.motion-ready .home-brand-line{
    opacity:0;
    transform:translate3d(0,24px,0);
    transition:opacity .55s .64s ease,transform .76s .64s cubic-bezier(.18,.88,.28,1);
}

.premium-home.motion-ready.motion-hero-in .home-brand-line{
    opacity:1;
    transform:translate3d(0,0,0);
}

/* Mobile remains strong but straight */
@media(max-width:680px){
    .premium-home.motion-ready .motion-item,
    .premium-home.motion-ready .motion-item.motion-left,
    html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-left,
    .premium-home.motion-ready .motion-item.motion-right,
    html[dir="rtl"] .premium-home.motion-ready .motion-item.motion-right{
        transform:translate3d(0,40px,0) scale(.98);
    }

    .premium-home.motion-ready .motion-item.motion-scale{
        transform:translate3d(0,34px,0) scale(.94);
    }

    .premium-home.motion-ready .motion-item.motion-in{
        transform:translate3d(0,0,0) scale(1);
    }

    .premium-home.motion-ready .home-hero-visual,
    html[dir="rtl"] .premium-home.motion-ready .home-hero-visual{
        transform:translate3d(0,44px,0) scale(.88);
    }
}


/* =========================================================
   V26 Admin setup + Admin Dashboard
   ========================================================= */

.admin-setup-body,
.admin-body{
    min-height:100vh;
    margin:0;
    background:
        radial-gradient(circle at 80% 0%,rgba(201,164,92,.10),transparent 28%),
        var(--bg);
}

.admin-setup-page{
    min-height:100vh;
    padding:40px 18px;
    display:grid;
    place-items:center;
}

.admin-setup-card{
    width:min(480px,100%);
    padding:34px;
    border:1px solid var(--gold-border);
    border-radius:26px;
    background:var(--surface);
    box-shadow:var(--shadow);
    text-align:center;
}

.admin-setup-logo{
    width:72px;
    height:72px;
    margin:0 auto 18px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:21px;
    background:var(--surface2);
}

.admin-setup-logo img{
    width:54px;
    height:54px;
    object-fit:contain;
}

.admin-setup-kicker{
    min-height:30px;
    padding:0 10px;
    display:inline-flex;
    align-items:center;
    border:1px solid var(--gold-border);
    border-radius:9px;
    background:rgba(201,164,92,.06);
    color:var(--gold-light);
    font-size:.62rem;
    font-weight:900;
}

.admin-setup-card h1{
    margin:13px 0 7px;
    font-size:1.55rem;
}

.admin-setup-card>p{
    margin:0;
    color:var(--muted);
    font-size:.73rem;
    line-height:1.8;
}

.admin-setup-user{
    margin:22px 0 18px;
    padding:12px;
    display:flex;
    align-items:center;
    gap:11px;
    border:1px solid var(--border);
    border-radius:15px;
    background:var(--surface2);
    text-align:start;
}

.admin-setup-user>span{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:linear-gradient(135deg,var(--gold-light),var(--gold));
    color:#171008;
    font-weight:900;
}

.admin-setup-user strong,
.admin-setup-user small{
    display:block;
}

.admin-setup-user strong{font-size:.73rem}
.admin-setup-user small{margin-top:2px;color:var(--muted);font-size:.61rem}

.admin-setup-form{
    display:grid;
    gap:13px;
    text-align:start;
}

.admin-setup-form label>span{
    display:block;
    margin-bottom:6px;
    color:var(--muted);
    font-size:.65rem;
    font-weight:800;
}

.admin-setup-form input{
    width:100%;
    height:48px;
    padding:0 14px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--surface2);
    color:var(--text);
    outline:0;
}

.admin-setup-form input:focus{
    border-color:var(--gold-border);
}

.admin-setup-form button{
    min-height:48px;
    border:0;
    border-radius:12px;
    background:linear-gradient(135deg,var(--gold-light),var(--gold));
    color:#171008;
    font-weight:900;
    cursor:pointer;
}

.admin-setup-back{
    margin-top:16px;
    display:inline-flex;
    color:var(--muted);
    font-size:.64rem;
    font-weight:800;
}

.admin-shell{
    min-height:100vh;
    display:grid;
    grid-template-columns:272px minmax(0,1fr);
}

.admin-sidebar{
    position:fixed;
    inset-block:0;
    inset-inline-start:0;
    width:272px;
    padding:17px;
    display:flex;
    flex-direction:column;
    z-index:80;
    border-inline-end:1px solid var(--border);
    background:
        radial-gradient(circle at 20% 0%,rgba(201,164,92,.10),transparent 25%),
        var(--surface);
}

.admin-sidebar-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.admin-brand{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--text);
}

.admin-brand>span{
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:13px;
    background:var(--surface2);
}

.admin-brand img{
    width:34px;
    height:34px;
    object-fit:contain;
}

.admin-brand strong,
.admin-brand small{
    display:block;
}

.admin-brand strong{
    color:var(--gold-light);
    font-family:"Cormorant Garamond",serif;
    font-size:1.15rem;
    line-height:1;
}

.admin-brand small{
    margin-top:3px;
    color:var(--muted);
    font-size:.55rem;
}

.admin-sidebar-close{
    display:none;
    width:36px;
    height:36px;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--surface2);
    color:var(--text);
    font-size:1.1rem;
    cursor:pointer;
}

.admin-profile-card{
    margin:18px 0;
    padding:12px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:15px;
    background:var(--surface2);
}

.admin-avatar,
.admin-topbar-avatar{
    display:grid;
    place-items:center;
    border-radius:12px;
    background:linear-gradient(135deg,var(--gold-light),var(--gold));
    color:#171008;
    font-weight:900;
}

.admin-avatar{
    width:40px;
    height:40px;
    flex:0 0 40px;
}

.admin-profile-card small,
.admin-profile-card strong{
    display:block;
}

.admin-profile-card small{
    color:var(--muted);
    font-size:.55rem;
}

.admin-profile-card strong{
    margin-top:2px;
    font-size:.66rem;
}

.admin-nav{
    display:grid;
    gap:5px;
}

.admin-nav a,
.admin-sidebar-bottom a,
.admin-sidebar-bottom button{
    min-height:44px;
    padding:0 11px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid transparent;
    border-radius:12px;
    background:transparent;
    color:var(--muted);
    font-size:.66rem;
    transition:.2s ease;
}

.admin-nav a:hover,
.admin-nav a.active{
    border-color:var(--gold-border);
    background:rgba(201,164,92,.07);
    color:var(--gold-light);
}

.admin-nav a>span,
.admin-sidebar-bottom a>span,
.admin-sidebar-bottom button>span{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:var(--surface2);
    color:var(--gold-light);
    font-size:.76rem;
}

.admin-nav b,
.admin-sidebar-bottom b{
    font-weight:800;
}

.admin-nav em{
    margin-inline-start:auto;
    min-width:22px;
    height:22px;
    padding:0 6px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:var(--surface2);
    color:var(--muted);
    font-size:.53rem;
    font-style:normal;
}

.admin-sidebar-bottom{
    margin-top:auto;
    padding-top:14px;
    display:grid;
    gap:5px;
}

.admin-sidebar-bottom form{
    margin:0;
}

.admin-sidebar-bottom button{
    width:100%;
    border:0;
    color:#cf8a8a;
    cursor:pointer;
    text-align:inherit;
}

.admin-sidebar-bottom a:hover{
    color:var(--gold-light);
    background:rgba(201,164,92,.05);
}

.admin-sidebar-bottom button:hover{
    background:rgba(207,90,90,.07);
}

.admin-main{
    min-width:0;
    grid-column:2;
}

.admin-topbar{
    height:82px;
    padding:0 30px;
    position:sticky;
    top:0;
    z-index:60;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    border-bottom:1px solid var(--border);
    background:color-mix(in srgb,var(--bg) 82%,transparent);
    backdrop-filter:blur(14px);
}

.admin-topbar-title{
    display:flex;
    align-items:center;
    gap:11px;
}

.admin-topbar-title small,
.admin-topbar-title h1{
    display:block;
}

.admin-topbar-title small{
    color:var(--gold-light);
    font-size:.55rem;
    font-weight:800;
}

.admin-topbar-title h1{
    margin:2px 0 0;
    font-size:1rem;
}

.admin-menu-button{
    display:none;
    width:40px;
    height:40px;
    border:1px solid var(--border);
    border-radius:11px;
    background:var(--surface);
    color:var(--text);
    cursor:pointer;
}

.admin-topbar-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.admin-topbar-site{
    min-height:39px;
    padding:0 12px;
    display:inline-flex;
    align-items:center;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--surface);
    color:var(--text);
    font-size:.62rem;
    font-weight:800;
}

.admin-topbar-avatar{
    width:39px;
    height:39px;
}

.admin-content{
    padding:22px 28px 70px;
}

.admin-hero{
    min-height:210px;
    padding:29px 31px;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    border:1px solid var(--gold-border);
    border-radius:25px;
    background:
        radial-gradient(circle at 80% 15%,rgba(232,207,148,.16),transparent 28%),
        linear-gradient(135deg,var(--surface),var(--surface2));
    box-shadow:var(--shadow);
}

.admin-hero>div:first-child{
    position:relative;
    z-index:2;
    max-width:640px;
}

.admin-kicker{
    min-height:30px;
    padding:0 10px;
    display:inline-flex;
    align-items:center;
    border:1px solid var(--gold-border);
    border-radius:8px;
    background:rgba(201,164,92,.06);
    color:var(--gold-light);
    font-size:.58rem;
    font-weight:900;
}

.admin-hero h2{
    margin:12px 0 7px;
    font-size:clamp(1.75rem,2.8vw,2.7rem);
}

.admin-hero p{
    margin:0;
    color:var(--muted);
    font-size:.74rem;
}

.admin-hero-art{
    width:180px;
    height:160px;
    flex:0 0 180px;
    position:relative;
    display:grid;
    place-items:center;
}

.admin-hero-art img{
    width:84px;
    position:relative;
    z-index:2;
    filter:drop-shadow(0 14px 24px rgba(201,164,92,.18));
}

.admin-hero-art span{
    position:absolute;
    border:1px solid var(--gold-border);
    border-radius:50%;
}

.admin-hero-art span:first-child{
    width:126px;
    height:126px;
}

.admin-hero-art span:nth-child(2){
    width:160px;
    height:160px;
    opacity:.42;
}

.admin-stat-grid{
    margin-top:13px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:11px;
}

.admin-stat-card{
    min-height:124px;
    padding:16px;
    display:flex;
    align-items:flex-start;
    gap:11px;
    border:1px solid var(--border);
    border-radius:18px;
    background:var(--surface);
}

.admin-stat-icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:11px;
    background:rgba(201,164,92,.06);
    color:var(--gold-light);
}

.admin-stat-card small,
.admin-stat-card strong,
.admin-stat-card p{
    display:block;
}

.admin-stat-card small{
    color:var(--muted);
    font-size:.56rem;
}

.admin-stat-card strong{
    margin-top:5px;
    font-size:1.28rem;
}

.admin-stat-card p{
    margin:4px 0 0;
    color:var(--muted);
    font-size:.55rem;
}

.admin-grid{
    margin-top:13px;
    display:grid;
    gap:13px;
}

.admin-grid-primary{
    grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);
}

.admin-grid-secondary,
.admin-grid-bottom{
    grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr);
}

.admin-panel{
    min-width:0;
    padding:20px;
    border:1px solid var(--border);
    border-radius:20px;
    background:var(--surface);
}

.admin-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.admin-panel-head>div:first-child>span{
    color:var(--gold-light);
    font-size:.54rem;
    font-weight:900;
}

.admin-panel-head h3{
    margin:4px 0 0;
    font-size:.98rem;
}

.admin-count-badge{
    min-width:31px;
    height:31px;
    padding:0 8px;
    display:grid;
    place-items:center;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--surface2);
    color:var(--muted);
    font-size:.6rem;
}

.admin-table-wrap{
    margin-top:15px;
    overflow:auto;
}

.admin-table{
    width:100%;
    border-collapse:collapse;
    min-width:560px;
}

.admin-table th{
    padding:9px 8px;
    color:var(--muted);
    font-size:.54rem;
    font-weight:800;
    text-align:start;
    border-bottom:1px solid var(--border);
}

.admin-table td{
    padding:11px 8px;
    color:var(--text);
    font-size:.59rem;
    border-bottom:1px solid var(--border);
}

.admin-table tr:last-child td{
    border-bottom:0;
}

.admin-customer-cell{
    display:flex;
    align-items:center;
    gap:9px;
}

.admin-customer-cell>span{
    width:32px;
    height:32px;
    flex:0 0 32px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:rgba(201,164,92,.10);
    color:var(--gold-light);
    font-weight:900;
}

.admin-customer-cell b,
.admin-customer-cell small{
    display:block;
}

.admin-customer-cell b{
    font-size:.61rem;
}

.admin-customer-cell small{
    margin-top:2px;
    color:var(--muted);
    font-size:.52rem;
}

.admin-status{
    min-height:25px;
    padding:0 8px;
    display:inline-flex;
    align-items:center;
    border-radius:8px;
    font-size:.52rem;
    font-weight:900;
}

.admin-status.is-active{
    background:rgba(74,160,101,.10);
    color:#75b486;
}

.admin-status.is-pending{
    background:rgba(209,155,72,.11);
    color:#d5a662;
}

.admin-source-list{
    margin-top:18px;
    display:grid;
    gap:15px;
}

.admin-source-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    font-size:.6rem;
}

.admin-source-row span{
    color:var(--muted);
}

.admin-source-list i{
    height:6px;
    margin-top:6px;
    display:block;
    overflow:hidden;
    border-radius:999px;
    background:var(--surface2);
}

.admin-source-list i span{
    height:100%;
    display:block;
    border-radius:inherit;
    background:linear-gradient(90deg,var(--gold),var(--gold-light));
}

.admin-mini-stats{
    display:flex;
    gap:7px;
}

.admin-mini-stats span{
    min-height:28px;
    padding:0 8px;
    display:inline-flex;
    align-items:center;
    gap:5px;
    border:1px solid var(--border);
    border-radius:8px;
    color:var(--muted);
    font-size:.52rem;
}

.admin-mini-stats b{
    color:var(--gold-light);
}

.admin-product-list{
    margin-top:15px;
    display:grid;
    gap:7px;
}

.admin-product-list article{
    min-height:61px;
    padding:9px 10px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:13px;
    background:var(--surface2);
}

.admin-product-thumb{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:10px;
    background:var(--surface);
}

.admin-product-thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.admin-product-list article>div{
    min-width:0;
    flex:1;
}

.admin-product-list strong,
.admin-product-list small{
    display:block;
}

.admin-product-list strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.61rem;
}

.admin-product-list small{
    margin-top:3px;
    color:var(--muted);
    font-size:.53rem;
}

.admin-health-list{
    margin-top:15px;
    display:grid;
    gap:8px;
}

.admin-health-list>div{
    min-height:62px;
    padding:11px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:13px;
    background:var(--surface2);
}

.admin-health-list>div>span{
    width:31px;
    height:31px;
    flex:0 0 31px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:rgba(74,160,101,.10);
    color:#75b486;
}

.admin-health-list b,
.admin-health-list small{
    display:block;
}

.admin-health-list b{
    font-size:.6rem;
}

.admin-health-list small{
    margin-top:3px;
    color:var(--muted);
    font-size:.52rem;
}

.admin-empty{
    min-height:180px;
    display:grid;
    place-items:center;
    color:var(--muted);
    font-size:.64rem;
    text-align:center;
}

.admin-empty.compact{
    min-height:120px;
}

.admin-orders-empty{
    align-content:center;
    gap:4px;
}

.admin-orders-empty>span{
    width:48px;
    height:48px;
    margin:0 auto 6px;
    display:grid;
    place-items:center;
    border:1px solid var(--gold-border);
    border-radius:14px;
    color:var(--gold-light);
    background:rgba(201,164,92,.05);
}

.admin-orders-empty h4{
    margin:0;
    color:var(--text);
    font-size:.82rem;
}

.admin-orders-empty p{
    max-width:420px;
    margin:4px auto 0;
    line-height:1.7;
}

.admin-quick-grid{
    margin-top:15px;
    display:grid;
    gap:8px;
}

.admin-quick-grid a{
    min-height:63px;
    padding:10px 12px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:13px;
    background:var(--surface2);
    color:var(--text);
    transition:.2s ease;
}

.admin-quick-grid a:hover{
    border-color:var(--gold-border);
    transform:translateY(-1px);
}

.admin-quick-grid>a>span{
    width:35px;
    height:35px;
    flex:0 0 35px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:rgba(201,164,92,.07);
    color:var(--gold-light);
}

.admin-quick-grid b,
.admin-quick-grid small{
    display:block;
}

.admin-quick-grid b{
    font-size:.61rem;
}

.admin-quick-grid small{
    margin-top:3px;
    color:var(--muted);
    font-size:.52rem;
}

.admin-mobile-overlay{
    display:none;
}

@media(max-width:1180px){
    .admin-stat-grid{
        grid-template-columns:1fr 1fr;
    }

    .admin-grid-primary,
    .admin-grid-secondary,
    .admin-grid-bottom{
        grid-template-columns:1fr;
    }
}

@media(max-width:980px){
    .admin-shell{
        display:block;
    }

    .admin-sidebar{
        width:min(300px,88vw);
        transform:translateX(-105%);
        box-shadow:20px 0 60px rgba(0,0,0,.25);
        transition:transform .28s ease;
    }

    html[dir="rtl"] .admin-sidebar{
        transform:translateX(105%);
    }

    .admin-sidebar.is-open{
        transform:translateX(0)!important;
    }

    .admin-sidebar-close{
        display:grid;
        place-items:center;
    }

    .admin-mobile-overlay{
        position:fixed;
        inset:0;
        z-index:70;
        background:rgba(0,0,0,.45);
        backdrop-filter:blur(3px);
    }

    .admin-mobile-overlay.is-open{
        display:block;
    }

    body.admin-menu-open{
        overflow:hidden;
    }

    .admin-main{
        grid-column:auto;
    }

    .admin-menu-button{
        display:grid;
        place-items:center;
    }
}

@media(max-width:680px){
    .admin-topbar{
        height:70px;
        padding:0 14px;
    }

    .admin-topbar-site{
        display:none;
    }

    .admin-content{
        padding:13px 11px 60px;
    }

    .admin-hero{
        min-height:180px;
        padding:22px 18px;
        border-radius:20px;
    }

    .admin-hero-art{
        position:absolute;
        inset-inline-end:-20px;
        opacity:.22;
    }

    .admin-hero>div:first-child{
        max-width:80%;
    }

    .admin-hero h2{
        font-size:1.55rem;
    }

    .admin-stat-grid{
        grid-template-columns:1fr 1fr;
        gap:8px;
        margin-top:8px;
    }

    .admin-stat-card{
        min-height:112px;
        padding:13px;
        gap:8px;
        border-radius:15px;
    }

    .admin-stat-icon{
        width:33px;
        height:33px;
        flex-basis:33px;
    }

    .admin-stat-card strong{
        font-size:1.05rem;
    }

    .admin-grid{
        gap:8px;
        margin-top:8px;
    }

    .admin-panel{
        padding:16px 13px;
        border-radius:17px;
    }

    .admin-mini-stats{
        display:none;
    }
}


/* =========================================================
   V42 — Snailo Moon visual system
   Clearer surfaces, semantic cards and calmer brand accents
   ========================================================= */

:root{
    --sn-blue:#79a9d8;
    --sn-green:#79b18b;
    --sn-violet:#ae8bc9;
    --sn-rose:#d28c91;
    --sn-teal:#73b3aa;
    --sn-amber:#d4a65b;
    --sn-card-shadow:0 12px 34px rgba(0,0,0,.12);
    --sn-card-shadow-hover:0 18px 44px rgba(0,0,0,.18);
}

html[data-theme="dark"]{
    --bg:#0a0a09;
    --bg2:#10100e;
    --surface:#151512;
    --surface2:#1c1b17;
    --text:#f7f1e7;
    --muted:#a69e93;
    --border:rgba(255,255,255,.105);
    --gold-border:rgba(201,164,92,.34);
    --shadow:0 18px 48px rgba(0,0,0,.25);
}

html[data-theme="light"]{
    --bg:#f4efe7;
    --bg2:#ebe4d9;
    --surface:#fffdf9;
    --surface2:#f6efe5;
    --text:#1b1712;
    --muted:#736a60;
    --border:rgba(40,31,19,.13);
    --gold-border:rgba(176,130,54,.31);
    --shadow:0 14px 38px rgba(75,53,24,.10);
}

/* Stronger separation between page and surfaces */
body{
    background:
        radial-gradient(circle at 90% 2%,rgba(201,164,92,.045),transparent 24%),
        var(--bg);
}

.site-header .header-shell{
    border-color:var(--border);
    background:color-mix(in srgb,var(--surface) 94%,transparent);
    box-shadow:0 10px 34px rgba(0,0,0,.10);
}

html[data-theme="light"] .site-header .header-shell{
    box-shadow:0 10px 30px rgba(76,55,25,.07);
}

/* Shared public/customer card language */
.auth-card,
.account-hero,
.account-card,
.dashboard-panel,
.dashboard-stat-card,
.cart-empty-card,
.home-product-card,
.home-story-feature,
.home-values article,
.home-achievement-card,
.home-final-card{
    box-shadow:
        inset 0 1px rgba(255,255,255,.025),
        0 10px 30px rgba(0,0,0,.075);
}

html[data-theme="light"] .auth-card,
html[data-theme="light"] .account-hero,
html[data-theme="light"] .account-card,
html[data-theme="light"] .dashboard-panel,
html[data-theme="light"] .dashboard-stat-card,
html[data-theme="light"] .cart-empty-card,
html[data-theme="light"] .home-product-card,
html[data-theme="light"] .home-story-feature,
html[data-theme="light"] .home-values article,
html[data-theme="light"] .home-achievement-card,
html[data-theme="light"] .home-final-card{
    box-shadow:
        inset 0 1px rgba(255,255,255,.75),
        0 10px 28px rgba(77,56,28,.055);
}

/* Homepage — clearer, still premium and restrained */
.home-story-feature{
    border-color:rgba(121,169,216,.24);
    background:
        radial-gradient(circle at 82% 14%,rgba(121,169,216,.10),transparent 31%),
        radial-gradient(circle at 15% 95%,rgba(201,164,92,.055),transparent 28%),
        var(--surface);
}

.home-values article{
    --sn-value-rgb:201,164,92;
    border-color:rgba(var(--sn-value-rgb),.20);
    background:
        linear-gradient(145deg,rgba(var(--sn-value-rgb),.055),transparent 48%),
        var(--surface);
}

.home-values article:nth-child(1){--sn-value-rgb:115,179,170}
.home-values article:nth-child(2){--sn-value-rgb:174,139,201}
.home-values article:nth-child(3){--sn-value-rgb:210,140,145}
.home-values article:nth-child(4){--sn-value-rgb:121,169,216}

.home-values article:hover{
    border-color:rgba(var(--sn-value-rgb),.38);
    box-shadow:0 14px 34px rgba(0,0,0,.10);
}

.home-product-card{
    --sn-product-rgb:201,164,92;
    border-color:rgba(var(--sn-product-rgb),.20);
}

.home-product-card:nth-child(3n+1){--sn-product-rgb:210,140,145}
.home-product-card:nth-child(3n+2){--sn-product-rgb:115,179,170}
.home-product-card:nth-child(3n+3){--sn-product-rgb:174,139,201}

.home-product-media{
    background:
        radial-gradient(circle at 50% 46%,rgba(var(--sn-product-rgb),.13),transparent 40%),
        var(--surface2);
}

.home-product-card:hover{
    border-color:rgba(var(--sn-product-rgb),.42);
    box-shadow:var(--sn-card-shadow-hover);
}

.home-product-content{
    background:
        linear-gradient(180deg,rgba(var(--sn-product-rgb),.025),transparent 55%),
        var(--surface);
}

.home-achievement-card{
    border-color:rgba(201,164,92,.34);
    background:
        linear-gradient(135deg,rgba(201,164,92,.095),transparent 46%),
        linear-gradient(315deg,rgba(121,169,216,.045),transparent 45%),
        var(--surface);
}

.home-final-card{
    border-color:rgba(115,179,170,.24);
    background:
        radial-gradient(circle at 12% 15%,rgba(115,179,170,.10),transparent 35%),
        radial-gradient(circle at 90% 85%,rgba(201,164,92,.055),transparent 32%),
        var(--surface);
}

/* Customer dashboard — each metric reads as its own thing */
.dashboard-stat-card{
    --sn-stat-rgb:201,164,92;
    position:relative;
    overflow:hidden;
    border-color:rgba(var(--sn-stat-rgb),.22);
    background:
        radial-gradient(circle at 100% 100%,rgba(var(--sn-stat-rgb),.10),transparent 47%),
        var(--surface);
}

.dashboard-stat-card::before{
    content:"";
    position:absolute;
    inset-block:0;
    inset-inline-start:0;
    width:3px;
    background:rgb(var(--sn-stat-rgb));
    opacity:.75;
}

.dashboard-stat-card:nth-child(1){--sn-stat-rgb:121,169,216}
.dashboard-stat-card:nth-child(2){--sn-stat-rgb:121,177,139}
.dashboard-stat-card:nth-child(3){--sn-stat-rgb:174,139,201}
.dashboard-stat-card:nth-child(4){--sn-stat-rgb:212,166,91}
.dashboard-stat-card:nth-child(5){--sn-stat-rgb:210,140,145}
.dashboard-stat-card:nth-child(6){--sn-stat-rgb:115,179,170}

.dashboard-stat-card .dashboard-stat-icon{
    border-color:rgba(var(--sn-stat-rgb),.26);
    background:rgba(var(--sn-stat-rgb),.10);
    color:rgb(var(--sn-stat-rgb));
}

.dashboard-progress i{
    background:linear-gradient(90deg,rgb(var(--sn-stat-rgb)),rgba(var(--sn-stat-rgb),.65));
}

.dashboard-panel{
    border-color:rgba(255,255,255,.10);
    background:
        linear-gradient(180deg,rgba(255,255,255,.012),transparent 80px),
        var(--surface);
}

html[data-theme="light"] .dashboard-panel{
    border-color:rgba(40,31,19,.12);
}

.dashboard-content-grid>.dashboard-panel:nth-child(1){
    border-top:2px solid rgba(121,169,216,.48);
}
.dashboard-content-grid>.dashboard-panel:nth-child(2){
    border-top:2px solid rgba(121,177,139,.48);
}
.dashboard-content-grid>.dashboard-panel:nth-child(3){
    border-top:2px solid rgba(174,139,201,.48);
}
.dashboard-content-grid>.dashboard-panel:nth-child(4){
    border-top:2px solid rgba(212,166,91,.48);
}

/* Account overview */
.account-card{
    --sn-account-rgb:201,164,92;
    position:relative;
    overflow:hidden;
    border-color:rgba(var(--sn-account-rgb),.20);
    background:
        linear-gradient(135deg,rgba(var(--sn-account-rgb),.045),transparent 56%),
        var(--surface);
}

.account-card:nth-child(4n+1){--sn-account-rgb:121,169,216}
.account-card:nth-child(4n+2){--sn-account-rgb:121,177,139}
.account-card:nth-child(4n+3){--sn-account-rgb:174,139,201}
.account-card:nth-child(4n+4){--sn-account-rgb:212,166,91}

.account-card .account-card-icon{
    background:rgba(var(--sn-account-rgb),.10);
    color:rgb(var(--sn-account-rgb));
}

.link-card:hover{
    border-color:rgba(var(--sn-account-rgb),.40);
    box-shadow:0 12px 28px rgba(0,0,0,.08);
}

/* Forms / auth — inputs should visually separate from the form card */
.auth-card{
    border-color:var(--border);
    background:
        linear-gradient(180deg,rgba(201,164,92,.025),transparent 110px),
        var(--surface);
}

.auth-form input,
.auth-form select,
.auth-form textarea{
    border-color:color-mix(in srgb,var(--border) 120%,transparent);
    background:var(--surface2);
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus{
    border-color:var(--gold-border);
    box-shadow:0 0 0 3px rgba(201,164,92,.055);
}

/* Header/account popovers become easier to distinguish */
.account-popover{
    border-color:var(--border);
    background:var(--surface);
    box-shadow:0 18px 46px rgba(0,0,0,.22);
}

.account-popover a:hover,
.account-popover button:hover{
    background:var(--surface2);
}

/* Footer: calm contrast */
.site-footer{
    border-top:1px solid rgba(255,255,255,.075);
}

/* Small screens: preserve clarity without extra visual noise */
@media(max-width:760px){
    .dashboard-stat-card{
        min-height:112px;
    }

    .home-product-card,
    .home-values article,
    .account-card,
    .dashboard-panel{
        border-radius:17px;
    }
}
