/* ==========================================================================
   Product 360 pages (pages/product.html, segment.html,
   segment-category.html, division.html)

   Colours come from the segment theme, set as CSS custom properties by
   App.p360.themeStyle(): --theme-g1, --theme-g2, --theme-accent,
   --theme-gradient, --theme-glow, --theme-pale, --theme-ring,
   --theme-shine, --theme-shine-soft. The page theme is set on #p360-root;
   elements with their own theme (journey steps, search results) set them inline.
   ========================================================================== */

/* ---------- Layout ---------- */

.p360-layout {
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}

.p360-sidebar,
.p360-main {
  min-width: 0;
}

.p360-sidebar {
  align-self: start;
}

.p360-sidebar > * + * {
  margin-top: 1.25rem;
}

/* ---------- Sidebar: product panel ---------- */

.product-panel {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: 28px;
  box-shadow: var(--ring), var(--shadow-card);
}

.product-panel__glow {
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  background: var(--accent);
  opacity: 0.2;
  filter: blur(64px);
}

.product-panel__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-panel__thumb {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.8);
}

.product-panel__art {
  display: none;
  width: 100%;
  height: 11rem;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.8);
}

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

.product-panel__name {
  margin-top: 0.375rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-900);
}

.product-panel__category {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--slate-500);
  transition: color 150ms var(--ease);
}

.product-panel__category:hover {
  color: var(--slate-900);
}

/* ---------- Sidebar: journey nav ---------- */

.journey {
  padding: 0.75rem;
  animation-delay: 80ms;
}

.journey__title {
  padding: 0.375rem 0.75rem 0.75rem;
}

/* Scrolls sideways on narrow screens, stacks vertically on large ones */
.journey__list,
.journey__steps {
  display: flex;
  gap: 0.375rem;
}

.journey__list {
  overflow-x: auto;
}

.journey__steps {
  position: relative;
}

/* Connector line running behind the step icons */
.journey__line {
  position: absolute;
  top: 1.75rem;
  bottom: 1.75rem;
  left: 32px;
  display: none;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--slate-200), var(--slate-200), var(--slate-100));
}

.journey-item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
  padding: 0.625rem 0.75rem;
  border-radius: 1rem;
  color: var(--slate-700);
  transition: all 300ms var(--ease);
}

.journey-item:hover {
  background: rgb(15 23 42 / 0.03);
}

.journey-item__icon {
  position: relative;
  z-index: 10;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(15 23 42 / 0.07), var(--shadow-soft);
  color: var(--theme-g2);
  transition: all 300ms var(--ease);
}

.journey-item:hover .journey-item__icon {
  transform: scale(1.05);
}

.journey-item__text {
  flex: 1;
  min-width: 0;
}

.journey-item__label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.journey-item__sub {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--slate-400);
}

.journey-item__count {
  flex-shrink: 0;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: var(--slate-100);
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
}

.journey-item.is-active {
  color: #fff;
  background: var(--theme-gradient);
  box-shadow: var(--theme-glow);
}

.journey-item.is-active .journey-item__icon {
  background: rgb(255 255 255 / 0.2);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.3);
  color: inherit;
  transform: none;
}

.journey-item.is-active .journey-item__sub {
  color: rgb(255 255 255 / 0.75);
}

.journey-item.is-active .journey-item__count {
  background: rgb(255 255 255 / 0.2);
  color: inherit;
}

/* ---------- Hero ---------- */

.p360-hero {
  position: relative;
  isolation: isolate;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--theme-g1) 0%, var(--theme-g2) 100%);
  box-shadow: var(--shadow-lift);
  color: #fff;
}

/* Depth: accent glow, shadowed corner, dot texture, watermark icon */
.p360-hero__shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(38rem 22rem at 100% 0%, var(--theme-shine), transparent 60%),
    radial-gradient(30rem 20rem at 0% 110%, rgb(0 0 0 / 0.28), transparent 60%);
}

.p360-hero__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent);
  mask-image: linear-gradient(to bottom, #000 25%, transparent);
}

.p360-hero__watermark-emoji {
  position: absolute;
  right: -1rem;
  bottom: -3rem;
  z-index: -1;
  font-size: 190px;
  line-height: 1;
  opacity: 0.16;
  rotate: -12deg;
  pointer-events: none;
  user-select: none;
}

.p360-hero__watermark {
  position: absolute;
  right: 0.5rem;
  bottom: -2.5rem;
  z-index: -1;
  width: 13rem;
  height: 13rem;
  opacity: 0.13;
  rotate: -10deg;
  pointer-events: none;
}

.p360-hero__content {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
}

.p360-hero__badge {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.15);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25), var(--shadow-inset-top);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.p360-hero__badge-emoji {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.p360-hero__text {
  flex: 1;
  min-width: 0;
}

.p360-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgb(255 255 255 / 0.7);
}

.p360-hero__title {
  margin-top: 0.375rem;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.p360-hero__subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.8);
}

