:root {
  --font-main: "Gilroy", "Manrope", Arial, sans-serif;
  --color-bg: #f6f7f9;
  --color-surface: #ffffff;
  --color-surface-muted: #eef1f5;
  --color-surface-blue: #e8efff;
  --color-text: #111827;
  --color-text-muted: #5b6472;
  --color-text-light: #8a94a6;
  --color-border: #d9dee7;
  --color-border-light: #edf0f5;
  --color-primary: #1f5eff;
  --color-primary-hover: #164bd1;
  --color-primary-light: #e8efff;
  --color-accent: #f27722;
  --color-accent-light: #fff2e8;
  --color-success: #1f9d55;
  --color-warning: #f59e0b;
  --color-danger: #dc2626;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 40px;
  --text-4xl: 52px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-72: 72px;
  --space-80: 80px;
  --space-96: 96px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 32px;
  --radius-full: 999px;
  --shadow-sm: 0 4px 12px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 12px 32px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.12);
  --container-width: 1240px;
  --container-padding-mobile: 16px;
  --container-padding-tablet: 24px;
  --container-padding-desktop: 32px;
  --section-padding-mobile: 56px;
  --section-padding-tablet: 72px;
  --section-padding-desktop: 96px;
}

@font-face {
  font-family: "Gilroy";
  src: local("Gilroy Regular"), local("Gilroy-Regular"), local("Gilroy");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: local("Gilroy Medium"), local("Gilroy-Medium"), local("Gilroy");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: local("Gilroy Semibold"), local("Gilroy-Semibold"), local("Gilroy SemiBold"), local("Gilroy-SemiBold"), local("Gilroy");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: local("Gilroy Bold"), local("Gilroy-Bold"), local("Gilroy");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: local("Gilroy ExtraBold"), local("Gilroy-ExtraBold"), local("Gilroy");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-mobile);
  padding-right: var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--container-padding-tablet);
    padding-right: var(--container-padding-tablet);
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: var(--container-padding-desktop);
    padding-right: var(--container-padding-desktop);
  }
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 14px;
}

p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.section {
  padding-top: var(--section-padding-mobile);
  padding-bottom: var(--section-padding-mobile);
}

.section-sm {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--section-padding-tablet);
    padding-bottom: var(--section-padding-tablet);
  }

  .section-sm {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

@media (min-width: 1280px) {
  .section {
    padding-top: var(--section-padding-desktop);
    padding-bottom: var(--section-padding-desktop);
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
  transform: translateY(0);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  will-change: transform;
}

.header.is-header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.header.is-header-visible,
.header.is-open,
.header:focus-within {
  transform: translateY(0);
}

.header-contact-row {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}

.header-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 18px;
}

.header-contacts,
.header-messengers {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-contacts {
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}

.header-contacts::-webkit-scrollbar {
  display: none;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 18px 0 0;
  border-right: 1px solid var(--color-border-light);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.header-contact-link + .header-contact-link {
  margin-left: 18px;
}

.header-contact-link::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border-light);
  border-radius: 7px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.32 1.77.59 2.61a2 2 0 0 1-.45 2.11L8 9.69a16 16 0 0 0 6.31 6.31l1.25-1.25a2 2 0 0 1 2.11-.45c.84.27 1.71.47 2.61.59A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 16px 16px no-repeat,
    #ffffff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.header-contact-link.is-email::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a2 2 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
    #ffffff;
}

.header-contact-link:hover {
  background: transparent;
  color: var(--color-primary);
}

.header-contact-link.is-primary {
  background: transparent;
}

.header-contact-link.is-secondary {
  background: transparent;
}

.header-contact-label {
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: none;
}

.header-honest-sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 34px;
  padding: 0 9px;
  border-radius: 8px;
  background: #fff200;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.header-honest-sign img {
  width: 84px;
  height: auto;
  object-fit: contain;
}

.messenger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.messenger-icon img {
  width: 22px;
  height: 22px;
}

@media (max-width: 640px) {
  .header-contact-inner {
    align-items: center;
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 8px;
  }

  .header-contacts {
    flex: 1 1 100%;
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
  }

  .header-contact-link {
    gap: 6px;
    min-height: 30px;
    padding: 0;
    border-right: 0;
    font-size: 12px;
  }

  .header-contact-link + .header-contact-link {
    margin-left: 0;
  }

  .header-contact-link::before {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background-size: 15px 15px;
  }

  .header-contact-label {
    display: none;
  }

  .header-contact-link.is-email {
    display: none;
  }

  .header-honest-sign {
    height: 32px;
    padding: 0 7px;
  }

  .header-honest-sign img {
    width: 80px;
    height: auto;
  }

  .header-messengers {
    margin-left: auto;
  }

  .messenger-icon {
    width: 30px;
    height: 30px;
  }

  .messenger-icon img {
    width: 21px;
    height: 21px;
  }
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--color-text);
}

.logo-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.logo-text {
  overflow: hidden;
  max-width: 230px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-subtitle {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
}

@media (max-width: 640px) {
  .logo {
    font-size: 21px;
  }

  .logo-text {
    max-width: 178px;
  }

  .logo-subtitle {
    font-size: 13px;
  }
}

.header-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  background: var(--color-surface);
  cursor: pointer;
}

.header-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: var(--radius-full);
  background: var(--color-text);
}

.header-menu {
  position: absolute;
  left: var(--container-padding-mobile);
  right: var(--container-padding-mobile);
  top: calc(100% + 8px);
  display: none;
  padding: 14px;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.header.is-open .header-menu {
  display: grid;
  gap: 12px;
}

.nav {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 4px;
}

.nav a,
.mega-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
}

.nav a:hover,
.mega-menu-toggle:hover {
  background: var(--color-surface-muted);
  color: var(--color-primary);
}

.nav-honest-sign {
  justify-content: center;
  min-width: 186px;
  background: #fff200;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.nav-honest-sign:hover {
  background: #fff200 !important;
  color: var(--color-text) !important;
  transform: translateY(-1px);
}

.nav-honest-sign img {
  width: 124px;
  height: auto;
  object-fit: contain;
}

.nav-item {
  min-width: 0;
}

.nav-catalog {
  position: relative;
}

.nav-catalog-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 0;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  overflow: hidden;
}

.nav-catalog-row .nav-link,
.nav-catalog-row .mega-menu-toggle {
  color: inherit;
  background: transparent;
}

.nav-catalog-row:hover,
.nav-catalog:focus-within .nav-catalog-row,
.nav-catalog.is-mega-open .nav-catalog-row {
  background: #e8f0ff;
  color: var(--color-primary);
}

.nav-catalog-row:hover .nav-link,
.nav-catalog-row:hover .mega-menu-toggle,
.nav-catalog:focus-within .nav-catalog-row .nav-link,
.nav-catalog:focus-within .nav-catalog-row .mega-menu-toggle,
.nav-catalog.is-mega-open .nav-catalog-row .nav-link,
.nav-catalog.is-mega-open .nav-catalog-row .mega-menu-toggle {
  background: transparent;
  color: inherit;
}

.mega-menu-toggle {
  justify-content: center;
  padding: 0;
  border: 0;
  background: #eef4ff;
  color: var(--color-text);
  cursor: pointer;
}

.mega-menu-toggle span {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.mega-menu {
  display: none;
}

.nav-catalog.is-mega-open .mega-menu {
  display: block;
}

.mega-menu-panel {
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 12px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  overflow-x: clip;
}

.mega-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.mega-menu-head strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.mega-menu-all-link {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--color-surface-muted);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
}

.mega-menu-flyout-layout {
  position: relative;
  min-height: 260px;
  padding-top: 10px;
  overflow-x: clip;
}

.mega-menu-roots,
.mega-menu-child-list,
.mega-menu-grandchildren {
  display: grid;
  align-content: start;
  gap: 3px;
}

.mega-menu-root-item,
.mega-menu-child-item {
  position: relative;
  min-width: 0;
}

.mega-menu-root-link,
.mega-menu-child-link,
.mega-menu-grandchild-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

.mega-menu-root-link:hover,
.mega-menu-root-item:hover > .mega-menu-root-link,
.mega-menu-root-item.is-active > .mega-menu-root-link,
.mega-menu-root-item:focus-within > .mega-menu-root-link,
.mega-menu-child-link:hover,
.mega-menu-child-item:hover > .mega-menu-child-link,
.mega-menu-child-item.is-active > .mega-menu-child-link,
.mega-menu-child-item:focus-within > .mega-menu-child-link,
.mega-menu-grandchild-link:hover {
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  color: var(--color-primary);
}

.mega-menu-root-link strong,
.mega-menu-child-link strong,
.mega-menu-grandchild-link strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}

.mega-menu-root-link small,
.mega-menu-child-link small,
.mega-menu-grandchild-link small {
  display: block;
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.mega-menu-root-link i,
.mega-menu-child-link i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.45;
  transform: rotate(45deg);
}

.mega-menu-flyout,
.mega-menu-grandchildren {
  display: none;
  margin-top: 4px;
  padding: 8px 0 0 12px;
  border-left: 1px solid var(--color-border-light);
}

.mega-menu-root-item:hover > .mega-menu-flyout,
.mega-menu-root-item.is-active > .mega-menu-flyout,
.mega-menu-root-item:focus-within > .mega-menu-flyout,
.mega-menu-root-item.is-default > .mega-menu-flyout,
.mega-menu-child-item:hover > .mega-menu-grandchildren,
.mega-menu-child-item.is-active > .mega-menu-grandchildren,
.mega-menu-child-item:focus-within > .mega-menu-grandchildren,
.mega-menu-child-item.is-default > .mega-menu-grandchildren {
  display: grid;
}

.mega-menu-roots:hover .mega-menu-root-item.is-default:not(:hover):not(:focus-within) > .mega-menu-flyout,
.mega-menu-roots.has-active .mega-menu-root-item.is-default:not(.is-active):not(:hover):not(:focus-within) > .mega-menu-flyout,
.mega-menu-child-list:hover .mega-menu-child-item.is-default:not(:hover):not(:focus-within) > .mega-menu-grandchildren {
  display: none;
}

