/*
 * FiveMRides visual refinement
 *
 * A restrained editorial layer over the existing Miami Vice identity.
 * Kept separate from style.css so the shop's legacy layout and checkout
 * fixes remain untouched and this pass can be reviewed in isolation.
 */

:root {
    --fmr-ink: #080b10;
    --fmr-panel: #10151c;
    --fmr-panel-raised: #151b24;
    --fmr-line: #29313c;
    --fmr-line-soft: rgba(255, 255, 255, 0.09);
    --fmr-paper: #f4f1eb;
    --fmr-muted: #9ca6b3;
    --fmr-cyan: #56d8d1;
    --fmr-pink: #f05b91;
    --fmr-green: #75d7ad;
    --fmr-radius: 8px;
    --fmr-shell: 1280px;
}

body.home {
    background: var(--fmr-ink) !important;
    color: var(--fmr-paper);
}

body.home::before,
body.home::after {
    display: none !important;
}

body.home .site-main {
    background: var(--fmr-ink) !important;
}

body.home h1,
body.home h2,
body.home h3,
body.home h4 {
    color: var(--fmr-paper);
    text-shadow: none;
}

body.home a {
    text-shadow: none;
}

/* Header: quieter, denser, and easier to scan. */
.site-header {
    background: rgba(8, 11, 16, 0.96) !important;
    border-bottom: 1px solid var(--fmr-line-soft) !important;
    box-shadow: none !important;
}

.site-header::before {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    width: 100%;
    max-width: 1440px !important;
    height: 76px !important;
    padding: 0 24px !important;
    gap: 24px;
}

.site-branding {
    flex: 0 0 108px;
}

.logo-img {
    width: 88px !important;
    max-width: 88px !important;
    max-height: 66px !important;
    object-fit: contain;
}

.main-navigation {
    margin-left: auto;
}

.main-navigation ul#primary-menu {
    gap: 0;
}

.main-navigation ul#primary-menu > li {
    margin-left: 0;
}

.main-navigation ul#primary-menu > li + li {
    margin-left: 22px;
}

.main-navigation #primary-menu > li > a {
    color: #d9dee5 !important;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
}

.main-navigation #primary-menu > li > a:hover,
.main-navigation #primary-menu > li > a:focus-visible,
.main-navigation #primary-menu > li.menu-enhanced > a:hover {
    color: #fff !important;
    text-shadow: none !important;
}

#primary-menu > li.menu-enhanced > a {
    color: var(--fmr-cyan) !important;
    animation: none !important;
    text-shadow: none !important;
}

.merch-badge {
    background: var(--fmr-pink) !important;
    border-radius: 3px;
    box-shadow: none !important;
    animation: none !important;
    font-size: 0.48rem;
    padding: 2px 5px;
}

.fro-search {
    width: 180px;
}

.fro-search:focus-within {
    width: 210px;
}

.fro-search__form {
    height: 36px;
    background: #0c1117;
    border: 1px solid var(--fmr-line);
    border-radius: 6px;
    padding: 6px 10px;
}

.fro-search__form:focus-within {
    background: #0c1117;
    border-color: var(--fmr-cyan);
    box-shadow: 0 0 0 3px rgba(86, 216, 209, 0.1);
}

.fro-search__results,
.main-navigation li.has-mega > .fro-mega,
.main-navigation ul li ul {
    background: #0d1218 !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5) !important;
}

.fro-mega__card {
    background: #121820;
    border-color: var(--fmr-line);
    border-radius: 5px;
}

.fro-mega__card:hover {
    background: #18212b;
    border-color: #536172;
    box-shadow: none;
    transform: translateY(-1px);
}

.fro-mega__card:hover .fro-mega__label,
.fro-mega__card--gta-v-enhanced-vehicles .fro-mega__label {
    color: var(--fmr-paper) !important;
    text-shadow: none !important;
}

.fro-mega__card--gta-v-enhanced-vehicles {
    border-color: rgba(86, 216, 209, 0.45) !important;
    box-shadow: none !important;
}

.fro-mega__pill,
.fro-mega__pill--enhanced,
.fro-mega__pill--primary {
    background: transparent !important;
    border-color: var(--fmr-line) !important;
    border-radius: 5px;
    box-shadow: none !important;
    color: #c7ced7 !important;
    text-transform: none;
}

.fro-mega__pill:hover,
.fro-mega__pill--primary:hover {
    background: #18212b !important;
    border-color: #536172 !important;
    box-shadow: none !important;
}

.cart-count,
.fro-wishlist-count {
    background: var(--fmr-pink);
    box-shadow: none;
}

/* Homepage hero: one clear statement, real proof, restrained effects. */
body.home .hero-section {
    min-height: clamp(640px, 78vh, 820px);
    display: flex;
    align-items: center;
    padding: 80px max(28px, calc((100vw - var(--fmr-shell)) / 2)) 96px !important;
    text-align: left;
    border-bottom: 1px solid var(--fmr-line-soft);
}

body.home .hero-section::before {
    display: none;
}

body.home .hero-bg-img {
    object-position: center 58%;
    filter: saturate(0.7) contrast(1.04) brightness(0.7);
}

body.home .hero-video {
    opacity: 0 !important;
    filter: saturate(0.68) contrast(1.05) brightness(0.6);
}

body.home .hero-video.is-on {
    opacity: 0.42 !important;
}

body.home .hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 11, 16, 0.98) 0%, rgba(8, 11, 16, 0.82) 44%, rgba(8, 11, 16, 0.22) 78%),
        linear-gradient(0deg, rgba(8, 11, 16, 0.92) 0%, transparent 42%, rgba(8, 11, 16, 0.3) 100%) !important;
}

body.home .hero-content {
    width: min(720px, 100%);
    margin: 0;
}

body.home .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: var(--fmr-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.home .hero-eyebrow::before {
    content: '';
    width: 34px;
    height: 2px;
    background: var(--fmr-pink);
}

body.home .hero-title {
    max-width: 700px;
    margin: 0 0 24px;
    background: none;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading);
    font-size: clamp(3.6rem, 6.5vw, 6.4rem) !important;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.88;
    text-transform: none;
    text-wrap: balance;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
}

body.home .hero-subtitle {
    max-width: 610px;
    margin: 0 0 26px;
    color: #c1c8d1 !important;
    font-size: clamp(1.02rem, 1.45vw, 1.2rem) !important;
    line-height: 1.65;
    text-shadow: none;
}

body.home .hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0 0 34px;
    padding: 0;
    color: #e2e6eb;
    font-size: 0.84rem;
    list-style: none;
}

body.home .hero-proof li {
    position: relative;
    padding-left: 17px;
}

body.home .hero-proof li::before {
    content: '';
    position: absolute;
    top: 0.48em;
    left: 0;
    width: 7px;
    height: 7px;
    border: 1px solid var(--fmr-cyan);
    border-radius: 50%;
}

body.home .hero-buttons {
    justify-content: flex-start !important;
    align-items: center;
    gap: 0;
    margin-top: 0 !important;
}

body.home .hero-buttons > * + * {
    margin-left: 22px;
}

body.home .btn-neon,
body.home .btn-tool,
body.home .btn-try-free {
    border-radius: 5px;
    text-shadow: none;
}

body.home .hero-buttons .btn-neon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0;
    padding: 14px 22px !important;
    background: var(--fmr-paper) !important;
    border: 1px solid var(--fmr-paper) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: #0b0e13 !important;
    font-family: var(--font-body);
    font-size: 0.82rem !important;
    font-weight: 750;
    letter-spacing: 0.025em !important;
    text-transform: none !important;
    text-shadow: none !important;
    animation: none !important;
}

body.home .hero-buttons .btn-neon::before {
    display: none !important;
}

body.home .hero-buttons .btn-neon:hover {
    background: var(--fmr-cyan) !important;
    border-color: var(--fmr-cyan) !important;
    box-shadow: none !important;
    color: #06100f !important;
    transform: translateY(-2px);
}

body.home .hero-link {
    color: #fff;
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
}

body.home .hero-link span {
    display: inline-block;
    margin-left: 6px;
    color: var(--fmr-cyan);
    transition: transform 0.2s ease;
}

body.home .hero-link:hover {
    color: var(--fmr-cyan);
}

body.home .hero-link:hover span {
    transform: translateX(4px);
}

/* Shared homepage rhythm. */
body.home .categories-section,
body.home .tools-section,
body.home .bundle-deals-section,
body.home .featured-products,
body.home .features-section,
body.home .reviews-section,
body.home .home-faq-section,
body.home .enhanced-home-section {
    position: relative;
    z-index: 2;
}

body.home .section-title,
body.home .home-faq-section h2 {
    width: min(var(--fmr-shell), calc(100% - 48px));
    margin: 0 auto 34px !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4vw, 4rem) !important;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: none;
}

body.home .categories-section > .section-title::before,
body.home .featured-products > .section-title::before,
body.home .features-section > .section-title::before,
body.home .reviews-section > .section-title::before {
    content: 'FiveMRides / ';
    display: block;
    margin-bottom: 12px;
    color: var(--fmr-pink);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Categories: a purposeful editorial grid instead of identical tiles. */
body.home .categories-section {
    padding: 96px 0 110px;
    background: var(--fmr-ink);
}

body.home .category-grid {
    width: min(var(--fmr-shell), calc(100% - 48px));
    max-width: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 14px;
    margin: 0 auto;
    padding: 0;
}

body.home .category-card {
    min-height: 230px;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 22px;
    background: var(--fmr-panel);
    border: 1px solid var(--fmr-line) !important;
    border-radius: 6px;
    box-shadow: none !important;
    text-align: left;
}

body.home .category-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 474px;
}

body.home .category-card:nth-child(8) {
    grid-column: span 2;
}

body.home .category-card::before {
    opacity: 0.58;
    filter: saturate(0.8) contrast(1.06);
}

body.home .category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(0deg, rgba(5, 8, 12, 0.92), transparent 68%);
    pointer-events: none;
}

