@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');
:root{
 --bg:#090d18;--panel:rgba(24,32,49,.70);--line:rgba(208,220,241,.15);
 --text:#f4f6fb;--muted:#a9b4c8;--mint:#83e1c1;--mint2:#b5f2d9;
 --gold:#d9bd8a;--danger:#f08d9a;--shadow:0 22px 65px rgba(0,0,0,.34)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;overflow-x:hidden;color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif;
 background:radial-gradient(ellipse at 12% 8%,rgba(63,111,112,.24),transparent 34%),
 radial-gradient(ellipse at 92% 25%,rgba(95,83,125,.23),transparent 32%),
 linear-gradient(135deg,#080c16,#101827 54%,#0b1220)}
a{transition:color .22s ease,transform .22s ease}
.ambient{position:fixed;width:380px;height:380px;border-radius:50%;filter:blur(115px);opacity:.13;pointer-events:none;z-index:-1}
.a1{background:#6bd8b2;top:10%;right:-190px}.a2{background:#8e8acb;bottom:0;left:-190px}
.glass{background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.025) 62%),var(--panel);
 border:1px solid var(--line);box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.13);
 backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-radius:25px}
.topbar{max-width:1240px;margin:22px auto 0;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;z-index:5}
.brand{font-weight:900;letter-spacing:1px;font-size:19px;line-height:1.2;color:#f5f3ed;text-decoration:none}
.brand b{color:var(--mint)}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:5px}
.topbar nav{display:flex;gap:27px}.topbar nav a,.head-actions a,.text-link{color:var(--muted);text-decoration:none;font-size:13px}
.topbar nav a:hover,.text-link:hover{color:var(--mint)}
.head-actions{display:flex;align-items:center;gap:14px}
.cart-btn,.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:12px 21px;
 border:1px solid rgba(206,255,235,.45);border-radius:14px;text-decoration:none;color:#09251e!important;
 font:800 13px Vazirmatn;background:linear-gradient(135deg,#baf1d9 0%,#83d9b9 52%,#c7eadb 100%);
 box-shadow:0 8px 24px rgba(89,205,161,.22),inset 0 1px 0 rgba(255,255,255,.8);
 cursor:pointer;transition:transform .22s,box-shadow .22s,filter .22s}
