:root {
  --home-bg-image: url("assets/panda-logo-cutout.png");
  --home-bg-name: "01";
  --home-bg-blur: 0px;
  --home-bg-overlay: 0.18;
  --home-bg-position: right center;
  --red: #4f8f1f;
  --deep-red: #1f5d2d;
  --ink: #171a17;
  --muted: #647064;
  --line: #dfe6dc;
  --paper: #f7faf4;
  --soft: #eef7e8;
  --green: #65ad22;
  --gold: #7c9929;
  --warm: #fff8ea;
  --sun: #d6a33a;
  --cream: #fffdf7;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 38, 16, 0.13);
  --warm-shadow: 0 24px 70px rgba(91, 99, 36, 0.16);
  --accent-rgb: 79, 143, 31;
  --deep-rgb: 31, 93, 45;
  --sun-rgb: 214, 163, 58;
  --page-start: #fffdf7;
  --page-mid: #f7faf4;
  --page-end: #f2f7ed;
  --hero-start: #fffdf7;
  --hero-mid: #eef7e8;
  --hero-end: #ffffff;
}

:root[data-home-bg="mourning"] {
  --red: #555555;
  --deep-red: #1b1b1b;
  --green: #777777;
  --gold: #686868;
  --sun: #9a9a9a;
  --accent-rgb: 88, 88, 88;
  --deep-rgb: 28, 28, 28;
  --sun-rgb: 154, 154, 154;
  --page-start: #fbfbfb;
  --page-mid: #f2f2f2;
  --page-end: #e8e8e8;
  --hero-start: #fbfbfb;
  --hero-mid: #eeeeee;
  --hero-end: #ffffff;
}

:root[data-week-theme="1"] {
  --red: #2f8d73;
  --deep-red: #155846;
  --green: #58a64f;
  --gold: #a38b2b;
  --sun: #d3a642;
  --accent-rgb: 47, 141, 115;
  --deep-rgb: 21, 88, 70;
  --sun-rgb: 211, 166, 66;
  --page-start: #fffdf4;
  --page-mid: #f0faf3;
  --page-end: #e9f7f1;
  --hero-mid: #e9f7f1;
}

:root[data-week-theme="2"] {
  --red: #517f29;
  --deep-red: #294f1f;
  --green: #79a72b;
  --gold: #b48b34;
  --sun: #d49b3b;
  --accent-rgb: 81, 127, 41;
  --deep-rgb: 41, 79, 31;
  --sun-rgb: 212, 155, 59;
  --page-start: #fff9ee;
  --page-mid: #f5faed;
  --page-end: #eef6e3;
  --hero-mid: #edf6df;
}

:root[data-week-theme="3"] {
  --red: #3f8971;
  --deep-red: #235845;
  --green: #70aa39;
  --gold: #b47f36;
  --sun: #d19048;
  --accent-rgb: 63, 137, 113;
  --deep-rgb: 35, 88, 69;
  --sun-rgb: 209, 144, 72;
  --page-start: #fff7ef;
  --page-mid: #f2faf2;
  --page-end: #e8f5ed;
  --hero-mid: #eaf6ec;
}

:root[data-week-theme="4"] {
  --red: #61882e;
  --deep-red: #33501e;
  --green: #8aae35;
  --gold: #a97f2d;
  --sun: #c9943d;
  --accent-rgb: 97, 136, 46;
  --deep-rgb: 51, 80, 30;
  --sun-rgb: 201, 148, 61;
  --page-start: #fffaf0;
  --page-mid: #f7faee;
  --page-end: #edf5df;
  --hero-mid: #f0f6df;
}

:root[data-week-theme="5"] {
  --red: #31866a;
  --deep-red: #194f42;
  --green: #69a845;
  --gold: #bd9038;
  --sun: #d7a448;
  --accent-rgb: 49, 134, 106;
  --deep-rgb: 25, 79, 66;
  --sun-rgb: 215, 164, 72;
  --page-start: #fff8ed;
  --page-mid: #eff9f0;
  --page-end: #e6f4ee;
  --hero-mid: #e8f6ef;
}

:root[data-week-theme="6"] {
  --red: #4f8f1f;
  --deep-red: #1f5d2d;
  --green: #76a92d;
  --gold: #b18830;
  --sun: #d6a33a;
  --accent-rgb: 79, 143, 31;
  --deep-rgb: 31, 93, 45;
  --sun-rgb: 214, 163, 58;
  --page-start: #fff8ea;
  --page-mid: #f4faee;
  --page-end: #eaf4df;
  --hero-mid: #edf6e5;
}

:root[data-mode="night"] {
  --ink: #f2eadb;
  --muted: #b9c3ad;
  --line: rgba(226, 213, 176, 0.2);
  --paper: #172016;
  --soft: #1f2b1d;
  --white: #20291f;
  --cream: #182118;
  --sun: #c69a4a;
  --gold: #c6a85b;
  --page-start: #171f16;
  --page-mid: #1f2a1d;
  --page-end: #141b13;
  --hero-start: #172016;
  --hero-mid: #22301f;
  --hero-end: #182117;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  --warm-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

:root[data-mode="night"] body {
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--sun-rgb), 0.08), transparent 34%),
    linear-gradient(180deg, var(--page-start) 0%, var(--page-mid) 42%, var(--page-end) 100%);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--sun-rgb), 0.14), transparent 34%),
    linear-gradient(180deg, var(--page-start) 0%, var(--page-mid) 42%, var(--page-end) 100%);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--sun-rgb), 0.14), transparent 34%),
    linear-gradient(180deg, var(--page-start) 0%, var(--page-mid) 42%, var(--page-end) 100%);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

:root[data-home-bg="mourning"] body {
  background:
    radial-gradient(circle at 16% 0%, rgba(0, 0, 0, 0.06), transparent 34%),
    linear-gradient(180deg, #fbfbfb 0%, #f1f1f1 46%, #e7e7e7 100%);
  filter: grayscale(1);
}

.mourning-countdown {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 28px);
  padding: 12px 16px;
  color: #1f1f1f;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(34, 34, 34, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px) saturate(0.9);
}

.mourning-countdown[hidden] {
  display: none;
}

.mourning-countdown span,
.mourning-countdown strong,
.mourning-countdown small {
  display: block;
  white-space: nowrap;
}

.mourning-countdown span {
  color: #555;
  font-size: 12px;
  font-weight: 900;
}

.mourning-countdown strong {
  font-size: 18px;
  line-height: 1;
}

.mourning-countdown small {
  color: #666;
  font-size: 12px;
}

body,
.site-header,
.hero,
.hero-service-card,
.mission-lead,
.hero-values article,
.home-rhythm a,
.mission-metrics {
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.rest-notice {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  width: min(460px, calc(100vw - 32px));
  padding: 18px;
  color: #f7f1e5;
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--sun-rgb), 0.18), transparent 34%),
    linear-gradient(135deg, rgba(24, 32, 22, 0.92), rgba(45, 42, 31, 0.88));
  border: 1px solid rgba(226, 213, 176, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.08);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.rest-notice:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rest-notice-kicker {
  display: block;
  margin-bottom: 4px;
  color: #d9ba64;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.rest-notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.25;
}

.rest-notice p {
  margin: 0;
  color: rgba(247, 241, 229, 0.78);
  font-size: 14px;
  line-height: 1.75;
}

.rest-notice button {
  min-width: 76px;
  min-height: 38px;
  padding: 8px 14px;
  color: #172016;
  background: #d9ba64;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.rest-notice[hidden] {
  display: none;
}

.wechat-guide-open {
  overflow: hidden;
}

.wechat-browser-guide {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 20px 24px;
  color: #f8fff8;
  background:
    radial-gradient(circle at 92% 7%, rgba(217, 186, 100, 0.2), transparent 18%),
    linear-gradient(145deg, rgba(9, 22, 15, 0.94), rgba(19, 52, 32, 0.9));
  backdrop-filter: blur(16px) saturate(1.05);
}

.wechat-browser-guide[hidden] {
  display: none;
}

:root[data-wechat-gate="locked"] body {
  overflow: hidden;
}

