/*
 * Blocksy Child — AnimeStores
 * Clean FAQ + header overrides
 */

.animestores-header,
.animestores-header *,
.animestores-header *::before,
.animestores-header *::after,
.animestores-faq,
.animestores-faq *,
.animestores-faq *::before,
.animestores-faq *::after {
    box-sizing: border-box;
}

/* =========================================================
   ANIMESTORES — FAQ
   ========================================================= */

.animestores-faq {
    width: 100%;
    margin: 0;
    padding: 60px 0;
    background: #111111;
    color: #ffffff;
    overflow: hidden;
}

.animestores-faq__inner {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
}

.animestores-faq__heading {
    margin: 0 0 28px;
    text-align: center;
}

.animestores-faq__heading > span {
    display: block;
    margin: 0 0 10px;
    color: #e63946;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
}

.animestores-faq__heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.animestores-faq__list {
    border-top: 1px solid #2a2a2a;
}

.animestores-faq__item {
    margin: 0;
    border-bottom: 1px solid #2a2a2a;
}

.animestores-faq__question {
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    appearance: none;
    box-shadow: none;
}

.animestores-faq__question:hover {
    background: #1a1a1a;
}

.animestores-faq__question:focus-visible {
    outline: 2px solid #e63946;
    outline-offset: -2px;
}

.animestores-faq__question-text {
    min-width: 0;
    flex: 1 1 auto;
}

.animestores-faq__chevron {
    position: relative;
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-right: 3px;
    border-right: 1.5px solid #ffffff;
    border-bottom: 1.5px solid #ffffff;
    transform: rotate(45deg) translateY(-2px);
}

.animestores-faq__question[aria-expanded="true"] .animestores-faq__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.animestores-faq__panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .26s ease, opacity .2s ease;
}

.animestores-faq__panel.is-open {
    max-height: 5000px;
    opacity: 1;
}

