/* ============================================================
   Product Detail Page Styles
   Brand Colors: #7A3B4E (Primary), Black, White
   ============================================================ */

:root {
  --primary-color: #7A3B4E;
  --text-color: #111;
  --light-text: #666;
  --border-color: #eaeaea;
  --bg-color: #fff;
}

/* =======================
   GLOBAL STYLES
   ======================= */
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  opacity: 0.8;
}

/* =======================
   PRODUCT DETAIL CONTAINER
   ======================= */
.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 8%;
  align-items: start;
}

@media (max-width: 900px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

/* =======================
   PRODUCT IMAGE GALLERY
   ======================= */
.product-images {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  object-fit: scale-down;
  max-height: 550px;
}

.thumbnail-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary-color);
}

/* =======================
   PRODUCT DETAILS SECTION
   ======================= */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
}

.product-price .discount {
  text-decoration: line-through;
  color: var(--light-text);
  font-size: 1.2rem;
  margin-left: 10px;
}

.product-description {
  color: var(--light-text);
  line-height: 1.6;
  font-size: 1rem;
}

.product-color {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-label {
  font-weight: 500;
}

.color-swatch {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}


/* =============================
   Product Color Swatches
   ============================= */

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ddd;
  margin-right: 8px;
  display: inline-block;
}

/* =============================
   Product Color Section
   ============================= */

.product-color {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1rem 0;
}

.color-label {
  font-weight: 600;
  color: #7A3B4E;
}

.color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ccc;
  display: inline-block;
}

.color-swatch.black {
  background-color: #000;
}

.color-name {
  font-size: 0.95rem;
  color: #333;
}

/* =============================
   Product Size Section
   ============================= */
.product-size {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1rem 0;
}

.size-label {
  font-weight: 600;
  color: #7A3B4E;
}

.size-options {
  display: flex;
  gap: 8px;
}

.size-btn {
  padding: 6px 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.size-btn:hover,
.size-btn.active {
  border-color: #7A3B4E;
  background-color: #7A3B4E;
  color: #fff;
}


/* Optional hover effect */
.color-swatch:hover {
  transform: scale(1.1);
  border-color: #7A3B4E;
}

/* =============================
   Breadcrumbs Section
   ============================= */
.breadcrumb-container {
    background-color: #f8f8f8; /* subtle light background */
    padding: 15px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.product-breadcrumbs {
    font-size: 1.2rem; /* larger font */
    color: #7A3B4E;
    font-weight: 500;
}

.product-breadcrumbs .breadcrumb-link {
    color: #7A3B4E;
    text-decoration: none;
}

.product-breadcrumbs .breadcrumb-link:hover {
    text-decoration: underline;
}

.product-breadcrumbs .breadcrumb-current {
    font-weight: 700;
}

.product-breadcrumbs .breadcrumb-separator {
    margin: 0 8px;
    color: #555; /* slightly muted separator color */
}



/* =======================
   BUTTONS
   ======================= */
.btn {
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* =======================
   PRODUCT META INFO
   ======================= */
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--light-text);
}

.product-meta span {
  display: block;
}

/* =======================
   ADDITIONAL STYLES
   ======================= */
.separator {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  margin: 1rem 0;
}