:root[data-wechat-gate="locked"] .site-header,
:root[data-wechat-gate="locked"] main,
:root[data-wechat-gate="locked"] .site-footer,
:root[data-wechat-gate="locked"] .rest-notice,
:root[data-wechat-gate="locked"] .app-qr-modal {
  display: none !important;
}

:root[data-wechat-gate="locked"] .wechat-browser-guide,
:root[data-wechat-gate="locked"] .wechat-browser-guide[hidden] {
  display: flex;
}

.wechat-guide-arrow {
  position: fixed;
  z-index: 2;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 118px;
  height: 118px;
  pointer-events: none;
}

.wechat-guide-arrow::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-top: 4px solid #f0c96a;
  border-right: 4px solid #f0c96a;
  transform: rotate(-8deg);
}

.wechat-guide-arrow::after {
  content: "点这里";
  position: absolute;
  right: 54px;
  top: 82px;
  color: #f5d782;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.wechat-guide-arrow span {
  position: absolute;
  top: 2px;
  right: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #0f2418;
  background: #f5d782;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.wechat-guide-panel {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 40px));
  min-width: 0;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 250, 0.97), rgba(235, 247, 231, 0.92));
  color: #142019;
  border: 1px solid rgba(224, 233, 219, 0.82);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.wechat-guide-panel .eyebrow {
  color: #b48a32;
}

.wechat-guide-panel h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.12;
}

.wechat-guide-panel p {
  margin: 0;
  color: #5f6c62;
  font-size: 16px;
  line-height: 1.75;
}

.wechat-guide-panel ol {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  counter-reset: wechat-step;
}

.wechat-guide-panel li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  color: #173e2a;
  font-weight: 900;
}

.wechat-guide-panel li::before {
  counter-increment: wechat-step;
  content: counter(wechat-step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #2f7d4f;
  border-radius: 50%;
}

.wechat-guide-panel button {
  width: 100%;
  min-height: 48px;
  color: #173e2a;
  background: #eaf4e6;
  border: 1px solid rgba(47, 125, 79, 0.22);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 520px) {
  .wechat-browser-guide {
    align-items: start;
    justify-content: flex-start;
    padding: max(112px, calc(env(safe-area-inset-top) + 92px)) 16px 24px;
  }

  .wechat-guide-arrow {
    top: max(14px, env(safe-area-inset-top));
    right: auto;
    left: clamp(186px, 63vw, 258px);
    transform: scale(0.88);
    transform-origin: top right;
  }

  .wechat-guide-panel {
    width: min(358px, calc(100vw - 32px));
    padding: 24px;
  }
}

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

img,
svg,
video {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

:root[data-mode="night"] .site-header {
  background: rgba(23, 32, 22, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(26, 45, 20, 0.1);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  color: #303942;
}

:root[data-mode="night"] .main-nav {
  color: rgba(242, 234, 219, 0.78);
}

.main-nav a {
  white-space: nowrap;
}

.nav-contact-link {
  display: none;
}

.main-nav a:hover,
.main-nav a.active,
.text-link:hover {
  color: var(--red);
}

.main-nav a.active {
  font-weight: 800;
}

.page-view {
  display: none !important;
}

.page-view.active {
  display: block !important;
}

.quick-panel.page-view.active,
.home-rhythm.page-view.active,
.store-grid.page-view.active,
.brand-grid.page-view.active,
.service-list.page-view.active,
.cooperation-grid.page-view.active {
  display: grid !important;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1500px) {
  .site-header {
    gap: 16px;
    padding-inline: clamp(20px, 3.2vw, 48px);
  }

  .brand {
    min-width: 218px;
  }

  .main-nav {
    gap: clamp(8px, 1vw, 16px);
  }
}

.hero-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  max-width: 800px;
  margin-top: 24px;
}

.hero-values article {
  position: relative;
  min-width: 0;
  min-height: 128px;
  padding: 18px 18px 18px 20px;
  color: #244529;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.72), rgba(239, 245, 229, 0.54));
  border: 1px solid rgba(255, 253, 247, 0.54);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(28, 56, 22, 0.12);
  backdrop-filter: blur(16px) saturate(1.08);
}

:root[data-mode="night"] .hero-values article,
:root[data-mode="night"] .home-rhythm a,
:root[data-mode="night"] .mission-metrics {
  background: rgba(244, 235, 212, 0.08);
  border-color: rgba(226, 213, 176, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

:root[data-mode="night"] .hero-values article {
  color: #f2eadb;
  background:
    linear-gradient(145deg, rgba(244, 235, 212, 0.16), rgba(64, 54, 38, 0.42));
  border-color: rgba(226, 213, 176, 0.18);
}

:root[data-mode="night"] .hero-service-card strong,
:root[data-mode="night"] .service-card-stats b,
:root[data-mode="night"] .mission-lead h2,
:root[data-mode="night"] .mission-metrics strong,
:root[data-mode="night"] .home-rhythm strong {
  color: #f2eadb;
}

:root[data-mode="night"] .hero-service-card span,
:root[data-mode="night"] .mission-lead .eyebrow,
:root[data-mode="night"] .home-rhythm span {
  color: #d8c071;
}

:root[data-mode="night"] .hero-service-card p,
:root[data-mode="night"] .service-card-stats small,
:root[data-mode="night"] .mission-lead p:last-child,
:root[data-mode="night"] .service-card-source {
  color: rgba(242, 234, 219, 0.78);
}

:root[data-mode="night"] .hero-values p,
:root[data-mode="night"] .home-rhythm p,
:root[data-mode="night"] .mission-metrics span {
  color: rgba(242, 234, 219, 0.68);
}

.hero-values article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  background: linear-gradient(180deg, var(--sun), var(--green));
  border-radius: 0 999px 999px 0;
}

.hero-values strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
}

.hero-values p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.language-switcher button.active {
  color: var(--white);
  background: var(--red);
}

.theme-clock {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 12px 6px 7px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.clock-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--sun) 0 50%, var(--deep-red) 50% 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.68);
}

.clock-face::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
}

.clock-face i {
  position: relative;
  z-index: 1;
  width: 3px;
  height: 10px;
  background: var(--deep-red);
  border-radius: 999px;
  transform: rotate(var(--clock-angle, 0deg)) translateY(-2px);
  transform-origin: center bottom;
}

.theme-clock-label {
  font-size: 13px;
  font-weight: 800;
}

:root[data-mode="night"] .theme-clock {
  background: rgba(242, 234, 219, 0.07);
  border-color: rgba(226, 213, 176, 0.16);
}

:root[data-mode="night"] .clock-face::before {
  background: rgba(23, 32, 22, 0.9);
}

:root[data-mode="night"] .clock-face i {
  background: #f2eadb;
}

.location-button,
.outline-button,
.primary-button,
.secondary-button,
.contact-form button {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.location-button,
.outline-button,
.secondary-button {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

:root[data-mode="night"] .location-button,
:root[data-mode="night"] .outline-button,
:root[data-mode="night"] .secondary-button,
:root[data-mode="night"] .language-switcher {
  background: rgba(242, 234, 219, 0.07);
  border-color: rgba(226, 213, 176, 0.16);
}

.primary-button,
.contact-form button {
  color: var(--white);
  background: var(--red);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.9);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
  min-height: 660px;
  padding: 0 clamp(20px, 6vw, 88px) 54px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.07) 1px, transparent 1px),
    radial-gradient(circle at 12% 22%, rgba(var(--sun-rgb), 0.2), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(var(--accent-rgb), 0.26), transparent 28%),
    linear-gradient(110deg, var(--hero-start) 0%, var(--hero-mid) 46%, var(--hero-end) 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(251, 247, 235, 0.9) 0%, rgba(238, 244, 226, 0.72) 34%, rgba(238, 244, 226, 0.28) 64%, rgba(238, 244, 226, 0.16) 100%),
    linear-gradient(180deg, rgba(40, 72, 36, 0.12), rgba(250, 244, 225, 0.22)),
    radial-gradient(circle at 74% 34%, rgba(255, 253, 247, 0.44), transparent 26%),
    var(--home-bg-image);
  background-blend-mode: normal, soft-light, normal, normal;
  background-position: center, center, center, var(--home-bg-position);
  background-repeat: no-repeat;
  background-size: cover, cover, cover, cover;
  filter: blur(var(--home-bg-blur)) saturate(0.78) brightness(1.04) contrast(0.96);
  transform: scale(1.01);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 253, 247, var(--home-bg-overlay));
  pointer-events: none;
}

