
/* General Body and Typography */
:root {
    --section-padding-desktop: 56px;
    --section-padding-mobile: 36px;
    --content-gap: 24px;
    --card-padding: 24px;
    --heading-margin-bottom: 20px;
    --subtitle-margin-bottom: 24px;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8; /* White background */
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    color: #2c3e50; /* Dark gray for headings */
    margin-bottom: 15px;
}

h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: var(--heading-margin-bottom);
}

h3 {
    font-size: 1.5em;
    margin-bottom: 16px; /* Default for h3, can be overridden */
}

p {
    margin-bottom: 10px;
}

a {
    color: #3498db; /* Blue accent for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 10px;
}

ol {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #3498db; /* Blue accent for buttons */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9; /* Darker blue on hover */
    text-decoration: none;
}

.btn-primary {
    background-color: #2ecc71; /* Green accent for primary buttons */
}

.btn-primary:hover {
    background-color: #27ae60; /* Darker green on hover */
}

/* Header */
header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .brand h1 {
    margin: 0;
    font-size: 1.8em;
    color: #2c3e50;
}

header .legal-badge {
    font-size: 0.8em;
    color: #7f8c8d; /* Gray for subtle text */
    margin-left: 10px;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-right: 20px;
}

header nav ul li a {
    color: #555;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background-color: #ecf0f1; /* Light gray background */
    padding: var(--section-padding-desktop) 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}

.hero-content .product-name {
    font-size: 1.2em;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: var(--heading-margin-bottom);
    color: #2c3e50;
}

.hero-content .subheadline {
    font-size: 1.3em;
    color: #555;
    margin-bottom: var(--subtitle-margin-bottom);
}

.price-badge {
    background-color: #f39c12; /* Orange accent */
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.secondary-note, .checkout-note {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 10px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Trust Safety Strip */
.trust-safety-strip {
    background-color: #34495e; /* Dark blue/gray */
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.trust-safety-strip ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.trust-safety-strip ul li {
    margin: 10px 20px;
    font-weight: bold;
}

/* Sections */
section {
    padding: var(--section-padding-desktop) 0;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

.problem-section ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.problem-section ul li {
    background-color: #fff;
    padding: var(--card-padding);
    margin-bottom: 15px; /* Keep some space between list items */
    border-left: 5px solid #3498db;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.whats-inside-section, .how-it-works-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--content-gap);
}

.whats-inside-section .container, .how-it-works-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--content-gap);
}

.whats-inside-section .content, .how-it-works-section .content {
    flex: 1;
    min-width: 300px;
}

.whats-inside-section .image, .how-it-works-section .image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.whats-inside-section img, .how-it-works-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.whats-inside-section ul {
    list-style: none;
    padding: 0;
}

.whats-inside-section ul li {
    background-color: #fff;
    padding: 12px 15px; /* Slightly reduced padding */
    margin-bottom: 8px;
    border-left: 3px solid #2ecc71; /* Green accent */
    border-radius: 3px;
}

.how-it-works-section ol li {
    background-color: #fff;
    padding: 12px 15px; /* Slightly reduced padding */
    margin-bottom: 8px;
    border-left: 3px solid #3498db; /* Blue accent */
    border-radius: 3px;
}

.who-it-is-for-section, .who-it-is-not-for-section {
    background-color: #ecf0f1;
    text-align: center;
}

.who-it-is-for-section ul, .who-it-is-not-for-section ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--content-gap);
}

.who-it-is-for-section ul li, .who-it-is-not-for-section ul li {
    background-color: #fff;
    padding: var(--card-padding);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex: 1 1 calc(50% - var(--content-gap)); /* Two columns on larger screens */
    box-sizing: border-box;
    text-align: left;
}

.who-it-is-not-for-section ul li {
    border-left: 5px solid #e74c3c; /* Red accent for "not for" */
}