.mega-menu-child-list.has-active .mega-menu-child-item.is-default:not(.is-active):not(:hover):not(:focus-within) > .mega-menu-grandchildren {
  display: none;
}

.mega-menu-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 5px;
  padding: 0 10px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 900;
}

.mega-menu-column-head a {
  min-height: 28px;
  padding: 0;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
}

.mega-menu-grandchild-link {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
}

.mega-menu-grandchild-link strong {
  font-size: 14px;
}

.mega-menu-promo {
  display: none;
}

.mega-menu-promo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--color-surface-muted);
}

.mega-menu-promo strong {
  display: block;
  margin-top: 16px;
  color: var(--color-text);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.mega-menu-promo p {
  margin: 10px 0 14px;
  font-size: 14px;
  line-height: 1.55;
}

.mega-menu-promo .button {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
}

.mega-menu-promo-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 10px;
  padding: 0;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 900;
}

.nav .mega-menu-root-link,
.nav .mega-menu-child-link,
.nav .mega-menu-grandchild-link {
  white-space: normal;
}

.nav .mega-menu-root-link,
.nav .mega-menu-child-link {
  min-height: 48px;
  padding: 8px 10px;
}

.nav .mega-menu-grandchild-link {
  min-height: 44px;
  padding: 8px 10px;
}

.nav .mega-menu-all-link {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.nav .mega-menu-column-head a {
  min-height: 28px;
  padding: 0;
  font-size: 12px;
}

@media (max-width: 1119px) {
  .mega-menu-flyout,
  .mega-menu-grandchildren {
    display: grid;
  }

  .mega-menu-root-link i,
  .mega-menu-child-link i {
    display: none;
  }
}

.header-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
}

.header-actions .button-light {
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 14px 28px rgba(31, 94, 255, 0.22);
}

.header-actions .button-light:hover {
  background: var(--color-primary-hover);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(31, 94, 255, 0.26);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-muted);
  font-size: 15px;
  font-weight: 900;
  color: var(--color-text);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--color-primary);
}

@media (min-width: 1120px) {
  .header-main {
    min-height: 76px;
    gap: 18px;
  }

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

  .header-menu {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 14px;
  }

  .nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    min-width: 0;
  }

  .nav a,
  .mega-menu-toggle {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .nav-catalog-row {
    display: flex;
    gap: 0;
    width: max-content;
  }

  .nav-catalog {
    flex: 0 0 auto;
  }

  .nav-catalog-row .nav-link {
    flex: 0 0 auto;
  }

  .nav-catalog-row .mega-menu-toggle {
    flex: 0 0 42px;
  }

  .mega-menu-toggle {
    width: 42px;
    min-height: 44px;
  }

  .mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 30;
    width: min(980px, calc(100vw - 48px));
    transform: none;
    padding-top: 14px;
  }

  .nav-catalog:hover .mega-menu,
  .nav-catalog:focus-within .mega-menu,
  .nav-catalog.is-mega-open .mega-menu {
    display: block;
  }

  .mega-menu-panel {
    padding: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }

  .mega-menu-head {
    align-items: center;
    padding: 6px 8px 10px;
  }

  .mega-menu-all-link {
    flex: 0 0 auto;
  }

  .mega-menu-flyout-layout {
    min-height: 390px;
    padding-top: 12px;
    overflow: visible;
  }

  .mega-menu-roots {
    width: 275px;
    min-height: 374px;
    padding-right: 10px;
    border-right: 1px solid var(--color-border-light);
  }

  .mega-menu-root-item,
  .mega-menu-child-item {
    position: static;
  }

  .mega-menu-root-link,
  .mega-menu-child-link,
  .mega-menu-grandchild-link {
    min-height: 54px;
  }

  .nav .mega-menu-root-link,
  .nav .mega-menu-child-link,
  .nav .mega-menu-grandchild-link {
    min-height: 54px;
    padding: 8px 10px;
  }

  .mega-menu-flyout {
    position: absolute;
    left: 275px;
    top: 12px;
    bottom: 0;
    box-sizing: border-box;
    width: 660px;
    margin: 0;
    padding: 0;
    border-left: 0;
    overflow: visible;
  }

  .mega-menu-flyout > .mega-menu-column-head,
  .mega-menu-child-list {
    width: 320px;
    padding-right: 14px;
    border-right: 1px solid var(--color-border-light);
  }

  .mega-menu-grandchildren {
    position: absolute;
    left: 338px;
    top: 0;
    bottom: 0;
    box-sizing: border-box;
    width: 304px;
    margin: 0;
    padding: 0 0 0 18px;
    border-left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
  }

  .mega-menu-child-item.is-default > .mega-menu-grandchildren {
    display: none;
  }

  .mega-menu-child-item:hover > .mega-menu-grandchildren,
  .mega-menu-child-item.is-active > .mega-menu-grandchildren,
  .mega-menu-child-item:focus-within > .mega-menu-grandchildren {
    display: grid;
  }

  .mega-menu-promo {
    position: absolute;
    left: 338px;
    top: 0;
    bottom: 0;
    display: grid;
    align-content: start;
    width: 304px;
    padding: 0 0 0 18px;
    background: #ffffff;
  }

  .mega-menu-flyout:has(.mega-menu-child-item:hover > .mega-menu-grandchildren) .mega-menu-promo,
  .mega-menu-flyout:has(.mega-menu-child-item.is-active > .mega-menu-grandchildren) .mega-menu-promo,
  .mega-menu-flyout:has(.mega-menu-child-item:focus-within > .mega-menu-grandchildren) .mega-menu-promo {
    display: none;
  }

  .header-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
  }

  .header-phone {
    background: transparent;
    padding: 0;
  }
}

@media (min-width: 1180px) {
  .nav {
    gap: 12px;
  }

  .nav a,
  .mega-menu-toggle {
    padding: 0 18px;
    font-size: 16px;
  }

  .logo-text {
    max-width: 320px;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.button-primary {
  color: #ffffff;
  background: var(--color-primary);
}

.button-primary:hover {
  background: var(--color-primary-hover);
}

.button-secondary {
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.button-secondary:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.button-danger {
  color: #ffffff;
  background: var(--color-danger);
}

.button-danger:hover {
  background: #b91c1c;
}

.button-light {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.button-full {
  width: 100%;
}

.hero {
  padding-top: 40px;
  padding-bottom: 56px;
}

.home-hero {
  position: relative;
  min-height: 680px;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  isolation: isolate;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 84% 18%, rgba(31, 94, 255, 0.12), transparent 30%),
    radial-gradient(circle at 22% 90%, rgba(31, 94, 255, 0.08), transparent 34%);
}

.home-hero-overlay {
  display: grid;
  align-items: center;
  min-height: 680px;
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.7) 100%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.72), rgba(255, 255, 255, 0.56));
}

.home-hero-globe {
  min-height: 560px;
  background-position: center right;
}

.home-hero-globe::before {
  background:
    radial-gradient(circle at 22% 55%, rgba(255, 255, 255, 0.5), transparent 34%),
    radial-gradient(circle at 78% 48%, rgba(31, 94, 255, 0.08), transparent 34%);
}

.home-hero-globe .home-hero-overlay {
  min-height: 560px;
  padding: 56px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.4) 58%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
}

.home-hero-globe .home-hero-copy {
  max-width: 560px;
}

.home-hero-globe .hero-title {
  max-width: 560px;
}

.home-hero-globe .hero-text {
  max-width: 540px;
}

.home-hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  color: var(--color-text);
}

.home-hero-copy {
  max-width: 740px;
}

.home-hero .hero-badge {
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-primary);
  border: 1px solid rgba(31, 94, 255, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(31, 94, 255, 0.08);
}

.home-hero .hero-title {
  max-width: 760px;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-hero .hero-title,
.home-hero .hero-text {
  color: var(--color-text);
}

.home-hero .hero-text {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
  color: #253149;
}

.home-hero .hero-actions .button {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
}

.home-hero .hero-actions .button::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-left: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.85;
}

.home-hero .hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  min-height: 76px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 222, 231, 0.8);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(12px);
  font-size: 13px;
  line-height: 1.25;
}

.home-hero .hero-feature::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(31, 94, 255, 0.14);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(31, 94, 255, 0.16), rgba(31, 94, 255, 0.04)),
    #ffffff;
  box-shadow: inset 0 0 0 5px rgba(31, 94, 255, 0.05);
}

.home-hero .hero-feature:nth-child(2)::before {
  border-radius: 50%;
}

.home-hero .hero-feature:nth-child(4)::before {
  background:
    linear-gradient(135deg, rgba(31, 94, 255, 0.78), rgba(255, 255, 255, 0.08)),
    rgba(16, 28, 49, 0.68);
}

.home-hero .hero-feature-honest::before {
  display: none;
}

.home-hero .hero-feature-honest {
  color: #007a3d;
  background: rgba(236, 253, 245, 0.94) !important;
  border-color: rgba(0, 166, 81, 0.22) !important;
}

.home-hero-panel {
  display: grid;
  width: 100%;
  max-width: 540px;
}

.home-hero-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-hero-tile {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(217, 222, 231, 0.9);
  background-color: #ffffff;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% 70%;
  color: var(--color-text);
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.12);
  font-weight: 900;
  line-height: 1.25;
  transform: translateY(0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-hero-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.1) 56%, #ffffff 72%);
  z-index: 0;
}

.home-hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.home-hero-tile:hover {
  border-color: rgba(31, 94, 255, 0.32);
  box-shadow: 0 30px 56px rgba(17, 24, 39, 0.16);
  transform: translateY(-3px);
}

.home-hero-tile-icon,
.home-hero-tile strong {
  position: relative;
  z-index: 1;
}

.home-hero-tile-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 222, 231, 0.9);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(10px);
}

.home-hero-tile-icon::before,
.home-hero-tile-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 10px;
  border: 2px solid var(--color-text);
  border-radius: 4px;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.home-hero-tile-icon::after {
  margin-top: 8px;
  margin-left: 3px;
}

