/*
Acore plugin main css file
*/

/* WoTLK 3.3.5a inspired palette (CSS-only, no copyrighted assets) */
:root {
    --wow-bg-0: #04070d;
    --wow-bg-1: #0b1426;
    --wow-panel: rgba(7, 12, 20, 0.78);
    --wow-panel-2: rgba(15, 21, 32, 0.72);
    --wow-border: rgba(163, 134, 78, 0.55);
    --wow-border-strong: rgba(210, 170, 98, 0.9);
    --wow-text: #e6d8b3;
    --wow-muted: rgba(230, 216, 179, 0.72);
    --wow-accent: #d6b35a;
    --wow-accent-2: #7bd5ff;
    --wow-danger: #ff6b6b;
    --wow-radius: 12px;
    --wow-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    --wow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.55);

    /* Brand */
    --acore-brand-logo: url("../brand/logo.png");

    /* Default art pack (original). Can be overridden via wow_theme.php */
    --wow-bg-image: url("../theme/wotlk/bg.svg");
    --wow-crest-image: var(--acore-brand-logo);
    --wow-frame-image: url("../theme/wotlk/frame.svg");

}

body.acore-wow-theme {
    color: var(--wow-text);
    background:
        var(--wow-bg-image),
        radial-gradient(1200px 700px at 20% 10%, rgba(123, 213, 255, 0.14), transparent 60%),
        radial-gradient(900px 500px at 75% 30%, rgba(214, 179, 90, 0.10), transparent 62%),
        linear-gradient(180deg, var(--wow-bg-1), var(--wow-bg-0) 58%, #02040a);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: screen, normal, normal, normal;
    overflow-x: clip;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 16px;
    line-height: 1.55;
}

body.acore-wow-theme::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 10px),
        radial-gradient(800px 600px at 55% 8%, rgba(123, 213, 255, 0.10), transparent 65%),
        radial-gradient(900px 700px at 15% 85%, rgba(214, 179, 90, 0.08), transparent 70%);
    mix-blend-mode: overlay;
}

/* No fixed overlay logo (avoid “strange badge” feeling) */
body.acore-wow-theme::after { content: none; }

/* Landing page: full-screen background + vignette overlay */
body.acore-wow-theme.acore-landing-page {
    background:
        radial-gradient(1200px 700px at 22% 16%, rgba(123, 213, 255, 0.18), transparent 62%),
        radial-gradient(980px 620px at 82% 24%, rgba(214, 179, 90, 0.15), transparent 66%),
        linear-gradient(180deg, rgba(2, 4, 10, 0.90), rgba(1, 2, 6, 0.94) 55%, rgba(0, 1, 3, 0.96)),
        var(--wow-bg-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow-x: clip;
}
body.acore-wow-theme.acore-landing-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    background:
        radial-gradient(1200px 800px at 50% 38%, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.75) 72%, rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.85) 70%, rgba(0, 0, 0, 0.92));
    mix-blend-mode: multiply;
}

body.acore-wow-theme.acore-landing-page::after { content: none; }

body.acore-wow-theme :where(#page, .site, .wp-site-blocks) {
    position: relative;
    z-index: 1;
    background: transparent;
    max-width: 100%;
}

body.acore-wow-theme,
body.acore-wow-theme * ,
body.acore-wow-theme *::before,
body.acore-wow-theme *::after {
    box-sizing: border-box;
}

body.acore-wow-theme :where(img, svg, video, canvas) {
    max-width: 100%;
    height: auto;
}