:root[data-home-bg="panda-brand"] .hero-media {
  background-image:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(246, 250, 241, 0.92) 36%, rgba(239, 247, 230, 0.7) 60%, rgba(239, 247, 230, 0.44) 100%),
    radial-gradient(ellipse at 82% 58%, rgba(var(--accent-rgb), 0.18), transparent 38%),
    radial-gradient(ellipse at 75% 66%, rgba(255, 253, 247, 0.58), transparent 44%),
    linear-gradient(180deg, rgba(var(--sun-rgb), 0.08), rgba(var(--accent-rgb), 0.08));
  background-position: center;
  background-size: cover;
  filter: blur(var(--home-bg-blur)) saturate(0.98);
}

:root[data-home-bg="panda-brand"] .hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--home-bg-image);
  background-position: var(--home-bg-position);
  background-repeat: no-repeat;
  background-size: min(48vw, 560px);
  filter: saturate(0.9) brightness(1.04) contrast(0.92);
  mix-blend-mode: normal;
  opacity: 0.78;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 78% 58%, #000 0%, rgba(0, 0, 0, 0.9) 44%, rgba(0, 0, 0, 0.36) 62%, transparent 78%);
  mask-image: radial-gradient(ellipse at 78% 58%, #000 0%, rgba(0, 0, 0, 0.9) 44%, rgba(0, 0, 0, 0.36) 62%, transparent 78%);
}

:root[data-home-bg="mourning"] .hero-media {
  background-image:
    linear-gradient(90deg, rgba(250, 250, 250, 0.98) 0%, rgba(238, 238, 238, 0.9) 40%, rgba(238, 238, 238, 0.18) 70%),
    var(--home-bg-image);
  background-position: center, var(--home-bg-position);
  background-size: cover, min(48vw, 560px);
  filter: blur(var(--home-bg-blur)) grayscale(1) saturate(0) contrast(0.96) brightness(1.03);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(760px, 100%);
  padding: 96px 0 78px;
  color: var(--ink);
}

.hero-overlay::after {
  content: "PANDA SUPERMARKET";
  position: absolute;
  left: 132px;
  top: 118px;
  z-index: -1;
  width: min(620px, 70vw);
  color: rgba(var(--accent-rgb), 0.075);
  font-family: Arial, sans-serif;
  font-size: clamp(54px, 9vw, 118px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  left: 0;
  top: 76px;
  width: 72px;
  height: 5px;
  background: linear-gradient(90deg, var(--sun), var(--green));
  border-radius: 999px;
}

.hero-service-card {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  padding: 26px;
  color: var(--ink);
  background:
    radial-gradient(circle at 96% 0%, rgba(var(--sun-rgb), 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.78), rgba(238, 245, 225, 0.6));
  border: 1px solid rgba(255, 253, 247, 0.5);
  border-radius: 8px;
  box-shadow: var(--warm-shadow);
  backdrop-filter: blur(18px) saturate(1.08);
}

:root[data-mode="night"] .hero-media {
  background-image:
    linear-gradient(90deg, rgba(23, 32, 22, 0.88) 0%, rgba(30, 43, 27, 0.74) 42%, rgba(36, 49, 31, 0.38) 74%, rgba(36, 49, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(214, 163, 58, 0.08), rgba(21, 31, 20, 0.18)),
    radial-gradient(circle at 74% 34%, rgba(244, 235, 212, 0.22), transparent 25%),
    var(--home-bg-image);
  filter: blur(var(--home-bg-blur)) saturate(0.74) brightness(0.9) contrast(0.98);
}

:root[data-mode="night"] .hero-media::after {
  background: rgba(13, 20, 15, calc(var(--home-bg-overlay) + 0.08));
}

:root[data-mode="night"][data-home-bg="panda-brand"] .hero-media {
  background-image:
    linear-gradient(90deg, rgba(18, 26, 17, 0.98) 0%, rgba(25, 36, 22, 0.94) 46%, rgba(25, 36, 22, 0.72) 70%, rgba(25, 36, 22, 0.56) 100%),
    radial-gradient(circle at 78% 48%, rgba(244, 235, 212, 0.11), transparent 25%);
  background-blend-mode: normal, soft-light;
  background-position: center, center;
  background-size: cover, cover;
  filter: blur(var(--home-bg-blur)) saturate(0.42) brightness(0.68) contrast(0.9);
  opacity: 0.94;
}

:root[data-mode="night"][data-home-bg="panda-brand"] .hero-media::before {
  filter: saturate(0.38) brightness(0.78) contrast(0.92);
  mix-blend-mode: soft-light;
  opacity: 0.46;
}

:root[data-mode="night"][data-home-bg="mourning"] .hero-media {
  background-image:
    linear-gradient(90deg, rgba(18, 18, 18, 0.98) 0%, rgba(32, 32, 32, 0.88) 48%, rgba(36, 36, 36, 0.5) 76%),
    var(--home-bg-image);
  filter: blur(var(--home-bg-blur)) grayscale(1) saturate(0) brightness(0.76) contrast(0.92);
}

:root[data-mode="night"] .hero-service-card {
  background:
    radial-gradient(circle at 96% 0%, rgba(var(--sun-rgb), 0.12), transparent 32%),
    linear-gradient(145deg, rgba(244, 235, 212, 0.12), rgba(64, 54, 38, 0.58));
  border-color: rgba(226, 213, 176, 0.2);
}

.hero-service-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(214, 163, 58, 0.18);
  border-radius: 6px;
}

.hero-service-card::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 18px;
  background:
    linear-gradient(90deg, var(--sun) 0 34%, transparent 34% 39%, #dff1d4 39% 68%, transparent 68% 73%, #98c86e 73% 100%);
  border-radius: 999px;
}

.hero-service-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-service-card strong {
  display: block;
  margin: 8px 0;
  color: var(--deep-red);
  font-size: 26px;
  line-height: 1.18;
}

.hero-service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card-updated {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: 2px 0 8px;
  padding: 4px 9px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  background: rgba(236, 250, 225, 0.76);
  border: 1px solid rgba(83, 143, 38, 0.16);
  border-radius: 999px;
}

.service-card-updated time {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.service-card-subtitle {
  line-height: 1.55;
}

.service-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.service-card-stats div {
  min-width: 0;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(126, 153, 41, 0.24);
  border-radius: 8px;
}

:root[data-mode="night"] .service-card-stats div {
  background: rgba(242, 234, 219, 0.08);
  border-color: rgba(226, 213, 176, 0.16);
}

.service-card-stats b,
.service-card-stats small {
  display: block;
}

.service-card-stats b {
  color: var(--deep-red);
  font-size: 18px;
  line-height: 1.1;
}

.service-card-stats small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.service-card-source {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.service-card-source a {
  display: inline-flex;
  margin-left: 6px;
  color: var(--red);
  font-weight: 900;
  overflow-wrap: anywhere;
}

:root[data-mode="night"] .service-card-source {
  color: rgba(242, 234, 219, 0.78);
}

:root[data-mode="night"] .service-card-source a {
  color: #d8c071;
}

:root[data-mode="night"] .service-card-updated {
  color: #dfcf91;
  background: rgba(244, 235, 212, 0.1);
  border-color: rgba(226, 213, 176, 0.18);
}

:root[data-mode="night"] .service-card-updated time {
  color: rgba(247, 241, 229, 0.92);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--deep-red);
}

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

h1,
h2,
h3,
strong,
p,
span,
em {
  overflow-wrap: anywhere;
}

h1 {
  position: relative;
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

h1::before {
  content: "";
  position: absolute;
  left: -22px;
  top: -20px;
  z-index: -1;
  width: min(620px, calc(100vw - 40px));
  height: calc(100% + 36px);
  background:
    radial-gradient(circle at 8% 10%, rgba(var(--sun-rgb), 0.16), transparent 30%),
    linear-gradient(90deg, rgba(255, 253, 247, 0.48), rgba(255, 253, 247, 0.08) 70%, transparent);
  border-left: 7px solid rgba(var(--sun-rgb), 0.46);
  border-radius: 8px;
  backdrop-filter: blur(3px);
}

:root[data-mode="night"] h1::before {
  background:
    radial-gradient(circle at 8% 10%, rgba(var(--sun-rgb), 0.1), transparent 30%),
    linear-gradient(90deg, rgba(242, 234, 219, 0.08), rgba(242, 234, 219, 0));
}

h1 span {
  display: block;
}

h1 span:nth-child(2) {
  text-indent: 1em;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.quick-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 40px));
  margin: -74px auto 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.quick-panel a {
  min-height: 148px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.quick-panel a:last-child {
  border-right: 0;
}

.quick-panel span,
.brand-grid span,
.partner-feature span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.quick-panel strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 22px;
}

.quick-panel small {
  color: var(--muted);
}

.brand-mission {
  width: min(1080px, calc(100% - 40px));
  margin: 30px auto 0;
  padding-bottom: 20px;
  transform: none;
}

.mission-lead {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 40px 46px 50px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 253, 247, 0.9), rgba(242, 246, 232, 0.8) 58%, rgba(250, 244, 225, 0.72)),
    var(--home-bg-image);
  background-position: center, center, var(--home-bg-position);
  background-size: 44px 44px, cover, cover;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(var(--deep-rgb), 0.12);
  backdrop-filter: blur(16px) saturate(1.05);
}

