/*
Theme Name: Elatus
Theme URI: https://elatus.az
Author: Elatus
Description: Elatus — kişi kostyumları və klassik geyimlər üçün premium tünd WordPress mövzusu. WhatsApp sifariş sistemi, məhsul kataloqu və tam Azərbaycan dilində idarəetmə.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: elatus
*/

/* ============================================================
   ELATUS — Tünd, premium kişi geyimi mövzusu
   Palitra: gecə qrafiti + fil sümüyü mətn + mis-qızıl saplar
   ============================================================ */

:root {
  --bg: #12161d;            /* səhifə fonu — gecə qrafiti */
  --bg-2: #171c25;          /* alternativ bölmə fonu */
  --bg-deep: #0f1319;       /* hero / böyük bannerlər */
  --card: #1c222d;          /* kartlar */
  --card-2: #232a37;
  --cream: #f1eee6;         /* əsas mətn — fil sümüyü */
  --muted: #a8aeb9;
  --muted-2: #7e8492;
  --brass: #b08a52;         /* mis-qızıl */
  --brass-soft: #d6b98c;
  --brass-dark: #8f6d3f;
  --line: #2a3140;
  --danger: #c05048;
  --photo: #e9e5db;         /* məhsul şəkil sahəsi (açıq) */
  --radius: 8px;
  --shadow: 0 2px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 16px 44px rgba(0, 0, 0, .5);
  --glow: 0 10px 30px rgba(176, 138, 82, .22);
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;
  --stitch: 1.5px dashed var(--brass);
  --wrap: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1000px 420px at 85% -140px, rgba(176, 138, 82, .09), transparent 60%),
    var(--bg);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brass); color: #12161d; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Tipoqrafiya ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--brass-soft);
}
.eyebrow::before { content: ""; width: 34px; border-top: var(--stitch); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(25px, 3.2vw, 36px); margin-top: 10px; }
.section-link { font-size: 14px; font-weight: 500; color: var(--brass-soft); display: inline-flex; align-items: center; gap: 8px; border-bottom: var(--stitch); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.section-link:hover { color: var(--cream); border-color: var(--brass-soft); }

section { padding: 76px 0; }

/* ---------- Düymələr ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-dark { background: var(--cream); color: #14181f; }
.btn-dark:hover { background: #ffffff; box-shadow: var(--shadow-lg); }

.btn-brass { background: linear-gradient(135deg, #c19a5f, var(--brass)); color: #14181f; font-weight: 600; }
.btn-brass:hover { background: linear-gradient(135deg, #d0aa6d, #b8905a); box-shadow: var(--glow); }

.btn-outline { background: transparent; color: var(--cream); border: var(--stitch); }
.btn-outline:hover { background: var(--brass); border-color: var(--brass); color: #14181f; }

.btn-outline-light { background: transparent; color: var(--cream); border: 1.5px dashed var(--brass-soft); }
.btn-outline-light:hover { background: var(--brass); border-color: var(--brass); color: #14181f; }

.btn-whatsapp { background: #1faa55; color: #fff; font-weight: 600; }
.btn-whatsapp:hover { background: #23bd60; box-shadow: 0 10px 28px rgba(31, 170, 85, .35); }

/* ---------- Başlıq (Header) ---------- */
.topbar {
  background: #0c0f15; color: var(--muted-2);
  font-size: 13px; padding: 8px 0;
  border-bottom: 1px solid rgba(176, 138, 82, .14);
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a:hover { color: var(--brass-soft); }
.topbar span b { color: var(--brass-soft); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 22, 29, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo, .brand .custom-logo { height: 60px; width: auto; display: block; margin-left: 12px; filter: brightness(1.18); }
.footer-logo { height: 76px; width: auto; margin-bottom: 8px; filter: brightness(1.3); }

.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--cream);
  border-bottom: 1.5px dashed transparent; transition: color .15s, border-color .15s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a { color: var(--brass-soft); border-bottom-color: var(--brass); }

.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { padding: 10px 14px; border-radius: 5px; border-bottom: none; font-size: 14px; }
.main-nav .sub-menu a:hover { background: var(--card-2); color: var(--brass-soft); }
.main-nav .menu-item-has-children > a::after { content: " ▾"; font-size: 10px; color: var(--muted-2); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 11px 20px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 11px; cursor: pointer; color: var(--cream); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-deep); overflow: hidden; position: relative; padding: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,.022) 26px 27px),
    radial-gradient(1100px 520px at 85% 15%, rgba(176, 138, 82, .17), transparent 62%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 540px; }
