@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;600;700;800&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand colours */
  --primary: #1a6fdb;
  --primary-dark: #1255b0;
  --primary-darker: #0d3d80;
  --primary-light: #e8f1fb;
  --secondary: #f7931e;
  --secondary-dark: #d97a0a;
  --accent: #00c896;

  /* Neutrals */
  --title: #0f1923;
  --body: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-soft: #f3f4f6;
  --bg: #f9fafb;
  --white: #ffffff;

  /* Status */
  --success: #16a34a;
  --error: #dc2626;
  --warning: #d97706;
  --star: #f59e0b;

  /* Typography */
  --font-body: "Inter", system-ui, sans-serif;
  --font-heading: "Poppins", system-ui, sans-serif;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.11);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.18);

  /* Shapes */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.22s var(--ease);
  --transition-slow: all 0.38s var(--ease);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--title);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
p {
  margin-bottom: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
i[class^="fa-"],
i[class*=" fa-"] {
  line-height: 1;
}
.logo-icon i,
.benefit-icon i,
.device-icon i,
.mission-icon i,
.warranty-icon i,
.shipping-card-icon i,
.contact-method-icon i,
.step-icon i,
.method-icon i,
.category-card .icon i,
.empty-cart .icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,
ol {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}
address {
  font-style: normal;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  min-width: 0;
}
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}
@media (min-width: 1280px) {
  .container {
    padding: 0 48px;
  }
}

.section-py {
  padding: 64px 0;
}
.checkout-layout,
.cart-layout,
.shop-layout,
.reviews-slider,
.reviews-track,
.products-grid,
.blog-grid {
  max-width: 100%;
}
.section-py-lg {
  padding: 96px 0;
}
@media (min-width: 768px) {
  .section-py {
    padding: 88px 0;
  }
  .section-py-lg {
    padding: 120px 0;
  }
}

/* ============================================================
   4. SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.6rem;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 111, 219, 0.32);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 147, 30, 0.32);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--title);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--body);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--muted);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
}
.btn-full {
  width: 100%;
}

/* Cart specific */
.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-cart:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 111, 219, 0.28);
}

/* ============================================================
   6. ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: linear-gradient(
    90deg,
    var(--primary-darker) 0%,
    var(--primary) 50%,
    var(--primary-darker) 100%
  );
  color: var(--white);
  text-align: center;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.announcement-bar a {
  color: var(--secondary);
  font-weight: 700;
}
.announcement-bar a:hover {
  text-decoration: underline;
}

/* ============================================================
   7. HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.header-logo-text {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  white-space: nowrap;
}
.site-logo-img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 180px;
  object-fit: contain;
}
.header-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(26, 111, 219, 0.3);
  flex-shrink: 0;
}
.header-logo .logo-text span {
  color: var(--primary);
}

/* Search */
.header-search {
  flex: 1;
  max-width: 480px;
}
.header-search form {
  display: flex;
}
.header-search input {
  width: 100%;
  padding: 0.62rem 1rem;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.88rem;
  outline: none;
  background: var(--bg);
  color: var(--title);
  transition: var(--transition);
}
.header-search input::placeholder {
  color: var(--muted);
}
.header-search input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 111, 219, 0.08);
}
.header-search button {
  background: var(--primary);
  color: var(--white);
  padding: 0 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.header-search button:hover {
  background: var(--primary-dark);
}
.header-search button svg {
  width: 18px;
  height: 18px;
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--title);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.header-action-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.header-action-btn svg {
  width: 21px;
  height: 21px;
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   8. NAVIGATION BAR
   ============================================================ */
.site-nav {
  background: var(--title);
}
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.site-nav .nav-inner::-webkit-scrollbar {
  display: none;
}
.site-nav a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.78rem 1rem;
  transition: var(--transition);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  border-bottom-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
}
.site-nav .nav-cta {
  margin-left: auto;
  background: var(--secondary);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  margin: 0.4rem 0;
  padding: 0.38rem 0.95rem !important;
  font-weight: 700;
  font-size: 0.8rem !important;
  border-bottom: 2px solid transparent !important;
}
.site-nav .nav-cta:hover {
  background: var(--secondary-dark) !important;
}

/* Mobile nav */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.45rem;
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: var(--transition);
  position: relative;
  z-index: 1002;
}
.mobile-menu-toggle:hover {
  background: var(--bg);
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--title);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-toggle.opened span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.opened span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.opened span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .header-search {
    display: none;
  }
  .site-nav {
    display: none;
  }
  .site-nav.mobile-open {
    display: block;
    position: fixed;
    top: var(--mobile-nav-top, 68px);
    left: 0;
    right: 0;
    z-index: 1001;
    max-height: calc(100dvh - var(--mobile-nav-top, 68px));
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .site-nav .nav-inner {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .site-nav a {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: none !important;
  }
  .site-nav .nav-cta {
    margin: 0.75rem 1.5rem;
    display: block;
    text-align: center;
    padding: 0.6rem 1rem !important;
  }
  .header-logo {
    font-size: 1.25rem;
  }
}

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f1f3a 40%, #1a4a8a 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 80% 50%,
      rgba(26, 111, 219, 0.2) 0%,
      transparent 60%
    ),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E")
      repeat;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 72px 0;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}
