/* =========================================================================
   نیک‌خرید — استایل اصلی فروشگاه (موبایل اول، راست‌چین)
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

/* The `hidden` attribute must always win over author `display` rules,
   otherwise elements such as the loader overlay stay visible. */
[hidden] { display: none !important; }

:root {
    --accent: #e11d48;
    --accent-dark: #9f1239;
    --accent-soft: #fecdd3;
    --dark: #0f172a;
    --muted: #64748b;
    --bg: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --radius: 14px;
    --grid-cols: 4;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 4px 16px rgba(15, 23, 42, .07);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
    --container: 1280px;
    --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.75;
    color: var(--dark);
    background: var(--bg);
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 .6rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 14px; }
.container--narrow { max-width: 880px; }
.main { min-height: 50vh; padding-bottom: 40px; }
.muted { color: var(--muted); font-size: .9rem; }
.link-btn { background: none; border: 0; color: var(--accent); font-weight: 600; cursor: pointer; padding: 0; }
.link-btn:hover { text-decoration: underline; }

/* ---------------- Icons ---------------- */
.ico {
    display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.18em;
    background-color: currentColor; -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.ico-home     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3z'/%3E%3C/svg%3E"); }
.ico-cart     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 100 4 2 2 0 000-4zm10 0a2 2 0 100 4 2 2 0 000-4zM3 3h2l3 12h11l3-8H7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a2 2 0 100 4 2 2 0 000-4zm10 0a2 2 0 100 4 2 2 0 000-4zM3 3h2l3 12h11l3-8H7z'/%3E%3C/svg%3E"); }
.ico-user     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-4.4 0-8 2.5-8 5.5V22h16v-2.5c0-3-3.6-5.5-8-5.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-4.4 0-8 2.5-8 5.5V22h16v-2.5c0-3-3.6-5.5-8-5.5z'/%3E%3C/svg%3E"); }
.ico-search   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 105.3 14l4.6 4.6 1.4-1.4-4.6-4.6A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 105.3 14l4.6 4.6 1.4-1.4-4.6-4.6A8 8 0 0010 2zm0 2a6 6 0 110 12 6 6 0 010-12z'/%3E%3C/svg%3E"); }
.ico-heart    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-4.8-8-11a4.6 4.6 0 018-3 4.6 4.6 0 018 3c0 6.2-8 11-8 11z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-4.8-8-11a4.6 4.6 0 018-3 4.6 4.6 0 018 3c0 6.2-8 11-8 11z'/%3E%3C/svg%3E"); }
.ico-phone    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2h3l1.6 4-2 1.5a12 12 0 006.3 6.3L17 11.8 21 13.4v3c0 1-.8 2-2 2C10.7 18.4 5.6 13.3 5.5 5c0-1.6.3-3 1.1-3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2h3l1.6 4-2 1.5a12 12 0 006.3 6.3L17 11.8 21 13.4v3c0 1-.8 2-2 2C10.7 18.4 5.6 13.3 5.5 5c0-1.6.3-3 1.1-3z'/%3E%3C/svg%3E"); }
.ico-mobile   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v20H7zM9 4v14h6V4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v20H7zM9 4v14h6V4z'/%3E%3C/svg%3E"); }
.ico-mail     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm2 2v.5l8 5 8-5V7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm2 2v.5l8 5 8-5V7z'/%3E%3C/svg%3E"); }
.ico-pin      { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 00-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 1112 6a2.5 2.5 0 010 5.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 00-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 1112 6a2.5 2.5 0 010 5.5z'/%3E%3C/svg%3E"); }
.ico-clock    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 10V6h-2v7h6v-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 10V6h-2v7h6v-2z'/%3E%3C/svg%3E"); }
.ico-grid     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z'/%3E%3C/svg%3E"); }
.ico-filter   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v6l-4 2v-8z'/%3E%3C/svg%3E"); }
.ico-check    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.ico-alert    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22zM11 9h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22zM11 9h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E"); }
.ico-info     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-6h2zm0-8h-2V7h2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-6h2zm0-8h-2V7h2z'/%3E%3C/svg%3E"); }
.ico-truck    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h11v9H3zm12 3h4l3 3v3h-7zM7.5 19a2 2 0 100-4 2 2 0 000 4zm11 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h11v9H3zm12 3h4l3 3v3h-7zM7.5 19a2 2 0 100-4 2 2 0 000 4zm11 0a2 2 0 100-4 2 2 0 000 4z'/%3E%3C/svg%3E"); }
.ico-shield   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5z'/%3E%3C/svg%3E"); }
.ico-refresh  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5V2L8 6l4 4V7a5 5 0 11-5 5H5a7 7 0 107-7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5V2L8 6l4 4V7a5 5 0 11-5 5H5a7 7 0 107-7z'/%3E%3C/svg%3E"); }
.ico-credit-card { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm0 4v2h20V9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm0 4v2h20V9z'/%3E%3C/svg%3E"); }
.ico-wallet   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h15a3 3 0 013 3v9H3zm12 6a2 2 0 100 4 2 2 0 000-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h15a3 3 0 013 3v9H3zm12 6a2 2 0 100 4 2 2 0 000-4z'/%3E%3C/svg%3E"); }
.ico-chevron-left  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 5l-7 7 7 7 1.4-1.4L10.8 12 16.4 6.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 5l-7 7 7 7 1.4-1.4L10.8 12 16.4 6.4z'/%3E%3C/svg%3E"); }
.ico-chevron-down  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.5L5.5 9 7 7.6l5 5 5-5L18.5 9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 15.5L5.5 9 7 7.6l5 5 5-5L18.5 9z'/%3E%3C/svg%3E"); }
.ico-trash    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4zM6 8h12l-1 13H7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4zM6 8h12l-1 13H7z'/%3E%3C/svg%3E"); }
.ico-star     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6.5 7 .9-5 4.8 1.3 7L12 17.9 5.7 21.2 7 14.2 2 9.4l7-.9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6.5 7 .9-5 4.8 1.3 7L12 17.9 5.7 21.2 7 14.2 2 9.4l7-.9z'/%3E%3C/svg%3E"); }
.ico-print    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v4H7zM4 8h16v8h-3v5H7v-5H4zm5 8h6v4H9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10v4H7zM4 8h16v8h-3v5H7v-5H4zm5 8h6v4H9z'/%3E%3C/svg%3E"); }
.ico-file     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l6 6v14H6zm7 1.5V9h5.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l6 6v14H6zm7 1.5V9h5.5z'/%3E%3C/svg%3E"); }
.ico-box      { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4zm9 2.2L6.4 7 3 8.5 12 11l9-2.5L17.6 7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4zm9 2.2L6.4 7 3 8.5 12 11l9-2.5L17.6 7z'/%3E%3C/svg%3E"); }
.ico-bell     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2.5 2.5 0 002.5-2.5h-5A2.5 2.5 0 0012 22zm7-6v-5a7 7 0 10-14 0v5l-2 2v1h18v-1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2.5 2.5 0 002.5-2.5h-5A2.5 2.5 0 0012 22zm7-6v-5a7 7 0 10-14 0v5l-2 2v1h18v-1z'/%3E%3C/svg%3E"); }
.ico-lock     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V8a6 6 0 1112 0v2h2v12H4V10zm3 0h6V8a3 3 0 00-6 0z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V8a6 6 0 1112 0v2h2v12H4V10zm3 0h6V8a3 3 0 00-6 0z'/%3E%3C/svg%3E"); }
.ico-logout   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3H4v18h6v-2H6V5h4zM17 8l-1.4 1.4L17.2 11H9v2h8.2l-1.6 1.6L17 16l4-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3H4v18h6v-2H6V5h4zM17 8l-1.4 1.4L17.2 11H9v2h8.2l-1.6 1.6L17 16l4-4z'/%3E%3C/svg%3E"); }
.ico-ticket   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18v4a2 2 0 000 4v4H3v-4a2 2 0 000-4zm4 3v2h2V9zm5 0v2h2V9zm5 0v2h2V9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18v4a2 2 0 000 4v4H3v-4a2 2 0 000-4zm4 3v2h2V9zm5 0v2h2V9zm5 0v2h2V9z'/%3E%3C/svg%3E"); }
.ico-instagram{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 015 5v10a5 5 0 01-5 5H7a5 5 0 01-5-5V7a5 5 0 015-5zm5 5a5 5 0 100 10 5 5 0 000-10zm5.5-2.5a1 1 0 100 2 1 1 0 000-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 015 5v10a5 5 0 01-5 5H7a5 5 0 01-5-5V7a5 5 0 015-5zm5 5a5 5 0 100 10 5 5 0 000-10zm5.5-2.5a1 1 0 100 2 1 1 0 000-2z'/%3E%3C/svg%3E"); }
.ico-telegram { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 3L2 10.5l5 2L18 8l-8 7.5V22l3.5-4 5 4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 3L2 10.5l5 2L18 8l-8 7.5V22l3.5-4 5 4z'/%3E%3C/svg%3E"); }
.ico-whatsapp { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 00-8.6 15L2 22l5.2-1.4A10 10 0 1012 2zm0 3a7 7 0 015.7 11.3l-.4.5-1.2 3-2.7-1.5-.6.3A7 7 0 1112 5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 00-8.6 15L2 22l5.2-1.4A10 10 0 1012 2zm0 3a7 7 0 015.7 11.3l-.4.5-1.2 3-2.7-1.5-.6.3A7 7 0 1112 5z'/%3E%3C/svg%3E"); }
.ico-youtube  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 8s-.2-1.6-.8-2.3c-.8-.8-1.7-.8-2.1-.9C16.2 4.6 12 4.6 12 4.6s-4.2 0-7.1.2c-.4 0-1.3.1-2.1.9C2.2 6.4 2 8 2 8s-.2 1.9-.2 3.8v1.3c0 1.9.2 3.8.2 3.8s.2 1.6.8 2.3c.8.8 1.8.8 2.3.9 1.7.2 6.9.2 6.9.2s4.2 0 7.1-.2c.4 0 1.3-.1 2.1-.9.6-.7.8-2.3.8-2.3s.2-1.9.2-3.8v-1.3c0-1.9-.2-3.8-.2-3.8zM10 14.6V9.4l5.2 2.6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 8s-.2-1.6-.8-2.3c-.8-.8-1.7-.8-2.1-.9C16.2 4.6 12 4.6 12 4.6s-4.2 0-7.1.2c-.4 0-1.3.1-2.1.9C2.2 6.4 2 8 2 8s-.2 1.9-.2 3.8v1.3c0 1.9.2 3.8.2 3.8s.2 1.6.8 2.3c.8.8 1.8.8 2.3.9 1.7.2 6.9.2 6.9.2s4.2 0 7.1-.2c.4 0 1.3-.1 2.1-.9.6-.7.8-2.3.8-2.3s.2-1.9.2-3.8v-1.3c0-1.9-.2-3.8-.2-3.8zM10 14.6V9.4l5.2 2.6z'/%3E%3C/svg%3E"); }
.ico-twitter  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 5.9c-.7.3-1.5.6-2.4.7.8-.5 1.5-1.3 1.8-2.3-.8.5-1.7.8-2.6 1a4.1 4.1 0 00-7 3.8A11.7 11.7 0 013.3 4.8a4.1 4.1 0 001.3 5.5c-.7 0-1.3-.2-1.9-.5a4.1 4.1 0 003.3 4.1c-.6.2-1.2.2-1.8.1a4.1 4.1 0 003.8 2.9A8.3 8.3 0 012 19.5a11.7 11.7 0 006.3 1.8c7.5 0 11.7-6.3 11.7-11.7v-.6c.8-.6 1.5-1.3 2-2.1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 5.9c-.7.3-1.5.6-2.4.7.8-.5 1.5-1.3 1.8-2.3-.8.5-1.7.8-2.6 1a4.1 4.1 0 00-7 3.8A11.7 11.7 0 013.3 4.8a4.1 4.1 0 001.3 5.5c-.7 0-1.3-.2-1.9-.5a4.1 4.1 0 003.3 4.1c-.6.2-1.2.2-1.8.1a4.1 4.1 0 003.8 2.9A8.3 8.3 0 012 19.5a11.7 11.7 0 006.3 1.8c7.5 0 11.7-6.3 11.7-11.7v-.6c.8-.6 1.5-1.3 2-2.1z'/%3E%3C/svg%3E"); }
.ico-facebook { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-8h2.7l.4-3.2h-3.1V8.7c0-.9.3-1.6 1.6-1.6h1.7V4.2c-.3 0-1.3-.1-2.5-.1-2.5 0-4.2 1.5-4.2 4.3v2.4H7.4V14h2.7v8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-8h2.7l.4-3.2h-3.1V8.7c0-.9.3-1.6 1.6-1.6h1.7V4.2c-.3 0-1.3-.1-2.5-.1-2.5 0-4.2 1.5-4.2 4.3v2.4H7.4V14h2.7v8z'/%3E%3C/svg%3E"); }
.ico-linkedin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 11-.02 5 2.5 2.5 0 01.02-5zM3 9h4v12H3zm7 0h3.8v1.7h.1c.5-1 1.8-2 3.7-2 4 0 4.7 2.6 4.7 6V21h-4v-5.5c0-1.3 0-3-1.8-3s-2.1 1.4-2.1 2.9V21h-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 11-.02 5 2.5 2.5 0 01.02-5zM3 9h4v12H3zm7 0h3.8v1.7h.1c.5-1 1.8-2 3.7-2 4 0 4.7 2.6 4.7 6V21h-4v-5.5c0-1.3 0-3-1.8-3s-2.1 1.4-2.1 2.9V21h-4z'/%3E%3C/svg%3E"); }
.ico-money    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 4v1.5c1.6.2 2.8 1 3.2 2.5h-2.2c-.3-.6-.9-1-2-1-1.2 0-1.8.5-1.8 1.2 0 .7.5 1 2 1.4 2.2.5 3.6 1.2 3.6 3.1 0 1.6-1.2 2.6-2.8 2.8V18h-2v-1.4c-1.8-.2-3-1.1-3.4-2.7h2.2c.3.7 1 1.1 2.1 1.1 1.3 0 1.9-.5 1.9-1.3 0-.7-.5-1.1-2-1.5-2.2-.5-3.5-1.2-3.5-3 0-1.5 1.1-2.5 2.7-2.7V6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 4v1.5c1.6.2 2.8 1 3.2 2.5h-2.2c-.3-.6-.9-1-2-1-1.2 0-1.8.5-1.8 1.2 0 .7.5 1 2 1.4 2.2.5 3.6 1.2 3.6 3.1 0 1.6-1.2 2.6-2.8 2.8V18h-2v-1.4c-1.8-.2-3-1.1-3.4-2.7h2.2c.3.7 1 1.1 2.1 1.1 1.3 0 1.9-.5 1.9-1.3 0-.7-.5-1.1-2-1.5-2.2-.5-3.5-1.2-3.5-3 0-1.5 1.1-2.5 2.7-2.7V6z'/%3E%3C/svg%3E"); }
.ico-card     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm2 3v2h16V8zm2 6v4h4v-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5h20v14H2zm2 3v2h16V8zm2 6v4h4v-4z'/%3E%3C/svg%3E"); }
.ico-bike     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13a4 4 0 100 8 4 4 0 000-8zm14 0a4 4 0 100 8 4 4 0 000-8zM5 11a6 6 0 016 5.9V20h2v-3.1A6 6 0 0113 11h3l2 4h3v-2h-1.7l-2.6-5H11v2h6.4l1.1 2.1A6 6 0 0012 13z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13a4 4 0 100 8 4 4 0 000-8zm14 0a4 4 0 100 8 4 4 0 000-8zM5 11a6 6 0 016 5.9V20h2v-3.1A6 6 0 0113 11h3l2 4h3v-2h-1.7l-2.6-5H11v2h6.4l1.1 2.1A6 6 0 0012 13z'/%3E%3C/svg%3E"); }
.ico-box-store { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16l1 5v13H3V8zm2 5v11h12V8zM7 11h10v2H7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16l1 5v13H3V8zm2 5v11h12V8zM7 11h10v2H7z'/%3E%3C/svg%3E"); }
.ico-edit     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.2V21h3.8L17.8 10 14 6.2zM20.7 7.1a1 1 0 000-1.4l-2.4-2.4a1 1 0 00-1.4 0l-1.9 1.9 3.8 3.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.2V21h3.8L17.8 10 14 6.2zM20.7 7.1a1 1 0 000-1.4l-2.4-2.4a1 1 0 00-1.4 0l-1.9 1.9 3.8 3.8z'/%3E%3C/svg%3E"); }
.ico-plus     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E"); }
.ico-chart    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V10h4v10zm6 0V4h4v16zm6 0v-7h4v7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V10h4v10zm6 0V4h4v16zm6 0v-7h4v7z'/%3E%3C/svg%3E"); }
.ico-cog      { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8a4 4 0 100 8 4 4 0 000-8zm9 4l-2-1.2.3-2.3-2.2-1L15.7 5 13.6 4l-.6 2.4-2.3.8L8.4 5.5 6.2 6.6l.8 2.3-1.2 2.1 1.2 2.2-.8 2.3 2.2 1.1 2.3-1.7 2.3.8.6 2.4h2.1l.6-2.4 2.3-.8 2.3 1.7 2.2-1.1-.8-2.3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8a4 4 0 100 8 4 4 0 000-8zm9 4l-2-1.2.3-2.3-2.2-1L15.7 5 13.6 4l-.6 2.4-2.3.8L8.4 5.5 6.2 6.6l.8 2.3-1.2 2.1 1.2 2.2-.8 2.3 2.2 1.1 2.3-1.7 2.3.8.6 2.4h2.1l.6-2.4 2.3-.8 2.3 1.7 2.2-1.1-.8-2.3z'/%3E%3C/svg%3E"); }
/* دسته‌بندی‌ها */
.ico-mobile   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v20H7zm2 2v14h6V4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v20H7zm2 2v14h6V4z'/%3E%3C/svg%3E"); }
.ico-tablet   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16v18H4zm2 2v14h12V5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3h16v18H4zm2 2v14h12V5z'/%3E%3C/svg%3E"); }
.ico-laptop   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v10H4zm-2 12h20l-2 3H4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v10H4zm-2 12h20l-2 3H4z'/%3E%3C/svg%3E"); }
.ico-home     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3z'/%3E%3C/svg%3E"); }
.ico-fashion  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3l4 2 4-2 5 3-3 4-2-1v12H8V9l-2 1-3-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3l4 2 4-2 5 3-3 4-2-1v12H8V9l-2 1-3-4z'/%3E%3C/svg%3E"); }
.ico-beauty   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 5.8L20 10l-5.8 2.2L12 18l-2.2-5.8L4 10l5.8-2.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 5.8L20 10l-5.8 2.2L12 18l-2.2-5.8L4 10l5.8-2.2z'/%3E%3C/svg%3E"); }
.ico-sports   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 3a7 7 0 110 14 7 7 0 010-14zM4 12h16M12 4c3 3 3 13 0 16-3-3-3-13 0-16z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 3a7 7 0 110 14 7 7 0 010-14zM4 12h16M12 4c3 3 3 13 0 16-3-3-3-13 0-16z'/%3E%3C/svg%3E"); }
.ico-vacuum   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 4a6 6 0 110 12 6 6 0 010-12zm0 4a2 2 0 100 4 2 2 0 000-4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 4a6 6 0 110 12 6 6 0 010-12zm0 4a2 2 0 100 4 2 2 0 000-4z'/%3E%3C/svg%3E"); }
.ico-washer   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2h16v20H4zm2 2v16h12V4zm4 6a4 4 0 110 8 4 4 0 010-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2h16v20H4zm2 2v16h12V4zm4 6a4 4 0 110 8 4 4 0 010-8z'/%3E%3C/svg%3E"); }
.ico-folder   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h6l2 2h10v12H3zm2 2v10h14V9h-8l-2-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h6l2 2h10v12H3zm2 2v10h14V9h-8l-2-2z'/%3E%3C/svg%3E"); }
.ico-image    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v16H3zm2 2v12h14V6zm2 9l3-4 3 4 2-2 4 5H7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v16H3zm2 2v12h14V6zm2 9l3-4 3 4 2-2 4 5H7z'/%3E%3C/svg%3E"); }
.ico-list     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h4v4H3zm6 1h12v2H9zM3 11h4v4H3zm6 1h12v2H9zM3 17h4v4H3zm6 1h12v2H9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h4v4H3zm6 1h12v2H9zM3 11h4v4H3zm6 1h12v2H9zM3 17h4v4H3zm6 1h12v2H9z'/%3E%3C/svg%3E"); }
.ico-eye      { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-7 0-10 7-10 7s3 7 10 7 10-7 10-7-3-7-10-7zm0 12a5 5 0 110-10 5 5 0 010 10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c-7 0-10 7-10 7s3 7 10 7 10-7 10-7-3-7-10-7zm0 12a5 5 0 110-10 5 5 0 010 10z'/%3E%3C/svg%3E"); }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: calc(var(--radius) - 4px);
    background: var(--surface); color: var(--dark); font-weight: 600; cursor: pointer;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
    line-height: 1.6; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(225, 29, 72, .25); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--outline { border-color: var(--border); background: var(--surface); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--accent); }
.btn--danger { background: #dc2626; color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--sm { padding: .4rem .8rem; font-size: .85rem; }
.btn--lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--icon { padding: .45rem; width: 36px; height: 36px; }
.btn--icon-lg { padding: .6rem; width: 46px; height: 46px; font-size: 1.1rem; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent;
    color: inherit; cursor: pointer; font-size: 1.1rem; position: relative;
}
.icon-btn:hover { background: rgba(15, 23, 42, .06); }
.icon-btn--danger { color: #dc2626; }

/* ---------------- Topbar & Header ---------------- */
.topbar { background: var(--dark); color: #cbd5e1; font-size: .8rem; display: none; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__contact, .topbar__links { display: flex; gap: 1rem; }
.topbar a:hover { color: #fff; }

.header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 60; }
.theme-gradient .header { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.theme-transparent .header { background: transparent; }
.header__inner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.header__burger { display: inline-flex; flex-direction: column; gap: 4px; }
.header__burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.header__logo { flex-shrink: 0; }
.header__logo img { max-height: 40px; width: auto; }
.header__logo-text { font-weight: 800; font-size: 1.15rem; color: var(--accent); }
.header__search { display: none; flex: 1; position: relative; }
.header__search input {
    width: 100%; border: 1px solid var(--border); background: var(--bg);
    border-radius: 999px; padding: .55rem 2.4rem .55rem 1rem; outline: none;
}
.header__search input:focus { border-color: var(--accent); background: var(--surface); }
.header__search button {
    position: absolute; inset-inline-start: 6px; top: 50%; transform: translateY(-50%);
    border: 0; background: none; color: var(--muted); cursor: pointer; padding: .35rem;
}
.header__actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.header__action-text { display: none; font-size: .8rem; }
.badge {
    position: absolute; top: 2px; inset-inline-end: 2px; min-width: 18px; height: 18px;
    background: var(--accent); color: #fff; border-radius: 999px; font-size: .68rem;
    display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 700;
}

.nav { display: none; background: var(--surface); border-top: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; gap: 1rem; }
.nav__categories-btn {
    display: inline-flex; align-items: center; gap: .5rem; border: 0; cursor: pointer;
    background: var(--accent); color: #fff; padding: .55rem 1rem; border-radius: calc(var(--radius) - 6px); font-weight: 600;
}
.nav__list { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__item { position: relative; }
.nav__item > a { display: block; padding: .7rem .8rem; font-weight: 500; white-space: nowrap; }
.nav__item:hover > a { color: var(--accent); }
.nav__submenu {
    position: absolute; top: 100%; inset-inline-start: 0; background: var(--surface); min-width: 200px;
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 20;
}
.nav__item:hover .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__submenu a { display: block; padding: .5rem .7rem; border-radius: 8px; font-size: .9rem; }
.nav__submenu a:hover { background: var(--bg); color: var(--accent); }
.nav__item--mobile-only { display: none; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); }
.drawer__panel {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: min(300px, 85vw);
    background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
    animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--border); }
.drawer__body { padding: .5rem 0; overflow-y: auto; }
.drawer__list a { display: block; padding: .75rem 1.1rem; border-bottom: 1px solid var(--bg); }
.drawer__list a:hover { background: var(--bg); color: var(--accent); }

/* ---------------- Alerts ---------------- */
.alert {
    display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: var(--radius);
    margin: .8rem 0; border: 1px solid transparent; font-size: .92rem; position: relative;
}
.alert--success { background: #dcfce7; color: #166534; border-color: #86efac; }
.alert--danger { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.alert--info { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.alert__close { margin-inline-start: auto; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: inherit; }

.maintenance-notice { text-align: center; padding: 2rem 1rem; background: #fef3c7; color: #92400e; }

/* ---------------- Hero ---------------- */
.hero { padding: 14px 0 0; }
.hero__grid { display: grid; gap: 14px; }
.hero__side { display: none; }
.hero__side-banner { position: relative; display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.hero__side-banner img { width: 100%; height: 100%; object-fit: cover; }
.hero__side-banner span {
    position: absolute; inset-block-end: 0; inset-inline: 0; padding: .6rem .8rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-weight: 600; font-size: .9rem;
}
.hero__slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.hero__track { display: flex; transition: transform .45s cubic-bezier(.4, 0, .2, 1); direction: ltr; }
.hero__slide { position: relative; flex: 0 0 100%; min-width: 100%; direction: rtl; }
.hero__slide img { width: 100%; height: 210px; object-fit: cover; }
.hero__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 1.2rem; color: #fff; }
.hero__title { font-size: 1.35rem; margin: 0 0 .3rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.hero__subtitle { font-size: .85rem; margin-bottom: .8rem; max-width: 420px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.hero__nav {
    position: absolute; top: 50%; margin-top: -17px;
    width: 34px; height: 34px;
    border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--dark);
    font-size: 1.4rem; cursor: pointer; display: none; align-items: center; justify-content: center;
}
.hero__nav--prev { inset-inline-start: 10px; }
.hero__nav--next { inset-inline-end: 10px; }
[dir="rtl"] .hero__nav--prev i { transform: scaleX(-1); }
[dir="ltr"] .hero__nav--next i { transform: scaleX(-1); }
.hero__dots { position: absolute; inset-block-end: 10px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; padding: 0; }
.hero__dots button.is-active { background: #fff; width: 22px; border-radius: 999px; }

/* ---------------- Features ---------------- */
.features { padding: 14px 0; }
.features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature {
    display: flex; align-items: center; gap: .7rem; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem;
}
.feature__icon {
    width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.feature h3 { font-size: .92rem; margin: 0; }
.feature p { font-size: .74rem; color: var(--muted); margin: 0; }

/* ---------------- Sections ---------------- */
.section { padding: 26px 0; }
.section--tinted { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; gap: 1rem; }
.section__title { font-size: 1.15rem; margin: 0; position: relative; padding-inline-start: .7rem; }
.section__title::before {
    content: ''; position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 70%; background: var(--accent); border-radius: 4px;
}
.section__more { font-size: .85rem; color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ---------------- Category grid ---------------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.category-grid--large { grid-template-columns: repeat(2, 1fr); }
.category-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1rem .6rem; text-align: center; transition: .2s; display: block;
}
.category-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.category-card__icon {
    width: 48px; height: 48px; margin: 0 auto .5rem; border-radius: 14px;
    background: var(--accent-soft); color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.category-card h3 { font-size: .86rem; margin: 0 0 .2rem; }
.category-card small { color: var(--muted); font-size: .74rem; }
.category-card__children { margin-top: .5rem; font-size: .74rem; color: var(--muted); }
.category-card__children li { padding: .1rem 0; }

/* ---------------- Product grid & card ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: .2s; position: relative;
}
.cards-shadow .product-card { box-shadow: var(--shadow-sm); }
.product-card:hover { border-color: var(--accent-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card__media { position: relative; display: block; background: var(--bg); }
.product-card__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-card__badge {
    position: absolute; top: 8px; inset-inline-start: 8px; padding: .18rem .55rem; border-radius: 999px;
    font-size: .7rem; font-weight: 700; color: #fff; z-index: 2;
}
.product-card__badge--discount { background: #dc2626; }
.product-card__badge--new { background: var(--accent); }
.product-card__badge--out { background: #64748b; inset-inline-start: auto; inset-inline-end: 8px; }
.product-card__actions {
    position: absolute; inset-inline: 8px; bottom: 8px; display: flex; gap: 6px;
    opacity: 0; transform: translateY(8px); transition: .22s;
}
.product-card:hover .product-card__actions { opacity: 1; transform: translateY(0); }
.product-card__add-form { flex: 1; }
.product-card__add-form .btn { width: 100%; }
.product-card__body { padding: .7rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card__brand { font-size: .7rem; color: var(--muted); }
.product-card__title { font-size: .88rem; margin: 0; font-weight: 600; line-height: 1.6; }
.product-card__title a:hover { color: var(--accent); }
.product-card__rating { display: flex; align-items: center; gap: .3rem; font-size: .74rem; color: var(--muted); }
.stars { color: #f59e0b; letter-spacing: 1px; font-size: .85rem; }
.product-card__price { margin-top: auto; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price { font-weight: 700; }
.price--final { color: var(--accent); font-size: 1rem; }
.price--old { color: var(--muted); text-decoration: line-through; font-size: .78rem; font-weight: 400; }
.product-card__stock { font-size: .74rem; }
.stock--in { color: #16a34a; }
.stock--out { color: #dc2626; }

/* ---------------- Tabs ---------------- */
.tabs { display: flex; gap: .4rem; margin-bottom: 1.1rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn {
    border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
    padding: .45rem 1.1rem; cursor: pointer; font-weight: 600; white-space: nowrap; font-size: .88rem;
}
.tabs__btn.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tabs--underline { border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.tabs--underline .tabs__btn { border: 0; background: none; border-radius: 0; }
.tabs--underline .tabs__btn.is-active { background: none; color: var(--accent); border-bottom: 2px solid var(--accent); }
.is-hidden { display: none !important; }

/* ---------------- Page head & breadcrumb ---------------- */
.page-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; padding: 1.2rem 0 .8rem; }
.page-head h1 { font-size: 1.25rem; margin: 0; }
.page-head__count { color: var(--muted); font-size: .85rem; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); padding-top: .8rem; flex-wrap: wrap; }
.breadcrumb__sep { opacity: .5; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------------- Shop layout ---------------- */
.shop-layout { display: grid; gap: 14px; }
.shop-sidebar { display: none; }
.shop-sidebar__inner {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem;
    position: sticky; top: 90px;
}
.filter-head { display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--border); padding-bottom: .7rem; margin-bottom: .7rem; }
.filter-head h3 { font-size: .95rem; margin: 0; display: flex; align-items: center; gap: .4rem; }
.filter-head__reset { margin-inline-start: auto; font-size: .76rem; color: var(--muted); }
.filter-head__close { display: none; margin-inline-start: auto; }
.filter-box { border-bottom: 1px solid var(--border); padding-bottom: .8rem; margin-bottom: .8rem; }
.filter-box h4 { font-size: .85rem; margin: 0 0 .5rem; }
.filter-list li a { display: flex; justify-content: space-between; padding: .3rem 0; font-size: .85rem; }
.filter-list li a:hover, .filter-list li a.is-active { color: var(--accent); }
.filter-list--check label { display: flex; align-items: center; gap: .45rem; padding: .25rem 0; font-size: .85rem; cursor: pointer; }
.filter-price { display: flex; align-items: center; gap: .4rem; }
.filter-price input {
    width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: .35rem .5rem; outline: none; min-width: 0;
}
.filter-check { display: flex; align-items: center; gap: .5rem; font-size: .85rem; margin-bottom: .8rem; cursor: pointer; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
.shop-toolbar__sort { display: flex; align-items: center; gap: .4rem; font-size: .82rem; }
.shop-toolbar__sort select { border: 1px solid var(--border); border-radius: 8px; padding: .35rem .5rem; background: var(--surface); }

/* ---------------- Product detail ---------------- */
.product-detail { display: grid; gap: 16px; }
.product-gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.product-gallery__main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.product-gallery__thumb { border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; background: none; cursor: pointer; flex-shrink: 0; }
.product-gallery__thumb.is-active { border-color: var(--accent); }
.product-gallery__thumb img { width: 62px; height: 62px; object-fit: cover; }
.product-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.product-info__brand { display: inline-block; font-size: .78rem; color: var(--accent); font-weight: 600; }
.product-info__title { font-size: 1.15rem; margin: .3rem 0; }
.product-info__rating { display: flex; align-items: center; gap: .5rem; font-size: .82rem; margin-bottom: .5rem; }
.product-info__rating a { color: var(--muted); }
.product-info__meta { font-size: .78rem; color: var(--muted); }
.product-info__summary { color: var(--muted); font-size: .88rem; }
.product-info__price { display: flex; align-items: baseline; gap: .6rem; margin: .8rem 0; padding: .7rem 0; border-block: 1px dashed var(--border); }
.product-info__price .price--final { font-size: 1.35rem; }
.price__off { background: #dc2626; color: #fff; font-size: .75rem; padding: .1rem .45rem; border-radius: 6px; }
.product-info__attributes { display: grid; gap: .35rem; margin-bottom: .8rem; }
.product-info__attribute { display: flex; gap: .4rem; font-size: .84rem; }
.product-info__attribute span { color: var(--muted); }
.variant-picker { margin-bottom: .8rem; }
.variant-picker__group { margin-bottom: .6rem; }
.variant-picker__label { font-size: .84rem; color: var(--muted); display: block; margin-bottom: .3rem; }
.variant-picker__options { display: flex; flex-wrap: wrap; gap: 6px; }
.variant-picker__option {
    border: 1px solid var(--border); background: var(--surface); border-radius: 999px;
    padding: .3rem .85rem; font-size: .82rem; cursor: pointer;
}
.variant-picker__option.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.variant-picker__option.is-disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.product-info__qty { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .9rem; font-size: .88rem; }
.qty-control { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.qty-control button { border: 0; background: var(--bg); width: 34px; height: 36px; cursor: pointer; font-size: 1rem; }
.qty-control button:hover { background: var(--accent-soft); }
.qty-control input { width: 52px; border: 0; text-align: center; outline: none; height: 36px; }
.qty-control--sm button { width: 28px; height: 30px; font-size: .9rem; }
.qty-control--sm input { width: 42px; height: 30px; font-size: .85rem; }
.product-info__actions { display: flex; gap: 8px; }
.product-info__actions .btn--block { flex: 1; }
.product-info__trust { list-style: none; padding: .8rem 0 0; margin: .8rem 0 0; border-top: 1px solid var(--border); display: grid; gap: .4rem; font-size: .82rem; color: var(--muted); }
.product-info__trust li { display: flex; align-items: center; gap: .45rem; }

.rich-text { line-height: 2; }
.rich-text h1, .rich-text h2, .rich-text h3 { margin-top: 1.2rem; }
.rich-text ul { list-style: disc; padding-inline-start: 1.4rem; margin-bottom: 1rem; }
.rich-text ol { list-style: decimal; padding-inline-start: 1.4rem; margin-bottom: 1rem; }
.rich-text table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.rich-text td, .rich-text th { border: 1px solid var(--border); padding: .5rem; }

/* ---------------- Tables / forms ---------------- */
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1rem; margin-bottom: 14px;
}
.card--center { max-width: 460px; margin-inline: auto; text-align: center; }
.card__title { font-size: 1rem; margin: 0 0 .9rem; display: flex; align-items: center; gap: .45rem; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }

.field { display: block; margin-bottom: .8rem; }
.field > span { display: block; font-size: .82rem; margin-bottom: .3rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: .55rem .75rem;
    background: var(--surface); outline: none; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225, 29, 72, .1); }
.field--full { grid-column: 1 / -1; }
.field--inline { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }
.field--inline > span { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 .8rem; }
.form-select { border: 1px solid var(--border); border-radius: 10px; padding: .5rem .7rem; background: var(--surface); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 560px; }
.table th, .table td { padding: .6rem .5rem; border-bottom: 1px solid var(--border); text-align: right; vertical-align: middle; }
.table th { font-weight: 600; color: var(--muted); font-size: .8rem; background: var(--bg); }
.table tbody tr:hover { background: var(--bg); }
.table--specs th { width: 180px; background: transparent; }
.table-product { display: flex; align-items: center; gap: .5rem; }
.table-product img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }

.badge--success { background: #dcfce7; color: #166534; }
.badge--danger { background: #fee2e2; color: #991b1b; }
.badge--warning { background: #fef3c7; color: #92400e; }
.badge--info { background: #dbeafe; color: #1e40af; }
.badge--primary { background: #e0e7ff; color: #3730a3; }
.badge--secondary { background: #e2e8f0; color: #334155; }
.badge--dark { background: #334155; color: #f1f5f9; }
.badge { display: inline-block; padding: .18rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 600; }

/* ---------------- Cart ---------------- */
.cart-layout, .checkout-layout, .account-layout, .contact-layout { display: grid; gap: 14px; }
.cart-table__head { display: none; }
.cart-item {
    display: grid; grid-template-columns: 1fr auto; gap: .5rem;
    padding: .9rem 0; border-bottom: 1px solid var(--border); align-items: center;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__product { display: flex; gap: .6rem; align-items: flex-start; grid-column: 1 / -1; }
.cart-item__product img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item__product > div { display: flex; flex-direction: column; gap: .15rem; font-size: .87rem; }
.cart-item__product small { color: var(--muted); font-size: .75rem; }
.cart-item__price, .cart-item__total { font-weight: 600; font-size: .9rem; }
.cart-item__remove { justify-self: end; }
.cart-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .9rem; border-bottom: 1px dashed var(--border); }
.summary-row--discount { color: #16a34a; }
.summary-row--total { border-bottom: 0; font-size: 1rem; font-weight: 700; margin-top: .3rem; }
.summary-row--total strong { color: var(--accent); font-size: 1.1rem; }
.coupon-form { display: flex; gap: .5rem; margin: .9rem 0; }
.coupon-form input { flex: 1; border: 1px solid var(--border); border-radius: 10px; padding: .45rem .7rem; outline: none; min-width: 0; }
.coupon-applied { display: flex; align-items: center; gap: .5rem; background: #dcfce7; color: #166534; border-radius: 10px; padding: .5rem .7rem; margin: .9rem 0; font-size: .85rem; }
.cart-summary__trust { list-style: none; margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--border); display: grid; gap: .4rem; font-size: .8rem; color: var(--muted); }
.cart-summary__trust li { display: flex; gap: .4rem; align-items: center; }
.checkout-items { list-style: none; margin: 0 0 1rem; padding: 0; border-bottom: 1px solid var(--border); }
.checkout-items li { display: flex; gap: .6rem; align-items: center; padding: .55rem 0; }
.checkout-items img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.checkout-items li > div { flex: 1; display: flex; flex-direction: column; }
.checkout-items small { color: var(--muted); font-size: .78rem; }
.option-list { display: grid; gap: .6rem; }
.option {
    display: flex; align-items: center; gap: .7rem; border: 1px solid var(--border); border-radius: 12px;
    padding: .7rem .8rem; cursor: pointer; transition: .15s; background: var(--surface);
}
.option:hover { border-color: var(--accent-soft); }
.option input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.option__body { flex: 1; display: flex; flex-direction: column; }
.option__body small { color: var(--muted); font-size: .78rem; }
.option__price { font-weight: 700; font-size: .88rem; }
.option__icon { color: var(--accent); font-size: 1.2rem; }
.saved-addresses { margin-top: 1rem; border-top: 1px dashed var(--border); padding-top: .8rem; }
.saved-address {
    display: block; width: 100%; text-align: start; border: 1px solid var(--border); border-radius: 10px;
    padding: .6rem .8rem; margin-bottom: .5rem; cursor: pointer; background: var(--surface);
}
.saved-address:hover { border-color: var(--accent); }
.saved-address span { display: block; color: var(--muted); font-size: .8rem; }
.steps { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); }
.steps__item { display: flex; align-items: center; gap: .3rem; }
.steps__item i { width: 22px; height: 22px; border-radius: 50%; background: var(--border); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: .72rem; }
.steps__item.is-active { color: var(--accent); font-weight: 700; }
.steps__item.is-active i { background: var(--accent); color: #fff; }
.steps__item.is-done i { background: #16a34a; color: #fff; }
.steps__line { width: 18px; height: 1px; background: var(--border); }

/* ---------------- Account ---------------- */
.account-nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem; }
.account-nav__user { display: flex; align-items: center; gap: .6rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border); margin-bottom: .5rem; }
.account-nav__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.account-nav__user strong { display: block; font-size: .9rem; }
.account-nav__user small { color: var(--muted); font-size: .74rem; }
.account-nav__list a, .account-nav__logout {
    display: flex; align-items: center; gap: .5rem; padding: .55rem .6rem; border-radius: 10px;
    font-size: .88rem; width: 100%; border: 0; background: none; cursor: pointer; color: inherit; text-align: start;
}
.account-nav__list a:hover, .account-nav__logout:hover { background: var(--bg); color: var(--accent); }
.account-nav__list a.is-active { background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; }
.account-nav__logout { color: #dc2626; margin-top: .3rem; border-top: 1px solid var(--border); border-radius: 0; padding-top: .7rem; }
.stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem; display: flex; align-items: center; gap: .6rem; }
.stat-card__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.stat-card strong { display: block; font-size: 1rem; }
.stat-card small { color: var(--muted); font-size: .74rem; }
.notification-list li { border-bottom: 1px solid var(--border); }
.notification-list li:last-child { border-bottom: 0; }
.notification-list a { display: block; padding: .6rem 0; }
.notification-list li.is-unread a { border-inline-start: 3px solid var(--accent); padding-inline-start: .6rem; }
.notification-list p { margin: .1rem 0; font-size: .85rem; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0 0 1rem; }
.timeline li { display: flex; gap: .7rem; padding-bottom: 1rem; position: relative; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 6px; top: 16px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; z-index: 1; }
.timeline strong { display: block; font-size: .9rem; }
.timeline small { color: var(--muted); font-size: .75rem; }
.timeline p { margin: .2rem 0 0; font-size: .82rem; color: var(--muted); }
.order-meta { display: grid; gap: .35rem; font-size: .86rem; margin-bottom: 1rem; }
.order-meta span { color: var(--muted); }
.address-list { display: grid; gap: .7rem; }
.address-item { border: 1px solid var(--border); border-radius: 12px; padding: .8rem; display: flex; flex-direction: column; gap: .6rem; }
.address-item p { margin: .2rem 0; font-size: .85rem; }
.address-item small { color: var(--muted); font-size: .78rem; }
.address-item__actions { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ---------------- Auth ---------------- */
.auth-card { display: grid; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.auth-card__side { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; padding: 1.6rem 1.2rem; }
.auth-card__side h2 { font-size: 1.25rem; }
.auth-card__points { margin-top: 1rem; display: grid; gap: .5rem; font-size: .88rem; }
.auth-card__points li { display: flex; gap: .4rem; align-items: center; }
.auth-card__form { padding: 1.4rem 1.2rem; }
.auth-card__form h3 { font-size: 1.05rem; }
.auth-card__row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.auth-card__footer { text-align: center; margin: .9rem 0 0; font-size: .88rem; color: var(--muted); }
.auth-card__footer a { color: var(--accent); font-weight: 600; }

/* ---------------- Empty / success ---------------- */
.empty-state { text-align: center; padding: 2.5rem 1rem; }
.empty-state--lg { padding: 4rem 1rem; }
.empty-state__code { font-size: 3rem; font-weight: 800; color: var(--accent); display: block; line-height: 1; }
.empty-state > i.ico { font-size: 3rem; color: var(--muted); margin-bottom: .8rem; }
.empty-state h3 { font-size: 1.05rem; }
.success-box { text-align: center; padding: 2rem 1rem; }
.success-box__icon { width: 70px; height: 70px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: .8rem; }
.success-box__actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* ---------------- Pagination ---------------- */
.pagination { display: flex; justify-content: center; gap: .3rem; margin-top: 1.4rem; flex-wrap: wrap; }
.pagination__btn { min-width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .6rem; font-size: .85rem; background: var(--surface); }
.pagination__btn:hover { border-color: var(--accent); color: var(--accent); }
.pagination__btn--active { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination__dots { align-self: center; padding: 0 .3rem; color: var(--muted); }

/* ---------------- About / stats ---------------- */
.about { display: grid; gap: 1.4rem; }
.about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .9rem; text-align: center; }
.stat strong { display: block; font-size: 1.4rem; color: var(--accent); }
.stat span { color: var(--muted); font-size: .8rem; }
.testimonial-grid { display: grid; gap: .8rem; }
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; margin: 0; }
.testimonial blockquote { margin: .5rem 0; font-size: .88rem; color: var(--muted); }
.testimonial figcaption strong { display: block; font-size: .88rem; }
.testimonial figcaption small { color: var(--muted); font-size: .76rem; }
.post-grid { display: grid; gap: 1rem; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card__body { padding: .9rem; }
.post-card__date { font-size: .75rem; color: var(--muted); }
.post-card__body h3 { font-size: .98rem; margin: .3rem 0; }
.post-card__body p { font-size: .85rem; color: var(--muted); }
.post-card__more { font-size: .84rem; color: var(--accent); font-weight: 600; }
.post-single__image { width: 100%; border-radius: var(--radius) var(--radius) 0 0; }

/* ---------------- Footer ---------------- */
.footer { background: var(--dark); color: #cbd5e1; margin-top: 30px; }
.footer__newsletter { padding-block: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.newsletter { display: grid; gap: 1rem; text-align: center; }
.newsletter h3 { font-size: 1.05rem; color: #fff; margin-bottom: .3rem; }
.newsletter p { font-size: .84rem; margin: 0; }
.newsletter__form { display: flex; gap: .5rem; max-width: 420px; margin: 0 auto; }
.newsletter__form input { flex: 1; border-radius: 10px; border: 0; padding: .6rem .9rem; outline: none; min-width: 0; }
.footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; padding-block: 24px; }
.footer__col h4 { font-size: .95rem; color: #fff; margin-bottom: .7rem; }
.footer__about { font-size: .82rem; }
.footer__contact { display: grid; gap: .4rem; font-size: .8rem; }
.footer__contact li { display: flex; gap: .45rem; align-items: flex-start; }
.footer__links { display: grid; gap: .35rem; font-size: .82rem; }
.footer__links a:hover { color: var(--accent); }
.footer__social { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer__social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; }
.footer__social a:hover { background: var(--accent); color: #fff; }
.footer__trust { margin-top: .9rem; display: grid; gap: .35rem; font-size: .78rem; }
.footer__trust span { display: flex; gap: .4rem; align-items: center; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 12px; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .78rem; }
.footer__bottom p { margin: 0; }
.lang-switch select { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: .25rem .5rem; }

/* ---------------- FAB & bottom nav ---------------- */
.whatsapp-fab {
    position: fixed; inset-block-end: 74px; inset-inline-start: 14px; z-index: 70;
    width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-lg);
}
.bottom-nav {
    position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 80;
    background: var(--surface); border-top: 1px solid var(--border);
    display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .5rem .2rem; font-size: .68rem; color: var(--muted); }
.bottom-nav a i { font-size: 1.25rem; }
.bottom-nav a.is-active { color: var(--accent); }
.bottom-nav__cart span {
    position: absolute; transform: translate(0, -12px); background: var(--accent); color: #fff;
    min-width: 18px; height: 18px; border-radius: 999px; font-size: .66rem; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.bottom-nav__cart { position: relative; }

/* ---------------- Toast & loader ---------------- */
.toast {
    position: fixed; inset-block-end: 80px; inset-inline: 16px; z-index: 300; max-width: 420px; margin-inline: auto;
    background: var(--dark); color: #fff; padding: .75rem 1rem; border-radius: 12px;
    box-shadow: var(--shadow-lg); font-size: .88rem; text-align: center; animation: toastIn .25s ease;
}
.toast--error { background: #dc2626; }
.toast--success { background: #16a34a; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.overlay-loader { position: fixed; inset: 0; background: rgba(255, 255, 255, .6); z-index: 400; display: flex; align-items: center; justify-content: center; }
.overlay-loader[hidden] { display: none; }
.spinner { width: 38px; height: 38px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Print / invoice ---------------- */
.invoice { background: #fff; color: #111; padding: 24px; border-radius: 12px; border: 1px solid var(--border); }
.invoice__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--accent); padding-bottom: 12px; }
.invoice__brand { display: flex; gap: 10px; align-items: flex-start; }
.invoice__brand h1 { font-size: 1.2rem; margin: 0 0 .3rem; }
.invoice__brand p { margin: 0; font-size: .78rem; color: #555; }
.invoice__meta h2 { font-size: 1.1rem; margin: 0 0 .4rem; color: var(--accent); }
.invoice__meta table { font-size: .8rem; }
.invoice__meta th { text-align: start; color: #666; font-weight: 500; padding: .15rem .5rem .15rem 0; }
.invoice__meta td { padding: .15rem 0; font-weight: 600; }
.invoice__customer { display: flex; gap: 24px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid #e5e5e5; }
.invoice__customer h4 { margin: 0 0 .3rem; font-size: .85rem; color: #666; }
.invoice__customer p { margin: 0; font-size: .82rem; }
.invoice__items { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .84rem; }
.invoice__items th, .invoice__items td { border: 1px solid #e5e5e5; padding: 7px 8px; text-align: right; }
.invoice__items th { background: #f8fafc; }
.invoice__totals { margin-inline-start: auto; width: min(320px, 100%); }
.invoice__totals table { width: 100%; font-size: .86rem; }
.invoice__totals th { text-align: start; font-weight: 500; padding: 5px 0; color: #555; }
.invoice__totals td { text-align: left; font-weight: 600; padding: 5px 0; }
.invoice__grand-total th, .invoice__grand-total td { font-size: 1rem; font-weight: 800; color: var(--accent); border-top: 2px solid var(--accent); }
.invoice__notes { font-size: .8rem; color: #555; margin-top: 12px; }
.invoice__footer { margin-top: 18px; border-top: 1px solid #e5e5e5; padding-top: 10px; font-size: .78rem; color: #666; text-align: center; }
.invoice__thanks { font-weight: 700; color: #111; }
.print-toolbar { max-width: 900px; margin: 14px auto; display: flex; gap: .5rem; }
.print-body { background: var(--bg); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (min-width: 576px) {
    .features__grid { grid-template-columns: repeat(4, 1fr); }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .category-grid--large { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1.2fr 1fr; align-items: center; }
    .about__stats { grid-template-columns: repeat(4, 1fr); }
    .cart-table__head { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr 40px; gap: .6rem; padding: .5rem 0; font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--border); }
    .cart-item { grid-template-columns: 2.4fr 1fr 1fr 1fr 40px; align-items: center; }
    .cart-item__product { grid-column: auto; }
    .newsletter { grid-template-columns: 1fr auto; align-items: center; text-align: start; }
    .newsletter__form { margin: 0; }
}

@media (min-width: 768px) {
    body { font-size: 15px; }
    .topbar { display: block; }
    .header__burger { display: none; }
    .header__search { display: block; }
    .header__action-text { display: inline; }
    .nav { display: block; }
    .nav__item--mobile-only { display: none; }
    .hero__slide img { height: 320px; }
    .hero__title { font-size: 1.8rem; }
    .hero__subtitle { font-size: .95rem; }
    .hero__nav { display: flex; }
    .product-grid { grid-template-columns: repeat(var(--grid-cols), 1fr); }
    .shop-layout { grid-template-columns: 260px 1fr; align-items: start; }
    .shop-sidebar { display: block; }
    .shop-toolbar__filter-btn { display: none; }
    .cart-layout { grid-template-columns: 1fr 320px; align-items: start; }
    .checkout-layout { grid-template-columns: 1fr 340px; align-items: start; }
    .account-layout { grid-template-columns: 240px 1fr; align-items: start; }
    .contact-layout { grid-template-columns: 1fr 320px; align-items: start; }
    .product-detail { grid-template-columns: 1fr 1fr; gap: 24px; }
    .auth-card { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: repeat(4, 1fr); }
    .bottom-nav { display: none; }
    .whatsapp-fab { inset-block-end: 18px; }
    .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
    .post-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid { grid-template-columns: repeat(6, 1fr); }
    .drawer { display: none !important; }
}

@media (min-width: 992px) {
    .container { padding: 0 20px; }
    .hero__grid { grid-template-columns: 240px 1fr; }
    .hero__side { display: block; }
    .hero__side-banner { height: 148px; }
    .section { padding: 34px 0; }
}

@media (max-width: 767px) {
    .shop-sidebar {
        position: fixed; inset: 0; z-index: 200; display: block; background: var(--surface);
        overflow-y: auto; padding: 1rem;
    }
    .shop-sidebar[hidden] { display: none; }
    .filter-head__close { display: inline-flex; }
    .shop-sidebar__inner { position: static; border: 0; padding: 0; }
    .main { padding-bottom: 70px; }
    .footer { margin-bottom: 58px; }
}
