:root {
    --neko-navy: #061b3a;
    --neko-navy-2: #082b5c;
    --neko-blue: #006dff;
    --neko-blue-2: #0057d8;
    --neko-cyan: #00c8f8;
    --neko-sky: #eaf6ff;
    --bg-app: #f7faff;
    --bg-card: #ffffff;
    --text-main: #0f1b33;
    --text-muted: #6b7890;
    --text-soft: #94a3b8;
    --success: #13b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-soft: #e6eef8;
    --shadow-card: 0 12px 30px rgba(15, 35, 70, 0.06);
    --shadow-hover: 0 18px 40px rgba(0, 109, 255, 0.12);
}

* {
    box-sizing: border-box;
}

body.neko-store {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(0, 200, 248, 0.14), transparent 30rem),
        linear-gradient(180deg, #ffffff 0%, var(--bg-app) 46%, #ffffff 100%);
    color: var(--text-main);
    font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.neko-store a {
    color: inherit;
    text-decoration: none;
}

.neko-store-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(260px, 520px) auto;
    gap: 24px;
    align-items: center;
    padding: 18px clamp(20px, 4vw, 56px);
    border-bottom: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
}

.neko-store-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.neko-store-brand img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
}

.neko-store-search {
    position: relative;
}

.neko-store-search input {
    width: 100%;
    height: 48px;
    padding: 0 18px 0 46px;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: #ffffff;
    color: var(--text-main);
    font: inherit;
    box-shadow: 0 8px 24px rgba(15, 35, 70, 0.04);
    outline: none;
}

.neko-store-search::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 15px;
    height: 15px;
    border: 2px solid #8aa0bc;
    border-radius: 50%;
    transform: translateY(-50%);
}

.neko-store-search::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 29px;
    width: 7px;
    height: 2px;
    border-radius: 999px;
    background: #8aa0bc;
    transform: rotate(45deg);
}

.neko-store-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.neko-store-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.neko-store-nav a:hover,
.neko-store-nav a:last-child {
    border-color: rgba(0, 109, 255, 0.16);
    background: var(--neko-sky);
    color: var(--neko-blue);
}

.neko-store-main {
    width: min(1260px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 64px;
}

.neko-store-hero {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    margin-bottom: 28px;
    padding: clamp(34px, 6vw, 68px);
    border: 1px solid rgba(0, 109, 255, 0.14);
    border-radius: 32px;
    background:
        radial-gradient(circle at 80% 28%, rgba(0, 200, 248, 0.28), transparent 18rem),
        linear-gradient(135deg, #061b3a 0%, #082b5c 54%, #006dff 100%);
    box-shadow: 0 24px 70px rgba(6, 27, 58, 0.18);
    color: #ffffff;
}

.neko-store-hero::after {
    content: "";
    position: absolute;
    right: -64px;
    bottom: -92px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 44px rgba(255, 255, 255, 0.08);
}

.neko-store-hero > div {
    position: relative;
    z-index: 1;
    max-width: 660px;
}

.neko-store-hero p {
    margin: 0 0 14px;
    color: #9deaff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.neko-store-hero h1 {
    margin: 0;
    max-width: 620px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
}

.neko-store-hero span {
    display: block;
    max-width: 520px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.7;
}

.neko-store-section,
.neko-store-product,
.neko-store-empty {
    margin-top: 24px;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.neko-store-section {
    padding: 22px;
}

.neko-store-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
}

.neko-store-section__head h1,
.neko-store-section__head h2 {
    margin: 0;
    color: var(--text-main);
}

.neko-store-section__head p,
.neko-store-section__head span {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.neko-store-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.neko-store-categories a,
.neko-store-categories span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #d8e7fb;
    border-radius: 999px;
    background: #f8fbff;
    color: #274569;
    font-size: 14px;
    font-weight: 700;
}

.neko-store-categories a:hover {
    border-color: rgba(0, 109, 255, 0.32);
    background: var(--neko-sky);
    color: var(--neko-blue);
}

.neko-store-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.neko-store-card {
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 35, 70, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.neko-store-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 109, 255, 0.22);
    box-shadow: var(--shadow-hover);
}

.neko-store-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 0.82;
    background:
        radial-gradient(circle at 50% 20%, rgba(0, 200, 248, 0.14), transparent 9rem),
        #f4f8ff;
}

.neko-store-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neko-store-card__media span,
.neko-store-placeholder {
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--neko-blue), var(--neko-cyan));
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.neko-store-card__body {
    padding: 16px;
}

.neko-store-card__body > span {
    color: var(--neko-blue);
    font-size: 12px;
    font-weight: 800;
}

.neko-store-card h3 {
    min-height: 44px;
    margin: 7px 0 12px;
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.35;
}

.neko-store-card strong,
.neko-store-price {
    color: var(--text-main);
    font-size: 24px;
    font-weight: 800;
}

.neko-store-card small {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #047857;
    font-size: 12px;
    font-weight: 800;
}

.neko-store-card__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    margin-top: 14px;
}

.neko-store-button,
.neko-store-card button,
.neko-store-empty a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #008bff 0%, var(--neko-blue) 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(0, 109, 255, 0.22);
    cursor: pointer;
}

.neko-store-card button:disabled,
.neko-store-button:disabled {
    border: 1px solid #dce8f7;
    background: #f8fbff;
    color: var(--text-soft);
    box-shadow: none;
    cursor: not-allowed;
}

.neko-store-product {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    gap: 32px;
    padding: clamp(22px, 4vw, 38px);
}

.neko-store-product__media {
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 460px;
    border-radius: 24px;
    background: #f4f8ff;
}

.neko-store-product__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neko-store-product__info h1 {
    margin: 14px 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.neko-store-product__info p {
    color: #465a73;
    line-height: 1.75;
}

.neko-store-back {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--neko-blue);
    font-weight: 800;
}

.neko-store-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.neko-store-specs div {
    padding: 14px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: #f8fbff;
}

.neko-store-specs dt {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
}

.neko-store-specs dd {
    margin: 6px 0 0;
    color: var(--text-main);
    font-weight: 800;
}

.neko-store-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-height: 320px;
    padding: 52px 24px;
    text-align: center;
}

.neko-store-empty h1 {
    margin: 0;
    font-size: 36px;
}

.neko-store-empty p {
    margin: 0;
    color: var(--text-muted);
}

@media (max-width: 1100px) {
    .neko-store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .neko-store-product {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .neko-store-header {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .neko-store-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .neko-store-main {
        width: min(100% - 24px, 1260px);
        padding-top: 18px;
    }

    .neko-store-hero {
        min-height: 280px;
        border-radius: 24px;
    }

    .neko-store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .neko-store-section__head,
    .neko-store-card__actions,
    .neko-store-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .neko-store-grid {
        grid-template-columns: 1fr;
    }

    .neko-store-hero h1 {
        font-size: 34px;
    }
}
