* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: var(--line-height-base);
}

.threedmodify-favorite-form,
.threedmodify-favorite-link {
  display: block;
  margin: 10px 12px 14px;
}
.threedmodify-favorite-form button,
.threedmodify-favorite-link {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  background: transparent;
  color: var(--color-text);
  text-align: center;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.threedmodify-favorite-form button:hover,
.threedmodify-favorite-link:hover {
  background: var(--color-surface-alt);
}
.threedmodify-favorites__notice {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--color-surface-alt);
}
.threedmodify-favorites__table-wrap {
  width: 100%;
  overflow-x: auto;
}
.threedmodify-favorites__table {
  width: 100%;
  min-width: 730px;
  border-collapse: collapse;
}
.threedmodify-favorites__table th,
.threedmodify-favorites__table td {
  padding: 14px 10px;
  border-bottom: 1px solid #dce4df;
  text-align: left;
  vertical-align: middle;
}
.threedmodify-favorites__table img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.threedmodify-favorites__table input {
  width: 100%;
  min-width: 90px;
  padding: 9px;
  border: 1px solid #cbd8d1;
  border-radius: 6px;
}
.threedmodify-favorites__table small {
  display: block;
  color: #a34d36;
}
.threedmodify-favorites__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
body,
body button,
body input,
body select,
body textarea,
body #primary,
body #primary * {
  font-family: var(--font-family-base) !important;
}
a { color: inherit; text-decoration: none; }
button,
input,
select,
textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 3px; }
.skip-link {
  position: absolute;
  z-index: 10000;
  top: -64px;
  left: 16px;
  padding: 10px 16px;
  border: 2px solid var(--color-focus-ring);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
}
.skip-link:focus { top: 12px; }
.container,
[class~="3dm-container"] {
  width: min(var(--container-max-width), calc(100% - 80px));
  margin-inline: auto;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-outline { border-color: var(--color-primary); color: var(--color-text); background: #fff; }
.button-sand { color: var(--color-primary-contrast); background: var(--color-accent); }
.button-green { color: var(--color-primary-contrast); background: var(--color-primary); border-width: 0; }
.button-footer-outline { border-color: #fff; color: #fff; background: #2c2c2c; }
.site-header .auth-actions .button-outline {
  border-color: var(--color-primary) !important;
  background: #fff !important;
  color: var(--color-text) !important;
}
.site-header .auth-actions .button-sand {
  border-color: var(--color-accent) !important;
  background: var(--color-accent) !important;
  color: var(--color-primary-contrast) !important;
}
.site-footer .footer-actions .button-footer-outline {
  border-color: #fff !important;
  background: #2c2c2c !important;
  color: #fff !important;
}
.site-footer .footer-actions .button-sand {
  border-color: var(--color-accent) !important;
  background: var(--color-accent) !important;
  color: var(--color-primary-contrast) !important;
}
.site-footer a:not(.button) { color: #fff !important; }
.threedmodify-main { display: block; }
.sr-only,
[class~="3dm-visually-hidden"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header { background: #fff; }
.header-top {
  min-height: 93px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #000;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand img { width: 35px; height: 39px; object-fit: contain; }
.search {
  display: flex;
  width: 515px;
  height: 46px;
  margin-left: 50px;
  margin-right: auto;
  overflow: hidden;
  border: 1px solid #dadada;
  border-radius: 8px;
  background: #f2f2f2;
}
.search input {
  width: 100%;
  padding: 0 24px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text);
}
.search input:focus-visible,
.authors-directory__search input:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: -3px;
}
.search input::placeholder { color: var(--color-text-muted); opacity: 1; }
.search button {
  width: 56px;
  border: 0;
  background: var(--color-accent);
  cursor: pointer;
}
.search img { width: 24px; height: 24px; object-fit: contain; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-actions > .utility-link:first-child { margin-right: -20px; }
.utility-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 80px;
  color: var(--color-text);
  font-size: 14px;
}
.utility-link img { width: 30px; height: 30px; object-fit: contain; }
.auth-actions { display: flex; gap: 12px; }
.site-nav {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links {
  display: flex;
  gap: 64px;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-transform: uppercase;
}
.nav-links a { transition: color .18s ease; }
.nav-links a:hover,
.nav-links a.is-current { color: var(--color-teal); }
.menu-toggle,
.hero-image-mobile,
.promo-image-mobile,
.author-image-mobile { display: none; }

.hero {
  position: relative;
  height: 580px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: relative;
  display: flex;
  height: 100%;
  width: 685px;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-left: 40px;
}
.hero-copy > span { font-size: 16px; font-weight: 600; }
.hero-copy h1 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.1px;
  max-width: 580px;
}
.hero-copy p {
  width: 510px;
  margin: 0;
  font-size: 16px;
  line-height: 22px;
}
.hero-button { width: 240px; margin-top: 12px; }

/* Keep hero text and search on one shared content column. */
body.home .hero-copy > div,
body.home .hero-copy .home-hero-search { width: 100%; max-width: 580px; }
body.home .hero-copy h1,
body.home .hero-copy p { width: 100%; max-width: none; }
body.home .hero-copy .home-hero-search { display: flex; flex-shrink: 0; margin: 0; }
body.home .home-hero-search input[type='search'] { flex: 1 1 auto; min-width: 0; width: auto; }
body.home .home-hero-search button[type='submit'] { flex: 0 0 56px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.feature-grid-top { margin-top: 64px; }
.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 12px;
  background: var(--color-surface-alt);
}
.feature-icon {
  display: flex;
  width: 90px;
  height: 90px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
}
.feature-icon img { width: 48px; height: 48px; object-fit: contain; }
.feature h2,
.feature h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 27px; }
.feature p { margin: 0; color: var(--color-text-muted); font-size: 16px; line-height: 22px; }

.section-block,
.collections { margin-top: 72px; }
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.section-heading h2,
.products h2,
.how > h2,
.faq > h2,
.threedmodify-page-hero h1 { margin: 0; font-size: 28px; font-weight: 600; line-height: 38px; }
.more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-teal);
  font-size: 20px;
  font-weight: 600;
}
.more-link img { width: 20px; height: 20px; transform: rotate(90deg); object-fit: contain; }

.category-row,
.collection-row {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-top: 4px;
  scrollbar-width: none;
}
.category-row::-webkit-scrollbar,
.collection-row::-webkit-scrollbar { display: none; }
.category-card {
  position: relative;
  flex: 0 0 210px;
  min-height: 267px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.category-card:hover { border-color: var(--color-primary); box-shadow: 0 2px 10px rgba(20, 34, 35, .08); }
.category-card > img { width: 100%; height: 180px; object-fit: cover; }
.category-card > div { padding: 10px 19px 16px; }
.category-card h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 25px; }
.category-card p { margin: 4px 0 0; color: var(--color-text-muted); font-size: 16px; }

.products,
.how,
[class~="3dm-catalog"],
[class~="3dm-author-dashboard"] {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-navigation {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.how-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.how-steps .feature { background: #fff; }
.how .how-step-number { color: var(--color-teal); font-size: 25px; font-weight: 700; }
.tabs { display: flex; min-height: 49px; overflow-x: auto; scrollbar-width: none; }
.tabs button {
  padding: 12px 24px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: #fff;
  color: var(--color-text);
  font-size: 18px;
  cursor: pointer;
}
.tabs a {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 2px solid transparent;
  color: var(--color-text);
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}
.tabs button.is-active,
.tabs a.is-active { border-bottom-color: var(--color-teal); color: var(--color-teal); }
.tabs a:focus-visible { outline: 2px solid var(--color-teal); outline-offset: -2px; }

.threedmodify-product-grid,
[class~="3dm-catalog__grid"],
[class~="3dm-provider__listings"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.threedmodify-product-card,
[class~="3dm-catalog-card"] {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  min-width: 0;
}
.threedmodify-product-card__link,
[class~="3dm-catalog-card"] > a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: var(--color-text);
  text-decoration: none;
}
.threedmodify-product-card__link:hover,
[class~="3dm-catalog-card"] > a:hover { color: var(--color-text); text-decoration: none; }
.threedmodify-product-card__media,
[class~="3dm-catalog-card__media"] {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.threedmodify-product-card__media img,
[class~="3dm-catalog-card__media"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.threedmodify-product-card__media img { object-fit: contain; }
.threedmodify-product-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-muted);
  font-size: 14px;
}
.threedmodify-product-card__body,
[class~="3dm-catalog-card"] > a {
  gap: 8px;
}
.threedmodify-product-card__body {
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
}
.threedmodify-product-card__title,
[class~="3dm-catalog-card__title"] { font-size: 16px; font-weight: 600; line-height: 22px; }
.threedmodify-product-card__meta { color: var(--color-teal); font-size: 13px; font-weight: 600; line-height: 18px; }

.promotion-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.promotion-card,
.author-promotion {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 12px;
}
.author-promotion { height: auto; min-height: 400px; aspect-ratio: 1916 / 821; }
.promotion-card > img,
.author-promotion > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promotion-card > div,
.author-promotion > div {
  position: relative;
  display: flex;
  width: min(626px, 100%);
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
}
.promotion-light > div,
.promotion-dark > div,
.author-promotion > div { background: transparent; }
.promotion-card h2,
.author-promotion h2 { margin: 0; color: #312c27; font-size: 32px; font-weight: 600; line-height: 1.25; }
.promotion-card p,
.author-promotion p { margin: -12px 0 0; color: #5b5b58; font-size: 16px; max-width: 510px; }
.promotion-dark h2,
.promotion-dark p { color: #fff; }

.collection-row a,
.collection-row article {
  position: relative;
  flex: 0 0 330px;
  height: 140px;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
  transition: box-shadow .18s ease;
}
.collection-row a:hover,
.collection-row article:hover { box-shadow: 0 2px 10px rgba(20, 34, 35, .14); }
.collection-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .26s ease; }
.collection-row a:hover img,
.collection-row article:hover img { transform: scale(1.025); }
.collection-row span {
  position: absolute;
  left: 20px;
  bottom: 15px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.faq { display: flex; flex-direction: column; gap: 20px; }
.faq-list { display: grid; gap: 12px; }
.faq-list button {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  border-radius: 10px;
  color: #000;
  background: var(--color-surface-alt);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.faq-list button span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  background: var(--color-primary);
}
.faq-list button[aria-expanded="true"] span { transform: rotate(45deg); }
.faq-list button span img { width: 24px; height: 24px; }
.faq-answer {
  margin-top: -12px;
  padding: 14px 20px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
}
.faq-list button[aria-expanded="true"] { border-radius: 10px 10px 0 0; }
.faq-answer p { margin: 0; }
.faq-answer[hidden] { display: none !important; }

.site-footer {
  margin-top: 48px;
  color: #fff;
  background: var(--color-footer);
}
.footer-content {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(120px, .8fr) minmax(130px, .8fr) minmax(140px, .9fr) minmax(170px, 1fr);
  align-items: start;
  gap: 30px;
  padding-top: 40px;
  padding-bottom: 36px;
}
.site-footer .brand { color: #fff; }
.footer-brand p { max-width: 330px; margin: 15px 0 0; font-size: 15px; line-height: 21px; }
.site-footer nav { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.site-footer nav a:hover { text-decoration: underline; }
.footer-actions { display: grid; align-content: start; gap: 12px; }
.footer-actions .button { width: 100%; }
.footer-register { color: var(--color-primary-contrast); border: 0; }
@media (max-width: 1350px) {
  .footer-content { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1fr); gap: 20px; }
  .footer-actions { flex-wrap: wrap; align-content: flex-start; }
  .footer-actions .button { flex: 1 1 140px; }
}
.copyright { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin: 0; font-size: 14px; }

.threedmodify-page-hero,
.threedmodify-page-body,
[class~="3dm-model"],
[class~="3dm-provider__header"],
[class~="3dm-author-dashboard"],
[class~="3dm-purchases"] {
  opacity: 1;
}
.threedmodify-page-hero {
  margin-top: 20px;
  padding: 44px 40px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(112, 160, 151, .12), rgba(218, 163, 111, .12)),
    #fff;
}
.threedmodify-page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--color-text-muted);
}
.threedmodify-page-body { margin-top: 36px; }
.threedmodify-panel,
[class~="3dm-filters"],
[class~="3dm-purchase"],
[class~="3dm-stat"],
[class~="3dm-review"],
[class~="3dm-model__license-option"],
[class~="3dm-filters-dialog"] {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
}
.threedmodify-panel,
[class~="3dm-filters"],
[class~="3dm-purchase"],
[class~="3dm-stat"],
[class~="3dm-review"],
[class~="3dm-model__license-option"] { padding: 24px; }
.threedmodify-empty-state,
[class~="3dm-catalog__empty"] {
  padding: 40px 28px;
  text-align: center;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  border-radius: 16px;
  background: #fff;
}
.threedmodify-empty-state h3 { margin: 0 0 10px; color: var(--color-text); font-size: 20px; }
.threedmodify-empty-state p { margin: 0 0 18px; }
.threedmodify-empty-state--soft { background: var(--color-surface-alt); }

[class~="3dm-btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
}
[class~="3dm-input"] {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
}
[class~="3dm-catalog__toolbar"] {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
[class~="3dm-catalog__search"] { position: relative; flex: 1 1 320px; min-width: 0; }
[class~="3dm-catalog__layout"] { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
[class~="3dm-catalog__pagination"] { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
[class~="3dm-filters__field"] { margin-bottom: 16px; }
[class~="3dm-filters__field"] label { display: block; margin-bottom: 6px; font-weight: 600; }
[id^="3dm-filter-category-"] option[data-category-depth="0"] { font-weight: 700; }
[id^="3dm-filter-category-"] option[data-category-depth="1"] { font-weight: 400; }
[class~="3dm-filters-dialog"] { width: min(90vw, 360px); max-height: 90vh; overflow-y: auto; padding: 24px; }
[class~="3dm-filters-dialog__header"] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
[class~="3dm-filters-dialog"]::backdrop { background: rgba(0, 0, 0, .4); }
[class~="3dm-filters-trigger"] { display: none; }
[class~="3dm-autocomplete"] { position: relative; }
[class~="3dm-autocomplete__listbox"] {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 20;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  max-height: 320px;
  overflow-y: auto;
}
[class~="3dm-autocomplete__listbox"][hidden] { display: none; }
[class~="3dm-autocomplete__option"] { padding: 10px 14px; cursor: pointer; }
[class~="3dm-autocomplete__option"][aria-selected="true"] { background: #eef5f4; }
[class~="3dm-autocomplete__group-label"] { padding: 8px 14px; font-size: 14px; color: var(--color-text-muted); }

[class~="3dm-model"] { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr); gap: 30px; }
[class~="3dm-model__gallery"] { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
[class~="3dm-model__gallery"] img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
[class~="3dm-model__facts"] { display: grid; gap: 10px; padding: 0; list-style: none; color: var(--color-text-muted); }
[class~="3dm-model__license-options"] { display: grid; gap: 12px; margin-bottom: 18px; }
[class~="3dm-provider-badge"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 14px;
}
[class~="3dm-reviews"] { margin-top: 48px; }
[class~="3dm-reviews__list"] { display: grid; gap: 16px; list-style: none; padding: 0; }
[class~="3dm-review"] { padding-top: 18px; }
[class~="3dm-purchases"] { display: grid; gap: 20px; }
[class~="3dm-purchase"] dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
[class~="3dm-download-history"] { margin: 18px 0 0; padding-left: 18px; color: var(--color-text-muted); }
[class~="3dm-author-dashboard__summary"] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
[class~="3dm-stat__value"] { display: block; font-size: 32px; font-weight: 600; margin-bottom: 6px; }
[class~="3dm-author-dashboard__listings"] table { width: 100%; border-collapse: collapse; }
[class~="3dm-author-dashboard__listings"] th,
[class~="3dm-author-dashboard__listings"] td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
}

@media (prefers-reduced-motion: no-preference) {
  .has-motion .section-block,
  .has-motion .feature-grid-top,
  .has-motion .threedmodify-page-hero,
  .has-motion .threedmodify-page-body {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 420ms ease, transform 420ms ease;
  }
  .has-motion .section-block.is-visible,
  .has-motion .feature-grid-top.is-visible,
  .has-motion .threedmodify-page-hero.is-visible,
  .has-motion .threedmodify-page-body.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  html, body { min-width: 0; width: 100%; overflow-x: clip; }
  body.menu-open { overflow: hidden; }
  .container,
  [class~="3dm-container"] { width: auto; margin-right: 16px; margin-left: 16px; }
  .site-header { position: sticky; top: 0; z-index: 20; min-height: 70px; border-bottom: 1px solid var(--color-border); }
  .header-top { position: relative; min-height: 70px; }
  .brand { gap: 8px; font-size: 22px; }
  .brand img { width: 27px; height: 30px; }
  .header-actions { gap: 0; margin-left: auto; }
  .header-actions > .utility-link:first-child { margin-right: 0; }
  .utility-link { width: 44px; height: 44px; justify-content: center; }
  .utility-link img { width: 25px; height: 25px; }
  .utility-link span, .auth-actions, .header-actions .utility-link:nth-child(2) { display: none; }
  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    margin-left: 8px;
    padding: 8px 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
    place-content: center;
    gap: 5px;
  }
  .menu-toggle > .menu-line {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 1px;
    background: var(--color-text);
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .menu-open .menu-line-two { opacity: 0; }
  .menu-open .menu-line-one { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-line-three { transform: translateY(-7px) rotate(-45deg); }
  .has-js .search, .has-js .site-nav { display: none; }
  .has-js .site-header.menu-open .search {
    position: absolute;
    top: 82px;
    right: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    width: auto;
    height: 48px;
    margin: 0;
    background: #fff;
  }
  .has-js .site-header.menu-open .site-nav {
    position: absolute;
    top: 69px;
    right: 0;
    left: 0;
    z-index: 1;
    display: block;
    min-height: 0;
    padding: 78px 16px 24px;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
    box-shadow: 0 16px 30px rgba(20, 34, 35, 0.12);
  }
  .nav-links { align-items: stretch; flex-direction: column; gap: 0; font-size: 14px; }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--color-border); }
  .nav-links a:last-child { border-bottom: 0; }
  .hero { height: 530px; margin-top: 16px; border-radius: 10px; }
  .hero-image-desktop, .promo-image-desktop, .author-image-desktop { display: none; }
  .hero-image-mobile, .promo-image-mobile, .author-image-mobile { display: block; }
  .hero-copy {
    width: 100%;
    justify-content: flex-start;
    gap: 22px;
    padding: 48px 24px 24px;
  }
  .hero-copy > span, .hero-copy p { font-size: 14px; line-height: 20px; }
  .hero-copy h1 { margin-bottom: 12px; font-size: clamp(28px, 7.8vw, 32px); line-height: 1.2; letter-spacing: -0.7px; }
  .hero-copy p { width: min(100%, 250px); }
  .hero-button { width: 240px; min-height: 50px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .feature-grid-top { margin-top: 44px; }
  .feature { gap: 12px; padding: 14px; }
  .how-steps { grid-template-columns: 1fr; }
  .feature-icon { width: 58px; height: 58px; }
  .feature-icon img { width: 32px; height: 32px; }
  .feature h2, .feature h3 { margin-bottom: -4px; font-size: 16px; line-height: 22px; }
  .feature p { font-size: 13px; line-height: 18px; }
  .section-block, .collections { margin-top: 48px; }
  .section-heading { align-items: flex-start; gap: 14px; margin-bottom: 22px; }
  .section-heading h2, .products h2, .how > h2, .faq > h2, .threedmodify-page-hero h1 { font-size: 24px; line-height: 32px; }
  .more-link { gap: 4px; font-size: 13px; line-height: 20px; }
  .more-link img { width: 16px; height: 16px; }
  .category-row, .collection-row { gap: 12px; }
  .category-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .category-card { min-height: 108px; height: auto; background: var(--color-surface-alt); }
  .category-card > img { display: none; }
  .category-card > div {
    display: flex;
    min-height: 108px;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
  }
  .category-card h3 { font-size: 16px; line-height: 22px; }
  .category-card p { font-size: 13px; }
  .tabs button, .tabs a { flex: 0 0 auto; padding: 9px 14px; font-size: 14px; white-space: nowrap; }
  .threedmodify-product-grid,
  [class~="3dm-catalog__grid"],
  [class~="3dm-provider__listings"] { grid-template-columns: 1fr; gap: 16px; }
  .promotion-row { grid-template-columns: 1fr; gap: 16px; }
  .promotion-card, .author-promotion { height: 300px; border-radius: 10px; }
  .author-promotion { height: 430px; }
  .promotion-card > div, .author-promotion > div {
    width: 250px;
    justify-content: flex-start;
    gap: 16px;
    padding: 32px 24px 24px;
  }
  .promotion-card h2, .author-promotion h2 { font-size: 26px; line-height: 1.22; }
  .promotion-card p, .author-promotion p { margin-top: -6px; font-size: 14px; }
  .collection-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .collection-row a, .collection-row article { height: 118px; }
  .collection-row img { display: none; }
  .collection-row span {
    position: static;
    display: flex;
    height: 100%;
    align-items: flex-end;
    padding: 16px;
    font-size: 16px;
    line-height: 21px;
    text-shadow: none;
    color: #fff;
  }
  .collection-row a:nth-child(1) { background: var(--color-text); }
  .collection-row a:nth-child(2) { background: var(--color-teal); }
  .collection-row a:nth-child(3) { background: var(--color-primary); }
  .collection-row a:nth-child(4) { background: var(--color-accent); }
  .collection-row a:nth-child(4) span { color: var(--color-text); }
  .faq-list { gap: 12px; }
  .faq-list button {
    min-height: 68px;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 21px;
  }
  .site-footer { margin-top: 48px; }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 0 24px;
  }
  .footer-brand p { width: auto; font-size: 14px; line-height: 20px; }
  .site-footer nav { gap: 12px; font-size: 15px; }
  .footer-actions { justify-content: flex-start; flex-wrap: wrap; }
  .footer-actions .button { flex: 1 1 150px; }
  .copyright { justify-content: flex-start; margin: 0; font-size: 13px; }
  .threedmodify-page-hero { padding: 28px 22px; }
  [class~="3dm-catalog__layout"],
  [class~="3dm-model"] { grid-template-columns: 1fr; }
  [class~="3dm-filters--sidebar"] { display: none; }
  [class~="3dm-filters-trigger"] { display: inline-flex; }
}

@media (max-width: 767px) {
  body.home .hero-image-mobile {
    display: block;
    object-fit: cover;
    object-position: center;
  }

  body.home .how-steps {
    grid-auto-rows: auto;
    row-gap: 32px;
  }
  body.home .how-steps .feature {
    height: auto;
    min-height: 189px;
    align-items: flex-start;
    text-align: left;
  }
  body.home .how-steps .feature-icon { align-self: center; }
  body.home .how-steps .feature p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  body.home .how-more {
    width: 100%;
    min-height: 43px;
  }

  body.home .promotion-row .promo-image-desktop { display: none; }
  body.home .promotion-row .promo-image-mobile {
    display: block;
    object-fit: cover;
    object-position: center;
  }
  body.home .promotion-card > div { max-width: 205px; }

  body.home .collection-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, 140px);
    gap: 8px;
  }
  body.home .collection-row a,
  body.home .collection-row article {
    height: 140px;
    border-radius: 8px;
  }

  body.home .home-journal-preview__grid {
    grid-auto-rows: 324px;
    gap: 10px;
  }
  body.home .home-journal-preview__card { height: 324px; }
  body.home .home-journal-preview__card > a > img {
    height: 230px;
    flex-basis: 230px;
  }
  body.home .home-journal-preview__copy { gap: 6px; }
  body.home .home-journal-preview__date {
    color: #a4a4a4;
    font-size: 12px;
    line-height: 16px;
  }
  body.home .home-journal-preview__category,
  body.home .home-journal-preview__copy p { display: none; }
  body.home .home-journal-preview__copy h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.home .site-footer { margin-top: 80px; }
  body.home .footer-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 36px;
  }
  body.home .site-footer .brand { font-size: 30px; }
  body.home .site-footer .brand img { width: 35px; height: 39px; }
  body.home .footer-brand p {
    max-width: none;
    margin-top: 20px;
    font-size: 14px;
    line-height: 19px;
  }
  body.home .site-footer nav {
    gap: 16px;
    font-size: 14px;
    line-height: 19px;
  }
  body.home .site-footer .footer-legal-nav { display: none; }
  body.home .footer-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body.home .footer-actions .button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }
  body.home .footer-actions .footer-register { color: #142223; }
  body.home .copyright {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .threedmodify-main { padding-top: 0; padding-bottom: 24px; }

  .site-header .header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px 40px;
    grid-template-rows: 52px 44px;
    gap: 8px;
    min-height: 0;
    padding: 8px 0 12px;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .site-header .header-actions { grid-column: 2; grid-row: 1; margin: 0; }
  .site-header .header-actions > .utility-link:first-child { width: 40px; height: 40px; }
  .site-header .menu-toggle { grid-column: 3; grid-row: 1; width: 40px; height: 40px; margin: 0; }
  .site-header .header-top .search {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: auto;
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 44px;
    margin: 0;
  }
  .has-js .site-header.menu-open .header-top .search {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 0;
  }
  .has-js .site-header.menu-open .site-nav { top: 124px; padding: 16px 16px 24px; }

  .hero { height: 490px; margin-top: 12px; }
  .hero-copy { gap: 20px; padding: 40px 24px 24px; }
  .feature-grid-top { margin-top: 32px; }
  .section-block, .collections { margin-top: 40px; }

  .products .threedmodify-product-grid,
  .products [class~="3dm-catalog__grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .products [class~="3dm-catalog-card__media"] {
    aspect-ratio: 1 / 1;
    background: var(--color-surface-alt);
  }

  .how .how-steps { gap: 10px; }
  .how .how-steps .feature {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 12px 14px;
  }
  .how .how-steps .feature-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 12px;
    background: #fff;
    font-size: 18px;
  }
  .how .how-steps .feature h3 { grid-column: 2; grid-row: 1; margin: 0; }
  .how .how-steps .feature p { grid-column: 2; grid-row: 2; }
}

.utility-link--cart { display: none; }
body.home .home-journal-preview { display: none; }

@media (max-width: 767px) {
  body.home .threedmodify-main { padding-top: 0; padding-bottom: 0; }

  body.home .site-header {
    position: relative;
    z-index: 30;
  }
  body.home .site-header .header-top {
    display: flex;
    min-height: 60px;
    gap: 0;
    padding: 0;
  }
  body.home .site-header .menu-toggle {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 44px;
    margin: 0;
    padding: 0;
    place-content: center;
    gap: 5px;
  }
  body.home .site-header .menu-toggle > .menu-line {
    width: 24px;
    height: 2px;
  }
  body.home .site-header .brand {
    flex: 0 0 auto;
    min-width: 0;
    gap: 8px;
    margin-left: 12px;
    font-size: 22px;
  }
  body.home .site-header .brand img {
    width: 25px;
    height: 28px;
  }
  body.home .site-header .search { display: none; }
  body.home .site-header .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
  body.home .site-header .header-actions .utility-link,
  body.home .site-header .header-actions .utility-link:nth-child(2) {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    padding: 0;
  }
  body.home .site-header .header-actions .utility-link img {
    width: auto;
    height: auto;
  }
  body.home .site-header .header-actions .utility-link span,
  body.home .site-header .auth-actions { display: none; }
  body.home .site-header .site-nav { display: none; }
  body.home .site-header.menu-open .search {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    z-index: 3;
    display: flex;
    width: auto;
    height: 46px;
    margin: 0;
    background: #fff;
  }
  body.home .site-header.menu-open .site-nav {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 2;
    display: block;
    min-height: 0;
    padding: 68px 16px 24px;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
    box-shadow: 0 16px 30px rgba(20, 34, 35, .12);
  }

  body.home .hero.container {
    width: 100%;
    height: 738px;
    margin: 0;
    border-radius: 0;
  }
  body.home .hero-image-desktop { display: none; }
  body.home .hero-image-mobile {
    display: block;
    object-fit: cover;
    object-position: center;
  }
  body.home .hero-copy {
    position: absolute;
    top: calc(50% - 181px);
    left: 16px;
    display: flex;
    width: calc(100% - 32px);
    height: auto;
    justify-content: flex-start;
    gap: 32px;
    padding: 0;
    transform: translateY(-50%);
  }
  body.home .hero-copy > span,
  body.home .hero-copy p {
    font-size: 14px;
    line-height: 19px;
  }
  body.home .hero-copy > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  body.home .hero-copy h1 {
    max-width: none;
    margin: 0;
    font-size: 28px;
    line-height: 1.36;
    letter-spacing: 0;
  }
  body.home .hero-copy p { width: 100%; }
  body.home .hero-button {
    width: 100%;
    min-height: 54px;
    margin-top: 0;
    padding: 16px 24px;
    font-size: 16px;
  }

  body.home .feature-grid-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 16px 19px;
    margin-top: 80px;
  }
  body.home .feature-grid-top .feature {
    height: 180px;
    align-items: center;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
  }
  body.home .feature-grid-top .feature-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    margin-bottom: 20px;
    background: #f7f7f7;
  }
  body.home .feature-grid-top .feature-icon img {
    width: auto;
    height: auto;
  }
  body.home .feature-grid-top .feature h2 {
    margin: 0;
    font-size: 18px;
    line-height: 25px;
  }
  body.home .feature-grid-top .feature p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 8px;
    color: #576667;
    font-size: 14px;
    line-height: 19px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.home .section-block,
  body.home .collections { margin-top: 80px; }
  body.home .section-heading {
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
  }
  body.home .section-heading h2,
  body.home .products h2,
  body.home .how > h2,
  body.home .faq > h2 {
    margin: 0;
    font-size: 22px;
    line-height: 30px;
  }
  body.home .more-link {
    flex: 0 0 auto;
    gap: 8px;
    color: #70a097;
    font-size: 14px;
    line-height: 19px;
    white-space: nowrap;
  }
  body.home .more-link img {
    width: 16px;
    height: 16px;
  }

  body.home #categories .section-heading h2 { max-width: 187px; }
  body.home #categories .category-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 220px);
    gap: 12px;
    overflow: visible;
  }
  body.home #categories .category-card {
    width: 100%;
    height: 220px;
    min-height: 220px;
    border-radius: 8px;
    background: #fff;
  }
  body.home #categories .category-card > img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
  }
  body.home #categories .category-card > div { padding: 11px 15px; }
  body.home #categories .category-card h3 {
    font-size: 18px;
    line-height: 25px;
  }
  body.home #categories .category-card p {
    margin-top: 4px;
    color: #a4a4a4;
    font-size: 16px;
    line-height: 22px;
  }

  body.home .products { gap: 20px; }
  body.home .product-navigation { gap: 24px; }
  body.home .product-navigation h2 { line-height: 30px; }
  body.home .tabs {
    height: 43px;
    min-height: 43px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  body.home .tabs::-webkit-scrollbar { display: none; }
  body.home .tabs a {
    height: 43px;
    flex: 0 0 auto;
    padding: 12px 24px;
    font-size: 14px;
    line-height: 19px;
    white-space: nowrap;
  }
  body.home .products .threedmodify-product-grid,
  body.home .products [class~="3dm-catalog__grid"] {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 454px;
    gap: 12px;
  }
  body.home .products .threedmodify-product-card,
  body.home .products [class~="3dm-catalog-card"] {
    height: 454px;
    border-radius: 8px;
  }
  body.home .products .threedmodify-product-card__link,
  body.home .products [class~="3dm-catalog-card"] > a {
    height: 392px;
    min-height: 0;
  }
  body.home .products .threedmodify-product-card__media,
  body.home .products [class~="3dm-catalog-card__media"] {
    height: 280px;
    flex: 0 0 280px;
    aspect-ratio: auto;
  }
  body.home .products .threedmodify-product-card__body {
    height: 112px;
    gap: 4px;
    overflow: hidden;
    padding: 12px 26px;
  }
  body.home .products .threedmodify-product-card__title,
  body.home .products [class~="3dm-catalog-card__title"] {
    font-size: 18px;
    line-height: 22px;
  }
  body.home .products .threedmodify-product-card__meta {
    color: #837d78;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
  }
  body.home .products .threedmodify-product-card__author { color: #9b9b9b; }
  body.home .products .threedmodify-product-card__details {
    display: flex;
    min-height: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  body.home .products .threedmodify-product-card__price {
    color: #6f9e95;
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
  }
  body.home .products .threedmodify-product-card__rating::before {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    background: url('../images/figma-home/assets/icon-13.svg') center / 18px 18px no-repeat;
    content: '';
  }
  body.home .products .threedmodify-product-card__rating {
    display: inline-flex;
    align-items: center;
    color: #5b5b58;
  }
  body.home .products .threedmodify-product-card__action {
    display: flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 16px 16px;
    border-radius: 8px;
    background: #daa36f;
    color: #fff;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
  }
  body.home .products .threedmodify-favorite-form,
  body.home .products .threedmodify-favorite-link {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 0;
  }
  body.home .products .threedmodify-favorite-form { margin: 0; }
  body.home .products .threedmodify-favorite-form button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
  }
  body.home .products .threedmodify-favorite-link::before,
  body.home .products .threedmodify-favorite-form button::before {
    position: absolute;
    width: 30px;
    height: 30px;
    background: url('../images/figma-home/assets/icon-14.svg') center / 30px 30px no-repeat;
    content: '';
    pointer-events: none;
  }

  body.home .how { gap: 0; }
  body.home .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 189.5px;
    gap: 32px 12px;
    margin-top: 24px;
  }
  body.home .how-steps .feature {
    display: flex;
    height: 189.5px;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    background: transparent;
    text-align: center;
  }
  body.home .how-steps .feature h3,
  body.home .how-steps .feature p {
    grid-column: auto;
    grid-row: auto;
  }
  body.home .how-steps .feature-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    margin-bottom: 20px;
    background: #f7f7f7;
  }
  body.home .how-steps .feature-icon img {
    width: auto;
    height: auto;
  }
  body.home .how-steps .feature h3 {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
  }
  body.home .how-steps .feature p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 8px;
    font-size: 13px;
    line-height: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  body.home .how-step-index { font-weight: 700; }
  body.home .how-more {
    display: flex;
    width: 100%;
    height: 43px;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
  }

  body.home .promotion-row.section-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body.home .promotion-card {
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 261;
    border-radius: 10px;
  }
  body.home .promotion-row .promo-image-desktop { display: none; }
  body.home .promotion-row .promo-image-mobile {
    display: block;
    object-fit: cover;
    object-position: center;
  }
  body.home .promotion-light > div,
  body.home .promotion-dark > div { background: transparent; }
  body.home .promotion-card > div {
    position: absolute;
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: auto;
    gap: 16px;
    justify-content: flex-start;
    padding: 0;
  }
  body.home .promotion-card h2 { font-size: 20px; line-height: 25px; }
  body.home .promotion-card p { margin: 0; font-size: 14px; line-height: 19px; }
  body.home .promotion-card .button {
    min-height: 0;
    padding: 8px 12px;
    font-size: 14px;
    text-transform: none;
  }

  body.home .collection-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 286px);
    gap: 12px;
    overflow: visible;
  }
  body.home .collection-row a,
  body.home .collection-row article {
    width: 100%;
    height: 286px;
    border-radius: 8px;
  }
  body.home .collection-row img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  body.home .collection-row span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    height: auto;
    min-height: 70px;
    align-items: flex-end;
    padding: 16px;
    background: linear-gradient(transparent, rgba(20, 34, 35, .72));
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    text-shadow: none;
  }

  body.home .home-journal-preview {
    display: block;
    margin-top: 80px;
  }
  body.home .home-journal-preview .section-heading { margin-bottom: 24px; }
  body.home .home-journal-preview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 320px;
    gap: 14px;
  }
  body.home .home-journal-preview__card {
    height: 320px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
  }
  body.home .home-journal-preview__card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
  }
  body.home .home-journal-preview__card > a > img {
    display: block;
    width: 100%;
    height: 176px;
    flex: 0 0 176px;
    object-fit: cover;
  }
  body.home .home-journal-preview__copy {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px 14px;
  }
  body.home .home-journal-preview__category {
    color: #70a097;
    font-size: 12px;
    line-height: 16px;
  }
  body.home .home-journal-preview__copy h3 {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
  }
  body.home .home-journal-preview__copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #576667;
    font-size: 13px;
    line-height: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.home .author-promotion.section-block {
    width: 100%;
    height: 678px;
    margin-right: 0;
    margin-left: 0;
    border-radius: 0;
  }
  body.home .author-image-desktop { display: none; }
  body.home .author-image-mobile {
    display: block;
    object-fit: cover;
    object-position: center;
  }
  body.home .author-promotion > div {
    position: absolute;
    top: 32px;
    left: 16px;
    width: calc(100% - 32px);
    height: auto;
    gap: 12px;
    justify-content: flex-start;
    padding: 0;
    background: transparent;
  }
  body.home .author-promotion h2 { font-size: 22px; line-height: 29px; }
  body.home .author-promotion p { margin: 0; font-size: 14px; line-height: 19px; }
  body.home .author-promotion .button {
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    padding: 16px 24px;
    font-size: 16px;
  }

  body.home .faq.container {
    width: auto;
    min-width: 0;
    margin-inline: 16px;
    gap: 24px;
  }
  body.home .faq-list {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  body.home .faq-list button {
    width: 100%;
    min-width: 0;
    height: 68px;
    min-height: 68px;
    gap: 24px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 22px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.home .faq-list button span {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 6px;
  }
  body.home .faq-list button span img {
    width: auto;
    height: auto;
  }
  body.home .site-footer { margin-top: 80px; }
}

@media (max-width: 767px) {
  body.home .how-steps { grid-auto-rows: auto; }
  body.home .how-steps .feature {
    height: auto;
    min-height: 189px;
    align-items: flex-start;
    text-align: left;
  }
  body.home .how-steps .feature-icon {
    align-self: center;
    margin-left: 0;
  }
  body.home .how-steps .feature p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  body.home .collection-row {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, 140px);
    gap: 8px;
  }
  body.home .collection-row a,
  body.home .collection-row article {
    height: 140px;
    border-radius: 8px;
  }

  body.home .home-journal-preview__grid {
    grid-auto-rows: 324px;
    gap: 10px;
  }
  body.home .home-journal-preview__card { height: 324px; }
  body.home .home-journal-preview__card > a > img {
    height: 230px;
    flex-basis: 230px;
  }
  body.home .home-journal-preview__date {
    color: #a4a4a4;
    font-size: 12px;
    line-height: 16px;
  }
  body.home .home-journal-preview__category,
  body.home .home-journal-preview__copy p { display: none; }
}

