:root {
  --pez-navy: #071592;
  --pez-blue: #16a3d7;
  --pez-sky: #eaf5fb;
  --pez-ink: #111111;
  --pez-line: #dde2e7;
  --pez-radius: 24px;
}

body {
  overflow-x: clip;
}

.pez-shell {
  width: min(100% - 64px, 1328px);
  margin-inline: auto;
}

.pez-shell--wide {
  width: min(100% - 40px, 1400px);
}

.pez-heading {
  margin: 0;
  color: var(--pez-ink);
  font-family: var(--font-heading--family, Arial, sans-serif);
  font-size: clamp(2.2rem, 3vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.pez-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  border: 2px solid var(--pez-navy);
  border-radius: 15px;
  background: var(--pez-navy);
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.pez-button:hover {
  transform: translateY(-1px);
}

.pez-button--outline {
  background: #ffffff;
  color: var(--pez-navy);
}

.pez-text-link {
  color: var(--pez-navy);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}

/* Horizon header shell: retain native menu, search, account, and cart behavior. */
#header-group .shopify-section:first-child,
#header-group .header-announcements {
  --color-background: var(--pez-navy);
  --color-foreground: #ffffff;
}

#header-group .header-announcements,
#header-group .announcement-bar {
  background: var(--pez-navy) !important;
  color: #ffffff !important;
}

#header-group .announcement-bar__text,
#header-group .announcement-bar__link {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.015em;
}

#header-group .header-section,
#header-group header-component,
#header-group .header {
  --color-background: var(--pez-blue);
  --color-foreground: #ffffff;
  background: var(--pez-blue) !important;
  color: #ffffff !important;
}

#header-group .header__row,
#header-group .header__columns,
#header-group .header__column,
#header-group .header__menu,
#header-group .header-actions {
  color: #ffffff;
}

#header-group a,
#header-group button,
#header-group summary,
#header-group .menu-list__link,
#header-group .header-actions__action {
  color: #ffffff;
}

#header-group svg,
#header-group svg path {
  color: currentColor;
  stroke: currentColor;
}

#header-group .menu-list__link {
  font-size: 1.8rem;
  font-weight: 600;
}

#header-group .header-logo__image {
  object-fit: contain;
}

/* Keep Horizon's white mobile drawer readable inside the blue header shell. */
#header-group .header__drawer .menu-drawer {
  --color-background: #ffffff;
  --color-foreground: var(--pez-ink);
  --color-foreground-rgb: 17, 17, 17;
  --color-foreground-subdued: #555555;
  background: #ffffff !important;
  color: var(--pez-ink);
}

#header-group .header__drawer .menu-drawer a,
#header-group .header__drawer .menu-drawer button,
#header-group .header__drawer .menu-drawer summary {
  color: var(--pez-ink);
}

/* Hero */
.pez-section--hero {
  background: #ffffff;
}

.pez-hero {
  position: relative;
  width: 100%;
}

.pez-hero__media,
.pez-hero__media picture {
  display: block;
  width: 100%;
}

.pez-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  object-position: center;
}

