body.np-product-page {
  background: #fff;
  color: #111;
  --np-product-header-clearance: 92px;
}

body.np-product-page .np-home-shell {
  background: #fff;
  color: #111;
}

body.np-product-page .np-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

body.np-product-page .np-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(17, 17, 17, 0.08);
}

body.np-product-page .np-nav__panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

body.np-product-page .np-nav__panel a {
  color: #111;
}

body.np-product-page .np-main {
  background: #fff;
}

.np-product-main {
  padding-top: var(--np-product-header-clearance);
  padding-bottom: 72px;
}

.np-product-notices {
  max-width: 1349px;
  margin: 0 auto;
  padding: 18px var(--np-page-margin) 0;
}

.np-product-notices .woocommerce-message,
.np-product-notices .woocommerce-error,
.np-product-notices .woocommerce-info {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: #fff;
  color: #111;
}

.np-product-notices .woocommerce-message::before,
.np-product-notices .woocommerce-error::before,
.np-product-notices .woocommerce-info::before {
  display: none;
}

.np-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 386px;
  gap: 56px;
  align-items: start;
  max-width: 1349px;
  margin: 0 auto;
  padding: 48px var(--np-page-margin) 82px;
}

.np-product__gallery {
  min-width: 0;
}

.np-product__gallery-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.np-product-media {
  margin: 0;
  aspect-ratio: 0.82;
  overflow: hidden;
  background: #fff;
}

.np-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.np-product__gallery-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.np-product__gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.18);
  transition: transform 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.np-product__gallery-dot.is-active {
  background: #111;
  transform: scale(1.2);
}

.np-product__summary-inner {
  position: sticky;
  top: calc(120px + var(--np-admin-offset, 0px));
}

.np-product__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.np-product__price {
  margin-top: 16px;
  color: #444;
  font-size: 14px;
  line-height: 22.4px;
}

.np-product__price .amount,
.np-product__price .woocommerce-Price-amount {
  font-weight: 400;
}

.np-product__divider {
  margin: 34px 0 28px;
  border: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.np-product-form {
  display: grid;
  gap: 24px;
}

.np-product-option {
  display: grid;
  gap: 12px;
}

.np-product-option__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
  font-size: 16px;
  line-height: 1.4;
}

.np-product-option__label span {
  color: #555;
}

.np-size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 88px));
  gap: 11px;
}

.np-size-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0 18px;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.np-size-chip:hover {
  transform: translateY(-1px);
}

.np-size-chip.is-selected {
  background: #000;
  border-color: #000;
  color: #fff;
}

.np-size-chip:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.np-color-swatch {
  display: flex;
  align-items: center;
}

.np-color-swatch span {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background: var(--np-swatch);
  box-shadow: inset 0 0 0 3px #fff;
}

.np-product-actions {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}

.np-quantity {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  height: 52px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
}

.np-quantity__button,
.np-add-to-cart,
.np-paypal {
  font: inherit;
}

.np-quantity__button {
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.np-quantity__input {
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 16px;
  text-align: center;
  appearance: textfield;
  background: transparent;
}

.np-quantity__input::-webkit-outer-spin-button,
.np-quantity__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.np-add-to-cart {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: transform 180ms ease, opacity 180ms ease;
  cursor: pointer;
}

.np-add-to-cart__label,
.np-add-to-cart__added {
  grid-area: 1 / 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.np-add-to-cart__added {
  opacity: 0;
  transform: translateX(12px);
}

.np-add-to-cart.is-added .np-add-to-cart__label {
  opacity: 0;
  transform: translateX(-12px);
}

.np-add-to-cart.is-added .np-add-to-cart__added {
  opacity: 1;
  transform: translateX(0);
}

.np-add-to-cart.is-loading {
  opacity: 0.82;
  cursor: progress;
}

.np-add-to-cart:hover,
.np-paypal:hover {
  transform: translateY(-1px);
}

.np-product-form__status {
  margin: -8px 0 0;
  color: #a11313;
  font-size: 13px;
  line-height: 1.6;
}

.np-paypal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  background: #ffc439;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.np-paypal strong {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 18px;
  font-style: italic;
  letter-spacing: -0.03em;
}

.np-paypal strong span:first-child {
  color: #003087;
}

.np-paypal strong span:last-child {
  color: #009cde;
}

.np-product-accordions {
  margin-top: 10px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.np-accordion {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.np-accordion summary {
  position: relative;
  list-style: none;
  padding: 20px 30px 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.np-accordion summary::-webkit-details-marker {
  display: none;
}

.np-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
}

.np-accordion[open] summary::after {
  content: "−";
}

.np-accordion__content {
  padding: 0 0 22px;
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.72;
}

.np-accordion__content p {
  margin: 0 0 14px;
}

.np-product-recommendations {
  max-width: 1349px;
  margin: 0 auto;
  padding: 0 var(--np-page-margin);
}

.np-product-recommendations__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.np-product-recommendations__head h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.np-product-recommendations__link {
  color: #111;
  font-size: 14px;
  text-decoration: none;
}

.np-product-page .np-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.np-product-page .np-product-card__media {
  aspect-ratio: 0.84;
}

.np-product-page .np-product-card__meta h2 {
  font-size: 14px;
  font-weight: 600;
}

.np-product-page .np-footer {
  max-width: 1349px;
  margin: 66px auto 0;
  padding-left: var(--np-page-margin);
  padding-right: var(--np-page-margin);
}

.np-fly-to-cart {
  position: fixed;
  top: 0;
  left: 0;
  width: 62px;
  aspect-ratio: 0.82;
  border-radius: 14px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--scale, 1));
  z-index: 120;
}

@media (max-width: 1180px) {
  .np-product {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 34px;
  }

  .np-size-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .np-product {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .np-product__summary-inner {
    position: static;
  }

  .np-product-recommendations__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .np-product-page .np-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .np-product {
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 48px;
  }

  .np-product__gallery {
    overflow: hidden;
  }

  .np-product__gallery-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .np-product__gallery-track::-webkit-scrollbar {
    display: none;
  }

  .np-product-media {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 1 / 1.18;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .np-product__gallery-dots {
    display: flex;
    margin-top: 10px;
  }

  .np-product__title,
  .np-product-recommendations__head h2 {
    font-size: 24px;
    line-height: 1.15;
  }

  .np-product__price {
    margin-top: 12px;
  }

  .np-product-actions {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .np-quantity {
    height: 50px;
  }

  .np-add-to-cart {
    min-height: 50px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .np-paypal {
    min-height: 52px;
    font-size: 14px;
  }

  .np-product__divider {
    margin: 24px 0 22px;
  }

  .np-product-form {
    gap: 20px;
  }

  .np-product-option {
    gap: 10px;
  }

  .np-product-option__label {
    font-size: 15px;
  }

  .np-size-grid,
  .np-product-page .np-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .np-size-chip {
    height: 46px;
    border-radius: 15px;
    font-size: 15px;
  }

  .np-color-swatch span {
    width: 44px;
    height: 44px;
  }

  .np-accordion summary {
    padding: 18px 28px 18px 0;
    font-size: 15px;
  }

  .np-accordion__content {
    padding-bottom: 18px;
    font-size: 13px;
    line-height: 1.65;
  }
}
