:root {
  color-scheme: light;
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-soft: #eef3ec;
  --ink: #17201b;
  --muted: #647067;
  --line: #dce4dc;
  --accent: #1f7a68;
  --accent-strong: #155c4f;
  --warm: #f2b84b;
  --shadow: 0 22px 60px rgba(23, 32, 27, 0.11);
  --surface-glass: rgba(255, 255, 255, 0.62);
  --surface-soft-glass: rgba(238, 243, 236, 0.48);
  --ui-font: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --title-font: Georgia, "Times New Roman", ui-serif, serif;
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html {
  min-width: 320px;
  background: #111a16;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

#portada,
#catalogo,
#contactos {
  scroll-margin-top: 24px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  -ms-overflow-style: none;
  background:
    linear-gradient(180deg, rgba(244, 246, 243, 0.42), rgba(244, 246, 243, 0.34)),
    radial-gradient(circle at 16% 8%, rgba(242, 184, 75, 0.08), transparent 28%),
    linear-gradient(120deg, rgba(17, 32, 27, 0.07), rgba(31, 122, 104, 0.03)),
    url("./fondo_principal.png") center / cover fixed no-repeat;
  font-family: var(--ui-font);
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

.catalog-shell {
  position: relative;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 42px) 32px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.catalog-shell::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 780px);
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  min-height: clamp(360px, 42vw, 520px);
  padding: clamp(24px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(31, 122, 104, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(9, 20, 17, 0.22) 0%, rgba(9, 20, 17, 0.14) 46%, rgba(9, 20, 17, 0.05) 76%, rgba(9, 20, 17, 0.01) 100%),
    linear-gradient(180deg, rgba(9, 20, 17, 0.01), rgba(9, 20, 17, 0.08)),
    url("./portada.png") center / cover no-repeat;
  background-color: #113b35;
  box-shadow: var(--shadow);
  color: #fff;
}

.hero::before {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(242, 184, 75, 0.04), transparent 30%),
    linear-gradient(90deg, rgba(17, 59, 53, 0.04), transparent 58%);
  opacity: 0.32;
}

.hero__title-image {
  position: absolute;
  top: clamp(16px, 2.6vw, 30px);
  left: clamp(16px, 3vw, 42px);
  z-index: 2;
  display: block;
  width: clamp(220px, 28vw, 430px);
  max-width: calc(100% - 96px);
  height: auto;
  object-fit: contain;
  background: transparent;
  clip-path: polygon(0 24%, 8% 18%, 12% 6%, 28% 6%, 32% 0, 76% 0, 82% 8%, 93% 14%, 96% 54%, 89% 68%, 78% 74%, 74% 84%, 27% 84%, 21% 76%, 8% 72%, 0 62%);
  mix-blend-mode: darken;
  filter: brightness(1.18) contrast(1.04) saturate(1.12) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.16));
}

.eyebrow {
  margin: 0 0 10px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.72;
}

.hero h1,
.section-heading h2,
.contact-strip h2 {
  margin: 0;
  font-family: var(--title-font);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.25rem, 4.7vw, 5rem);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero p:not(.eyebrow) {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.hero__panel {
  display: none;
  position: relative;
  z-index: 1;
  flex-direction: column;
  gap: 18px;
  min-height: 190px;
  justify-content: center;
  align-self: stretch;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.game-stack {
  position: relative;
  min-height: 170px;
}

.game-box {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  box-shadow: 0 24px 46px rgba(11, 37, 33, 0.26);
}

.game-box::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  content: "";
}

.game-box--tall {
  top: 0;
  left: 12%;
  width: 38%;
  height: 150px;
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.9), rgba(246, 219, 142, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(-5deg);
}

.game-box--wide {
  right: 2%;
  bottom: 10px;
  width: 62%;
  height: 106px;
  background:
    linear-gradient(135deg, rgba(239, 246, 237, 0.95), rgba(177, 211, 191, 0.92)),
    linear-gradient(90deg, rgba(31, 122, 104, 0.18), transparent);
  transform: rotate(4deg);
}

.game-box--small {
  left: 6%;
  bottom: 0;
  width: 34%;
  height: 76px;
  background: linear-gradient(135deg, #f7f1de, #d7e7dd);
  transform: rotate(2deg);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero__badge strong,
.hero__badge span {
  display: block;
}

.hero__badge strong {
  font-family: var(--title-font);
  font-size: 1.35rem;
}

.hero__badge span {
  max-width: 130px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.25;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  margin-top: 24px;
  align-items: start;
}

.sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 20px;
  color: rgba(255, 247, 220, 0.92);
}

.sidebar__section,
.product-card,
.contact-strip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-glass);
  backdrop-filter: blur(1.5px);
}