.mission-lead > * {
  position: relative;
  z-index: 1;
}

:root[data-home-bg="panda-brand"] .mission-lead {
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(242, 246, 232, 0.84) 58%, rgba(250, 244, 225, 0.76));
  background-position: center, center;
  background-size: 44px 44px, cover;
}

:root[data-home-bg="panda-brand"] .mission-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--home-bg-image);
  background-position: var(--home-bg-position);
  background-repeat: no-repeat;
  background-size: min(54vw, 700px);
  filter: saturate(0.82) brightness(1.04) contrast(0.92);
  mix-blend-mode: normal;
  opacity: 0.34;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 76% 54%, #000 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0.2) 62%, transparent 82%);
  mask-image: radial-gradient(ellipse at 76% 54%, #000 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0.2) 62%, transparent 82%);
}

.mission-lead::after {
  content: "PANDA";
  position: absolute;
  right: 34px;
  bottom: -22px;
  color: rgba(var(--accent-rgb), 0.08);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  z-index: 0;
}

.mission-lead .eyebrow {
  color: var(--gold);
}

.mission-lead h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.mission-lead p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

:root[data-mode="night"] .mission-lead {
  color: #f2eadb;
  background:
    linear-gradient(90deg, rgba(226, 213, 176, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(38, 34, 27, 0.72), rgba(71, 59, 39, 0.48) 58%, rgba(95, 72, 38, 0.34)),
    var(--home-bg-image);
  background-position: center, center, var(--home-bg-position);
  background-size: 44px 44px, cover, cover;
  border-color: rgba(226, 213, 176, 0.16);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.18);
}

:root[data-mode="night"][data-home-bg="panda-brand"] .mission-lead {
  background:
    linear-gradient(90deg, rgba(226, 213, 176, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(30, 31, 27, 0.86), rgba(49, 45, 34, 0.66) 58%, rgba(70, 58, 38, 0.46));
  background-position: center, center;
  background-size: 44px 44px, cover;
}

:root[data-mode="night"][data-home-bg="panda-brand"] .mission-lead::before {
  filter: saturate(0.34) brightness(0.72) contrast(0.9);
  mix-blend-mode: soft-light;
  opacity: 0.26;
}

:root[data-mode="night"] .mission-lead::after {
  color: rgba(242, 234, 219, 0.06);
}

.mission-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--sun-rgb), 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.82), rgba(239, 245, 229, 0.62));
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(var(--deep-rgb), 0.08);
  backdrop-filter: blur(14px) saturate(1.04);
}

:root[data-mode="night"] .mission-metrics {
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--sun-rgb), 0.1), transparent 28%),
    linear-gradient(135deg, rgba(244, 235, 212, 0.12), rgba(64, 54, 38, 0.34));
}

.mission-metrics div {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 22px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.mission-metrics div:last-child {
  border-right: 0;
}

.mission-metrics strong,
.mission-metrics span {
  display: block;
}

.mission-metrics strong {
  color: var(--deep-red);
  font-size: 30px;
  line-height: 1.1;
}

.mission-metrics span {
  margin-top: 8px;
  color: var(--muted);
}

.home-rhythm {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 90px;
}

.home-rhythm a {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 128px;
  padding: 14px 44px 14px 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--sun-rgb), 0.13), transparent 30%),
    linear-gradient(145deg, rgba(255, 253, 247, 0.86), rgba(239, 245, 229, 0.68));
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(var(--deep-rgb), 0.09);
  backdrop-filter: blur(12px) saturate(1.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

:root[data-mode="night"] .home-rhythm a {
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--sun-rgb), 0.1), transparent 30%),
    linear-gradient(145deg, rgba(244, 235, 212, 0.12), rgba(64, 54, 38, 0.34));
}

.home-rhythm a::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--deep-red);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(126, 153, 41, 0.2);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-rhythm a:hover::after {
  color: var(--white);
  background: var(--red);
  transform: translate(3px, -50%);
}

.home-rhythm img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 0;
  object-fit: cover;
  border-radius: 6px;
  background:
    radial-gradient(circle at 84% 8%, rgba(var(--sun-rgb), 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef7e8);
  filter: saturate(0.92);
}

:root[data-mode="night"] .home-rhythm img {
  background:
    radial-gradient(circle at 84% 8%, rgba(var(--sun-rgb), 0.12), transparent 30%),
    linear-gradient(135deg, #20291f, #152112);
}

:root[data-mode="night"] .home-rhythm img {
  filter: saturate(0.74) brightness(0.76);
}

:root[data-mode="night"] .home-rhythm a::after {
  color: #f2eadb;
  background: rgba(242, 234, 219, 0.08);
  border-color: rgba(226, 213, 176, 0.16);
}

.home-rhythm a:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.34);
  box-shadow: var(--warm-shadow);
}

.home-rhythm strong {
  display: block;
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.home-rhythm p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.mascot-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mascot-showcase span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  color: var(--deep-red);
  background: #e5f5d8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.mascot-showcase h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
}

.mascot-showcase p {
  color: var(--muted);
}

