/* ===================================
   Single product — 2-column + related
   =================================== */

.amz-product-page {
  background: #fff;
  padding: 16px 0 56px;
  color: #0f1111;
}

.amz-product-page .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Breadcrumb */
.amz-breadcrumb {
  font-size: 12px;
  color: #565959;
  margin-bottom: 20px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.amz-breadcrumb a {
  color: #2162a1;
  text-decoration: none;
}

.amz-breadcrumb a:hover {
  color: #c45500;
  text-decoration: underline;
}

.amz-breadcrumb .sep {
  color: #888;
}

.amz-breadcrumb .current {
  color: #565959;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== 2-column layout ========== */
.amz-layout-2col {
  display: grid;
  grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
  margin-bottom: 36px;
}

.amz-gallery {
  position: sticky;
  top: 88px;
}

.amz-image-wrap {
  position: relative;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.04);
}

.amz-main-img {
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.amz-img-placeholder {
  color: #888;
  padding: 80px 20px;
  text-align: center;
}

.amz-badge-sale {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #cc0c39;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* Main column */
.amz-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: #0f1111;
  margin: 0 0 10px;
}

.amz-byline {
  font-size: 14px;
  color: #565959;
  margin-bottom: 8px;
}

.amz-brand {
  color: #2162a1;
  font-weight: 500;
}

.amz-asin-inline {
  color: #565959;
  font-size: 13px;
  margin-left: 4px;
}

.amz-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 4px;
}

.amz-rating-row .product-rating,
.amz-rating-row .rating-stars-wrap {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.amz-rating-row .star,
.amz-rating-row .rating-stars {
  color: #de7921;
  font-size: 15px;
  letter-spacing: 1px;
}

.amz-rating-row .rating-text {
  font-size: 14px;
  color: #0f1111;
}

.amz-rating-row .reviews-count {
  color: #2162a1;
}

.amz-divider {
  border: none;
  border-top: 1px solid #e7e7e7;
  margin: 14px 0 16px;
}

/* Price */
.amz-price-block {
  margin-bottom: 14px;
}

.amz-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.amz-price-label {
  font-size: 14px;
  color: #0f1111;
}

.amz-price-now {
  font-size: 28px;
  font-weight: 400;
  color: #0f1111;
  line-height: 1.15;
}

.amz-price-na {
  font-size: 18px;
  color: #565959;
}

.amz-save-badge {
  background: #cc0c39;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

.amz-list-price {
  margin-top: 6px;
  font-size: 13px;
  color: #565959;
}

.amz-list-value del {
  color: #565959;
}

.amz-stock {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0;
}

.amz-stock.in {
  color: #007600;
}

.amz-stock.out {
  color: #b12704;
}

/* CTA under price */
.amz-cta-row {
  margin: 0 0 4px;
  max-width: 320px;
}

.amz-btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, #f7dfa5 0%, #f0c14b 100%);
  border: 1px solid #a88734;
  border-radius: 20px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #0f1111 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.amz-btn-buy:hover {
  filter: brightness(0.97);
  box-shadow: 0 2px 6px rgba(168, 135, 52, 0.25);
  color: #0f1111 !important;
}

.amz-btn-buy:active {
  filter: brightness(0.94);
}

.amz-affiliate-note-inline {
  font-size: 11px;
  color: #565959;
  margin: 8px 0 0;
  line-height: 1.4;
  text-align: left;
}

/* About this item */
.amz-about {
  margin-top: 4px;
}

.amz-section-heading {
  font-size: 16px;
  font-weight: 700;
  color: #0f1111;
  margin: 0 0 10px;
  padding: 0;
  border: none;
}

.amz-bullets {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
}

.amz-bullets li {
  font-size: 14px;
  line-height: 1.55;
  color: #0f1111;
  margin-bottom: 9px;
}

.amz-bullets li::marker {
  color: #0f1111;
}

/* Product details table */
.amz-details-section {
  max-width: 860px;
  margin: 0 0 48px;
  padding-top: 12px;
  border-top: 1px solid #e7e7e7;
}

.amz-details-section .amz-section-heading {
  font-size: 18px;
  margin-bottom: 14px;
}

.amz-details-table-wrap {
  overflow-x: auto;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
}

.amz-details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}

.amz-details-table th,
.amz-details-table td {
  padding: 11px 14px;
  vertical-align: top;
  border-bottom: 1px solid #e7e7e7;
  text-align: left;
}

.amz-details-table th {
  width: 34%;
  max-width: 220px;
  color: #0f1111;
  font-weight: 700;
  background: #f7f7f7;
}

.amz-details-table td {
  color: #0f1111;
  background: #fff;
}

.amz-details-table tr:last-child th,
.amz-details-table tr:last-child td {
  border-bottom: none;
}

/* ========== Related products ========== */
.amz-related {
  border-top: 1px solid #e7e7e7;
  padding-top: 28px;
  margin-top: 8px;
}

.amz-related-header {
  margin-bottom: 20px;
}

.amz-related-header .amz-section-heading {
  font-size: 22px;
  margin-bottom: 4px;
}

.amz-related-sub {
  margin: 0;
  font-size: 13px;
  color: #565959;
}

.amz-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.amz-rel-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.amz-rel-card:hover {
  border-color: #d5d9d9;
  box-shadow: 0 8px 24px rgba(15, 17, 17, 0.08);
  transform: translateY(-2px);
}

.amz-rel-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  padding: 16px;
  text-decoration: none;
}

.amz-rel-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.amz-rel-card:hover .amz-rel-img {
  transform: scale(1.04);
}

.amz-rel-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #eee;
}

.amz-rel-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: #cc0c39;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
}

