/* ========== BREADCRUMB ========== */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px 0;
  font-size: 13px;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-navy);
}

.breadcrumb span {
  margin: 0 6px;
}

/* ========== PDP ========== */
.pdp {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px 80px;
  align-items: flex-start;
}

.pdp-images {
  flex: 0 0 55%;
  background: var(--color-bg-warm);
  padding: 32px;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.pdp-thumb-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.pdp-thumb-rail .pdp-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 0;
  background: white;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}

.pdp-thumb-rail .pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumb-rail .pdp-thumb.active {
  border-color: var(--color-gold);
}

.pdp-thumb-rail .pdp-thumb:hover {
  border-color: var(--color-gold);
}

.pdp-main-image {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  background: white;
}

.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-quantity {
  margin-bottom: 20px;
}

.pdp-quantity-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.pdp-quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--color-navy);
  cursor: pointer;
  transition: background-color 0.15s;
}

.qty-btn:hover {
  background: var(--color-bg-warm);
}

.qty-input {
  width: 50px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-navy);
  background: white;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: none;
}

.pdp-details {
  flex: 1;
  padding: 12px 0 0 0;
}

.pdp-details .label {
  display: block;
  margin-bottom: 8px;
}

.pdp-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.pdp-price {
  font-size: 20px;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 28px;
}

.pdp-color-selector {
  margin-bottom: 24px;
}

.pdp-color-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.pdp-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.swatch.active {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px var(--color-gold);
}

.swatch:hover {
  border-color: var(--color-gold);
}

.pdp-add-to-cart {
  width: 100%;
  margin-bottom: 24px;
}

.pdp-features {
  list-style: none;
  margin-bottom: 28px;
}

.pdp-features li {
  font-size: 14px;
  color: var(--color-text);
  padding: 5px 0;
  line-height: 1.5;
}

.pdp-features li::before {
  content: "\2726 ";
  color: var(--color-gold);
}

.accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  border: none;
  border-top: 1px solid var(--color-border);
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
  cursor: pointer;
}

.accordion-icon {
  font-size: 18px;
  color: var(--color-text-light);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-panel.open {
  max-height: 300px;
}

.accordion-panel p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  padding-bottom: 16px;
}

@media (max-width: 768px) {
  .pdp {
    flex-direction: column;
    gap: 24px;
    padding: 20px 20px 60px;
  }

  .pdp-images {
    flex: none;
    padding: 20px;
    border-radius: 12px;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .pdp-thumb-rail {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
  }

  .pdp-thumb-rail .pdp-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .pdp-details {
    padding: 0;
  }

  .pdp-title {
    font-size: 24px;
  }

  .breadcrumb {
    padding: 14px 20px 0;
  }
}