body.home .category-card h3 {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-transform: none;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

body.home .category-card:hover {
    border-color: #596675 !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

body.home .category-card:hover::before {
    opacity: 0.72;
}

body.home .category-card .cat-new,
body.home .category-card h3::after {
    background: var(--fmr-pink);
    border-radius: 3px;
    box-shadow: none;
    animation: none;
}

/* Tools, bundles, products and trust content use the same material language. */
body.home .tools-section {
    width: 100%;
    max-width: none;
    padding: 100px max(24px, calc((100vw - var(--fmr-shell)) / 2));
    background: #0b0f15;
    border-top: 1px solid var(--fmr-line-soft);
    border-bottom: 1px solid var(--fmr-line-soft);
}

body.home .tools-section > .section-title,
body.home .tools-subtitle {
    width: 100%;
    max-width: 760px;
    margin-left: 0 !important;
    text-align: left !important;
}

body.home .tools-subtitle {
    margin-top: -18px !important;
    margin-bottom: 42px !important;
    color: var(--fmr-muted) !important;
}

body.home .tools-grid {
    gap: 14px;
}

body.home .tool-card,
body.home .tool-mini,
body.home .credit-pack,
body.home .bundle-card,
body.home .feature-item,
body.home .review-card,
body.home .home-faq-item {
    background: var(--fmr-panel) !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    box-shadow: none !important;
}

body.home .tool-card,
body.home .tool-mini,
body.home .feature-item,
body.home .review-card,
body.home .home-faq-item {
    text-align: left;
}

body.home .tool-card:hover,
body.home .tool-mini:hover,
body.home .credit-pack:hover,
body.home .bundle-card:hover,
body.home .review-card:hover {
    border-color: #546170 !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

body.home .tool-card::before {
    height: 2px;
    background: var(--fmr-cyan);
}

body.home .tool-converter::before {
    background: var(--fmr-pink);
}

body.home .tool-badge,
body.home .credit-badge,
body.home .review-new-badge {
    border-radius: 3px;
    box-shadow: none;
    animation: none;
}

body.home .btn-tool,
body.home .btn-try-free {
    background: transparent !important;
    border: 1px solid #617080;
    box-shadow: none !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: none;
}

body.home .btn-tool:hover,
body.home .btn-try-free:hover {
    background: var(--fmr-paper) !important;
    border-color: var(--fmr-paper);
    color: var(--fmr-ink) !important;
    transform: translateY(-1px);
}

body.home .credits-section {
    border-top: 1px solid var(--fmr-line-soft);
    margin-top: 36px;
    padding-top: 50px;
    text-align: left;
}

body.home .credits-grid {
    justify-content: flex-start;
}

body.home .credit-pack {
    align-items: flex-start;
}

body.home .credit-amount {
    color: var(--fmr-paper);
}

body.home .credits-try {
    align-items: flex-start;
}

body.home .bundle-deals-section,
body.home .featured-products,
body.home .features-section,
body.home .reviews-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 96px max(24px, calc((100vw - var(--fmr-shell)) / 2));
    background: var(--fmr-ink);
}

body.home .bundle-deals-section {
    background: #0d1117;
    border-bottom: 1px solid var(--fmr-line-soft);
}

body.home .bundle-deals-header {
    max-width: 760px;
    text-align: left;
}

body.home .bundle-deals-header .section-title {
    width: auto;
    margin-left: 0 !important;
}

body.home .bundle-kicker {
    color: var(--fmr-pink);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

body.home .bundle-subtitle,
body.home .tools-subtitle,
body.home .credits-subtitle {
    color: var(--fmr-muted) !important;
    line-height: 1.7;
}

body.home .bundle-grid {
    gap: 14px;
}

body.home .bundle-save-badge {
    background: var(--fmr-pink);
    border-radius: 3px;
    box-shadow: none;
}

body.home .bundle-cta,
body.home .tool-mini-cta {
    color: var(--fmr-cyan);
    text-transform: none;
}

body.home .bundle-footer {
    text-align: left;
}

body.home .bundle-footer .btn-neon {
    border: 1px solid #617080;
    border-radius: 5px;
    color: var(--fmr-paper);
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

body.home .bundle-footer .btn-neon:hover {
    background: var(--fmr-paper);
    box-shadow: none;
    color: var(--fmr-ink);
    transform: translateY(-1px);
}

/* WooCommerce card restraint, shared by homepage and shop archives. */
.woocommerce ul.products li.product {
    background: var(--fmr-panel) !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    box-shadow: none !important;
}

.woocommerce ul.products li.product:hover {
    border-color: #536172 !important;
    box-shadow: none !important;
    transform: translateY(-2px) !important;
}

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product img {
    border-radius: 6px 6px 0 0 !important;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
    padding: 18px !important;
    background: transparent !important;
    text-align: left !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    text-shadow: none !important;
}

.woocommerce ul.products li.product .price {
    color: var(--fmr-cyan) !important;
    text-shadow: none !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .main-cart-button {
    background: transparent !important;
    border: 1px solid #536172 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-body) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .main-cart-button:hover {
    background: var(--fmr-paper) !important;
    border-color: var(--fmr-paper) !important;
    color: var(--fmr-ink) !important;
}

/* Product archives: let the inventory lead instead of the neon backdrop. */
body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat {
    background: var(--fmr-ink) !important;
}

body.woocommerce-shop::before,
body.woocommerce-shop::after,
body.post-type-archive-product::before,
body.post-type-archive-product::after,
body.tax-product_cat::before,
body.tax-product_cat::after {
    display: none !important;
}

body.woocommerce-shop .site-main,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main {
    background: var(--fmr-ink) !important;
}

.shop-container {
    width: min(var(--fmr-shell), calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 96px auto 110px !important;
    padding: 0 !important;
}

.shop-container .woocommerce-products-header {
    max-width: 820px;
    margin-bottom: 38px;
    padding-top: 8px;
}

.shop-container .woocommerce-products-header::before {
    content: 'FiveMRides / Vehicle catalog';
    display: block;
    margin-bottom: 14px;
    color: var(--fmr-cyan);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-container .woocommerce-products-header__title {
    margin: 0 !important;
    color: var(--fmr-paper) !important;
    font-size: clamp(3rem, 6vw, 5.8rem) !important;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.95;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: none;
}

.shop-container .category-seo-intro {
    max-width: 820px;
    margin: 0 0 54px;
    padding: 0 0 0 22px;
    background: transparent;
    border: 0;
    border-left: 2px solid var(--fmr-pink);
    border-radius: 0;
    color: var(--fmr-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    text-align: left;
}

.shop-container .category-seo-intro p:last-child {
    margin-bottom: 0;
}

.shop-container .category-seo-intro strong,
.shop-container .category-seo-intro a {
    color: var(--fmr-paper);
    text-decoration-color: #536172;
}

.shop-container .shop-layout {
    gap: 32px;
}

.shop-container .shop-layout:has(.shop-sidebar:not(:has(*))) {
    grid-template-columns: 1fr;
}

.shop-container .shop-layout--no-sidebar {
    grid-template-columns: 1fr !important;
}

.shop-container .shop-sidebar:not(:has(*)) {
    display: none;
}

.shop-container .shop-sidebar .widget {
    background: var(--fmr-panel);
    border-color: var(--fmr-line);
    border-radius: 6px;
}

.shop-container .shop-sidebar .widget-title {
    color: var(--fmr-paper);
    font-size: 0.86rem;
    text-transform: none;
}

.shop-container .woocommerce-result-count {
    color: var(--fmr-muted);
    font-size: 0.82rem;
}

.shop-container .woocommerce-ordering select {
    min-width: 190px;
    height: 42px !important;
    background-color: var(--fmr-panel) !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-body) !important;
    font-size: 0.76rem !important;
    text-transform: none !important;
}

.shop-container .woocommerce-ordering select:focus {
    border-color: var(--fmr-cyan) !important;
    box-shadow: 0 0 0 3px rgba(86, 216, 209, 0.1) !important;
}

.shop-container .woocommerce-pagination ul li a,
.shop-container .woocommerce-pagination ul li span {
    background: var(--fmr-panel) !important;
    border-color: var(--fmr-line) !important;
    border-radius: 4px;
    box-shadow: none !important;
}

.shop-container .woocommerce-pagination ul li span.current,
.shop-container .woocommerce-pagination ul li a:hover {
    background: var(--fmr-paper) !important;
    border-color: var(--fmr-paper) !important;
    box-shadow: none !important;
    color: var(--fmr-ink) !important;
}

/* Product detail: keep the HUD utility, lose the arcade glow. */
body.single-product {
    background: var(--fmr-ink) !important;
}

body.single-product::before,
body.single-product::after {
    display: none !important;
}

body.single-product .site-main {
    background: var(--fmr-ink) !important;
}

body.single-product .site-main > .product {
    width: min(var(--fmr-shell), calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 96px auto 80px !important;
    gap: 54px !important;
}

body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .summary {
    border-radius: var(--fmr-radius) !important;
    box-shadow: none !important;
}

body.single-product div.product .woocommerce-product-gallery {
    background: var(--fmr-panel) !important;
    border: 1px solid var(--fmr-line) !important;
    overflow: hidden;
}

body.single-product div.product .summary {
    align-self: flex-start;
    background: var(--fmr-panel) !important;
    border: 1px solid var(--fmr-line) !important;
    padding: 24px !important;
}

body.single-product .woocommerce-breadcrumb {
    margin-bottom: 28px !important;
    padding: 12px 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line) !important;
    border-radius: 0 !important;
    color: #747f8d !important;
    box-shadow: none !important;
    font-family: var(--font-body) !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.08em;
}

body.single-product .woocommerce-breadcrumb a {
    color: #c6cdd6 !important;
    text-shadow: none !important;
}

body.single-product .product_title {
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(2rem, 3.2vw, 3.4rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 0.98 !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.single-product .summary .price,
body.single-product .summary .price .amount {
    color: var(--fmr-cyan) !important;
    text-shadow: none !important;
}

body.single-product .woocommerce-product-details__short-description {
    color: #bac2cc !important;
    border-left-color: var(--fmr-cyan) !important;
}

body.single-product form.cart {
    border-top-color: var(--fmr-line) !important;
}

body.single-product form.cart .quantity .qty {
    background: #0b1016 !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: var(--fmr-paper) !important;
}

body.single-product form.cart .single_add_to_cart_button {
    background: var(--fmr-paper) !important;
    border: 1px solid var(--fmr-paper) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    clip-path: none !important;
    color: var(--fmr-ink) !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.025em !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.single-product form.cart .single_add_to_cart_button:hover {
    background: var(--fmr-cyan) !important;
    border-color: var(--fmr-cyan) !important;
    box-shadow: none !important;
    color: #06100f !important;
    transform: translateY(-1px) !important;
}

body.single-product .fivem-tech-specs {
    background: #0b1016 !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

body.single-product .fivem-tech-specs .specs-title {
    color: var(--fmr-cyan) !important;
    text-shadow: none !important;
}

body.single-product .fivem-tech-specs .spec-row {
    border-color: var(--fmr-line-soft) !important;
}

body.single-product .fivem-tech-specs .spec-value,
body.single-product .fivem-tech-specs .spec-green,
body.single-product .fivem-tech-specs .spec-yellow {
    color: #d8dde4 !important;
    text-shadow: none !important;
}

body.single-product .woocommerce-message,
body.single-product .woocommerce-info {
    background: var(--fmr-panel) !important;
    border-color: var(--fmr-line) !important;
    box-shadow: none !important;
}

/* Cart drawer: product-first layout with a checkout summary pinned below. */
.fro-mini-cart {
    width: min(440px, 100vw) !important;
    max-width: 100vw !important;
    background: #0b0f15 !important;
    border-left: 1px solid var(--fmr-line) !important;
    box-shadow: -28px 0 70px rgba(0, 0, 0, 0.58) !important;
}

.fro-cart-overlay {
    background: rgba(2, 5, 9, 0.72) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.fro-mini-cart__head {
    min-height: 78px;
    padding: 18px 22px !important;
    background: #0b0f15;
    border-bottom: 1px solid var(--fmr-line) !important;
}

.fro-mini-cart__title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fmr-paper);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fro-mini-cart__title::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 1px solid var(--fmr-cyan);
    border-radius: 50%;
}

.fro-mini-cart__close {
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: #c9d0d8 !important;
    font-family: var(--font-body);
    font-size: 1.35rem;
}

.fro-mini-cart__close:hover,
.fro-mini-cart__close:focus-visible {
    background: var(--fmr-panel-raised) !important;
    border-color: #596675 !important;
    color: #fff !important;
    outline: none;
}

.fro-mini-cart__inner,
.fro-mini-cart > .widget_shopping_cart_content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 !important;
    background: #0b0f15;
    overflow: hidden;
}

.fro-mini-cart .woocommerce-mini-cart {
    flex: 1 1 auto !important;
    min-height: 0;
    margin: 0 !important;
    padding: 14px 16px 18px !important;
    scrollbar-color: #465260 transparent;
    scrollbar-width: thin;
}

.fro-mini-cart .woocommerce-mini-cart::-webkit-scrollbar {
    width: 6px;
}

.fro-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: #465260;
    border-radius: 999px;
}

.fro-mini-cart .mini_cart_item {
    display: block !important;
    margin: 0 0 10px !important;
    padding: 12px 42px 12px 12px !important;
    background: var(--fmr-panel) !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 7px;
}

.fro-mini-cart .mini_cart_item:last-child {
    margin-bottom: 0 !important;
    border-bottom: 1px solid var(--fmr-line) !important;
}

.fro-mini-cart .fmc-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.fro-mini-cart .fmc-item__thumb {
    display: block !important;
    width: 86px !important;
    height: 68px;
    min-width: 86px;
    overflow: hidden;
    background: #070a0e;
    border: 1px solid var(--fmr-line);
    border-radius: 5px;
}

.fro-mini-cart .fmc-item__thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
}

.fro-mini-cart .fmc-item__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fro-mini-cart .fmc-item__title {
    display: -webkit-box !important;
    width: auto !important;
    margin: 0 0 9px;
    overflow: hidden;
    color: var(--fmr-paper) !important;
    font-family: var(--font-body);
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fro-mini-cart .fmc-item__title:hover {
    color: var(--fmr-cyan) !important;
}

.fro-mini-cart .fmc-item__meta.quantity {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100% !important;
    margin: 0 !important;
    color: var(--fmr-muted) !important;
    font-family: var(--font-body);
    font-size: 0.74rem;
    line-height: 1;
}

.fro-mini-cart .fmc-item__qty {
    color: #8994a1;
}

.fro-mini-cart .fmc-item__price,
.fro-mini-cart .fmc-item__price .amount {
    color: var(--fmr-cyan) !important;
    font-weight: 750;
    text-shadow: none !important;
}

.fro-mini-cart .mini_cart_item .variation {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
    margin: -3px 0 8px;
    color: var(--fmr-muted);
    font-size: 0.68rem;
}

.fro-mini-cart .mini_cart_item .variation dt,
.fro-mini-cart .mini_cart_item .variation dd,
.fro-mini-cart .mini_cart_item .variation p {
    margin: 0;
}

.fro-mini-cart .mini_cart_item .remove,
.fro-mini-cart .mini_cart_item .remove_from_cart_button {
    top: 12px !important;
    right: 12px !important;
    display: grid !important;
    place-items: center;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    color: #77828f !important;
    line-height: 1 !important;
}

.fro-mini-cart .mini_cart_item .remove:hover,
.fro-mini-cart .mini_cart_item .remove_from_cart_button:hover,
.fro-mini-cart .mini_cart_item .remove:focus-visible,
.fro-mini-cart .mini_cart_item .remove_from_cart_button:focus-visible {
    background: rgba(240, 91, 145, 0.08) !important;
    border-color: rgba(240, 91, 145, 0.35) !important;
    color: var(--fmr-pink) !important;
    outline: none;
}

.fro-mini-cart .fmc-footer {
    flex: 0 0 auto;
    margin-top: auto;
    padding: 20px 20px 18px;
    background: #0e131a;
    border-top: 1px solid var(--fmr-line);
    box-shadow: 0 -18px 34px rgba(2, 5, 9, 0.3);
}

.fro-mini-cart .fmc-footer .total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--fmr-muted);
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-align: left;
}

.fro-mini-cart .fmc-footer .total strong {
    color: var(--fmr-muted) !important;
    font-size: 0.78rem;
    font-weight: 600;
}

.fro-mini-cart .fmc-footer .total .amount {
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: none !important;
}

.fro-mini-cart .fmc-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #8c97a4;
    font-size: 0.72rem;
}

.fro-mini-cart .fmc-delivery > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fmr-green);
    box-shadow: 0 0 0 3px rgba(117, 215, 173, 0.1);
}

.fro-mini-cart .fmc-footer .buttons {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
    margin: 0 !important;
}

.fro-mini-cart .fmc-footer .buttons .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    padding: 11px 16px !important;
    background: transparent !important;
    border: 1px solid #4b5867 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: #dbe0e6 !important;
    font-family: var(--font-body);
    font-size: 0.78rem !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}

.fro-mini-cart .fmc-footer .buttons .button:hover {
    background: var(--fmr-panel-raised) !important;
    border-color: #697788 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.fro-mini-cart .fmc-footer .buttons .checkout {
    order: -1;
    background: var(--fmr-paper) !important;
    border-color: var(--fmr-paper) !important;
    color: var(--fmr-ink) !important;
}

.fro-mini-cart .fmc-footer .buttons .checkout:hover {
    background: var(--fmr-cyan) !important;
    border-color: var(--fmr-cyan) !important;
    box-shadow: none !important;
    color: #06100f !important;
}

.fro-mini-cart .fmc-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 14px;
    color: #727e8b;
    font-size: 0.66rem;
}

.fro-mini-cart .fmc-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fro-mini-cart .fmc-trust svg {
    color: var(--fmr-cyan);
}

.fro-mini-cart__empty {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 310px;
    margin: auto;
    padding: 40px 20px !important;
    color: var(--fmr-paper);
    text-align: center;
}

.fro-mini-cart__empty-icon-wrap {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    background: var(--fmr-panel);
    border: 1px solid var(--fmr-line);
    border-radius: 50%;
}

.fro-mini-cart__empty-icon {
    margin: 0 !important;
    color: var(--fmr-cyan) !important;
}

.fro-mini-cart__empty h3 {
    margin: 0 0 8px;
    color: var(--fmr-paper);
    font-family: var(--font-heading);
    font-size: 1.65rem;
    letter-spacing: -0.01em;
    text-transform: none;
}

.fro-mini-cart__empty p {
    margin: 0 0 22px !important;
    color: var(--fmr-muted) !important;
    font-size: 0.82rem;
    line-height: 1.55;
}

.fro-mini-cart__empty-cta {
    padding: 12px 20px !important;
    background: var(--fmr-paper) !important;
    border: 1px solid var(--fmr-paper);
    border-radius: 5px !important;
    box-shadow: none !important;
    color: var(--fmr-ink) !important;
    font-family: var(--font-body) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

.fro-mini-cart__empty-cta:hover {
    background: var(--fmr-cyan) !important;
    border-color: var(--fmr-cyan);
    box-shadow: none !important;
    color: #06100f !important;
    transform: translateY(-1px);
}

body.home .neon-display-case {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.home .features-section {
    border-top: 1px solid var(--fmr-line-soft);
    border-bottom: 1px solid var(--fmr-line-soft);
    background: #0d1117 !important;
}

body.home .features-grid {
    max-width: var(--fmr-shell);
    padding: 0;
    gap: 0;
    text-align: left;
}

body.home .feature-item {
    min-height: 180px;
    padding: 28px !important;
    border-radius: 0 !important;
    border-right-width: 0 !important;
}

body.home .feature-item:last-child {
    border-right-width: 1px !important;
}

body.home .feature-icon {
    margin-bottom: 22px;
    color: var(--fmr-cyan);
    font-size: 1.35rem;
    text-shadow: none;
}

body.home .feature-item h3 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    letter-spacing: 0;
    text-transform: none;
}

body.home .feature-item p {
    color: var(--fmr-muted);
}

body.home .reviews-section {
    max-width: none !important;
}

body.home .reviews-track-container {
    border-radius: 0;
}

body.home .review-card {
    padding: 24px;
}

body.home .review-text {
    color: #b6bec8;
    font-style: normal;
}

body.home .review-source,
body.home .review-date {
    color: #747f8d;
}

body.home .rev-arrow {
    background: transparent;
    border: 1px solid var(--fmr-line);
    border-radius: 5px;
    box-shadow: none;
}

body.home .rev-arrow:hover {
    background: var(--fmr-panel);
    border-color: #596675;
}

body.home .rev-dot.active {
    background: var(--fmr-cyan);
    box-shadow: none;
}

body.home .home-faq-section {
    padding: 96px max(24px, calc((100vw - var(--fmr-shell)) / 2));
    background: #0b0f15 !important;
    border-top: 1px solid var(--fmr-line-soft);
}

body.home .home-faq-container {
    max-width: var(--fmr-shell);
}

body.home .home-faq-section h2 {
    width: 100%;
}

body.home .home-faq-grid {
    gap: 14px;
}

body.home .home-faq-item h3 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    letter-spacing: 0;
    text-transform: none;
}

body.home .home-faq-item p {
    color: var(--fmr-muted);
}

/* Footer: remove the keyword-cloud feel from the visible hierarchy. */
.site-footer {
    background: #080b10 !important;
    border-top: 1px solid var(--fmr-line-soft);
}

.site-footer .footer-widgets {
    padding: 72px 0 36px;
}

.site-footer .footer-container {
    max-width: var(--fmr-shell) !important;
}

.site-footer .footer-title {
    margin-bottom: 20px;
    padding: 0;
    border: 0;
    color: var(--fmr-paper);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-shadow: none;
    text-transform: uppercase;
    animation: none;
}

.site-footer .footer-desc,
.site-footer .footer-menu li a {
    color: var(--fmr-muted) !important;
    font-size: 0.86rem;
    line-height: 1.7;
}

.site-footer .footer-menu li a:hover {
    color: var(--fmr-paper) !important;
    text-shadow: none;
    transform: none;
}

.site-footer .badge {
    background: transparent;
    border-color: var(--fmr-line);
    border-radius: 4px;
    box-shadow: none;
    color: #bdc5ce;
}

.site-footer .social-icon {
    border-radius: 5px;
}

.site-footer .social-icon:hover {
    background: var(--fmr-paper);
    border-color: var(--fmr-paper);
    box-shadow: none;
    color: var(--fmr-ink);
    transform: translateY(-2px);
}

.site-footer .seo-footer-bar {
    padding: 28px 0;
    background: #070a0e;
    border-color: var(--fmr-line-soft);
}

.site-footer .seo-footer-bar h4,
.site-footer .seo-description {
    display: none;
}

.site-footer .seo-links {
    margin: 0;
    color: #3d4651;
    line-height: 2.2;
    text-align: left;
}

.site-footer .seo-links a {
    color: #77818d;
    font-size: 0.78rem;
}

.site-footer .seo-links a:hover {
    color: var(--fmr-cyan);
    text-shadow: none;
}

.site-footer .site-info {
    padding: 24px 0;
    background: #05070a;
    border-color: var(--fmr-line-soft);
}

/* Responsive refinements. Existing mobile navigation behavior stays intact. */
@media (max-width: 1280px) and (min-width: 993px) {
    .header-container {
        gap: 16px;
        padding-inline: 18px !important;
    }

    .site-branding {
        flex-basis: 74px;
    }

    .logo-img {
        width: 70px !important;
    }

    .main-navigation ul#primary-menu {
        gap: 0;
    }

    .main-navigation ul#primary-menu > li + li {
        margin-left: 14px;
    }

    .main-navigation #primary-menu > li > a {
        font-size: 0.7rem;
    }
}

