:root {
  --blue: #0d5fff;
  --blue-dark: #003ebc;
  --cyan: #52c9ff;
  --ink: #111827;
  --muted: #657084;
  --line: #dfe6f0;
  --soft: #f4f8ff;
  --white: #ffffff;
  --green: #128c5b;
  --shadow: 0 18px 60px rgba(30, 64, 175, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body.cart-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 230, 240, 0.9);
}
.header-inner { height: 76px; display: flex; align-items: center; gap: 34px; }
.brand img { width: 120px; height: 50px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; font-weight: 650; font-size: 14px; }
.main-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 750; font-size: 14px; }
.cart-button {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  font-weight: 750;
}
.cart-button span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.menu-button { display: none; border: 0; background: transparent; font-size: 24px; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(82, 201, 255, .38), transparent 32%),
    linear-gradient(135deg, #fafdff 0%, #eaf2ff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.16fr .84fr; align-items: center; gap: 64px; padding: 76px 0; }
.eyebrow { display: block; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.hero h1, .page-hero h1 { margin: 0; max-width: 780px; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 670px; margin: 26px 0 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--blue);
  border-radius: 13px;
  background: var(--blue);
  color: white;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 800;
  transition: .2s ease;
}
.button:hover { transform: translateY(-1px); background: var(--blue-dark); }
.button--outline { background: white; color: var(--blue); border-color: var(--line); }
.button--outline:hover { background: var(--soft); color: var(--blue-dark); }
.button--small { min-height: 40px; padding: 0 15px; border-radius: 11px; font-size: 13px; }
.button--wide { width: 100%; margin-top: 12px; }
.button--whatsapp { background: var(--green); border-color: var(--green); }
.button.is-disabled { opacity: .45; pointer-events: none; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 34px; color: #30415d; font-size: 14px; font-weight: 750; }
.hero-points span::before { content: "✓"; color: var(--blue); margin-right: 7px; }
.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.hero-logo-card {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 34px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.hero-logo-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; }
.hero-logo-card > div { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-top: 16px; }
.hero-logo-card span { color: var(--muted); font-size: 13px; }
.energy-card {
  position: absolute;
  right: -20px;
  bottom: 20px;
  width: 240px;
  padding: 20px;
  color: white;
  border-radius: 20px;
  background: linear-gradient(135deg, #0d5fff, #00338f);
  box-shadow: var(--shadow);
}
.energy-card span { display: inline-block; background: rgba(255,255,255,.16); padding: 4px 9px; border-radius: 999px; font-size: 12px; }
.energy-card strong, .energy-card small { display: block; margin-top: 8px; }
.energy-card small { opacity: .76; }

.selection { position: relative; z-index: 2; margin-top: -44px; }
.selection-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.selection h2, .section h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.selection p { margin: 10px 0 0; color: var(--muted); }
.search-box { display: flex; gap: 10px; }
.search-box input, .catalog-tools input {
  width: 100%;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  background: #fbfdff;
}
.search-box input:focus, .catalog-tools input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13,95,255,.1); }

.section { padding: 92px 0; }
.section--soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading > a { color: var(--blue); font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-grid--four { grid-template-columns: repeat(4, 1fr); }
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  transition: .22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(17,24,39,.09); }
.product-card__image { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #f5f7fb; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: .3s ease; }
.product-card:hover .product-card__image img { transform: scale(1.02); }
.product-card__body { padding: 17px; }
.stock { display: inline-flex; align-items: center; color: var(--green); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.stock::before { content: ""; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #20c477; }
.product-card__title { display: block; min-height: 48px; margin-top: 10px; font-size: 16px; font-weight: 800; line-height: 1.35; }
.product-card__spec { min-height: 42px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; }
.product-card__bottom strong { white-space: nowrap; font-size: 20px; }
.no-results { display: none; padding: 30px; text-align: center; color: var(--muted); }
.no-results.is-visible { display: block; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article { padding: 30px; border: 1px solid #d6e4ff; border-radius: var(--radius); background: white; }
.feature-grid b { color: var(--blue); font-size: 13px; }
.feature-grid h3 { margin: 38px 0 10px; font-size: 22px; }
.feature-grid p { margin: 0; color: var(--muted); }
.order-steps { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.order-steps ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.order-steps li { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.order-steps li > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; color: white; background: var(--blue); border-radius: 12px; font-weight: 850; }
.order-steps p { margin: 5px 0 0; color: var(--muted); }

.page-hero { padding: 90px 0 70px; background: linear-gradient(135deg, #f8fbff, #e8f1ff); border-bottom: 1px solid var(--line); }
.page-hero--compact h1 { font-size: clamp(40px, 6vw, 66px); }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 18px; }
.section--catalog { padding-top: 44px; }
.catalog-tools { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-bottom: 28px; }
.filter-buttons { display: flex; gap: 8px; }
.filter-buttons button { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-weight: 750; }
.filter-buttons button.is-active { color: white; background: var(--ink); border-color: var(--ink); }

.breadcrumbs { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.breadcrumbs .container { display: flex; flex-wrap: wrap; gap: 8px; }
.product-page { padding: 54px 0 90px; }
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.gallery-main { overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); border-radius: 24px; background: var(--soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.gallery-thumb { overflow: hidden; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; background: white; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--blue); }
.product-info { position: sticky; top: 106px; }
.product-info h1 { margin: 12px 0 14px; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.04; letter-spacing: -.045em; }
.product-lead { color: var(--muted); font-size: 17px; }
.product-price { margin: 28px 0 20px; font-size: 40px; font-weight: 900; letter-spacing: -.04em; }
.spec-list { display: grid; border-top: 1px solid var(--line); }
.spec-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list span { color: var(--muted); }
.spec-list strong { text-align: right; }
.delivery-note { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--soft); }
.delivery-note p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.product-description-section { padding-block: 76px; }
.product-description {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 30px 60px;
  align-items: start;
}
.product-description__heading h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.product-description__copy > p { margin: 0 0 18px; color: #30415d; font-size: 18px; line-height: 1.72; }
.product-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.product-benefits li { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.product-benefits strong, .product-benefits span { display: block; }
.product-benefits strong { font-size: 14px; }
.product-benefits span { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.product-description__note { padding: 18px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; background: #eef4ff; color: var(--muted); }
.product-description__note strong { color: var(--ink); }

.product-details { display: grid; grid-template-columns: .65fr 1.35fr; gap: 30px 60px; }
.product-details > p { margin: 0; font-size: 20px; line-height: 1.7; }
.compatibility-warning { grid-column: 2; padding: 18px; border: 1px solid #cbdcff; border-radius: 14px; background: white; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-grid article { min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-grid h2, .info-panel h2, .seller-panel h2 { margin: 0 0 16px; font-size: 23px; }
.contact-grid a { display: block; margin-top: 10px; color: var(--blue); font-weight: 800; }
.contact-grid p { color: var(--muted); }
.info-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 22px; padding: 30px; border-radius: var(--radius); background: var(--soft); }
.info-panel p { color: var(--muted); }
.seller-panel { margin-top: 22px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin-top: 38px; font-size: 26px; }
.legal-copy p { color: var(--muted); font-size: 17px; }
.legal-copy a { color: var(--blue); text-decoration: underline; }
.legal-note { padding: 18px; background: var(--soft); border-radius: 14px; }

.site-footer { padding: 62px 0 24px; color: #dbe7ff; background: #091225; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 120px; filter: invert(1); mix-blend-mode: screen; }
.site-footer h3 { margin: 0 0 14px; color: white; font-size: 15px; }
.site-footer a { display: block; margin-top: 9px; }
.site-footer p { color: #aebbd3; font-size: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8fa0bc; font-size: 13px; }

.cart-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(9,18,37,.48); opacity: 0; visibility: hidden; transition: .2s; }
.cart-drawer { position: fixed; z-index: 90; top: 0; right: 0; width: min(460px, 100%); height: 100dvh; padding: 24px; background: white; transform: translateX(101%); transition: .25s ease; overflow-y: auto; }
.cart-open .cart-overlay { opacity: 1; visibility: visible; }
.cart-open .cart-drawer { transform: translateX(0); }
.cart-drawer__header { display: flex; justify-content: space-between; align-items: center; }
.cart-drawer__header h2 { margin: 0; font-size: 30px; }
.cart-drawer__header button { border: 0; background: transparent; font-size: 34px; }
.cart-items { display: grid; gap: 12px; margin: 24px 0; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.cart-item img { width: 70px; height: 88px; object-fit: cover; border-radius: 9px; }
.cart-item strong, .cart-item span { display: block; }
.cart-item span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.quantity { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.quantity button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.remove-item { align-self: start; border: 0; background: transparent; color: var(--muted); font-size: 22px; }
.cart-empty { margin: 50px 0; text-align: center; color: var(--muted); }
.cart-total { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); font-size: 20px; }
.cart-note { color: var(--muted); font-size: 13px; }

@media (max-width: 1000px) {
  .header-phone { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product-layout { gap: 34px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { height: 66px; }
  .main-nav {
    position: fixed;
    inset: 66px 0 auto;
    display: none;
    padding: 20px;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .menu-open .main-nav { display: grid; }
  .menu-button { display: block; }
  .cart-button { padding: 8px 10px; font-size: 0; }
  .cart-button span { margin-left: 0; font-size: 13px; }
  .brand img { width: 105px; }
  .hero-grid { grid-template-columns: 1fr; padding: 52px 0 100px; }
  .hero h1 { font-size: 48px; }
  .hero-visual { min-height: 330px; }
  .hero-logo-card { width: 280px; padding: 18px; }
  .energy-card { right: 0; width: 210px; }
  .selection-inner { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .search-box { display: grid; }
  .section { padding: 64px 0; }
  .product-grid, .product-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card__body { padding: 13px; }
  .product-card__title { font-size: 14px; }
  .product-card__bottom { align-items: stretch; flex-direction: column; }
  .product-card__bottom .button { width: 100%; }
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .order-steps { grid-template-columns: 1fr; gap: 30px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .filter-buttons { overflow-x: auto; }
  .filter-buttons button { white-space: nowrap; }
  .product-layout { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
  .product-description { grid-template-columns: 1fr; }
  .product-benefits { grid-template-columns: 1fr; }
  .product-details { grid-template-columns: 1fr; }
  .compatibility-warning { grid-column: 1; }
  .info-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .product-grid, .product-grid--four { grid-template-columns: 1fr 1fr; }
  .product-card__spec { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}
