* { box-sizing: border-box; }

:root {
  --font-main: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
}

.site-header {
  position: fixed;
  top: .75rem;
  left: 1rem;
  right: 1rem;
  z-index: 1000;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(14, 33, 49, .42);
  backdrop-filter: blur(12px);
  box-shadow: 0 7px 9px rgba(9, 24, 37, 0.12)
}

.brand {
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 1.05rem;
  color: #f5fbff;
  text-decoration: none;
  margin-left: 14px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(120deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  color: #fff;
  font-weight: 700;
  font-size: .83rem;
  padding: .42rem .8rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(221, 42, 123, .3);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
  color: #ecf7ff;
  cursor: pointer;
  overflow: hidden;
  transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(8, 24, 36, .16);
}

.menu-toggle-lines {
  position: relative;
  width: 18px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ecf7ff;
  transform-origin: center;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, top .32s cubic-bezier(.22, 1, .36, 1), background .28s ease;
}

.menu-toggle-lines span:nth-child(1) {
  top: 0;
}

.menu-toggle-lines span:nth-child(2) {
  top: 6px;
}

.menu-toggle-lines span:nth-child(3) {
  top: 12px;
}

.menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .24);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: 0 12px 24px rgba(8, 24, 36, .2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.2);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  gap: .5rem;
}

.nav a {
  text-decoration: none;
  color: #ecf7ff;
  font-weight: 700;
  font-size: .92rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
}

.nav a.active {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(255, 255, 255, .95);
  color: #12263a;
}

@media (max-width: 940px) {
  .site-header {
    top: .5rem;
    left: .5rem;
    right: .5rem;
    width: calc(100% - 1rem);
    padding: .62rem .75rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .insta-link {
    font-size: .78rem;
    padding: .42rem .68rem;
  }

  .nav {
    position: absolute;
    top: calc(100% + .55rem);
    right: .3rem;
    left: .3rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .55rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(12, 30, 45, .9);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(.96);
    transform-origin: top center;
    transition: opacity .28s ease, transform .34s cubic-bezier(.22, 1, .36, 1), visibility .28s ease;
    box-shadow: 0 22px 36px rgba(7, 20, 32, .24);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav a {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .24s ease, transform .28s cubic-bezier(.22, 1, .36, 1), background .22s ease;
    margin: 4px 0
  }

  .nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.is-open a:nth-child(1) {
    transition-delay: .04s;
  }

  .nav.is-open a:nth-child(2) {
    transition-delay: .08s;
  }

  .nav.is-open a:nth-child(3) {
    transition-delay: .12s;
  }
}

/* Home page */
body.home-page {
  color: #132232;
  background:
    radial-gradient(circle at 8% 2%, #ddf8f1 0, transparent 28%),
    radial-gradient(circle at 95% 1%, #ffe9c9 0, transparent 32%),
    radial-gradient(circle at 60% 100%, #e5f1ff 0, transparent 38%),
    #f5f7fb;
  min-height: 100vh;
}

body.home-page .wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4rem;
}

body.home-page .site-header {
  width: min(1120px, calc(100% - 2rem));
}

body.home-page .hero {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 55px rgba(8, 31, 52, .18);
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(8, 44, 56, .82) 0%, rgba(8, 44, 56, .3) 44%, rgba(8, 44, 56, .75) 100%),
    url('../../img/kodomohukuimage.png') center / cover no-repeat;
  animation: fadein .75s ease;
}

body.home-page .hero::before {
  content: '';
  position: absolute;
  inset: auto -70px -80px auto;
  width: 280px;
  height: 280px;
  border-radius: 40% 60% 53% 47% / 47% 40% 60% 53%;
  background: rgba(255, 178, 71, .22);
  filter: blur(1px);
  z-index: 0;
}

body.home-page .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 24, 34, .06) 0%, rgba(11, 24, 34, .58) 60%, rgba(11, 24, 34, .82) 100%);
  z-index: 0;
}

body.home-page .hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: center;
}

body.home-page .copy h1 {
  margin: 0;
  color: #fff;
  line-height: 1.35;
  font-size: clamp(2rem, 9vw, 3.4rem);
  letter-spacing: .04em;
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(6, 18, 28, .35);
}

