/* Mizariva — shared stylesheet. Self-hosted, no external dependencies. */

:root {
  --font-display: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --c-bg: oklch(0.98 0.006 80);
  --c-card: #ffffff;
  --c-text: oklch(0.22 0.014 60);
  --c-text-body: oklch(0.4 0.012 60);
  --c-text-muted: oklch(0.48 0.012 60);
  --c-text-muted-2: oklch(0.45 0.012 60);
  --c-text-soft: oklch(0.35 0.012 60);
  --c-text-faint: oklch(0.5 0.012 60);
  --c-border: oklch(0.9 0.01 70);
  --c-border-input: oklch(0.85 0.01 70);
  --c-accent: oklch(0.64 0.1 55);
  --c-accent-hover: oklch(0.52 0.1 55);
  --c-accent-label: oklch(0.5 0.09 55);
  --c-accent-soft-bg: oklch(0.93 0.02 55);
  --c-navy: oklch(0.22 0.012 250);
  --c-navy-hover: oklch(0.3 0.012 250);
  --c-navy-border: oklch(0.32 0.012 250);
  --c-navy-card: oklch(0.3 0.012 250);
  --c-navy-card-2: oklch(0.26 0.012 250);
  --c-footer-text: oklch(0.7 0.01 70);
  --c-footer-text-dim: oklch(0.6 0.01 70);
  --c-number-light: oklch(0.85 0.02 55);
  --c-white: #ffffff;

  --radius: 8px;
  --radius-sm: 4px;
  --container-w: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-accent); }
a:hover { color: var(--c-accent-hover); }
h1, h2, h3 { font-family: var(--font-display); color: var(--c-text); margin: 0; }
p { margin: 0; }
button { font-family: inherit; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: oklch(0.99 0.004 80);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 20px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px;
}
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: 0.02em; color: var(--c-text); text-decoration: none; white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 2px;
  border-bottom: 2px solid transparent; color: var(--c-text-muted);
}
.main-nav a:hover { color: var(--c-text); }
.main-nav a.active { color: var(--c-text); border-bottom-color: var(--c-accent); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-link {
  display: flex; align-items: center; gap: 6px; color: var(--c-text);
  text-decoration: none; font-size: 15px; font-weight: 500;
}
.cart-badge {
  background: var(--c-accent); color: white; border-radius: 999px; min-width: 20px;
  height: 20px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; padding: 0 5px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 26px; border-radius: var(--radius-sm);
  text-decoration: none; font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  font-family: inherit; text-align: center;
}
.btn-primary { background: var(--c-navy); color: white; }
.btn-primary:hover { background: var(--c-navy-hover); color: white; }
.btn-accent { background: var(--c-accent); color: white; }
.btn-accent:hover { background: var(--c-accent-hover); color: white; }
.btn-outline { background: transparent; color: var(--c-text); border: 1px solid var(--c-border-input); }
.btn-outline:hover { color: var(--c-text); border-color: var(--c-text-muted); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

/* ---------- Layout helpers ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 64px 0; }
.section-white { background: var(--c-card); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.section-navy { background: var(--c-navy); }
.eyebrow {
  display: inline-block; color: var(--c-accent-label); font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-pill {
  display: inline-block; background: var(--c-accent-soft-bg); color: oklch(0.45 0.1 55);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.section-title { font-size: 34px; font-weight: 700; margin: 12px 0 0; }
.section-title-lg { font-size: 42px; font-weight: 700; margin: 12px 0 20px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-lead { font-size: 17px; line-height: 1.7; color: var(--c-text-body); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: 52px; line-height: 1.08; margin: 0 0 24px; }
.hero-media { height: 480px; border-radius: var(--radius); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--c-text); }
.hero-stat-label { font-size: 13px; color: var(--c-text-muted); }

/* ---------- Media placeholder / photo frames ---------- */
.photo { border-radius: var(--radius); overflow: hidden; background: var(--c-border); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px; font-size: 11px;
  color: white; background: linear-gradient(transparent, rgba(0,0,0,.55)); font-family: ui-monospace, monospace;
}

/* ---------- Service cards (home) ---------- */
.service-card { text-decoration: none; display: block; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-card); }
.service-card-media { height: 180px; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 22px; }
.service-card-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--c-text); margin-bottom: 8px; }
.service-card-desc { font-size: 14px; line-height: 1.6; color: var(--c-text-muted); margin: 0; }
.link-more { color: var(--c-text); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--c-accent); padding-bottom: 2px; }
.link-more-white { color: white; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--c-accent); padding-bottom: 2px; }
.center { text-align: center; }