.who-it-is-for-section ul li {
    border-left: 5px solid #2ecc71; /* Green accent for "is for" */
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px; /* Reduced gap between FAQ items */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* Reduced summary padding */
    font-weight: bold;
    color: #2c3e50;
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5em;
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 20px 15px 20px; /* Reduced answer paragraph padding */
    color: #555;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta-section {
    text-align: center;
    background-color: #ecf0f1;
    padding: var(--section-padding-desktop) 0;
}

.final-cta-section h2 {
    font-size: 2.5em;
    margin-bottom: var(--heading-margin-bottom);
}

.final-cta-section p {
    margin-top: 15px; /* Reduced margin */
    color: #7f8c8d;
}

/* Checkout Readiness */
.checkout-readiness-section {
    background-color: #f9f9f9;
    padding: var(--section-padding-desktop) 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.checkout-readiness-section h3 {
    color: #2ecc71;
    margin-bottom: 15px;
}

.checkout-readiness-section .status-note {
    font-weight: bold;
    color: #e67e22; /* Orange for pending status */
}

/* Footer */
footer {
    background-color: #2c3e50; /* Dark blue/gray */
    color: #ecf0f1;
    padding: var(--section-padding-desktop) 0;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: #3498db;
}

footer .business-info p {
    margin: 5px 0;
}

.footer-disclaimer {
    margin-top: 20px;
    font-size: 0.8em;
    color: #bdc3c7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-legal-line {
    margin-top: 15px;
    font-size: 0.85em;
    font-weight: bold;
    color: #ecf0f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjust section padding for mobile */
    section {
        padding: var(--section-padding-mobile) 0;
    }

    .hero-section {
        padding: var(--section-padding-mobile) 0;
    }

    .final-cta-section {
        padding: var(--section-padding-mobile) 0;
    }

    .checkout-readiness-section {
        padding: var(--section-padding-mobile) 0;
    }

    footer {
        padding: var(--section-padding-mobile) 0;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 15px;
        justify-content: center;
    }

    header nav ul li {
        margin: 0 10px;
    }

    .hero-section .container {
        flex-direction: column;
    }

    .hero-content h2 {
        font-size: 2.2em;
    }

    .hero-content .subheadline {
        font-size: 1.1em;
    }

    .trust-safety-strip ul {
        flex-direction: column;
    }

    .whats-inside-section .container, .how-it-works-section .container {
        flex-direction: column;
    }

    .who-it-is-for-section ul li, .who-it-is-not-for-section ul li {
        flex: 1 1 100%; /* Single column on small screens */
    }
}

/* Targeted compact spacing patch: FAQ + audience sections */

/* General compact section styling */
.section-compact {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .section-compact {
        padding-top: 32px;
        padding-bottom: 32px;
    }
}

/* FAQ Section */
.faq-compact.faq-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.faq-compact.faq-section h2 {
    margin-bottom: 18px;
}

.faq-compact .faq-accordion {
    gap: 14px; /* Reduced gap between FAQ items */
}

.faq-compact .faq-item {
    margin-bottom: 0; /* Remove default margin, use gap from accordion */
    border-radius: 12px;
}

.faq-compact .faq-item summary {
    padding: 14px 16px;
}

.faq-compact .faq-item summary h3 {
    margin-bottom: 0; /* Remove default h3 margin */
}

.faq-compact .faq-item p {
    padding: 0 16px 14px 16px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-compact.faq-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .faq-compact.faq-section h2 {
        margin-bottom: 14px;
    }

    .faq-compact .faq-accordion {
        gap: 10px;
    }

    .faq-compact .faq-item summary {
        padding: 14px 16px;
    }

    .faq-compact .faq-item p {
        padding: 0 16px 14px 16px;
    }
}

/* Audience Sections (Who This Kit Is For/Not For) */
.audience-compact.who-it-is-for-section,
.audience-compact.who-it-is-not-for-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.audience-compact.who-it-is-for-section h2,
.audience-compact.who-it-is-not-for-section h2 {
    margin-bottom: 18px;
}

.audience-compact.who-it-is-for-section ul,
.audience-compact.who-it-is-not-for-section ul {
    gap: 18px;
}

.audience-compact.who-it-is-for-section ul li,
.audience-compact.who-it-is-not-for-section ul li {
    padding: 16px 20px;
}

@media (max-width: 768px) {
    .audience-compact.who-it-is-for-section,
    .audience-compact.who-it-is-not-for-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .audience-compact.who-it-is-for-section h2,
    .audience-compact.who-it-is-not-for-section h2 {
        margin-bottom: 14px;
    }

    .audience-compact.who-it-is-for-section ul,
    .audience-compact.who-it-is-not-for-section ul {
        gap: 14px;
    }

    .audience-compact.who-it-is-for-section ul li,
    .audience-compact.who-it-is-not-for-section ul li {
        padding: 16px 20px;
    }
}
/*========================*/

/* Manual height patch: compact header + footer */

/* HEADER HEIGHT */
header,
.site-header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  min-height: auto !important;
}