/* Mobile homepage: preserve the PDF artwork and let live catalog text grow. */
.feature-grid-top .feature-icon,
.how-steps .feature-icon { background: transparent; }
.feature-grid-top .feature-icon img,
.how-steps .feature-icon img { width: 100%; height: 100%; object-fit: contain; }

@media (min-width: 768px) {
  body.home .container { padding-inline: 0; }

  body.home .feature-grid-top .feature {
    gap: 20px;
    padding: 0;
    background: transparent;
  }
  body.home .feature-grid-top .feature-icon img,
  body.home .how-steps .feature-icon img { mix-blend-mode: multiply; }

  body.home .products .threedmodify-product-card {
    display: flex;
    min-height: 486px;
    flex-direction: column;
  }
  body.home .products .threedmodify-product-card__link {
    min-height: 0;
    flex: 1 1 auto;
  }
  body.home .products .threedmodify-product-card__media {
    height: 280px;
    flex: 0 0 280px;
    aspect-ratio: auto;
  }
  body.home .products .threedmodify-product-card__body { padding: 16px 18px; }
  body.home .products .threedmodify-product-card__action {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin: 0 18px 18px;
    border-radius: 8px;
    background: var(--color-accent);
    color: var(--color-primary-contrast);
    font-size: 16px;
    font-weight: 600;
  }
  body.home .products .threedmodify-favorite-form,
  body.home .products .threedmodify-favorite-link {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 0;
  }
  body.home .products .threedmodify-favorite-form button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
  }
  body.home .products .threedmodify-favorite-link::before,
  body.home .products .threedmodify-favorite-form button::before {
    display: block;
    width: 30px;
    height: 30px;
    background: url('../images/figma-home/assets/icon-14.svg') center / 30px 30px no-repeat;
    content: '';
  }
}