.hero-label span {
  color: var(--secondary);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.14;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--secondary);
}
.hero-desc {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 0 2.2rem;
  line-height: 1.72;
}
.hero-cta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.hero-trust-item .number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1.1;
  font-family: var(--font-heading);
}
.hero-trust-item .label {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Hero product card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-product-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}
.hero-product-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.hero-product-name {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.hero-product-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.hero-product-price .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
}
.hero-product-price .old-price {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}
.hero-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 52px 0;
  }
  .hero-visual {
    order: -1;
  }
  .hero-product-card {
    max-width: 300px;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
    gap: 1.5rem;
  }
}

/* ============================================================
   10. BENEFITS BAR
   ============================================================ */
.benefits-bar {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(247, 147, 30, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(0, 200, 150, 0.14),
      transparent 30%
    ),
    linear-gradient(135deg, #0f1923 0%, #13283d 55%, #0f1923 100%);
  padding: 2.75rem 0;
  position: relative;
  overflow: hidden;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 118px;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.benefit-item:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 147, 30, 0.45);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}
.benefit-icon {
  width: 52px;
  height: 52px;
  background: rgba(247, 147, 30, 0.14);
  color: var(--secondary);
  border: 1px solid rgba(247, 147, 30, 0.34);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  transition: var(--transition);
}
.benefit-item:hover .benefit-icon {
  background: var(--secondary);
  color: var(--white);
  transform: rotate(-4deg) scale(1.06);
}
.benefit-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.32rem;
}
.benefit-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

/* ============================================================
   11. CATEGORIES
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 576px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition);
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.category-card:hover::after {
  opacity: 1;
}
.category-card .icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease);
}
.category-card:hover .icon {
  transform: scale(1.12);
}
.category-card .name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--title);
  display: block;
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 1;
}
.category-card .desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* ============================================================
   12. PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
.bestsellers-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bestsellers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bestsellers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--primary);
}

.product-card-img {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.product-card-img img {
  width: 100%;
  height: 175px;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.product-card:hover .product-card-img img {
  transform: scale(1.07);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 50px;
  color: var(--white);
  z-index: 2;
  letter-spacing: 0.02em;
}

.product-quick-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  z-index: 2;
}
.product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-action-btn {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--title);
  transition: var(--transition);
}
.quick-action-btn:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}
.quick-action-btn svg {
  width: 15px;
  height: 15px;
}

.product-card-body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.product-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--title);
  line-height: 1.42;
  margin-bottom: 0.6rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-title a:hover {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.stars {
  display: flex;
  gap: 1px;
}
.star {
  font-size: 0.82rem;
}
.star-full {
  color: var(--star);
}
.star-half {
  color: var(--star);
}
.star-empty {
  color: #d1d5db;
}
.rating-count {
  font-size: 0.73rem;
  color: var(--muted);
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--title);
  font-family: var(--font-heading);
}
.product-old-price {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
}
.product-discount {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--success);
  background: #f0fdf4;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
}

.product-card-footer {
  padding: 0 1.1rem 1.1rem;
}

/* ============================================================
   13. SMART HOME BANNER
   ============================================================ */
.smart-banner {
  background: linear-gradient(135deg, #1257b0 0%, #0a2d6e 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.smart-banner::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}
.smart-banner::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  background: rgba(26, 111, 219, 0.25);
  border-radius: 50%;
  pointer-events: none;
}
.smart-banner > * {
  position: relative;
  z-index: 2;
}
.smart-banner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.smart-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.smart-banner-devices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.smart-device-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.smart-device-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}
.smart-device-item .device-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.65rem;
  border-radius: 14px;
  background: rgba(247, 147, 30, 0.18);
  color: var(--secondary);
  border: 1px solid rgba(247, 147, 30, 0.38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 12px 24px rgba(247, 147, 30, 0.16);
  transition: var(--transition);
}
.smart-device-item:hover .device-icon {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
}
.smart-device-item .device-name {
  font-size: 0.78rem;
  color: var(--white);
  font-weight: 600;
}
@media (max-width: 768px) {
  .smart-banner {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.75rem;
  }
}

/* ============================================================
   14. CUSTOMER REVIEWS
   ============================================================ */