/* ---------- Section title & list cards ---------- */

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-title__text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--slate-900);
}

.section-title__count {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgb(15 23 42 / 0.05);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
}

.section-title__line {
  flex: 1;
  height: 1px;
  background-image: linear-gradient(to right, var(--slate-200), transparent);
}

.list-grid {
  display: grid;
  gap: 0.75rem;
}

.list-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: 1rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--ring), var(--shadow-soft);
  transition: all 300ms var(--ease-out);
}

.list-card:hover {
  transform: translateY(-0.125rem);
  background: #fff;
  box-shadow: var(--ring), 0 18px 36px -20px var(--theme-g2);
}

/* Gradient bar that grows along the left edge on hover */
.list-card__bar {
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 0;
  width: 0.25rem;
  border-radius: 0 9999px 9999px 0;
  background: var(--theme-gradient);
  transform: scaleY(0);
  transition: transform 300ms var(--ease);
}

.list-card:hover .list-card__bar {
  transform: scaleY(1);
}

.list-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--theme-pale);
  box-shadow: inset 0 0 0 1px var(--theme-ring);
  color: var(--theme-g2);
  transition: transform 300ms var(--ease);
}

.list-card:hover .list-card__icon {
  transform: scale(1.05);
}

.list-card__text {
  flex: 1;
  min-width: 0;
}

.list-card__title {
  font-size: 15px;
  line-height: 1.375;
  font-weight: 600;
  color: var(--slate-800);
}

.list-card:hover .list-card__title {
  color: var(--slate-900);
}

.list-card__sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  color: var(--slate-500);
}

.list-card__chevron {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--slate-100);
  color: var(--slate-400);
  transition: all 300ms var(--ease);
}

.list-card__chevron .icon {
  transition: transform 300ms var(--ease);
}

.list-card:hover .list-card__chevron {
  background: var(--theme-g2);
  color: #fff;
}

.list-card:hover .list-card__chevron .icon {
  transform: translateX(0.125rem);
}

/* ---------- Overview: search ---------- */

.search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 3.5rem;
  margin-bottom: 2rem;
  padding-inline: 1.25rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--ring-strong), var(--shadow-card);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all 150ms var(--ease);
}

.search:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px rgb(18 183 106 / 0.4), var(--shadow-card);
}

.search__icon {
  color: var(--slate-400);
  transition: color 150ms var(--ease);
}

.search:focus-within .search__icon {
  color: var(--brand-600);
}

.search__input {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--slate-800);
  outline: none;
}

.search__kbd {
  display: none;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.375rem;
  background: var(--slate-50);
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
}

.results__section + .results__section {
  margin-top: 2rem;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 3rem;
  border: 2px dashed var(--slate-200);
  background: rgb(255 255 255 / 0.6);
  box-shadow: var(--ring);
  text-align: center;
}

.empty-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.25rem;
  border-radius: 1rem;
  background: var(--slate-100);
  color: var(--slate-400);
}

.empty-state__title {
  font-weight: 600;
  color: var(--slate-700);
}

.empty-state__text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--slate-500);
}

/* ---------- Overview: stats & segment cards ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.stat-tile__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--tile-bg);
  box-shadow: inset 0 0 0 1px var(--tile-ring);
  color: var(--tile-color);
}

.stat-tile__emoji {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.stat-tile__text {
  min-width: 0;
}

.stat-tile__value {
  display: block;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  font-variant-numeric: tabular-nums;
}

.stat-tile__label {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  color: var(--slate-500);
}

.segment-grid {
  display: grid;
  gap: 1.25rem;
}

.segment-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--theme-g1) 0%, var(--theme-g2) 100%);
  box-shadow: var(--shadow-card);
  color: #fff;
  transition: all 300ms var(--ease-out);
}

.segment-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-lift);
}

.segment-card__shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(26rem 16rem at 100% 0%, var(--theme-shine-soft), transparent 60%);
}

.segment-card__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent);
  mask-image: linear-gradient(to bottom, #000 25%, transparent);
}

.segment-card__watermark {
  position: absolute;
  right: -1.25rem;
  bottom: -1.75rem;
  z-index: -1;
  width: 10rem;
  height: 10rem;
  opacity: 0.16;
  pointer-events: none;
  transition: transform 500ms var(--ease);
}

.segment-card:hover .segment-card__watermark {
  transform: rotate(-6deg) scale(1.1);
}

.segment-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.segment-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.15);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25), var(--shadow-inset-top);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.segment-card__number {
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgb(255 255 255 / 0.15);
  font-variant-numeric: tabular-nums;
}

.segment-card__body {
  margin-top: 1.5rem;
}

.segment-card__journey {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgb(255 255 255 / 0.7);
}

.segment-card__title {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.segment-card__sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.8);
}

.segment-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.segment-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.15);
}

.chip--strong {
  background: rgb(255 255 255 / 0.2);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2);
}

.segment-card__arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.15);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25);
  transition: all 300ms var(--ease);
}

.segment-card__arrow .icon {
  transition: transform 300ms var(--ease);
}

.segment-card:hover .segment-card__arrow {
  background: #fff;
  color: var(--theme-g1);
}

.segment-card:hover .segment-card__arrow .icon {
  transform: translateX(0.125rem);
}

/* ---------- Segment: PRODUCT / ENTERPRISE toggle ---------- */