.mascot-showcase img {
  display: block;
  width: 100%;
  max-height: 420px;
  min-height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.accent-section,
.service-section,
.cooperation-section {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}

.accent-section {
  background: #f3f6ee;
}

.service-section {
  background: #fff;
}

.cooperation-section {
  background: #f8efe5;
}

.impact-section {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: #f6f1ec;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.section-heading p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

select,
input,
textarea {
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.store-grid,
.brand-grid,
.service-list,
.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

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

.service-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.retail-console {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.store-service-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.store-service-head {
  min-height: 230px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(30, 44, 27, 0.96), rgba(72, 111, 40, 0.82)),
    url("https://images.unsplash.com/photo-1526256262350-7da7584cf5eb?auto=format&fit=crop&w=1200&q=82");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.store-service-head .eyebrow {
  color: #d8ff9d;
}

.store-service-head h3 {
  max-width: 420px;
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.15;
}

.store-service-head p:last-child {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.console-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
  padding: 18px;
  background: #1f251e;
  border-radius: 8px;
}

.console-rail div {
  display: grid;
  gap: 8px;
}

.console-rail span {
  color: #c7ef92;
  font-size: 12px;
  font-weight: 800;
}

.console-rail button {
  min-height: 40px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
}

.console-rail button.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.store-stage {
  display: grid;
  gap: 18px;
}

.store-insight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 210px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(31, 93, 45, 0.94), rgba(101, 173, 34, 0.74)),
    url("https://images.unsplash.com/photo-1610417721079-9581f5bc5fb3?auto=format&fit=crop&w=1400&q=80");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.store-insight .eyebrow {
  color: #d8ff9d;
}

.store-insight h3 {
  max-width: 520px;
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1.15;
}

.store-insight p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.store-insight dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 10px;
  margin: 0;
}

.store-insight dl div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.store-insight dt {
  font-size: 26px;
  font-weight: 900;
}

.store-insight dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.store-service-promise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.store-service-promise article {
  position: relative;
  min-height: 178px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(241, 247, 232, 0.88));
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(var(--deep-rgb), 0.08);
}

:root[data-mode="night"] .store-service-promise article {
  background:
    linear-gradient(145deg, rgba(242, 234, 219, 0.08), rgba(63, 55, 39, 0.38));
  border-color: rgba(226, 213, 176, 0.16);
}

.store-service-promise span {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.store-service-promise strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

.store-service-promise p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.store-card,
.brand-grid article,
.service-list article,
.cooperation-grid article,
.partner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.store-card {
  display: flex;
  flex-direction: column;
  min-height: 590px;
}

.store-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.store-card-body,
.brand-grid article,
.service-list article,
.cooperation-grid article,
.partner-card {
  padding: 22px;
}

.service-list article {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: flex-start;
}

.service-list p {
  margin-bottom: 18px;
  line-height: 1.75;
}

.service-list a {
  margin-top: auto;
}

.cooperation-grid article {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.cooperation-grid article > span {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--green);
  background: #e8f5e6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.brand-grid article {
  display: flex;
  flex-direction: column;
}

.brand-grid article > img {
  display: block;
  width: calc(100% + 44px);
  height: 170px;
  margin: -22px -22px 20px;
  object-fit: cover;
}

.store-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.store-card h3,
.brand-grid h3,
.cooperation-grid h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.store-card p,
.brand-grid p,
.service-list p,
.cooperation-grid p,
.partner-feature p {
  color: var(--muted);
}

.cooperation-grid small {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  color: #7a6b59;
  line-height: 1.65;
}

.cooperation-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(29, 56, 36, 0.94), rgba(63, 116, 40, 0.88)),
    url("https://images.unsplash.com/photo-1556745753-b2904692b3cd?auto=format&fit=crop&w=1400&q=82");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.cooperation-cta span {
  color: #d8ff9d;
  font-size: 13px;
  font-weight: 900;
}

.cooperation-cta h3 {
  margin: 8px 0;
  font-size: 30px;
}

.cooperation-cta p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cooperation-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: #f2eadb;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.store-card-info {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 140px;
  margin-top: 14px;
}

.store-card-info p {
  margin: 0;
}

.store-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 42px;
  margin-top: auto;
  padding-top: 18px;
}

.store-actions a,
.store-actions button,
.store-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--deep-red);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.store-actions a:hover,
.store-actions button:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.store-actions [aria-disabled="true"],
.store-actions button:disabled {
  color: var(--muted);
  background: rgba(var(--deep-rgb), 0.04);
  border-color: var(--line);
  cursor: not-allowed;
}

.store-actions [aria-disabled="true"]:hover,
.store-actions button:disabled:hover {
  color: var(--muted);
  background: rgba(var(--deep-rgb), 0.04);
  border-color: var(--line);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  margin-top: 0;
  padding-top: 14px;
}

.tag-row span,
.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: var(--deep-red);
  background: #e5f5d8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-service-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.product-service-head {
  min-height: 230px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 37, 30, 0.94), rgba(95, 72, 38, 0.8)),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1200&q=82");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.product-service-head .eyebrow {
  color: #f0cf72;
}

.product-service-head h3 {
  max-width: 420px;
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.15;
}

.product-service-head p:last-child {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.product-service-grid article {
  min-height: 230px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(248, 242, 229, 0.9));
  border: 1px solid rgba(var(--sun-rgb), 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(var(--deep-rgb), 0.07);
}

:root[data-mode="night"] .product-service-grid article {
  background:
    linear-gradient(145deg, rgba(242, 234, 219, 0.08), rgba(76, 60, 38, 0.34));
  border-color: rgba(226, 213, 176, 0.16);
}

.product-service-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.product-service-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

.product-service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.category-tabs button {
  min-height: 40px;
  padding: 8px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.category-tabs button.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.product-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.sync-status {
  display: grid;
  min-width: 310px;
  padding: 14px 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(245, 249, 236, 0.86));
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 8px;
}

.sync-status strong {
  color: var(--red);
}

.sync-status span {
  color: var(--muted);
  font-size: 13px;
}

.product-depth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.arrival-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: stretch;
}

.featured-product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 360px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-product::before {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent);
  content: "";
  pointer-events: none;
}

.featured-product img {
  order: 2;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #f7f4ec;
}

.featured-product-content {
  position: relative;
  z-index: 1;
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(101, 173, 34, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(31, 37, 30, 0.94), rgba(31, 93, 45, 0.72));
}

.featured-product-content .eyebrow {
  color: #d8ff9d;
}

.featured-product-content h3 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
}

.featured-product-content p {
  color: rgba(255, 255, 255, 0.78);
}

.featured-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
}

.featured-price-row strong {
  color: #d8ff9d;
  font-size: 40px;
  line-height: 1;
}

.featured-price-row span {
  color: rgba(255, 255, 255, 0.74);
}

.arrival-summary {
  display: grid;
  gap: 12px;
}

.arrival-summary div {
  display: grid;
  align-content: center;
  min-height: 112px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.arrival-summary span,
.arrival-summary small {
  color: var(--muted);
}

.arrival-summary strong {
  color: var(--deep-red);
  font-size: 30px;
  line-height: 1.1;
}

.product-shelf {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
}

.product-more-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.product-more-button {
  min-height: 44px;
  padding: 10px 20px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(var(--deep-rgb), 0.14);
}

.product-price {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card img {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: cover;
  border-radius: 0;
}

.product-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-card h3 {
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.25;
}

.product-card p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.product-card .tag-row {
  min-height: 34px;
  margin-top: auto;
  padding-top: 12px;
}

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

.product-card button,
.service-list a,
.text-link {
  color: var(--red);
  font-weight: 800;
}

.product-card button {
  align-self: flex-start;
  min-height: 34px;
  margin-top: 12px;
  padding: 7px 12px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 999px;
  cursor: pointer;
}

.arrival-timeline {
  position: sticky;
  top: 96px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(241, 247, 232, 0.88));
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 8px;
}

.arrival-timeline h3 {
  margin-bottom: 20px;
  font-size: 28px;
}

.app-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(18, 28, 17, 0.56);
  backdrop-filter: blur(8px);
}

.app-qr-modal[hidden] {
  display: none;
}

.app-qr-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 30px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.98), rgba(241, 247, 232, 0.94));
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

:root[data-mode="night"] .app-qr-dialog {
  background:
    linear-gradient(145deg, rgba(31, 39, 29, 0.98), rgba(49, 48, 36, 0.96));
  border-color: rgba(226, 213, 176, 0.16);
}

.app-qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.app-qr-dialog h3 {
  margin-bottom: 18px;
  font-size: 26px;
}

.app-qr-box {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  margin: 0 auto 18px;
  background:
    linear-gradient(90deg, rgba(var(--deep-rgb), 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(var(--deep-rgb), 0.12) 1px, transparent 1px),
    #fffdf7;
  background-size: 16px 16px;
  border: 10px solid #ffffff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(var(--deep-rgb), 0.16);
}

.app-qr-box span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--white);
  background: var(--deep-red);
  border-radius: 8px;
  font-size: 24px;
  font-weight: 900;
}

.app-qr-dialog p:last-child {
  margin: 0;
  color: var(--muted);
}

.arrival-timeline ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.arrival-timeline li {
  position: relative;
  padding-left: 42px;
  counter-increment: steps;
}

.arrival-timeline li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  content: counter(steps);
  font-size: 13px;
  font-weight: 800;
}

.arrival-timeline strong,
.arrival-timeline span {
  display: block;
}

.arrival-timeline span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.ecosystem-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ecosystem-map article {
  min-height: 176px;
  padding: 24px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.ecosystem-map article:last-child {
  border-right: 0;
}

.ecosystem-map span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 10px;
  color: var(--deep-red);
  background: #e5f5d8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.ecosystem-map strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.ecosystem-map p {
  color: var(--muted);
}

.partner-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.4fr;
  gap: 18px;
}

