@font-face {
    font-family: "GMarketSans";
    src: local("GmarketSansTTFLight"), local("GmarketSansLight");
    font-weight: 300;
}

* {
    box-sizing: border-box;
}

body.mall-body {
    margin: 0;
    background: #f7fafc;
    color: var(--mall-font-color, #334155);
    font-family: "GMarketSans", "Helvetica Neue", Arial, system-ui, sans-serif;
    font-weight: 300;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.mall-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.mall-header-inner,
.mall-footer-inner,
.mall-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.mall-header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 260px minmax(280px, 1fr) auto;
    align-items: center;
    gap: 20px;
}

.mall-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.mall-brand img,
.mall-brand-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.mall-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mall-point-color, #53b8d0);
    color: #fff;
    font-weight: 700;
}

.mall-brand strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
}

.mall-brand small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 0.78rem;
}

.mall-search {
    display: flex;
    border: 1px solid #d9e2ec;
    background: #fff;
}

.mall-search input {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    outline: 0;
}

.mall-search button,
.mall-button {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--mall-point-color, #53b8d0);
    background: var(--mall-point-color, #53b8d0);
    color: #fff;
    cursor: pointer;
}

.mall-button.is-sub {
    border-color: #cbd5e1;
    background: #fff;
    color: #334155;
}

.mall-user-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: 0.85rem;
}

.mall-user-nav b {
    color: var(--mall-point-color, #53b8d0);
}

.mall-category-bar {
    width: min(1180px, calc(100% - 40px));
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    overflow-x: auto;
    color: #475569;
    font-size: 0.88rem;
}

.mall-hero {
    width: min(1180px, calc(100% - 40px));
    min-height: 320px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
    align-items: center;
    margin: 32px auto;
    padding: 42px;
    background: #101827;
    color: #fff;
}

.mall-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
}

.mall-hero p {
    max-width: 620px;
    color: #dbeafe;
}

.mall-hero img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

.mall-section {
    margin: 36px auto;
}

.mall-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.mall-section-heading h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
}

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

.mall-main-product-load-status {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
    color: #64748b;
    font-family: "GmarketSansTTFLight", "GMarketSans", sans-serif;
    font-size: 0.82rem;
    text-align: center;
}

.mall-main-product-load-status[hidden],
.mall-main-product-sentinel[hidden],
.mall-main-product-empty[hidden],
.mall-main-product-list .list-grid[hidden] {
    display: none !important;
}