.sidebar__section {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-color: rgba(242, 184, 75, 0.42);
  background:
    radial-gradient(circle at 16% 0%, rgba(242, 184, 75, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(19, 27, 23, 0.78), rgba(10, 17, 15, 0.6)),
    url("./fondo_multiple.png") center / cover no-repeat;
  background-color: rgba(15, 23, 20, 0.58);
  backdrop-filter: blur(0.8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 177, 0.14),
    0 16px 32px rgba(8, 13, 11, 0.18);
}

.sidebar__section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(242, 184, 75, 0.94), rgba(246, 219, 142, 0.72), transparent);
  content: "";
}

.sidebar__section::after {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(242, 184, 75, 0.13);
  border-radius: 6px;
  content: "";
}

.sidebar__section h2 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: rgba(255, 241, 196, 0.96);
  font-family: var(--title-font);
  font-size: 1.14rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.sidebar__section h2::before {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(242, 184, 75, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 241, 196, 0.22), rgba(242, 184, 75, 0.08)),
    rgba(12, 19, 17, 0.48);
  color: var(--warm);
  box-shadow:
    0 0 0 4px rgba(242, 184, 75, 0.08),
    0 0 18px rgba(242, 184, 75, 0.18);
  content: "\2726";
  font-family: var(--title-font);
  font-size: 0.9rem;
  line-height: 1;
}

.sidebar__section:nth-of-type(2) h2::before {
  content: "\25C6";
}

.filter-option {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid rgba(242, 184, 75, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(17, 12, 6, 0.86), rgba(9, 15, 13, 0.82)),
    radial-gradient(circle at 12% 0%, rgba(242, 184, 75, 0.16), transparent 38%),
    url("./fondo_multiple.png") center / cover no-repeat;
  color: rgba(255, 247, 220, 0.9);
  font-weight: 780;
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 177, 0.1),
    0 10px 18px rgba(8, 13, 11, 0.08);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.filter-option input {
  display: grid;
  width: 18px;
  height: 18px;
  margin: 0;
  place-content: center;
  appearance: none;
  border: 1px solid rgba(242, 184, 75, 0.56);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(32, 20, 9, 0.94), rgba(8, 13, 11, 0.9));
  accent-color: var(--accent);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(242, 184, 75, 0.06);
}

.filter-option input::before {
  color: #1b2119;
  content: "\2726";
  font-family: var(--title-font);
  font-size: 0.75rem;
  line-height: 1;
  transform: scale(0);
  transition: transform 120ms ease;
}

.filter-option input:checked {
  border-color: rgba(255, 241, 196, 0.92);
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.9), rgba(117, 78, 24, 0.92));
  box-shadow:
    0 0 0 3px rgba(242, 184, 75, 0.14),
    0 0 18px rgba(242, 184, 75, 0.2);
}

.filter-option input:checked::before {
  transform: scale(1);
}

.filter-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.94rem;
}

.filter-option:hover,
.filter-option:focus-within {
  border-color: rgba(242, 184, 75, 0.56);
  background:
    linear-gradient(135deg, rgba(47, 31, 12, 0.88), rgba(8, 15, 13, 0.78)),
    radial-gradient(circle at 14% 0%, rgba(255, 241, 196, 0.18), transparent 42%),
    url("./fondo_multiple.png") center / cover no-repeat;
  color: #fff6dd;
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 177, 0.18),
    0 12px 24px rgba(8, 13, 11, 0.14),
    0 0 18px rgba(242, 184, 75, 0.08);
}

@media (hover: hover) {
  .filter-option:hover {
    transform: translateX(2px);
  }
}

.category-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.category-list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px 0 16px;
  overflow: hidden;
  border: 1px solid rgba(242, 184, 75, 0.16);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(17, 12, 6, 0.86), rgba(9, 15, 13, 0.82)),
    radial-gradient(circle at 12% 0%, rgba(242, 184, 75, 0.14), transparent 38%),
    url("./fondo_multiple.png") center / cover no-repeat;
  color: rgba(255, 247, 220, 0.88);
  font-weight: 780;
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 177, 0.1),
    0 10px 18px rgba(8, 13, 11, 0.08);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.category-list a::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  place-items: center;
  color: rgba(242, 184, 75, 0.76);
  content: "\25C6";
  font-family: var(--title-font);
  font-size: 0.62rem;
  line-height: 1;
}