.home-hero-tile-2 .home-hero-tile-icon::before {
  width: 14px;
  height: 26px;
  border-radius: 5px 5px 9px 9px;
  transform: translate(-50%, -58%) rotate(8deg);
}

.home-hero-tile-2 .home-hero-tile-icon::after {
  width: 24px;
  height: 10px;
  margin-top: 10px;
  margin-left: 4px;
  border-radius: 9px;
  transform: translate(-50%, -50%) rotate(0);
}

.home-hero-tile-3 .home-hero-tile-icon::before {
  width: 22px;
  height: 22px;
  border-radius: 8px 8px 12px 12px;
  transform: translate(-50%, -42%) rotate(0);
}

.home-hero-tile-3 .home-hero-tile-icon::after {
  width: 28px;
  height: 8px;
  margin-top: -9px;
  margin-left: 0;
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(0);
}

.home-hero-tile-4 .home-hero-tile-icon::before {
  width: 30px;
  height: 14px;
  border-radius: 12px 12px 6px 6px;
  transform: translate(-50%, -32%) rotate(0);
}

.home-hero-tile-4 .home-hero-tile-icon::after {
  width: 34px;
  height: 8px;
  margin-top: 10px;
  margin-left: 0;
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(0);
}

.home-hero-tile strong {
  color: var(--color-text);
  max-width: 240px;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 900;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
}

.hero-title {
  margin-top: 20px;
}

.hero-text {
  max-width: 620px;
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 20px);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}

.hero-feature,
.hero-card,
.card,
.category-card,
.benefit-card,
.faq-item,
.filters,
.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.hero-feature {
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
}

.hero-feature-honest {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  background: rgba(0, 166, 81, 0.22) !important;
  border-color: rgba(0, 166, 81, 0.48) !important;
}

.hero-feature-honest img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.hero-card,
.card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .hero-actions {
    flex-direction: row;
  }

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

  .hero-card,
  .card {
    border-radius: var(--radius-xl);
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .home-hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
    gap: 48px;
  }

  .home-hero-panel {
    justify-self: end;
  }
}

@media (min-width: 1120px) {
  .home-hero .hero-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-hero {
    min-height: 0;
  }

  .home-hero-overlay {
    min-height: 0;
    padding: 42px 0;
  }

  .home-hero .hero-title {
    font-size: 34px;
  }

  .home-hero .hero-text {
    font-size: 16px;
  }

  .home-hero .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-panel {
    max-width: none;
  }

  .home-hero-tiles {
    gap: 10px;
  }

  .home-hero-tile {
    min-height: 150px;
    padding: 14px;
  }

  .home-hero-tile-icon {
    width: 42px;
    height: 42px;
  }

  .home-hero-tile strong {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.18;
  }

  .product-trust-grid {
    display: grid;
  }
}

@media (max-width: 340px) {
  .home-hero-tiles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-products-section .catalog-grid {
    grid-template-columns: 1fr;
  }

  .home-product-card .product-card-title {
    min-height: 42px;
  }
}

.category-grid,
.catalog-grid,
.benefits-grid {
  display: grid;
  gap: 16px;
}

.category-grid,
.benefits-grid {
  grid-template-columns: 1fr;
}

.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  min-height: 180px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

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

.section-muted {
  background: var(--color-surface-muted);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-section-heading {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 30px;
}

.home-section-heading > div {
  max-width: 760px;
}

.home-section-heading h2 {
  letter-spacing: 0;
}

.home-catalog-section,
.home-products-section,
.home-info-section {
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%),
    var(--color-bg);
}

.home-benefits-section {
  background:
    linear-gradient(135deg, rgba(31, 94, 255, 0.08), rgba(242, 119, 34, 0.07)),
    var(--color-surface-muted);
}

.home-audience-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(238, 241, 245, 0.92)),
    var(--color-surface-muted);
}

.category-card-media {
  display: grid;
  padding: 0;
  overflow: hidden;
}

.category-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-surface-muted);
}

.category-card-content {
  padding: 20px;
}

.home-category-card {
  min-height: 100%;
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 94, 255, 0.28);
  box-shadow: var(--shadow-md);
}

.home-category-card img {
  aspect-ratio: 5 / 4;
}

.home-category-card .category-card-content {
  display: flex;
  min-height: 184px;
  flex-direction: column;
  padding: 22px;
}

.home-category-card .category-card-title {
  font-size: 21px;
  letter-spacing: 0;
}

.home-category-card .category-card-text {
  line-height: 1.5;
}

.home-category-card .category-card-link {
  margin-top: auto;
}

.category-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--color-border-light);
  background: var(--color-surface-muted);
  box-shadow: var(--shadow-sm);
}

.catalog-page-header {
  padding-top: 30px;
  padding-bottom: 18px;
}

.catalog-page-header-inner {
  display: grid;
  justify-items: start;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.catalog-page-header .breadcrumbs {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.catalog-page-header .page-title {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
}

.catalog-page-header .page-description {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
}

.catalog-categories-section {
  padding-top: 18px;
}

.catalog-categories-section .section-heading {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.catalog-categories-section .category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.catalog-categories-section .category-card-media {
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
}

.catalog-categories-section .category-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.catalog-categories-section .category-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 16, 34, 0.7) 100%);
  pointer-events: none;
}

.catalog-categories-section .category-card-media img {
  aspect-ratio: 4 / 3;
  transition: transform 0.22s ease;
}

.catalog-categories-section .category-card-media:hover img {
  transform: scale(1.035);
}

.catalog-categories-section .category-card-content {
  padding: 14px;
}

.catalog-categories-section .category-card-title {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(9, 20, 44, 0.78);
  color: #ffffff;
  font-size: 20px;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

.catalog-categories-section .category-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 22px rgba(31, 94, 255, 0.18);
}

.catalog-categories-section .category-card-media:hover .category-card-link {
  background: var(--color-primary-hover);
}

.catalog-categories-section .section-heading h2,
.category-page-header + .section-sm .section-heading h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0;
}

.category-page-header {
  padding-top: 30px;
  padding-bottom: 18px;
}

.category-page-header .breadcrumbs {
  margin-bottom: 0;
}

.category-products-title {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
}

.category-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  max-width: 980px;
}

.category-intro-no-image {
  display: block;
  max-width: 900px;
}

.category-intro-image {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--color-border-light);
  background: var(--color-surface-muted);
  box-shadow: var(--shadow-sm);
}

.category-intro .page-title {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
}

.category-intro .page-description {
  max-width: 720px;
  margin-left: 0;
  margin-right: 0;
  line-height: 1.55;
}

.category-intro-no-image .page-description {
  max-width: 820px;
}

@media (min-width: 768px) {
  .category-intro {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 26px;
  }

  .category-intro-no-image {
    display: block;
  }

  .category-intro-image {
    max-width: none;
  }
}

.category-card-title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.category-card-text {
  margin-top: 8px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.category-card-link {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary);
}

.category-subcategory-section {
  padding-bottom: 10px;
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.subcategory-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  min-height: 0;
  padding: 8px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.subcategory-card:hover {
  border-color: rgba(242, 119, 34, 0.45);
  box-shadow: var(--shadow-md);
}

.subcategory-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2 / 1;
  border-radius: 6px;
  object-fit: cover;
  background: var(--color-surface-muted);
}

.subcategory-card span,
.subcategory-card strong,
.subcategory-card small,
.subcategory-card em {
  display: block;
  min-width: 0;
}

.subcategory-card strong {
  font-size: 14px;
  line-height: 1.25;
}

.subcategory-card small {
  margin-top: 4px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
}

.subcategory-card em {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .catalog-categories-section .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .subcategory-card {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 10px;
  }

  .subcategory-card img {
    width: 76px;
    height: 76px;
    aspect-ratio: auto;
  }

  .subcategory-card strong {
    font-size: 16px;
  }

  .subcategory-card small,
  .subcategory-card em {
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .subcategory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .catalog-categories-section .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(217, 222, 231, 0.72);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 94, 255, 0.18);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.product-card-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  color: inherit;
}

.product-card-main:hover {
  color: inherit;
}

.home-benefit-card {
  position: relative;
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.home-benefit-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(31, 94, 255, 0.08);
}

.benefit-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.home-benefit-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: 0;
}

.home-benefit-card p {
  margin-bottom: 0;
  line-height: 1.58;
}

.home-product-card {
  border-radius: 8px;
}

.home-product-card .product-card-image {
  aspect-ratio: 1 / 1;
}

.home-product-card .product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.home-product-card .product-card-title {
  min-height: 42px;
}

.home-product-card .button {
  margin-top: auto;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 8px 8px 0;
  border-radius: 6px;
  background: #f6f8fc;
  overflow: hidden;
}

.product-card-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: #ff8a00;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(255, 138, 0, 0.28);
}

.product-card-badge::before,
.product-card-price::before,
.product-card-meta-item::before,
.product-card-action .button::after,
.product-card-icon::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.product-card-badge::before {
  width: 13px;
  height: 13px;
  margin-right: 6px;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 7 9 18l-5-5 1.7-1.7L9 14.6 18.3 5.3 20 7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 7 9 18l-5-5 1.7-1.7L9 14.6 18.3 5.3 20 7Z'/%3E%3C/svg%3E");
}

.product-card-badge-out_of_stock::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 4.5 12 10.3l5.8-5.8 1.7 1.7-5.8 5.8 5.8 5.8-1.7 1.7-5.8-5.8-5.8 5.8-1.7-1.7 5.8-5.8-5.8-5.8 1.7-1.7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2 4.5 12 10.3l5.8-5.8 1.7 1.7-5.8 5.8 5.8 5.8-1.7 1.7-5.8-5.8-5.8 5.8-1.7-1.7 5.8-5.8-5.8-5.8 1.7-1.7Z'/%3E%3C/svg%3E");
}

.product-card-badge-out_of_stock {
  background: #64748b;
  box-shadow: 0 10px 22px rgba(100, 116, 139, 0.22);
}

.product-card-badge-on_order {
  background: var(--color-primary);
  box-shadow: 0 10px 22px rgba(31, 94, 255, 0.24);
}

.product-card-icon {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(217, 222, 231, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.1);
  pointer-events: none;
}