header .container,
.site-header .container,
.header-inner,
.navbar,
.nav-container {
  min-height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
}

.logo,
.brand,
.site-logo {
  line-height: 1.1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

nav,
.nav,
.nav-links {
  gap: 18px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

header .btn,
.site-header .btn,
.navbar .btn,
.nav-container .btn {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  line-height: 1.1 !important;
}


/* FOOTER HEIGHT */
footer,
.site-footer {
  padding-top: 24px !important;
  padding-bottom: 20px !important;
  min-height: auto !important;
}

footer .container,
.site-footer .container,
.footer-inner,
.footer-content {
  gap: 10px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

footer p,
.site-footer p,
.footer-disclaimer {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  line-height: 1.45 !important;
}

footer .footer-brand,
.site-footer .footer-brand {
  margin-bottom: 6px !important;
}


/* MOBILE */
@media (max-width: 768px) {
  header,
  .site-header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  header .btn,
  .site-header .btn,
  .navbar .btn,
  .nav-container .btn {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  footer,
  .site-footer {
    padding-top: 18px !important;
    padding-bottom: 16px !important;
  }

  footer p,
  .site-footer p,
  .footer-disclaimer {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
  }
}


/* Manual patch: reduce space between header and hero title */

.hero,
.hero-section,
section.hero,
main section:first-of-type {
  padding-top: 32px !important;
  margin-top: 0 !important;
  min-height: auto !important;
}

.hero .container,
.hero-section .container,
.hero-inner,
.hero-content,
.hero-grid {
  padding-top: 0 !important;
  margin-top: 0 !important;
  min-height: auto !important;
}

.hero .eyebrow,
.hero-section .eyebrow,
.product-label,
.product-name,
.kicker {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

/* Mobile */
@media (max-width: 768px) {
  .hero,
  .hero-section,
  section.hero,
  main section:first-of-type {
    padding-top: 22px !important;
  }
}

/* Manual patch: compact trust-safety strip and surrounding spacing */

#trust-safety.trust-compact {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  padding-top: 12px !important;
  padding-bottom: 22px !important;
  min-height: auto !important;
}

#trust-safety.trust-compact .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#trust-safety.trust-compact ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
  gap: 24px !important;
  align-items: center !important;
}

#trust-safety.trust-compact li {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.25 !important;
}

/* Reduce spacing after the dark strip */
#trust-safety.trust-compact + section {
  padding-top: 14px !important;
  margin-top: 0 !important;
}

#trust-safety.trust-compact + section h2 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* Mobile */
@media (max-width: 768px) {
  #trust-safety.trust-compact {
    margin-top: -24px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  #trust-safety.trust-compact ul {
    gap: 12px !important;
  }

  #trust-safety.trust-compact + section {
    padding-top: 26px !important;
  }
}