/* Sticky header + bigger hit areas */
body.acore-wow-theme :where(header) {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 50;
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(210, 170, 98, 0.24);
    backdrop-filter: blur(10px);
}
body.acore-wow-theme :where(header) :where(a) {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
}
body.acore-wow-theme :where(header) :where(a:hover) {
    background: rgba(15, 21, 32, 0.55);
}
body.acore-wow-theme :where(.wp-block-navigation__responsive-container-open) {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

/* Theme-agnostic mobile burger overlay */
body.acore-wow-theme .acore-mobile-nav {
    display: none;
}
@media (max-width: 980px) {
    body.acore-wow-theme .acore-mobile-nav {
        display: block;
        position: fixed;
        top: calc(var(--wp-admin--admin-bar--height, 0px) + 0.55rem);
        right: 0.8rem;
        z-index: 60;
    }
    body.acore-wow-theme .acore-mobile-nav__toggle {
        list-style: none;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        border: 1px solid rgba(210, 170, 98, 0.35);
        background: rgba(7, 12, 20, 0.60);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
        cursor: pointer;
    }
    body.acore-wow-theme .acore-mobile-nav__toggle::-webkit-details-marker { display: none; }
    body.acore-wow-theme .acore-mobile-nav__burger {
        width: 18px;
        height: 12px;
        position: relative;
        display: inline-block;
    }
    body.acore-wow-theme .acore-mobile-nav__burger::before,
    body.acore-wow-theme .acore-mobile-nav__burger::after,
    body.acore-wow-theme .acore-mobile-nav__burger {
        background: transparent;
    }
    body.acore-wow-theme .acore-mobile-nav__burger::before,
    body.acore-wow-theme .acore-mobile-nav__burger::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        border-radius: 2px;
        background: rgba(230, 216, 179, 0.92);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
        transition: transform 180ms ease, top 180ms ease, opacity 180ms ease;
    }
    body.acore-wow-theme .acore-mobile-nav__burger::before { top: 2px; }
    body.acore-wow-theme .acore-mobile-nav__burger::after { top: 8px; }

    body.acore-wow-theme .acore-mobile-nav__panel {
        display: none;
        position: fixed;
        inset: calc(var(--wp-admin--admin-bar--height, 0px) + 0.55rem) 0.8rem auto 0.8rem;
        padding: 0.8rem;
        border-radius: 18px;
        border: 1px solid rgba(210, 170, 98, 0.24);
        background: rgba(0, 0, 0, 0.82);
        backdrop-filter: blur(12px);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
    }
    body.acore-wow-theme .acore-mobile-nav__link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0.8rem 0.9rem;
        border-radius: 14px;
        text-decoration: none;
        color: var(--wow-text);
        font-weight: 800;
    }
    body.acore-wow-theme .acore-mobile-nav__link:hover {
        background: rgba(15, 21, 32, 0.55);
        border: 1px solid rgba(123, 213, 255, 0.20);
    }
    body.acore-wow-theme details.acore-mobile-nav[open] .acore-mobile-nav__panel {
        display: grid;
        gap: 0.35rem;
    }
    body.acore-wow-theme details.acore-mobile-nav[open] .acore-mobile-nav__burger::before {
        top: 5px;
        transform: rotate(45deg);
    }
    body.acore-wow-theme details.acore-mobile-nav[open] .acore-mobile-nav__burger::after {
        top: 5px;
        transform: rotate(-45deg);
    }
}

