/* ==========================================================
   DATE — SUB-PAGES SHARED STYLES
   Inherits from style.css base + adds page-specific styles
   ========================================================== */

/* ========== PAGE HERO (compact for sub-pages) ========== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -30%; right: -15%; width: 50%; height: 100%;
  background: radial-gradient(ellipse, rgba(230,19,72,0.05), rgba(99,48,151,0.03), transparent 70%);
  pointer-events: none;
}
.page-hero .section-tag { margin-bottom: 16px; }
.page-hero h1 {
  font-size: 2.8rem; font-weight: 800; line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1rem; color: var(--text-secondary); max-width: 560px; line-height: 1.7;
}
.page-hero.centered { text-align: center; }
.page-hero.centered p { margin: 0 auto; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--magenta); }
.breadcrumb .sep { color: var(--silver); }

/* ========== FAQ STYLES ========== */
.faq-section { padding: 80px 0 120px; background: var(--bg); }
.faq-categories {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap;
}
.faq-cat-btn {
  padding: 10px 24px; border-radius: 50px;
  font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text-secondary); cursor: pointer; transition: all 0.3s;
}
.faq-cat-btn:hover { border-color: var(--magenta); color: var(--magenta); }
.faq-cat-btn.active {
  background: var(--brand-gradient); color: #fff; border-color: transparent;
}

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 12px;
  overflow: hidden; transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(230,19,72,0.15); }
.faq-item.open { border-color: rgba(230,19,72,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; gap: 16px;
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600;
  color: var(--text-primary); background: none; border: none; width: 100%;
  text-align: left; transition: color 0.2s;
}
.faq-question:hover { color: var(--magenta); }
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; background: linear-gradient(135deg, rgba(230,19,72,0.08), rgba(99,48,151,0.06));
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand-gradient); }
.faq-icon svg { width: 14px; height: 14px; stroke: var(--magenta); stroke-width: 2; }
.faq-item.open .faq-icon svg { stroke: #fff; }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.88rem; line-height: 1.8; color: var(--text-secondary);
}

/* ========== CONTACT STYLES ========== */
.contact-section { padding: 80px 0 120px; background: var(--bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  max-width: 960px; margin: 0 auto;
}
.contact-info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
}
.contact-info-card h3 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--warm-amber); margin-bottom: 24px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px;
}
.contact-item-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  background: linear-gradient(135deg, rgba(230,19,72,0.08), rgba(99,48,151,0.06));
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 18px; height: 18px; stroke: var(--magenta); stroke-width: 1.5; fill: none; }
.contact-item-text h4 {
  font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--text-primary); margin-bottom: 4px;
}
.contact-item-text p { font-size: 0.85rem; color: var(--text-secondary); }
.contact-item-text a { color: var(--magenta); font-weight: 500; }
.contact-item-text a:hover { text-decoration: underline; }

.contact-social { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.contact-social h4 {
  font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text-primary); margin-bottom: 12px;
}
.contact-social-links { display: flex; gap: 12px; }
.contact-social-links a {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); display: flex;
  align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.3s;
}
.contact-social-links a:hover {
  border-color: var(--magenta); color: var(--magenta);
  background: rgba(230,19,72,0.04);
}
.contact-social-links a svg { width: 20px; height: 20px; }

.contact-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
  opacity: 1 !important; transform: none !important;
}
.contact-form-card h3 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--warm-amber); margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-family: 'Poppins', sans-serif; font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.08em; color: var(--text-primary);
  margin-bottom: 8px; text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif; font-size: 0.88rem;
  color: var(--text-primary); background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(230,19,72,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  background: var(--brand-gradient); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.35s;
  box-shadow: 0 4px 20px rgba(230,19,72,0.2);
}
.form-submit:hover { box-shadow: 0 8px 32px rgba(230,19,72,0.35); transform: translateY(-2px); }
.form-success {
  display: none; padding: 24px; border-radius: var(--radius);
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7; font-size: 0.95rem; text-align: center; margin-top: 16px;
  font-weight: 500;
}
.form-success.show { display: block; }

/* ========== LEGAL / POLICY PAGES ========== */
.legal-section { padding: 80px 0 120px; background: var(--bg); }
.legal-content {
  max-width: 760px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 56px 48px;
}
.legal-content .last-updated {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(230,19,72,0.06); border: 1px solid rgba(230,19,72,0.1);
  font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 600;
  color: var(--magenta); letter-spacing: 0.05em; margin-bottom: 32px;
}
.legal-content h2 {
  font-size: 1.2rem; font-weight: 700; letter-spacing: 0.06em;
  margin: 36px 0 14px; color: var(--text-primary);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  font-size: 0.88rem; line-height: 1.85; color: var(--text-secondary); margin-bottom: 14px;
}
.legal-content ul {
  list-style: disc; padding-left: 24px; margin-bottom: 14px;
}
.legal-content ul li {
  font-size: 0.88rem; line-height: 1.85; color: var(--text-secondary); margin-bottom: 6px;
}
.legal-content a { color: var(--magenta); font-weight: 500; }
.legal-content a:hover { text-decoration: underline; }
.legal-toc {
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px; margin-bottom: 36px;
}
.legal-toc h4 {
  font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text-primary); margin-bottom: 12px;
}
.legal-toc ol {
  list-style: decimal; padding-left: 20px;
}
.legal-toc ol li {
  font-size: 0.82rem; line-height: 2; color: var(--text-secondary);
}
.legal-toc ol li a { color: var(--mid-purple); font-weight: 500; }
.legal-toc ol li a:hover { color: var(--magenta); }

