:root {
  --bg: #eaedf2;
  --surface: #ffffff;
  --ink: #0f1111;
  --ink-soft: #565959;
  --line: #d5d9d9;
  --nav-belt: #131921;
  --nav-main: #232f3e;
  --search-focus: #ff9900;
  --search-fill: #febd69;
  --search-fill-hover: #f3a847;
  --chip: #eef3f8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(980px 580px at 100% -30%, #d8dee8 0%, transparent 68%),
    var(--bg);
}

.store-shell {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

.store-mega {
  width: 100%;
  border-bottom: 1px solid #b4bdc8;
  box-shadow: 0 6px 18px #0d17230d;
}

.nav-belt {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: auto auto minmax(400px, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--nav-belt);
}

.nav-hit {
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
}

.nav-hit:hover {
  border-color: #ffffff;
}

.nav-logo-link {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  color: #d6dfec;
  min-height: 40px;
  padding: 4px 7px;
}

.brand-logo {
  height: 34px;
  width: auto;
  max-width: min(220px, 36vw);
  object-fit: contain;
  display: block;
}

.logo-domain {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.line-1 {
  color: #cccccc;
  font-size: 0.73rem;
  line-height: 1.1;
}

.line-2 {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
}

.nav-delivery {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  min-width: max-content;
  padding: 6px 7px;
}

.delivery-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  margin-bottom: 2px;
}

.delivery-icon svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.delivery-text {
  display: grid;
  gap: 2px;
}

.nav-search {
  display: grid;
  grid-template-columns: 92px minmax(220px, 1fr) 52px;
  min-height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #ffffff;
}

.nav-search:focus-within {
  border-color: var(--search-focus);
}

.search-scope {
  border: none;
  border-right: 1px solid #cdcdcd;
  background: #e6e6e6;
  color: #444;
  font: inherit;
  font-size: 0.78rem;
  padding: 0 8px;
}

.nav-search input {
  border: none;
  min-width: 0;
  padding: 0 11px;
  font: inherit;
  font-size: 0.94rem;
  color: #111;
}

.search-submit {
  border: none;
  background: var(--search-fill);
  color: #111111;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.search-submit:hover {
  background: var(--search-fill-hover);
}

.icon-search {
  width: 19px;
  height: 19px;
  fill: #111111;
}

.nav-tool {
  display: grid;
  gap: 1px;
  min-width: max-content;
  padding: 6px 7px;
}

.nav-cart {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  min-width: max-content;
  padding: 6px 7px;
  position: relative;
}

.cart-count {
  position: absolute;
  top: 0;
  left: 14px;
  color: #f08804;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1;
}

.cart-icon {
  width: 25px;
  height: 22px;
  display: inline-flex;
  align-items: flex-end;
}

.cart-icon svg {
  width: 25px;
  height: 22px;
  fill: #ffffff;
}

.nav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #a7acb2;
  vertical-align: middle;
}

.menu-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  margin-right: 3px;
}

.menu-icon svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
}

.nav-main {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 14px;
  background: var(--nav-main);
}

.main-links {
  flex: 1 1 760px;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  overflow: visible;
  padding-bottom: 0;
}

.main-link {
  text-decoration: none;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 5px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.main-link:hover {
  border-color: #ffffff;
}

.main-link.active {
  border-color: #ffffff;
  background: #32455e;
}

.all-link {
  font-weight: 800;
  padding-left: 7px;
  display: inline-flex;
  align-items: center;
}

.nav-main-right {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  margin-left: auto;
  padding-top: 2px;
}

.main-promo {
  text-decoration: none;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 7px 8px;
  font-size: 0.79rem;
  font-weight: 800;
  white-space: nowrap;
}

.main-promo:hover {
  border-color: #ffffff;
}

.status-pill {
  border-radius: 999px;
  padding: 5px 9px;
  border: 1px solid #90a4bc;
  color: #f0f6ff;
  background: #33465e;
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
}

.store-mobile-dock {
  display: none;
}

.mega-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.mega-tools {
  min-height: 52px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
  background: #f3f5f7;
  border-top: 1px solid #d7dde4;
}

.toolbar-item {
  display: grid;
  gap: 4px;
}

.toolbar-item label {
  color: #455468;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

select,
button {
  font: inherit;
}

select {
  min-height: 34px;
  border: 1px solid #cad3db;
  border-radius: 8px;
  padding: 5px 9px;
  background: #ffffff;
  font-size: 0.82rem;
}

button {
  min-height: 34px;
  border: none;
  border-radius: 8px;
  padding: 6px 11px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.84rem;
}

.ghost-btn {
  border: 1px solid #c8d0da;
  background: #ffffff;
  color: #1f2f44;
}

.summary {
  margin: 0 0 0 auto;
  color: #2f435d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mega-cats {
  min-height: 43px;
  padding-top: 7px;
  padding-bottom: 7px;
  border-top: 1px solid #dde3eb;
  background: #ffffff;
}

.cats-label {
  color: #203855;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  min-width: max-content;
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.chip {
  border: 1px solid #d4dde8;
  border-radius: 999px;
  background: var(--chip);
  color: #213857;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

button.chip {
  cursor: pointer;
}

.store-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 14px 26px;
}

.home-top-banner {
  margin-bottom: 12px;
}

.home-top-banner-link {
  text-decoration: none;
  display: block;
}

.home-top-banner-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 160px;
  background: #dfe6ef;
}

.home-top-banner-card img {
  width: 100%;
  min-height: 160px;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.home-top-banner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, #0b142000 0%, #0b1420b3 100%);
  color: #fff;
}

.home-top-banner-overlay h2 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 800;
}

.home-top-banner-overlay p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #e8edf8;
}

