/**
 * Cove & Form - Shopify Theme Documentation Stylesheet
 * Architectural Scandinavian Luxury Aesthetic
 * Matches the official Cove & Form design system tokens
 */

:root {
  --doc-primary: #29372F;
  --doc-secondary: #6F756D;
  --doc-accent: #C9AD8F;
  --doc-bg: #FAF9F6;
  --doc-surface: #FFFFFF;
  --doc-soft-beige: #E9E0D4;
  --doc-border: #E3DDD3;
  --doc-border-light: #F0ECE4;
  --doc-foreground: #292A26;
  --doc-muted: #74746D;
  
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Assistant", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --header-height: 72px;
  --sidebar-width: 290px;
  --toc-width: 250px;
  --border-radius: 4px;
  --transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 8px rgba(41, 55, 47, 0.04);
  --shadow-md: 0 4px 20px rgba(41, 55, 47, 0.07);
  --shadow-lg: 0 10px 30px rgba(41, 55, 47, 0.12);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body.doc-body {
  font-family: var(--font-sans);
  background-color: var(--doc-bg);
  color: var(--doc-foreground);
  line-height: 1.65;
  font-size: 15.5px;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Top Navigation Bar */
.doc-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  height: var(--header-height);
  background: #29372F;
  border-bottom: 1px solid rgba(227, 221, 211, 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.doc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 28px;
  max-width: 1600px;
  margin: 0 auto;
}

.doc-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #FAF9F6;
}

.doc-brand:hover {
  color: #FAF9F6;
}

.doc-brand__title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.1;
  color: #FAF9F6;
}

.doc-brand__subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--doc-accent);
  margin-top: 2px;
  font-weight: 600;
}

.doc-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 20px;
  background: rgba(201, 173, 143, 0.2);
  color: var(--doc-accent);
  border: 1px solid rgba(201, 173, 143, 0.35);
}

/* Search Bar in Header */
.doc-search-wrapper {
  position: relative;
  width: 440px;
  max-width: 100%;
}

.doc-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.doc-search-icon {
  position: absolute;
  left: 14px;
  color: var(--doc-accent);
  font-size: 14px;
  pointer-events: none;
}

.doc-search-input {
  width: 100%;
  height: 40px;
  padding: 0 70px 0 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(227, 221, 211, 0.2);
  border-radius: 20px;
  color: #FAF9F6;
  font-size: 13.5px;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.doc-search-input::placeholder {
  color: rgba(250, 249, 246, 0.55);
}

.doc-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--doc-accent);
  box-shadow: 0 0 0 3px rgba(201, 173, 143, 0.25);
}

.doc-search-kbd {
  position: absolute;
  right: 12px;
  padding: 2px 7px;
  font-size: 10px;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: rgba(250, 249, 246, 0.7);
  pointer-events: none;
}

/* Instant Search Results Dropdown */
.doc-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--doc-surface);
  border: 1px solid var(--doc-border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
}

.doc-search-results.is-active {
  display: block;
}

.doc-search-result-item {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--doc-border-light);
  text-decoration: none;
  color: var(--doc-foreground);
  transition: var(--transition);
}

.doc-search-result-item:last-child {
  border-bottom: none;
}

.doc-search-result-item:hover,
.doc-search-result-item.is-selected {
  background: #F8F6F2;
}

.doc-search-result-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--doc-primary);
  margin-bottom: 2px;
}

.doc-search-result-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--doc-secondary);
  letter-spacing: 0.5px;
}

.doc-search-result-snippet {
  font-size: 12.5px;
  color: var(--doc-muted);
  margin-top: 3px;
  line-height: 1.4;
}

.doc-search-no-results {
  padding: 20px;
  text-align: center;
  color: var(--doc-muted);
  font-size: 13.5px;
}

/* Header Action Buttons */
.doc-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #FAF9F6;
  border: 1px solid rgba(227, 221, 211, 0.25);
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
  background: transparent;
}

.doc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FAF9F6;
  border-color: rgba(227, 221, 211, 0.4);
}

.doc-btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #29372F;
  background: var(--doc-accent);
  border: 1px solid var(--doc-accent);
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
}

.doc-btn-accent:hover {
  background: #d8be9f;
  border-color: #d8be9f;
  color: #29372F;
}

.doc-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(227, 221, 211, 0.3);
  color: #FAF9F6;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

/* 3-Column Layout */
.doc-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  position: relative;
  min-height: calc(100vh - var(--header-height));
}

/* Left Sidebar */
.doc-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 24px 16px 40px 24px;
  border-right: 1px solid var(--doc-border);
  background: var(--doc-bg);
  scrollbar-width: thin;
  scrollbar-color: var(--doc-border) transparent;
}

.doc-sidebar::-webkit-scrollbar {
  width: 5px;
}
.doc-sidebar::-webkit-scrollbar-thumb {
  background: var(--doc-border);
  border-radius: 3px;
}

.doc-nav-group {
  margin-bottom: 24px;
}

.doc-nav-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--doc-secondary);
  margin-bottom: 8px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-nav-item {
  margin-bottom: 2px;
}