.partner-feature {
  min-height: 350px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(32, 38, 44, 0.88), rgba(32, 38, 44, 0.52)),
    url("https://images.unsplash.com/photo-1556741533-411cf82e4e2d?auto=format&fit=crop&w=1200&q=80");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.partner-feature h3 {
  margin-top: 70px;
  font-size: 32px;
  line-height: 1.18;
}

.partner-feature p {
  color: rgba(255, 255, 255, 0.86);
}

.partner-feature .text-link {
  color: #d8ff9d;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.partner-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.partner-card p {
  margin-bottom: 18px;
}

.partner-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  color: var(--green);
  background: #e4f4e9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.partner-mini-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.partner-mini-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin: 0;
  padding: 5px 9px 5px 5px;
  background: #f7fbf6;
  border: 1px solid #ddebdd;
  border-radius: 999px;
}

.partner-mini-logo i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--mini-accent);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--mini-accent) 18%, transparent);
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  overflow: hidden;
}

.partner-mini-logo img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.partner-mini-logo img + b {
  display: none;
}

.partner-mini-logo i.logo-fallback b,
.partner-mini-logo i b:first-child {
  display: inline;
}

.partner-mini-logo i.qr-mark {
  width: 26px;
  height: 26px;
  color: #1b496d;
  background:
    linear-gradient(90deg, currentColor 2px, transparent 2px) 6px 6px / 6px 6px,
    linear-gradient(currentColor 2px, transparent 2px) 6px 6px / 6px 6px,
    #edf7ff;
  border: 1px solid #bad7ef;
  border-radius: 6px;
  font-size: 9px;
}

.partner-mini-logo i.qr-mark b {
  display: inline;
  padding: 1px 2px;
  color: #1b496d;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 3px;
}

.partner-mini-logo figcaption {
  color: #4d5f56;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.agency-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1.58fr);
  gap: 22px;
  margin-top: 18px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--sun-rgb), 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 242, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.agency-panel-copy {
  align-self: center;
}

.agency-panel-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.agency-panel-copy h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.agency-panel-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.agency-records {
  position: relative;
  min-height: 508px;
  max-height: 508px;
  overflow: hidden;
}

.agency-record-track {
  display: flex;
  flex-direction: column;
  animation: agencyPartnerScroll var(--agency-scroll-duration, 42s) linear infinite;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.agency-record-set {
  display: grid;
  gap: 14px;
  padding-bottom: 14px;
}

.agency-records:hover .agency-record-track {
  animation-play-state: paused;
}

.agency-record-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px 15px;
  align-items: center;
  height: 160px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.agency-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--agency-accent);
  background: color-mix(in srgb, var(--agency-accent) 10%, white);
  border: 1px solid color-mix(in srgb, var(--agency-accent) 20%, transparent);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 950;
  overflow: hidden;
}

.agency-brand-mark img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.agency-brand-mark img + b {
  display: none;
}

.agency-brand-mark.logo-fallback b,
.agency-brand-mark b:first-child {
  display: inline;
}

.agency-record-body span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--agency-accent);
  background: color-mix(in srgb, var(--agency-accent) 10%, white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.agency-record-body h4 {
  margin-bottom: 5px;
  font-size: 19px;
}

.agency-record-body p {
  display: -webkit-box;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.agency-record-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.agency-record-tags em {
  display: inline-flex;
  padding: 5px 9px;
  color: #4f6d5b;
  background: #eef7ee;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

@keyframes agencyPartnerScroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, calc(var(--agency-scroll-distance, 0px) * -1), 0);
  }
}

.brand-library-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 18px;
  padding: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 242, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-library-panel > div:first-child span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-library-panel h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.brand-library-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.brand-library-panel p strong {
  color: var(--ink);
  font-size: 20px;
}

.partner-brand-wall {
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.brand-carousel-row {
  display: flex;
  width: max-content;
  animation: brandMarquee 68s linear infinite;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.brand-carousel-set {
  display: flex;
  gap: 10px;
  padding-right: 10px;
}

.brand-carousel-row.reverse {
  animation-name: brandMarqueeReverse;
  animation-duration: 78s;
}

.brand-carousel-row.row-3 {
  animation-duration: 88s;
}

.partner-brand-wall:hover .brand-carousel-row {
  animation-play-state: paused;
}

.brand-logo-card {
  display: grid;
  flex: 0 0 172px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-logo-mark {
  position: relative;
  display: inline-flex;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--brand-accent);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 22%, transparent);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  overflow: hidden;
}

.brand-logo-mark img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.brand-logo-mark img + b {
  display: none;
}

.brand-logo-mark.logo-fallback b,
.brand-logo-mark b:first-child {
  display: inline;
}

.brand-logo-card strong {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo-card em {
  color: var(--brand-accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

@keyframes brandMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(var(--brand-scroll-distance, 0px) * -1), 0, 0);
  }
}

@keyframes brandMarqueeReverse {
  from {
    transform: translate3d(calc(var(--brand-scroll-distance, 0px) * -1), 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.impact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: end;
  min-height: 430px;
  margin-bottom: 22px;
  padding: 38px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(36, 33, 29, 0.92), rgba(36, 33, 29, 0.52)),
    url("https://images.unsplash.com/photo-1526256262350-7da7584cf5eb?auto=format&fit=crop&w=1600&q=84");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
}

.impact-hero span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 12px;
  color: #d8ff9d;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.impact-hero h3 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.impact-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.impact-hero dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.impact-hero dl div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.impact-hero dt {
  font-size: 30px;
  font-weight: 900;
}

.impact-hero dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.impact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.impact-story,
.media-report-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.impact-story {
  padding: 28px;
}

.impact-story h3 {
  margin-bottom: 20px;
  font-size: 30px;
}

.impact-story ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.impact-story li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.impact-story li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.impact-story strong,
.impact-story span {
  display: block;
}

.impact-story span {
  margin-top: 5px;
  color: var(--muted);
}

.media-report-column {
  display: grid;
  gap: 18px;
}

.impact-link-heading {
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.impact-link-heading h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.impact-link-heading p:last-child {
  color: var(--muted);
}

.media-report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.media-report-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-report-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.media-report-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.media-report-card strong {
  font-size: 21px;
  line-height: 1.35;
}

.media-report-card p {
  color: var(--muted);
}

.media-report-card em {
  align-self: end;
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 22px;
  align-items: start;
}

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

.contact-directory article {
  min-height: 230px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-directory span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--green);
  background: #e8f5e6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.contact-directory h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.contact-directory p {
  margin: 0 0 7px;
  color: var(--ink);
  font-weight: 700;
}

.contact-directory .contact-person {
  color: var(--brand);
}

.contact-directory small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

:root[data-mode="night"] .accent-section,
:root[data-mode="night"] .service-section,
:root[data-mode="night"] .cooperation-section,
:root[data-mode="night"] .impact-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--sun-rgb), 0.07), transparent 30%),
    linear-gradient(180deg, rgba(24, 33, 24, 0.96), rgba(17, 24, 16, 0.98));
}

:root[data-mode="night"] .mascot-showcase,
:root[data-mode="night"] .store-card,
:root[data-mode="night"] .brand-grid article,
:root[data-mode="night"] .service-list article,
:root[data-mode="night"] .cooperation-grid article,
:root[data-mode="night"] .partner-card,
:root[data-mode="night"] .ecosystem-map article,
:root[data-mode="night"] .agency-panel,
:root[data-mode="night"] .agency-record-card,
:root[data-mode="night"] .brand-library-panel,
:root[data-mode="night"] .impact-story,
:root[data-mode="night"] .media-report-card,
:root[data-mode="night"] .impact-link-heading,
:root[data-mode="night"] .contact-form,
:root[data-mode="night"] .contact-directory article,
:root[data-mode="night"] .arrival-summary div,
:root[data-mode="night"] .product-card,
:root[data-mode="night"] .featured-product,
:root[data-mode="night"] .arrival-timeline,
:root[data-mode="night"] .sync-status,
:root[data-mode="night"] .brand-logo-card {
  background:
    linear-gradient(145deg, rgba(242, 234, 219, 0.08), rgba(32, 41, 31, 0.96));
  border-color: rgba(226, 213, 176, 0.16);
}

