/*
Theme Name: Ahmed Mobile Marketplace
Theme URI: https://ahmedmobile.com
Author: Ahmed Mobile Academy
Description: Responsive Ahmed Mobile marketplace theme featuring mobile-repair PDF books, video training and sample phone/accessory listings. Online payment is not connected.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: ahmed-mobile-marketplace
*/

:root{--navy:#101b2d;--blue:#2459e0;--gold:#ffcb55;--ink:#182235;--muted:#667085;--line:#e7ebf2;--soft:#f4f7fb;--white:#fff;--green:#16865b}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#f7f8fb}button,input,select{font:inherit}button{cursor:pointer}.topline{background:#0b1423;color:#dbe5f7;text-align:center;padding:8px 12px;font-size:12px}.topline b{color:var(--gold)}header{background:var(--navy);color:#fff;padding:16px max(18px,calc((100% - 1180px)/2)) 18px}.headrow{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font-weight:850;font-size:21px;white-space:nowrap}.brandmark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--gold);color:#142039;font-size:22px}.brand small{display:block;font-size:10px;color:#b9c6dc;letter-spacing:2px;font-weight:600;margin-top:1px}.search{display:flex;flex:1;min-width:180px;background:#fff;border-radius:12px;overflow:hidden;padding:4px}.search input{border:0;outline:0;min-width:0;flex:1;padding:10px 12px;color:#15213a}.search button{border:0;background:var(--gold);color:#15213a;font-weight:800;border-radius:9px;padding:0 17px}.head-actions{display:flex;gap:9px}.head-actions button,.sellerbtn{background:transparent;color:#fff;border:1px solid #44516a;border-radius:10px;padding:10px 12px;font-weight:650}.sellerbtn{background:var(--blue);border-color:var(--blue)}nav{display:flex;gap:22px;overflow:auto;padding-top:18px;white-space:nowrap}nav a{color:#dbe5f7;text-decoration:none;font-size:13px}nav a:hover{color:var(--gold)}main{max-width:1180px;margin:auto;padding:22px 18px 55px}.hero{background:linear-gradient(115deg,#172846 0%,#203d75 60%,#2459e0 100%);color:white;border-radius:24px;padding:clamp(25px,5vw,56px);display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:center;overflow:hidden;position:relative}.eyebrow{display:inline-flex;background:#ffffff18;border:1px solid #ffffff2c;padding:7px 11px;border-radius:99px;font-size:12px;color:#ffe39a;font-weight:750}.hero h1{font-size:clamp(32px,5vw,55px);line-height:1.06;letter-spacing:-1.7px;margin:17px 0 13px}.hero h1 span{color:var(--gold)}.hero p{color:#d8e3f8;max-width:460px;line-height:1.7;font-size:15px}.hero-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.primary,.secondary{border:0;border-radius:11px;padding:13px 17px;font-weight:800}.primary{background:var(--gold);color:#182235}.secondary{background:#ffffff17;color:white;border:1px solid #ffffff48}.hero-art{min-height:225px;display:grid;place-items:center;position:relative}.orb{width:min(290px,80%);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 30% 25%,#8daeff,#2459e0 55%,#142749 75%);display:grid;place-items:center;box-shadow:0 25px 65px #07132b77;transform:rotate(-10deg)}.phone{width:122px;height:225px;border:5px solid #dce4f2;border-radius:25px;background:linear-gradient(145deg,#111b32,#334e8d 60%,#0c1322);box-shadow:15px 17px 35px #08132988;position:relative;display:grid;place-items:center;color:#f5cf6a;font-size:40px}.phone:before{content:"";position:absolute;top:7px;width:45px;height:10px;border-radius:10px;background:#0b1220}.phone:after{content:"AHMED";position:absolute;bottom:30px;font-size:11px;letter-spacing:3px;color:#fff}.float-tag{position:absolute;background:#fff;color:#15213a;padding:12px 14px;border-radius:13px;box-shadow:0 12px 35px #06132a4d;font-size:12px;font-weight:800}.tag1{left:1%;top:15%}.tag2{right:0;bottom:10%}.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:19px 0 34px}.trust div{background:white;border:1px solid var(--line);border-radius:14px;padding:15px;display:flex;align-items:center;gap:11px;font-size:12px;color:var(--muted)}.trust strong{display:block;color:var(--ink);font-size:13px;margin-bottom:3px}.trust .ico{font-size:22px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:34px 0 17px}.section-head h2{font-size:25px;letter-spacing:-.7px;margin:0}.section-head p{margin:6px 0 0;color:var(--muted);font-size:13px}.textbtn{background:none;border:0;color:var(--blue);font-weight:800}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.cat{border:1px solid var(--line);background:white;border-radius:16px;padding:18px 10px;text-align:center;transition:.15s}.cat:hover,.cat.active{border-color:var(--blue);background:#edf2ff;transform:translateY(-2px)}.cat .cat-icon{width:55px;height:55px;border-radius:17px;background:#eef2ff;display:grid;place-items:center;margin:0 auto 10px;font-size:27px}.cat strong{font-size:12px}.filterbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.filterbar button{background:white;border:1px solid var(--line);padding:8px 13px;border-radius:99px;font-size:12px;color:#475467}.filterbar button.active{background:var(--navy);color:white;border-color:var(--navy)}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;transition:transform .15s,box-shadow .15s}.product:hover{transform:translateY(-3px);box-shadow:0 12px 30px #15213a10}.prodvisual{height:165px;background:linear-gradient(140deg,#eef2f9,#e2e9f8);display:grid;place-items:center;position:relative}.prodvisual .device{font-size:78px;filter:drop-shadow(0 10px 7px #192b4730)}.pill{position:absolute;top:11px;left:11px;background:#fff;border-radius:7px;padding:5px 7px;font-size:10px;font-weight:850}.heart{position:absolute;right:10px;top:10px;border:0;background:#fff;border-radius:50%;width:30px;height:30px}.prodinfo{padding:14px}.prodinfo .seller{font-size:11px;color:var(--muted)}.prodinfo h3{font-size:14px;margin:7px 0 5px}.stars{color:#f0a91c;font-size:12px}.stars span{color:var(--muted)}.price{font-size:17px;font-weight:850;margin:9px 0 12px}.price small{font-size:10px;color:var(--muted);font-weight:600}.prodactions{display:flex;gap:7px}.add{flex:1;border:0;border-radius:9px;background:var(--blue);color:white;font-size:12px;font-weight:800;padding:10px 5px}.detail{border:1px solid var(--line);background:white;border-radius:9px;padding:8px 10px}.empty{grid-column:1/-1;padding:35px;text-align:center;color:var(--muted);background:white;border-radius:15px}.sellerband{margin-top:38px;border-radius:20px;padding:28px;background:#fff7e5;border:1px solid #f4e2b5;display:flex;align-items:center;justify-content:space-between;gap:20px}.sellerband h2{margin:0 0 8px;font-size:23px}.sellerband p{margin:0;color:#665a3c;font-size:13px;line-height:1.6}.sellerband button{border:0;background:var(--navy);color:white;padding:13px 17px;border-radius:10px;font-weight:800;white-space:nowrap}.newsletter{margin-top:22px;background:#eaf0ff;border-radius:18px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:18px}.newsletter h3{margin:0 0 5px}.newsletter p{margin:0;color:var(--muted);font-size:13px}.newsletter form{display:flex;gap:7px;max-width:420px;width:100%}.newsletter input{min-width:0;flex:1;border:1px solid #d6dff3;border-radius:9px;padding:12px}.newsletter button{border:0;border-radius:9px;background:var(--blue);color:white;font-weight:800;padding:0 15px}footer{background:var(--navy);color:#dce4f3;padding:32px 18px}.footinner{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap}.footinner p{font-size:12px;color:#aab8d0;line-height:1.7;max-width:400px}.footlinks{display:flex;gap:18px;flex-wrap:wrap}.footlinks a{font-size:12px;color:#dce4f3;text-decoration:none}.notice{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:#101b2d;color:white;padding:13px 18px;border-radius:12px;box-shadow:0 10px 30px #0003;z-index:20;max-width:90vw;font-size:13px;display:none}.modal{display:none;position:fixed;inset:0;background:#0b1423a8;z-index:30;padding:18px;align-items:center;justify-content:center}.modal.open{display:flex}.modalbox{background:white;width:min(460px,100%);border-radius:18px;padding:23px;max-height:90vh;overflow:auto}.modalhead{display:flex;justify-content:space-between;align-items:center}.modalhead h2{margin:0;font-size:22px}.close{border:0;background:#eef1f7;border-radius:50%;width:34px;height:34px;font-size:20px}.modalbox p{color:var(--muted);font-size:13px;line-height:1.6}.field{display:block;margin:14px 0}.field span{display:block;font-size:12px;font-weight:800;margin-bottom:6px}.field input,.field select{width:100%;padding:12px;border:1px solid #dbe1eb;border-radius:9px;background:white}.full{width:100%;margin-top:8px}.cartline{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.cartline button{border:0;background:none;color:#c23c3c}.carttotal{display:flex;justify-content:space-between;font-weight:850;margin:17px 0}.notice{animation:up .2s ease}@keyframes up{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:850px){.hero{grid-template-columns:1fr .7fr}.trust{grid-template-columns:repeat(2,1fr)}.categories{grid-template-columns:repeat(3,1fr)}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.head-actions .account{display:none}.prodvisual{height:145px}.sellerband{align-items:flex-start;flex-direction:column}.newsletter{align-items:flex-start;flex-direction:column}}
@media(max-width:500px){header{padding:13px 14px 15px}.headrow{gap:11px}.brand{font-size:18px}.brandmark{width:36px;height:36px}.head-actions{margin-left:auto}.head-actions button{padding:8px 10px;font-size:12px}.search{order:3;flex-basis:100%}nav{gap:17px;padding-top:14px}main{padding:15px 12px 38px}.hero{grid-template-columns:1fr;padding:24px 20px;border-radius:18px}.hero-art{min-height:180px}.orb{width:190px}.phone{width:91px;height:165px;font-size:30px;border-radius:20px}.phone:after{bottom:22px;font-size:9px}.tag1{left:2%;top:4%}.tag2{right:0;bottom:1%}.trust{gap:8px;margin:12px 0 28px}.trust div{padding:11px 9px;gap:7px}.trust strong{font-size:11px}.trust div{font-size:10px}.categories{gap:8px}.cat{padding:13px 4px}.cat .cat-icon{width:45px;height:45px;font-size:23px}.cat strong{font-size:11px}.section-head h2{font-size:21px}.products{gap:10px}.prodvisual{height:125px}.prodvisual .device{font-size:61px}.prodinfo{padding:10px}.prodinfo h3{font-size:12px;line-height:1.4}.price{font-size:15px}.add{font-size:11px}.detail{padding:7px}.newsletter form{max-width:none}.footinner{flex-direction:column}}
.contact-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.contact-actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:10px;padding:11px 14px;font-size:13px;font-weight:800}.contact-telegram{background:#229ED9;color:#fff}.contact-phone{background:#16865b;color:#fff}.contact-inline{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;font-size:12px}.contact-inline a{color:#dbe5f7;text-decoration:none;font-weight:700}@media(max-width:500px){.contact-actions a{flex:1}}
