@font-face {
  font-family: "InsluxSourceLayoutIcons";
  src: url("/assets/ui/source-layout-icons.woff") format("woff");
  font-display: block;
  font-style: normal;
  font-weight: 400;
}

:root {
  --page-max: 1280px;
  --header-height: 80px;
  --mobile-header-height: 44px;
  --ink: #1e2028;
  --muted: #7d828c;
  --subtle: #a0a5af;
  --line: rgba(32, 47, 100, 0.08);
  --soft-line: rgba(32, 47, 100, 0.05);
  --page-bg: #f8f9fa;
  --surface: #ffffff;
  --green: #49c167;
  --green-dark: #3eaa59;
  --shadow: 0 10px 24px rgba(24, 31, 48, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

/* Match the source storefront's visible desktop scrollbar geometry. */
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: rgba(117, 117, 117, 0.5);
  border: 2px dashed transparent;
  border-radius: 10px;
  background-clip: padding-box;
}

body.no-scroll {
  overflow: hidden;
}

body.no-scroll.is-feed-video-open {
  overflow-y: scroll;
}

@media (min-width: 768px) {
  body.no-scroll {
    width: calc(100% - 9.6px);
  }

  body[data-route="category"].is-catalog-empty:not(.no-scroll) {
    overflow-y: scroll;
  }

  .filter-drawer-wrap {
    right: 9.6px;
  }

  .filter-drawer {
    right: 9.6px;
  }
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

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

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  stroke-width: 1.8;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

#app {
  position: relative;
  width: 100%;
  max-width: var(--page-max);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--page-bg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: var(--surface);
}

.site-header__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 12px;
}

.site-header__side {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__side--left,
.site-header__side--right {
  gap: 16px;
}

.nav-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  line-height: 22.4px;
  white-space: nowrap;
}

.nav-control:hover {
  background: rgba(32, 47, 100, 0.03);
}

.nav-control:active {
  background: rgba(32, 47, 100, 0.06);
}

.nav-control--label {
  gap: 4px;
  padding: 6px 16px 6px 12px;
}

.nav-control--label > svg {
  width: 20px;
  height: 20px;
}

.nav-control--icon {
  width: 36px;
  padding: 6px;
}

.nav-control--icon > svg {
  width: 24px;
  height: 24px;
}

.nav-control--home {
  display: none;
}

.nav-control__arrow {
  position: absolute;
  right: 6px;
  bottom: 2px;
}

.nav-control__arrow svg {
  width: 12px;
  height: 12px;
}

.header-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.header-brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.header-brand span {
  margin-left: 8px;
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
}

.sign-in-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 68px;
  max-width: 180px;
  padding: 8px 12px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sign-in-button:hover {
  background: var(--green-dark);
}

.header-menu {
  position: absolute;
  z-index: 110;
  width: 180px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.language-menu {
  top: 64px;
  right: 84px;
}

.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 14px;
}

.language-menu button:hover {
  background: var(--page-bg);
}

.language-menu svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

/* Shared loading and empty states */
.page-main {
  min-height: calc(100vh - var(--header-height));
  background: var(--surface);
}

.boot-screen,
.loading-state {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: var(--surface);
}

.boot-screen {
  align-content: center;
  gap: 18px;
}

.boot-screen img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.spinner {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(30, 32, 40, 0.14);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 40px 20px;
  background: var(--surface);
  text-align: center;
}

.empty-state > svg {
  width: 42px;
  height: 42px;
  color: var(--subtle);
}

.empty-state h1 {
  margin-top: 16px;
  font-size: 20px;
  line-height: 28px;
}

