:root {
  --bg: #0f1113;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f3ed;
  --muted: #b9b8b2;
  --dark-text: #181a1c;
  --teal: #12c7bd;
  --teal-dark: #087f79;
  --amber: #f6a83b;
  --coral: #e95f4e;
  --green: #70c172;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(18, 199, 189, 0.16), transparent 34rem),
    linear-gradient(145deg, #0f1113 0%, #181a1d 52%, #10100f 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 9px 16px;
  color: #17130c;
  background: linear-gradient(90deg, #ffd36a, #ffedba, #7ee2d9);
  font-size: 13px;
}

.top-strip a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 17, 19, 0.78);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #101414;
  background: linear-gradient(135deg, var(--teal), #fff1bc 56%, var(--amber));
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(18, 199, 189, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.search-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 6px 6px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  outline: 0;
}

.search-bar input::placeholder {
  color: #a9aaa7;
}

.search-bar button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.search-bar button,
.btn-primary {
  color: #101414;
  background: linear-gradient(135deg, var(--teal), #d7fff7);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.12);
}

.btn-wide {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-header-row,
.mobile-drawer-backdrop,
.mobile-menu-panel,
.chat-bubble {
  display: none;
}

.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.header-action b {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  color: #17130c;
  background: var(--amber);
  font-size: 12px;
}

.language-toggle {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-weight: 900;
}

.category-nav {
  display: flex;
  gap: 8px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 14px;
  overflow-x: auto;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #dedbd4;
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.page-main {
  padding-top: 26px;
}

.section-shell,
.catalog-layout,
.cart-layout,
.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-shell {
  padding: 54px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading.align-left {
  display: block;
}

.section-heading h2,
.catalog-hero h1,
.product-detail h1,
.vision-hero h1 {
  margin: 0;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p,
.catalog-hero p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading a {
  color: #9aece5;
  font-weight: 800;
}

.eyebrow,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #8df2e8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer {
  margin-top: 48px;
  padding: 46px 0 92px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
}

.footer-grid section {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-grid h2 {
  margin: 0 0 6px;
  font-size: 15px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  color: var(--muted);
  line-height: 1.65;
}

.footer-brand {
  margin-bottom: 6px;
}

.bottom-menu {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 17, 19, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.bottom-menu a {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 10px 4px;
  color: var(--muted);
  font-size: 12px;
}

.bottom-menu i {
  color: var(--teal);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  transform: translateY(20px);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(18, 21, 23, 0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 880px) {
  body {
    color: #273142;
    background: #ffffff;
  }

  .top-strip {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    color: #172033;
    background: #ffffff;
    border-bottom: 1px solid #e7e8eb;
    box-shadow: 0 5px 18px rgba(20, 32, 50, 0.08);
  }

  .mobile-header-row {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px 10px;
    background: #ffffff;
  }

  .mobile-logo {
    justify-self: center;
    min-width: 0;
  }

  .mobile-logo .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 18px;
  }

  .mobile-logo strong {
    color: #111826;
    font-size: 25px;
    line-height: 1;
  }

  .mobile-logo small {
    color: #126092;
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-menu-button,
  .mobile-cart-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #054f8d;
    cursor: pointer;
  }

  .mobile-menu-button i {
    font-size: 31px;
  }

  .mobile-cart-button {
    position: relative;
    justify-self: end;
    border: 2px solid #dc9a25;
    border-radius: 999px;
    color: #d58500;
  }

  .mobile-cart-button i {
    font-size: 22px;
  }

  .mobile-cart-button b {
    position: absolute;
    top: -5px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 999px;
    color: #ffffff;
    background: #e60023;
    font-size: 12px;
  }

  .language-toggle {
    color: #054f8d;
    border-color: #d9e8f3;
    background: #f7fbff;
  }

  .header-shell {
    display: block;
    width: 100%;
    padding: 0 16px 12px;
  }

  .header-shell > .brand,
  .header-actions {
    display: none;
  }

  .search-bar {
    grid-template-columns: 1fr 94px;
    gap: 0;
    min-height: 56px;
    padding: 0;
    overflow: hidden;
    border: 2px solid #e7e7e7;
    border-radius: 0;
    background: #ffffff;
  }

  .search-bar i {
    display: none;
  }

  .search-bar input {
    height: 56px;
    padding: 0 16px;
    color: #202833;
    font-size: 16px;
    font-style: italic;
  }

  .search-bar input::placeholder {
    color: #7b7f86;
  }

  .search-bar button {
    grid-column: auto;
    width: 100%;
    height: 56px;
    min-height: 56px;
    border-radius: 0;
    color: #ffffff;
    background: #2f9edf;
    font-size: 22px;
    font-weight: 900;
  }

  .category-nav {
    width: 100%;
    margin: 0;
    padding: 12px 12px 16px;
    gap: 16px;
    overflow-x: auto;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-nav a {
    flex: 0 0 88px;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 8px;
    min-height: 110px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #101820;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  .category-nav a i {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 4px solid #2f75b8;
    border-radius: 999px;
    color: #ffffff;
    background:
      radial-gradient(circle at 68% 32%, #ffe177 0 18%, transparent 19%),
      linear-gradient(135deg, #0554a5 0%, #16c7bd 100%);
    font-size: 26px;
  }

  .mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
  }

  .mobile-menu-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    width: min(100vw, 430px);
    min-height: 100vh;
    padding: 0 16px 94px;
    overflow-y: auto;
    background: #ffffff;
    box-shadow: 16px 0 34px rgba(18, 32, 50, 0.16);
    transform: translateX(-104%);
    transition: transform 180ms ease;
  }

  body.is-mobile-menu-open {
    overflow: hidden;
  }

  body.is-mobile-menu-open .mobile-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.is-mobile-menu-open .mobile-menu-panel {
    transform: translateX(0);
  }

  .drawer-top {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
    gap: 8px;
    padding: 14px 0 18px;
  }

  .drawer-close {
    color: #075494;
  }

  .drawer-close i {
    font-size: 34px;
  }

  .drawer-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .drawer-auth a,
  .drawer-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 78px;
    padding: 0 18px;
    border: 2px solid #e8e8e8;
    color: #73777f;
    background: #ffffff;
    font-size: 22px;
    font-weight: 800;
  }

  .drawer-auth a.is-primary {
    border-color: #2f9edf;
    color: #ffffff;
    background: #2f9edf;
  }

  .drawer-section {
    border: 2px solid #ececec;
    background: #ffffff;
  }

  .drawer-section h2 {
    margin: 0;
    padding: 24px;
    color: #84888f;
    font-size: 22px;
  }

  .drawer-category-list {
    display: grid;
    background: #f4f4f4;
  }

  .drawer-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 24px;
    border-top: 1px solid #e5e5e5;
    color: #777b82;
    font-size: 21px;
    font-weight: 900;
  }

  .drawer-category-list i {
    color: #9ca0a7;
  }

  .drawer-help {
    margin-top: 28px;
    min-height: 68px;
    font-size: 21px;
  }

  .drawer-support {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 44px 1fr 98px;
    align-items: center;
    gap: 10px;
    max-width: 430px;
    padding: 14px 16px;
    border-top: 1px solid #e5e5e5;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 20px rgba(20, 32, 50, 0.08);
  }

  .drawer-support > i {
    color: #4e5b66;
    font-size: 30px;
  }

  .drawer-support small,
  .drawer-support strong {
    display: block;
  }

  .drawer-support small {
    color: #2f9edf;
    font-size: 13px;
  }

  .drawer-support strong {
    color: #1f8bd0;
    font-size: 23px;
  }

  .drawer-support a {
    display: grid;
    place-items: center;
    min-height: 54px;
    color: #ffffff;
    background: #2f9edf;
    font-size: 20px;
    font-weight: 900;
  }

  .drawer-language {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    margin: 18px 0 8px;
    padding: 0 16px;
    border: 2px solid #e8e8e8;
    color: #273142;
    background: #ffffff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
  }

  .drawer-language b {
    margin-left: auto;
    color: #2f9edf;
  }

  .chat-bubble {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 70;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: 4px solid #d7fcff;
    border-radius: 999px;
    color: #315fae;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(40, 80, 130, 0.24);
  }

  .chat-bubble i {
    font-size: 36px;
  }

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

  .bottom-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-heading {
    display: block;
  }

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

  .search-bar {
    grid-template-columns: 1fr 94px;
  }

  .search-bar button {
    grid-column: auto;
    width: 100%;
  }
}