@media (max-width: 992px) {
    .header-container {
        height: 64px !important;
    }

    .site-branding {
        flex: 1 1 auto;
    }

    .logo-img {
        width: 74px !important;
        max-width: 74px !important;
        max-height: 54px !important;
    }

    .mobile-menu-toggle {
        width: 42px !important;
        height: 42px !important;
        background: transparent !important;
        border: 1px solid #596675 !important;
        border-radius: 5px !important;
        box-shadow: none !important;
        color: var(--fmr-paper) !important;
    }

    #site-navigation.main-navigation {
        background: #0b0f15 !important;
        border-left-color: var(--fmr-line) !important;
        box-shadow: -16px 0 48px rgba(0, 0, 0, 0.5) !important;
    }

    .main-navigation #primary-menu > li > a {
        font-family: var(--font-body);
        text-transform: none;
    }

    .submenu-caret {
        background: transparent !important;
        border: 1px solid var(--fmr-line) !important;
        border-radius: 5px !important;
        color: var(--fmr-cyan) !important;
    }

    body.home .hero-section {
        min-height: 690px;
        padding-inline: 32px !important;
    }

    body.home .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.home .category-card:first-child {
        min-height: 420px;
    }

    body.home .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.home .feature-item:nth-child(2) {
        border-right-width: 1px !important;
    }
}

