/* ═══════════════════════════════════════════
   SignVectors – R4-5 Product Page Stylesheet
   product-r4-5.css
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --black:       #0f0f0f;
  --off-white:   #ffffff;
  --cream:       #ffffff;
  --gold:        #dd5f0b;
  --gold-light:  #f0d4c7;
  --green:       #2d7a4f;
  --green-light: #e8f5ed;
  --red-badge:   #c0392b;
  --text:        #1a1a1a;
  --text-mid:    #444;
  --text-muted:  #888;
  --border:      #e0ddd6;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow-soft: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-med:  0 4px 28px rgba(0,0,0,0.11);
  --transition:  0.2s ease;
  --container:   1250px;
  --font-serif:  'Verdana', Georgia, serif;
  --font-sans:   'Open Sans', system-ui, sans-serif;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: rgb(25, 134, 223); text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════
   BREADCRUMB BAR
══════════════════════════════════ */
.breadcrumb-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb a:hover { color: var(--black); }

.breadcrumb span[aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* ══════════════════════════════════
   PRODUCT GRID LAYOUT
══════════════════════════════════ */
.product-main {
  padding: 40px 0 80px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* ══════════════════════════════════
   LEFT COLUMN
══════════════════════════════════ */

/* H1 */
.product-h1 {
 font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 14px;
}

.sign-code-inline {
  background: var(--black);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin: 0 4px;
}

.h1-sub {
  display: block;
  font-size: 0.54em;
  font-weight: 300;
  color: var(--text-muted);
  font-family: var(--font-sans);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* Rating bar */
.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.stars { display: flex; gap: 2px; }
.star { font-size: 17px; color: #ddd; }
.star.filled { color: var(--gold); }
.star.half   { color: var(--gold); opacity: 0.5; }

.rating-count { font-size: 14px; font-weight: 600; color: var(--text); }
.rating-label { font-weight: 400; color: var(--text-muted); margin-left: 2px; }

.badge-mutcd {
  background: var(--black);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ── Product image wrap ── */
.product-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
}

.product-image-wrap img {
  width: 100%;
  height: 65vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.35s ease;
  display: block;
}

.product-image-wrap:hover img { transform: scale(1.015); }

/* Free download badge */
.img-download-badge {
  position: absolute;
  bottom: 56px;
  right: 16px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: background var(--transition), transform var(--transition);
}

.img-download-badge:hover {
  background: #225e3b;
  transform: translateY(-1px);
}

/* Share row */
.img-share-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: var(--font-sans);
}

.share-pill:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ══════════════════════════════════
   DESIGNER REVIEW SECTION
══════════════════════════════════ */
.designer-review {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-soft);
}

.dr-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

/* Real photo avatar */
.dr-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.dr-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dr-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.dr-title {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 13px;
}

.dr-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Social links row */
.dr-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.dr-social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #555;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 4px 10px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.dr-social-link:hover { background: #111827; color: #fff; border-color: #111827; }
.dr-social-link[aria-label="LinkedIn Profile"]:hover  { background: #0077b5; border-color: #0077b5; }
.dr-social-link[aria-label="Behance Portfolio"]:hover { background: #1769ff; border-color: #1769ff; }
.dr-social-link[aria-label="X Profile"]:hover         { background: #000;    border-color: #000; }

.dr-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 14px;
}

.dr-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Illustrator proof image */
.dr-proof-image-wrap {
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.dr-proof-image {
  width: 100%;
  height: auto;
  display: block;
}

.dr-proof-caption {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 14px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* Checklist */
.dr-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 20px;
}

.dr-checklist li {
  font-size: 13.5px;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.dr-checklist .check {
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Mobile */
@media (max-width: 600px) {
  .designer-review { padding: 22px 18px; }
  .dr-checklist { grid-template-columns: 1fr; }
  .dr-header { gap: 12px; }
  .dr-avatar { width: 48px; height: 48px; }
}
/* ══════════════════════════════════
   PRODUCT DESCRIPTION
══════════════════════════════════ */
.product-desc-section {
  margin-bottom: 36px;
}

.product-desc-section h2,
.spec-section h2,
.faq-section h2,
.related-blogs-section h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.product-desc-section p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ══════════════════════════════════
   SPEC TABLE
══════════════════════════════════ */
.spec-section {
  margin-bottom: 40px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.spec-table tbody tr:hover { background: var(--off-white); }

.spec-table td {
  padding: 11px 14px;
  vertical-align: top;
  color: var(--text-mid);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--black);
  width: 38%;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════
   FAQ SECTION
══════════════════════════════════ */
.faq-section {
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.7;
  padding: 0 4px 16px;
}

/* ══════════════════════════════════
   RELATED BLOGS
══════════════════════════════════ */
.related-blogs-section {
  margin-bottom: 20px;
}

.blog-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.blog-link-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(201,168,76,0.15);
  color: var(--black);
}

.blc-icon { font-size: 18px; flex-shrink: 0; }

/* ══════════════════════════════════
   RIGHT COLUMN – BUY PANEL
══════════════════════════════════ */
.product-right {
  position: static;
  top: 88px;
}

.buy-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-med);
  overflow: hidden;
  margin-bottom: 24px;
}

/* Trust row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 20px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.trust-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-mid);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 10px;
}

/* Panel sections */
.panel-section {
  padding: 22px 22px 24px;
}

.panel-section-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.format-tags { font-weight: 400; text-transform: none; color: var(--text-muted); letter-spacing: 0; }

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}

.field-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  margin-bottom: 14px;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.field-select:focus { border-color: var(--gold); }

/* Format radio options */
.format-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.format-option {
  cursor: pointer;
}

.format-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fo-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
}

.format-option input:checked + .fo-inner {
  border-color: var(--gold);
  background: #fffdf5;
}

.fo-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  min-width: 30px;
}

.fo-desc {
  font-size: 12px;
  color: var(--text-muted);
  flex: 1;
}

.fo-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

/* Divider */
.panel-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Buttons ── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.02em;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: orangered;
  color: #fff;
}

.btn-primary:hover {
  background: #2a2a2a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.btn-secondary {
  background: var(--off-white);
  color: var(--black);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  background: #eee;
  border-color: #ccc;
}

.btn-free {
  background: var(--green);
  color: #fff;
}

.btn-free:hover {
  background: #225e3b;
  box-shadow: 0 4px 16px rgba(45,122,79,0.3);
}

.btn-premium {
  background: linear-gradient(135deg, #c9a84c 0%, #e8d48a 50%, #c9a84c 100%);
  color: var(--black);
  font-size: 15px;
  padding: 15px 20px;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-premium:hover {
  box-shadow: 0 6px 28px rgba(201,168,76,0.5);
}

/* ── Complete Pack ── */
.pack-section {
  background: #fffdf5;
  position: relative;
}

.pack-badge {
  display: inline-block;
  background: var(--red-badge);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.pack-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 6px;
}

.pack-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pack-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.pack-list li {
  font-size: 13px;
  color: var(--text-mid);
}

.pack-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.pack-price {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--black);
  font-weight: 400;
}

.pack-save {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  background: var(--green-light);
  padding: 3px 8px;
  border-radius: 3px;
}

/* Checkout note */
.checkout-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  background: var(--off-white);
  line-height: 1.5;
}

.checkout-note a { color: var(--text-mid); text-decoration: underline; }

/* ── Related panel ── */
.related-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.related-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.related-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(201,168,76,0.15);
}

.related-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 4px;
}

.related-card span {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
}

.related-card small {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ══════════════════════════════════
   LIGHTBOX
══════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  background: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  z-index: 1;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-right {
    position: static;
  }

  .dr-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-h1 { font-size: 26px; }

  .img-share-row { gap: 6px; }

  .designer-review { padding: 22px 20px; }

  .buy-panel { border-radius: var(--radius-md); }

  .pack-price { font-size: 28px; }

  .related-grid { grid-template-columns: repeat(3, 1fr); }

  .trust-row { gap: 4px; }
}