@media (min-width: 1100px) {
  body.home #categories .category-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
  }
  body.home #categories .category-card { min-width: 0; }
}

@media (min-width: 768px) and (max-width: 1099px) {
  body.home #categories .category-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  body.home .site-header .header-actions { gap: 12px; }
  body.home .site-header .header-actions > .utility-link:first-child { margin-right: 0; }
  body.home .site-header .utility-link--cart { display: grid; }
  body.home .site-header .utility-link--cart img { width: 24px; height: 24px; }
  body.home .feature-grid-top .feature-icon img,
  body.home .how-steps .feature-icon img { width: 100%; height: 100%; }

  body.home .hero.container {
    height: auto;
    min-height: 0;
    aspect-ratio: 375 / 738;
  }
  body.home .hero-copy {
    top: 36px;
    gap: 28px;
    transform: none;
  }

  body.home .feature-grid-top {
    grid-auto-rows: auto;
    row-gap: 24px;
  }
  body.home .feature-grid-top .feature {
    height: auto;
    min-height: 180px;
  }
  body.home .feature-grid-top .feature p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  body.home .section-heading { flex-wrap: wrap; }
  body.home .section-heading h2 { min-width: 0; }
  body.home .section-heading .more-link { margin-left: auto; }
  body.home #categories .category-row {
    grid-template-rows: none;
    grid-auto-rows: minmax(240px, auto);
    align-items: stretch;
  }
  body.home #categories .category-card {
    height: 100%;
    min-height: 240px;
  }
  body.home #categories .category-card > div {
    min-height: 100px;
    padding: 10px 12px;
  }
  body.home #categories .category-card h3,
  body.home #categories .category-card p {
    overflow-wrap: anywhere;
  }
  body.home #categories .category-card h3 { font-size: 16px; line-height: 21px; }
  body.home #categories .category-card p { font-size: 14px; line-height: 19px; }

  body.home .products .threedmodify-product-grid { grid-auto-rows: auto; }
  body.home .products .threedmodify-product-card {
    display: flex;
    height: auto;
    min-height: 454px;
    flex-direction: column;
  }
  body.home .products .threedmodify-product-card__link {
    height: auto;
    min-height: 0;
    flex: 1 0 auto;
  }
  body.home .products .threedmodify-product-card__media {
    height: 280px;
    flex: 0 0 280px;
    background: #f7f7f7;
  }
  body.home .products .threedmodify-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  body.home .products .threedmodify-product-card__body {
    height: auto;
    min-height: 112px;
    overflow: visible;
  }
  body.home .products .threedmodify-product-card__title,
  body.home .products .threedmodify-product-card__author { overflow-wrap: anywhere; }
  body.home .products .threedmodify-product-card__action {
    min-height: 44px;
    margin-top: auto;
  }

  body.home .faq-list button { height: auto; min-height: 68px; }
}

