/* Native Alborz home. Intentionally scoped to avoid changing shop and content templates. */
.ap-home {
  --ap-home-navy: #0e1c3c;
  --ap-home-navy-deep: #08142f;
  --ap-home-yellow: #ffc107;
  --ap-home-yellow-dark: #d99f00;
  --ap-home-ink: #17213a;
  --ap-home-muted: #5f687a;
  --ap-home-gray: #dfe3e8;
  --ap-home-paper: #f6f7f9;
  --ap-home-white: #ffffff;
  color: var(--ap-home-ink);
  background: var(--ap-home-paper);
  overflow: clip;
}

html body:has(.ap-site) .ap-home.ap-home,
html body:has(.ap-site) .ap-home.ap-home :where(h1, h2, h3, h4, p, a, button, input, select, textarea, time, span) {
  font-family: "AP Vazir", Vazirmatn, "Yekan Bakh", "IRANSans", Tahoma, sans-serif !important;
}

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

.ap-home a:focus-visible,
.ap-home button:focus-visible,
.ap-home input:focus-visible {
  outline: 3px solid var(--ap-home-yellow);
  outline-offset: 3px;
}

.ap-home .ap-home-hero,
.ap-home .ap-home-discovery,
.ap-home .ap-home-block,
.ap-home .ap-home-service {
  width: min(calc(100% - 48px), 1360px);
  margin-inline: auto;
}

.ap-home .ap-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr) !important;
  gap: 0;
  min-height: 670px;
  margin-top: 24px;
  padding: 0;
  overflow: hidden;
  color: var(--ap-home-white);
  background: var(--ap-home-navy) !important;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 36px;
  box-shadow: 0 24px 70px rgb(14 28 60 / 18%);
}

.ap-home .ap-home-hero::before {
  content: "";
  position: absolute;
  inset-block: 34px;
  inset-inline-start: 34px;
  width: 1px;
  background: rgb(255 255 255 / 16%);
}