/* Force burger navigation on small screens (prevents wrapping/overflow) */
@media (max-width: 980px) {
    body.acore-wow-theme :where(.wp-block-navigation__container) {
        display: none !important;
    }
    body.acore-wow-theme :where(.wp-block-navigation__responsive-container-open) {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    body.acore-wow-theme :where(.wp-block-navigation__responsive-container) {
        background: rgba(0, 0, 0, 0.86) !important;
        backdrop-filter: blur(12px);
    }
    body.acore-wow-theme :where(.wp-block-navigation__responsive-container-content) {
        padding: 1.0rem 1.0rem 1.2rem;
    }
    body.acore-wow-theme :where(.wp-block-navigation__responsive-container a) {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 0.9rem;
        border-radius: 14px;
    }
}

body.acore-wow-theme :where(a) {
    color: var(--wow-accent);
    text-decoration-color: rgba(214, 179, 90, 0.45);
    text-underline-offset: 0.18em;
}

body.acore-wow-theme :where(a:hover) {
    color: #ffe29a;
    text-decoration-color: rgba(255, 226, 154, 0.65);
}

body.acore-wow-theme :where(h1, h2, h3, h4, h5) {
    color: #f2e7cc;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55), 0 10px 35px rgba(0, 0, 0, 0.35);
    font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
}

/* Panels */
body.acore-wow-theme :where(main, .woocommerce, .wp-block-post, article) {
    position: relative;
    background: var(--wow-panel);
    border: 1px solid var(--wow-border);
    border-radius: var(--wow-radius);
    box-shadow: var(--wow-shadow), var(--wow-inner);
    backdrop-filter: blur(6px);
    max-width: 100%;
}

body.acore-wow-theme :where(main, .woocommerce, .wp-block-post, article)::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: calc(var(--wow-radius) + 14px);
    background-image: var(--wow-frame-image);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.85;
    pointer-events: none;
    z-index: -1;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

/* Internal pages: modern cards, no "corner frame" */
body.acore-wow-theme:not(.acore-landing-page) :where(main, .woocommerce, .wp-block-post, article) {
    width: min(1180px, calc(100% - 2rem));
    margin: 1.25rem auto 2.5rem;
    padding: clamp(1.0rem, 1.6vw, 1.5rem);
    border-radius: 18px;
    border-color: rgba(210, 170, 98, 0.28);
    background: rgba(7, 12, 20, 0.78);
}
body.acore-wow-theme:not(.acore-landing-page) :where(main, .woocommerce, .wp-block-post, article)::before {
    content: none;
}

/* WooCommerce renders .woocommerce inside main — avoid nested "double panels" */
body.acore-wow-theme:not(.acore-landing-page) :where(main) :where(.woocommerce) {
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}
body.acore-wow-theme:not(.acore-landing-page) :where(.wp-block-post-title, header.entry-header, h1.entry-title) {
    margin: 0 0 1.0rem;
}
body.acore-wow-theme:not(.acore-landing-page) :where(.wp-block-post-title, h1.entry-title) {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.12;
}
body.acore-wow-theme:not(.acore-landing-page) :where(p) {
    color: rgba(230, 216, 179, 0.82);
}

/* Layout: footer stays at bottom without weird empty zones */
body.acore-wow-theme :where(.wp-site-blocks, #page, .site) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.acore-wow-theme :where(main) {
    flex: 1 0 auto;
}
body.acore-wow-theme :where(footer) {
    flex: 0 0 auto;
}

/* Landing page: disable generic WP “panel + frame” wrappers */
body.acore-wow-theme.acore-landing-page :where(main, article, .wp-block-post) {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.acore-wow-theme.acore-landing-page :where(main, article, .wp-block-post)::before {
    content: none;
}
body.acore-wow-theme.acore-landing-page :where(.wp-block-post-title, header.entry-header, h1.entry-title) {
    display: none !important;
}

/* Landing page: remove empty gap under header */
body.acore-wow-theme.acore-landing-page :where(main) {
    margin-top: 0 !important;
}

body.acore-wow-theme :where(footer) {
    background: rgba(0, 0, 0, 0.28);
    border-top: 1px solid rgba(210, 170, 98, 0.20);
    backdrop-filter: blur(6px);
}

/* ===== Landing page (stock-fantasy inspired) ===== */
body.acore-wow-theme .acore-landing {
    position: relative;
}

/* Break out of theme content width */
body.acore-wow-theme.acore-landing-page .acore-landing {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 3.2rem;
}

body.acore-wow-theme .acore-landing__container {
    width: min(1480px, calc(100% - 2.5rem));
    margin: 0 auto;
}

body.acore-wow-theme .acore-landing__hero {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--wow-radius) + 10px);
    border: 1px solid rgba(210, 170, 98, 0.35);
    background:
        radial-gradient(1200px 560px at 18% 38%, rgba(123, 213, 255, 0.18), transparent 62%),
        radial-gradient(1000px 560px at 82% 40%, rgba(214, 179, 90, 0.12), transparent 64%),
        linear-gradient(180deg, rgba(10, 14, 22, 0.86), rgba(2, 3, 8, 0.90));
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), var(--wow-inner);
}

body.acore-wow-theme .acore-landing__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 20% 35%, rgba(123, 213, 255, 0.20), transparent 60%),
        radial-gradient(860px 520px at 80% 45%, rgba(214, 179, 90, 0.12), transparent 62%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14px);
    opacity: 0.35;
    pointer-events: none;
}

body.acore-wow-theme .acore-landing__hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    position: relative;
    z-index: 1;
    padding: clamp(1.1rem, 2.4vw, 2.0rem);
    min-height: clamp(420px, 58vh, 640px);
    align-items: center;
}

body.acore-wow-theme .acore-landing__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(230, 216, 179, 0.86);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
    border: 1px solid rgba(210, 170, 98, 0.35);
    background: rgba(7, 12, 20, 0.65);
    border-radius: 999px;
}

body.acore-wow-theme .acore-landing__title {
    margin: 0.9rem 0 0.5rem;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.05;
}

body.acore-wow-theme .acore-landing__subtitle {
    margin: 0 0 1.2rem;
    color: rgba(230, 216, 179, 0.84);
    font-size: clamp(1.02rem, 1.2vw, 1.15rem);
    max-width: 54ch;
}

body.acore-wow-theme .acore-landing__note {
    margin-top: 0.85rem;
    color: rgba(230, 216, 179, 0.62);
    font-weight: 600;
    font-size: 0.95rem;
    display: none;
}

body.acore-wow-theme .acore-landing__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.0rem 0 1.2rem;
}

body.acore-wow-theme .acore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid rgba(210, 170, 98, 0.35);
    background: rgba(7, 12, 20, 0.55);
    color: var(--wow-text);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
    transition: transform 120ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease, background-color 180ms ease;
}

