:root {
  --mint: #81d8d0;
  --mint-deep: #5ec4bb;
  --teal: #0b7380;
  --ink: #1c2b2b;
  --muted: #667676;
  --line: #e4eeee;
  --paper: #f3f6f6;
  --card: #fff;
  --shadow: 0 16px 40px rgba(16, 48, 48, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito", "Noto Sans", sans-serif;
}

body.ap-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

button,
input {
  font-family: inherit;
}

#ap-header a,
#ap-footer a {
  background: none !important;
  border-bottom: 0 !important;
  text-decoration: none;
}

.ap-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ap-main {
  padding: 28px 0 72px;
}

.ap-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  text-align: center;
  margin: 0 0 8px;
}

.ap-lead {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.ap-section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 3vw, 44px);
  text-align: center;
  margin: 46px 0 22px;
  line-height: 1.1;
}

.ap-section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: var(--mint);
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  background: var(--mint);
  color: #143233;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ap-btn:hover {
  background: var(--mint-deep);
}

.ap-btn:active {
  transform: translateY(1px);
}

.ap-btn--small {
  padding: 9px 14px;
  font-size: 14px;
  flex: 1;
}

.ap-btn--ghost {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--mint);
}

.ap-btn--ghost:hover {
  background: var(--mint);
}

.ap-btn--block {
  width: 100%;
}

.ap-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: #7d8e8e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.ap-icon-btn:hover,
.ap-icon-btn.is-active {
  color: var(--teal);
  border-color: var(--mint);
  background: #e7f7f6;
}

.ap-icon-btn--lg {
  width: 48px;
  height: 48px;
}

.ap-heart {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.ap-icon-btn.is-active .ap-heart {
  fill: currentColor;
}

.ap-icon-btn--lg .ap-heart {
  width: 24px;
  height: 24px;
}

.ap-topbar {
  background: var(--mint);
  color: #143233;
}

.ap-topbar__inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ap-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  min-width: min(440px, 100%);
  box-shadow: 0 1px 0 rgba(20, 50, 50, 0.04);
}

.ap-search input {
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  padding: 8px 4px;
  color: var(--ink);
}

.ap-search input:focus {
  outline: none;
}

.ap-search button {
  border: 0;
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  cursor: pointer;
}

.ap-search button:hover {
  background: #095f6a;
}

.ap-top-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
}

.ap-top-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #143233;
}

.ap-top-links a:hover {
  color: #095f6a;
}

.ap-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  background: #143233;
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ap-brand {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 18px 0 6px;
}

.ap-logo {
  justify-self: center;
  line-height: 0;
}

.ap-logo img {
  height: 64px;
  width: auto;
}

.ap-burger,
.ap-cart-mini {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
}

.ap-burger {
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.ap-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.ap-cart-mini .ap-badge {
  position: absolute;
  top: -4px;
  right: -4px;
}

.ap-nav__bar {
  position: relative;
}

.ap-nav__bar > ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ap-drop__toggle,
.ap-nav__link {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 16px;
  cursor: pointer;
}

.ap-drop__toggle:hover,
.ap-nav__link:hover,
.ap-drop:hover > .ap-drop__toggle,
.ap-drop:focus-within > .ap-drop__toggle {
  color: var(--teal);
}

.ap-drop__panel {
  display: none;
  background: #fff;
  padding: 26px 28px 30px;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
  z-index: 40;
}

.ap-menu-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 0.95fr;
  gap: 28px;
}

.ap-menu-grid h3,
.ap-drop__panel h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mint);
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ap-menu-grid a,
.ap-authors a {
  display: block;
  padding: 5px 0;
  color: var(--ink);
  font-size: 15px;
}

.ap-menu-grid a:hover,
.ap-authors a:hover {
  color: var(--teal);
}

