
:root {
  --primary: #1a5276;
  --primary-dark: #0e3460;
  --secondary: #2e86c1;
  --accent: #27ae60;
  --accent-light: #2ecc71;
  --bg-light: #f0f4f8;
  --bg-white: #ffffff;
  --text-dark: #1a2332;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.14);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: all 0.25s ease;
}

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.site-header {
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
  text-align: center;
}

.header-top a {
  color: #aed6f1;
}
.header-top a:hover {
  color: #fff;
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.logo-text {
  line-height: 1.2;
}
.logo-text strong {
  display: block;
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
}
.logo-text span {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-contacts {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-mid);
}

.header-contacts a {
  color: var(--text-dark);
  font-weight: 600;
}
.header-contacts a:hover {
  color: var(--primary);
}
.header-contacts .label {
  font-size: 11px;
  color: var(--text-light);
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}

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

.cart-count {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.site-nav {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-inner a {
  color: rgba(255, 255, 255, 0.88);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  display: block;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.nav-inner a:hover,
.nav-inner a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--accent-light);
}

.nav-inner .has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: var(--shadow-hover);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 220px;
  z-index: 999;
  padding: 8px 0;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown a {
  color: var(--text-dark) !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  border-bottom: none !important;
  background: none !important;
}

.dropdown a:hover {
  color: var(--primary) !important;
  background: var(--bg-light) !important;
}

.hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--secondary) 60%,
    #56b0d0 100%
  );
  color: white;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #aed6f1;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 18px;
  opacity: 0.88;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

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

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #aed6f1;
}
.hero-stat span {
  font-size: 13px;
  opacity: 0.75;
}

.hero-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  color: var(--text-dark);
  box-shadow: var(--shadow-hover);
}

.hero-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 18px;
}
.feature-list {
  list-style: none;
}
.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.feature-list li:last-child {
  border-bottom: none;
}
.feature-list .icon {
  color: var(--accent);
  font-size: 18px;
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--bg-white);
}

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

.section-label {
  display: inline-block;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto;
}

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

.category-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
  color: var(--text-dark);
}

.category-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--bg-light), #dbeafe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.category-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.category-card p {
  font-size: 13px;
  color: var(--text-light);
}

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

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img {
  height: 200px;
  background: linear-gradient(135deg, #e8f4f8, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-badge.sale {
  background: #e74c3c;
}
.product-badge.new {
  background: var(--secondary);
}

.product-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-name a {
  color: var(--text-dark);
}
.product-name a:hover {
  color: var(--primary);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  margin-bottom: 12px;
}
.stars {
  color: #f59e0b;
}
.rating-count {
  color: var(--text-light);
}

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

.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.product-price-old {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
  display: block;
}

.btn-add-cart {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--secondary);
}

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

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: var(--transition);
}

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

.feature-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.feature-card p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
}

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

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 60px;
  color: var(--bg-light);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.author-info span {
  font-size: 12px;
  color: var(--text-light);
}
.stars-sm {
  color: #f59e0b;
  font-size: 12px;
}

.promo-banner {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  color: white;
  padding: 60px 0;
  text-align: center;
}

.promo-banner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}
.promo-banner p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 28px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0;
}

.shop-sidebar {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  height: fit-content;
}

.sidebar-section {
  margin-bottom: 28px;
}
.sidebar-section:last-child {
  margin-bottom: 0;
}
.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.filter-list {
  list-style: none;
}
.filter-list li {
  margin-bottom: 8px;
}
.filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-mid);
  transition: var(--transition);
}
.filter-list label:hover {
  color: var(--primary);
}
.filter-list input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.shop-main {
}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-count {
  color: var(--text-mid);
  font-size: 14px;
}

.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  cursor: pointer;
}