:root[data-mode="night"] select,
:root[data-mode="night"] input,
:root[data-mode="night"] textarea {
  color: var(--ink);
  background: rgba(242, 234, 219, 0.07);
  border-color: rgba(226, 213, 176, 0.18);
}

:root[data-mode="night"] select::placeholder,
:root[data-mode="night"] input::placeholder,
:root[data-mode="night"] textarea::placeholder {
  color: rgba(242, 234, 219, 0.48);
}

:root[data-mode="night"] .mascot-showcase span,
:root[data-mode="night"] .cooperation-grid article > span,
:root[data-mode="night"] .tag-row span,
:root[data-mode="night"] .product-meta span,
:root[data-mode="night"] .ecosystem-map span,
:root[data-mode="night"] .partner-card span,
:root[data-mode="night"] .agency-record-body span,
:root[data-mode="night"] .contact-directory span {
  color: #d8ff9d;
  background: rgba(216, 255, 157, 0.1);
  border: 1px solid rgba(216, 255, 157, 0.14);
}

:root[data-mode="night"] .category-tabs button,
:root[data-mode="night"] .product-card button,
:root[data-mode="night"] .store-actions a,
:root[data-mode="night"] .store-actions button,
:root[data-mode="night"] .store-actions span {
  color: var(--ink);
  background: rgba(242, 234, 219, 0.07);
  border-color: rgba(226, 213, 176, 0.16);
}

:root[data-mode="night"] .category-tabs button.active,
:root[data-mode="night"] .store-actions a:hover,
:root[data-mode="night"] .store-actions button:hover {
  color: #f8f1df;
  background: var(--red);
  border-color: var(--red);
}

:root[data-mode="night"] .cooperation-grid small,
:root[data-mode="night"] .partner-mini-logo figcaption {
  color: var(--muted);
}

:root[data-mode="night"] .partner-mini-logo {
  background: rgba(242, 234, 219, 0.06);
  border-color: rgba(226, 213, 176, 0.14);
}

:root[data-mode="night"] .partner-mini-logo i,
:root[data-mode="night"] .agency-brand-mark,
:root[data-mode="night"] .brand-logo-mark {
  background: rgba(242, 234, 219, 0.08);
  border-color: rgba(226, 213, 176, 0.14);
}

:root[data-mode="night"] .agency-record-tags em {
  color: #d8ff9d;
  background: rgba(216, 255, 157, 0.08);
}

:root[data-mode="night"] .brand-logo-card em,
:root[data-mode="night"] .media-report-card em,
:root[data-mode="night"] .product-card button,
:root[data-mode="night"] .service-list a,
:root[data-mode="night"] .text-link {
  color: #d8c071;
}

:root[data-mode="night"] .store-card img,
:root[data-mode="night"] .brand-grid article > img,
:root[data-mode="night"] .product-card img,
:root[data-mode="night"] .featured-product img,
:root[data-mode="night"] .mascot-showcase img {
  filter: brightness(0.82) saturate(0.86);
}

:root[data-mode="night"] .product-card img {
  opacity: 0.9;
}

:root[data-mode="night"] .featured-product img {
  opacity: 0.74;
  filter: brightness(0.72) saturate(0.78);
}

:root[data-mode="night"] .store-service-head,
:root[data-mode="night"] .store-insight,
:root[data-mode="night"] .product-service-head,
:root[data-mode="night"] .featured-product-content,
:root[data-mode="night"] .partner-feature,
:root[data-mode="night"] .impact-hero,
:root[data-mode="night"] .cooperation-cta {
  color: #f8f1df;
}

:root[data-mode="night"] .primary-button,
:root[data-mode="night"] .contact-form button,
:root[data-mode="night"] .product-more-button,
:root[data-mode="night"] .console-rail button.active {
  color: #f8f1df;
}