@media (max-width: 360px) {
  body.home .site-header .brand { font-size: 19px; }
  body.home .site-header .header-actions { gap: 8px; }
  body.home .tabs a { padding-inline: 14px; }
  body.home .hero-copy { top: 28px; gap: 20px; }
  body.home .hero-copy h1 { font-size: 25px; }
}
.site-header .utility-link--favorites { position: relative; }
.site-header .utility-link__count {
  position: absolute;
  top: -4px;
  right: calc(50% - 16px);
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-teal);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.threedmodify-product-card .threedmodify-favorite-form,
.threedmodify-product-card .threedmodify-favorite-link {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.threedmodify-product-card .threedmodify-favorite-form button,
.threedmodify-product-card .threedmodify-favorite-link {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #142223;
}
.threedmodify-product-card .threedmodify-favorite-form button::before,
.threedmodify-product-card .threedmodify-favorite-link::before { display: none !important; }
.threedmodify-product-card .threedmodify-favorite-form svg,
.threedmodify-product-card .threedmodify-favorite-link svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: color .15s ease, fill .15s ease;
}
.threedmodify-product-card .threedmodify-favorite-form.is-active,
.threedmodify-product-card .threedmodify-favorite-form.is-active button {
  color: var(--color-teal);
}
.threedmodify-product-card .threedmodify-favorite-form.is-active svg { fill: currentColor; }
.threedmodify-product-card .threedmodify-favorite-form button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 767px) {
  .site-header .utility-link__count { display: inline-grid !important; }
}
.threedmodify-product-card__zoom {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--color-surface-alt);
  cursor: zoom-in;
}
.threedmodify-product-card__zoom .threedmodify-product-card__media { height: 100%; }
.threedmodify-product-card__zoom:focus-visible { outline-offset: -3px; }
.threedmodify-product-card__link { flex: 1 1 auto; }
[class~="3dm-card-gallery"] {
  position: fixed;
  inset: 0;
  width: min(96vw, 1280px);
  max-width: none;
  height: min(94vh, 900px);
  max-height: none;
  padding: 56px 72px;
  border: 0;
  border-radius: 10px;
  background: #101313;
  color: #fff;
}
[class~="3dm-card-gallery"]::backdrop { background: rgba(0, 0, 0, .86); }
[class~="3dm-card-gallery"] img { display: block; width: 100%; height: 100%; object-fit: contain; }
[class~="3dm-card-gallery"] button {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
[class~="3dm-card-gallery__close"] { top: 12px; right: 12px; }
[class~="3dm-card-gallery__previous"] { top: 50%; left: 12px; transform: translateY(-50%); }
[class~="3dm-card-gallery__next"] { top: 50%; right: 12px; transform: translateY(-50%); }
[class~="3dm-card-gallery__position"] { position: absolute; right: 0; bottom: 10px; left: 0; margin: 0; color: #fff; font-size: 14px; text-align: center; }
@media (max-width: 600px) {
  [class~="3dm-card-gallery"] { width: 100vw; height: 100dvh; padding: 64px 46px; border-radius: 0; }
  [class~="3dm-card-gallery"] button { width: 38px; height: 38px; }
  [class~="3dm-card-gallery__close"] { top: 10px; right: 10px; }
  [class~="3dm-card-gallery__previous"] { left: 5px; }
  [class~="3dm-card-gallery__next"] { right: 5px; }
}

.site-header .utility-link--notifications { position: relative; }
.site-header .utility-link--notifications svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-header .utility-link__count[hidden] { display: none !important; }
.search__image-trigger { display: grid; width: 44px !important; flex: 0 0 44px; place-items: center; background: transparent !important; color: #53656e; }
.search__image-trigger:hover { color: var(--color-teal); }
.search__image-trigger svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.search__image-input { display: none !important; }
.visual-search { position: fixed; inset: 0; width: min(760px, calc(100% - 32px)); max-width: 760px; max-height: min(86vh, 850px); overflow: auto; padding: 34px; border: 0; border-radius: 10px; background: #fff; color: var(--color-text); box-shadow: 0 20px 72px rgb(0 0 0 / 24%); }
.visual-search::backdrop { background: rgb(17 26 29 / 58%); }
.visual-search h2 { margin: 0 42px 8px 0; font-size: clamp(22px, 3vw, 30px); }
.visual-search__status { min-height: 24px; margin: 0 0 18px; color: #62717b; }
.visual-search__close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 28px; cursor: pointer; }
.visual-search__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.visual-search__result { min-width: 0; overflow: hidden; border-radius: 7px; color: inherit; text-decoration: none; }
.visual-search__result img { display: block; width: 100%; aspect-ratio: 1; background: #f6f7f6; object-fit: contain; }
.visual-search__result-copy { display: grid; gap: 4px; padding: 10px 2px; }
.visual-search__result-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visual-search__result-copy span { color: #77858a; font-size: 12px; }

/* Homepage blocks from the latest review brief. */
body.home #new-arrivals .threedmodify-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 24px;
}
body.home #new-arrivals .threedmodify-product-card {
  min-height: 0;
  height: auto;
  border-radius: 10px;
}
body.home #new-arrivals .threedmodify-product-card__link { height: auto; min-height: 0; }
body.home #new-arrivals .threedmodify-product-card__media {
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
}
body.home #new-arrivals .threedmodify-product-card__body { min-height: 68px; height: auto; padding: 16px; }
body.home #new-arrivals .threedmodify-favorite-form,
body.home #new-arrivals .threedmodify-favorite-link {
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
}
body.home #new-arrivals .threedmodify-favorite-form button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: transparent;
  color: inherit;
}
body.home #new-arrivals .threedmodify-favorite-form.is-active,
body.home #new-arrivals .threedmodify-favorite-form.is-active button { color: var(--color-teal); }

body.home .home-ad-slot { margin-top: 64px; }
body.home .home-ad-slot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
  min-height: 220px;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  background: #f0ebe6;
}
body.home .home-ad-slot__copy { min-width: 0; }
body.home .home-ad-slot__label { color: var(--color-text-muted); font-size: 12px; line-height: 18px; }
body.home .home-ad-slot h2 { margin: 10px 0 18px; color: var(--color-text); font-size: 26px; font-weight: 600; line-height: 34px; }
body.home .home-ad-slot__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--color-teal); font-size: 16px; font-weight: 600; line-height: 22px; }
body.home .home-ad-slot__cta svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.home .home-ad-slot__inner:hover .home-ad-slot__cta { text-decoration: underline; }
body.home .home-ad-slot__image { display: block; width: 100%; height: 172px; object-fit: cover; object-position: 80% bottom; -webkit-mask-image: linear-gradient(to right, transparent, #000 22%); mask-image: linear-gradient(to right, transparent, #000 22%); }

body.home .home-benefits {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 2fr);
  align-items: start;
  gap: 56px;
  margin-top: 64px;
}
body.home .home-benefits__intro h2 { margin: 0; color: var(--color-text); font-size: 28px; font-weight: 600; line-height: 38px; }
body.home .home-benefits__intro h2 span { display: block; color: var(--color-teal); }
body.home .home-benefits__intro > p { max-width: 300px; margin: 16px 0 0; color: var(--color-text-muted); font-size: 16px; line-height: 24px; }
body.home .home-benefits__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.home .home-benefits__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 16px; }
body.home .home-benefits__list svg {
  display: block;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--color-teal);
}
body.home .home-benefits__list h3 { margin: 0; color: var(--color-text); font-size: 18px; font-weight: 600; line-height: 25px; }
body.home .home-benefits__list p { margin: 8px 0 0; color: var(--color-text-muted); font-size: 15px; line-height: 22px; }