.ap-home .ap-home-hero .ap-hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: clamp(44px, 5vw, 76px) clamp(34px, 5vw, 72px) !important;
  flex-direction: column;
  justify-content: center;
  color: var(--ap-home-white);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ap-home .ap-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.ap-home .ap-hero-meta .ap-kicker {
  margin: 0;
  color: var(--ap-home-yellow) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.ap-home .ap-hero-meta time {
  color: #d9deea;
  font-size: 12px;
  white-space: nowrap;
}

.ap-home .ap-home-hero h1 {
  max-width: 680px;
  margin: clamp(28px, 4vw, 44px) 0 18px;
  color: var(--ap-home-white) !important;
  font-size: clamp(42px, 4.7vw, 72px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.ap-home .ap-home-hero h1 span {
  display: inline;
  padding: 0;
  color: var(--ap-home-yellow) !important;
  text-shadow: none;
}

.ap-home .ap-home-hero h1 span::after {
  display: none;
}

.ap-home .ap-home-hero .ap-hero-lede {
  max-width: 620px !important;
  margin: 0;
  color: #e2e6ef !important;
  font-size: clamp(15px, 1.2vw, 18px) !important;
  line-height: 2;
}

.ap-home .ap-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ap-home .ap-home-cta {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ap-home .ap-home-cta--primary {
  color: var(--ap-home-navy-deep);
  background: var(--ap-home-yellow);
}

.ap-home .ap-home-cta--primary:hover {
  color: var(--ap-home-navy-deep);
  background: #ffd044;
  transform: translateY(-2px);
}

.ap-home .ap-home-cta--secondary {
  color: var(--ap-home-white);
  border-color: rgb(255 255 255 / 42%);
  background: transparent;
}

.ap-home .ap-home-cta--secondary:hover {
  color: var(--ap-home-navy-deep);
  border-color: var(--ap-home-white);
  background: var(--ap-home-white);
}

.ap-home .ap-hero-assurance {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.ap-home .ap-hero-assurance li {
  position: relative;
  min-height: 42px;
  padding: 11px 22px 9px 0;
  color: #d9deea;
  font-size: 13px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.ap-home .ap-hero-assurance li::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--ap-home-yellow);
  border-radius: 50%;
}

.ap-home .ap-hero-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 634px;
  margin: 18px 0 18px 18px;
  padding: 0 !important;
  overflow: hidden;
  background: #edf0f3 !important;
  border: 0 !important;
  border-radius: 28px;
}

.ap-home .ap-hero-stage::before,
.ap-home .ap-hero-stage::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
}

.ap-home .ap-hero-stage::before {
  top: -74px;
  left: -46px;
  width: 390px;
  height: 390px;
  background: var(--ap-home-yellow);
}

.ap-home .ap-hero-stage::after {
  right: -110px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  background: #cfd5dc;
}

.ap-home .ap-hero-geometry {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(14 28 60 / 30%);
  border-radius: 50%;
}

.ap-home .ap-hero-geometry--outer {
  top: 48px;
  right: 34px;
  width: min(72%, 520px);
  aspect-ratio: 1;
}

.ap-home .ap-hero-geometry--inner {
  top: 116px;
  right: 102px;
  width: min(48%, 350px);
  aspect-ratio: 1;
  border-color: rgb(14 28 60 / 18%);
}

.ap-home .ap-hero-axis {
  position: absolute;
  z-index: -1;
  background: rgb(14 28 60 / 20%);
}

.ap-home .ap-hero-axis--horizontal {
  top: 50%;
  right: 24px;
  left: 24px;
  height: 1px;
}

.ap-home .ap-hero-axis--vertical {
  top: 24px;
  bottom: 24px;
  right: 50%;
  width: 1px;
}

.ap-home .ap-hero-furniture {
  position: absolute;
  z-index: 2;
  inset: 82px 16px 62px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ap-home .ap-hero-furniture img {
  display: block;
  width: min(100%, 720px);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 28px rgb(14 28 60 / 25%));
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.ap-home .ap-hero-furniture:hover img {
  transform: translateY(-6px) scale(1.015);
}

.ap-home .ap-hero-drawing-note {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  display: grid;
  gap: 2px;
  color: var(--ap-home-navy);
  font-size: 10px;
  letter-spacing: .08em;
}

.ap-home .ap-hero-drawing-note strong {
  font-size: 12px;
  letter-spacing: 0;
}

.ap-home .ap-hero-thumbnails {
  position: absolute;
  z-index: 5;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 8px;
}

.ap-home .ap-hero-thumb {
  display: block;
  width: 64px;
  height: 64px;
  padding: 4px;
  overflow: hidden;
  background: var(--ap-home-white);
  border: 1px solid rgb(14 28 60 / 18%);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgb(14 28 60 / 12%);
  transition: border-color .2s ease, transform .2s ease;
}

.ap-home .ap-hero-thumb:hover {
  border-color: var(--ap-home-yellow-dark);
  transform: translateY(-3px);
}

.ap-home .ap-hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.ap-home .ap-home-discovery {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(520px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(64px, 8vw, 108px);
  padding: clamp(30px, 4vw, 52px);
  background: var(--ap-home-white);
  border-top: 5px solid var(--ap-home-yellow);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgb(14 28 60 / 8%);
}

.ap-home .ap-kicker {
  margin: 0 0 10px;
  color: #986f00;
  font-size: 13px;
  font-weight: 900;
}

.ap-home .ap-discovery-copy h2,
.ap-home .ap-home-section-head h2,
.ap-home .ap-home-service h2 {
  margin: 0;
  color: var(--ap-home-navy);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.ap-home .ap-discovery-copy > p:not(.ap-kicker),
.ap-home .ap-home-section-head > p {
  margin: 14px 0 0;
  color: var(--ap-home-muted);
  line-height: 1.9;
}

.ap-home .ap-discovery-all,
.ap-home .ap-home-section-head > a {
  display: inline-flex;
  min-height: 44px;
  margin-top: 18px;
  align-items: center;
  gap: 8px;
  color: var(--ap-home-navy);
  font-weight: 900;
  text-decoration: none;
}

.ap-home .ap-discovery-all span,
.ap-home .ap-home-section-head > a span,
.ap-home .ap-category-card__link span {
  color: #8b6600;
  font-size: 20px;
  transition: transform .2s ease;
}

.ap-home .ap-discovery-all:hover span,
.ap-home .ap-home-section-head > a:hover span,
.ap-home .ap-category-card:hover .ap-category-card__link span {
  transform: translateX(-4px);
}

.ap-home .ap-discovery-search {
  padding: clamp(24px, 3vw, 38px);
  color: var(--ap-home-white);
  background: var(--ap-home-navy);
  border-radius: 18px;
}

.ap-home .ap-discovery-search label {
  display: block;
  margin-bottom: 14px;
  color: var(--ap-home-white);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 900;
}

.ap-home .ap-discovery-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ap-home .ap-discovery-search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ap-home-ink);
  background: var(--ap-home-white);
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
}

.ap-home .ap-discovery-search button {
  min-height: 52px;
  padding: 0 20px;
  color: var(--ap-home-navy-deep);
  background: var(--ap-home-yellow);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.ap-home .ap-discovery-search button:hover {
  background: #ffd044;
}

.ap-home .ap-discovery-search small {
  display: block;
  margin-top: 12px;
  color: #cbd2df;
  line-height: 1.7;
}

.ap-home .ap-home-block {
  margin-top: clamp(72px, 9vw, 120px);
}

.ap-home .ap-home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #cfd5df;
}

.ap-home .ap-home-section-head > a {
  justify-self: end;
  align-self: end;
  margin: 0;
}

.ap-home .ap-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ap-home .ap-category-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 36px 24px;
  text-align: center;
  color: var(--ap-home-muted);
  border: 1px dashed rgba(14, 28, 60, 0.25);
  border-radius: 18px;
  background: var(--ap-home-white);
}

.ap-home .ap-category-empty strong {
  color: var(--ap-home-navy);
  font-size: 1.15rem;
}

.ap-home .ap-category-empty a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: var(--ap-home-navy-deep);
  border-radius: 12px;
  background: var(--ap-home-yellow);
}

.ap-home .ap-category-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  color: var(--ap-home-ink);
  background: var(--ap-home-white);
  border: 1px solid #d8dde5;
  border-radius: 18px;
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.ap-home .ap-category-card:hover {
  color: var(--ap-home-ink);
  border-color: #bdc5d2;
  box-shadow: 0 18px 42px rgb(14 28 60 / 10%);
  transform: translateY(-5px);
}

.ap-home .ap-category-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ap-home-gray);
}

