@font-face {
  font-family: 'Neo Contact';
  src: url('/assets/fonts/NeoContact.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Clarendon Text';
  src: url('/assets/fonts/clarendon-bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #374151; /* Dark gray for body text */
  background-color: #ffffff;
}

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

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #b11b1b;
  font-family: 'Clarendon', serif;
}

.logo-font {
  font-family: 'Clarendon', serif;
  font-weight: 700;
  color: #b11b1b;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #128C7E;
  color: white;
}

.telegram-btn {
  background: #0088cc;
  color: white;
}

.telegram-btn:hover {
  background: #006699;
  color: white;
}

.contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-btn span {
  display: none;
}

@media (min-width: 768px) {
  .contact-btn span {
    display: inline;
  }
  
  .contact-btn {
    padding: 0.5rem 1rem;
  }
}

.language-switcher {
  display: flex;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: #ffffff;
  color: #374151; /* Dark gray for active language button */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cart-toggle {
  position: relative;
  background: #374151; /* Dark gray for cart button */
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-toggle:hover {
  background: #4b5563; /* Slightly lighter gray on hover */
  transform: translateY(-1px);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  margin-bottom: 3rem;
  border-radius: 16px;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #374151; /* Dark gray for headings */
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6b7280; /* Lighter gray for subtitles */
  font-weight: 400;
}

/* Products Section with Filters */
.products-section {
  margin-bottom: 4rem;
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.filters-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
}

.filters-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.filters-toggle:hover {
  background: #e5e7eb;
}

.filter-group {
  margin-bottom: 2rem;
}

.filter-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #374151;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #374151; /* Dark gray for checkboxes */
}

.filter-option label {
  cursor: pointer;
  font-size: 0.875rem;
  color: #4b5563;
}

.filter-count {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-left: auto;
}

/* Price Filter */
.price-range {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  width: 20px;
}

.price-input:focus {
  outline: none;
  border-color: #374151; /* Dark gray for focus */
  box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1); /* Adjusted shadow */
}