body.home .home-newsletter { margin-top: 64px; }
body.home .threedmodify-main { padding-bottom: 0; }
body.home .site-footer { margin-top: 32px; }
body.home .home-newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
  padding: 40px;
  border-radius: var(--radius-md);
  background: var(--color-teal);
  color: #fff;
}
body.home .home-newsletter h2 { margin: 0; color: #fff; font-size: 28px; font-weight: 600; line-height: 38px; }
body.home .home-newsletter__copy > p { margin: 12px 0 0; font-size: 16px; line-height: 24px; }
body.home .home-newsletter__subscription { min-width: 0; }
body.home .home-newsletter__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
  text-align: left;
}
body.home .home-newsletter__form > input[type='email'] {
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
}
body.home .home-newsletter__form > button { min-height: 48px; margin: 0; }
body.home .home-newsletter__consent {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}
body.home .home-newsletter__consent input { flex: 0 0 16px; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--color-accent); }
body.home .home-newsletter__consent a { color: inherit; text-decoration: underline; }
body.home .home-newsletter__status { margin: 0 0 16px; color: #fff; }
body.home .home-newsletter :focus-visible { outline-color: var(--color-accent); }
body.home .home-newsletter__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 768px) and (max-width: 1099px) {
  body.home #new-arrivals .threedmodify-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .home-benefits { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body.home .home-benefits__intro > p { max-width: 480px; }
  body.home .home-newsletter__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.home .site-header .header-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 24px;
    padding-block: 20px;
  }
  body.home .site-header .brand { grid-column: 1; grid-row: 1; }
  body.home .site-header .header-actions { grid-column: 2; grid-row: 1; gap: 20px; }
  body.home .site-header .utility-link { width: 32px; margin: 0; }
  body.home .site-header .utility-link > span:not(.utility-link__count) { display: none; }
  body.home .site-header .utility-link__count { top: -2px; right: calc(50% - 13px); }
  body.home .site-header .utility-link__count[hidden] { display: none !important; }
  body.home .site-header .auth-actions .button { padding-inline: 16px; font-size: 14px; }
  body.home .site-header .search { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
  body.home .site-header .search input[type='search'] { flex: 1 1 auto; min-width: 0; width: auto; }
  body.home .site-header .search button[type='submit'] { flex: 0 0 56px; }
  body.home .site-header .site-nav { width: calc(100% - 80px); min-height: 0; margin-inline: auto; padding: 12px 0; }
  body.home .site-header .nav-links { flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: 14px; }
  body.home .site-header .nav-links a { white-space: nowrap; }
  body.home .hero { height: 440px; }
  body.home .hero-image-desktop { object-position: right center; }
  body.home .hero-copy { width: 58%; gap: 20px; padding-left: 28px; }
  body.home .hero-copy h1 { font-size: 32px; letter-spacing: -.6px; }
  body.home .hero-copy p { width: auto; font-size: 14px; line-height: 20px; }
  body.home .hero-button { max-width: 100%; }
  body.home .footer-content { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  body.home .footer-brand { grid-column: 1 / -1; }
  body.home .footer-brand p { max-width: 560px; }
  body.home .footer-actions { display: flex; grid-column: 1 / -1; gap: 16px; }
  body.home .footer-actions .button { flex: 1 1 0; min-width: 0; }
}

@media (max-width: 767px) {
  body.home #new-arrivals .threedmodify-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.home #new-arrivals .threedmodify-product-card__media { height: auto; flex-basis: auto; }
  body.home #new-arrivals .threedmodify-product-card__body { min-height: 64px; padding: 12px; }
  body.home #new-arrivals .threedmodify-product-card__title { font-size: 16px; line-height: 22px; }
  body.home #new-arrivals .threedmodify-favorite-form,
  body.home #new-arrivals .threedmodify-favorite-link { top: 6px; right: 6px; }
  body.home .home-ad-slot { margin-top: 48px; }
  body.home .home-ad-slot__inner { grid-template-columns: minmax(0, 1fr) minmax(80px, .7fr); min-height: 200px; gap: 12px; padding: 20px; }
  body.home .home-ad-slot h2 { margin: 8px 0 16px; font-size: 20px; line-height: 27px; }
  body.home .home-ad-slot__cta { font-size: 14px; line-height: 20px; }
  body.home .home-ad-slot__image { height: 160px; }
  body.home .home-benefits { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 48px; }
  body.home .home-benefits__intro h2 { font-size: 22px; line-height: 30px; }
  body.home .home-benefits__intro > p { margin-top: 12px; font-size: 15px; line-height: 22px; }
  body.home .home-benefits__list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.home .home-benefits__list li { grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
  body.home .home-benefits__list h3 { font-size: 17px; line-height: 24px; }
  body.home .home-benefits__list p { margin-top: 6px; font-size: 14px; line-height: 21px; }
  body.home .home-newsletter { margin-top: 48px; }
  body.home .site-footer { margin-top: 24px; }
  body.home .home-newsletter__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 20px; }
  body.home .home-newsletter h2 { font-size: 22px; line-height: 30px; }
  body.home .home-newsletter__form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.home .home-newsletter__consent { grid-column: auto; }
  .visual-search { width: calc(100% - 24px); max-height: 88vh; padding: 28px 18px 18px; }
  .visual-search__results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .search__image-trigger { flex-basis: 38px; width: 38px !important; }
}

/* Homepage layout from the approved composition. */
body.home .home-how,
body.home .home-free-models,
body.home .home-benefits { margin-top: 64px; }
body.home .home-how > h2 { margin: 0 0 28px; color: var(--color-text); font-size: 28px; font-weight: 600; line-height: 38px; }
body.home .home-how__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.home .home-how__step { min-width: 0; }
body.home .home-how__step > img { display: block; width: 80px; height: 80px; margin: 0 auto 22px; object-fit: contain; }
body.home .home-how__step h3 { margin: 0 0 10px; color: var(--color-text); font-size: 18px; font-weight: 600; line-height: 25px; }
body.home .home-how__step p { margin: 0; color: var(--color-text-muted); font-size: 15px; line-height: 22px; }
@media (min-width: 768px) {
  body.home .home-how__step > img { margin-inline: 0; }
}
@media (min-width: 1100px) {
  body.home .hero { height: 480px; }
  body.home .hero-image-desktop { object-position: center bottom; }
  body.home .author-promotion { min-height: 0; aspect-ratio: 3 / 1; }
  body.home .author-image-desktop { object-position: center bottom; }
  body.home .site-header .nav-links {
    width: calc(100% - 80px);
    max-width: 1280px;
    margin-inline: auto;
    justify-content: space-between;
    gap: 16px;
  }
}
body.home .home-free-models .threedmodify-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 24px; }
body.home .home-free-models .threedmodify-product-card { min-height: 0; height: auto; border-radius: 10px; }
body.home .home-free-models .threedmodify-product-card__link { height: auto; min-height: 0; }
body.home .home-free-models .threedmodify-product-card__media { height: auto; flex: 0 0 auto; aspect-ratio: 1 / 1; }
body.home .home-free-models .threedmodify-product-card__body { min-height: 68px; height: auto; padding: 16px; }
body.home .home-free-models .threedmodify-favorite-form,
body.home .home-free-models .threedmodify-favorite-link { top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 0; background: transparent; color: var(--color-text); }
body.home .home-free-models .threedmodify-favorite-form button { display: grid; width: 36px; height: 36px; place-items: center; background: transparent; color: inherit; }
body.home .home-free-models .threedmodify-favorite-form.is-active,
body.home .home-free-models .threedmodify-favorite-form.is-active button { color: var(--color-teal); }
body.home .home-benefits { margin-bottom: 0; }
body.threedmodify-body .site-footer.container {
  width: min(var(--container-max-width), calc(100% - 80px));
  margin-inline: auto;
  margin-top: 32px;
  padding-inline: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}
