@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@700&family=Gamja+Flower&family=Kablammo&family=Schoolbell&family=Shantell+Sans:wght@700&family=Single+Day&display=swap');

/* ==========================================================================
   Trash Comix — Page-Specific Styles
   ========================================================================== */

.trash-comix-page {
    --trash-header-offset: 84px;
    --trash-copy-font: 'Single Day', 'Comic Sans MS', 'Segoe Print', cursive;
    --trash-comic-title-font: 'Gamja Flower', 'Shantell Sans', 'Single Day', 'Comic Sans MS', 'Segoe Print', cursive;
}

.trash-comix-page .navbar .container {
    gap: 1rem;
}

.trash-comix-page .nav-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.trash-comix-page .nav-menu {
    top: var(--trash-header-offset, 84px);
}

.trash-comix-page .nav-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 53, 0.16);
    background: rgba(255, 255, 255, 0.78);
    color: var(--mk-ink, #13213b);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(13, 34, 70, 0.08);
}

.trash-comix-page .nav-cart-link:hover {
    color: var(--mk-ink, #13213b);
    border-color: rgba(255, 107, 53, 0.28);
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

.trash-comix-page .nav-cart-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.trash-comix-page .nav-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: linear-gradient(120deg, #ff6b35 0%, #f79b45 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

/* Header — fun comic gradient */
.marketing-site .trash-comix-header {
    background: linear-gradient(130deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}

.marketing-site .trash-comix-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.85rem, 2vw, 1.4rem);
    margin-bottom: 0.85rem;
}

.marketing-site .trash-comix-brand-mark {
    width: clamp(88px, 11vw, 128px);
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 24px rgba(8, 25, 58, 0.28));
}

.marketing-site .trash-comix-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.marketing-site .trash-comix-header .trash-comix-logo {
    font-family: 'Schoolbell', 'Comic Sans MS', 'Segoe Print', cursive;
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}

.marketing-site .trash-comix-header p {
    font-size: 1.62rem;
    font-family: var(--trash-copy-font);
    opacity: 0.85;
}

.trash-comix-page .order-message p,
.trash-comix-page .shop-status,
.trash-comix-page .volume-info p,
.trash-comix-page .cart-empty,
.trash-comix-page .cart-note,
.trash-comix-page .modal-description,
.trash-comix-page .modal-notices p,
.trash-comix-page .modal-cart-status {
    font-family: var(--trash-copy-font);
}

/* UK Delivery Warning */
.delivery-warning {
    padding: 1.5rem 0;
}

.warning-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #f0c36d;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 12px rgba(240, 195, 109, 0.2);
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.warning-banner strong {
    color: #856404;
    font-size: 1.05rem;
    display: block;
}

.warning-banner p {
    color: #664d03;
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

/* Hidden utility */
.hidden {
    display: none !important;
}

.news-updates-trigger {
    position: fixed;
    top: calc(var(--trash-header-offset, 84px) + 1.5rem);
    right: 1rem;
    z-index: 70;
    padding: 0.85rem 1.2rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(120deg, #ff6b35 0%, #f79b45 100%);
    color: #fff;
    font-family: 'Schoolbell', 'Comic Sans MS', 'Segoe Print', cursive;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    box-shadow: 0 16px 30px rgba(15, 52, 96, 0.22);
    cursor: pointer;
}

.news-updates-backdrop {
    position: fixed;
    inset: 0;
    z-index: 79;
    background: rgba(11, 23, 46, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    display: none;
}

.news-updates-backdrop.is-open {
    opacity: 0;
    pointer-events: none;
}

.news-updates-panel {
    position: fixed;
    top: calc(var(--trash-header-offset, 84px) + 1rem);
    right: 1rem;
    z-index: 80;
    width: min(380px, calc(100vw - 2rem));
    max-height: calc(100vh - var(--trash-header-offset, 84px) - 2rem);
    padding: 1.25rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 248, 241, 0.97));
    border: 1px solid rgba(255, 107, 53, 0.18);
    box-shadow: 0 28px 60px rgba(17, 35, 76, 0.2);
    transform: translateX(calc(100% + 1.5rem));
    opacity: 0;
    transition: transform 0.32s ease, opacity 0.32s ease;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 0.9rem;
    overflow: hidden;
}

.news-updates-panel.is-open {
    transform: translateX(0);
    opacity: 1;
}

.news-updates-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.news-updates-kicker {
    margin: 0 0 0.35rem;
    color: #ff6b35;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.news-updates-header h2 {
    margin: 0;
    font-family: 'Schoolbell', 'Comic Sans MS', 'Segoe Print', cursive;
    font-size: 1.8rem;
    line-height: 1;
    color: #13213b;
}

.news-updates-close {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 999px;
    background: rgba(19, 33, 59, 0.08);
    color: #13213b;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.news-updates-copy,
.news-updates-status,
.news-updates-date,
.news-updates-body {
    font-family: var(--trash-copy-font);
}

.news-updates-copy {
    margin: 0;
    color: #526781;
    font-size: 1.15rem;
    line-height: 1.45;
}

.news-updates-status {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(15, 52, 96, 0.08);
    color: #355177;
    font-size: 1.1rem;
}

.news-updates-status.is-error {
    background: rgba(194, 53, 53, 0.1);
    color: #8b2c2c;
}

.news-updates-list {
    display: grid;
    gap: 0.9rem;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.15rem;
}

.news-updates-card {
    padding: 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96));
    border: 1px solid rgba(19, 33, 59, 0.08);
}

.news-updates-card h3 {
    margin: 0;
    color: #13213b;
    font-family: 'Gaegu', 'Kablammo', 'Shantell Sans', 'Single Day', cursive;
    font-size: 1.25rem;
    line-height: 1.15;
}

.news-updates-date {
    display: block;
    margin-top: 0.35rem;
    color: #5f7390;
    font-family: 'Gaegu', 'Kablammo', 'Shantell Sans', 'Single Day', cursive;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.news-updates-body {
    margin: 0.75rem 0 0;
    color: #445973;
    font-family: 'Gaegu', 'Kablammo', 'Shantell Sans', 'Single Day', cursive;
    font-size: 1.16rem;
    line-height: 1.55;
    white-space: pre-line;
}

/* Order success / cancel messages */
.order-message {
    margin: 2rem auto;
    max-width: 700px;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.order-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #a3d9a5;
}

.order-success h2 { color: #155724; }
.order-success p { color: #1b5e20; margin: 0.5rem 0; font-size: 1.32rem; }

.order-cancel {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #f1aeb5;
}

.order-cancel h2 { color: #721c24; }
.order-cancel p { color: #842029; margin: 0.5rem 0; font-size: 1.32rem; }

/* Shop section */
.shop-section {
    padding: 3rem 0 2rem;
}

.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.shop-main .section-title {
    font-family: 'Kablammo', 'Shantell Sans', 'Single Day', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-align: left;
    margin-bottom: 1rem;
}

.shop-status {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(15, 52, 96, 0.08);
    color: #355177;
    font-size: 1.3rem;
}

.shop-status.is-error {
    background: rgba(194, 53, 53, 0.1);
    color: #8b2c2c;
}

.trash-comix-page .collection-search,
.trash-comix-page .collection-search-form {
    margin: 0 0 1rem;
}

.trash-comix-page .collection-search-input {
    max-width: 640px;
    background: rgba(255, 250, 243, 0.96);
    border-color: rgba(15, 52, 96, 0.12);
}

.trash-comix-page .collection-search-btn {
    background: #f97316;
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.2);
}

/* Volumes grid */
.volumes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.volume-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82));
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(17, 35, 76, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.volume-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(14, 31, 69, 0.2);
}

.volume-thumbnail {
    height: 320px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.volume-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.volume-card {
    display: flex;
    flex-direction: column;
}

.volume-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.volume-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.volume-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: var(--mk-brand-soft, #fff1eb);
    color: #c64b21;
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.volume-info h3 {
    font-family: var(--trash-comic-title-font);
    font-size: 1.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.08;
    margin-bottom: 0.5rem;
    color: var(--mk-ink, #13213b);
    text-transform: uppercase;
}

.volume-info p {
    font-size: 1.32rem;
    color: var(--mk-muted, #4c5f81);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex: 1;
}

.volume-meta {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.volume-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--mk-ink, #13213b);
}

.volume-price-note {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a8aa6;
}

.btn-buy {
    width: 100%;
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    background: linear-gradient(120deg, #ff6b35 0%, #f79b45 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.js-view-volume,
#modalAddToCart,
#cartCheckout {
    font-family: 'Gaegu', 'Kablammo', 'Shantell Sans', 'Single Day', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.btn-buy:hover {
    background: linear-gradient(120deg, #e85d2c 0%, #e88a38 100%);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.35);
    transform: translateY(-2px);
}

.btn-buy:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Cart */
.cart-sidebar {
    min-width: 0;
    scroll-margin-top: calc(var(--trash-header-offset, 84px) + 1rem);
}

.cart-card {
    position: sticky;
    top: calc(var(--trash-header-offset, 84px) + 1rem);
    background: linear-gradient(180deg, rgba(19, 33, 59, 0.98), rgba(17, 28, 48, 0.94));
    color: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 24px 60px rgba(15, 31, 69, 0.26);
}

.cart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.cart-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.62);
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.cart-empty,
.cart-note {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.76);
}

.cart-items {
    display: grid;
    gap: 0.9rem;
}

.cart-item {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.cart-item-copy h3 {
    font-family: var(--trash-comic-title-font);
    margin: 0;
    font-size: 1.24rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    text-transform: uppercase;
}

.cart-item-series,
.cart-item-price {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
}

.cart-item-series {
    color: rgba(255, 255, 255, 0.64);
}

.cart-item-price {
    color: rgba(255, 255, 255, 0.78);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cart-qty-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.cart-qty-value {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.cart-remove {
    padding: 0;
    border: none;
    background: transparent;
    color: #ffbe9b;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 700;
}

.cart-remove:hover {
    color: #ffd2ba;
    text-decoration: underline;
}

.cart-item-total {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.cart-summary {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.cart-row.total {
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
}

.cart-voucher {
    margin: 0.6rem 0 0.2rem;
}

.cart-voucher-input-row {
    display: flex;
    gap: 0.5rem;
}

.cart-voucher-input {
    flex: 1;
    min-width: 0;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
}

.cart-voucher-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cart-voucher-input:focus {
    border-color: rgba(255, 255, 255, 0.4);
}

.cart-voucher-apply {
    padding: 0.45rem 0.8rem;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cart-voucher-apply:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cart-voucher-apply:disabled {
    opacity: 0.5;
    cursor: default;
}

.cart-voucher-status {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
}

.cart-voucher-status.is-success {
    color: #4ade80;
}

.cart-voucher-status.is-error {
    color: #f87171;
}

.cart-voucher-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    font-size: 0.82rem;
    color: #4ade80;
}

.cart-voucher-remove {
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0 0.2rem;
}

.cart-voucher-remove:hover {
    color: #fff;
}

.cart-summary .btn-buy {
    margin-bottom: 0.85rem;
}

/* Info cards */
.info-section {
    padding: 2rem 0 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(17, 35, 76, 0.08);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--mk-ink, #13213b);
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--mk-muted, #4c5f81);
}

.info-card a {
    color: var(--mk-brand, #ff6b35);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Legal disclaimers */
.disclaimer-section {
    padding: 1rem 0 3rem;
}

.disclaimer-content {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 6px 16px rgba(17, 35, 76, 0.06);
}

.disclaimer-content h3 {
    color: var(--mk-ink, #13213b);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.disclaimer-content p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--mk-muted, #4c5f81);
    margin-bottom: 1rem;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

.disclaimer-content a {
    color: var(--mk-brand, #ff6b35);
    text-decoration: none;
}

.disclaimer-content a:hover {
    text-decoration: underline;
}

/* Volume Detail Modal */
.volume-modal-dialog {
    width: min(900px, calc(100vw - 2rem));
    max-width: 900px;
    max-height: calc(100vh - 2rem);
    margin: auto;
    padding: 0;
    border: none;
    background: transparent;
    overflow: visible;
}

.volume-modal-dialog:not([open]) {
    display: none;
}

.volume-modal-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.volume-modal {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 248, 241, 0.97));
    border: 1px solid rgba(255, 107, 53, 0.16);
    border-radius: 22px;
    width: 100%;
    max-width: 900px;
    height: min(80vh, 720px);
    display: flex;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(17, 35, 76, 0.16);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(19, 33, 59, 0.08);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: #4c5f81;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #13213b;
}

/* Gallery (left side) */
.modal-gallery {
    flex: 1 1 50%;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
    user-select: none;
}

.gallery-image-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.gallery-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    backdrop-filter: blur(4px);
}

.gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-arrow.prev { left: 0.75rem; }
.gallery-arrow.next { right: 0.75rem; }

.gallery-dots {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 0;
    flex-shrink: 0;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.gallery-dot.active {
    background: #fff;
    border-color: #fff;
}

/* Detail panel (right side) */
.modal-detail {
    flex: 1 1 50%;
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.modal-detail .volume-badge {
    margin-right: 0.35rem;
}

.modal-detail h2 {
    font-family: var(--trash-comic-title-font);
    font-size: 1.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--mk-ink, #13213b);
    margin: 0.75rem 0 1rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.modal-detail .modal-description {
    font-size: 1.32rem;
    line-height: 1.7;
    color: var(--mk-muted, #4c5f81);
    flex: 1;
}

.modal-price {
    margin: 1rem 0 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--mk-ink, #13213b);
}

.modal-notices {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-notices p {
    font-size: 1.2rem;
    color: #7a8aa6;
    margin: 0.25rem 0;
    line-height: 1.5;
}

.modal-detail .btn-buy {
    margin-top: 0.75rem;
    flex-shrink: 0;
}

.modal-cart-status {
    margin: 0.75rem 0 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f7a43;
}

.cart-toast {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    width: min(340px, calc(100vw - 2rem));
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(19, 33, 59, 0.96);
    color: #fff;
    box-shadow: 0 20px 44px rgba(11, 24, 48, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
    z-index: 6000;
}

.cart-toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-toast-title,
.cart-toast-meta {
    margin: 0;
}

.cart-toast-title {
    font-family: var(--trash-comic-title-font);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff4ea;
    text-transform: uppercase;
}

.cart-toast-meta {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .cart-card {
        position: static;
    }

    .news-updates-panel {
        top: auto;
        bottom: 1rem;
        max-height: min(70vh, 560px);
    }

    .news-updates-trigger {
        top: auto;
        bottom: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .trash-comix-page .nav-tools {
        gap: 0.7rem;
    }

    .trash-comix-page .nav-cart-link {
        padding: 0.48rem 0.8rem;
    }

    .trash-comix-page .nav-cart-label {
        display: none;
    }

    .marketing-site .trash-comix-header {
        padding: 3rem 0 2.5rem;
    }

    .marketing-site .trash-comix-brand {
        gap: 0.85rem;
    }

    .marketing-site .trash-comix-brand-mark {
        width: 92px;
    }

    .volumes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .warning-banner {
        flex-direction: column;
        text-align: center;
    }

    .news-updates-panel {
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
        max-height: min(72vh, 520px);
        border-radius: 22px;
        transform: translateY(calc(100% + 1rem));
    }

    .news-updates-panel.is-open {
        transform: translateY(0);
    }

    .news-updates-trigger {
        right: 0.75rem;
        bottom: 0.75rem;
        top: auto;
    }

    .shop-main .section-title {
        text-align: center;
    }

    .volume-modal-dialog {
        width: calc(100vw - 1rem);
        max-width: none;
        max-height: calc(100vh - 1rem);
    }

    .volume-thumbnail {
        height: 180px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .volume-modal {
        flex-direction: column;
        width: 100%;
        height: 90vh;
    }

    .modal-gallery {
        min-height: 0;
        height: 380px;
        flex: 0 0 380px;
    }

    .modal-detail {
        flex: 1 1 auto;
    }

    .gallery-image-wrap {
        padding: 1.25rem;
    }

    .modal-detail {
        padding: 1.5rem;
    }

    .modal-detail h2 {
        font-size: 1.55rem;
    }

    .cart-card {
        padding: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .marketing-site .trash-comix-brand {
        gap: 0.7rem;
    }

    .marketing-site .trash-comix-brand-mark {
        width: 76px;
    }

    .marketing-site .trash-comix-header .trash-comix-logo {
        font-size: clamp(2.3rem, 10vw, 3rem);
    }

    .trash-comix-page .nav-cart-link {
        padding: 0.45rem 0.72rem;
    }

    .news-updates-panel {
        padding: 1rem;
        bottom: 0.75rem;
        right: 0.5rem;
        left: 0.5rem;
        border-radius: 18px;
    }

    .news-updates-trigger {
        right: 0.5rem;
        bottom: 0.5rem;
        font-size: 1rem;
    }

    .volumes-grid {
        grid-template-columns: 1fr;
    }

    .volume-thumbnail {
        height: 200px;
    }

    .disclaimer-content {
        padding: 1.5rem;
    }

    .volume-card {
        border-radius: 18px;
    }

    .volume-info h3 {
        font-size: 1.38rem;
    }

    .cart-header,
    .cart-item-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-count {
        align-self: flex-start;
    }

    .cart-toast {
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
    }
}