.ap-menu-note {
  margin: 0;
  padding: 4px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.ap-menu-search {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ap-menu-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.ap-menu-search input:focus {
  outline: 2px solid var(--mint);
  border-color: transparent;
}

.ap-authors {
  columns: 3;
  column-gap: 28px;
}

.ap-authors a {
  break-inside: avoid;
}

.hero-slider {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #dfeaea;
}

.hero-slider .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 608;
  object-fit: cover;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
  font-size: 16px;
  font-weight: 700;
}

.swiper-pagination .swiper-pagination-bullet {
  background: transparent;
  border: 1px solid #fff;
  opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background: var(--mint);
  border-color: var(--mint);
}

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

.ap-cat {
  color: inherit;
  text-decoration: none;
}

.ap-cat__img {
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.ap-cat__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ap-cat:hover img {
  transform: scale(1.05);
}

.ap-cat p {
  margin: 10px 0 0;
  text-align: center;
  font-weight: 800;
}

.ap-banner {
  margin: 36px 0 8px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.ap-banner img {
  display: block;
  width: 100%;
  height: auto;
}

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

.ap-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ap-card:hover {
  box-shadow: var(--shadow);
}

.ap-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.02;
  background: linear-gradient(180deg, #f8fbfb 0%, #eef5f5 100%);
  overflow: hidden;
}

.ap-card__photos {
  position: absolute;
  inset: 0;
}

.ap-card__media > img,
.ap-card__photos img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
}

.ap-card__photos img {
  opacity: 0;
  pointer-events: none;
}

.ap-card__photos img.is-active {
  opacity: 1;
}

.ap-card__zones {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
}

.ap-card__zones span {
  flex: 1 1 0;
  height: 100%;
}

.ap-card__dots {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  z-index: 3;
  display: flex;
  gap: 3px;
  pointer-events: none;
}

.ap-card__dots i {
  flex: 1 1 0;
  height: 3px;
  border-radius: 99px;
  background: rgba(20, 40, 40, 0.22);
}

.ap-card__dots i.is-active {
  background: var(--teal);
}

.ap-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 16px;
  flex: 1;
}

.ap-card__title {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-card__title:hover {
  color: var(--teal);
}

.ap-card__sku {
  color: var(--muted);
  font-size: 13px;
}

.ap-card__price {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
  font-size: 18px;
}

.ap-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.ap-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.ap-crumbs a {
  color: var(--teal);
}

.ap-crumbs a:hover {
  text-decoration: underline;
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 36px;
  align-items: start;
}

.pdp__gallery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.pdp__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 640px;
  overflow: auto;
  padding-right: 2px;
}

.pdp__thumb {
  width: 74px;
  height: 74px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  box-sizing: border-box;
}

a.pdp__thumb {
  display: block;
  text-decoration: none;
}

.pdp__thumb img,
.pdp__play {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp__play {
  color: var(--teal);
  font-size: 18px;
}

.pdp__thumb.is-active {
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal);
}

.pdp__stage {
  flex: 1;
  min-width: 0;
  min-height: 460px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 40%, #fff 0%, #f4f8f8 55%, #e7f0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.pdp__stage img {
  max-width: 100%;
  max-height: 620px;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.pdp__video {
  width: 100%;
}

.pdp__video iframe {
  width: 100% !important;
  height: 420px !important;
  border: 0;
  border-radius: 12px;
}

.pdp__kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdp__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 600;
  line-height: 0.98;
}

.pdp__sku {
  margin-top: 10px;
  color: var(--muted);
}

.pdp__lead {
  margin: 14px 0 0;
  color: #3d4d4d;
  font-size: 17px;
}

.pdp__price {
  margin: 18px 0 0;
  font-size: 34px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
}

.pdp__price.is-request {
  font-size: 26px;
}

.pdp__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.ap-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d5e3e3;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.ap-qty button {
  width: 38px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  color: var(--ink);
}

.ap-qty button:hover {
  background: #f3fafa;
}

.ap-qty input,
.ap-qty span {
  width: 36px;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 800;
}

.ap-qty input {
  -moz-appearance: textfield;
  appearance: textfield;
}

.ap-qty input::-webkit-outer-spin-button,
.ap-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp__meta {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  color: #3e4e4e;
}

.pdp__meta li + li {
  margin-top: 4px;
}

.pdp__delivery {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 800;
}

.pdp__delivery:hover {
  text-decoration: underline;
}

.ap-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.ap-specs div {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
}

.ap-specs dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ap-specs dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.ap-richtext {
  margin-top: 34px;
  background: #fff;
  border-radius: 22px;
  padding: 28px 32px;
  color: #3a4747;
  line-height: 1.7;
}

.ap-richtext p {
  margin: 0 0 12px;
}

.ap-richtext h2,
.ap-richtext h3 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 1.1em 0 0.4em;
}

.ap-richtext img,
.ap-bottom-shot img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.pdp-photos {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pdp-photos__item {
  margin: 0;
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  text-align: center;
}

.pdp-photos__item img {
  max-width: min(920px, 100%);
  height: auto;
  border-radius: 12px;
}

.pdp-video {
  margin-top: 28px;
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  scroll-margin-top: 20px;
}

.pdp-video iframe {
  display: block;
  width: 100% !important;
  height: min(560px, 56vw) !important;
  min-height: 240px;
  border: 0;
  border-radius: 12px;
}

.ap-bottom-shot {
  margin-top: 22px;
  text-align: center;
}

.ap-empty {
  background: #fff;
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
  padding: 42px 18px;
}

.ap-empty a {
  color: var(--teal);
  font-weight: 800;
}

.ap-search--lg {
  width: min(680px, 100%);
  margin: 18px auto 28px;
}

.ap-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}