.pez-hero__placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  background: linear-gradient(135deg, #118ccc, #8bd8f2);
  color: #ffffff;
  font-size: 11rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.pez-hero__cta-wrap {
  position: absolute;
  right: clamp(28px, 4vw, 80px);
  bottom: clamp(28px, 4vw, 74px);
}

.pez-hero__button {
  min-width: 158px;
}

/* Native Horizon Featured Items frame. */
.template-index .ui-test-product-list {
  background: #ffffff;
}

.template-index .ui-test-product-list > .section {
  max-width: 100%;
  padding-inline: clamp(24px, 4vw, 72px);
}

.template-index .ui-test-product-list .section-resource-list__header h2,
.template-index .ui-test-product-list .section-resource-list__header h3,
.template-index .ui-test-product-list .section-resource-list__header h4 {
  color: var(--pez-ink);
  font-size: clamp(2.2rem, 3vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.template-index .ui-test-product-list .resource-list__item {
  min-width: 0;
}

.template-index .ui-test-product-list .product-card__content {
  text-align: center;
}

.template-index .ui-test-product-list .product-card__title,
.template-index .ui-test-product-list .price {
  justify-content: center;
  text-align: center;
}

.template-index .ui-test-product-list .add-to-cart-button,
.template-index .ui-test-product-list [name="add"] {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--pez-navy);
  border-radius: 14px;
  background: #ffffff;
  color: var(--pez-navy);
}

.template-index .ui-test-product-list .quantity-selector,
.template-index .ui-test-product-list .quantity-label,
.template-index .ui-test-product-list .quantity-rules,
.template-index .ui-test-product-list .volume-pricing,
.template-index .ui-test-product-list .accelerated-checkout-block {
  display: none;
}

.template-index .ui-test-product-list .section-resource-list__content .button,
.template-index .ui-test-product-list .section-resource-list__content a {
  border-color: var(--pez-navy);
  background: var(--pez-navy);
  color: #ffffff;
}

/* Trending collection strip */
.pez-collection-strip {
  padding: 12px 0;
  background: #f7f7f7;
}

.pez-collection-strip .pez-shell--wide {
  box-sizing: border-box;
  width: 100%;
  padding-inline: 20px;
}

.pez-collection-strip__heading {
  margin-bottom: 24px;
  color: #121212;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.6px;
  line-height: 1.3;
}

.pez-collection-strip__rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 10px;
}

.pez-collection-card {
  display: block;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.pez-collection-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 34px;
  background: #dfe7f4;
}

.pez-collection-card__image {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  transition: transform 180ms ease;
}

.pez-collection-card:hover .pez-collection-card__image {
  transform: scale(1.04);
}

.pez-collection-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--pez-navy);
  font-size: 3rem;
  font-weight: 900;
}

.pez-collection-card__title {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Brand cards */
.pez-brand-cards {
  padding: 56px 0 32px;
  background: #ffffff;
}

.pez-brand-cards__heading {
  margin-bottom: 32px;
}

.pez-brand-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.pez-brand-card {
  overflow: hidden;
  border: 1px solid var(--pez-line);
  background: #ffffff;
}

.pez-brand-card__media {
  padding: 28px 28px 0;
}

.pez-brand-card__image,
.pez-brand-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pez-brand-card__placeholder {
  display: grid;
  place-items: center;
  background: var(--pez-sky);
  color: var(--pez-navy);
  font-size: 5rem;
  font-weight: 900;
}

.pez-brand-card__body {
  padding: 24px 24px 30px;
  text-align: center;
}

.pez-brand-card__body h3 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  font-weight: 700;
}

.pez-brand-card__body p {
  min-height: 1.6em;
  margin: 0 0 22px;
  color: #626262;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

/* Campaign frames */
.pez-split-campaign {
  padding: 24px 0;
  background: #ffffff;
}

.pez-split-campaign__card {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  overflow: hidden;
  border: 1px solid var(--pez-line);
  background: #ffffff;
}

.pez-split-campaign--image-right .pez-split-campaign__card {
  grid-template-columns: 1.32fr 0.68fr;
}

.pez-split-campaign--image-right .pez-split-campaign__media {
  order: 2;
}

.pez-split-campaign__media {
  min-height: 410px;
}

.pez-split-campaign__image,
.pez-split-campaign__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pez-split-campaign__placeholder {
  display: grid;
  place-items: center;
  background: var(--pez-navy);
  color: #ffffff;
  font-size: 7rem;
  font-weight: 900;
}

.pez-split-campaign__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(36px, 6vw, 92px);
}

.pez-eyebrow {
  margin: 0 0 8px;
  color: #6b6b6b;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pez-split-campaign__content h2 {
  margin: 0 0 18px;
  color: var(--pez-ink);
  font-size: clamp(2.8rem, 3.5vw, 5rem);
  line-height: 1;
}

.pez-split-campaign__text {
  margin-bottom: 24px;
  color: #686868;
  font-size: 1.55rem;
}

/* Footer */
.pez-footer-section {
  background: var(--pez-blue);
}

