:root {
  --catalog-blue: #0052ff;
  --catalog-ink: #0f172a;
  --catalog-muted: #64748b;
  --catalog-line: #dfe6ef;
  --catalog-bg: #f3f6fa;
  --catalog-orange: #ff9500;
}
.home-page #categories,
.home-page #products,
.home-page #mobile-power {
  display: none !important;
}
.home-page #catalog-home .catalog-product > p {
  display: none;
}
#catalog-home {
  background: #f4f6f8;
  padding: 20px 0 36px;
}
.catalog-wrap {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
}
.catalog-category-nav {
  padding: 38px 0 28px;
  background: #fff;
}
.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.catalog-heading h2 {
  margin: 3px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.catalog-heading > a {
  color: var(--catalog-blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-kicker {
  display: block;
  color: var(--catalog-blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.catalog-category-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 9px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.catalog-category-strip::-webkit-scrollbar {
  display: none;
}
.catalog-category-strip a {
  flex: 1 0 150px;
  min-width: 150px;
  padding: 16px 13px;
  border: 1px solid var(--catalog-line);
  border-radius: 18px;
  color: var(--catalog-ink);
  text-align: center;
  text-decoration: none;
  background: #fff;
  scroll-snap-align: start;
  transition: 0.2s;
}
.catalog-category-strip a:hover {
  border-color: #8caeff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.catalog-category-strip a span {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #edf1f5;
  border-radius: 50%;
  background: #f7f9fc;
}
.catalog-category-strip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.catalog-category-strip strong {
  display: block;
  font-size: 0.76rem;
}
.catalog-home-section {
  padding: 22px 0 34px;
  background: transparent;
  scroll-margin-top: 120px;
}
.catalog-home-alt {
  background: transparent;
}
.catalog-group-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.catalog-group-label p {
  margin: 0;
  color: var(--catalog-muted);
  font-size: 0.75rem;
}
.catalog-home-section .catalog-group-label {
  align-items: center;
  gap: 13px;
  justify-content: center;
  margin-bottom: 16px;
}
.catalog-home-section .catalog-group-label:before,
.catalog-home-section .catalog-group-label:after {
  content: "";
  height: 1px;
  flex: 1 1 0;
  background: #d5dce6;
}
.catalog-home-section .catalog-group-label .catalog-kicker {
  color: var(--catalog-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}
.home-subcategory-shell {
  position: relative;
  padding: 15px 20px;
  border: 1px solid var(--catalog-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
}
.home-subcategory-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.home-subcategory-strip::-webkit-scrollbar {
  display: none;
}
.home-subcategory {
  flex: 1 0 128px;
  min-width: 128px;
  padding: 3px 7px 5px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--catalog-ink);
  text-align: center;
  scroll-snap-align: start;
}
.home-subcategory span {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 50%;
  background: #f8fafc;
  transition: 0.2s;
}
.home-subcategory img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-subcategory strong {
  display: block;
  font-size: 0.7rem;
  line-height: 1.25;
}
.home-subcategory small {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 0.58rem;
}
.home-subcategory:hover span,
.home-subcategory.active span {
  border-color: var(--catalog-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.09);
}
.home-subcategory.active strong {
  color: var(--catalog-blue);
}
.home-subcategory-shell > .catalog-arrow {
  top: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.15rem;
}
.home-subcategory-shell > .catalog-arrow-left {
  left: -17px;
}
.home-subcategory-shell > .catalog-arrow-right {
  right: -17px;
}
.catalog-product-heading {
  margin: 18px 0 13px;
}
.catalog-product-heading h2 {
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.catalog-product-count {
  display: inline-flex;
  min-width: 1.55em;
  align-items: center;
  justify-content: center;
  margin-left: 0.28rem;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  background: #e8f0ff;
  color: var(--catalog-blue);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: 0.08em;
}
.catalog-carousel {
  position: relative;
}
.catalog-carousel > .catalog-arrow {
  top: 29px;
}
.catalog-product-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 3px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.catalog-product-row::-webkit-scrollbar {
  display: none;
}
.catalog-product {
  display: flex;
  flex: 0 0 clamp(190px, 15vw, 225px);
  min-width: 0;
  min-height: 370px;
  flex-direction: column;
  padding: 11px;
  border: 1px solid var(--catalog-line);
  border-radius: 14px;
  background: #fff;
  scroll-snap-align: start;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.catalog-product:hover {
  border-color: #9bb8ff;
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(15, 23, 42, 0.08);
}
.catalog-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  margin-bottom: 9px;
}
.catalog-product-meta > span {
  color: var(--catalog-blue);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.catalog-heart {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 1.3rem;
  line-height: 1;
}
.catalog-heart.active {
  color: #ef4444;
}
.catalog-product-image {
  display: grid;
  height: 210px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.catalog-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 14px;
  object-fit: contain;
  object-position: center;
  transition: none;
}
.catalog-product:hover img {
  transform: none;
}
.catalog-rating {
  margin-top: 13px;
  color: #f59e0b;
  font-size: 0.69rem;
  letter-spacing: 0.05em;
}
.catalog-rating span {
  margin-left: 5px;
  color: #94a3b8;
  letter-spacing: 0;
  font-size: 0.63rem;
}
.catalog-product h3 {
  margin: 7px 0 6px;
  color: var(--catalog-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  line-height: 1.25;
}
.catalog-product > p {
  display: none;
}
.catalog-buy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #edf1f5;
}
.catalog-buy strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
}
.catalog-old-price {
  display: block;
  color: #94a3b8;
  font-size: 0.61rem;
  text-decoration: line-through;
}
.catalog-buy button {
  border: 0;
  border-radius: 10px;
  background: var(--catalog-orange);
  padding: 10px 12px;
  color: #111827;
  font-size: 0.69rem;
  font-weight: 800;
  white-space: nowrap;
}
.catalog-product-meta > span.out-of-stock {
  color: #dc2626;
}
.catalog-buy button[disabled] {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}
.catalog-arrow {
  position: absolute;
  z-index: 3;
  top: 43%;
  display: grid;
  width: 28px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--catalog-blue);
  box-shadow: none;
  font-size: 1.8rem;
  line-height: 1;
  text-shadow: 0 0 0 rgba(0, 82, 255, 0);
  transform: translateY(-50%);
  animation: catalog-arrow-glow 1.8s ease-in-out infinite;
}
@keyframes catalog-arrow-glow {
  0%,
  100% {
    opacity: 0.58;
    text-shadow: 0 0 0 rgba(0, 82, 255, 0);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 8px rgba(0, 82, 255, 0.7),
      0 0 18px rgba(0, 82, 255, 0.35);
  }
}
.catalog-arrow:hover {
  animation-play-state: paused;
  opacity: 1;
  text-shadow:
    0 0 10px rgba(0, 82, 255, 0.75),
    0 0 20px rgba(0, 82, 255, 0.4);
}
@media (prefers-reduced-motion: reduce) {
  .catalog-arrow {
    animation: none;
    opacity: 1;
    text-shadow: 0 0 7px rgba(0, 82, 255, 0.4);
  }
}
.catalog-arrow[hidden] {
  display: none !important;
}
.catalog-arrow-left {
  left: -22px;
}
.catalog-arrow-right {
  right: -22px;
}
.catalog-row-empty {
  display: grid;
  min-height: 180px;
  flex: 1;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #64748b;
  font-size: 0.78rem;
}

.catalog-page {
  margin: 0;
  background: #f4f7fb;
  color: var(--catalog-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.catalog-page * {
  box-sizing: border-box;
}
.catalog-page button,
.catalog-page input,
.catalog-page select,
.catalog-page textarea {
  font: inherit;
}
.catalog-shell-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e5eaf1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}
.catalog-shell-header > div {
  display: flex;
  width: min(1380px, calc(100% - 48px));
  height: 72px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.catalog-shell-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.catalog-shell-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.catalog-shell-logo b {
  color: var(--catalog-orange);
}
.catalog-shell-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.catalog-shell-nav a {
  color: #475569;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}
.catalog-shell-nav a:hover {
  color: var(--catalog-blue);
}
.nav-badge-menu {
  position: relative;
}
.nav-badge-menu summary {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}
.nav-badge-menu summary::-webkit-details-marker {
  display: none;
}
.nav-badge-menu summary span {
  font-size: 0.9rem;
  transition: transform 0.18s;
}
.nav-badge-menu[open] summary {
  color: var(--catalog-blue);
}
.nav-badge-menu[open] summary span {
  transform: rotate(180deg);
}
.nav-badge-menu > div {
  position: absolute;
  z-index: 30;
  top: calc(100% + 13px);
  right: -14px;
  display: grid;
  min-width: 132px;
  padding: 7px;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}
.nav-badge-menu > div a {
  padding: 8px 9px;
  border-radius: 7px;
  white-space: nowrap;
}
.nav-badge-menu > div a:hover {
  background: #edf4ff;
  color: var(--catalog-blue);
}
.store-hero {
  padding: 58px 0 42px;
  background: #fff;
  border-bottom: 1px solid #e8edf3;
}
.store-back {
  display: inline-block;
  margin-bottom: 30px;
  color: #64748b;
  text-decoration: none;
  font-size: 0.77rem;
  font-weight: 700;
}
.store-hero h1 {
  margin: 6px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
.store-hero p {
  max-width: 580px;
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}
.store-products {
  min-height: 520px;
  padding: 34px 0 70px;
}
.subcategory-bar {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 13px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.subcategory-chip {
  flex: none;
  border: 1px solid var(--catalog-line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 17px;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  scroll-snap-align: start;
}
.subcategory-chip.active {
  border-color: var(--catalog-blue);
  background: var(--catalog-blue);
  color: #fff;
}
.store-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 23px 0 18px;
}
.store-result-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}
.store-result-head span {
  color: #64748b;
  font-size: 0.75rem;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.store-grid .catalog-product {
  min-width: 0;
}
.catalog-empty {
  grid-column: 1/-1;
  padding: 70px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  text-align: center;
  background: #fff;
}
.catalog-empty h3,
.catalog-empty h1 {
  margin: 0 0 8px;
}
.catalog-empty p {
  margin: 0;
  color: #64748b;
}
.catalog-product[data-product-link] {
  cursor: pointer;
}
.catalog-shell-footer {
  padding: 26px 0;
  background: #0b1220;
  color: #cbd5e1;
  text-align: center;
  font-size: 0.72rem;
}
.store-search {
  display: flex;
  max-width: 620px;
  margin: 0 0 22px;
  border: 1px solid var(--catalog-line);
  border-radius: 13px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.store-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 12px;
  color: var(--catalog-ink);
  font:
    600 0.78rem "Plus Jakarta Sans",
    sans-serif;
  outline: 0;
}
.store-search button {
  border: 0;
  border-radius: 9px;
  background: var(--catalog-blue);
  padding: 0 18px;
  color: #fff;
  font:
    800 0.72rem "Plus Jakarta Sans",
    sans-serif;
}
.store-search:focus-within {
  border-color: var(--catalog-blue);
  box-shadow: 0 0 0 4px #dce8ff;
}

.admin-page {
  min-height: 100vh;
  background: #edf2f8;
  color: #0f172a;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.admin-page * {
  box-sizing: border-box;
}
.admin-page button,
.admin-page input,
.admin-page select,
.admin-page textarea {
  font: inherit;
}
.admin-top {
  background: #0f172a;
  color: #fff;
}
.admin-top > div {
  display: flex;
  width: min(1240px, calc(100% - 40px));
  height: 72px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.admin-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.admin-top a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
}
.admin-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 70px;
}
.admin-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.admin-intro h1 {
  margin: 0 0 7px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.25rem;
}
.admin-intro p {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
}
.admin-reset {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.72rem;
}
.admin-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: start;
}
.admin-panel {
  overflow: hidden;
  border: 1px solid #dbe3ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.admin-panel-head {
  padding: 18px 20px;
  border-bottom: 1px solid #e8edf3;
}
.admin-panel-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}
.admin-panel-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 0.7rem;
}
.admin-settings {
  margin-bottom: 22px;
}
.admin-settings form {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 180px minmax(220px, 1fr);
  gap: 14px;
  align-items: end;
  padding: 18px 20px;
}
.admin-settings .admin-field {
  margin: 0;
}
.admin-settings .admin-message {
  align-self: center;
  margin: 0;
}
.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 10px;
  background: #f8fafc;
  border-bottom: 1px solid #e8edf3;
}
.admin-tab {
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 9px 5px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 800;
}
.admin-tab.active {
  background: #fff;
  color: var(--catalog-blue);
  box-shadow: 0 2px 9px rgba(15, 23, 42, 0.08);
}
.admin-form {
  display: none;
  padding: 20px;
}
.admin-form.active {
  display: block;
}
.admin-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.admin-field label {
  font-size: 0.68rem;
  font-weight: 800;
}
.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  border: 1px solid #d8e0ea;
  border-radius: 9px;
  background: #fff;
  padding: 10px 11px;
  color: #0f172a;
  font-size: 0.75rem;
  outline: 0;
}
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  border-color: var(--catalog-blue);
  box-shadow: 0 0 0 3px #dce8ff;
}
.admin-field textarea {
  min-height: 78px;
  resize: vertical;
}
.admin-submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--catalog-blue);
  padding: 11px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.admin-message {
  min-height: 20px;
  margin: 10px 0 0;
  color: #047857;
  font-size: 0.69rem;
  font-weight: 700;
}
.admin-list {
  padding: 10px 20px 20px;
}
.admin-list-section {
  padding: 13px 0;
  border-bottom: 1px solid #edf1f5;
}
.admin-list-section:last-child {
  border: 0;
}
.admin-list-section h3 {
  margin: 0 0 9px;
  font-size: 0.85rem;
}
.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}
.admin-item-info {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}
.admin-item-info img {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: #f3f6fa;
  object-fit: contain;
}
.admin-item-info strong {
  display: block;
  overflow: hidden;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-item-info span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 0.63rem;
}
.admin-delete {
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  color: #dc2626;
  padding: 7px 9px;
  font-size: 0.64rem;
  font-weight: 800;
}
.admin-empty {
  padding: 55px 20px;
  color: #64748b;
  text-align: center;
  font-size: 0.75rem;
}

@media (max-width: 980px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-forms {
    order: 1;
  }
  .admin-settings form {
    grid-template-columns: 1fr;
  }
  .catalog-product {
    flex-basis: calc((100% - 54px) / 4);
    min-width: 170px;
  }
}
@media (max-width: 700px) {
  #catalog-home {
    padding-top: 8px;
  }
  .catalog-wrap {
    width: calc(100% - 28px);
  }
  .catalog-category-nav {
    padding: 25px 0 18px;
  }
  .catalog-heading {
    margin-bottom: 15px;
  }
  .catalog-heading h2 {
    font-size: 1.13rem;
  }
  .catalog-heading > a {
    font-size: 0.69rem;
  }
  .catalog-category-strip {
    margin-right: -14px;
    padding-right: 14px;
  }
  .catalog-category-strip a {
    flex-basis: 105px;
    min-width: 105px;
    padding: 12px 7px;
    border-radius: 15px;
  }
  .catalog-category-strip a span {
    width: 50px;
    height: 50px;
  }
  .catalog-category-strip strong {
    font-size: 0.65rem;
  }
  .catalog-home-section {
    padding: 20px 0 24px;
  }
  .catalog-group-label {
    display: block;
    margin-bottom: 9px;
  }
  .catalog-group-label p {
    margin-top: 4px;
    font-size: 0.66rem;
  }
  .home-subcategory-shell {
    padding: 12px 10px;
    margin-right: -14px;
    border-radius: 12px;
    border-right: 0;
  }
  .home-subcategory-strip {
    gap: 3px;
    padding-right: 14px;
  }
  .home-subcategory {
    flex-basis: 94px;
    min-width: 94px;
    padding: 2px 4px;
  }
  .home-subcategory span {
    width: 56px;
    height: 56px;
  }
  .home-subcategory strong {
    font-size: 0.62rem;
  }
  .home-subcategory small {
    font-size: 0.53rem;
  }
  .catalog-product-heading {
    margin: 14px 0 10px;
  }
  .catalog-product-heading h2 {
    font-size: 0.95rem;
  }
  .catalog-product-row {
    margin-right: -14px;
    padding-right: 14px;
    gap: 10px;
  }
  .catalog-product {
    flex-basis: clamp(180px, 58vw, 220px);
    min-width: 0;
    min-height: 350px;
    padding: 10px;
    border-radius: 15px;
  }
  .catalog-product-image {
    height: 200px;
  }
  .catalog-product h3 {
    font-size: 0.82rem;
  }
  .catalog-product > p {
    font-size: 0.62rem;
  }
  .catalog-arrow:not([hidden]) {
    display: grid !important;
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }
  .home-subcategory-shell > .catalog-arrow-left,
  .catalog-carousel > .catalog-arrow-left {
    left: 6px;
  }
  .home-subcategory-shell > .catalog-arrow-right {
    right: 6px;
  }
  .catalog-carousel > .catalog-arrow:not([hidden]) {
    width: 42px;
    height: 42px;
    font-size: 1.75rem;
  }
  .catalog-carousel > .catalog-arrow-right {
    right: -10px;
  }
  .catalog-shell-header > div {
    width: calc(100% - 28px);
    height: 62px;
  }
  .catalog-shell-logo img {
    width: 34px;
    height: 34px;
  }
  .catalog-shell-nav a:not(:last-child) {
    display: none;
  }
  .store-hero {
    padding: 34px 0 28px;
  }
  .store-back {
    margin-bottom: 23px;
  }
  .store-hero h1 {
    font-size: 2.35rem;
  }
  .store-hero p {
    font-size: 0.8rem;
  }
  .store-products {
    padding: 22px 0 48px;
  }
  .subcategory-bar {
    margin-right: -14px;
    padding-right: 14px;
  }
  .subcategory-chip {
    padding: 9px 13px;
    font-size: 0.68rem;
  }
  .store-result-head {
    margin: 18px 0 13px;
  }
  .store-result-head h2 {
    font-size: 1.08rem;
  }
  .store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    margin-right: 0;
    padding-right: 0;
  }
  .store-grid .catalog-product {
    flex: none;
    min-width: 0;
    min-height: 0;
    padding: 8px;
    border-radius: 12px;
  }
  .store-grid .catalog-product-image {
    height: 125px;
  }
  .store-grid .catalog-product-image img {
    padding: 5px;
  }
  .store-grid .catalog-product-meta {
    min-height: 24px;
    margin-bottom: 3px;
  }
  .store-grid .catalog-product-meta > span {
    font-size: 0.53rem;
  }
  .store-grid .catalog-product-meta .product-heart {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }
  .store-grid .catalog-product-meta .product-heart .svg-outline,
  .store-grid .catalog-product-meta .product-heart .svg-filled {
    width: 18px;
    height: 18px;
  }
  .store-grid .catalog-rating {
    margin-top: 7px;
    font-size: 0.54rem;
    letter-spacing: 0.02em;
  }
  .store-grid .catalog-rating span {
    display: none;
  }
  .store-grid .catalog-product h3 {
    display: -webkit-box;
    min-height: 3.75em;
    margin: 5px 0 7px;
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .store-grid .catalog-buy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
    align-items: center;
    margin-top: 7px;
    padding-top: 8px;
  }
  .store-grid .catalog-buy > div {
    min-width: 0;
  }
  .store-grid .catalog-buy strong {
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .store-grid .catalog-old-price {
    font-size: 0.54rem;
  }
  .store-grid .catalog-buy button {
    width: auto;
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 0.56rem;
  }
  .catalog-empty {
    min-width: calc(100% - 14px);
  }
  .admin-main,
  .admin-top > div {
    width: calc(100% - 28px);
  }
  .admin-main {
    padding-top: 25px;
  }
  .admin-intro {
    display: block;
  }
  .admin-intro h1 {
    font-size: 1.75rem;
  }
  .admin-reset {
    margin-top: 15px;
  }
  .admin-panel {
    border-radius: 14px;
  }
  .admin-tabs {
    overflow-x: auto;
    display: flex;
  }
  .admin-tab {
    flex: 1 0 90px;
  }
  .admin-form,
  .admin-list {
    padding: 16px;
  }
  .admin-list-section h3 {
    font-size: 0.78rem;
  }
  .catalog-arrow {
    display: none !important;
  }
}
@media (max-width: 700px) {
  .catalog-home-section .catalog-group-label {
    display: flex;
    gap: 10px;
    margin-bottom: 13px;
  }
  .catalog-home-section .catalog-group-label .catalog-kicker {
    font-size: 1.08rem;
  }
}

/* Keep focused fields at a zoom-safe size on iOS and Android browsers. */
@media (max-width: 1024px), (pointer: coarse) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

.store-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.store-filter-row label {
  display: grid;
  gap: 6px;
  color: #697386;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.store-filter-row select {
  width: 100%;
  border: 1px solid #dce3ed;
  border-radius: 11px;
  background: #fff;
  padding: 11px 12px;
  color: #13213b;
  font: 700 0.82rem inherit;
}
.product-variant i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.2);
  display: inline-block;
  vertical-align: -2px;
  margin-right: 7px;
}
@media (max-width: 760px) {
  .store-filter-row {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .store-filter-row label {
    font-size: 0.65rem;
  }
}
