/* =========================================================
   Correct Technology — Elektronika mağazası
   Brend rəngi: #0A3E5F
   ========================================================= */
:root {
  /* Brend palitrası (#0A3E5F əsasında) */
  --brand-900: #041F31;
  --brand-800: #062A40;
  --brand-700: #0A3E5F;
  --brand-600: #12577F;
  --brand-500: #1C72A3;
  --brand-400: #3E95C8;
  --brand-300: #6FB6E0;
  --brand-100: #DCEDF7;
  --brand-50:  #EEF6FB;
  --brand-rgb: 10, 62, 95;     /* əsas rəng — ayarlardan dəyişir */
  --hi-rgb: 111, 182, 224;     /* tünd fonda vurğu tonu */
  --accent-rgb: var(--brand-rgb);
  --ink: #062A40;              /* tünd bölmələrin fonu */
  --ink-rgb: 6, 42, 64;
  --amber: #FFB020;
  --red: #F0445A;
  --bg: #F3F7FA;
  --surface: #FFFFFF;
  --line: #E1E9EF;
  --muted: #64788A;
  --text: #142636;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .12);
  --shadow-lg: 0 24px 48px -20px rgba(16, 24, 40, .28);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: rgb(var(--accent-rgb)); }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); color: var(--ink); letter-spacing: -.02em; }
img { max-width: 100%; }
.muted { color: var(--muted); }
::selection { background: rgba(var(--accent-rgb), .25); }

/* ---------- Buttons ---------- */
.btn-accent, .btn-ghost-light, .btn-outline, .btn-dark-solid {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 15px; border-radius: 12px;
  padding: .8rem 1.4rem; border: 0; cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.btn-accent { background: rgb(var(--accent-rgb)); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), .7); }
.btn-accent:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 14px 28px -10px rgba(var(--accent-rgb), .8); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-outline { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); }
.btn-dark-solid { background: var(--ink); color: #fff; }
.btn-dark-solid:hover { color: #fff; background: #000; }
.link-arrow { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow:hover i { transform: translateX(3px); }
.link-arrow i { transition: transform .2s; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink); color: #c8d0dc; font-size: 13px; padding: 8px 0; }
.topbar i { color: rgb(var(--accent-rgb)); }
.topbar-links { gap: 1.5rem; }
.topbar-links a:hover { color: #fff; }

.site-header { background: var(--surface); position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(16,24,40,.35); }
.header-main { display: flex; align-items: center; gap: 1.25rem; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand img { max-height: 46px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgb(var(--accent-rgb)), rgba(var(--accent-rgb), .65));
  color: #fff; font-size: 21px; box-shadow: 0 8px 18px -8px rgba(var(--accent-rgb), .8);
}
.brand-text { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -.03em; }
.brand-text small { display: block; font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.brand-light { color: #fff; }

.header-search { flex: 1; display: flex; align-items: center; position: relative; max-width: 640px; margin: 0 auto; }
.header-search > i { position: absolute; left: 16px; color: var(--muted); }
.header-search input {
  width: 100%; height: 48px; border: 1.5px solid var(--line); background: var(--bg); border-radius: 14px;
  padding: 0 110px 0 44px; font-size: 14px; outline: none; transition: all .2s;
}
.header-search input:focus { border-color: rgb(var(--accent-rgb)); background: #fff; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.header-search button {
  position: absolute; right: 5px; height: 38px; padding: 0 18px; border: 0; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
}
.header-search button:hover { background: rgb(var(--accent-rgb)); }

.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink); font-size: 19px;
}
.icon-btn:hover { color: rgb(var(--accent-rgb)); border-color: rgba(var(--accent-rgb), .4); }
.cart-btn {
  display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 16px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 700; position: relative;
}
.cart-btn:hover { color: #fff; background: #000; }
.cart-btn i { font-size: 18px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgb(var(--accent-rgb));
  font-size: 12px; display: grid; place-items: center;
}
.cart-count.bump { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.45); } 100% { transform: scale(1); } }

.main-nav { border-top: 1px solid var(--line); }
.main-nav .container { gap: 1.5rem; height: 54px; }
.cat-menu { position: relative; height: 100%; }
.cat-menu-btn {
  height: 100%; display: flex; align-items: center; gap: .55rem; border: 0; padding: 0 18px;
  background: rgb(var(--accent-rgb)); color: #fff; font-weight: 700; font-size: 14px;
}
.cat-dropdown {
  position: absolute; top: 100%; left: 0; width: 290px; background: #fff; border: 1px solid var(--line);
  border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s; z-index: 50;
}
.cat-menu:hover .cat-dropdown { opacity: 1; visibility: visible; transform: none; }
.cat-dropdown ul { list-style: none; margin: 0; padding: 8px; }
.cat-dropdown li { position: static; }
.cat-dropdown > ul > li > a {
  display: flex; align-items: center; gap: .7rem; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px;
}
.cat-dropdown > ul > li > a i:first-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--bg); color: rgb(var(--accent-rgb)); }
.cat-dropdown > ul > li:hover > a { background: var(--bg); color: rgb(var(--accent-rgb)); }
.sub-panel {
  position: absolute; left: 100%; top: -1px; min-height: calc(100% + 2px); width: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: 0 14px 14px 0; padding: 20px; display: none; box-shadow: var(--shadow-lg);
}
.has-sub:hover .sub-panel { display: block; }
.sub-panel h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.sub-panel a { display: block; padding: 7px 0; font-weight: 600; font-size: 14px; }
.sub-panel a.lvl3 { padding-left: 14px; font-weight: 500; color: var(--muted); }
.sub-panel .see-all { margin-top: 10px; color: rgb(var(--accent-rgb)); }

.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; height: 100%; overflow: hidden; }
.nav-links a { display: flex; align-items: center; height: 100%; padding: 0 12px; font-weight: 600; font-size: 14px; position: relative; white-space: nowrap; }
.nav-links a.active, .nav-links a:hover { color: rgb(var(--accent-rgb)); }
.nav-links a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: rgb(var(--accent-rgb)); }
@media (max-width: 1399px) { .nav-links li.nav-cat { display: none; } }
.nav-deal { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--red); display: flex; align-items: center; gap: .4rem; white-space: nowrap; }
.nav-deal i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(240,68,90,.12); }

