/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 480px;
  background-color: var(--color-dark-bg);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 4rem 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: 0.05rem;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* SECTION TITLES */
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 4rem 0 2.5rem 0;
  text-align: center;
  letter-spacing: 0.05rem;
}

/* PRODUCT CARDS & GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

.product-card {
  background-color: #ffffff;
  border: 0.1rem solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f9f9f9;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-decoration: none;
  color: rgb(var(--color-foreground));
}

.product-card-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: rgb(var(--color-foreground));
}

.product-card-price .regular-price {
  text-decoration: none;
}

/* PAGE HEADER TITLE & SIMPLE PAGE CONTENT */
.page-main-header {
  padding: 4rem 0 2rem 0;
  text-align: center;
}

.page-main-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.simple-page-content {
  max-width: 800px;
  margin: 0 auto 6rem auto;
  font-size: 1.6rem;
  line-height: 1.8;
}

.simple-page-content h2,
.simple-page-content h3 {
  margin: 2.5rem 0 1rem 0;
  font-weight: 700;
}

.simple-page-content ul,
.simple-page-content ol {
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.simple-page-content p {
  margin-bottom: 1.5rem;
}

/* FAQ ACCORDION */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto 6rem auto;
  border-top: 0.1rem solid var(--color-border);
}

.faq-item {
  border-bottom: 0.1rem solid var(--color-border);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  color: rgb(var(--color-foreground));
}

.faq-icon {
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 2rem;
  font-size: 1.6rem;
  line-height: 1.7;
  color: rgba(var(--color-foreground), 0.85);
}

.faq-item.open .faq-answer {
  display: block;
}

/* PRODUCT DETAIL PAGE */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin: 4rem 0 6rem 0;
}

.product-gallery {
  width: 100%;
  border: 0.1rem solid var(--color-border);
  background-color: #f9f9f9;
}

.product-gallery-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-vendor {
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.6);
}

.product-title {
  font-size: 3.2rem;
  font-weight: 700;
}

.product-price-block {
  font-size: 2.2rem;
  font-weight: 700;
}

.quantity-selector {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 14rem;
}

.quantity-input-wrap {
  display: flex;
  border: 0.1rem solid var(--color-border);
  width: 100%;
}

.quantity-btn {
  width: 4rem;
  height: 4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
}

.quantity-input {
  width: 6rem;
  border: none;
  text-align: center;
  font-size: 1.6rem;
}

.product-description-box {
  margin-top: 2rem;
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(var(--color-foreground), 0.85);
}

.product-description-box p {
  margin-bottom: 1.5rem;
}

/* CONTACT & LOGIN FORMS */
.form-container {
  max-width: 600px;
  margin: 0 auto 6rem auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.form-group label {
  font-size: 1.4rem;
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1.2rem 1.4rem;
  font-size: 1.5rem;
  border: 0.1rem solid var(--color-border);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgb(var(--color-foreground));
}

.form-feedback {
  padding: 1.2rem;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  border-radius: 0.4rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: #dcfce7;
  color: #15803d;
  border: 0.1rem solid #bbf7d0;
}

/* CART PAGE */
.cart-table-container {
  margin: 3rem 0 5rem 0;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 0.1rem solid var(--color-border);
}

.cart-table th {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: rgba(var(--color-foreground), 0.6);
}

.cart-item-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cart-item-img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border: 0.1rem solid var(--color-border);
}

.cart-summary-box {
  max-width: 400px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: right;
}

.cart-total-price {
  font-size: 2.4rem;
  font-weight: 700;
}