.np-detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin: 12px 16px 32px;
  align-items: start;
}
.np-detail-gallery,
.np-detail-info {
  min-width: 0;
}
.np-detail-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-height: 570px;
  background: #f5f9ff;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  overflow: hidden;
  padding: 24px;
}
.np-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.np-detail-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 3px 6px;
}
.np-detail-thumbnails button {
  flex: 0 0 76px;
  height: 76px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  padding: 5px;
  background: white;
  cursor: pointer;
}
.np-detail-thumbnails button[aria-pressed="true"] {
  border: 2px solid var(--np-navy);
}
.np-detail-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.np-detail-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.np-detail-info h1 {
  font-size: clamp(27px, 2.6vw, 40px);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.np-detail-sku,
.np-detail-muted {
  color: #536787;
  font-size: 12px;
}
.np-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 12px;
  color: #536787;
}
.np-detail-stars {
  display: inline-flex;
  gap: 3px;
  color: #b86a00;
}
.np-detail-stock {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 6px;
  color: #166534;
  background: #edf8f0;
  font-size: 12px;
}
.np-detail-stock-out {
  background: #fff0f3;
  color: #a80028;
}
.np-detail-summary {
  color: #536787;
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0;
}
.np-detail-purchase {
  background: #eef6ff;
  border: 1px solid #dce8f7;
  border-radius: 12px;
  padding: 24px;
}
.np-detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 16px;
}
.np-detail-price strong {
  font-size: clamp(25px, 2.5vw, 34px);
  color: var(--np-red);
  font-weight: 650;
  line-height: 1.2;
}
.np-detail-price del {
  font-size: 14px;
  color: #64748b;
}
.np-detail-saving {
  color: #166534;
  font-size: 12px;
}
.np-detail-offer-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.np-detail-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.np-home .np-detail-buy {
  flex: 1;
  min-height: 48px;
  font-size: 14px;
}
.np-detail-wishlist {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid #b8cce7;
  border-radius: 8px;
  background: white;
  color: var(--np-navy);
  cursor: pointer;
}
.np-home .np-button:disabled {
  background: #e2e8f0;
  color: #475569;
  cursor: not-allowed;
}
.np-detail-expiry {
  border-radius: 6px;
  background: #fffbeb;
  color: #92400e;
  padding: 10px 12px;
  font-size: 12px;
  margin: 12px 0;
}
.np-detail-delivery {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 16px;
  color: #536787;
}
.np-detail-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  font-size: 12px;
  color: #536787;
}
.np-detail-share button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #dfe5ef;
  border-radius: 50%;
  background: white;
  color: var(--np-navy);
  font-size: 19px;
  cursor: pointer;
}
.np-detail-tabs {
  margin: 32px 16px;
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  overflow: hidden;
}
.np-detail-tablist {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 0 20px;
  background: #f5f9ff;
  border-bottom: 1px solid #dfe5ef;
}
.np-detail-tablist button {
  flex-shrink: 0;
  min-height: 56px;
  padding: 12px 16px;
  border-bottom: 3px solid transparent;
  color: #536787;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.np-detail-tablist [aria-selected="true"] {
  color: var(--np-navy);
  border-color: var(--np-red);
}
.np-detail-panel {
  padding: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: #405575;
  overflow-wrap: anywhere;
}
.np-detail-panel[hidden] {
  display: none;
}
.np-detail-prose h2,
.np-detail-prose h3 {
  margin: 20px 0 12px;
  font-size: 20px;
  color: var(--np-navy);
  font-weight: 600;
}
.np-detail-prose p {
  margin: 0 0 14px;
}
.np-detail-prose ul,
.np-detail-prose ol {
  padding-left: 24px;
  margin: 12px 0;
}
.np-detail-prose ul {
  list-style: disc;
}
.np-detail-prose ol {
  list-style: decimal;
}
.np-detail-prose img,
.np-detail-prose iframe {
  max-width: 100%;
}
.np-detail-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.np-detail-prose a {
  text-decoration: underline;
}
.np-detail-review {
  border-bottom: 1px solid #e2e8f0;
  padding: 0 0 18px;
  margin-bottom: 18px;
}
.np-detail-review:last-child {
  border: 0;
  margin-bottom: 0;
}
.np-detail-recommendations {
  margin: 32px 16px;
}
.np-detail-recommendations .np-section-heading {
  margin-bottom: 22px;
}
.np-detail-recommendations h2 {
  position: relative;
}
.np-detail-recommendations h2::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  height: 2px;
  width: 28px;
  background: var(--np-red);
}
.np-detail-mobile-purchase {
  display: none;
}
.np-offer-intro {
  align-items: stretch;
}
.np-offer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.np-offer-badges span {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--np-red);
  color: white;
  font-size: 12px;
  font-weight: 600;
}
.np-offer-badges .np-offer-inactive {
  background: #e2e8f0;
  color: #475569;
}
.np-offer-timing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 210px;
  padding: 20px;
  background: white;
  border-radius: 10px;
}
.np-offer-timing small,
.np-offer-timing span {
  font-size: 12px;
  color: #536787;
}
.np-offer-timing strong {
  font-size: 20px;
  line-height: 1.4;
}
.np-offer-timing a {
  font-size: 12px;
  text-decoration: underline;
}
.np-offer-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.np-offer-product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  overflow: hidden;
}
.np-offer-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #f5f9ff;
  padding: 20px;
}
.np-offer-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.np-offer-product-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 20px;
  gap: 12px;
}
.np-offer-product-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.np-offer-product-body .np-detail-brand,
.np-offer-product-body .np-detail-price {
  margin: 0;
}
.np-offer-product-body .np-detail-price strong {
  font-size: 23px;
}
.np-offer-product-body .np-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
}
.np-related-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.np-related-offers > a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  background: #f5f9ff;
}
.np-related-offers > a:hover {
  border-color: #9bb9df;
}
.np-related-offers h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
.np-related-offers strong {
  color: var(--np-red);
}
.np-related-offers a > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  font-size: 12px;
}
@media (max-width: 1023px) {
  .np-detail-main {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-inline: auto;
  }
  .np-detail-image {
    max-height: 480px;
  }
  .np-detail {
    padding-bottom: 110px;
  }
  .np-detail-mobile-purchase {
    display: flex;
    align-items: center;
    gap: 16px;
    position: fixed;
    bottom: 64px;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 12px 20px;
    border-top: 1px solid #dfe5ef;
    background: white;
    box-shadow: 0 -4px 16px #002b800a;
  }
  .np-detail-mobile-purchase > div {
    flex: 1;
    min-width: 0;
  }
  .np-detail-mobile-purchase small {
    display: block;
    font-size: 11px;
    color: #536787;
  }
  .np-detail-mobile-purchase strong {
    color: var(--np-red);
    font-size: 17px;
  }
  .np-offer-products,
  .np-related-offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .np-detail-tabs,
  .np-detail-recommendations {
    margin: 28px 0;
  }
  .np-detail-purchase,
  .np-detail-panel {
    padding: 18px;
  }
  .np-detail-tablist {
    padding-inline: 6px;
    gap: 0;
  }
  .np-detail-tablist button {
    font-size: 12px;
    padding-inline: 12px;
  }
  .np-offer-timing {
    width: 100%;
  }
  .np-detail-mobile-purchase {
    padding: 10px 16px;
    gap: 10px;
  }
}
@media (max-width: 540px) {
  .np-offer-products,
  .np-related-offers {
    grid-template-columns: 1fr;
  }
  .np-offer-product-image {
    max-height: 260px;
  }
}