body.threedmodify-body:has(main > [class~="3dm-container"]) .site-footer.container { max-width: none; }
body.threedmodify-body .site-header .header-actions { gap: 24px; }
body.threedmodify-body .site-header .header-actions > .utility-link { position: relative; display: grid; width: 40px; height: 40px; min-height: 40px; flex: 0 0 40px; margin: 0; padding: 0; place-items: center; gap: 0; color: var(--color-teal); text-decoration: none; }
body.threedmodify-body .site-header .header-actions .utility-link > img { display: block; width: 32px; height: 32px; object-fit: contain; }
body.threedmodify-body .site-header .header-actions .utility-link > .utility-link__label { display: none; }
body.threedmodify-body .site-header .header-actions > .utility-link--language { width: 32px; height: 32px; min-height: 32px; flex-basis: 32px; margin-inline: 4px; border: 1px solid currentColor; border-radius: 50%; font-size: 14px; font-weight: 600; }
body.threedmodify-body .site-header .utility-link__count {
  top: -5px;
  right: auto;
  left: 50%;
  z-index: 2;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  transform: translateX(-50%);
  border: 1px solid #fff;
  background: #b9dfbd;
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 600;
}
body.threedmodify-body .site-header .header-actions .utility-link__count { display: inline-grid; }
body.threedmodify-body .site-header .header-actions .utility-link__count[hidden] { display: none !important; }

