:root {
    --shop-yellow: #f4c800;
    --shop-yellow-soft: #fff8cc;
    --shop-black: #171717;
    --shop-text: #202020;
    --shop-muted: #737373;
    --shop-line: #dedede;
    --shop-surface: #ffffff;
    --shop-surface-soft: #f7f7f7;
    --shop-danger: #d93a3a;
    --shop-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    --shop-radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #ececec;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--shop-text);
    background:
        linear-gradient(135deg, rgba(244, 200, 0, 0.08), transparent 40%),
        #ececec;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(244, 200, 0, 0.55);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px);
}

.shop-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--shop-black);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.shop-brand img {
    display: block;
    width: min(230px, 40vw);
    max-height: 46px;
    object-fit: contain;
}

.shop-brand span {
    padding: 5px 9px;
    background: var(--shop-black);
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
}

.shop-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-account-status {
    color: var(--shop-muted);
    font-size: 13px;
}

.shop-header-link {
    padding: 10px 15px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    color: var(--shop-black);
    background: #fff;
    text-decoration: none;
    font-weight: 750;
}

.shop-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 22px;
    width: min(1500px, calc(100% - 36px));
    margin: 22px auto 54px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 94px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 118px);
    padding: 22px;
    background: var(--shop-black);
    color: #fff;
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-shadow);
}

.shop-sidebar-head p,
.shop-kicker {
    margin: 0 0 6px;
    color: #9b8100;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.shop-sidebar-head p {
    color: var(--shop-yellow);
}

.shop-sidebar-head h1,
.shop-main-head h2,
.shop-drawer-head h2,
.shop-modal-card h2 {
    margin: 0;
    line-height: 1.25;
}

.shop-sidebar-head h1 {
    font-size: 24px;
}

.shop-nav {
    margin-top: 28px;
}

.shop-nav-label {
    margin: 0 0 8px;
    color: #999;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.shop-nav-label-spaced {
    margin-top: 24px;
}

.shop-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    margin: 3px 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #e7e7e7;
    text-align: left;
    cursor: pointer;
    transition: 0.18s ease;
}

.shop-nav-item small {
    color: #a5a5a5;
    font-size: 11px;
}

.shop-nav-item:hover,
.shop-nav-item.is-active {
    background: var(--shop-yellow);
    color: var(--shop-black);
    transform: translateX(2px);
}

.shop-nav-item.is-active small,
.shop-nav-item:hover small {
    color: #5e5100;
}

.shop-sidebar-bottom {
    display: grid;
    gap: 9px;
    margin-top: auto;
    padding-top: 28px;
}

.shop-side-action,
.shop-checkout-button,
.shop-mobile-button,
.shop-text-button,
.shop-icon-button,
.shop-modal-close {
    border: 0;
    cursor: pointer;
}

.shop-side-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    padding: 10px 13px;
    border: 1px solid #3f3f3f;
    border-radius: 12px;
    color: #fff;
    background: #252525;
    font-weight: 750;
}

.shop-side-action strong {
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--shop-yellow);
    color: var(--shop-black);
    font-size: 12px;
}

.shop-checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 13px;
    background: var(--shop-yellow);
    color: var(--shop-black);
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(244, 200, 0, 0.2);
    transition: 0.18s ease;
}

.shop-checkout-button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.shop-checkout-button:disabled {
    background: #b9b9b9;
    color: #666;
    box-shadow: none;
    cursor: not-allowed;
}

.shop-main {
    min-width: 0;
    padding: 28px;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-shadow);
}

.shop-main-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--shop-line);
}

.shop-main-head h2 {
    font-size: clamp(25px, 3vw, 38px);
}

.shop-main-head p:not(.shop-kicker) {
    margin: 8px 0 0;
    color: var(--shop-muted);
}

.shop-search-field {
    width: min(360px, 45%);
}

.shop-search-field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 15px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    background: #fff;
}

.shop-notice {
    margin: 20px 0 0;
    padding: 14px 16px;
    border-radius: 13px;
    background: var(--shop-yellow-soft);
    border: 1px solid #ead354;
    font-weight: 700;
}

.shop-notice.is-error {
    background: #fff0f0;
    border-color: #edb7b7;
    color: #8f2020;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
    padding-top: 26px;
}

