/* =============================================================
   SoporteTics — Hoja de estilos principal
   Fuentes: Syne (títulos) + DM Sans (cuerpo)
   Tema: dark tech / distribuidor tecnológico
   ============================================================= */

:root {
  --bg:       #050B18;
  --bg2:      #0D1526;
  --bg3:      #111D35;
  --surface:  rgba(255,255,255,0.04);
  --border:   rgba(255,255,255,0.08);
  --border2:  rgba(255,255,255,0.15);
  --text:     #F1F5F9;
  --muted:    #8098B8;
  --hint:     #4A6080;
  --blue:     #2563EB;
  --blue2:    #3B82F6;
  --cyan:     #06B6D4;
  --green:    #4ade80;
  --red:      #f87171;
  --yellow:   #facc15;
  --font-h:   'Syne', sans-serif;
  --font-b:   'DM Sans', sans-serif;
  --radius:   10px;
  --radius-lg:16px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue2); text-decoration: none; }
a:hover { color: var(--cyan); }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,11,24,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo:hover { color: var(--cyan); }

.main-nav {
  display: flex;
  gap: 4px;
  overflow: hidden;
}
.main-nav a {
  color: var(--muted);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all .2s;
}
.main-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.search-form {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--blue); }
.search-form input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 13px;
  padding: 8px 12px;
  width: 200px;
}
.search-form input::placeholder { color: var(--hint); }
.search-form button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.search-form button:hover { color: var(--cyan); }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  transition: all .2s;
}
.cart-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.mobile-menu a:hover { color: var(--text); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37,99,235,.4);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border2); background: rgba(255,255,255,.07); color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(6,182,212,.12);
  color: var(--cyan);
  border: 1px solid rgba(6,182,212,.3);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: .5px;
}
.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #F1F5F9 0%, #8098B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-stat { color: var(--muted); font-size: 13px; }
.hero-stat strong { color: var(--cyan); }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-float-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  animation: floatIn .5s ease both;
}
@keyframes floatIn {
  from { opacity:0; transform: translateX(20px); }
  to   { opacity:1; transform: translateX(0); }
}
.float-icon { font-size: 28px; }
.hero-float-card strong { display: block; font-size: 14px; font-weight: 500; }
.hero-float-card span { font-size: 12px; color: var(--muted); }

/* ── Sections ────────────────────────────────────────────────── */
.section {
  padding: 64px 0;
}
.section-dark {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-header h2 {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 700;
}
.link-more {
  color: var(--blue2);
  font-size: 13px;
}
.link-more:hover { color: var(--cyan); }

/* ── Category cards ──────────────────────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--text);
  transition: all .25s;
}
.cat-card:hover {
  border-color: var(--blue);
  background: rgba(37,99,235,.1);
  transform: translateY(-3px);
  color: var(--text);
}
.cat-icon { font-size: 28px; }
.cat-card strong { font-size: 13px; font-weight: 500; }
.cat-card span { font-size: 11px; color: var(--muted); }

/* ── Product grid & cards ────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .25s;
}
.product-card:hover {
  border-color: rgba(59,130,246,.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.product-link { flex: 1; text-decoration: none; color: inherit; }
.product-img-wrap {
  position: relative;
  background: #fff;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.stock-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 100px;
}
.en-stock    { background: rgba(74,222,128,.2); color: var(--green); border: 1px solid rgba(74,222,128,.3); }
.poco-stock  { background: rgba(250,204,21,.15); color: var(--yellow); border: 1px solid rgba(250,204,21,.3); }
.sin-stock   { background: rgba(248,113,113,.15); color: var(--red); border: 1px solid rgba(248,113,113,.3); }

.product-info { padding: 14px; }
.product-brand { font-size: 11px; color: var(--cyan); font-weight: 500; letter-spacing: .3px; }
.product-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 4px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price { display: flex; flex-direction: column; gap: 2px; }
.price-main { font-size: 1.1rem; font-weight: 700; color: var(--text); font-family: var(--font-h); }
.price-iva  { font-size: 11px; color: var(--muted); }

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: var(--blue);
  color: #fff;
  border: none;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.btn-add-cart:hover { background: var(--blue2); }
.btn-add-cart.disabled { background: var(--hint); cursor: not-allowed; color: var(--muted); }

/* ── Features ────────────────────────────────────────────────── */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature h3 {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p { font-size: 13px; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.payment-badges { display: flex; flex-direction: column; gap: 8px; }
.badge {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--hint);
}

/* ── Catalog layout ──────────────────────────────────────────── */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 64px;
  align-items: start;
}
.filters-panel {
  position: sticky;
  top: 80px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.filter-section h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 10px;
}
.filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  transition: all .15s;
}
.filter-link:hover, .filter-link.active {
  color: var(--text);
  background: rgba(255,255,255,.05);
}
.filter-link.active { color: var(--cyan); font-weight: 500; }
.filter-count {
  font-size: 11px;
  color: var(--hint);
  background: var(--surface);
  padding: 1px 6px;
  border-radius: 100px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.filter-check input { accent-color: var(--blue); }
.filter-check:hover { color: var(--text); }

.catalog-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.catalog-info { font-size: 14px; color: var(--muted); }
.catalog-info strong { color: var(--text); }
.select-orden {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
  outline: none;
}
.select-orden:focus { border-color: var(--blue); }
.select-orden option { background: var(--bg2); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  transition: all .15s;
}
.page-btn:hover, .page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── Product detail ──────────────────────────────────────────── */
.product-detail-layout { padding: 32px 24px 64px; }
.breadcrumb {
  font-size: 12px;
  color: var(--hint);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue2); }
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.gallery-main {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gallery-thumbs .thumb {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}
.gallery-thumbs .thumb:hover { border-color: var(--blue); }

.product-info-panel { display: flex; flex-direction: column; gap: 16px; }
.product-brand-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: .3px;
}
.product-title {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
}
.product-sku { font-size: 13px; color: var(--muted); }

