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

body {
  font-family: "Arial", sans-serif;
  background: #ffffff;
  color: #1a2a3a;
  overflow-wrap: anywhere;
}

.main-content {
  min-height: 80vh;
  padding: 0 20px;
}

.header {
  background: #ffffff;
  border-bottom: 3px solid #1a2a3a;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(26, 42, 58, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  font-size: 28px;
  font-weight: bold;
  color: #1a2a3a;
  margin-left: 10px;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #1a2a3a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-link:hover {
  background: #ff5a3c;
  color: #ffffff;
  transform: scale(1.05);
}

.nav-link.active {
  background: #1a2a3a;
  color: #ffffff;
}

.cart-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff5a3c;
  color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer {
  background: #1a2a3a;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.footer-link {
  color: #f5f5f5;
  text-decoration: none;
}

.footer-link:hover {
  color: #ff5a3c;
}

.footer-contact {
  margin-top: 20px;
  font-size: 14px;
}

.footer-note {
  margin-top: 10px;
  font-size: 12px;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a2a3a;
  color: #ffffff;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 14px;
}

.cookie-link {
  color: #ff5a3c;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-btn:hover {
  background: #ff5a3c;
  border-color: #ff5a3c;
  color: #ffffff;
}

.cookie-accept {
  background: #ff5a3c;
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, #1a2a3a 0%, #2a4a6a 50%, #ff5a3c 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 22px;
  margin-bottom: 30px;
  color: #ffd700;
}

.hero-button {
  background: #00aaff;
  border: none;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-button:hover {
  background: #ff5a3c;
}

.hero-countdown {
  display: inline-block;
  margin: 20px 0;
  font-size: 28px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 10px;
}

.advantages-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.advantages-title {
  font-size: 32px;
  color: #1a2a3a;
  text-align: center;
  margin-bottom: 10px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.advantage-card {
  background: #ffffff;
  border: 2px solid #1a2a3a;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}

.advantage-card:hover {
  background: #ff5a3c;
  color: #ffffff;
  transform: translateY(-5px);
}

.advantage-icon {
  font-size: 36px;
  color: #00aaff;
  margin-bottom: 10px;
}

.advantage-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 14px;
}

.about-text-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e8ff 100%);
  border-radius: 12px;
  border-left: 4px solid #00aaff;
}

.about-text-section h2 {
  font-size: 28px;
  color: #1a2a3a;
  margin-bottom: 15px;
}

.about-text-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #334455;
  margin-bottom: 15px;
}

.about-text-section ul {
  list-style: none;
  padding-left: 20px;
}

.about-text-section li {
  font-size: 15px;
  margin-bottom: 8px;
}

.about-text-section li::before {
  content: "★";
  color: #ff5a3c;
  margin-right: 8px;
}

.cta-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #2a4a6a 0%, #1a2a3a 100%);
  color: #ffffff;
  border-radius: 12px;
}

.cta-title {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-text {
  font-size: 16px;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background: #ff5a3c;
  border: none;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

.cta-button:hover {
  background: #00aaff;
}

.stats-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  background: #ffffff;
  border: 2px solid #1a2a3a;
  border-radius: 12px;
}

.stats-title {
  font-size: 28px;
  color: #1a2a3a;
  text-align: center;
  margin-bottom: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: #f5f7fa;
  border-radius: 8px;
}

.stat-number {
  font-size: 32px;
  color: #ff5a3c;
  font-weight: bold;
}

.stat-label {
  font-size: 16px;
  color: #1a2a3a;
  margin-top: 8px;
}

.products-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.products-title {
  font-size: 36px;
  color: #1a2a3a;
  text-align: center;
  margin-bottom: 10px;
}

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

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: #ff5a3c;
}

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

.product-info {
  padding: 15px;
}

.product-name {
  font-size: 20px;
  color: #1a2a3a;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-price {
  font-size: 22px;
  color: #ff5a3c;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffd700;
  margin-bottom: 8px;
}