.empty-state p {
  max-width: 520px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.not-found-page {
  display: flex;
  width: calc(100% - 10px);
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  align-items: center;
  padding: 0 56px;
  background: var(--surface);
}

.not-found-page__primary,
.not-found-page__secondary {
  display: flex;
  width: max-content;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.not-found-page__primary {
  flex: 8 1 0%;
}

.not-found-page__secondary {
  flex: 2 1 0%;
}

.not-found-page__primary img {
  width: 120px;
  height: 120px;
}

.not-found-page__primary p {
  margin-top: 16px;
  color: #1e2028;
  font-size: 16px;
  line-height: 22.4px;
  white-space: nowrap;
}

.not-found-page__primary > div {
  width: 0;
  height: 40px;
  flex: 0 0 40px;
}

.plain-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font-size: 14px;
  line-height: 20px;
}

.plain-button--primary {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.plain-button svg {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

/* Store home */
.home-page {
  width: 100%;
  background: var(--surface);
}

.home-signboard {
  position: relative;
  width: 100%;
  aspect-ratio: 2.5 / 1;
  overflow: hidden;
  background: #edf0f2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-signboard__background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-signboard__info {
  display: none;
}

.home-hero,
.home-section-banner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #f0f1f3;
}

.home-hero__image,
.home-section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-contact-banner__link {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  height: 50%;
}

.home-contact-banner__link--line {
  top: 0;
}

.home-contact-banner__link--whatsapp {
  bottom: 0;
}

.home-contact-banner__link:focus-visible {
  outline: 3px solid #06c755;
  outline-offset: -5px;
}

.home-ticker {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 4px 0;
  overflow: hidden;
  background: var(--surface);
}

.home-ticker__content {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 16px 0;
  overflow: hidden;
  border-radius: 0;
  background: #fff8e9;
  color: #ff9933;
}

.home-ticker__icon,
.home-ticker__content > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0 0 0 12px;
  object-fit: contain;
}

.home-ticker__viewport {
  flex: 1;
  min-width: 0;
  margin-left: 4px;
  overflow: hidden;
}

.home-ticker__line {
  display: flex;
  width: max-content;
  animation: ticker 24s linear infinite;
  font-size: 14px;
  line-height: 22.4px;
  white-space: nowrap;
}

.home-ticker__line span {
  padding-right: 80px;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.home-feedback {
  position: relative;
  width: 100%;
  padding: 0.5px 0;
  overflow: visible;
  background: var(--surface);
}

.home-feedback__track {
  display: flex;
  width: 100%;
  height: 100%;
  max-height: 428px;
  aspect-ratio: 2.5 / 1;
  gap: 1px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.home-feedback__track::-webkit-scrollbar,
.recommend-track::-webkit-scrollbar,
.category-chip-row__track::-webkit-scrollbar {
  display: none;
}

.home-feedback__item {
  position: relative;
  flex: 0 0 40%;
  height: 100%;
  overflow: hidden;
}

.home-feedback__item img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 1;
  max-width: none;
  object-fit: cover;
  transform: translateY(-50%);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 15px rgba(24, 31, 48, 0.12);
  transform: translateY(-50%);
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.carousel-arrow--prev { left: 12px; }
.carousel-arrow--next { right: 12px; }

.home-category-nav {
  --category-image-size: clamp(56px, calc(12.943vw + 7.464px), 140px);
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 8px;
  background: var(--surface);
}

.home-category-nav__item {
  display: block;
  width: 20%;
  margin: 8px 0;
  overflow: hidden;
  text-align: center;
}

.home-category-nav__image {
  display: flex;
  width: var(--category-image-size);
  height: var(--category-image-size);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #f0f1f3;
}

.home-category-nav__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-category-nav__label {
  display: -webkit-box;
  width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: #6e7382;
  font-size: 14px;
  line-height: 22.4px;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-video {
  width: 100%;
  overflow: hidden;
  background: var(--surface);
}

.home-video h2 {
  display: block;
  height: auto;
  padding: 8px;
  font-size: 28px;
  font-weight: 500;
  line-height: 71px;
  text-align: center;
}

.home-video__box {
  width: 100%;
  height: 720px;
  background: #000000;
}

.home-video__ratio {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.home-video__cover,
.home-video__box video {
  width: 100%;
  height: 100%;
}

.home-video__cover {
  display: block;
  object-fit: cover;
}

.home-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
}

.home-video__box video {
  position: absolute;
  inset: 0;
  object-fit: contain;
}

.home-video__box video[hidden] {
  display: none;
}

.home-video__ratio.is-playing {
  cursor: default;
}

.home-video__ratio.is-playing .home-video__cover,
.home-video__ratio.is-playing .home-video__play {
  display: none;
}

.home-final-notice {
  display: block;
  min-height: 0;
  padding: 4px 0;
  background: var(--surface);
  text-align: left;
}

.home-final-notice p {
  max-width: none;
  margin: 0;
  padding: 16px 12px;
  background: #fff8e9;
  color: #ff9933;
  font-size: 14px;
  line-height: 22.4px;
  white-space: pre-line;
}

/* Product list */
.catalog-page {
  min-height: 0;
  background: var(--page-bg);
}

.catalog-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  width: 100%;
  height: 97px;
  background: var(--surface);
}

.catalog-tabs__top {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  background: var(--surface);
}

.media-tabs {
  display: flex;
  align-items: stretch;
  height: 48px;
  padding-left: 4px;
}

.media-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  color: #7b808a;
  font-size: 14px;
  line-height: 22px;
}

.media-tabs button.is-active {
  color: var(--ink);
}

.media-tabs button.is-active::after {
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  content: "";
  transform: translateX(-50%);
}

.catalog-tabs__tools {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 24px;
  margin-left: auto;
  padding-right: 16px;
}

.catalog-tabs__tools > button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.catalog-tabs__tools > button.is-invisible {
  visibility: hidden;
  pointer-events: none;
}

.catalog-filter-toggle.is-active {
  color: var(--green);
}

.catalog-tabs__tools svg {
  width: 22px;
  height: 22px;
}

.catalog-tabs__tools .source-layout-icon {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

.catalog-popover {
  position: absolute;
  top: 42px;
  z-index: 3;
  display: grid;
  width: 214px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.catalog-popover-scrim {
  display: none;
}

.catalog-popover--layout { right: 56px; }
.catalog-popover--filter { right: 8px; }

.catalog-layout-options {
  display: contents;
}

.catalog-layout-divider,
.catalog-layout-footer {
  display: none;
}

.source-layout-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  font-family: "InsluxSourceLayoutIcons";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.source-layout-icon--mall::before { content: "\e6c1"; }
.source-layout-icon--three::before { content: "\e6c3"; }
.source-layout-icon--large::before { content: "\e6c5"; }
.source-layout-icon--timeline::before { content: "\e6c7"; }
.source-layout-icon--check::before { content: "\e6b6"; }

.source-dialog-close-icon {
  font-family: "InsluxSourceLayoutIcons";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.source-dialog-close-icon::before { content: "\e625"; }

.catalog-popover button {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 14px;
  text-align: left;
}

.catalog-popover button:hover,
.catalog-popover button.is-active {
  color: var(--green);
}

.catalog-popover button:hover {
  background: var(--page-bg);
}

.catalog-popover button span {
  flex: 1;
}

.catalog-popover button svg:last-child {
  color: var(--green);
}

.catalog-popover button .source-layout-icon--after {
  color: var(--green);
}

.catalog-popover svg {
  width: 18px;
  height: 18px;
}

.category-chip-row {
  width: 100%;
  height: 49px;
  padding-top: 12px;
  background: var(--surface);
}

.category-chip-row__track {
  display: flex;
  align-items: center;
  width: calc(100% - 32px);
  height: 32px;
  margin: 0 16px 5px;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.category-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 4px 12px;
  border-radius: 16px;
  background: var(--page-bg);
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.category-chip.is-active {
  color: var(--ink);
}

.category-chip--date {
  gap: 6px;
}

.category-chip--date svg {
  width: 14px;
  height: 14px;
}

.catalog-results {
  width: 100%;
  background: var(--page-bg);
}

.product-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0;
}

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

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

.product-card {
  min-width: 0;
  padding: 4px;
}

.product-card__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}

.product-card__visual {
  position: relative;
  width: 100%;
  min-width: 0;
}

.product-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #edf0f2;
}

.product-card__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__share {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.product-card__share svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.product-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  transform: translate(-50%, -50%);
}

.product-card__play svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.product-card__titlebox {
  width: 100%;
  height: 84px;
  padding: 8px 8px 0;
}

.product-card__titlebox a {
  display: block;
}

.product-card__titlebox h3 {
  display: -webkit-box;
  height: 60px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.load-sentinel {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
}

.load-sentinel .plain-button {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.catalog-end {
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.catalog-footer {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.catalog-footer span {
  width: 48px;
  height: 1px;
  background: var(--line);
}

.catalog-footer strong {
  padding: 0 8px;
  color: #969aa0;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
}

.catalog-empty {
  min-height: calc(100vh - var(--header-height) - 97px);
}

body[data-route="category"] .catalog-empty {
  display: flex;
  min-height: calc(100vh - var(--header-height) - 97px - 200px);
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  padding: 0 56px;
  background: var(--surface);
  text-align: center;
}

body[data-route="category"] .catalog-empty__box {
  display: flex;
  min-height: 0;
  flex: 8 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body[data-route="category"] .catalog-empty__tail {
  width: 100%;
  min-height: 0;
  flex: 2 1 0;
}

body[data-route="category"] .catalog-empty__image {
  width: 120px;
  height: 120px;
  flex: 0 0 120px;
  object-fit: contain;
}

body[data-route="category"] .catalog-empty p {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 22.4px;
}

body[data-route="category"] .catalog-empty__box > span {
  width: 100%;
  height: 40px;
  flex: 0 0 40px;
}

/* Timeline and media templates */
.timeline-list,
.feed-list {
  width: 100%;
  background: var(--surface);
}

.timeline-list--source-virtual {
  min-height: 0;
}

.timeline-list--source-virtual.is-paged {
  margin-bottom: -0.875px;
}

.timeline-product--source-virtual:not(.is-measured) {
  height: 274.98px;
}

.feed-list--source-virtual {
  min-height: 0;
}

.feed-product.feed-product--source-virtual {
  padding-top: 7.6px;
}

.feed-product--source-virtual:not(.is-measured) {
  height: 347.855px;
  overflow: hidden;
}

.feed-list--source-virtual > .feed-product--source-virtual:last-child {
  margin-bottom: -0.1px;
}

.timeline-group__date {
  display: flex;
  height: 52px;
  align-items: baseline;
  padding: 19px 16px 0;
  color: var(--ink);
  line-height: 20px;
}

.timeline-group__date strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
}

.timeline-group__date span {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.timeline-group__date svg {
  width: 12px;
  height: 12px;
  margin-left: 4px;
}

.timeline-product {
  position: relative;
  margin-left: 52px;
  padding: 8px 12px;
}

.timeline-product__row {
  display: flex;
  min-width: 0;
}

.timeline-media-grid {
  display: grid;
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-right: 8px;
  margin-left: -1px;
  overflow: hidden;
  background: #edf0f2;
}

.timeline-media-grid img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
}

.timeline-media-grid--1 img {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

.timeline-media-grid--2 img {
  grid-row: 1 / -1;
}

.timeline-media-grid--3 img:first-child {
  grid-row: 1 / -1;
}

.timeline-product__copy {
  min-width: 0;
  flex: 1;
}

.timeline-product__copy a {
  display: -webkit-box;
  max-height: 142px;
  overflow: hidden;
  font-size: 14px;
  line-height: 22px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.timeline-product__download {
  position: absolute;
  top: 170px;
  left: 199px;
  color: #285b9a;
  font-size: 12px;
  line-height: 16px;
}

.timeline-product__attributes {
  display: flex;
  height: 19.2px;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  color: #285b9a;
  font-size: 12px;
  line-height: 19.2px;
}

.timeline-product__attributes svg {
  width: 8px;
  height: 8px;
  fill: currentColor;
}

.timeline-product__attribute-panel {
  display: flex;
  max-width: 720px;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 8px;
  border-radius: 4px;
  background: rgba(32, 47, 100, 0.03);
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.photo-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-card {
  min-width: 0;
  padding: 6px;
}

.photo-card > a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #edf0f2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card__shade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 8.2%, rgba(0, 0, 0, 0.5));
}

.photo-card__count {
  position: absolute;
  bottom: 8px;
  left: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 19.2px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.feed-product {
  width: 100%;
  padding-top: 8px;
  border-bottom: 12px solid var(--page-bg);
  background: var(--surface);
}

.feed-product__seller {
  display: flex;
  height: 56px;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.feed-product__seller > img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
}

.feed-product__seller > span {
  display: flex;
  flex-direction: column;
}

.feed-product__seller strong {
  color: #285b9a;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.feed-product__seller small {
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.feed-product__content {
  margin-left: 68px;
  padding-right: 16px;
}

.feed-product__description {
  display: -webkit-box;
  width: 100%;
  min-height: 21px;
  overflow: hidden;
  font-family: "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 21px;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.feed-product__description.is-expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.feed-product__more {
  display: block;
  width: fit-content;
  min-height: 21px;
  margin-top: 4px;
  color: #285b9a;
  font-size: 15px;
  line-height: 21px;
}

.feed-product__more[hidden] {
  display: none;
}

.feed-product__details {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding-top: 8px;
  color: #285b9a;
  font-size: 16px;
  line-height: 22px;
}

.feed-product__details svg {
  width: 20px;
  height: 20px;
}

.feed-product__media {
  position: relative;
  display: flex;
  width: min(385px, 100%);
  height: auto;
  align-items: center;
  padding: 8px 0;
  overflow: visible;
  background: transparent;
}

.feed-product__video-frame {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 256px;
  max-height: 256px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 3px;
}

.feed-product__video-frame > img,
.feed-product__video-frame > video {
  display: block;
  width: auto;
  max-width: 256px;
  height: auto;
  max-height: 256px;
  border-radius: 3px;
  object-fit: contain;
}

.feed-product__video-frame > button,
.feed-product__video-frame > svg {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  transform: translate(-50%, -50%);
}

.feed-product__video-frame > button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.feed-product__media.is-playing .feed-product__video-frame > button {
  display: none;
}

.feed-product__tags {
  display: flex;
  flex-wrap: wrap;
  min-height: 45.2px;
  margin: 16px 16px 0 68px;
  padding: 8px 8px 4px;
  background: var(--page-bg);
}

.feed-product__tags span {
  display: block;
  width: fit-content;
  margin: 0 8px 4px 0;
  border: 0.8px solid rgba(32, 47, 100, 0.08);
  padding: 4px 12px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  line-height: 19.2px;
}

.feed-product__item-number {
  display: block;
  width: 100%;
  height: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 24px;
}

.feed-product__actions {
  display: flex;
  height: 32px;
  align-items: center;
  margin: 8px 16px 0 68px;
  gap: 16px;
}

.feed-product__actions a,
.feed-product__actions button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 4px;
  background: var(--page-bg);
  color: var(--muted);
}

.feed-product__actions svg {
  width: 16px;
  height: 16px;
}

/* Search */
.site-header--search {
  border-bottom: 1px solid var(--line);
}

body[data-route="search"] {
  overflow-y: scroll;
}

.nav-control--close {
  gap: 6px;
  padding: 6px 12px;
}

.nav-control--close > svg {
  width: 18px;
  height: 18px;
}

.search-page {
  min-height: calc(100vh - var(--header-height));
  background: var(--surface);
}

.search-panel {
  position: sticky;
  top: var(--header-height);
  z-index: 92;
  width: 100%;
  height: 73.6px;
  padding: 12px;
  background: var(--surface);
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 49.6px;
}

.search-back,
.search-cancel {
  display: none;
}

.search-input-shell {
  display: flex;
  min-width: 0;
  height: 49.6px;
  flex: 1;
  align-items: center;
  margin-right: 4px;
  padding: 0 0 0 12px;
  border: 1px solid rgba(30, 32, 40, 0.62);
  border-radius: 6px;
  background: var(--surface);
}

.search-input-shell > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  color: #969aa0;
}

.search-input-shell input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 0;
  outline: 0;
  padding: 0 0 0 4px;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 36px;
}

.search-input-shell input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: #aeb2ba;
}

.search-clear svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: var(--surface);
}

.search-recent {
  min-height: 99.6px;
  padding: 0;
  background: var(--surface);
}

.search-recent__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 51.6px;
  padding: 13px 12px;
}

.search-recent__header h1 {
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
}

.search-recent__header button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #969aa0;
}

.search-recent__header svg {
  width: 18px;
  height: 18px;
}

.search-recent__list {
  display: flex;
  height: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 0 12px;
  gap: 8px;
}

.search-recent__list button {
  min-width: 0;
  max-width: 240px;
  height: 32px;
  margin: 8px 0;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--page-bg);
  font-size: 14px;
  line-height: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-toolbar {
  position: sticky;
  top: calc(var(--header-height) + 73.6px);
  z-index: 91;
  display: flex;
  width: 100%;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: var(--surface);
}

.search-toolbar__sort-wrap,
.search-toolbar__layout-wrap {
  position: relative;
}

.search-toolbar__sort {
  display: inline-flex;
  height: 28px;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.search-toolbar__sort svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.search-toolbar__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-toolbar__icon {
  display: grid;
  width: 24px;
  height: 28px;
  place-items: center;
}

.search-toolbar__icon svg {
  width: 22px;
  height: 22px;
}

.search-toolbar__icon.is-active {
  color: var(--green);
}

.search-toolbar__menu {
  position: absolute;
  top: 36px;
  z-index: 96;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(30, 32, 40, 0.12);
}

.search-sort-menu {
  left: 0;
  width: 158px;
}

.search-layout-menu {
  right: 0;
  width: 214px;
}

.search-toolbar__menu button {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}

.search-toolbar__menu button:hover {
  background: var(--page-bg);
}

.search-toolbar__menu button.is-active {
  color: var(--green);
}

.search-toolbar__menu button span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-toolbar__menu svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.search-results {
  width: 100%;
  min-height: calc(100vh - var(--header-height) - 128px);
  background: var(--page-bg);
}

.search-product-grid {
  padding: 6px 8px;
  background: var(--page-bg);
}

.search-product-grid .product-card__main {
  border-radius: 6px;
}

.search-photo-grid {
  padding: 6px 8px;
}

.search-alternate-results {
  background: var(--surface);
}

.search-result-loading {
  display: grid;
  min-height: 360px;
  place-items: center;
}

.search-empty {
  min-height: 360px;
  background: var(--page-bg);
}

.search-load-sentinel {
  background: var(--page-bg);
}

.search-load-sentinel .spinner {
  width: 24px;
  height: 24px;
}

.search-footer,
.search-end {
  background: var(--page-bg);
}

/* Product detail */
.product-page {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  background: var(--page-bg);
}

.detail-media {
  display: grid;
  width: 100%;
  height: 650px;
  padding-top: 16px;
  grid-template-columns: calc(50% - 1px) calc(50% + 1px);
  background: var(--surface);
}

.detail-primary {
  position: relative;
  display: block;
  width: 100%;
  height: 634px;
  overflow: hidden;
  background: #edf0f2;
}

.detail-primary__asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 11px;
  background: rgba(30, 32, 40, 0.55);
  color: #ffffff;
  font-size: 11px;
  line-height: 18px;
}

.detail-visitor {
  position: absolute;
  top: 44px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(30, 32, 40, 0.68);
  color: #ffffff;
  font-size: 12px;
  line-height: 20px;
}

.detail-thumbs {
  display: grid;
  width: calc(100% - 12px);
  height: 634px;
  margin-left: 12px;
  overflow: hidden;
  grid-auto-rows: max-content;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 4px;
}

.detail-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #edf0f2;
}

.detail-thumb.is-active::after {
  position: absolute;
  inset: 0;
  border: 2px solid var(--green);
  content: "";
  pointer-events: none;
}

.detail-thumb img,
.detail-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.detail-video-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.detail-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 32, 40, 0.58);
  color: #ffffff;
  transform: translate(-50%, -50%);
}

.detail-video-play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.detail-thumb .detail-video-play {
  width: 28px;
  height: 28px;
}

.detail-thumb .detail-video-play svg {
  width: 14px;
  height: 14px;
}

.detail-title {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 36px;
  padding: 4px 0 8px;
  background: var(--surface);
}

.detail-title h1 {
  display: -webkit-box;
  width: 100%;
  min-height: 24px;
  max-height: 48px;
  margin-right: 16px;
  overflow: hidden;
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.detail-actions {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 8px 0;
  gap: 8px;
  background: var(--surface);
}

.detail-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  font-size: 14px;
  line-height: 20px;
}

.detail-actions button:first-child {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.detail-actions button svg {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.detail-number {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  margin-top: 8px;
  padding: 8px 0;
  background: var(--surface);
  font-size: 14px;
  line-height: 20px;
}

.detail-number span {
  width: 85px;
  color: var(--muted);
}

.detail-number strong {
  font-weight: 400;
}

.detail-store {
  width: 100%;
  height: 118px;
  margin-top: 8px;
  background: var(--surface);
}

.detail-store__top {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 72px;
  padding: 16px 0;
}

.detail-store__logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.detail-store__top strong {
  flex: 1;
  min-width: 0;
  margin: 0 8px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-store__top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--page-bg);
  font-size: 14px;
  line-height: 20px;
}

.detail-store__stats {
  display: flex;
  width: 100%;
  height: 46px;
  padding: 8px 16px 18px;
}

.detail-store__stats span {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.detail-store__stats span + span::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 1px;
  height: 16px;
  background: var(--line);
  content: "";
}

.detail-store__stats strong {
  margin-left: 4px;
  color: var(--ink);
  font-weight: 400;
}

.detail-recommendation {
  width: 100%;
  padding-bottom: 16px;
  overflow: hidden;
  background: var(--surface);
}

.detail-recommendation h2,
.detail-graphics > h2,
.detail-related > h2 {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.detail-graphics > h2,
.detail-related > h2 {
  height: 52px;
  padding: 16px 0;
}

.recommend-track {
  display: flex;
  width: calc(100% + 16px);
  margin-left: -16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.recommend-track .product-card {
  flex: 0 0 25%;
  width: 25%;
  margin-left: 16px;
  padding: 0;
}

.recommend-track .product-card__main {
  border-radius: 0;
}

.recommend-track .product-card__titlebox {
  height: 40px;
  padding: 0;
}

.recommend-track .product-card__titlebox h3 {
  height: 40px;
  font-size: 14px;
  line-height: 20px;
  -webkit-line-clamp: 2;
}

.recommend-track .product-card__share,
.recommend-track .product-card__play {
  display: none;
}

.detail-graphics {
  width: 100%;
  margin-top: 8px;
  overflow: hidden;
  background: var(--surface);
}

.detail-description {
  width: 100%;
  padding: 8px 0 24px;
}

.detail-description-text {
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.detail-image-flow,
.detail-image-flow button {
  display: block;
  width: 100%;
}

.detail-image-flow button {
  background: #edf0f2;
}

.detail-image-flow img,
.detail-flow-video {
  width: 100%;
  height: auto;
}

.detail-flow-video {
  max-height: 720px;
  background: #000000;
  object-fit: contain;
}

.detail-tags {
  display: flex;
  width: 100%;
  min-height: 53.6px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.detail-tags a {
  height: 21.6px;
  margin: 0 12px 8px 0;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--page-bg);
  font-size: 11px;
  line-height: 12px;
}

.detail-related {
  width: 100%;
  margin-top: 8px;
  background: var(--surface);
}

.detail-related .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 16px;
}

.detail-related .product-card {
  padding: 0;
}

.detail-related .product-card__main {
  border-radius: 0;
}

.detail-related .product-card__titlebox {
  height: 40px;
  padding: 0;
}

.detail-related .product-card__titlebox h3 {
  height: 40px;
  font-size: 14px;
  line-height: 20px;
  -webkit-line-clamp: 2;
}

.detail-related .product-card__share,
.detail-related .product-card__play {
  display: none;
}

.detail-mobile-nav-space {
  display: none;
}

.detail-page-end {
  width: 100%;
  height: 64px;
  background: var(--page-bg);
}

/* Drawers and dialogs */
.overlay-scrim,
.lightbox__scrim {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  height: 100%;
  background: rgba(17, 20, 28, 0.48);
}

.share-sheet-wrap {
  position: fixed;
  inset: 0;
  right: 10px;
  z-index: 500;
}

.share-sheet__scrim {
  position: fixed;
  inset: 0;
  right: 10px;
  width: auto;
  height: 100%;
  background: rgba(30, 32, 40, 0.6);
}

.share-sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  animation: share-sheet-up 300ms ease-in-out both;
}

@keyframes share-sheet-up {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.share-sheet__header {
  position: relative;
  display: flex;
  width: 100%;
  height: 48px;
  align-items: center;
  padding: 0 16px;
  background: #ffffff;
}

.share-sheet__close {
  display: none;
}

.share-sheet__header h2 {
  width: 100%;
  margin: 0;
  padding: 0 28px;
  color: #1e2028;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}

.share-sheet__body {
  padding: 0 16px;
}

.share-sheet__list {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 16px;
}

.share-sheet__list + .share-sheet__list {
  border-top: 0.5px solid rgba(32, 47, 100, 0.08);
}

.share-sheet__item {
  display: block;
  min-width: 0;
  flex: 0 0 20%;
  padding-top: 16px;
}

@media (any-hover: hover) {
  .share-sheet__item:hover {
    opacity: 0.8;
  }
}

.share-sheet__item:active {
  opacity: 0.6;
}

.share-sheet__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: auto;
  overflow: hidden;
  border-radius: 50%;
}

.share-sheet__icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.share-sheet__icon--plain {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #1e2028;
}

.share-sheet__icon--plain svg,
.share-sheet__icon > svg {
  width: 24px;
  height: 24px;
}

.share-sheet__label {
  display: block;
  width: 100%;
  height: 19.1875px;
  margin-top: 4px;
  overflow: hidden;
  color: #6e7382;
  font-size: 12px;
  line-height: 19.2px;
  text-align: center;
  white-space: pre-wrap;
}

.share-sheet__divider {
  width: 100%;
  height: 8px;
  background: rgba(32, 47, 100, 0.03);
}

.share-sheet__cancel {
  display: block;
  width: 100%;
  height: 53px;
  padding: 16px;
  color: #1e2028;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
}

@media (min-width: 768px) {
  .share-sheet-wrap {
    display: grid;
    padding: 20px;
    place-items: center;
  }

  .share-sheet {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 400px;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(30, 32, 40, 0.08);
    animation-name: share-sheet-scale;
  }

  @keyframes share-sheet-scale {
    from {
      opacity: 0;
      transform: scale(0.8);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .share-sheet__body {
    padding-bottom: 32px;
  }

  .share-sheet__close {
    position: absolute;
    top: 14px;
    left: 16px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #1e2028;
  }

  .share-sheet__close svg {
    width: 20px;
    height: 20px;
  }

  .share-sheet__list {
    padding-bottom: 0;
  }

  .share-sheet__list + .share-sheet__list {
    border-top: 0;
  }

  .share-sheet__item {
    flex-basis: 25%;
  }

  .share-sheet__divider,
  .share-sheet__cancel {
    display: none;
  }
}

.category-panel-scrim {
  position: fixed;
  inset: 0;
  z-index: 204;
  width: 100%;
  height: 100%;
  background: transparent;
}

.category-panel {
  position: fixed;
  top: 68px;
  left: max(12px, calc((100vw - var(--page-max)) / 2 + 12px));
  z-index: 210;
  display: flex;
  width: 488px;
  height: calc(65vh + 2px);
  min-height: 400px;
  max-height: calc(100vh - 80px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(30, 32, 40, 0.08);
}

.category-panel__header {
  display: flex;
  height: 44px;
  flex: 0 0 44px;
  flex-direction: row-reverse;
  align-items: center;
  padding: 8px 16px 0;
}

.category-panel__header button {
  color: #285b9a;
  font-size: 14px;
  line-height: 20px;
}

.category-panel__header .category-panel__mobile-close {
  display: none;
}

.category-panel__body {
  display: flex;
  min-height: 0;
  flex: 1;
  align-items: flex-start;
  overflow: hidden;
}

.category-panel__groups {
  width: 30%;
  height: 100%;
  flex: 0 0 30%;
  overflow-y: auto;
  background: #f5f5f5;
}

.category-panel__groups button {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 6px;
  overflow: hidden;
  color: #6f7071;
  font-size: 14px;
  line-height: 52px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-panel__groups button span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-panel__groups button.is-active {
  background: var(--surface);
  color: var(--green);
  font-weight: 700;
}

.category-panel__main {
  height: 100%;
  min-width: 0;
  flex: 1;
  overflow-y: auto;
}

.category-panel__section {
  position: relative;
}

.category-panel__section-title {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  height: 52px;
  align-items: center;
  padding: 0 12px;
  background: var(--surface);
  color: #2e2e2f;
  font-size: 14px;
  font-weight: 700;
}

.category-panel__section-title span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-panel__section-title svg {
  width: 14px;
  height: 14px;
  margin-left: 8px;
  color: #969aa0;
}

.category-panel__tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-panel__tag {
  min-width: 0;
  padding: 0 10px;
  text-align: center;
}

.category-panel__tag.is-disabled {
  cursor: not-allowed;
}

.category-panel__tag-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #eeeeee;
}

.category-panel__tag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-panel__tag.is-disabled img {
  filter: brightness(0.5);
}

.category-panel__tag strong {
  display: -webkit-box;
  height: 40px;
  margin: 8px 0;
  overflow: hidden;
  color: #252525;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-panel__check {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.category-panel__check.is-checked {
  border-color: var(--green);
  background: var(--green);
}

.category-panel__check.is-disabled {
  filter: brightness(0.5);
}

.category-panel__check svg {
  width: 14px;
  height: 14px;
}

.category-panel__footer {
  display: flex;
  min-height: 64px;
  flex: 0 0 64px;
  flex-direction: row-reverse;
  align-items: center;
  padding: 12px 16px;
}

.category-panel__footer button {
  width: 84px;
  height: 40px;
  margin: 0;
}

.category-panel__footer button:disabled {
  opacity: 0.25;
  cursor: default;
}

.filter-drawer-wrap {
  position: fixed;
  inset: 0;
  z-index: 220;
}

.filter-drawer-wrap > .overlay-scrim {
  position: absolute;
}

.filter-drawer {
  position: fixed;
  top: 0;
  right: 10px;
  bottom: 0;
  z-index: 221;
  display: flex;
  width: 400px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  background: var(--surface);
}

@media (min-width: 768px) {
  body.no-scroll .filter-drawer-wrap {
    right: 9.6px;
  }

  body.no-scroll .filter-drawer {
    right: 9.6px;
  }
}

.filter-drawer__header {
  position: relative;
  display: flex;
  height: 80px;
  flex: 0 0 80px;
  align-items: center;
  justify-content: center;
}

.filter-drawer__header h2 {
  position: absolute;
  right: 16px;
  left: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.filter-drawer__header button {
  position: absolute;
  left: 16px;
  display: grid;
  z-index: 1;
  width: 20px;
  height: 20px;
  place-items: center;
}

.filter-drawer__header svg {
  width: 20px;
  height: 20px;
}

.filter-drawer__form {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.filter-drawer__body {
  flex: 1;
  padding: 0 16px;
  overflow-y: auto;
}

.filter-drawer__body h3 {
  height: 44px;
  font-size: 16px;
  font-weight: 400;
  line-height: 44px;
}

.category-filter-heading {
  display: flex;
  height: 44px;
  margin: 0 -16px;
  align-items: center;
  padding: 0 16px;
}

.category-filter-heading h3 {
  min-width: 0;
  flex: 1;
  margin: 0;
  font-size: 14px;
}

.category-filter-heading button {
  display: flex;
  width: 36px;
  height: 44px;
  align-items: center;
  justify-content: flex-end;
  color: var(--green);
  font-size: 12px;
  line-height: 44px;
}

.filter-date-range {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 29.34px minmax(0, 1fr);
  text-align: center;
}

.filter-date-range label,
.filter-date-range input {
  width: 100%;
}

.filter-date-range input {
  height: 40px;
  border: 0;
  outline: 0;
  padding: 0 12px;
  border-radius: 40px;
  background: var(--page-bg);
  color: var(--muted);
  font-size: 12px;
  line-height: 28px;
  text-align: center;
}

.filter-date-range input::-webkit-calendar-picker-indicator {
  display: none;
}

.filter-presets {
  display: grid;
  margin-top: 12px;
  grid-template-columns: calc((100% - 18px) / 3) calc((100% - 36px) / 3) calc((100% - 18px) / 3);
  gap: 12px;
}

.filter-presets button {
  height: 40px;
  border-radius: 80px;
  background: var(--page-bg);
  font-size: 12px;
  line-height: 14px;
}

.filter-presets button.is-active {
  background: rgba(73, 193, 103, 0.1);
  color: var(--green);
}

.filter-drawer__footer {
  display: grid;
  min-height: 56px;
  flex: 0 0 56px;
  align-items: center;
  padding: 8px 16px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  box-shadow: 0 -4px 12px rgba(30, 32, 40, 0.04);
}

.filter-drawer__footer button {
  height: 40px;
  border-radius: 8px;
  background: var(--page-bg);
  font-size: 14px;
  line-height: 20px;
}

.filter-drawer__footer .plain-button--primary {
  background: var(--green);
  color: #ffffff;
}

.search-filter-body {
  padding-bottom: 24px;
}

.search-filter-section + .search-filter-section {
  margin-top: 18px;
}

.search-filter-section__heading,
.search-filter-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-filter-section__heading > button {
  height: 44px;
  color: var(--subtle);
  font-size: 14px;
}

.search-filter-options {
  display: grid;
  width: 108px;
  grid-template-columns: 1fr;
  gap: 12px;
}

.search-filter-options--two {
  width: 228px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-filter-options button {
  height: 36px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--page-bg);
  font-size: 14px;
  line-height: 36px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-filter-options button.is-active {
  background: rgba(73, 193, 103, 0.1);
  color: var(--green);
}

.search-filter-label-row {
  width: 100%;
  height: 44px;
  font-size: 16px;
  text-align: left;
}

.search-filter-label-row > span:last-child {
  display: flex;
  min-width: 0;
  max-width: 58%;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: var(--subtle);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-filter-label-row svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.search-label-drawer {
  min-height: 0;
}

.search-label-grid {
  display: grid;
  min-height: 0;
  flex: 1;
  align-content: start;
  padding: 0 16px 16px;
  overflow-y: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.search-label-grid button {
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--page-bg);
  font-size: 14px;
}

.search-label-grid button span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-label-grid button.is-active {
  border-color: var(--green);
  background: rgba(73, 193, 103, 0.1);
  color: var(--green);
}

.filter-drawer__footer.search-label-footer {
  display: block;
}

.filter-drawer__footer.search-label-footer button {
  width: 100%;
}

.panel-empty {
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  padding: 20px;
  place-items: center;
}

.modal-wrap > .overlay-scrim {
  z-index: 0;
}

.modal {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal--login {
  width: min(420px, 100%);
}

.signin-layer {
  position: fixed;
  top: 0;
  right: 10px;
  bottom: 0;
  left: 0;
  z-index: 220;
}

.signin-layer__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 32, 40, 0.6);
}

.signin-panel {
  position: fixed;
  top: 0;
  right: 10px;
  z-index: 1;
  width: 400px;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--surface);
}

.signin-panel__header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 390px;
  height: 44px;
}

.signin-panel__header button {
  position: absolute;
  top: 6px;
  left: 16px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
}

.signin-panel__header button svg {
  width: 16px;
  height: 16px;
  color: #6e7382;
}

.signin-panel__content {
  position: relative;
  width: 390px;
  height: 100%;
}

.signin-panel__main {
  position: relative;
  width: 390px;
  height: 100%;
}

.signin-panel__shop-icon {
  position: absolute;
  top: 200px;
  left: 155px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.signin-panel__shop-name {
  position: absolute;
  top: 311.59375px;
  left: 25px;
  width: 340px;
  color: #1e2028;
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
}

.signin-panel__blank {
  display: none;
}

.signin-panel__choices {
  position: absolute;
  top: 463.59375px;
  left: 0;
  display: flex;
  width: 390px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.signin-choice {
  display: flex;
  width: 241px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #ffffff;
  user-select: none;
}

@media (any-hover: hover) {
  .signin-choice {
    width: 330px;
  }

  .signin-choice:hover {
    border-color: #d2e3fc;
    background: rgba(66, 133, 244, 0.04);
  }
}

.signin-choice:active {
  background: rgba(66, 133, 244, 0.1);
}

.signin-choice > img,
.signin-choice > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-right: 12px;
  object-fit: cover;
}

.signin-choice > svg.signin-choice__email-icon {
  color: #49c167;
}

.signin-choice > span {
  min-width: 0;
  flex: 1 1 auto;
  color: #3c4043;
  font-size: 14px;
  font-weight: 500;
  line-height: 22.4px;
  text-align: left;
}

.signin-panel__footer {
  display: none;
}

.signin-panel .account-summary {
  position: absolute;
  top: 200px;
  left: 30px;
  width: 330px;
}

body[data-route="email-signin"] {
  width: calc(100% - 10px);
}

body[data-route="email-signin"],
body[data-route="email-signin"] #app {
  background: #ffffff;
}

.email-signin-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff;
}

.email-signin-page__back {
  position: absolute;
  top: 22px;
  left: 12px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
}

.email-signin-page__back svg {
  width: 16px;
  height: 16px;
}

.email-signin-layout {
  width: 768px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: auto;
  padding: 140px 32px 0;
  background: #ffffff;
}

.email-signin-layout h1 {
  color: #1e2028;
  font-size: 24px;
  font-weight: 500;
  line-height: 28px;
}

.email-signin-form {
  margin-top: 16px;
}

.email-signin-form__row {
  display: flex;
  width: 100%;
  height: 49px;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(32, 47, 100, 0.08);
}

.email-signin-form__row input {
  min-width: 0;
  height: 48px;
  flex: 1 1 auto;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: #ffffff;
  color: #1e2028;
  font-size: 16px;
  line-height: 25.6px;
}

.email-signin-form__row input::placeholder {
  color: #b7bec5;
  opacity: 1;
}

.email-signin-form__password button {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  color: #6e7382;
}

.email-signin-form__password button svg {
  width: 24px;
  height: 24px;
}

.email-signin-form__forgot {
  display: inline-block;
  color: #285b9a;
  font-size: 14px;
  line-height: normal;
}

.email-signin-layout__submit {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #49c167;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.email-signin-layout__submit:disabled {
  background: rgba(73, 193, 103, 0.2);
  cursor: default;
}

.email-signin-layout__signup {
  display: block;
  width: 100%;
  margin-top: 12px;
  color: #285b9a;
  font-size: 14px;
  line-height: normal;
  text-align: center;
}

.modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.modal > header h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.modal > header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
}

.modal > header button:hover {
  background: var(--page-bg);
}

.modal > header button svg {
  width: 20px;
  height: 20px;
}

.modal__body {
  padding: 18px;
}

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

.contact-options > a {
  display: flex;
  min-width: 0;
  align-items: center;
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  gap: 10px;
}

.contact-options > a:hover {
  border-color: rgba(73, 193, 103, 0.55);
}

.contact-options > a > svg,
.contact-options > a > img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--green-dark);
}

.contact-options span {
  display: block;
  min-width: 0;
}

.contact-options strong,
.contact-options small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-options strong {
  font-size: 14px;
  line-height: 20px;
}

.contact-options small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.form-stack {
  display: grid;
  margin-top: 16px;
  gap: 12px;
}

.form-stack label,
.form-stack label > span {
  display: block;
}

.form-stack label > span {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 20px;
}

.form-stack input,
.form-stack textarea {
  width: 100%;
  border: 1px solid rgba(32, 47, 100, 0.14);
  border-radius: 5px;
  outline: 0;
  background: var(--surface);
  font-size: 14px;
}

.form-stack input {
  height: 42px;
  padding: 0 11px;
}

.form-stack textarea {
  min-height: 112px;
  padding: 10px 11px;
  resize: vertical;
}

.form-stack input:focus,
.form-stack textarea:focus {
  border-color: var(--green);
}

.form-stack .plain-button {
  width: 100%;
  margin: 0;
}

.account-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
}

.account-summary > svg {
  width: 42px;
  height: 42px;
}

.account-summary strong {
  margin-top: 10px;
  font-size: 16px;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
}

.lightbox__scrim {
  z-index: 0;
  background: rgba(8, 10, 15, 0.92);
}

.lightbox__media {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(92vw, 1100px);
  height: min(90vh, 900px);
  place-items: center;
}

.lightbox__media img,
.lightbox__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox--feed-video .lightbox__scrim {
  background: rgba(30, 32, 40, 0.9);
}

.lightbox--feed-video .lightbox__media {
  width: 100%;
  height: 100vh;
}

.lightbox--feed-video .lightbox__media video {
  width: auto;
  max-width: 100vw;
  height: 100vh;
  background: #000000;
}

.lightbox.lightbox--feed-video {
  z-index: 9999;
}

.lightbox--feed-video .lightbox__close {
  top: 10px;
  right: auto;
  left: 10px;
  width: 25px;
  height: 25px;
  background: transparent;
}

.lightbox--feed-video .lightbox__close svg {
  width: 25px;
  height: 25px;
}

.lightbox__close,
.lightbox__arrow {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lightbox__close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
}

.lightbox__arrow {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.lightbox__arrow--prev { left: 18px; }
.lightbox__arrow--next { right: 18px; }

.lightbox__close svg,
.lightbox__arrow svg {
  width: 24px;
  height: 24px;
}

.toast-region {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 300;
  display: grid;
  max-width: min(360px, calc(100vw - 32px));
  gap: 8px;
}

.toast {
  padding: 10px 14px;
  border-radius: 5px;
  background: rgba(30, 32, 40, 0.94);
  box-shadow: var(--shadow);
  color: #ffffff;
  font-size: 13px;
  line-height: 20px;
}

/* Fixed contact */
.fixed-sidebar {
  position: fixed;
  right: 16px;
  bottom: 60px;
  z-index: 99;
  width: 56px;
  margin-bottom: env(safe-area-inset-bottom);
}

.fixed-sidebar > :not(:first-child) {
  margin-top: 16px;
}

.fixed-sidebar__portal {
  display: block;
  height: 0;
}

.contact-fab {
  position: relative;
  display: flex;
  width: 56px;
  height: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 47, 100, 0.08);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  color: #ffffff;
}

.contact-fab::before {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #03c160;
  content: "";
}

.contact-fab:hover {
  background: var(--surface);
}

.contact-fab__whatsapp {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  background: url("/assets/ui/whatsapp.svg") center / contain no-repeat;
}

.contact-fab span {
  position: relative;
  z-index: 1;
  max-width: 48px;
  margin-top: -2px;
  overflow: hidden;
  font-size: 7px;
  font-weight: 500;
  line-height: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.go-top {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(32, 47, 100, 0.08);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.go-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.go-top svg {
  width: 24px;
  height: 24px;
}

.purchase-cart-template {
  position: fixed;
  top: 187px;
  left: calc(100% + 174px);
  width: 410px;
  height: 346px;
  visibility: hidden;
  pointer-events: none;
}

.purchase-cart-template img {
  width: 58px;
  height: 58px;
}

@media (min-width: 768px) {
  .fixed-sidebar {
    right: 32px;
  }
}

@media (min-width: 1280px) {
  .fixed-sidebar {
    right: calc((100vw - 1270px) / 2 + 22px);
  }
}

/* Footer */
.site-footer {
  display: flex;
  width: 100%;
  height: 200px;
  align-items: center;
  background: var(--page-bg);
}

.site-footer__main {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
}

.site-footer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer__brand strong {
  margin-left: 8px;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
}

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer__contact a {
  color: var(--ink);
}

.mobile-bottom-nav {
  display: none;
}

@media (min-width: 768px) {
  .home-hero,
  .home-section-banner {
    aspect-ratio: auto;
  }

  .home-hero__image,
  .home-section-banner img {
    display: block;
    width: calc(100% - 0.4px);
    height: auto;
    aspect-ratio: 3 / 1;
  }

  .home-category-nav {
    padding-bottom: 16px;
  }

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

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

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

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

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

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

@media (max-width: 1279px) {
  .home-video__play {
    width: 96px;
    height: 96px;
  }

  .home-video__box {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  body[data-route="category"].is-catalog-empty:not(.no-scroll) {
    overflow-y: scroll;
  }

  :root {
    --header-height: 44px;
  }

  .site-header {
    height: var(--mobile-header-height);
  }

  .site-header__main {
    padding: 0 16px;
  }

  .site-header__side--left,
  .site-header__side--right {
    gap: 8px;
  }

  .header-brand {
    display: none;
  }

  .nav-control {
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .nav-control--home {
    display: grid;
    width: 32px;
    padding: 6px;
    place-items: center;
  }

  .nav-control--home svg,
  .nav-control--search > svg,
  .nav-control--icon > svg {
    width: 20px;
    height: 20px;
  }

  .nav-control--label {
    gap: 2px;
    padding: 5px 12px;
  }

  .nav-control--label > svg {
    width: 20px;
    height: 20px;
  }

  .nav-control--search {
    width: 32px;
    padding: 5px;
  }

  .nav-control--search span,
  .nav-control__arrow {
    display: none;
  }

  .nav-control--icon {
    width: 32px;
    padding: 5px;
  }

  .sign-in-button {
    height: 32px;
    min-width: 0;
    max-width: 96px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--ink);
  }

  .sign-in-button:hover {
    background: var(--page-bg);
  }

  .site-header--home {
    position: fixed;
    background: transparent;
  }

  .site-header--home .nav-control,
  .site-header--home .sign-in-button {
    border-color: transparent;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
  }

  .site-header--home .nav-control:hover,
  .site-header--home .sign-in-button:hover {
    background: rgba(30, 32, 40, 0.5);
  }

  .site-header--home.is-scrolled .nav-control,
  .site-header--home.is-scrolled .sign-in-button,
  .site-header--home.is-scrolled .nav-control:hover,
  .site-header--home.is-scrolled .sign-in-button:hover {
    background: var(--surface);
    color: #6e7382;
  }

  .language-menu {
    top: 40px;
    right: 72px;
  }

  .page-main,
  .search-page,
  .product-page {
    min-height: calc(100vh - var(--mobile-header-height));
  }

  .home-signboard {
    height: 224px;
    aspect-ratio: auto;
  }

  .home-signboard__background {
    width: 100%;
    height: 200px;
  }

  .home-signboard__info {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 72px;
    padding: 12px 8px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), #ffffff 66%);
  }

  .home-signboard__logo {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
  }

  .home-signboard__main {
    min-width: 0;
    margin-left: 8px;
  }

  .home-signboard__title {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .home-signboard__title strong {
    overflow: hidden;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-signboard__vip {
    width: auto;
    height: 16px;
    margin-left: 4px;
    object-fit: contain;
  }

  .home-signboard__stats {
    display: flex;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
  }

  .home-signboard__stats span + span::before {
    margin: 0 4px;
    content: "|";
  }

  .home-ticker {
    height: auto;
    padding: 12px;
  }

  .home-ticker__content {
    height: auto;
    padding: 6px 0;
    border-radius: 4px;
  }

  .home-ticker__icon,
  .home-ticker__content > svg {
    margin-left: 8px;
  }

  .home-ticker__line {
    font-size: 14px;
    line-height: 22.390625px;
  }

  .carousel-arrow {
    display: none;
  }

  .home-category-nav__label {
    font-size: 12px;
    line-height: 19.1875px;
  }

  .home-video h2 {
    height: auto;
    font-size: 16.4px;
    line-height: 48.86px;
  }

  .home-video__play {
    width: 48px;
    height: 48px;
  }

  .home-final-notice {
    min-height: 0;
    padding: 12px;
  }

  .home-final-notice p {
    padding: 6px 12px;
  }

  .catalog-tabs {
    top: var(--mobile-header-height);
  }

  .catalog-tabs.is-layout-open {
    z-index: 500;
  }

  .media-tabs button {
    padding: 0 14px;
  }

  .catalog-tabs__tools {
    gap: 14px;
    padding-right: 14px;
  }

  .catalog-popover-scrim {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: block;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 32, 40, 0.6);
  }

  .catalog-popover--layout {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 500;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
  }

  .catalog-layout-options {
    display: block;
    padding: 8px 12px;
  }

  .catalog-layout-options button {
    position: relative;
    width: 100%;
    height: 56px;
    padding: 0 12px;
    gap: 8px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 24px;
  }

  .catalog-layout-options button.is-active {
    padding-right: 40px;
    font-weight: 500;
  }

  .catalog-layout-options button + button::before {
    position: absolute;
    top: 0;
    right: 12px;
    left: 12px;
    height: 1px;
    background: rgba(32, 47, 100, 0.08);
    content: "";
    transform: scaleY(0.5);
    transform-origin: 0 0;
  }

  .catalog-layout-options button > .source-layout-icon:first-child {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    font-size: 24px;
  }

  .catalog-layout-options button > .source-layout-icon--after {
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    font-size: 20px;
  }

  .catalog-layout-divider {
    display: block;
    width: 100%;
    height: 8px;
    background: rgba(32, 47, 100, 0.03);
  }

  .catalog-layout-footer {
    display: block;
    padding: 0 12px env(safe-area-inset-bottom);
  }

  .catalog-popover--layout .catalog-layout-cancel {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    font-size: 16px;
    line-height: 56px;
  }

  .catalog-popover--layout .catalog-layout-cancel span {
    flex: 0 0 auto;
  }

  .catalog-popover--filter { right: 4px; }

  .product-card__share {
    top: 6px;
    right: 6px;
  }

  .timeline-product {
    margin-left: 52px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .timeline-media-grid {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }

  .timeline-list--source-virtual {
    min-height: 0;
  }

  .timeline-product--source-virtual:not(.is-measured) {
    height: 174.944px;
  }

  .feed-product.feed-product--source-virtual {
    padding-top: 8px;
  }

  .feed-product--source-virtual:not(.is-measured) {
    height: 576px;
  }

  .timeline-product__download {
    top: 70px;
    left: 99px;
  }

  .timeline-product__copy a {
    max-height: 44.8px;
    line-height: 22.4px;
    -webkit-line-clamp: 2;
  }

  .feed-product__content {
    margin-left: 68px;
  }

  .feed-product__media {
    width: 100%;
    height: auto;
  }

  .feed-product__actions {
    height: 24px;
  }

  .feed-product__actions a,
  .feed-product__actions button {
    width: 24px;
    height: 24px;
  }

  .site-header--search {
    display: none;
  }

  .search-page {
    min-height: 100vh;
    background: var(--page-bg);
  }

  .search-panel {
    top: 0;
    height: 44px;
    padding: 4px 16px 4px 12px;
  }

  .search-form {
    height: 36px;
  }

  .search-back {
    display: grid;
    width: 32px;
    height: 36px;
    flex: 0 0 32px;
    margin-right: 12px;
    place-items: center;
  }

  .search-back svg {
    width: 24px;
    height: 24px;
  }

  .search-input-shell {
    height: 36px;
    margin-right: 0;
    padding: 0 10px 0 12px;
    border: 0;
    border-radius: 18px;
    background: #f7f8fa;
  }

  .search-input-shell input {
    height: 36px;
    padding: 0 4px;
    font-size: 16px;
    line-height: 36px;
  }

  .search-input-shell > svg {
    margin-right: 4px;
  }

  .search-clear {
    width: 34px;
  }

  .search-clear svg {
    stroke: #f7f8fa;
  }

  .search-recent {
    min-height: 100px;
  }

  .search-toolbar {
    top: 44px;
  }

  .search-toolbar__menu {
    top: 32px;
  }

  .search-results {
    min-height: calc(100vh - 98px);
  }

  .search-product-grid .product-card__titlebox h3 {
    font-size: 12px;
  }

  .search-product-grid .product-card__share {
    top: 6px;
    right: 6px;
  }

  .search-empty,
  .search-result-loading {
    min-height: calc(100vh - 98px);
  }

  .detail-media {
    display: block;
    height: auto;
    padding: 0;
  }

  .detail-primary {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .detail-thumbs {
    display: none;
  }

  .detail-visitor {
    top: 60px;
  }

  .detail-title {
    padding: 4px 16px 8px;
  }

  .detail-title h1 {
    margin-right: 0;
  }

  .detail-actions {
    display: none;
  }

  .detail-number {
    padding: 8px 16px;
  }

  .detail-store__top {
    padding: 16px;
  }

  .recommend-track {
    width: 100%;
    margin-left: 0;
  }

  .detail-description {
    padding-right: 16px;
    padding-left: 16px;
  }

  .detail-tags {
    padding-right: 16px;
    padding-left: 16px;
  }

  .detail-related > h2,
  .detail-related .product-grid {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
  }

  .detail-mobile-nav-space {
    display: block;
    width: 100%;
    height: 56px;
    background: var(--surface);
  }

  .category-panel {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 80vh;
    min-height: 0;
    max-height: 80vh;
    border: 0;
    border-radius: 12px 12px 0 0;
  }

  .category-panel-scrim {
    background: rgba(17, 20, 28, 0.48);
  }

  .category-panel__header {
    height: 52px;
    flex: 0 0 52px;
    flex-direction: row;
    justify-content: space-between;
    padding: 6px 12px 0;
  }

  .category-panel__header .category-panel__mobile-close {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--ink);
  }

  .category-panel__mobile-close svg {
    width: 20px;
    height: 20px;
  }

  .category-panel__groups button {
    font-size: 13px;
  }

  .category-panel__tag {
    padding: 0 6px;
  }

  .category-panel__tag strong {
    font-size: 12px;
  }

  .category-panel__footer button {
    width: 100%;
  }

  .filter-drawer {
    top: auto;
    right: 0;
    left: 0;
    width: calc(100vw - 10px);
    height: 80vh;
    border-radius: 16px 16px 0 0;
  }

  .filter-drawer__header {
    height: 48px;
    flex-basis: 48px;
  }

  .filter-drawer__header h2 {
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
  }

  .filter-drawer__header button {
    left: 12px;
    width: 32px;
    height: 48px;
  }

  .filter-drawer:not(.search-filter-drawer) .filter-drawer__body {
    min-height: 0;
    flex: 0 0 calc(80vh - 126px);
    padding: 0 16px;
  }

  .filter-drawer:not(.search-filter-drawer) .category-filter-heading {
    height: 48px;
  }

  .filter-drawer:not(.search-filter-drawer) .category-filter-heading h3 {
    height: 48px;
    font-size: 14px;
    font-weight: 500;
    line-height: 48px;
  }

  .filter-drawer:not(.search-filter-drawer) .category-filter-heading button {
    height: 48px;
    color: #b7bec5;
    font-size: 14px;
    line-height: 22.4px;
  }

  .filter-drawer:not(.search-filter-drawer) .category-filter-heading button.is-active {
    color: var(--green);
  }

  .filter-drawer:not(.search-filter-drawer) .filter-date-range {
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
  }

  .filter-drawer:not(.search-filter-drawer) .filter-date-control {
    position: relative;
    display: flex;
    width: 100%;
    height: 36px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
  }

  .filter-drawer:not(.search-filter-drawer) .filter-date-control__value {
    overflow: hidden;
    color: #b7bec5;
    font-size: 16px;
    line-height: 36px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .filter-drawer:not(.search-filter-drawer) .filter-date-control__value.is-active {
    color: var(--ink);
    font-size: 14px;
  }

  .filter-drawer:not(.search-filter-drawer) .filter-presets {
    margin: 12px -6px 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .filter-drawer:not(.search-filter-drawer) .filter-presets button {
    height: 36px;
    margin: 0 6px 12px;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 14px;
    line-height: 36px;
  }

  .filter-drawer:not(.search-filter-drawer) .filter-presets button.is-active {
    background: rgba(73, 193, 103, 0.1);
    color: var(--green);
  }

  .filter-drawer:not(.search-filter-drawer) .filter-drawer__footer {
    min-height: 72px;
    flex: 0 0 72px;
    padding: 16px;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    box-shadow: none;
  }

  .filter-drawer:not(.search-filter-drawer) .filter-drawer__footer button {
    height: 40px;
    border-radius: 4px;
    background: #eeeeee;
    color: var(--green);
    font-size: 17px;
    line-height: 40px;
  }

  .filter-drawer:not(.search-filter-drawer) .filter-drawer__footer .plain-button--primary {
    background: var(--green);
    color: #ffffff;
  }

  .filter-drawer-wrap > .overlay-scrim {
    background: rgba(30, 32, 40, 0.6);
  }

  .filter-calendar-popover {
    position: absolute;
    top: 132px;
    left: 0;
    z-index: 5;
    width: 320px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
    color: #000000;
    font-size: 14px;
    line-height: 19.6px;
  }

  .filter-calendar-toolbar {
    display: grid;
    width: 100%;
    height: 40px;
    margin-top: 8px;
    align-items: center;
    padding: 4px 16px;
    grid-template-columns: 20px 24px minmax(0, 1fr) 24px 20px;
  }

  .filter-calendar-toolbar button {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 4px;
    color: #7d828c;
  }

  .filter-calendar-toolbar button:nth-of-type(2) {
    margin-left: 4px;
  }

  .filter-calendar-toolbar button:nth-of-type(3) {
    margin-right: 4px;
  }

  .filter-calendar-toolbar svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
  }

  .filter-calendar-month {
    display: flex;
    height: 32px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 19.6px;
  }

  .filter-calendar-weeks {
    padding: 8px 16px;
  }

  .filter-calendar-weekdays {
    display: grid;
    height: 22px;
    padding: 0 4px;
    grid-template-columns: repeat(7, 40px);
  }

  .filter-calendar-weekdays span {
    display: grid;
    height: 22px;
    place-items: center;
    padding: 4px;
    color: #b7bec5;
    font-size: 10px;
    line-height: 14px;
  }

  .filter-calendar-grid {
    display: grid;
    padding: 4px;
    grid-template-columns: repeat(7, 40px);
    row-gap: 12px;
  }

  .filter-calendar-day {
    display: grid;
    width: 40px;
    height: 32px;
    place-items: center;
    color: #000000;
  }

  .filter-calendar-day span {
    display: block;
    width: 32px;
    height: 32px;
    padding: 4px 0;
    border-radius: 8px;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
  }

  .filter-calendar-day.is-off {
    color: #b5b9bd;
  }

  .filter-calendar-day.is-active span {
    background: var(--green);
    color: #ffffff;
  }

  .filter-calendar-footer {
    display: flex;
    width: 100%;
    height: 52px;
    align-items: flex-start;
    padding: 8px 16px 12px;
    box-shadow: inset 0 0.5px 0 #e6ebee;
  }

  .filter-calendar-footer button {
    display: flex;
    width: 60px;
    height: 32px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 6px;
    background: var(--green);
    color: #ffffff;
    font-size: 14px;
    line-height: 20px;
  }

  .signin-layer {
    right: 0;
  }

  .signin-panel {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 80vh;
    height: 80dvh;
    border-radius: 16px 16px 0 0;
  }

  .signin-panel__header {
    position: relative;
    width: 100%;
    height: 48px;
  }

  .signin-panel__header button {
    top: 0;
    left: 12px;
    width: 32px;
    height: 48px;
  }

  .signin-panel__content {
    display: flex;
    width: 100%;
    height: calc(100% - 96px);
    align-items: center;
    justify-content: center;
  }

  .signin-panel__main {
    width: 100%;
    height: 340.59375px;
    flex: 0 0 auto;
  }

  .signin-panel__shop-icon {
    top: 0;
    left: calc(50% - 32px);
    width: 64px;
    height: 64px;
  }

  .signin-panel__shop-name {
    top: 95.59375px;
    left: 30px;
    width: calc(100% - 60px);
    font-size: 18px;
    line-height: 21px;
  }

  .signin-panel__blank {
    position: absolute;
    top: 116.59375px;
    left: 50%;
    display: block;
    width: 0;
    height: 72px;
  }

  .signin-panel__choices {
    top: 188.59375px;
    width: 100%;
  }

  .signin-panel__footer {
    display: block;
    width: 100%;
    height: 48px;
  }

  .signin-panel .account-summary {
    position: static;
    width: min(330px, calc(100% - 60px));
  }

  .email-signin-page {
    width: 100%;
  }

  body[data-route="email-signin"] {
    width: 100%;
  }

  .email-signin-page__back {
    top: 6px;
    left: 16px;
    width: 32px;
    height: 32px;
  }

  .email-signin-layout {
    width: 100%;
    padding-right: 32px;
    padding-left: 32px;
  }

  .modal-wrap {
    padding: 12px;
  }

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

  .lightbox__media {
    width: 100vw;
    height: 100vh;
  }

  .lightbox__arrow {
    width: 40px;
    height: 40px;
  }

  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }

  .lightbox__close {
    top: 10px;
    right: 10px;
  }

  body[data-route="product"] .fixed-sidebar {
    bottom: 140px;
  }

  .site-footer {
    height: 200px;
  }

  .site-footer__main {
    height: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    gap: 0;
  }

  .site-footer__brand strong {
    font-size: 18px;
    font-weight: 500;
  }

  .home-final-notice p {
    line-height: 22.390625px;
  }

  .site-footer__contact {
    flex-wrap: wrap;
  }

  body[data-route="product"] .site-footer {
    margin-bottom: 48px;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: grid;
    width: min(100%, var(--page-max));
    height: calc(56px + env(safe-area-inset-bottom));
    margin: 0 auto;
    align-items: center;
    padding: 4px 16px calc(4px + env(safe-area-inset-bottom));
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -1px 8px rgba(24, 31, 48, 0.06);
  }

  .mobile-bottom-nav__share {
    display: flex;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
  }

  .mobile-bottom-nav__share svg {
    width: 24px;
    height: 24px;
  }

  .mobile-bottom-nav__share span {
    margin-top: -1px;
    font-size: 10px;
    line-height: 13px;
  }

  .mobile-bottom-nav__contact {
    display: flex;
    min-width: 0;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--green);
    color: #ffffff;
    font-size: 14px;
    line-height: 20px;
  }

  .mobile-bottom-nav__contact svg {
    width: 18px;
    height: 18px;
    margin-right: 5px;
  }

  .toast-region {
    right: 12px;
    bottom: 82px;
  }
}

@media (max-width: 370px) {
  .site-header__main {
    padding: 0 8px;
  }

  .site-header__side--left,
  .site-header__side--right {
    gap: 5px;
  }

  .nav-control--label {
    padding-right: 9px;
    padding-left: 9px;
  }

  .sign-in-button {
    padding-right: 9px;
    padding-left: 9px;
  }

  .media-tabs button {
    padding: 0 11px;
  }

  .catalog-tabs__tools {
    gap: 10px;
    padding-right: 10px;
  }
}

@supports (content-visibility: auto) {
  .home-page > *,
  .product-card,
  .timeline-group,
  .feed-product,
  .photo-card {
    content-visibility: auto;
    contain-intrinsic-size: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