.pez-footer {
  padding: 56px 0 24px;
  background: var(--pez-blue);
  color: #ffffff;
}

.pez-footer a {
  color: #ffffff;
}

.pez-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: start;
  gap: 44px;
}

.pez-footer h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 700;
}

.pez-footer__menu {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pez-footer__menu a {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.65;
  text-decoration: none;
}

.pez-footer__newsletter {
  grid-column: auto;
  margin-top: 0;
}

.pez-footer__form {
  position: relative;
  width: min(100%, 430px);
}

.pez-footer__form input {
  width: 100%;
  height: 52px;
  padding: 0 58px 0 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 14px;
  outline: none;
  background: transparent;
  color: #ffffff;
}

.pez-footer__form input::placeholder {
  color: rgba(255,255,255,.82);
}

.pez-footer__form button {
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.pez-footer__message {
  margin: 10px 0 0;
  color: #ffffff;
}

.pez-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding-top: 46px;
  font-size: 1.15rem;
}

.pez-footer__bottom p {
  margin: 0;
}

@media screen and (max-width: 989px) {
  #header-group .menu-list__link {
    font-size: 1.5rem;
  }

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

@media screen and (max-width: 749px) {
  .pez-shell,
  .pez-shell--wide {
    width: min(100% - 28px, 100%);
  }

  .pez-heading {
    font-size: 2.7rem;
  }

  #header-group .announcement-bar {
    min-height: 34px;
    padding-block: 6px;
  }

  #header-group .announcement-bar__text {
    max-width: 290px;
    margin-inline: auto;
    font-size: 0.875rem;
    line-height: 1.15;
  }

  #header-group .header {
    min-height: 58px;
  }

  #header-group .header-logo__image {
    max-width: 138px;
  }

  .pez-hero__image {
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .pez-hero__cta-wrap {
    position: static;
    display: grid;
    min-height: 145px;
    place-items: center;
    border-bottom: 1px solid var(--pez-line);
    background: #ffffff;
  }

  .pez-hero__button {
    min-width: 156px;
  }

  .template-index .ui-test-product-list > .section {
    padding-inline: 18px;
  }

  .template-index .ui-test-product-list .section-resource-list__header h2,
  .template-index .ui-test-product-list .section-resource-list__header h3,
  .template-index .ui-test-product-list .section-resource-list__header h4 {
    font-size: 2.7rem;
  }

  main[data-template="index"] .ui-test-product-list .product-form-buttons {
    padding-inline: 12px;
  }

  .pez-collection-strip {
    padding: 12px 0;
  }

  .pez-collection-strip__heading {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .pez-collection-strip__rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 0 10px;
    margin-inline: 0;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pez-collection-strip__rail::-webkit-scrollbar {
    display: none;
  }

  .pez-collection-strip__item {
    flex: 0 0 120px;
    scroll-snap-align: start;
  }

  .pez-brand-cards {
    padding: 38px 0 18px;
  }

  .pez-brand-cards__heading {
    margin-bottom: 20px;
  }

  .pez-brand-cards__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pez-brand-card {
    border-radius: 2px;
  }

  .pez-brand-card__media {
    padding: 14px 14px 0;
  }

  .pez-brand-card__body {
    padding: 20px 18px 26px;
  }

  .pez-split-campaign {
    padding: 10px 0;
  }

  .pez-split-campaign__card,
  .pez-split-campaign--image-right .pez-split-campaign__card {
    grid-template-columns: 1fr;
  }

  .pez-split-campaign--image-right .pez-split-campaign__media {
    order: 0;
  }

  .pez-split-campaign__media {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .pez-split-campaign__content {
    padding: 28px 20px 32px;
  }

  .pez-split-campaign__content h2 {
    font-size: 3rem;
  }

  .pez-footer {
    padding-top: 42px;
  }

  .pez-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pez-footer__newsletter {
    grid-column: auto;
    margin-top: 4px;
  }

  .pez-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 36px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .pez-button,
  .pez-collection-card__image {
    transition: none;
  }
}
