/* ================================================================
   Alpha Labs – Consolidated Stylesheet
   Single source of truth for all product page styles.
   ================================================================ */

:root {
  --color-primary: #1188ff;
  --color-bg: #f8f9fa;
  --color-card: #fff;
  --color-border: #f0f0f0;
  --color-text: #111;
  --color-text-muted: #666;
  --radius-card: 10px;
  --radius-button: 25px;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.10);
  --nav-height: 60px;
}

/* ── Base ──────────────────────────────────────────────── */

html,
body {
  font-family: 'Oswald', sans-serif;
  font-size: 1em;
  background: var(--color-bg);
  overflow-x: clip;
}

#banner { display: none !important; }
nav, .nav-menu-box { display: none !important; }

/* ── Navigation ────────────────────────────────────────── */

#pages {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #ddd;
  background-color: var(--color-card);
  padding-left: 2vw;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  z-index: 100;
  color: #000;
  text-decoration: none;
}

#pages div {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

#pages .page {
  display: block;
  width: fit-content;
  margin-left: 5vh;
  line-height: 4vh;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.2em;
  color: #000;
}

.logo {
  white-space: nowrap;
}
.logo:hover {
  color: #000;
  text-decoration: none;
}

.icon {
  display: inline-block;
  height: 4vh;
  width: 4vh;
}

.company {
  display: inline-block;
  margin: 0 2vh 0 1vh;
  font-size: 1.2em !important;
  letter-spacing: 0.05em;
  color: #000;
  vertical-align: middle;
}
.company:hover {
  text-decoration: underline;
}

#faq {
  width: fit-content;
  margin-right: 3vw;
  text-transform: uppercase;
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 1.2em;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}
#faq:hover, #faq2:hover {
  text-decoration: underline;
}

/* Hamburger icon */
#x {
  --before-width: 85%;
  --after-width: 50%;
  position: absolute;
  top: 3vh;
  right: 4vw;
  width: 25px;
  height: 18px;
}
#x:hover { cursor: pointer; }

#x::before,
#x::after {
  content: "";
  position: absolute;
  height: 4px;
  border-radius: 4px;
  background-color: black;
  left: 0;
  transition: 0.2s;
}
#x::before {
  top: 0;
  width: var(--before-width);
}
#x::after {
  bottom: 0;
  width: var(--after-width);
}

/* ── Typography ────────────────────────────────────────── */

div > p {
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 0.9em;
  letter-spacing: 0.03vw;
  font-family: 'Nunito', sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}

h1 {
  font-size: 3.2em !important;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  margin: 4px 0 20px 0 !important;
}

h2 {
  font-size: 1.25em !important;
}

h3 {
  font-size: 1.05em !important;
  font-weight: 600;
  margin: 24px 0 12px 0;
}

h4 {
  font-size: 1em !important;
  margin: 16px 0 12px 0;
}

.header p {
  font-size: 1.2em;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
}

/* ── Main Layout ───────────────────────────────────────── */

.main-content {
  margin-top: 80px;
  padding: 0 20px;
  min-height: 100vh;
}

.main-content .left-col {
  margin-bottom: 40px;
}

.product {
  padding-left: 2vw;
}

.product p {
  margin: 0;
  padding: 0 0 20px 0;
  font-size: 1em !important;
}

.product a {
  margin: 0;
  padding: 0;
  color: var(--color-primary);
}

a.first {
  color: #000;
}
a.first:hover {
  text-decoration: none;
}

/* ── Video ─────────────────────────────────────────────── */