.mobile-nav { background: var(--ink); color: #fff; width: 300px !important; }
.mobile-nav .brand { color: #fff; }
.mobile-nav .m-link { display: flex; gap: .7rem; align-items: center; padding: 10px 6px; color: #d7dde8; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav .m-link.sub { padding-left: 36px; font-weight: 500; color: #9aa4b5; }
.mobile-nav .m-link i { color: rgb(var(--accent-rgb)); }
.mobile-nav .m-title { margin: 20px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #7d879a; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 72px 0 84px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(var(--accent-rgb), .28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255,176,32,.12), transparent 60%),
    var(--ink);
}
.hero-grid, .promo-grid, .footer-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-slider { position: relative; min-height: 420px; }
.hero-slide { display: none; animation: heroIn .7s ease both; }
.hero-slide.is-active { display: block; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: 7px 14px; border-radius: 30px; font-size: 13px; font-weight: 700;
  background: rgba(var(--accent-rgb), .14); color: rgb(var(--accent-rgb)); border: 1px solid rgba(var(--accent-rgb), .35);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--accent-rgb)); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.hero-title { color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.05; margin: 22px 0 18px; letter-spacing: -.035em; }
.hero-sub { color: #aeb8c8; font-size: 18px; max-width: 520px; }
.hero-cta { display: flex; gap: .75rem; margin-top: 30px; flex-wrap: wrap; }
.hero-art { width: 100%; max-width: 520px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.hero-art .float-a { animation: floatY 5s ease-in-out infinite; }
.hero-art .float-b { animation: floatY 6s ease-in-out infinite reverse; }
.hero-art .led-glow { animation: blink 2.4s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-10px); } }
@keyframes blink { 50% { opacity: .35; } }
.hero-img { max-height: 420px; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.hero-dots { display: flex; gap: 8px; margin-top: 28px; }
.hero-dots button { width: 28px; height: 5px; border-radius: 4px; border: 0; background: rgba(255,255,255,.22); transition: all .3s; }
.hero-dots button.is-active { width: 48px; background: rgb(var(--accent-rgb)); }
.hero-search { margin-top: 28px; position: relative; display: flex; align-items: center; }
.hero-search i { position: absolute; left: 16px; color: var(--muted); }
.hero-search input { width: 100%; height: 50px; border-radius: 14px; border: 0; padding: 0 100px 0 44px; }
.hero-search button { position: absolute; right: 5px; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: rgb(var(--accent-rgb)); color: #fff; font-weight: 700; }

/* ---------- Features strip ---------- */
.features-strip { margin-top: -38px; position: relative; z-index: 3; }
.feature {
  display: flex; gap: .9rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line); height: 100%;
}
.f-icon { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(var(--accent-rgb), .1); color: rgb(var(--accent-rgb)); }
.feature strong { display: block; font-size: 15px; color: var(--ink); }
.feature small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin: 0; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: rgb(var(--accent-rgb)); margin-bottom: 6px; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cat-tile {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px;
  display: flex; flex-direction: column; gap: 4px; overflow: hidden; transition: all .25s;
}
.cat-tile::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: rgba(var(--accent-rgb), .08); transition: transform .4s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(var(--accent-rgb), .45); color: var(--ink); }
.cat-tile:hover::before { transform: scale(1.6); }
.cat-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--ink); color: rgb(var(--accent-rgb)); margin-bottom: 14px; position: relative; }
.cat-img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 10px; position: relative; }
.cat-tile strong { font-family: var(--display); font-size: 16px; line-height: 1.25; position: relative; }
.cat-tile small { color: var(--muted); font-weight: 600; position: relative; }
.cat-tile .go { position: absolute; right: 16px; bottom: 16px; color: var(--muted); transition: all .25s; }
.cat-tile:hover .go { color: rgb(var(--accent-rgb)); transform: translate(2px, -2px); }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all .25s;
}
.p-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.p-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #F7F9FB; overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .4s; }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.tag { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 8px; letter-spacing: .02em; }
.tag-sale { background: var(--red); color: #fff; }
.tag-new { background: var(--ink); color: rgb(var(--accent-rgb)); }
.p-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.p-name { font-weight: 700; color: var(--ink); line-height: 1.35; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 12px; }
.sku { color: var(--muted); font-family: ui-monospace, monospace; }
.stock { font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.stock i { font-size: 7px; }
.stock.in { color: rgb(var(--accent-rgb)); }
.stock.out { color: var(--red); }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.p-price strong { font-family: var(--display); font-size: 20px; color: var(--ink); display: block; line-height: 1.1; }
.p-price del { font-size: 13px; color: var(--muted); }
.add-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font-size: 18px;
  display: grid; place-items: center; transition: all .2s;
}
.add-btn:hover { background: rgb(var(--accent-rgb)); transform: scale(1.06); }
.add-btn.loading { opacity: .6; pointer-events: none; }

/* Placeholder thumbnail */
.ph-thumb {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px;
  background:
    radial-gradient(circle at 30% 20%, hsla(var(--h), 70%, 60%, .18), transparent 55%),
    linear-gradient(160deg, #F7F9FB, #EDF1F6);
  color: hsl(var(--h), 45%, 38%);
}
.ph-thumb i { font-size: 64px; opacity: .9; }
.ph-thumb span { font-size: 12px; font-weight: 700; color: var(--muted); max-width: 90%; }
.ph-thumb.big i { font-size: 120px; }
.ph-thumb.big span { font-size: 15px; }

/* Promo */
.promo { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 26px; padding: 48px; }
.promo::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .45), transparent 65%); }
.promo h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); margin: 16px 0 12px; }
.promo p { color: #aeb8c8; max-width: 520px; margin-bottom: 24px; }
.promo-img { max-height: 280px; object-fit: contain; }
.deal-list { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.deal { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: all .2s; }
.deal:hover { background: rgba(255,255,255,.12); color: #fff; }
.deal-thumb { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: #fff; flex: 0 0 58px; }
.deal-thumb img { width: 100%; height: 100%; object-fit: contain; }
.deal-thumb .ph-thumb i { font-size: 24px; } .deal-thumb .ph-thumb span { display: none; }
.deal-name { flex: 1; font-weight: 700; font-size: 14px; line-height: 1.3; }
.deal-price { text-align: right; }
.deal-price strong { display: block; color: rgb(var(--accent-rgb)); font-family: var(--display); }
.deal-price del { font-size: 12px; color: #8b95a7; }

/* ---------- Page head & listing ---------- */
.page-head { background: var(--ink); color: #fff; padding: 36px 0 40px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -100px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .3), transparent 65%); }
.page-head.slim { padding: 18px 0; }
.page-head h1 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin: 10px 0 0; position: relative; z-index: 2; }
.page-head .lead-sm { color: #aeb8c8; margin: 8px 0 0; max-width: 640px; position: relative; z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 13px; color: #8b95a7; position: relative; z-index: 2; }
.crumbs i { font-size: 10px; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #d7dde8; }

.filter-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.filter-box h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.filter-cats { list-style: none; padding: 0; margin: 0; }
.filter-cats a { display: flex; gap: .6rem; align-items: center; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.filter-cats a i { color: rgb(var(--accent-rgb)); }
.filter-cats a:hover, .filter-cats a.active { background: rgba(var(--accent-rgb), .08); color: rgb(var(--accent-rgb)); }
.price-inputs { display: flex; align-items: center; gap: .5rem; }
.price-inputs input, .inp {
  width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; outline: none; background: #fff; transition: all .2s; font-size: 14px;
}
textarea.inp { height: auto; padding: 10px 12px; }
.price-inputs input:focus, .inp:focus { border-color: rgb(var(--accent-rgb)); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.check { display: flex; gap: .55rem; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 8px; }
.check input { width: 18px; height: 18px; accent-color: rgb(var(--accent-rgb)); }
.reset-link { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sort-form { display: flex; align-items: center; gap: .5rem; }
.sort-form label { font-size: 13px; color: var(--muted); font-weight: 600; }
.sort-form select { height: 38px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; font-weight: 600; outline: none; }

.pager ul { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 32px 0 0; }
.pager a, .pager span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.pager .active span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a:hover { border-color: rgb(var(--accent-rgb)); }

.empty { text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 60px 20px; }
.empty > i { font-size: 48px; color: rgb(var(--accent-rgb)); }
.empty h4 { margin: 14px 0 6px; }
.empty p { color: var(--muted); margin-bottom: 20px; }
.nf-code { font-family: var(--display); font-size: 110px; font-weight: 700; line-height: 1; background: linear-gradient(135deg, rgb(var(--accent-rgb)), var(--ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Product detail ---------- */
.gallery-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 78px; height: 78px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 4px; }
.gallery-thumbs button.active { border-color: rgb(var(--accent-rgb)); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-title { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 12px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 14px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pd-meta strong { color: var(--ink); }
.pd-price { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 20px 0 12px; }
.pd-price strong { font-family: var(--display); font-size: 38px; color: var(--ink); }
.pd-price del { color: var(--muted); font-size: 18px; }
.pd-price .save { background: rgba(240,68,90,.1); color: var(--red); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 8px; }
.pd-short { color: #4a5568; font-size: 16px; }
.pd-buy { display: flex; gap: .6rem; flex-wrap: wrap; margin: 22px 0 12px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; height: 50px; overflow: hidden; }
.qty button { width: 42px; height: 100%; border: 0; background: transparent; font-size: 18px; }
.qty button:hover { color: rgb(var(--accent-rgb)); }
.qty input { width: 52px; text-align: center; border: 0; font-weight: 800; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 40px; }
.qty.sm button { width: 34px; }
.qty.sm input { width: 40px; }
.wa-order { display: flex; justify-content: center; align-items: center; gap: .5rem; padding: 12px; border-radius: 12px; border: 1.5px solid #25D366; color: #1a9e4b; font-weight: 700; }
.wa-order:hover { background: #25D366; color: #fff; }
.pd-perks { list-style: none; padding: 18px; margin: 20px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.pd-perks li { display: flex; gap: .7rem; align-items: center; font-weight: 600; font-size: 14px; }
.pd-perks i { color: rgb(var(--accent-rgb)); font-size: 18px; }
.pd-tabs { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pd-tabs .nav { list-style: none; display: flex; gap: 0; padding: 0 16px; margin: 0; border-bottom: 1px solid var(--line); }
.pd-tabs .nav button { border: 0; background: none; padding: 18px 16px; font-weight: 700; color: var(--muted); position: relative; }
.pd-tabs .nav button.active { color: var(--ink); }
.pd-tabs .nav button.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; border-radius: 3px; background: rgb(var(--accent-rgb)); }
.pd-tabs .tab-content { padding: 28px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 600; background: #FAFBFC; }
.spec-table td { font-weight: 700; color: var(--ink); font-family: ui-monospace, "Space Grotesk", monospace; }
.rich-text { font-size: 16px; color: #364152; }
.rich-text img { border-radius: 12px; height: auto; }
.rich-text h2, .rich-text h3 { margin-top: 1.4em; }

/* ---------- Cart / checkout ---------- */
.cart-box, .form-card, .summary { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto auto 36px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row:first-child { padding-top: 0; }
.cart-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #F7F9FB; display: block; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-thumb .ph-thumb i { font-size: 28px; } .cart-thumb .ph-thumb span { display: none; }
.cart-name { font-weight: 700; display: block; line-height: 1.3; }
.cart-line { font-family: var(--display); font-size: 17px; min-width: 80px; text-align: right; }
.cart-del { color: var(--muted); font-size: 18px; }
.cart-del:hover { color: var(--red); }
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 18px; flex-wrap: wrap; }
.summary h5 { font-size: 18px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-weight: 600; color: #4a5568; }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px; font-size: 20px; color: var(--ink); font-family: var(--display); }
.free { color: rgb(var(--accent-rgb)); font-style: normal; font-weight: 800; }
.ship-progress { background: #F7F9FB; border-radius: 12px; padding: 12px; margin: 8px 0; }
.ship-progress .bar { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.ship-progress .bar span { display: block; height: 100%; background: rgb(var(--accent-rgb)); border-radius: 6px; }
.ship-progress small { color: var(--muted); }
.mini-item { display: flex; justify-content: space-between; gap: 1rem; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-item em { color: var(--muted); font-style: normal; }
.form-card h5 { display: flex; align-items: center; gap: .6rem; font-size: 18px; margin-bottom: 16px; }
.form-card label { font-size: 13px; font-weight: 700; color: #4a5568; margin-bottom: 6px; display: block; }
.step { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: rgb(var(--accent-rgb)); display: grid; place-items: center; font-size: 14px; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-options label { margin: 0; cursor: pointer; }
.pay-options input { display: none; }
.pay-options span { display: flex; gap: .6rem; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); }
.pay-options input:checked + span { border-color: rgb(var(--accent-rgb)); background: rgba(var(--accent-rgb), .06); }
.alert-soft { background: rgba(240,68,90,.08); color: #b4233a; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.success-card { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 48px 32px; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; color: #fff; background: rgb(var(--accent-rgb)); box-shadow: 0 0 0 12px rgba(var(--accent-rgb), .14); }
.order-no { font-family: ui-monospace, monospace; background: var(--bg); padding: 3px 10px; border-radius: 8px; }

/* Contact & pages */
.contact-cards { display: grid; gap: 12px; }
.c-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.c-card > i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--ink); color: rgb(var(--accent-rgb)); }
.c-card small { display: block; color: var(--muted); font-weight: 600; }
.c-card strong { color: var(--ink); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: 20px; }
.page-cover { width: 100%; border-radius: 20px; margin-bottom: 24px; }
.page-body { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; }


/* ---------- Bloq ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-grid:not(.g3) { grid-template-columns: repeat(3, 1fr); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #F7F9FB; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.post-body p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.post-body .link-arrow { margin-top: auto; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.post-title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.link-arrow.sm { font-size: 14px; }
.ph-thumb.cover i { font-size: 56px; }
.post-lead { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink); color: #fff; border-radius: 22px; overflow: hidden; margin-bottom: 22px; }
.post-lead:hover { color: #fff; }
.post-lead-media { min-height: 280px; background: #062A40; }
.post-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.post-lead-media .ph-thumb { background: linear-gradient(160deg, #0A3E5F, #041F31); color: rgb(var(--accent-rgb)); }
.post-lead-body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.post-lead-body h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); margin: 6px 0 12px; }
.post-lead-body p { color: #aeb8c8; }
.post-lead .post-meta { color: #8b95a7; margin: 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { padding: 6px 12px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.tag-cloud a em { font-style: normal; color: var(--muted); margin-left: 2px; }
.tag-cloud a:hover, .tag-cloud a.active { background: rgba(var(--accent-rgb), .1); border-color: rgba(var(--accent-rgb), .4); color: rgb(var(--accent-rgb)); }
.side-promo { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.side-promo:hover { color: #fff; }
.side-promo > i { font-size: 34px; color: rgb(var(--accent-rgb)); }
.side-promo span { color: #aeb8c8; font-size: 14px; }
.side-promo em { font-style: normal; font-weight: 700; color: rgb(var(--accent-rgb)); }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #aeb8c8; font-size: 14px; margin-top: 12px; position: relative; z-index: 2; }
.share-row { display: flex; align-items: center; gap: 8px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.share-row a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); font-size: 17px; }
.share-row a:hover { background: rgb(var(--accent-rgb)); color: #fff; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 8px 12px; }
.rich-text th { background: #FAFBFC; }

/* ---------- Layihələr ---------- */
.proj-head { padding-bottom: 46px; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: all .25s; color: var(--text); }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.proj-media { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; }
.proj-media .ph-thumb { background-color: var(--ink); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), radial-gradient(circle at 70% 30%, rgba(var(--accent-rgb), .35), transparent 60%); background-size: 26px 26px, 26px 26px, 100% 100%; color: rgb(var(--accent-rgb)); }
.proj-diff { position: absolute; left: 12px; top: 12px; }
.proj-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.proj-body h3 { font-size: 19px; margin: 6px 0 8px; line-height: 1.3; }
.proj-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.proj-board { font-size: 12px; font-weight: 800; color: rgb(var(--accent-rgb)); text-transform: uppercase; letter-spacing: .05em; }
.proj-foot { margin-top: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; color: #4a5568; padding-top: 12px; border-top: 1px dashed var(--line); }
.proj-foot .go { margin-left: auto; color: var(--muted); transition: all .2s; }
.proj-card:hover .go { color: rgb(var(--accent-rgb)); transform: translate(2px, -2px); }
.diff { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 9px; font-size: 12px; font-weight: 800; background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(0,0,0,.3); }
.diff .bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.diff .bars i { width: 4px; border-radius: 2px; background: #d5dbe5; }
.diff .bars i:nth-child(1) { height: 6px; } .diff .bars i:nth-child(2) { height: 9px; } .diff .bars i:nth-child(3) { height: 12px; }
.diff-success .bars i.on { background: rgb(var(--accent-rgb)); }
.diff-warning .bars i.on { background: var(--amber); }
.diff-danger .bars i.on { background: var(--red); }
.diff-tabs { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; position: relative; z-index: 2; }
.diff-tabs a { padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(255,255,255,.18); color: #d7dde8; font-weight: 700; font-size: 14px; }
.diff-tabs a:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.diff-tabs a.active { background: rgb(var(--accent-rgb)); border-color: rgb(var(--accent-rgb)); color: #fff; }
.proj-facts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 2; }
.proj-facts > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 16px; display: flex; flex-direction: column; gap: 4px; }
.proj-facts small { color: #8b95a7; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.proj-facts strong { color: #fff; font-size: 15px; }
.proj-facts strong i { color: rgb(var(--accent-rgb)); }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.code-box { background: #041F31; border-radius: 18px; overflow: hidden; border: 1px solid #0E3A57; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #062A40; color: #8b95a7; font-size: 13px; font-family: ui-monospace, monospace; }
.code-head .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.code-head button { border: 1px solid #18496A; background: transparent; color: #cfd6e3; border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.code-head button:hover { border-color: rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); }
.code-box pre { margin: 0; padding: 18px; max-height: 520px; overflow: auto; color: #d6deeb; font-size: 13.5px; line-height: 1.65; }
.code-box code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; color: inherit; }
.kit-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; position: sticky; top: 150px; }
.kit-head h5 { font-size: 17px; margin: 0; display: flex; gap: 8px; align-items: center; }
.kit-head h5 i { color: rgb(var(--accent-rgb)); }
.kit-head small { color: var(--muted); display: block; margin-bottom: 12px; }
.kit-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kit-thumb { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; background: #F7F9FB; flex: 0 0 54px; }
.kit-thumb img { width: 100%; height: 100%; object-fit: contain; }
.kit-thumb .ph-thumb i { font-size: 22px; }
.kit-info { display: flex; flex-direction: column; line-height: 1.3; }
.kit-info strong { font-size: 14px; color: var(--ink); }
.kit-info small { color: var(--muted); font-size: 12px; }
.kit-info em { font-style: normal; font-size: 13px; font-weight: 700; color: #4a5568; margin-top: 2px; }
.kit-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 700; }
.kit-total strong { font-family: var(--display); font-size: 22px; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb8c8; padding: 72px 0 0; margin-top: 40px; position: relative; overflow: hidden; }
.site-footer h6 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: 14px; }
.site-footer a:hover { color: rgb(var(--accent-rgb)); }
.footer-about { max-width: 340px; font-size: 14px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.socials a:hover { background: rgb(var(--accent-rgb)); color: #fff; }
.contact-list li { display: flex; gap: .7rem; }
.contact-list i { color: rgb(var(--accent-rgb)); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 22px 0; font-size: 13px; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 12px; font-size: 20px; color: #7d879a; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); z-index: 1040; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.s-toast { display: flex; align-items: center; gap: .6rem; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(12px); transition: all .3s; }
.s-toast i { color: rgb(var(--accent-rgb)); font-size: 18px; }
.s-toast.show { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links li.nav-page { display: none; }
}
@media (max-width: 991px) {
  .post-grid, .post-grid:not(.g3), .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .post-lead { grid-template-columns: 1fr; }
  .post-lead-media { min-height: 200px; }
  .kit-box { position: static; }
  .product-grid, .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 48px 0 70px; }
  .hero-slider { min-height: 0; }
  .hero-art { max-width: 380px; }
  .section { padding: 52px 0; }
  .promo { padding: 32px 24px; }
  .header-main { gap: .75rem; }
}
@media (max-width: 575px) {
  .post-grid, .post-grid:not(.g3), .proj-grid { grid-template-columns: 1fr; }
  .post-lead-body { padding: 22px; }
  body { font-size: 14px; }
  .product-grid, .product-grid.grid-3 { gap: 10px; }
  .p-body { padding: 10px 12px 12px; }
  .p-price strong { font-size: 17px; }
  .add-btn { width: 38px; height: 38px; }
  .brand-text small { display: none; }
  .brand-text { font-size: 19px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feature { flex-direction: column; text-align: center; padding: 14px 10px; }
  .f-icon { flex: none; width: 48px; }
  .cart-row { grid-template-columns: 60px 1fr auto; }
  .cart-row .qty { grid-column: 2; }
  .cart-row .cart-line { grid-column: 3; grid-row: 1; }
  .cart-row .cart-del { grid-column: 3; grid-row: 2; text-align: right; }
  .pay-options { grid-template-columns: 1fr; }
  .page-body { padding: 22px; }
  .pd-tabs .tab-content { padding: 18px; }
}



/* ---------- Hesab: header düyməsi ---------- */
.acc-btn { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; }
.acc-btn:hover { border-color: rgba(var(--brand-rgb), .4); color: rgb(var(--brand-rgb)); }
.acc-btn > i { font-size: 19px; }
.acc-mini, .acc-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--brand-rgb)); color: #fff; font-size: 13px; font-weight: 800; overflow: hidden; }
.acc-mini img, .acc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acc-avatar { width: 56px; height: 56px; font-size: 22px; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.25); position: relative; z-index: 2; }
.acc-menu { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 8px; min-width: 240px; }
.acc-menu .dropdown-item { border-radius: 9px; padding: 9px 12px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.acc-menu .dropdown-item i { color: rgb(var(--brand-rgb)); }
.acc-menu .dropdown-item:active { background: rgb(var(--brand-rgb)); color: #fff; }
.acc-menu-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acc-menu-head strong { display: block; color: var(--ink); }
.acc-menu-head small { color: var(--muted); }

/* ---------- Giriş / qeydiyyat ---------- */
.auth-wrap { padding: 56px 0 72px; background: radial-gradient(800px 400px at 100% 0, var(--brand-50), transparent 70%), var(--bg); }
.auth-card { display: grid; grid-template-columns: 1fr 1.15fr; max-width: 1040px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-card.single { grid-template-columns: 1fr; max-width: 500px; }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: 44px 40px; background: radial-gradient(500px 300px at 100% 0, rgba(var(--hi-rgb), .25), transparent 70%), linear-gradient(160deg, var(--brand-700), var(--brand-900)); --accent-rgb: var(--hi-rgb); }
.auth-side-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.auth-logo { height: 44px; width: auto; align-self: flex-start; }
.auth-brand { font-family: var(--display); font-size: 24px; }
.auth-side h2 { color: #fff; font-size: 28px; margin: auto 0 22px; padding-top: 60px; line-height: 1.2; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 12px; align-items: center; color: #d3e2ec; font-weight: 600; font-size: 14.5px; }
.auth-side li i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: rgb(var(--hi-rgb)); font-size: 17px; flex: 0 0 36px; }
.auth-main { padding: 44px 44px 40px; }
.auth-main h1 { font-size: 30px; margin-bottom: 6px; }
.auth-main > p.muted { margin-bottom: 22px; }
.auth-link { color: rgb(var(--brand-rgb)); font-weight: 700; }
.auth-link:hover { color: var(--brand-500); text-decoration: underline; }
.auth-form label { font-size: 13px; font-weight: 700; color: #3c4f60; margin-bottom: 6px; display: block; }
.inp-icon { position: relative; }
.inp-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 16px; pointer-events: none; }
.inp-icon .inp { padding-left: 42px; height: 48px; }
.pass-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; width: 38px; height: 38px; border-radius: 8px; color: var(--muted); }
.pass-eye:hover { color: rgb(var(--brand-rgb)); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; transition: all .2s; }
.btn-google:hover { border-color: rgba(var(--brand-rgb), .4); background: var(--brand-50); color: var(--ink); }
.btn-google i { font-size: 18px; color: #4285F4; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; background: var(--brand-50); color: rgb(var(--brand-rgb)); margin-bottom: 18px; }
.auth-icon.ok { background: rgba(19,138,82,.12); color: #138A52; border-radius: 50%; }
.auth-icon.warn { background: rgba(240,68,90,.1); color: var(--red); }
.strength { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 6px; }
.strength span { display: block; height: 100%; width: 0; border-radius: 6px; transition: all .3s; }
.verify-tips { display: grid; gap: 8px; text-align: left; background: var(--bg); border-radius: 14px; padding: 14px 16px; margin: 18px 0; }
.verify-tips div { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; }
.verify-tips i { color: rgb(var(--brand-rgb)); font-size: 18px; }
.btn-outline.w-100 { display: flex; }
.login-hint { display: flex; align-items: center; gap: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 16px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; color: var(--brand-800); flex-wrap: wrap; }
.login-hint > i { font-size: 24px; color: rgb(var(--brand-rgb)); }
.login-hint span { flex: 1; min-width: 200px; }

/* ---------- Hesabım ---------- */
.acc-tabs { display: flex; gap: 6px; padding: 14px 0 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.acc-tabs a { padding: 12px 16px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; display: flex; gap: 8px; align-items: center; }
.acc-tabs a.active { color: var(--ink); border-bottom-color: rgb(var(--brand-rgb)); }
.acc-order { display: grid; grid-template-columns: 1fr auto auto 20px; gap: 18px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.acc-order:last-child { border-bottom: 0; }
.acc-order small { display: block; color: var(--muted); font-size: 13px; }
.mono-no { font-family: ui-monospace, monospace; color: var(--ink); }
.acc-total { font-family: var(--display); font-size: 18px; color: var(--ink); min-width: 80px; text-align: right; }
.ost { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.ost-primary { background: var(--brand-50); color: var(--brand-600); }
.ost-warning { background: rgba(245,158,11,.14); color: #b45309; }
.ost-info { background: rgba(14,165,233,.12); color: #0369a1; }
.ost-success { background: rgba(19,138,82,.12); color: #0f7a47; }
.ost-danger { background: rgba(240,68,90,.1); color: #be123c; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 10px 0 22px; position: relative; }
.track::before { content: ""; position: absolute; left: 12%; right: 12%; top: 16px; height: 3px; background: var(--line); }
.tstep { text-align: center; position: relative; z-index: 1; }
.tstep span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; background: #fff; border: 3px solid var(--line); font-weight: 800; color: var(--muted); }
.tstep.done span { background: rgb(var(--brand-rgb)); border-color: rgb(var(--brand-rgb)); color: #fff; }
.tstep small { font-weight: 700; font-size: 12px; color: var(--muted); }
.tstep.done small { color: var(--ink); }
.form-card .step i { font-size: 14px; }

@media (max-width: 991px) {
  .auth-card { grid-template-columns: 1fr; max-width: 560px; }
  .auth-side { padding: 28px; }
  .auth-side h2 { padding-top: 24px; font-size: 22px; }
  .auth-side ul { display: none; }
}
@media (max-width: 575px) {
  .auth-wrap { padding: 24px 0 40px; }
  .auth-main { padding: 28px 22px; }
  .acc-btn { padding: 0 10px; }
  .acc-order { grid-template-columns: 1fr auto; }
  .acc-order .acc-total { grid-column: 2; }
  .acc-order > i { display: none; }
}

/* =========================================================
   Tünd fonlu bölmələr: vurğu rəngi açıq brend tonuna keçir
   ========================================================= */
.topbar, .hero, .page-head, .promo, .site-footer, .mobile-nav, .post-lead, .side-promo,
.code-box, .proj-media, .cat-icon, .tag-new, .step, .c-card > i, .cart-btn, .kit-head h5 i {
  --accent-rgb: var(--hi-rgb);
}
.hero .btn-accent, .promo .btn-accent, .page-head .btn-accent, .side-promo .btn-accent { color: var(--brand-900); box-shadow: 0 10px 24px -12px rgba(var(--hi-rgb), .8); }
.hero .btn-accent:hover, .promo .btn-accent:hover { color: var(--brand-900); }
.diff-tabs a.active { color: var(--brand-900); }
.cart-count { color: var(--brand-900); }
.hero-badge { background: rgba(var(--hi-rgb), .12); border-color: rgba(var(--hi-rgb), .35); }
.kit-head h5 i { color: var(--brand-500); }
.stock.in { color: #138A52; }
.add-btn { background: rgb(var(--brand-rgb)); }
.add-btn:hover { background: var(--brand-500); }
.btn-dark-solid { background: var(--brand-800); }
.btn-dark-solid:hover { background: var(--brand-900); }
.header-search button { background: rgb(var(--brand-rgb)); }
.header-search button:hover { background: var(--brand-500); }
.cart-btn { background: var(--brand-800); }
.cart-btn:hover { background: var(--brand-900); }
.brand-mark { background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); box-shadow: 0 8px 18px -8px rgba(var(--brand-rgb), .7); }
.brand-mark img { width: 26px; }
.brand img.logo-img { height: 44px; width: auto; max-height: none; }
.site-footer .brand img.logo-img { height: 50px; }
.mobile-nav .brand img.logo-img { height: 36px; }
.ph-thumb { color: hsl(var(--h), 55%, 32%); }
.topbar { background: var(--brand-900); }
.site-footer { background: var(--brand-900); }
.footer-bottom { border-top-color: rgba(255,255,255,.1); }
.page-head, .hero, .promo { background-color: var(--brand-800); }
.tag-new { background: var(--brand-700); color: #fff; }
.cat-icon { background: linear-gradient(135deg, var(--brand-700), var(--brand-900)); }
.p-card:hover, .cat-tile:hover { border-color: rgba(var(--brand-rgb), .25); }
::selection { background: rgba(var(--brand-rgb), .2); }
@media (max-width: 575px) { .brand img.logo-img { height: 36px; } }

/* Köçürülmüş bloq yazıları: şəkil yerləşməsi və video */
.rich-text img { max-width: 100%; }
.rich-text img.img-right { float: right; max-width: 45%; margin: .3em 0 1em 1.5em; }
.rich-text img.img-left { float: left; max-width: 45%; margin: .3em 1.5em 1em 0; }
.rich-text img.img-center { display: block; margin: 1.2em auto; }
.rich-text::after { content: ""; display: table; clear: both; }
.rich-text h2, .rich-text h3 { clear: both; }
.rich-text .video-embed { position: relative; aspect-ratio: 16 / 9; margin: 1.2em 0; border-radius: 12px; overflow: hidden; background: #000; }
.rich-text .video-embed iframe, .rich-text .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767.98px) {
  .rich-text img.img-right, .rich-text img.img-left { float: none; max-width: 100%; margin: 1em 0; display: block; }
}