:root[data-mode="night"] .cooperation-cta a {
  color: #172016;
  background: #f2eadb;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 15px;
  color: #1d5f3a;
  background: #eaf7e8;
  border: 1px solid rgba(47, 125, 79, 0.18);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.form-status.error {
  color: #8d2f24;
  background: #fff1ed;
  border-color: rgba(190, 82, 62, 0.22);
}

.contact-form button {
  justify-self: start;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(22px, 4vw, 52px);
  padding: 30px clamp(20px, 5vw, 72px) 18px;
  color: rgba(242, 234, 219, 0.72);
  background:
    linear-gradient(135deg, rgba(29, 31, 27, 0.96), rgba(31, 31, 28, 0.94));
}

.footer-brand strong,
.site-footer nav strong {
  display: block;
  color: #f2eadb;
}

.footer-brand strong {
  font-size: 23px;
  line-height: 1.1;
}

.footer-brand p {
  margin: 6px 0 0;
  color: #d8c071;
  font-size: 14px;
  font-weight: 900;
}

.footer-brand span,
.footer-bottom {
  color: rgba(242, 234, 219, 0.62);
  font-size: 12px;
}

.footer-brand span {
  display: block;
  margin-top: 8px;
}

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

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.site-footer a {
  color: rgba(242, 234, 219, 0.72);
  font-size: 13px;
}

.site-footer a:hover {
  color: #f2eadb;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 234, 219, 0.12);
}

@media (max-width: 1180px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav,
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
  }

  .main-nav {
    gap: 8px;
  }

  .main-nav a {
    min-height: 34px;
    padding: 7px 11px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .main-nav a.active {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
  }

  .nav-contact-link {
    display: inline-flex;
  }

  .header-actions .outline-button {
    display: none;
  }

  .quick-panel,
  .brand-mission,
  .home-rhythm,
  .store-service-block,
  .product-service-block,
  .store-grid,
  .product-shelf,
  .brand-grid,
  .service-list,
  .cooperation-grid,
  .mascot-showcase,
  .retail-console,
  .product-depth,
  .arrival-board,
  .featured-product,
  .ecosystem-map,
  .impact-hero,
  .impact-layout,
  .partner-layout,
  .agency-panel,
  .brand-library-panel,
  .contact-layout,
  .contact-form {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .console-rail,
  .arrival-timeline {
    position: static;
  }

  .store-insight,
  .product-command {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .product-depth {
    grid-template-columns: 1fr;
  }

  .arrival-board {
    grid-template-columns: 1fr;
  }

  .featured-product {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  }

  .featured-product img {
    min-height: 320px;
  }

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

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

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

  .section-heading {
    grid-template-columns: 1fr;
  }

  .partner-feature {
    min-height: 300px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 34px;
  }

  .hero-overlay {
    padding-bottom: 12px;
  }

  .hero-service-card {
    width: min(560px, 100%);
  }
}

@media (max-width: 720px) {
  .rest-notice {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .rest-notice button {
    width: max-content;
  }

  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding: 0 16px 34px;
  }

  .hero-overlay {
    width: 100%;
    padding: 76px 0 12px;
  }

  .hero-service-card {
    width: 100%;
    margin: 0;
  }

  .brand-mission {
    width: calc(100% - 32px);
    margin-top: 16px;
    padding-bottom: 18px;
    transform: none;
  }

  h1 {
    font-size: 36px;
  }

  .hero-actions,
  .product-command {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-values {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .quick-panel,
  .home-rhythm,
  .store-service-block,
  .product-service-block,
  .store-grid,
  .product-shelf,
  .brand-grid,
  .service-list,
  .cooperation-grid,
  .mascot-showcase,
  .retail-console,
  .product-depth,
  .ecosystem-map,
  .partner-layout,
  .partner-grid,
  .agency-panel,
  .agency-records,
  .brand-library-panel,
  .contact-layout,
  .contact-directory,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .store-service-promise {
    grid-template-columns: 1fr;
  }

  .product-service-grid {
    grid-template-columns: 1fr;
  }

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

  .home-rhythm a {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    min-height: 116px;
    padding: 12px 34px 12px 12px;
  }

  .home-rhythm strong {
    font-size: 18px;
  }

  .featured-product {
    grid-template-columns: 1fr;
  }

  .featured-product img {
    min-height: 220px;
    max-height: 260px;
  }

  .store-insight dl {
    grid-template-columns: 1fr;
  }

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

  .product-card img {
    width: 100%;
    height: 140px;
  }

  .ecosystem-map article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ecosystem-map article:last-child {
    border-bottom: 0;
  }

  .quick-panel {
    margin-top: -54px;
  }

  .quick-panel a {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .accent-section,
  .service-section,
  .cooperation-section,
  .impact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .impact-hero,
  .impact-layout,
  .media-report-grid {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-rhythm {
    margin-bottom: 64px;
  }

}

@media (max-width: 520px) {
  .mourning-countdown {
    left: 14px;
    right: 14px;
    bottom: 14px;
    transform: none;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
  }

  .mourning-countdown strong {
    font-size: 15px;
  }

  .mourning-countdown small {
    display: none;
  }

  body {
    overflow-x: hidden;
  }

  .site-header {
    gap: 14px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-mark {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 18px;
    line-height: 1.15;
  }

  .brand small {
    font-size: 11px;
  }

  .main-nav {
    display: flex;
    gap: 8px;
    padding-bottom: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-contact-link {
    order: -1;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 12px;
    scroll-snap-align: start;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-width: 0;
  }

  .language-switcher {
    width: max-content;
  }

  .location-button,
  .outline-button,
  .theme-clock,
  .primary-button,
  .secondary-button {
    width: 100%;
    text-align: center;
  }

  .hero-values article {
    min-height: auto;
    padding: 16px;
  }

  .hero-values strong {
    font-size: 18px;
  }

  .hero-values p {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 0 14px 28px;
  }

  .hero-media {
    background-image:
      linear-gradient(180deg, rgba(251, 247, 235, 0.94) 0%, rgba(238, 244, 226, 0.84) 42%, rgba(238, 244, 226, 0.52) 78%, rgba(238, 244, 226, 0.32) 100%),
      linear-gradient(180deg, rgba(40, 72, 36, 0.1), rgba(250, 244, 225, 0.2)),
      radial-gradient(circle at 50% 88%, rgba(255, 253, 247, 0.38), transparent 34%),
      var(--home-bg-image);
    background-position: center, center, center, var(--home-bg-position);
    background-size: cover, cover, cover, cover;
  }

  :root[data-home-bg="panda-brand"] .hero-media {
    background-image:
      linear-gradient(180deg, rgba(247, 250, 244, 0.98) 0%, rgba(247, 250, 244, 0.92) 42%, rgba(247, 250, 244, 0.34) 76%),
      radial-gradient(ellipse at 50% 76%, rgba(var(--accent-rgb), 0.14), transparent 42%);
    background-position: center, center;
    background-size: cover, cover;
  }

  :root[data-home-bg="panda-brand"] .hero-media::before {
    background-size: min(86vw, 360px);
    background-position: var(--home-bg-position);
    opacity: 0.78;
    -webkit-mask-image: radial-gradient(ellipse at 50% 72%, #000 0%, rgba(0, 0, 0, 0.88) 48%, rgba(0, 0, 0, 0.34) 64%, transparent 84%);
    mask-image: radial-gradient(ellipse at 50% 72%, #000 0%, rgba(0, 0, 0, 0.88) 48%, rgba(0, 0, 0, 0.34) 64%, transparent 84%);
  }

  :root[data-home-bg="mourning"] .hero-media {
    background-image:
      linear-gradient(180deg, rgba(250, 250, 250, 0.98) 0%, rgba(238, 238, 238, 0.92) 42%, rgba(238, 238, 238, 0.28) 76%),
      var(--home-bg-image);
    background-position: center, var(--home-bg-position);
    background-size: cover, min(82vw, 340px);
  }

  :root[data-mode="night"] .hero-media {
    background-image:
      linear-gradient(180deg, rgba(23, 32, 22, 0.84) 0%, rgba(28, 40, 25, 0.72) 42%, rgba(31, 43, 29, 0.5) 78%, rgba(31, 43, 29, 0.38) 100%),
      linear-gradient(180deg, rgba(214, 163, 58, 0.08), rgba(21, 31, 20, 0.18)),
      radial-gradient(circle at 50% 88%, rgba(244, 235, 212, 0.16), transparent 34%),
      var(--home-bg-image);
    background-position: center, center, center, var(--home-bg-position);
    background-size: cover, cover, cover, cover;
  }

  :root[data-mode="night"][data-home-bg="panda-brand"] .hero-media {
    background-image:
      linear-gradient(180deg, rgba(18, 26, 17, 0.96) 0%, rgba(25, 36, 22, 0.88) 48%, rgba(25, 36, 22, 0.66) 100%),
      radial-gradient(circle at 50% 86%, rgba(244, 235, 212, 0.1), transparent 36%);
    background-blend-mode: normal, soft-light;
    background-position: center, center;
    background-size: cover, cover;
    filter: blur(var(--home-bg-blur)) saturate(0.42) brightness(0.68) contrast(0.9);
  }

  :root[data-mode="night"][data-home-bg="panda-brand"] .hero-media::before {
    opacity: 0.36;
  }

  :root[data-mode="night"][data-home-bg="mourning"] .hero-media {
    background-image:
      linear-gradient(180deg, rgba(18, 18, 18, 0.96) 0%, rgba(32, 32, 32, 0.84) 48%, rgba(36, 36, 36, 0.52) 100%),
      var(--home-bg-image);
    background-position: center, var(--home-bg-position);
    background-size: cover, min(82vw, 340px);
  }

  .hero-overlay {
    width: 100%;
    padding: 44px 0 12px;
  }

  .hero-service-card {
    width: 100%;
    margin-top: 0;
    padding: 18px;
  }

  .hero-service-card strong {
    font-size: 21px;
  }

  .service-card-stats {
    grid-template-columns: 1fr;
  }

  .service-card-source {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .service-card-source a {
    margin-left: 0;
    margin-right: 8px;
  }

  h1 {
    font-size: 31px;
    line-height: 1.18;
  }

  .hero-overlay::after {
    top: 102px;
    left: 42px;
    font-size: 48px;
  }

  h1::before {
    left: -10px;
    width: calc(100vw - 28px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .quick-panel {
    width: calc(100% - 28px);
    margin-top: -34px;
  }

  .brand-mission {
    width: calc(100% - 28px);
    margin-top: 18px;
    transform: none;
    padding-bottom: 18px;
  }

  .home-rhythm {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    margin-top: 14px;
    margin-bottom: 44px;
  }

  .home-rhythm a {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: auto;
    padding: 16px 48px 16px 16px;
  }

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

  .mission-metrics div:nth-child(2) {
    border-right: 0;
  }

  .mission-metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .mission-lead {
    padding: 24px 22px 32px;
  }

  .mission-lead h2 {
    font-size: 32px;
  }

  .mission-metrics {
    grid-template-columns: 1fr;
  }

  .mission-metrics div {
    min-height: auto;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }

  .mission-metrics div:last-child {
    border-bottom: 0;
  }

  .section,
  .accent-section,
  .service-section,
  .cooperation-section,
  .impact-section {
    width: 100%;
    padding: 44px 14px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 22px;
  }

  .cooperation-cta {
    grid-template-columns: 1fr;
  }

  .cooperation-cta a {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .category-tabs button {
    flex: 0 0 auto;
  }

  .sync-status {
    min-width: 0;
  }

  .featured-product {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .featured-product img {
    min-height: 240px;
    max-height: 280px;
  }

  .featured-product-content {
    padding: 22px;
  }

  .featured-product-content h3 {
    font-size: 32px;
  }

  .featured-price-row strong {
    font-size: 32px;
  }

  .arrival-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .arrival-summary div {
    min-height: 96px;
    padding: 12px;
  }

  .arrival-summary strong {
    font-size: 26px;
  }

  .arrival-summary span,
  .arrival-summary small {
    font-size: 11px;
  }

  .product-shelf {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-card img {
    width: 100%;
    height: 150px;
  }

  .product-card h3 {
    font-size: 19px;
  }

  .tag-row {
    gap: 6px;
  }

  .tag-row span,
  .product-meta span {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .arrival-timeline {
    padding: 20px;
  }

  .arrival-timeline h3 {
    font-size: 25px;
  }

  .mascot-showcase {
    padding: 20px;
  }

  .mascot-showcase img {
    max-height: 260px;
  }

  .impact-hero {
    min-height: auto;
    padding: 24px;
  }

  .impact-hero h3 {
    font-size: 32px;
  }
}
