.titan-shop-page {
    gap: 22px;
    --shop-panel: linear-gradient(180deg, rgba(18, 35, 27, 0.96), rgba(9, 22, 17, 0.98));
    --shop-card: linear-gradient(180deg, rgba(20, 34, 28, 0.94), rgba(9, 18, 15, 0.98));
    --shop-card-soft: linear-gradient(180deg, rgba(27, 47, 38, 0.82), rgba(11, 25, 19, 0.92));
    --shop-line: rgba(83, 209, 139, 0.16);
    --shop-line-gold: rgba(243, 191, 82, 0.28);
}

.titan-shop-page .primary-button,
.titan-shop-page .ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    border-radius: 14px;
    white-space: nowrap;
}

.titan-shop-page > .notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.titan-shop-notice-button {
    min-height: 38px;
    padding: 0 16px;
}

.titan-shop-standalone-panel {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.titan-shop-license-panel,
.titan-shop-catalog,
.titan-shop-cart,
.titan-shop-return {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--shop-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 74% 10%, rgba(243, 191, 82, 0.1), transparent 34%),
        radial-gradient(circle at 18% 0%, rgba(83, 209, 139, 0.09), transparent 30%),
        var(--shop-panel);
    box-shadow: var(--shadow);
}

.titan-shop-section-head h2,
.titan-shop-license-column h3,
.titan-shop-cart h2,
.titan-shop-card h3,
.titan-shop-product-detail h2,
.titan-shop-return h1 {
    margin: 0;
    color: #fff7dc;
    font-family: var(--font-display);
    letter-spacing: 0;
    line-height: 1.05;
}

.titan-shop-card-actions,
.titan-shop-return-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.titan-shop-card-meta span,
.titan-shop-license-meta,
.titan-shop-cart-item span,
.titan-shop-muted,
.titan-shop-return-details dt,
.titan-shop-return-items span {
    color: rgba(222, 232, 226, 0.72);
}

.titan-shop-license-panel {
    padding: 22px;
}

.titan-shop-entitlements-panel {
    padding: 24px;
    background:
        radial-gradient(circle at 84% 18%, rgba(107, 238, 126, 0.11), transparent 30%),
        radial-gradient(circle at 24% 64%, rgba(83, 209, 139, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(8, 31, 22, 0.98), rgba(5, 16, 13, 0.98));
}

.titan-shop-usage-panel {
    padding: 24px;
    background:
        radial-gradient(circle at 84% 18%, rgba(83, 209, 139, 0.11), transparent 30%),
        radial-gradient(circle at 18% 70%, rgba(107, 238, 126, 0.09), transparent 36%),
        linear-gradient(180deg, rgba(8, 31, 22, 0.98), rgba(5, 16, 13, 0.98));
}

.titan-shop-entitlements-panel .titan-shop-section-head,
.titan-shop-usage-panel .titan-shop-section-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.titan-shop-license-head-icon {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(142, 246, 126, 0.34);
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 42%, rgba(142, 246, 126, 0.22), transparent 58%),
        rgba(11, 27, 20, 0.84);
    color: #8ef67e;
    box-shadow:
        0 0 28px rgba(142, 246, 126, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.titan-shop-license-head-icon svg {
    width: 28px;
    height: 28px;
}

.titan-shop-entitlements-panel .eyebrow,
.titan-shop-usage-panel .eyebrow {
    color: #7bf07d;
}

.titan-shop-entitlements-panel .titan-shop-section-head h2,
.titan-shop-usage-panel .titan-shop-section-head h2 {
    font-size: clamp(1.95rem, 4vw, 3.1rem);
}

.titan-shop-entitlements-panel .titan-shop-section-head p,
.titan-shop-usage-panel .titan-shop-section-head p {
    max-width: 74ch;
    color: rgba(242, 246, 239, 0.78);
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
}

.titan-shop-license-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.titan-shop-license-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(243, 191, 82, 0.18);
    border-radius: 13px;
    background: rgba(5, 10, 8, 0.55);
    color: rgba(222, 232, 226, 0.78);
    font-weight: 700;
}

.titan-shop-entitlements-panel .titan-shop-license-stats span,
.titan-shop-usage-panel .titan-shop-license-stats span {
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 25% 20%, rgba(142, 246, 126, 0.16), transparent 44%),
        rgba(5, 10, 8, 0.64);
}