.products-grid-shop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-detail {
  padding: 40px 0;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.breadcrumb a {
  color: var(--secondary);
}
.breadcrumb span {
  margin: 0 6px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.product-gallery {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.product-main-img {
  height: 380px;
  background: linear-gradient(135deg, #e8f4f8, #dbeafe);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  margin-bottom: 16px;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.product-thumb {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.product-thumb.active {
  border-color: var(--secondary);
}

.product-info {
  padding: 8px 0;
}
.product-info .category {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 8px;
}
.product-info h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-info .rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.product-info .stars {
  color: #f59e0b;
  font-size: 18px;
}

.price-block {
  margin-bottom: 24px;
}
.price-block .price {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
}
.price-block .price-old {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 10px;
}
.price-block .discount {
  background: #e74c3c;
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.availability {
  margin-bottom: 20px;
  font-size: 14px;
}
.in-stock {
  color: var(--accent);
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  align-items: center;
}

.qty-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 48px;
  background: var(--bg-light);
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-num {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
}

.product-meta {
  font-size: 13px;
  color: var(--text-light);
}
.product-meta span {
  color: var(--text-mid);
}

.product-tabs {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
}
.tab-btn {
  padding: 14px 24px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-mid);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-content {
  padding: 28px;
  display: none;
}
.tab-content.active {
  display: block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr:nth-child(even) td {
  background: var(--bg-light);
}
.specs-table td {
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.specs-table td:first-child {
  font-weight: 600;
  color: var(--text-mid);
  width: 45%;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  padding: 50px 0;
}

.contact-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-info-card h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact-info-card p {
  color: var(--text-mid);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-item-text span {
  font-size: 14px;
  color: var(--text-mid);
}
.contact-item-text a {
  color: var(--primary);
  font-weight: 600;
}

.hours-table {
  width: 100%;
  font-size: 14px;
}
.hours-table tr td {
  padding: 6px 0;
}
.hours-table tr td:first-child {
  color: var(--text-mid);
}
.hours-table tr td:last-child {
  font-weight: 600;
  text-align: right;
}
.hours-table .today td {
  color: var(--accent);
}

.map-embed {
  background: var(--bg-light);
  border-radius: var(--radius);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  margin-top: 24px;
  border: 2px dashed var(--border);
}

.contact-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact-form-card p {
  color: var(--text-mid);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.12);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

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

.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 70px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 14px;
}
.about-hero p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

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

.team-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.team-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 14px;
}

.team-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-card span {
  font-size: 13px;
  color: var(--text-light);
}

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

.cert-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cert-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.cert-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.cert-card p {
  font-size: 12px;
  color: var(--text-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.blog-img {
  height: 200px;
  background: linear-gradient(135deg, #e8f4f8, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.blog-body {
  padding: 24px;
}
.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-tag {
  background: #e8f0fe;
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}
.blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card h3 a {
  color: var(--text-dark);
}
.blog-card h3 a:hover {
  color: var(--primary);
}
.blog-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.shipping-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
}

.shipping-icon {
  font-size: 40px;
  flex-shrink: 0;
}
.shipping-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.shipping-card p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.shipping-detail {
  font-size: 13px;
  background: var(--bg-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
}

.payment-methods {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.payment-badge {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

.policy-content {
  background: white;
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 50px auto;
}

.policy-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.policy-content .last-updated {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 32px;
}
.policy-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
}
.policy-content p {
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.7;
}
.policy-content ul {
  margin: 12px 0 14px 20px;
}
.policy-content li {
  color: var(--text-mid);
  margin-bottom: 6px;
  font-size: 15px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 40px 0;
}

.cart-items {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cart-header {
  display: grid;
  grid-template-columns: 1fr 100px 120px 80px;
  gap: 16px;
  padding: 14px 24px;
  background: var(--bg-light);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr 100px 120px 80px;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-product {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cart-product-img {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.cart-product-name {
  font-size: 14px;
  font-weight: 600;
}
.cart-product-cat {
  font-size: 12px;
  color: var(--text-light);
}

.cart-summary {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  height: fit-content;
}

.cart-summary h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.summary-row:last-of-type {
  border-bottom: none;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  border-top: 2px solid var(--primary);
  margin-top: 10px;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 50px 0;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 16px;
  opacity: 0.8;
}
.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}
.page-hero .breadcrumb a:hover {
  color: white;
}

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo strong {
  color: white;
  font-size: 18px;
}
.footer-about {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--secondary);
  color: white;
}

.footer-widget h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  align-items: flex-start;
}
.footer-contact-icon {
  color: var(--accent-light);
  font-size: 16px;
  margin-top: 2px;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a:hover {
  color: white;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast .toast-icon {
  font-size: 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--primary);
  font-size: 24px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9998;
  font-size: 14px;
}

.cookie-banner p {
  opacity: 0.85;
}
.cookie-banner a {
  color: var(--accent-light);
}
.cookie-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn:hover {
  background: var(--accent-light);
}

@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .products-grid-shop {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-card {
    display: none;
  }
  .hero h1 {
    font-size: 32px;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    display: none;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .shipping-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-contacts {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-inner {
    flex-direction: column;
    display: none;
  }
  .nav-inner.open {
    display: flex;
  }
  .nav-inner .has-dropdown {
    width: 100%;
  }
  .dropdown {
    position: static;
    box-shadow: none;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 26px;
  }
  .hero {
    padding: 50px 0;
  }
  .section {
    padding: 50px 0;
  }
  .section-header h2 {
    font-size: 26px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .policy-content {
    padding: 28px;
  }
  .cart-header {
    display: none;
  }
  .cart-item {
    grid-template-columns: 1fr 80px;
  }
}