.customer-reviews-section {
  background: var(--white);
}
.reviews-slider {
  position: relative;
}
.reviews-track {
  --review-card-width: calc((100% - 3rem) / 3);
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.2rem 0.1rem 0.75rem;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.review-card {
  flex: 0 0 var(--review-card-width);
  min-width: 0;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-stars {
  display: flex;
  gap: 0.16rem;
  color: var(--secondary);
  font-size: 0.86rem;
}
.review-card p {
  color: var(--body);
  font-size: 0.92rem;
  line-height: 1.65;
}
.review-author {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.review-author strong {
  color: var(--title);
  font-size: 0.92rem;
}
.review-author span {
  color: var(--muted);
  font-size: 0.82rem;
}
.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.reviews-nav:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.reviews-prev {
  left: -1.25rem;
}
.reviews-next {
  right: -1.25rem;
}
.reviews-swipe-hint {
  display: none;
}
@media (max-width: 1024px) {
  .reviews-track {
    --review-card-width: calc((100% - 1.5rem) / 2);
  }
}
@media (max-width: 640px) {
  .reviews-track {
    --review-card-width: 86%;
    padding-right: 14%;
  }
  .reviews-nav {
    display: none;
  }
  .reviews-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
    text-align: center;
  }
}

/* ============================================================
   15. BLOG CARDS (homepage preview)
   ============================================================ */
.blog-grid-home {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .blog-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-grid-home {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* shared blog-card is defined in section 26 */

/* ============================================================
   16. NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.newsletter-section::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 5vw, 5rem);
  bottom: 0;
  width: clamp(180px, 24vw, 330px);
  aspect-ratio: 1 / 1;
  background: url("../images/cta-image.webp") center bottom / contain no-repeat;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.22));
}
.newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
}
@media (max-width: 900px) {
  .newsletter-section::after {
    left: -2rem;
    width: 180px;
    opacity: 0.22;
  }
}
@media (max-width: 640px) {
  .newsletter-section::after {
    display: none;
  }
}
.newsletter-inner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.65rem;
}
.newsletter-inner p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.92rem;
  outline: none;
  background: rgba(255, 255, 255, 0.97);
  color: var(--title);
}
.newsletter-form input::placeholder {
  color: var(--muted);
}
.newsletter-form button {
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius);
  background: var(--secondary);
  color: var(--white);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.newsletter-form button:hover {
  background: var(--secondary-dark);
}
.newsletter-note {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1rem;
}
@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ============================================================
   16. TRUST BADGES (homepage)
   ============================================================ */
.trust-section {
  padding: 64px 0;
  background: var(--bg);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.trust-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.trust-item .trust-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.trust-item h4 {
  font-size: 0.9rem;
  color: var(--title);
  margin-bottom: 0.3rem;
}
.trust-item p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.site-footer {
  background: var(--title);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.footer-logo-img {
  height: 44px;
  max-width: 190px;
  filter: brightness(0) invert(1);
}
.footer-brand .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-brand .logo-text span {
  color: var(--primary);
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.72;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col ul li a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.58);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 0.3rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
}
.footer-contact-item .fi {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}
.footer-bottom-links a:hover {
  color: var(--white);
}
.footer-payments {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.payment-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
}

/* ============================================================
   18. PAGE HEADER (shared)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, #0a1628 0%, #0f1f3a 100%);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 100% at 100% 50%,
      rgba(26, 111, 219, 0.15) 0%,
      transparent 60%
    ),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0 5.5 4.5 10 10 10s10-4.5 10-10-4.5-10-10-10-10 4.5-10 10z'/%3E%3C/g%3E%3C/svg%3E")
      repeat;
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.page-header > .container > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb a:hover {
  color: var(--white);
}

/* ============================================================
   19. SHOP PAGE
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0 5rem;
}
@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
}

.shop-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}
@media (max-width: 1024px) {
  .shop-layout > .shop-sidebar {
    position: relative;
    top: auto;
    z-index: 0;
    width: 100%;
    margin-bottom: 1.5rem;
  }
}
.sidebar-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-soft);
}
.sidebar-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.sidebar-section h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 1rem;
}
.shop-search-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.shop-search-form input {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
}
.shop-search-form input:focus {
  border-color: var(--primary);
}
.shop-search-form .btn {
  flex: 0 0 auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.filter-category {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.filter-category label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--body);
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.filter-category label:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.filter-category input {
  accent-color: var(--primary);
  flex-shrink: 0;
}

.price-range {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.price-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}
.price-inputs input {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}
.price-inputs input:focus {
  border-color: var(--primary);
}
.price-inputs span {
  color: var(--muted);
  font-size: 0.82rem;
  flex-shrink: 0;
}
.rating-stars {
  display: inline-flex;
  gap: 0.08rem;
  color: var(--secondary);
  font-size: 0.78rem;
  line-height: 1;
}
.shop-clear-filters {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.shop-results-count {
  font-size: 0.875rem;
  color: var(--muted);
}
.shop-sort {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.shop-sort select {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
  background: var(--white);
  color: var(--title);
  transition: var(--transition);
}
.shop-sort select:focus {
  border-color: var(--primary);
}

/* ============================================================
   20. PRODUCT DETAIL
   ============================================================ */
.product-detail-wrap {
  padding: 2.5rem 0 5rem;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

.product-gallery {
  position: sticky;
  top: 90px;
}
.product-main-img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--border);
  margin-bottom: 1rem;
}
.product-thumbs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.product-thumb {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.45rem;
  background: var(--bg);
  transition: var(--transition);
}
.product-thumb:hover,
.product-thumb.active {
  border-color: var(--primary);
}

.product-detail-info {
}
.product-detail-info .product-category-tag {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--primary-light);
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}
.product-detail-info h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.reviews-count {
  font-size: 0.875rem;
  color: var(--muted);
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.product-detail-price .price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
}
.product-detail-price .old-price {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
}
.product-detail-price .discount {
  background: #fef3f2;
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: var(--success);
}
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.product-short-desc {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.72;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.product-qty {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.qty-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--title);
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-control button {
  width: 40px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--title);
  transition: var(--transition);
}
.qty-control button:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.qty-control input {
  width: 58px;
  height: 42px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  outline: none;
  color: var(--title);
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.product-actions .btn {
  flex: 1;
  min-width: 140px;
}

.guarantee-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #166534;
}
.guarantee-box-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.guarantee-box strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.product-specs {
  margin-top: 1.75rem;
}
.product-specs h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 1rem;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.specs-table tr {
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child {
  border-bottom: none;
}
.specs-table td {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
}
.specs-table td:first-child {
  font-weight: 600;
  color: var(--title);
  width: 42%;
  background: var(--bg);
  border-right: 1px solid var(--border);
}

/* ============================================================
   21. CART PAGE
   ============================================================ */
.cart-page-wrap {
  padding: 2.5rem 0 5rem;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-table-wrapper {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.cart-table td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.875rem;
}
.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-product-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.3rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.cart-product-name {
  font-weight: 600;
  color: var(--title);
  font-size: 0.875rem;
  line-height: 1.4;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  width: fit-content;
  overflow: hidden;
}
.cart-qty-control button {
  width: 30px;
  height: 32px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--title);
  transition: var(--transition);
}
.cart-qty-control button:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.cart-qty-control input {
  width: 40px;
  height: 32px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  outline: none;
  color: var(--title);
}
.cart-remove {
  color: var(--error);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  opacity: 0.8;
  background: none;
  border: none;
  transition: var(--transition);
}
.cart-remove:hover {
  opacity: 1;
}

.cart-summary-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}
.cart-summary-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 1.25rem;
}
@media (max-width: 700px) {
  .cart-table-wrapper {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }
  .cart-table thead {
    display: none;
  }
  .cart-table tr {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
  }
  .cart-table td {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .cart-table td:first-child {
    padding-top: 0;
  }
  .cart-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .cart-table td[data-label] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .cart-table td[data-label]::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .cart-table td[data-label=""]::before {
    display: none;
  }
  .cart-product-info {
    align-items: flex-start;
    gap: 0.85rem;
  }
  .cart-product-img {
    width: 76px;
    height: 76px;
  }
  .cart-product-name {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .cart-qty-control {
    margin-left: auto;
  }
  .cart-remove {
    width: 100%;
    justify-content: center;
    padding: 0.7rem;
    border-radius: var(--radius);
    background: #fef2f2;
  }
  .cart-summary-box {
    position: static;
  }
  .secure-badges,
  .cart-summary-box .footer-payments {
    flex-wrap: wrap;
  }
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.875rem;
}
.summary-row:last-of-type {
  border-bottom: none;
}
.summary-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  padding-top: 1rem;
  border-top: 2px solid var(--title);
  border-bottom: none;
  color: var(--title);
}
.summary-row .shipping-free {
  color: var(--success);
  font-weight: 700;
}

/* ============================================================
   22. CHECKOUT PAGE
   ============================================================ */
.checkout-page-wrap {
  padding: 2.5rem 0 5rem;
}
.checkout-section {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  contain: inline-size;
}
.checkout-section .container,
.checkout-section form,
.checkout-section .checkout-layout,
.checkout-section .form-card,
.checkout-section .order-summary {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}
.checkout-layout form,
#checkout-form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.checkout-layout > * {
  min-width: 0;
}
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  min-width: 0;
}
.form-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form-card h3 .step-num {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.privacy-card {
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--primary-light), var(--white));
  border-color: rgba(26, 111, 219, 0.18);
  overflow: hidden;
}
.privacy-card .form-group {
  margin: 0;
  min-width: 0;
}
.privacy-check {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.85rem;
  cursor: pointer;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 500;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.privacy-check input {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
  pointer-events: auto;
}
.privacy-check-box {
  width: 22px;
  height: 22px;
  margin-top: 0.12rem;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  transition: var(--transition);
}
.privacy-check:hover .privacy-check-box,
.privacy-check input:focus-visible + .privacy-check-box {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 111, 219, 0.1);
}
.privacy-check input:checked + .privacy-check-box {
  background: var(--primary);
  border-color: var(--primary);
}
.privacy-check-text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-check-text {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.privacy-check-text a:hover {
  color: var(--primary-dark);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}
@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 0.4rem;
}
.form-group label .required {
  color: var(--error);
  margin-left: 0.1rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: var(--white);
  color: var(--title);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 111, 219, 0.08);
}
.form-group input.error,
.form-group select.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.07);
}
.field-error {
  font-size: 0.76rem;
  color: var(--error);
  margin-top: 0.3rem;
  display: block;
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.form-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 0.6rem;
}
.form-check input[type="checkbox"] {
  width: auto;
  accent-color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}