.shop-product-card {
    overflow: hidden;
    border: 1px solid var(--shop-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 0.18s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.shop-product-media-button {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    overflow: hidden;
    background:
        linear-gradient(45deg, #e9e9e9 25%, transparent 25%),
        linear-gradient(-45deg, #e9e9e9 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e9e9e9 75%),
        linear-gradient(-45deg, transparent 75%, #e9e9e9 75%),
        #f7f7f7;
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
    cursor: pointer;
}

.shop-product-media-button img,
.shop-product-media-button video,
.shop-product-modal-preview img,
.shop-product-modal-preview video,
.shop-cart-thumb img,
.shop-history-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-product-media-button video,
.shop-product-modal-preview video {
    pointer-events: none;
}

.shop-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shop-product-card .shop-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
}

.shop-product-badge {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(23, 23, 23, 0.88);
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    backdrop-filter: blur(6px);
}

.shop-product-badge.is-limited {
    background: #b73131;
}

.shop-product-badge.is-seasonal {
    background: #6b3cb4;
}

.shop-product-card-body {
    display: grid;
    gap: 9px;
    padding: 15px;
}

.shop-product-card-title {
    min-height: 2.7em;
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.shop-product-price {
    margin: 0;
    font-size: 21px;
    font-weight: 900;
}

.shop-card-cart-button {
    min-height: 42px;
}

.shop-empty-state,
.shop-loading-state {
    grid-column: 1 / -1;
    padding: 60px 24px;
    border: 1px dashed #c8c8c8;
    border-radius: 18px;
    color: var(--shop-muted);
    text-align: center;
}

.shop-plus-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: clamp(24px, 4vw, 48px);
    border-radius: 24px;
    background:
        linear-gradient(120deg, rgba(244, 200, 0, 0.96), rgba(255, 241, 147, 0.95)),
        #f4c800;
    box-shadow: 0 20px 45px rgba(151, 119, 0, 0.18);
}

.shop-plus-card h3 {
    margin: 0;
    font-size: clamp(28px, 5vw, 52px);
}

.shop-plus-card p {
    max-width: 720px;
    margin: 12px 0 0;
    line-height: 1.8;
}

.shop-plus-card ul {
    padding-left: 18px;
    line-height: 1.8;
}

.shop-plus-card-side {
    min-width: 210px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.shop-plus-card-side strong,
.shop-plus-price strong {
    font-size: 40px;
}

.shop-plus-card-side span,
.shop-plus-price span {
    color: #5c520f;
    font-weight: 750;
}

.shop-mobile-bar {
    display: none;
}

.shop-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(3px);
}

.shop-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    width: min(460px, 100vw);
    height: 100vh;
    background: #fff;
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.22);
}

.shop-history-drawer {
    width: min(610px, 100vw);
}

.shop-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 24px;
    border-bottom: 1px solid var(--shop-line);
}

.shop-icon-button,
.shop-modal-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #efefef;
    font-size: 24px;
}

.shop-drawer-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 20px 24px;
}

.shop-drawer-foot {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--shop-line);
    background: #fff;
}

.shop-cart-item,
.shop-history-order,
.shop-subscription-card {
    border: 1px solid var(--shop-line);
    border-radius: 16px;
    background: #fff;
}

.shop-cart-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 12px;
    margin-bottom: 12px;
}

.shop-cart-thumb,
.shop-history-thumb {
    overflow: hidden;
    border-radius: 11px;
    background: #eee;
}

.shop-cart-thumb {
    width: 74px;
    height: 74px;
}

.shop-cart-meta strong {
    display: block;
    line-height: 1.4;
}

.shop-cart-meta span {
    display: block;
    margin-top: 5px;
    color: var(--shop-muted);
    font-size: 13px;
}

.shop-remove-button {
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--shop-danger);
    cursor: pointer;
    font-weight: 800;
}

.shop-cart-total,
.shop-checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 13px;
}

.shop-cart-total strong,
.shop-checkout-total strong {
    font-size: 26px;
}

.shop-text-button {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    background: transparent;
    color: var(--shop-muted);
    font-weight: 700;
}

.shop-history-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 24px 0;
    gap: 8px;
}

