/* hikvision-sale.ru Custom Styles v1.1 — button fix */

/* Fonts */
body, .main, .content, p, li, a, span, div {
  font-family: 'Golos Text', 'Montserrat', sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-family: 'Tektur', 'Montserrat', sans-serif !important;
  color: #0F172A !important;
}

/* Links — plain text links only, NOT buttons */
a:not([style*="background"]):not(.btn):not(.button):not([class*="btn"]) {
  color: #D71820 !important;
  transition: color 0.2s ease;
}
a:not([style*="background"]):not(.btn):not(.button):not([class*="btn"]):hover {
  color: #B01218 !important;
}

/* CTA buttons (inline-styled links in HTML modules) */
a[style*="background:#D71820"],
a[style*="background: #D71820"],
a[style*="background:#D71820;"],
a[style*="background: #D71820;"] {
  color: #fff !important;
}
a[style*="background:#D71820"]:hover,
a[style*="background: #D71820"]:hover {
  background: #347d19 !important;
  color: #fff !important;
}

/* Product cards */
.product-thumb, .product-card, .item-card {
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #E2E8F0 !important;
  background: #FFFFFF !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  padding: 16px !important;
}
.product-thumb:hover, .product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
}

/* Category cards */
.category-card, .category-list-item {
  border-radius: 12px !important;
}

/* Images */
.product-thumb img, .product-card img, .category-card img {
  border-radius: 8px !important;
}

/* Buttons */
button, .button, .btn, input[type="submit"], .checkout-button {
  border-radius: 8px !important;
  font-family: 'Golos Text', sans-serif !important;
  font-weight: 600 !important;
}

/* Inputs */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
textarea, select, .form-control {
  border-radius: 8px !important;
  border: 1px solid #E2E8F0 !important;
  padding: 12px 16px !important;
  font-family: 'Golos Text', sans-serif !important;
  font-size: 16px !important;
  color: #1E293B !important;
}
input:focus, textarea:focus, select:focus {
  border-color: #D71820 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(215,24,32,0.1) !important;
}

/* Primary button */
.btn-primary, .button-primary, button[type="submit"] {
  background: #D71820 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}
.btn-primary:hover, .button-primary:hover, button[type="submit"]:hover {
  background: #347d19 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(52,125,25,0.3) !important;
}

/* Stickers */
.sticker, .sticker-special, .sticker-new {
  border-radius: 6px !important;
}

/* Breadcrumbs */
.breadcrumb a { color: #D71820 !important; }
.breadcrumb a:hover { color: #B01218 !important; }

/* Pagination */
.pagination a, .pagination span { border-radius: 8px !important; }
.pagination .active { background: #D71820 !important; border-color: #D71820 !important; }

/* Modal */
.modal-content, .popup-content {
  border-radius: 16px !important;
  overflow: hidden !important;
}