/* رونا — تم گوگولی پاستلی */
:root {
  --bg: #FFF9F4; --ink: #4A3B52; --muted: #9B8CA6;
  --pink: #F9A8C9; --pink-d: #E87BAA; --pink-l: #FDEDF4;
  --blue: #A8D8EA; --blue-l: #EAF6FB;
  --lemon: #FDE68A; --pistachio: #B5D99C; --pist-l: #F0F7EA;
  --purple: #C9B6E4; --white: #FFFFFF; --line: #F0E4EC;
  --green: #5BA97B; --red: #E06C75;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/Vazirmatn-Regular.ttf"); font-weight: 400; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/Vazirmatn-Bold.ttf"); font-weight: 700; }
body {
  font-family: "Vazirmatn", Tahoma, sans-serif; background: var(--bg); color: var(--ink);
  line-height: 1.9; min-height: 100vh;
  background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}
.container { max-width: 1100px; margin-inline: auto; padding-inline: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* نوار بالا */
.topbar {
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  color: #fff; text-align: center; font-size: 13.5px; padding: 7px 12px; font-weight: 700;
}

/* هدر */
header.site {
  background: #fff; border-bottom: 3px solid var(--pink-l);
  position: sticky; top: 0; z-index: 50;
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; }
.logo b { font-size: 20px; color: var(--ink); }
.sun-buddy {
  width: 44px; height: 44px; border-radius: 50%; background: var(--lemon);
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  box-shadow: 0 2px 0 #EAC85C;
}
.sun-buddy::before, .sun-buddy::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #4A3B52; top: 17px;
}
.sun-buddy::before { left: 14px; } .sun-buddy::after { right: 14px; }
.sun-smile { width: 12px; height: 6px; border-bottom: 2.5px solid #4A3B52; border-radius: 0 0 12px 12px; margin-top: 8px; }
nav.main { display: flex; gap: 6px; align-items: center; }
nav.main a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--ink);
  transition: background .15s;
}
nav.main a:hover { background: var(--pink-l); }
nav.main a.active { background: var(--pink); color: #fff; }
nav.main a.cart-link { background: var(--pist-l); }
nav.main a.cart-link:hover { background: var(--pistachio); color: #fff; }

/* هیرو */
.hero {
  background: linear-gradient(135deg, var(--blue-l) 0%, var(--pink-l) 55%, #FFF7E0 100%);
  border-radius: 28px; margin-top: 20px; padding: 34px 26px; text-align: center;
  border: 2.5px dashed var(--pink);
  position: relative; overflow: hidden;
}
.hero h1 { font-size: clamp(22px, 4vw, 34px); color: var(--ink); }
.hero h1 .hl { color: var(--pink-d); }
.hero p { font-size: clamp(14px, 2.4vw, 17px); color: var(--muted); margin-top: 6px; }
.hero .bubble {
  display: inline-block; background: #fff; border: 2.5px solid var(--pink);
  border-radius: 22px 22px 22px 4px; padding: 8px 20px; font-weight: 700; color: var(--pink-d);
  margin-bottom: 14px; font-size: 15px;
}
.hero .cta {
  display: inline-block; margin-top: 16px; background: var(--pink-d); color: #fff;
  padding: 12px 34px; border-radius: 999px; font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 0 #D15E93; transition: transform .12s;
}
.hero .cta:hover { transform: translateY(-2px); }
.hero .sparkles { position: absolute; font-size: 22px; opacity: .55; }

/* بخش تیتر */
.sec-title { text-align: center; margin: 34px 0 18px; }
.sec-title h2 { font-size: 22px; }
.sec-title p { color: var(--muted); font-size: 14px; }
.sec-title .emoji-line { font-size: 20px; }

/* گرید محصولات */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px; margin-bottom: 40px;
}
.pcard {
  background: #fff; border-radius: 24px; overflow: hidden; border: 2px solid var(--line);
  transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 10px 24px rgba(233,139,170,.18); }
.pcard .imgwrap { background: var(--pink-l); position: relative; }
.pcard img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pcard .badge {
  position: absolute; top: 12px; right: 12px; background: var(--lemon); color: #7A6210;
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.pcard .body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 15.5px; }
.pcard .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; flex: 1; }
.pcard .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; color: var(--pink-d); font-size: 15px; }
.btn {
  display: inline-block; border: none; cursor: pointer; font-family: inherit; font-weight: 700;
  padding: 9px 20px; border-radius: 999px; font-size: 14px; text-align: center;
  transition: transform .12s, box-shadow .12s;
}
.btn-pink { background: var(--pink-d); color: #fff; box-shadow: 0 3px 0 #D15E93; }
.btn-pink:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 3px 0 #478762; }
.btn-blue { background: var(--blue); color: #234; box-shadow: 0 3px 0 #7EC1D8; }
.btn-ghost { background: #fff; border: 2px solid var(--line); color: var(--ink); }
.btn-red { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* صفحه محصول */
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 24px; }
.product-page .imgwrap { background: var(--pink-l); border-radius: 28px; overflow: hidden; border: 2.5px dashed var(--pink); }
.product-page img { width: 100%; object-fit: cover; }
.product-info h1 { font-size: 24px; }
.product-info .sub { color: var(--muted); margin-top: 4px; }
.product-info .price-big { font-size: 28px; color: var(--pink-d); font-weight: 700; margin: 16px 0; }
.qty-row { display: flex; align-items: center; gap: 10px; margin: 14px 0 18px; }
.qty-row input { width: 74px; text-align: center; font-family: inherit; font-size: 16px; padding: 8px; border: 2px solid var(--line); border-radius: 14px; }
.feature-list { list-style: none; margin-top: 12px; }
.feature-list li { padding: 6px 0; font-size: 14.5px; }
.feature-list li::before { content: "🌟 "; }

/* سبد */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 22px; overflow: hidden; border: 2px solid var(--line); }
.cart-table th { background: var(--pink-l); padding: 12px; font-size: 13.5px; }
.cart-table td { padding: 12px; border-top: 1.5px solid var(--line); font-size: 14px; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.cart-table input[type=number] { width: 64px; text-align: center; font-family: inherit; padding: 6px; border: 2px solid var(--line); border-radius: 12px; }
.cart-summary { background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 20px; margin-top: 18px; }
.cart-summary .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.cart-summary .grand { font-size: 18px; font-weight: 700; border-top: 2px dashed var(--pink); padding-top: 10px; margin-top: 8px; }
.cart-empty { text-align: center; padding: 50px 0; color: var(--muted); }
.cart-empty .big { font-size: 52px; }

/* فرم‌ها */
.form-card { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 24px; max-width: 560px; margin: 24px auto; }
.form-card label { display: block; font-size: 14px; font-weight: 700; margin: 14px 0 5px; }
.form-card input, .form-card textarea {
  width: 100%; font-family: inherit; font-size: 15px; padding: 11px 14px;
  border: 2px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--ink);
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--pink); background: #fff; }
.form-card textarea { min-height: 90px; resize: vertical; }

/* فلش پیام */
.flash { max-width: 640px; margin: 14px auto; padding: 11px 18px; border-radius: 16px; font-size: 14.5px; font-weight: 700; text-align: center; }
.flash.ok { background: var(--pist-l); color: var(--green); border: 2px dashed var(--pistachio); }
.flash.err { background: #FDECEC; color: var(--red); border: 2px dashed var(--red); }

/* صفحه پرداخت */
.pay-card { background: #fff; border: 2.5px dashed var(--blue); border-radius: 28px; padding: 26px; max-width: 620px; margin: 24px auto; }
.pay-amount { text-align: center; background: var(--blue-l); border-radius: 20px; padding: 16px; margin: 12px 0 18px; }
.pay-amount .lbl { font-size: 13px; color: var(--muted); }
.pay-amount .num { font-size: 30px; font-weight: 700; color: #2E7FA3; }
.pay-amount .note { font-size: 12.5px; color: var(--muted); }
.card-box {
  background: linear-gradient(135deg, #FFF4F8, #EFF8FC); border: 2px solid var(--pink);
  border-radius: 22px; padding: 20px; text-align: center;
}
.card-box .bank { font-size: 13px; color: var(--muted); }
.card-number { font-size: 24px; font-weight: 700; letter-spacing: 2px; direction: ltr; margin: 8px 0; color: var(--ink); }
.card-name { font-size: 14.5px; }
.copy-btn {
  margin-top: 10px; background: var(--pink-d); color: #fff; border: none; font-family: inherit;
  font-weight: 700; padding: 8px 24px; border-radius: 999px; cursor: pointer; font-size: 14px;
}
.steps { list-style: none; margin: 14px 0; }
.steps li { padding: 7px 0; font-size: 14.5px; }
.steps li::before { content: "👉 "; }
.upload-zone {
  border: 2.5px dashed var(--pistachio); border-radius: 20px; padding: 22px; text-align: center;
  background: var(--pist-l); cursor: pointer; transition: background .15s; margin-top: 6px;
}
.upload-zone:hover { background: #E4F1D8; }
.upload-zone .big { font-size: 34px; }
.upload-zone .hint { font-size: 12.5px; color: var(--muted); }
#receiptName { font-size: 13px; color: var(--green); font-weight: 700; margin-top: 8px; }
.divider { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0; position: relative; }
.divider::before, .divider::after { content: ""; position: absolute; top: 50%; width: 40%; border-top: 2px dashed var(--line); }
.divider::before { right: 0; } .divider::after { left: 0; }

/* وضعیت سفارش */
.status-pill { display: inline-block; padding: 5px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.st-pending { background: var(--lemon); color: #7A6210; }
.st-waiting { background: var(--blue-l); color: #2E7FA3; }
.st-approved { background: var(--pist-l); color: var(--green); }
.st-shipped { background: var(--pistachio); color: #fff; }
.st-rejected { background: #FDECEC; color: var(--red); }
.track-box { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 22px; max-width: 640px; margin: 22px auto; }
.track-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.track-items { margin-top: 14px; border-top: 2px dashed var(--line); padding-top: 10px; }
.track-items .ti { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 4px 0; flex-wrap: wrap; }
.kv b { color: var(--ink); }

/* فوتر */
footer.site {
  margin-top: 50px; background: #fff; border-top: 3px solid var(--pink-l); padding: 26px 0 30px; text-align: center;
}
footer.site .sun-buddy { margin-bottom: 8px; }
footer.site p { font-size: 13.5px; color: var(--muted); }
footer.site .contact { font-size: 14px; margin-top: 6px; }

/* درباره */
.about-hero { text-align: center; margin-top: 26px; }
.about-hero img { border-radius: 30px; border: 3px solid var(--pink); max-height: 420px; object-fit: cover; }
.about-text { max-width: 680px; margin: 18px auto; background: #fff; border-radius: 24px; border: 2px solid var(--line); padding: 24px; }
.about-text p { font-size: 15px; margin-bottom: 10px; }

/* ادمین */
.admin-wrap { max-width: 1020px; margin-inline: auto; padding: 20px 16px 60px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-nav a { padding: 7px 16px; background: #fff; border: 2px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.admin-nav a.on { background: var(--purple); color: #fff; border-color: var(--purple); }
table.admin { width: 100%; border-collapse: collapse; background: #fff; border-radius: 20px; overflow: hidden; border: 2px solid var(--line); }
table.admin th { background: var(--purple); color: #fff; padding: 11px; font-size: 13px; }
table.admin td { padding: 10px 11px; border-top: 1.5px solid var(--line); font-size: 13.5px; }
table.admin tr:hover td { background: #FBF7FE; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 18px; text-align: center; }
.stat-card .lbl { font-size: 13px; color: var(--muted); }
.stat-card .val { font-size: 26px; font-weight: 700; color: var(--purple); }
.receipt-img { width: 90px; height: 90px; object-fit: cover; border-radius: 14px; border: 2px solid var(--line); cursor: pointer; }
.status-select { font-family: inherit; padding: 6px 10px; border-radius: 12px; border: 2px solid var(--line); font-size: 13px; }

/* فوکوس و دسترس‌پذیری */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 📱 موبایل */
@media (max-width: 720px) {
  .header-in { flex-direction: column; gap: 8px; }
  nav.main { justify-content: center; flex-wrap: wrap; }
  nav.main a { padding: 7px 12px; font-size: 13.5px; }
  .hero { padding: 24px 16px; border-radius: 22px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .pcard .body { padding: 10px 12px 14px; }
  .pcard h3 { font-size: 13.5px; }
  .price { font-size: 13.5px; }
  .product-page { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 2px dashed var(--line); padding: 10px 0; }
  .cart-table td { border: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .cart-table td::before { content: attr(data-l); font-weight: 700; font-size: 13px; color: var(--muted); }
  .card-number { font-size: 19px; letter-spacing: 1px; }
  .pay-amount .num { font-size: 24px; }
  .admin-nav { justify-content: center; }
  table.admin { font-size: 12.5px; }
  table.admin th, table.admin td { padding: 8px 6px; }
}

/* لوگوی واقعی رونا */
.logo .logo-img { width:120px; height:auto; max-height:56px; border-radius:0; border:none; box-shadow:none; background:transparent; }
.logo-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; background: #fff;
  box-shadow: 0 2px 8px rgba(233, 143, 180, .35);
  border: 2.5px solid #fff;
  vertical-align: middle;
}
.brand-name { display: inline-block; vertical-align: middle; }
footer.site .logo-img { width: 56px; height: 56px; }

/* ═══ بخش‌بندی پک / تکی ═══ */
.sec-mascot {
  width: 96px; height: 96px; display: block; margin: 0 auto 6px;
  filter: drop-shadow(0 4px 10px rgba(233,139,170,.25));
  transition: transform .2s;
}
.sec-mascot:hover { transform: rotate(-6deg) scale(1.06); }

/* کارت محصول تکی — تم بنفش/آبی متمایز از پک‌ها */
.single-card { border-color: #E8DFF5; }
.single-card .imgwrap { background: #F6F0FB; }
.single-card:hover { box-shadow: 0 10px 24px rgba(159,134,198,.22); }
.single-card .price { color: #9F86C6; }
.single-card .badge { background: #E4D7F5; color: #6B4FA0; }

/* ═══ صفحه‌ی اول: دو کارت دسته‌بندی ═══ */
.cat-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 26px auto; }
.cat-card {
  background: #fff; border: 3px solid var(--line); border-radius: 28px;
  padding: 30px 24px 26px; text-align: center; text-decoration: none;
  display: block; transition: transform .18s, box-shadow .18s; position: relative;
}
.cat-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.cat-img { width: 150px; height: 150px; margin: 0 auto 14px; display: block;
  filter: drop-shadow(0 6px 14px rgba(233,139,170,.3)); transition: transform .25s; }
.cat-card:hover .cat-img { transform: rotate(-7deg) scale(1.07); }
.cat-card h2 { margin: 0 0 8px; font-size: 21px; }
.cat-card p { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.cat-meta { display: inline-block; font-size: 12.5px; padding: 4px 14px; border-radius: 99px; margin-bottom: 12px; }
.cat-pack { border-color: #F9D3E3; }
.cat-pack h2, .cat-go { color: #E87BAA; }
.cat-pack .cat-meta { background: #FDEDF4; color: #C2517F; }
.cat-pack:hover { box-shadow: 0 14px 30px rgba(233,139,170,.25); }
.cat-single { border-color: #E8DFF5; }
.cat-single h2, .cat-single .cat-go { color: #9F86C6; }
.cat-single .cat-meta { background: #F6F0FB; color: #6B4FA0; }
.cat-single .cat-img { filter: drop-shadow(0 6px 14px rgba(159,134,198,.3)); }
.cat-single:hover { box-shadow: 0 14px 30px rgba(159,134,198,.25); }
.cat-go { font-weight: 800; font-size: 15px; display: inline-block; }
@media (max-width: 640px) { .cat-choice { grid-template-columns: 1fr; } }

/* ═══ فروشگاه: تب‌های دسته ═══ */
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.shop-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-tab {
  padding: 10px 22px; border-radius: 99px; font-weight: 800; font-size: 14.5px;
  text-decoration: none; background: #fff; border: 2.5px solid var(--line); color: var(--muted);
  transition: all .15s;
}
.shop-tab:hover { transform: translateY(-2px); }
.shop-tab.active { background: var(--pink); border-color: #E87BAA; color: #fff; box-shadow: 0 6px 14px rgba(233,139,170,.35); }
.shop-tab.active[href*="single"] { background: #9F86C6; border-color: #9F86C6; box-shadow: 0 6px 14px rgba(159,134,198,.35); }
.back-home { font-size: 13.5px; color: var(--muted); text-decoration: none; font-weight: 700; }
.back-home:hover { color: var(--pink); }


/* ═══ پیام به ما ═══ */
.contact-wrap { max-width: 560px; margin: 0 auto; }
.contact-form { background:#fff; border:3px solid var(--line); border-radius:24px; padding:26px 24px; display:flex; flex-direction:column; gap:8px; }
.contact-form label { font-size:13.5px; font-weight:800; color:var(--muted); margin-top:8px; }
.contact-form input, .contact-form textarea {
  font-family:inherit; font-size:14.5px; padding:11px 14px; border:2px solid var(--line);
  border-radius:14px; background:#FFF9FB; resize:vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline:none; border-color:var(--pink); background:#fff; }
.contact-form .btn { margin-top:14px; }
.nav-badge { background:#fff; color:var(--pink); border-radius:99px; padding:1px 7px; font-size:11.5px; font-weight:900; }
.unread-row { background:#FFF6FA; }
.unread-row td:first-child { border-right:4px solid var(--pink); }


/* جعبه‌ی پیام در صفحه‌ی اصلی */
.home-contact {
  display:flex; align-items:center; gap:16px; max-width:640px; margin:26px auto 0;
  background:linear-gradient(90deg,#FFF0F6,#F6F0FB); border:3px dashed #E9A8C9;
  border-radius:22px; padding:18px 22px; text-decoration:none; transition:transform .15s;
}
.home-contact:hover { transform:translateY(-3px); }
.home-contact .hc-emoji { font-size:34px; }
.home-contact b { color:#C2517F; font-size:16px; display:block; margin-bottom:3px; }
.home-contact p { margin:0; font-size:13.5px; color:var(--muted); }
.home-contact .hc-go { margin-right:auto; font-weight:800; color:#9F86C6; white-space:nowrap; }
@media (max-width:560px){ .home-contact{flex-direction:column; text-align:center} .home-contact .hc-go{margin:0} }

/* ═══ منوی همبرگری (سه خط) ═══ */
.header-actions { display:flex; align-items:center; gap:8px; }
.burger {
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:44px; height:44px; padding:10px 9px;
  background:#fff; border:2px solid var(--line); border-radius:14px; cursor:pointer;
}
.burger span { display:block; height:3px; width:100%; border-radius:99px; background:var(--pink); }
.burger:hover { background:var(--pink-l); }
.cart-btn {
  display:flex; align-items:center; gap:6px; padding:9px 16px;
  background:var(--pist-l); border-radius:999px; font-weight:800; font-size:14.5px; color:var(--ink);
}
.cart-btn:hover { background:var(--pistachio); color:#fff; }
@media (max-width: 900px) {
  .burger { display:flex; }
  .cart-txt { display:none; }
  .cart-btn { padding:9px 13px; }
  nav.main {
    display:none; position:absolute; top:100%; right:0; left:0; z-index:60;
    flex-direction:column; align-items:stretch; gap:4px;
    background:#fff; border-bottom:2px solid var(--line);
    box-shadow:0 14px 30px rgba(120,80,110,.14); padding:12px 16px 16px;
  }
  nav.main.open { display:flex; }
  nav.main a { padding:11px 14px; font-size:15px; border-radius:12px; }
  header.site .container.header-in { position:relative; }
}

/* ═══ نسخه ۵: سوآچ رنگ، فوتر اجتماعی، پنل ═══ */
.desc-box {
  background:var(--pink-l, #fdeef2); border:2px dashed #f0b9c8;
  border-radius:14px; padding:12px 14px; margin:12px 0; font-size:14.5px; line-height:1.9;
}
.color-pick { margin:16px 0; }
.color-pick > b { display:block; margin-bottom:10px; }
.swatches { display:flex; flex-wrap:wrap; gap:10px; }
.swatch-wrap {
  display:flex; flex-direction:column; align-items:center; gap:4px;
  cursor:pointer; padding:6px 8px; border-radius:12px; border:2px solid transparent;
}
.swatch-wrap:has(input:checked) { border-color:var(--pink, #e877a0); background:#fff; box-shadow:0 3px 10px rgba(232,119,160,.25); }
.swatch-wrap input { position:absolute; opacity:0; }
.swatch {
  display:inline-block; width:34px; height:34px; border-radius:50%;
  border:2.5px solid #fff; box-shadow:0 0 0 2px var(--line, #e8d8e0), 0 2px 6px rgba(0,0,0,.12);
}
.swatch-name { font-size:11.5px; font-weight:700; }
.picked-name { font-size:13.5px; color:var(--muted, #8a7a86); margin-top:8px; min-height:18px; }
.mini-swatch {
  display:inline-block; width:18px; height:18px; border-radius:50%;
  border:2px solid #fff; box-shadow:0 0 0 1.5px var(--line, #e8d8e0); vertical-align:middle;
}
.note-cell { max-width:180px; font-size:13px; }
.socials { display:flex; justify-content:center; gap:18px; margin:14px 0 6px; flex-wrap:wrap; }
.socials a { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:12.5px; font-weight:700; color:var(--ink); }
.socials img {
  width:46px; height:46px; border-radius:50%; object-fit:cover;
  border:2.5px solid #fff; box-shadow:0 0 0 2px var(--line, #e8d8e0), 0 3px 10px rgba(0,0,0,.12);
  transition:transform .15s;
}
.socials a:hover img { transform:scale(1.12) rotate(-4deg); }
/* پنل ادمین */
.panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:6px 0 14px; flex-wrap:wrap; }
.panel-head h2, .panel-head h3 { margin:0; }
.filter-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.ftab {
  padding:7px 14px; border-radius:999px; background:#fff; border:2px solid var(--line, #e8d8e0);
  font-size:13.5px; font-weight:700; color:var(--ink);
}
.ftab.active { background:var(--pink, #e877a0); color:#fff; border-color:var(--pink, #e877a0); }
.admin-table { width:100%; border-collapse:collapse; background:#fff; border-radius:14px; overflow:hidden; }
.admin-table th, .admin-table td { padding:10px 12px; border-bottom:1px solid var(--line, #eee2ea); font-size:13.5px; text-align:right; }
.admin-table th { background:var(--pink-l, #fdeef2); font-size:13px; }
.admin-table .thumb { width:52px; height:52px; object-fit:cover; border-radius:10px; }
.admin-table .t-title { font-weight:700; }
.admin-table .ops { display:flex; gap:6px; align-items:center; }
.tag-ok { background:#e5f6ec; color:#1e7c4a; border-radius:999px; padding:3px 10px; font-size:12px; font-weight:700; }
.tag-off { background:#fdeaea; color:#b23434; border-radius:999px; padding:3px 10px; font-size:12px; font-weight:700; }
.admin-form { background:#fff; border-radius:16px; padding:20px; }
.admin-form label { display:block; font-weight:700; font-size:14px; margin-bottom:12px; }
.admin-form input[type=text], .admin-form input[type=number], .admin-form select, .admin-form textarea {
  display:block; width:100%; margin-top:6px; padding:10px 12px; font-size:14px;
  border:2px solid var(--line, #e8d8e0); border-radius:12px; font-family:inherit;
}
.form-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:0 16px; }
.check-row { display:flex; align-items:center; gap:8px !important; }
.check-row input { width:18px; height:18px; }
.card-box { background:#fff; border-radius:16px; padding:18px; }
.card-box h3 { margin-top:0; }
.colors-layout { display:grid; grid-template-columns:1fr 1.4fr; gap:16px; }
@media (max-width:800px){ .colors-layout { grid-template-columns:1fr; } }
.colors-add label { display:block; font-weight:700; font-size:14px; margin-bottom:12px; }
.colors-add input[type=text] { display:block; width:100%; margin-top:6px; padding:10px 12px; border:2px solid var(--line, #e8d8e0); border-radius:12px; font-family:inherit; }
.colors-add input[type=color] { border:2px solid var(--line, #e8d8e0); border-radius:12px; }
.color-row { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px dashed var(--line, #eee2ea); }
.color-row:last-child { border-bottom:none; }
.cat-emoji { font-size:22px; }

/* ═══ نسخه ۵.۱: منوی همبرگری همه‌صفحه + جستجو ═══ */
.menu-panel {
  display:none; position:absolute; top:100%; right:0; left:0; z-index:70;
  flex-direction:column; gap:12px;
  background:#fff; border-bottom:2px solid var(--line);
  box-shadow:0 18px 40px rgba(120,80,110,.16); padding:16px;
}
.menu-panel.open { display:flex; }
.menu-search { display:flex; gap:8px; }
.menu-search input {
  flex:1; padding:11px 14px; border:2px solid var(--line); border-radius:999px;
  font:inherit; font-size:14.5px; background:var(--pink-l, #fdeef2);
}
.menu-search input:focus { outline:none; border-color:var(--pink); background:#fff; }
.menu-search .btn { white-space:nowrap; }
.menu-links { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:6px; }
.menu-links a {
  padding:10px 13px; border-radius:12px; font-weight:700; font-size:14.5px;
  color:var(--ink); text-decoration:none;
}
.menu-links a:hover { background:var(--pink-l); }
.menu-links a.active { background:var(--pink); color:#fff; }
@media (max-width: 560px) {
  .menu-links { grid-template-columns:1fr 1fr; }
}

/* ═══ نسخه ۵.۱: عکس دسته‌بندی‌ها ═══ */
.cat-img {
  width:78px; height:78px; object-fit:cover; border-radius:20px;
  border:2px solid var(--line);
}
.cat-hero {
  background-size:cover; background-position:center; border-radius:22px;
  border:2px solid var(--line); margin-bottom:20px; overflow:hidden;
}
.cat-hero-in {
  background:rgba(255,255,255,.86); backdrop-filter:blur(3px);
  padding:26px 24px;
}
.cat-hero-in h2 { margin:0 0 6px; font-size:24px; }
.cat-hero-in p { margin:0; color:var(--muted, #7a6b78); }
@media (max-width:560px){ .cat-hero-in{ padding:18px 16px; } .cat-hero-in h2{ font-size:20px; } }

.file-btn { position:relative; display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.file-btn input[type=file] { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; }
.cat-img-name { font-size:11.5px; color:var(--muted, #7a6b78); max-width:90px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