.shop-history-tabs button {
    padding: 11px;
    border: 1px solid var(--shop-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-weight: 800;
}

.shop-history-tabs button.is-active {
    background: var(--shop-black);
    color: #fff;
}

.shop-history-order {
    padding: 16px;
    margin-bottom: 14px;
}

.shop-history-order-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--shop-line);
}

.shop-history-order-head p,
.shop-history-order-head span {
    margin: 0;
    color: var(--shop-muted);
    font-size: 12px;
}

.shop-history-line {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding-top: 12px;
}

.shop-history-thumb {
    width: 54px;
    height: 54px;
}

.shop-history-total {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid var(--shop-line);
    font-weight: 900;
}

.shop-history-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e9f7e9;
    color: #287028;
    font-size: 11px;
    font-weight: 850;
}

.shop-subscription-card {
    padding: 22px;
}

.shop-subscription-card h3 {
    margin: 0 0 8px;
}

.shop-subscription-grid {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.shop-subscription-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.shop-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
}

.shop-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(5px);
}

.shop-modal-card {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 30px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.shop-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
}

.shop-product-modal-card {
    display: grid;
    grid-template-columns: minmax(300px, 1.15fr) minmax(280px, 0.85fr);
    gap: 30px;
}

.shop-product-modal-preview {
    overflow: hidden;
    min-height: 440px;
    border-radius: 18px;
    background: #efefef;
}

.shop-product-modal-info {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.shop-product-modal-info h2 {
    margin-top: 16px;
    font-size: clamp(25px, 4vw, 38px);
}

.shop-product-id {
    color: var(--shop-muted);
    font-size: 12px;
    word-break: break-all;
}

.shop-product-modal-description {
    flex: 1;
    line-height: 1.85;
    white-space: pre-wrap;
}

.shop-product-modal-price {
    display: block;
    margin: 18px 0;
    font-size: 32px;
}

.shop-checkout-modal-card,
.shop-plus-modal-card {
    width: min(620px, 100%);
}

.shop-checkout-modal-card header p:not(.shop-kicker),
.shop-plus-modal-card>p {
    color: var(--shop-muted);
    line-height: 1.7;
}

.shop-checkout-review {
    margin: 24px 0;
    border-top: 1px solid var(--shop-line);
}

.shop-checkout-review-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--shop-line);
}

.shop-plus-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    margin: 26px 0;
}

.shop-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 150;
    max-width: min(520px, calc(100% - 32px));
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--shop-black);
    color: #fff;
    box-shadow: var(--shop-shadow);
    opacity: 0;
    transform: translate(-50%, 18px);
    pointer-events: none;
    transition: 0.2s ease;
}

