:root {
    --jp-ink: #171512;
    --jp-ink-soft: #2b2823;
    --jp-paper: #f2eee5;
    --jp-paper-deep: #e7dfd1;
    --jp-white: #fffdf8;
    --jp-red: #a42d25;
    --jp-red-dark: #742019;
    --jp-gold: #aa8b52;
    --jp-muted: #746d62;
    --jp-line: rgba(23, 21, 18, .14);
    --primary: #a42d25;
    --primary-2: #742019;
    --accent: #aa8b52;
    --accent-2: #e7dfd1;
    --danger: #a42d25;
}

body,
body h1, body h2, body h3, body h4, body h5, body h6,
body p, body a, body button, body input, body textarea, body select,
body label, body li, body span, body strong, body small,
body table, body th, body td, body summary {
    font-family: "YekanBakh", Tahoma, Arial, sans-serif !important;
}

body {
    color: var(--jp-ink);
    background: var(--jp-paper);
}

.jp-page {
    min-height: 70vh;
    overflow: hidden;
    background:
        linear-gradient(rgba(23, 21, 18, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 21, 18, .022) 1px, transparent 1px),
        var(--jp-paper);
    background-size: 48px 48px;
}

.jp-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.jp-page-hero {
    position: relative;
    padding: clamp(76px, 9vw, 126px) 0;
    color: var(--jp-white);
    background:
        radial-gradient(circle at 14% 22%, rgba(164, 45, 37, .34), transparent 24%),
        linear-gradient(125deg, #11100e 0%, #28241e 64%, #171512 100%);
}

.jp-page-hero::after {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 253, 248, .08);
    content: "";
    pointer-events: none;
}

.jp-page-hero--compact {
    padding: 72px 0 78px;
}

.jp-page-hero--journal {
    text-align: center;
}

.jp-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 80px;
    align-items: center;
}

.jp-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #d7bd89;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}

.jp-page-hero h1,
.jp-article-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--jp-white);
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.045em;
}

.jp-page-hero h1 em {
    color: #ddc28d;
    font-style: normal;
}

.jp-page-hero p {
    max-width: 670px;
    margin: 24px 0 32px;
    color: rgba(255, 253, 248, .72);
    font-size: 16px;
    line-height: 2.1;
}

.jp-page-hero--journal p,
.jp-page-hero--compact p {
    margin-inline: auto;
}

.jp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 25px;
    border: 1px solid var(--jp-red);
    color: #fff !important;
    background: var(--jp-red);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: .2s ease;
}

.jp-button:hover {
    border-color: var(--jp-red-dark);
    background: var(--jp-red-dark);
    transform: translateY(-2px);
}

.jp-button--light {
    border-color: #ddc28d;
    color: var(--jp-ink) !important;
    background: #ddc28d;
}

.jp-enso-card,
.jp-contact-stamp {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    justify-self: end;
    width: min(330px, 100%);
    border: 1px solid rgba(221, 194, 141, .35);
    border-radius: 50%;
    text-align: center;
}

.jp-enso-card span,
.jp-contact-stamp > span {
    display: block;
    color: #ddc28d;
    font-family: serif !important;
    font-size: clamp(72px, 11vw, 130px);
    line-height: 1;
}

.jp-enso-card small,
.jp-contact-stamp small {
    display: block;
    margin-top: -80px;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    letter-spacing: .18em;
}

.jp-story-block,
.jp-contact-layout,
.jp-faq-layout,
.jp-shop-layout,
.jp-journal-layout,
.jp-article-layout {
    padding-block: clamp(64px, 8vw, 110px);
}

.jp-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 38px;
    border-bottom: 1px solid var(--jp-line);
    padding-bottom: 18px;
}

.jp-section-heading span {
    color: var(--jp-red);
    font-size: 11px;
    letter-spacing: .13em;
}

.jp-section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
}

.jp-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--jp-line);
    background: rgba(255,253,248,.55);
}

.jp-story-grid article {
    min-height: 285px;
    padding: 36px;
    border-left: 1px solid var(--jp-line);
}

.jp-story-grid article:last-child { border-left: 0; }
.jp-story-grid b { color: var(--jp-red); font-size: 11px; }
.jp-story-grid h3 { margin: 50px 0 12px; font-size: 22px; }
.jp-story-grid p { margin: 0; color: var(--jp-muted); line-height: 2; }

