/* ============================================================
   FoldedBookArt — fba-homepage.css
   Loaded globally on ALL pages via functions.php
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
    --fba-bg: #0D1117;
    --fba-bg2: #131929;
    --fba-surface: #161E2E;
    --fba-surface2: #1C2640;
    --fba-border: #232E45;
    --fba-border2: #2A3855;
    --fba-purple: #9B87F5;
    --fba-purple2: #7C3AED;
    --fba-purple-dim: #2D1F5E;
    --fba-blue: #6B9EFF;
    --fba-green: #4ABA7A;
    --fba-text: #E8E8F8;
    --fba-text2: #8B9AB8;
    --fba-text3: #4A5878;
    --fba-radius: 12px;
    --fba-radius-sm: 8px;
}

/* ── GLOBAL RESET ── */
html, body { margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; }

/* ── FONTS ── */
body, body * {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ── DARK BACKGROUND EVERYWHERE ── */
body,
body #body-core-wrap,
body #body-core,
body #content,
body #content-core,
body #main,
body #main-core,
body .site,
body #page {
    background: #0D1117 !important;
    color: #E8E8F8 !important;
}

/* ── HIDE DRIFT PRO SIDEBAR + BANNER ON ALL PAGES ── */
body:not(.fba-fullwidth) #body-core-header { display: none !important; }
body:not(.fba-fullwidth) #site-header { display: none !important; }
body:not(.fba-fullwidth) #body-core { margin: 0 !important; padding: 0 !important; width: 100% !important; }
body:not(.fba-fullwidth) #content,
body:not(.fba-fullwidth) #content-core,
body:not(.fba-fullwidth) #main,
body:not(.fba-fullwidth) #main-core {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: #0D1117 !important;
}
body:not(.fba-fullwidth) #body-core-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body:not(.fba-fullwidth) #introaction,
body:not(.fba-fullwidth) #section-home { display: none !important; }

/* ── HIDE DRIFT PRO ELEMENTS ON HOMEPAGE ── */
body.fba-fullwidth #page,
body.fba-fullwidth .site,
body.fba-fullwidth #content,
body.fba-fullwidth .site-content,
body.fba-fullwidth #primary,
body.fba-fullwidth #secondary,
body.fba-fullwidth .widget-area,
body.fba-fullwidth aside:not(.fba-sidebar) { display: none !important; }