.shop-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 900px) {
    .shop-header {
        min-height: 62px;
        padding: 9px 14px;
    }

    .shop-brand img {
        width: min(180px, 50vw);
        max-height: 38px;
    }

    .shop-account-status {
        display: none;
    }

    .shop-header-link {
        padding: 8px 11px;
        font-size: 13px;
    }

    .shop-mobile-bar {
        position: sticky;
        top: 62px;
        z-index: 45;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px 12px;
        background: rgba(236, 236, 236, 0.95);
        backdrop-filter: blur(10px);
    }

    .shop-mobile-button {
        min-height: 42px;
        border-radius: 11px;
        background: var(--shop-black);
        color: #fff;
        font-weight: 800;
    }

    .shop-mobile-cart {
        background: var(--shop-yellow);
        color: var(--shop-black);
    }

    .shop-shell {
        display: block;
        width: min(100% - 20px, 780px);
        margin-top: 10px;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 120;
        width: min(310px, 88vw);
        min-height: 100vh;
        border-radius: 0 22px 22px 0;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    .shop-sidebar.is-open {
        transform: translateX(0);
    }

    .shop-main {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .shop-main-head {
        display: block;
    }

    .shop-search-field {
        display: block;
        width: 100%;
        margin-top: 18px;
    }

    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shop-product-card-body {
        padding: 12px;
    }

    .shop-product-card-title {
        font-size: 14px;
    }

    .shop-product-price {
        font-size: 18px;
    }

    .shop-plus-card {
        grid-template-columns: 1fr;
    }

    .shop-plus-card-side {
        min-width: 0;
    }

    .shop-product-modal-card {
        display: block;
    }

    .shop-product-modal-preview {
        min-height: 0;
        aspect-ratio: 1 / 1;
        margin-bottom: 20px;
    }

    .shop-product-modal-info {
        padding: 0;
    }
}

@media (max-width: 520px) {
    .shop-brand span {
        display: none;
    }

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

    .shop-product-card-title {
        min-height: 3.8em;
    }

    .shop-card-cart-button {
        min-height: 40px;
        padding-inline: 8px;
        font-size: 12px;
    }

    .shop-product-badge {
        padding: 4px 6px;
        font-size: 9px;
    }

    .shop-modal {
        padding: 10px;
    }

    .shop-modal-card {
        max-height: calc(100vh - 20px);
        padding: 22px 16px;
        border-radius: 18px;
    }

    .shop-cart-item {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        gap: 9px;
    }

    .shop-cart-thumb {
        width: 58px;
        height: 58px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    video {
        display: none !important;
    }
}

[data-product-media] {
    display: block;
    width: 100%;
    height: 100%;
}


/* PR banner ticket service */
.shop-service-quantity-field {
    display: grid;
    gap: 7px;
    margin: 18px 0 10px;
    text-align: left;
}

.shop-service-quantity-field span {
    font-size: 12px;
    font-weight: 850;
}

.shop-service-quantity-field select {
    min-height: 46px;
    padding: 9px 12px;
    border: 1px solid var(--shop-line);
    border-radius: 11px;
    background: #fff;
    font: inherit;
}

.shop-service-total {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
    text-align: right;
}

.shop-service-mypage-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--shop-black);
    font-size: 12px;
    font-weight: 800;
}

.shop-pr-banner-card {
    background: linear-gradient(120deg, rgba(255, 214, 50, 0.98), rgba(255, 255, 255, 0.95));
}


/* =========================================================
   Purchased / granted items
========================================================= */
button.shop-header-link {
    font: inherit;
    cursor: pointer;
}

.shop-product-card.is-owned {
    border-color: #bfc2c5;
    background: #f0f1f2;
    box-shadow: none;
}

.shop-product-card.is-owned:hover {
    transform: none;
    border-color: #aeb2b6;
    box-shadow: none;
}

.shop-product-card.is-owned .shop-product-media-button {
    background: #e2e4e6;
}

.shop-product-card.is-owned .shop-product-media-button img,
.shop-product-card.is-owned .shop-product-media-button video {
    filter: grayscale(0.7);
    opacity: 0.68;
}

.shop-product-card.is-owned .shop-product-card-title,
.shop-product-card.is-owned .shop-product-price {
    color: #6f7478;
}

.shop-product-card.is-owned .shop-card-cart-button,
.shop-product-modal-info .shop-checkout-button:disabled {
    background: #aeb2b6;
    color: #ffffff;
    box-shadow: none;
    cursor: default;
    filter: none;
    transform: none;
}

.shop-product-badge.is-owned {
    background: #6f7478;
}

.shop-owned-items-modal-card {
    width: min(920px, 100%);
}

.shop-owned-items-head {
    padding-right: 52px;
}

.shop-owned-items-head>p:not(.shop-kicker) {
    margin: 9px 0 0;
    color: var(--shop-muted);
    line-height: 1.7;
}

.shop-owned-items-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.shop-owned-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--shop-line);
    border-radius: 16px;
    background: #f7f7f7;
}

.shop-owned-item-media {
    width: 104px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #e6e6e6;
    color: var(--shop-muted);
    font-size: 11px;
}

.shop-owned-item-media img,
.shop-owned-item-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.shop-owned-item-copy {
    min-width: 0;
}

.shop-owned-item-copy strong {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: var(--shop-black);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-owned-item-copy p {
    margin: 7px 0 0;
    color: var(--shop-muted);
    font-size: 11px;
}

.shop-owned-item-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.shop-owned-item-badges span,
.shop-owned-item-badges small {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
}

.shop-owned-item-badges span {
    background: #6f7478;
    color: #fff;
}

.shop-owned-item-badges small {
    background: #e4e4e4;
    color: #5e6265;
}

@media (max-width: 700px) {
    .shop-owned-items-list {
        grid-template-columns: 1fr;
    }

    .shop-owned-item {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .shop-owned-item-media {
        width: 82px;
    }
}