/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.5;
  color: #2e6147;
  background: linear-gradient(135deg, #e7e7dc 0%, #bcd0c7 100%);
  min-height: 100vh;
}

/* Color Variables */
:root {
  --qian-purple: #8163a7;
  --qian-green: #2e6147;
  --qian-gold: #bfa14b;
  --qian-cream: #e7e7dc;
  --qian-sage: #bcd0c7;
  --qian-dark: #3d4943;
  --qian-border: #907045;
  --qian-light-purple: rgba(129, 99, 167, 0.1);
}

/* Layout Container */
.page-container {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--qian-cream) 0%,
    var(--qian-sage) 100%
  );
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

.product-detail {
  width: 100%;
  max-width: 390px;
  background: white;
  border: 2px solid #ced4da;
  border-radius: 8px;
  min-height: 100vh;
  position: relative;
  margin: 0 auto;
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-container {
  width: 48px;
  height: 48px;
  background: var(--qian-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
}

.logo-icon {
  width: 38px;
  height: 38px;
}

.brand-name {
  font-family: "Crimson Pro", serif;
  font-size: 20px;
  font-style: italic;
  line-height: 28px;
  letter-spacing: 1px;
  color: var(--qian-purple);
}

.brand-qian {
  font-weight: 700;
}

.brand-ensemble {
  font-weight: 400;
}

.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39.75px;
  height: 42px;
  padding: 12px 8px;
  border-radius: 50px;
  border: none;
  background: var(--qian-light-purple);
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-button:hover {
  background: rgba(129, 99, 167, 0.2);
}

/* Main Content */
.main-content {
  padding: 0 16px;
}

/* Product Image Section */
.product-image-section {
  margin-bottom: 28px;
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 24px;
  border: 2px solid var(--qian-border);
  background: #f3f4f6;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.favorite-button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.favorite-button:hover {
  background: white;
  transform: scale(1.1);
}

/* Product Title Section */
.product-title-section {
  text-align: center;
  margin-bottom: 28px;
  padding: 0 55px;
}

.product-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: var(--qian-green);
  margin-bottom: 16px;
}

/* .product-description { */
  /* font-family: "Cormorant Garamond", serif; */
  /* font-size: 16px; */
  /* font-weight: 400; */
  /* line-height: 24px; */
  /* color: var(--qian-purple); */
  /* text-align: center; */
/* } */

/* Properties Card */
.properties-card {
  background: var(--qian-cream);
  border: 2px solid var(--qian-border);
  border-radius: 24px;
  padding: 26px;
  margin-bottom: 28px;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
}

.price-size-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.price {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--qian-purple);
}

.size {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--qian-green);
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1px 0;
}

.detail-icon {
  width: 12px;
  height: 15.959px;
  flex-shrink: 0;
}

.detail-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--qian-green);
}

/* Section Titles */
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--qian-purple);
  margin-bottom: 17px;
}

/* Story Section */
.story-section {
  margin-bottom: 28px;
}

.story-card {
  background: var(--qian-sage);
  border: 2px solid var(--qian-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
}

.story-author {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--qian-purple);
  object-fit: cover;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 5.4px;
}

.author-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--qian-green);
}

.author-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--qian-purple);
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-content p {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.64;
  color: var(--qian-purple);
  margin: 0;
}

/* Care Section */
.care-section {
  margin-bottom: 28px;
}

.care-card {
  background: var(--qian-cream);
  border: 2px solid var(--qian-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
}

.care-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1px 0;
  margin-bottom: 12px;
}

.care-item:last-child {
  margin-bottom: 0;
}

.care-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.care-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--qian-green);
}

/* Similar Section */
.similar-section {
  margin-bottom: 28px;
}

.similar-grid {
  display: flex;
  gap: 16px;
}

.similar-card {
  flex: 1;
  border: 2px solid var(--qian-border);
  border-radius: 24px;
  padding: 18px;
  text-align: center;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
}

.similar-card-sage {
  background: var(--qian-sage);
}

.similar-card-cream {
  background: var(--qian-cream);
}

.similar-image {
  height: 96px;
  border-radius: 8px;
  border: 2px solid var(--qian-gold);
  overflow: hidden;
  margin-bottom: 6px;
}

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

.similar-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--qian-green);
  margin-bottom: 6px;
}

.similar-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--qian-purple);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 32px 0;
}

.btn-primary,
.btn-secondary {
  width: 100%;
  border: 2px solid var(--qian-border);
  border-radius: 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  padding: 17px 24px;
  background: var(--qian-purple);
  color: white;
}

.btn-primary:hover {
  background: rgba(129, 99, 167, 0.9);
}

.btn-secondary {
  padding: 13px 24px;
  background: var(--qian-gold);
  color: var(--qian-green);
}

.btn-secondary:hover {
  background: rgba(191, 161, 75, 0.9);
}

/* Footer */
.footer {
  text-align: center;
  padding: 15.4px 24px 16.6px;
}

.footer-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--qian-purple);
  text-align: center;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid var(--qian-purple);
  outline-offset: 2px;
}
