/* ============================================================
   AJ Single Product Page
   woocommerce-single-product.css  v6
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.aj-product {
  background: var(--cream);
  min-height: 80vh;
  padding: 56px 40px 80px;
}
.aj-product-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.aj-breadcrumb {
  font-family: proxima-nova-condensed, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.aj-breadcrumb a { color: var(--text-light) !important; text-decoration: none; transition: color 0.2s; }
.aj-breadcrumb a:hover { color: var(--orange) !important; }

/* ── Save badge ──────────────────────────────────────────── */
.aj-save-badge {
  display: inline-block;
  background: var(--orange); color: var(--cream);
  font-family: proxima-nova-condensed, sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; margin-bottom: 20px;
}

/* ── Title ───────────────────────────────────────────────── */
.aj-product-title {
  font-family: acumin-pro-extra-condensed, sans-serif; font-weight: 700;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.1; color: var(--dark);
  margin-bottom: 24px; letter-spacing: -0.01em;
}

/* ── Price ───────────────────────────────────────────────── */
.aj-product-price {
  font-family: proxima-nova-condensed, sans-serif; font-weight: 600; font-size: 32px;
  color: var(--dark); letter-spacing: 0.02em; margin-bottom: 6px; line-height: 1;
}
.aj-product-ship {
  font-family: proxima-nova, sans-serif; font-size: 14px; color: var(--text-light);
  margin-bottom: 12px; letter-spacing: 0.01em;
}

/* ── Review callout badge ────────────────────────────────── */
.aj-review-callout {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none !important; margin-bottom: 32px; padding: 8px 0;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.aj-review-callout:hover { border-bottom-color: var(--rule); }
.aj-review-callout-stars { font-size: 14px; color: var(--orange); letter-spacing: 1px; }
.aj-review-callout-count {
  font-family: proxima-nova-condensed, sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light);
}

/* ── Description ─────────────────────────────────────────── */
.aj-product-desc {
  font-family: proxima-nova, sans-serif; font-size: 17px; line-height: 1.7;
  color: var(--text-mid); margin-bottom: 32px; border-top: 1px solid var(--rule); padding-top: 28px;
}
.aj-product-desc p { margin-bottom: 16px; }
.aj-product-desc p:last-child { margin-bottom: 0; }

/* ── Perks list ──────────────────────────────────────────── */
.aj-perks {
  list-style: none; margin: 0 0 36px 0; padding: 0; border-top: 1px solid var(--rule);
}
.aj-perks li {
  display: flex; align-items: center; gap: 16px;
  font-family: proxima-nova, sans-serif; font-size: 17px; font-weight: 400; color: var(--text);
  padding: 18px 0; border-bottom: 1px solid var(--rule); line-height: 1.4;
}
.aj-perks li::before {
  content: ''; display: block; flex-shrink: 0; width: 20px; height: 2px; background: var(--orange);
}

/* ── Add to cart button ──────────────────────────────────── */
.aj-atc-btn {
  display: block; width: 100%; background: var(--dark); color: var(--cream) !important;
  font-family: proxima-nova-condensed, sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
  text-decoration: none !important; padding: 20px 32px; margin-bottom: 20px;
  transition: background 0.2s; box-sizing: border-box;
}
.aj-atc-btn:hover { background: var(--dark-mid); color: var(--cream) !important; }

/* ── Upsell nudge ────────────────────────────────────────── */
.aj-upsell {
  font-family: proxima-nova, sans-serif; font-size: 14px; color: var(--text-light);
  line-height: 1.6; padding: 18px 0 0; border-top: 1px solid var(--rule);
}
.aj-upsell a { color: var(--orange) !important; text-decoration: none; }
.aj-upsell a:hover { text-decoration: underline; }

/* ── Details (specs) ─────────────────────────────────────── */
.aj-details { margin-top: 28px; border-top: 1px solid var(--rule); }
.aj-details-toggle {
  display: block; font-family: proxima-nova-condensed, sans-serif; font-size: 12px;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light);
  padding: 18px 0; cursor: pointer; list-style: none; transition: color 0.2s;
}
.aj-details-toggle::-webkit-details-marker { display: none; }
.aj-details-toggle::after {
  content: '+'; float: right; font-size: 16px; font-weight: 400; color: var(--text-light);
}
.aj-details[open] .aj-details-toggle::after { content: '−'; }
.aj-details-toggle:hover { color: var(--dark); }
.aj-details-body {
  font-family: proxima-nova, sans-serif; font-size: 14px; color: var(--text-mid);
  line-height: 1.7; padding: 0 0 24px;
}
.aj-details-body p { margin-bottom: 14px; }
.aj-details-body p:last-child { margin-bottom: 0; }
.aj-details-body strong { font-weight: 600; color: var(--text); }

/* ── Right column ────────────────────────────────────────── */
.aj-product-right { position: sticky; top: 80px; padding-top: 56px; }
.aj-product-img { display: block; width: 100%; height: auto; box-shadow: 0 12px 48px rgba(0,0,0,0.18); }
.aj-product-img-sq { aspect-ratio: 1; object-fit: cover; }
.aj-product-img-ph { width: 100%; aspect-ratio: 3/4; background: var(--cream-dark); }

