*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #3b9bd4;
  --blue-dark: #2a7db8;
  --blue-light: #e8f4fc;
  --navy: #1a3a5c;
  --text: #222;
  --text-muted: #666;
  --white: #fff;
  --bg: #f7f9fc;
  --red: #e53935;
  --border: #dde6ef;
}

body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 40px;
  font-size: 12.5px;
  font-weight: 500;
}
.top-bar__social { display: flex; align-items: center; gap: 10px; }
.top-bar__social span { margin-right: 4px; }
.top-bar__social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.top-bar__social a svg { width: 14px; height: 14px; fill: var(--blue); }
.top-bar__promo { font-weight: 600; letter-spacing: .3px; }
.top-bar__contact { display: flex; gap: 18px; align-items: center; }
.top-bar__contact a { color: var(--white); display: flex; align-items: center; gap: 5px; font-size: 12px; }

/* ── MAIN HEADER ── */
.header {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.logo { font-size: 26px; font-weight: 700; color: var(--blue); letter-spacing: -.5px; font-family: 'Montserrat', sans-serif; }
.logo span { color: var(--navy); }

.nav ul { display: flex; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .2s; }
.nav a:hover { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-register {
  font-size: 13px; font-weight: 500; color: var(--text);
  display: flex; align-items: center; gap: 6px; cursor: pointer;
}
.btn-register svg { width: 16px; height: 16px; }
.icon-btn {
  width: 38px; height: 38px; border: 1.5px solid var(--border);
  border-radius: 8px; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.8; }

/* ── HERO SLIDER ── */
.hero {
  background: url('./images/slider.png') no-repeat center bottom;
  background-size: cover;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 50px 80px;
}
.hero__content { text-align: center; z-index: 2; }
.hero__title {
  font-size: 42px; font-weight: 700; color: var(--white);
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 18px rgba(30,80,140,.25);
  line-height: 1.2; margin-bottom: 18px;
}
.hero__subtitle { font-size: 16px; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero__cta {
  background: var(--blue); color: var(--white);
  border: none; padding: 13px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.hero__cta:hover { background: var(--blue-dark); }
.hero__bg-appliances {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; gap: 18px; align-items: flex-end; opacity: .18;
  pointer-events: none;
}
.hero__dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero__dot--active { background: var(--blue-dark); }

.hero img { width: 100%; object-fit: cover; }

/* ── SECTION WRAPPER ── */
.section { padding: 60px 40px; }
.section--gray { background: var(--bg); }

/* ── HOT OFFERS ── */
.hot-offers { padding: 50px 40px; }
.hot-offers__top {
  display: flex; align-items: flex-start; gap: 40px; margin-bottom: 32px;
}
.hot-offers__text { max-width: 240px; }
.hot-offers__label {
  font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
}
.hot-offers__underline {
  width: 40px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 12px;
}
.hot-offers__desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.hot-offers__actions {
  display: flex; align-items: center; gap: 16px; margin-top: 18px;
}
.btn-show {
  background: var(--blue); color: var(--white);
  border: none; padding: 10px 22px; border-radius: 6px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.btn-show:hover { background: var(--blue-dark); }
.arrows { display: flex; gap: 6px; }
.arrow-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.arrow-btn svg { width: 14px; height: 14px; stroke: var(--text); stroke-width: 2; fill: none; }

.hot-offers__wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.hot-offers__text {
  flex: 0 0 260px;
}
.products-grid {
  flex: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--border);
  padding: 14px 14px 16px;
  position: relative; transition: box-shadow .2s;
}
.product-card:hover { box-shadow: 0 6px 24px rgba(59,155,212,.13); }
.product-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700;
  border-radius: 4px; padding: 2px 6px;
}
.product-card__wish {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.product-card__wish svg { width: 14px; height: 14px; stroke: #aaa; fill: none; stroke-width: 1.8; }
.product-card__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 12px; background: #e8f4fc; }
.product-card__name { font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; }
.product-card__price {
  display: flex; align-items: center; gap: 8px;
  justify-content: space-between;
}
.product-card__current { font-size: 15px; font-weight: 700; color: var(--text); }
.product-card__old { font-size: 12px; color: #bbb; text-decoration: line-through; }
.product-card__cart {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--blue-light); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.product-card__cart svg { width: 15px; height: 15px; stroke: var(--blue); fill: none; stroke-width: 1.8; }

/* ── BANNERS ── */
.banners { padding: 0 40px 50px; }
.banners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.banner {
  border-radius: 14px; overflow: hidden; position: relative;
  min-height: 180px;
  display: flex; align-items: flex-end; padding: 20px;
  background: linear-gradient(135deg, #7ec8e3, #3b9bd4);
  transition: transform .2s;
}
.banner:hover { transform: translateY(-3px); }
.banner--wide { grid-column: span 2; }
.banner__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .85;
}
.banner__content { position: relative; z-index: 2; }
.banner__discount {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85);
  text-transform: uppercase; letter-spacing: 1px;
}
.banner__title { font-size: 17px; font-weight: 700; color: var(--white); margin-top: 3px; line-height: 1.3; font-family: 'Montserrat', sans-serif; }

/* ── PRODUCTS YOU MAY LIKE ── */
.may-like { padding: 50px 40px; }
.section-title {
  text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}
.section-title__bar {
  width: 44px; height: 3px; background: var(--blue);
  border-radius: 2px; margin: 0 auto 32px;
}
.may-like__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}

/* ── PROMO BANNER ── */
.promo-banner {
  margin: 0 40px;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #3b9bd4 0%, #1a3a5c 100%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 60px; min-height: 200px;
}
.promo-banner__imgs {
  display: flex; gap: 12px; align-items: center;
}
.promo-banner__imgs img { width: 120px; border-radius: 8px; }
.promo-banner__text { color: var(--white); text-align: right; }
.promo-banner__brand { font-size: 13px; font-weight: 500; opacity: .8; margin-bottom: 4px; }
.promo-banner__title { font-size: 24px; font-weight: 700; line-height: 1.3; margin-bottom: 18px; font-family: 'Montserrat', sans-serif; }
.promo-banner__btn {
  background: var(--white); color: var(--blue);
  border: none; padding: 10px 24px; border-radius: 7px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ── FEATURES ── */
.features {
  padding: 44px 40px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature {
  display: flex; align-items: center; gap: 14px;
  padding: 0 30px;
  border-right: 1px solid var(--border);
}
.feature:last-child { border-right: none; }
.feature__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--blue-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature__icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.feature__title { font-size: 15px; font-weight: 700; color: var(--text); }
.feature__desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── FOOTER ── */
footer {
  background: var(--white);
  padding: 50px 40px 0;
}
.footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  border-bottom: 1px solid var(--border); padding-bottom: 40px;
}
.footer__col h4 { font-size: 15px; font-weight: 700; margin-bottom: 18px; font-family: 'Montserrat', sans-serif; }
.footer__col ul li { margin-bottom: 9px; }
.footer__col ul a { font-size: 13px; color: var(--text-muted); transition: color .2s; }
.footer__col ul a:hover { color: var(--blue); }
.footer__address p { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.footer__address a { color: var(--text-muted); }
.footer__social-label { font-size: 13px; color: var(--text-muted); margin: 14px 0 8px; }
.footer__socials { display: flex; gap: 8px; }
.footer__socials a {
  width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.footer__socials a svg { width: 15px; height: 15px; }
.footer__bottom {
  background: var(--blue); color: var(--white);
  margin: 0 -40px; padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer__logo { font-size: 20px; font-weight: 700; color: var(--white); }
.footer__copy { font-size: 12.5px; }