.product-card-icon::before {
  width: 18px;
  height: 18px;
}

.product-card-icon-view {
  right: 10px;
  top: 10px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.product-card-icon-view::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5c5.2 0 9 4.6 10 7-1 2.4-4.8 7-10 7S3 14.4 2 12c1-2.4 4.8-7 10-7Zm0 11.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0-2.4a2.1 2.1 0 1 1 0-4.2 2.1 2.1 0 0 1 0 4.2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5c5.2 0 9 4.6 10 7-1 2.4-4.8 7-10 7S3 14.4 2 12c1-2.4 4.8-7 10-7Zm0 11.5a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm0-2.4a2.1 2.1 0 1 1 0-4.2 2.1 2.1 0 0 1 0 4.2Z'/%3E%3C/svg%3E");
}

.product-card:hover .product-card-icon-view,
.product-card-main:focus-visible .product-card-icon-view {
  opacity: 1;
  transform: translateY(0);
}

.product-card-icon-honest {
  right: 10px;
  bottom: 10px;
  color: #00a651;
}

.product-card-icon-honest::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 4 5.4v6.2c0 5 3.4 9.7 8 10.9 4.6-1.2 8-5.9 8-10.9V5.4L12 2Zm3.8 8.1-4.5 4.7-2.4-2.3 1.3-1.4 1.1 1.1 3.2-3.4 1.3 1.3Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 4 5.4v6.2c0 5 3.4 9.7 8 10.9 4.6-1.2 8-5.9 8-10.9V5.4L12 2Zm3.8 8.1-4.5 4.7-2.4-2.3 1.3-1.4 1.1 1.1 3.2-3.4 1.3 1.3Z'/%3E%3C/svg%3E");
}

.product-card-image img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.product-card-title {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  min-height: 42px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.38;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-note {
  display: none;
}

.product-card-price {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.product-card-price::before {
  width: 17px;
  height: 17px;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3h7.2a5.2 5.2 0 0 1 0 10.4H10v2.1h7v2.4h-7V21H7v-3.1H4.8v-2.4H7v-2.1H4.8V11H7V3Zm3 8h4.2a2.8 2.8 0 0 0 0-5.6H10V11Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3h7.2a5.2 5.2 0 0 1 0 10.4H10v2.1h7v2.4h-7V21H7v-3.1H4.8v-2.4H7v-2.1H4.8V11H7V3Zm3 8h4.2a2.8 2.8 0 0 0 0-5.6H10V11Z'/%3E%3C/svg%3E");
}

.product-card-category {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.product-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 900;
}

.product-card-meta-item::before {
  width: 12px;
  height: 12px;
}

.product-card-meta-availability::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.5 12 2l8 4.5v9L12 20l-8-4.5v-9Zm8 4.2 4.9-2.8L12 5.1 7.1 7.9 12 10.7Zm-5.5-.6v3.9l4.2 2.4v-3.9l-4.2-2.4Zm6.8 6.3 4.2-2.4v-3.9l-4.2 2.4v3.9Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6.5 12 2l8 4.5v9L12 20l-8-4.5v-9Zm8 4.2 4.9-2.8L12 5.1 7.1 7.9 12 10.7Zm-5.5-.6v3.9l4.2 2.4v-3.9l-4.2-2.4Zm6.8 6.3 4.2-2.4v-3.9l-4.2 2.4v3.9Z'/%3E%3C/svg%3E");
}

.product-card-meta-category::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E");
}

.product-card-meta-honest {
  background: rgba(0, 166, 81, 0.1);
  color: #007a3d;
}

.product-card-meta-honest::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 4 5.4v6.2c0 5 3.4 9.7 8 10.9 4.6-1.2 8-5.9 8-10.9V5.4L12 2Zm3.8 8.1-4.5 4.7-2.4-2.3 1.3-1.4 1.1 1.1 3.2-3.4 1.3 1.3Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 4 5.4v6.2c0 5 3.4 9.7 8 10.9 4.6-1.2 8-5.9 8-10.9V5.4L12 2Zm3.8 8.1-4.5 4.7-2.4-2.3 1.3-1.4 1.1 1.1 3.2-3.4 1.3 1.3Z'/%3E%3C/svg%3E");
}

.product-card-action {
  padding: 0 14px 14px;
}

.product-card-action .button {
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-color: rgba(31, 94, 255, 0.32);
  color: var(--color-primary);
  background: #ffffff;
  font-size: 14px;
}

.product-card-action .button::after {
  width: 14px;
  height: 14px;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 5.3 20 12l-6.8 6.7-1.6-1.7 3.9-3.8H4v-2.4h11.5L11.6 7l1.6-1.7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 5.3 20 12l-6.8 6.7-1.6-1.7 3.9-3.8H4v-2.4h11.5L11.6 7l1.6-1.7Z'/%3E%3C/svg%3E");
}

.product-card-action .button:hover {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.honest-sign-chip img {
  width: 64px;
  height: auto;
  flex: 0 0 auto;
}

.product-page-section {
  padding-top: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(31, 94, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, var(--color-bg) 72%);
}

.product-breadcrumbs {
  margin-bottom: 28px;
}

.product-glass-card {
  border: 1px solid rgba(202, 211, 226, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.product-detail.product-glass-card {
  overflow: hidden;
  background: #ffffff;
}

.product-media,
.product-summary,
.product-description {
  min-width: 0;
}

.product-media {
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.product-ribbon {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(31, 94, 255, 0.28);
}

.product-ribbon::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
}

.product-ribbon.is-in-stock {
  background: var(--color-primary);
}

.product-ribbon.is-out-of-stock {
  background: var(--color-text-muted);
}

.product-ribbon.is-on-order {
  background: var(--color-accent);
}

.product-zoom-button,
.product-favorite-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(202, 211, 226, 0.85);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(12px);
}

.product-zoom-button {
  right: 22px;
  top: 22px;
}

.product-zoom-button::before,
.product-favorite-pill::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid var(--color-text-muted);
}

.product-zoom-button::before {
  border-radius: 50%;
}

.product-zoom-button::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  background: var(--color-text-muted);
  transform: translate(9px, 9px) rotate(45deg);
}

.product-main-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
  padding: 36px 20px 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 239, 255, 0.78), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.product-main-image img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.product-gallery {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.product-gallery-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  min-width: 0;
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.12);
  transform: translateY(-1px);
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-summary {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.product-favorite-pill {
  right: 24px;
  top: 24px;
}

.product-favorite-pill::before {
  width: 18px;
  height: 16px;
  border: 0;
  background:
    radial-gradient(circle at 32% 34%, transparent 6px, var(--color-text-muted) 7px, var(--color-text-muted) 8px, transparent 9px),
    radial-gradient(circle at 68% 34%, transparent 6px, var(--color-text-muted) 7px, var(--color-text-muted) 8px, transparent 9px);
  transform: rotate(45deg);
}

.product-summary h1 {
  max-width: calc(100% - 58px);
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 900;
}

.product-back-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.product-lead {
  margin-bottom: 20px;
  font-size: 16px;
}

.product-price-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  margin: 16px 0 18px;
  padding: 16px 58px 16px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f7ff, #ffffff);
}

.product-price-panel span {
  color: var(--color-text);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 900;
}

.product-price-panel del {
  color: var(--color-text-light);
  font-size: 15px;
  font-weight: 800;
}

.product-price-panel i {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 22px;
  height: 28px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  transform: translateY(-50%);
}

.product-price-panel i::before,
.product-price-panel i::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  height: 2px;
  background: var(--color-primary);
}

.product-price-panel i::before {
  top: 8px;
}

.product-price-panel i::after {
  top: 15px;
}

.product-facts {
  display: grid;
  gap: 0;
}

.product-fact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--color-border-light);
}

.product-fact::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-primary);
  border-radius: 5px;
  transform: translateY(-50%);
  opacity: 0.72;
}

.product-fact-availability::before {
  border-radius: 50%;
}

.product-fact-category::before {
  transform: translateY(-50%) rotate(-8deg);
}

.product-fact span {
  color: var(--color-text-muted);
  font-weight: 700;
}

.product-fact strong {
  text-align: right;
  font-weight: 900;
}

.product-fact a {
  color: var(--color-primary);
}

.product-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-availability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-warning);
}

.product-availability.is-in-stock::before {
  background: #22c55e;
}

.product-availability.is-out-of-stock::before {
  background: var(--color-danger);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-top: 18px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 900;
}

.honest-sign-badge {
  background: rgba(0, 166, 81, 0.1);
  color: #007a3d;
  border: 1px solid rgba(0, 166, 81, 0.22);
}

.honest-sign-badge img {
  width: 82px;
  height: auto;
  flex: 0 0 auto;
}

.product-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.product-actions .button {
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
  font-weight: 900;
}

.product-trust-grid {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.product-trust-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 88px;
  align-content: center;
  padding: 14px 10px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.product-trust-item::before {
  content: "";
  justify-self: center;
  width: 30px;
  height: 30px;
  margin-bottom: 2px;
  border: 2px solid var(--color-primary);
  border-radius: 9px;
  background: rgba(31, 94, 255, 0.08);
}

.product-trust-item strong {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
}

.product-trust-item span {
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
}

.product-description-section {
  padding-top: 22px;
}

.product-description {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.product-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.product-section-title h2 {
  margin-bottom: 0;
  font-size: 26px;
  letter-spacing: 0;
}

.product-title-icon,
.product-quality-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

.product-title-icon::before,
.product-quality-icon::before {
  content: "";
  width: 19px;
  height: 23px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
}

.product-description-main p {
  max-width: 820px;
  margin-bottom: 22px;
}

.product-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 34px;
}

.product-spec-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 13px 0 13px 32px;
  border-bottom: 1px solid var(--color-border-light);
}

.product-spec-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  opacity: 0.72;
}

.product-spec-item span {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
}

.product-spec-item strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.product-quality-card {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 22px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 94, 255, 0.12), transparent 48%),
    linear-gradient(135deg, #ffffff, #eef4ff);
}

.product-quality-card strong {
  font-size: 16px;
  font-weight: 900;
}

