/* The native catalogue and checkout use the same editorial visual system. */

.ap-editorial-store .ap-shop-page,
.ap-editorial-store .ap-divi-builder-page {
  background: var(--ap-paper);
}

.ap-editorial-store .ap-shop-page .ap-container {
  max-width: 1300px;
  width: min(91%, 1300px);
}

.ap-editorial-store .ap-shop-hero {
  background: var(--ap-blue-soft);
  color: var(--ap-ink);
  min-height: 0;
  overflow: visible;
}

.ap-editorial-store .ap-shop-hero-grid {
  display: grid;
  gap: clamp(30px, 5vw, 76px);
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  min-height: 0;
  padding-block: clamp(42px, 6vw, 88px);
}

.ap-editorial-store .ap-shop-hero-copy {
  margin: 0;
  max-width: none;
  text-align: left;
}

.ap-editorial-store .ap-shop-hero-copy .ap-kicker {
  color: var(--ap-teal-dark);
  font-size: .8rem;
  font-weight: 730;
}

.ap-editorial-store .ap-shop-hero-copy h1 {
  color: var(--ap-ink);
  font-size: clamp(41px, 5.25vw, 78px);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: 1;
  margin: 16px 0 20px;
  text-wrap: balance;
}

.ap-editorial-store .ap-shop-hero-copy > p {
  color: var(--ap-ink-2);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.63;
  margin-inline: 0;
  max-width: 48ch;
}

.ap-editorial-store .ap-shop-hero-actions {
  align-items: center;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 25px;
}

.ap-editorial-store .ap-shop-hero-actions .ap-button,
.ap-editorial-store .ap-editorial-shop-story .ap-button {
  border-radius: 7px !important;
  min-height: 48px;
  padding: 11px 19px;
  width: auto;
}

.ap-editorial-store .ap-shop-hero-actions .ap-button:not(.ap-button-outline) {
  background: var(--ap-teal-dark);
  border-color: var(--ap-teal-dark);
  color: var(--ap-panel);
}

.ap-editorial-store .ap-shop-hero-actions .ap-button:not(.ap-button-outline):hover {
  background: var(--ap-ink);
  border-color: var(--ap-ink);
}

.ap-editorial-shop-photo {
  aspect-ratio: 1.28;
  background: var(--ap-paper);
  border-radius: 16px;
  display: block;
  overflow: hidden;
}

.ap-editorial-shop-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  width: 100%;
}

.ap-editorial-store .ap-shop-inner-hero {
  background: var(--ap-blue-soft);
  border-bottom: 1px solid var(--ap-line);
  padding-block: clamp(25px, 3.5vw, 45px);
}

.ap-editorial-store .ap-shop-inner-hero .ap-eyebrow { color: var(--ap-teal-dark); }
.ap-editorial-store .ap-shop-inner-hero p { color: var(--ap-ink-2); }

.ap-editorial-store .ap-shop-content-section {
  padding-block: clamp(48px, 6vw, 92px);
}

.ap-editorial-store .ap-shop-section-head {
  align-items: end;
  gap: 22px;
  margin-bottom: 28px;
}

