:root {
  --primary: #e63946;
  --primary-dark: #d62839;
  --secondary: #ffb703;
  --dark: #1d3557;
  --dark-bg: #0e1a2b;
  --light-bg: #f8f9fa;
  --text: #2b2d42;
  --text-light: #6c757d;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
  --font-primary: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-secondary: 'Playfair Display', Georgia, serif;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light-bg);
  overflow-x: hidden;
}

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

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

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

.btn-secondary:hover {
  background-color: #e6a800;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 183, 3, 0.4);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--dark);
}

.btn-large {
  padding: 15px 35px;
  font-size: 18px;
}

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

.btn-add:hover {
  background-color: #2b3a52;
}

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

.btn-buy:hover {
  background-color: var(--primary-dark);
}

.site-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-bg) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

.logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--secondary);
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
  background-color: var(--primary);
  color: var(--white);
}

.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-overlay {
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(29, 53, 87, 0.95) 0%, rgba(14, 26, 43, 0.8) 100%);
}

.hero-content {
  color: var(--white);
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--secondary);
  color: var(--dark);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-secondary);
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.advantages-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

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

.section-header h2 {
  font-family: var(--font-secondary);
  font-size: 42px;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.advantage-card {
  background: var(--white);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
}

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

.advantage-icon {
  color: var(--primary);
  margin-bottom: 20px;
}

.advantage-card h3 {
  font-family: var(--font-secondary);
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 15px;
}

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

.detailed-info-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.detailed-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.detailed-info-text h2 {
  font-family: var(--font-secondary);
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 30px;
}

.detailed-info-text h3 {
  font-family: var(--font-secondary);
  font-size: 24px;
  color: var(--dark);
  margin-top: 25px;
  margin-bottom: 15px;
}

.detailed-info-text p {
  margin-bottom: 20px;
  color: var(--text);
}

.detailed-info-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-box {
  background: var(--white);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  color: var(--text-light);
  margin-top: 5px;
}

.cta-block {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-bg) 100%);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  color: var(--white);
}

.cta-block h3 {
  font-family: var(--font-secondary);
  font-size: 24px;
  margin-bottom: 20px;
}

.catalog-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.product-image {
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-family: var(--font-secondary);
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-info h3 a:hover {
  color: var(--primary);
}

.product-desc {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 10px;
}

.product-price {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 14px;
}

.poll-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #f9a825 100%);
}

.poll-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.poll-card h3 {
  font-family: var(--font-secondary);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 20px;
  text-align: center;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.poll-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  background-color: var(--light-bg);
  transition: background-color 0.3s ease;
}

.poll-options label:hover {
  background-color: #e9ecef;
}

.poll-options input {
  accent-color: var(--primary);
}

.site-footer {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-bg) 100%);
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer-brand img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.footer-brand p, .footer-contact p {
  color: #adb5bd;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links h4, .footer-policies h4, .footer-contact h4, .footer-social h4 {
  font-family: var(--font-secondary);
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-links ul, .footer-policies ul {
  list-style: none;
}

.footer-links li, .footer-policies li {
  margin-bottom: 10px;
}

.footer-links a, .footer-policies a {
  color: #adb5bd;
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-policies a:hover {
  color: var(--secondary);
}

.footer-contact a {
  color: var(--secondary);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #adb5bd;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 20px 30px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-content h4 {
  font-family: var(--font-secondary);
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--secondary);
}

.cookie-content p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #ced4da;
}

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

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 14px;
}

.cookie-link {
  color: var(--secondary);
  text-decoration: underline;
  font-size: 14px;
}

.breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 5px;
}

.product-page {
  padding: 40px 0 80px;
  background: var(--white);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-image-large img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.product-detail-info h1 {
  font-family: var(--font-secondary);
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 15px;
}

.product-price-large {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.stars {
  color: var(--secondary);
  font-size: 18px;
  letter-spacing: 3px;
}

.product-long-description {
  margin-bottom: 25px;
  color: var(--text);
}

.product-features {
  list-style: none;
  margin-bottom: 30px;
}

.product-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text);
}

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

.product-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.product-meta {
  background-color: var(--light-bg);
  padding: 20px;
  border-radius: 10px;
  font-size: 14px;
}

.product-meta p {
  margin: 5px 0;
}

.cart-page, .checkout-page, .success-page, .contact-page, .about-page {
  padding: 60px 0;
  min-height: 70vh;
  background: var(--light-bg);
}

.cart-page h1, .checkout-page h1, .success-page h1, .contact-page h1, .about-page h1 {
  font-family: var(--font-secondary);
  font-size: 40px;
  color: var(--dark);
  margin-bottom: 30px;
  text-align: center;
}

.cart-empty-message {
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  padding: 60px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.cart-empty-message a {
  color: var(--primary);
  font-weight: 600;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 15px;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-name {
  font-weight: 600;
  font-size: 18px;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 600;
}

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

.cart-item-quantity button {
  background: var(--light-bg);
  border: none;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
}

.cart-item-quantity button:hover {
  background: var(--dark);
  color: var(--white);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}

.cart-summary {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin-top: 30px;
  text-align: right;
}

.cart-summary h3 {
  font-family: var(--font-secondary);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 15px;
}

.cart-summary p {
  font-size: 18px;
  margin-bottom: 10px;
}

.cart-summary .btn {
  margin-left: 10px;
}

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

.checkout-form-container, .order-summary {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.checkout-form h3, .order-summary h3 {
  font-family: var(--font-secondary);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
}

.order-summary-item .item-name {
  font-weight: 500;
}

.order-summary-item .item-price {
  color: var(--primary);
}

.order-summary p:last-child {
  font-size: 22px;
  font-weight: 600;
  margin-top: 20px;
  color: var(--dark);
}

.success-message {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  padding: 60px;
  box-shadow: var(--shadow);
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background-color: var(--success, #28a745);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: var(--white);
}

.success-message h1 {
  margin-bottom: 20px;
}

.success-message p {
  font-size: 18px;
  margin-bottom: 15px;
}

.success-actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info, .contact-form-container {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-info h3, .contact-form-container h3 {
  font-family: var(--font-secondary);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
}

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

.contact-item h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text);
}

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

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

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

.about-story {
  max-width: 900px;
  margin: 0 auto 50px;
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.about-story p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}

.about-page h2 {
  font-family: var(--font-secondary);
  font-size: 32px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
}

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

.team-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card h3 {
  font-family: var(--font-secondary);
  font-size: 22px;
  color: var(--dark);
  padding: 15px 20px 5px;
}

.team-card p:first-of-type {
  color: var(--primary);
  font-weight: 600;
  padding: 0 20px;
  margin-bottom: 10px;
}

.team-card p:last-of-type {
  padding: 0 20px 20px;
  color: var(--text-light);
  font-size: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.page-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .detailed-info-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-grid, .contact-grid, .product-detail {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}