.product-quality-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.product-terms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.product-term-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.product-term-card::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  background: rgba(31, 94, 255, 0.08);
}

.product-zoom-button {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E");
}

.product-favorite-pill {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8l1.1 1.1L12 21l7.8-7.5 1.1-1.1a5.5 5.5 0 0 0-.1-7.8Z'/%3E%3C/svg%3E");
}

.product-price-panel i {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2v20l3-2 3 2 3-2 3 2V2l-3 2-3-2-3 2-3-2Z'/%3E%3Cpath d='M9 9h6M9 13h6M9 17h3'/%3E%3C/svg%3E");
}

.product-fact-sku,
.product-spec-item-sku {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 11.2 4A2 2 0 0 0 9.8 3.4H4a1.4 1.4 0 0 0-1.4 1.4v5.8A2 2 0 0 0 3.2 12l9.4 9.4a2 2 0 0 0 2.8 0l5.2-5.2a2 2 0 0 0 0-2.8Z'/%3E%3Ccircle cx='7.5' cy='8.3' r='1'/%3E%3C/svg%3E");
}

.product-fact-availability,
.product-spec-item-availability,
.product-term-card {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.6 2.6L16.5 9'/%3E%3C/svg%3E");
}

.product-fact-category,
.product-spec-item-category,
.product-spec-item-knitting {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}

.product-title-icon {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4.5V3h6v1.5M9 9h6M9 13h6M9 17h4'/%3E%3C/svg%3E");
}