.titan-shop-entitlements-panel .titan-shop-license-stats svg,
.titan-shop-usage-panel .titan-shop-license-stats svg {
    width: 22px;
    height: 22px;
    color: #8ef67e;
}

.titan-shop-license-stats strong {
    color: #8ef67e;
    font: 800 1.55rem/1 var(--font-display);
}

.titan-shop-license-panel:not(.titan-shop-entitlements-panel, .titan-shop-usage-panel) .titan-shop-license-stats strong {
    color: var(--gold-strong);
    font: 700 1.25rem/1 var(--font-display);
}

.titan-shop-license-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.titan-shop-license-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.titan-shop-entitlements-panel .titan-shop-license-list {
    grid-template-columns: 1fr;
    gap: 18px;
}

.titan-shop-usage-panel .titan-shop-license-list {
    grid-template-columns: 1fr;
    gap: 18px;
}

.titan-shop-license-column {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.titan-shop-license-column h3 {
    font-size: 1.24rem;
}

.titan-shop-license-card,
.titan-shop-license-empty {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(83, 209, 139, 0.14);
    border-radius: 16px;
    background: rgba(5, 10, 8, 0.58);
}

.titan-shop-license-card {
    display: grid;
    gap: 12px;
}

.titan-shop-entitlement-card,
.titan-shop-usage-panel .titan-shop-usage-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 14px;
    min-height: 126px;
    padding: 16px;
    border-color: rgba(142, 246, 126, 0.2);
    border-left: 3px solid #74f070;
    border-radius: 24px;
    background:
        radial-gradient(circle at 78% 52%, rgba(83, 209, 139, 0.18), transparent 32%),
        linear-gradient(90deg, rgba(15, 38, 29, 0.96), rgba(8, 22, 17, 0.96));
    box-shadow:
        0 0 40px rgba(83, 209, 139, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.titan-shop-entitlement-card {
    grid-template-areas:
        "media title actions"
        "media meta actions"
        "media bindings actions";
}

.titan-shop-usage-panel .titan-shop-usage-card {
    grid-template-areas:
        "media title actions"
        "media meta actions";
}

.titan-shop-entitlement-card::before,
.titan-shop-usage-panel .titan-shop-usage-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(142, 246, 126, 0.1), transparent 24%),
        radial-gradient(circle at 70% 52%, rgba(142, 246, 126, 0.1), transparent 26%);
    opacity: 0.8;
}

.titan-shop-usage-watermark {
    position: absolute;
    right: 24%;
    top: 50%;
    z-index: -1;
    width: 132px;
    height: 132px;
    transform: translateY(-50%);
    color: rgba(142, 246, 126, 0.06);
}

.titan-shop-usage-watermark svg {
    width: 100%;
    height: 100%;
}

.titan-shop-usage-media {
    grid-area: media;
    display: none;
}

.titan-shop-entitlement-media,
.titan-shop-usage-panel .titan-shop-usage-media {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(142, 246, 126, 0.24);
    border-radius: 15px;
    background:
        radial-gradient(circle at 48% 44%, rgba(142, 246, 126, 0.26), transparent 58%),
        rgba(8, 18, 15, 0.76);
    color: #8ef67e;
    box-shadow:
        0 0 36px rgba(142, 246, 126, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.titan-shop-entitlement-media svg,
.titan-shop-usage-panel .titan-shop-usage-media svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 12px rgba(142, 246, 126, 0.32));
}

.titan-shop-usage-card .titan-shop-usage-watermark {
    display: none;
}

.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-usage-watermark {
    display: block;
}

.titan-shop-entitlement-watermark {
    position: absolute;
    right: 25%;
    top: 50%;
    z-index: -1;
    width: 116px;
    height: 116px;
    transform: translateY(-50%);
    color: rgba(142, 246, 126, 0.07);
}