.video-container {
  position: relative;
  width: 100%;
  margin: 20px auto 24px auto;
  padding-top: 0;
  padding-bottom: 56.4%;
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.youtube-video {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* ── Download Buttons ──────────────────────────────────── */

.download {
  font-size: 1.4em;
  color: #333;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 14px;
}

.download div,
.download a {
  display: inline-block;
}

.download div {
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  margin-right: 20px;
  font-size: 0.8em;
}

.flex-fill {
  flex-grow: 1;
}

.download img {
  height: 100%;
  filter: invert(100%);
}

.download div img {
  filter: invert(0%);
  height: 25px;
  margin-bottom: 5px;
  margin-left: 10px;
}

.download a {
  display: inline-block;
  height: 100%;
  border-left: 1px solid #fff;
  background: var(--color-primary);
  text-align: center;
  position: relative;
}

#mac { padding: 15px 40px; }
#windows { padding: 15px 40px; }

.download span {
  color: #fff;
  text-decoration: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  font-size: 0.6em;
  letter-spacing: 0.05em;
  display: inline-block;
  line-height: 50px;
  text-align: left;
  padding-left: 16px;
}

.download a:hover {
  background-color: #333;
}

.download a:first-of-type {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.download a:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* ── Product Container (Buy CTA) ──────────────────────── */

.product-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  margin: 0 0 20px 0;
  padding: 0;
  transition: 0.15s ease;
  white-space: nowrap;
}

.product-container:hover {
  cursor: pointer;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-card-hover);
}
.product-container:hover button { color: #fff; }
.product-container:hover button img {
  filter: invert(100%);
  -webkit-filter: invert(100%);
}
.product-container:hover input { color: #000; }

input[type=number] {
  display: inline-block;
  color: #000;
  width: 50px;
}

.col {
  line-height: 0.8em;
  font-size: 0.8em;
}
.col div {
  display: inline-block;
  padding: 0 10px;
}

.left {
  text-align: left;
  padding-left: 2vw;
  width: 50%;
}
.right {
  text-align: right;
  padding-right: 2vw;
  width: 50%;
}

/* ── Hardware Sections ─────────────────────────────────── */

.hardware-section {
  margin-top: 24px;
}

.hardware-section-heading {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1em;
  text-transform: uppercase;
  margin: 28px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-text);
}

.hardware-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.18s ease;
}
.hardware-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.hardware-card-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hardware-card-text {
  flex: 1 1 200px;
  min-width: 0;
}

.hardware-card-text p {
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: 0.9em !important;
}

.hardware-card-text a {
  color: var(--color-primary);
}

.hardware-card-visual {
  flex: 2 1 300px;
  text-align: center;
}

.hardware-card-visual h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.15em !important;
}

.hardware-card-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.hardware-warning {
  font-size: 1em !important;
  margin: 24px 0 12px 0;
  font-weight: 600;
}

.hardware-options-label {
  text-align: left;
  margin-top: 16px;
  margin-bottom: 4px;
  font-weight: bold;
}

/* ── Product Images ────────────────────────────────────── */

.product-img {
  width: 100%;
}

.inner-content img {
  width: 75%;
  display: block;
  margin: 0 auto;
}

.expand {
  position: absolute;
  top: 10%;
  right: 10%;
  height: 20px;
  z-index: 3;
}

/* ── Social ────────────────────────────────────────────── */

.social-container {
  font-size: 1.0em;
  margin-top: 14px;
}
.social-container p {
  margin: 0 0 10px 0 !important;
}
.social img {
  height: 20px;
}
a.social {
  display: inline-block !important;
  margin: 0 !important;
}

/* ── Product Link (Index Page) ─────────────────────────── */

.product-link {
  margin-top: 80px;
  text-align: center;
  padding: 0 10vw;
}
.product-link div {
  display: block;
  width: 90%;
  margin: 0 auto;
}
.product-link h1 {
  text-align: center;
  font-size: 2em !important;
  padding-bottom: 0;
  font-weight: 500;
  text-transform: inherit;
}
.product-link img {
  width: 80%;
  margin-bottom: 40px;
}

/* ── Modern Homepage ───────────────────────────────────── */

.home-page {
  font-family: 'Nunito', sans-serif;
  color: #0f172a;
  background: #f5f6f8;
}

.home-page #pages {
  height: 64px;
  padding: 0 40px;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #dfe3ea;
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.home-page #pages .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}

.home-page #pages .icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.home-page #pages .company {
  margin: 0;
  color: #0f172a;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.15em !important;
  letter-spacing: 0.05em;
}

.home-page #pages .company:hover {
  text-decoration: none;
}

.home-page #x {
  display: none;
}

.home-page #pages .home-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  max-height: none;
  overflow: visible;
}

.home-page #pages .page {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  border-left: 0;
  color: #64748b;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.home-page #pages .page:hover {
  color: #0f172a;
  text-decoration: none;
}