body.acore-wow-theme .acore-btn--primary {
    color: #1a1407;
    background: linear-gradient(180deg, #f2d27b 0%, #c79b3c 52%, #9a6b1b 100%);
    border-color: rgba(210, 170, 98, 0.85);
}

body.acore-wow-theme .acore-btn--ghost:hover {
    border-color: rgba(123, 213, 255, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

body.acore-wow-theme .acore-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 213, 255, 0.22), 0 18px 40px rgba(0, 0, 0, 0.55);
    border-color: rgba(123, 213, 255, 0.75);
}
body.acore-wow-theme .acore-btn:hover {
    transform: translateY(-1px);
}
body.acore-wow-theme .acore-btn:active {
    transform: translateY(0);
}

body.acore-wow-theme .acore-landing__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

body.acore-wow-theme .acore-landing__hero-right {
    display: grid;
    gap: 0.9rem;
    align-self: stretch;
}

body.acore-wow-theme .acore-sidecard {
    background: rgba(7, 12, 20, 0.62);
    border: 1px solid rgba(210, 170, 98, 0.22);
    border-radius: 18px;
    padding: 0.95rem 1.0rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.acore-wow-theme .acore-sidecard__title {
    font-weight: 900;
    color: #f2e7cc;
    margin-bottom: 0.65rem;
    letter-spacing: 0.02em;
}

body.acore-wow-theme .acore-sidecard__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

body.acore-wow-theme .acore-ministat {
    background: rgba(15, 21, 32, 0.55);
    border: 1px solid rgba(210, 170, 98, 0.16);
    border-radius: 14px;
    padding: 0.7rem 0.75rem;
}

body.acore-wow-theme .acore-ministat__label {
    color: rgba(230, 216, 179, 0.65);
    font-weight: 700;
    font-size: 0.82rem;
}

body.acore-wow-theme .acore-ministat__value {
    margin-top: 0.15rem;
    font-weight: 900;
    font-size: 1.15rem;
}

body.acore-wow-theme .acore-steps {
    margin: 0 0 0.85rem 1.1rem;
    padding: 0;
    color: rgba(230, 216, 179, 0.82);
}

body.acore-wow-theme .acore-steps li {
    margin: 0.35rem 0;
}

body.acore-wow-theme .acore-sidecard__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

body.acore-wow-theme .acore-sidecard__actions .acore-btn {
    padding: 0.75rem 0.95rem;
}

body.acore-wow-theme .acore-stat {
    background: rgba(7, 12, 20, 0.62);
    border: 1px solid rgba(210, 170, 98, 0.25);
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.acore-wow-theme .acore-stat__label {
    color: rgba(230, 216, 179, 0.68);
    font-weight: 700;
    font-size: 0.82rem;
}

body.acore-wow-theme .acore-stat__value {
    margin-top: 0.25rem;
    font-weight: 900;
    font-size: 1.25rem;
    color: #f2e7cc;
}

body.acore-wow-theme .acore-landing__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr;
    gap: 1.2rem;
    margin-top: 1.2rem;
}

body.acore-wow-theme .acore-block {
    background: rgba(7, 12, 20, 0.68);
    border: 1px solid rgba(210, 170, 98, 0.25);
    border-radius: calc(var(--wow-radius) + 6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), var(--wow-inner);
    padding: 1.1rem 1.1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

body.acore-wow-theme .acore-block__title {
    margin: 0.2rem 0 0.9rem;
    font-size: 1.25rem;
}

body.acore-wow-theme .acore-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

body.acore-wow-theme .acore-feature {
    background: rgba(15, 21, 32, 0.62);
    border: 1px solid rgba(210, 170, 98, 0.18);
    border-radius: 16px;
    padding: 0.9rem 0.9rem;
}

body.acore-wow-theme .acore-feature__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(7, 12, 20, 0.55);
    border: 1px solid rgba(123, 213, 255, 0.22);
    margin-bottom: 0.55rem;
    color: rgba(230, 216, 179, 0.92);
}

body.acore-wow-theme .acore-feature__icon svg {
    opacity: 0.95;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.55));
}

body.acore-wow-theme .acore-feature__title {
    font-weight: 900;
    margin-bottom: 0.25rem;
    color: #f2e7cc;
}

body.acore-wow-theme .acore-feature__text {
    color: rgba(230, 216, 179, 0.78);
    font-size: 0.95rem;
}

body.acore-wow-theme .acore-news {
    display: grid;
    gap: 0.65rem;
    align-content: start;
}

body.acore-wow-theme .acore-news__item {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(210, 170, 98, 0.18);
    background: rgba(15, 21, 32, 0.55);
    text-decoration: none;
}

body.acore-wow-theme .acore-news__item:hover {
    border-color: rgba(123, 213, 255, 0.4);
}

body.acore-wow-theme .acore-news__date {
    color: rgba(230, 216, 179, 0.65);
    font-weight: 700;
    font-size: 0.82rem;
}