.category-list a::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 241, 196, 0.95), var(--warm));
  opacity: 0;
  content: "";
}

.category-list a:hover,
.category-list a:focus-visible {
  border-color: rgba(242, 184, 75, 0.56);
  background:
    linear-gradient(135deg, rgba(47, 31, 12, 0.88), rgba(8, 15, 13, 0.78)),
    radial-gradient(circle at 14% 0%, rgba(255, 241, 196, 0.18), transparent 42%),
    url("./fondo_multiple.png") center / cover no-repeat;
  color: #fff6dd;
  outline: none;
}

.category-list a:hover::after,
.category-list a:focus-visible::after,
.category-list a.category-list__link--active::after {
  opacity: 1;
}

@media (hover: hover) {
  .category-list a:hover {
    transform: translateX(3px);
    box-shadow: 0 10px 20px rgba(23, 32, 27, 0.07);
  }
}

.category-list a.category-list__link--active {
  border-color: rgba(255, 241, 196, 0.72);
  background:
    linear-gradient(135deg, rgba(112, 75, 22, 0.9), rgba(32, 20, 9, 0.82), rgba(8, 15, 13, 0.72)),
    radial-gradient(circle at 16% 0%, rgba(255, 241, 196, 0.22), transparent 42%),
    url("./fondo_multiple.png") center / cover no-repeat;
  color: #fff7dc;
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 177, 0.22),
    0 12px 24px rgba(8, 13, 11, 0.14),
    0 0 22px rgba(242, 184, 75, 0.14);
}

.category-list a.category-list__link--active::before {
  color: var(--warm);
  content: "\2726";
  filter: drop-shadow(0 0 5px rgba(242, 184, 75, 0.42));
}

.product-area {
  min-width: 0;
}

.section-heading {
  margin-bottom: 16px;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.7);
}

.section-heading .eyebrow {
  color: var(--accent);
}

.section-heading .eyebrow::before,
.contact-strip .eyebrow::before {
  margin-right: 7px;
  color: var(--warm);
  content: "\27E1";
  font-family: var(--title-font);
}

.section-heading h2,
.contact-strip h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  border-radius: 7px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  min-height: 386px;
  padding: 0;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(1px);
  box-shadow: 0 14px 34px rgba(23, 32, 27, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 122, 104, 0.3);
    box-shadow: 0 22px 44px rgba(23, 32, 27, 0.13);
  }
}

.product-card__image {
  position: relative;
  display: flex;
  min-height: 152px;
  align-items: end;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(135deg, rgba(242, 184, 75, 0.28), rgba(31, 122, 104, 0.12)),
    var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 850;
}

.product-card__image::before,
.product-card__image::after {
  position: absolute;
  display: block;
  border-radius: 7px;
  content: "";
}

.product-card__image::before {
  right: 18px;
  bottom: 20px;
  width: 46%;
  height: 78%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 34px rgba(23, 32, 27, 0.16);
  transform: rotate(6deg);
}

.product-card__image::after {
  right: 46px;
  bottom: 46px;
  width: 22%;
  height: 34%;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-8deg);
}

.product-card__image span {
  position: relative;
  z-index: 1;
  max-width: 68%;
  color: #fff;
  font-family: var(--title-font);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(17, 59, 53, 0.42);
}

.product-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image--catan {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #c98236, #1f7a68);
}

.product-card__image--catan::before,
.product-card__image--catan::after {
  display: none;
}

.product-card__image--catan span {
  align-self: end;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 241, 196, 0.42);
  border-radius: 6px;
  background: rgba(9, 20, 17, 0.54);
  box-shadow: 0 8px 18px rgba(8, 13, 11, 0.18);
  backdrop-filter: blur(1px);
}

.product-card__image--dixit {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #7d6fc2, #1f7a68);
}

.product-card__image--carcassonne {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #8e9d59, #155c4f);
}

.product-card__image--codigo {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #34424f, #1f7a68);
}

.product-card__image--ticket {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #b6574d, #1f7a68);
}

.product-card__image--azul {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #2c78a2, #f2b84b);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(238, 243, 236, 0.56)),
    url("./fondo_multiple.png") center / cover no-repeat;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(238, 243, 236, 0.72);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
}