/* Manual patch: reduce space between Problem and What's Inside */

#problem.problem-compact {
  padding-bottom: 8px !important;
  margin-bottom: 0 !important;
}

#problem.problem-compact .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#problem.problem-compact ul {
  margin-bottom: 0 !important;
}

#problem.problem-compact li:last-child {
  margin-bottom: 0 !important;
}

.whats-inside-compact {
  padding-top: 12px !important;
  margin-top: 0 !important;
}

.whats-inside-compact h2 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* If What's Inside follows directly after Problem */
#problem.problem-compact + .whats-inside-compact,
#problem.problem-compact + section {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  #problem.problem-compact {
    padding-bottom: 6px !important;
  }

  .whats-inside-compact {
    padding-top: 10px !important;
  }
}


/* Manual patch: reduce space between What's Inside and How It Works */

#whats-inside,
.whats-inside-compact {
  padding-bottom: 12px !important;
  margin-bottom: 0 !important;
}

#whats-inside .container,
.whats-inside-compact .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#whats-inside ul,
#whats-inside li:last-child,
.whats-inside-compact ul,
.whats-inside-compact li:last-child {
  margin-bottom: 0 !important;
}

#how-it-works,
.how-it-works-compact {
  padding-top: 12px !important;
  margin-top: 0 !important;
}

#how-it-works .container,
.how-it-works-compact .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#how-it-works h2,
.how-it-works-compact h2 {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

/* If How It Works follows directly after What's Inside */
#whats-inside + #how-it-works,
.whats-inside-compact + .how-it-works-compact,
#whats-inside + section {
  margin-top: 0 !important;
  padding-top: 15px !important;
}

@media (max-width: 768px) {
  #whats-inside,
  .whats-inside-compact {
    padding-bottom: 8px !important;
  }

  #how-it-works,
  .how-it-works-compact {
    padding-top: 8px !important;
  }
}

/* Manual patch: reduce space between How It Works and Who This Kit Is For */

#how-it-works,
.how-it-works-compact {
  padding-bottom: 6px !important;
  margin-bottom: 0 !important;
}

#how-it-works .container,
.how-it-works-compact .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#how-it-works img,
.how-it-works-compact img {
  margin-bottom: 0 !important;
}

#who-it-is-for,
#who-it-is-for.who-it-is-for-section,
#who-it-is-for.audience-compact {
  padding-top: 8px !important;
  margin-top: 0 !important;
}

#who-it-is-for .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#who-it-is-for h2 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* If Who This Kit Is For follows directly after How It Works */
#how-it-works + #who-it-is-for,
.how-it-works-compact + #who-it-is-for,
#how-it-works + section {
  margin-top: 0 !important;
  padding-top: 15px !important;
}

@media (max-width: 768px) {
  #how-it-works,
  .how-it-works-compact {
    padding-bottom: 6px !important;
  }

  #who-it-is-for,
  #who-it-is-for.who-it-is-for-section,
  #who-it-is-for.audience-compact {
    padding-top: 6px !important;
  }
}


/* Manual patch: reduce space between Who For and Who NOT For */

#who-it-is-for,
#who-it-is-for.who-it-is-for-section,
#who-it-is-for.audience-compact {
  padding-bottom: 4px !important;
  margin-bottom: 0 !important;
}

#who-it-is-for .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#who-it-is-for ul {
  margin-bottom: 0 !important;
}

#who-it-is-for li:last-child {
  margin-bottom: 0 !important;
}

#who-it-is-not-for,
#who-it-is-not-for.who-it-is-not-for-section,
#who-it-is-not-for.audience-compact {
  padding-top: 6px !important;
  margin-top: 0 !important;
}

#who-it-is-not-for .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#who-it-is-not-for h2 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* If Who NOT For follows directly after Who For */
#who-it-is-for + #who-it-is-not-for,
#who-it-is-for + section {
  margin-top: 0 !important;
  padding-top: 6px !important;
}

