:root {
  --bg: #f4f7fb;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --muted: #5b6478;
  --line: rgba(15, 23, 42, 0.08);
  --accent-deep: #1e3a5f;
  --accent: #2563eb;
  --accent-soft: #e8f0fe;
  --sale: #c2410c;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(30, 58, 95, 0.12);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(30, 58, 95, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.logo-brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  color: inherit;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}

.logo-tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-nav a:hover,
.header-nav .nav-active {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-phone .material-symbols-outlined {
  font-size: 20px;
  color: var(--accent);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  padding: 36px 0 64px;
}

.gallery {
  position: relative;
}

.main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: block;
  background: var(--bg-elevated);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.thumbs {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.thumbs-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.thumbs-scroll .thumb {
  min-width: 72px;
}

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--bg-elevated);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: pointer;
  opacity: 0.9;
  transition: 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.thumb:hover,
.thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.brand {
  margin: 8px 0 4px;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

h1 {
  margin: 0 0 10px;
  line-height: 1.2;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  max-width: 640px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-deep);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.price-now {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--accent-deep);
}

.badge-sale {
  background: #fff7ed;
  color: var(--sale);
  border: 1px solid #fed7aa;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.price-disclaimer {
  margin: 0 0 14px;
  font-size: 0.875rem;
  color: var(--muted);
}

.product-intro {
  margin: 0 0 16px;
  color: #334155;
  line-height: 1.6;
  font-size: 1.05rem;
}

.meta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.tag-blue {
  color: var(--accent);
}

.tag-green {
  color: #15803d;
}

.sku {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.875rem;
}

.rating {
  margin: 0 0 10px;
  color: #eab308;
  font-size: 1.125rem;
}

.rating span {
  color: #475569;
  font-size: 1rem;
  margin-left: 8px;
  font-weight: 600;
}

.service-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 16px 0;
  color: #475569;
  font-size: 0.9rem;
}

.service-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-row .material-symbols-outlined {
  font-size: 20px;
  color: var(--accent);
}

.cart-btn {
  margin-top: 8px;
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  color: #fff;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.buy-btn {
  margin-top: 10px;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--accent);
}

.material-symbols-outlined {
  font-size: 1.1875rem;
  vertical-align: middle;
}

.buy-secondary {
  background: var(--bg-elevated);
  color: var(--accent);
}

.cart-btn:hover,
.buy-btn:hover {
  transform: translateY(-1px);
}

.buy-btn:hover {
  background: var(--accent-soft);
}

.check-list {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  margin-bottom: 10px;
  color: #334155;
  font-size: 0.975rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 800;
  margin-right: 8px;
}

.section-light {
  background: rgba(255, 255, 255, 0.72);
  padding: 64px 0;
}

.section-white {
  background: var(--bg-elevated);
  padding: 64px 0;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-deep);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 14px auto 32px;
  max-width: 720px;
  font-size: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.18);
}

.info-card .icon {
  margin: 0 0 10px;
}

.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: inline-grid;
  place-items: center;
}

.icon-badge .material-symbols-outlined {
  color: var(--accent);
  font-size: 22px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-deep);
}

.info-card p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
  font-size: 0.925rem;
}

.rating-line {
  font-weight: 600;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f8fafc;
  padding: 22px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-head span {
  color: #eab308;
  letter-spacing: 0.04em;
}

.review-card p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
  font-size: 0.95rem;
}

.faq-container {
  max-width: 880px;
}

.faq-list {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: none;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  color: var(--accent-deep);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--accent);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: #475569;
  line-height: 1.55;
  font-size: 0.925rem;
}

.specs-container {
  max-width: 920px;
}

.specs-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.spec-row:nth-child(odd) {
  background: #f8fafc;
}

.spec-row:first-child {
  border-top: none;
}

.spec-row span {
  color: var(--muted);
  max-width: 48%;
}

.spec-row strong {
  color: var(--text);
  text-align: right;
  font-weight: 600;
}

.how-section .section-subtitle {
  margin-bottom: 36px;
}

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

.step-item {
  text-align: center;
}

.step-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.step-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-deep);
}

.step-item p {
  margin: 0;
  color: #64748b;
  line-height: 1.45;
  font-size: 0.875rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #0f172a 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 280px at 80% 20%, rgba(37, 99, 235, 0.35), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-family: var(--font-display);
  font-weight: 800;
}

.cta-inner p {
  margin: 0 auto 24px;
  max-width: 640px;
  color: #cbd5f5;
  font-size: 1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.cta-btn {
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  font-family: var(--font-body);
}

.cta-primary {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: var(--shadow-md);
}

.cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.cta-inner small {
  color: #94a3d5;
  font-size: 0.8125rem;
}

.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 22px;
}

.footer-logo {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.footer-text {
  margin: 0 0 10px;
  color: #94a3b8;
  line-height: 1.55;
  font-size: 0.9rem;
}

.footer-legal-mini {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
}

.footer-title {
  margin: 0 0 12px;
  font-weight: 800;
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-grid a,
.footer-contact {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.footer-grid a:hover {
  color: #e2e8f0;
}

.footer-contact .material-symbols-outlined {
  font-size: 17px;
  margin-right: 6px;
  color: #93c5fd;
  vertical-align: middle;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 24px;
  color: #64748b;
  font-size: 0.8125rem;
}

/* Legal / inner pages */
.legal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page {
  flex: 1;
  padding: 40px 0 64px;
  max-width: 800px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--accent-deep);
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 28px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--accent-deep);
}

.legal-page p,
.legal-page li {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-list,
.legal-ol {
  padding-left: 1.2rem;
  margin: 0 0 16px;
}

.legal-list li + li,
.legal-ol li + li {
  margin-top: 6px;
}

.legal-intro {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.legal-note {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 0.9rem;
}

.legal-back {
  margin-top: 36px;
}

.legal-back a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.legal-back a:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.contact-card-full {
  grid-column: 1 / -1;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card h2 .material-symbols-outlined {
  color: var(--accent);
}

.contact-card a {
  color: var(--accent);
  font-weight: 700;
}

.muted {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 8px 0 0;
}

@media (max-width: 980px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 24px;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner {
    justify-content: center;
  }

  .header-phone {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .spec-row span,
  .spec-row strong {
    max-width: 100%;
    text-align: left;
  }

  .thumbs {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
  }
}