body.promo-popup-open {
  overflow: hidden;
}

.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 14px;
}

.promo-popup-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: #0b1324bf;
  cursor: pointer;
}

.promo-popup-dialog {
  position: relative;
  width: min(92vw, 430px);
  border: 1px solid #d8e1ef;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 62px #0b142059;
}

.promo-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid #c6d4e8;
  border-radius: 999px;
  background: #ffffffed;
  color: #334a68;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.promo-popup-media-link {
  text-decoration: none;
  display: block;
}

.promo-popup-media {
  margin: 0;
  aspect-ratio: 1 / 1;
  background: #e8eef6;
}

.promo-popup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-popup-body {
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
}

.promo-popup-body h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #13233c;
}

.promo-popup-body p {
  margin: 0;
  color: #516786;
  font-size: 0.9rem;
}

.promo-popup-cta {
  width: fit-content;
  text-decoration: none;
  border-radius: 10px;
  padding: 8px 12px;
  background: linear-gradient(140deg, #1e3554, #2b4b73);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
}

.promo-popup-offers {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.promo-popup-offer {
  border: 1px solid #d7e1ef;
  border-radius: 10px;
  padding: 9px 10px;
  background: #f9fbff;
  display: grid;
  gap: 4px;
}

.promo-popup-offer-kicker {
  margin: 0;
  color: #445e7c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.promo-popup-offer h3 {
  margin: 0;
  color: #13233c;
  font-size: 0.95rem;
  font-weight: 800;
}

.promo-popup-copy {
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #bfd0e8;
  border-radius: 8px;
  background: #fff;
  color: #2b4462;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px #101a260f;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #f7f9fc, #edf2f8);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-placeholder {
  color: #8193ab;
  font-weight: 700;
}

.product-body {
  padding: 11px;
  display: grid;
  gap: 8px;
}

.product-name {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.34;
  min-height: 2.6em;
}

.sku {
  margin: 0;
  color: #607189;
  font-size: 0.82rem;
}

.price {
  margin: 0;
  color: #121e2f;
  font-size: 1.08rem;
  font-weight: 800;
}

.stock-row {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.product-link {
  text-decoration: none;
  color: #ffffff;
  border-radius: 9px;
  padding: 8px 10px;
  width: fit-content;
  font-size: 0.81rem;
  font-weight: 700;
  background: linear-gradient(140deg, #2b4d9b, #1d3f86);
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-indicate-btn {
  min-height: 34px;
  border: 1px solid #bfcce1;
  border-radius: 9px;
  padding: 0 10px;
  background: #f7f9fd;
  color: #1f3659;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.product-indicate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

body.referral-popup-open {
  overflow: hidden;
}

.referral-popup {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: grid;
  place-items: center;
}

.referral-popup-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: #0b1324bf;
}

.referral-popup-dialog {
  position: relative;
  width: min(92vw, 460px);
  border: 1px solid #d8e1ef;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px 14px 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 22px 42px #08112642;
}

.referral-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid #d5deec;
  border-radius: 50%;
  background: #f4f7fc;
  color: #253a5c;
  font-weight: 800;
  cursor: pointer;
}

.referral-popup-dialog h2 {
  margin: 0;
  color: #13233c;
  font-size: 1.05rem;
}

.referral-popup-kicker {
  margin: 0;
  color: #536985;
  font-size: 0.87rem;
}

.referral-popup-link {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfdae9;
  border-radius: 10px;
  background: #f8fbff;
  padding: 0 10px;
  font: inherit;
  font-size: 0.84rem;
  color: #243a5d;
}

.referral-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.referral-popup-actions a,
.referral-popup-actions button {
  min-height: 34px;
  border-radius: 9px;
  padding: 0 10px;
  border: 1px solid #bfd0e8;
  color: #224169;
  background: #f7faff;
  text-decoration: none;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 800;
}

.status.ativo {
  background: #ddf7ea;
  color: #146b45;
}

.status.inativo {
  background: #fee2e2;
  color: #9f1239;
}

.pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination button {
  background: linear-gradient(140deg, #1e3554, #2b4b73);
  color: #ffffff;
}

.pagination button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.store-footer {
  width: 100%;
  margin-top: 14px;
  color: #f2f4f7;
  background: #131a22;
}

.store-footer-backtop {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #34465c;
  padding: 13px 12px;
  font-size: 0.83rem;
  font-weight: 700;
}

.store-footer-backtop:hover {
  background: #3e556f;
}

.store-footer-main {
  border-top: 1px solid #3a4d62;
  border-bottom: 1px solid #3a4d62;
  padding: 28px 14px;
}

.store-footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.store-footer-col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.store-footer-col h2 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 800;
}

.store-footer-col a {
  width: fit-content;
  color: #d2dae5;
  text-decoration: none;
  font-size: 0.83rem;
}

.store-footer-col a:hover {
  text-decoration: underline;
}

.store-footer-bottom {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px 14px 24px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.store-footer-brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  color: #d6dfec;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.store-footer-logo {
  display: block;
  height: 30px;
  width: auto;
  object-fit: contain;
}

.store-footer-bottom p {
  margin: 0;
  color: #b7c4d4;
  text-align: center;
  font-size: 0.78rem;
}

@media (max-width: 1200px) {
  .nav-belt {
    grid-template-columns: auto minmax(300px, 1fr) auto auto auto;
  }

  .nav-delivery {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-belt {
    grid-template-columns: auto 1fr auto auto;
    row-gap: 8px;
  }

  .nav-search {
    grid-column: 1 / -1;
    order: 10;
  }

  .nav-orders .line-1 {
    display: none;
  }

  .nav-main {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .main-links {
    width: 100%;
    display: none;
  }

  .nav-main-right {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 8px;
    border: 1px solid #7f95b3;
    background: #2d415b;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0 12px;
  }

  .nav-main.mobile-nav-open .main-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .main-link {
    font-size: 0.78rem;
    padding: 8px 9px;
    border: 1px solid #3f546f;
    border-radius: 8px;
    background: #2a3e58;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .nav-belt {
    grid-template-columns: 1fr auto auto;
  }

  .nav-account,
  .nav-orders {
    display: none;
  }

  .nav-main.mobile-nav-open .main-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-cart {
    padding-left: 18px;
  }

  .cart-count {
    left: 8px;
  }

  .logo-domain {
    display: none;
  }

  .brand-logo {
    height: 28px;
    max-width: 72vw;
  }

  .summary {
    margin-left: 0;
    width: 100%;
  }

  .store-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-tools {
    align-items: stretch;
  }

  .toolbar-item {
    width: 100%;
  }

  body {
    padding-bottom: 62px;
  }

  .store-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 250;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: #0e1624;
    border-top: 1px solid #3a4d68;
  }

  .store-mobile-dock a {
    min-height: 46px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #eaf0fa;
    background: #16253a;
    font-size: 0.74rem;
    font-weight: 800;
  }

  .store-mobile-dock a:active {
    background: #1f3551;
  }
}

@media (max-width: 620px) {
  .nav-belt,
  .nav-main,
  .mega-row {
    padding-left: 10px;
    padding-right: 10px;
  }

  .search-scope {
    display: none;
  }

  .nav-search {
    grid-template-columns: 1fr 52px;
  }

  .nav-main.mobile-nav-open .main-links {
    grid-template-columns: 1fr;
  }

  .toolbar-item select,
  .ghost-btn {
    width: 100%;
  }

  .store-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  }

  .home-top-banner-card,
  .home-top-banner-card img {
    min-height: 120px;
  }

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

  .store-footer-main {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .pagination {
    justify-content: stretch;
  }

  .pagination button {
    flex: 1;
  }
}
