/* =============================================
   ANNING'S CLOTHING — PRODUCT PAGE STYLES
   ============================================= */

/* --- BREADCRUMB --- */
.breadcrumb {
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--mid-grey);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--mid-grey); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--dark-grey); }

/* --- PRODUCT LAYOUT --- */
.product-layout {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 20px;
  padding: 0 40px 80px;
  align-items: start;
}

/* Thumbnails column */
.product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.product-thumb {
  width: 72px;
  height: 88px;
  background: var(--off-white);
  padding: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  flex-shrink: 0;
  overflow: hidden;
}
.product-thumb.active { border-color: var(--black); }
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Main image */
.product-main-img {
  aspect-ratio: 3/4;
  background: var(--off-white);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.product-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-main-img:hover img { transform: scale(1.02); }

/* --- PRODUCT INFO --- */
.product-info {
  padding: 10px 0 0 20px;
}
.product-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 4px 10px;
  margin-bottom: 18px;
}
.product-name {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.product-price {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.product-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.product-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 12px;
}
.product-desc {
  font-size: 13px;
  color: var(--dark-grey);
  line-height: 1.8;
}

/* Color selector */
.color-options {
  display: flex;
  gap: 10px;
  align-items: center;
}
.color-option {
  width: 30px; height: 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
  position: relative;
}
.color-option.active {
  border-color: var(--black);
}
.color-option::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px;
  left: 50%; transform: translateX(-50%);
  font-size: 9px;
  white-space: nowrap;
  color: var(--mid-grey);
  opacity: 0;
  transition: opacity var(--transition);
}
.color-option:hover::after { opacity: 1; }

/* Size selector */
.size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.size-guide-link {
  font-size: 11px;
  color: var(--dark-grey);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition);
}
.size-guide-link:hover { color: var(--black); }
.size-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.size-option {
  height: 44px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 400;
  color: var(--dark-grey);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
  background: transparent;
}
.size-option:hover { border-color: var(--black); color: var(--black); }
.size-option.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.size-option.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Add to bag */
.add-to-bag {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-add-bag {
  height: 54px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-sans);
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-add-bag:hover { background: #2a2a2a; }
.btn-wishlist {
  height: 48px;
  background: transparent;
  color: var(--black);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-wishlist:hover { border-color: var(--black); }

/* Accordions */
.accordion-item {
  border-top: 1px solid var(--border);
}
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--black);
  font-family: var(--font-sans);
  border: none;
}
.accordion-icon {
  font-size: 18px;
  color: var(--mid-grey);
  transition: transform var(--transition);
  line-height: 1;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 0 20px;
  font-size: 13px;
  color: var(--dark-grey);
  line-height: 1.8;
}
.accordion-item.open .accordion-body { display: block; }

/* --- COMPLETE THE LOOK --- */
.complete-look-section {
  padding: 80px 40px;
  background: var(--off-white);
}
.complete-look-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.look-item { cursor: pointer; }
.look-item-img {
  aspect-ratio: 3/4;
  background: #e8e6e1;
  overflow: hidden;
  margin-bottom: 16px;
}
.look-item-img img { transition: transform 0.6s ease; }
.look-item:hover .look-item-img img { transform: scale(1.04); }
.look-item-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.look-item-material { font-size: 11px; color: var(--mid-grey); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.look-item-price { font-size: 13px; }

/* --- REVIEWS --- */
.reviews-section {
  padding: 80px 40px;
}
.reviews-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.reviews-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.reviews-rating {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.reviews-rating-score {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
}
.reviews-rating-denom { font-size: 14px; color: var(--mid-grey); }
.reviews-stars { color: var(--black); font-size: 16px; letter-spacing: 2px; margin-bottom: 6px; }
.reviews-count { font-size: 12px; color: var(--mid-grey); }
.btn-review {
  margin-top: 18px;
  padding: 12px 24px;
  border: 1px solid var(--black);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition);
}
.btn-review:hover { background: var(--black); color: var(--white); }
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.review-item { border-bottom: 1px solid var(--border); padding-bottom: 36px; }
.review-item:last-child { border-bottom: none; }
.review-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review-author { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.review-location { font-size: 11px; color: var(--mid-grey); letter-spacing: 0.04em; }
.review-date { font-size: 11px; color: var(--mid-grey); }
.review-stars { color: var(--black); font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--dark-grey); line-height: 1.75; font-style: italic; }