body.acore-wow-theme .acore-news__title {
    color: #f2e7cc;
    font-weight: 900;
}

/* Shop cards (landing) */
body.acore-wow-theme .acore-shop {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}
body.acore-wow-theme .acore-product {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(210, 170, 98, 0.18);
    background: rgba(15, 21, 32, 0.55);
    text-decoration: none;
}
body.acore-wow-theme .acore-product:hover {
    border-color: rgba(123, 213, 255, 0.35);
}
body.acore-wow-theme .acore-product__thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid rgba(210, 170, 98, 0.18);
    background: rgba(7, 12, 20, 0.6);
    object-fit: cover;
}
body.acore-wow-theme .acore-product__title {
    font-weight: 900;
    color: #f2e7cc;
    line-height: 1.15;
}
body.acore-wow-theme .acore-product__meta {
    color: rgba(230, 216, 179, 0.72);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}
body.acore-wow-theme .acore-product__cta {
    margin-top: 0.85rem;
}

body.acore-wow-theme .acore-landing__credits {
    margin-top: 0.9rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(210, 170, 98, 0.18);
    background: rgba(7, 12, 20, 0.55);
    color: rgba(230, 216, 179, 0.72);
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    body.acore-wow-theme .acore-landing__grid {
        grid-template-columns: 1fr 1fr;
    }
    body.acore-wow-theme .acore-landing__grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    body.acore-wow-theme .acore-landing__hero-inner {
        grid-template-columns: 1fr;
    }
    body.acore-wow-theme .acore-landing__grid {
        grid-template-columns: 1fr;
    }
    body.acore-wow-theme .acore-features {
        grid-template-columns: 1fr;
    }
    body.acore-wow-theme .acore-landing__stats {
        grid-template-columns: 1fr;
    }
}

/* Site title: logo icon (only for site title) */
body.acore-wow-theme :where(header) :where(.wp-block-site-title a, .site-title a) {
    position: relative;
    padding-left: 0;
}
body.acore-wow-theme :where(header) :where(.wp-block-site-title a, .site-title a)::before {
    content: none;
}

