/* ================================================
   INNER PAGES — pages.css
   Shared by all pages/ subpages
   ================================================ */

/* Back link to root from pages/ */
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; transition: color 0.18s; }
.back-link:hover { color: var(--brown); }
.back-link::before { content: '←'; }

/* Page hero */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--border); }
.page-hero .label { margin-bottom: 0.5rem; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1rem; }
.page-hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.72; max-width: 560px; }

/* Product page layout */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; padding: clamp(3rem, 6vw, 5rem) 0; }
.product-gallery { position: sticky; top: 100px; }
.product-gallery img { width: 100%; border: 1px solid var(--border); }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.5rem; }
.product-gallery-thumbs img { cursor: pointer; border: 2px solid transparent; transition: border-color 0.18s; aspect-ratio: 1; object-fit: cover; }
.product-gallery-thumbs img:hover, .product-gallery-thumbs img.active { border-color: var(--brown); }
.product-gallery-placeholder { width: 100%; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; }

.product-info { display: flex; flex-direction: column; gap: 1.5rem; }
.product-info h1 { font-family: var(--font-heading); font-size: clamp(1.7rem, 3.5vw, 2.5rem); line-height: 1.12; }
.product-price-row { display: flex; align-items: center; gap: 0.75rem; }
.product-price { font-family: var(--font-heading); font-size: 2rem; }
.product-price-old { font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.product-badge-sale { background: var(--brown); color: white; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.65rem; font-weight: 600; }
.product-desc { color: var(--muted); line-height: 1.78; font-size: 0.97rem; }
.product-desc p + p { margin-top: 0.85rem; }
.product-desc strong { color: var(--dark); }

.product-features { display: flex; flex-direction: column; gap: 0.65rem; }
.product-feature { display: flex; gap: 0.85rem; align-items: flex-start; }
.product-feature-icon { flex-shrink: 0; font-size: 1.2rem; width: 36px; text-align: center; }
.product-feature-text strong { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 0.1rem; }
.product-feature-text span { font-size: 0.83rem; color: var(--muted); line-height: 1.5; }

.product-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.product-guarantee { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }

.product-divider { border: none; border-top: 1px solid var(--border); margin: 0.5rem 0; }

/* Bundle special */
.bundle-includes { border: 1.5px solid var(--brown); padding: 1.5rem; background: rgba(133,88,50,0.04); }
.bundle-includes h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--brown); margin-bottom: 1rem; }
.bundle-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.bundle-item:last-child { border-bottom: none; }
.bundle-item-icon { font-size: 1.3rem; }
.bundle-item-info strong { display: block; font-size: 0.9rem; }
.bundle-item-info span { font-size: 0.8rem; color: var(--muted); }
.bundle-item-price { margin-left: auto; font-family: var(--font-heading); font-size: 1rem; }
.bundle-total { display: flex; justify-content: space-between; align-items: center; padding-top: 0.85rem; font-weight: 600; }
.bundle-saving { color: var(--brown); font-size: 0.82rem; font-weight: 500; }

/* Simple page content */
.page-content { padding: clamp(3rem, 6vw, 5rem) 0; max-width: 780px; }
.page-content h2 { font-family: var(--font-heading); font-size: 1.5rem; margin: 2rem 0 0.75rem; color: var(--dark); }
.page-content h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.page-content p { color: var(--muted); line-height: 1.8; margin-bottom: 0.75rem; font-size: 0.97rem; }
.page-content a { color: var(--brown); text-decoration: underline; }
.page-content ul { margin: 0.75rem 0 0.75rem 1.25rem; list-style: disc; }
.page-content ul li { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.4rem; line-height: 1.65; }

/* FAQ Accordion */
.faq-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.faq-group { margin-bottom: 3rem; }
.faq-group-title { font-family: var(--font-heading); font-size: 1.3rem; color: var(--brown); margin-bottom: 1.25rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; cursor: pointer; font-size: 0.97rem; font-weight: 500; color: var(--dark); transition: color 0.18s; user-select: none; }
.faq-q:hover { color: var(--brown); }
.faq-q-icon { flex-shrink: 0; width: 22px; height: 22px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--muted); transition: transform 0.3s, border-color 0.2s, background 0.2s; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--brown); border-color: var(--brown); color: white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.38s var(--ease); }
.faq-a-inner { padding: 0 0 1.25rem; font-size: 0.9rem; color: var(--muted); line-height: 1.78; }
.faq-a-inner a { color: var(--brown); }
.faq-a-inner strong { color: var(--dark); }

/* About page */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: clamp(3rem, 6vw, 5rem) 0; }
.about-hero-content h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin-bottom: 1.25rem; }
.about-hero-content p { color: var(--muted); line-height: 1.8; margin-bottom: 0.85rem; font-size: 0.97rem; }
.about-visual { background: linear-gradient(140deg, var(--brown) 0%, var(--brown-dark) 100%); aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; }
.about-visual-inner { text-align: center; color: white; padding: 3rem; }
.about-visual-inner .big-quote { font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2.8rem); font-style: italic; line-height: 1.25; margin-bottom: 1rem; }
.about-visual-inner cite { font-size: 0.85rem; opacity: 0.65; }
.about-values { padding: var(--gap-section) 0; border-top: 1px solid var(--border); }
.about-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.about-value { padding: 2rem; border: 1px solid var(--border); }
.about-value-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.about-value h3 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 0.5rem; }
.about-value p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* Contact mini section (used in pages) */
.contact-mini { background: var(--offwhite); padding: 3rem; margin-top: 4rem; }
.contact-mini h3 { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 0.65rem; }
.contact-mini p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 0.9rem; max-width: 540px; }
.form-input, .form-textarea { width: 100%; padding: 0.85rem 1.1rem; border: 1.5px solid var(--border); background: var(--white); font-family: var(--font-body); font-size: 0.93rem; color: var(--dark); outline: none; transition: border-color 0.2s; resize: vertical; }
.form-input:focus, .form-textarea:focus { border-color: var(--brown); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(17,21,28,0.32); }

/* Responsive */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-gallery { position: static; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero .about-visual { display: none; }
  .about-values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-values-grid { grid-template-columns: 1fr; }
  .product-ctas { flex-direction: column; }
  .product-ctas .btn { width: 100%; justify-content: center; }
}