body.home-page .copy p {
  width: 100%;
  margin: .95rem 0 0;
  color: #eaf9ff;
  line-height: 1.95;
  font-weight: 500;
  text-shadow: 0 6px 22px rgba(5, 17, 27, .35);
}

body.home-page .cta-panel {
  width: min(560px, 100%);
  padding: 1rem;
}

body.home-page .cta-panel p {
  margin: 0 0 .85rem;
  color: #ffffff;
  line-height: 1.7;
  font-size: 14px;
  text-align: center;
}

body.home-page .cta-bubble {
  position: relative;
  display: inline-block;
  margin: 0 auto .95rem;
  padding: .58rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .22);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: 0 8px 24px rgba(7, 27, 41, .24);
  backdrop-filter: blur(4px);
}

body.home-page .cta-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-width: 10px 9px 0 9px;
  border-style: solid;
  border-color: rgba(255, 255, 255, .35) transparent transparent transparent;
}

body.home-page .cta-link {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  padding: .95rem 1rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
  background: linear-gradient(90deg, #0f8677 0%, #17b39f 55%, #ffb247 100%);
  box-shadow: 0 12px 30px rgba(10, 120, 118, .38);
  transition: transform .18s ease, filter .2s ease;
}

body.home-page .cta-link:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.03);
}

body.home-page .intro-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

body.home-page .intro-card {
  border-radius: 18px;
  border: 1px solid #d7e1ec;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 33, 49, .08);
  padding: 1rem;
  animation: rise .65s ease;
}

body.home-page .intro-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

body.home-page .intro-card p {
  margin: .5rem 0 0;
  color: #495b6c;
  line-height: 1.75;
  font-size: .92rem;
}

/* Clothes and activity common */
body.clothes-page,
body.activity-page {
  color: #12212f;
  background:
    radial-gradient(circle at 10% 5%, #dff8f2 0, transparent 35%),
    radial-gradient(circle at 90% 0%, #ffe9c5 0, transparent 30%),
    #f6f7fb;
  padding-top: 92px;
}

body.clothes-page .wrap,
body.activity-page .wrap {
  width: min(1120px, calc(100% - 2rem));
      margin: -23px auto 0;
    padding: 0 0 4rem;
}

body.clothes-page .hero,
body.activity-page .hero {
  margin-top: 1rem;
  padding: 2.5rem;
  border-radius: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 38, 59, 0.1);
  animation: rise .7s ease;
}

body.clothes-page .hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.8rem);
  letter-spacing: .08em;
  font-weight: 900;
}

body.clothes-page .hero p,
body.activity-page .hero p {
  max-width: 55ch;
  line-height: 1.9;
  color: #ecfffe;
}

/* Clothes page */
body.clothes-page .hero {
  background:
    linear-gradient(135deg, rgba(8, 74, 77, 0.94) 0%, rgba(11, 106, 120, 0.9) 46%, rgba(25, 173, 171, 0.88) 100%),
    url('../../img/kodomohukuimage2.png') center / cover no-repeat;
}

body.clothes-page .hero::before {
  content: '';
  position: absolute;
  inset: auto auto -115px -40px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
}

body.clothes-page .hero::after {
  content: '';
  position: absolute;
  inset: -55px -50px auto auto;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, .1);
  border-radius: 36% 64% 58% 42% / 45% 44% 56% 55%;
}

body.clothes-page .hero-layout {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 1.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

body.clothes-page .hero-copy {
  position: relative;
  z-index: 2;
}

body.clothes-page .hero p {
  max-width: 52ch;
  margin: .7rem 0 0;
}

body.clothes-page .hero-media {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: .7rem;
}

body.clothes-page .hero-shot {
  min-height: 132px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(7, 38, 52, .28);
  border: 2px solid rgba(255, 255, 255, .45);
}

body.clothes-page .hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.clothes-page .hero-shot.tall {
  grid-row: span 2;
  min-height: 280px;
}

body.clothes-page .grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
  align-items: start;
}

