﻿@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --blue: #0f2744;
  --blue-dark: #0a1b30;
  --blue-btn: #c45c26;
  --teal: #c45c26;
  --teal-dark: #a3491c;
  --teal-soft: #f8efe8;
  --text: #1a2330;
  --text-strong: #0f1722;
  --text-body: #2c3644;
  --text-muted: #5b6573;
  --line: #e6e1d8;
  --line-2: #d9d3c8;
  --line-3: #f3efe8;
  --white: #fff;
  --font: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --paper: #f6f3ee;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font: 16px / 1.5 var(--font);
  color: var(--text);
  background: var(--paper);
  min-height: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: #fff;
  color: var(--blue);
  margin-bottom: 0;
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--line);
}

.topbar { padding: 16px 0 12px; }

.topbar-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  flex-shrink: 0;
  color: var(--blue);
}

.logo-mark {
  min-width: 52px;
  height: 42px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--blue-btn);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-name {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.logo-name small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.search {
  flex: 1;
  position: relative;
  min-width: 0;
}

.search__row {
  display: flex;
  align-items: center;
  background: #f6f3ee;
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 40px;
  padding: 0 14px;
}

.search__input {
  flex: 1;
  border: 0;
  outline: 0;
  font: 15px / 1.4 var(--font);
  color: var(--text);
  background: transparent;
  min-width: 0;
  width: 100%;
}

.search__input::placeholder { color: var(--text-muted); }

.search__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.search__results {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 46px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 39, 68, 0.16);
  z-index: 50;
  max-height: 320px;
  overflow: auto;
}

.search__results.is-open { display: block; }

.search__results a,
.search__results .empty {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.search__results a:hover { background: var(--teal-soft); }

.ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 12px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f3ee;
  color: var(--blue);
}

.ctrl-wa {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.cart-btn { min-width: 0; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--blue-btn);
  color: #fff;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
}

.cart-count:empty { display: none; }

.ctrl-btn__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  text-transform: none;
  color: var(--blue);
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  z-index: 60;
  padding: 6px 0;
  text-align: left;
}

.ctrl-btn.is-open .dropdown { display: block; }

.dropdown a,
.dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text);
}

.dropdown a:hover,
.dropdown button:hover { background: var(--teal-soft); }

.dropdown .is-active { color: var(--blue-btn); font-weight: 600; }

.cart-panel {
  width: 320px;
  right: 0;
}

.cart-panel p { padding: 16px; color: #777; }

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text);
}

.cart-item button { color: #999; font-size: 16px; }

.cart-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--text);
}

.cart-whatsapp {
  display: block;
  margin: 0 14px 8px;
  text-align: center;
  text-decoration: none;
}

.cart-whatsapp-note {
  margin: 0 14px 14px;
  padding: 0;
  font-size: 12px;
  color: #667085;
  line-height: 1.4;
}

.nav {
  background: var(--blue-dark);
  color: #fff;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

.nav__menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.nav__link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  border-radius: 8px;
}

.nav__link:hover,
.nav__link.is-active { background: rgba(255,255,255,.1); color: #fff; }

.nav__burger {
  display: none;
  align-items: center;
  color: #fff;
  font-weight: 700;
  height: 40px;
  padding: 0 10px;
}

.hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(196, 92, 38, 0.35), transparent 42%),
    linear-gradient(160deg, #0a1b30 0%, #0f2744 55%, #163656 100%);
  color: #fff;
  padding: 48px 0 52px;
  margin-bottom: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c4a8;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  max-width: 18ch;
}

.hero p {
  margin: 12px 0 22px;
  max-width: 46ch;
  opacity: 0.86;
}

.hero a {
  display: inline-flex;
  align-items: center;
  background: var(--blue-btn);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
}

.hero-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
}

.hero-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #fff;
}

.hero-steps strong {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-btn);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.content { padding: 28px 0 12px; }

.layout {
  display: flex;
  gap: 28px;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
}

.main { flex: 1; min-width: 0; }

.price {
  display: block;
  color: var(--blue-btn);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  margin: 0 0 5px;
}

.alp-news {
  padding: 8px 0 28px;
}

.alp-news-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 22px 18px;
}

.alp-news-month { padding: 16px 0 8px; }

.alp-news-month + .alp-news-month {
  border-top: 1px solid var(--line);
}

.alp-news-month h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--blue-btn);
}

.alp-news-month ul { margin: 0; padding: 0; }

.alp-news-month li {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-3);
}

.alp-news-month li:last-child { border-bottom: 0; }

/* Featured */
.products {
  margin-top: 10px;
  padding-top: 10px;
}

.products__heading {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 18px;
  color: var(--text-strong);
}

.products__more {
  display: inline-flex;
  margin: 18px 0 8px;
  font-weight: 700;
  color: var(--blue);
}

.products__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.products__item-in {
  padding: 12px;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.products__item-in:hover { background: #fff; border-color: #c9c2b6; box-shadow: 0 8px 20px rgba(15,39,68,.08); }

.thumb {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.thumb svg { width: 86%; height: 86%; }
.thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.products__item-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 23.25px;
  margin: 0 0 4px;
  min-height: 46px;
}

.products__item-title:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
}

.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); }
.btn--blue { background: var(--blue-btn); color: #fff; border-radius: 999px; font-size: 13px; padding: 10px 16px; height: auto; }
.btn--blue:hover { background: var(--teal-dark); }
.btn--ghost { border: 1px solid var(--line-2); }

.products__item-action { margin-top: 8px; }

/* Page chrome */
.page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 22px;
}

.breadcrumb {
  font-size: 13px;
  color: #888;
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--blue); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p { color: var(--text-muted); margin-bottom: 10px; }

.filter-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.filter-box h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.filter-box label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
  cursor: pointer;
}

.filter-box label span { color: #888; font-size: 12px; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.faq-item .ans {
  display: none;
  padding: 0 0 14px;
  color: var(--text-muted);
}

.faq-item.is-open .ans { display: block; }

.product-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
}

.product-hero .thumb { background: #f7fafc; border: 1px solid var(--line); }

.product-hero h1 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }

.product-hero .price { font-size: 22px; margin: 12px 0 18px; }

/* Footer */
.footer {
  background: var(--blue);
  color: rgba(255,255,255,.82);
  border-top: 0;
  padding: 28px 0 32px;
  margin-top: 40px;
}

.alp-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 16px;
}

.alp-footer-links a {
  font-size: 13px;
  font-weight: 500;
  line-height: 19.5px;
  text-align: center;
}

.alp-footer-links a:hover { color: #fff; }

.alp-footer-copy {
  text-align: center;
  font-size: 15px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #101828;
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 80;
}

.toast.is-on { opacity: 1; }

@media (max-width: 1100px) {
  .products__track { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .nav__link { padding: 10px 10px; font-size: 13px; }
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .product-hero,
  .layout { grid-template-columns: 1fr; flex-direction: column; }
  .sidebar { width: 100%; }
  .products__track { grid-template-columns: repeat(2, 1fr); }
  .nav__menu { display: none; }
  .nav.is-open .nav__menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 48px;
    background: var(--blue-dark);
    height: auto;
    z-index: 40;
    padding: 8px 16px 16px;
  }
  .nav { position: relative; }
  .nav__burger { display: flex; }
  .search { display: none; }
  .logo { width: auto; }
}

@media (max-width: 640px) {
  .products__track,
  .catalog-grid { grid-template-columns: 1fr; }
  .ctrl-btn { min-width: 56px; }
  .ctrl-btn__label { display: none; }
}