.amz-rel-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 14px 16px;
  gap: 6px;
}

.amz-rel-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  min-height: 2.8em;
}

.amz-rel-title a {
  color: #0f1111;
  text-decoration: none;
}

.amz-rel-title a:hover {
  color: #c45500;
}

.amz-rel-cat {
  font-size: 12px;
  color: #2162a1;
}

.amz-rel-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.amz-rel-stars {
  color: #de7921;
  font-size: 13px;
  letter-spacing: 0.5px;
  line-height: 1;
}

.amz-rel-rating-num {
  font-size: 12px;
  color: #0f1111;
}

.amz-rel-reviews {
  color: #565959;
}

.amz-rel-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.amz-rel-price-now {
  font-size: 18px;
  font-weight: 600;
  color: #b12704;
  line-height: 1.2;
}

.amz-rel-price-was {
  font-size: 12px;
  color: #565959;
}

.amz-rel-excerpt {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #565959;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.amz-rel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  width: 100%;
  padding: 10px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(180deg, #ff9900 0%, #e47911 100%);
  border: 1px solid #e47911;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.amz-rel-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 3px 10px rgba(228, 121, 17, 0.35);
  color: #fff !important;
}

.amz-rel-btn-secondary {
  background: #fff;
  color: #0f1111 !important;
  border-color: #d5d9d9;
  box-shadow: none;
}

.amz-rel-btn-secondary:hover {
  background: #f7fafa;
  color: #0f1111 !important;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .amz-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .amz-layout-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .amz-gallery {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }

  .amz-cta-row {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .amz-title {
    font-size: 18px;
  }

  .amz-price-now {
    font-size: 24px;
  }

  .amz-image-wrap {
    min-height: 260px;
    padding: 12px;
  }

  .amz-related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .amz-rel-title {
    font-size: 13px;
    min-height: 0;
  }

  .amz-rel-excerpt {
    display: none;
  }

  .amz-details-table th {
    width: 40%;
  }
}

@media (max-width: 480px) {
  .amz-related-grid {
    grid-template-columns: 1fr;
  }

  .amz-rel-media {
    aspect-ratio: 16 / 10;
  }
}


/* Brand link on product page */
.amz-brand-link {
    color: #c45500;
    font-weight: 600;
    text-decoration: none;
}
.amz-brand-link:hover {
    color: #e47911;
    text-decoration: underline;
}

/* ========== Product page promo urgency ========== */
.amz-urgency-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a0a0a 0%, #3d1212 45%, #7a1f12 100%);
  color: #fff;
  border: 1px solid rgba(255, 120, 60, 0.35);
  box-shadow: 0 6px 18px rgba(122, 31, 18, 0.18);
}

.amz-urgency-strip-soft {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.amz-urgency-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffd7a8;
}

.amz-urgency-live-soft {
  color: #bfdbfe;
}

.amz-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
  animation: amz-pulse 1.4s infinite;
  display: inline-block;
  flex-shrink: 0;
}

.amz-live-dot-blue {
  background: #38bdf8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
}

@keyframes amz-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

.amz-urgency-msg {
  flex: 1 1 160px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff7ed;
}

.amz-urgency-timer {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-left: auto;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 8px;
  padding: 5px 10px;
}

.amz-timer-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.amz-timer-digits {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #ffe08a;
  line-height: 1;
}

.amz-badge-sale.amz-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 6px;
  background: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
}

.amz-price-block-deal {
  background: linear-gradient(180deg, #fff8f0 0%, #ffffff 70%);
  border: 1px solid #f3d2a8;
  border-radius: 12px;
  padding: 14px 16px 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(196, 98, 12, 0.06);
}

.amz-product-page .amz-price-now {
  font-size: 30px;
  font-weight: 700;
  color: #0f1111;
}

.amz-price-was {
  font-size: 15px;
  color: #6b7280;
  margin-left: 2px;
}

.amz-product-page .amz-save-badge,
.amz-product-page .amz-discount-lg {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%);
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  letter-spacing: 0.02em;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}

.amz-save-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 8px;
}

.amz-save-amount {
  font-size: 15px;
  font-weight: 800;
  color: #b91c1c;
  background: #fee2e2;
  padding: 4px 10px;
  border-radius: 999px;
}

.amz-list-hint {
  font-size: 13px;
  color: #6b7280;
}

.amz-trust-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e7e7e7;
  font-size: 13px;
}

.amz-price-checked,
.amz-social-proof {
  color: #565959;
}

.amz-social-proof {
  color: #9a3412;
  font-weight: 600;
}

.amz-product-page .amz-cta-row {
  max-width: 380px;
  margin-bottom: 8px;
}

.amz-btn-buy-hot {
  background: linear-gradient(180deg, #ffb84d 0%, #f59e0b 45%, #ea580c 100%) !important;
  border-color: #c2410c !important;
  color: #1c0a00 !important;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: 24px;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
  gap: 8px;
}

.amz-btn-buy-hot:hover {
  filter: brightness(1.04);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
  color: #1c0a00 !important;
}

.amz-btn-arrow {
  font-size: 16px;
  line-height: 1;
}

.amz-cta-urgency {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #9a3412;
  line-height: 1.4;
}

.amz-rel-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}

.amz-rel-off {
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%);
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.2;
}

.amz-related-sub {
  color: #9a3412 !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .amz-urgency-timer {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .amz-timer-digits {
    font-size: 1.25rem;
  }
  .amz-product-page .amz-save-badge,
  .amz-product-page .amz-discount-lg {
    font-size: 1.05rem !important;
  }
  .amz-product-page .amz-cta-row {
    max-width: none;
  }
}