@media (max-width: 768px) {
  #who-it-is-for,
  #who-it-is-for.who-it-is-for-section,
  #who-it-is-for.audience-compact {
    padding-bottom: 2px !important;
  }

  #who-it-is-not-for,
  #who-it-is-not-for.who-it-is-not-for-section,
  #who-it-is-not-for.audience-compact {
    padding-top: 4px !important;
  }
}

/* Manual patch: reduce space between Who NOT For and FAQ */

#who-it-is-not-for,
#who-it-is-not-for.who-it-is-not-for-section,
#who-it-is-not-for.audience-compact {
  padding-bottom: 4px !important;
  margin-bottom: 0 !important;
}

#who-it-is-not-for .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#who-it-is-not-for ul {
  margin-bottom: 0 !important;
}

#who-it-is-not-for li:last-child {
  margin-bottom: 0 !important;
}

#faq,
#faq.faq-section,
#faq.faq-compact {
  padding-top: 8px !important;
  margin-top: 0 !important;
}

#faq .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#faq h2 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* If FAQ follows directly after Who NOT For */
#who-it-is-not-for + #faq,
#who-it-is-not-for + section {
  margin-top: 0 !important;
  padding-top: 12px !important;
}

@media (max-width: 768px) {
  #who-it-is-not-for,
  #who-it-is-not-for.who-it-is-not-for-section,
  #who-it-is-not-for.audience-compact {
    padding-bottom: 2px !important;
  }

  #faq,
  #faq.faq-section,
  #faq.faq-compact {
    padding-top: 6px !important;
  }
}


/* Manual patch: reduce spacing between FAQ questions */

#faq .faq-accordion {
  gap: 6px !important;
}

#faq details,
#faq .faq-item {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

#faq details summary,
#faq .faq-item summary {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  line-height: 1.25 !important;
}

#faq details p,
#faq .faq-item p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 16px 12px 16px !important;
  line-height: 1.45 !important;
}

/* Reduce extra spacing when an FAQ item is open */
#faq details[open] {
  margin-bottom: 6px !important;
}

/* Mobile */
@media (max-width: 768px) {
  #faq .faq-accordion {
    gap: 5px !important;
  }

  #faq details,
  #faq .faq-item {
    margin-bottom: 5px !important;
  }

  #faq details summary,
  #faq .faq-item summary {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  #faq details p,
  #faq .faq-item p {
    padding: 0 14px 10px 14px !important;
  }
}

/* Manual patch: reduce FAQ question height */

#faq details summary,
#faq .faq-item summary {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  min-height: auto !important;
  line-height: 1.2 !important;
  font-size: 0.95rem !important;
}

#faq details,
#faq .faq-item {
  margin-bottom: 4px !important;
  min-height: auto !important;
}

#faq .faq-accordion {
  gap: 4px !important;
}

#faq details p,
#faq .faq-item p {
  padding: 0 14px 9px 14px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  font-size: 0.92rem !important;
}

/* Remove extra default marker spacing if needed */
#faq summary {
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  #faq details summary,
  #faq .faq-item summary {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    font-size: 0.92rem !important;
  }

  #faq details p,
  #faq .faq-item p {
    padding: 0 12px 8px 12px !important;
  }
}


/* Manual fix: center FAQ question text vertically */

#faq details summary,
#faq .faq-item summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 34px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

/* Keep the native arrow aligned */
#faq details summary::marker {
  line-height: 1 !important;
}

/* If browser uses webkit marker */
#faq details summary::-webkit-details-marker {
  line-height: 1 !important;
}

/* Manual patch: smaller FAQ question font */

#faq details summary,
#faq .faq-item summary {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}


/* Manual patch: reduce space between FAQ and final CTA */

#faq,
#faq.faq-section,
#faq.faq-compact {
  padding-bottom: 8px !important;
  margin-bottom: 0 !important;
}