body.clothes-page .auth-gate {
  margin-top: 1.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body.clothes-page .auth-gate .panel-head {
  text-align: center;
}

body.clothes-page .auth-gate-body {
  padding: 1rem 1.2rem 1.2rem;
  text-align: center;
}

body.clothes-page .auth-copy {
  margin: 0 auto .8rem;
  max-width: 34rem;
  color: #405365;
  line-height: 1.75;
}

body.clothes-page .insta-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: linear-gradient(120deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .56rem 1rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(221, 42, 123, .25);
}

body.clothes-page .phrase-form {
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

body.clothes-page .panel {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #d8e0ea;
  box-shadow: 0 12px 30px rgba(15, 35, 54, 0.06);
}

body.clothes-page .form-panel { position: sticky; top: 1rem; }
body.clothes-page .form-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: #11a36e;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 10px 28px rgba(17, 163, 110, .28);
}

body.clothes-page .form-accordion summary::-webkit-details-marker {
  display: none;
}

body.clothes-page .form-accordion summary::after {
  content: '＋';
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

body.clothes-page .form-accordion[open] summary::after {
  content: '−';
}

body.clothes-page .form-accordion > form {
  margin-top: .2rem;
}

body.clothes-page .form-accordion[open] > form {
  border-top: 0;
}

body.clothes-page .mobile-form-fab,
body.clothes-page .mobile-form-close,
body.clothes-page .mobile-form-backdrop {
  display: none;
}

body.clothes-page .mobile-form-close-wrap {
  display: none;
}
body.clothes-page .panel-head {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid #d8e0ea;
  font-weight: 700;
}
body.clothes-page form { padding: 1rem 1.2rem 1.2rem; }
body.clothes-page label {
  display: block;
  margin-top: .8rem;
  margin-bottom: .35rem;
  font-weight: 600;
  font-size: .93rem;
}
body.clothes-page input,
body.clothes-page select,
body.clothes-page textarea {
  width: 100%;
  border: 1px solid #c8d3df;
  background: #fbfcff;
  border-radius: 12px;
  padding: .65rem .75rem;
  font: inherit;
}
body.clothes-page textarea { min-height: 88px; resize: vertical; }
body.clothes-page .btn {
  margin-top: 1rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f8f7a 0%, #11b6a6 100%);
  color: #fff;
  font-weight: 700;
  padding: .78rem 1rem;
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
}
body.clothes-page .btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
body.clothes-page .alert {
  border-radius: 14px;
  margin: 1rem 0;
  padding: .75rem .9rem;
  font-size: .93rem;
}
body.clothes-page .alert.success { background: #e7faf3; color: #136549; border: 1px solid #b0eacb; }
body.clothes-page .alert.error { background: #ffeef3; color: #8f1e3a; border: 1px solid #f6bfd0; }
body.clothes-page .list-filters {
  padding: .9rem .8rem .35rem;
  border-bottom: 1px solid #dfe7f0;
}
body.clothes-page .filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}
body.clothes-page .filter-item {
  min-width: 0;
}
body.clothes-page .list-filters label {
  display: block;
  margin-top: 0;
  margin-bottom: .32rem;
  font-size: .82rem;
  color: #476177;
}
body.clothes-page .list-filters select {
  background: #f7faff;
  width: 100%;
}
body.clothes-page .filter-actions {
  margin-top: .7rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
body.clothes-page .filter-submit {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f6aa5 0%, #268ec9 100%);
  color: #fff;
  font-weight: 700;
  padding: .52rem 1rem;
  cursor: pointer;
}
body.clothes-page .filter-reset {
  text-decoration: none;
  border: 1px solid #c3d0de;
  border-radius: 999px;
  color: #30485d;
  background: #f4f8fc;
  padding: .45rem .85rem;
  font-size: .84rem;
  font-weight: 700;
}
body.clothes-page .list-wrap { padding: .8rem; }
body.clothes-page .items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: .9rem;
}
body.clothes-page .card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d8e0ea;
  background: #fff;
  animation: rise .6s ease;
}
body.clothes-page .thumb {
  aspect-ratio: 1 / 1;
  background: #eef2f8;
  display: block;
  width: 100%;
  object-fit: cover;
}
body.clothes-page .card-body { padding: .85rem .9rem .95rem; }
body.clothes-page .name { margin: 0; font-size: 1.03rem; font-weight: 700; }
body.clothes-page .meta {
  margin-top: .35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
body.clothes-page .tag {
  font-size: .76rem;
  color: #1b4f6d;
  background: #e9f4ff;
  border-radius: 999px;
  padding: .2rem .55rem;
}
body.clothes-page .note {
  margin: .55rem 0 .8rem;
  color: #435466;
  line-height: 1.6;
  font-size: .93rem;
  min-height: 2.8em;
}

body.clothes-page .listing-meta {
  margin: 0 0 .7rem;
  padding: .55rem .6rem;
  border-radius: 10px;
  border: 1px solid #dbe4ef;
  background: #f7fbff;
}

body.clothes-page .listing-meta p {
  margin: 0;
  font-size: .76rem;
  color: #456075;
  line-height: 1.5;
  word-break: break-all;
}
body.clothes-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}

body.clothes-page .actions .danger-btn {
  flex-basis: 100%;
}
body.clothes-page .link-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: #12212f;
  color: #fff;
  border-radius: 999px;
  padding: .78rem .8rem;
  font-size: .9rem;
  line-height: 1.25;
  font-weight: 600;
}
body.clothes-page .ghost-btn {
  border: 1px solid #bdcbdb;
  background: #f6f9fd;
  color: #243646;
  border-radius: 999px;
  padding: .78rem .8rem;
  font-size: .88rem;
  line-height: 1.25;
  cursor: pointer;
  font-weight: 600;
}

body.clothes-page .danger-btn {
  border: 1px solid #cf3f62;
  background: linear-gradient(90deg, #d3496d, #c72f57);
  color: #fff;
  border-radius: 999px;
  padding: .53rem .8rem;
  font-size: .82rem;
  cursor: pointer;
  font-weight: 700;
}

body.clothes-page .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 18, 28, .58);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

body.clothes-page .modal-backdrop[hidden] {
  display: none !important;
}

body.clothes-page .modal-card {
  width: min(520px, 100%);
  border-radius: 18px;
  background: #fff;
  border: 1px solid #d8e0ea;
  box-shadow: 0 20px 45px rgba(8, 24, 36, .3);
  padding: 1rem 1rem 1.1rem;
}

body.clothes-page .modal-card h2 {
  margin: 0;
  font-size: 1.08rem;
}

body.clothes-page .modal-card p {
  margin: .6rem 0 0;
  color: #405365;
  line-height: 1.7;
}

body.clothes-page .modal-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}
body.clothes-page .empty {
  border: 1px dashed #b8c6d6;
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  color: #5d6e80;
  background: #f9fbff;
}
body.clothes-page .pager {
  margin-top: .95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .42rem;
}
body.clothes-page .pager-link,
body.clothes-page .pager-number {
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 .62rem;
  border-radius: 999px;
  border: 1px solid #c8d6e4;
  background: #ffffff;
  color: #25465f;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.clothes-page .pager-number.is-active {
  border-color: #1e78af;
  background: linear-gradient(90deg, #1f6aa5, #268ec9);
  color: #fff;
}
body.clothes-page .pager-link.is-disabled {
  opacity: .45;
  pointer-events: none;
}
body.clothes-page .pager-gap {
  color: #7c8ea0;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 0 .1rem;
}

/* Activity page */
body.activity-page .hero {
  background:
    linear-gradient(120deg, rgba(13, 109, 101, 0.92) 0%, rgba(16, 151, 160, 0.86) 48%, rgba(25, 185, 191, 0.84) 100%),
    url('../../img/kodomohukuimage.png') center / cover no-repeat;
}

body.activity-page .hero::before {
  content: '';
  position: absolute;
  inset: -50% -20% auto auto;
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
}

body.activity-page .hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: .04em;
  font-weight: 900;
}