.home-page #pages .home-nav-cta {
  color: #1188ff;
  border: 1.5px solid #1188ff;
  border-radius: 100px;
  padding: 7px 18px;
}

.home-page #pages .home-nav-cta:hover {
  color: #fff;
  background: #1188ff;
}

.home-shell {
  min-height: 100vh;
}

.home-page .product-link {
  max-width: 1080px;
  margin: 0 auto;
  padding: 128px 24px 110px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: start;
}

.home-product-card {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.home-product-card img {
  width: 100%;
  margin: 0 0 22px;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(15,23,42,0.12);
  transition: box-shadow 0.2s ease;
}

.home-product-card:hover img {
  box-shadow: 0 18px 50px rgba(15,23,42,0.18);
}

.home-product-card span {
  display: block;
  color: #0f172a;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-page #footer {
  margin-top: 0;
  padding: 28px 24px;
  background: #0b0f19;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.home-page #footer .row {
  margin: 0;
}

.home-page #footer a,
.home-page #footer p {
  color: #94a3b8;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88em;
}

.home-page #footer a:hover {
  color: #fff;
  text-decoration: none;
}

.home-page #footer p {
  color: rgba(255,255,255,0.25);
}

.home-page #footer p a {
  color: #94a3b8 !important;
}

/* ── Lists ─────────────────────────────────────────────── */

ul {
  padding: 0;
  list-style: none;
  margin: 8px 0 16px 0;
}

li {
  font-family: 'Nunito', sans-serif;
  position: relative;
  padding: 0 0 0 30px;
  margin: 0.3em 0;
  line-height: 16px;
  white-space: nowrap;
  font-size: 1em;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background-image: url('https://cdn1.iconfinder.com/data/icons/unicons-line-vol-1/24/arrow-right-1024.png');
  background-size: contain;
  background-repeat: no-repeat;
}