.primary-btn:hover,.cart-btn:hover{transform:translateY(-3px);filter:brightness(1.05);box-shadow:0 14px 32px rgba(89,205,161,.32),inset 0 1px 0 #fff}
.primary-btn:active,.cart-btn:active{transform:translateY(0)}
.primary-btn:disabled{opacity:.45;cursor:not-allowed}
.hero{max-width:1240px;margin:30px auto 0;padding:55px 7%;display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:510px;overflow:hidden;position:relative}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(190,237,218,.035),transparent 75%);pointer-events:none}
.hero-copy{position:relative;z-index:2}.eyebrow{color:var(--mint);font-size:11px;font-weight:800;letter-spacing:1px}
.hero h1,.page-heading h1,.detail-info h1{font-size:clamp(34px,5vw,58px);line-height:1.35;margin:15px 0;font-weight:900}
.hero h1 em,.page-heading em{font-style:normal;color:var(--mint);text-shadow:0 0 28px rgba(131,225,193,.22)}
.hero-copy>p,.page-heading p{color:var(--muted);line-height:2;font-size:14px;max-width:470px}
.hero-copy .primary-btn{margin-top:18px}
.hero-stats{display:flex;gap:35px;margin-top:42px}.hero-stats div{display:grid;gap:3px}
.hero-stats b{font-size:15px;color:#f3f0e8}.hero-stats small{font-size:10px;color:var(--muted)}
.hero-visual{height:390px;position:relative;display:grid;place-items:center}
.orb{width:300px;height:300px;border-radius:50%;background:radial-gradient(circle at 35% 25%,rgba(177,244,216,.58),rgba(100,161,148,.18) 48%,transparent 70%);filter:blur(12px);position:absolute}
.phone{position:absolute;width:170px;height:325px;border:2px solid rgba(226,245,238,.62);border-radius:31px;background:linear-gradient(145deg,#667c7b,#17252b 60%);
 box-shadow:0 25px 70px #0009,inset 0 0 0 5px rgba(255,255,255,.09)}
.phone:before{content:"";position:absolute;top:9px;left:50%;transform:translateX(-50%);width:55px;height:13px;border-radius:10px;background:#070b17;z-index:2}
.phone-back{transform:translate(75px,-5px) rotate(13deg);opacity:.7}
.phone-front{transform:translate(-25px,12px) rotate(-9deg);padding:8px}
.screen{height:100%;border-radius:24px;background:radial-gradient(circle at 60% 25%,#80bca8,#1d3938 55%,#0a151b);padding:32px 13px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.screen span{font-size:10px}.screen b{font-size:30px;line-height:1.05;letter-spacing:2px}
.screen-glow{height:115px;border-radius:50%;background:rgba(156,244,211,.5);filter:blur(40px)}
.float-chip{position:absolute;padding:11px 17px;background:rgba(18,31,39,.82);border:1px solid rgba(205,240,225,.2);border-radius:14px;font-size:11px;box-shadow:0 12px 30px #0006;backdrop-filter:blur(15px)}
.chip-one{top:55px;right:10px}.chip-two{bottom:55px;left:5px}
.section{max-width:1240px;margin:85px auto}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}
.section-head h2,.admin-panel h2{font-size:25px;margin:5px 0}.text-link{color:var(--mint)}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:15px}
.category{padding:23px 12px;text-align:center;text-decoration:none;color:var(--text);display:grid;justify-items:center;gap:8px;transition:.25s}
.category:hover,.product-card:hover{transform:translateY(-5px);border-color:rgba(131,225,193,.48);box-shadow:0 24px 60px rgba(0,0,0,.42),0 0 0 1px rgba(131,225,193,.08)}
.cat-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(131,225,193,.22),rgba(217,189,138,.12));border:1px solid rgba(181,242,217,.16);font-size:25px;color:var(--mint)}
.category b{font-size:13px}.category small{font-size:10px;color:var(--muted)}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card{overflow:hidden;transition:.25s}
.product-image{height:190px;display:grid;place-items:center;position:relative;background:radial-gradient(circle,rgba(99,146,135,.28),rgba(18,29,43,.85) 70%);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.07)}
.device-art{font-size:130px;line-height:1;color:#b6ead7;text-shadow:0 0 30px rgba(131,225,193,.28);transform:scaleX(.7);filter:drop-shadow(12px 18px 12px #0008)}
.tag{position:absolute;top:13px;right:13px;font-size:10px;color:var(--mint);background:rgba(131,225,193,.1);border:1px solid rgba(131,225,193,.24);padding:5px 9px;border-radius:20px}
.product-info{padding:17px}.product-info>small{color:var(--mint);font-size:10px}
.product-info h3{font-size:14px;margin:7px 0}.product-info h3 a{color:var(--text);text-decoration:none}
.product-info p{font-size:11px;color:var(--muted);height:38px;overflow:hidden;line-height:1.8}
.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:16px}
.product-bottom strong{font-size:14px}.product-bottom strong small,.detail-price small{font-size:10px;color:var(--muted)}
.round-arrow{width:36px;height:36px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,rgba(131,225,193,.22),rgba(131,225,193,.07));border:1px solid rgba(131,225,193,.2);color:var(--mint);text-decoration:none}
.banner{max-width:1240px;margin:0 auto 80px;padding:35px 45px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,rgba(131,225,193,.12),rgba(217,189,138,.07)),rgba(255,255,255,.045)}
.banner h2{font-size:27px;margin:8px 0}.banner p{font-size:12px;color:var(--muted)}
.footer{max-width:1240px;margin:0 auto 20px;padding:25px 30px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}
.footer strong{color:var(--mint);letter-spacing:1px}.footer p{margin:5px 0}
.page-heading,.admin-head{max-width:1240px;margin:65px auto 28px}
.page-heading h1{font-size:38px}
.filterbar{max-width:1240px;margin:0 auto 25px;padding:15px;display:flex;gap:12px}
.filterbar input{flex:1}
.filterbar input,.filterbar select,input,textarea,select{background:rgba(7,14,25,.68);color:var(--text);border:1px solid rgba(204,222,220,.17);border-radius:13px;padding:13px 14px;font:12px Vazirmatn;outline:none;min-width:0;transition:border-color .2s,box-shadow .2s}
input:focus,textarea:focus,select:focus{border-color:rgba(131,225,193,.6);box-shadow:0 0 0 3px rgba(131,225,193,.09)}
.filterbar select option,select option{background:#101a2c}
.detail-layout{max-width:1100px;margin:65px auto;display:grid;grid-template-columns:1fr 1fr;gap:25px}
.detail-image{min-height:480px;display:grid;place-items:center;align-content:center;gap:25px}
.device-art.huge{font-size:250px}.detail-info{padding:38px}
.detail-info h1{font-size:30px}.detail-info p{color:var(--muted);font-size:13px;line-height:2}
.detail-price{font-size:25px;font-weight:900;color:var(--mint);margin:25px 0}
.buy-form{display:flex;gap:10px;margin:25px 0}.buy-form input{width:80px}
.auth-wrap{min-height:65vh;display:grid;place-items:center;padding:45px 15px}
.auth-card{width:min(440px,100%);padding:35px;display:grid;gap:13px}
.auth-card h1{margin:0;font-size:28px}.auth-card p{color:var(--muted);font-size:12px;line-height:2}
.auth-card label{font-size:12px}.full{width:100%;margin-top:10px}
.error{color:#ffb1b9;background:rgba(240,141,154,.1);border:1px solid rgba(240,141,154,.2);padding:10px;border-radius:10px;font-size:12px}
.admin-head{display:flex;justify-content:space-between;align-items:center}
.admin-head h1{font-size:34px;margin:7px 0}.admin-head p{color:var(--muted);font-size:12px}
.stats-grid{max-width:1240px;margin:25px auto;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.stat{padding:22px;display:grid;gap:8px}.stat small{color:var(--muted)}.stat b{font-size:27px}.online{color:var(--mint)}
.admin-panel{max-width:1240px;margin:20px auto;padding:25px}
.admin-form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.admin-form textarea{grid-column:span 2;min-height:48px}
.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;font-size:12px;margin-top:15px}
th,td{padding:14px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--mint)}
.danger-btn{border:1px solid rgba(240,141,154,.3);background:rgba(240,141,154,.1);color:#ffb2bc;padding:7px 12px;border-radius:9px;font:11px Vazirmatn;cursor:pointer}
.empty{padding:40px;text-align:center;color:var(--muted);grid-column:1/-1}
@media(max-width:900px){
 .topbar,.hero,.section,.banner,.footer,.page-heading,.filterbar,.detail-layout,.admin-head,.stats-grid,.admin-panel{margin-left:18px;margin-right:18px}
 .product-grid{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(3,1fr)}
 .hero{padding:35px;grid-template-columns:1fr}.hero-visual{height:340px}
 .hero-copy{order:1}.hero-visual{order:0}.topbar nav{display:none}.detail-layout{grid-template-columns:1fr}.detail-image{min-height:340px}
}
@media(max-width:560px){
 .topbar{margin:10px;padding:12px 14px}.brand{font-size:15px}.head-actions .icon-btn{display:none}
 .cart-btn{padding:10px 12px;font-size:11px}.hero{margin-top:15px;padding:25px 20px;min-height:auto}
 .hero-visual{height:280px}.phone{transform:scale(.82)}.phone-front{transform:translate(-15px,8px) rotate(-9deg) scale(.82)}
 .phone-back{transform:translate(55px,-5px) rotate(13deg) scale(.82)}
 .hero-stats{gap:15px;flex-wrap:wrap}.hero-stats b{font-size:12px}
 .section{margin-top:55px;margin-bottom:55px}.section-head h2{font-size:20px}
 .category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.category{padding:16px 8px}
 .product-grid{gap:10px}.product-image{height:145px}.device-art{font-size:100px}
 .product-info{padding:12px}.product-info h3{font-size:12px}.product-bottom strong{font-size:11px}
 .banner,.footer{padding:22px;flex-direction:column;align-items:flex-start;gap:18px}
 .page-heading{margin-top:40px}.page-heading h1{font-size:29px}
 .filterbar{flex-direction:column}.filterbar .primary-btn{width:100%}
 .detail-info{padding:24px}.detail-info h1{font-size:24px}.device-art.huge{font-size:190px}
 .admin-head{align-items:flex-start;gap:12px;flex-direction:column}.stats-grid{grid-template-columns:1fr}
 .admin-form{grid-template-columns:1fr}.admin-form textarea{grid-column:auto}.admin-panel{padding:17px}
 .auth-card{padding:25px}
}


/* =========================================================
   MOHSEN MOBILE — OCEANIC GLASS DESIGN SYSTEM
   Bright ocean blue + turquoise | Vazirmatn | Responsive
   ========================================================= */
:root{
 --bg:#eaf8ff;
 --panel:rgba(255,255,255,.76);
 --line:rgba(61,174,215,.22);
 --text:#123d59;
 --muted:#55788c;
 --mint:#078fae;
 --mint2:#28c6c5;
 --gold:#55b9d7;
 --danger:#d95e78;
 --shadow:0 18px 48px rgba(34,119,157,.13);
 --ocean:#087eb5;
 --turquoise:#20c6c2;
 --soft-blue:#dff5ff;
}
html,body{min-height:100%;color:var(--text)}
body{
 background:
  radial-gradient(ellipse at 8% 5%,rgba(87,207,235,.30),transparent 35%),
  radial-gradient(ellipse at 92% 18%,rgba(32,198,194,.22),transparent 32%),
  linear-gradient(145deg,#f4fcff 0%,#e7f7ff 48%,#e8fbf8 100%);
 background-attachment:fixed;
}
body:before,body:after{
 content:"";position:fixed;pointer-events:none;z-index:-1;left:-12%;width:124%;
 height:230px;border-radius:48% 52% 0 0/32% 38% 0 0;
 border-top:1px solid rgba(43,177,210,.13);
}
body:before{top:38%;transform:rotate(-5deg);background:linear-gradient(180deg,rgba(101,211,232,.055),transparent)}
body:after{bottom:-125px;transform:rotate(4deg);background:linear-gradient(180deg,rgba(38,197,190,.07),transparent)}
.ambient{filter:blur(90px);opacity:.25}
.a1{background:#50c9e8}.a2{background:#36d3c4}
.glass{
 background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,255,255,.58) 62%),rgba(255,255,255,.72);
 border:1px solid rgba(74,181,218,.22);
 box-shadow:0 18px 48px rgba(35,126,165,.12),inset 0 1px 0 rgba(255,255,255,.96);
 backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
}
.topbar{background:rgba(255,255,255,.82)}
.brand{color:#124765}.brand b{color:#0daeb5}
.brand small{color:#66889a}
.topbar nav a,.head-actions a,.text-link{color:#52798d}
.topbar nav a:hover,.text-link:hover{color:#078fae}
.cart-btn,.primary-btn{
 color:#fff!important;border:1px solid rgba(255,255,255,.62);
 background:linear-gradient(120deg,#087db8 0%,#119fbe 48%,#24c9bd 100%);
 box-shadow:0 9px 23px rgba(9,145,184,.23),inset 0 1px 0 rgba(255,255,255,.35);
}
.primary-btn:hover,.cart-btn:hover{
 box-shadow:0 14px 30px rgba(9,145,184,.30),inset 0 1px 0 rgba(255,255,255,.4)
}
.hero{background:linear-gradient(120deg,rgba(255,255,255,.88),rgba(228,249,255,.72))}
.eyebrow{color:#078eaa}
.hero h1,.page-heading h1,.detail-info h1{color:#123f5b}
.hero h1 em,.page-heading em{color:#0aaeb4;text-shadow:0 5px 22px rgba(32,198,194,.16)}
.hero-copy>p,.page-heading p{color:#5b7e91}
.hero-stats b{color:#174e6a}.hero-stats small{color:#6b8a9a}
.orb{background:radial-gradient(circle at 35% 25%,rgba(94,225,229,.65),rgba(64,164,211,.19) 48%,transparent 70%)}
.phone{border-color:rgba(255,255,255,.9);background:linear-gradient(145deg,#d9f7fb,#168eae 60%);box-shadow:0 25px 70px rgba(20,104,139,.28),inset 0 0 0 5px rgba(255,255,255,.3)}
.screen{background:radial-gradient(circle at 60% 25%,#75e4dc,#137da5 55%,#0d456a);color:#fff}
.screen-glow{background:rgba(156,255,239,.62)}
.float-chip{color:#18536d;background:rgba(255,255,255,.82);border:1px solid rgba(73,181,211,.25);box-shadow:0 12px 30px rgba(28,124,159,.15)}
.category-grid .category{color:#174d68}
.cat-icon{background:linear-gradient(145deg,rgba(31,178,211,.16),rgba(35,205,190,.12));border:1px solid rgba(36,166,199,.22);color:#078eae}
.category:hover,.product-card:hover{border-color:rgba(21,172,194,.45);box-shadow:0 24px 55px rgba(30,129,165,.16),0 0 0 1px rgba(32,198,194,.08)}
.product-image{background:radial-gradient(circle,rgba(73,199,216,.25),rgba(224,246,253,.88) 70%);border-bottom:1px solid rgba(61,174,215,.16)}
.device-art{color:#159db5;text-shadow:0 0 30px rgba(31,188,197,.24);filter:drop-shadow(12px 18px 12px rgba(24,104,137,.18))}
.tag{color:#087f9e;background:rgba(42,197,198,.12);border:1px solid rgba(42,177,199,.25)}
.product-info>small{color:#078fae}
.product-info h3 a{color:#174b65}
.product-info p{color:#67899a}
.product-bottom strong{color:#15516e}
.product-bottom strong small,.detail-price small{color:#7896a5}
.round-arrow{background:linear-gradient(135deg,#0b8fbd,#25c8bd);border:0;color:white;box-shadow:0 6px 15px rgba(13,151,183,.2)}
.banner{background:linear-gradient(110deg,rgba(89,203,230,.18),rgba(43,202,190,.13)),rgba(255,255,255,.72)}
.banner p{color:#638698}
.footer{color:#6d8d9d}
.footer strong{color:#078fae}
.page-heading h1{color:#174a66}
.filterbar input,.filterbar select,input,textarea,select{
 background:rgba(255,255,255,.91);color:#17465f;border:1px solid rgba(63,166,202,.25);
 box-shadow:inset 0 1px 3px rgba(28,111,145,.045);
}
input::placeholder,textarea::placeholder{color:#8aa8b7}
input:focus,textarea:focus,select:focus{
 background:#fff;color:#17465f;border-color:rgba(17,164,190,.65);
 box-shadow:0 0 0 3px rgba(32,174,199,.12)
}
.filterbar select option,select option{background:#fff;color:#17465f}
.detail-price{color:#078fae}
.auth-card label{color:#315f76}
.error{color:#a93252;background:rgba(236,108,139,.09);border:1px solid rgba(217,94,120,.2)}
.admin-head p{color:#638698}
.stat small{color:#648799}.stat b{color:#174c67}.online{color:#0b9e9a!important}
.admin-panel h2{color:#174c67}
th{color:#078fae}
th,td{border-bottom:1px solid rgba(61,174,215,.17)}
.danger-btn{color:#bd405d;background:rgba(217,94,120,.08);border:1px solid rgba(217,94,120,.22)}
.empty{color:#6d8e9e}
/* Form controls and interactive states */
button,a,input,select,textarea{font-family:Vazirmatn,Tahoma,sans-serif}
button:focus-visible,a:focus-visible{outline:3px solid rgba(23,174,197,.3);outline-offset:3px}
button:disabled{opacity:.55;cursor:not-allowed;transform:none}
select{color-scheme:light}
::selection{background:rgba(32,190,196,.22);color:#123d59}
@media(max-width:900px){
 .topbar nav{display:none}
 .hero{border-radius:25px}
}
@media(max-width:560px){
 .glass{border-radius:20px}
 .auth-card{padding:25px 20px}
 .filterbar{flex-direction:column}
 .filterbar input,.filterbar select,.filterbar button{width:100%}
 .admin-form{grid-template-columns:1fr}
 .admin-form textarea{grid-column:auto}
 .admin-head{align-items:flex-start;gap:12px;flex-wrap:wrap}
 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stat{padding:17px}
 .detail-info{padding:24px 19px}
 .buy-form{flex-wrap:wrap}
 .buy-form .primary-btn{flex:1}
 .footer{gap:12px;align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* OCEANIC NEXT STEP: responsive navigation, product photography, admin workspace */
.topbar{z-index:30;gap:16px}
.site-nav{display:flex;align-items:center;gap:clamp(12px,2vw,27px)}
.menu-toggle{display:none}
.mobile-only{display:none}
.product-photo{width:100%;height:100%;object-fit:contain;padding:15px;filter:drop-shadow(0 12px 16px rgba(20,103,135,.16));transition:transform .35s ease}
.product-card:hover .product-photo{transform:scale(1.045)}
.detail-photo{width:min(88%,440px);height:390px;object-fit:contain;filter:drop-shadow(0 20px 25px rgba(20,103,135,.18))}
.admin-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat{position:relative;overflow:hidden;min-height:132px}
.stat:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;left:-35px;bottom:-55px;background:rgba(32,198,194,.09)}
.stat-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;color:#078fae;background:linear-gradient(135deg,rgba(8,126,181,.12),rgba(32,198,194,.16));font-size:19px}
.stat-money{font-size:clamp(15px,1.6vw,21px)!important;white-space:nowrap}
.stat-money small{font-size:10px;color:#7896a5}
.admin-columns{max-width:1240px;margin:20px auto;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:18px;align-items:start}
.admin-panel{max-width:1240px;margin:20px auto;padding:25px}
.panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.panel-title h2{margin:5px 0 0;font-size:21px}
.panel-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#087db8,#24c9bd);color:white;font-size:22px;box-shadow:0 8px 18px rgba(9,145,184,.2)}
.admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-form textarea{grid-column:1/-1;min-height:85px}
.admin-form button{justify-self:start;min-width:150px}
.stock-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid rgba(61,174,215,.14)}
.stock-row:last-child{border-bottom:0}
.stock-row>div,.table-product{display:flex;align-items:center;gap:10px;min-width:0}
.stock-row img,.table-product img{width:43px;height:43px;object-fit:contain;border-radius:12px;background:#edfaff;border:1px solid rgba(61,174,215,.18);padding:3px}
.stock-row b{display:block;font-size:12px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stock-row small{display:block;color:#7896a5;font-size:10px;margin-top:3px}
.stock-count,.stock-badge{white-space:nowrap;padding:5px 10px;border-radius:20px;background:rgba(32,198,194,.11);color:#078b9d;font-size:11px;font-weight:800}
.stock-badge.is-low{background:rgba(225,154,81,.14);color:#ad6a25}
.stock-placeholder{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:12px;background:#edfaff;color:#159db5;font-size:25px}
.count-pill,.status-pill{padding:6px 11px;border-radius:20px;background:rgba(32,198,194,.1);color:#078fae;font-size:10px;white-space:nowrap}
.table-product b{font-size:12px}
.muted-note{color:#7896a5;font-size:12px;line-height:2}
.table-wrap{overflow-x:auto}
.table-wrap table{min-width:580px;width:100%}
@media(max-width:900px){
 .topbar{position:relative}
 .menu-toggle{display:flex;flex:0 0 42px;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid rgba(61,174,215,.22);border-radius:13px;background:rgba(255,255,255,.86);cursor:pointer;order:3}
 .menu-toggle span{display:block;width:18px;height:2px;border-radius:3px;background:#087f9e;transition:transform .2s,opacity .2s}
 .menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
 .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}
 .site-nav{display:none;position:absolute;top:calc(100% + 9px);right:0;left:0;padding:12px;flex-direction:column;align-items:stretch;gap:4px;background:rgba(248,253,255,.97);border:1px solid rgba(61,174,215,.25);border-radius:18px;box-shadow:0 18px 40px rgba(26,112,145,.18);backdrop-filter:blur(20px);z-index:50}
 .site-nav.is-open{display:flex}
 .site-nav a{display:block;padding:12px 14px;border-radius:11px;color:#245c75!important;text-decoration:none;font-size:13px}
 .site-nav a:hover{background:rgba(32,198,194,.1)}
 .mobile-only{display:block}
 .head-actions{margin-right:auto}
 .admin-columns{margin-left:18px;margin-right:18px;grid-template-columns:1fr}
 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-left:18px;margin-right:18px}
 .admin-panel{margin-left:18px;margin-right:18px}
}
@media(max-width:560px){
 .topbar{display:flex;flex-wrap:wrap;gap:9px}
 .brand{flex:1;min-width:130px}
 .head-actions{order:2;margin:0}
 .menu-toggle{order:3}
 .site-nav{top:calc(100% + 8px)}
 .head-actions .cart-btn{font-size:10px;padding:9px 11px}
 .product-photo{padding:9px}
 .detail-photo{height:270px}
 .admin-columns{margin-left:12px;margin-right:12px}
 .stats-grid{margin-left:12px;margin-right:12px;gap:9px}
 .stat{min-height:112px;padding:14px}
 .stat b{font-size:22px}
 .admin-panel{margin-left:12px;margin-right:12px;padding:17px}
 .admin-form{grid-template-columns:1fr}
 .admin-form textarea{grid-column:auto}
 .admin-form button{width:100%}
 .admin-actions{width:100%;justify-content:space-between}
 .panel-title h2{font-size:18px}
}

/* Oceanic inventory/admin extensions */
.manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mini-form{padding:20px;border:1px solid rgba(48,169,205,.18);border-radius:22px;background:rgba(255,255,255,.58)}.mini-form h3{margin:0 0 14px;color:#176b91}.admin-form label{display:block;margin:8px 0 7px;color:#276b87;font-weight:700;font-size:.9rem}.admin-form input,.admin-form select,.admin-form textarea{width:100%;min-width:0;border:1px solid rgba(53,161,199,.28);border-radius:13px;background:rgba(255,255,255,.88);color:#17475e;padding:12px 14px;font:inherit;outline:none;box-shadow:inset 0 1px 3px rgba(30,116,150,.04);transition:border-color .2s,box-shadow .2s}.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus{border-color:#21b8c2;box-shadow:0 0 0 3px rgba(33,184,194,.13);background:#fff}.admin-form input[type=file]{padding:9px}.admin-form .primary-btn{border:0;cursor:pointer;font:inherit;margin-top:10px}.saved-list{margin-top:17px;padding-top:13px;border-top:1px solid rgba(53,161,199,.17)}.saved-list>b{display:block;margin-bottom:9px;font-size:.86rem;color:#39758a}.saved-list>div{display:flex;flex-wrap:wrap;gap:7px}.saved-list span{padding:6px 11px;border-radius:30px;background:rgba(40,177,190,.11);border:1px solid rgba(40,177,190,.19);font-size:.82rem;color:#176b80}.product-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.product-entry .field{min-width:0}.product-entry .field-wide{grid-column:1/-1}.product-entry .field .primary-btn{width:100%;min-height:49px}.table-product small{display:block;color:#63899b;font-size:.75rem;margin-top:3px}.table-product img{width:46px;height:46px;object-fit:cover;border-radius:10px}.muted-note{color:#648697;font-size:.88rem}.admin-panel{scroll-margin-top:20px}
@media(max-width:700px){.manage-grid,.product-entry{grid-template-columns:1fr}.product-entry .field-wide{grid-column:auto}.mini-form{padding:15px}.admin-head{gap:12px}.admin-actions{flex-wrap:wrap}.table-wrap{overflow-x:auto}.table-wrap table{min-width:760px}}

/* Stage 3: categorized storefront and in-person POS */
.category-products-section{padding-top:8px;border-top:1px solid rgba(54,164,196,.14)}
.pos-form{max-width:1100px;margin:20px auto;padding:clamp(18px,3vw,32px)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.form-grid .field{display:flex;flex-direction:column;gap:8px;min-width:0}
.form-grid .field-wide{grid-column:1/-1}
.form-grid input,.form-grid select,.form-grid textarea,.sale-row input,.sale-row select{width:100%;min-width:0;border:1px solid #bfe5ef;border-radius:13px;background:rgba(255,255,255,.88);color:#16475b;padding:13px 14px;font:inherit;outline:none}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.sale-row input:focus,.sale-row select:focus{border-color:#20b8c1;box-shadow:0 0 0 3px rgba(32,184,193,.13);background:#fff}
.pos-items-title{margin-top:28px;padding-top:22px;border-top:1px solid #d9edf3}
.sale-rows{display:grid;gap:12px}
.sale-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 42px;align-items:end;gap:12px;padding:14px;border:1px solid #d8edf3;border-radius:16px;background:rgba(245,252,254,.8)}
.sale-row .field{display:flex;flex-direction:column;gap:8px;min-width:0}
.remove-sale-row{height:46px;border:1px solid #f2c9c9;background:#fff3f3;color:#bd4545;border-radius:12px;font-size:24px;cursor:pointer}
.remove-sale-row:disabled{opacity:.25;cursor:not-allowed}
.pos-actions{display:flex;align-items:center;gap:18px;margin-top:24px;flex-wrap:wrap}
.secondary-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border:1px solid #a9e0eb;border-radius:13px;background:linear-gradient(135deg,#eafaff,#d9f8f5);color:#087f9d;font:inherit;font-weight:800;text-decoration:none;cursor:pointer}
@media(max-width:650px){.form-grid{grid-template-columns:1fr}.form-grid .field-wide{grid-column:auto}.sale-row{grid-template-columns:minmax(0,1fr) 90px 36px;gap:7px;padding:9px}.sale-row label{font-size:12px}.sale-row input,.sale-row select{padding:10px 8px;font-size:12px}.remove-sale-row{height:42px}.pos-actions>*{width:100%}.pos-items-title{align-items:flex-start;gap:10px}}


/* Stage 5: finance and Jalali calendar */
.report-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.report-filter label{font-weight:800;color:#276b87}.report-filter select{min-width:190px;padding:12px 14px;border:1px solid #bfe5ef;border-radius:13px;background:#fff;color:#17475e;font:inherit}.finance-stats .stat{min-width:0}.net-value{color:#078b83!important}.expense-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.expense-form .field{min-width:0}.expense-form .field-wide{grid-column:1/-1}.expense-form .field input,.expense-form .field select,.expense-form .field textarea{width:100%;min-width:0;border:1px solid rgba(53,161,199,.28);border-radius:13px;background:rgba(255,255,255,.92);color:#17475e;padding:12px 14px;font:inherit}.expense-form .primary-btn{min-height:47px}.jalali-picker{position:relative;display:flex}.jalali-picker input{padding-left:48px!important;cursor:pointer}.calendar-open{position:absolute;left:6px;top:5px;width:38px;height:38px;border:0;border-radius:10px;background:#e5f8fb;color:#078da5;font-size:20px;cursor:pointer}.jalali-calendar{position:absolute;z-index:80;top:calc(100% + 8px);right:0;width:min(320px,calc(100vw - 48px));padding:13px;border:1px solid #c4eaf0;border-radius:18px;background:rgba(250,254,255,.98);box-shadow:0 18px 45px rgba(24,104,135,.2);backdrop-filter:blur(16px)}.jc-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:#176b87}.jc-head button{width:34px;height:34px;border:0;border-radius:10px;background:#e4f7fa;color:#087f9e;font-size:22px;cursor:pointer}.jc-week,.jc-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}.jc-week span{padding:6px 0;color:#6a94a4;font-size:12px;font-weight:800}.jc-days button{height:34px;border:0;border-radius:10px;background:#f0f9fb;color:#225b72;font:inherit;cursor:pointer}.jc-days button:hover,.jc-days button.is-today{background:#c9f2ef;color:#087d82;font-weight:900}.jc-days button.is-empty{visibility:hidden}.jc-days button.is-selected{background:linear-gradient(135deg,#087fba,#20bdb5);color:white}.admin-actions .primary-btn,.admin-actions .secondary-btn{white-space:nowrap}
@media(max-width:650px){.expense-form{grid-template-columns:1fr}.expense-form .field-wide{grid-column:auto}.report-filter>*{width:100%}.report-filter select{min-width:0}.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Stage 6 ledger responsive refinements */
.settle-form{display:grid;grid-template-columns:minmax(105px,1fr) minmax(115px,1fr);gap:6px;min-width:245px;align-items:center}
.settle-form input{min-width:0;width:100%;padding:8px;border-radius:10px;font-size:12px}
.small-btn{padding:8px 10px;font-size:11px;grid-column:1/-1}
.table-wrap td small{display:block;color:#7896a5;margin-top:3px}
@media(max-width:700px){.settle-form{min-width:220px}.finance-stats .stat b{font-size:17px}}

/* Beginner-friendly administration experience */
.easy-admin{max-width:1240px;margin:0 auto;padding:26px clamp(14px,3vw,30px) 54px;color:#16475e}
.admin-topbar .site-nav a{font-weight:800}
.easy-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:clamp(22px,4vw,38px);border-radius:28px;margin-bottom:30px;background:linear-gradient(120deg,rgba(255,255,255,.94),rgba(222,249,252,.88));border:1px solid rgba(61,174,215,.25);box-shadow:0 18px 50px rgba(27,117,148,.09)}
.easy-welcome h1{font-size:clamp(24px,4vw,36px);margin:9px 0;color:#14516d}.easy-welcome p{margin:0;color:#527d90;font-size:15px;line-height:2}.today-chip{display:inline-flex;gap:7px;align-items:center;margin-top:16px;padding:9px 14px;border-radius:13px;background:#e8f8fb;color:#176d86;font-size:14px}.welcome-mark{width:104px;height:104px;flex:0 0 104px;display:grid;place-items:center;border-radius:30px;background:linear-gradient(145deg,#087fae,#22c1ba);box-shadow:0 14px 28px rgba(12,143,165,.25);color:#fff;font-size:25px;font-weight:1000;letter-spacing:1px;transform:rotate(-5deg)}
.easy-section{margin:30px 0}.easy-section-title{display:flex;justify-content:space-between;align-items:end;margin:0 0 16px}.easy-section-title h2{font-size:clamp(19px,2.7vw,25px);margin:5px 0;color:#175773}.easy-section-title p{margin:0;color:#7393a1;font-size:13px;line-height:1.9}
.easy-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.easy-action{min-height:190px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;border-radius:22px;background:rgba(255,255,255,.88);border:1px solid rgba(70,171,202,.2);box-shadow:0 10px 28px rgba(31,115,145,.07);text-decoration:none;color:#18516a;transition:transform .18s,box-shadow .18s}.easy-action:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(31,115,145,.13)}.easy-action-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:#e6f8fb;font-size:27px}.easy-action strong{font-size:19px}.easy-action small{font-size:13px;color:#668a9b}.easy-action-go{margin-top:auto;padding-top:8px;font-weight:900;font-size:13px;color:#087f9e}.action-cash .easy-action-icon{background:#e5f8f1}.action-report .easy-action-icon{background:#eaf0ff}.action-invoice .easy-action-icon{background:#fff4e5}.action-site .easy-action-icon{background:#f1edff}
.easy-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.easy-summary{min-width:0;padding:17px;border-radius:19px;background:rgba(255,255,255,.8);border:1px solid rgba(70,171,202,.18)}.easy-summary>span{font-size:23px}.easy-summary small,.easy-summary em{display:block;color:#688c9c;font-size:12px;font-style:normal}.easy-summary b{display:block;margin:8px 0 3px;font-size:clamp(19px,2.4vw,26px);color:#145c7b;overflow-wrap:anywhere}.easy-summary .money-value{font-size:clamp(15px,2vw,21px)}.easy-hint{padding:12px 15px;border-radius:13px;background:#fff9e9;color:#8b6a2d;font-size:13px;line-height:1.9}
.easy-primary-wide{display:flex;align-items:center;justify-content:center;min-height:58px;margin:0 0 14px;padding:12px 20px;border-radius:17px;background:linear-gradient(120deg,#087fae,#20b9b7);box-shadow:0 10px 22px rgba(8,139,166,.2);color:white;text-decoration:none;font-size:17px;font-weight:900}
.easy-details{margin:12px 0;border:1px solid rgba(63,166,199,.22);border-radius:18px;background:rgba(255,255,255,.83);overflow:hidden;box-shadow:0 7px 22px rgba(32,116,143,.045)}.easy-details>summary{min-height:76px;display:flex;align-items:center;gap:13px;padding:14px 18px;cursor:pointer;list-style:none;color:#18546e}.easy-details>summary::-webkit-details-marker{display:none}.easy-details>summary>span:first-child{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#e8f8fb;font-size:21px}.easy-details>summary b,.easy-details>summary small{display:block}.easy-details>summary b{font-size:15px}.easy-details>summary small{margin-top:4px;color:#7895a2;font-size:12px}.easy-details>summary i{margin-right:auto;padding:7px 12px;border-radius:10px;background:#edf9fb;color:#087f9e;font-size:12px;font-style:normal;font-weight:800;white-space:nowrap}.easy-details[open]>summary{border-bottom:1px solid #e0f0f4;background:#f8fdfe}.easy-details[open]>summary i{background:#087fae;color:#fff}.details-content{padding:18px}.easy-steps{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:15px;color:#547d8f;font-size:13px}.easy-steps span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#dff6f5;color:#087f86;font-weight:900}.easy-product-form{padding:4px}.easy-product-form label{font-size:14px}.easy-product-form input,.easy-product-form select,.easy-product-form textarea{min-height:49px;font-size:15px}.easy-product-form .easy-submit{min-height:57px;font-size:17px}.field-help{display:block;margin-top:6px;color:#b16c34;font-size:11px}
.easy-recent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.easy-recent-card{min-width:0;padding:18px;border:1px solid rgba(70,171,202,.2);border-radius:19px;background:rgba(255,255,255,.84)}.recent-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;color:#18546e}.recent-head a,.recent-head span{color:#0788a3;font-size:12px;text-decoration:none;font-weight:800}.recent-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e8f2f5;text-decoration:none;color:#24566b}.recent-line:last-child{border-bottom:0}.recent-line span{min-width:0}.recent-line b,.recent-line small{display:block}.recent-line b{font-size:13px}.recent-line small{margin-top:4px;color:#7b98a5;font-size:11px}.recent-line strong{flex:0 0 auto;color:#087f9e;font-size:12px}.easy-help{display:flex;gap:13px;align-items:flex-start;padding:17px 19px;border-radius:18px;background:linear-gradient(120deg,rgba(235,250,252,.95),rgba(255,255,255,.92));border:1px solid rgba(70,171,202,.2)}.easy-help>span{font-size:25px}.easy-help b{color:#175873}.easy-help p{margin:5px 0 0;color:#66899a;font-size:13px;line-height:2}
@media(max-width:850px){.easy-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.easy-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.easy-admin{padding:15px 12px 35px}.easy-welcome{padding:19px;border-radius:20px}.welcome-mark{width:66px;height:66px;flex-basis:66px;border-radius:20px;font-size:18px}.easy-welcome p{font-size:13px}.easy-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.easy-action{min-height:166px;padding:13px;border-radius:17px}.easy-action-icon{width:43px;height:43px;font-size:22px;border-radius:13px}.easy-action strong{font-size:15px}.easy-action small{font-size:11px;line-height:1.8}.easy-action-go{font-size:11px}.easy-summary{padding:12px}.easy-summary b{font-size:20px}.easy-summary .money-value{font-size:15px}.easy-details>summary{padding:12px;gap:9px}.easy-details>summary>span:first-child{width:38px;height:38px;flex:0 0 38px}.easy-details>summary b{font-size:13px}.easy-details>summary small{font-size:10px}.easy-details>summary i{font-size:10px;padding:6px 8px}.details-content{padding:12px}.easy-recent-grid{grid-template-columns:1fr}.recent-line{align-items:flex-start}.recent-line strong{font-size:11px}.easy-help{padding:13px}.easy-help p{font-size:12px}}

/* Live amount-in-words helper under every monetary input */
.money-words{display:block;margin-top:7px;min-height:1.35em;color:#7a5a9b;font-size:.82rem;line-height:1.9;font-weight:600;overflow-wrap:anywhere}
input[data-money-input]{direction:ltr;text-align:right;font-variant-numeric:tabular-nums}