#faq .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#faq .faq-accordion {
  margin-bottom: 0 !important;
}

#faq details:last-child,
#faq .faq-item:last-child {
  margin-bottom: 0 !important;
}

/* Final CTA section after FAQ */
#faq + section,
.final-cta,
.cta-section,
.checkout-section {
  padding-top: 14px !important;
  margin-top: 0 !important;
}

#faq + section h2,
.final-cta h2,
.cta-section h2 {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

@media (max-width: 768px) {
  #faq,
  #faq.faq-section,
  #faq.faq-compact {
    padding-bottom: 6px !important;
  }

  #faq + section,
  .final-cta,
  .cta-section,
  .checkout-section {
    padding-top: 10px !important;
  }
}



/* Manual patch: reduce final CTA title height */

.final-cta h2,
.cta-section h2,
.checkout-section h2,
#faq + section h2 {
  font-size: 1.52rem !important;
  line-height: 1.1 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Reduce vertical height of the final CTA block itself */
.final-cta,
.cta-section,
.checkout-section,
#faq + section {
  padding-top: 8px !important;
  padding-bottom: 20px !important;
}

@media (max-width: 768px) {
  .final-cta h2,
  .cta-section h2,
  .checkout-section h2,
  #faq + section h2 {
    font-size: 1.35rem !important;
    line-height: 1.15 !important;
    margin-bottom: 8px !important;
  }

  .final-cta,
  .cta-section,
  .checkout-section,
  #faq + section {
    padding-top: 10px !important;
    padding-bottom: 22px !important;
  }
}



/* Manual patch: reduce space between final CTA and secure checkout block */

.final-cta,
.cta-section,
#faq + section {
  padding-bottom: 6px !important;
  margin-bottom: 0 !important;
}

.final-cta h2,
.cta-section h2,
#faq + section h2 {
  margin-bottom: 6px !important;
}

.final-cta p,
.cta-section p,
#faq + section p {
  margin-bottom: 6px !important;
}

/* Secure checkout block */
.checkout-section,
.secure-checkout,
.payment-section,
#checkout-pending {
  padding-top: 8px !important;
  margin-top: 0 !important;
}

.checkout-section h2,
.secure-checkout h2,
.payment-section h2,
#checkout-pending h2 {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

@media (max-width: 768px) {
  .final-cta,
  .cta-section,
  #faq + section {
    padding-bottom: 4px !important;
  }

  .checkout-section,
  .secure-checkout,
  .payment-section,
  #checkout-pending {
    padding-top: 6px !important;
  }
}



/* Manual patch: compact checkout readiness section */

#checkout-readiness.checkout-readiness-section {
  padding-top: 6px !important;
  padding-bottom: 10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#checkout-readiness .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#checkout-readiness h3 {
  font-size: 1.05rem !important;
  line-height: 1.1 !important;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#checkout-readiness p {
  font-size: 0.88rem !important;
  line-height: 1.3 !important;
  margin-top: 3px !important;
  margin-bottom: 3px !important;
}

#checkout-readiness .status-note {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  font-size: 0.84rem !important;
}

@media (max-width: 768px) {
  #checkout-readiness.checkout-readiness-section {
    padding-top: 4px !important;
    padding-bottom: 8px !important;
  }

  #checkout-readiness h3 {
    font-size: 0.98rem !important;
    margin-bottom: 4px !important;
  }

  #checkout-readiness p {
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
  }
}

/* Manual patch: compact hero section */

.hero,
.hero-section,
section.hero,
main section:first-of-type {
  padding-top: 24px !important;
  padding-bottom: 18px !important;
  min-height: auto !important;
}

.hero .container,
.hero-section .container,
.hero-inner,
.hero-content,
.hero-grid {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  gap: 18px !important;
  min-height: auto !important;
}

