.aha-pn-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px auto 0 auto;
  max-width: 1200px !important;
  width: 100%;
}

.aha-pn-pos-above {
  margin: 0 auto 24px auto;
}

.aha-pn-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  background: var(--aha-pn-card-bg, #f3f3f3);
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  outline: none;
  max-width: 460px !important;
}

/* Prevent template style leaks (underlines, box-shadows, bottom borders) on hovers and links */
.aha-pn-wrap a,
.aha-pn-wrap a:hover,
.aha-pn-wrap a:focus,
.aha-pn-wrap a:active {
  text-decoration: none !important;
  border-bottom: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Also reset child elements within links to ensure no underlines are inherited */
.aha-pn-wrap a * {
  text-decoration: none !important;
  border-bottom: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.aha-pn-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.aha-pn-card:focus,
.aha-pn-card:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.16);
  outline-offset: 2px;
}

.aha-pn-card a:focus,
.aha-pn-card a:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.16);
  outline-offset: 2px;
}

.aha-pn-arrow {
  font-size: 18px;
  line-height: 1;
  opacity: 0.9;
  color: var(--aha-pn-arrow, #000000);
  cursor: pointer;
}

.aha-pn-text {
  display: grid;
  gap: 4px;
  flex-grow: 1;
  min-width: 0;
  cursor: pointer;
  text-decoration: none;
}

.aha-pn-prev {
  grid-column: 1;
  justify-self: start;
  width: 100%;
}

.aha-pn-prev .aha-pn-text {
  text-align: left;
}

.aha-pn-next {
  grid-column: 2;
  justify-self: end;
  width: 100%;
}

.aha-pn-next .aha-pn-text {
  text-align: right;
}

.aha-pn-label {
  font-size: 12px;
  opacity: 0.85;
  color: var(--aha-pn-subtitle, #6b6b6b);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aha-pn-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--aha-pn-title, #000000);
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
}

.aha-pn-thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  color: inherit;
}

.aha-pn-thumb-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.aha-pn-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--aha-pn-title, #000000);
  margin-top: 2px;
}

.aha-pn-price del {
  opacity: 0.6;
  font-weight: normal;
  margin-right: 4px;
  text-decoration: line-through !important;
}

.aha-pn-price ins {
  text-decoration: none !important;
}

@media (max-width: 860px) {
  .aha-pn-wrap {
    grid-template-columns: 1fr;
  }
  .aha-pn-prev,
  .aha-pn-next {
    grid-column: auto;
    justify-self: stretch;
    max-width: 100% !important;
  }
}