/* ── Reset ── */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
}

a { color: #6b2fa0; text-decoration: none; }
a:hover { color: #ef4444; opacity: 0.8; text-decoration: underline; }

/* Exclude buttons and nav from global link color */
.btn-primary, .btn-primary:hover,
.btn-secondary, .btn-secondary:hover,
.nav-cta, .nav-cta:hover,
.mobile-nav-item, .mobile-nav-item:hover,
.nav-links a, .nav-links a:hover,
.nav-logo, .nav-logo:hover,
.footer a, .footer a:hover { color: revert; opacity: 1; }

img {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    border: 0;
}

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-default {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    width: 100%;
    margin-top: 80px;
}

/* LEGACY - can be removed after nav is confirmed working */
/* ── Header ── */
.site-header {
    background-color: #fff;
    padding-top: 22px;
    padding-bottom: 22px;
    box-shadow: 0 3px 14px #1214290a;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;
}
.site-header .container {
    max-width: 1224px;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LEGACY - can be removed after nav is confirmed working */
/* Logo */
.site-logo {
    flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }
.site-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* LEGACY - can be removed after nav is confirmed working */
/* Nav */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.main-nav a {
    color: #03003d;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.125em;
    transition: color 0.2s ease;
}
.main-nav a:hover {
    color: #ee4000;
    text-decoration: none;
}

/* LEGACY - can be removed after nav is confirmed working */
/* CTA button */
.header-cta {
    flex-shrink: 0;
}
.btn-demo-header {
    background-image: linear-gradient(180deg, #5b0a91, #37035a);
    color: #fff;
    border-radius: 80px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    text-decoration: none;
    box-shadow: 0 2px 6px #12142930;
    margin-left: 16px;
    display: inline-block;
    transition: transform .3s, box-shadow .3s;
}
.btn-demo-header:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px #12142940;
    text-decoration: none;
}

/* LEGACY - can be removed after nav is confirmed working */
/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #03003d;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============= NAV (site-wide) ============= */
.nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: #ffffff; border-bottom: 1px solid #f0ecf4;
}
#wpadminbar ~ .nav {
    top: 32px;
}
.nav-banner {
    background: #6B2FA0; color: #fff; text-align: center;
    padding: 10px 16px; font-size: 13px; font-weight: 500;
}
.nav-banner strong { color: #FFD0A0; }
.nav-bar { padding: 12px 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); }
.nav-bar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo-img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin-bottom: 0; }
.nav-links a { font-size: 14px; font-weight: 500; color: #4a4a5a; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #6B2FA0; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: #6B2FA0; color: #fff !important;
    padding: 15px 24px; border-radius: 50px;
    font-weight: 600; font-size: 14px; text-decoration: none;
    transition: all 0.3s; box-shadow: 0 4px 16px rgba(107,47,160,0.25);
    border: none; cursor: pointer;
}
.nav-cta:hover {
    background: #5a2888; color: #fff !important;
    transform: translateY(-1px); box-shadow: 0 6px 24px rgba(107,47,160,0.3);
}

