:root {
  --primary: #F5A623;
  --primary-dark: #E09400;
  --primary-light: #FFF3D6;
  --secondary: #2C3E50;
  --secondary-light: #34495E;
  --bg: #F8F9FA;
  --white: #FFFFFF;
  --text: #333333;
  --text-light: #666666;
  --border: #E0E0E0;
  --success: #28A745;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.top-bar a:hover { color: var(--white); }

.header-main {
  padding: 16px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.phone-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.phone-link:hover { color: var(--primary-dark); }

.phone-link--secondary {
  font-size: 18px;
  font-weight: 600;
}

.phone-link--secondary svg {
  width: 20px;
  height: 20px;
}

.phone-link svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.header-address {
  font-size: 13px;
  color: var(--text-light);
}

.nav {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 16px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(245,166,35,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,166,35,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--secondary);
}

.btn-white:hover {
  background: var(--primary-light);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  object-fit: cover;
  height: 400px;
}

/* Features */
.features {
  padding: 60px 0;
  background: var(--white);
}

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

.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light), var(--white));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* Section */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-content {
  padding: 24px;
}

.product-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.product-meta span {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-light);
}

.product-meta .in-stock {
  background: #E8F5E9;
  color: var(--success);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
}

.product-price .unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
}

.btn-buy {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(245,166,35,0.3);
}

.btn-buy:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(245,166,35,0.4);
}

.btn-buy svg {
  width: 20px;
  height: 20px;
}

/* About preview */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  border-radius: var(--radius);
  z-index: -1;
}

.about-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item h4 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
}

.stat-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* Contact CTA */
.cta-section {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-phones {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}

.cta-phone:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer-brand .logo-title {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.6;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--white);
  padding: 60px 0;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Catalog */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.sidebar-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 8px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}

.category-list a:hover,
.category-list a.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.category-list .count {
  font-size: 12px;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-light);
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.product-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.product-detail-info h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
}

.product-detail-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.product-detail-price .unit {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-light);
}

.product-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.meta-label {
  color: var(--text-light);
}

.meta-value {
  font-weight: 600;
  color: var(--secondary);
}

.product-detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

.product-description {
  margin-top: 40px;
}

.product-description h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.product-description p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

.features-list {
  list-style: none;
  margin-top: 16px;
}

.features-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Contacts Page */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-item {
  margin-bottom: 16px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item label {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary-dark);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.schedule-table td:first-child {
  color: var(--text-light);
}

.schedule-table td:last-child {
  font-weight: 600;
  text-align: right;
}

/* Delivery Page */
.delivery-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.delivery-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  margin: 32px 0 16px;
}

.delivery-content h3:first-child {
  margin-top: 0;
}

.delivery-content p,
.delivery-content li {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.delivery-content ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.delivery-content strong {
  color: var(--secondary);
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.region-item {
  background: var(--bg);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.region-item--expandable {
  padding: 0;
  cursor: pointer;
}

.region-item--expandable[open] {
  grid-column: 1 / -1;
}

.region-item--expandable summary {
  padding: 12px 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.region-item--expandable summary::-webkit-details-marker {
  display: none;
}

.region-item--expandable summary::after {
  content: "▾";
  font-size: 12px;
  color: var(--text-light);
  transition: transform 0.2s;
}

.region-item--expandable[open] summary::after {
  transform: rotate(180deg);
}

.region-item--expandable[open] summary {
  border-bottom: 1px solid var(--border);
}

.region-item__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 16px;
}

.region-item__cities span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
}

/* Mobile Call FAB */
.mobile-call-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(245,166,35,0.5);
  z-index: 999;
  animation: pulse 2s infinite;
  text-decoration: none;
}

.mobile-call-fab svg {
  width: 28px;
  height: 28px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-hover);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.modal p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.modal-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--secondary);
  font-weight: 700;
  font-size: 18px;
  transition: var(--transition);
}

.modal-phone:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 32px; }
  .hero-buttons { justify-content: center; }
  .hero-image { display: none; }

  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }

    .nav {
    position: relative;
  }
  .nav .container {
    flex-wrap: wrap;
    padding: 8px 24px;
  }
  .mobile-menu-btn {
    display: flex !important;
    order: 1;
    padding: 8px;
    margin-right: 8px;
  }
  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a::after {
    display: none;
  }
  .search-wrapper {
    order: 2;
    flex: 1;
    margin-left: 0;
    min-width: 0;
  }
  .search-input {
    width: 100%;
  }

  .header-main .container { flex-wrap: wrap; }
  .header-contacts { display: none; }

  .mobile-call-fab { display: flex; }

  .cta-phones { flex-direction: column; align-items: center; }
  .cta-phone { width: 100%; justify-content: center; }

  .regions-grid { grid-template-columns: repeat(2, 1fr); }

  .product-detail { padding: 24px; }
  .product-detail-info h1 { font-size: 24px; }
  .product-detail-price { font-size: 28px; }

  .delivery-content { padding: 24px; }
  .page-header h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .regions-grid { grid-template-columns: 1fr; }
}

/* ===== SEARCH BAR ===== */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 260px;
  padding: 10px 16px 10px 40px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--text-light);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  display: none;
}

.search-clear.visible {
  display: block;
}

.search-clear:hover {
  color: var(--secondary);
}

/* Mobile search */
@media (max-width: 768px) {
  .search-wrapper {
    width: 100%;
    margin-top: 12px;
  }
  .search-input {
    width: 100%;
  }
  .nav .container {
    flex-wrap: wrap;
  }
}

/* Search highlight */
.search-highlight {
  background: var(--primary-light);
  padding: 2px 4px;
  border-radius: 4px;
}

/* No results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.no-results h3 {
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 8px;
}

/* Search in nav */
.nav-links .search-wrapper {
  margin-left: auto;
  padding: 8px 0;
}

.nav-links .search-input {
  width: 220px;
  padding: 8px 12px 8px 36px;
  font-size: 14px;
}

.nav-links .search-icon {
  left: 10px;
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .nav-links .search-wrapper {
    margin-left: 0;
    width: 100%;
    padding: 12px 0;
    order: -1;
  }
  .nav-links .search-input {
    width: 100%;
  }
}
/* Стили для загрузки файлов */
.file-label {
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
}
.file-label input[type="file"] {
  display: none;
}
.file-label span {
  display: inline-block;
  padding: 6px 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px dashed var(--primary);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}
.file-label:hover span {
  background: var(--primary);
  color: var(--white);
  border-style: solid;
}
.products-table input[type="text"] {
  margin-bottom: 4px;
}
.unit-input { min-width: 150px; }