/* ── NAV ── */
.fba-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13,17,23,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #232E45;
    height: 56px;
}
body.admin-bar .fba-nav { top: 32px !important; }
.fba-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 16px;
}
.fba-nav__left  { display: flex; align-items: center; gap: 14px; flex: none; }
.fba-nav__center{ display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
.fba-nav__right { display: flex; align-items: center; gap: 8px; flex: none; }
.fba-nav__sister{ font-size: 12px; color: #4A5878; text-decoration: none; transition: color .2s; }
.fba-nav__sister:hover { color: #9B87F5; }
.fba-nav__divider { width: 1px; height: 16px; background: #2A3855; }
.fba-nav__logo  { font-size: 15px; font-weight: 800; color: #9B87F5 !important; letter-spacing: -0.01em; text-decoration: none; }
.fba-nav__link  { font-size: 12px; color: #6B7A9A !important; padding: 6px 10px; border-radius: 8px; transition: all .2s; display: inline-block; text-decoration: none; }
.fba-nav__link:hover { color: #fff !important; background: #1C2640; }
.fba-nav__link--accent { color: #9B87F5 !important; }
.fba-nav__search { position: relative; }
.fba-nav__search-input {
    background: #1C2640;
    border: 1px solid #232E45;
    border-radius: 8px;
    color: #E8E8F8;
    font-size: 12px;
    padding: 6px 10px 6px 28px;
    outline: none;
    width: 160px;
    transition: all .2s;
}
.fba-nav__search-input::placeholder { color: #4A5878; }
.fba-nav__search-input:focus { border-color: #9B87F5; width: 200px; }

/* ── BUTTONS ── */
.fba-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none !important;
}
.fba-btn-primary { background: #7C3AED; color: #fff !important; font-size: 14px; }
.fba-btn-primary:hover { background: #6D2FD4; transform: translateY(-1px); }
.fba-btn-secondary { background: none; border: 1px solid #2A3855; color: #9B87F5 !important; font-size: 14px; }
.fba-btn-secondary:hover { border-color: #9B87F5; }
.fba-btn-sm { font-size: 12px !important; padding: 6px 14px !important; border-radius: 8px !important; }

/* ── HERO ── */
.fba-hero {
    background: linear-gradient(180deg, #161B35 0%, #0D1117 100%);
    padding: 56px 32px 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fba-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.fba-hero__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9B87F5;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.fba-hero__eyebrow::before,
.fba-hero__eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: #9B87F5; opacity: 0.4; }
.fba-hero__title { font-size: clamp(32px, 4.5vw, 50px); font-weight: 800; color: #fff; line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; }
.fba-hero__title span { color: #9B87F5; }
.fba-hero__desc { font-size: 15px; color: #6B7A9A; max-width: 460px; margin: 0 auto 28px; line-height: 1.7; }
.fba-hero__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fba-hero__stats { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid #1E2540; flex-wrap: wrap; }
.fba-stat__val { font-size: 20px; font-weight: 800; color: #9B87F5; }
.fba-stat__lbl { font-size: 11px; color: #4A5878; margin-top: 2px; }
.fba-stat__div { width: 1px; height: 28px; background: #1E2540; }

/* ── MAIN ── */
.fba-main { padding: 28px 32px 48px; background: #0D1117; }

/* ── INTERACTIVE TABS ── */
.fba-tabs-wrap { margin-bottom: 32px; }
.fba-tabs-hd { display: flex; gap: 8px; }
.fba-tab-hd {
    flex: 1;
    padding: 14px 18px;
    background: #161E2E;
    border: 1px solid #232E45;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    bottom: -1px;
    z-index: 1;
}
.fba-tab-hd:hover:not(.active) { background: #1A2235; }
.fba-tab-hd.active { background: #1C2640; }
.fba-tab-hd--mmf.active { border-color: #9B87F5; border-bottom-color: #1C2640; }
.fba-tab-hd--caf.active { border-color: #6B9EFF; border-bottom-color: #1C2640; }
.fba-tab-hd--sf.active  { border-color: #9B87F5; border-bottom-color: #1C2640; }
.fba-tab-hd__icon { width: 36px; height: 36px; border-radius: 9px; background: #252D45; display: flex; align-items: center; justify-content: center; flex: none; transition: background .2s; }
.fba-tab-hd--mmf.active .fba-tab-hd__icon,
.fba-tab-hd--sf.active  .fba-tab-hd__icon { background: #2D1F5E; }
.fba-tab-hd--caf.active .fba-tab-hd__icon { background: #1A2A4A; }
.fba-tab-hd__info { flex: 1; }
.fba-tab-hd__title { font-size: 14px; font-weight: 700; color: #E8E8F8; margin-bottom: 2px; }
.fba-tab-hd__sub { font-size: 11px; color: #4A5878; transition: color .2s; }
.fba-tab-hd--mmf.active .fba-tab-hd__sub,
.fba-tab-hd--sf.active  .fba-tab-hd__sub { color: #9B87F5; }
.fba-tab-hd--caf.active .fba-tab-hd__sub { color: #6B9EFF; }
.fba-tab-hd__arrow { font-size: 20px; color: #4A5878; margin-left: auto; transition: transform .2s, color .2s; line-height: 1; }
.fba-tab-hd.active .fba-tab-hd__arrow { transform: rotate(90deg); color: #9B87F5; }
.fba-tab-hd--caf.active .fba-tab-hd__arrow { color: #6B9EFF; }
.fba-tab-hd--fore.active { border-color: #4ABA7A; border-bottom-color: #1C2640; }
.fba-tab-hd--lent.active { border-color: #F59B42; border-bottom-color: #1C2640; }
.fba-tab-hd--fore.active .fba-tab-hd__icon { background: #1A3028; }
.fba-tab-hd--lent.active .fba-tab-hd__icon { background: #2A1A00; }
.fba-tab-hd--fore.active .fba-tab-hd__sub { color: #4ABA7A; }
.fba-tab-hd--lent.active .fba-tab-hd__sub { color: #F59B42; }
.fba-tab-hd--fore.active .fba-tab-hd__arrow { color: #4ABA7A; }
.fba-tab-hd--lent.active .fba-tab-hd__arrow { color: #F59B42; }

/* Tab panels */
.fba-tab-panel { background: #1C2640; border-radius: 0 0 12px 12px; overflow: hidden; position: relative; z-index: 0; }
.fba-tab-panel--mmf { border: 1px solid #9B87F5; }
.fba-tab-panel--caf { border: 1px solid #6B9EFF; }
.fba-tab-panel--sf  { border: 1px solid #9B87F5; }
.fba-tab-panel__inner { display: grid; grid-template-columns: 1fr 300px; min-height: 340px; }
.fba-tab-panel__left { padding: 20px; border-right: 1px solid #1E2540; }

/* Technique explainer */
.fba-technique { background: #161E2E; border: 1px solid #1E2540; border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.fba-technique__visual { width: 100px; height: 70px; border-radius: 7px; overflow: hidden; flex: none; }
.fba-technique__visual svg { display: block; width: 100%; height: 100%; }
.fba-technique__text h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.fba-technique__text p  { font-size: 12px; color: #6B7A9A; line-height: 1.55; }
.fba-panel-grid-hd { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #4A5878; margin-bottom: 12px; }

/* Pattern preview grid in tabs */
.fba-panel-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.fba-panel-pat { background: #161E2E; border: 1px solid #232E45; border-radius: 8px; overflow: hidden; cursor: pointer; transition: all .2s; }
.fba-panel-pat:hover { border-color: #9B87F5; transform: translateY(-2px); }
.fba-panel-pat--caf:hover { border-color: #6B9EFF; }
.fba-panel-pat__img { aspect-ratio: 1/1; background: #252D45 center/cover; }
.fba-panel-pat__name { font-size: 9px; font-weight: 500; color: #8B9AB8; padding: 5px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fba-panel-pat--more { display: flex; align-items: center; justify-content: center; background: #1A1438; border-color: #2D1F5E; min-height: 60px; }
.fba-panel-pat--more-caf { background: #141828; border-color: #1A2A4A; }
.fba-more-count { font-size: 18px; font-weight: 800; color: #9B87F5; line-height: 1; }
.fba-more-lbl { font-size: 9px; color: #4A5878; margin-top: 3px; }

/* Sidebar inside tabs */
.fba-tab-panel__sidebar { padding: 24px 20px; display: flex; flex-direction: column; }
.fba-panel-sidebar__label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9B87F5; margin-bottom: 8px; }
.fba-panel-sidebar__title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.25; transition: all .2s; }
.fba-panel-sidebar__desc  { font-size: 12px; color: #6B7A9A; line-height: 1.65; margin-bottom: 18px; flex: 1; transition: all .2s; }
.fba-panel-sidebar__stats { display: flex; gap: 8px; margin-bottom: 18px; }
.fba-pstat { background: #1C2640; border: 1px solid #232E45; border-radius: 8px; padding: 9px 10px; flex: 1; text-align: center; }
.fba-pstat__val { font-size: 16px; font-weight: 700; color: #9B87F5; }
.fba-pstat--caf .fba-pstat__val { color: #6B9EFF !important; }
.fba-pstat__lbl { font-size: 9px; color: #4A5878; margin-top: 2px; }
.fba-panel-sidebar__btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.fba-pbtn-main { background: #7C3AED; color: #fff !important; font-size: 13px; font-weight: 600; padding: 12px; border-radius: 9px; text-align: center; cursor: pointer; text-decoration: none !important; display: block; transition: background .2s; }
.fba-pbtn-main:hover { background: #6D2FD4; }
.fba-pbtn-main--caf { background: #3A5FCC !important; }
.fba-pbtn-main--caf:hover { background: #2A4FBC !important; }
.fba-pbtn-sub { border: 1px solid #1E2540; color: #6B7A9A !important; font-size: 12px; padding: 9px; border-radius: 9px; text-align: center; cursor: pointer; text-decoration: none !important; display: block; transition: all .2s; }
.fba-pbtn-sub:hover { border-color: #9B87F5; color: #9B87F5 !important; }

/* SmartFold tab */
.fba-sf-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #1E2540; }
.fba-sf-tool { background: #161E2E; padding: 16px 14px; cursor: pointer; transition: background .2s; }
.fba-sf-tool:hover { background: #1A2235; }
.fba-sf-badge { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 20px; letter-spacing: 0.06em; text-transform: uppercase; width: fit-content; margin-bottom: 12px; background: #2D1F5E; color: #9B87F5; border: 1px solid #3A2A70; }
.fba-sf-badge--green { background: #1A3028; color: #4ABA7A; border-color: #2A5038; }
.fba-sf-icon { width: 40px; height: 40px; background: #252D45; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.fba-sf-screenshot { width: 100%; aspect-ratio: 16/9; border-radius: 7px; overflow: hidden; margin-bottom: 10px; border: 1px solid #232E45; }
.fba-sf-screenshot img { width: 100%; height: 100%; object-fit: contain; display: block; background: #1C2640; }
.fba-sf-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.fba-sf-desc { font-size: 12px; color: #6B7A9A; line-height: 1.55; }
.fba-sf-footer { background: #1C2640; border-top: 1px solid #1E2540; padding: 20px 24px; display: flex; align-items: center; gap: 28px; }
.fba-sf-footer__text { flex: 1; }
.fba-sf-footer__btns { display: flex; flex-direction: column; gap: 8px; flex: none; width: 220px; }
.fba-sf-library { padding: 0 1px; }
.fba-sf-library__label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9B87F5; padding: 14px 18px 8px; }
.fba-sf-library__img { position: relative; overflow: hidden; max-height: 220px; }
.fba-sf-library__img img { width: 100%; display: block; object-fit: cover; }
.fba-sf-library__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,17,23,0.85) 0%, transparent 50%); display: flex; align-items: flex-end; justify-content: center; padding: 20px; }

/* ── FOOTER ── */
.fba-footer { background: #161E2E; border-top: 1px solid #232E45; padding: 16px 32px; }
.fba-footer__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1600px; margin: 0 auto; flex-wrap: wrap; gap: 12px; }
.fba-footer__left  { display: flex; align-items: center; gap: 14px; }
.fba-footer__logo  { font-size: 13px; font-weight: 800; color: #9B87F5; }
.fba-footer__copy  { font-size: 11px; color: #4A5878; }
.fba-footer__links { display: flex; gap: 16px; }
.fba-footer__links a { font-size: 11px; color: #4A5878; text-decoration: none; transition: color .2s; }
.fba-footer__links a:hover { color: #9B87F5; }

/* ── WOO ARCHIVE — dark restyle ── */
body:not(.fba-fullwidth) .woocommerce-breadcrumb { background: transparent !important; color: #4A5878 !important; font-size: 12px !important; padding: 16px 0 8px !important; }
body:not(.fba-fullwidth) .woocommerce-breadcrumb a { color: #9B87F5 !important; }
body:not(.fba-fullwidth) .woocommerce-products-header__title,
body:not(.fba-fullwidth) h1.page-title { font-weight: 800 !important; color: #fff !important; }
body:not(.fba-fullwidth) .term-description,
body:not(.fba-fullwidth) .woocommerce-products-header p { color: #6B7A9A !important; font-size: 14px !important; line-height: 1.65 !important; }
body:not(.fba-fullwidth) .woocommerce ul.products li.product {
    background: #161E2E !important;
    border: 1px solid #232E45 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: border-color .2s, transform .2s !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
body:not(.fba-fullwidth) .woocommerce ul.products li.product:hover { border-color: #9B87F5 !important; transform: translateY(-3px) !important; }
body:not(.fba-fullwidth) .woocommerce ul.products li.product a img { margin: 0 !important; border-radius: 0 !important; display: block !important; width: 100% !important; }
body:not(.fba-fullwidth) .woocommerce ul.products li.product h2,
body:not(.fba-fullwidth) .woocommerce ul.products li.product .woocommerce-loop-category__title {
    font-style: normal !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #E8E8F8 !important;
    padding: 10px 12px 6px !important;
    background: transparent !important;
}
body:not(.fba-fullwidth) .woocommerce ul.products li.product .count,
body:not(.fba-fullwidth) mark {
    background: #2D1F5E !important;
    color: #9B87F5 !important;
    border-radius: 20px !important;
    padding: 2px 8px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    border: 1px solid #3A2A70 !important;
}
body:not(.fba-fullwidth) .price,
body:not(.fba-fullwidth) .woocommerce ul.products li.product .button { display: none !important; }
body:not(.fba-fullwidth) .woocommerce-ordering select {
    background: #161E2E !important;
    border: 1px solid #232E45 !important;
    color: #E8E8F8 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
}
body:not(.fba-fullwidth) .woocommerce-result-count { color: #6B7A9A !important; font-size: 13px !important; }
body:not(.fba-fullwidth) .site-footer,
body:not(.fba-fullwidth) #colophon { background: #161E2E !important; border-top: 1px solid #232E45 !important; color: #4A5878 !important; }
body:not(.fba-fullwidth) .site-footer a { color: #4A5878 !important; }
body:not(.fba-fullwidth) .site-footer a:hover { color: #9B87F5 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .fba-tab-panel__inner { grid-template-columns: 1fr; }
    .fba-tab-panel__sidebar { border-top: 1px solid #1E2540; }
    .fba-panel-grid { grid-template-columns: repeat(4, 1fr); }
    .fba-sf-footer { flex-direction: column; }
    .fba-sf-footer__btns { width: 100%; }
}
@media (max-width: 768px) {
    .fba-tabs-hd { flex-direction: column; }
    .fba-tab-hd { border-radius: 10px; border-bottom: 1px solid #232E45 !important; margin-bottom: 4px; bottom: 0; }
    .fba-tab-hd.active { border-radius: 10px 10px 0 0; border-bottom: none !important; }
    .fba-sf-tools { grid-template-columns: 1fr; }
    .fba-nav__center { display: none; }
    .fba-main { padding: 16px !important; }
    .fba-hero { padding: 36px 16px 28px; }
    .fba-panel-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── WOOCOMMERCE ACCOUNT PAGES ── */
.woocommerce-account .woocommerce,
.woocommerce-account #content .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 36px 60px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.woocommerce-account .woocommerce-form input,
.woocommerce-account .woocommerce-form textarea,
.woocommerce-account .woocommerce-form select,
.woocommerce-account input[type=text],
.woocommerce-account input[type=email],
.woocommerce-account input[type=password] {
    background: #161E2E !important;
    border: 1px solid #232E45 !important;
    color: #E8E8F8 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    width: 100%;
    box-sizing: border-box;
}
.woocommerce-account input:focus,
.woocommerce-account textarea:focus { border-color: #9B87F5 !important; outline: none !important; }
.woocommerce-account .woocommerce-Button,
.woocommerce-account .button,
.woocommerce-account button[type=submit] {
    background: #7C3AED !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    cursor: pointer !important;
}
.woocommerce-account .woocommerce-error { background: #2A1020 !important; border: 1px solid #FF4D4D !important; border-radius: 8px !important; color: #FF8B8B !important; padding: 12px 16px !important; list-style: none !important; }
.woocommerce-account .woocommerce-message { background: #1A2A1A !important; border: 1px solid #4ABA7A !important; border-radius: 8px !important; color: #4ABA7A !important; padding: 12px 16px !important; }
.woocommerce-account .woocommerce-info { background: #1A1A3A !important; border: 1px solid #9B87F5 !important; border-radius: 8px !important; color: #9B87F5 !important; padding: 12px 16px !important; }
.woocommerce-account h2, .woocommerce-account h3 { color: #fff !important; font-weight: 800 !important; }
.woocommerce-account p { color: #8B9AB8 !important; }
.woocommerce-account label { color: #C0CCE8 !important; font-size: 13px !important; font-weight: 600 !important; }
.woocommerce-account table { background: #161E2E !important; border-radius: 10px !important; overflow: hidden !important; width: 100% !important; border-collapse: collapse !important; }
.woocommerce-account table thead th { background: #1C2640 !important; color: #9B87F5 !important; font-size: 11px !important; text-transform: uppercase !important; letter-spacing: 0.08em !important; padding: 10px 14px !important; border: none !important; }
.woocommerce-account table tbody td { padding: 12px 14px !important; border-bottom: 1px solid #1E2540 !important; color: #C0CCE8 !important; font-size: 13px !important; }
.woocommerce-account .woocommerce-MyAccount-navigation { display: none !important; } /* Hide default WC nav - we use our own */

/* ── CHECKOUT PAGE ── */
.woocommerce-checkout,
.woocommerce-checkout #page,
.woocommerce-checkout .site-content,
.woocommerce-checkout #primary,
.woocommerce-checkout #content {
    background: #0D1117 !important;
    color: #E8E8F8 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.woocommerce-checkout .woocommerce {
    max-width: 860px !important;
    margin: 40px auto !important;
    padding: 0 24px 60px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
/* Coupon bar */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .checkout_coupon {
    background: #161E2E !important;
    border: 1px solid #232E45 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    margin-bottom: 20px !important;
    color: #8B9AB8 !important;
    font-size: 13px !important;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle a { color: #9B87F5 !important; }
/* Section headings */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 28px 0 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #232E45 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
/* Form layout */
.woocommerce-checkout .col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    margin-bottom: 32px !important;
}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields { width: 100% !important; }
/* Form rows */
.woocommerce-checkout .form-row { margin-bottom: 14px !important; }
.woocommerce-checkout .form-row label {
    color: #C0CCE8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.woocommerce-checkout .required { color: #9B87F5 !important; }
/* Inputs */
.woocommerce-checkout input[type=text],
.woocommerce-checkout input[type=email],
.woocommerce-checkout input[type=tel],
.woocommerce-checkout input[type=password],
.woocommerce-checkout input[type=number],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background: #161E2E !important;
    border: 1px solid #232E45 !important;
    color: #E8E8F8 !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color .2s !important;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #9B87F5 !important;
    outline: none !important;
    box-shadow: none !important;
}
.woocommerce-checkout select option { background: #161E2E !important; color: #E8E8F8 !important; }
/* Order review table */
.woocommerce-checkout-review-order { margin-bottom: 24px !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #232E45 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    background: #1C2640 !important;
    color: #9B87F5 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    border: none !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    background: #161E2E !important;
    color: #C0CCE8 !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #1E2540 !important;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}
/* Payment */
.woocommerce-checkout #payment {
    background: #161E2E !important;
    border: 1px solid #232E45 !important;
    border-radius: 10px !important;
    padding: 20px !important;
}
.woocommerce-checkout #payment label { color: #C0CCE8 !important; font-size: 13px !important; }
.woocommerce-checkout #payment .payment_box {
    background: #1C2640 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    color: #8B9AB8 !important;
    font-size: 12px !important;
    margin-top: 8px !important;
}
/* T&Cs */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    background: #161E2E !important;
    border: 1px solid #232E45 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label,
.woocommerce-checkout .woocommerce-privacy-policy-text { color: #8B9AB8 !important; font-size: 13px !important; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a { color: #9B87F5 !important; }
/* Checkboxes */
.woocommerce-checkout input[type=checkbox] { accent-color: #7C3AED !important; width: 15px !important; height: 15px !important; }
/* Place order button */
.woocommerce-checkout #place_order {
    background: #7C3AED !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 15px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 16px !important;
    transition: background .2s !important;
}
.woocommerce-checkout #place_order:hover { background: #6D2FD4 !important; }
/* Notices */
.woocommerce-checkout .woocommerce-error {
    background: #2A1020 !important;
    border: 1px solid #FF4D4D !important;
    border-radius: 8px !important;
    color: #FF8B8B !important;
    padding: 12px 16px !important;
    list-style: none !important;
    margin-bottom: 16px !important;
}
.woocommerce-checkout .woocommerce-message {
    background: #1A2A1A !important;
    border: 1px solid #4ABA7A !important;
    border-radius: 8px !important;
    color: #4ABA7A !important;
    padding: 12px 16px !important;
    margin-bottom: 16px !important;
}
/* Order confirmation */
.woocommerce-order-received .woocommerce,
.woocommerce-checkout .woocommerce-thankyou-section {
    max-width: 700px !important;
    margin: 40px auto !important;
    padding: 0 24px 60px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.woocommerce-order { color: #C0CCE8 !important; }
.woocommerce-order h2 { color: #fff !important; font-weight: 800 !important; }
.woocommerce-order .woocommerce-thankyou-order-received { color: #4ABA7A !important; font-size: 18px !important; font-weight: 700 !important; }
.woocommerce-order-details, .woocommerce-customer-details {
    background: #161E2E !important;
    border: 1px solid #232E45 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}
.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
    background: #1C2640 !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
    color: #9B87F5 !important;
    border-bottom: 1px solid #232E45 !important;
}
.woocommerce-order-details table { width: 100% !important; border-collapse: collapse !important; }
.woocommerce-order-details table th,
.woocommerce-order-details table td { padding: 12px 16px !important; border-bottom: 1px solid #1E2540 !important; color: #C0CCE8 !important; font-size: 13px !important; }
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set { grid-template-columns: 1fr !important; }
    .woocommerce-checkout .woocommerce { padding: 0 16px 40px !important; }
}