@media (max-width: 640px) {
    body.home .hero-section {
        min-height: 650px;
        align-items: flex-end;
        padding: 86px 20px 56px !important;
    }

    body.home .hero-overlay {
        background:
            linear-gradient(0deg, rgba(8, 11, 16, 0.98) 0%, rgba(8, 11, 16, 0.72) 70%, rgba(8, 11, 16, 0.35) 100%) !important;
    }

    body.home .hero-title {
        font-size: clamp(3.1rem, 16vw, 4.5rem) !important;
    }

    body.home .hero-proof {
        display: grid;
        gap: 8px;
    }

    body.home .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
    }

    body.home .hero-buttons > * + * {
        margin-top: 12px;
        margin-left: 0;
    }

    .main-navigation ul#primary-menu > li + li {
        margin-left: 0;
    }

    body.home .categories-section,
    body.home .tools-section,
    body.home .bundle-deals-section,
    body.home .featured-products,
    body.home .features-section,
    body.home .reviews-section,
    body.home .home-faq-section {
        padding: 70px 18px;
    }

    body.home .section-title,
    body.home .home-faq-section h2,
    body.home .category-grid {
        width: 100%;
    }

    body.home .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    body.home .category-card,
    body.home .category-card:first-child,
    body.home .category-card:nth-child(8) {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 190px;
        padding: 16px;
    }

    body.home .category-card:first-child,
    body.home .category-card:nth-child(8) {
        grid-column: span 2;
        min-height: 260px;
    }

    body.home .features-grid {
        grid-template-columns: 1fr;
    }

    body.home .feature-item {
        min-height: auto;
        border-right-width: 1px !important;
        border-bottom-width: 0 !important;
    }

    body.home .feature-item:last-child {
        border-bottom-width: 1px !important;
    }

    body.woocommerce .shop-container {
        width: 100% !important;
        margin: 58px auto 80px !important;
        padding: 0 16px !important;
        overflow: visible !important;
    }

    body.woocommerce .shop-container .woocommerce-products-header {
        padding: 0 !important;
    }

    .shop-container .category-seo-intro {
        margin-bottom: 36px;
    }

    .shop-container .woocommerce-result-count,
    .shop-container .woocommerce-ordering {
        padding-inline: 0 !important;
    }

    body.woocommerce .shop-container .shop-layout {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce .shop-container .shop-content {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce .shop-container ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.woocommerce .shop-container ul.products > li.product {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.woocommerce .shop-container ul.products > li.product .astra-shop-summary-wrap {
        padding: 13px !important;
    }

    body.woocommerce .shop-container ul.products > li.product .woocommerce-loop-product__title {
        font-size: 0.82rem !important;
    }

    body.single-product .site-main > .product {
        width: 100% !important;
        margin: 54px auto 64px !important;
        padding: 0 16px !important;
        gap: 22px !important;
    }

    body.single-product div.product .summary {
        padding: 20px !important;
    }

    .site-footer .footer-widgets {
        padding-top: 54px;
    }

    .site-footer .seo-footer-bar {
        display: none;
    }
}

/* Explicit guide selectors for older embedded browsers used by some FiveM panels. */
body.fmr-guide-page {
    background: var(--fmr-ink) !important;
    background-image: none !important;
}

body.fmr-guide-page main.gtl-page,
body.fmr-guide-page main.guide-page,
body.fmr-guide-page main.pc-landing,
body.fmr-guide-page main.bfc-page,
body.fmr-guide-page main.dbg-guide,
body.fmr-guide-page main.opt-guide {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    background: var(--fmr-ink) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fmr-guide-page main .gtl-container,
body.fmr-guide-page main .guide-container,
body.fmr-guide-page main .pc-container,
body.fmr-guide-page main .bfc-container,
body.fmr-guide-page main .dbg-container,
body.fmr-guide-page main .og-wrap {
    width: min(960px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.fmr-guide-page main .pc-container-wide,
body.fmr-guide-page main .dbg-container.dbg-wide {
    width: min(1120px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.fmr-guide-page main .gtl-hero,
body.fmr-guide-page main .guide-hero,
body.fmr-guide-page main .pc-hero,
body.fmr-guide-page main .bfc-hero,
body.fmr-guide-page main .dbg-hero,
body.fmr-guide-page main .og-hero {
    padding: clamp(90px, 10vw, 138px) 0 72px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line) !important;
    background: #0b0f15 !important;
    background-image: none !important;
    box-shadow: none !important;
    text-align: left !important;
}

body.fmr-guide-page main .gtl-hero::before,
body.fmr-guide-page main .gtl-hero::after,
body.fmr-guide-page main .guide-hero::before,
body.fmr-guide-page main .guide-hero::after,
body.fmr-guide-page main .pc-hero::before,
body.fmr-guide-page main .pc-hero::after,
body.fmr-guide-page main .bfc-hero::before,
body.fmr-guide-page main .bfc-hero::after,
body.fmr-guide-page main .dbg-hero::before,
body.fmr-guide-page main .dbg-hero::after,
body.fmr-guide-page main .og-hero::before,
body.fmr-guide-page main .og-hero::after,
body.fmr-guide-page main .gtl-hero-bg,
body.fmr-guide-page main .gtl-grid-overlay,
body.fmr-guide-page main .gtl-glow {
    display: none !important;
}

body.fmr-guide-page main .pc-hero-siren,
body.fmr-guide-page main .dbg-divider {
    display: none !important;
}

body.fmr-guide-page main .gtl-hero > div,
body.fmr-guide-page main .guide-hero > div,
body.fmr-guide-page main .pc-hero > div,
body.fmr-guide-page main .bfc-hero > div,
body.fmr-guide-page main .dbg-hero > div,
body.fmr-guide-page main .og-hero > div {
    text-align: left !important;
}

body.fmr-guide-page main .gtl-hero-title,
body.fmr-guide-page main .guide-hero h1,
body.fmr-guide-page main .pc-hero h1,
body.fmr-guide-page main .bfc-hero h1,
body.fmr-guide-page main .dbg-hero h1,
body.fmr-guide-page main .og-hero h1 {
    max-width: 900px !important;
    margin: 18px 0 !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(2.8rem, 6vw, 5.4rem) !important;
    font-weight: 650 !important;
    letter-spacing: -0.035em !important;
    line-height: 0.98 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.fmr-guide-page main .gtl-gradient-text,
body.fmr-guide-page main .pc-gradient,
body.fmr-guide-page main .bfc-hero h1 span,
body.fmr-guide-page main .dbg-gradient-text,
body.fmr-guide-page main .neon-grad {
    background: none !important;
    color: var(--fmr-paper) !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

body.fmr-guide-page main .gtl-hero-sub,
body.fmr-guide-page main .guide-hero-desc,
body.fmr-guide-page main .pc-hero-sub,
body.fmr-guide-page main .bfc-hero-sub,
body.fmr-guide-page main .dbg-hero-sub,
body.fmr-guide-page main .og-hero-sub {
    max-width: 760px !important;
    margin: 0 0 22px !important;
    color: var(--fmr-muted) !important;
    font-size: clamp(1rem, 1.5vw, 1.13rem) !important;
    line-height: 1.75 !important;
    text-align: left !important;
    text-shadow: none !important;
}

body.fmr-guide-page main .gtl-section-label,
body.fmr-guide-page main .guide-hero-label,
body.fmr-guide-page main .pc-section-label,
body.fmr-guide-page main .pc-hero-badge,
body.fmr-guide-page main .bfc-hero-badge,
body.fmr-guide-page main .dbg-hero-badge,
body.fmr-guide-page main .og-hero-badge {
    display: inline-block !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    color: var(--fmr-pink) !important;
    box-shadow: none !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
    text-shadow: none !important;
}

body.fmr-guide-page main .gtl-section,
body.fmr-guide-page main article.guide-body,
body.fmr-guide-page main .pc-section,
body.fmr-guide-page main .bfc-section,
body.fmr-guide-page main .dbg-section,
body.fmr-guide-page main .og-section {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line-soft) !important;
    background: var(--fmr-ink) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fmr-guide-page main .gtl-section--alt,
body.fmr-guide-page main .pc-section--alt,
body.fmr-guide-page main .bfc-section--alt,
body.fmr-guide-page main .dbg-section--alt,
body.fmr-guide-page main .og-section--alt {
    background: #0b0f15 !important;
}

body.fmr-guide-page main .gtl-section-title,
body.fmr-guide-page main .guide-body h2,
body.fmr-guide-page main .pc-section h2,
body.fmr-guide-page main .bfc-section h2,
body.fmr-guide-page main .dbg-section h2,
body.fmr-guide-page main .og-section h2 {
    margin: 0 0 24px !important;
    padding: 0 0 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line) !important;
    background: none !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
    font-weight: 650 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.1 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.fmr-guide-page main .gtl-section p,
body.fmr-guide-page main .guide-body p,
body.fmr-guide-page main .pc-section p,
body.fmr-guide-page main .bfc-section p,
body.fmr-guide-page main .dbg-section p,
body.fmr-guide-page main .og-section p {
    color: #b9c2cd !important;
    font-size: 1rem !important;
    line-height: 1.82 !important;
    text-shadow: none !important;
}

body.fmr-guide-page main nav.gtl-toc,
body.fmr-guide-page main nav.guide-toc,
body.fmr-guide-page main nav.pc-toc,
body.fmr-guide-page main nav.bfc-toc,
body.fmr-guide-page main nav.dbg-toc,
body.fmr-guide-page main nav.og-toc {
    width: min(960px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 32px auto !important;
    padding: 24px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
}

body.fmr-guide-page main .gtl-card,
body.fmr-guide-page main .gtl-feature,
body.fmr-guide-page main .guide-faq-item,
body.fmr-guide-page main .pc-card,
body.fmr-guide-page main .pc-compare-box,
body.fmr-guide-page main .bfc-card,
body.fmr-guide-page main .bfc-cat-card,
body.fmr-guide-page main .dbg-card,
body.fmr-guide-page main .og-card,
body.fmr-guide-page main .og-feature {
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fmr-guide-page main .gtl-callout,
body.fmr-guide-page main .guide-box,
body.fmr-guide-page main .pc-tip,
body.fmr-guide-page main .bfc-callout,
body.fmr-guide-page main .dbg-callout,
body.fmr-guide-page main .og-callout,
body.fmr-guide-page main .og-inline-cta {
    margin: 24px 0 !important;
    padding: 20px 22px !important;
    border: 1px solid var(--fmr-line) !important;
    border-left: 2px solid var(--fmr-pink) !important;
    border-radius: 5px !important;
    background: var(--fmr-panel) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fmr-guide-page main a[class*="btn--primary"],
body.fmr-guide-page main a.guide-btn--primary {
    border: 1px solid #ff78aa !important;
    border-radius: 5px !important;
    background: var(--fmr-pink) !important;
    color: var(--fmr-ink) !important;
    box-shadow: 0 8px 24px rgba(240, 91, 145, 0.18) !important;
    text-shadow: none !important;
    transform: none !important;
}

body.fmr-guide-page main a[class*="btn--ghost"],
body.fmr-guide-page main a[class*="btn--secondary"],
body.fmr-guide-page main a.guide-btn--secondary {
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.fmr-guide-page #ast-scroll-top {
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: var(--fmr-panel) !important;
    color: var(--fmr-pink) !important;
    box-shadow: none !important;
}

body.fmr-guide-page main.fmr-guides-index {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.fmr-guide-page .fmr-guides-index .entry-header {
    display: block !important;
    width: min(1100px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.fmr-guide-page .fmr-guides-index .entry-title {
    display: block !important;
}

@media (max-width: 800px) {
    body.fmr-guide-page main .gtl-container,
    body.fmr-guide-page main .guide-container,
    body.fmr-guide-page main .pc-container,
    body.fmr-guide-page main .bfc-container,
    body.fmr-guide-page main .dbg-container,
    body.fmr-guide-page main .og-wrap,
    body.fmr-guide-page main .pc-container-wide,
    body.fmr-guide-page main .dbg-container.dbg-wide {
        width: calc(100% - 32px) !important;
    }

    body.fmr-guide-page main .gtl-hero,
    body.fmr-guide-page main .guide-hero,
    body.fmr-guide-page main .pc-hero,
    body.fmr-guide-page main .bfc-hero,
    body.fmr-guide-page main .dbg-hero,
    body.fmr-guide-page main .og-hero {
        padding: 76px 0 52px !important;
    }
}

/* ================================================================
   Editorial guides: one reading system across every legacy template.
   ================================================================ */
html:has(body.fmr-guide-page),
body.fmr-guide-page,
html:has(body.fmr-404-page),
body.fmr-404-page {
    background: var(--fmr-ink) !important;
    background-image: none !important;
}

body.fmr-guide-page::before,
body.fmr-guide-page::after,
body.fmr-404-page::before,
body.fmr-404-page::after {
    display: none !important;
}

body.fmr-guide-page .site-content,
body.fmr-guide-page .site-content > .ast-container,
body.fmr-guide-page #primary,
body.fmr-guide-page .site-main,
body.fmr-404-page .site-content,
body.fmr-404-page .site-content > .ast-container,
body.fmr-404-page #primary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: var(--fmr-ink) !important;
    background-image: none !important;
}

body.fmr-guide-page :is(.gtl-page, .guide-page, .pc-landing, .bfc-page, .dbg-guide, .opt-guide) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    background: var(--fmr-ink) !important;
    box-shadow: none !important;
    color: #b9c2cd !important;
}

body.fmr-guide-page :is(.gtl-container, .guide-container, .pc-container, .bfc-container, .dbg-container, .og-wrap) {
    width: min(960px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.fmr-guide-page :is(.pc-container-wide, .dbg-container.dbg-wide) {
    width: min(1120px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Guide heroes: editorial masthead instead of glow/grid effects. */
body.fmr-guide-page :is(.gtl-hero, .guide-hero, .pc-hero, .bfc-hero, .dbg-hero, .og-hero) {
    position: relative !important;
    padding: clamp(90px, 10vw, 138px) 0 72px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line) !important;
    background: #0b0f15 !important;
    background-image: none !important;
    text-align: left !important;
    box-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-hero, .guide-hero, .pc-hero, .bfc-hero, .dbg-hero, .og-hero)::before,
body.fmr-guide-page :is(.gtl-hero, .guide-hero, .pc-hero, .bfc-hero, .dbg-hero, .og-hero)::after,
body.fmr-guide-page :is(.gtl-hero-bg, .gtl-grid-overlay, .gtl-glow, .og-hero)::before,
body.fmr-guide-page :is(.gtl-hero-bg, .gtl-grid-overlay, .gtl-glow, .og-hero)::after {
    display: none !important;
}

body.fmr-guide-page :is(.pc-hero-siren, .dbg-divider) {
    display: none !important;
}

body.fmr-guide-page :is(
    .gtl-hero-breadcrumb,
    .guide-breadcrumb,
    .dbg-breadcrumbs,
    .og-breadcrumbs
) {
    color: #778290 !important;
    font-size: 0.72rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

body.fmr-guide-page :is(.dbg-breadcrumbs, .guide-breadcrumb) {
    width: 100% !important;
    margin: 0 !important;
    padding: 22px 0 !important;
    border-bottom: 1px solid var(--fmr-line-soft) !important;
    background: #0b0f15 !important;
}

body.fmr-guide-page :is(
    .gtl-hero-breadcrumb,
    .guide-breadcrumb,
    .dbg-breadcrumbs,
    .og-breadcrumbs
) a {
    color: var(--fmr-muted) !important;
    text-shadow: none !important;
}

body.fmr-guide-page :is(
    .gtl-hero-breadcrumb,
    .guide-breadcrumb,
    .dbg-breadcrumbs,
    .og-breadcrumbs
) a:hover {
    color: var(--fmr-pink) !important;
}

body.fmr-guide-page :is(
    .gtl-hero-title,
    .guide-hero h1,
    .pc-hero h1,
    .bfc-hero h1,
    .dbg-hero h1,
    .og-hero h1
) {
    max-width: 900px !important;
    margin: 18px 0 !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(2.8rem, 6vw, 5.4rem) !important;
    font-weight: 650 !important;
    letter-spacing: -0.035em !important;
    line-height: 0.98 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.fmr-guide-page :is(
    .gtl-gradient-text,
    .pc-gradient,
    .bfc-hero h1 span,
    .dbg-gradient-text,
    .neon-grad
) {
    background: none !important;
    color: var(--fmr-paper) !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
}

body.fmr-guide-page :is(
    .gtl-hero-sub,
    .guide-hero-desc,
    .pc-hero-sub,
    .bfc-hero-sub,
    .dbg-hero-sub,
    .og-hero-sub
) {
    max-width: 760px !important;
    margin: 0 0 22px !important;
    color: var(--fmr-muted) !important;
    font-size: clamp(1rem, 1.5vw, 1.13rem) !important;
    line-height: 1.75 !important;
    text-align: left !important;
    text-shadow: none !important;
}

body.fmr-guide-page :is(
    .gtl-section-label,
    .guide-hero-label,
    .pc-section-label,
    .pc-hero-badge,
    .bfc-hero-badge,
    .dbg-hero-badge,
    .og-hero-badge
) {
    display: inline-block !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    color: var(--fmr-pink) !important;
    box-shadow: none !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
}

body.fmr-guide-page :is(
    .gtl-hero-meta,
    .guide-meta,
    .bfc-updated,
    .dbg-hero-updated,
    .pc-hero-meta
) {
    color: #7d8794 !important;
    font-size: 0.78rem !important;
    text-shadow: none !important;
}

/* Reading rhythm and section hierarchy. */
body.fmr-guide-page :is(.gtl-section, .guide-body, .pc-section, .bfc-section, .dbg-section, .og-section) {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line-soft) !important;
    background: var(--fmr-ink) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-section--alt, .pc-section--alt, .bfc-section--alt, .dbg-section--alt, .og-section--alt) {
    background: #0b0f15 !important;
}

body.fmr-guide-page :is(
    .gtl-section-title,
    .guide-body h2,
    .pc-section h2,
    .bfc-section h2,
    .dbg-section h2,
    .og-section h2
) {
    margin: 0 0 24px !important;
    padding: 0 0 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line) !important;
    background: none !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
    font-weight: 650 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.1 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.fmr-guide-page :is(
    .gtl-h3,
    .guide-body h3,
    .guide-body h4,
    .pc-section h3,
    .pc-section h4,
    .bfc-section h3,
    .bfc-section h4,
    .dbg-section h3,
    .dbg-section h4,
    .og-section h3,
    .og-section h4
) {
    margin: 36px 0 14px !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading) !important;
    letter-spacing: 0.01em !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.fmr-guide-page :is(
    .gtl-section,
    .guide-body,
    .pc-section,
    .bfc-section,
    .dbg-section,
    .og-section
) p,
body.fmr-guide-page :is(.gtl-list, .pc-list, .guide-body ul, .guide-body ol) li {
    color: #b9c2cd !important;
    font-size: 1rem !important;
    line-height: 1.82 !important;
    text-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-page, .guide-page, .pc-landing, .bfc-page, .dbg-guide, .opt-guide) a {
    color: var(--fmr-cyan) !important;
    text-decoration-color: rgba(86, 216, 209, 0.35);
    text-underline-offset: 3px;
    text-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-page, .guide-page, .pc-landing, .bfc-page, .dbg-guide, .opt-guide) a:hover {
    color: var(--fmr-pink) !important;
}

/* TOCs, cards, callouts, FAQs and data tables share the same material. */
body.fmr-guide-page :is(
    .gtl-toc,
    .guide-toc,
    .pc-toc,
    .bfc-toc,
    .dbg-toc,
    .og-toc
) {
    width: min(960px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 32px auto !important;
    padding: 24px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-toc-title, .guide-toc-title, .bfc-toc h4, .og-toc-title) {
    color: var(--fmr-paper) !important;
    text-shadow: none !important;
}

body.fmr-guide-page :is(
    .gtl-card,
    .gtl-feature,
    .guide-faq-item,
    .pc-card,
    .pc-compare-box,
    .bfc-card,
    .bfc-cat-card,
    .dbg-card,
    .og-card,
    .og-feature
) {
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none;
}

body.fmr-guide-page :is(
    .gtl-callout,
    .guide-box,
    .pc-tip,
    .bfc-callout,
    .dbg-callout,
    .og-callout,
    .og-inline-cta
) {
    margin: 24px 0 !important;
    padding: 20px 22px !important;
    border: 1px solid var(--fmr-line) !important;
    border-left: 2px solid var(--fmr-pink) !important;
    border-radius: 5px !important;
    background: var(--fmr-panel) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-faq, .pc-faq-item, .bfc-faq-item, .dbg-faq-item, .og-faq-item) {
    border-color: var(--fmr-line) !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-code, .guide-code, .og-code, pre) {
    overflow-x: auto;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: #080b10 !important;
    color: #cbd3dc !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-comparison-table, .guide-table, .pc-table, .bfc-table, .dbg-table, .og-table) {
    width: 100% !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-comparison-table, .guide-table, .pc-table, .bfc-table, .dbg-table, .og-table) :is(th, td) {
    border-color: var(--fmr-line) !important;
    background: transparent !important;
    color: #b9c2cd !important;
    text-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-comparison-table, .guide-table, .pc-table, .bfc-table, .dbg-table, .og-table) th {
    color: var(--fmr-paper) !important;
}

body.fmr-guide-page :is(
    .gtl-cta-box,
    .guide-cta,
    .pc-cta-section,
    .bfc-cta,
    .dbg-cta,
    .og-cta
) {
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fmr-guide-page :is(.gtl-btn--primary, .guide-btn--primary, .pc-btn--primary, .bfc-btn--primary, .dbg-btn--primary, .og-btn--primary) {
    border: 1px solid #ff78aa !important;
    border-radius: 5px !important;
    background: var(--fmr-pink) !important;
    color: var(--fmr-ink) !important;
    box-shadow: 0 8px 24px rgba(240, 91, 145, 0.18) !important;
    text-shadow: none !important;
    transform: none !important;
}

body.fmr-guide-page :is(.gtl-btn--ghost, .gtl-btn--secondary, .guide-btn--secondary, .pc-btn--ghost, .bfc-btn--ghost, .dbg-btn--ghost, .og-btn--ghost) {
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Guides library page. */
body.fmr-guide-page .entry-header {
    width: min(1100px, calc(100% - 48px));
    margin: 76px auto 0 !important;
    padding: 0 0 30px !important;
    border-bottom: 1px solid var(--fmr-line);
}

body.fmr-guide-page .entry-title {
    margin: 0 !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading) !important;
    font-size: clamp(2.8rem, 6vw, 5.2rem) !important;
    font-weight: 650 !important;
    letter-spacing: -0.035em !important;
    line-height: 0.98 !important;
    text-shadow: none !important;
    text-transform: none !important;
}

body.fmr-guide-page .entry-title::before {
    content: 'FiveMRides / Library';
    display: block;
    margin-bottom: 14px;
    color: var(--fmr-pink);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

body.fmr-guide-page .guides-hub {
    width: min(1100px, calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 38px 0 90px !important;
}

body.fmr-guide-page .guides-lead {
    max-width: 780px;
    color: var(--fmr-muted) !important;
    font-size: 1.06rem !important;
    line-height: 1.75 !important;
}

body.fmr-guide-page .guides-stats,
body.fmr-guide-page .guide-card,
body.fmr-guide-page .upcoming-item,
body.fmr-guide-page .guides-cta-box {
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Flex-gap fallback for the older embedded Chromium used by some FiveM clients. */
body.fmr-guide-page .guides-stats span {
    margin: 0 16px 6px 0;
}

body.fmr-guide-page .guide-meta > * + * {
    margin-left: 12px;
}

body.fmr-guide-page .guide-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px !important;
}

body.fmr-guide-page .guide-card {
    display: flex;
    flex-direction: column;
    padding: 24px !important;
}

body.fmr-guide-page .guide-card-badge {
    align-self: flex-start;
    border: 0 !important;
    background: transparent !important;
    color: var(--fmr-pink) !important;
}

body.fmr-guide-page .guide-card h3 a,
body.fmr-guide-page .upcoming-item strong {
    color: var(--fmr-paper) !important;
    text-shadow: none !important;
}

body.fmr-guide-page .guide-card p,
body.fmr-guide-page .upcoming-item span {
    color: var(--fmr-muted) !important;
    text-shadow: none !important;
}

body.fmr-guide-page .guide-link {
    margin-top: auto;
    color: var(--fmr-cyan) !important;
}

/* ================================================================
   404: useful routes and search, without the giant generic neon box.
   ================================================================ */
body.fmr-404-page .fmr-404 {
    position: relative;
    display: grid;
    min-height: min(760px, calc(100vh - 126px));
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--fmr-line);
    background: var(--fmr-ink) !important;
}

body.fmr-404-page .fmr-404::after {
    content: '';
    position: absolute;
    right: -110px;
    bottom: -200px;
    width: 360px;
    height: 700px;
    background: url('../images/side_palm_tree.webp') bottom center / contain no-repeat;
    opacity: 0.12;
    mix-blend-mode: screen;
    pointer-events: none;
}

body.fmr-404-page .fmr-404__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: clamp(36px, 7vw, 96px);
    width: min(var(--fmr-shell), calc(100% - 48px));
    margin: 0 auto;
    padding: 84px 0 96px;
}

body.fmr-404-page .fmr-404__eyebrow,
body.fmr-404-page .fmr-404__routes-label {
    display: block;
    margin-bottom: 14px;
    color: var(--fmr-pink);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

body.fmr-404-page .fmr-404__code {
    margin-bottom: 6px;
    color: #ff78aa;
    font-family: var(--font-heading);
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.78;
    text-shadow: 0 0 24px rgba(240, 91, 145, 0.2);
}

body.fmr-404-page .fmr-404 h1 {
    margin: 24px 0 14px;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 4.6rem) !important;
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 0.95;
    text-shadow: none !important;
    text-transform: none;
}

body.fmr-404-page .fmr-404__intro > p {
    max-width: 650px;
    margin: 0 0 28px;
    color: var(--fmr-muted) !important;
    font-size: 1.02rem;
    line-height: 1.7;
    text-shadow: none !important;
}

body.fmr-404-page .fmr-404__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 620px;
    margin-bottom: 16px;
}

body.fmr-404-page .fmr-404__search input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: #0a0e14 !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
}

body.fmr-404-page .fmr-404__search input:focus {
    border-color: rgba(240, 91, 145, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(240, 91, 145, 0.1) !important;
    outline: none;
}

body.fmr-404-page .fmr-404__search button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 140px;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #ff78aa !important;
    border-radius: 5px !important;
    background: var(--fmr-pink) !important;
    color: var(--fmr-ink) !important;
    box-shadow: 0 8px 24px rgba(240, 91, 145, 0.18) !important;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.fmr-404-page .fmr-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.fmr-404-page .fmr-404__button {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--fmr-line);
    border-radius: 5px;
    color: var(--fmr-paper) !important;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 42px;
    text-transform: uppercase;
}

body.fmr-404-page .fmr-404__button--primary {
    border-color: var(--fmr-paper);
    background: var(--fmr-paper);
    color: var(--fmr-ink) !important;
}

body.fmr-404-page .fmr-404__routes {
    align-self: center;
    padding: 24px;
    border: 1px solid var(--fmr-line);
    border-radius: var(--fmr-radius);
    background: rgba(16, 21, 28, 0.94);
}

body.fmr-404-page .fmr-404__routes a {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--fmr-line-soft);
    color: var(--fmr-paper) !important;
    text-shadow: none !important;
}

body.fmr-404-page .fmr-404__routes a:last-child {
    border-bottom: 0;
}

body.fmr-404-page .fmr-404__routes a > span {
    font-weight: 750;
}

body.fmr-404-page .fmr-404__routes a small {
    grid-column: 1;
    color: var(--fmr-muted);
    font-size: 0.78rem;
}

body.fmr-404-page .fmr-404__routes a b {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--fmr-pink);
    font-size: 1.1rem;
}

@media (max-width: 800px) {
    body.fmr-guide-page :is(.gtl-container, .guide-container, .pc-container, .bfc-container, .dbg-container, .og-wrap),
    body.fmr-guide-page :is(.pc-container-wide, .dbg-container.dbg-wide),
    body.fmr-guide-page :is(.gtl-toc, .guide-toc, .pc-toc, .bfc-toc, .dbg-toc, .og-toc),
    body.fmr-guide-page .entry-header,
    body.fmr-guide-page .guides-hub {
        width: calc(100% - 32px) !important;
    }

    body.fmr-guide-page :is(.gtl-hero, .guide-hero, .pc-hero, .bfc-hero, .dbg-hero, .og-hero) {
        padding: 76px 0 52px !important;
    }

    body.fmr-guide-page :is(.gtl-section, .guide-body, .pc-section, .bfc-section, .dbg-section, .og-section) {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    body.fmr-guide-page .guide-cards,
    body.fmr-404-page .fmr-404__shell {
        grid-template-columns: 1fr;
    }

    body.fmr-404-page .fmr-404__shell {
        gap: 40px;
        width: calc(100% - 32px);
        padding: 64px 0 72px;
    }
}

@media (max-width: 520px) {
    body.fmr-guide-page :is(
        .gtl-hero-title,
        .guide-hero h1,
        .pc-hero h1,
        .bfc-hero h1,
        .dbg-hero h1,
        .og-hero h1
    ) {
        font-size: clamp(2.35rem, 12vw, 3.5rem) !important;
    }

    body.fmr-guide-page :is(.gtl-comparison-table, .guide-table, .pc-table, .bfc-table, .dbg-table, .og-table) {
        display: block !important;
        overflow-x: auto !important;
    }

    body.fmr-404-page .fmr-404__search {
        grid-template-columns: 1fr;
    }

    body.fmr-404-page .fmr-404__search button {
        width: 100%;
    }

    body.fmr-404-page .fmr-404::after {
        right: -170px;
        opacity: 0.08;
    }
}

@media (max-width: 992px) {
    #site-navigation.main-navigation:not(.active) {
        width: 0 !important;
        min-width: 0 !important;
        right: 0 !important;
        transform: none !important;
        overflow: hidden !important;
        border-width: 0 !important;
    }

    #site-navigation.main-navigation.active {
        width: min(88vw, 360px) !important;
    }
}

/* Category mega-menu: compact catalog first, useful brand discovery second. */
@media (min-width: 993px) {
    .main-navigation li.has-mega > .fro-mega {
        width: min(1240px, calc(100vw - 32px)) !important;
        max-height: calc(100vh - 86px);
        max-height: calc(100dvh - 86px);
        padding: 16px !important;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-color: #3e4a58 #0d1218;
        scrollbar-width: thin;
    }

    .main-navigation li.has-mega > .fro-mega::-webkit-scrollbar {
        width: 7px;
    }

    .main-navigation li.has-mega > .fro-mega::-webkit-scrollbar-thumb {
        background: #3e4a58;
        border-radius: 10px;
    }

    .fro-mega__topline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 40px;
        margin-bottom: 12px;
        padding: 0 2px;
    }

    .fro-mega__topline > div {
        display: flex;
        align-items: baseline;
    }

    .fro-mega__eyebrow {
        margin-right: 12px;
        color: var(--fmr-pink);
        font-size: 0.62rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .fro-mega__topline strong {
        color: var(--fmr-paper);
        font-family: var(--font-heading);
        font-size: 1.05rem;
        letter-spacing: 0.035em;
        text-transform: uppercase;
    }

    .fro-mega__all {
        color: var(--fmr-paper) !important;
        font-size: 0.72rem;
        font-weight: 750;
        letter-spacing: 0.03em;
    }

    .fro-mega__all span {
        margin-left: 7px;
        color: var(--fmr-cyan);
    }

    .fro-mega__grid {
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .fro-mega__card {
        gap: 6px !important;
        min-width: 0;
        padding: 5px 5px 7px !important;
    }

    .fro-mega__thumb {
        aspect-ratio: 16 / 9 !important;
        border-radius: 4px !important;
    }

    .fro-mega__label {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 26px;
        font-size: 0.68rem !important;
        line-height: 1.05;
    }

    .fro-mega__footer {
        display: grid !important;
        justify-content: stretch !important;
        gap: 7px !important;
        margin-top: 12px !important;
        padding-top: 11px !important;
    }

    .fro-mega__footer-title {
        grid-column: 1 / -1;
        color: #8e9aa8;
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .fro-mega__collections {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .fro-mega__pill {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 34px;
        padding: 6px 8px !important;
        font-size: 0.68rem !important;
        line-height: 1.1;
        text-align: center;
    }

    .fro-mega__brands {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .fro-mega__brand {
        display: flex;
        min-width: 0;
        min-height: 42px;
        flex-direction: column;
        justify-content: center;
        padding: 6px 9px;
        background: #111821;
        border: 1px solid var(--fmr-line);
        border-radius: 5px;
        color: var(--fmr-paper) !important;
        line-height: 1.1;
        text-decoration: none !important;
    }

    .fro-mega__brand span {
        overflow: hidden;
        font-size: 0.7rem;
        font-weight: 750;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fro-mega__brand small {
        margin-top: 3px;
        color: #788696;
        font-size: 0.56rem;
        font-weight: 600;
    }

    .fro-mega__brand:hover,
    .fro-mega__brand--all {
        background: #18212b;
        border-color: #536172;
    }

    .fro-mega__brand--all small {
        color: var(--fmr-cyan);
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
    .fro-mega__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    .fro-mega__collections,
    .fro-mega__brands {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    #site-navigation .fro-mega__topline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px 4px;
    }

    #site-navigation .fro-mega__topline > div {
        display: flex;
        flex-direction: row;
    }

    #site-navigation .fro-mega__eyebrow,
    #site-navigation .fro-mega__footer-title {
        color: var(--fmr-pink);
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

    #site-navigation .fro-mega__topline strong {
        display: none;
    }

    #site-navigation .fro-mega__all {
        display: inline-flex;
        align-items: center;
        color: var(--fmr-cyan) !important;
        font-size: 0.68rem;
        font-weight: 750;
        white-space: nowrap;
    }

    #site-navigation .fro-mega__footer {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 7px !important;
        margin: 0 !important;
        padding: 12px 16px !important;
        border-top: 1px solid var(--fmr-line-soft) !important;
    }

    #site-navigation .fro-mega__footer-title {
        grid-column: 1 / -1;
        margin-bottom: 2px;
    }

    #site-navigation .fro-mega__pill,
    #site-navigation .fro-mega__brand {
        display: flex !important;
        min-width: 0;
        min-height: 42px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 7px 10px !important;
        background: #111821 !important;
        border: 1px solid var(--fmr-line) !important;
        border-radius: 5px !important;
        color: var(--fmr-paper) !important;
        font-size: 0.72rem !important;
        font-weight: 700;
        line-height: 1.1;
        text-align: left !important;
        text-decoration: none !important;
    }

    #site-navigation .fro-mega__brand span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #site-navigation .fro-mega__brand small {
        margin-top: 4px;
        color: #7f8d9d;
        font-size: 0.58rem;
    }

    #site-navigation .fro-mega__brand--all {
        border-color: rgba(86, 216, 209, 0.45) !important;
    }

    #site-navigation .fro-mega__brand--all small {
        color: var(--fmr-cyan);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home *,
    body.home *::before,
    body.home *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Price treatment: keep the brand energy on the number, not the whole card. */
body.woocommerce ul.products li.product .price,
body.single-product div.product .summary .price,
body.woocommerce-cart .product-price .amount,
body.woocommerce-cart .product-subtotal .amount,
body.woocommerce-cart .cart_totals .amount,
body.woocommerce-checkout #order_review .amount,
.fro-mini-cart .woocommerce-mini-cart-item .amount,
.fro-mini-cart .woocommerce-mini-cart__total .amount {
    color: #ff78aa !important;
    text-shadow: 0 0 12px rgba(240, 91, 145, 0.32) !important;
}

body.woocommerce del .amount,
body.single-product del .amount,
body.woocommerce-cart del .amount,
body.woocommerce-checkout del .amount {
    color: #77808c !important;
    text-shadow: none !important;
}

/* Cart + checkout: one clean shell, replacing the accumulated neon overrides. */
body.woocommerce-cart,
body.woocommerce-checkout {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: var(--fmr-ink) !important;
    color: var(--fmr-paper);
}

body.has-promo-bar.woocommerce-cart,
body.has-promo-bar.woocommerce-checkout {
    padding-top: 50px !important;
}

body.woocommerce-cart::before,
body.woocommerce-cart::after,
body.woocommerce-checkout::before,
body.woocommerce-checkout::after {
    display: none !important;
}

body.woocommerce-cart #page.site,
body.woocommerce-checkout #page.site,
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content,
body.woocommerce-cart .site-content .ast-container,
body.woocommerce-checkout .site-content .ast-container,
body.woocommerce-cart #primary,
body.woocommerce-checkout #primary,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart #content,
body.woocommerce-checkout #content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-header {
    display: none !important;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .site-header,
body.woocommerce-checkout .site-header {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
}

body.woocommerce-cart .site-header .header-container,
body.woocommerce-checkout .site-header .header-container {
    width: 100% !important;
    max-width: 1440px !important;
    height: 76px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
    display: block !important;
    width: min(var(--fmr-shell), calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 64px auto 100px !important;
    padding: 0 !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
    margin: 0 0 16px !important;
    padding: 16px 18px 16px 48px !important;
    border: 1px solid var(--fmr-line) !important;
    border-top: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
}

/* Cart page. */
body.woocommerce-cart .fivem-cart-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 24px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-cart .fmr-cart-page-head {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
    align-items: end;
    gap: 24px;
    margin-bottom: 16px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--fmr-line);
}

body.woocommerce-cart .fmr-cart-page-head__eyebrow {
    grid-column: 1 / -1;
    color: var(--fmr-pink);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

body.woocommerce-cart .fmr-cart-page-head h1 {
    margin: 0 !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5.2rem) !important;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-shadow: none !important;
}

body.woocommerce-cart .fmr-cart-page-head p {
    max-width: 400px;
    margin: 0;
    color: var(--fmr-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

body.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents thead {
    background: #0c1117 !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents th {
    padding: 15px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line) !important;
    color: var(--fmr-muted) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents td {
    padding: 22px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line-soft) !important;
    background: transparent !important;
    color: var(--fmr-paper) !important;
    vertical-align: middle !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents .product-remove {
    width: 50px !important;
    padding-left: 18px !important;
    text-align: center !important;
}

body.woocommerce-cart .product-remove a.remove {
    display: grid !important;
    width: 30px !important;
    height: 30px !important;
    place-items: center;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--fmr-muted) !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-shadow: none !important;
}

body.woocommerce-cart .product-remove a.remove:hover {
    border-color: rgba(240, 91, 145, 0.65) !important;
    color: var(--fmr-pink) !important;
    transform: none !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents .product-thumbnail {
    width: 108px !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents .product-thumbnail img {
    display: block;
    width: 86px !important;
    height: 70px !important;
    margin: 0 !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    object-fit: cover;
    box-shadow: none !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents .product-name a {
    color: var(--fmr-paper) !important;
    font-size: 0.93rem;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none !important;
    text-shadow: none !important;
}

body.woocommerce-cart table.woocommerce-cart-form__contents .product-price,
body.woocommerce-cart table.woocommerce-cart-form__contents .product-subtotal {
    white-space: nowrap;
    font-weight: 800;
}

body.woocommerce-cart .quantity .qty {
    width: 64px !important;
    height: 44px !important;
    min-height: 0 !important;
    padding: 0 10px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: #0a0e14 !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
    text-align: center;
}

body.woocommerce-cart table.woocommerce-cart-form__contents td.actions {
    padding: 18px !important;
    background: #0c1117 !important;
}

body.woocommerce-cart .fro-cart-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-cart .fro-coupon {
    display: grid !important;
    grid-template-columns: minmax(150px, 230px) auto !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 !important;
}

body.woocommerce-cart .fro-coupon__input {
    width: 100% !important;
    height: 44px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: var(--fmr-ink) !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
}

body.woocommerce-cart .fro-coupon__input:focus {
    border-color: rgba(240, 91, 145, 0.75) !important;
    outline: none !important;
}

body.woocommerce-cart .fro-coupon__apply,
body.woocommerce-cart .fro-update-cart {
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    line-height: 42px !important;
    text-transform: uppercase !important;
    transform: none !important;
}

body.woocommerce-cart .fro-coupon__apply:hover,
body.woocommerce-cart .fro-update-cart:hover {
    border-color: var(--fmr-paper) !important;
    background: var(--fmr-paper) !important;
    color: var(--fmr-ink) !important;
}

body.woocommerce-cart .fro-update-cart:disabled {
    border-color: var(--fmr-line) !important;
    color: #69727d !important;
    opacity: 0.65 !important;
}

body.woocommerce-cart .cart-collaterals {
    grid-column: 2;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px !important;
    float: none !important;
    position: sticky;
    top: 98px;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
}

body.woocommerce-cart .cart_totals h2 {
    margin: 0 0 18px !important;
    padding: 0 0 18px !important;
    border-bottom: 1px solid var(--fmr-line) !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading);
    font-size: 1.2rem !important;
    letter-spacing: 0.04em;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: uppercase;
}

body.woocommerce-cart .cart_totals table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
    padding: 13px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line-soft) !important;
    background: transparent !important;
    color: var(--fmr-muted) !important;
    font-size: 0.82rem !important;
    text-shadow: none !important;
}

body.woocommerce-cart .cart_totals td {
    color: var(--fmr-paper) !important;
    text-align: right !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    padding-top: 18px !important;
    border-bottom: 0 !important;
    color: var(--fmr-paper) !important;
    font-size: 1rem !important;
}

body.woocommerce-cart .cart_totals .order-total .amount {
    font-size: 1.35rem !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
    margin: 18px 0 0 !important;
    padding: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-checkout #place_order {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid #ff78aa !important;
    border-radius: 5px !important;
    background: #f05b91 !important;
    color: #090b10 !important;
    box-shadow: 0 8px 24px rgba(240, 91, 145, 0.2) !important;
    font-family: var(--font-heading) !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    transform: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button::after,
body.woocommerce-checkout #place_order::after {
    content: '\2192';
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-checkout #place_order:hover {
    border-color: #ff91ba !important;
    background: #ff78aa !important;
    box-shadow: 0 10px 28px rgba(240, 91, 145, 0.28) !important;
    color: #080b10 !important;
}

body.woocommerce-cart .cross-sells-wrapper {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 38px;
    padding-top: 38px;
    border-top: 1px solid var(--fmr-line);
}

body.woocommerce-cart .cross-sells-wrapper .cross-sells > h2 {
    color: var(--fmr-paper) !important;
    text-align: left !important;
    text-shadow: none !important;
}

/* Checkout page. */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 10px;
}

body.woocommerce-checkout .fmr-checkout-page-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
    align-items: end;
    gap: 24px;
    margin: 0 0 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--fmr-line);
}

body.woocommerce-checkout .fmr-checkout-page-head__eyebrow {
    grid-column: 1 / -1;
    color: var(--fmr-pink);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

body.woocommerce-checkout .fmr-checkout-page-head h1 {
    margin: 0 !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5.2rem) !important;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-shadow: none !important;
    text-transform: uppercase;
}

body.woocommerce-checkout .fmr-checkout-page-head p {
    max-width: 400px;
    margin: 0;
    color: var(--fmr-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    margin: 0 !important;
    padding: 14px 18px !important;
    border-left: 2px solid var(--fmr-pink) !important;
    background: var(--fmr-panel) !important;
    color: var(--fmr-muted) !important;
}

body.woocommerce-checkout .woocommerce-info::before {
    color: var(--fmr-pink) !important;
}

body.woocommerce-checkout .woocommerce-info a {
    color: var(--fmr-paper) !important;
    text-decoration: underline;
    text-decoration-color: rgba(240, 91, 145, 0.55);
    text-underline-offset: 4px;
}

body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout form.login {
    margin: 0 0 18px !important;
    padding: 20px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
}

body.woocommerce-checkout form.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
    align-items: start;
    gap: 24px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 36px 0 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout #customer_details {
    grid-column: 1;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 28px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body.woocommerce-checkout #customer_details .col-2 {
    margin-top: 28px !important;
    padding-top: 28px !important;
    border-top: 1px solid var(--fmr-line);
}

body.woocommerce-checkout #customer_details h3 {
    margin: 0 0 24px !important;
    padding: 0 0 18px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line) !important;
    color: var(--fmr-paper) !important;
    font-family: var(--font-heading);
    font-size: 1.25rem !important;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-shadow: none !important;
    text-transform: uppercase;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
}

body.woocommerce-checkout .form-row {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout .address-field,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1;
}

body.woocommerce-checkout label {
    margin: 0 0 8px !important;
    color: var(--fmr-muted) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.3;
    text-shadow: none !important;
    text-transform: uppercase !important;
}

body.woocommerce-checkout .required {
    color: var(--fmr-pink) !important;
}

body.woocommerce-checkout input[type='text'],
body.woocommerce-checkout input[type='email'],
body.woocommerce-checkout input[type='tel'],
body.woocommerce-checkout input[type='password'],
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container .select2-selection--single {
    width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: #0a0e14 !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
    font-size: 0.92rem !important;
}

body.woocommerce-checkout textarea {
    min-height: 110px !important;
    padding-top: 14px !important;
    resize: vertical;
}

body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single {
    border-color: rgba(240, 91, 145, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(240, 91, 145, 0.1) !important;
    outline: none !important;
}

body.woocommerce-checkout .select2-container .select2-selection__rendered {
    padding: 10px 0 !important;
    color: var(--fmr-paper) !important;
    line-height: 28px !important;
}

body.woocommerce-checkout select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

body.woocommerce-checkout #order_review_heading {
    display: none !important;
}

body.woocommerce-checkout #order_review {
    grid-column: 2;
    position: sticky !important;
    top: 98px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: var(--fmr-radius) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body.woocommerce-checkout #order_review::before {
    content: 'Order summary';
    display: block;
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--fmr-line);
    color: var(--fmr-paper);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    background: transparent !important;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
    padding: 13px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fmr-line-soft) !important;
    background: transparent !important;
    color: var(--fmr-muted) !important;
    font-size: 0.82rem !important;
    text-shadow: none !important;
}

body.woocommerce-checkout #order_review table.shop_table td {
    color: var(--fmr-paper) !important;
}

body.woocommerce-checkout #order_review table.shop_table .order-total th,
body.woocommerce-checkout #order_review table.shop_table .order-total td {
    padding-top: 18px !important;
    border-bottom: 0 !important;
    color: var(--fmr-paper) !important;
    font-size: 1rem !important;
}

body.woocommerce-checkout #order_review table.shop_table .order-total .amount {
    font-size: 1.3rem !important;
}

body.woocommerce-checkout #payment {
    margin: 20px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--fmr-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    margin: 0 !important;
    padding: 18px 0 4px !important;
    border: 0 !important;
}

body.woocommerce-checkout #payment li.wc_payment_method {
    margin: 0 0 10px !important;
    padding: 14px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 5px !important;
    background: #0c1117 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout #payment li.wc_payment_method:hover {
    border-color: rgba(240, 91, 145, 0.55) !important;
    box-shadow: none !important;
}