.titan-shop-entitlement-watermark svg {
    width: 100%;
    height: 100%;
}

.titan-shop-entitlement-media {
    grid-area: media;
}

.titan-shop-license-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
}

.titan-shop-entitlement-card .titan-shop-license-card-head {
    grid-area: title;
    display: block;
}

.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-card-head {
    grid-area: title;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
}

.titan-shop-license-card-head strong,
.titan-shop-license-card-head span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.titan-shop-license-card-head strong {
    color: #fff7dc;
    font: 700 1rem/1.22 var(--font-display);
}

.titan-shop-entitlement-card .titan-shop-license-card-head strong,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-card-head strong {
    color: #fff7dc;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.titan-shop-entitlement-card .titan-shop-status {
    margin-top: 6px;
}

.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-card-head span {
    color: rgba(242, 246, 239, 0.78);
    font-size: 0.9rem;
}

.titan-shop-license-card-head span {
    margin-top: 4px;
    color: rgba(222, 232, 226, 0.72);
    font-size: 0.9rem;
}

.titan-shop-license-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(243, 191, 82, 0.24);
    border-radius: 13px;
    background: rgba(243, 191, 82, 0.1);
    color: var(--gold-strong);
}

.titan-shop-license-icon svg {
    width: 22px;
    height: 22px;
}

.titan-shop-license-meta,
.titan-shop-license-bindings,
.titan-shop-license-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.titan-shop-license-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.titan-shop-license-meta svg,
.titan-shop-license-actions svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.titan-shop-license-panel:not(.titan-shop-usage-panel) .titan-shop-usage-card {
    align-content: start;
    gap: 10px;
    min-height: 0;
    padding: 16px;
}

.titan-shop-license-panel:not(.titan-shop-usage-panel) .titan-shop-usage-card .titan-shop-license-card-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.titan-shop-license-panel:not(.titan-shop-usage-panel) .titan-shop-usage-card .titan-shop-license-meta {
    gap: 7px 12px;
}

.titan-shop-entitlement-card .titan-shop-license-meta,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-meta {
    grid-area: meta;
    gap: 8px 14px;
    color: rgba(242, 246, 239, 0.72);
    font-size: 0.86rem;
}

.titan-shop-entitlement-card .titan-shop-license-meta span,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 14px;
    border-right: 1px solid rgba(242, 246, 239, 0.16);
}