.doc-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #4A4D46;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.doc-nav-link i {
  font-size: 13px;
  width: 16px;
  text-align: center;
  color: var(--doc-secondary);
  transition: var(--transition);
}

.doc-nav-link:hover {
  color: var(--doc-primary);
  background: rgba(41, 55, 47, 0.05);
}

.doc-nav-link.is-active {
  color: var(--doc-primary);
  background: #EFECE6;
  font-weight: 600;
  border-left-color: var(--doc-primary);
}

.doc-nav-link.is-active i {
  color: var(--doc-primary);
}

/* Main Content Area */
.doc-content {
  flex: 1;
  min-width: 0;
  padding: 36px 48px 80px 48px;
  max-width: 980px;
}

/* Breadcrumbs */
.doc-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--doc-secondary);
  margin-bottom: 20px;
}

.doc-breadcrumbs a {
  color: var(--doc-secondary);
  text-decoration: none;
}
.doc-breadcrumbs a:hover {
  color: var(--doc-primary);
}
.doc-breadcrumbs span {
  color: var(--doc-border);
}

/* Article Sections */
.doc-section {
  padding-top: 20px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--doc-border-light);
  padding-bottom: 48px;
}

.doc-section:last-of-type {
  border-bottom: none;
}

.doc-section__badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(41, 55, 47, 0.08);
  color: var(--doc-primary);
  margin-bottom: 12px;
}

.doc-section__title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--doc-primary);
  letter-spacing: -0.2px;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.doc-section__lead {
  font-size: 17px;
  line-height: 1.6;
  color: #555750;
  margin-bottom: 24px;
}

.doc-h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--doc-primary);
  margin: 36px 0 16px 0;
  padding-top: 8px;
  position: relative;
}

.doc-h4 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--doc-primary);
  margin: 24px 0 10px 0;
}

.doc-anchor {
  position: absolute;
  left: -20px;
  opacity: 0;
  color: var(--doc-accent);
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition);
}

.doc-h3:hover .doc-anchor,
.doc-section__title:hover .doc-anchor {
  opacity: 1;
}

/* Callout Boxes (GitHub / Shopify Style Alerts) */
.doc-callout {
  padding: 16px 20px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  display: flex;
  gap: 14px;
  font-size: 14.5px;
  line-height: 1.55;
}

.doc-callout__icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.doc-callout--tip {
  background: #F7F5EE;
  border-left: 4px solid var(--doc-accent);
  color: #4C473E;
}
.doc-callout--tip .doc-callout__icon {
  color: #B59573;
}

.doc-callout--note {
  background: #EEF3F0;
  border-left: 4px solid var(--doc-primary);
  color: #27362E;
}
.doc-callout--note .doc-callout__icon {
  color: var(--doc-primary);
}

.doc-callout--important {
  background: #FFF9EE;
  border-left: 4px solid #D4A329;
  color: #5C460E;
}
.doc-callout--important .doc-callout__icon {
  color: #D4A329;
}

.doc-callout--caution {
  background: #FDF1F0;
  border-left: 4px solid #C44536;
  color: #5C1D16;
}
.doc-callout--caution .doc-callout__icon {
  color: #C44536;
}

/* Numbered Steps Procedure */
.doc-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  position: relative;
}

.doc-steps::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--doc-border);
}

.doc-step-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 28px;
}

.doc-step-item:last-child {
  margin-bottom: 0;
}

.doc-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--doc-primary);
  color: #FAF9F6;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--doc-bg);
}

.doc-step-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--doc-primary);
  margin-bottom: 6px;
}

.doc-step-body {
  color: #555750;
  font-size: 14.5px;
}

/* Settings Tables */
.doc-table-wrap {
  background: var(--doc-surface);
  border: 1px solid var(--doc-border);
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.doc-table th {
  background: #F8F6F2;
  color: var(--doc-primary);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--doc-border);
  letter-spacing: 0.3px;
}

.doc-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--doc-border-light);
  color: var(--doc-foreground);
  vertical-align: top;
}

.doc-table tr:last-child td {
  border-bottom: none;
}

.doc-table code,
.doc-kbd-code {
  font-family: var(--font-mono);
  background: #F1ECE4;
  color: #38423B;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

.doc-type-pill {
  display: inline-block;
  padding: 2px 7px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  border-radius: 4px;
  background: #EFECE6;
  color: #5B6158;
}

/* Feature Grid Cards */
.doc-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.doc-feature-card {
  background: var(--doc-surface);
  border: 1px solid var(--doc-border);
  border-radius: var(--border-radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.doc-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--doc-accent);
}

.doc-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #EEF3F0;
  color: var(--doc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.doc-feature-card__title {
  font-weight: 600;
  font-size: 16px;
  color: var(--doc-primary);
  margin-bottom: 6px;
}

.doc-feature-card__desc {
  font-size: 13.5px;
  color: var(--doc-muted);
  line-height: 1.5;
  margin: 0;
}

/* Code Snippet Box */
.doc-code-box {
  background: #1F2722;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 20px 0;
  box-shadow: var(--shadow-md);
}

.doc-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #19201C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.doc-code-lang {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--doc-accent);
  letter-spacing: 1px;
}

.doc-copy-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #D3CDC2;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.doc-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FAF9F6;
}