body.woocommerce-checkout #payment li.wc_payment_method label {
    display: inline !important;
    margin: 0 0 0 6px !important;
    color: var(--fmr-paper) !important;
    font-size: 0.82rem !important;
    text-shadow: none !important;
}

body.woocommerce-checkout #payment .payment_box {
    margin: 12px 0 0 !important;
    padding: 12px !important;
    border-radius: 4px !important;
    background: var(--fmr-ink) !important;
    color: var(--fmr-muted) !important;
    box-shadow: none !important;
}

body.woocommerce-checkout #payment .payment_box::before {
    border-bottom-color: var(--fmr-ink) !important;
}

body.woocommerce-checkout #payment .place-order {
    margin: 0 !important;
    padding: 14px 0 0 !important;
}

body.woocommerce-checkout #place_order {
    margin-top: 14px !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    color: var(--fmr-muted) !important;
    font-size: 0.78rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    body.woocommerce-cart .woocommerce,
    body.woocommerce-checkout .woocommerce {
        width: min(100% - 32px, var(--fmr-shell)) !important;
        margin: 42px auto 76px !important;
    }

    body.woocommerce-cart .fivem-cart-wrapper,
    body.woocommerce-checkout form.woocommerce-checkout {
        display: block !important;
    }

    body.woocommerce-cart .fmr-cart-page-head {
        display: block;
        margin-bottom: 22px;
    }

    body.woocommerce-checkout .fmr-checkout-page-head {
        display: block;
        margin-bottom: 22px;
    }

    body.woocommerce-cart .fmr-cart-page-head__eyebrow {
        display: block;
        margin-bottom: 14px;
    }

    body.woocommerce-checkout .fmr-checkout-page-head__eyebrow {
        display: block;
        margin-bottom: 14px;
    }

    body.woocommerce-cart .fmr-cart-page-head p {
        margin-top: 18px;
    }

    body.woocommerce-checkout .fmr-checkout-page-head p {
        margin-top: 18px;
    }

    body.woocommerce-cart .cart-collaterals {
        margin-top: 18px !important;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals,
    body.woocommerce-checkout #order_review {
        position: static !important;
    }

    body.woocommerce-checkout #order_review {
        margin-top: 18px !important;
    }
}