.titan-shop-license-meta .titan-shop-license-ip {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.titan-shop-license-meta .titan-shop-license-ip code {
    color: rgba(242, 246, 239, 0.92);
    font: inherit;
    overflow-wrap: anywhere;
}

.titan-shop-entitlement-card .titan-shop-license-meta span:last-child,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-meta span:last-child {
    border-right: 0;
}

.titan-shop-entitlement-card .titan-shop-license-meta svg,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-meta svg {
    width: 18px;
    height: 18px;
    color: rgba(242, 246, 239, 0.76);
}

.titan-shop-entitlement-card .titan-shop-license-bindings {
    grid-area: bindings;
}

.titan-shop-license-bindings span {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(83, 209, 139, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(83, 209, 139, 0.08);
    color: #aef1c7;
    font: 700 0.78rem/1 var(--font-display);
}

.titan-shop-entitlement-card .titan-shop-license-bindings span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 10px;
    border-color: rgba(142, 246, 126, 0.22);
    background: rgba(83, 209, 139, 0.11);
    color: #aef9bf;
    font-size: 0.78rem;
}

.titan-shop-entitlement-card .titan-shop-license-bindings svg {
    width: 18px;
    height: 18px;
}

.titan-shop-license-actions form {
    margin: 0;
}

.titan-shop-entitlement-card .titan-shop-license-actions,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions {
    grid-area: actions;
    justify-content: flex-end;
    align-self: end;
    min-width: 238px;
}

.titan-shop-license-actions .primary-button,
.titan-shop-license-actions .ghost-button {
    min-height: 38px;
    padding-inline: 14px;
}

.titan-shop-entitlement-card .titan-shop-license-actions .primary-button,
.titan-shop-entitlement-card .titan-shop-license-actions .ghost-button,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions .primary-button,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions .ghost-button {
    gap: 12px;
    min-height: 40px;
    min-width: 112px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.86rem;
}

.titan-shop-entitlement-card .titan-shop-license-actions .primary-button,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions .primary-button {
    border-color: rgba(142, 246, 126, 0.58);
    background:
        linear-gradient(180deg, #a8f777, #5fc94d);
    color: #061107;
    box-shadow:
        0 0 28px rgba(142, 246, 126, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions .titan-shop-danger-button {
    border-color: rgba(161, 73, 121, 0.58);
    background: rgba(57, 20, 48, 0.82);
    color: #f1b6d0;
}

.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions .titan-shop-test-button {
    border-color: rgba(125, 182, 255, 0.42);
    background: rgba(18, 37, 62, 0.78);
    color: #b9d9ff;
}

.titan-shop-entitlement-card .titan-shop-license-actions .ghost-button {
    border-color: rgba(242, 246, 239, 0.16);
    background: rgba(15, 26, 23, 0.72);
    color: #f2f6ef;
}

.titan-shop-entitlement-card .titan-shop-license-actions svg,
.titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions svg {
    width: 18px;
    height: 18px;
}

.titan-shop-danger-button {
    border-color: rgba(161, 73, 121, 0.48);
    color: #f1b6d0;
    background: rgba(57, 20, 48, 0.72);
}

.titan-shop-test-grant-chip {
    border-color: rgba(125, 182, 255, 0.28) !important;
    background: rgba(18, 37, 62, 0.52) !important;
    color: #b9d9ff !important;
}

.titan-shop-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(243, 191, 82, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(243, 191, 82, 0.08);
    color: var(--gold-strong);
    font: 700 0.72rem/1 var(--font-display);
    font-style: normal;
    white-space: nowrap;
}

.titan-shop-status svg {
    width: 16px;
    height: 16px;
}

.titan-shop-status-active {
    border-color: rgba(83, 209, 139, 0.28);
    background: rgba(83, 209, 139, 0.12);
    color: #83f287;
}

.titan-shop-status-allowed {
    border-color: rgba(83, 209, 139, 0.28);
    background: rgba(83, 209, 139, 0.1);
    color: #aef1c7;
}

.titan-shop-status-blocked {
    border-color: rgba(255, 143, 134, 0.3);
    background: rgba(255, 143, 134, 0.08);
    color: #ffb5ad;
}

.titan-shop-license-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.titan-shop-license-empty p {
    margin: 0;
    color: rgba(222, 232, 226, 0.72);
}

.titan-shop-license-detail {
    padding: 22px;
    border: 1px solid var(--shop-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 70% 12%, rgba(243, 191, 82, 0.1), transparent 34%),
        var(--shop-panel);
    box-shadow: var(--shadow);
}

.titan-shop-license-detail-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.titan-shop-license-detail-media {
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(243, 191, 82, 0.18);
    border-radius: 18px;
    background: rgba(5, 10, 8, 0.58);
}

.titan-shop-license-detail-media img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.titan-shop-license-detail-copy {
    display: grid;
    align-content: center;
    gap: 12px;
    min-width: 0;
}

.titan-shop-license-detail-copy h2 {
    margin: 0;
    color: #fff7dc;
    font: 800 clamp(2rem, 5vw, 4rem)/1.02 var(--font-display);
    letter-spacing: 0;
}

.titan-shop-license-detail-copy p {
    max-width: 72ch;
    margin: 0;
    color: rgba(242, 246, 239, 0.84);
}

.titan-shop-server-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.titan-shop-server-field > span {
    color: #e8d895;
    font: 700 0.78rem/1 var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.titan-shop-server-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(216, 166, 68, 0.22);
    border-radius: 12px;
    background: rgba(4, 10, 8, 0.76);
    color: var(--text);
    outline: none;
}

.titan-shop-server-field select:focus {
    border-color: rgba(83, 209, 139, 0.42);
    box-shadow: 0 0 0 3px rgba(83, 209, 139, 0.1);
}

.titan-shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 22px;
    align-items: start;
}

.titan-shop-catalog,
.titan-shop-cart,
.titan-shop-return {
    padding: 24px;
}

.titan-shop-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.titan-shop-section-head p {
    max-width: 720px;
    margin: 8px 0 0;
    color: rgba(222, 232, 226, 0.76);
}

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

.titan-shop-catalog.titan-shop-standalone-panel .titan-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.titan-shop-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(243, 191, 82, 0.16);
    border-radius: 18px;
    background: var(--shop-card);
    transition: var(--transition-interactive);
}

.titan-shop-card:hover {
    transform: translateY(-2px);
    border-color: rgba(243, 191, 82, 0.34);
}

.titan-shop-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    min-height: 0;
    overflow: hidden;
    background: #07100d;
}

.titan-shop-card-media img,
.titan-shop-detail-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titan-shop-card-body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.titan-shop-card-chips,
.titan-shop-detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.titan-shop-card-chips span,
.titan-shop-detail-pills span,
.titan-shop-protected-list code {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(83, 209, 139, 0.18);
    border-radius: var(--radius-pill);
    background: rgba(83, 209, 139, 0.08);
    color: #aef1c7;
    font: 700 0.76rem/1 var(--font-display);
    letter-spacing: 0.02em;
}

.titan-shop-card h3 {
    font-size: 1.25rem;
}

.titan-shop-card h3 a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 0;
}