/* ── Four-pack grid ──────────────────────────────────────── */
.aj-fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 0; }
.aj-fp-grid-img { display: block; width: 100%; height: auto; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.aj-fp-grid-ph { width: 100%; aspect-ratio: 3/4; background: var(--cream-dark); }

/* ── Merch: size swatches ────────────────────────────────── */
.aj-size-wrap { margin-bottom: 24px; }
.aj-size-label {
  font-family: proxima-nova-condensed, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px;
}
.aj-size-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.aj-swatch {
  font-family: proxima-nova-condensed, sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--text); border: 1px solid var(--rule);
  padding: 6px 14px; cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.aj-swatch:hover { border-color: var(--dark); background: var(--cream-dark); }

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.aj-reviews-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 0 0;
  border-top: 1px solid var(--rule);
}
.aj-reviews-constrained {
  max-width: 680px;
}
.aj-reviews-hdr {
  display: flex; align-items: center; gap: 16px; margin-bottom: 36px;
}
.aj-reviews-lbl {
  font-family: proxima-nova-condensed, sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); white-space: nowrap;
}
.aj-reviews-rule { flex: 1; height: 1px; background: var(--rule); }

/* Stacked full-width rows for social proof on issue pages */
.aj-reviews-grid {
  display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px;
}
/* Single column list on subscription page */
.aj-reviews-list {
  display: flex; flex-direction: column; margin-bottom: 8px;
}

/* Review cards */
.aj-review-card {
  padding: 24px 28px; border: 1px solid var(--rule); background: var(--cream);
}
.aj-review-card-full {
  border: none; border-bottom: 1px solid var(--rule);
  padding: 28px 0; background: transparent;
}
.aj-review-card-full:first-child { padding-top: 0; }
.aj-review-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 12px; gap: 12px;
}
.aj-review-top-left {
  display: flex; align-items: center; gap: 10px;
}
.aj-review-stars {
  font-size: 14px; color: var(--orange); letter-spacing: 2px;
}
.aj-review-card:not(.aj-review-card-full) .aj-review-stars { margin-bottom: 10px; }

/* Verified subscriber badge */
.aj-verified-badge {
  display: inline-block;
  font-family: proxima-nova-condensed, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 2px 7px;
  line-height: 1.4;
}

.aj-review-text {
  font-family: proxima-nova, sans-serif; font-size: 15px; color: var(--text-mid); line-height: 1.7;
}
.aj-review-text p { margin: 0 0 12px; }
.aj-review-text p:last-child { margin-bottom: 0; }
.aj-review-meta {
  font-family: proxima-nova-condensed, sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light);
  white-space: nowrap;
}
.aj-review-card:not(.aj-review-card-full) .aj-review-meta { margin-top: 14px; }

/* CTA links */
.aj-reviews-cta {
  font-family: proxima-nova-condensed, sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding-top: 8px;
}
.aj-reviews-cta a { color: var(--orange) !important; text-decoration: none; }
.aj-reviews-cta a:hover { text-decoration: underline; }
.aj-reviews-sep { color: var(--text-light); margin: 0 8px; }

/* Show more button */
.aj-reviews-show-more-wrap { padding: 24px 0 8px; }
.aj-reviews-show-more {
  display: inline-block; font-family: proxima-nova-condensed, sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mid) !important; padding: 12px 24px; border: 1px solid var(--rule);
  text-decoration: none !important; transition: border-color 0.2s;
}
.aj-reviews-show-more:hover { border-color: var(--dark); }

.aj-no-reviews {
  font-family: proxima-nova, sans-serif; font-size: 15px; color: var(--text-light);
  font-style: italic; margin-bottom: 36px;
}

/* ============================================================
   REVIEW FORM
   ============================================================ */
.aj-review-form-wrap {
  padding-top: 40px; margin-top: 8px; border-top: 1px solid var(--rule);
}
.aj-review-form-title {
  font-family: acumin-pro-extra-condensed, sans-serif; font-size: 24px; font-weight: 700;
  color: var(--dark); margin-bottom: 28px;
}
.aj-form-field { margin-bottom: 20px; }
.aj-form-field label {
  display: block; font-family: proxima-nova-condensed, sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 8px;
}
.aj-form-field textarea,
.aj-form-field input[type="text"],
.aj-form-field input[type="email"] {
  width: 100%; max-width: 480px; font-family: proxima-nova, sans-serif; font-size: 15px;
  color: var(--dark); background: var(--cream); border: 1px solid var(--rule);
  padding: 12px 16px; box-sizing: border-box; transition: border-color 0.2s;
}
.aj-form-field textarea:focus,
.aj-form-field input:focus { border-color: var(--dark); outline: none; }

/* Star rating picker */
.aj-star-rating { display: inline-flex; gap: 4px; }
.aj-star-pick {
  font-size: 22px; color: var(--orange); cursor: pointer;
  transition: transform 0.1s; user-select: none;
}
.aj-star-pick:hover { transform: scale(1.15); }

/* Submit button */
.aj-review-submit {
  display: inline-block; background: var(--orange); color: var(--cream);
  font-family: proxima-nova-condensed, sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 28px;
  border: none; cursor: pointer; transition: background 0.2s; margin-top: 8px;
}
.aj-review-submit:hover { background: var(--orange-dark); }

.aj-review-note {
  font-family: proxima-nova, sans-serif; font-size: 14px; color: var(--text-mid); line-height: 1.6;
}
.aj-review-note a { color: var(--orange) !important; text-decoration: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .aj-product { padding: 40px 24px 64px; }
  .aj-product-inner { grid-template-columns: 1fr; gap: 40px; }
  .aj-product-right { position: static; order: -1; padding-top: 0; }
  .aj-product-img { max-width: 320px; margin: 0 auto; display: block; }
  .aj-product-title { font-size: clamp(28px, 7vw, 38px); }
  .aj-reviews-section { padding: 40px 0 0; }
  .aj-reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .aj-reviews-constrained { max-width: 100%; }
  .aj-review-top { flex-direction: column; gap: 4px; }
}
