/* Product page specific styles */

.product-container {
  min-height: 100vh;
  position: relative;
}

#productContent {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Content wrapper width is now in shared.css */

.product-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

/* Add top padding on desktop to clear the fixed menu */
@media (min-width: 1025px) {
  .product-header {
    padding-top: 5rem;
  }
}

.product-header .main-logo {
  width: 100px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.product-header h1 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-type {
  font-size: 1.2rem;
  color: var(--warm-brown);
  font-weight: 400;
}

.product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-section {
  background: rgba(245, 242, 237, 0.8);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 111, 71, 0.1);
}

.product-section h2 {
  font-size: 1.3rem;
  color: var(--warm-brown);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-green);
  padding-bottom: 0.5rem;
  font-weight: 600;
}

.product-section p {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-green);
  margin: 1rem 0;
}

.product-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

.detail-label {
  font-weight: 600;
  color: var(--warm-brown);
}

.detail-value {
  color: var(--text-dark);
}

/* Preparation method styles */
.preparation-method {
  background: rgba(250, 248, 245, 0.6);
  border-left: 4px solid var(--primary-green);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.preparation-method:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.preparation-method:last-child {
  margin-bottom: 0;
}

.preparation-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--warm-brown);
}

.preparation-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.preparation-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-dark);
}

.preparation-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.preparation-row-infusion {
  flex-direction: column;
  align-items: flex-start;
}

.preparation-label {
  font-weight: 600;
  color: var(--warm-brown);
  min-width: 80px;
}

.preparation-value {
  flex: 1;
  color: var(--text-dark);
}

.infusion-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
}

.infusion-time-item {
  background: rgba(183, 211, 51, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  border: 1px solid rgba(183, 211, 51, 0.3);
}

/* Tags styles */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.product-tag {
  background: rgba(183, 211, 51, 0.2);
  color: var(--text-dark);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(183, 211, 51, 0.4);
  transition: var(--transition-smooth);
}

.product-tag:hover {
  background: rgba(183, 211, 51, 0.3);
  transform: translateY(-1px);
}

/* Metrics styles */
.product-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 111, 71, 0.2);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.metric-label {
  font-weight: 600;
  color: var(--warm-brown);
  min-width: 100px;
  font-size: 0.95rem;
}

.metric-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.metric-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.metric-dot.filled {
  background: var(--primary-green);
  border: 1px solid var(--primary-green);
}

.metric-dot.unfilled {
  background: transparent;
  border: 1px solid rgba(139, 111, 71, 0.3);
}

@media (max-width: 768px) {
  .product-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-header h1 {
    font-size: 2rem;
  }

  .product-section {
    padding: 1.5rem;
  }

  .metric-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .metric-label {
    min-width: auto;
  }
}