.apply-price-btn {
  background: #374151; /* Dark gray for buttons */
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.apply-price-btn:hover {
  background: #4b5563; /* Slightly lighter gray on hover */
}

.clear-filters-btn {
  width: 100%;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-filters-btn:hover {
  background: #e5e7eb;
}

/* Products Content */
.products-content {
  flex: 1;
  max-width: 100%;
  overflow-x: hidden;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  color: #374151;
}

.products-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 0.875rem;
}

.sort-select:focus {
  outline: none;
  border-color: #374151;
  box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.results-count {
  font-size: 0.875rem;
  color: #6b7280;
}

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

.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-status {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-status.available {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #16a34a;
}

.product-status.on-order {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.product-description {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #059669; /* Keep green for prices */
}

.add-to-cart {
  background: #374151; /* Dark gray for buttons */
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-to-cart:hover {
  background: #4b5563; /* Slightly lighter gray on hover */
  transform: translateY(-1px);
}

.add-to-cart.disabled {
  background: #9ca3af;
  color: #6b7280;
  cursor: not-allowed;
  transform: none;
}

.add-to-cart.disabled:hover {
  background: #9ca3af;
  transform: none;
}

/* Trust Badge Styles */
.trust-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2d3748;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 16px;
  width: 152px;
  height: 226px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.trust-badge:hover {
  transform: scale(1.05);
}

.trust-logo {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.trust-logo-img {
  width: 48px;
  height: 48px;
  margin-right: 8px;
}

.trust-text {
  font-size: 12px;
  font-weight: 600;
}

.trust-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.trust-stars {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.star {
  width: 24px;
  height: 24px;
  fill: #f59e0b;
  margin-right: 4px;
}

.trust-rating {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}

.trust-subtitle {
  font-size: 14px;
  font-weight: 500;
}

.trust-menu-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #a0aec0;
  background: none;
  border: none;
  cursor: pointer;
}

.trust-menu-btn:hover {
  color: #ffffff;
}

.menu-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Announcement Bar Styles */
.announcement-bar {
  width: 100%; /* Полная ширина экрана */
  background-color: #000;
  color: #fff;
  overflow: hidden;
}
.announcement-bar {
  position: relative;
  height: 40px; /* Задай нужную высоту */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider__slide {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slider__slide.active {
  opacity: 1;
  position: relative;
}

.announcement-bar-slider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slider__slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* Высота черной полоски */
}

.announcement-bar__announcement {
  text-align: center;
  width: 100%;
}

.announcement-bar__message {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* Убраны стили кнопок переключения */
.localization-wrapper {
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: #000000; /* Черный фон */
  color: #ffffff; /* Белый текст */
  padding: 1rem 0; /* Компактные отступы */
}

.footer-content {
  text-align: center;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  min-width: 140px;
  justify-content: center;
}

.footer-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.footer-contact-btn.whatsapp-btn {
  background: #25D366;
  color: white;
}

.footer-contact-btn.whatsapp-btn:hover {
  background: #128C7E;
  color: white;
}

.footer-contact-btn.telegram-btn {
  background: #0088cc;
  color: white;
}

.footer-contact-btn.telegram-btn:hover {
  background: #006699;
  color: white;
}

.footer-contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-content ul {
  margin: 0 auto;
}

.footer-content p {
  font-size: 0.875rem; /* Размер шрифта, как на фото */
  margin: 0;
  display: inline-flex; /* Для выравнивания текста и логотипов в одну линию */
  align-items: center; /* Вертикальное выравнивание */
  gap: 0.5rem; /* Небольшой отступ между элементами */
}

.list-payment {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  gap: 0.75rem; /* Отступ между логотипами */
}

.list-payment__item {
  margin: 0;
}

.icon--full-color {
  height: 24px; /* Высота, как указано в SVG */
  width: 38px; /* Ширина, как указано в SVG */
  vertical-align: middle;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

/* Cart Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.cart-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
  color: #6b7280;
}

.cart-close:hover {
  background: #e5e7eb;
  color: #374151;
}

/* Cart Content */
.cart-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cart-item-image {
  width: 64px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-item-name {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.cart-item-price {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.quantity-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 1.1rem;
}

.quantity-display {
  font-weight: 600;
  color: #374151;
  min-width: 24px;
  text-align: center;
  font-size: 1.1rem;
}

.cart-item-remove {
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: auto;
  margin-top: 0.25rem;
  transition: background 0.2s ease;
  align-self: flex-end;
}

.cart-item-remove:hover {
  background: #dc2626;
}

@media (max-width: 600px) {
  .cart-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .cart-item-image {
    margin: 0 auto;
  }
  .cart-item-info {
    align-items: flex-start;
  }
  .cart-item-remove {
    margin-left: 0;
    align-self: flex-start;
  }
}

/* Cart Summary */
.cart-summary {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
}

.total-amount {
  color: #059669;
}

.checkout-btn {
  width: 100%;
  background: #059669;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.checkout-btn:hover {
  background: #047857;
}

.checkout-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* Empty Cart */
.cart-empty {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.cart-empty h4 {
  margin-bottom: 0.5rem;
  color: #374151;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
  color: #6b7280;
}

.modal-close:hover {
  background: #e5e7eb;
  color: #374151;
}

/* Order Modal */
.order-modal {
  max-width: 700px;
}

.order-form {
  padding: 1.5rem;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.radio-option:hover {
  border-color: #059669;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: #059669;
  background: #059669;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.submit-btn {
  width: 100%;
  background: #059669;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 1rem;
}

.submit-btn:hover {
  background: #047857;
}

/* Payment Modal */
.payment-modal {
  max-width: 800px;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.payment-option {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.payment-option:hover {
  border-color: #059669;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.payment-option h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin: 1rem 0 0.5rem 0;
}

.payment-option p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.payment-icon {
  color: #059669;
  margin-bottom: 1rem;
}

.payment-btn {
  width: 100%;
  background: #059669;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.payment-btn:hover {
  background: #047857;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: relative;
    top: auto;
  }

  .filters-toggle {
    display: block;
  }

  .filters-content {
    display: none;
  }

  .filters-content.open {
    display: block;
  }
}

@media (max-width: 768px) {
  .cart-sidebar {
    width: 100vw;
    right: -100vw;
  }
  
  .modal-content {
    width: 95%;
    margin: 1rem;
  }
  
  .payment-options {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .header .contact-buttons {
    display: none;
  }
  
  .language-switcher {
    padding: 2px;
    gap: 2px;
  }
  
  .lang-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-width: 32px;
  }
  
  .trust-badge {
    display: none;
  }
  
  .contact-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  
  .footer-contact-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-contact-btn {
    min-width: 200px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .products-content {
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
}

/* Loading States */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f4f6;
  border-top: 3px solid #374151;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Delivery Modal */
.delivery-modal {
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
}

.delivery-modal-body {
  padding: 2rem;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.8;
  white-space: pre-line;
  background: #fafafa;
  border-radius: 0 0 12px 12px;
}

.delivery-modal-body strong {
  color: #1f2937;
  font-weight: 600;
}

.delivery-modal-body h3 {
  color: #059669;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

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

.delivery-modal-body ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.delivery-modal-body li {
  margin: 0.25rem 0;
  line-height: 1.6;
}

.delivery-modal-body .section-divider {
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
  padding-top: 1rem;
}

#deliveryModalTitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  text-align: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  border-radius: 12px 12px 0 0;
}

.delivery-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  justify-content: center;
  gap: 1rem;
  border-radius: 0 0 12px 12px;
}

.agree-btn {
  background: #059669;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.agree-btn:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.close-btn {
  background: #6b7280;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.close-btn:hover {
  background: #4b5563;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.footer-docs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 1.5rem 0 0 0;
  padding: 0;
  list-style: none;
  align-items: center;
}
.footer-docs li {
  margin: 0;
}
.footer-docs a {
  color: #fff;
  background: none;
  border-radius: 0;
  padding: 0;
  text-decoration: underline;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-docs a:hover {
  color: #059669;
  background: none;
}

.policy-btn {
  color: #fff;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  text-decoration: underline;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.policy-btn:hover {
  color: #059669;
  background: none;
}

.policy-agreement {
  margin: 1.5rem 0;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color 0.2s ease;
  background: #f9fafb;
}

.checkbox-option:hover {
  border-color: #059669;
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
  border-color: #059669;
  background: #059669;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.policy-link {
  background: none;
  border: none;
  color: #059669;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
}

.policy-link:hover {
  color: #047857;
  text-decoration: none;
}

/* Privacy Modal */
.privacy-modal {
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
}

.privacy-modal-body {
  padding: 2rem;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.8;
  white-space: pre-line;
  background: #fafafa;
  border-radius: 0 0 12px 12px;
}

.privacy-modal-body strong {
  color: #1f2937;
  font-weight: 600;
}

.privacy-modal-body h3 {
  color: #3b82f6;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.privacy-modal-body h3:first-child {
  margin-top: 0;
}

.privacy-modal-body ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.privacy-modal-body li {
  margin: 0.25rem 0;
  line-height: 1.6;
}

.privacy-modal-body .section-divider {
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
  padding-top: 1rem;
}

#privacyModalTitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  text-align: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-radius: 12px 12px 0 0;
}

.privacy-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  justify-content: center;
  border-radius: 0 0 12px 12px;
}

/* Cart Pricing Info */
.pricing-info {
  margin: 1rem 0;
  padding: 1rem;
  background: #f0f9ff;
  border-radius: 8px;
  border: 1px solid #0ea5e9;
}

.pricing-details {
  font-size: 0.85rem;
}

.pricing-header {
  font-weight: 600;
  color: #0c4a6e;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pricing-tier {
  padding: 0.5rem;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.pricing-tier.active {
  background: #dcfce7;
  border-color: #16a34a;
  color: #15803d;
  font-weight: 600;
}

.tier-label {
  font-size: 0.8rem;
}

.pricing-savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: #fef3c7;
  border-radius: 6px;
  border: 1px solid #f59e0b;
  font-weight: 600;
  color: #92400e;
}

.savings-amount {
  color: #059669;
}

/* Minimum Order Warning */
.min-order-warning {
  margin: 1rem 0;
  padding: 1rem;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #ef4444;
}

.warning-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #dc2626;
  font-weight: 600;
  font-size: 0.9rem;
}

.warning-icon {
  font-size: 1.2rem;
}

/* Cart Shipping Info */
.shipping-info {
  margin: 1rem 0;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.cart-shipping {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.shipping-cost {
  font-weight: 600;
}

.free-shipping {
  color: #059669;
  font-weight: 700;
}

/* Delivery Info in Order Form */
.delivery-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.delivery-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.delivery-details {
  flex: 1;
}

.delivery-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.delivery-subtitle {
  font-size: 0.9rem;
  color: #059669;
  font-weight: 500;
}

.delivery-countries {
  font-size: 0.9rem;
  color: #6b7280;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* Disabled checkout button styling */
.checkout-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
}

.checkout-btn:disabled:hover {
  background: #9ca3af;
  transform: none;
  box-shadow: none;
}