/* ---------- Feature list with dots ---------- */
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-item { display: flex; gap: 16px; }
.feature-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); margin-top: 8px; flex-shrink: 0; }
.feature-title { font-weight: 600; color: var(--c-text); margin-bottom: 4px; }
.feature-desc { font-size: 14px; color: var(--c-text-muted); line-height: 1.6; }

/* ---------- Portfolio dark grid (home) ---------- */
.portfolio-dark-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.portfolio-dark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-dark-card { position: relative; height: 260px; border-radius: var(--radius); overflow: hidden; }
.portfolio-dark-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75); }
.portfolio-dark-card span {
  position: absolute; left: 16px; bottom: 14px; color: white; font-family: var(--font-display);
  font-weight: 600; font-size: 15px; text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ---------- Steps (4-step process) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step-num { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--c-number-light); margin-bottom: 12px; }
.step-title { font-weight: 600; color: var(--c-text); margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--c-text-muted); line-height: 1.6; }

/* ---------- Blog teaser grid (home) ---------- */
.blog-teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.blog-teaser { text-decoration: none; display: block; }
.blog-teaser-media { height: 140px; border-radius: 6px; overflow: hidden; margin-bottom: 14px; }
.blog-teaser-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-teaser-title { font-weight: 600; color: var(--c-text); font-size: 15px; line-height: 1.4; }