.price-block { padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-main-lg {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 800;
}
.price-main-lg span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-iva-lg { font-size: 13px; color: var(--muted); margin-top: 4px; }

.stock-info { font-size: 14px; font-weight: 500; }
.in-stock  { color: var(--green); }
.out-stock { color: var(--red); }

.add-to-cart-panel { display: flex; gap: 12px; align-items: center; }
.qty-selector {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-selector button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 18px;
  width: 40px; height: 42px;
  cursor: pointer;
  transition: background .15s;
}
.qty-selector button:hover { background: rgba(255,255,255,.06); }
.qty-selector input {
  width: 50px;
  text-align: center;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  outline: none;
}

.shipping-info {
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.shipping-info strong { color: var(--green); }

/* ── Tabs ────────────────────────────────────────────────────── */
.product-tabs { margin-bottom: 48px; }
.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.tab-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover {
  color: var(--text);
  border-bottom-color: var(--blue);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table th {
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 16px 10px 0;
  width: 40%;
}
.specs-table td { font-size: 13px; padding: 10px 0; color: var(--text); }

/* ── Cart & Checkout ─────────────────────────────────────────── */
.page-title {
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 32px 0 28px;
}
.cart-layout, .checkout-layout { padding-bottom: 64px; }
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.cart-item img { width: 80px; height: 80px; object-fit: contain; background: #fff; border-radius: 8px; padding: 6px; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-item-price { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.cart-qty button {
  background: none; border: none;
  color: var(--text); font-size: 16px;
  width: 32px; height: 32px;
  cursor: pointer;
}
.cart-qty span { padding: 0 10px; font-size: 14px; }
.cart-item-total { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-total strong { font-family: var(--font-h); font-size: 1rem; }
.btn-remove { background: none; border: none; color: var(--hint); font-size: 16px; cursor: pointer; padding: 4px; }
.btn-remove:hover { color: var(--red); }

.cart-summary {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 84px;
}
.cart-summary h3 { font-family: var(--font-h); font-size: 1.1rem; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
}
.summary-divider { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.free-shipping-tip {
  font-size: 12px;
  color: var(--yellow);
  margin-top: 4px;
  padding: 8px;
  background: rgba(250,204,21,.08);
  border-radius: 6px;
}

/* ── Checkout form ───────────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-form-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.checkout-form-panel h3 { font-family: var(--font-h); font-size: 1.1rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--muted); }
.form-group input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus { border-color: var(--blue); }
.form-group input::placeholder { color: var(--hint); }

.mp-info { margin-top: 8px; }
.mp-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,158,227,.1);
  border: 1px solid rgba(0,158,227,.25);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: #5DC8E8;
  margin-bottom: 10px;
}
.mp-methods { font-size: 12px; color: var(--hint); padding: 4px 0; }

.checkout-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.checkout-item img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px; }
.checkout-item p { font-size: 13px; font-weight: 500; margin-bottom: 2px; line-height: 1.3; }
.checkout-item span { font-size: 12px; color: var(--muted); }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-error { background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.3); color: var(--red); }

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state h3 { font-family: var(--font-h); font-size: 1.4rem; margin: 16px 0 8px; }
.empty-state p { color: var(--muted); margin-bottom: 28px; }

/* ── Toast notifications ─────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  animation: slideIn .3s ease;
  max-width: 320px;
  font-size: 14px;
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
@keyframes slideIn {
  from { opacity:0; transform: translateX(20px); }
  to   { opacity:1; transform: translateX(0); }
}
@keyframes slideOut {
  to   { opacity:0; transform: translateX(20px); }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .main-nav { display: none; }
  .search-form { display: none; }
  .menu-toggle { display: flex; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom .container { flex-direction: column; gap: 4px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .add-to-cart-panel { flex-direction: column; }
}