body.activity-page .hero p { margin: .9rem 0 0; }

body.activity-page .hero-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  position: relative;
  z-index: 1;
}

body.activity-page .hero-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .45);
  box-shadow: 0 10px 26px rgba(9, 35, 54, .25);
}

body.activity-page .hero-gallery img:nth-child(2) {
  transform: translateY(-10px);
}

body.activity-page .grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.activity-page .card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #d8e0ea;
  box-shadow: 0 12px 30px rgba(15, 35, 54, 0.06);
  padding: 1.2rem;
  animation: rise .6s ease;
  position: relative;
  overflow: hidden;
}

body.activity-page .card::after {
  content: '';
  position: absolute;
  inset: auto -25px -25px auto;
  width: 90px;
  height: 90px;
  background: linear-gradient(140deg, rgba(17, 182, 166, .16), rgba(255, 175, 63, .16));
  border-radius: 50%;
}

body.activity-page .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(120deg, #0f8f7a, #11b6a6);
  color: #fff;
  font-weight: 800;
  margin-bottom: .7rem;
}

body.activity-page .card h2 {
  margin: 0;
  font-size: 1.12rem;
}

body.activity-page .card p {
  margin: .6rem 0 0;
  color: #435466;
  line-height: 1.8;
}

body.activity-page .vision {
  margin-top: 1rem;
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid #d8e4e9;
  background: linear-gradient(90deg, #f7fffd 0%, #f6fbff 100%);
  color: #26404f;
  line-height: 1.8;
}

body.activity-page .vision-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items: center;
}