.form-check label {
  display: block;
  margin: 0;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 400;
  cursor: pointer;
  color: var(--body);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.form-check label a {
  color: var(--primary);
  font-weight: 700;
}
.form-check .field-error,
.form-check .form-error {
  grid-column: 2;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.payment-method-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  min-width: 0;
}
.payment-method-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.payment-method-item input[type="radio"] {
  accent-color: var(--primary);
  flex-shrink: 0;
}
.payment-method-item .method-info {
  flex: 1;
  min-width: 0;
}
.payment-method-item .method-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--title);
  overflow-wrap: anywhere;
}
.payment-method-item .method-desc {
  font-size: 0.76rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.payment-method-item .method-icon {
  font-size: 1.3rem;
}

.order-summary {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
  min-width: 0;
}
.order-summary h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 1.25rem;
}
.checkout-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.checkout-assurances span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
}
.checkout-section .btn-full {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
.checkout-section .btn {
  white-space: normal;
}
.checkout-section .privacy-check-text,
.checkout-section .method-name,
.checkout-section .method-desc,
.checkout-section .order-item,
.checkout-section .summary-row {
  min-width: 0;
  overflow-wrap: anywhere;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.85rem;
}
.order-item:last-of-type {
  border-bottom: none;
}
.order-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.order-item .item-name {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--title);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.order-item .item-qty {
  font-size: 0.73rem;
  color: var(--muted);
}
.order-item .item-price {
  font-weight: 700;
  color: var(--title);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .order-summary {
    position: static;
    width: 100%;
  }
}

@media (max-width: 576px) {
  #checkout-form,
  #checkout-form *,
  .checkout-layout,
  .form-card,
  .order-summary {
    max-width: 100%;
  }
  .form-card,
  .order-summary {
    padding: 1.1rem;
  }
  .payment-method-item {
    align-items: flex-start;
    padding: 0.85rem;
  }
  .order-item {
    align-items: flex-start;
  }
  .order-summary .summary-row,
  .order-summary p {
    overflow-wrap: anywhere;
  }
}

.secure-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.secure-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--muted);
}
.secure-badge svg {
  width: 13px;
  height: 13px;
  color: var(--success);
}