@media (max-width: 640px) {
    body.woocommerce-cart .woocommerce,
    body.woocommerce-checkout .woocommerce {
        width: calc(100% - 24px) !important;
        margin-top: 30px !important;
    }

    body.woocommerce-cart .site-header .header-container,
    body.woocommerce-checkout .site-header .header-container {
        padding-inline: 14px !important;
    }

    body.woocommerce-cart .fmr-cart-page-head h1 {
        font-size: clamp(2.6rem, 15vw, 4rem) !important;
    }

    body.woocommerce-checkout .fmr-checkout-page-head h1 {
        font-size: clamp(2.6rem, 15vw, 4rem) !important;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        overflow: visible;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents thead {
        display: none !important;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents,
    body.woocommerce-cart table.woocommerce-cart-form__contents tbody,
    body.woocommerce-cart table.woocommerce-cart-form__contents tr,
    body.woocommerce-cart table.woocommerce-cart-form__contents td {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents tr.cart_item {
        display: grid !important;
        grid-template-columns: 78px minmax(0, 1fr) auto;
        gap: 4px 14px;
        padding: 16px !important;
        border-bottom: 1px solid var(--fmr-line) !important;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents tr.cart_item td {
        padding: 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents tr.cart_item td::before {
        display: none !important;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents .product-remove {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents .product-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 4;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents .product-thumbnail img {
        width: 78px !important;
        height: 68px !important;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents .product-name {
        grid-column: 2;
        grid-row: 1;
        padding-right: 6px !important;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents .product-price {
        grid-column: 2;
        grid-row: 2;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents .product-quantity {
        grid-column: 2;
        grid-row: 3;
        margin-top: 8px;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents .product-subtotal {
        display: none !important;
    }

    body.woocommerce-cart table.woocommerce-cart-form__contents td.actions {
        padding: 14px !important;
    }

    body.woocommerce-cart .fro-cart-actions,
    body.woocommerce-cart .fro-coupon {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    body.woocommerce-cart .fro-update-cart,
    body.woocommerce-cart .fro-coupon__apply {
        width: 100% !important;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review {
        padding: 20px !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout .form-row,
    body.woocommerce-checkout .form-row-wide,
    body.woocommerce-checkout .address-field,
    body.woocommerce-checkout #billing_email_field,
    body.woocommerce-checkout #billing_phone_field,
    body.woocommerce-checkout #order_comments_field {
        grid-column: 1;
    }
}

/* Late inline centering rules ship after the stylesheet; this extra ID level wins cleanly. */
body.woocommerce-cart #page .woocommerce,
body.woocommerce-checkout #page .woocommerce {
    width: min(var(--fmr-shell), calc(100% - 48px)) !important;
    max-width: none !important;
    margin: 64px auto 100px !important;
    padding: 0 !important;
}

body.woocommerce-cart #page .woocommerce .woocommerce-message,
body.woocommerce-cart #page .woocommerce .woocommerce-info {
    border: 1px solid var(--fmr-line) !important;
    border-left: 2px solid var(--fmr-pink) !important;
    background: var(--fmr-panel) !important;
    box-shadow: none !important;
}

body.woocommerce-cart #page .woocommerce .woocommerce-message::before,
body.woocommerce-cart #page .woocommerce .woocommerce-info::before {
    color: var(--fmr-pink) !important;
    text-shadow: none !important;
}

body.woocommerce-cart #page .woocommerce .woocommerce-message .button,
body.woocommerce-cart #page .woocommerce .woocommerce-info .button {
    min-height: 36px !important;
    padding: 0 14px !important;
    border: 1px solid var(--fmr-line) !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: var(--fmr-paper) !important;
    box-shadow: none !important;
    font-size: 0.7rem !important;
    line-height: 34px !important;
    text-shadow: none !important;
    transform: none !important;
}

body.woocommerce-cart #page .woocommerce .woocommerce-message .button:hover,
body.woocommerce-cart #page .woocommerce .woocommerce-info .button:hover {
    border-color: var(--fmr-paper) !important;
    background: var(--fmr-paper) !important;
    color: var(--fmr-ink) !important;
}

@media (max-width: 900px) {
    body.woocommerce-cart #page .woocommerce,
    body.woocommerce-checkout #page .woocommerce {
        width: min(100% - 32px, var(--fmr-shell)) !important;
        margin: 42px auto 76px !important;
    }
}

@media (max-width: 640px) {
    body.woocommerce-cart #page .woocommerce,
    body.woocommerce-checkout #page .woocommerce {
        width: calc(100% - 24px) !important;
        margin-top: 30px !important;
    }
}

@supports selector(html:has(body)) {
    html:has(body.woocommerce-cart),
    html:has(body.woocommerce-checkout) {
        overflow-x: hidden !important;
    }
}

/* Keep the closed off-canvas cart from extending the document canvas. */
.fro-cart-wrap:not(.is-open) .fro-mini-cart {
    width: 0 !important;
    min-width: 0 !important;
    right: 0 !important;
    transform: none !important;
    overflow: hidden !important;
    border-width: 0 !important;
    visibility: hidden;
}

.fro-cart-wrap.is-open .fro-mini-cart {
    visibility: visible;
}

@media (max-width: 640px) {
    body.woocommerce-cart table.woocommerce-cart-form__contents .product-name {
        padding-right: 38px !important;
    }
}

/* Cart coupon: a deliberate field + CTA pair, with breathing room between both. */
body.woocommerce-cart #page .woocommerce .fro-coupon {
    display: grid !important;
    grid-template-columns: minmax(180px, 240px) auto !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
}

body.woocommerce-cart #page .woocommerce .fro-coupon__input,
body.woocommerce-cart #page .woocommerce .fro-coupon__apply {
    position: static !important;
    inset: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

body.woocommerce-cart #page .woocommerce .fro-coupon__input {
    width: 240px !important;
    max-width: 240px !important;
}

body.woocommerce-cart #page .woocommerce .fro-coupon__apply {
    min-width: 132px !important;
    border-color: #ff78aa !important;
    background: var(--fmr-pink) !important;
    color: var(--fmr-ink) !important;
    box-shadow: 0 7px 18px rgba(240, 91, 145, 0.18) !important;
}

body.woocommerce-cart #page .woocommerce .fro-coupon__apply:hover,
body.woocommerce-cart #page .woocommerce .fro-coupon__apply:focus-visible {
    border-color: #ff91ba !important;
    background: #ff78aa !important;
    color: var(--fmr-ink) !important;
    box-shadow: 0 9px 22px rgba(240, 91, 145, 0.25) !important;
}

/* Palm echoes: two quiet watermarks encountered naturally while scrolling home. */
body.home .tools-section,
body.home .reviews-section {
    overflow: hidden;
    isolation: isolate;
}

body.home .tools-section > *,
body.home .reviews-section > * {
    position: relative;
    z-index: 1;
}

body.home .tools-section::before,
body.home .reviews-section::after {
    content: '';
    position: absolute;
    z-index: 0;
    width: clamp(260px, 25vw, 390px);
    height: clamp(500px, 52vw, 720px);
    background-image: url('../images/side_palm_tree.webp');
    background-image: image-set(
        url('../images/side_palm_tree.webp') type('image/webp'),
        url('../images/side_palm_tree.png') type('image/png')
    );
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    opacity: 0.16;
    filter: saturate(0.7) contrast(0.9);
    mix-blend-mode: screen;
    pointer-events: none;
}

body.home .tools-section::before {
    bottom: -170px;
    left: -125px;
    transform: rotate(-7deg);
}

body.home .reviews-section::after {
    top: -150px;
    right: -130px;
    transform: scaleX(-1) rotate(-6deg);
}

@media (max-width: 640px) {
    body.woocommerce-cart #page .woocommerce .fro-coupon {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    body.woocommerce-cart #page .woocommerce .fro-coupon__apply {
        width: 100% !important;
    }

    body.woocommerce-cart #page .woocommerce .fro-coupon__input {
        width: 100% !important;
        max-width: none !important;
    }

    body.home .tools-section::before,
    body.home .reviews-section::after {
        display: none;
    }
}