li, a {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

li::marker, li::before, li::after, a::before, a::after {
  content: "" !important;
  display: none !important;
}

/* ── Buttons ───────────────────────────────────────────── */

button {
  display: inline-block;
  margin: 1em auto;
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 600;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}

button img {
  height: 0.8em;
  margin-right: 0.5vw;
  margin-bottom: 3px;
}

.buy {
  margin: 0 auto !important;
  font-size: 1em;
}

.hide {
  display: none !important;
}

.btn.btn-secondary, a.btn.btn-secondary {
  background-color: #6c757d !important;
  color: #fff !important;
  border: 1px solid #6c757d !important;
}

/* ── FAQ Accordion ─────────────────────────────────────── */

.inner-content h1 {
  font-size: 1.4em;
  margin-bottom: 20px;
}

.faq-section {
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1188ff;
  border-bottom: 1px solid #dfe3ea;
  padding-bottom: 8px;
  margin: 32px 0 12px;
}
.faq-section:first-of-type { margin-top: 8px; }

.faq-item {
  border-bottom: 1px solid #dfe3ea;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 4px;
  font-size: 0.92em;
  font-weight: 600;
  color: #0f172a;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  user-select: none;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3em;
  font-weight: 300;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.15s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: #1188ff;
}
.faq-item summary:hover { color: #1188ff; }

.faq-item p {
  font-size: 0.9em;
  color: #64748b;
  line-height: 1.7;
  padding: 4px 4px 16px;
  margin: 0 !important;
}
.faq-item p + p { padding-top: 0; }

.faq-item code {
  background: #eef0f4;
  border: 1px solid #dfe3ea;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.88em;
  font-family: monospace;
  color: #0f172a;
}

.faq-changelog {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.faq-changelog li {
  padding: 16px 0;
  border-bottom: 1px solid #dfe3ea;
}
.faq-changelog li:last-child { border-bottom: none; }

.faq-changelog .changelog-version {
  display: inline-block;
  font-weight: 700;
  font-size: 0.88em;
  color: #0f172a;
  background: #eef0f4;
  border: 1px solid #dfe3ea;
  border-radius: 4px;
  padding: 2px 8px;
  margin-right: 8px;
  font-family: monospace;
}

.faq-changelog .changelog-date {
  font-size: 0.82em;
  color: #64748b;
}

.faq-changelog p {
  font-size: 0.9em;
  color: #64748b;
  line-height: 1.65;
  margin: 8px 0 0 !important;
}

/* ── Overlays ──────────────────────────────────────────── */

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.overlay.active {
  display: flex;
}

.overlay-content {
  background-color: white;
  padding: 4vh 4vw;
  border-radius: var(--radius-card);
  width: 90%;
  max-height: 75vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.overlay h1 {
  margin: 16px 0 40px 0 !important;
}
.overlay p {
  margin: 16px 0 !important;
}

.inner-content {
  overflow-y: scroll;
  padding-right: 15px;
  flex-grow: 1;
}

.inner-content::-webkit-scrollbar {
  width: 8px;
}
.inner-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.inner-content button {
  width: fit-content;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius-button);
  padding: 7px 25px;
  font-weight: 400;
  text-transform: none;
  transition: 0.15s ease;
}
.inner-content button:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* ── Forms ─────────────────────────────────────────────── */

form label {
  font-weight: 400;
  margin-right: 15px;
}

.form-row {
  display: flex;
  justify-content: space-between;
}

.form-group {
  margin-right: 15px;
  flex: 1;
}

.form-group input,
.form-group select {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #999;
  padding: 8px 16px;
  font-size: 0.8em;
}

.form-group select {
  height: inherit;
  padding: 6px 16px;
}

.form-group textarea {
  width: 100%;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8em;
}

.textarea-with-counter {
  position: relative;
}
.textarea-with-counter textarea {
  padding-bottom: 28px;
}

.textarea-counter {
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-size: 0.72em;
  line-height: 1;
  color: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

#id_billing_different { width: auto; }
#id_quantity { width: 100%; }

#id_checkbox, #id_conditional {
  width: fit-content;
  vertical-align: bottom;
  margin-bottom: 7px;
}

input[type=submit] {
  width: 25%;
  min-width: 150px;
  margin-bottom: 16px;
  border-radius: 5em;
  border: 2px solid var(--color-primary);
  background-color: #fff;
  color: var(--color-primary);
  padding-left: 0;
  cursor: pointer;
  transition: 0.15s ease;
}
input[type=submit]:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── Footer ────────────────────────────────────────────── */

#footer {
  width: 100%;
  text-align: center;
  padding: 8px 0;
  position: relative;
  border-top: 1px solid #eee;
  background: #fafafa;
  margin-top: 60px;
}

#footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  margin: 0 3vw;
}
#footer p {
  color: var(--color-text-muted);
  margin: 0 3vw;
  letter-spacing: normal;
  font-family: 'Oswald', sans-serif;
}

#footer a.overlay-trigger, #footer p {
  display: block;
  font-size: 1em;
}

/* ── Rentals ───────────────────────────────────────────── */

#rentals {
  display: flex;
  align-items: center;
  justify-content: center;
}

#rentals div {
  display: inline-block;
  text-align: center;
  margin: 56px 0;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
}

#search-icon {
  height: 24px;
  width: 24px;
}

/* ── Utility ───────────────────────────────────────────── */

a:focus {
  outline: none !important;
}


/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */

/* ── Mobile (< 768px) ──────────────────────────────────── */

@media (max-width: 767px) {
  .download {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    width: 100%;
    margin: 14px auto 0;
    box-sizing: border-box;
  }
  .download div {
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 1em;
  }
  .download a {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    padding: 10px 0;
    border-radius: 6px;
    margin-bottom: 8px;
    background: var(--color-primary);
    line-height: normal !important;
  }
  .download a:first-of-type {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  .download a:last-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
  }
  .download img {
    height: 18px !important;
    width: auto !important;
    padding: 0 !important;
    filter: invert(100%) !important;
    background: none;
    display: inline-block;
    vertical-align: inherit;
  }
  .download span {
    position: static;
    display: inline;
    color: #fff;
    font-size: 0.9em;
    padding-left: 1px;
    line-height: 1.2;
    width: auto;
    background: none;
  }

  #faq2 {
    visibility: visible !important;
    width: 100% !important;
    margin-left: 11vw !important;
    margin-top: 0 !important;
    text-align: left !important;
  }
  .page, .social-container #rentals {
    display: block !important;
    width: 100% !important;
    margin-left: 11vw !important;
    text-align: left !important;
  }

  h1 {
    font-size: 2.5em !important;
  }

  .hardware-card {
    padding: 16px;
  }
  .hardware-card-inner {
    flex-direction: column;
  }
}