/* ---------- CTA box (soft) ---------- */
.cta-box { max-width: 900px; margin: 0 auto; text-align: center; background: var(--c-accent-soft-bg); border-radius: 12px; padding: 64px 40px; }
.cta-box h2 { font-size: 30px; margin: 0 0 16px; }
.cta-box p { font-size: 16px; color: var(--c-text-body); margin: 0 0 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

.cta-navy { max-width: 900px; margin: 0 auto; text-align: center; }
.cta-navy h2 { color: white; font-size: 26px; margin: 0 0 16px; }
.cta-navy p { color: oklch(0.75 0.01 70); font-size: 15px; margin: 0 0 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy); color: var(--c-footer-text); }
.footer-grid { padding: 64px 32px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; max-width: var(--container-w); margin: 0 auto; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: white; margin-bottom: 14px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: var(--c-footer-text); max-width: 280px; margin: 0; }
.footer-heading { font-weight: 600; color: white; font-size: 14px; margin-bottom: 16px; }
.footer-heading-mt { margin-top: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--c-footer-text); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--c-footer-text); line-height: 1.6; }
.footer-contact a { color: var(--c-footer-text); text-decoration: none; }
.footer-bottom {
  max-width: var(--container-w); margin: 0 auto; padding: 24px 32px; border-top: 1px solid var(--c-navy-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--c-footer-text-dim);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: var(--c-navy); color: oklch(0.9 0.01 70);
  padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; box-shadow: 0 -8px 24px rgba(0,0,0,.15);
}
.cookie-banner p { margin: 0; font-size: 13.5px; line-height: 1.6; max-width: 720px; }
.cookie-banner a { color: oklch(0.75 0.08 55); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-reject { background: transparent; color: oklch(0.85 0.01 70); border: 1px solid var(--c-navy-border); padding: 10px 16px; border-radius: var(--radius-sm); font-size: 13.5px; cursor: pointer; }
.btn-cookie-accept { background: var(--c-accent); color: white; border: none; padding: 10px 18px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; cursor: pointer; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 56px 0 0; font-size: 13px; color: var(--c-text-faint); }
.breadcrumb a { text-decoration: none; color: var(--c-text-faint); }

/* ---------- Two-col hero (service detail pages) ---------- */
.detail-hero { padding: 24px 0 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.detail-hero h1 { font-size: 40px; margin: 0 0 20px; }
.detail-hero p { font-size: 16.5px; line-height: 1.75; color: var(--c-text-body); margin: 0 0 28px; }
.detail-media { height: 400px; border-radius: var(--radius); overflow: hidden; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Type cards (3-col with photo) ---------- */
.type-card { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-card); }
.type-card-media { height: 160px; overflow: hidden; }
.type-card-media img { width: 100%; height: 100%; object-fit: cover; }
.type-card-body { padding: 20px; }
.type-card-title { font-weight: 600; color: var(--c-text); margin-bottom: 8px; }
.type-card-desc { font-size: 13.5px; line-height: 1.6; color: var(--c-text-muted); margin: 0; }

.icon-card { text-align: center; }
.icon-card-media { height: 130px; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.icon-card-media img { width: 100%; height: 100%; object-fit: cover; }
.icon-card-title { font-weight: 600; color: var(--c-text); font-size: 14.5px; }

/* ---------- FAQ / checklist two-col ---------- */
.info-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.info-two-col h2 { font-size: 26px; margin: 0 0 20px; }
.checklist { display: flex; flex-direction: column; gap: 16px; }
.checklist-item { display: flex; gap: 14px; }
.checklist-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); margin-top: 8px; flex-shrink: 0; }
.checklist-text { font-size: 14.5px; color: var(--c-text-soft); line-height: 1.6; }
.checklist-text strong { color: var(--c-text); }
.faq-list { display: flex; flex-direction: column; gap: 18px; }
.faq-q { font-weight: 600; color: var(--c-text); font-size: 14.5px; margin-bottom: 6px; }
.faq-a { font-size: 14px; color: var(--c-text-muted); line-height: 1.65; }

/* ---------- Materials grid ---------- */
.materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.material-title { font-weight: 600; color: var(--c-text); margin-bottom: 6px; }
.material-desc { font-size: 13.5px; color: var(--c-text-muted); line-height: 1.6; }

/* ---------- Services list grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-row { text-decoration: none; display: grid; grid-template-columns: 200px 1fr; gap: 20px; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; background: var(--c-card); }
.service-row-media { height: 160px; border-radius: 6px; overflow: hidden; }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--c-text); margin-bottom: 8px; }
.service-row-desc { font-size: 14px; line-height: 1.6; color: var(--c-text-muted); margin: 0; }

/* ---------- About / team ---------- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-story-media { height: 420px; border-radius: var(--radius); overflow: hidden; }
.about-story-media img { width: 100%; height: 100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value-title { font-family: var(--font-display); font-weight: 700; color: var(--c-accent); font-size: 20px; margin-bottom: 10px; }
.value-desc { font-size: 14px; line-height: 1.6; color: var(--c-text-muted); margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-photo { height: 220px; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 600; color: var(--c-text); }
.team-role { font-size: 13px; color: var(--c-text-muted); }

/* ---------- Portfolio page (light cards + filters) ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.filter-btn {
  padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--c-border-input); background: white; color: var(--c-text-body);
}
.filter-btn.active { border-color: var(--c-navy); background: var(--c-navy); color: white; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-card); }
.portfolio-card-media { height: 200px; overflow: hidden; }
.portfolio-card-media img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card-body { padding: 20px; }
.portfolio-cat { font-size: 12px; color: var(--c-accent-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.portfolio-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--c-text); margin: 8px 0 6px; }
.portfolio-loc { font-size: 13.5px; color: var(--c-text-muted); }

/* ---------- Blog listing ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.blog-card { text-decoration: none; display: block; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-card); }
.blog-card-media { height: 220px; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-cat { font-size: 12px; color: var(--c-accent-label); font-weight: 600; text-transform: uppercase; }
.blog-card-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--c-text); margin: 10px 0 8px; }
.blog-card-desc { font-size: 14px; line-height: 1.6; color: var(--c-text-muted); margin: 0; }

/* ---------- Blog article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 64px 0 96px; }
.article-meta { font-size: 13px; color: var(--c-text-faint); margin-bottom: 16px; }
.article-meta a { text-decoration: none; color: var(--c-text-faint); }
.article h1 { font-size: 36px; margin: 0 0 24px; line-height: 1.2; }
.article-media { height: 320px; border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article p { font-size: 16.5px; line-height: 1.8; color: oklch(0.32 0.012 60); margin: 0 0 20px; }
.article h2 { font-size: 22px; margin: 36px 0 14px; }
.article ol.numbered, .article ul.plain { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.article-step-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--c-text); margin-bottom: 8px; }
.article-step-desc { font-size: 15px; line-height: 1.75; color: oklch(0.35 0.012 60); margin: 0; }
.article-callout { margin-top: 44px; padding: 28px; background: var(--c-accent-soft-bg); border-radius: var(--radius); }
.article-callout-title { font-weight: 600; color: var(--c-text); margin-bottom: 10px; }
.article-callout a { color: oklch(0.45 0.1 55); text-decoration: none; font-weight: 600; font-size: 14.5px; }

/* ---------- Shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-card); display: flex; flex-direction: column; }
.product-media { height: 150px; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11px; color: var(--c-accent-label); font-weight: 600; text-transform: uppercase; }
.product-name { font-weight: 600; font-size: 14.5px; color: var(--c-text); line-height: 1.35; }
.product-price { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--c-text); margin-top: auto; }
.btn-add {
  margin-top: 8px; background: var(--c-navy); color: white; border: none; padding: 10px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; cursor: pointer; width: 100%;
}
.btn-add.added { background: oklch(0.5 0.1 145); }
.shop-perks { background: var(--c-card); border-top: 1px solid var(--c-border); padding: 56px 0; }
.shop-perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.perk-title { font-weight: 600; color: var(--c-text); margin-bottom: 6px; }
.perk-desc { font-size: 13.5px; color: var(--c-text-muted); }

/* ---------- Cart page ---------- */
.cart-page { max-width: 900px; margin: 0 auto; padding: 64px 0 96px; }
.cart-page h1 { font-size: 34px; margin: 0 0 32px; }
.cart-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.cart-item { display: flex; align-items: center; gap: 16px; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px; background: var(--c-card); flex-wrap: wrap; }
.cart-item-media { width: 64px; height: 64px; border-radius: 6px; flex-shrink: 0; overflow: hidden; }
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 140px; }
.cart-item-name { font-weight: 600; color: var(--c-text); font-size: 14.5px; }
.cart-item-unit { font-size: 13px; color: var(--c-text-muted); }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-btn { width: 28px; height: 28px; border-radius: var(--radius-sm); border: 1px solid var(--c-border-input); background: white; cursor: pointer; font-size: 15px; color: var(--c-text-body); }
.cart-item-total { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--c-text); min-width: 70px; text-align: right; }
.cart-item-remove { background: transparent; border: none; color: var(--c-text-faint); cursor: pointer; font-size: 13px; text-decoration: underline; }
.cart-summary { display: flex; justify-content: flex-end; margin-bottom: 40px; }
.cart-summary-box { width: 280px; display: flex; flex-direction: column; gap: 8px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--c-text-muted); }
.cart-summary-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-text); border-top: 1px solid var(--c-border); padding-top: 10px; margin-top: 4px; }
.checkout-box { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; background: var(--c-card); }
.checkout-box h2 { font-size: 18px; margin: 0 0 20px; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.checkout-fields .full { grid-column: 1 / -1; }
.order-success { background: var(--c-accent-soft-bg); border-radius: var(--radius); padding: 28px; text-align: center; }
.order-success h2 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-text); margin-bottom: 8px; }
.cart-empty { text-align: center; padding: 60px 0; }
.cart-empty p { font-size: 15px; color: var(--c-text-muted); margin: 0 0 20px; }