.doc-code-body {
  padding: 16px;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: #F1EFEA;
}

/* FAQ Accordions */
.doc-faq-wrap {
  margin: 24px 0;
}

.doc-faq-item {
  background: var(--doc-surface);
  border: 1px solid var(--doc-border);
  border-radius: var(--border-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.doc-faq-item:hover {
  border-color: #D4CDBC;
}

.doc-faq-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--doc-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.doc-faq-trigger:hover {
  color: #1a241e;
}

.doc-faq-trigger i {
  color: var(--doc-secondary);
  font-size: 13px;
  transition: transform var(--transition);
}

.doc-faq-item.is-open .doc-faq-trigger i {
  transform: rotate(180deg);
  color: var(--doc-primary);
}

.doc-faq-content {
  display: none;
  padding: 0 22px 20px 22px;
  color: #555750;
  font-size: 14.5px;
  line-height: 1.65;
  border-top: 1px solid var(--doc-border-light);
  padding-top: 14px;
}

.doc-faq-item.is-open .doc-faq-content {
  display: block;
}

/* Support Form Card */
.doc-form-card {
  background: var(--doc-surface);
  border: 1px solid var(--doc-border);
  border-radius: 6px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin: 30px 0;
}

.doc-form-group {
  margin-bottom: 20px;
}

.doc-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--doc-primary);
  margin-bottom: 6px;
}

.doc-form-label .req {
  color: #C44536;
}

.doc-form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  background: #FAF9F6;
  border: 1px solid var(--doc-border);
  border-radius: var(--border-radius);
  color: var(--doc-foreground);
  transition: var(--transition);
}

.doc-form-control:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--doc-primary);
  box-shadow: 0 0 0 3px rgba(41, 55, 47, 0.12);
}

.doc-form-control[readonly] {
  background: #F1ECE4;
  color: var(--doc-muted);
  cursor: not-allowed;
}

.doc-form-hint {
  font-size: 12px;
  color: var(--doc-muted);
  margin-top: 4px;
}

.doc-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--doc-primary);
  color: #FAF9F6;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  border: 1px solid var(--doc-primary);
  cursor: pointer;
  transition: var(--transition);
}

.doc-submit-btn:hover {
  background: #1C2620;
  border-color: #1C2620;
}

/* Topic Navigation (Prev / Next) */
.doc-topic-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--doc-border);
}

.doc-topic-btn {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border: 1px solid var(--doc-border);
  background: var(--doc-surface);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition);
  max-width: 48%;
}

.doc-topic-btn:hover {
  border-color: var(--doc-accent);
  background: #FAF9F6;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.doc-topic-btn--prev {
  text-align: left;
}

.doc-topic-btn--next {
  text-align: right;
  margin-left: auto;
}

.doc-topic-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--doc-secondary);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.doc-topic-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--doc-primary);
}

/* Right Sidebar (On this page TOC) */
.doc-toc {
  width: var(--toc-width);
  flex-shrink: 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 36px 20px 40px 16px;
  font-size: 13px;
  scrollbar-width: thin;
}

.doc-toc__heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--doc-secondary);
  margin-bottom: 12px;
}

.doc-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--doc-border);
}

.doc-toc__item {
  margin-bottom: 4px;
}

.doc-toc__link {
  display: block;
  padding: 4px 0 4px 14px;
  color: var(--doc-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: var(--transition);
  border-left: 2px solid transparent;
  margin-left: -1px;
}

.doc-toc__link:hover {
  color: var(--doc-primary);
}

.doc-toc__link.is-active {
  color: var(--doc-primary);
  font-weight: 600;
  border-left-color: var(--doc-primary);
}

/* Floating Back to Top Button */
.doc-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--doc-primary);
  color: #FAF9F6;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.doc-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.doc-back-to-top:hover {
  background: var(--doc-accent);
  color: var(--doc-primary);
  transform: translateY(-3px);
}

/* Mobile Drawer Overlay */
.doc-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1045;
  backdrop-filter: blur(2px);
}

.doc-mobile-overlay.is-active {
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .doc-toc {
    display: none;
  }
  .doc-content {
    max-width: 100%;
    padding: 30px 36px 60px 36px;
  }
}

@media (max-width: 992px) {
  .doc-mobile-toggle {
    display: flex;
  }
  
  .doc-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    z-index: 1050;
    background: #FAF9F6;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    padding-top: 60px;
  }

  .doc-sidebar.is-open {
    left: 0;
  }

  .doc-sidebar__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--doc-primary);
    cursor: pointer;
  }

  .doc-search-wrapper {
    display: none;
  }

  .doc-content {
    padding: 24px 20px 60px 20px;
  }
}

@media (max-width: 576px) {
  .doc-header__inner {
    padding: 0 16px;
  }
  .doc-brand__title {
    font-size: 18px;
  }
  .doc-section__title {
    font-size: 26px;
  }
  .doc-form-card {
    padding: 20px 16px;
  }
  .doc-topic-nav {
    flex-direction: column;
  }
  .doc-topic-btn {
    max-width: 100%;
  }
}

