/* The hero, description and review section share the same outer measurements. */
.single-product :is(.main-page-wrapper > .container, .wd-content-layout.container, .site-content > .ast-container, main > .container, .site-content > .col-full):has(.gsps-product) {
    max-width: 1488px;
}
.gsps-frame {
    width: 100%;
    max-width: 1440px;
    min-width: 0;
    margin-inline: auto;
    padding-inline: clamp(12px, 1.65vw, 24px);
    box-sizing: border-box;
}
.gsps-product, .gsps-reviews, .gsps-admin {
    --gs-ink: #202b3b;
    --gs-muted: #586476;
    --gs-border: #e0e4e8;
    --gs-wash: #f7f8fa;
    --gs-brand: #205bd4;
    --gs-orange: #be460c;
    --gs-star: #eaa317;
    color: var(--gs-ink);
}
.gsps-product { min-width: 0; width: 100%; }
.gsps-product .gsps-hero {
    display: grid;
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    gap: clamp(18px, 2.25vw, 34px);
    align-items: center;
    padding: clamp(16px, 2.1vw, 28px);
    margin: 16px 0 32px;
    border: 1px solid var(--gs-border);
    border-radius: 16px;
    background: #fff;
}
.gsps-gallery { position: relative; min-width: 0; display: flow-root; }
@media screen and (min-width: 761px) {
    .gsps-product .gsps-hero > .gsps-gallery {
        --gsps-gallery-gap: clamp(12px, 1.25vw, 20px);
        --gsps-gallery-header: calc(var(--wd-header-sticky-h, var(--gsps-measured-header, 0px)) + var(--wp-admin--admin-bar--height, var(--wd-admin-bar-h, 0px)));
        --gsps-gallery-start: calc(var(--gsps-gallery-header) + var(--gsps-gallery-gap));
        --gsps-gallery-viewport: 100vh;
        --gsps-gallery-end: calc(var(--gsps-gallery-viewport) - var(--gsps-gallery-height, 0px) - var(--gsps-gallery-gap));
        --gsps-gallery-inset: min(var(--gsps-gallery-start), var(--gsps-gallery-end));
        align-self: start;
        position: sticky;
        /* Keep the inset a single value: cached WP Rocket CSS can corrupt nested math here. */
        top: var(--gsps-gallery-inset);
    }
    @supports (height: 100svh) {
        .gsps-product .gsps-hero > .gsps-gallery { --gsps-gallery-viewport: 100svh; }
    }
    /* Storefront clips floats and horizontal overflow on two ancestors of the gallery.
       Keep clipping and float containment without creating a second scroll container. */
    @supports (overflow: clip) {
        .single-product.theme-storefront #page.site:has(.gsps-hero) {
            display: flow-root;
            overflow-x: clip;
            overflow-y: visible;
        }
        .single-product.theme-storefront div.product.gsps-product {
            display: flow-root;
            overflow: clip;
        }
        .single-product .gsps-gallery-clip-x { overflow-x: clip; overflow-y: visible; }
        .single-product .gsps-gallery-clip-both { overflow: clip; }
        .single-product .gsps-gallery-flow-root { display: flow-root; }
    }
}
.gsps-product .gsps-gallery > .images, .gsps-product .gsps-gallery .woocommerce-product-gallery {
    float: none !important; width: 100% !important; max-width: 100%; margin: 0;
}
.gsps-gallery .woocommerce-product-gallery__wrapper,
.gsps-gallery .woocommerce-product-gallery__image img, .gsps-gallery > .images > img { border-radius: 11px; }
.gsps-product .gsps-hero > .gsps-summary {
    width: 100% !important; min-width: 0; max-width: 100%; float: none !important;
    margin: 0; padding: 0; text-align: start; box-sizing: border-box;
}
.gsps-summary a.gsps-category { display: inline-block; color: var(--gs-muted); margin: 0 0 8px; font-size: 13px; font-weight: 600; text-decoration: none; }
.gsps-product .gsps-summary .product_title { margin: 0 0 8px; font-size: clamp(23px, 2.1vw, 32px); line-height: 1.2; letter-spacing: -.028em; font-weight: 710; color: var(--gs-ink); overflow-wrap: anywhere; }
.gsps-summary .gsps-rating-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--gs-muted); font-size: 14px; line-height: 1.5; text-decoration: none; }
.gsps-rating-link strong { color: var(--gs-ink); }
.gsps-product .gsps-summary > .price { margin: 12px 0; color: var(--gs-brand); font-size: clamp(21px, 1.8vw, 27px); font-weight: 700; line-height: 1.3; }
.gsps-summary .woocommerce-product-details__short-description { margin-block: 10px 16px; line-height: 1.65; }
.gsps-summary .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.gsps-summary form.cart { max-width: 100%; margin-block: 14px; }
.gsps-summary table.variations, .gsps-summary table.variations select { max-width: 100%; }
.gsps-summary .woocommerce-variation-add-to-cart, .gsps-summary .variations_button { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gsps-summary .woocommerce-variation-add-to-cart > .quantity, .gsps-summary .woocommerce-variation-add-to-cart > button { margin: 0; float: none; }
.gsps-product .gsps-summary :is(.single_add_to_cart_button, .wd-buy-now-btn) {
    min-height: 42px; padding: 9px 17px; border: 1px solid transparent; border-radius: 8px;
    color: #fff; background: var(--gs-brand); font-size: 14px; font-weight: 650; line-height: 1.45;
}
.gsps-product .gsps-summary .wd-buy-now-btn { background: #bf4047; }
.gsps-summary form.cart .quantity:has(> input.qty):has(> :is(button,.minus,.plus)) { display: inline-flex; flex-wrap: nowrap; align-items: stretch; width: fit-content; flex: 0 0 auto; }
.gsps-summary form.cart .quantity input.qty { min-height: 42px; }
.gsps-product .gsps-summary :is(.single_add_to_cart_button, .wd-buy-now-btn):is(:disabled, .disabled) { opacity: .55; }
.gsps-details { display: flow-root; min-width: 0; clear: both; }
.gsps-details > :is(.related, .up-sells, .woocommerce-tabs) { box-sizing: border-box; max-width: 100%; margin-inline: 0; }
.gsps-details > :last-child { margin-bottom: 0; }

/* Retain native review anchors while isolating the layout from theme columns. */
.gsps-reviews { display: flow-root; position: relative; clear: both; margin-block: clamp(32px, 5vw, 64px) 48px; text-align: start; line-height: 1.5; }
.gsps-reviews *, .gsps-admin-panel * { box-sizing: border-box; }
#gs-danh-gia > #reviews.gsps-review-inner { position: relative; display: flow-root; float: none; width: 100%; max-width: 100%; min-width: 0; padding: 0; margin: 0; }
.gsps-reviews, .gsps-reviews :is(.gsps-form, .gsps-card, .gsps-review-inner) { scroll-margin-top: 100px; }
.gsps-heading, .gsps-form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gsps-reviews .gsps-heading { margin: 0 0 clamp(14px, 2vw, 24px); }
.gsps-reviews .gsps-heading h2 { margin: 0; font-size: clamp(23px, 2.2vw, 31px); line-height: 1.2; letter-spacing: -.032em; font-weight: 720; color: var(--gs-ink); }
.gsps-reviews a.gsps-write { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 7px 14px; border: 1px solid #d7dce2; border-radius: 9px; background: white; color: var(--gs-ink); font-size: 14px; font-weight: 650; text-decoration: none; }
.gsps-pencil { font-size: 20px; line-height: 1; }
.gsps-breakdown, .gsps-toolbar, .gsps-card, .gsps-form, .gsps-notice {
    border: 1px solid var(--gs-border); border-radius: 15px; background: #fff;
}
.gsps-breakdown {
    display: grid; grid-template-columns: minmax(105px, .7fr) minmax(125px, .86fr) minmax(0, 2.7fr);
    align-items: center; gap: clamp(14px, 2.4vw, 32px); padding: clamp(16px, 2.4vw, 32px);
    box-shadow: 0 7px 25px rgba(29,40,54,.045);
}
.gsps-total { display: grid; justify-items: center; align-content: center; gap: 5px; text-align: center; min-width: 0; }
.gsps-score { color: var(--gs-orange); font-size: clamp(41px, 4.4vw, 62px); line-height: 1; font-weight: 750; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.gsps-stars { display: inline-block; position: relative; width: max-content; max-width: 100%; white-space: nowrap; overflow: hidden; color: #d5dae1; font: 18px/1.3 Arial, sans-serif; letter-spacing: 1.2px; vertical-align: middle; }
.gsps-stars .gsps-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--gs-star); }
.gsps-votes, .gsps-metrics span { color: var(--gs-muted); font-size: 13px; }
.gsps-metrics { display: grid; gap: 8px; min-width: 0; }
.gsps-metrics > div { display: grid; gap: 2px; padding: 10px 13px; border: 1px solid #e9edf1; border-radius: 10px; background: var(--gs-wash); }
.gsps-metrics strong { color: var(--gs-ink); font-size: 18px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.gsps-bars { display: grid; gap: 7px; }
.gsps-bar { display: grid; grid-template-columns: 32px minmax(24px, 1fr) minmax(25px, auto); gap: 10px; align-items: center; font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.4; }
.gsps-bar > :first-child { color: var(--gs-ink); font-weight: 650; }
.gsps-bar > :last-child { text-align: right; color: var(--gs-muted); }
.gsps-track { display: block; height: 8px; overflow: hidden; border-radius: 12px; background: #eef1f5; }
.gsps-track i { display: block; height: 100%; border-radius: inherit; background: #ee781c; }
.gsps-toolbar { padding: 14px 16px; margin: 18px 0 10px; background: linear-gradient(white, #fafbfc); }
.gsps-filters { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin: 0; }
.gsps-reviews .gsps-filters a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; padding: 6px 12px; border: 1px solid #dce1e7; border-radius: 999px; background: white; color: #364152; line-height: 1.4; font-size: 13px; font-weight: 630; text-decoration: none; white-space: nowrap; }
.gsps-reviews .gsps-filters a[aria-current] { border-color: var(--gs-orange); background: var(--gs-orange); color: #fff; }
.gsps-reviews .gsps-filters a:not([aria-current]):hover, .gsps-reviews a.gsps-write:hover { border-color: #a0aab6; background: #f8fafc; }
.gsps-sort { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--gs-muted); }
.gsps-filters + .gsps-sort { margin-top: 11px; }
.gsps-reviews .gsps-card { padding: clamp(16px, 1.9vw, 25px); margin: 12px 0 0; }
.gsps-card-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: start; margin: 0; }
.gsps-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-weight: 720; text-transform: uppercase; background: #deecff; color: #18549b; }
.gsps-tone-1 { background: #dcf3eb; color: #14664d; }
.gsps-tone-2 { background: #f4e7dc; color: #804426; }
.gsps-tone-3 { background: #ede8fa; color: #604991; }
.gsps-person { min-width: 0; }
.gsps-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.45; }
.gsps-byline > strong { font-weight: 680; font-size: 16px; color: var(--gs-ink); overflow-wrap: anywhere; }
.gsps-person > .gsps-stars { display: block; margin-top: 3px; }
.gsps-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; color: #08724e; }
.gsps-check { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #2164de; flex: none; }
.gsps-check::after { content: ""; position: absolute; top: 3px; left: 5px; width: 3px; height: 6px; border: solid white; border-width: 0 1.65px 1.65px 0; transform: rotate(43deg); box-sizing: content-box; }
.gsps-card-head time { margin-top: 2px; color: var(--gs-muted); font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.gsps-card-text { margin: 14px 0 0; color: #303d4d; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.gsps-card-text p, .gsps-reply p { margin: 0 0 6px; }
.gsps-card-text > :last-child, .gsps-reply p:last-child { margin-bottom: 0; }
.gsps-thread { font-size: 14px; border-top: 1px solid #edf0f3; margin: 14px 0 0; padding-top: 11px; }
.gsps-thread summary { width: fit-content; cursor: pointer; color: var(--gs-muted); font-size: 13px; font-weight: 600; }
.gsps-reply { padding: 10px 13px; margin-top: 8px; border-inline-start: 2px solid #c7d8ef; background: #f7f9fc; border-radius: 0 8px 8px 0; overflow-wrap: anywhere; }
.gsps-tags, .gsps-topics, .gsps-topic-fields > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gsps-tags { margin-top: 11px; }
.gsps-tags > span { padding: 3px 9px; border-radius: 999px; background: #eaf7f1; color: #17664b; font-size: 12px; font-weight: 600; }
.gsps-topics { margin: 16px 0 0; padding: 12px 14px; border: 1px solid #f1dcc5; border-radius: 12px; background: #fffbf5; color: #91400d; font-size: 13px; }
.gsps-topics > strong { margin-right: 5px; }
.gsps-topics > span { background: white; border: 1px solid #edc6a2; padding: 4px 10px; border-radius: 999px; }
.gsps-topics b { padding-left: 3px; }
.gsps-notice { margin: 12px 0; padding: 14px 18px; }
.gsps-pages { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 18px; font-size: 14px; }
.gsps-pages a, .gsps-notice a, .gsps-close { color: var(--gs-brand); text-underline-offset: 2px; }
.gsps-reviews .gsps-form { display: none; padding: clamp(16px, 2vw, 25px); margin: 16px 0; }
.gsps-reviews .gsps-form:target, .gsps-reviews .gsps-form.gsps-open { display: block; }
.gsps-form-head { margin: 0 0 16px; }
.gsps-form-head h3 { font-weight: 680; font-size: 19px; margin: 0; }
.gsps-form-head a { font-size: 14px; }
#gs-danh-gia .gsps-form :is(#review_form_wrapper, #review_form, #respond) { display: block; float: none; width: 100%; max-width: none; min-width: 0; background: none; padding: 0; margin: 0; border: 0; }
#gs-danh-gia .gsps-form #review_form #respond #commentform {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px;
    float: none; width: 100%; margin: 0; padding: 0;
}
.gsps-form #commentform::before, .gsps-form #commentform::after { content: none; }
#gs-danh-gia .gsps-form #review_form #respond #commentform > * { grid-column: 1 / -1; margin: 0; float: none; min-width: 0; width: auto; max-width: 100%; }
#gs-danh-gia .gsps-form #review_form #respond #commentform > :is(.comment-form-author, .comment-form-email) { grid-column: auto; }
.gsps-form #commentform label, .gsps-form legend { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; color: var(--gs-ink); }
.gsps-form #commentform :is(input[type=text], input[type=email], textarea, select) { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-height: 41px; border: 1px solid #bfc9d3; border-radius: 8px; padding: 9px 12px; background: #fff; color: var(--gs-ink); }
.gsps-form #commentform textarea { resize: vertical; min-height: 95px; }
.gsps-form #commentform .comment-form-cookies-consent label { display: inline; font-weight: 450; }
.gsps-form .comment-form-cookies-consent input { margin-inline-end: 6px; }
.gsps-form #commentform .gsps-topic-fields { padding: 0; border: 0; }
.gsps-topic-fields small { color: var(--gs-muted); font-weight: 400; }
.gsps-form #commentform .gsps-topic-fields label { display: inline-flex; gap: 5px; align-items: center; border: 1px solid var(--gs-border); border-radius: 7px; padding: 5px 8px; margin: 0; font-weight: 450; cursor: pointer; }
.gsps-topic-fields input { width: 14px; height: 14px; margin: 0; accent-color: var(--gs-orange); }
.gsps-form #respond input[type=submit] { width: auto; background: var(--gs-orange); color: white; border: 0; min-height: 42px; padding: 9px 18px; border-radius: 8px; font-weight: 650; cursor: pointer; }
.gsps-reviews :focus-visible { outline: 2px solid #205bd4; outline-offset: 3px; }
.gsps-admin { max-width: 850px; }
.gsps-admin-panel { margin: 16px 0; padding: 22px; background: #fff; border: 1px solid var(--gs-border); border-radius: 12px; }
.gsps-admin-panel h2 { margin-top: 0; }
.gsps-admin-panel fieldset { margin: 12px 0; }
.gsps-admin-panel fieldset label { display: block; margin-top: 8px; }
@media (max-width: 760px) {
    .gsps-product .gsps-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .gsps-product .gsps-gallery { width: 100%; max-width: 370px; margin-inline: auto; }
    .gsps-breakdown { grid-template-columns: minmax(80px,.8fr) minmax(115px,1.2fr); gap: 14px 18px; }
    .gsps-bars { grid-column: 1 / -1; }
    .gsps-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .gsps-metrics > div { padding: 8px; }
}
@media (max-width: 520px) {
    .gsps-heading { align-items: center; gap: 6px; }
    .gsps-reviews .gsps-heading h2 { font-size: 22px; }
    .gsps-reviews a.gsps-write { min-height: 36px; font-size: 12px; padding: 5px 8px; gap: 4px; }
    .gsps-reviews .gsps-pencil { font-size: 16px; }
    .gsps-toolbar { padding: 12px; }
    .gsps-reviews .gsps-filters a { min-height: 34px; padding: 5px 9px; font-size: 12px; }
    .gsps-metrics { grid-template-columns: 1fr; gap: 5px; }
    .gsps-metrics > div { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; }
    .gsps-metrics span { font-size: 12px; }
    .gsps-card-head { grid-template-columns: 34px minmax(0,1fr); gap: 2px 8px; }
    .gsps-card-head time { grid-column: 2; }
    .gsps-avatar { width: 34px; height: 34px; font-size: 13px; }
    #gs-danh-gia .gsps-form #review_form #respond #commentform > :is(.comment-form-author, .comment-form-email) { grid-column: 1 / -1; }
}

/* Keep the two native purchase controls together, including a theme's button wrapper. */
@media (max-width: 760px) {
    .gsps-product .gsps-summary .gsps-cart-layout {
        display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,1fr); gap: 8px; align-items: stretch;
    }
    .gsps-cart-layout::before, .gsps-cart-layout::after { content: none; }
    .gsps-product .gsps-cart-layout > * { grid-column: 1 / -1; min-width: 0; }
    .gsps-product .gsps-cart-layout > .quantity { width: fit-content; justify-self: start; }
    .gsps-product .gsps-cart-layout > .gsps-cart-add { grid-column: 1; order: 1; }
    .gsps-product .gsps-cart-layout > .gsps-cart-buy { grid-column: 2; order: 2; }
    .gsps-product .gsps-summary .gsps-cart-layout > :is(.gsps-cart-add, .gsps-cart-buy),
    .gsps-product .gsps-summary .gsps-cart-layout .gsps-action {
        min-width: 0; max-width: 100%; width: 100%; margin: 0; float: none; box-sizing: border-box;
    }
    .gsps-product .gsps-summary .gsps-cart-layout .gsps-action {
        min-height: 44px; height: 100%; padding: 7px 4px; font-size: clamp(12px,3.2vw,14px);
        line-height: 1.25; white-space: normal; text-align: center;
    }
    .gsps-reviews .gsps-metrics { grid-template-columns: 1fr; }
}

/* The product card, index, notice and first article block share one vertical rhythm. */
.gsps-has-outline { --gsps-section-gap: 22px; }
.gsps-product.gsps-has-outline .gsps-hero { margin-bottom: var(--gsps-section-gap); }
.gsps-product.gsps-has-outline .gsps-details { margin-block-start: 0; padding-block-start: 0; }
#gs-thong-tin .gsps-reading-edge { margin-block-start: 0; padding-block-start: 0; }
#gs-thong-tin .gsps-reading-end { margin-block-end: 0; padding-block-end: 0; }
#gs-thong-tin .gsps-after-intro { margin-block-start: 0; }
.gsps-details .gsps-reading-spacer { display: none !important; }
.gsps-product .gsps-reading-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gsps-section-gap);
    margin: 0 0 var(--gsps-section-gap);
}
.gsps-toc, .gsps-reader {
    --gsps-accent: var(--gux-brand, #275bd1);
    --gsps-rule: #d6e1ed;
    --gsps-ink: #17263a;
    color: var(--gsps-ink);
    font-family: inherit;
    line-height: 1.5;
    text-align: start;
}
.gsps-toc, .gsps-toc *, .gsps-reader, .gsps-reader * { box-sizing: border-box; }
.gsps-details .gsps-toc {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--gsps-rule);
    border-radius: 14px;
    background: #fff;
}
.gsps-toc-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(180deg, #f5f9fc, #fff);
}
.gsps-list-icon {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 14px;
    color: inherit;
    flex: none;
}
.gsps-list-icon::before, .gsps-list-icon::after {
    content: "";
    position: absolute;
    top: 1px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 5px currentColor, 0 10px currentColor;
}
.gsps-list-icon::before { inset-inline-start: 0; width: 2px; }
.gsps-list-icon::after { inset-inline-start: 4px; width: 12px; }
.gsps-toc-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; }
.gsps-toc-caption strong { color: var(--gsps-ink); font-size: 16px; font-weight: 700; }
.gsps-toc-caption small { color: #53647a; font-size: 13px; }
.gsps-toc button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 32px;
    width: auto;
    margin: 0;
    padding: 4px 12px;
    border: 1px solid var(--gsps-rule);
    border-radius: 999px;
    background: #fff;
    color: var(--gsps-accent);
    box-shadow: none;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
}
.gsps-toc button::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
.gsps-toc button[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 3px; }
.gsps-details .gsps-toc ol, .gsps-details .gsps-toc li, .gsps-reader ol, .gsps-reader li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.gsps-details .gsps-toc > ol { padding: 6px 16px 10px; border-top: 1px solid var(--gsps-rule); }
.gsps-toc-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 5px 0;
}
.gsps-toc a {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 32px;
    color: #23334a;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 620;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.gsps-toc a:hover { color: var(--gsps-accent); text-decoration: underline; }
.gsps-toc a b {
    flex: none;
    min-width: 24px;
    padding: 1px 5px;
    border-radius: 6px;
    background: #eef4ff;
    color: var(--gsps-accent);
    font-size: 13px;
    text-align: center;
}
.gsps-toc-line button { flex: none; color: #485a72; background: #f2f5f8; border-color: transparent; border-radius: 7px; }
.gsps-details .gsps-toc li > ol { margin: 0 0 8px 12px; padding-inline-start: 14px; border-inline-start: 2px solid #e4ecf7; }
.gsps-toc li > ol a { padding: 4px 0; font-size: 14px; font-weight: 500; }
.gsps-toc [hidden], .gsps-reader[hidden], .gsps-reader [hidden] { display: none !important; }
.gsps-toc :is(button, a):focus-visible, .gsps-reader :is(button, a):focus-visible {
    outline: 2px solid var(--gsps-accent);
    outline-offset: -2px;
}
.gsps-section-target, .gsps-article-heading, .gsps-article-subheading {
    scroll-margin-block-start: var(--gsps-heading-offset, 80px);
}
.gsps-details .gsps-article-heading {
    margin: var(--gsps-section-gap) 0 16px;
    padding: .38em .65em;
    border-inline-start: 3px solid var(--gux-brand, #376cd4);
    background: linear-gradient(90deg, #edf3fc, transparent 88%);
    color: #182437;
    font-size: clamp(20px, 1.65vw, 26px);
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.gsps-details .gsps-article-subheading {
    margin: var(--gsps-section-gap) 0 8px;
    color: #192438;
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.45;
    font-weight: 680;
    overflow-wrap: anywhere;
}
.gsps-article-subheading[data-gsps-number]::before {
    content: attr(data-gsps-number);
    display: inline-grid;
    place-items: center;
    min-width: 1.55em;
    height: 1.55em;
    margin-inline-end: .7em;
    padding-inline: .2em;
    border-radius: 999px;
    background: #edf3fc;
    color: var(--gux-brand, #285cbf);
    font-size: .8em;
    font-weight: 700;
    vertical-align: .05em;
}
.gsps-details .gsps-purchase-note {
    display: block;
    position: relative;
    box-sizing: border-box;
    margin: 0 0 var(--gsps-section-gap, 22px);
    padding: 16px 20px;
    border: 1px solid #ebd9b6;
    border-inline-start: 4px solid #d69126;
    border-radius: 12px;
    background: #fffcf6 !important;
    color: #3d352a !important;
    text-align: start;
    font-style: normal;
    line-height: 1.6;
}
.gsps-details .gsps-reading-intro > .gsps-purchase-note { margin: 0; }
.gsps-details .gsps-purchase-note :is(p, li, span, strong, em) { color: inherit !important; }
.gsps-details .gsps-purchase-note .gsps-note-title { margin: 0 0 8px; color: #714705 !important; font-size: 16px; line-height: 1.5; font-weight: 700; }
.gsps-details .gsps-purchase-note .gsps-note-icon {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-inline-end: 8px;
    border-radius: 50%;
    background: #f6e4be;
    font: bold 14px/1 Georgia, serif;
    vertical-align: 1px;
}
.gsps-details .gsps-purchase-note a { color: #2458a5; text-decoration: underline; text-underline-offset: 2px; }
.gsps-details .gsps-purchase-note :is(ul, ol) { margin: 0; padding-inline-start: 21px; }
.gsps-details .gsps-purchase-note :is(li, p) { margin: 0; line-height: 1.6; }
.gsps-details .gsps-purchase-note :is(li + li, p + p) { margin-block-start: 5px; }
.gsps-details .gsps-purchase-note ul li::marker { color: #ab6a15; }
.gsps-details .gsps-purchase-note :last-child { margin-bottom: 0; }

.gsps-reader {
    position: fixed;
    z-index: 390;
    top: var(--gsps-reader-top, 8px);
    margin: 0;
    padding: 0;
}
.gsps-reader button.gsps-reader-toggle {
    display: grid;
    position: relative;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 5px 8px 5px 12px;
    overflow: hidden;
    border: 1px solid var(--gsps-rule);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(27, 47, 75, .14);
    color: var(--gsps-ink);
    font: inherit;
    line-height: 1.35;
    text-align: start;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.gsps-reader-toggle .gsps-list-icon { color: var(--gsps-accent); }
.gsps-reader-count { color: #54647a; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.gsps-reader-title { overflow: hidden; color: #172437; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.gsps-reader-pill { padding: 6px 12px; border-radius: 999px; background: var(--gsps-accent); color: #fff; font-size: 13px; font-weight: 650; }
.gsps-reader-progress { position: absolute; inset: auto 0 0; height: 3px; background: #5185ec; transform: scaleX(0); transform-origin: left; }
.gsps-reader-panel {
    position: absolute;
    inset: calc(100% + 6px) 0 auto;
    max-height: 65vh;
    max-height: min(65dvh, calc(100dvh - var(--gsps-reader-top) - 116px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 5px;
    border: 1px solid var(--gsps-rule);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(27, 47, 75, .17);
}
.gsps-reader-panel a {
    display: block;
    padding: 9px 14px;
    border-radius: 7px;
    color: #233349;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.gsps-reader-panel li ol a { padding-inline-start: 30px; font-weight: 450; }
.gsps-reader-panel a:hover, .gsps-reader-panel a[aria-current] { color: #164eae; background: #ebf3fd; }
@media (max-width: 600px) {
    .gsps-has-outline { --gsps-section-gap: 16px; }
    .gsps-toc-head, .gsps-details .gsps-toc > ol { padding-inline: 12px; }
    .gsps-toc-head { gap: 8px; }
    .gsps-toc-caption small { font-size: 12px; }
    .gsps-toc a { gap: 7px; font-size: 14px; }
    .gsps-toc-line { min-height: 44px; }
    .gsps-reader-panel a { min-height: 44px; }
    .gsps-details .gsps-purchase-note { padding: 14px; }
}
.gsps-details [data-gsps-replaced] { display: none !important; }
.gsps-details .gsps-purchase-note:is(.vc_message_box,.wpb_alert,.su-note,.message-box) :is(.vc_message_box-icon,.icon,.su-note-icon) { display: none; }
.gsps-details .gsps-purchase-note .su-note-inner { padding: 0; background: transparent !important; border: 0; color: inherit !important; }
.gsps-admin { max-width: 1080px; }
.gsps-admin-scroll { overflow-x: auto; }
.gsps-admin-search { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0; }
.gsps-admin-scroll td, .gsps-admin-scroll th { vertical-align: middle; }