/* Navigation */
body.acore-wow-theme :where(.wp-block-navigation, nav) :where(a) {
    color: var(--wow-text);
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
body.acore-wow-theme :where(.wp-block-navigation, nav) :where(a:hover) {
    color: #ffe29a;
}

/* Forms / inputs */
body.acore-wow-theme :where(input, textarea, select) {
    color: var(--wow-text);
    background: var(--wow-panel-2);
    border: 1px solid rgba(210, 170, 98, 0.28);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
body.acore-wow-theme :where(input:focus, textarea:focus, select:focus) {
    outline: none;
    border-color: rgba(123, 213, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(123, 213, 255, 0.14);
}

/* My Account → Game accounts: make fields human-sized */
body.acore-wow-theme .acore-game-accounts :where(.acore-ga-form) {
    max-width: 560px;
}
body.acore-wow-theme .acore-game-accounts :where(.acore-ga-form p) {
    margin: 0 0 0.85rem;
}
body.acore-wow-theme .acore-game-accounts :where(.acore-ga-form label) {
    display: block;
    font-weight: 800;
    color: rgba(230, 216, 179, 0.88);
}
body.acore-wow-theme .acore-game-accounts :where(.acore-ga-form input[type="text"], .acore-ga-form input[type="password"]) {
    display: block;
    width: min(560px, 100%);
    min-height: 46px;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    line-height: 1.2;
}
body.acore-wow-theme .acore-game-accounts :where(.acore-ga-form button) {
    min-height: 44px;
    padding: 0.7rem 1.05rem;
}
body.acore-wow-theme .acore-game-accounts :where(.acore-ga-delete) {
    display: flex;
    gap: 0.5rem;
    align-items: end;
    flex-wrap: wrap;
}
body.acore-wow-theme .acore-game-accounts :where(.acore-ga-delete input[type="text"]) {
    width: min(220px, 100%);
    min-height: 40px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
}

/* Buttons */
body.acore-wow-theme :where(button, .button, .wp-element-button, .wp-block-button__link, input[type="submit"], input[type="button"]) {
    color: #1a1407;
    background: linear-gradient(180deg, #f2d27b 0%, #c79b3c 52%, #9a6b1b 100%);
    border: 1px solid rgba(210, 170, 98, 0.85);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
body.acore-wow-theme :where(button:hover, .button:hover, .wp-element-button:hover, .wp-block-button__link:hover, input[type="submit"]:hover, input[type="button"]:hover) {
    filter: brightness(1.08) saturate(1.05);
}
body.acore-wow-theme :where(button:active, .button:active, .wp-element-button:active, .wp-block-button__link:active, input[type="submit"]:active, input[type="button"]:active) {
    transform: translateY(1px);
}

/* WooCommerce notices */
body.acore-wow-theme :where(.woocommerce-message, .woocommerce-info) {
    background: rgba(123, 213, 255, 0.08);
    border: 1px solid rgba(123, 213, 255, 0.30);
    color: var(--wow-text);
    border-radius: var(--wow-radius);
}
body.acore-wow-theme :where(.woocommerce-error) {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.32);
    color: var(--wow-text);
    border-radius: var(--wow-radius);
}

/* ===== WooCommerce pages: layout + components ===== */
body.acore-wow-theme :where(.woocommerce-breadcrumb) {
    margin: 0 0 0.9rem;
    padding: 0.45rem 0.7rem;
    display: inline-flex !important;
    gap: 0.35rem;
    align-items: center;
    width: auto !important;
    max-width: fit-content !important;
    flex: 0 0 auto !important;
    max-width: 100%;
    align-self: flex-start;
    border-radius: 999px;
    border: 1px solid rgba(210, 170, 98, 0.24);
    background: rgba(7, 12, 20, 0.55);
    color: rgba(230, 216, 179, 0.78);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Sorting/count UI looks broken on this theme; hide it */
body.acore-wow-theme :where(.woocommerce-result-count, .woocommerce-ordering) {
    display: none !important;
}

/* Prevent empty wrapper panels */
body.acore-wow-theme :where(.woocommerce-notices-wrapper) {
    margin: 0 0 0.9rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
}

/* If the shop is empty, block-based filters often render as blank panels */
body.acore-wow-theme.woocommerce-shop :where(
    .wp-block-woocommerce-filter-wrapper,
    .wp-block-woocommerce-attribute-filter,
    .wp-block-woocommerce-price-filter,
    .wp-block-woocommerce-stock-filter,
    .wp-block-woocommerce-rating-filter
) {
    display: none;
}

/* Hide weird empty separators/spacers used by some WC templates */
body.acore-wow-theme.woocommerce-cart :where(.wp-block-separator, .wp-block-spacer),
body.acore-wow-theme.woocommerce-shop :where(.wp-block-separator, .wp-block-spacer),
body.acore-wow-theme.post-type-archive-product :where(.wp-block-separator, .wp-block-spacer) {
    display: none !important;
}

/* Account page */
body.acore-wow-theme.woocommerce-account :where(.woocommerce) {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.25rem;
    align-items: start;
}
body.acore-wow-theme.woocommerce-account :where(.woocommerce-MyAccount-navigation) ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
body.acore-wow-theme.woocommerce-account :where(.woocommerce-MyAccount-navigation) a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(210, 170, 98, 0.18);
    background: rgba(15, 21, 32, 0.45);
    color: var(--wow-text);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
}
body.acore-wow-theme.woocommerce-account :where(.woocommerce-MyAccount-navigation) li.is-active a {
    border-color: rgba(210, 170, 98, 0.55);
    background: linear-gradient(180deg, rgba(242, 210, 123, 0.18), rgba(7, 12, 20, 0.55));
}
body.acore-wow-theme.woocommerce-account :where(.woocommerce-MyAccount-navigation) a:hover {
    border-color: rgba(123, 213, 255, 0.28);
    background: rgba(15, 21, 32, 0.62);
}
body.acore-wow-theme.woocommerce-account :where(.woocommerce-MyAccount-content) {
    border: 1px solid rgba(210, 170, 98, 0.18);
    border-radius: 18px;
    background: rgba(15, 21, 32, 0.35);
    padding: clamp(0.9rem, 1.4vw, 1.2rem);
    min-height: 420px;
    font-size: 0.97rem;
}

/* Account page headings: slightly smaller, cleaner rhythm */
body.acore-wow-theme.woocommerce-account :where(h1) {
    font-size: clamp(1.5rem, 2.1vw, 2.05rem);
    line-height: 1.12;
    margin: 0 0 0.85rem;
}
body.acore-wow-theme.woocommerce-account :where(h2) {
    font-size: clamp(1.25rem, 1.6vw, 1.55rem);
    line-height: 1.15;
    margin: 0.25rem 0 0.75rem;
}

/* Tables on account pages: less “giant” */
body.acore-wow-theme.woocommerce-account :where(.woocommerce table.shop_table) {
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    body.acore-wow-theme.woocommerce-account :where(.woocommerce) {
        grid-template-columns: 1fr;
    }
}

/* Tables */
body.acore-wow-theme :where(.woocommerce table.shop_table) {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(210, 170, 98, 0.18);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 21, 32, 0.35);
}
body.acore-wow-theme :where(.woocommerce table.shop_table th, .woocommerce table.shop_table td) {
    border-color: rgba(210, 170, 98, 0.14) !important;
    padding: 0.85rem 0.9rem;
}
body.acore-wow-theme :where(.woocommerce table.shop_table thead th) {
    background: rgba(7, 12, 20, 0.55);
    color: rgba(230, 216, 179, 0.86);
    font-weight: 900;
}

/* Product archive */
body.acore-wow-theme :where(.woocommerce ul.products) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.0rem;
    margin: 1.0rem 0 0;
}
body.acore-wow-theme :where(.woocommerce ul.products li.product) {
    margin: 0;
    padding: 1.0rem;
    border-radius: 18px;
    border: 1px solid rgba(210, 170, 98, 0.18);
    background: rgba(15, 21, 32, 0.40);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
body.acore-wow-theme :where(.woocommerce ul.products li.product a) {
    text-decoration: none;
}
body.acore-wow-theme :where(.woocommerce ul.products li.product .woocommerce-loop-product__title) {
    color: #f2e7cc;
    font-weight: 900;
    font-size: 1.05rem;
    margin: 0.6rem 0 0.25rem;
}
body.acore-wow-theme :where(.woocommerce ul.products li.product .price) {
    color: rgba(230, 216, 179, 0.85);
    font-weight: 900;
}
@media (max-width: 980px) {
    body.acore-wow-theme :where(.woocommerce ul.products) {
        grid-template-columns: 1fr;
    }
}

/* WooCommerce Blocks (best-effort theming) */
body.acore-wow-theme :where(.wc-block-components-button, .wc-block-components-button__button) {
    border-radius: 12px;
    border: 1px solid rgba(210, 170, 98, 0.85) !important;
    background: linear-gradient(180deg, #f2d27b 0%, #c79b3c 52%, #9a6b1b 100%) !important;
    color: #1a1407 !important;
    font-weight: 900;
}
body.acore-wow-theme :where(.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-block-components-text-input select) {
    background: rgba(15, 21, 32, 0.72) !important;
    border: 1px solid rgba(210, 170, 98, 0.28) !important;
    border-radius: 12px !important;
    color: var(--wow-text) !important;
}
body.acore-wow-theme :where(.wc-block-components-notice-banner) {
    border-radius: 14px;
    background: rgba(123, 213, 255, 0.08) !important;
    border-color: rgba(123, 213, 255, 0.30) !important;
}

/* wp-login.php */
body.login {
    color: var(--wow-text);
    background:
        var(--wow-bg-image),
        radial-gradient(1100px 700px at 30% 10%, rgba(123, 213, 255, 0.14), transparent 60%),
        radial-gradient(900px 600px at 70% 35%, rgba(214, 179, 90, 0.10), transparent 62%),
        linear-gradient(180deg, var(--wow-bg-1), var(--wow-bg-0) 58%, #02040a);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
body.login #login form {
    background: var(--wow-panel);
    border: 1px solid var(--wow-border);
    border-radius: var(--wow-radius);
    box-shadow: var(--wow-shadow), var(--wow-inner);
}
body.login #login :where(input, textarea, select) {
    color: var(--wow-text);
    background: var(--wow-panel-2);
    border: 1px solid rgba(210, 170, 98, 0.28);
}

/* wp-login system notices are white by default — ensure readable text */
body.login #login :where(.message, .success, #login_error, .notice) {
    background: #ffffff;
    color: #0b0f17;
    border-left-color: rgba(210, 170, 98, 0.75);
}
body.login #login :where(.message p, .success p, #login_error p, .notice p) {
    color: inherit;
}
body.login #login :where(.message a, .success a, #login_error a, .notice a) {
    color: #0b0f17;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.card {
    max-width: initial;
    margin-top: initial;
    padding: initial;
}

.bg-teal {
    background-color: var(--bs-teal) !important;
}

/* start char-order */
#acore-characters-order .menu-item-handle {
}