.titan-shop-card p {
    min-height: 3.2em;
    margin: 0;
    color: rgba(225, 233, 229, 0.76);
    line-height: 1.55;
}

.titan-shop-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 4px;
}

.titan-shop-card-meta strong,
.titan-shop-detail-buy > strong,
.titan-shop-cart-total strong {
    color: var(--gold-strong);
    font: 700 1.3rem/1 var(--font-display);
    letter-spacing: 0;
}

.titan-shop-card-meta strong.titan-shop-price-locked,
.titan-shop-detail-buy > strong.titan-shop-price-locked {
    color: rgba(242, 246, 239, 0.74);
    font-size: 0.92rem;
}

.titan-shop-card-actions {
    align-items: stretch;
}

.titan-shop-card-actions > .ghost-button,
.titan-shop-card-actions > .primary-button {
    flex: 1 1 145px;
}

.titan-shop-card-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    width: 100%;
}

.titan-shop-card-form .titan-shop-server-field > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.titan-shop-card-form .primary-button {
    min-height: 46px;
}

.titan-shop-product-detail {
    display: grid;
    gap: 18px;
}

.titan-shop-back-link {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 34px;
    padding: 0 2px;
    color: var(--gold-strong);
    font: 700 0.86rem/1 var(--font-display);
}

.titan-shop-product-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.45fr) minmax(0, 0.55fr);
    gap: 22px;
    align-items: start;
}

.titan-shop-detail-media {
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(243, 191, 82, 0.18);
    border-radius: 18px;
    background: #07100d;
}

.titan-shop-detail-media-stack {
    display: grid;
    gap: 10px;
}

.titan-shop-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 8px;
}

.titan-shop-detail-gallery a {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(243, 191, 82, 0.16);
    border-radius: 10px;
    background: #07100d;
}

.titan-shop-detail-gallery img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .16s ease;
}

.titan-shop-detail-gallery a:hover img {
    transform: scale(1.04);
}

.titan-shop-detail-video {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(243, 191, 82, 0.18);
    border-radius: 14px;
    background: #07100d;
}

.titan-shop-detail-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.titan-shop-detail-copy {
    display: grid;
    gap: 14px;
}

.titan-shop-product-detail h2 {
    font-size: 2rem;
}

.titan-shop-detail-copy p {
    margin: 0;
    color: rgba(225, 233, 229, 0.78);
    line-height: 1.62;
}

.titan-shop-detail-copy .titan-shop-lead {
    color: #f4ead1;
    font-weight: 700;
}