/* ============================================================
   23. GRAZIE / THANK YOU PAGE
   ============================================================ */
.success-page {
  padding: 4rem 0 6rem;
}
.success-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-soft);
}
.success-icon {
  margin-bottom: 1.5rem;
}
.success-card h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--title);
  margin-bottom: 0.75rem;
}
.success-subtitle {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.order-summary-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
}
.order-summary-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 1rem;
}
.order-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.88rem;
  color: var(--body);
}
.order-info-row:last-child {
  border-bottom: none;
}
.order-info-row strong {
  color: var(--title);
}

.success-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 2rem 0;
  text-align: left;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  transition: var(--transition);
}
.step:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.step-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.step-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.step-text strong {
  color: var(--title);
  font-size: 0.9rem;
}
.step-text span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ============================================================
   24. BLOG PAGE
   ============================================================ */
.blog-main {
  padding: 3rem 0 5rem;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 3.5rem;
}
.blog-featured-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    rgba(255, 255, 255, 0.08)
  );
}
.blog-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.32rem 0.85rem;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  z-index: 1;
  letter-spacing: 0.02em;
}
.blog-featured-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.blog-featured-content h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--title);
  margin-bottom: 0.85rem;
  line-height: 1.28;
}
.blog-featured-content p {
  color: var(--body);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.blog-section-title {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-section-title h2 {
  font-size: 1.5rem;
  color: var(--title);
}

/* Blog grid (3-col, also used on article page) */
.blog-grid,
.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1024px) {
  .blog-grid,
  .blog-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .blog-grid,
  .blog-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Blog card */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--primary);
}
.blog-card-image {
  display: block;
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s var(--ease);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}
.blog-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--secondary);
  color: var(--white);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.blog-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.blog-card-body h3 {
  font-size: 0.95rem;
  line-height: 1.42;
  margin-bottom: 0.6rem;
  flex: 1;
}
.blog-card-body h3 a {
  color: var(--title);
}
.blog-card-body h3 a:hover {
  color: var(--primary);
}
.blog-card-body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0.9rem;
}
.blog-card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}
.blog-card-link:hover {
  gap: 0.55rem;
  color: var(--primary-dark);
}