@media (min-width: 768px) and (max-width: 1099px) {
  body.home .home-how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  body.home .home-free-models .threedmodify-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.home .home-how,
  body.home .home-free-models,
  body.home .home-benefits { margin-top: 48px; }
  body.home .home-how > h2 { margin-bottom: 24px; font-size: 22px; line-height: 30px; }
  body.home .home-how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  body.home .home-how__step > img { width: 72px; height: 72px; margin-bottom: 16px; }
  body.home .home-how__step h3 { margin-bottom: 8px; font-size: 16px; line-height: 22px; }
  body.home .home-how__step p { font-size: 14px; line-height: 21px; }
  body.home .home-free-models .threedmodify-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.home .home-free-models .threedmodify-product-card__body { min-height: 64px; padding: 12px; }
  body.home .home-free-models .threedmodify-product-card__title { font-size: 16px; line-height: 22px; }
  body.home .home-free-models .threedmodify-favorite-form,
  body.home .home-free-models .threedmodify-favorite-link { top: 6px; right: 6px; }
  body.threedmodify-body .site-footer.container { width: calc(100% - 32px); margin-inline: 16px; margin-top: 24px; }
  body.threedmodify-body .site-header .header-top { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-rows: auto; width: calc(100% - 32px); margin-inline: 16px; padding-inline: 0; align-items: center; gap: 8px; }
  body.threedmodify-body .site-header .menu-toggle { grid-column: 1; grid-row: 1; width: 24px; margin: 0; }
  body.threedmodify-body .site-header .brand { grid-column: 2; grid-row: 1; gap: 6px; margin: 0; font-size: 18px; }
  body.threedmodify-body .site-header .brand img { width: 23px; height: 26px; }
  body.threedmodify-body .site-header .header-actions { grid-column: 3; grid-row: 1; gap: 4px; margin: 0; }
  body.threedmodify-body .site-header .header-actions > .utility-link { width: 26px; height: 32px; min-height: 32px; flex-basis: 26px; }
  body.threedmodify-body .site-header .header-actions .utility-link > img { width: 24px; height: 24px; }
  body.threedmodify-body .site-header .header-actions > .utility-link--language { width: 24px; height: 24px; min-height: 24px; flex-basis: 24px; margin-inline: 1px; font-size: 11px; }
}
@media (max-width: 359px) {
  body.threedmodify-body .site-header .brand > span { display: none; }
}