.titan-shop-protected-list {
    display: grid;
    gap: 9px;
}

.titan-shop-protected-list > span {
    color: #e8d895;
    font: 700 0.78rem/1 var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.titan-shop-protected-list > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.titan-shop-detail-buy {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--shop-line-gold);
    border-radius: 18px;
    background: rgba(5, 11, 9, 0.68);
}

.titan-shop-detail-buy form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.titan-shop-no-server {
    display: grid;
    gap: 8px;
}

.titan-shop-cart {
    position: sticky;
    top: 112px;
    scroll-margin-top: 124px;
}

.titan-shop-cart.titan-shop-standalone-panel {
    position: relative;
    top: auto;
}

.titan-shop-cart-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.titan-shop-cart-icon,
.titan-shop-empty-icon,
.titan-shop-return-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border: 1px solid rgba(243, 191, 82, 0.24);
    border-radius: 14px;
    background: rgba(243, 191, 82, 0.1);
    color: var(--gold-strong);
}

.titan-shop-cart-icon svg,
.titan-shop-empty-icon svg,
.titan-shop-return-icon svg {
    width: 25px;
    height: 25px;
}

.titan-shop-cart-items {
    display: grid;
    gap: 10px;
}

.titan-shop-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(83, 209, 139, 0.14);
    border-radius: 14px;
    background: rgba(5, 10, 8, 0.58);
}

.titan-shop-cart-item strong,
.titan-shop-cart-item span {
    display: block;
}

.titan-shop-cart-item-side {
    display: grid;
    justify-items: end;
    gap: 7px;
    text-align: right;
}

.titan-shop-cart-item button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #ff8f86;
    font: 700 0.8rem/1 var(--font-display);
    cursor: pointer;
}

.titan-shop-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(243, 191, 82, 0.18);
}

.titan-shop-wide-button {
    width: 100%;
    margin-top: 14px;
}

.titan-shop-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 34px 18px;
    text-align: center;
}

.titan-shop-empty h2 {
    margin: 0;
    color: #fff7dc;
    font-family: var(--font-display);
}

.titan-shop-empty p {
    max-width: 540px;
    margin: 0;
    color: rgba(222, 232, 226, 0.72);
}

.titan-shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.titan-shop-pagination span {
    color: rgba(232, 240, 235, 0.78);
    font-weight: 700;
}

.titan-shop-return {
    display: grid;
    justify-items: center;
    max-width: 820px;
    margin-inline: auto;
    padding: 42px;
    text-align: center;
}

.titan-shop-return h1 {
    margin-top: 8px;
    font-size: 2.6rem;
}

.titan-shop-return p {
    max-width: 620px;
    margin: 0;
    color: rgba(225, 233, 229, 0.78);
    line-height: 1.62;
}

.titan-shop-return-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 22px 0 0;
}

.titan-shop-return-details div,
.titan-shop-return-items article {
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(83, 209, 139, 0.14);
    border-radius: 14px;
    background: rgba(5, 10, 8, 0.56);
}

.titan-shop-return-details dt,
.titan-shop-return-details dd {
    margin: 0;
}

.titan-shop-return-details dd {
    overflow-wrap: anywhere;
    color: #fff7dc;
    font-weight: 700;
}

.titan-shop-return-items {
    display: grid;
    gap: 9px;
    width: 100%;
    margin-top: 14px;
    text-align: left;
}

.titan-shop-return-items article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    align-items: center;
}

.titan-shop-return-items strong,
.titan-shop-return-items span {
    min-width: 0;
}

.titan-shop-return-items span {
    grid-column: 1 / -1;
}

.titan-shop-return-items em {
    color: var(--gold-strong);
    font-style: normal;
    font-weight: 700;
}

.titan-shop-return-actions {
    justify-content: center;
    margin-top: 24px;
}

.titan-shop-return-paid .titan-shop-return-icon {
    border-color: rgba(83, 209, 139, 0.38);
    background: rgba(83, 209, 139, 0.12);
    color: var(--green);
}