/* ========== SHOPIFY CART DRAWER ========== */
.cart-icon-btn {
  position: relative; background: none; border: none; cursor: pointer;
  padding: 4px; margin-right: 12px; color: var(--text-primary);
}
.cart-icon-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--magenta); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0); transition: all 0.3s;
}
.cart-count.visible { opacity: 1; transform: scale(1); }

.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 90vw; background: var(--bg-white);
  z-index: 1000; transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px; border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em;
}
.cart-close {
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; color: var(--text-primary);
}
.cart-close:hover { background: rgba(0,0,0,0.05); }
.cart-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; }

.cart-body { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty {
  text-align: center; padding: 48px 24px;
  color: var(--text-muted); font-size: 0.88rem;
}
.cart-empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.4; }

.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item-img {
  width: 72px; height: 72px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(230,19,72,0.04), rgba(99,48,151,0.04));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cart-item-img img { max-height: 60px; width: auto; }
.cart-item-info h4 {
  font-family: 'Poppins', sans-serif; font-size: 0.8rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 4px;
}
.cart-item-info p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-qty {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden;
}
.cart-item-qty button {
  width: 30px; height: 30px; border: none; background: var(--bg);
  cursor: pointer; font-size: 1rem; color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cart-item-qty button:hover { background: var(--silver-light); }
.cart-item-qty span {
  padding: 0 10px; font-family: 'Poppins', sans-serif;
  font-size: 0.8rem; font-weight: 600;
}
.cart-item-price {
  font-family: 'Poppins', sans-serif; font-size: 0.9rem;
  font-weight: 700; color: var(--text-primary); text-align: right;
}
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  font-size: 0.7rem; color: var(--text-muted); margin-top: 4px;
  text-decoration: underline; transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--magenta); }

.cart-footer {
  padding: 24px; border-top: 1px solid var(--border);
  background: var(--surface-alt);
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.cart-subtotal-label {
  font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase;
}
.cart-subtotal-value {
  font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600;
  color: var(--text-primary);
}
.cart-shipping-note {
  font-size: 0.75rem; color: var(--text-muted); margin-bottom: 16px;
}
.cart-checkout-btn {
  display: block; width: 100%; padding: 16px;
  background: var(--brand-gradient); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; text-align: center;
  border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(230,19,72,0.2);
  transition: all 0.35s;
}
.cart-checkout-btn:hover { box-shadow: 0 8px 32px rgba(230,19,72,0.35); transform: translateY(-2px); }
.cart-checkout-btn:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none;
  box-shadow: none;
}

/* Cart Promo Code */
.cart-promo-row { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.cart-promo-input-wrap {
  display: flex; border: 1px solid var(--border-strong);
  border-radius: var(--radius); overflow: hidden;
}
.cart-promo-field {
  flex: 1; padding: 10px 14px; border: none; background: var(--bg);
  font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-primary);
  outline: none;
}
.cart-promo-field:disabled { opacity: 0.6; }
.cart-promo-field::placeholder {
  text-transform: none; font-weight: 400; letter-spacing: 0;
  color: var(--text-muted);
}
.cart-promo-apply-btn {
  padding: 10px 18px; background: var(--text-primary); color: #fff;
  border: none; font-family: 'Poppins', sans-serif; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.08em; cursor: pointer;
  transition: background 0.2s;
}
.cart-promo-apply-btn:hover { background: var(--magenta); }
.cart-promo-status { margin-top: 8px; }
.cart-promo-applied {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 50px;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
  font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 600;
  color: #065f46;
}
.cart-promo-remove {
  background: none; border: none; font-size: 1rem; color: #065f46;
  cursor: pointer; padding: 0 2px; line-height: 1;
}
.cart-promo-remove:hover { color: var(--magenta); }
.cart-promo-error {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 600;
  color: #dc2626;
}

/* Cart Totals Breakdown */
.cart-discount-row, .cart-shipping-row, .cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.cart-discount-label, .cart-shipping-label {
  font-size: 0.78rem; color: var(--text-muted);
}
.cart-discount-value {
  font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 700;
  color: #10b981;
}
.cart-shipping-value {
  font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary);
}
.cart-total-row {
  padding-top: 10px; margin-top: 6px; margin-bottom: 16px;
  border-top: 1px solid var(--border);
}
.cart-total-label {
  font-family: 'Poppins', sans-serif; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--text-primary); text-transform: uppercase;
}
.cart-total-value {
  font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 800;
  color: var(--text-primary);
}

/* ========== RESPONSIVE — SUB-PAGES ========== */
@media (max-width: 768px) {
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .legal-content { padding: 32px 24px; }
  .faq-question { font-size: 0.82rem; padding: 16px 20px; }
  .faq-answer-inner { padding: 0 20px 16px; }
  .cart-drawer { max-width: 100vw; width: 100%; }
  .cart-promo-input-wrap { display: flex; flex-shrink: 0; }
  .cart-promo-field { min-width: 0; flex: 1; font-size: 0.75rem; padding: 10px 10px; }
  .cart-promo-apply-btn { flex-shrink: 0; padding: 10px 14px; font-size: 0.65rem; white-space: nowrap; }
  .cart-footer { padding: 16px; }
}