/* ============= MOBILE HAMBURGER & MENU (site-wide) ============= */
.nav-hamburger {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; background: none; border: none; cursor: pointer;
    padding: 6px; z-index: 101;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: #1a1a2e; border-radius: 2px; transition: all 0.3s ease;
}
.mobile-menu-overlay {
    display: none; position: fixed; inset: 0; z-index: 300;
    background: rgba(26, 26, 46, 0.5); backdrop-filter: blur(4px);
}
.mobile-menu-overlay.active { display: block; }
.mobile-menu {
    position: absolute; top: 0; right: 0; width: 280px; height: 100vh;
    background: #fff; padding: 24px; box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
}
.mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 32px;
}
.mobile-menu-header .nav-logo-img { height: 28px; }
.mobile-menu-close {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e2e0dc;
    background: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 20px; color: #6b6860; transition: all 0.2s;
    line-height: 1; padding: 0; padding-bottom: 2px;
}
.mobile-menu-close:hover { background: #fef2f2; color: #dc2626; }
.mobile-menu-links { list-style: none; padding: 0; margin: 0; }
.mobile-menu-links li { border-bottom: 1px solid #f0ecf4; }
.mobile-menu-links a {
    display: block; padding: 16px 0; font-size: 16px; font-weight: 500;
    color: #1a1a2e; text-decoration: none; transition: color 0.2s;
}
.mobile-menu-links a:hover { color: #6B2FA0; }
@media (max-width: 991px) {
    .nav-hamburger { display: flex !important; }
    .nav .nav-links { display: none !important; }
    .nav .nav-cta { display: none !important; }
}

/* ============= MOBILE BOTTOM NAV (site-wide) ============= */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-top: 1px solid #e8e4f0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bottom-nav-inner { display: flex; align-items: center; justify-content: space-around; gap: 4px; }
.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    text-decoration: none; color: #6e6e82;
    font-size: 10px; font-weight: 600; padding: 6px 12px;
    border-radius: 10px; transition: all 0.2s; flex: 1; text-align: center;
}
.mobile-nav-item:hover, .mobile-nav-item:active { color: #6B2FA0; background: #f6f0fc; }
.mobile-nav-item svg {
    width: 20px; height: 20px; stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.mobile-nav-item.cta-item {
    background: #6B2FA0; color: #fff !important;
    border-radius: 50px; padding: 10px 16px;
    flex-direction: row; gap: 6px; font-size: 12px;
    box-shadow: 0 4px 16px rgba(107,47,160,0.25);
    border: none; cursor: pointer;
}
.mobile-nav-item.cta-item:hover, .mobile-nav-item.cta-item:active { background: #5a2888; color: #fff !important; }
.mobile-nav-item.cta-item svg { width: 16px; height: 16px; stroke: #fff; }

/* ── Footer ── */
.site-footer {
    border-top: 1px solid #e5e5e5;
    padding: 2rem 0;
    margin-top: 0;
    color: #595959;
    font-size: 0.9rem;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}
.footer-logo {
    display: flex;
    align-items: center;
}
.footer-logo img {
    height: 40px;
    width: auto;
}
.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-copyright {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #6e6e82;
}
.footer-nav ul li a {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-nav ul li a:hover {
    color: #03003d;
}

/* ── Pages ── */
.page-default,
.page-home,
.page-about,
.page-contact {
    padding: 2rem 0;
}
.page-default h1,
.page-about h1,
.page-contact h1 {
    margin-bottom: 1rem;
}
.page-subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 2rem;
}

/* ── Shared Shopify Button (used by CTA footer) ── */
.btn-shopify {
    background-image: linear-gradient(180deg, #5b0a91, #37035a);
    color: #fff;
    border-radius: 80px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px #12142930;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-shopify:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}
.btn-shopify-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.btn-shopify-logo {
    height: 22px;
    width: auto;
}

/* ── CTA Footer Section ── */
.cta-footer-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-image: linear-gradient(to bottom, #490676, #37035a);
    margin-top: 80px;
}
.cta-footer-grid {
    display: grid;
    grid-template-columns: 3.25fr 0.8fr;
    gap: 41px;
    align-items: center;
}
.cta-footer-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.cta-footer-img {
    width: 100%;
    max-width: 130px;
    display: block;
    flex-shrink: 0;
}
.cta-footer-text-wrap {
    border-left: 2px solid #dbdbdd;
    padding-left: 40px;
    display: flex;
}
.cta-footer-heading {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.368em;
    margin: 0;
    text-align: left;
}
.cta-footer-btns {
    display: flex;
    justify-content: flex-end;
}
.btn-shopify-white {
    background-image: linear-gradient(180deg, #ee4000, #942800) !important;
    background-color: transparent !important;
    color: #fff !important;
    border-radius: 80px;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(18,20,41,0.19);
    transition: transform .3s, box-shadow .3s;
}
.btn-shopify-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(18,20,41,0.25);
}
.btn-shopify-white .btn-shopify-label {
    color: #fff !important;
}

/* ── Reveal Animation (pure CSS, no JS needed) ── */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal {
    animation: revealUp 0.7s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
}

/* ── Related Posts Grid ── */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 16px 0 24px;
}
@media (max-width: 991px) {
    .related-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
    .related-posts-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Schema Guide Page ── */
.styleguide {
    display: flex;
}
.styleguide_sidebar {
    z-index: 100;
    background-color: #fff;
    flex-direction: column;
    justify-content: space-between;
    width: 15rem;
    max-width: 15rem;
    min-height: 100vh;
    max-height: 100vh;
    padding: 2em;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    overflow: auto;
    box-shadow: 2px 0 8px #0000001a;
}
.container-styleguide {
    width: 100%;
    margin-left: 15rem;
    margin-right: 0;
}
.fs-styleguide_header {
    background-color: #0000000d;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.fs-styleguide_heading-large {
    font-size: 5rem;
}
.fs-styleguide_heading-medium {
    font-size: 4rem;
}
.fs-styleguide_classes {
    grid-column-gap: 1px;
    grid-row-gap: 1px;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}
.padding-section-large {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.padding-global {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}
.text-size-medium {
    font-size: 1.25rem;
}
.red-text {
    color: #ee4000;
}
.green-text {
    color: #2d7a2d;
}
.link-2 {
    text-align: left;
    color: #00f;
}
.bold-text {
    transition: opacity .2s ease-in-out;
}
.styleguide h1 {
    color: #03003d;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.222em;
}
.styleguide h2 {
    color: #03003d;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.316em;
}
.styleguide p {
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 500;
}
.container-styleguide p.text-size-medium {
    color: #7e7f88;
}
.styleguide strong {
    color: #03003d;
    font-weight: 700;
}
.styleguide img {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    border: 0;
}
.styleguide a:not(.styleguide_link) {
    color: #ee4000;
    text-decoration: underline;
    transition: color .3s;
}
.styleguide_list {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    flex-direction: column;
    flex: 1;
    display: flex;
}
.nav-menu-wrapper {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    height: 100%;
    display: flex;
}
.nav-link-wrapper {
    flex-direction: column;
    display: flex;
}
.styleguide_link {
    opacity: .9;
    color: #788782;
    flex-flow: column;
    padding-top: .5rem;
    padding-bottom: .5em;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 1em;
    font-weight: 400;
    text-decoration: none;
    transition: opacity .2s ease-in-out, background-color .2s ease-in-out, color .2s ease-in-out;
    display: flex;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 4px;
}
.styleguide_link:hover {
    color: inherit;
    background-color: transparent;
    cursor: default;
    text-decoration: none;
}
.styleguide_link.child_style:hover {
    opacity: 1;
    color: #ee4000;
    background-color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}
.styleguide_link.child_style {
    margin-left: 20px;
}
.w-inline-block {
    max-width: 100%;
    display: inline-block;
}
@media (min-width: 768px) and (max-width: 900px) {
    .styleguide_sidebar {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        max-height: none;
        flex-direction: row;
        padding: 16px;
    }
    .nav-link-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .styleguide_link {
        white-space: nowrap;
    }
    .styleguide_link.child_style {
        padding-left: 0;
    }
    .container-styleguide {
        margin-left: 0;
    }
    .styleguide {
        flex-direction: column;
    }
}

/* ── Code Blocks ── */
.adsgun-schema-json {
    display: flex;
    background: #1e1e1e;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}
.adsgun-line-numbers {
    padding: 1rem 0.75rem;
    color: #858585;
    text-align: right;
    user-select: none;
    min-width: 2.5rem;
    background: #1e1e1e;
}
.adsgun-json-code {
    flex: 1;
    padding: 1rem;
    overflow-x: auto;
}
.adsgun-code-content {
    margin: 0;
    color: #d4d4d4;
    white-space: pre;
}
.copy-btn-wrap {
    position: absolute;
    top: 8px;
    right: 8px;
}
.adsgun_editor_copy_btn {
    width: 35px;
    height: 35px;
    padding: 5px;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}
.adsgun_editor_copy_btn:hover {
    background: #f0f0f0;
}
.adsgun_editor_copy_btn svg {
    width: 25px;
    height: 25px;
    fill: #333;
}

/* ── Shared Button ── */
.btn-secondary {
    background: transparent;
    border: 2px solid #03003d;
    color: #03003d;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.btn-secondary:hover {
    background: #03003d;
    color: #fff;
    text-decoration: none;
}

/* Content sections */
.content-section {
    padding: 2rem 0;
}
.content-section h2 {
    margin-bottom: 0.75rem;
}
.page-content {
    margin-top: 1rem;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 1.5rem;
}
.contact-info p { margin-bottom: 0.75rem; }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}
.team-member img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.team-member h3 { margin-top: 0.5rem; }
.team-member .role { color: #666; font-size: 0.9rem; }

/* 404 */
.page-404 h1 { font-size: 3rem; }

/* ── Button ── */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-size: 0.95rem;
}
.btn:hover { background: #0055aa; text-decoration: none; }

/* ── Sidebar Toggle Button (Setup Schema / Developers) ── */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.sidebar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #03003d;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}
.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}
.sidebar-overlay-active {
    display: block;
}

/* ═══════════════════════════════
   RESPONSIVE — TABLET (max-width: 991px)
   ═══════════════════════════════ */
@media (max-width: 991px) {
    /* ── New Nav ── */
    .nav-links { display: none; }

    /* ── Header ── */
    .site-logo img {
        height: 34px;
    }
    .main-nav ul {
        gap: 1.25rem;
    }
    .main-nav a {
        font-size: 14px;
    }
    .btn-demo-header {
        padding: 10px 14px;
        font-size: 13px;
    }

    .cta-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .cta-footer-btns {
        justify-content: flex-start;
    }
    .cta-footer-heading {
        font-size: 28px;
    }
}

/* ═══════════════════════════════
   RESPONSIVE — MOBILE (max-width: 767px)
   ═══════════════════════════════ */
@media (max-width: 767px) {
    /* ── New Nav ── */
    .nav-banner { font-size: 12px; padding: 8px 12px; }
    .mobile-bottom-nav { display: block; }
    .nav-cta { display: none; }
    body { padding-bottom: 80px; }

    /* ── General ── */
    .container-default {
        padding-left: 16px;
        padding-right: 16px;
    }
    .padding-global {
        padding-left: 16px;
        padding-right: 16px;
    }
    .container-large {
        max-width: 100%;
        overflow-x: hidden;
    }
    .adsgun-schema-json {
        max-width: 100%;
        overflow-x: auto;
    }
    pre.adsgun-code-content {
        white-space: pre;
        word-break: normal;
    }
    .site-header .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* ── Header ── */
    .nav-toggle { display: flex; }
    .site-logo img {
        height: 30px;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        border-left: 1px solid #e5e5e5;
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    .main-nav.open { right: 0; }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .main-nav a { font-size: 1rem; }
    .header-cta { display: none; }

    /* ── CTA Footer mobile ── */
    .cta-footer-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .cta-footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    .cta-footer-inner {
        flex-direction: column;
        align-items: center;
    }
    .cta-footer-img {
        max-width: 200px;
        margin: 0 auto;
    }
    .cta-footer-text-wrap {
        border-left: none;
        padding-left: 0;
    }
    .cta-footer-heading {
        font-size: 20px;
        text-align: center;
    }
    .cta-footer-btns {
        width: 100%;
        justify-content: center;
    }
    .btn-shopify-white {
        width: 100%;
        justify-content: center;
    }

    /* ── Quick Start Guide ── */
    .quick-start-wrap h1 {
        font-size: 32px;
    }
    .quick-start-wrap h2 {
        font-size: 26px;
    }
    .quick-start-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }
    .quick-start-wrap table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .quick-start-wrap img {
        width: 100%;
        height: auto;
    }
    .quick-start-section {
        margin-bottom: 40px;
    }

    /* ── Setup Schema / Developers — sidebar mobile ── */
    .sidebar-toggle {
        display: flex;
    }
    .styleguide_sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 280px;
        min-height: 100vh;
        max-height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
        flex-direction: column;
        padding: 2em;
        overflow-y: auto;
    }
    .styleguide_sidebar.sidebar-open {
        transform: translateX(0);
    }
    .styleguide {
        flex-direction: row;
    }
    .container-styleguide {
        margin-left: 0;
        width: 100%;
    }
    .nav-link-wrapper {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: visible;
    }
    .styleguide_link {
        white-space: normal;
    }
    .fs-styleguide_heading-large {
        font-size: 2.5rem;
    }
    .fs-styleguide_heading-medium {
        font-size: 2rem;
    }
    .padding-section-large {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* ── Footer ── */
    .site-footer {
        margin-top: 2rem;
        padding: 1.5rem 16px;
    }
    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .footer-logo img {
        height: 32px;
    }
    .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    /* ── General ── */
    .contact-layout { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════
   RESPONSIVE — SMALL MOBILE (max-width: 479px)
   ═══════════════════════════════ */
@media (max-width: 479px) {
    .cta-footer-heading {
        font-size: 20px;
    }
    .fs-styleguide_heading-large {
        font-size: 2rem;
    }
    .fs-styleguide_heading-medium {
        font-size: 1.5rem;
    }
    .quick-start-wrap h1 {
        font-size: 26px;
    }
    .quick-start-wrap h2 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .cta-footer-btns {
        width: 100%;
    }
    .btn-shopify-white {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .main-nav ul li {
        width: 100%;
    }
    .main-nav ul li a {
        display: block;
        width: 100%;
        padding: 12px 0;
    }
}

/* ============= NAV DROPDOWN ============= */
.nav-dropdown { position: relative; list-style: none; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #f0ecf4;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(107,47,160,0.08);
    min-width: 200px;
    padding: 8px;
    padding-top: 16px;
    z-index: 200;
    list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4a5a;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-dropdown-menu a:hover {
    background: #f6f0fc;
    color: #6B2FA0;
}