.blog-newsletter {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-xl);
  padding: 2.75rem 3rem;
  margin-top: 3.5rem;
}
.blog-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.blog-newsletter-text h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.blog-newsletter-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.blog-newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.blog-newsletter-form input {
  padding: 0.72rem 1rem;
  border-radius: var(--radius);
  border: none;
  font-size: 0.9rem;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--title);
}

/* ============================================================
   25. ARTICLE PAGE
   ============================================================ */
.article-main {
  padding: 2.5rem 0 5rem;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: flex-start;
}
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

.article-header {
  margin-bottom: 2rem;
}
.article-category-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  color: var(--title);
  line-height: 1.22;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.article-lead {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.78;
  font-weight: 500;
  border-left: 3px solid var(--primary);
  padding-left: 1.1rem;
}

.article-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.article-hero-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-body {
  line-height: 1.82;
  color: var(--body);
}
.article-body h2 {
  font-size: 1.45rem;
  color: var(--title);
  margin: 2.25rem 0 0.85rem;
  padding-top: 0.5rem;
}
.article-body h3 {
  font-size: 1.1rem;
  color: var(--title);
  margin: 1.5rem 0 0.65rem;
}
.article-body p {
  margin-bottom: 1.25rem;
}
.article-body ul,
.article-body ol {
  margin: 0.65rem 0 1.25rem 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.article-body ul li {
  list-style: disc;
}
.article-body ol li {
  list-style: decimal;
}
.article-body .callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.article-body .callout p {
  margin: 0;
  color: var(--primary-darker);
  font-weight: 500;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-body table th {
  background: var(--title);
  color: var(--white);
  padding: 0.72rem 1rem;
  text-align: left;
}
.article-body table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-soft);
}
.article-body table tr:last-child td {
  border-bottom: none;
}
.article-body table tr:hover td {
  background: var(--bg);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 2.5rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.article-tags > strong {
  font-size: 0.85rem;
  color: var(--title);
}
.tag {
  background: var(--bg);
  color: var(--body);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.tag:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.article-share > strong {
  font-size: 0.85rem;
  color: var(--title);
}
.share-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.42rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--title);
}
.share-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Article sidebar */
.article-sidebar {
  position: sticky;
  top: 90px;
}
@media (max-width: 1024px) {
  .article-sidebar {
    position: static;
  }
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-size: 0.95rem;
  color: var(--title);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}
.sidebar-article {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}
.sidebar-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.sidebar-article img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.sidebar-article > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.sidebar-article a {
  font-size: 0.82rem;
  color: var(--title);
  font-weight: 500;
  line-height: 1.38;
}
.sidebar-article a:hover {
  color: var(--primary);
}
.sidebar-article span {
  font-size: 0.72rem;
  color: var(--muted);
}

.sidebar-cta {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  text-align: center;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(26, 111, 219, 0.28);
}
.sidebar-cta h3 {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  padding-bottom: 0;
  border-bottom: 0;
}
.sidebar-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.87rem;
  margin-bottom: 1.15rem;
}
.sidebar-cta .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 170px;
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 10px 22px rgba(247, 147, 30, 0.35);
}
.sidebar-cta .btn:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.related-articles {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.related-articles h2 {
  font-size: 1.5rem;
  color: var(--title);
  margin-bottom: 2rem;
}

/* ============================================================
   26. CHI SIAMO (ABOUT) PAGE
   ============================================================ */
.about-hero {
  padding: 5rem 0;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-hero-text .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.about-hero-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 1.1rem;
}
.about-hero-text p {
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}
@media (min-width: 640px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.stat:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.stat span {
  font-size: 0.78rem;
  color: var(--muted);
}

.about-hero-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Mission */
.about-mission {
  padding: 5rem 0;
  background: var(--bg);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}

.mission-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.mission-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--primary);
}
.mission-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--primary);
  transition:
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.mission-card:hover .mission-icon {
  color: var(--accent);
  transform: translateY(-3px) scale(1.06);
}
.mission-card h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.mission-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.62;
}