.hero-text { padding: 74px 0; }
.hero-text h1 { font-size: clamp(33px, 4.8vw, 54px); font-weight: 700; margin: 18px 0 20px; }
.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brass-soft), var(--brass) 60%, #e7cf9e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text p { color: var(--muted); font-size: 16.5px; max-width: 480px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 36px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.hero-note b { color: var(--cream); font-weight: 600; }
.hero-note svg { width: 20px; height: 20px; color: var(--brass-soft); }

.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.hero-frame {
  position: relative; width: 100%; max-width: 470px; aspect-ratio: 4/5; margin: 48px 0;
  border: 1.5px dashed var(--brass-soft); border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow-lg);
}
.hero-frame-inner { width: 100%; height: 100%; border-radius: 5px; overflow: hidden; background: var(--card-2); }
.hero-frame-inner img, .hero-frame-inner svg { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 28px; left: -20px;
  background: linear-gradient(135deg, #c19a5f, var(--brass)); color: #14181f; border-radius: var(--radius);
  padding: 14px 20px; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  box-shadow: var(--glow);
}
.hero-badge b { display: block; font-size: 22px; font-weight: 700; letter-spacing: 0; }

/* ---------- Kateqoriyalar ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 16px 26px; text-align: center; position: relative; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  opacity: 0; transition: opacity .25s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(176, 138, 82, .5); }
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 68px; height: 68px; margin: 0 auto 15px; border-radius: 50%;
  background: var(--cream); border: var(--stitch);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.cat-icon svg { width: 37px; height: 37px; }
.cat-card:hover .cat-icon { background: #fff; border: 1.5px solid var(--brass); transform: scale(1.1) rotate(-3deg); box-shadow: var(--glow); }
.cat-card h3 { font-size: 15px; font-weight: 600; }
.cat-card small { color: var(--muted-2); font-size: 12.5px; }

/* ---------- Məhsul kartları ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(176, 138, 82, .45); }
.product-thumb { aspect-ratio: 4/5; background: var(--photo); overflow: hidden; position: relative; display: block; }
.product-thumb img, .product-thumb svg.ph { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--danger); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 5px;
}
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); }
.product-title { font-size: 15.5px; font-weight: 500; line-height: 1.45; }
.product-title a:hover { color: var(--brass-soft); }
.product-price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 10px; }
.product-price .now { font-size: 19px; font-weight: 700; color: var(--cream); }
.product-price .was { font-size: 14px; color: var(--muted-2); text-decoration: line-through; }

/* ---------- Promo bannerlər ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo {
  border-radius: var(--radius); padding: 46px 42px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.promo h3 { font-size: clamp(22px, 2.6vw, 29px); font-weight: 600; }
.promo p { font-size: 15px; max-width: 330px; color: var(--muted); }
.promo-dark {
  background: var(--bg-deep);
  background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.025) 22px 23px);
}
.promo-light {
  background: linear-gradient(140deg, #261f12 0%, #1a1c22 65%);
  border-color: rgba(176, 138, 82, .38);
}
.promo-label { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-soft); }
.promo-art { position: absolute; right: -30px; bottom: -30px; width: 240px; height: 240px; opacity: .12; pointer-events: none; color: var(--brass-soft); }

/* ---------- Üstünlüklər zolağı ---------- */
.perks { padding: 0; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
  transition: border-color .2s, transform .2s;
}
.perk:hover { border-color: rgba(176, 138, 82, .45); transform: translateY(-3px); }
.perk svg { width: 26px; height: 26px; color: var(--brass-soft); flex: none; margin-top: 2px; }
.perk b { display: block; font-size: 15px; font-weight: 600; }
.perk small { color: var(--muted); font-size: 13.5px; }

/* ---------- Haqqımızda qısa blok ---------- */
.about-teaser { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-teaser .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-years {
  font-size: clamp(64px, 8vw, 108px); font-weight: 700; line-height: 1; letter-spacing: -.02em;
  color: var(--cream);
}
.about-years span {
  background: linear-gradient(120deg, var(--brass-soft), var(--brass));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-teaser p { color: var(--muted); margin: 16px 0 26px; }

/* ---------- Tikiş ayırıcı ---------- */
.stitch-divider { border: none; border-top: var(--stitch); margin: 0 auto; max-width: var(--wrap); opacity: .45; }

/* ---------- Məhsul səhifəsi ---------- */
.product-single { padding: 56px 0 76px; }
.breadcrumbs { font-size: 13.5px; color: var(--muted-2); margin-bottom: 28px; }
.breadcrumbs a:hover { color: var(--brass-soft); }
.breadcrumbs .sep { margin: 0 8px; color: var(--line); }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-gallery {
  position: sticky; top: 108px;
  border: var(--stitch); border-radius: var(--radius); padding: 12px; background: var(--card);
}
.product-gallery .frame { border-radius: 5px; overflow: hidden; aspect-ratio: 4/5; background: var(--photo); }
.product-gallery img, .product-gallery svg.ph { width: 100%; height: 100%; object-fit: cover; }

.product-info .product-cat { margin-bottom: 8px; }
.product-info h1 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 700; margin-bottom: 16px; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.price-row .now { font-size: 33px; font-weight: 700; color: var(--cream); }
.price-row .was { font-size: 18px; color: var(--muted-2); text-decoration: line-through; }
.price-row .save { background: var(--danger); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 5px; }

.product-desc { color: var(--muted); margin-bottom: 26px; }

.features-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.features-box h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.features-box h3 svg { width: 20px; height: 20px; color: var(--brass-soft); }
.features-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--cream); }
.features-list li:last-child { border-bottom: none; }
.features-list svg { width: 19px; height: 19px; color: var(--brass-soft); flex: none; margin-top: 3px; }

.order-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.order-buttons .btn { padding: 16px 32px; font-size: 16px; flex: 1; min-width: 200px; }
.order-hint { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.order-hint svg { width: 16px; height: 16px; color: var(--brass-soft); }

.related { border-top: 1px solid var(--line); }

/* ---------- Arxiv / kateqoriya səhifələri ---------- */
.archive-hero {
  background: var(--bg-deep); padding: 58px 0; margin-bottom: 56px;
  background-image: repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,.022) 26px 27px);
  border-bottom: 1px solid var(--line);
}
.archive-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-top: 12px; }
.archive-hero p { color: var(--muted); margin-top: 10px; max-width: 560px; }