.animestores-faq__answer {
    margin: 0;
    padding: 0 16px 16px;
    color: #aaaaaa;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

/* =========================================================
   ANIMESTORES — HEADER
   ========================================================= */

.animestores-header {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.animestores-announcement {
    min-height: 34px;
    padding: 0 16px;
}

.animestores-header-main {
    background: #0b0b0b;
}

.animestores-header-inner {
    width: min(1320px, calc(100% - 48px));
    min-height: 78px;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(360px, 560px) minmax(190px, 1fr);
    gap: 32px;
}

.animestores-category-nav-inner {
    width: min(1320px, calc(100% - 48px));
    min-height: 48px;
}

/* =========================================================
   ANIMESTORES — FRANCHISE IMAGES
   ========================================================= */

.animestores-franchise-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.animestores-franchise-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
}

.animestores-franchise-item:hover .animestores-franchise-image img {
    transform: scale(1.08);
}

/* =========================================================
   RESPONSIVE HEADER
   ========================================================= */

@media (max-width: 1080px) {
    .animestores-header-inner {
        width: calc(100% - 32px);
        grid-template-columns: minmax(150px, 1fr) minmax(300px, 470px) auto;
        gap: 20px;
    }

    .animestores-category-nav-inner {
        width: calc(100% - 32px);
        gap: 20px;
    }
}

@media (max-width: 850px) {
    .animestores-header-inner {
        width: calc(100% - 24px);
        min-height: 0;
        padding: 8px 0 10px;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        grid-template-rows: 42px 44px;
        gap: 8px;
    }

    .animestores-category-nav-inner {
        width: 100%;
        min-height: 48px;
        gap: 8px;
        padding: 4px 12px;
    }

    .animestores-mobile-toggle {
        display: block;
        grid-column: 1;
        grid-row: 1;
    }

    .animestores-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .animestores-header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .animestores-search {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        height: 44px;
        min-width: 0;
        justify-self: stretch;
        padding: 0 12px;
        border: 1px solid rgba(255, 255, 255, .13);
        border-radius: 10px;
        background: #1a1a1a;
    }

    .animestores-search input {
        display: block;
        width: 100%;
        min-width: 0;
        height: 100%;
        font-size: 12px;
    }

    .animestores-search kbd,
    .animestores-mobile-search-panel {
        display: none;
    }
}

@media (max-width: 390px) {
    .animestores-header-inner {
        width: calc(100% - 16px);
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        grid-template-rows: 38px 42px;
        gap: 7px;
        padding-top: 7px;
        padding-bottom: 9px;
    }

    .animestores-mobile-toggle,
    .animestores-header-actions .animestores-cart-link {
        width: 36px;
        height: 36px;
    }

    .animestores-search {
        height: 42px;
    }

    .animestores-search input {
        font-size: 11px;
    }

    .animestores-franchise-item:hover .animestores-franchise-image img {
        transform: none;
    }
}

/* =========================================================
   MOBILE FAQ
   ========================================================= */

@media (max-width: 767px) {
    .animestores-faq {
        padding: 60px 0;
    }

    .animestores-faq__inner {
        width: calc(100% - 32px);
    }

    .animestores-faq__heading {
        margin-bottom: 22px;
    }

    .animestores-faq__heading h2 {
        font-size: 18px;
        letter-spacing: .7px;
    }

    .animestores-faq__question {
        min-height: 58px;
        padding: 14px 12px;
        gap: 16px;
        font-size: 15px;
        line-height: 1.4;
    }

    .animestores-faq__chevron {
        flex-basis: 11px;
        width: 11px;
        height: 11px;
    }

    .animestores-faq__answer {
        padding: 0 12px 15px;
        font-size: 13px;
        line-height: 1.5;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .animestores-faq__panel,
    .animestores-franchise-image img {
        transition: none;
    }

    .animestores-franchise-item:hover .animestores-franchise-image img {
        transform: none;
    }
}


/* =========================================================
   ANIMESTORES — COLOR TOKENS
   Final color correction layer.
   ========================================================= */

:root {
    --as-night-bg: #0b0b0b;
    --as-night-surface: #141414;
    --as-night-surface-2: #171717;
    --as-night-border: rgba(255,255,255,.12);
    --as-night-text: #ffffff;
    --as-night-muted: rgba(255,255,255,.62);

    --as-day-bg: #f5f5f5;
    --as-day-surface: #ffffff;
    --as-day-surface-2: #ededed;
    --as-day-border: rgba(0,0,0,.10);
    --as-day-text: #111111;
    --as-day-muted: rgba(0,0,0,.58);

    --as-accent: #e63946;
    --as-accent-hover: #c92f3b;
}







































/* =========================================================
   ANIMESTORES — PREMIUM UI REFINEMENT
   FAQ + DAY-MODE SEARCH
   Apple-inspired / anime-commerce hybrid
   ========================================================= */


/* =========================================================
   SEARCH — DAY MODE
   Slightly darker than the page so the field has a clear
   tactile surface without looking heavy.
   ========================================================= */

html.animestores-day-mode .animestores-search {
    background: #e9e9e7 !important;
    border-color: #d7d7d4 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.72),
        0 1px 2px rgba(0,0,0,.025) !important;
}

html.animestores-day-mode .animestores-search input {
    background: transparent !important;
    color: #171717 !important;
}

html.animestores-day-mode .animestores-search input::placeholder {
    color: rgba(0,0,0,.46) !important;
}

html.animestores-day-mode .animestores-search svg {
    color: #555555;
}


/* =========================================================
   FAQ — BASE
   ========================================================= */

.animestores-faq {
    width: 100%;
    margin: 0;
    padding: clamp(64px, 7vw, 104px) 0;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(230,57,70,.035),
            transparent 34%
        ),
        var(--as-night-surface, #141414);

    color: var(--as-night-text, #ffffff);

    isolation: isolate;
}


.animestores-faq__inner {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   FAQ — HEADER
   ========================================================= */

.animestores-faq__heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}


.animestores-faq__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin: 0 0 14px;

    color: var(--as-accent, #e63946);

    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}


.animestores-faq__eyebrow-line {
    display: block;
    width: 18px;
    height: 1px;

    background: currentColor;

    opacity: .72;
}


.animestores-faq__heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(24px, 3vw, 34px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -.5px;
}


.animestores-faq__intro {
    max-width: 520px;

    margin: 14px auto 0;

    color: rgba(255,255,255,.55);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* =========================================================
   FAQ — ACCORDION CONTAINER
   ========================================================= */

.animestores-faq__list {
    width: 100%;

    border: 1px solid rgba(255,255,255,.085);
    border-radius: 18px;

    background: rgba(255,255,255,.025);

    box-shadow:
        0 18px 50px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.025);

    overflow: hidden;
}


/* =========================================================
   FAQ — ITEM
   ========================================================= */

.animestores-faq__item {
    margin: 0;

    border-bottom: 1px solid rgba(255,255,255,.075);

    background: transparent;
}


.animestores-faq__item:last-child {
    border-bottom: 0;
}


/* =========================================================
   FAQ — QUESTION
   ========================================================= */

.animestores-faq__question {
    position: relative;

    width: 100%;
    min-height: 72px;

    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;

    gap: 14px;

    margin: 0;
    padding: 18px 22px;

    border: 0;
    border-radius: 0;

    background: transparent;

    color: #ffffff;

    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 620;
    line-height: 1.45;

    cursor: pointer;
    appearance: none;

    box-shadow: none;

    transition:
        background-color .22s ease,
        color .22s ease;
}


.animestores-faq__question:hover {
    background: rgba(255,255,255,.035);
}


.animestores-faq__question:focus-visible {
    outline: 2px solid var(--as-accent, #e63946);
    outline-offset: -2px;
}


/* =========================================================
   FAQ — NUMBER
   ========================================================= */

.animestores-faq__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 8px;

    background: rgba(230,57,70,.09);

    color: var(--as-accent, #e63946);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
}


/* =========================================================
   FAQ — QUESTION TEXT
   ========================================================= */

.animestores-faq__question-text {
    min-width: 0;

    color: inherit;
}


/* =========================================================
   FAQ — CHEVRON
   ========================================================= */

.animestores-faq__chevron {
    position: relative;

    width: 11px;
    height: 11px;

    margin-left: auto;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    color: rgba(255,255,255,.72);

    transform: rotate(45deg) translateY(-2px);

    transition:
        transform .24s ease,
        color .24s ease;
}


.animestores-faq__question[aria-expanded="true"] {
    background: rgba(230,57,70,.045);
}


.animestores-faq__question[aria-expanded="true"] .animestores-faq__chevron {
    color: var(--as-accent, #e63946);

    transform:
        rotate(225deg)
        translate(-2px, -2px);
}


/* =========================================================
   FAQ — ANSWER PANEL
   ========================================================= */

.animestores-faq__panel {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    visibility: hidden;

    transition:
        max-height .30s cubic-bezier(.22,.61,.36,1),
        opacity .20s ease,
        visibility 0s linear .30s;
}


/*
 * Important:
 * The first answer is visible even if JavaScript is delayed,
 * deferred or unavailable.
 */
.animestores-faq__panel.is-open {
    max-height: 1200px;

    opacity: 1;

    visibility: visible;

    transition:
        max-height .30s cubic-bezier(.22,.61,.36,1),
        opacity .20s ease,
        visibility 0s linear 0s;
}


/*
 * Respect the native hidden attribute.
 */
.animestores-faq__panel[hidden] {
    display: none;
}


.animestores-faq__answer {
    margin: 0;

    padding:
        0
        58px
        24px
        70px;

    color: rgba(255,255,255,.58);

    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.72;
}


/* =========================================================
   FAQ — DAY MODE
   ========================================================= */

html.animestores-day-mode .animestores-faq {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(230,57,70,.035),
            transparent 34%
        ),
        #f5f5f3;

    color: #111111;
}


html.animestores-day-mode .animestores-faq__heading h2 {
    color: #111111 !important;
}


html.animestores-day-mode .animestores-faq__intro {
    color: rgba(0,0,0,.53);
}


html.animestores-day-mode .animestores-faq__list {
    border-color: rgba(0,0,0,.085);

    background: rgba(255,255,255,.62);

    box-shadow:
        0 16px 42px rgba(0,0,0,.055),
        inset 0 1px 0 rgba(255,255,255,.85);
}


html.animestores-day-mode .animestores-faq__item {
    border-color: rgba(0,0,0,.075);
}


html.animestores-day-mode .animestores-faq__question {
    color: #151515;
}


html.animestores-day-mode .animestores-faq__question:hover {
    background: rgba(0,0,0,.025);
}


html.animestores-day-mode .animestores-faq__question[aria-expanded="true"] {
    background: rgba(230,57,70,.035);
}


html.animestores-day-mode .animestores-faq__number {
    background: rgba(230,57,70,.075);
}


html.animestores-day-mode .animestores-faq__chevron {
    color: rgba(0,0,0,.55);
}


html.animestores-day-mode
.animestores-faq__question[aria-expanded="true"]
.animestores-faq__chevron {
    color: var(--as-accent, #e63946);
}


html.animestores-day-mode .animestores-faq__answer {
    color: rgba(0,0,0,.58);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .animestores-faq {
        padding: 64px 0;
    }

    .animestores-faq__inner {
        width: min(820px, calc(100% - 48px));
    }

    .animestores-faq__heading {
        margin-bottom: 34px;
    }

    .animestores-faq__question {
        min-height: 68px;

        padding:
            17px
            20px;

        grid-template-columns:
            32px
            minmax(0, 1fr)
            17px;

        gap: 13px;
    }

    .animestores-faq__answer {
        padding:
            0
            52px
            22px
            65px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .animestores-faq {
        padding: 54px 0;
    }

    .animestores-faq__inner {
        width: calc(100% - 28px);
    }

    .animestores-faq__heading {
        margin-bottom: 26px;
    }

    .animestores-faq__eyebrow {
        margin-bottom: 12px;

        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .animestores-faq__heading h2 {
        font-size: 23px;
        letter-spacing: -.35px;
    }

    .animestores-faq__intro {
        margin-top: 11px;

        font-size: 12.5px;
        line-height: 1.55;
    }

    .animestores-faq__list {
        border-radius: 15px;
    }

    .animestores-faq__question {
        min-height: 64px;

        grid-template-columns:
            27px
            minmax(0, 1fr)
            14px;

        gap: 11px;

        padding:
            16px
            15px;

        font-size: 13.5px;
        line-height: 1.42;
    }

    .animestores-faq__number {
        width: 25px;
        height: 25px;

        border-radius: 7px;

        font-size: 8px;
    }

    .animestores-faq__chevron {
        width: 9px;
        height: 9px;
    }

    .animestores-faq__answer {
        padding:
            0
            17px
            19px
            53px;

        font-size: 12.5px;
        line-height: 1.62;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

    .animestores-faq {
        padding: 48px 0;
    }

    .animestores-faq__inner {
        width: calc(100% - 20px);
    }

    .animestores-faq__heading h2 {
        font-size: 21px;
    }

    .animestores-faq__question {
        grid-template-columns:
            24px
            minmax(0, 1fr)
            12px;

        gap: 9px;

        padding:
            15px
            12px;

        font-size: 12.5px;
    }

    .animestores-faq__number {
        width: 23px;
        height: 23px;
    }

    .animestores-faq__answer {
        padding:
            0
            14px
            18px
            45px;

        font-size: 12px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .animestores-faq__question,
    .animestores-faq__chevron,
    .animestores-faq__panel {
        transition: none !important;
    }

}


/* =========================================================
   99STORES.IN — LIVE SEARCH + PRODUCT SHARE ADDITIONS
   Appended to preserve all existing production CSS above.
   ========================================================= */
/* The suggestions panel is positioned inside each existing search form. */
.animestores-search,
.animestores-mobile-search-panel form {
    position: relative;
}
.animestores-live-search-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100100;
    display: none;
    max-height: min(420px, 65vh);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: #171717;
    color: #f7f7f7;
    box-shadow: 0 18px 48px rgba(0,0,0,.38);
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.animestores-live-search-panel.is-open { display: block; }
.animestores-live-search-panel * { box-sizing: border-box; }
.animestores-live-search-panel a { max-width: 100%; }
.animestores-live-search-heading {
    padding: 9px 9px 6px;
    color: #aaa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.animestores-live-search-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 60px;
    padding: 8px;
    border-radius: 9px;
    color: inherit !important;
    text-decoration: none !important;
}
.animestores-live-search-item:hover,
.animestores-live-search-item:focus-visible { background: rgba(255,255,255,.09); outline: none; }
.animestores-live-search-item img {
    display: block;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 7px;
    background: rgba(255,255,255,.06);
}
.animestores-live-search-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.animestores-live-search-copy strong { overflow: hidden; color: inherit; font-size: 12px; font-weight: 650; line-height: 1.35; text-overflow: ellipsis; }
.animestores-live-search-copy small { color: #ff7373; font-size: 11px; line-height: 1.3; }
.animestores-live-search-empty,
.animestores-live-search-loading { padding: 18px 12px; color: #c4c4c4; font-size: 12px; }
html.animestores-day-mode .animestores-live-search-panel {
    border-color: rgba(0,0,0,.12);
    background: #fff;
    color: #171717;
    box-shadow: 0 18px 48px rgba(0,0,0,.16);
}
html.animestores-day-mode .animestores-live-search-heading { color: #6b6b6b; }
html.animestores-day-mode .animestores-live-search-item:hover,
html.animestores-day-mode .animestores-live-search-item:focus-visible { background: #f3f3f3; }
html.animestores-day-mode .animestores-live-search-empty,
html.animestores-day-mode .animestores-live-search-loading { color: #555; }
.animestores-mobile-search-panel .animestores-live-search-panel { top: calc(100% + 8px); }

/* =========================================================
   99STORES.IN — PRODUCT SHARE BUTTON
   ========================================================= */
.animestores-product-share-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.animestores-product-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(160,0,0,.35);
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.animestores-product-share:hover { background: rgba(160,0,0,.08); border-color: #a00000; }
.animestores-product-share:active { transform: scale(.985); }
.animestores-product-share:focus-visible { outline: 2px solid #a00000; outline-offset: 3px; }
.animestores-product-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.animestores-product-share-status { font-size: 12px; line-height: 1.4; color: #a00000; }
@media (max-width: 600px) {
    .animestores-live-search-panel { max-height: 62vh; }
    .animestores-product-share { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .animestores-product-share { transition: none; }
}