/* ── Tablet (>= 768px) ────────────────────────────────── */

@media (min-width: 768px) {
  .main-content {
    padding: 0 24px;
  }
}

/* ── Desktop (>= 992px) ───────────────────────────────── */

@media (min-width: 992px) {

  /* Navigation: horizontal bar */
  #pages {
    flex-direction: row;
    align-items: center;
    overflow: visible;
  }
  #pages div {
    display: block;
    max-height: 100%;
    overflow: visible;
  }
  #pages .page {
    display: inline-block;
    border-left: 1px solid;
    padding: 0 20px;
    margin-left: 0;
  }

  #faq {
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-button);
    padding: 2px 18px;
    transition: 0.15s ease;
  }
  #faq:hover {
    color: #fff;
    background: var(--color-primary);
    text-decoration: none;
  }
  #faq2 { visibility: hidden !important; }
  #x    { display: none; }

  #faq {
    font-size: 1.25em;
  }

  /* Layout: sticky left + scrollable right */
  .main-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 0 3vw;
    margin-top: calc(var(--nav-height) + 16px);
  }

  .main-content .left-col {
    position: sticky;
    top: calc(var(--nav-height) + 16px);
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
    padding-right: 24px;
    float: none;
  }

  .main-content > .col-sm-12:not(.left-col) {
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
    float: none;
  }

  .product {
    margin-bottom: 100px;
  }

  /* Typography / spacing scaling */
  .col {
    line-height: 0.9em;
    font-size: 0.9em;
  }

  h2 {
    font-size: 1.25em !important;
  }

  button {
    font-size: 1em;
    padding: 10px 0;
  }

  .form-group input, .form-group textarea, .form-group select {
    font-size: 1em;
  }

  #id_quantity {
    width: 25%;
  }

  li {
    font-size: 0.9em;
  }

  /* Footer: natural flow (not fixed) */
  #footer {
    margin-top: 80px;
  }
  #footer a.overlay-trigger, #footer p {
    display: inline-block;
    font-size: 1em;
    margin: 0 1vw;
  }

  /* Overlay */
  .overlay-content {
    width: 70%;
  }

  /* Product link (index page) */
  .product-link {
    margin-top: 120px;
  }
  .product-link div {
    display: inline-block;
    width: 45%;
  }
  .product-link h1 {
    padding-bottom: 40px;
  }
}

/* ── Large Desktop (>= 1200px) ─────────────────────────── */

@media (min-width: 1200px) {
  .col {
    line-height: 1em;
    font-size: 1em;
  }
  .right {
    display: block;
  }
  .col div {
    display: inline-block;
    margin: 0 auto;
  }
  #footer a.overlay-trigger, #footer p {
    font-size: 1.1em;
    margin: 0 3vw;
  }
}

@media (max-width: 991px) {
  .home-page #pages {
    min-height: 64px;
    padding: 14px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page #x {
    display: block;
    top: 23px;
    right: 22px;
  }

  .home-page #pages .home-nav-links {
    display: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    margin-left: 0;
    padding-top: 12px;
  }

  .home-page #pages .page {
    display: block;
    width: fit-content !important;
    margin: 12px 0 !important;
    text-align: left !important;
    line-height: 1.2 !important;
  }

  .home-page .product-link {
    grid-template-columns: 1fr;
    max-width: 620px;
    padding-top: 108px;
  }
}

@media (max-width: 991px) and (orientation: landscape) and (min-width: 640px) {
  .home-page .product-link {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 920px;
    gap: 32px;
    padding-top: 96px;
  }
}

@media (max-width: 560px) {
  .home-page #pages {
    justify-content: flex-start;
  }

  .home-page #pages .logo {
    width: auto;
    justify-content: flex-start;
  }

  .home-page #pages .home-nav-links {
    gap: 12px;
  }

  .home-page #pages .page {
    font-size: 0.82em;
  }

  .home-page #pages .home-nav-cta {
    padding: 6px 14px;
  }

  .home-page #footer a.overlay-trigger,
  .home-page #footer p {
    display: block;
    margin: 8px 0;
  }
}