.ap-home .ap-category-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.ap-home .ap-category-card:hover .ap-category-card__image img {
  transform: scale(1.035);
}

.ap-home .ap-category-card__body {
  display: flex;
  min-height: 156px;
  padding: 20px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.ap-home .ap-category-card__body > strong {
  color: var(--ap-home-navy);
  font-size: 19px;
  font-weight: 900;
}

.ap-home .ap-category-card__body > span:not(.ap-category-card__link) {
  margin-top: 6px;
  color: var(--ap-home-muted);
  font-size: 13px;
}

.ap-home .ap-category-card__link {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding-top: 14px;
  align-items: center;
  gap: 7px;
  color: var(--ap-home-navy);
  font-size: 14px;
  font-weight: 900;
}

.ap-home .ap-product-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  padding-bottom: 0;
}

.ap-home .ap-product-slider {
  position: relative;
  width: 100%;
  padding-inline: 12px;
}

.ap-home .ap-slider-viewport {
  overflow: hidden;
}

.ap-home .ap-product-slider .ap-product-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px !important;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.ap-home .ap-product-slider .ap-product-grid::-webkit-scrollbar,
.ap-home .xtra-blog-track::-webkit-scrollbar,
.single-product .ap-related-slider ul.products::-webkit-scrollbar {
  display: none;
}