/* ---------- Forms ---------- */
.form-panel { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 36px; background: var(--c-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; color: var(--c-text-soft); display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--c-border-input);
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; background: white; color: var(--c-text);
}
textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--c-text-faint); margin: 16px 0 0; line-height: 1.6; }
.form-error {
  background: oklch(0.94 0.05 30); border: 1px solid oklch(0.75 0.12 30); color: oklch(0.4 0.15 30);
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px;
}
.form-success { text-align: center; padding: 40px 0; }
.form-success h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--c-text); margin-bottom: 12px; }
.form-success p { font-size: 14.5px; color: var(--c-text-muted-2); margin: 0; }

/* ---------- Contact page info column ---------- */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; padding: 0 0 96px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-block-title { font-weight: 600; color: var(--c-text); margin-bottom: 8px; font-family: var(--font-display); font-size: 17px; }
.contact-info-block-text { font-size: 14.5px; color: var(--c-text-muted-2); line-height: 1.7; }
.contact-info-block-text a { color: var(--c-text-muted-2); text-decoration: none; }
.contact-media { height: 200px; border-radius: var(--radius); overflow: hidden; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Legal pages ---------- */
.legal-article { max-width: 800px; margin: 0 auto; padding: 64px 0 96px; }
.legal-article h1 { font-size: 34px; margin: 0 0 8px; }
.legal-updated { font-size: 13px; color: var(--c-text-faint); margin: 0 0 36px; }
.legal-article h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-article p { font-size: 15px; line-height: 1.8; color: var(--c-text-soft); margin: 0 0 12px; }
.legal-table { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; font-size: 13.5px; width: 100%; border-collapse: collapse; }
.legal-table th { background: oklch(0.95 0.008 70); padding: 12px 16px; font-weight: 600; color: oklch(0.3 0.012 60); text-align: left; }
.legal-table td { padding: 12px 16px; border-top: 1px solid var(--c-border); color: var(--c-text-body); }
.legal-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 12px; }
.legal-card { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; }
.legal-card-title { font-weight: 600; color: var(--c-text); margin-bottom: 6px; font-size: 14.5px; }
.legal-card-desc { font-size: 13.5px; color: var(--c-text-muted); }
.legal-box { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.legal-box-item { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; background: var(--c-card); }
.legal-box-title { font-weight: 600; color: var(--c-text); margin-bottom: 6px; }
.legal-box-text { font-size: 14px; line-height: 1.7; color: var(--c-text-muted-2); margin: 0; }
.legal-note { margin-top: 36px; padding: 20px; background: var(--c-accent-soft-bg); border-radius: var(--radius); font-size: 13.5px; color: var(--c-text-body); }
.legal-note a { color: oklch(0.45 0.1 55); }
.company-card { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 32px; background: var(--c-card); display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--c-text-soft); line-height: 1.7; }
.company-card strong { color: var(--c-text); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero, .detail-hero, .about-story, .info-two-col, .contact-layout { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps-grid, .blog-teaser-grid, .team-grid, .values-grid, .materials-grid,
  .portfolio-dark-grid, .portfolio-grid, .services-grid, .shop-grid, .shop-perks-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-media { height: 340px; order: -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4, .steps-grid, .blog-teaser-grid, .team-grid, .values-grid, .materials-grid,
  .portfolio-dark-grid, .portfolio-grid, .services-grid, .shop-grid, .shop-perks-grid, .checkout-fields, .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .section-title-lg { font-size: 30px; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 20px 24px; }
  .header-inner { padding: 14px 0; }
  .main-nav { gap: 14px; order: 3; width: 100%; }
  .cart-summary { justify-content: stretch; }
  .cart-summary-box { width: 100%; }
  .legal-cards { grid-template-columns: 1fr; }
  .contact-layout { padding-bottom: 56px; }
}