#acore-characters-order .item-type {
    padding: 0px;
    margin-top: 5px;
}

#acore-characters-order .item-type img {
    display: inline-block;
    vertical-align: middle;
    height: 32px;
    transform: translateZ(0); /* prevent blurry image on chrome */
}

#acore-characters-order input {
    display: none;
}

/* end char order */

/* start char-unstuck */
#acore-characters-unstuck .menu-item-handle {
    cursor: default;
}

.unstuck-button {
    background-size: cover;
    border: none;
    color: transparent;
    cursor: pointer;
}

.unstuck-button:disabled {
    opacity: 0.5; /* Adjust the opacity for disabled state */
    cursor: not-allowed;
}

#acore-characters-unstuck .item-type {
    padding: 0px;
    margin-top: 5px;
}

#acore-characters-unstuck .item-type img {
    display: inline-block;
    vertical-align: middle;
    height: 32px;
    transform: translateZ(0); /* prevent blurry image on chrome */
}

#acore-characters-unstuck input {
    display: none;
}

/* end char unstuck */


/* start raf progress view */
.acore-progress-bar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}
.acore-progress-bar li {
    flex: 2;
    position: relative;
    padding: 0 0 14px 0;
    font-size: var(--font-size-default);
    line-height: 1.5;
    color: var(--bs-teal);
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    text-align: center;
    border-bottom: 2px solid var(--bs-gray-400);
}
.acore-progress-bar li:first-child,
.acore-progress-bar li:last-child {
    flex: 1;
}
.acore-progress-bar li:last-child {
    text-align: right;
}
.acore-progress-bar li:before {
    content: "";
    display: block;
    width: 0.8em;
    height: 0.8em;
    background-color: var(--bs-gray-400);
    border-radius: 50%;
    border: 2px solid var(--bs-white);
    position: absolute;
    left: calc(50% - 6px);
    bottom: -7px;
    z-index: 3;
    transition: all .2s ease-in-out;
}
.acore-progress-bar li:first-child:before {
    left: 0;
}
.acore-progress-bar li:last-child:before {
    right: 0;
    left: auto;
}