.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.cat-filter a {
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--card); border: 1px solid var(--line); color: var(--cream); transition: all .18s;
}
.cat-filter a:hover { border-color: var(--brass); color: var(--brass-soft); }
.cat-filter a.active { background: linear-gradient(135deg, #c19a5f, var(--brass)); color: #14181f; border-color: var(--brass); font-weight: 600; }

.no-products { text-align: center; padding: 60px 20px; color: var(--muted); }
.no-products h2 { margin-bottom: 10px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination .page-numbers {
  padding: 10px 16px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--cream);
}
.pagination .page-numbers:hover { border-color: var(--brass); }
.pagination .page-numbers.current { background: linear-gradient(135deg, #c19a5f, var(--brass)); color: #14181f; border-color: var(--brass); font-weight: 600; }

/* ---------- Səhifələr (Haqqımızda, Əlaqə) ---------- */
.page-hero {
  background: var(--bg-deep); padding: 64px 0;
  background-image: repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,.022) 26px 27px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; margin-top: 12px; }

.about-page .wrap { max-width: 900px; }
.about-story { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: start; }
.about-story .about-years { position: sticky; top: 118px; }
.prose { font-size: 16.5px; color: #cfd2d9; }
.prose p { margin-bottom: 20px; }
.prose h2, .prose h3 { margin: 32px 0 14px; }
.prose a { color: var(--brass-soft); border-bottom: 1px dashed var(--brass); }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.value-card:hover { border-color: rgba(176, 138, 82, .45); transform: translateY(-3px); }
.value-card svg { width: 30px; height: 30px; color: var(--brass-soft); margin-bottom: 14px; }
.value-card b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.value-card p { font-size: 14.5px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item svg { width: 24px; height: 24px; color: var(--brass-soft); flex: none; margin-top: 3px; }
.contact-item b { display: block; font-size: 15px; font-weight: 600; }
.contact-item span, .contact-item a { font-size: 14.5px; color: var(--muted); }
.contact-item a:hover { color: var(--brass-soft); }
.contact-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.map-frame { border: var(--stitch); border-radius: var(--radius); padding: 10px; background: var(--card); }
.map-frame iframe { width: 100%; height: 420px; border: 0; border-radius: 5px; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Bloq ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(176, 138, 82, .45); }
.blog-thumb { aspect-ratio: 16/10; background: var(--photo); overflow: hidden; display: block; }
.blog-thumb img, .blog-thumb svg.ph { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-date { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); }
.blog-title { font-size: 18px; font-weight: 600; line-height: 1.4; }
.blog-title a:hover { color: var(--brass-soft); }
.blog-excerpt { font-size: 14.5px; color: var(--muted); flex: 1; }

.post-cover { border: var(--stitch); border-radius: var(--radius); padding: 10px; background: var(--card); margin-bottom: 32px; }
.post-cover img { border-radius: 5px; width: 100%; }
.post-footer { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: var(--stitch); }

/* ---------- Bülleten / CTA ---------- */
.newsletter {
  background: var(--bg-deep); border-top: 1px solid var(--line);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,.022) 26px 27px),
    radial-gradient(700px 300px at 15% 50%, rgba(176, 138, 82, .13), transparent 60%);
}
.newsletter .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; }
.newsletter p { color: var(--muted); margin-top: 10px; }
.newsletter-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Alt hissə (Footer) ---------- */
.site-footer { background: #0b0e13; color: var(--muted); padding: 64px 0 0; font-size: 14.5px; border-top: 1px solid rgba(176, 138, 82, .18); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 18px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--brass-soft); }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--brass); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.footer-bottom .stitch { color: var(--brass); }

/* ---------- WhatsApp üzən düymə ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1faa55; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(31, 170, 85, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animasiyalar ---------- */
@keyframes elatus-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes elatus-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-text > * { animation: elatus-fade-up .7s cubic-bezier(.22,.7,.3,1) both; }
.hero-text > *:nth-child(1) { animation-delay: .05s; }
.hero-text > *:nth-child(2) { animation-delay: .15s; }
.hero-text > *:nth-child(3) { animation-delay: .25s; }
.hero-text > *:nth-child(4) { animation-delay: .35s; }
.hero-text > *:nth-child(5) { animation-delay: .45s; }
.hero-frame { animation: elatus-fade-up .9s cubic-bezier(.22,.7,.3,1) .25s both; }
.hero-badge { animation: elatus-float 4s ease-in-out 1.4s infinite; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Fokus ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1024px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 12px 24px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px dashed var(--line); }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 18px; background: transparent; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .header-actions .nav-toggle { display: block; }
  .brand-logo, .brand .custom-logo { height: 50px; margin-left: 4px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 56px 0 8px; }
  .hero-frame { margin: 10px auto 48px; }
  .hero-badge { left: 10px; }
  .product-layout, .about-teaser .wrap, .newsletter .wrap, .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .promos { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .about-story .about-years { position: static; }
  .about-values { grid-template-columns: 1fr; }
  .newsletter-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  section { padding: 54px 0; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-body { padding: 13px; }
  .perks-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .order-buttons { flex-direction: column; }
  .topbar .wrap { justify-content: center; }
}
