/* ==========================================================================
   WHITESHOP · ONLINE CATALOG & WAREHOUSE
   Modern Minimalist Styling (Charcoal Grey, Imperial Red, Pure White)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  /* Tones: Grey, Red, White */
  --bg-dark: #0d1015;
  --bg-main: #13171f;
  --bg-card: #181e28;
  --bg-elevated: #222a38;
  --bg-input: #12151c;
  --border-card: #283242;
  --border-subtle: #1e2633;

  --red-primary: #c21f30;
  --red-bright: #e60012;
  --red-deep: #7a0c16;

  --white: #ffffff;
  --text-primary: #f0f3f8;
  --text-secondary: #9da7b6;
  --text-muted: #647082;

  --gold: #d4af37;

  --font-serif: 'Cinzel', serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: linear-gradient(180deg, #0b0e13 0%, #13171f 100%);
  background-attachment: fixed;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
}

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

/* ==========================================================================
   18+ AGE VERIFICATION GATE
   ========================================================================== */
.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 10, 14, 0.95);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.age-gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate-card {
  max-width: 460px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--red-primary);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(194, 31, 48, 0.25);
}

.age-badge-18 {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(230, 0, 18, 0.4);
}

.age-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.age-subtitle {
  font-size: 13px;
  color: var(--red-bright);
  font-weight: 600;
  margin-bottom: 16px;
}

.age-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.age-actions {
  display: flex;
  gap: 12px;
}

.btn-age-confirm {
  flex: 1.2;
  padding: 13px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-primary));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(230, 0, 18, 0.35);
}

.btn-age-confirm:hover {
  background: linear-gradient(135deg, #ff1a2e, #8f0d19);
  transform: translateY(-2px);
}

.btn-age-deny {
  flex: 0.8;
  padding: 13px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-age-deny:hover {
  color: #fff;
  background: #2b3547;
}

.age-denied-message {
  display: none;
}
.age-denied-message.show {
  display: block;
}

/* ==========================================================================
   SLIDE-OUT CATEGORIES DRAWER (Вылазит по 3 полоскам справа)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.categories-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-card);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.categories-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-card);
  background: var(--bg-main);
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.drawer-title-icon {
  color: var(--red-bright);
  font-size: 18px;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: var(--red-primary);
  color: #fff;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.drawer-all-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: var(--transition);
}

.drawer-all-btn:hover, .drawer-all-btn.active {
  border-color: var(--red-primary);
  background: rgba(194, 31, 48, 0.15);
}

.badge-count {
  font-size: 11px;
  background: var(--bg-main);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
}

/* Category & Subcategory Nested Structure */
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-cat-group {
  border: 1px solid #222b3b;
  border-radius: 12px;
  overflow: hidden;
  background: #141923;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.drawer-cat-group:hover {
  border-color: #313e54;
}

.drawer-cat-parent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.035);
  color: #f0f3f8;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.drawer-cat-parent:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.drawer-cat-parent.active {
  background: rgba(194, 31, 48, 0.2);
  color: var(--red-bright);
}

.drawer-subcat-list {
  list-style: none;
  background: transparent;
  padding: 6px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-subcat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  background: transparent;
}

.drawer-subcat-header:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.drawer-subcat-header.active {
  color: #fff;
  background: rgba(194, 31, 48, 0.16);
  font-weight: 600;
}

.drawer-subcat-name {
  flex: 1;
}

.drawer-brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 8px 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  margin: 2px 0 6px;
}

.drawer-brand-chip {
  display: inline-block;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #1b212f;
  border: 1px solid #2a3449;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1.3;
}

.drawer-brand-chip.all {
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--adm-gold, #d4af37);
  font-weight: 600;
}

.drawer-brand-chip.all:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #fff;
}

.drawer-brand-chip:hover, .drawer-brand-chip.active {
  color: #fff;
  border-color: var(--red-primary);
  background: rgba(194, 31, 48, 0.3);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 16, 21, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-card);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* 3 Stripes Hamburger Button */
.btn-open-drawer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-open-drawer:hover {
  border-color: var(--red-primary);
  background: var(--bg-elevated);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--red-bright);
  border-radius: 2px;
}

/* ==========================================================================
   HERO BANNER (Красивая атмосферная картинка сверху)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9);
  transform: scale(1.02);
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(13, 16, 21, 0.45) 0%, rgba(13, 16, 21, 0.88) 85%),
              linear-gradient(180deg, rgba(13, 16, 21, 0.2) 0%, rgba(13, 16, 21, 0.98) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ff4d5a;
  background: rgba(194, 31, 48, 0.15);
  border: 1px solid rgba(230, 0, 18, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 14.5px;
  color: #c5cedb;
  max-width: 600px;
  margin: 0 auto 18px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.active-filter-indicator {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(24, 30, 40, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.active-filter-indicator strong {
  color: #fff;
}

/* ==========================================================================
   FILTER & SEARCH BAR
   ========================================================================== */
.filter-section {
  padding: 20px 0;
}

.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.search-box {
  width: 220px;
  max-width: 100%;
  position: relative;
}

@media (max-width: 600px) {
  .search-box {
    width: 100%;
  }
}

.search-box input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 9px 12px 9px 34px;
  color: var(--text-primary);
  font-size: 13.5px;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--red-primary);
}

