/* ==========================================================================
   Amazon Authentic Product Detail Page (PDP) Styling for Paintballnest
   ========================================================================== */

:root {
  --amz-font: "Amazon Ember", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --amz-black: #0F1111;
  --amz-link: #007185;
  --amz-link-hover: #C7511F;
  --amz-price-red: #B12704;
  --amz-green: #007600;
  --amz-border: #D5D9D9;
  --amz-border-subtle: #E7E7E7;
  --amz-bg-light: #F7F7F7;
  --amz-star: #DE7921;
  --amz-btn-cart: #FFD814;
  --amz-btn-cart-hover: #F7CA00;
  --amz-btn-cart-border: #FCD200;
  --amz-btn-buy: #FFA41C;
  --amz-btn-buy-hover: #FA8900;
  --amz-btn-buy-border: #FF8F00;
  --amz-choice-bg: #232F3E;
  --amz-choice-orange: #E77600;
}

/* Amazon Page Wrapper */
.amz-pdp-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 12px 18px 60px;
  font-family: var(--amz-font);
  color: var(--amz-black);
  font-size: 14px;
  line-height: 20px;
  background: #ffffff;
}

/* Breadcrumbs */
.amz-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #565959;
  margin-bottom: 14px;
  padding-bottom: 8px;
}
.amz-breadcrumbs a {
  color: #565959;
  text-decoration: none;
}
.amz-breadcrumbs a:hover {
  color: var(--amz-link-hover);
  text-decoration: underline;
}
.amz-breadcrumbs .sep {
  color: #888C8C;
  font-size: 11px;
}
.amz-breadcrumbs .current {
  color: #565959;
  font-weight: 500;
}

/* Top 2-Column Clean Amazon Layout: Gallery (Left) | Product Details (Right) */
.amz-hero-layout {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}

/* Column 1: Gallery */
.amz-gallery-col {
  display: flex;
  gap: 12px;
  position: sticky;
  top: 90px;
}

/* Vertical Thumbnails strip */
.amz-thumb-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 48px;
  flex-shrink: 0;
}
.amz-thumb-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--amz-border);
  border-radius: 4px;
  padding: 2px;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.amz-thumb-btn:hover,
.amz-thumb-btn.active {
  border-color: #e77600;
  box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
}
.amz-thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Main Image View */
.amz-main-image-box {
  flex: 1;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  position: relative;
}
.amz-main-image {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.amz-zoom-hint {
  font-size: 12px;
  color: #565959;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Column 2: Center Info */
.amz-info-col {
  display: flex;
  flex-direction: column;
}
.amz-brand-store-link {
  font-size: 13px;
  color: var(--amz-link);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 4px;
}
.amz-brand-store-link:hover {
  color: var(--amz-link-hover);
  text-decoration: underline;
}
.amz-product-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  color: var(--amz-black);
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}

/* Ratings row */
.amz-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--amz-border-subtle);
}
.amz-stars {
  color: var(--amz-star);
  font-size: 15px;
  letter-spacing: 1px;
}
.amz-rating-score {
  color: var(--amz-black);
  font-weight: 500;
}
.amz-rating-link {
  color: var(--amz-link);
  text-decoration: none;
}
.amz-rating-link:hover {
  color: var(--amz-link-hover);
  text-decoration: underline;
}
.amz-rating-sep {
  color: #888C8C;
}

/* Amazon's Choice Badge */
.amz-choice-badge {
  display: inline-flex;
  align-items: center;
  background: var(--amz-choice-bg);
  color: #ffffff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  margin-bottom: 12px;
  width: fit-content;
}
.amz-choice-badge span {
  color: var(--amz-choice-orange);
  margin-left: 4px;
}

/* Price Section */
.amz-price-section {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--amz-border-subtle);
}
.amz-price-deal-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.amz-deal-badge {
  background: #CC0C39;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
}
.amz-price-display {
  display: inline-flex;
  align-items: flex-start;
  color: var(--amz-black);
  font-weight: 500;
  line-height: 1;
}
.amz-price-symbol {
  font-size: 16px;
  margin-top: 4px;
  margin-right: 2px;
}
.amz-price-whole {
  font-size: 32px;
  font-weight: 500;
}
.amz-price-fraction {
  font-size: 16px;
  margin-top: 4px;
}
.amz-list-price-row {
  font-size: 12px;
  color: #565959;
  margin-bottom: 6px;
}
.amz-strikethrough {
  text-decoration: line-through;
}
.amz-prime-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #007185;
  margin-top: 4px;
}
.amz-prime-logo {
  color: #00a8e1;
  font-weight: 900;
  font-style: italic;
  font-size: 15px;
}

/* Attributes Grid Table (Center Column) */
.amz-specs-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 8px;
  column-gap: 16px;
  font-size: 13px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--amz-border-subtle);
}
.amz-spec-label {
  font-weight: 700;
  color: #565959;
}
.amz-spec-val {
  color: var(--amz-black);
  font-weight: 400;
}

/* "About this item" */
.amz-about-section {
  margin-top: 10px;
}
.amz-about-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--amz-black);
  margin: 0 0 10px;
}
.amz-about-list {
  padding-left: 20px;
  margin: 0 0 14px;
  color: var(--amz-black);
  font-size: 14px;
  line-height: 22px;
}
.amz-about-list li {
  margin-bottom: 8px;
}