.product-card__badge::before {
  color: var(--warm);
  content: "\27E1";
  font-family: var(--title-font);
  font-size: 0.75rem;
  line-height: 1;
}

.product-card h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.15;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: break-word;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  min-width: 0;
}

.product-card__footer strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.product-card__action {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 108px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(31, 122, 104, 0.2);
}

.product-card__action::after {
  content: "\2726";
  font-family: var(--title-font);
  font-size: 0.72rem;
  line-height: 1;
}

.product-card__action:hover,
.product-card__action:focus-visible {
  background: var(--accent-strong);
  outline: none;
}

.product-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(238, 243, 236, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(238, 243, 236, 0.56)),
    url("./fondo_multiple.png") center / cover no-repeat;
  color: var(--ink);
  font-weight: 850;
  text-align: center;
  box-shadow: 0 14px 34px rgba(23, 32, 27, 0.07);
}

.product-empty-message::before {
  margin-right: 8px;
  color: var(--accent-strong);
  content: "\2726";
  font-family: var(--title-font);
}

.contact-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(18px, 3vw, 30px);
  margin-top: 24px;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  border-color: rgba(238, 243, 236, 0.42);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(1.5px);
  box-shadow: 0 14px 34px rgba(23, 32, 27, 0.06);
}

.contact-strip::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  content: "";
}

.contact-strip::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border: 30px solid rgba(31, 122, 104, 0.07);
  border-radius: 50%;
  content: "";
}

.contact-strip .eyebrow {
  color: var(--accent);
}

.contact-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-intro p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 16px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    var(--accent);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 26px rgba(31, 122, 104, 0.2);
}

.contact-cta::before {
  content: "\2726";
  font-family: var(--title-font);
  font-size: 0.78rem;
  line-height: 1;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  background: var(--accent-strong);
  outline: 2px solid rgba(31, 122, 104, 0.28);
  outline-offset: 3px;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-grid article {
  min-width: 0;
  padding: 16px 16px 15px;
  border: 1px solid rgba(31, 122, 104, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(238, 243, 236, 0.5)),
    rgba(238, 243, 236, 0.26);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

@media (hover: hover) {
  .contact-grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 122, 104, 0.28);
    box-shadow: 0 10px 20px rgba(23, 32, 27, 0.06);
  }
}

.contact-grid span,
.contact-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.contact-grid span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.contact-grid span::before {
  color: var(--accent);
  content: "\25C6";
  font-family: var(--title-font);
  font-size: 0.58rem;
  line-height: 1;
}

.contact-grid strong {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 1rem;
  font-weight: 800;
}

.side-handle {
  position: fixed;
  top: 50%;
  right: clamp(8px, 1.4vw, 18px);
  z-index: 10;
  display: grid;
  grid-template-rows: 34px 1fr 34px;
  width: 48px;
  height: 126px;
  padding: 8px 0;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(31, 122, 104, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 243, 236, 0.78)),
    var(--surface);
  box-shadow:
    0 18px 38px rgba(23, 32, 27, 0.18),
    0 0 0 7px rgba(31, 122, 104, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.side-handle__link {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.side-handle span {
  display: block;
  width: 5px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--warm), var(--accent) 44%, var(--accent-strong));
  box-shadow: 0 0 18px rgba(31, 122, 104, 0.35);
  transform: rotate(14deg);
}