.product-description {
  font-size: 14px;
  color: #334455;
  margin-bottom: 12px;
}

.product-action {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.product-button {
  background: #00aaff;
  border: none;
  color: #ffffff;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.product-button:hover {
  background: #ff5a3c;
}

.product-detail {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.product-detail-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  background: #f0f4ff;
}

.product-detail-info {
  padding: 20px;
}

.product-detail-name {
  font-size: 32px;
  color: #1a2a3a;
  margin-bottom: 10px;
}

.product-detail-price {
  font-size: 28px;
  color: #ff5a3c;
  font-weight: bold;
  margin-bottom: 15px;
}

.product-detail-description {
  font-size: 16px;
  color: #334455;
  line-height: 1.8;
  margin-bottom: 20px;
}

.product-detail-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffd700;
  margin-bottom: 15px;
}

.product-detail-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.buy-now-btn {
  background: #ff5a3c;
  border: none;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.buy-now-btn:hover {
  background: #00aaff;
}

.add-to-cart-btn {
  background: #00aaff;
  border: none;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.add-to-cart-btn:hover {
  background: #ff5a3c;
}

.cart-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.cart-title {
  font-size: 36px;
  color: #1a2a3a;
  text-align: center;
  margin-bottom: 20px;
}

.cart-items {
  max-width: 800px;
  margin: 0 auto;
}

.cart-item {
  background: #ffffff;
  border: 2px solid #1a2a3a;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: #f0f4ff;
}

.cart-item-name {
  font-size: 18px;
  color: #1a2a3a;
  margin-bottom: 5px;
}

.cart-item-price {
  font-size: 16px;
  color: #ff5a3c;
  font-weight: bold;
}

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

.quantity-btn {
  background: #00aaff;
  border: none;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.quantity-no {
  font-size: 16px;
  color: #1a2a3a;
}

.remove-btn {
  background: #ff5a3c;
  border: none;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.cart-total {
  font-size: 22px;
  color: #1a2a3a;
  text-align: right;
  padding: 10px;
  margin-top: 20px;
}

.cart-total span {
  color: #ff5a3c;
  font-weight: bold;
}

.checkout-btn {
  display: block;
  background: #ff5a3c;
  border: none;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  margin: 20px auto;
  text-decoration: none;
}

.checkout-btn:hover {
  background: #00aaff;
}

.cart-empty {
  text-align: center;
  font-size: 20px;
  color: #1a2a3a;
  padding: 40px;
}

.checkout-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.checkout-title {
  font-size: 32px;
  color: #1a2a3a;
  text-align: center;
  margin-bottom: 20px;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: #1a2a3a;
}

.form-group input {
  padding: 10px;
  border: 2px solid #1a2a3a;
  border-radius: 6px;
  font-size: 16px;
  background: #ffffff;
  color: #1a2a3a;
}

.form-group input:focus {
  outline: none;
  border-color: #ff5a3c;
}

.submit-order-btn {
  grid-column: span 2;
  background: #ff5a3c;
  border: none;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-order-btn:hover {
  background: #00aaff;
}

.success-page {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #2a4a6a 50%, #1a2a3a 100%);
  border-radius: 16px;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.success-icon {
  font-size: 72px;
  color: #ffd700;
  margin-bottom: 20px;
}

.success-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.success-message {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f5f5f5;
}

.success-continue {
  background: #ff5a3c;
  border: none;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}

.success-continue:hover {
  background: #00aaff;
}

.about-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.about-title {
  font-size: 36px;
  color: #1a2a3a;
  text-align: center;
  margin-bottom: 20px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #334455;
  margin-bottom: 20px;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 30px;
  margin-top: 20px;
}

.team-member {
  background: #ffffff;
  border: 2px solid #1a2a3a;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.team-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #00aaff;
  display: block;
  background: #f0f4ff;
}

.team-name {
  font-size: 18px;
  color: #1a2a3a;
  margin-top: 10px;
}

.team-role {
  font-size: 14px;
  color: #00aaff;
  margin-top: 5px;
}

.team-bio {
  font-size: 13px;
  color: #334455;
  margin-top: 8px;
}

.contact-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.contact-title {
  font-size: 36px;
  color: #1a2a3a;
  text-align: center;
  margin-bottom: 20px;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #1a2a3a;
  border-radius: 12px;
  padding: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 16px;
}

.contact-icon {
  font-size: 24px;
  color: #00aaff;
}

.contact-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.contact-form-title {
  font-size: 24px;
  color: #1a2a3a;
  margin-bottom: 15px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.contact-form-group label {
  font-size: 14px;
  color: #1a2a3a;
  margin-bottom: 5px;
}

.contact-form-group input,
.contact-form-group textarea {
  padding: 10px;
  border: 2px solid #1a2a3a;
  border-radius: 6px;
  font-size: 16px;
}

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

.contact-submit {
  background: #ff5a3c;
  border: none;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.contact-submit:hover {
  background: #00aaff;
}

.policy-page {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.policy-title {
  font-size: 36px;
  color: #1a2a3a;
  text-align: center;
  margin-bottom: 20px;
}

.policy-text {
  font-size: 16px;
  line-height: 1.8;
  color: #334455;
  margin-bottom: 20px;
}

.policy-section {
  font-size: 18px;
  color: #1a2a3a;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
  }
  .nav-menu {
    flex-direction: column;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .checkout-form {
    grid-template-columns: 1fr;
  }

  .cart-items {
    width: 100%;
  }

  .cart-item {
    flex-direction: column;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .cookie-content {
    flex-direction: column;
  }
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cookie-btn,
  .cookie-accept {
    width: 100%;
  }
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  color: #8b7355;
}

.hamburger-menu svg {
  display: block;
}

@media (max-width: 768px) {
  .header-content {
    position: relative;
  }

  .hamburger-menu {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }

  nav.active {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: 100%;
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav a {
    padding: 1rem 2rem;
    width: 100%;
    justify-content: flex-start;
    display: block;
    color: #333 !important;
  }

  nav a:hover {
    background-color: #f8f9fa;
  }
}

/* Header and footer polish */
.header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(26, 42, 58, 0.12);
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(26, 42, 58, 0.1);
  backdrop-filter: blur(12px);
}

.header-container {
  min-height: 64px;
}

.logo-link {
  gap: 12px;
  transition: transform 0.25s ease;
}

.logo-link:hover {
  transform: translateY(-2px);
}

.logo-image {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border: 1px solid #edf0f3;
  border-radius: 14px;
  box-shadow: 0 5px 14px rgba(26, 42, 58, 0.12);
}

.logo-text {
  margin-left: 0;
  font-size: 24px;
  letter-spacing: 0.5px;
}

.nav-menu {
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  padding: 10px 14px;
  color: #526170;
  border-radius: 10px;
  font-size: 15px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1a2a3a, #304b63);
  transform: translateY(-1px);
}

.nav-link:hover {
  background: linear-gradient(135deg, #ff5a3c, #ff765d);
}

.nav-link .cart-count {
  top: -7px;
  right: -7px;
  width: 21px;
  height: 21px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(26, 42, 58, 0.2);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.footer {
  margin-top: 64px;
  padding: 56px 20px 28px;
  text-align: center;
  background: linear-gradient(145deg, #142333 0%, #1f3a50 100%);
  border-top: 4px solid #ff5a3c;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .logo-image {
  margin-bottom: 16px;
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-content > p:first-of-type {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-content > p:nth-of-type(2) {
  max-width: 420px;
  color: #c8d3dc;
  line-height: 1.6;
}

.footer-contact,
.footer-contact-item {
  color: #dce5ec;
  margin-top: 12px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact-item {
  display: flex;
  gap: 8px;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-link:hover {
  color: #ff9b87;
}

.footer-links {
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: #dce5ec;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.footer-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-note {
  color: #9fb0be;
}

@media (max-width: 768px) {
  .header {
    padding: 8px 0;
  }

  .header-container {
    min-height: 56px;
  }

  .logo-text {
    font-size: 20px;
  }

  .logo-image {
    height: 44px;
    width: 44px;
  }

  .nav-menu {
    display: flex;
    gap: 0;
    padding: 8px 20px 14px;
  }

  .footer {
    margin-top: 40px;
    padding: 40px 16px 24px;
  }
}

.toast-notification {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 16px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #1a2a3a, #304b63);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid #43d17a;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(15, 29, 43, 0.28);
  animation: toast-slide-in 0.3s ease-out;
}

.toast-icon {
  flex: 0 0 auto;
  color: #43d17a;
  font-size: 20px;
}

.toast-notification span {
  line-height: 1.4;
}

.toast-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 4px;
  color: #c8d3dc;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.toast-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .toast-notification {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav-menu .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #1a2a3a, #304b63) !important;
    box-shadow: 0 4px 12px rgba(26, 42, 58, 0.2);
  }

  .nav-menu .nav-link.active:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff5a3c, #ff765d) !important;
  }
}

/* Legal and policy pages */
.privacy-policy-container,
.refund-policy-container,
.terms-conditions-container {
  max-width: 980px;
  margin: 48px auto 80px;
  padding: 48px 56px;
  color: #334455;
  background: #ffffff;
  border: 1px solid #e8edf1;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(26, 42, 58, 0.1);
}

.privacy-policy-container > h1,
.refund-policy-container > h1,
.terms-conditions-container > h1 {
  margin-bottom: 12px;
  color: #1a2a3a;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  text-align: center;
}

.last-updated {
  margin-bottom: 42px;
  color: #7b8995;
  font-size: 14px;
  text-align: center;
}

.privacy-policy-container section,
.refund-policy-container section,
.terms-conditions-container section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #e8edf1;
}

.privacy-policy-container section:first-of-type,
.refund-policy-container section:first-of-type,
.terms-conditions-container section:first-of-type {
  margin-top: 0;
}

.privacy-policy-container h2,
.refund-policy-container h2,
.terms-conditions-container h2 {
  margin-bottom: 16px;
  color: #1a2a3a;
  font-size: 25px;
  line-height: 1.3;
}

.privacy-policy-container h3,
.refund-policy-container h3,
.terms-conditions-container h3 {
  margin: 24px 0 10px;
  color: #40566a;
  font-size: 18px;
}

.privacy-policy-container p,
.refund-policy-container p,
.terms-conditions-container p {
  margin-bottom: 16px;
  color: #526170;
  font-size: 16px;
  line-height: 1.8;
}

.privacy-policy-container ul,
.privacy-policy-container ol,
.refund-policy-container ul,
.refund-policy-container ol,
.terms-conditions-container ul,
.terms-conditions-container ol {
  margin: 12px 0 20px;
  padding-left: 26px;
  color: #526170;
}

.privacy-policy-container li,
.refund-policy-container li,
.terms-conditions-container li {
  margin-bottom: 10px;
  padding-left: 5px;
  line-height: 1.65;
}

.privacy-policy-container li::marker,
.refund-policy-container li::marker,
.terms-conditions-container li::marker {
  color: #ff5a3c;
  font-weight: 700;
}

.privacy-policy-container strong,
.refund-policy-container strong,
.terms-conditions-container strong {
  color: #1a2a3a;
}

.privacy-policy-container a,
.refund-policy-container a,
.terms-conditions-container a {
  color: #e84f35;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-policy-container a:hover,
.refund-policy-container a:hover,
.terms-conditions-container a:hover {
  color: #1a2a3a;
}

.refund-timeline-table,
.shipping-table {
  width: 100%;
  margin: 20px 0 24px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #dfe6eb;
  border-radius: 10px;
}

.refund-timeline-table th,
.shipping-table th {
  color: #ffffff;
  background: #1a2a3a;
  font-weight: 700;
  text-align: left;
}

.refund-timeline-table th,
.refund-timeline-table td,
.shipping-table th,
.shipping-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8edf1;
  line-height: 1.5;
}

.refund-timeline-table td,
.shipping-table td {
  color: #526170;
}

.refund-timeline-table tr:nth-child(even) td,
.shipping-table tr:nth-child(even) td {
  background: #f7f9fb;
}

.refund-timeline-table tr:last-child td,
.shipping-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 768px) {
  .privacy-policy-container,
  .refund-policy-container,
  .terms-conditions-container {
    margin: 28px 12px 56px;
    padding: 30px 22px;
    border-radius: 14px;
  }

  .privacy-policy-container section,
  .refund-policy-container section,
  .terms-conditions-container section {
    margin-top: 28px;
    padding-top: 22px;
  }

  .privacy-policy-container h2,
  .refund-policy-container h2,
  .terms-conditions-container h2 {
    font-size: 22px;
  }

  .refund-timeline-table,
  .shipping-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Contact page */
.contact-page {
  max-width: 1180px;
  margin: 48px auto 80px;
  padding: 0 24px;
}

.contact-title {
  margin-bottom: 14px;
  color: #1a2a3a;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
}

.contact-page > .about-text {
  max-width: 720px;
  margin: 0 auto 42px;
  color: #657482;
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

.contact-info,
.contact-form {
  max-width: none;
  margin: 0;
  border: 1px solid #e4ebf0;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(26, 42, 58, 0.1);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
  background: linear-gradient(145deg, #1a2a3a, #304b63);
}

.contact-item {
  min-height: 88px;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  color: #e8f0f5;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.55;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.contact-icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #ff9b87;
  font-size: 21px;
}

.contact-form {
  margin-top: 28px;
  padding: 32px;
  background: #ffffff;
}

.contact-form-title {
  margin-bottom: 24px;
  color: #1a2a3a;
  font-size: 28px;
}

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

.contact-form-group label {
  margin-bottom: 8px;
  color: #40566a;
  font-size: 14px;
  font-weight: 700;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 13px 15px;
  color: #1a2a3a;
  background: #f8fafb;
  border: 1px solid #d8e1e7;
  border-radius: 9px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  background: #ffffff;
  border-color: #ff5a3c;
  box-shadow: 0 0 0 4px rgba(255, 90, 60, 0.12);
}

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

.contact-submit {
  width: 100%;
  padding: 14px 22px;
  background: linear-gradient(135deg, #ff5a3c, #ff765d);
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-submit:hover {
  background: linear-gradient(135deg, #e84f35, #ff5a3c);
  box-shadow: 0 8px 18px rgba(255, 90, 60, 0.25);
  transform: translateY(-2px);
}

@media (min-width: 860px) {
  .contact-page {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
  }

  .contact-title,
  .contact-page > .about-text {
    grid-column: 1 / -1;
  }

  .contact-page > .about-text {
    margin-bottom: 14px;
  }

  .contact-form {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .contact-page {
    margin: 30px auto 56px;
    padding: 0 16px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .contact-form {
    padding: 24px 18px;
  }
}

@media (max-width: 768px) {
  .checkout-form {
    gap: 16px 14px;
    width: 100%;
  }

  .checkout-form .form-group {
    min-width: 0;
  }

  .checkout-form .form-group input {
    width: 100%;
    min-width: 0;
  }

  .checkout-form .form-group:nth-of-type(5),
  .checkout-form .submit-order-btn {
    grid-column: 1 / -1;
  }
}

