:root {
  --bg: #0b0b0e;
  --bg-2: #101015;
  --panel: #16161d;
  --panel-2: #1c1c24;
  --border: #26262f;
  --text: #f2f2f5;
  --muted: #9a9aa5;
  --accent: #ff7a1a;
  --accent-2: #ff512f;
  --green: #2fd17c;
  --red: #ff4d4d;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: "Unbounded", sans-serif;
}

::selection {
  background: var(--accent);
  color: #000;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- decorative background ---------- */

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
}

.glow-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
}

.glow-2 {
  width: 520px;
  height: 520px;
  bottom: -200px;
  right: -140px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black, transparent 75%);
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 14, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-socials {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

/* ТГ канал, Viber, WhatsApp — однакові квадратні кнопки, як кошик */
.header-tg,
.soc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  flex-shrink: 0;
  padding: 0;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.soc-ic {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* фірмові кольори: Телега голуба, Viber фіолетовий, WhatsApp зелений */
.header-tg {
  background: #2aabee;
  border-color: #2aabee;
  color: #fff;
}

.soc-viber {
  background: #7360f2;
  border-color: #7360f2;
  color: #fff;
}

.soc-wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.header-tg:hover,
.soc-viber:hover,
.soc-wa:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

/* кнопка є, але посилання ще не задано в адмінці */
.soc-off,
.header-tg.soc-off {
  opacity: 0.34;
  background: var(--panel);
  border-color: var(--border);
  border-style: dashed;
  color: var(--text);
  cursor: not-allowed;
}

.soc-off:hover,
.header-tg.soc-off:hover {
  opacity: 0.5;
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
  filter: none;
  transform: none;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.cart-btn:hover {
  border-color: var(--accent);
  background: var(--panel-2);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #000;
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(255, 122, 26, 0.4);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
}

/* ---------- hero ---------- */

.hero {
  padding: 90px 0 70px;
}

.hero-in {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--accent);
}

.hero-sub {
  margin: 20px 0 28px;
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
}

.stat b {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  color: var(--accent);
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

.pack {
  position: absolute;
  width: 190px;
  height: 320px;
  border-radius: 14px;
}

.pack-back {
  background: linear-gradient(160deg, #23252e, #121318);
  border: 1px solid var(--border);
  transform: rotate(-14deg) translate(-20px, 18px);
}

.pack-front {
  background: linear-gradient(160deg, #2a2c38, #141519);
  border: 1px solid rgba(255, 122, 26, 0.5);
  box-shadow: var(--shadow);
  transform: rotate(6deg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pack-top {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: #fff;
}

.pack-brand {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
  color: var(--accent);
}

.pack-line {
  height: 3px;
  width: 70px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 2px;
}

.pack-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* ---------- sections ---------- */

section {
  padding: 60px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
}

.section-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* ---------- filters ---------- */

.filters {
  position: sticky;
  top: 92px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.filters-head h3 {
  font-size: 16px;
}

.reset-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.reset-btn:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.check-row input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.input:focus {
  border-color: var(--accent);
}

.input::placeholder {
  color: #6a6a75;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9aa5' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.range {
  width: 100%;
  accent-color: var(--accent);
  height: 4px;
}

input[type="range"] {
  cursor: pointer;
}

/* ---------- toolbar ---------- */

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.toolbar-sort-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.toolbar .select {
  width: auto;
  min-width: 180px;
}

.filter-toggle-btn {
  display: none;
  margin-left: auto;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- products ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.5);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 0.82;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  z-index: 2;
}

.sale-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--red);
  color: #fff;
  z-index: 2;
}

.sold-out {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
  z-index: 3;
}

.sold-out span {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-type {
  font-size: 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-name {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
}

.card-brand {
  font-size: 13px;
  color: var(--muted);
}

.card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.card-price {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
}

.card-old-price {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}

.card .btn {
  margin-top: 12px;
}

/* ---------- empty state ---------- */

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty p {
  margin-bottom: 18px;
  font-size: 16px;
}

/* ---------- delivery steps ---------- */

.delivery {
  background: linear-gradient(180deg, transparent, rgba(255, 122, 26, 0.04), transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.step span {
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.step h4 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.footer-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer p {
  color: var(--muted);
  font-size: 14px;
  max-width: 640px;
}

.copy {
  font-size: 13px !important;
}

/* ---------- overlay / cart drawer ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 92vw;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.cart.open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.cart-head h3 {
  font-size: 17px;
}

.close-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.close-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  margin-top: 60px;
  font-size: 15px;
}

.cart-item {
  display: flex;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.ci-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg);
  flex-shrink: 0;
}

.ci-info {
  flex: 1;
  min-width: 0;
}

.ci-name {
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-price {
  font-size: 14px;
  color: var(--accent);
  font-weight: 800;
  margin-top: 2px;
}

.ci-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
}

.qty-btn:hover {
  border-color: var(--accent);
}

.ci-qty {
  font-weight: 800;
  font-size: 14px;
  min-width: 24px;
  text-align: center;
}

.ci-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  align-self: flex-start;
}

.ci-remove:hover {
  color: var(--red);
}

.cart-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-total {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

.cart-total span {
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
}

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-head h3 {
  font-size: 18px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field > span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.field textarea {
  resize: vertical;
}

.field-hint {
  font-size: 12px !important;
  color: var(--muted);
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  margin-top: 6px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.done-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card h4 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 20px;
}

.modal-card .done-icon + h4 + p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 14px;
}

/* ---------- toggle switch ---------- */

.toggles {
  display: flex;
  gap: 20px;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.toggle input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- link-btn (admin header) ---------- */

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}

.link-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.link-btn.danger:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-in {
    grid-template-columns: 1fr;
  }
  .hero-art {
    height: 300px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
    display: none;
  }
  .filters.open {
    display: block;
  }
  .filter-toggle-btn {
    display: inline-flex;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .products {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 20px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-socials {
    gap: 8px;
  }
  .header-tg,
  .soc-btn,
  .cart-btn {
    width: 42px;
    height: 42px;
  }
  .soc-ic {
    width: 22px;
    height: 22px;
  }
}

/* вузькі телефони: рядок 4 кнопок + логотип має вміститись без прокрутки */
@media (max-width: 430px) {
  .container {
    padding: 0 14px;
  }
  .header-in .logo {
    font-size: 16px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-socials {
    gap: 6px;
  }
  .header-tg,
  .soc-btn,
  .cart-btn {
    width: 38px;
    height: 38px;
  }
  .soc-ic {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  .header-in .logo {
    font-size: 14px;
  }
  .header-actions {
    gap: 5px;
  }
  .header-socials {
    gap: 5px;
  }
  .header-tg,
  .soc-btn,
  .cart-btn {
    width: 36px;
    height: 36px;
  }
  .soc-ic {
    width: 19px;
    height: 19px;
  }
}