.side-handle__link::before {
  display: block;
  width: 10px;
  height: 10px;
  border: solid var(--accent-strong);
  border-width: 0 2px 2px 0;
  background: transparent;
  content: "";
  opacity: 0.72;
  transition:
    border-color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.side-handle__link--top::before {
  transform: rotate(225deg);
}

.side-handle__link--bottom::before {
  transform: rotate(45deg);
}

.side-handle:hover,
.side-handle:focus-visible {
  border-color: rgba(31, 122, 104, 0.48);
  box-shadow:
    0 20px 42px rgba(23, 32, 27, 0.22),
    0 0 0 9px rgba(242, 184, 75, 0.1),
    0 0 32px rgba(31, 122, 104, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
  transform: translateY(-50%) translateX(-3px);
}

.side-handle__link:hover::before,
.side-handle__link:focus-visible::before {
  border-color: var(--accent);
  opacity: 1;
}

.side-handle__link--top:hover::before,
.side-handle__link--top:focus-visible::before {
  transform: translateY(-3px) rotate(225deg);
}

.side-handle__link--bottom:hover::before,
.side-handle__link--bottom:focus-visible::before {
  transform: translateY(3px) rotate(45deg);
}

.side-handle__link:focus-visible {
  outline: 2px solid rgba(31, 122, 104, 0.34);
  outline-offset: -5px;
}

@media (max-width: 900px) {
  .hero,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .catalog-layout {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    gap: 18px;
  }

  .sidebar {
    grid-template-columns: 1fr;
    top: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  }

  .side-handle {
    right: 8px;
    width: 40px;
    height: 104px;
  }
}

@media (max-width: 760px) {
  .side-handle {
    top: auto;
    right: 7px;
    bottom: 84px;
    transform: none;
    width: 34px;
    height: 86px;
    grid-template-rows: 24px 1fr 24px;
    padding: 6px 0;
  }

  .side-handle span {
    height: 34px;
  }

  .side-handle:hover,
  .side-handle:focus-visible {
    transform: translateX(-2px);
  }
}

@media (max-width: 720px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sidebar {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sidebar__section {
    padding: 13px;
  }

  .sidebar__section::after {
    inset: 7px;
  }

  .sidebar__section h2 {
    margin-bottom: 10px;
    font-size: 1.02rem;
  }

  .sidebar__section h2::before {
    width: 21px;
    height: 21px;
    font-size: 0.64rem;
  }

  .sidebar__section:first-child {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .sidebar__section:first-child h2 {
    grid-column: 1 / -1;
  }

  .filter-option {
    min-height: 40px;
    margin-top: 0;
    gap: 7px;
    padding: 0 9px;
  }

  .filter-option input {
    width: 16px;
    height: 16px;
    border-radius: 4px;
  }

  .filter-option span {
    font-size: 0.84rem;
  }

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

  .category-list a {
    min-height: 40px;
    padding: 0 10px 0 12px;
    font-size: 0.88rem;
  }

  .category-list a::before {
    width: 15px;
    height: 15px;
    margin-right: 7px;
    font-size: 0.62rem;
  }
}

@media (max-width: 620px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .catalog-shell {
    padding: 14px 10px 28px;
  }

  .hero {
    min-height: clamp(370px, 106vw, 440px);
    padding: 18px;
    background-position: center top;
  }

  .hero__title-image {
    top: 16px;
    left: 16px;
    width: min(58vw, 210px);
    max-width: calc(100% - 62px);
  }

  .sidebar,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .contact-strip h2 {
    font-size: 1.42rem;
  }

  .product-grid {
    gap: 14px;
  }

  .product-card {
    min-height: 362px;
  }

  .product-card__image {
    min-height: 134px;
    padding: 16px;
  }

  .product-card__body {
    padding: 14px;
  }

  .product-card__footer {
    padding-right: 34px;
  }

  .contact-strip {
    padding: 18px 14px;
  }

  .contact-grid {
    gap: 10px;
  }

  .contact-grid article {
    padding: 13px;
  }

  .side-handle {
    top: auto;
    right: 6px;
    bottom: 76px;
    transform: none;
    width: 32px;
    height: 80px;
    grid-template-rows: 24px 1fr 24px;
    padding: 6px 0;
    box-shadow:
      0 14px 28px rgba(23, 32, 27, 0.18),
      0 0 0 5px rgba(31, 122, 104, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.84);
  }

  .side-handle span {
    height: 30px;
  }

  .side-handle:hover,
  .side-handle:focus-visible {
    transform: translateX(-2px);
  }
}

@media (max-width: 360px) {
  .catalog-shell {
    padding-inline: 8px;
  }

  .hero {
    min-height: 350px;
    padding: 16px;
  }

  .hero__title-image {
    top: 14px;
    left: 14px;
    width: min(56vw, 190px);
    max-width: calc(100% - 56px);
  }

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

  .filter-option {
    min-height: 40px;
    padding-inline: 8px;
  }

  .category-list a {
    padding-inline: 9px 8px;
    font-size: 0.84rem;
  }

  .category-list a::before {
    margin-right: 5px;
  }

  .product-card__footer {
    gap: 8px;
    padding-right: 32px;
  }

  .product-card__footer strong {
    font-size: 1.08rem;
  }

  .product-card__action {
    min-width: 98px;
    padding-inline: 10px;
    font-size: 0.84rem;
  }
}
