/* ==========================================================
   VIBRA â€” Details / Size Guide page
   Editorial table + measurement diagram + product spec grid.
   ========================================================== */

/* ==========================================================
   SIZE CHART â€” clean luxury HTML table
   Premium dark UI: thin grid lines, gold uppercase headers,
   fixed column widths, generous but tight cell padding.
   ========================================================== */
.size-chart-section {
  display: block;
}

.size-chart-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
  text-align: center;
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  .size-chart-heading {
    font-size: 26px;
    margin-bottom: 22px;
  }
}

.size-chart-wrap {
  margin: 0 auto;
  max-width: 1080px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.size-chart {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 720px;
}

/* Headers */
.size-chart thead th {
  background: #000;
  padding: 18px 14px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.size-chart thead th:last-child {
  border-right: none;
}
.size-chart .th-label {
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.2;
}
.size-chart .th-unit {
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}

/* Body */
.size-chart tbody th,
.size-chart tbody td {
  padding: 16px 14px;
  text-align: center;
  vertical-align: middle;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  transition: background 0.3s ease;
}
.size-chart tbody td:last-child,
.size-chart tbody th:last-child {
  border-right: none;
}

/* Size column emphasis */
.size-chart .size-cell {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  width: 90px;
}

/* Subtle hover row */
.size-chart tbody tr:hover th,
.size-chart tbody tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}

/* Smaller breakpoints */
@media (max-width: 640px) {
  .size-chart thead th {
    padding: 14px 10px;
  }
  .size-chart .th-label {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .size-chart .th-unit {
    font-size: 10px;
  }
  .size-chart tbody th,
  .size-chart tbody td {
    padding: 13px 10px;
    font-size: 12px;
  }
  .size-chart .size-cell {
    font-size: 18px;
    width: 64px;
  }
}

/* ==========================================================
   SHARED H2
   ========================================================== */
.details-h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bone);
}
@media (min-width: 1024px) {
  .details-h2 {
    font-size: 30px;
  }
}

/* ==========================================================
   HOW TO MEASURE
   ========================================================== */
.measure-block {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
}
.measure-block:hover {
  transform: translateX(4px);
}
.measure-block dt {
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.measure-block dd {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* ==========================================================
   DIAGRAM FRAME â€” soft luminous backing
   ========================================================== */
.diagram-frame {
  position: relative;
  width: 100%;
  max-width: 880px;
  padding: 16px;
}
.diagram-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 175, 55, 0.12) 0%,
    rgba(212, 175, 55, 0.04) 35%,
    transparent 70%
  );
  filter: blur(20px);
  z-index: -1;
}
.diagram-frame img {
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 1px rgba(212, 175, 55, 0.4));
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.diagram-frame:hover img {
  transform: scale(1.02);
}

/* ==========================================================
   PLEASE NOTE BOX
   ========================================================== */
.please-note {
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 22px 22px 24px;
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.04) 0%,
    rgba(212, 175, 55, 0) 100%
  );
  position: relative;
}
.please-note::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 16px;
  height: 16px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.please-note::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 16px;
  height: 16px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

/* ==========================================================
   PRODUCT DETAILS â€” 4-COLUMN
   ========================================================== */
.detail-card {
  background: var(--ink);
  padding: 36px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s ease, transform 0.4s ease;
  position: relative;
}
.detail-card:hover {
  background: #060606;
  transform: translateY(-3px);
}
.detail-card:hover .detail-icon {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}
.detail-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.04);
  margin-bottom: 8px;
  transition:
    border-color 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease;
}
.detail-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bone);
  line-height: 1.1;
}
.detail-body {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.detail-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
.detail-list li::before {
  content: "â€¢";
  position: absolute;
  left: 2px;
  top: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gold);
}

/* ==========================================================
   RESPONSIVE â€” keep diagram dominant on mobile
   ========================================================== */
@media (max-width: 1023px) {
  .diagram-frame {
    max-width: 660px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .size-table thead th {
    font-size: 10px;
    padding: 14px 14px;
  }
  .size-table tbody td {
    padding: 14px 14px;
    font-size: 12px;
  }
  .size-table .size-cell {
    font-size: 18px;
    width: 60px;
  }
}

/* ==========================================================
   SLEEK BLACK / WHITE OVERRIDES
   ========================================================== */
.size-chart .th-label,
.measure-block dt {
  color: rgba(255, 255, 255, 0.9);
}

.size-chart .size-cell {
  color: var(--bone);
}

.size-chart tbody tr:hover th,
.size-chart tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.diagram-frame::before {
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 35%,
    transparent 70%
  );
}

.diagram-frame img {
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.32));
}

.please-note {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.please-note::before {
  border-top-color: var(--bone);
  border-left-color: var(--bone);
}

.please-note::after {
  border-bottom-color: var(--bone);
  border-right-color: var(--bone);
}

.detail-card:hover .detail-icon {
  border-color: var(--bone);
  color: var(--bone);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.16);
}

.detail-icon {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--bone);
  background: rgba(255, 255, 255, 0.04);
}

.detail-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--bone);
  left: 4px;
  top: 0.75em;
  font-size: 0;
  line-height: 1;
}

.cta-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 28px;
  background: #a8a8a8;
  color: #000;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-gold:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -18px rgba(255, 255, 255, 0.8);
}

.cta-arrow {
  transition: transform 0.35s ease;
}

.cta-gold:hover .cta-arrow {
  transform: translateX(6px);
}

.text-gold,
.text-gold-light {
  color: var(--bone) !important;
}

.bg-gold {
  background-color: var(--bone) !important;
}

.border-gold {
  border-color: var(--bone) !important;
}

.hover\:text-gold:hover,
.hover\:border-gold:hover {
  color: var(--bone) !important;
  border-color: var(--bone) !important;
}