.search-box svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-category-wrap {
  display: flex;
  align-items: center;
}

.filter-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.filter-category-pill:hover {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.filter-category-pill.has-filter {
  border-color: var(--red-primary);
  background: rgba(194, 31, 48, 0.15);
}

.cat-pill-icon {
  font-size: 14px;
  line-height: 1;
}

.cat-pill-label {
  color: var(--text-muted);
  font-size: 12.5px;
}

.cat-pill-name {
  color: #fff;
  font-weight: 600;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cat-pill-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
  transition: var(--transition);
}

.cat-pill-reset:hover {
  background: var(--red-primary);
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .filter-category-wrap {
    width: 100%;
  }
  .filter-category-pill {
    width: 100%;
    justify-content: space-between;
  }
  .cat-pill-name {
    max-width: 180px;
  }
}

/* Quick Category Chips Bar */
.quick-category-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.quick-category-bar::-webkit-scrollbar {
  height: 4px;
}

.quick-category-bar::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 4px;
}

.quick-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  user-select: none;
}

.quick-cat-chip:hover {
  background: var(--bg-elevated);
  border-color: var(--red-primary);
  color: #fff;
  transform: translateY(-1px);
}

.quick-cat-chip.active {
  background: var(--red-primary, #c21f30);
  border-color: var(--red-bright, #e60012);
  color: #fff;
  box-shadow: 0 4px 14px rgba(194, 31, 48, 0.45);
}

.btn-clear-filter {
  background: rgba(194, 31, 48, 0.15);
  border: 1px solid var(--red-primary);
  color: #ff6b77;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 12px;
}

.btn-clear-filter:hover {
  background: var(--red-primary);
  color: #fff;
}


/* ==========================================================================
   PRODUCT CATALOG GRID & CARDS
   ========================================================================== */
.catalog-section {
  padding: 10px 0 60px;
}

.catalog-summary {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 31, 48, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.card-img-wrap {
  width: 100%;
  padding-top: 68%;
  position: relative;
  background: #0f1217;
  overflow: hidden;
  cursor: pointer;
}

.card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

/* Badges on card */
.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge-discount {
  background: linear-gradient(135deg, #ff1a2e, #a70c17);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.4);
}

.badge-status {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
}
.badge-status.in_stock { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.badge-status.low_stock { background: rgba(243, 156, 18, 0.15); color: #f39c12; }
.badge-status.out_of_stock { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.card-sku {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(13, 16, 21, 0.85);
  font-size: 10px;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}

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

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.card-origin {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card when out of stock */
.product-card.is-out-of-stock {
  opacity: 0.72;
  border-color: rgba(40, 50, 66, 0.6);
}
.product-card.is-out-of-stock:hover {
  opacity: 0.92;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  cursor: pointer;
  line-height: 1.35;
}
.card-title:hover {
  color: var(--red-bright);
}

.card-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.price-box {
  display: flex;
  flex-direction: column;
}

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

.current-price {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
.current-price.sale {
  color: #ff3344;
}

.btn-order-tg {
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-primary));
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-order-tg:hover {
  background: linear-gradient(135deg, #ff1a2e, #8f0d19);
  transform: translateY(-1px);
}

/* ==========================================================================
   ABOUT STORE SECTION ("О магазине" - с Telegram кнопками)
   ========================================================================== */
.about-section {
  padding: 40px 0 60px;
  background: var(--bg-main);
  border-top: 1px solid var(--border-card);
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red-bright);
}

.about-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 6px 0 14px;
}

.about-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 30px;
}

.tg-buttons-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-tg-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(36, 161, 222, 0.12);
  border: 1px solid rgba(36, 161, 222, 0.4);
  color: #38b5f3;
  transition: var(--transition);
}

.btn-tg-action:hover {
  background: rgba(36, 161, 222, 0.28);
  color: #ffffff;
  border-color: #38b5f3;
  box-shadow: 0 4px 20px rgba(56, 181, 243, 0.3);
  transform: translateY(-2px);
}

.btn-tg-channel,
.btn-tg-bot {
  background: rgba(36, 161, 222, 0.12);
  border: 1px solid rgba(36, 161, 222, 0.4);
  color: #38b5f3;
}

.btn-tg-channel:hover,
.btn-tg-bot:hover {
  background: rgba(36, 161, 222, 0.28);
  color: #ffffff;
  border-color: #38b5f3;
  box-shadow: 0 4px 20px rgba(56, 181, 243, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 10, 14, 0.88);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.product-detail-modal {
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--red-primary);
  border-radius: 12px;
  position: relative;
  padding: 30px;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 650px) {
  .modal-grid { grid-template-columns: 1fr; }
}

.modal-img-box {
  width: 100%;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f1217;
}
.modal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-specs {
  background: var(--bg-main);
  border-radius: 6px;
  padding: 10px 14px;
  margin: 14px 0;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-spec-row {
  display: flex;
  justify-content: space-between;
}
.modal-spec-row span:first-child { color: var(--text-muted); }
.modal-spec-row span:last-child { color: #fff; font-weight: 600; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #090b0f;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-link:hover { color: var(--red-bright); }

.footer-warning {
  background: rgba(194, 31, 48, 0.1);
  border: 1px solid rgba(194, 31, 48, 0.3);
  padding: 14px;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #ff8c98;
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}