body.activity-page .vision-layout img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 185px;
  box-shadow: 0 12px 28px rgba(15, 35, 54, .14);
}

body.activity-page .cta {
  margin-top: 1.2rem;
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  background: #12212f;
  color: #fff;
  font-weight: 700;
  padding: .72rem 1.2rem;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
  body.clothes-page .hero-layout {
    grid-template-columns: 1fr;
  }

  body.clothes-page .hero-media {
    grid-template-columns: 1fr 1fr;
  }

  body.clothes-page .hero-shot.tall {
    grid-row: auto;
    min-height: 170px;
  }

  body.clothes-page .grid {
    grid-template-columns: 1fr;
    margin-top: 1.2rem;
  }

  body.clothes-page .form-panel {
    display: none;
  }

  body.clothes-page .form-panel.is-mobile-open {
    display: block;
    position: fixed;
    top: 90px;
    left: .75rem;
    right: .75rem;
    bottom: 1rem;
    z-index: 1960;
    overflow: auto;
  }

  body.clothes-page .form-accordion > summary {
    pointer-events: none;
    cursor: default;
  }

  body.clothes-page .form-accordion > summary::after {
    content: none;
  }

  body.clothes-page .form-accordion[open] > summary::after {
    content: none;
  }

  body.clothes-page .form-accordion[open] > form {
    margin-top: 0;
  }

  body.clothes-page .mobile-form-close-wrap {
    display: flex;
    justify-content: flex-end;
    padding: .6rem .85rem 0;
  }

  body.clothes-page .mobile-form-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8d6e4;
    background: #ffffff;
    color: #2f465a;
    border-radius: 999px;
    padding: .38rem .8rem;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
  }

  body.clothes-page .mobile-form-fab {
    display: inline-flex;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1950;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(120deg, #11a36e, #139f8b);
    color: #fff;
    font-weight: 800;
    font-size: .92rem;
    padding: .78rem 1rem;
    box-shadow: 0 12px 28px rgba(17, 163, 110, .35);
    cursor: pointer;
  }

  body.clothes-page .mobile-form-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1955;
    background: rgba(7, 20, 32, .5);
  }

  body.clothes-page .mobile-form-backdrop[hidden] {
    display: none;
  }

  body.clothes-page .form-accordion:not([open]) {
    border-bottom: 0;
  }

  body.clothes-page .filter-grid {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  body.clothes-page .list-filters {
    padding: .72rem .75rem 1rem;
  }

  body.clothes-page .filter-item {
    display: grid;
    grid-template-columns: 5.4em minmax(0, 1fr);
    align-items: center;
    gap: .45rem;
  }

  body.clothes-page .list-filters label {
    margin: 0;
    font-size: .8rem;
  }

  body.clothes-page .list-filters select {
    padding: .52rem .65rem;
  }

  body.clothes-page .filter-actions {
    flex-wrap: wrap;
    margin-top: .55rem;
  }

  body.clothes-page .pager {
    gap: .35rem;
  }

  body.clothes-page .pager-link,
  body.clothes-page .pager-number {
    min-width: 2rem;
    height: 2rem;
    font-size: .8rem;
  }

  body.clothes-page .hero,
  body.activity-page .hero { padding: 2rem 1.2rem; }

  body.activity-page .hero-gallery {
    grid-template-columns: 1fr 1fr;
  }

  body.activity-page .hero-gallery img {
    height: 120px;
  }

  body.activity-page .vision-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  body.home-page .hero {
    min-height: calc(100vh - 132px);
  }

  body.home-page .hero-content {
    padding: 1.3rem;
  }

  body.home-page .copy h1 {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  body.home-page .intro-grid {
    grid-template-columns: 1fr;
  }
}