.product-quality-icon,
.product-spec-item-coating,
.product-trust-item {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.product-spec-item-composition,
.product-spec-item-color {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5M3 17l9 5 9-5'/%3E%3C/svg%3E");
}

.product-spec-item-size {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 3 6 6L9 21l-6-6L15 3Z'/%3E%3Cpath d='m13 5 2 2m-5 1 2 2m-5 1 2 2m-5 1 2 2'/%3E%3C/svg%3E");
}

.product-spec-item-season {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E");
}

.product-spec-item-weight,
.product-spec-item-package {
  --product-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='M3 7v10l9 5 9-5V7M12 12v10'/%3E%3C/svg%3E");
}

.product-zoom-button::before,
.product-favorite-pill::before,
.product-price-panel i,
.product-fact::before,
.product-title-icon::before,
.product-quality-icon::before,
.product-spec-item::before,
.product-term-card::before,
.product-trust-item::before {
  border: 0;
  border-radius: 0;
  background: var(--color-primary);
  opacity: 1;
  -webkit-mask-image: var(--product-icon);
  mask-image: var(--product-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.product-zoom-button::after,
.product-price-panel i::before,
.product-price-panel i::after {
  content: none;
}

.product-main-image {
  cursor: zoom-in;
  text-decoration: none;
}

body.is-product-lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 72px 24px 24px;
  background: rgba(7, 12, 23, 0.94);
  backdrop-filter: blur(8px);
}

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.product-lightbox-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 96px);
  border-radius: 6px;
  background: #ffffff;
  object-fit: contain;
  pointer-events: auto;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.product-lightbox-close {
  position: fixed;
  right: 24px;
  top: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(7, 12, 23, 0.16);
  border-radius: 50%;
  background: #ffffff;
  color: #0b1220;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.product-lightbox-close:hover,
.product-lightbox-close:focus-visible {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.04);
}

.product-lightbox-close span {
  display: block;
  font-size: 36px;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .product-lightbox {
    padding: 64px 10px 12px;
  }

  .product-lightbox-content img {
    max-height: calc(100vh - 76px);
  }

  .product-lightbox-close {
    right: 12px;
    top: 10px;
    width: 44px;
    height: 44px;
  }
}

.product-request-section {
  background:
    radial-gradient(circle at 84% 24%, rgba(31, 94, 255, 0.12), transparent 34%),
    linear-gradient(180deg, var(--color-bg), #ffffff);
}

.product-request-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.product-help-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.product-help-card h2 {
  margin-bottom: 12px;
  letter-spacing: 0;
}

.product-help-card .contact-list a,
.product-help-card .contact-list span {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.product-lead-form {
  border-radius: 8px;
}

.product-related-card {
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 480px) and (max-width: 767px) {
  .product-trust-grid {
    display: grid;
  }
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.audience-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.audience-item strong {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
}

.split-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.info-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
  border-radius: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.info-panel p {
  margin-bottom: 22px;
}

.info-panel .button {
  align-self: flex-start;
  margin-top: auto;
}

.honest-sign-panel {
  border-color: rgba(0, 166, 81, 0.22);
  background: linear-gradient(135deg, rgba(0, 166, 81, 0.08), #ffffff 46%);
}

.honest-sign-panel h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.honest-sign-panel h2 img {
  width: 112px;
  height: auto;
  flex: 0 0 auto;
}

.section-cta {
  background:
    radial-gradient(circle at 18% 12%, rgba(31, 94, 255, 0.24), transparent 32%),
    linear-gradient(135deg, #0b1220, #111827 46%, #172033);
  color: #ffffff;
}

.section-cta h2,
.section-cta p {
  color: #ffffff;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.home-cta-copy {
  max-width: 650px;
}

.home-cta-copy h2 {
  max-width: 620px;
  letter-spacing: 0;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.lead-form {
  padding: 24px;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.lead-form .admin-notice,
.lead-form .admin-error {
  margin-bottom: 0;
}

.catalog-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 900;
}

.catalog-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.catalog-filter-actions {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-empty {
  padding: 28px;
  border-radius: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 479px) {
  .product-page-section {
    padding-top: 18px;
  }

  .product-breadcrumbs {
    gap: 6px;
    margin-bottom: 14px;
    font-size: 12px;
  }

  .product-media {
    padding: 8px;
  }

  .product-ribbon {
    left: 16px;
    top: 16px;
    min-height: 28px;
    padding: 0 11px;
    font-size: 12px;
  }

  .product-zoom-button {
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
  }

  .product-main-image {
    min-height: 386px;
    padding: 46px 10px 18px;
  }

  .product-gallery {
    gap: 8px;
    justify-content: flex-start;
  }

  .product-gallery-thumb {
    width: calc(25% - 6px);
    padding: 4px;
  }

  .product-summary {
    padding: 18px;
  }

  .product-favorite-pill {
    right: 16px;
    top: 16px;
    width: 40px;
    height: 40px;
  }

  .product-summary h1 {
    max-width: calc(100% - 48px);
    font-size: 28px;
  }

  .product-lead {
    font-size: 14px;
  }

  .product-price-panel {
    min-height: 68px;
    padding: 14px 50px 14px 16px;
  }

  .product-price-panel span {
    font-size: 22px;
  }

  .product-fact {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    min-height: 52px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .product-fact strong {
    min-width: 0;
    text-align: right;
  }

  .product-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .product-trust-item {
    min-height: 100px;
    padding: 12px 6px;
  }

  .product-description {
    padding: 18px;
  }

  .product-section-title h2 {
    font-size: 20px;
  }

  .product-title-icon,
  .product-quality-icon {
    width: 38px;
    height: 38px;
  }

  .product-spec-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 28px;
  }

  .product-help-card,
  .product-lead-form {
    padding: 18px;
  }

  .product-card-content {
    padding: 12px;
  }

  .product-card-title {
    font-size: 14px;
  }

  .product-card-category {
    font-size: 13px;
  }

  .product-card-price {
    font-size: 18px;
  }

  .product-card-meta {
    gap: 6px;
    margin: 9px 0 0;
  }

  .product-card-meta span {
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
  }

}

@media (min-width: 768px) {
  .home-section-heading {
    flex-direction: row;
    align-items: end;
  }

  .category-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

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

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

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

  .home-catalog-section .category-grid,
  .home-benefits-section .benefits-grid,
  .home-audience-section .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .audience-grid,
  .split-sections,
  .cta-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-filters {
    grid-template-columns: 1.1fr 1fr 1.4fr auto;
    align-items: end;
  }

  .category-filters {
    grid-template-columns: 1.4fr 1fr 1fr auto;
  }

  .category-filters-has-subcategories {
    grid-template-columns: 1.1fr 1.2fr 1fr 1fr auto;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr);
    gap: 24px;
  }

  .product-media {
    padding: 18px;
  }

  .product-main-image {
    min-height: 560px;
    padding: 54px 28px 24px;
  }

  .product-gallery-thumb {
    width: 148px;
  }

  .product-summary {
    padding: 34px;
  }

  .product-description {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 34px;
    padding: 34px;
  }

  .product-terms-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-request-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  }

  .home-catalog-section .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-benefits-section .benefits-grid,
  .home-audience-section .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-products-section .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (min-width: 1280px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.input,
.textarea,
.select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 15px;
  color: var(--color-text);
  outline: none;
}

.textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-section {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.form-section h2 {
  margin-bottom: 0;
  font-size: var(--text-xl);
  line-height: 1.25;
  letter-spacing: 0;
}

.form-section h3 {
  margin-bottom: 8px;
  font-size: var(--text-lg);
  line-height: 1.25;
  letter-spacing: 0;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-small {
  font-size: var(--text-sm);
}

.media-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
}

.media-picker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.media-picker-item {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: var(--color-surface);
}

.media-picker-item strong {
  overflow: hidden;
  font-size: var(--text-sm);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-picker-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.media-picker-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: var(--color-surface-muted);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

.cta {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--color-primary);
  color: #ffffff;
}

.cta h2,
.cta p {
  color: #ffffff;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .cta {
    padding: 48px;
    border-radius: var(--radius-2xl);
  }

  .cta-actions {
    flex-direction: row;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-text-light);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.page-header {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-header-inner {
  max-width: var(--container-width);
  text-align: left;
}

.page-title {
  margin-bottom: 16px;
}

.page-description {
  max-width: 720px;
  font-size: clamp(16px, 1.6vw, 19px);
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.sidebar {
  display: grid;
  gap: 16px;
}

.sidebar-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

@media (min-width: 1024px) {
  .content-layout {
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
  }

  .sidebar {
    position: sticky;
    top: 96px;
  }
}

.seo-content {
  max-width: 860px;
}

.page-content {
  max-width: 920px;
  padding: 28px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.page-content h2,
.page-content h3,
.page-content h4 {
  margin-top: 28px;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.page-content h2:first-child,
.page-content h3:first-child,
.page-content h4:first-child {
  margin-top: 0;
}

.page-content a,
.page-contact-item a {
  color: var(--color-primary);
  font-weight: 800;
}

.page-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.page-content th,
.page-content td {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.page-contacts {
  max-width: 920px;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.page-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.page-contact-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background: var(--color-surface-muted);
}

.page-contact-item span {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.page-contact-item a,
.page-contact-item strong {
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .page-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.floating-social {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  gap: 10px;
}

.floating-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(217, 222, 231, 0.86);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.2);
}

.floating-social-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .floating-social {
    right: 14px;
    bottom: 16px;
    gap: 8px;
  }

  .floating-social-link {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .floating-social-link img {
    width: 27px;
    height: 27px;
  }
}

.footer {
  padding-top: 56px;
  padding-bottom: 32px;
  background: #111827;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.home-catalog-section {
  padding-top: 88px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 88% 18%, rgba(31, 94, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-catalog-heading {
  align-items: flex-start;
  margin-bottom: 38px;
}

.home-catalog-heading > div {
  max-width: 760px;
}

.home-catalog-eyebrow {
  min-height: 0;
  margin-bottom: 22px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 13px;
  letter-spacing: 0.24em;
}

.home-catalog-heading h2 {
  max-width: 760px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
}

.home-catalog-lead {
  max-width: 620px;
  margin: 0;
  color: #5d687a;
  font-size: 20px;
  line-height: 1.55;
}

.home-catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
}

.home-catalog-all {
  justify-content: space-between;
  min-width: 236px;
  min-height: 64px;
  padding: 0 28px;
  border: 1.5px solid var(--color-primary);
  background: #ffffff;
  color: #0b3f93;
  box-shadow: none;
}

.home-catalog-all:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.home-catalog-section .home-category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.home-catalog-section .home-category-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-catalog-section .home-category-card:hover {
  border-color: rgba(31, 94, 255, 0.24);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.home-catalog-section .home-category-card .category-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.home-catalog-section .home-category-card .category-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 16, 34, 0.68) 100%);
  pointer-events: none;
}

.home-catalog-section .home-category-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  background: #f3f6fb;
  transition: transform 0.22s ease;
}

.home-catalog-section .home-category-card:hover img {
  transform: scale(1.035);
}

.home-catalog-section .home-category-card .category-card-content {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 26px 20px;
}

.home-catalog-section .home-category-card .category-card-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  margin: 0;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(9, 20, 44, 0.76);
  color: #ffffff;
  font-size: 25px;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.home-catalog-section .home-category-card .category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 1180px) {
  .home-catalog-section .home-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-catalog-section {
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .home-catalog-heading {
    align-items: flex-start;
    margin-bottom: 26px;
  }

  .home-catalog-eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .home-catalog-heading h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .home-catalog-lead {
    font-size: 17px;
    line-height: 1.5;
  }

  .home-catalog-footer {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .home-catalog-all {
    width: 100%;
    min-height: 56px;
  }

  .home-catalog-section .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .home-catalog-section .home-category-card img {
    aspect-ratio: 1 / 1;
  }

  .home-catalog-section .home-category-card .category-card-content {
    min-height: 66px;
    padding: 18px;
  }

  .home-catalog-section .home-category-card .category-card-title {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 9px 10px;
    font-size: 20px;
  }

  .home-catalog-section .home-category-card .category-card-link {
    gap: 10px;
    font-size: 14px;
  }
}

@media (max-width: 440px) {
  .home-catalog-section .home-category-grid {
    grid-template-columns: 1fr;
  }

  .home-catalog-section .home-category-card {
    display: block;
  }

  .home-catalog-section .home-category-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.25 / 1;
  }

  .home-catalog-section .home-category-card .category-card-content {
    min-height: 64px;
  }
}

.admin-body {
  background: #f6f7f9;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
}

.admin-sidebar {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  padding: 20px;
}

.admin-logo {
  display: block;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  color: var(--color-text-muted);
}

.admin-nav a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
}

.admin-content {
  padding: 24px;
}

.admin-card,
.admin-stat {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border-light);
  text-align: left;
}

.admin-table th {
  background: var(--color-surface-muted);
  font-weight: 900;
}

.admin-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 800;
}

.admin-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fee2e2;
  color: var(--color-danger);
  font-weight: 800;
}

.admin-editor-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.admin-editor-heading h1,
.admin-section-heading h2 {
  margin: 0;
}

.admin-editor-heading h1 {
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.15;
}

.admin-section-heading h2 {
  font-size: clamp(22px, 1.8vw, 27px);
  line-height: 1.2;
}

.admin-editor-heading p,
.admin-section-heading p {
  margin: 6px 0 0;
  color: var(--color-text-muted);
}

.admin-editor-form {
  max-width: 960px;
}

.admin-editor-section {
  display: grid;
  gap: 18px;
}

.admin-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border-light);
}

.admin-step {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 900;
}

.admin-editor-form label:not(.admin-check-row):not(.media-picker-check) {
  display: grid;
  gap: 7px;
}

.admin-field-help {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.45;
}

.admin-field-help a,
.admin-dependency-list a {
  color: var(--color-primary);
  text-decoration: underline;
}

.admin-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.admin-check-row input {
  margin-top: 4px;
}

.admin-inline-button {
  justify-self: start;
}

.admin-advanced {
  margin: 0;
}

.admin-advanced > summary {
  cursor: pointer;
  font-weight: 800;
  list-style-position: outside;
}

.admin-advanced > summary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

.admin-advanced > p,
.admin-advanced-content {
  margin-top: 16px;
}

.admin-advanced-content {
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.admin-option-fieldset {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
}

.admin-option-fieldset legend {
  padding: 0 6px;
  font-weight: 800;
}

.admin-option-list {
  display: grid;
  gap: 10px;
}

.admin-save-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.admin-category-name {
  display: grid;
  gap: 3px;
  min-width: 180px;
  padding-left: calc(var(--category-depth) * 16px);
}

.admin-category-name small {
  color: var(--color-text-muted);
}

.admin-dependency-list {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  background: var(--color-surface-muted);
}

.admin-dependency-list h2 {
  margin-top: 0;
}

.admin-save-bar button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.lead-row-new td {
  background: var(--color-primary-light);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.status-badge-new {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.status-badge-in_progress {
  background: #fef3c7;
  color: #92400e;
}

.status-badge-done {
  background: #dcfce7;
  color: var(--color-success);
}

.status-badge-spam {
  background: #fee2e2;
  color: var(--color-danger);
}

.crop-frame {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--color-border-light);
  background: var(--color-surface-muted);
  touch-action: none;
  user-select: none;
}

.crop-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.crop-selection {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  border: 2px solid var(--color-primary);
  background: rgba(31, 94, 255, 0.14);
  box-shadow: 0 0 0 9999px rgba(17, 24, 39, 0.34);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .admin-shell {
    grid-template-columns: 260px 1fr;
  }

  .admin-sidebar {
    border-bottom: none;
    border-right: 1px solid var(--color-border-light);
  }

  .admin-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .media-picker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Category product filters */
.category-products-layout {
  display: grid;
  grid-template-areas:
    "heading"
    "sidebar"
    "results";
  gap: 18px;
  align-items: start;
}

.category-products-heading {
  grid-area: heading;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}

.category-filter-sidebar {
  grid-area: sidebar;
  min-width: 0;
}

.category-products-results {
  grid-area: results;
  min-width: 0;
}

.category-filter-sidebar .catalog-filters {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 0;
  padding: 20px;
}

.category-filter-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-light);
}

.category-filter-header h2 {
  margin: 2px 0 0;
  font-size: 26px;
  letter-spacing: 0;
}

.category-filter-active-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.category-filter-sidebar label > span,
.category-filter-fieldset legend {
  display: block;
  margin-bottom: 7px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.category-filter-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.category-filter-options {
  display: grid;
  gap: 8px;
}

.category-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
}

.category-filter-checkbox:hover {
  border-color: rgba(31, 94, 255, 0.48);
}

.category-filter-checkbox:has(input:checked) {
  border-color: rgba(31, 94, 255, 0.62);
  background: rgba(31, 94, 255, 0.06);
}

.category-filter-checkbox input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--color-primary);
}

.category-filter-checkbox > span {
  flex: 1 1 auto;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.3;
}

.category-filter-checkbox > small {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.category-filter-sidebar .catalog-filter-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .category-products-heading {
    flex-direction: row;
    align-items: center;
  }

  .category-filter-sidebar .catalog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-filter-header,
  .category-filter-sidebar .catalog-filter-actions {
    grid-column: 1 / -1;
  }

  .category-filter-sidebar .catalog-filter-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .category-products-heading {
    flex-direction: row;
    align-items: center;
  }

  .category-products-section .category-products-container {
    max-width: 1868px;
  }

  .category-products-layout {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1176px);
    grid-template-areas:
      "sidebar heading"
      "sidebar results";
    column-gap: 24px;
    row-gap: 24px;
    justify-content: start;
  }

  .category-filter-sidebar {
    position: sticky;
    top: 20px;
  }

  .category-filter-sidebar .catalog-filters {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .category-products-results .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .category-products-results .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .category-products-results .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Administration: compact toolbar, catalogue cards and inline media picker. */
.admin-body {
  --color-primary: #3e7bf4;
  --color-primary-light: #e9efff;
  --color-danger: #df354d;
  background: #f3f6fa;
  color: #182f4b;
}

.admin-body .admin-shell {
  display: block;
  min-height: 100vh;
}

.admin-header {
  background: #fff;
  box-shadow: 0 3px 12px rgba(31, 50, 86, 0.08);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding: 16px max(24px, calc((100vw - 1600px) / 2));
  background: linear-gradient(105deg, #6179e9 0%, #7652aa 100%);
  color: #fff;
}

.admin-body .admin-logo {
  flex: 0 0 auto;
  margin: 0;
  color: #fff;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.05;
}

.admin-logo small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.78;
  text-transform: uppercase;
}

.admin-toolbar-actions,
.admin-toolbar-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-toolbar-actions {
  margin-left: auto;
}

.admin-toolbar-account {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.admin-quick-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.admin-quick-button:hover {
  color: #fff;
  filter: brightness(1.05);
}

.admin-quick-primary { background: #3e7bf4; }
.admin-quick-cyan { background: #14a6bf; }
.admin-quick-danger { background: #dc324b; }
.admin-quick-light { background: #fff; color: #234064; }
.admin-quick-light:hover { color: #234064; }

.admin-body .admin-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 9px max(24px, calc((100vw - 1600px) / 2));
  scrollbar-width: thin;
}

.admin-body .admin-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 15px;
  border-radius: 10px;
  color: #677891;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.admin-body .admin-nav a span {
  font-size: 20px;
  line-height: 1;
}

.admin-body .admin-nav a:hover,
.admin-body .admin-nav a.is-active {
  background: #fff0f1;
  color: #e12e49;
}

.admin-body .admin-nav a.is-active {
  box-shadow: inset 0 -3px #e12e49, 0 4px 12px rgba(225, 46, 73, 0.12);
}

.admin-body .admin-content {
  max-width: 1648px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.admin-body .admin-card,
.admin-filter-card,
.admin-product-row {
  border: 1px solid #dce3ec;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(22, 39, 69, 0.06);
}

.admin-body .button-primary {
  border-color: #3e7bf4;
  background: #3e7bf4;
  color: #fff;
}

.admin-body .button-primary:hover {
  border-color: #296bea;
  background: #296bea;
  color: #fff;
}

.admin-body .button-danger {
  border-color: #dc324b;
  background: #dc324b;
  color: #fff;
}

.admin-body .button-cyan {
  border: 1px solid #159eb6;
  background: #159eb6;
  color: #fff;
}

.admin-body .button-cyan:hover {
  background: #0d8ea6;
  color: #fff;
}

.admin-page-heading,
.admin-list-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.admin-page-heading { margin-bottom: 24px; }
.admin-page-heading h1 { margin: 0 0 5px; font-size: clamp(27px, 2.2vw, 34px); }
.admin-page-heading p { margin: 0; color: #6a7b92; }
.admin-eyebrow { margin-bottom: 4px !important; color: #5176d7 !important; font-size: 12px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-page-count { padding: 12px 17px; border-radius: 9px; background: #fff; color: #687b93; }
.admin-page-count strong { margin-left: 6px; color: #17324f; font-size: 20px; }
.admin-list-header { margin: 28px 0 14px; }
.admin-list-header h2 { margin: 0; font-size: 22px; }

.admin-filter-card { padding: 18px; }
.admin-product-filters { display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(135px, 1fr)) auto; gap: 12px; align-items: end; }
.admin-product-filters label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; }
.admin-product-filters .input,
.admin-product-filters .select { min-height: 44px; }
.admin-filter-actions { display: flex; gap: 7px; }

.admin-product-list { display: grid; gap: 14px; }
.admin-product-row { display: grid; grid-template-columns: 80px minmax(200px, 1fr) auto; align-items: center; gap: 20px; padding: 20px 24px; }
.admin-product-image { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 10px; background: #f5f7fa; }
.admin-product-image .media-picker-thumb { width: 70px; height: 70px; border: 0; object-fit: contain; }
.admin-product-info { min-width: 0; }
.admin-product-info h3 { margin: 0 0 7px; font-size: 18px; line-height: 1.25; }
.admin-product-price { margin-bottom: 8px; color: #1aa75a; font-size: 21px; font-weight: 850; }
.admin-product-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-product-meta span { padding: 5px 9px; border: 1px solid #e3e8f0; border-radius: 6px; background: #f8fafc; color: #5f718a; font-size: 12px; }
.admin-product-actions { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 8px; }
.admin-product-actions .button { min-height: 42px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
.admin-product-status { display: flex; align-items: end; gap: 6px; }
.admin-product-status label { display: grid; gap: 3px; font-size: 11px; font-weight: 750; }
.admin-product-status .select { min-width: 128px; min-height: 42px; padding: 0 8px; font-size: 13px; }
.admin-empty-state { padding: 28px; }
.admin-category-row { border-left: 4px solid #8ba7ed; }
.admin-category-row.is-child { margin-left: 24px; border-left-color: #27afc5; }
.admin-category-path { margin: 0 0 9px; color: #708199; font-size: 13px; }

.admin-media-picker { display: grid; gap: 12px; }
.admin-media-current { display: flex; align-items: center; gap: 14px; min-height: 120px; padding: 14px; border: 1px dashed #b9c8df; border-radius: 11px; background: #f8faff; }
.admin-media-current img,
.admin-media-placeholder { flex: 0 0 90px; width: 90px; height: 90px; border-radius: 9px; }
.admin-media-current img { object-fit: contain; background: #fff; }
.admin-media-placeholder { display: grid; place-items: center; background: #e6edfa; color: #6482bc; font-size: 34px; }
.admin-media-current strong,
.admin-media-current small { display: block; overflow-wrap: anywhere; }
.admin-media-current small { margin-top: 5px; color: #718198; }
.admin-media-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-media-actions [hidden],
.admin-media-library[hidden],
.admin-media-tile[hidden],
.admin-media-library [hidden] { display: none !important; }
.admin-media-feedback { min-height: 20px; color: #188855; font-size: 13px; font-weight: 700; }
.admin-media-feedback.is-error { color: #d6304b; }
.admin-media-library { display: grid; gap: 14px; padding: 18px; border: 1px solid #dbe4f0; border-radius: 11px; background: #f8faff; }
.admin-media-library-head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 12px; }
.admin-media-library-head h3 { margin: 0 0 3px; font-size: 20px; }
.admin-media-library-head p { margin: 0; color: #6c7d94; }
.admin-media-library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; max-height: 370px; overflow-y: auto; }
.admin-media-tile { display: grid; gap: 5px; min-width: 0; padding: 7px; border: 2px solid #e1e8f2; border-radius: 9px; background: #fff; color: #243b59; cursor: pointer; text-align: left; }
.admin-media-tile:hover,
.admin-media-tile[aria-pressed="true"] { border-color: #3e7bf4; background: #eff4ff; }
.admin-media-tile img { width: 100%; height: 90px; object-fit: contain; }
.admin-media-tile span { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1180px) {
  .admin-product-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filter-actions { grid-column: 1 / -1; }
  .admin-product-row { grid-template-columns: 80px minmax(0, 1fr); }
  .admin-product-actions { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 760px) {
  .admin-toolbar { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .admin-body .admin-logo { width: 100%; font-size: 23px; }
  .admin-toolbar-actions { order: 2; width: 100%; margin-left: 0; }
  .admin-toolbar-account { order: 1; margin-left: auto; border-left: 0; padding-left: 0; }
  .admin-toolbar-account span { display: none; }
  .admin-body .admin-nav { padding: 7px 12px; }
  .admin-body .admin-content { padding: 20px 12px 48px; }
  .admin-product-filters { grid-template-columns: 1fr; }
  .admin-filter-actions { grid-column: auto; }
  .admin-product-row { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 15px; }
  .admin-category-row.is-child { margin-left: 10px; }
  .admin-product-image { width: 62px; height: 62px; }
  .admin-product-image .media-picker-thumb { width: 56px; height: 56px; }
  .admin-product-actions { grid-column: 1 / -1; }
  .admin-product-status { width: 100%; }
  .admin-media-current img,
  .admin-media-placeholder { flex-basis: 70px; width: 70px; height: 70px; }
}

/* Refined admin spacing and shared icon treatment. */
.admin-body .admin-toolbar {
  flex-wrap: wrap;
  padding-inline: 10%;
}

.admin-body .admin-nav {
  padding-inline: 10%;
  scrollbar-color: #a6b6d2 #f1f4f9;
  scrollbar-width: thin;
}

.admin-body .admin-content {
  max-width: none;
  padding-inline: 10%;
}

.admin-body .admin-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.admin-body .admin-logo img {
  flex: 0 0 auto;
  border-radius: 10px;
}

.admin-icon {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.admin-body .admin-nav a .admin-icon { flex-basis: 19px; width: 19px; height: 19px; }
.admin-quick-button { gap: 8px; }
.admin-body .button .admin-icon { flex: 0 0 16px; width: 16px; height: 16px; }
.admin-product-actions .button,
.admin-list-header .button,
.admin-attribute-row .button,
.admin-attribute-create .button,
.admin-media-page-actions .button,
.admin-media-page-heading .button,
.admin-filter-actions .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.admin-body a:focus-visible,
.admin-body button:focus-visible,
.admin-body input:focus-visible,
.admin-body select:focus-visible,
.admin-body summary:focus-visible {
  outline: 2px solid #276dce;
  outline-offset: 3px;
}

.about-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 22px;
  margin-bottom: 28px;
}

.about-overview > div {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #e1e8ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 48, 80, 0.06);
}

.about-overview-main { background: linear-gradient(135deg, #f7fbff, #fff) !important; }
.about-overline { margin: 0 0 8px; color: #1a8ea6; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.about-overview h2 { margin: 0 0 16px; color: #173858; font-size: clamp(24px, 2.5vw, 36px); }
.about-overview p { max-width: 62ch; line-height: 1.65; }
.about-overview .button { margin-top: 8px; }

@media (max-width: 900px) {
  .admin-body .admin-toolbar,
  .admin-body .admin-nav { padding-inline: 5%; }
  .admin-body .admin-content { padding-inline: 5%; }
  .about-overview { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .admin-body .admin-toolbar,
  .admin-body .admin-nav { padding-inline: 16px; }
  .admin-body .admin-content { padding-inline: 16px; }
}

.admin-media-picker { gap: 16px; }
.admin-media-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.admin-media-section-head h3 { margin: 0 0 4px; color: #173858; font-size: 18px; }
.admin-media-section-head p { margin: 0; color: #687a92; font-size: 13px; }
.admin-media-current { min-height: 130px; border-style: solid; background: linear-gradient(135deg, #f7faff, #fff); }
.admin-media-gallery-section { display: grid; gap: 14px; margin-top: 8px; padding-top: 20px; border-top: 1px solid #e2e9f2; }
.admin-media-selected-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.admin-media-selected-card { display: grid; gap: 8px; min-width: 0; padding: 11px; border: 1px solid #dbe4f0; border-radius: 12px; background: #fff; }
.admin-media-selected-card .media-picker-thumb { width: 100%; height: 126px; object-fit: contain; background: #f7faff; border-radius: 8px; }
.admin-media-selected-card strong { overflow: hidden; color: #263e5c; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-media-selected-card label { display: grid; gap: 4px; color: #5f718a; font-size: 12px; }
.admin-media-selected-card .input { min-height: 36px; }
.admin-media-remove { min-height: 36px; border: 1px solid #f4c7cd; border-radius: 7px; background: #fff5f6; color: #af2940; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.admin-media-remove:hover { background: #ffe8ec; }
.admin-media-gallery-section [hidden] { display: none !important; }
.admin-media-dialog { width: min(960px, calc(100vw - 28px)); max-width: 960px; max-height: min(86vh, 900px); padding: 0; border: 1px solid #d4deeb; border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(16, 38, 73, .28); color: #173858; }
.admin-media-dialog::backdrop { background: rgba(12, 28, 53, .66); }
.admin-media-dialog-inner { display: grid; gap: 18px; padding: clamp(18px, 3vw, 30px); }
.admin-media-dialog-head { display: flex; justify-content: space-between; gap: 18px; }
.admin-media-dialog-head h3 { margin: 0 0 5px; font-size: clamp(21px, 2vw, 27px); }
.admin-media-dialog-head p { margin: 0; color: #697b92; }
.admin-media-dialog-close { flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #d9e2ee; border-radius: 9px; background: #f7f9fc; color: #425b78; font-size: 28px; line-height: 1; cursor: pointer; }
.admin-media-dialog-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.admin-media-dialog-tools label { display: grid; flex: 1 1 280px; gap: 5px; color: #516681; font-size: 12px; font-weight: 750; }
.admin-media-dialog-tools .input { min-height: 43px; }
.admin-media-dialog .admin-media-library-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); max-height: min(50vh, 480px); padding: 3px; }
.admin-media-dialog .admin-media-tile { min-height: 148px; border-radius: 11px; }
.admin-media-dialog .admin-media-tile img { height: 96px; }
.admin-media-dialog .admin-media-tile small { min-height: 16px; color: #168b9f; font-size: 10px; font-weight: 800; }
.admin-media-dialog [hidden] { display: none !important; }
.admin-media-dialog-footer { display: flex; justify-content: flex-end; padding-top: 14px; border-top: 1px solid #e7edf5; }

.admin-attribute-layout { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); align-items: start; gap: 20px; }
.admin-attribute-create { position: sticky; top: 18px; }
.admin-attribute-layout .admin-card h2 { margin-top: 0; }
.admin-attribute-layout .admin-card > h2 { font-size: 23px; line-height: 1.25; overflow-wrap: anywhere; }
.admin-attribute-list { display: grid; gap: 12px; }
.admin-attribute-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.admin-attribute-row h2 { margin: 0 0 4px !important; font-size: 18px; }
.admin-attribute-row p { margin: 0; color: #687a92; font-size: 13px; }
.admin-attribute-option { display: grid; grid-template-columns: minmax(170px, 1fr) 90px auto auto; align-items: end; gap: 8px; padding: 12px 0; border-top: 1px solid #e8edf4; }
.admin-attribute-option label { display: grid; gap: 4px; color: #60728b; font-size: 12px; }
.admin-attribute-option .input { min-height: 40px; }
.admin-attribute-option .button { min-height: 40px; }
.admin-delete-card { max-width: 720px; }

.admin-media-page-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.admin-media-page-heading h1 { margin: 0 0 6px; }
.admin-media-page-heading p { max-width: 65ch; margin: 0; color: #63758d; }
.admin-media-page-search { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 12px; }
.admin-media-page-search label { flex: 1 1 270px; }
.admin-media-page-count { margin: 0 0 18px; color: #687a92; }
.admin-media-page-count strong { color: #173858; }
.admin-media-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.admin-media-page-card { overflow: hidden; min-width: 0; border: 1px solid #e0e8f2; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(20, 48, 80, .05); }
.admin-media-page-preview { display: grid; place-items: center; height: 190px; padding: 10px; background: #f5f8fc; }
.admin-media-page-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.admin-media-page-info { padding: 15px; }
.admin-media-page-info h2 { overflow: hidden; margin: 0 0 5px; color: #173858; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.admin-media-page-info p { margin: 0 0 9px; color: #708096; font-size: 12px; }
.admin-media-page-info .admin-media-page-alt { overflow: hidden; min-height: 17px; text-overflow: ellipsis; white-space: nowrap; }
.admin-media-page-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 9px; border-top: 1px solid #edf1f6; }
.admin-media-page-actions .button { min-height: 34px; padding-inline: 9px; font-size: 11px; }

@media (max-width: 900px) {
  .admin-attribute-layout { grid-template-columns: 1fr; }
  .admin-attribute-create { position: static; }
}
@media (max-width: 600px) {
  .admin-media-dialog-tools .button { width: 100%; }
  .admin-media-dialog .admin-media-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-attribute-option { grid-template-columns: minmax(0, 1fr) 80px; }
  .admin-attribute-option .button { width: 100%; }
}

@media (max-width: 760px) {
  .admin-filter-card,
  .admin-product-filters > *,
  .admin-product-filters .input,
  .admin-product-filters .select { min-width: 0; }
  .admin-product-filters { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .admin-filter-actions { flex-wrap: wrap; }
  .admin-filter-actions .button { flex: 1 1 100%; }
  .admin-product-status { flex-wrap: wrap; }
  .admin-product-status label { flex: 1 1 100%; min-width: 0; }
  .admin-product-status .select { width: 100%; min-width: 0; }
  .admin-product-actions .button { white-space: normal; }
}

/* Customer-facing accessibility and responsive refinements. */
body:not(.admin-body) {
  --color-primary-light: #eef4ff;
  --color-text-light: #626d7b;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-text);
  color: #ffffff;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus-visible { transform: translateY(0); }

body:not(.admin-body) :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

body:not(.admin-body) main:focus { outline: none; }

body:not(.admin-body) :is(.input, .textarea, .select)::placeholder {
  color: var(--color-text-light);
  opacity: 1;
}

body:not(.admin-body) .product-card-badge:not(.product-card-badge-out_of_stock):not(.product-card-badge-on_order) {
  color: #3b230e;
}

.product-card-price::before { display: none; }

.about-overline { color: #146f82; }
.about-overview-side a {
  color: var(--color-primary-hover);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero-visual { display: none; }

.product-gallery-thumb { cursor: pointer; }

.category-filter-toggle { display: none; }

.catalog-filter-disclosure { margin-bottom: 28px; }
.catalog-filter-disclosure .catalog-filters { margin-bottom: 0; }

:is(#price-request, #product-request, #category-request) { scroll-margin-top: 110px; }

@media (max-width: 1119px) {
  .header-menu {
    max-height: calc(100dvh - 134px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mega-menu-flyout-layout { min-height: 0; overflow: visible; }
}

@media (max-width: 767px) {
  .page-header:not(.catalog-page-header):not(.category-page-header) {
    padding-top: 24px;
    padding-bottom: 16px;
  }

  .page-header:not(.catalog-page-header):not(.category-page-header) + .section-sm {
    padding-top: 16px;
  }

  .home-hero-globe {
    min-height: 0;
    background-image: none !important;
    background-color: #f7faff;
  }

  .home-hero-globe .home-hero-overlay {
    min-height: 0;
    padding: 36px 0 44px;
    background: none;
  }

  .home-hero-content { gap: 24px; }

  .home-hero .hero-title { font-size: clamp(30px, 9vw, 34px); }

  .home-hero-visual {
    display: block;
    height: clamp(176px, 53vw, 250px);
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 16px;
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow-md);
  }

  .category-page-header { padding-top: 20px; padding-bottom: 0; }
  .category-products-section { padding-top: 20px; }
  .category-products-layout { gap: 14px; }

  .catalog-categories-section .category-grid:has(> .category-card:only-child),
  .catalog-grid:has(> .product-card:only-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-filter-sidebar,
  .catalog-filter-disclosure {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
  }

  .catalog-filter-disclosure { margin-bottom: 20px; }

  .category-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 12px 18px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

  .category-filter-toggle::-webkit-details-marker { display: none; }
  .category-filter-toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }

  :is(.category-filter-sidebar, .catalog-filter-disclosure)[open] .category-filter-toggle::after { transform: rotate(225deg); }
  .category-filter-toggle .category-filter-active-count { margin-left: 4px; }
  :is(.category-filter-sidebar, .catalog-filter-disclosure) .catalog-filters { border: 0; border-top: 1px solid var(--color-border-light); box-shadow: none; }
  .category-filter-header { display: none; }

  body:not(.admin-body) :is(.input, .textarea, .select) { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not(.admin-body) *,
  body:not(.admin-body) *::before,
  body:not(.admin-body) *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 360px) {
  .info-panel { min-width: 0; padding: 20px; }
  .honest-sign-panel h2 { flex-direction: column; }
  .info-panel .button { align-self: stretch; white-space: normal; text-align: center; }
}

@media (min-width: 768px) and (max-width: 1119px) {
  .home-hero-globe {
    min-height: 0;
    background-image: none !important;
    background-color: #f7faff;
  }

  .home-hero-globe .home-hero-overlay {
    min-height: 0;
    padding: 56px 0;
    background: none;
  }

  .home-hero-globe .home-hero-copy,
  .home-hero-globe .hero-title,
  .home-hero-globe .hero-text { max-width: 760px; }

  .home-hero .hero-title { font-size: clamp(38px, 4.5vw, 48px); }

  .home-hero-visual {
    display: block;
    height: clamp(260px, 34vw, 360px);
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 20px;
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow-md);
  }
}