.hero h1,
.hero-section h1,
main section:first-of-type h1 {
  font-size: 2rem !important;
  line-height: 1.15 !important;
  margin-top: 8px !important;
  margin-bottom: 12px !important;
}

.hero p,
.hero-section p,
main section:first-of-type p {
  margin-top: 6px !important;
  margin-bottom: 8px !important;
  line-height: 1.35 !important;
}

.hero .btn,
.hero-section .btn,
main section:first-of-type .btn {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.hero img,
.hero-section img,
.hero-image img,
.product-hero-image,
main section:first-of-type img {
  max-width: 68% !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile */
@media (max-width: 768px) {
  .hero,
  .hero-section,
  section.hero,
  main section:first-of-type {
    padding-top: 18px !important;
    padding-bottom: 14px !important;
  }

  .hero h1,
  .hero-section h1,
  main section:first-of-type h1 {
    font-size: 1.55rem !important;
    line-height: 1.15 !important;
  }

  .hero img,
  .hero-section img,
  .hero-image img,
  .product-hero-image,
  main section:first-of-type img {
    max-width: 92% !important;
    margin-top: 12px !important;
  }
}


/* Manual patch: force hero main image size */

img[src*="01_main_product_cover.png"] {
  width: 68% !important;
  max-width: 720px !important;
  height: auto !important;
  display: block !important;
  margin: 12px auto 0 auto !important;
}

/* Reduce the image wrapper if it exists */
.hero-image,
.hero-visual,
.product-image-wrapper,
.hero-media {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Reduce hero block height */
.hero,
.hero-section,
main section:first-of-type {
  padding-top: 20px !important;
  padding-bottom: 14px !important;
  min-height: auto !important;
}

@media (max-width: 768px) {
  img[src*="01_main_product_cover.png"] {
    width: 92% !important;
    max-width: 100% !important;
  }
}


/* Manual hard patch: force hero image size */

.hero-main-cover {
  width: 500px !important;
  max-width: 500px !important;
  height: auto !important;
  display: block !important;
  margin: 12px auto 0 auto !important;
  object-fit: contain !important;
}

/* Reduce hero vertical space */
.hero,
.hero-section,
main section:first-of-type {
  padding-top: 18px !important;
  padding-bottom: 10px !important;
  min-height: auto !important;
}

@media (max-width: 768px) {
  .hero-main-cover {
    width: 92% !important;
    max-width: 92% !important;
  }
}

/* Manual fix: hero image spacing above trust strip */

.hero-image {
  margin-top: 12px !important;
  margin-bottom: 26px !important;
  padding-bottom: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.hero-main-cover {
  width: 420px !important;
  max-width: 420px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
}

#trust-safety.trust-compact {
  margin-top: 0 !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  position: relative !important;
  z-index: 1 !important;
}

.hero,
.hero-section,
main section:first-of-type {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .hero-main-cover {
    width: 92% !important;
    max-width: 92% !important;
  }

  .hero-image {
    margin-bottom: 18px !important;
  }
}


/* Manual patch: reduce space between hero label and headline */

.hero .eyebrow,
.hero-section .eyebrow,
.hero .product-label,
.hero-section .product-label,
.hero .product-name,
.hero-section .product-name,
.hero .kicker,
.hero-section .kicker,
main section:first-of-type .eyebrow,
main section:first-of-type .product-label,
main section:first-of-type .product-name,
main section:first-of-type .kicker {
  margin-bottom: 4px !important;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
}

.hero h1,
.hero-section h1,
main section:first-of-type h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* Manual hard patch: hero label to headline spacing */

.hero-content > p:first-child,
.hero-content > span:first-child,
.hero-text > p:first-child,
.hero-text > span:first-child,
main section:first-of-type p:first-child {
  margin-bottom: 2px !important;
}

.hero-content h1,
.hero-text h1,
main section:first-of-type h1 {
  margin-top: 0 !important;
}