@media (max-width: 1120px) {
    .titan-shop-layout {
        grid-template-columns: 1fr;
    }

    .titan-shop-cart {
        position: static;
    }

    .titan-shop-entitlement-card,
    .titan-shop-usage-panel .titan-shop-usage-card {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .titan-shop-entitlement-card {
        grid-template-areas:
            "media title"
            "media meta"
            "bindings bindings"
            "actions actions";
    }

    .titan-shop-entitlement-card .titan-shop-license-actions,
    .titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions {
        min-width: 0;
        justify-content: flex-start;
    }

    .titan-shop-usage-panel .titan-shop-usage-card {
        grid-template-areas:
            "media title"
            "media meta"
            "actions actions";
    }
}

@media (max-width: 860px) {
    .titan-shop-catalog,
    .titan-shop-license-panel,
    .titan-shop-cart,
    .titan-shop-return {
        padding: 20px;
        border-radius: 20px;
    }

    .titan-shop-grid,
    .titan-shop-catalog.titan-shop-standalone-panel .titan-shop-grid,
    .titan-shop-license-grid,
    .titan-shop-license-list,
    .titan-shop-license-detail-layout,
    .titan-shop-product-layout,
    .titan-shop-detail-buy form,
    .titan-shop-return-details {
        grid-template-columns: 1fr;
    }

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

    .titan-shop-entitlements-panel,
    .titan-shop-usage-panel {
        padding: 20px;
    }

    .titan-shop-entitlements-panel .titan-shop-section-head,
    .titan-shop-usage-panel .titan-shop-section-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .titan-shop-entitlements-panel .titan-shop-license-stats,
    .titan-shop-usage-panel .titan-shop-license-stats {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

}

@media (max-width: 520px) {
    .titan-shop-page {
        gap: 16px;
    }

    .titan-shop-card-actions > *,
    .titan-shop-return-actions > * {
        width: 100%;
    }

    .titan-shop-card p {
        min-height: 0;
    }

    .titan-shop-license-head-icon {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .titan-shop-license-head-icon svg {
        width: 24px;
        height: 24px;
    }

    .titan-shop-entitlements-panel .titan-shop-section-head,
    .titan-shop-usage-panel .titan-shop-section-head {
        gap: 14px;
    }

    .titan-shop-entitlements-panel .titan-shop-section-head h2,
    .titan-shop-usage-panel .titan-shop-section-head h2 {
        font-size: clamp(1.75rem, 9vw, 2.35rem);
    }

    .titan-shop-entitlement-card,
    .titan-shop-usage-panel .titan-shop-usage-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 16px;
    }

    .titan-shop-entitlement-card {
        grid-template-areas:
            "media"
            "title"
            "meta"
            "bindings"
            "actions";
    }

    .titan-shop-usage-panel .titan-shop-usage-card {
        grid-template-areas:
            "media"
            "title"
            "meta"
            "actions";
    }

    .titan-shop-entitlement-media,
    .titan-shop-usage-panel .titan-shop-usage-media {
        width: 68px;
        height: 68px;
    }

    .titan-shop-entitlement-media svg,
    .titan-shop-usage-panel .titan-shop-usage-media svg {
        width: 40px;
        height: 40px;
    }

    .titan-shop-entitlement-card .titan-shop-license-meta span,
    .titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-meta span {
        width: 100%;
        border-right: 0;
        padding-right: 0;
    }

    .titan-shop-entitlement-card .titan-shop-license-actions,
    .titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions {
        width: 100%;
    }

    .titan-shop-entitlement-card .titan-shop-license-actions .primary-button,
    .titan-shop-entitlement-card .titan-shop-license-actions .ghost-button,
    .titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions form,
    .titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions .primary-button,
    .titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-actions .ghost-button {
        width: 100%;
    }

    .titan-shop-usage-panel .titan-shop-usage-card .titan-shop-license-card-head {
        grid-template-columns: 1fr;
    }

    .titan-shop-cart-item,
    .titan-shop-return-items article {
        grid-template-columns: 1fr;
    }

    .titan-shop-cart-item-side {
        justify-items: start;
        text-align: left;
    }
}