/* Shared footer content from the approved composition. */
body.threedmodify-body .site-footer .footer-content {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(200px, 1.35fr) minmax(120px, .8fr) minmax(150px, 1fr) minmax(120px, .8fr) minmax(180px, 1.2fr);
  gap: 32px 24px;
  padding: 36px 40px 28px;
}
body.threedmodify-body .site-footer .footer-brand { grid-column: auto; min-width: 0; }
body.threedmodify-body .site-footer .brand { gap: 10px; font-size: 28px; white-space: nowrap; }
body.threedmodify-body .site-footer .brand img { width: 36px; height: 40px; }
body.threedmodify-body .site-footer .footer-brand p { max-width: 250px; margin: 10px 0 0; font-size: 11px; line-height: 17px; }
body.threedmodify-body .site-footer .footer-column { display: flex; min-width: 0; gap: 5px; font-size: 12px; line-height: 18px; }
body.threedmodify-body .site-footer .footer-column h2 { margin: 0 0 3px; color: inherit; font-size: 13px; font-weight: 600; line-height: 18px; }
body.threedmodify-body .site-footer .footer-column a,
body.threedmodify-body .site-footer .footer-pending { color: #ddd; overflow-wrap: anywhere; }
body.threedmodify-body .site-footer .footer-bottom { display: flex; grid-column: 1 / -1; align-items: center; flex-wrap: wrap; gap: 16px 28px; font-size: 11px; line-height: 18px; }
body.threedmodify-body .site-footer .footer-bottom p { margin: 0; }
body.threedmodify-body .site-footer .footer-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
body.threedmodify-body .site-footer .footer-socials__icons { display: flex; gap: 10px; }
body.threedmodify-body .site-footer .footer-social { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #888; border-radius: 50%; }
body.threedmodify-body .site-footer .footer-social img { display: block; width: 14px; height: 14px; filter: invert(1); }
body.threedmodify-body .site-footer .footer-bottom .footer-credit { margin-left: auto; }
body.threedmodify-body .site-footer a:focus-visible { outline: 2px solid #daa36f; outline-offset: 4px; }
@media (max-width: 1199px) {
  body.threedmodify-body .site-footer .footer-content { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; padding-inline: 28px; }
  body.threedmodify-body .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  body.threedmodify-body .site-footer .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; padding: 28px 20px; }
  body.threedmodify-body .site-footer .footer-column { font-size: 12px; line-height: 19px; gap: 8px; }
  body.threedmodify-body .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 18px; }
  body.threedmodify-body .site-footer .footer-bottom .footer-credit { margin-left: 0; }
}