/* Direct Amazon Buy Now Buttons & Banners */
.amz-buy-cta-wrap {
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.amz-btn-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--amz-btn-cart);
  border: 1px solid var(--amz-btn-cart-border);
  border-radius: 24px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #0F1111;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(213,217,217,.5);
  transition: all 0.2s ease;
  cursor: pointer;
  max-width: 380px;
  box-sizing: border-box;
}
.amz-btn-buy-now:hover {
  background: var(--amz-btn-cart-hover);
  border-color: #a88734;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.amz-btn-buy-now-secondary {
  background: var(--amz-btn-buy);
  border: 1px solid var(--amz-btn-buy-border);
}
.amz-btn-buy-now-secondary:hover {
  background: var(--amz-btn-buy-hover);
  border-color: #c45500;
}
.amz-buy-subtext {
  font-size: 12px;
  color: #565959;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Amazon Middle & Bottom Sections
   ========================================================================== */

/* Section Dividers */
.amz-section-divider {
  border-top: 1px solid var(--amz-border-subtle);
  margin: 36px 0;
}

.amz-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--amz-border-subtle);
}

/* Product Description / Editorial Overview */
.amz-editorial-box {
  background: #ffffff;
  padding: 10px 0 20px;
  font-size: 14px;
  line-height: 24px;
  color: #333333;
}
.amz-verdict-banner {
  background: #f8fafc;
  border-left: 4px solid #007185;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 0 4px 4px 0;
}
.amz-verdict-banner h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #007185;
}

/* Amazon Split Technical Details Table */
.amz-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.amz-table-wrap h4 {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 8px;
}
.amz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid #e7e7e7;
}
.amz-table th, .amz-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e7e7e7;
  text-align: left;
}
.amz-table th {
  background: #f3f3f3;
  color: #444;
  font-weight: 600;
  width: 40%;
}
.amz-table td {
  background: #ffffff;
  color: #333;
}

/* Amazon Comparison Matrix ("Compare with similar items") */
.amz-compare-table-container {
  overflow-x: auto;
  margin-bottom: 36px;
}
.amz-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 650px;
}
.amz-compare-table th, .amz-compare-table td {
  padding: 14px 16px;
  border: 1px solid #e7e7e7;
  text-align: center;
  vertical-align: top;
}
.amz-compare-label {
  background: #f3f3f3;
  font-weight: 700;
  color: #444;
  text-align: left !important;
  width: 160px;
}
.amz-compare-col.highlighted {
  background: #fbfbfc;
  border: 2px solid #e77600 !important;
}
.amz-compare-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}
.amz-compare-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--amz-link);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.amz-compare-title:hover {
  color: var(--amz-link-hover);
  text-decoration: underline;
}
.amz-compare-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--amz-price-red);
}

/* Customer Reviews Breakdown (Amazon Style) */
.amz-reviews-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.amz-rating-summary-box {
  display: flex;
  flex-direction: column;
}
.amz-rating-big-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--amz-black);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.amz-total-ratings-count {
  font-size: 13px;
  color: #565959;
  margin-bottom: 18px;
}
.amz-histogram {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.amz-histogram-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.amz-star-label {
  width: 48px;
  color: var(--amz-link);
  font-weight: 500;
}
.amz-progress-bar-bg {
  flex: 1;
  height: 18px;
  background: #f0f2f2;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.amz-progress-bar-fill {
  height: 100%;
  background: #ffa41c;
  border-radius: 4px;
}
.amz-pct-label {
  width: 32px;
  text-align: right;
  color: #565959;
  font-size: 12px;
}

/* Customer Review Cards */
.amz-review-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.amz-review-card {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--amz-border-subtle);
}
.amz-reviewer-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.amz-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  font-size: 12px;
  font-weight: 700;
}
.amz-reviewer-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--amz-black);
}
.amz-review-headline-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.amz-review-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--amz-black);
}
.amz-review-date {
  font-size: 12px;
  color: #565959;
  margin-bottom: 6px;
}
.amz-verified-badge {
  font-size: 12px;
  font-weight: 700;
  color: #c45500;
  margin-bottom: 8px;
}
.amz-review-body {
  font-size: 14px;
  line-height: 22px;
  color: var(--amz-black);
  margin-bottom: 10px;
}
.amz-helpful-btn {
  padding: 6px 14px;
  border: 1px solid #D5D9D9;
  border-radius: 20px;
  background: #ffffff;
  font-size: 12px;
  color: #565959;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.amz-helpful-btn:hover {
  background: #f7fafc;
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .amz-hero-layout {
    grid-template-columns: 420px 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .amz-hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .amz-gallery-col {
    position: static;
  }
  .amz-tech-grid {
    grid-template-columns: 1fr;
  }
  .amz-reviews-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .amz-gallery-col {
    flex-direction: column-reverse;
  }
  .amz-thumb-strip {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }
  .amz-pdp-container {
    padding: 10px 12px 40px;
  }
  .amz-product-title {
    font-size: 18px;
    line-height: 24px;
  }
}