.ap-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.ap-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.ap-table th {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
  background: #f6fbfb;
  padding: 12px 14px;
}

.ap-table td {
  padding: 14px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.ap-table a {
  color: var(--ink);
  font-weight: 800;
}

.ap-table a:hover {
  color: var(--teal);
}

.ap-cart-photo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #f6fbfb;
  border-radius: 12px;
}

.ap-summary {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  position: sticky;
  top: 16px;
}

.ap-summary p {
  margin: 0 0 8px;
}

.ap-summary__sum {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.ap-summary .ap-field input {
  width: 100%;
  box-sizing: border-box;
}

.ap-summary .ap-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.ap-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.ap-remove:hover {
  color: #a33b32;
}

.ap-auth {
  width: min(440px, 100%);
  margin: 10px auto;
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.ap-auth h1,
.ap-hello h1 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
}

.ap-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.ap-field span {
  font-weight: 800;
  font-size: 14px;
}

.ap-field input {
  border: 1px solid #d5e4e4;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.ap-field input:focus {
  outline: 2px solid var(--mint);
  border-color: transparent;
}

.ap-hello,
.ap-order {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 14px;
}

.ap-hello {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.ap-hello p {
  margin: 4px 0 0;
  color: var(--muted);
}

.ap-order__head {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  font: inherit;
}

.ap-order__body {
  padding: 0 12px 12px;
}

.ap-status {
  display: inline-flex;
  background: #d9f4f1;
  color: var(--teal);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 800;
  font-size: 14px;
}

.ap-arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}

.ap-arrow.is-open {
  transform: rotate(180deg);
}

#ap-footer {
  background: #fff;
  border-top: 8px solid var(--mint);
  padding: 42px 0 36px;
}

.ap-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 28px;
}

#ap-footer h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 12px;
}

#ap-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#ap-footer li + li {
  margin-top: 6px;
}

#ap-footer a {
  color: #244040;
}

#ap-footer a:hover {
  color: var(--teal);
}

#ap-footer p {
  margin: 0 0 6px;
}

#ap-footer .ap-copy {
  margin: 88px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  color: #607070;
}

#notification-container {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notification.success {
  background: var(--teal);
  border-left: 4px solid var(--mint);
}

.notification.info {
  background: #245e86;
  border-left: 4px solid #9fd4ee;
}

@media (min-width: 981px) {
  .ap-burger,
  .ap-cart-mini {
    visibility: hidden;
  }

  .ap-drop--wide {
    position: static;
  }

  .ap-drop--wide > .ap-drop__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
  }

  .ap-drop--authors {
    position: relative;
  }

  .ap-drop--authors > .ap-drop__panel {
    position: absolute;
    top: 100%;
    left: 50%;
    width: min(760px, 72vw);
    transform: translateX(-50%);
  }

  .ap-drop:hover > .ap-drop__panel,
  .ap-drop:focus-within > .ap-drop__panel {
    display: block;
  }
}

@media (max-width: 1100px) {
  .ap-grid,
  .ap-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ap-nav {
    display: none;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  #ap-header.is-open .ap-nav {
    display: block;
  }

  .ap-nav__bar > ul {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
  }

  .ap-drop__panel {
    position: static;
    display: none;
    box-shadow: none;
    padding: 0 8px 16px 16px;
    border-radius: 0;
  }

  .ap-drop.is-open > .ap-drop__panel {
    display: block;
  }

  .ap-menu-grid,
  .ap-authors {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .ap-footer__grid,
  .pdp,
  .ap-cart {
    grid-template-columns: 1fr;
  }

  .ap-summary {
    position: static;
  }

  .pdp__gallery {
    flex-direction: column-reverse;
  }

  .pdp__thumbs {
    flex-direction: row;
    max-height: none;
    width: 100%;
  }

  .pdp__stage {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .ap-topbar__inner {
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .ap-search {
    order: 3;
    width: 100%;
  }

  .ap-top-links {
    margin-left: auto;
    gap: 12px;
  }

  .ap-link-text {
    display: none;
  }

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

  .ap-hello {
    flex-direction: column;
    align-items: flex-start;
  }

  .ap-richtext {
    padding: 18px;
  }

  .ap-logo img {
    height: 48px;
  }
}

@media (max-width: 520px) {
  .ap-cats {
    grid-template-columns: 1fr 1fr;
  }
}
