:root {
  --pg-black: #111111;
  --pg-black-soft: #1b1b1b;
  --pg-white: #ffffff;

  --pg-background: #f7f7f7;
  --pg-surface: #ffffff;
  --pg-surface-soft: #f2f2f2;

  --pg-text: #151515;
  --pg-text-soft: #606060;
  --pg-text-muted: #848484;

  --pg-border: #dedede;
  --pg-border-dark: #bdbdbd;

  --pg-success: #237947;
  --pg-success-soft: #edf8f1;

  --pg-warning: #93651b;
  --pg-warning-soft: #fff8e8;

  --pg-radius-small: 8px;
  --pg-radius-medium: 12px;
  --pg-radius-large: 18px;

  --pg-shadow-small:
    0 4px 14px rgba(0, 0, 0, 0.05);

  --pg-shadow-large:
    0 18px 48px rgba(0, 0, 0, 0.08);

  --pg-transition:
    160ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background: var(--pg-background);
  color: var(--pg-text);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

#app {
  width: 100%;
}

/* =========================
   Основни типографски стилове
   ========================= */

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--pg-black);
  line-height: 1.18;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -1.4px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.7px;
}

h3 {
  font-size: 18px;
}

.quiz-label {
  margin: 0 0 12px;

  color: var(--pg-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.quiz-description {
  margin: 0 0 30px;

  color: var(--pg-text-soft);
  font-size: 16px;
  line-height: 1.7;
}

/* =========================
   Основни карти
   ========================= */

.quiz-card {
  padding: clamp(28px, 5vw, 54px);

  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-large);

  background: var(--pg-surface);
  box-shadow: var(--pg-shadow-large);
}

.welcome-screen {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.welcome-screen .quiz-description {
  max-width: 590px;
  margin-right: auto;
  margin-left: auto;
}

/* =========================
   Бутони
   ========================= */

.primary-button,
.secondary-button,
.primary-link-button,
.secondary-link-button {
  min-height: 48px;
  padding: 13px 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--pg-radius-small);

  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background var(--pg-transition),
    color var(--pg-transition),
    border-color var(--pg-transition),
    transform var(--pg-transition),
    box-shadow var(--pg-transition);
}

.primary-button,
.primary-link-button {
  border: 1px solid var(--pg-black);
  background: var(--pg-black);
  color: var(--pg-white);
}

.primary-button:hover,
.primary-link-button:hover {
  background: #343434;
  border-color: #343434;
  transform: translateY(-1px);
  box-shadow: var(--pg-shadow-small);
}

.secondary-button,
.secondary-link-button {
  border: 1px solid var(--pg-border-dark);
  background: var(--pg-white);
  color: var(--pg-black);
}

.secondary-button:hover,
.secondary-link-button:hover {
  border-color: var(--pg-black);
  background: var(--pg-surface-soft);
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.4;
}

/* =========================
   Welcome и Quiz
   ========================= */

.progress-header {
  margin-bottom: 10px;

  color: var(--pg-text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.progress-track {
  height: 5px;
  margin-bottom: 38px;
  overflow: hidden;

  border-radius: 999px;
  background: #e8e8e8;
}

.progress-bar {
  height: 100%;

  border-radius: inherit;
  background: var(--pg-black);

  transition: width 250ms ease;
}

.answers-list {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.answer-button {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;

  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-small);

  background: var(--pg-white);
  color: var(--pg-text);

  font-weight: 500;
  text-align: left;

  cursor: pointer;

  transition:
    border-color var(--pg-transition),
    background var(--pg-transition),
    color var(--pg-transition),
    transform var(--pg-transition),
    box-shadow var(--pg-transition);
}

.answer-button:hover {
  border-color: var(--pg-black);
  transform: translateY(-1px);
  box-shadow: var(--pg-shadow-small);
}

.answer-button.selected {
  border-color: var(--pg-black);
  background: var(--pg-black);
  color: var(--pg-white);
  font-weight: 700;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.navigation-buttons .primary-button,
.navigation-buttons .secondary-button {
  min-width: 145px;
}

/* =========================
   Резултатна страница
   ========================= */

.results-wrapper {
  display: grid;
  gap: 28px;

  animation: show-results 420ms ease both;
}

@keyframes show-results {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.results-intro {
  padding-top: 34px;
  padding-bottom: 34px;
  text-align: center;
}

.results-intro h1 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.results-intro .quiz-description {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
}

/* =========================
   Основен продукт
   ========================= */

.featured-product-card {
  position: relative;
  overflow: hidden;

  padding: clamp(28px, 5vw, 52px);

  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-large);

  background: var(--pg-surface);
  box-shadow: var(--pg-shadow-large);
}

.recommendation-badge {
  position: absolute;
  top: 0;
  left: 0;

  padding: 11px 20px;

  border-bottom-right-radius:
    var(--pg-radius-medium);

  background: var(--pg-black);
  color: var(--pg-white);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.featured-product-layout {
  display: grid;
  grid-template-columns:
    minmax(260px, 0.85fr)
    minmax(0, 1.15fr);

  gap: clamp(32px, 6vw, 68px);
  align-items: center;

  padding-top: 20px;
}

.featured-product-media {
  min-width: 0;
}

.featured-product-image,
.featured-image-placeholder {
  width: 100%;
  height: 430px;

  border-radius: var(--pg-radius-medium);
}

.featured-product-image {
  display: block;
  padding: 20px;

  object-fit: contain;
  background: #fafafa;
}

.featured-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: var(--pg-surface-soft);
  color: var(--pg-text-muted);
  text-align: center;
}

.product-brand {
  margin: 0 0 9px;

  color: var(--pg-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.featured-product-content h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
}

.product-description,
.alternative-description {
  color: var(--pg-text-soft);
  line-height: 1.65;
}

/* =========================
   Confidence
   ========================= */

.client-confidence {
  margin: 0 0 24px;
  padding: 17px 18px;

  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;

  border: 1px solid #cce4d5;
  border-radius: var(--pg-radius-medium);

  background: var(--pg-success-soft);
}

.client-confidence > strong {
  min-width: 74px;

  color: var(--pg-success);
  font-size: 34px;
  line-height: 1;
}

.client-confidence div {
  display: grid;
  gap: 4px;
}

.client-confidence span {
  color: var(--pg-success);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.client-confidence p {
  margin: 0;

  color: #41664f;
  font-size: 13px;
  line-height: 1.5;
}

.match-result {
  margin-bottom: 22px;

  display: flex;
  align-items: center;
  gap: 12px;
}

.match-result strong {
  font-size: 30px;
}

.match-result span,
.match-summary {
  color: var(--pg-text-soft);
}

/* =========================
   Обяснение
   ========================= */

.client-explanation-summary {
  margin: 27px 0 20px;
  padding: 20px;

  border-left: 4px solid var(--pg-black);
  background: var(--pg-surface-soft);
}

.client-explanation-summary h3 {
  margin: 0 0 9px;
}

.client-explanation-summary p {
  margin: 0;

  color: var(--pg-text-soft);
  line-height: 1.65;
}

.recommendation-reasons {
  margin: 22px 0 28px;
}

.recommendation-reasons h3 {
  margin: 0 0 13px;
}

.client-reason-tags,
.alternative-reason-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-reason-tag {
  padding: 8px 11px;

  border: 1px solid #d8d8d8;
  border-radius: 999px;

  background: #fafafa;
  color: #333333;

  font-size: 12px;
  font-weight: 700;
}

.result-reason-tag::before {
  content: "✓";
  margin-right: 6px;
  color: var(--pg-success);
}

/* Стар fallback списък */

.recommendation-reasons ul {
  display: grid;
  gap: 8px;

  margin: 0;
  padding-left: 20px;
}

/* =========================
   Детайлни секции
   ========================= */

.client-result-details {
  margin-top: 38px;
  padding-top: 32px;

  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;

  border-top: 1px solid var(--pg-border);
}

.client-detail-card {
  padding: 20px;

  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-medium);

  background: #fcfcfc;
}

.client-detail-card h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.client-detail-card ul {
  display: grid;
  gap: 9px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.client-detail-card li {
  position: relative;
  padding-left: 20px;

  color: var(--pg-text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.client-detail-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--pg-black);
  font-weight: 700;
}

/* =========================
   Алтернативи
   ========================= */

.alternatives-section {
  padding: clamp(26px, 4vw, 42px);

  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-large);

  background: var(--pg-surface);
  box-shadow: var(--pg-shadow-large);
}

.alternatives-heading {
  margin-bottom: 26px;
}

.alternatives-heading h2 {
  margin-bottom: 0;
}

.alternatives-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.alternative-card {
  min-width: 0;
  padding: 18px;

  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;

  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-medium);

  background: var(--pg-white);

  transition:
    border-color var(--pg-transition),
    transform var(--pg-transition),
    box-shadow var(--pg-transition);
}

.alternative-card:hover {
  border-color: var(--pg-border-dark);
  transform: translateY(-2px);
  box-shadow: var(--pg-shadow-small);
}

.alternative-product-image,
.alternative-image-placeholder {
  width: 140px;
  height: 180px;

  border-radius: var(--pg-radius-small);
}

.alternative-product-image {
  display: block;
  padding: 8px;

  object-fit: contain;
  background: #fafafa;
}

.alternative-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 12px;

  background: var(--pg-surface-soft);
  color: var(--pg-text-muted);

  font-size: 12px;
  text-align: center;
}

.alternative-product-content {
  min-width: 0;
}

.alternative-product-content h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

.match-summary {
  margin: 0 0 12px;

  font-size: 13px;
  font-weight: 700;
}

.alternative-description {
  margin: 0 0 15px;
  font-size: 14px;
}

.alternative-reason-tags {
  margin-bottom: 17px;
}

.alternative-reason-tags .result-reason-tag {
  padding: 6px 9px;
  font-size: 11px;
}

/* =========================
   Restart и debug fallback
   ========================= */

.restart-area {
  padding: 4px 0 16px;
  text-align: center;
}

.debug-results {
  padding: 18px;
  overflow-x: auto;

  border-radius: var(--pg-radius-small);

  background: var(--pg-surface-soft);
  text-align: left;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 920px) {
  .featured-product-layout {
    grid-template-columns: 1fr;
  }

  .featured-product-media {
    max-width: 480px;
    margin: 0 auto;
  }

  .featured-product-image,
  .featured-image-placeholder {
    height: 370px;
  }

  .client-result-details {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 650px) {
  body {
    padding: 14px;
    align-items: flex-start;
  }

  .quiz-card {
    padding: 26px 22px;
  }

  h1 {
    font-size: 30px;
    letter-spacing: -0.8px;
  }

  h2 {
    font-size: 25px;
  }

  .navigation-buttons {
    flex-direction: column-reverse;
  }

  .navigation-buttons .primary-button,
  .navigation-buttons .secondary-button,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .featured-product-card,
  .alternatives-section {
    padding: 26px 20px;
  }

  .featured-product-card {
    padding-top: 58px;
  }

  .featured-product-image,
  .featured-image-placeholder {
    height: 290px;
  }

  .client-confidence {
    grid-template-columns: 1fr;
  }

  .client-confidence > strong {
    min-width: 0;
  }

  .alternative-card {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .alternative-product-image,
  .alternative-image-placeholder {
    width: 105px;
    height: 135px;
  }

  .alternative-product-content h3 {
    font-size: 16px;
  }

  .secondary-link-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .alternative-card {
    grid-template-columns: 1fr;
  }

  .alternative-product-image,
  .alternative-image-placeholder {
    width: 100%;
    height: 210px;
  }

  .answer-button {
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   PowerGroom site shell — CLEAN VERSION
   Единствените header/footer/navigation правила трябва да са тук.
   ========================================================= */

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

/* ---------- Header ---------- */

.store-header {
  position: relative;
  z-index: 50;
  width: 100%;
  background: #1d1d1d;
  color: #ffffff;
}

.store-header-inner {
  width: 100%;
  margin: 0;
  padding: 11px 53px 0;
}

.store-header-top {
  min-height: 65px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.store-search {
  width: 100%;
  height: 35px;

  display: flex;
  align-items: center;

  overflow: hidden;

  border-radius: 999px;
  background: #363636;
}

.store-search input {
  width: 100%;
  height: 100%;
  min-width: 0;

  padding: 0 14px;

  border: 0;
  outline: none;

  background: transparent;
  color: #ffffff;

  font-family:
    Oswald,
    system-ui,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.store-search input::placeholder {
  color: #aaaaaa;
  opacity: 1;
}

.store-search button {
  width: 44px;
  height: 100%;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  background: transparent;
  color: #ffffff;

  cursor: pointer;
}

.store-search svg {
  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding-top: 0;
}

.store-icon-link {
  width: 30px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition:
    opacity var(--pg-transition),
    transform var(--pg-transition);
}

.store-icon-link:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.store-icon-link svg {
  width: 24px;
  height: 24px;
  display: block;

  fill: currentColor;
  stroke: none;
}

/* ---------- Main navigation ---------- */

.store-navigation {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 18px;
  width: max-content;
  max-width: 100%;
  overflow: visible;
}

.nav-direct-link,
.nav-dropdown-trigger {
  height: 54px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.nav-direct-link:hover,
.nav-dropdown-trigger:hover {
  opacity: 0.8;
}

.nav-direct-link.active {
  position: relative;
}

.nav-direct-link.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: #ffffff;
}

.nav-chevron {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.7;
}

.store-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.store-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
}

/* ---------- Dropdown level 1 ---------- */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -8px;
  z-index: 100;
  min-width: 235px;
  display: none;
  padding: 8px 0;
  border-radius: 0 0 8px 8px;
  background: #f4f4f4;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.nav-dropdown:hover > .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu > a,
.nested-dropdown-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  color: #111111;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

.nav-dropdown-menu > a:hover,
.nested-dropdown-trigger:hover {
  background: #dddddd;
}

.all-products-menu {
  width: 275px;
  min-width: 275px;
  padding: 7px 0;
}

.all-products-menu > a,
.all-products-menu > .nested-dropdown > .nested-dropdown-trigger {
  min-height: 54px;
  padding-right: 8px;
  padding-left: 8px;
}

/* ---------- Nested dropdown ---------- */

.nested-dropdown {
  position: relative;
}

.nested-dropdown-trigger {
  justify-content: space-between;
}

.nested-dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 110;
  width: 255px;
  display: none;
  padding: 9px 0;
  border-radius: 8px;
  background: #f4f4f4;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.nested-dropdown:hover > .nested-dropdown-menu {
  display: block;
}

.nested-dropdown-menu a {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #222222;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
  text-decoration: none;
}

.nested-dropdown-menu a:hover {
  background: #dddddd;
}

.compact-dropdown {
  width: 232px;
  min-width: 232px;
  padding: 8px 0;
}

/* ---------- Quiz area ---------- */

.site-main {
  width: 100%;
  flex: 1;
  padding: 42px 20px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      180deg,
      #ffffff 0,
      var(--pg-background) 280px
    );
}

.site-main #app {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */

.store-footer {
  width: 100%;
  background: #181818;
  color: #ffffff;
}

.store-footer-inner {
  width: 100%;
  margin: 0;
  padding: 42px 30px 36px;
  text-align: center;
}

.store-copyright {
  margin: 0 0 23px;

  color: #f4f4f4;

  font-family:
    system-ui,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.store-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 0 28px;

  margin: 0;
}

.store-footer-links a {
  color: #898989;

  font-family:
    system-ui,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  font-size: 15px;
  font-weight: 400;
  line-height: 24px;

  text-decoration: none;

  transition:
    color var(--pg-transition);
}

.store-footer-links a:hover {
  color: #ffffff;
}

.store-platform {
  margin: 18px 0 0;

  color: #898989;

  font-family:
    system-ui,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1350px) and (min-width: 761px) {
  .store-header-inner {
    padding-right: 36px;
    padding-left: 36px;
  }

  .store-navigation {
    gap: 14px;
  }

  .nav-direct-link,
  .nav-dropdown-trigger {
    font-size: 15px;
  }
}

@media (max-width: 1050px) and (min-width: 761px) {
  .store-navigation {
    gap: 10px;
  }

  .nav-direct-link,
  .nav-dropdown-trigger {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  /* Старото quiz media правило добавя padding към body.
     Shell-ът трябва да остане edge-to-edge. */
  body {
    padding: 0;
    align-items: stretch;
  }

  .store-header-inner {
    padding: 10px 15px 0;
  }

  .store-header-top {
    min-height: 57px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .store-search {
    height: 37px;
  }

  .store-header-actions {
    gap: 4px;
  }

  .store-icon-link {
    width: 29px;
  }

 .store-icon-link svg {
  width: 24px;
  height: 24px;
  display: block;

  fill: currentColor;
  stroke: none;
}

  .store-menu-toggle {
    display: block;
  }

  .store-navigation {
    width: 100%;
    max-width: none;
    max-height: 0;
    min-height: 0;
    display: block;
    overflow: hidden;
    transition: max-height 250ms ease;
  }

  .store-navigation.open {
    max-height: 1600px;
    padding-bottom: 13px;
    overflow: visible;
  }

  .nav-direct-link,
  .nav-dropdown-trigger {
    width: 100%;
    height: auto;
    min-height: 46px;
    justify-content: space-between;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    line-height: 24px;
  }

  .nav-direct-link.active::after {
    display: none;
  }

  .nav-dropdown:hover > .nav-dropdown-menu,
  .nested-dropdown:hover > .nested-dropdown-menu {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    display: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f4f4f4;
  }

  .nav-dropdown.mobile-open > .nav-dropdown-menu {
    display: block;
  }

  .nested-dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    border-radius: 0;
    box-shadow: none;
    background: #e8e8e8;
  }

  .nested-dropdown.mobile-open > .nested-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu > a,
.nested-dropdown-trigger,
.nested-dropdown-menu a {
  font-family:
    Oswald,
    system-ui,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  font-weight: 400 !important;
}

  .nested-dropdown-menu a {
    min-height: 46px;
    padding: 10px 27px;
    font-size: 15px;
  }

  .site-main {
    padding: 22px 14px 38px;
    align-items: flex-start;
  }

  .store-footer-inner {
    padding: 40px 20px 34px;
  }

  .store-footer-links {
    display: grid;
    gap: 13px;
  }

  .store-footer-links a {
    font-size: 15px;
  }
}

@media (max-width: 470px) {
  .store-search input {
    padding-left: 12px;
    font-size: 14px;
  }

  .store-search button {
    width: 40px;
  }

  .store-header-actions {
    gap: 3px;
  }

  .store-icon-link {
    width: 29px;
  }

  .store-menu-toggle {
    width: 34px;
    padding-right: 5px;
    padding-left: 5px;
  }
}

.store-header,
.store-navigation,
.nav-direct-link,
.nav-dropdown-trigger {
  font-family:
    Oswald,
    system-ui,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  font-weight: 400 !important;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Final search alignment */

@media (min-width: 761px) {
  .store-header-top {
    gap: 88px;
  }

  .store-search,
  .store-header-actions {
    transform: translateY(7px);
  }
}