.jp-manifesto {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
    padding: 58px;
    color: var(--jp-white);
    background: var(--jp-ink);
}

.jp-manifesto__mark {
    color: var(--jp-red);
    font-family: serif !important;
    font-size: 140px;
    text-align: center;
}

.jp-manifesto h2 { margin: 0 0 14px; color: #fff; font-size: clamp(28px, 4vw, 48px); }
.jp-manifesto p { max-width: 740px; margin: 0; color: rgba(255,255,255,.65); line-height: 2.1; }

.jp-about-cta {
    margin-bottom: 100px;
    padding: 50px;
    border: 1px solid var(--jp-line);
    text-align: center;
    background: var(--jp-white);
}
.jp-about-cta span { color: var(--jp-red); font-size: 12px; }
.jp-about-cta h2 { margin: 10px 0 24px; font-size: clamp(24px, 3.4vw, 40px); }

.jp-journal-search {
    display: flex;
    width: min(540px, 100%);
    margin: 30px auto 0;
    border-bottom: 1px solid rgba(255,255,255,.35);
}
.jp-journal-search input {
    flex: 1;
    padding: 14px 2px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}
.jp-journal-search button { width: 48px; border: 0; color: #ddc28d; background: transparent; }

.jp-journal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 38px;
    align-items: start;
}

.jp-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.jp-filter-row a,
.jp-shop-sidebar > a {
    padding: 8px 14px;
    border: 1px solid var(--jp-line);
    color: var(--jp-muted);
    background: rgba(255,255,255,.45);
    text-decoration: none;
}
.jp-filter-row a.is-active,
.jp-filter-row a:hover,
.jp-shop-sidebar > a.is-active,
.jp-shop-sidebar > a:hover {
    color: #fff;
    border-color: var(--jp-red);
    background: var(--jp-red);
}

.jp-article-grid { display: grid; gap: 22px; }
.jp-article-card {
    display: grid;
    grid-template-columns: 255px 1fr;
    min-height: 230px;
    border: 1px solid var(--jp-line);
    background: var(--jp-white);
}
.jp-article-card__image { display: grid; place-items: center; overflow: hidden; background: #d8cfbf; }
.jp-article-card__image img { width: 100%; height: 100%; object-fit: cover; }
.jp-article-card__image > span { color: rgba(23,21,18,.28); font-family: serif !important; font-size: 72px; }
.jp-article-card__body { padding: 28px; }
.jp-article-meta { display: flex; gap: 14px; color: var(--jp-muted); font-size: 11px; }
.jp-article-meta span { color: var(--jp-red); }
.jp-article-card h2 { margin: 15px 0 10px; font-size: 22px; line-height: 1.6; }
.jp-article-card h2 a { color: var(--jp-ink); text-decoration: none; }
.jp-article-card p { margin: 0 0 15px; color: var(--jp-muted); line-height: 1.9; }
.jp-text-link { color: var(--jp-red) !important; font-size: 12px; font-weight: 800; text-decoration: none; }
.jp-text-link--light { color: #ddc28d !important; }

.jp-journal-aside {
    position: sticky;
    top: 100px;
    padding: 34px;
    color: #fff;
    background: var(--jp-ink);
}
.jp-journal-aside h3 { margin: 2px 0 14px; color: #fff; font-size: 24px; line-height: 1.7; }
.jp-journal-aside p { color: rgba(255,255,255,.6); line-height: 2; }

.jp-empty-state {
    grid-column: 1 / -1;
    padding: 70px 30px;
    border: 1px solid var(--jp-line);
    text-align: center;
    background: var(--jp-white);
}
.jp-empty-state > span { color: var(--jp-gold); font-family: serif !important; font-size: 68px; }
.jp-empty-state h2 { margin: 12px 0 8px; }
.jp-empty-state p { color: var(--jp-muted); }

.jp-article-hero {
    padding: 80px 0;
    color: #fff;
    background: var(--jp-ink);
}
.jp-article-hero__inner { max-width: 900px; }
.jp-article-hero h1 { margin-top: 18px; font-size: clamp(36px, 5.8vw, 68px); }
.jp-article-hero p { color: rgba(255,255,255,.68); font-size: 17px; line-height: 2; }
.jp-back-link { color: #ddc28d !important; text-decoration: none; }
.jp-article-byline { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; color: rgba(255,255,255,.55); font-size: 12px; }
.jp-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 55px; align-items: start; }
.jp-article-content { padding: 42px; background: var(--jp-white); border: 1px solid var(--jp-line); }
.jp-article-cover { width: 100%; max-height: 520px; margin-bottom: 35px; object-fit: cover; }
.jp-richtext { font-size: 16px; line-height: 2.2; }
.jp-richtext h2, .jp-richtext h3 { margin: 35px 0 12px; }
.jp-richtext img { max-width: 100%; height: auto; }
.jp-article-side { position: sticky; top: 100px; display: grid; gap: 15px; padding-right: 24px; border-right: 2px solid var(--jp-red); }
.jp-article-side > span { color: var(--jp-red); font-size: 10px; }
.jp-article-side h3 { margin: 0; }
.jp-article-side a:not(.jp-text-link) { color: var(--jp-muted); line-height: 1.7; text-decoration: none; }

.jp-faq-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 75px;
    align-items: start;
}
.jp-faq-intro { position: sticky; top: 110px; }
.jp-section-number { color: var(--jp-red); font-family: serif !important; font-size: 54px; }
.jp-faq-intro h2 { margin: 8px 0; font-size: 28px; }
.jp-faq-intro p { color: var(--jp-muted); line-height: 2; }
.jp-accordion { border-top: 1px solid var(--jp-line); }
.jp-accordion details { border-bottom: 1px solid var(--jp-line); }
.jp-accordion summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 2px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    list-style: none;
}
.jp-accordion summary::-webkit-details-marker { display: none; }
.jp-accordion summary span { color: var(--jp-red); font-size: 24px; }
.jp-accordion details[open] summary span { transform: rotate(45deg); }
.jp-accordion details > div { padding: 0 0 25px; color: var(--jp-muted); line-height: 2.1; }

.jp-contact-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 75px;
    align-items: start;
}
.jp-contact-info h2 { margin: 0 0 25px; font-size: 30px; }
.jp-contact-info ul { margin: 0; padding: 0; border-top: 1px solid var(--jp-line); list-style: none; }
.jp-contact-info li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--jp-line); }
.jp-contact-info small { color: var(--jp-red); }
.jp-contact-info a, .jp-contact-info strong { color: var(--jp-ink); text-decoration: none; }
.jp-contact-form { padding: 38px; border: 1px solid var(--jp-line); background: var(--jp-white); }
.jp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.jp-contact-form label { display: grid; gap: 8px; margin-bottom: 22px; color: var(--jp-muted); font-size: 12px; }
.jp-contact-form input, .jp-contact-form select, .jp-contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(23,21,18,.24);
    border-radius: 0;
    outline: 0;
    color: var(--jp-ink);
    background: transparent;
}
.jp-contact-form input, .jp-contact-form select { min-height: 46px; }
.jp-contact-form textarea { padding: 12px 0; resize: vertical; }
.jp-contact-form input:focus, .jp-contact-form select:focus, .jp-contact-form textarea:focus { border-color: var(--jp-red); }
.jp-honeypot {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.jp-form-alert { margin-bottom: 18px; padding: 12px; color: var(--jp-red-dark); background: rgba(164,45,37,.08); }

.jp-shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 45px; align-items: start; }
.jp-shop-sidebar { display: grid; gap: 7px; position: sticky; top: 100px; }
.jp-shop-sidebar__head { display: flex; justify-content: space-between; margin-bottom: 12px; padding-bottom: 15px; border-bottom: 2px solid var(--jp-ink); }
.jp-shop-sidebar__head b { color: var(--jp-red); font-family: serif !important; }
.jp-shop-note { margin-top: 25px; padding: 22px; color: rgba(255,255,255,.68); background: var(--jp-ink); }
.jp-shop-note span { display: block; color: #ddc28d; font-family: serif !important; font-size: 42px; }
.jp-shop-note p { margin: 5px 0 0; line-height: 1.9; }
.jp-shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--jp-line); }
.jp-shop-toolbar b { color: var(--jp-red); font-size: 20px; }
.jp-shop-toolbar form { display: flex; border-bottom: 1px solid var(--jp-ink); }
.jp-shop-toolbar input { width: 210px; padding: 9px 0; border: 0; outline: 0; background: transparent; }
.jp-shop-toolbar button { border: 0; background: transparent; }
.jp-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

