/* C+ — minimal sold-out site */

:root {
  --indra-primary: #6784cc;
  --indra-primary-dark: #4d6bb8;
  --indra-text: #222;
  --indra-muted: #6c757d;
  --indra-border: #c3c3c3;
  --indra-bg-soft: #f8f9fa;
}

html, body { height: 100%; }

body {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--indra-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header — matches original 3-column layout */
#header {
  border-bottom: 1px solid #eee;
  background: #fff;
}

#header .logo {
  height: 44px;
  width: auto;
}

#header .btn-outline-dark {
  border-color: #222;
  color: #222;
}

#header .btn-outline-dark:hover {
  background: #222;
  color: #fff;
}

/* Bootstrap primary override to use brand green */
.btn-primary {
  background-color: var(--indra-primary);
  border-color: var(--indra-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--indra-primary-dark) !important;
  border-color: var(--indra-primary-dark) !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: var(--indra-muted);
  border-color: var(--indra-muted);
  opacity: 0.7;
}

a { color: var(--indra-primary); }
a:hover { color: var(--indra-primary-dark); }

/* Page header — green banner used on inner pages */
.page-header {
  background: var(--indra-primary);
  color: #fff;
  padding: 56px 0;
  margin-bottom: 32px;
  text-align: center;
}

.page-header h1 {
  font-weight: 700;
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

/* Content area */
.content {
  padding: 16px 0 64px;
}

.content h2 {
  font-weight: 700;
  margin: 32px 0 12px;
  font-size: 1.5rem;
}

/* Language switcher — segmented pill control */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  background: var(--indra-bg-soft);
  border: 1px solid var(--indra-border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  font-size: 0.78rem;
  line-height: 1;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--indra-muted);
  text-decoration: none !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch a:hover {
  color: var(--indra-text);
  background: rgba(0, 0, 0, 0.04);
}

.lang-switch a.active {
  background: #fff;
  color: var(--indra-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.lang-switch a.active:hover {
  background: #fff;
  color: var(--indra-primary);
}

.mobile-nav .lang-switch {
  margin: 24px 0 0;
}

/* Mobile offcanvas-style nav (pure CSS) */
#mobile-nav-toggle { display: none; }

.mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  background: #fff;
  border-right: 1px solid var(--indra-border);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 1050;
  padding: 24px 20px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1040;
}

#mobile-nav-toggle:checked ~ .mobile-nav { transform: translateX(0); }
#mobile-nav-toggle:checked ~ .mobile-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.mobile-nav li { margin: 0; }

.mobile-nav a {
  display: block;
  padding: 12px 8px;
  color: var(--indra-text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a:hover {
  color: var(--indra-primary);
}

.mobile-nav-close {
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--indra-text);
  cursor: pointer;
  float: right;
  padding: 0;
}

.mobile-nav .logo { height: 36px; }

/* Sold-out hero */
.soldout-hero {
  padding: 80px 0;
  text-align: center;
}

.soldout-hero .badge-soldout {
  display: inline-block;
  background: var(--indra-text);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.soldout-hero h1 {
  font-weight: 700;
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.soldout-hero p.lead {
  color: var(--indra-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.soldout-hero figure {
  margin: 40px auto 0;
  max-width: 320px;
  opacity: 0.6;
  filter: grayscale(0.4);
}

/* Ingredients table — matches original */
.product-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.product-table th,
.product-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--indra-border);
  vertical-align: middle;
}

.product-table thead th {
  background: var(--indra-bg-soft);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--indra-border);
}

.text-uppercase { text-transform: uppercase; letter-spacing: 0.04em; }

/* Contact info cards */
.contact-card {
  border: 1px solid var(--indra-border);
  border-radius: 6px;
  padding: 24px;
  height: 100%;
  background: #fff;
  transition: box-shadow 0.15s;
}

.contact-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.contact-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indra-muted);
  margin: 0 0 10px;
  font-weight: 700;
}

.contact-card p { margin: 0; font-size: 1rem; }

.contact-card a { font-weight: 500; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.notice {
  background: #fff8e1;
  border-left: 4px solid #f0b400;
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 32px 0;
  font-size: 0.95rem;
}

/* Footer — matches original centered logo + disclaimer */
#footer {
  padding: 48px 0 32px;
  margin-top: auto;
  border-top: 1px solid #eee;
  background: #fff;
}

#footer .logo {
  height: 40px;
  margin: 0 auto 16px;
  display: block;
}

#footer p {
  font-size: 0.85rem;
  color: var(--indra-muted);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

#footer .footer-links {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

#footer .footer-links a {
  color: var(--indra-muted);
  text-decoration: none;
  margin: 0 8px;
}

#footer .footer-links a:hover {
  color: var(--indra-primary);
  text-decoration: underline;
}

/* Make body a flex column so footer can stick to bottom on short pages */
body.d-flex.flex-column { min-height: 100vh; }
main.flex-shrink-0 { flex-shrink: 0; }

@media (max-width: 767px) {
  .page-header { padding: 40px 0; }
  .soldout-hero { padding: 48px 0; }
}
