/* ==========================================================================
   VOLT & LEATHER — Product Detail Page (PDP) Stylesheet
   Applies to: the-outlaw, the-desperado, the-maverick,
               the-ranger, the-renegade, the-vaquero
   ========================================================================== */

/* ===== LAYOUT ===== */
.pdp-layout {
  padding-top: 120px;
  padding-bottom: 100px;
}


/* ===== GALLERY ===== */
.gallery-col {
  position: relative;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--dark);
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}

.gallery-main:hover {
  filter: grayscale(0%);
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid transparent;
  filter: grayscale(40%) brightness(0.7);
  transition: all 0.25s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--accent);
  filter: grayscale(0%) brightness(1);
}


/* ===== INFO COLUMN ===== */
.info-col-sticky {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.pdp-model-number {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.pdp-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--off-white);
  line-height: 1.05;
  margin-bottom: 8px;
}

.pdp-price {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--off-white);
  margin-bottom: 32px;
}

.pdp-price small {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-left: 8px;
  font-weight: 400;
}

.pdp-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}


/* ===== SIZE SELECTOR ===== */
.size-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.size-label a {
  color: rgba(200, 169, 110, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.size-btn {
  border: 1px solid rgba(244, 244, 244, 0.15);
  background: transparent;
  color: rgba(244, 244, 244, 0.5);
  font-family: var(--sans);
  font-size: 12px;
  padding: 10px 4px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.size-btn:hover {
  border-color: rgba(244, 244, 244, 0.5);
  color: var(--off-white);
}

.size-btn.active {
  background: var(--off-white);
  color: var(--black);
  border-color: var(--off-white);
  font-weight: 600;
}

.size-btn.unavailable {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}

[data-size-value] {
  display: none;
}


/* ===== CTA ===== */
.pdp-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-add-cart {
  border-radius: 0;
  background: var(--off-white);
  color: var(--black);
  border: 1px solid var(--off-white);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 18px 36px;
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-add-cart:hover {
  background: transparent;
  color: var(--off-white);
}

.btn-add-cart:disabled {
  opacity: 0.6;
  cursor: default;
}


/* ===== TRUST BADGES ===== */
.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(244, 244, 244, 0.35);
  letter-spacing: 0.05em;
}

.trust-item i {
  color: var(--accent);
  font-size: 12px;
}


/* ===== ACCORDION ===== */
.pdp-accordion {
  margin-top: 40px;
}

.accordion-item {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--border) !important;
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--border) !important;
}

.accordion-button {
  background: transparent !important;
  color: var(--off-white) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 20px 0 !important;
  box-shadow: none !important;
}

.accordion-button::after {
  filter: invert(1);
  opacity: 0.4;
}

.accordion-body {
  padding: 0 0 24px !important;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
}

.accordion-body p {
  margin-bottom: 12px;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}


/* ===== RELATED PRODUCTS ===== */
#related {
  padding: 80px 0 100px;
  border-top: 1px solid var(--border);
}


/* ===== BREADCRUMB ===== */
.volt-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: rgba(244, 244, 244, 0.3);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

.volt-breadcrumb a {
  color: rgba(244, 244, 244, 0.3);
  transition: color 0.2s ease;
}

.volt-breadcrumb a:hover {
  color: var(--off-white);
}

.volt-breadcrumb span {
  color: rgba(244, 244, 244, 0.15);
}

.volt-breadcrumb .current {
  color: rgba(244, 244, 244, 0.6);
}