.mall-main-product-retry {
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid var(--mall-point-color, #53b8d0);
    border-radius: 0;
    background: #ffffff;
    color: var(--mall-point-color, #53b8d0);
    font: inherit;
    cursor: pointer;
}

.mall-main-product-retry:hover,
.mall-main-product-retry:focus-visible {
    background: var(--mall-point-color, #53b8d0);
    color: #ffffff;
}

.mall-main-product-sentinel {
    width: 100%;
    height: 1px;
}

body.mall-page-favorites .favorites-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

body.mall-page-favorites .favorites-title-group,
body.mall-page-favorites .favorites-view-switch,
body.mall-page-favorites .favorites-view-btn {
    display: inline-flex;
    align-items: center;
}

body.mall-page-favorites .favorites-title-group {
    min-width: 0;
    gap: 10px;
}

body.mall-page-favorites .favorites-page-title {
    margin: 0;
    color: #1f2937;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
}

body.mall-page-favorites .favorites-count {
    flex: 0 0 auto;
    padding: 5px 10px;
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    color: #64748b;
    font-family: "GmarketSansTTFLight", "GMarketSans", sans-serif;
    font-size: 0.78rem;
    line-height: 1;
}

body.mall-page-favorites .favorites-count strong {
    color: #334155;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-weight: 600;
}

body.mall-page-favorites .favorites-view-switch {
    flex: 0 0 auto;
    gap: 6px;
}

body.mall-page-favorites .favorites-head .favorites-view-switch {
    gap: 0;
}

body.mall-page-favorites .favorites-view-btn {
    width: 36px;
    min-width: 36px;
    height: 34px;
    min-height: 34px;
    justify-content: center;
    padding: 0;
    border: 1px solid #d8e0ea;
    border-radius: 0;
    background: #ffffff;
    color: #64748b;
    font-family: "GmarketSansTTFLight", "GMarketSans", sans-serif;
    font-size: 0.78rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

body.mall-page-favorites .favorites-view-switch .favorites-view-btn {
    width: 36px;
    height: 34px;
    border-radius: 0;
}

body.mall-page-favorites .favorites-view-switch .favorites-view-btn + .favorites-view-btn {
    margin-left: -1px;
}

body.mall-page-favorites .favorites-view-switch .favorites-view-btn.is-active {
    position: relative;
    z-index: 1;
}

body.mall-page-favorites .favorites-view-btn:hover,
body.mall-page-favorites .favorites-view-btn:focus-visible,
body.mall-page-favorites .favorites-view-btn.is-active {
    border-color: var(--mall-point-color, #53b8d0);
    background: var(--mall-point-color, #53b8d0);
    color: #ffffff;
    outline: 0;
}

body.mall-page-favorites .favorites-grid.is-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

body.mall-page-favorites .favorites-grid.is-list .mall-product-card {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    min-height: 150px;
}

body.mall-page-favorites .favorites-grid.is-list .mall-product-thumb-wrap,
body.mall-page-favorites .favorites-grid.is-list .mall-product-thumb {
    height: 100%;
}

body.mall-page-favorites .favorites-grid.is-list .mall-product-thumb {
    aspect-ratio: auto;
}

body.mall-page-favorites .favorites-grid.is-list .mall-product-info {
    align-content: center;
    padding: 18px;
}

.mall-product-card {
    min-width: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.mall-product-thumb-wrap {
    position: relative;
    overflow: hidden;
}

.mall-product-thumb {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f1f5f9;
    color: #94a3b8;
}

.mall-product-thumb,
.product-media-main {
    position: relative;
}

.mall-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mall-product-thumb::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 38%, rgba(15, 23, 42, 0.58) 100%);
    content: '';
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.mall-product-hover-actions {
    position: absolute;
    z-index: 3;
    bottom: 12px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mall-product-hover-action {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    color: #334155;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.mall-product-card-favorite {
    position: absolute;
    z-index: 4;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
}

.mall-product-card-soldout-badge {
    position: absolute;
    z-index: 4;
    top: 10px;
    right: 10px;
    display: inline-flex;
    min-width: 48px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #ef4444;
    border-radius: 4px;
    background: #ef4444;
    color: #ffffff;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

.mall-product-hover-action:hover,
.mall-product-hover-action:focus-visible,
.mall-product-hover-action.is-active,
.mall-product-hover-action.is-complete {
    border-color: var(--mall-point-color, #53b8d0);
    background: var(--mall-point-color, #53b8d0);
    color: #ffffff;
    outline: 0;
    transform: translateY(-1px);
}

.mall-product-hover-action:disabled {
    cursor: wait;
    opacity: 0.72;
}

.mall-product-hover-action.is-loading i {
    animation: mall-product-action-spin 700ms linear infinite;
}

.mall-product-thumb-wrap:hover .mall-product-thumb::after,
.mall-product-thumb-wrap:focus-within .mall-product-thumb::after {
    opacity: 1;
}

.mall-product-thumb-wrap:hover .mall-product-hover-actions,
.mall-product-thumb-wrap:focus-within .mall-product-hover-actions {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mall-product-action-notice {
    position: fixed;
    z-index: 120;
    bottom: 24px;
    left: 50%;
    max-width: min(420px, calc(100vw - 32px));
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
    color: #ffffff;
    font-size: 0.84rem;
    line-height: 1.45;
    text-align: center;
    transform: translate(-50%, 12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.mall-product-action-notice.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.mall-product-action-notice.is-error {
    background: rgba(153, 27, 27, 0.95);
}

body.mall-product-option-modal-open {
    overflow: hidden;
}

.mall-product-option-modal {
    position: fixed;
    z-index: 1300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.mall-product-option-modal[hidden] {
    display: none;
}

.mall-product-option-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
}

.mall-product-option-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(760px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    outline: 0;
}

.mall-product-option-modal-head,
.mall-product-option-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
}

.mall-product-option-modal-head {
    border-bottom: 1px solid #e2e8f0;
}

.mall-product-option-modal-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--mall-point-color, #53b8d0);
    font-size: 0.72rem;
    font-weight: 600;
}

.mall-product-option-modal-head h2 {
    margin: 0;
    color: #1e293b;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
}

.mall-product-option-modal-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.mall-product-option-modal-close:hover,
.mall-product-option-modal-close:focus-visible {
    background: #e2e8f0;
    outline: 0;
}

.mall-product-option-modal-body {
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
}

.mall-product-option-modal-name,
.mall-product-option-modal-price,
.mall-product-option-modal-guide {
    margin: 0;
}

.mall-product-option-modal-name {
    color: #1e293b;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.mall-product-option-modal-price {
    margin-top: 5px;
    color: var(--mall-point-color, #53b8d0);
    font-size: 1.1rem;
    font-weight: 600;
}

.mall-product-option-modal-guide {
    margin-top: 16px;
    color: #64748b;
    font-size: 0.84rem;
}

.mall-product-option-modal-feedback {
    margin: 12px 0 0;
    padding: 9px 11px;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.82rem;
    line-height: 1.45;
}

.mall-product-option-modal-feedback.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.mall-product-option-modal-options {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.mall-product-option-modal-option {
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.mall-product-option-modal-option:hover,
.mall-product-option-modal-option:focus-visible,
.mall-product-option-modal-option.is-selected {
    border-color: var(--mall-point-color, #53b8d0);
    background: #f0fbfd;
    box-shadow: 0 0 0 2px rgba(83, 184, 208, 0.16);
    background: color-mix(in srgb, var(--mall-point-color, #53b8d0) 8%, #ffffff);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--mall-point-color, #53b8d0) 16%, transparent);
    outline: 0;
}

.mall-product-option-modal-option.is-soldout,
.mall-product-option-modal-option:disabled {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.78;
}

.mall-product-option-modal-option-thumb {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #94a3b8;
    object-fit: cover;
}

.mall-product-option-modal-option-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.mall-product-option-modal-option-copy strong {
    overflow: hidden;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mall-product-option-modal-option-copy span,
.mall-product-option-modal-option-soldout {
    color: #94a3b8;
    font-size: 0.76rem;
}

.mall-product-option-modal-option-soldout {
    padding: 3px 7px;
    border-radius: 99px;
    background: #e2e8f0;
    color: #64748b;
}

.mall-product-option-modal-selected {
    margin-top: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.mall-product-option-modal-selected-head,
.mall-product-option-modal-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
}

.mall-product-option-modal-selected-head {
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.84rem;
}

.mall-product-option-modal-selected-head span {
    color: #64748b;
    font-size: 0.78rem;
}

.mall-product-option-modal-selected-list {
    display: grid;
    gap: 8px;
    padding: 10px 13px;
}

.mall-product-option-modal-selected-empty {
    margin: 4px 0;
    color: #94a3b8;
    font-size: 0.82rem;
    text-align: center;
}

.mall-product-option-modal-selected-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto 28px;
    align-items: center;
    gap: 8px;
}

.mall-product-option-modal-selected-label {
    overflow: hidden;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mall-product-option-modal-quantity {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #d9e2ec;
    border-radius: 5px;
    background: #ffffff;
}

.mall-product-option-modal-quantity-button {
    width: 25px;
    min-height: 27px;
    border: 0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    line-height: 1;
}

.mall-product-option-modal-quantity input {
    width: 32px;
    min-height: 27px;
    padding: 0;
    border: 0;
    border-right: 1px solid #d9e2ec;
    border-left: 1px solid #d9e2ec;
    background: #ffffff;
    color: #334155;
    font-size: 0.78rem;
    text-align: center;
}

.mall-product-option-modal-selected-price {
    min-width: 58px;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
}

.mall-product-option-modal-selected-remove {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
}

.mall-product-option-modal-selected-remove:hover,
.mall-product-option-modal-selected-remove:focus-visible {
    background: #e2e8f0;
    color: #334155;
    outline: 0;
}

.mall-product-option-modal-total {
    border-top: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.84rem;
}

.mall-product-option-modal-total strong {
    color: var(--mall-point-color, #53b8d0);
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.mall-product-option-modal-actions {
    justify-content: flex-end;
    border-top: 1px solid #e2e8f0;
}

.mall-product-option-modal-actions .btn {
    min-width: 110px;
}

.mall-product-option-modal-actions .btn.is-loading,
.mall-product-option-modal-actions .btn:disabled {
    cursor: wait;
    opacity: 0.68;
}

@media (max-width: 540px) {
    .mall-product-option-modal {
        padding: 16px;
    }

    .mall-product-option-modal-dialog {
        max-height: calc(100dvh - 32px);
        border-radius: 10px;
    }

    .mall-product-option-modal-head,
    .mall-product-option-modal-actions,
    .mall-product-option-modal-body {
        padding-right: 16px;
        padding-left: 16px;
    }

    .mall-product-option-modal-selected-row {
        grid-template-columns: minmax(0, 1fr) auto 28px;
    }

    .mall-product-option-modal-selected-price {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .mall-product-option-modal-actions .btn {
        min-width: 0;
        flex: 1;
    }
}

@keyframes mall-product-action-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (hover: none), (pointer: coarse) {
    .mall-product-thumb::after {
        opacity: 1;
    }

    .mall-product-hover-actions {
        transform: translate(-50%, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.mall-product-image-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    max-width: calc(100% - 64px);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    pointer-events: none;
}

.mall-product-image-badge {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    color: #ffffff;
    font-family: "GmarketSansTTFMedium", sans-serif;
    font-size: 0.69rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.mall-product-image-badge.is-new {
    background: #0f9f6e;
}

.mall-product-image-badge.is-best {
    background: #6d4dcc;
}

.mall-product-image-badge.is-recommend {
    background: #1d7fcb;
}

.mall-product-image-badge.is-sale {
    background: #e63946;
}

.mall-product-image-badge.is-limited {
    background: #475569;
}

.mall-product-image-badge.is-free_shipping {
    background: #d97706;
}

.mall-product-info {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.mall-product-name {
    min-height: 42px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.45;
}

.mall-product-code {
    color: #94a3b8;
    font-size: 0.78rem;
}

body.mall-theme-brand .mall-product-card .mall-product-price {
    position: relative;
    top: -3px;
    color: #444444;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    font-synthesis: none;
    line-height: 1.15;
    white-space: nowrap;
}

body.mall-theme-brand .mall-product-card .mall-product-card-price-line {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.mall-product-card-price-values {
    display: inline-flex;
    min-width: 0;
    margin-left: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

body.mall-theme-brand .mall-product-card .mall-product-consumer-price {
    color: #a9b5c6;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: line-through;
    white-space: nowrap;
}

.mall-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-family: "GmarketSansTTFLight", "GMarketSans", sans-serif;
    font-size: 0.76rem;
    font-weight: 300;
    line-height: 1;
    white-space: nowrap;
}

.mall-product-rating-star {
    color: var(--shop-highlight-color, #53b8d0);
    font-size: 0.72rem;
    line-height: 1;
}

.mall-product-rating-score {
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.mall-product-rating-count {
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

body.mall-theme-brand .mall-product-card .mall-product-discount-rate {
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ef4444;
    font-size: 2.3rem;
    line-height: 1;
    white-space: nowrap;
}

.mall-product-discount-number {
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1em;
    font-weight: 600;
    font-synthesis: none;
}

.mall-product-discount-unit {
    align-self: flex-end;
    margin-left: 1px;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 50%;
    font-weight: 600;
    line-height: 1;
}

.mall-status-badge {
    width: fit-content;
    padding: 3px 8px;
    font-size: 0.72rem;
}

.mall-badge-normal {
    background: #e0f2fe;
    color: #0369a1;
}

.mall-badge-muted {
    background: #f1f5f9;
    color: #64748b;
}

.mall-card,
.mall-table-card {
    padding: 22px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.mall-page-title {
    margin: 34px 0 18px;
    font-size: 1.8rem;
    font-weight: 600;
}

.mall-form {
    display: grid;
    gap: 14px;
}

.mall-form label {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 0.86rem;
}

.mall-form input,
.mall-form textarea,
.mall-form select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d9e2ec;
    background: #fff;
}

.mall-form textarea {
    min-height: 100px;
    padding-top: 10px;
}

.mall-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.mall-text-button {
    border: 0;
    background: transparent;
    color: var(--mall-delete-color, #ef4444);
    cursor: pointer;
}

.mall-detail {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    gap: 34px;
    margin-top: 34px;
}

.mall-detail-image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    overflow: hidden;
}

.mall-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mall-detail-info h1 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.mall-detail-price {
    display: block;
    margin: 20px 0;
    font-size: 1.7rem;
    font-weight: 600;
}

.mall-detail-content {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    line-height: 1.7;
}

.mall-detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}

.mall-detail-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.mall-spec-list {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 10px 14px;
    margin: 18px 0;
}

.mall-spec-list dt {
    color: #64748b;
}

.mall-spec-list dd {
    margin: 0;
    color: #1f2937;
}

.mall-add-cart-form {
    margin-top: 22px;
}

.mall-table {
    width: 100%;
    border-collapse: collapse;
}

.mall-table th,
.mall-table td {
    padding: 13px 10px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.mall-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
}

.mall-qty-input {
    width: 88px;
    min-height: 36px;
    padding: 0 8px;
    border: 1px solid #d9e2ec;
}

.mall-summary {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    font-size: 1rem;
}

.mall-summary strong {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
}

.mall-split,
.mall-account-grid,
.mall-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mall-order-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.mall-auth-wrap {
    display: flex;
    justify-content: center;
    padding: 54px 0;
}

.mall-auth-card {
    width: min(420px, 100%);
}

.mall-auth-card h1,
.mall-card h3 {
    margin-top: 0;
}

.mall-link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    color: #1e293b;
    font-weight: 600;
}

.mall-empty {
    padding: 48px 20px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    text-align: center;
}

.mall-alert {
    padding: 12px 14px;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    color: #0369a1;
}

.mall-alert.is-error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

body.mall-page-register {
    background: #ffffff;
}

.mall-page-login {
    background: #ffffff;
}

body.mall-page-auth {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mall-signup-page {
    flex: 1 0 auto;
    min-height: 0;
    background: #ffffff;
    color: #1f2937;
    padding: 20px 16px 18px;
}

.mall-signup-shell {
    position: relative;
    max-width: 528px;
    margin: 0 auto;
    padding: 0;
}

.mall-signup-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    background: #ffffff;
    text-decoration: none;
}

.mall-signup-back:hover {
    border-color: var(--shop-highlight-color, #55bfd0);
    color: var(--shop-highlight-color, #55bfd0);
}

.mall-signup-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 122px;
    padding-top: 24px;
    gap: 8px;
    text-align: center;
}

.mall-signup-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.mall-signup-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "GmarketSansTTFMedium", sans-serif;
    font-size: 42px;
    line-height: 1;
    color: #0d8dff;
    background: linear-gradient(135deg, #18a8ff, #1d56ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mall-signup-shop-name {
    font-family: "GmarketSansTTFMedium", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.mall-member-only-notice {
    margin: 0;
    color: #718093;
    font-family: "GmarketSansTTFLight", sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.45;
}

.mall-signup-form {
    margin-top: 64px;
}

.mall-page-login .mall-signup-shell {
    min-height: 100%;
    display: grid;
}

.mall-page-login .mall-login-auth-center {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-self: center;
}

.mall-page-login .mall-signup-brand {
    min-height: 118px;
}

.mall-page-login .mall-signup-form {
    margin-top: 66px;
}

.mall-page-login .mall-signup-submit {
    margin-top: 0;
}

body.mall-page-member-only.mall-page-login {
    height: 100vh;
    height: 100dvh;
}

body.mall-page-member-only.mall-page-login .mall-signup-page {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
}

body.mall-page-member-only.mall-page-login .mall-signup-shell {
    width: min(528px, 100%);
    min-height: 0;
    margin: 0;
}

body.mall-page-member-only.mall-page-login .mall-login-auth-center {
    width: 100%;
    align-self: auto;
}

.mall-signup-title {
    margin: 0 0 16px;
    font-family: "GmarketSansTTFMedium", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.mall-signup-alert {
    margin-bottom: 14px;
}

.mall-signup-field {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 45px;
    margin-bottom: 15px;
    border: 1px solid #dbe2ea;
    background: #eaf2ff;
}

.mall-signup-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9aa4b2;
    font-size: 16px;
}

.mall-signup-field input {
    width: 100%;
    min-width: 0;
    height: 43px;
    border: 0;
    outline: 0;
    padding: 0 14px;
    background: #eaf2ff;
    color: #1f2937;
    font-family: "GmarketSansTTFLight", sans-serif;
    font-size: 16px;
}

.mall-signup-field input::placeholder {
    color: #9aa4b2;
}

.mall-signup-field:focus-within {
    border-color: #c7d5e8;
}

.mall-signup-field:focus-within input {
    background: #edf4ff;
}

.mall-signup-agreement {
    margin-top: 2px;
    border: 1px solid #dbe2ea;
    background: #ffffff;
}

.mall-signup-check,
.mall-signup-agreement-line {
    min-height: 41px;
}

.mall-signup-check {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #6b7280;
    font-family: "GmarketSansTTFLight", sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.mall-signup-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mall-signup-check-box {
    width: 20px;
    height: 20px;
    border: 1px solid #c7d5e8;
    background: #ffffff;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mall-signup-check input:checked + .mall-signup-check-box {
    border-color: var(--shop-highlight-color, #55bfd0);
    background: var(--shop-highlight-color, #55bfd0);
}

.mall-signup-check input:checked + .mall-signup-check-box::after {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translateY(-1px);
}

.mall-signup-check-all {
    width: 100%;
    padding: 0 12px;
}

.mall-signup-agreement-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border-top: 1px solid #e5ebf2;
}

.mall-signup-policy-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    color: #51637a;
    text-decoration: none;
}

.mall-signup-policy-link:hover {
    color: var(--shop-highlight-color, #55bfd0);
}

.mall-signup-submit {
    width: 100%;
    height: 50px;
    margin-top: 14px;
    border: 1px solid var(--shop-highlight-color, #55bfd0);
    background: var(--shop-highlight-color, #55bfd0);
    color: #ffffff;
    font-family: "GmarketSansTTFMedium", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.mall-signup-submit:hover {
    filter: brightness(0.96);
}

.mall-signup-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 33px 0 20px;
    color: #a0a8b4;
    font-family: "GmarketSansTTFLight", sans-serif;
    font-size: 13px;
}

.mall-signup-divider::before,
.mall-signup-divider::after {
    content: "";
    height: 1px;
    background: #d8e0ea;
    flex: 1 1 auto;
}

.mall-signup-social-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 53px 0 28px;
    color: #59616d;
    font-family: "GmarketSansTTFLight", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}

.mall-signup-social-heading::before,
.mall-signup-social-heading::after {
    content: "";
    height: 1px;
    background: #d8e0ea;
    flex: 1 1 auto;
}

.mall-signup-social-heading span {
    flex: 0 1 auto;
}

.mall-signup-oauth {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.mall-signup-oauth-button {
    width: 100%;
    min-width: 0;
    min-height: 106px;
    display: inline-flex;
    flex-direction: column;
    border: 0;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #2f3948;
    background: transparent;
    text-decoration: none;
    font-family: "GmarketSansTTFMedium", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.mall-signup-oauth-button + .mall-signup-oauth-button {
    border-left: 1px dashed #d8e0ea;
}

.mall-signup-oauth-button:hover {
    color: var(--shop-highlight-color, #55bfd0);
}

.mall-signup-oauth-mark {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-family: Arial, sans-serif;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.mall-signup-oauth-button:hover .mall-signup-oauth-mark {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.1);
}

.mall-signup-oauth-label {
    display: block;
    width: auto;
    color: #1f2937;
    font-family: "GmarketSansTTFMedium", sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.mall-signup-oauth-mark.is-naver {
    background: #03c75a;
    color: #ffffff;
}

.mall-signup-oauth-mark.is-google {
    border: 1px solid #e0e6ef;
    background: #ffffff;
    color: #4285f4;
}

.mall-signup-oauth-mark.is-kakao {
    background: #ffdf00;
    color: #301d09;
}

.mall-signup-naver-word {
    font-family: Arial, sans-serif;
    font-size: 0;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.mall-signup-naver-word::before {
    content: "N";
    font-size: 29px;
    font-weight: 900;
}

.mall-signup-google-word {
    font-family: Arial, sans-serif;
    font-size: 0;
    font-weight: 700;
    letter-spacing: 0;
    color: #4285f4;
}

.mall-signup-google-word::before {
    content: "G";
    display: block;
    font-size: 34.1px;
    font-weight: 700;
    line-height: 1;
    background: conic-gradient(from -35deg, #4285f4 0 25%, #34a853 25% 43%, #fbbc05 43% 62%, #ea4335 62% 82%, #4285f4 82% 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.mall-signup-kakao-word {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37.8px;
    height: 28.8px;
    border-radius: 50%;
    background: #301d09;
    color: #ffdf00;
    font-family: Arial, sans-serif;
    font-size: 0;
    font-weight: 800;
    line-height: 1;
}

.mall-signup-kakao-word::before {
    content: "TALK";
    font-size: 9.9px;
    font-weight: 800;
}

.mall-signup-login-link {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 28px auto 0;
    color: #6b7280;
    font-family: "GmarketSansTTFLight", sans-serif;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mall-signup-login-link:hover {
    color: var(--shop-highlight-color, #55bfd0);
}

@media (max-width: 520px) {
    .mall-signup-page {
        padding: 20px 16px 18px;
    }

    .mall-signup-shell {
        padding: 0;
    }

    .mall-signup-back {
        left: 0;
    }

    .mall-signup-form {
        margin-top: 28px;
    }

    .mall-page-login .mall-signup-brand {
        min-height: 112px;
    }

    .mall-page-login .mall-signup-form {
        margin-top: 28px;
    }

    .mall-signup-field {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .mall-signup-field input {
        font-size: 15px;
    }

    .mall-signup-oauth {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mall-signup-oauth-button {
        min-height: 94px;
        font-size: 14px;
    }

    .mall-signup-oauth-mark {
        width: 56px;
        height: 56px;
    }

}
.wrap {
    max-width: var(--mall-shell-width, 1400px);
    width: 100%;
    margin: 28px auto 48px;
    padding: 0 var(--mall-shell-padding-x, 16px);
}
.section-card {
    background: #ffffff;
    border: 1px solid var(--line, #d6dee8);
    border-radius: 0;
    box-shadow: none;
}
.product-page .product-detail-card {
    align-items: start;
    padding: 24px;
}
.product-gallery,
.product-summary {
    min-width: 0;
}
.product-tabs {
    margin-top: 24px;
    padding: 0;
}
.product-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--line, #d6dee8);
}
.product-tab-nav a {
    min-width: 150px;
    padding: 15px 20px;
    border-right: 1px solid var(--line, #d6dee8);
    text-align: center;
    color: #64748b;
}
.product-tab-nav a.is-active {
    color: #111827;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    box-shadow: inset 0 -2px 0 var(--mall-point-color, #53b8d0);
}
.product-tab-panel {
    padding: 24px;
}
.product-tab-empty {
    border-top: 1px solid #eef2f7;
    color: #94a3b8;
    text-align: center;
}
.cart-card,
.checkout-card,
.my-orders-card,
.order-detail-card,
.profile-wrap > .profile-card,
.point-history-card,
.favorites-card,
.support-card {
    padding: 24px;
}
.cart-table-card,
.my-orders-table-wrap,
.order-detail-table-wrap,
.point-history-table-wrap {
    padding: 0;
    overflow-x: auto;
    border-radius: 0;
}
.cart-table th,
.cart-table td,
.my-orders-table th,
.my-orders-table td,
.order-detail-table th,
.order-detail-table td,
.point-history-table th,
.point-history-table td {
    text-align: center;
}
.cart-table th,
.my-orders-table th,
.order-detail-table th,
.point-history-table th {
    background: #f8fafc;
    color: #1f2937;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
}
.cart-summary,
.checkout-summary-card .mall-summary {
    border-top: 1px solid var(--line, #d6dee8);
}
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 18px;
    align-items: start;
}
.cart-main {
    min-width: 0;
}
.cart-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line, #d6dee8);
    background: #fff;
}
.cart-table {
    min-width: 900px;
}
.cart-table th,
.cart-table td {
    vertical-align: middle;
}
body.mall-page-cart .cart-table thead th {
    background: #f1f5f9;
    color: #334155;
}
.cart-select-cell {
    width: 54px;
}
.cart-image-cell {
    width: 102px;
}
.cart-select-cell input[type="checkbox"],
.cart-all-select input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    box-sizing: border-box;
    appearance: none;
    border: 1px solid #9fb1c7;
    border-radius: 2px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px 13px;
    cursor: pointer;
    vertical-align: middle;
}
.cart-select-cell input[type="checkbox"] {
    width: 22px;
    height: 22px;
}
.cart-select-cell input[type="checkbox"]:checked,
.cart-all-select input[type="checkbox"]:checked {
    border-color: var(--mall-point-color, #53b8d0);
    background-color: var(--mall-point-color, #53b8d0);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8.25 3.05 3.05L13 4.5' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2'/%3E%3C/svg%3E");
}
.cart-select-cell input[type="checkbox"]:indeterminate,
.cart-all-select input[type="checkbox"]:indeterminate {
    border-color: var(--mall-point-color, #53b8d0);
    background-color: var(--mall-point-color, #53b8d0);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8h9' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-width='2.2'/%3E%3C/svg%3E");
}
.cart-select-cell input[type="checkbox"]:focus-visible,
.cart-all-select input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--mall-point-color, #53b8d0);
    outline-offset: 2px;
}
.cart-image-thumb,
.cart-image-placeholder {
    display: block;
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    object-fit: cover;
}
.cart-image-placeholder {
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 0.72rem;
}
.cart-product-cell {
    min-width: 180px;
    text-align: left !important;
}
.cart-product-link {
    color: #1f2937;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
}
.cart-product-link:hover {
    color: var(--mall-point-color, #53b8d0);
}
.cart-product-delivery {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 6px;
    color: #64748b;
    font-family: "GmarketSansTTFLight", "GMarketSans", sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.4;
}
.cart-price-cell {
    min-width: 108px;
}
.cart-price-stack {
    display: grid;
    justify-items: center;
    gap: 4px;
    white-space: nowrap;
}
.cart-consumer-price {
    color: #94a3b8;
    font-size: 0.8rem;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}
.cart-sale-price {
    color: #334155;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
}
.cart-option-cell {
    min-width: 136px;
}
.cart-option-cell.has-option {
    padding-top: 1px;
    padding-bottom: 1px;
}
.cart-table .cart-option-quantity-cell,
.cart-table .cart-option-total-cell {
    padding-top: 6px;
    padding-bottom: 6px;
}
.cart-table .cart-option-total-cell {
    padding-right: 10px !important;
    text-align: right !important;
}
.cart-option-item {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.cart-option-text {
    color: #64748b;
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-option-remove-btn {
    display: inline-grid;
    width: 22px;
    min-width: 22px;
    height: 22px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.86rem;
}
.cart-option-remove-btn:hover {
    background: #fef2f2;
}
.cart-quantity-control {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #d9e2ec;
    background: #fff;
}
.cart-qty-button {
    display: inline-grid;
    width: 30px;
    min-width: 30px;
    min-height: 32px;
    place-items: center;
    border: 0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
}
.cart-qty-button:hover:not(:disabled) {
    background: #eef6fa;
    color: var(--mall-point-color, #53b8d0);
}
.cart-qty-button:disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}
.cart-quantity-control .mall-qty-input {
    box-sizing: border-box;
    width: 48px;
    min-width: 48px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-right: 1px solid #d9e2ec;
    border-left: 1px solid #d9e2ec;
    border-radius: 0;
    background: #fff;
    color: #334155;
    text-align: center;
}
.cart-form .cart-quantity-control .mall-qty-input,
.cart-form .cart-quantity-control .mall-qty-input:focus,
.cart-form .cart-quantity-control .mall-qty-input:focus-visible {
    border-top: 0;
    border-right: 1px solid #d9e2ec;
    border-bottom: 0;
    border-left: 1px solid #d9e2ec;
    border-radius: 0;
    box-shadow: none;
    outline: 0;
}
.cart-product-remove-btn {
    display: inline-grid;
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    place-items: center;
    border: 1px solid #fecaca;
    background: #fff;
    color: #ef4444;
    cursor: pointer;
}
.cart-product-remove-btn:hover {
    border-color: #f87171;
    background: #fef2f2;
}
.cart-selection-summary {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.88rem;
}
.cart-selection-summary strong {
    margin-left: 4px;
    color: #334155;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
}
.cart-list-actions {
    display: none;
}
.cart-side {
    position: sticky;
    top: 112px;
    min-width: 0;
}
.cart-side-box {
    padding: 18px;
    border: 1px solid var(--line, #d6dee8);
    background: #f8fafc;
}
.cart-side-title {
    margin: 0 0 16px;
    color: #334155;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1rem;
}
.cart-side-lines {
    display: grid;
    gap: 10px;
}
.cart-side-line,
.cart-side-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 0.9rem;
}
.cart-side-line strong,
.cart-side-total strong {
    color: #334155;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
}
.cart-side-line b {
    font: inherit;
}
.cart-side-order-button b {
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-weight: 600;
}
.cart-side-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #cbd5e1;
    color: #334155;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
}
.cart-side-total strong {
    font-size: 1.12rem;
}
.cart-side .cart-side-order-button {
    display: block;
    width: 100%;
    margin-top: 16px;
    border-radius: 0;
    font-family: "GmarketSansTTFLight", "GMarketSans", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
}
.cart-side-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.cart-all-select,
.cart-side-action-btn {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 0.82rem;
    cursor: pointer;
}
.cart-side-action-btn.delete {
    border-color: #fecaca;
    color: #ef4444;
}
.cart-side-order-button:disabled,
.cart-side-action-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.cart-selection-message {
    margin: 12px 0 0;
    color: #dc2626;
    font-size: 0.82rem;
    text-align: center;
}
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 18px;
    align-items: start;
}
.checkout-form-card,
.checkout-summary-card,
.profile-card,
.point-history-summary-card {
    border-radius: 0;
    box-shadow: none;
}
.my-orders-wrap .my-orders-card,
.order-detail-wrap .order-detail-card,
.profile-wrap > .profile-card,
.point-history-wrap .point-history-card {
    display: grid;
    gap: 16px;
}
.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(160px, 1fr));
    gap: 14px;
}
.profile-layout .profile-card {
    min-height: 128px;
}
.point-history-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.point-history-summary-card {
    display: grid;
    gap: 8px;
}
.point-history-label {
    color: #64748b;
    font-size: 0.84rem;
}
.point-history-value {
    color: #111827;
    font-family: "GmarketSansTTFMedium", "GMarketSans", sans-serif;
    font-size: 1.35rem;
}
.point-empty {
    height: 120px;
    color: #94a3b8;
    text-align: center;
}

.mall-footer {
    margin-top: 60px;
    padding: 28px 0;
    background: var(--mall-bottom-color, #0f172a);
    color: #cbd5e1;
    font-size: 0.82rem;
}

.mall-footer strong {
    color: #fff;
}

@media (max-width: 900px) {
    .mall-header-inner,
    .mall-hero,
    .mall-detail,
    .mall-split,
    .mall-account-grid,
    .mall-support-grid,
    .cart-layout,
    .checkout-layout,
    .profile-layout,
    .point-history-grid {
        grid-template-columns: 1fr;
    }

    .cart-side {
        position: static;
    }

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

    body.mall-page-favorites .favorites-head {
        align-items: flex-start;
        flex-direction: column;
    }

    body.mall-page-favorites .favorites-grid.is-list .mall-product-card {
        grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
        min-height: 120px;
    }
}

@media (max-width: 520px) {
    body.mall-page-favorites .favorites-title-group {
        width: 100%;
        justify-content: space-between;
    }

    body.mall-page-favorites .favorites-view-switch {
        width: 100%;
    }

    body.mall-page-favorites .favorites-view-btn {
        flex: 1 1 0;
        justify-content: center;
    }
}