.acore-progress-bar .is-complete:first-child span,
.acore-progress-bar .is-active:first-child span {
    position: absolute;
    left: 3px;
}
.acore-progress-bar span {
    transition: opacity .3s ease-in-out;
}
.acore-progress-bar li:not(.is-active) span {
    opacity: 0;
}
.acore-progress-bar .is-complete:not(:first-child):after,
.acore-progress-bar .is-active:not(:first-child):after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: -50%;
    z-index: 2;
    border-bottom: 2px solid var(--bs-teal);
}
.acore-progress-bar li:last-child span {
    width: 200%;
    display: inline-block;
    position: absolute;
    left: -100%;
}

.acore-progress-bar .is-complete:last-child:after,
.acore-progress-bar .is-active:last-child:after {
    width: 200%;
    left: -100%;
}

.acore-progress-bar .is-complete:before {
    background-color: var(--bs-teal);
}

.acore-progress-bar .is-active:before,
.acore-progress-bar li:hover:before,
.acore-progress-bar .is-hovered:before {
    background-color: var(--bs-white);
    border-color: var(--bs-teal);
}
.acore-progress-bar li:hover:before,
.acore-progress-bar .is-hovered:before {
    transform: scale(1.33);
}

.acore-progress-bar li:hover span,
.acore-progress-bar li.is-hovered span {
    opacity: 1;
}

.acore-progress-bar:hover li:not(:hover) span {
    opacity: 0;
}

.x-ray .acore-progress-bar,
.x-ray .acore-progress-bar li {
    border: 1px dashed red;
}

.acore-progress-bar .has-changes {
    opacity: 1 !important;
}
.acore-progress-bar .has-changes:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: calc(50% - 4px);
    bottom: -20px;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%208%208%22%3E%3Cpath%20fill%3D%22%23ed1c24%22%20d%3D%22M4%200l4%208H0z%22%2F%3E%3C%2Fsvg%3E');
}

/* end raf progress view */

/* start mail-return */
#mail-return-items .mail-entry {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 10px;
}

#mail-return-items .mail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#mail-return-items .mail-subject {
    font-weight: 600;
    font-size: 14px;
}

#mail-return-items .mail-recipient {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    background: #f6f7f7;
    border-radius: 4px;
}

#mail-return-items .mail-recipient img {
    display: inline-block;
    vertical-align: middle;
    height: 24px;
    width: 24px;
    transform: translateZ(0);
}

#mail-return-items .mail-recipient .recipient-name {
    font-weight: 500;
}

#mail-return-items .mail-meta {
    color: #646970;
    font-size: 12px;
    margin-top: 6px;
}

#mail-return-items .mail-items {
    margin-top: 8px;
    padding: 6px 10px;
    background: #f6f7f7;
    border-radius: 4px;
    font-size: 13px;
}

#mail-return-items .mail-money {
    margin-top: 6px;
    font-size: 13px;
    color: #646970;
}

#mail-return-items .mail-return-button {
    background: #2271b1;
    color: #fff;
    border: 1px solid #2271b1;
    border-radius: 3px;
    padding: 4px 14px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
}

#mail-return-items .mail-return-button:hover {
    background: #135e96;
    border-color: #135e96;
}

#mail-return-items .mail-return-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* end mail-return */