/* Product selection */
.product-selection {
  padding: 5rem 0;
  background: var(--white);
}
.selection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .selection-grid {
    grid-template-columns: 1fr;
  }
}

.selection-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.selection-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary);
}
.selection-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.selection-card:hover .selection-icon {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.selection-card h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}
.selection-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.62;
}

/* Values */
.about-values {
  padding: 5rem 0;
  background: var(--bg);
}
.values-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  background: var(--white);
  padding: 3.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
@media (max-width: 768px) {
  .values-banner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
}

.values-text h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.values-list li {
  font-size: 0.9rem;
  color: var(--body);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.values-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.values-cta h3 {
  font-size: 1.4rem;
}
.values-cta p {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ============================================================
   27. CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 3.5rem 0 5.5rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-info h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}
.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-method-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-light);
  border: 1.5px solid rgba(26, 111, 219, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-method > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.contact-method strong {
  color: var(--title);
  font-size: 0.88rem;
}
.contact-method a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}
.contact-method a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.contact-method span {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-faq h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 1rem;
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 0;
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover,
.faq-question.active {
  color: var(--primary);
}
.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}
.faq-question.active::after {
  content: "−";
}
.faq-answer {
  display: none;
  padding: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}
.faq-answer a {
  color: var(--primary);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}
.contact-form-card > p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.contact-success-msg {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
}
.contact-success-msg h3 {
  font-size: 1.45rem;
  margin: 1rem 0 0.75rem;
}
.contact-success-msg p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ============================================================
   28. LEGAL PAGES
   ============================================================ */
.legal-page {
  padding: 3rem 0 5.5rem;
}
.legal-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

.legal-toc {
  position: sticky;
  top: 90px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
@media (max-width: 768px) {
  .legal-toc {
    position: static;
  }
}
.legal-toc h3 {
  font-size: 0.9rem;
  color: var(--title);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}
.legal-toc ol {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: decimal;
}
.legal-toc li {
  font-size: 0.82rem;
}
.legal-toc a {
  color: var(--muted);
  transition: color 0.2s;
}
.legal-toc a:hover {
  color: var(--primary);
}

.legal-content {
  min-width: 0;
}
.legal-content section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-soft);
}
.legal-content section:last-child {
  border-bottom: none;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--title);
}
.legal-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--title);
  margin: 1.25rem 0 0.55rem;
}
.legal-content p {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.78;
  margin-bottom: 0.85rem;
}
.legal-content ul,
.legal-content ol {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.78;
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}
.legal-content ul li {
  list-style: disc;
}
.legal-content ol li {
  list-style: decimal;
}
.legal-content li {
  margin-bottom: 0.4rem;
}
.legal-content a {
  color: var(--primary);
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-content address {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.9;
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 0.5rem 0;
  border: 1px solid var(--border-soft);
}
.legal-notice {
  background: var(--primary-light);
  color: var(--primary-darker);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.86rem;
  font-weight: 500;
  border-left: 3px solid var(--primary);
}

/* Cookie table */
.cookie-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cookie-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.cookie-table th {
  background: var(--title);
  color: var(--white);
  padding: 0.72rem 1rem;
  text-align: left;
}
.cookie-table td {
  padding: 0.68rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--body);
}
.cookie-table tr:last-child td {
  border-bottom: none;
}
.cookie-table tr:hover td {
  background: var(--bg);
}
.cookie-table code {
  background: var(--bg);
  padding: 0.15rem 0.42rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  color: var(--primary-darker);
  border: 1px solid var(--border);
  white-space: nowrap;
}

/* ============================================================
   29. SHIPPING & WARRANTY PAGES
   ============================================================ */
/* Shipping info cards */
.shipping-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 768px) {
  .shipping-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .shipping-cards {
    grid-template-columns: 1fr;
  }
}

.shipping-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}
.shipping-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.shipping-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.shipping-card h3 {
  font-size: 0.95rem;
  color: var(--title);
  margin-bottom: 0.4rem;
}
.shipping-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
.shipping-card p:last-child {
  margin-bottom: 0;
}

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26, 111, 219, 0.3);
}
.step-item strong {
  display: block;
  color: var(--title);
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}
.step-item p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.62;
}

/* Warranty cards */
.warranty-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 768px) {
  .warranty-cards {
    grid-template-columns: 1fr;
  }
}

.warranty-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.warranty-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.warranty-highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 111, 219, 0.1);
}
.warranty-icon {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  display: block;
}
.warranty-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.warranty-duration {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1;
  display: block;
}
.warranty-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 1rem;
}
.warranty-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ============================================================
   30. 404 PAGE
   ============================================================ */