.ap-editorial-store :is(.ap-shop-section-head, .ap-shop-products-heading, .ap-editorial-shop-story) h2 {
  color: var(--ap-ink);
  font-size: clamp(31px, 4vw, 56px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.05;
  text-wrap: balance;
}

.ap-editorial-store .ap-shop-category-grid {
  gap: clamp(12px, 1.5vw, 21px);
}

.ap-editorial-store .ap-shop-category-card {
  border: 1px solid var(--ap-line);
  border-radius: 12px;
  box-shadow: none;
  min-height: 248px;
  padding: clamp(16px, 2.3vw, 28px);
}

.ap-editorial-store .ap-shop-category-card::before { display: none; }

.ap-editorial-store .ap-shop-category-card:is(:hover, :focus-visible) {
  border-color: var(--ap-teal-dark);
  box-shadow: var(--ap-shadow-soft);
  transform: none;
}

.ap-editorial-store .ap-shop-category-card small { display: none; }
.ap-editorial-store .ap-shop-category-card h3 { margin: 17px 0 8px; }
.ap-editorial-store .ap-shop-category-card p { color: var(--ap-muted); font-size: .94rem; }
.ap-editorial-store .ap-shop-category-card b { color: var(--ap-teal-dark); padding-top: 15px; }
.ap-editorial-store .ap-shop-category-card b span { display: none; }
.ap-editorial-store .ap-shop-category-icon { border-radius: 9px; }

.ap-editorial-shop-story {
  align-items: center;
  background: var(--ap-blue-soft);
  border: 1px solid var(--ap-line);
  border-radius: 16px;
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  margin-block: clamp(44px, 7vw, 88px);
  padding: clamp(19px, 4.5vw, 64px);
}

.ap-editorial-shop-device { margin: 0; text-align: center; }

.ap-editorial-shop-device img {
  display: block;
  height: auto;
  margin-inline: auto;
  max-width: 580px;
  width: 100%;
}

.ap-editorial-shop-device figcaption {
  color: var(--ap-muted);
  font-size: .9rem;
  line-height: 1.4;
  margin-top: .55rem;
}

.ap-editorial-shop-story-copy p {
  color: var(--ap-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-block: 15px 18px;
  max-width: 48ch;
}

.ap-editorial-shop-setup-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0 0 23px;
  padding: 0;
}

.ap-editorial-shop-setup-links a {
  color: var(--ap-teal-dark);
  display: inline-block;
  font-weight: 680;
  padding-block: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ap-editorial-store .ap-shop-service-strip {
  border-radius: 12px;
  margin-block: clamp(28px, 4vw, 52px) clamp(45px, 6vw, 82px);
}

.ap-editorial-store .ap-shop-service-strip small { font-size: .83rem; }

.ap-editorial-store .woocommerce ul.products {
  gap: clamp(11px, 1.6vw, 24px);
}

.ap-editorial-store .woocommerce ul.products li.product {
  border-radius: 12px;
  box-shadow: none;
  padding: clamp(9px, 1.3vw, 17px);
}

.ap-editorial-store .woocommerce ul.products li.product:hover {
  border-color: var(--ap-teal-dark);
  box-shadow: var(--ap-shadow-soft);
  transform: none;
}

.ap-editorial-store .woocommerce ul.products li.product a img {
  background: var(--ap-paper);
  border-radius: 8px;
}

.ap-editorial-store .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(1rem, 1.45vw, 1.24rem);
}

.ap-editorial-store .woocommerce :is(.woocommerce-products-header__title, .page-title),
.ap-editorial-store .woocommerce div.product .product_title {
  color: var(--ap-ink);
  font-size: clamp(37px, 5vw, 68px);
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: 1.03;
  overflow-wrap: break-word;
}

.ap-editorial-store .woocommerce div.product {
  border-radius: 14px;
  box-shadow: none;
  padding: clamp(17px, 3.4vw, 44px);
}

.ap-editorial-store .woocommerce div.product div.images img {
  background: var(--ap-paper);
  border-radius: 9px;
}

.ap-editorial-store .woocommerce :is(a.button, button.button, input.button, #respond input#submit),
.ap-editorial-store .wc-block-components-button:not(.is-link) {
  background: var(--ap-teal-dark) !important;
  border-color: var(--ap-teal-dark) !important;
  border-radius: 7px !important;
  color: var(--ap-panel) !important;
}

.ap-editorial-store .woocommerce :is(a.button, button.button, input.button, #respond input#submit):hover,
.ap-editorial-store .wc-block-components-button:not(.is-link):hover {
  background: var(--ap-ink) !important;
  border-color: var(--ap-ink) !important;
}

.ap-editorial-store .ap-divi-builder-page {
  padding-block: clamp(37px, 6vw, 82px);
}

.ap-editorial-store .ap-divi-builder-page :is(.woocommerce, .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) {
  border-radius: 14px;
  box-shadow: none;
  padding: clamp(14px, 3vw, 40px);
}

.ap-editorial-store .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  border-radius: 8px;
  box-shadow: none;
}

.ap-editorial-store :is(.ap-shop-page, .ap-divi-builder-page) :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--ap-teal-dark);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .ap-editorial-store .ap-shop-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ap-editorial-store .ap-shop-hero-copy h1 {
    font-size: clamp(38px, 6.1vw, 62px);
  }
}

@media (max-width: 720px) {
  .ap-editorial-store .ap-shop-hero-grid,
  .ap-editorial-shop-story {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap-editorial-shop-photo { aspect-ratio: 1.55; }
  .ap-editorial-shop-story-copy { grid-row: 1; }
  .ap-editorial-store .ap-shop-section-head { align-items: flex-start; }
  .ap-editorial-store .ap-shop-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-editorial-store .ap-shop-category-card { min-height: 193px; }
}

@media (max-width: 410px) {
  .ap-editorial-store .ap-shop-hero-copy h1 { font-size: 38px; }
  .ap-editorial-store .ap-shop-category-card h3 { font-size: 20px; }
}

@media (max-width: 370px) {
  .ap-editorial-store .ap-shop-category-grid { grid-template-columns: minmax(0, 1fr); }
}