.jp-auth { padding: clamp(42px, 7vw, 90px) 0; }
.jp-auth-layout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    min-height: 650px;
    border: 1px solid var(--jp-line);
    background: var(--jp-white);
}
.jp-auth-story {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 6vw, 75px);
    color: #fff;
    background:
        radial-gradient(circle at 20% 15%, rgba(164,45,37,.42), transparent 30%),
        var(--jp-ink);
}
.jp-auth-story h1 { margin: 10px 0 20px; color: #fff; font-size: clamp(36px, 5vw, 62px); line-height: 1.45; }
.jp-auth-story h1 em { color: #ddc28d; font-style: normal; }
.jp-auth-story p { max-width: 470px; color: rgba(255,255,255,.64); line-height: 2.1; }
.jp-auth-mark {
    position: absolute;
    left: 35px;
    bottom: -30px;
    color: rgba(221,194,141,.16);
    font-family: serif !important;
    font-size: 220px;
    line-height: 1;
}
.jp-auth-panel { align-self: center; width: min(480px, calc(100% - 50px)); margin: auto; padding-block: 50px; }
.jp-auth-panel h2 { margin: 0 0 30px; font-size: 34px; }
.jp-auth-panel form > label, .jp-auth-panel .jp-form-grid label { display: grid; gap: 7px; margin-bottom: 20px; color: var(--jp-muted); font-size: 12px; }
.jp-auth-panel input {
    min-height: 48px;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(23,21,18,.25);
    border-radius: 0;
    outline: 0;
    background: transparent;
}
.jp-auth-options { display: flex; justify-content: space-between; gap: 15px; margin: 8px 0 25px; font-size: 12px; }
.jp-auth-options a, .jp-auth-switch a { color: var(--jp-red); }
.jp-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 7px !important; margin: 0 !important; }
.jp-check input { min-height: auto; width: auto; }
.jp-auth-panel .jp-button { width: 100%; }
.jp-auth-switch { margin: 25px 0 0; color: var(--jp-muted); text-align: center; font-size: 13px; }

/* یکدست‌سازی صفحات قدیمی فروشگاه که هنوز از کلاس‌های نسخه کتاب استفاده می‌کنند */
.site-page:not(.site-page--home) .breadcrumb-section,
.site-page:not(.site-page--home) .breadcrumbs_area {
    padding: 18px 0 !important;
    color: var(--jp-muted) !important;
    background: var(--jp-paper-deep) !important;
    border: 0 !important;
}
.site-page:not(.site-page--home) .breadcrumb-section a,
.site-page:not(.site-page--home) .breadcrumbs_area a { color: var(--jp-red) !important; }
.site-page:not(.site-page--home) .hero-card,
.site-page:not(.site-page--home) .auth-hero,
.site-page:not(.site-page--home) .search-hero,
.site-page:not(.site-page--home) .cart-hero .hero-card {
    color: #fff !important;
    background: var(--jp-ink) !important;
    box-shadow: none !important;
}
.site-page:not(.site-page--home) .hero-card h1,
.site-page:not(.site-page--home) .auth-hero h1,
.site-page:not(.site-page--home) .search-hero h1 { color: #fff !important; }
.site-page:not(.site-page--home) .hero-kicker,
.site-page:not(.site-page--home) .eyebrow { color: #ddc28d !important; }
.site-page:not(.site-page--home) button:not(.menu-toggle):not(.add-cart),
.site-page:not(.site-page--home) .checkout-btn,
.site-page:not(.site-page--home) .primary-btn {
    border-color: var(--jp-red) !important;
    color: #fff !important;
    background: var(--jp-red) !important;
}
.site-page:not(.site-page--home) .active,
.site-page:not(.site-page--home) .step.active {
    border-color: var(--jp-red) !important;
}
.site-page:not(.site-page--home) main { background-color: var(--jp-paper); }
.site-page:not(.site-page--home) input:focus,
.site-page:not(.site-page--home) textarea:focus,
.site-page:not(.site-page--home) select:focus { border-color: var(--jp-red) !important; box-shadow: none !important; }

/* هدر و منوی اصلی؛ حذف کامل باقی‌مانده‌های آبی قالب قبلی */
.site-header .submenu-toggle {
    color: var(--jp-red) !important;
    background: rgba(164, 45, 37, .08) !important;
}
.site-header .nav-menu li:hover > a .submenu-toggle {
    color: #fff !important;
    background: var(--jp-red) !important;
}
.site-header .site-search button,
.site-header .menu-toggle {
    border-radius: 0 !important;
    color: #fff !important;
    background: var(--jp-red) !important;
    box-shadow: none !important;
}
.site-header .icon-action,
.site-header .nav-menu a {
    color: var(--jp-ink) !important;
}

/* صفحه سبد خرید */
.site-page--cart {
    direction: rtl;
}
.site-page--cart .breadcrumb {
    justify-content: flex-start;
    text-align: right;
}
.site-page--cart .cart-hero .hero-card {
    grid-template-columns: minmax(0, 1fr) 360px;
    border: 1px solid rgba(170, 139, 82, .24) !important;
    border-radius: 3px !important;
    background:
        radial-gradient(circle at 12% 20%, rgba(164,45,37,.25), transparent 25%),
        var(--jp-ink) !important;
    box-shadow: none !important;
}
.site-page--cart .cart-hero .hero-card::after {
    content: "買";
    color: rgba(221,194,141,.08);
    font-family: serif !important;
}
.site-page--cart .checkout-steps .step {
    border-radius: 2px !important;
    text-align: right;
}
.site-page--cart .checkout-steps .step.active {
    color: var(--jp-ink) !important;
    border-color: #ddc28d !important;
    background: #ddc28d !important;
}
.site-page--cart .checkout-steps .step.active span {
    color: #fff !important;
    background: var(--jp-red) !important;
}
.site-page--cart .cart-panel,
.site-page--cart .summary-panel,
.site-page--cart .suggest-panel {
    border: 1px solid var(--jp-line) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    background: var(--jp-white) !important;
}
.site-page--cart .cart-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    direction: rtl;
}
.site-page--cart .cart-panel,
.site-page--cart .summary-panel,
.site-page--cart .panel-head,
.site-page--cart .summary-row,
.site-page--cart .total-row {
    direction: rtl;
    text-align: right;
}
.site-page--cart .cart-panel-kicker,
.site-page--cart .summary-title .icon,
.site-page--cart .empty-cart .icon {
    color: var(--jp-red) !important;
}
.site-page--cart .cart-panel::before,
.site-page--cart .summary-panel::before,
.site-page--cart .pro-summary-panel::before {
    background: linear-gradient(90deg, var(--jp-red), var(--jp-gold)) !important;
}
.site-page--cart .empty-cart {
    border-radius: 2px !important;
    background: rgba(242,238,229,.45) !important;
}
.site-page--cart .empty-cart .continue-btn,
.site-page--cart .continue-btn,
.site-page--cart .checkout-btn,
.site-page--cart .update-cart-btn,
.site-page--cart .coupon button {
    border-radius: 2px !important;
    color: #fff !important;
    background: var(--jp-red) !important;
    box-shadow: none !important;
}
.site-page--cart .checkout-btn:disabled {
    color: rgba(255,255,255,.75) !important;
    background: #837c72 !important;
}
.site-page--cart .cart-trust-box span,
.site-page--cart .secure-note {
    border-color: var(--jp-line) !important;
    color: var(--jp-muted) !important;
    background: var(--jp-paper) !important;
}

.jp-founder-card {
    position: relative;
    justify-self: end;
    width: min(380px, 100%);
    margin: 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(221,194,141,.35);
    background: rgba(255,255,255,.04);
}
.jp-founder-card::before {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 2;
    width: 66px;
    aspect-ratio: 1;
    content: "";
    border-radius: 50%;
    background: rgba(255,255,255,.88) url("../image_asset/brand/kaimono-logo.png") center/86% no-repeat;
}
.jp-founder-card > img {
    width: 100%;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    filter: saturate(.82) contrast(1.04);
}
.jp-founder-card figcaption {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 4px 3px;
    color: rgba(255,255,255,.84);
    font-size: 13px;
}
.jp-founder-card figcaption span:last-child {
    color: #ddc28d;
    direction: ltr;
    font: 600 10px/1.2 Arial, sans-serif;
    letter-spacing: .14em;
}

.site-page :is(
    .product-media,
    .book-cover,
    .search-product-image,
    .related-product-image,
    .main-image,
    .thumb,
    .book-audio-visual,
    .pro-cart-image
) {
    position: relative;
}
.site-page :is(
    .product-media,
    .book-cover,
    .search-product-image,
    .related-product-image,
    .main-image,
    .thumb,
    .book-audio-visual,
    .pro-cart-image
)::before {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 8px;
    left: 8px;
    z-index: 4;
    width: clamp(28px, 9%, 50px);
    aspect-ratio: 1;
    content: "";
    background: url("../image_asset/brand/product-watermark.png") center/contain no-repeat;
    opacity: .62;
    pointer-events: none;
}
.site-page .main-image::before {
    top: auto;
    right: auto;
    bottom: 12px;
    left: 12px;
    width: clamp(42px, 9%, 66px);
}
.site-page :is(.thumb, .book-audio-visual, .pro-cart-image)::before {
    top: auto;
    right: auto;
    bottom: 5px;
    left: 5px;
    width: clamp(22px, 15%, 36px);
}

.site-page::before {
    content: "";
    position: fixed;
    inset: 120px auto 20px 0;
    width: clamp(80px, 8vw, 150px);
    background: url("../image_asset/brand/eienheiwa-kanji.png") center/cover no-repeat;
    opacity: .035;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}
.site-page > * { position: relative; z-index: 1; }

.product-telegram-contact {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    margin-top: 12px; padding: 12px 16px; border: 1px solid #229ed9;
    border-radius: 12px; color: #147cac; font-weight: 800; text-decoration: none;
}
.product-telegram-contact small { margin-right: auto; direction: ltr; }

@media (max-width: 980px) {
    .jp-page-hero__grid, .jp-journal-layout, .jp-article-layout,
    .jp-faq-layout, .jp-contact-layout, .jp-shop-layout, .jp-auth-layout { grid-template-columns: 1fr; }
    .jp-enso-card, .jp-contact-stamp { justify-self: center; width: 240px; }
    .jp-journal-aside, .jp-faq-intro, .jp-shop-sidebar, .jp-article-side { position: static; }
    .jp-shop-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jp-shop-sidebar__head, .jp-shop-note { grid-column: 1 / -1; }
    .jp-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .site-page--cart .cart-hero .hero-card,
    .site-page--cart .cart-layout { grid-template-columns: 1fr; }
    .jp-founder-card { justify-self: center; width: min(420px, 100%); }
}

@media (max-width: 680px) {
    .jp-shell { width: min(100% - 24px, 1180px); }
    .jp-page-hero { padding: 62px 0; }
    .jp-page-hero::after { inset: 10px; }
    .jp-page-hero h1, .jp-article-hero h1 { font-size: 36px; }
    .jp-story-grid { grid-template-columns: 1fr; }
    .jp-story-grid article { min-height: auto; border-left: 0; border-bottom: 1px solid var(--jp-line); }
    .jp-story-grid article:last-child { border-bottom: 0; }
    .jp-story-grid h3 { margin-top: 22px; }
    .jp-manifesto { grid-template-columns: 1fr; gap: 10px; padding: 32px 24px; }
    .jp-manifesto__mark { font-size: 90px; }
    .jp-article-card { grid-template-columns: 1fr; }
    .jp-article-card__image { min-height: 210px; }
    .jp-form-grid { grid-template-columns: 1fr; gap: 0; }
    .jp-contact-form, .jp-article-content { padding: 24px 18px; }
    .jp-shop-toolbar { align-items: stretch; flex-direction: column; }
    .jp-shop-toolbar input { width: 100%; }
    .jp-products-grid { grid-template-columns: 1fr !important; }
    .jp-about-cta { padding: 35px 18px; }
}