.ap-home .ap-product-slider .ap-product {
  flex: 0 0 calc((100% - 54px) / 4) !important;
  min-width: 0;
  scroll-snap-align: start;
}

.ap-slider-button {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  color: var(--ap-home-navy, #0e1c3c);
  background: #fff;
  border: 1px solid rgb(14 28 60 / 12%);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgb(14 28 60 / 16%);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.ap-slider-button--prev { right: -10px; }
.ap-slider-button--next { left: -10px; }
.ap-slider-button:disabled { opacity: .35; cursor: default; }

.ap-home .ap-home-journal {
  width: min(calc(100% - 48px), 1360px);
  margin: clamp(56px, 7vw, 96px) auto 0;
}

.ap-home .ap-home-journal .xtra-blog-slider {
  width: 100%;
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  background: #eef1f5;
  border-radius: 30px;
}

.ap-home .ap-home-journal .xtra-blog-track {
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.ap-home .ap-home-journal .xtra-blog-card {
  scroll-snap-align: start;
}

.ap-home .ap-home-journal .xtra-blog-card-body {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.ap-home .ap-home-journal .xtra-blog-read {
  margin-top: auto;
  align-self: flex-start;
  color: var(--ap-home-navy);
  font-weight: 900;
  text-decoration: none;
}

.single-product .ap-related-slider {
  position: relative;
  overflow: visible;
}

.single-product .ap-related-slider ul.products {
  display: flex !important;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 2px 20px !important;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.single-product .ap-related-slider ul.products > li.product {
  width: auto !important;
  margin: 0 !important;
  flex: 0 0 calc((100% - 54px) / 4) !important;
  scroll-snap-align: start;
}

.single-product .xtra-related-products .ap-product-slider {
  position: relative;
  width: 100%;
  padding-inline: 12px;
}

.single-product .xtra-related-products .ap-slider-viewport {
  overflow: hidden;
}

.single-product .xtra-related-products .ap-product-grid {
  display: flex !important;
  gap: 18px !important;
  overflow-x: auto;
  padding: 8px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.single-product .xtra-related-products .ap-product-grid::-webkit-scrollbar {
  display: none;
}

.single-product .xtra-related-products .ap-product {
  flex: 0 0 calc((100% - 54px) / 4) !important;
  min-width: 0;
  scroll-snap-align: start;
}

.ap-home .ap-product {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: visible;
  flex-direction: column;
  border-color: #d8dde5;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgb(14 28 60 / 7%);
}

.ap-home .ap-product-media {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden;
  background: #eef0f3;
  border-radius: 17px 17px 0 0;
}

.ap-home .ap-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-home .ap-product-actions {
  top: 12px !important;
  right: auto !important;
  left: 12px !important;
  z-index: 5;
}

.ap-home .ap-product-actions button {
  min-width: 44px;
  min-height: 44px;
}

.ap-home .ap-product .ap-sale-badge,
.ap-home .ap-product .onsale {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  z-index: 4;
  max-width: calc(100% - 84px);
  min-height: 32px;
  white-space: normal;
}

.ap-home .ap-product-body {
  display: flex;
  min-height: 250px;
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.ap-home .ap-product-body h3,
.ap-home .ap-product-body h3 a {
  display: block !important;
  min-height: 3.2em;
  max-height: none !important;
  overflow: visible !important;
  color: var(--ap-home-navy);
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

/* Override the shared visual refresh clamps, which use !important. */
body:has(.ap-site) .ap-home .ap-product-body h3,
body:has(.ap-site) .ap-home .ap-product-body h3 a {
  display: block !important;
  min-height: 3.2em !important;
  max-height: none !important;
  overflow: visible !important;
  color: var(--ap-home-navy) !important;
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

.ap-home .ap-product-body > p {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
}

.ap-home .ap-product-buy {
  margin-top: auto;
  padding-top: 16px;
}

.ap-home .ap-product-buy .ap-add {
  min-height: 44px;
}

body:has(.ap-site) .ap-home .ap-product-buy .ap-add {
  min-height: 44px !important;
}

.ap-home .ap-home-service {
  display: grid;
  grid-template-columns: .35fr 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(76px, 9vw, 128px) !important;
  margin-bottom: clamp(64px, 8vw, 100px);
  padding: clamp(30px, 4vw, 54px) !important;
  color: var(--ap-home-white);
  background: var(--ap-home-navy) !important;
  border: 0 !important;
  border-radius: 24px !important;
}

.ap-home .ap-home-service .ap-kicker {
  margin: 0;
  color: var(--ap-home-yellow);
}

.ap-home .ap-home-service h2 {
  color: var(--ap-home-white);
  font-size: clamp(26px, 2.7vw, 40px);
}

.ap-home .ap-home-service p {
  margin: 10px 0 0;
  color: #d4dae6;
  line-height: 1.9;
}

.ap-home .ap-home-cta--service {
  color: var(--ap-home-navy-deep);
  background: var(--ap-home-yellow);
  white-space: nowrap;
}

.ap-home .ap-home-cta--service:hover {
  color: var(--ap-home-navy-deep);
  background: #ffd044;
}

.ap-reveal-ready .ap-home [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .62s cubic-bezier(.22, 1, .36, 1), transform .62s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--ap-reveal-delay, 0ms);
}

.ap-reveal-ready .ap-home [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .ap-home .ap-home-hero {
    grid-template-columns: 1fr !important;
  }

  .ap-home .ap-hero-stage {
    min-height: 560px;
    margin: 0 18px 18px;
  }

  .ap-home .ap-home-discovery {
    grid-template-columns: 1fr;
  }

  .ap-home .ap-category-grid,
  .ap-home .ap-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ap-home .ap-product-slider .ap-product,
  .single-product .xtra-related-products .ap-product,
  .single-product .ap-related-slider ul.products > li.product {
    flex-basis: calc((100% - 18px) / 2) !important;
  }

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

  .ap-home .ap-home-cta--service {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .ap-home .ap-home-hero,
  .ap-home .ap-home-discovery,
  .ap-home .ap-home-block,
  .ap-home .ap-home-service {
    width: min(calc(100% - 28px), 1360px);
  }

  .ap-home .ap-home-hero {
    display: grid;
    grid-template-columns: 1fr !important;
    min-height: 0;
    margin-top: 14px;
    border-radius: 22px;
  }

  .ap-home .ap-home-hero::before {
    display: none;
  }

  .ap-home .ap-home-hero .ap-hero-copy {
    padding: 28px 20px 30px !important;
  }

  .ap-home .ap-hero-meta {
    display: grid;
    gap: 7px;
    padding-bottom: 14px;
  }

  .ap-home .ap-hero-meta time {
    white-space: normal;
  }

  .ap-home .ap-home-hero h1 {
    margin: 24px 0 12px;
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.3;
  }

  .ap-home .ap-home-hero .ap-hero-lede {
    font-size: 14px !important;
    line-height: 1.85;
  }

  .ap-home .ap-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .ap-home .ap-home-cta {
    width: 100%;
    min-height: 48px;
  }

  .ap-home .ap-hero-assurance {
    margin-top: 24px;
  }

  .ap-home .ap-hero-stage {
    display: block;
    min-height: 390px;
    margin: 0 10px 10px;
    padding: 0 !important;
    border-radius: 17px;
  }

  .ap-home .ap-hero-stage::before {
    top: -70px;
    left: -110px;
    width: 300px;
    height: 300px;
  }

  .ap-home .ap-hero-stage::after {
    right: -150px;
    bottom: -180px;
    width: 390px;
    height: 390px;
  }

  .ap-home .ap-hero-geometry--outer {
    top: 54px;
    right: 18px;
    width: 82%;
  }

  .ap-home .ap-hero-geometry--inner {
    top: 104px;
    right: 68px;
    width: 55%;
  }

  .ap-home .ap-hero-furniture {
    inset: 62px 4px 60px;
  }

  .ap-home .ap-hero-drawing-note {
    top: 16px;
    right: 16px;
  }

  .ap-home .ap-hero-thumbnails {
    bottom: 12px;
    left: 12px;
    grid-template-columns: repeat(3, 54px);
  }

  .ap-home .ap-hero-thumb {
    width: 54px;
    height: 54px;
  }

  .ap-home .ap-home-discovery {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .ap-home .ap-discovery-copy h2,
  .ap-home .ap-home-section-head h2,
  .ap-home .ap-home-service h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .ap-home .ap-discovery-search {
    padding: 22px 16px;
  }

  .ap-home .ap-discovery-search > div {
    grid-template-columns: 1fr;
  }

  .ap-home .ap-discovery-search button {
    width: 100%;
  }

  .ap-home .ap-home-block {
    margin-top: 64px;
  }

  .ap-home .ap-home-section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }

  .ap-home .ap-home-section-head > a {
    justify-self: start;
  }

  .ap-home .ap-category-grid,
  .ap-home .ap-product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ap-home .ap-home-journal {
    width: calc(100% - 24px);
    margin-top: 42px;
  }

  .ap-home .ap-home-journal .xtra-blog-slider {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .ap-home .ap-product-slider .ap-product,
  .single-product .ap-related-slider ul.products > li.product {
    flex-basis: 88% !important;
  }

  .single-product .xtra-related-products .ap-product {
    flex-basis: 100% !important;
  }

  .ap-slider-button {
    width: 44px;
    height: 44px;
  }

  .ap-slider-button--prev { right: -4px; }
  .ap-slider-button--next { left: -4px; }

  .ap-home .ap-category-card__body {
    min-height: 144px;
  }

  .ap-home .ap-product-body {
    min-height: 0;
  }

  .ap-home .ap-home-service {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 70px !important;
    padding: 28px 20px !important;
  }

  .ap-home .ap-home-cta--service {
    justify-self: stretch;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-home *,
  .ap-home *::before,
  .ap-home *::after,
  .ap-reveal-ready .ap-home [data-reveal],
  .ap-reveal-ready .ap-home [data-reveal].is-visible {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .ap-reveal-ready .ap-home [data-reveal],
  .ap-reveal-ready .ap-home [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .ap-home .ap-hero-furniture:hover img,
  .ap-home .ap-hero-thumb:hover,
  .ap-home .ap-category-card:hover,
  .ap-home .ap-category-card:hover .ap-category-card__image img,
  .ap-home .ap-home-cta--primary:hover,
  .ap-home .ap-product:hover,
  .ap-home .ap-product:hover img,
  .ap-home .ap-discovery-all:hover span,
  .ap-home .ap-home-section-head > a:hover span,
  .ap-home .ap-category-card:hover .ap-category-card__link span {
    transform: none !important;
  }

  .ap-home .ap-product,
  .ap-home .ap-product:hover,
  .ap-home .ap-product-media img,
  .ap-home .ap-product:hover img,
  .ap-home .ap-discovery-all span,
  .ap-home .ap-discovery-all:hover span,
  .ap-home .ap-home-section-head > a span,
  .ap-home .ap-home-section-head > a:hover span,
  .ap-home .ap-category-card__link span,
  .ap-home .ap-category-card:hover .ap-category-card__link span {
    transition: none !important;
  }
}
