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

:root {
  --primary-color: #d97744;
  --primary-dark: #b85a2a;
  --primary-light: #e89a6f;
  --secondary-color: #e67e22;
  --secondary-dark: #c85a1a;
  --accent-orange: #e67e22;
  --orange-gradient: linear-gradient(135deg, #d97744 0%, #e67e22 100%);
  --orange-gradient-light: linear-gradient(135deg, #e89a6f 0%, #f0a76b 100%);
  --text-color: #2c3e50;
  --text-light: #5a6c7d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 12px rgba(217, 119, 68, 0.15);
  --shadow-hover: 0 8px 24px rgba(217, 119, 68, 0.25);
  --shadow-large: 0 12px 40px rgba(217, 119, 68, 0.2);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

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

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

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

.header-top {
  background: var(--orange-gradient);
  color: white;
  padding: 12px 0;
  font-size: 14px;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.phone-link {
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.3s, opacity 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.work-hours {
  opacity: 0.95;
  font-weight: 500;
}

.email-link {
  opacity: 0.95;
  transition: opacity 0.3s, transform 0.3s;
}

.email-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.callback-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.callback-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.logo h1 {
  font-size: 28px;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.search-box {
  display: flex;
  flex: 1;
  max-width: 500px;
  border: 2px solid var(--border-color);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s;
  background: var(--bg-white);
}

.search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(217, 119, 68, 0.1);
}

.search-input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.search-btn {
  background: var(--orange-gradient);
  color: white;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.search-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--primary-color);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
}

.cart-icon-btn:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.cart-text {
  display: flex;
  align-items: center;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid white;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: 4px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s;
}

.menu-toggle:hover span {
  background: var(--primary-dark);
}

.header-nav {
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.nav-list {
  display: flex;
  gap: 40px;
  padding: 18px 0;
}

.nav-link {
  color: var(--text-color);
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
  font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-gradient);
  border-radius: 2px 2px 0 0;
}

/* Hero */
.hero {
  background: var(--orange-gradient);
  background-image: url('../images/unnamed.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(217, 119, 68, 0.1) 0%, rgba(230, 126, 34, 0.1) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.2;
  z-index: 2;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 45px;
  opacity: 0.95;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeInUp 1s ease;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  transform: translateY(-3px);
}

/* Catalog */
.catalog {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--orange-gradient);
  border-radius: 2px;
}

.catalog-filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 12px 28px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.3s;
  font-size: 14px;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.filter-btn.active {
  background: var(--orange-gradient);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

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

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-light);
}

.product-image {
  position: relative;
  width: 100%;
  height: 220px;
  background: var(--bg-light);
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--orange-gradient-light);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-image::before {
  opacity: 0.1;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--orange-gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  text-align: center;
  padding: 20px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.product-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-img {
  transform: scale(1.05);
}

.product-info {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-color);
  line-height: 1.3;
}

.product-description {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.6;
}

.product-details {
  margin: 18px 0;
  padding: 18px;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.product-parameters {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.parameter-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.parameter-key {
  font-weight: 600;
  color: var(--text-color);
}

.parameter-value {
  color: var(--text-light);
  text-align: right;
}

.product-size-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.size-label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 14px;
}

.size-select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d97744' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.size-select:hover {
  border-color: var(--primary-color);
}

.size-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(217, 119, 68, 0.1);
}

.product-quantity {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quantity-label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 14px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}

.quantity-btn:hover {
  border-color: var(--primary-color);
  background: var(--bg-light);
  transform: scale(1.05);
}

.quantity-input {
  width: 80px;
  padding: 10px 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  font-family: inherit;
  color: var(--text-color);
  background: white;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(217, 119, 68, 0.1);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid var(--bg-light);
}

.product-price {
  font-size: 24px;
  font-weight: 800;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.add-to-cart-btn {
  background: var(--orange-gradient);
  color: white;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(217, 119, 68, 0.3);
}

.add-to-cart-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.add-to-cart-btn:active {
  transform: translateY(0);
}

.no-products {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
  font-size: 18px;
  grid-column: 1 / -1;
}

/* Advantages */
.advantages {
  padding: 100px 0;
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.advantage-card {
  text-align: center;
  padding: 40px 25px;
  border-radius: 20px;
  transition: all 0.4s;
  background: white;
  border: 2px solid var(--bg-light);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange-gradient);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.advantage-icon {
  font-size: 56px;
  margin-bottom: 25px;
  filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.2));
  transition: transform 0.3s;
}

.advantage-card:hover .advantage-icon {
  transform: scale(1.1) rotate(5deg);
}

.advantage-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.advantage-description {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Contact Form */
.contact-form-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 35px;
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-item {
  margin-bottom: 25px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s;
}

.contact-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(5px);
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 700;
}

.contact-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 15px;
}

.contact-item a {
  color: var(--primary-color);
  transition: color 0.3s;
  font-weight: 600;
}

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

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s;
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(217, 119, 68, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
  background: #fff5f5;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  width: 100%;
  background: var(--orange-gradient);
  color: white;
  padding: 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(217, 119, 68, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

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

.form-message {
  margin-top: 25px;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 5px;
  display: block;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e4263 0%, #2c5f8d 100%);
  color: white;
  padding: 60px 0 25px;
  margin-top: auto;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-section h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 15px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
  font-size: 15px;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-dev {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.6;
}

main {
  flex: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header-top {
    padding: 8px 0;
    font-size: 13px;
  }

  .header-top-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .header-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: auto;
  }

  .phone-link {
    font-size: 15px;
  }

  .work-hours {
    display: none;
  }

  .email-link {
    display: none;
  }

  .callback-btn {
    padding: 7px 16px;
    font-size: 13px;
    width: auto;
    text-align: center;
    margin-top: 0;
    white-space: nowrap;
  }

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

  .header-main-content {
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .logo h1 {
    font-size: 22px;
  }

  .logo-subtitle {
    font-size: 11px;
  }

  .menu-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .cart-icon-btn {
    padding: 8px;
    order: 1;
  }

  .header-nav {
    display: none;
    width: 100%;
    order: 4;
  }

  .header-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
  }

  .nav-link.active::after {
    display: none;
  }

  /* Mobile menu as full-screen dark glass overlay + centered glass tile */
  .header {
    position: sticky;
  }

  .header-nav.open {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 9999;
    padding: 8px 0 0;
    background: transparent;
  }

  .header-nav.open .container {
    padding: 0 15px 10px;
  }

  .header-nav.open .nav-list {
    width: 100%;
    margin: 0;
    padding: 6px 0;
    background: #ffffff;
    border: 1px solid rgba(44, 62, 80, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    overflow: hidden;
  }

  .header-nav.open .nav-link {
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
  }

  .header-nav.open .nav-link:hover,
  .header-nav.open .nav-link.active {
    background: rgba(217, 119, 68, 0.10);
    color: var(--primary-dark);
  }

  .header-nav.open .nav-list li:last-child .nav-link {
    border-bottom: none;
  }

  /* Clean hamburger / close (X) icon via CSS (no JS transforms) */
  .menu-toggle span {
    transform-origin: center;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Make the close button perfectly aligned + tappable when menu is open */
  .menu-toggle.is-open {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(44, 62, 80, 0.18);
    box-shadow: none;
  }

  .menu-toggle.is-open span {
    background: var(--primary-dark);
    height: 2px;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-content {
    padding: 0 10px;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }

  .catalog {
    padding: 50px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .catalog-filters {
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 5px;
  }

  .filter-btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-image {
    height: 180px;
  }

  .product-info {
    padding: 20px;
  }

  .product-name {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .product-description {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .product-details {
    margin: 15px 0;
    padding: 15px;
  }

  .parameter-row {
    font-size: 13px;
  }

  .size-label,
  .quantity-label {
    font-size: 13px;
  }

  .size-select {
    padding: 10px 12px;
    font-size: 14px;
    padding-right: 35px;
  }

  .quantity-controls {
    gap: 8px;
  }

  .quantity-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .quantity-input {
    width: 70px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .product-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding-top: 15px;
  }

  .product-price {
    font-size: 22px;
    text-align: center;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
  }

  .advantages {
    padding: 50px 0;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .advantage-card {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
  }

  .advantage-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .advantage-description {
    font-size: 14px;
  }

  .contact-form-section {
    padding: 50px 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .contact-item {
    padding: 18px;
    margin-bottom: 15px;
  }

  .contact-item strong {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .contact-item p {
    font-size: 14px;
  }

  .contact-form {
    padding: 25px 20px;
    border-radius: 16px;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
  }

  .form-group textarea {
    min-height: 120px;
  }

  .submit-btn {
    padding: 16px;
    font-size: 15px;
    border-radius: 10px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .footer-section ul li a {
    font-size: 14px;
  }

  .footer-section p {
    font-size: 14px;
  }

  .footer-bottom {
    padding-top: 20px;
    font-size: 13px;
  }

  .cart-text {
    display: none;
  }

  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -3px;
    right: -3px;
  }

  .cart-modal-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 16px;
  }

  .cart-header {
    padding: 18px 20px;
  }

  .cart-header h2 {
    font-size: 22px;
  }

  .cart-body {
    padding: 15px 20px;
  }

  .cart-empty {
    padding: 40px 15px;
    font-size: 16px;
  }

  .cart-product-group {
    border-radius: 10px;
  }

  .cart-product-group-header {
    padding: 12px 15px;
  }

  .cart-product-group-header h4 {
    font-size: 16px;
  }

  .cart-product-items {
    padding: 12px 15px;
    gap: 12px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .cart-item-price {
    font-size: 13px;
  }

  .cart-item-controls {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cart-item-quantity {
    gap: 6px;
  }

  .cart-quantity-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .cart-quantity-input {
    width: 50px;
    padding: 5px 8px;
    font-size: 14px;
  }

  .cart-item-total {
    font-size: 16px;
    text-align: left;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
  }

  .cart-footer {
    padding: 20px;
  }

  .cart-total {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .cart-footer-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cart-clear-btn,
  .cart-checkout-btn {
    width: 100%;
    padding: 16px;
    font-size: 15px;
  }
}

/* Cart Modal */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-modal.active {
  opacity: 1;
  visibility: visible;
}

.cart-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.cart-modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.cart-modal.active .cart-modal-content {
  transform: scale(1) translateY(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 2px solid var(--bg-light);
}

.cart-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
}

.cart-close-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.3s;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close-btn:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

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

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 18px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-product-group {
  border: 2px solid var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
}

.cart-product-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--bg-light);
  border-bottom: 2px solid var(--border-color);
}

.cart-product-group-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.cart-remove-type-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #e74c3c;
  transition: all 0.3s;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-remove-type-btn:hover {
  background: #fff5f5;
  transform: scale(1.1);
}

.cart-product-items {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: var(--bg-light);
  border-radius: 8px;
  gap: 15px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 5px;
  font-size: 15px;
}

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

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-quantity-btn {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-quantity-btn:hover {
  border-color: var(--primary-color);
  background: var(--bg-light);
}

.cart-quantity-input {
  width: 60px;
  padding: 6px 10px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
}

.cart-quantity-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(217, 119, 68, 0.1);
}

.cart-item-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 100px;
  text-align: right;
}

.cart-item-remove {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #e74c3c;
  transition: all 0.3s;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  background: #fff5f5;
  transform: scale(1.1);
}

.cart-footer {
  padding: 25px 30px;
  border-top: 2px solid var(--bg-light);
  background: var(--bg-light);
  border-radius: 0 0 20px 20px;
}

.cart-total {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.cart-footer-buttons {
  display: flex;
  gap: 15px;
}

.cart-clear-btn {
  flex: 1;
  background: white;
  border: 2px solid #e74c3c;
  color: #e74c3c;
  padding: 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  cursor: pointer;
}

.cart-clear-btn:hover {
  background: #e74c3c;
  color: white;
  transform: translateY(-2px);
}

.cart-checkout-btn {
  flex: 2;
  background: var(--orange-gradient);
  color: white;
  padding: 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(217, 119, 68, 0.3);
  border: none;
  cursor: pointer;
}

.cart-checkout-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 68, 0.4);
}