.error-page {
  padding: 5rem 0 7rem;
}
.error-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 4rem 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-soft);
}
.error-illustration {
  margin-bottom: 2rem;
}
.error-code {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.error-card h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.error-card > p {
  color: var(--muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.error-search {
  margin-bottom: 2rem;
}
.error-search-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}
.error-search-form .search-input {
  flex: 1;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  color: var(--title);
}
.error-search-form .search-input:focus {
  border-color: var(--primary);
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.error-categories h3 {
  font-size: 0.95rem;
  color: var(--title);
  margin-bottom: 1.25rem;
}
.error-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .error-cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.error-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  background: var(--bg);
  border-radius: var(--radius);
  color: var(--body);
  font-size: 0.8rem;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.error-cat span {
  font-size: 1.5rem;
}
.error-cat:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   31. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 25, 35, 0.96);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 2px solid var(--primary);
  font-size: 0.86rem;
  line-height: 1.55;
}
.cookie-banner a {
  color: var(--primary);
}
.cookie-banner a:hover {
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* ============================================================
   32. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(26, 111, 219, 0.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   33. FORM ELEMENTS (shared)
   ============================================================ */
.form-group .field-error {
  font-size: 0.76rem;
  color: var(--error);
  margin-top: 0.3rem;
  display: block;
  min-height: 1em;
}

/* ============================================================
   34. MISC UTILITIES & COMPONENTS
   ============================================================ */
.empty-cart {
  text-align: center;
  padding: 5rem 2rem;
}
.empty-cart .icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}
.empty-cart h3 {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}
.empty-cart p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-success {
  background: #f0fdf4;
  color: #14532d;
  border: 1px solid #86efac;
}
.alert-error {
  background: #fef2f2;
  color: #7f1d1d;
  border: 1px solid #fca5a5;
}
.alert-info {
  background: var(--primary-light);
  color: var(--primary-darker);
  border: 1px solid rgba(26, 111, 219, 0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-success {
  background: #f0fdf4;
  color: var(--success);
}
.badge-warning {
  background: #fffbeb;
  color: var(--warning);
}
.badge-blue {
  background: var(--primary-light);
  color: var(--primary);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}
.text-muted {
  color: var(--muted);
  font-size: 0.875rem;
}
.text-primary {
  color: var(--primary);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================================
   35. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
.animate-fade-in-up {
  animation: fadeInUp 0.5s var(--ease) forwards;
}
.animate-fade-in {
  animation: fadeIn 0.4s var(--ease) forwards;
}

/* Cart notification */
.cart-notification {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--title);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 9998;
  transition: transform 0.35s var(--ease);
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cart-notification.show {
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   36. RESPONSIVE — GLOBAL BREAKPOINTS
   ============================================================ */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.85rem;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .page-header {
    padding: 2.5rem 0 2rem;
  }
  .page-header h1 {
    font-size: 1.4rem;
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-image {
    min-height: 220px;
  }
  .blog-featured-content {
    padding: 1.75rem;
  }
  .success-actions {
    flex-direction: column;
  }
  .values-cta .btn {
    width: 100%;
  }
  .error-code {
    font-size: 4.5rem;
  }
}

/* ============================================================
   37. COMPATIBILITY ALIASES
   Classes used in templates — mapped to design system
   ============================================================ */

/* Hero */
.hero-content {
  /* alias for hero-text area */
}

/* Blog card variants (homepage uses older class names) */
.blog-card-img {
  display: block;
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s var(--ease);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-date {
  font-size: 0.76rem;
  color: var(--muted);
}
.blog-read-time {
  font-size: 0.76rem;
  color: var(--muted);
}

/* Layout helpers */
.bg-light {
  background: var(--bg);
}
.sep {
  color: rgba(255, 255, 255, 0.4);
}

/* Article content wrapper */
.article-content {
  max-width: 760px;
}

/* Cart / checkout */
.form-error {
  font-size: 0.76rem;
  color: var(--error);
  margin-top: 0.3rem;
  display: block;
}

/* Contact */
.contact-form-wrap {
}

/* Cart count (header) */
.cart-count {
  display: none;
} /* handled by cart-badge */

/* Shop */
.shop-main {
  padding: 2.5rem 0 5rem;
}

/* Product qty buttons (product detail page) */
.qty-minus,
.qty-plus {
  width: 40px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--title);
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}
.qty-minus:hover,
.qty-plus:hover {
  background: var(--primary-light);
  color: var(--primary);
}

@media (max-width: 1100px) {
  .header-logo-text {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .header-logo-text {
    font-size: 0.82rem;
  }
  .site-logo-img {
    height: 34px;
  }
}