.layer-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding: 0.375rem;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.8);
  box-shadow: var(--ring), var(--shadow-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.layer-toggle__option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--slate-500);
  transition: all 300ms var(--ease);
}

.layer-toggle__option:hover {
  background: rgb(15 23 42 / 0.03);
  color: var(--slate-800);
}

.layer-toggle__count {
  padding: 1px 0.375rem;
  border-radius: 9999px;
  background: var(--slate-100);
  font-size: 11px;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
}

.layer-toggle__option.is-active {
  background: var(--theme-gradient);
  box-shadow: var(--theme-glow);
  color: #fff;
}

.layer-toggle__option.is-active .layer-toggle__count {
  background: rgb(255 255 255 / 0.2);
  color: inherit;
}

/* ---------- Division ---------- */

.division {
  display: grid;
  gap: 1.5rem;
}

.division__main {
  min-width: 0;
}

.division__main > * + * {
  margin-top: 1.5rem;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  height: 3rem;
  padding-inline: 1.5rem;
  border-radius: 9999px;
  background: var(--theme-gradient);
  box-shadow: var(--theme-glow);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: #fff;
  transition: all 300ms var(--ease);
}

.share-button:hover {
  transform: translateY(-0.125rem);
  filter: brightness(1.1);
}

.division-article {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  animation-delay: 80ms;
}

.division-article__bar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 0.25rem;
  background: var(--theme-gradient);
}

.division-article__blob {
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 9999px;
  background: var(--theme-g2);
  opacity: 0.08;
  filter: blur(40px);
}

.division-article__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.division-article__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--theme-pale);
  box-shadow: inset 0 0 0 1px var(--theme-ring);
  color: var(--theme-g2);
}

.division-article__title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--slate-900);
}

.division-article__body {
  position: relative;
  margin-top: 1.5rem;
  font-size: 15.5px;
  line-height: 2;
  color: var(--slate-600);
}

.division-nav {
  align-self: start;
  padding: 0.75rem;
  animation-delay: 140ms;
}

.division-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 0.625rem 0.75rem;
}

.division-nav__count {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgb(15 23 42 / 0.05);
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
}

.division-nav__list {
  max-height: 70vh;
  overflow-y: auto;
}

.division-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem;
  border-radius: 0.75rem;
  transition: all 200ms var(--ease);
}

.division-link + .division-link {
  margin-top: 0.25rem;
}

.division-link:hover {
  background: rgb(15 23 42 / 0.03);
}

.division-link__number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--slate-100);
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
  transition: all 150ms var(--ease);
}

.division-link:hover .division-link__number {
  background: var(--slate-200);
}

.division-link__name {
  padding-top: 0.25rem;
  font-size: 13px;
  line-height: 1.375;
  color: var(--slate-600);
}

.division-link:hover .division-link__name {
  color: var(--slate-900);
}

.division-link.is-active {
  background: var(--theme-pale);
}

.division-link.is-active .division-link__number {
  background: var(--theme-gradient);
  color: #fff;
}

.division-link.is-active .division-link__name {
  font-weight: 700;
  color: var(--slate-900);
}

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
  .search__kbd {
    display: inline-block;
  }

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

  .layer-toggle {
    display: inline-grid;
  }

  .share-button {
    width: auto;
  }
}

@media (min-width: 768px) {
  .p360-layout {
    padding-block: 2.5rem;
  }

  .p360-hero__watermark-emoji {
    font-size: 230px;
  }

  .p360-hero__watermark {
    width: 16rem;
    height: 16rem;
  }

  .p360-hero__content {
    padding: 2.25rem;
  }

  .p360-hero__title {
    font-size: 34px;
  }

  .p360-hero__subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
  }

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

  .division {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .division-article {
    padding: 2.25rem;
  }

  .division-article__title {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .division-article__body {
    font-size: 17px;
  }

  .division-nav {
    position: sticky;
    top: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .p360-layout {
    grid-template-columns: 288px minmax(0, 1fr);
  }

  .p360-sidebar {
    position: sticky;
    top: 1.5rem;
  }

  .product-panel__inner {
    display: block;
  }

  .product-panel__thumb {
    display: none;
  }

  .product-panel__art {
    display: flex;
  }

  .product-panel__text {
    margin-top: 1rem;
    padding: 0 0.25rem 0.25rem;
  }

  .journey__list,
  .journey__steps {
    flex-direction: column;
  }

  .journey__line {
    display: block;
  }

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

@media (min-width: 1280px) {
  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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