body {
    font-family: 'Pretendard', sans-serif;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    z-index: 950;
    width: calc(100% - 2rem);
    max-width: 480px;
    transform: translateX(-50%);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.bottom-nav ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 76px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bottom-nav li {
    position: relative;
    flex: 1;
    height: 100%;
}

.bottom-nav li.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 34%;
    height: 3px;
    min-width: 42px;
    border-radius: 999px;
    background: #111827;
    transform: translateX(-50%);
}

.bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    height: 100%;
    color: #7d7d7e;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.bottom-nav svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.bottom-nav li.active a,
.bottom-nav a.active {
    color: #111827;
}

.floating-contact-button {
    position: fixed;
    right: max(18px, calc((100vw - 1180px) / 2 + 18px));
    bottom: 112px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 74px;
    height: 42px;
    padding: 0 13px;
    border-radius: 999px;
    background: #ffd018;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.floating-contact-button:hover {
    background: #ffc400;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

.floating-contact-button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: currentColor;
}

.page-shell {
    max-width: 1280px;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: visible;
    white-space: nowrap;
}

.site-nav-item {
    position: relative;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    height: 3rem;
    padding: 0 1.15rem;
    color: #111827;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.site-nav-link:hover,
.site-nav-item:hover .site-nav-link {
    color: #6d28d9;
    border-bottom-color: #6d28d9;
}

.site-nav-badge {
    margin-left: 0.35rem;
    padding: 0.12rem 0.35rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
}

.site-submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 160px;
    padding: 0.8rem 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.site-nav-item:hover .site-submenu {
    display: block;
}

.site-submenu a {
    display: block;
    padding: 0.65rem 1.45rem;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.site-submenu a:hover {
    background: #f5f3ff;
    color: #6d28d9;
}

.section-wrap {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.8rem 2rem;
}

.product-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    padding: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5 0%, #c026d3 48%, #f59e0b 100%);
}

.product-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-visual.dark {
    background: radial-gradient(circle at 80% 85%, #10b981 0, #07110e 34%, #000 70%);
}

.product-platform {
    display: block;
    margin-top: 3.9rem;
    font-size: 0.9rem;
    opacity: 0.78;
}

.product-visual-title {
    display: block;
    margin-top: 0.8rem;
    font-size: clamp(1.45rem, 2.6vw, 2.25rem);
    line-height: 1.16;
    font-weight: 900;
    letter-spacing: 0;
}

.product-icon {
    position: absolute;
    right: 1.45rem;
    top: 1.45rem;
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    color: #a21caf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.product-ribbon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.9rem 1rem;
    background: rgba(65, 31, 82, 0.38);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-meta {
    padding-top: 1rem;
}

.product-kicker {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1;
}

.product-title {
    margin-top: 0.3rem;
    min-height: 2.3rem;
    color: #111827;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.45;
}

.product-rating {
    margin-top: 0.8rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    color: #f5b301;
    font-size: 0.82rem;
    font-weight: 800;
}

.product-rating span {
    color: #4b5563;
    margin-left: 0.4rem;
}

.product-price {
    margin-top: 0.7rem;
    display: flex;
    gap: 0.7rem;
    align-items: center;
    font-size: 0.88rem;
}

.product-price strong {
    color: #ef4444;
}

.product-price del {
    color: #6b7280;
}

.product-new {
    display: inline-flex;
    margin-top: 0.7rem;
    padding: 0.1rem 0.35rem;
    border: 1px solid #d1d5db;
    color: #9ca3af;
    font-size: 0.58rem;
    line-height: 1.1;
}

.catalog-head {
    padding: 2.5rem 0 1.5rem;
}

.catalog-head h1,
.empty-state h1,
.product-detail-info h1 {
    margin: 0;
    color: #111827;
    font-weight: 900;
    letter-spacing: 0;
}

.catalog-head h1 {
    font-size: 2rem;
}

.catalog-head p,
.empty-state p,
.detail-summary {
    margin-top: 0.6rem;
    color: #6b7280;
}

.empty-state {
    margin: 4rem auto;
    max-width: 520px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.empty-state h1 {
    font-size: 1.45rem;
}

.empty-state a {
    display: inline-flex;
    margin-top: 1.2rem;
    padding: 0.8rem 1.1rem;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    padding: 3rem 0;
}

.product-detail .product-visual {
    width: 100%;
}

.product-detail-info {
    padding-top: 0.3rem;
}

.product-detail-info h1 {
    margin-top: 0.8rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.18;
}

.detail-chip,
.detail-price span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.detail-chip {
    padding: 0.35rem 0.7rem;
    background: #eef2ff;
    color: #4338ca;
}

.detail-summary {
    font-size: 1rem;
}

.detail-live-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.detail-live-stats span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 0.75rem;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.86rem;
    font-weight: 900;
}

.detail-price {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}

.detail-price strong {
    color: #ef4444;
    font-size: 1.7rem;
    font-weight: 900;
}

.detail-price del {
    color: #6b7280;
}

.detail-price span {
    padding: 0.25rem 0.55rem;
    border: 1px solid #d1d5db;
    color: #6b7280;
}

.detail-buy {
    display: inline-flex;
    justify-content: center;
    margin-top: 1.7rem;
    min-width: 180px;
    padding: 0.95rem 1.4rem;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}

.detail-options {
    margin-top: 1.4rem;
}

.detail-options label {
    display: block;
    margin-bottom: 0.9rem;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 800;
}

.detail-options input,
.detail-options select {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    margin-top: 0.45rem;
    padding: 0 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font: inherit;
}

.product-description {
    margin: 1.5rem 0 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.product-description-html {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    color: #1f2937;
    line-height: 1.8;
}

.product-description-html img,
.product-description img {
    display: block;
    width: min(900px, 100%);
    height: auto;
    margin: 0 auto 1rem;
    border-radius: 8px;
}

.product-community {
    margin: 2rem 0 5rem;
    border-top: 1px solid #e5e7eb;
}

.community-alert {
    margin: 1.2rem 0 0;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 800;
}

.community-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1.4rem 0 0;
}

.community-tabs a {
    display: inline-flex;
    padding: 0.72rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-weight: 900;
    text-decoration: none;
}

.community-panel {
    margin-top: 1.4rem;
    padding: 1.2rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.community-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f7;
}

.community-head h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
}

.community-head h2 span {
    color: #2563eb;
}

.community-head p,
.community-note {
    margin: 0;
    color: #6b7280;
}

.community-form {
    display: grid;
    gap: 0.85rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: #f9fafb;
}

.community-form label {
    color: #374151;
    font-size: 0.92rem;
    font-weight: 800;
}

.community-form input[type="text"],
.community-form select,
.community-form textarea {
    box-sizing: border-box;
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font: inherit;
}

.community-form textarea {
    resize: vertical;
}

.community-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.community-check input {
    width: auto;
    margin: 0;
}

.community-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.community-item {
    padding: 1rem;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #fff;
}

.community-item-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.community-item-head strong {
    color: #111827;
}

.community-item-head span {
    color: #6b7280;
    font-size: 0.85rem;
}

.community-item p {
    margin: 0;
    color: #374151;
    line-height: 1.7;
}

.community-answer {
    margin-top: 0.8rem;
    padding: 0.85rem;
    border-radius: 8px;
    background: #eef2ff;
}

@media (max-width: 900px) {
    .site-nav {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .site-nav-link {
        height: 2.75rem;
        padding: 0 0.95rem;
    }

    .site-submenu {
        display: none !important;
    }

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

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem 0.85rem;
    }

    .catalog-head {
        padding: 1.8rem 0 1rem;
    }

    .catalog-head h1 {
        font-size: 1.55rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 1.3rem;
        padding: 1.6rem 0;
    }

    .product-detail-media {
        max-width: 320px;
        width: 100%;
    }

    .product-detail-info h1 {
        font-size: 1.65rem;
    }

    .detail-buy {
        width: 100%;
    }

    .product-visual {
        padding: 1rem;
        border-radius: 7px;
    }

    .product-platform {
        margin-top: 2.6rem;
        font-size: 0.74rem;
    }

    .product-visual-title {
        font-size: 1.08rem;
        line-height: 1.18;
    }

    .product-icon {
        right: 0.85rem;
        top: 0.85rem;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 12px;
        font-size: 1rem;
    }

    .product-ribbon {
        padding: 0.55rem 0.45rem;
        font-size: 0.68rem;
    }

    .product-meta {
        padding-top: 0.65rem;
    }

    .product-title {
        min-height: 2.55rem;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .product-rating {
        margin-top: 0.55rem;
        padding-top: 0.55rem;
        font-size: 0.72rem;
    }

    .product-rating span {
        display: block;
        margin-left: 0;
        margin-top: 0.15rem;
    }

    .product-price {
        gap: 0.4rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 340px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Commerce polish */
body {
    background: #f6f7f9;
    color: #111827;
}

.commerce-page {
    background: #f6f7f9;
}

.site-header {
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.site-nav {
    border-top: 1px solid #f1f3f5;
}

.site-nav-link {
    color: #1f2937;
    font-weight: 800;
}

.site-nav-link:hover,
.site-nav-item:hover .site-nav-link {
    color: #111827;
    border-bottom-color: #111827;
}

.site-submenu {
    border-radius: 6px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.site-submenu a:hover {
    background: #f3f4f6;
    color: #111827;
}

.catalog-head {
    margin: 1.6rem 0 1.5rem;
    padding: 1.55rem 1.7rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.catalog-head h1 {
    font-size: 1.8rem;
}

.catalog-head p {
    margin-top: 0.45rem;
}

.product-grid {
    gap: 1.25rem;
}

.product-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.product-visual {
    border-radius: 0;
}

.product-meta {
    padding: 0.95rem 1rem 1.05rem;
}

.product-kicker {
    display: none;
}

.product-title {
    margin-top: 0;
    min-height: 2.65rem;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 850;
}

.product-rating {
    margin-top: 0.85rem;
    padding-top: 0.8rem;
    border-top: 1px solid #f1f3f5;
}

.product-price {
    margin-top: 0.65rem;
}

.product-price strong {
    color: #e11d48;
    font-size: 1rem;
    font-weight: 900;
}

.product-new {
    border-color: #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.65rem;
    font-weight: 900;
}

.product-detail {
    grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
    gap: 2rem;
    margin: 1.7rem 0 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-detail-media {
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #f9fafb;
    overflow: hidden;
}

.product-detail .product-visual {
    border-radius: 0;
}

.product-detail-info {
    padding: 0.25rem 0 0;
}

.product-detail-info h1 {
    margin-top: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f7;
    font-size: clamp(1.75rem, 2.4vw, 2.45rem);
}

.detail-chip {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
}

.detail-summary {
    margin-top: 1rem;
    color: #4b5563;
}

.detail-live-stats {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef2f7;
}

.detail-live-stats span {
    border-color: #e5e7eb;
    background: #f9fafb;
    color: #374151;
}

.detail-price {
    margin-top: 1.15rem;
    padding: 1rem 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.detail-price strong {
    color: #e11d48;
    font-size: 2rem;
}

.detail-price del {
    font-size: 1rem;
}

.detail-options {
    margin-top: 1.2rem;
    padding: 1.1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.detail-options label {
    margin-bottom: 0.95rem;
}

.detail-options input,
.detail-options select,
.community-form input[type="text"],
.community-form select,
.community-form textarea {
    border-color: #d1d5db;
    border-radius: 6px;
    background: #fff;
}

.detail-options input:focus,
.detail-options select:focus,
.community-form input[type="text"]:focus,
.community-form select:focus,
.community-form textarea:focus {
    border-color: #111827;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.detail-buy {
    width: 100%;
    min-height: 52px;
    border-radius: 6px;
    background: #111827;
    font-size: 1rem;
    letter-spacing: 0;
    transition: background 0.18s ease, transform 0.18s ease;
}

.detail-buy:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.product-description {
    margin: 0 0 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.product-description-html {
    max-width: 980px;
}

.product-community {
    margin: 0 0 5rem;
    border-top: 0;
}

.community-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border: 1px solid #d1d5db;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.community-tabs a {
    justify-content: center;
    border: 0;
    border-right: 1px solid #d1d5db;
    border-radius: 0;
    background: #f9fafb;
    color: #374151;
}

.community-tabs a:last-child {
    border-right: 0;
}

.community-tabs a:hover {
    background: #fff;
    color: #111827;
}

.community-panel {
    margin-top: 0;
    padding: 1.35rem;
    border-color: #d1d5db;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.community-panel + .community-panel {
    margin-top: 1.5rem;
    border-radius: 8px;
}

.community-head {
    align-items: center;
}

.community-head h2 {
    font-size: 1.22rem;
}

.community-form {
    border: 1px solid #eef2f7;
    background: #fafafa;
}

.community-item {
    border-color: #e5e7eb;
    background: #fff;
}

.community-item-head strong {
    font-weight: 900;
}

.community-answer {
    border: 1px solid #dbeafe;
    background: #eff6ff;
}

.detail-review-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.9rem;
    color: #111827;
    font-size: 1rem;
}

.detail-review-line .review-star {
    color: #facc15;
    font-size: 1.05rem;
}

.detail-review-line strong {
    font-weight: 900;
}

.detail-review-line a {
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail-live-stats .purchase-badge {
    position: relative;
    min-height: 30px;
    padding: 0 0.78rem;
    border: 1px solid #a8a8a8;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    font-size: 0.84rem;
    font-weight: 700;
    animation: purchaseBubbleBounce 1.65s ease-in-out infinite;
    transform-origin: center bottom;
}

.detail-live-stats .purchase-badge::before,
.detail-live-stats .purchase-badge::after {
    content: "";
    position: absolute;
    left: 1.6rem;
    width: 0;
    height: 0;
    border-style: solid;
}

.detail-live-stats .purchase-badge::before {
    bottom: -7px;
    border-width: 7px 6px 0 6px;
    border-color: #a8a8a8 transparent transparent transparent;
}

.detail-live-stats .purchase-badge::after {
    bottom: -5px;
    border-width: 6px 5px 0 5px;
    border-color: #fff transparent transparent transparent;
}

.detail-live-stats .purchase-badge strong {
    color: #ef4444;
    margin: 0 0.15rem;
}

@keyframes purchaseBubbleBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    45% {
        transform: translateY(5px);
    }
    68% {
        transform: translateY(1px);
    }
}

.detail-viewer-line {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #2563eb;
    font-size: 0.92rem;
    font-weight: 900;
    text-align: center;
}

.purchase-toast {
    position: fixed;
    right: 2rem;
    bottom: 9.5rem;
    z-index: 850;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.9rem;
    width: min(380px, calc(100vw - 2rem));
    padding: 1.1rem 3rem 1.1rem 1rem;
    border: 1px solid #d1d5db;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.purchase-toast.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
}

.purchase-toast button {
    position: absolute;
    top: 0.7rem;
    right: 0.9rem;
    border: 0;
    background: transparent;
    color: #374151;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}

.purchase-toast-thumb {
    width: 84px;
    height: 84px;
    overflow: hidden;
    background: linear-gradient(135deg, #4f46e5, #db2777, #f59e0b);
}

.purchase-toast-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purchase-toast-thumb span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}

.purchase-toast strong {
    display: block;
    color: #1f2937;
    font-size: 0.92rem;
    line-height: 1.35;
}

.purchase-toast p {
    margin: 0.35rem 0 0;
    color: #374151;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.purchase-toast small {
    display: block;
    margin-top: 0.9rem;
    color: #4b5563;
    font-size: 0.86rem;
}

.purchase-toast-hide {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.7rem;
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

.purchase-toast-hide input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #111827;
}

.community-item-head span em {
    color: #facc15;
    font-style: normal;
    font-weight: 900;
}

.inquiry-board {
    margin-top: 1.1rem;
    border-top: 1px solid #d1d5db;
}

.inquiry-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 120px 100px;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0.8rem;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    font-size: 0.92rem;
}

.review-board .inquiry-row {
    grid-template-columns: 70px minmax(0, 1fr) 110px 100px 70px 110px;
}

.inquiry-head-row {
    padding: 0.85rem 0.8rem;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 500;
    text-align: center;
}

.inquiry-row > span:first-child,
.inquiry-row > span:nth-child(3),
.inquiry-row > span:nth-child(4),
.review-board .inquiry-row > span:nth-child(5),
.review-board .inquiry-row > span:nth-child(6) {
    text-align: center;
}

.inquiry-title strong {
    display: block;
    color: #111827;
    font-size: 0.92rem;
    font-weight: 750;
}

.inquiry-title p {
    margin: 0.55rem 0 0;
    color: #4b5563;
    line-height: 1.65;
}

.board-detail {
    display: block;
}

.board-detail summary {
    list-style: none;
    cursor: pointer;
}

.board-detail summary::-webkit-details-marker {
    display: none;
}

.board-detail summary strong::after {
    content: "펼치기";
    display: inline-flex;
    align-items: center;
    margin-left: 0.45rem;
    color: #9ca3af;
    font-size: 0.72rem;
    font-weight: 700;
}

.board-detail[open] summary strong::after {
    content: "접기";
}

.board-detail[open] p,
.board-detail[open] .community-answer {
    margin-top: 0.75rem;
}

.new-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 0.2rem;
    border: 1px solid #fb923c;
    border-radius: 999px;
    color: #fb923c;
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 900;
    vertical-align: middle;
}

.comment-count {
    color: #1d4ed8;
    font-weight: 800;
}

.board-stars {
    color: #facc15;
    letter-spacing: 1px;
    white-space: nowrap;
}

.lock-mark {
    display: inline-flex;
    align-items: center;
    height: 18px;
    margin-right: 0.3rem;
    padding: 0 0.4rem;
    border: 1px solid #fbbf24;
    border-radius: 999px;
    color: #d97706;
    font-size: 0.68rem;
    font-weight: 900;
}

.answer-mark {
    display: inline-flex;
    align-items: center;
    height: 18px;
    margin-left: 0.3rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.68rem;
    font-weight: 900;
}

.board-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.board-write-panel {
    width: min(100%, 560px);
    text-align: right;
}

.board-write-panel summary {
    list-style: none;
}

.board-write-panel summary::-webkit-details-marker {
    display: none;
}

.board-write-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 1rem;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.board-write-btn:hover {
    border-color: #111827;
}

.board-write-panel[open] .board-write-btn {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.board-write-panel .community-form {
    margin-top: 0.9rem;
    text-align: left;
}

.board-help {
    color: #6b7280;
    font-size: 0.88rem;
}

.inquiry-empty {
    padding: 1.2rem 0.8rem;
    border-bottom: 1px solid #e5e7eb;
}

.community-pagination {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 1.6rem;
}

.community-pagination a,
.community-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 6px;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.community-pagination a:hover,
.community-pagination a.active {
    color: #111827;
    background: #f3f4f6;
}

@media (max-width: 520px) {
    .catalog-head {
        margin: 1rem 0;
        padding: 1.1rem;
    }

    .product-card {
        border-radius: 7px;
    }

    .product-meta {
        padding: 0.72rem 0.75rem 0.85rem;
    }

    .product-detail {
        margin: 1rem 0 1.4rem;
        padding: 1rem;
        border-radius: 8px;
    }

    .product-detail-media {
        max-width: none;
    }

    .detail-price strong {
        font-size: 1.55rem;
    }

    .detail-options {
        padding: 0.9rem;
    }

    .product-description,
    .community-panel {
        padding: 1rem;
    }

    .community-head,
    .community-item-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .inquiry-row {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 0.6rem;
    }

    .review-board .inquiry-row {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .inquiry-head-row {
        display: none;
    }

    .inquiry-row > span:nth-child(3),
    .inquiry-row > span:nth-child(4),
    .review-board .inquiry-row > span:nth-child(5),
    .review-board .inquiry-row > span:nth-child(6) {
        color: #6b7280;
        font-size: 0.78rem;
        text-align: left;
    }

    .community-pagination {
        flex-wrap: wrap;
    }

    .board-actions {
        justify-content: stretch;
    }

    .board-write-panel,
    .board-write-btn {
        width: 100%;
    }

    .purchase-toast {
        right: 1rem;
        bottom: 6.5rem;
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 0.8rem 2.5rem 0.8rem 0.8rem;
    }

    .purchase-toast-thumb {
        width: 64px;
        height: 64px;
    }
}

		.custom-shadow {
		box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
		}
		
		.auth-links{
    padding: 0 1rem;
    height: 3.2rem;
    font-size: 0.8rem;

    line-height: 3rem;
    color: #fff; /* 글자 색상을 흰색으로 변경 */
    background: linear-gradient(to right, #00a7e9, #5dcd31); /* 파란색에서 초록색으로 그라디언트 */
    border-radius: 30px;
    border: none;
    /* font-weight: bold; */
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    text-align: center;
	}
	
	.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
  

/* 하단 네비게이션 바 스타일 */
.bottom-nav {
    position: fixed;
    bottom: 1.5rem; /* 기존보다 살짝 더 내려서 화면에 잘 맞춤 */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem); /* 양옆 여백 고려 */
    max-width: 500px; /* 너무 넓어지지 않도록 제한 */
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 그림자 최소화 */
    border-radius: 12px; /* 둥근 모서리 */
    z-index: 1000;
    padding: 0.4rem 0; /* 내부 패딩 조정 */
}

/* 미디어 쿼리: 데스크탑에서도 자연스럽게 */
@media (min-width: 601px) {
    .bottom-nav {
        bottom: 2rem; /* 조금 더 위로 올려줌 */
        width: 480px; /* 크기 조정 */
    }
}

/* 네비게이션 리스트 스타일 */
.bottom-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 네비게이션 아이템 스타일 */
.bottom-nav ul li {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 0.5rem 0; /* 위아래 간격 최소화 */
}

/* 아이콘 및 텍스트 조정 */
.bottom-nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem; /* 텍스트 크기 줄임 */
    text-decoration: none;
    color: #7D7D7E; /* 기본 색상 */
    font-weight: 500;
}

/* 아이콘 크기 조정 */
.bottom-nav ul li a svg {
    width: 22px; /* 기존보다 작게 조정 */
    height: 22px;
    fill: #7D7D7E;
    margin-bottom: 4px; /* 텍스트와의 간격 조정 */
}

/* 활성화된 네비 아이템 스타일 */
.bottom-nav ul li.active a {
    color: black;
    font-weight: bold;
}

.bottom-nav ul li.active a svg {
    fill: black;
}

/* 활성화된 네비 아이템의 상단 강조선 */
.bottom-nav ul li.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 30%;
    height: 3px; /* 강조선 크기 조정 */
    background-color: black;
    border-radius: 10px;
    transform: translateX(-50%);
}

.bottom-nav ul li,
.bottom-nav ul li a {
    height: 100%;
}

.bottom-nav ul li a {
    justify-content: center;
}

/* Home renewal */
.home-renewal{max-width:1220px;margin:0 auto;padding:18px 18px 80px;background:#fff}.home-top-banner{margin:10px 0 44px;border-radius:14px;overflow:hidden;background:#17181c;background-size:cover;background-position:center}.home-top-banner a{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:140px;padding:28px 48px;color:#fff}.home-top-banner a::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 50%,rgba(101,255,68,.18),transparent 34%);pointer-events:none}.home-top-banner div,.home-top-banner em{position:relative;z-index:1}.home-top-banner span{display:inline-flex;height:32px;align-items:center;padding:0 10px;border-radius:5px;background:#fff;color:#111827;font-size:.9rem;font-weight:900}.home-top-banner p{display:inline-flex;margin-left:8px;color:#d1d5db;font-size:1rem;font-weight:800}.home-top-banner strong{display:block;margin-top:14px;font-size:1.85rem;line-height:1.25;font-weight:900}.home-top-banner em{color:#66f24d;font-size:5.4rem;line-height:1;font-style:normal;font-weight:900}.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.home-section-head h2{margin:0;color:#111827;font-size:1.55rem;font-weight:900}.home-section-head h2 strong{color:#2f7df0}.home-section-head>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid #e5e7eb;border-radius:6px;color:#111827;font-size:.86rem;font-weight:800}.home-stats{display:flex;align-items:center;gap:13px;color:#111827;font-size:.95rem}.home-stats span+span{padding-left:13px;border-left:1px solid #d1d5db}.home-stats strong{margin-left:4px;font-weight:900}.home-stats b{color:#fbbf24}.home-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-bottom:56px}.home-service-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:88px;padding:18px 20px;border-radius:12px;background:#f8fafc}.home-service-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:10px;background:#fff;color:#ef3f92;font-size:1.45rem;font-weight:900}.home-service-icon.has-image{overflow:hidden}.home-service-icon img{display:block;width:100%;height:100%;padding:8px;object-fit:contain;box-sizing:border-box}.home-service-icon.icon-1{color:#ef4444}.home-service-icon.icon-2{color:#111827}.home-service-icon.icon-3{color:#2563eb}.home-service-icon.icon-4{color:#7c3aed}.home-service-icon.icon-5{color:#22c55e}.home-service-card h3{margin:0 0 5px;color:#111827;font-size:.98rem;font-weight:900}.home-service-card p{color:#475569;font-size:.9rem;line-height:1.45}.home-service-card a{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 15px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#111827;font-size:.82rem;font-weight:800}.home-popular-section,.home-feature-section,.home-review-section{margin-bottom:62px}.home-popular-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.home-popular-card{overflow:hidden;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:inherit}.home-popular-visual{display:flex;align-items:center;justify-content:center;height:218px;background:#fde7f2}.home-popular-visual img{width:100%;height:100%;object-fit:cover}.home-popular-visual span{display:flex;align-items:center;justify-content:center;width:118px;height:118px;border-radius:999px;background:#fff;color:#ef3f92;font-size:3rem;font-weight:900;box-shadow:0 14px 26px rgba(239,63,146,.14)}.home-popular-body{padding:18px 16px}.home-popular-body h3{min-height:42px;margin:0;color:#111827;font-size:1rem;line-height:1.35;font-weight:900}.home-popular-body p{margin-top:8px;color:#111827;font-weight:800}.home-popular-body em{display:block;margin-top:12px;color:#64748b;font-size:.86rem;font-style:normal}.home-popular-buy{display:flex;align-items:center;justify-content:center;height:44px;border-top:1px solid #e5e7eb;color:#111827;font-size:.9rem;font-weight:800}.home-feature-section{min-height:430px;padding:42px 28px;border-radius:10px;background:#fff}.home-feature-tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:66px}.home-feature-tabs button{height:38px;padding:0 18px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#111827;font-weight:800}.home-feature-tabs button.active{border-color:#2f7df0;background:#2f7df0;color:#fff}.home-feature-content{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:center}.home-feature-content h2{margin:0;color:#252525;font-size:2.35rem;line-height:1.18;font-weight:900}.home-feature-content h2 strong{color:#2f7df0}.home-feature-content p{margin-top:24px;color:#252525;line-height:1.7;font-weight:700}.home-feature-art{display:flex;align-items:center;justify-content:center;width:260px;height:190px;margin-left:auto;border-radius:34px;background:linear-gradient(135deg,#eef6ff,#fff);color:#22c55e;font-size:6rem;font-weight:900;box-shadow:0 28px 54px rgba(47,125,240,.12)}.home-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-review-card{min-height:238px;padding:28px 30px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.home-review-card div{color:#94a3b8;font-size:.9rem}.home-review-card div strong{color:#f59e0b}.home-review-card h3{margin:22px 0 14px;color:#111827;font-size:1.04rem;line-height:1.45;font-weight:900}.home-review-card p{color:#475569;font-size:.95rem;line-height:1.75}.home-review-card em{display:inline-flex;margin-top:22px;padding:6px 8px;border-radius:4px;background:#eff6ff;color:#2563eb;font-size:.75rem;font-style:normal;font-weight:900}.home-popup{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(15,23,42,.42)}.home-popup-box{position:relative;width:min(420px,100%);overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.28)}.home-popup-box button{position:absolute;top:10px;right:10px;z-index:1;width:34px;height:34px;border-radius:999px;background:rgba(17,24,39,.76);color:#fff;font-size:1.4rem}.home-popup-box a{display:block;color:inherit}.home-popup-box img{display:block;width:100%;max-height:420px;object-fit:cover}.home-popup-box strong,.home-popup-box p{display:block;padding:0 22px}.home-popup-box strong{padding-top:18px;color:#111827;font-size:1.2rem;font-weight:900}.home-popup-box p{padding-top:8px;padding-bottom:22px;color:#64748b;line-height:1.55}

@media (max-width:900px){.home-section-head,.home-stats{align-items:flex-start;flex-direction:column}.home-stats span+span{padding-left:0;border-left:0}.home-service-grid,.home-review-grid{grid-template-columns:1fr}.home-popular-row{display:flex;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}.home-popular-card{flex:0 0 220px;scroll-snap-align:start}.home-feature-content{grid-template-columns:1fr}.home-feature-art{width:100%;margin:0}}
@media (max-width:640px){.home-renewal{padding:12px 14px 80px}.home-top-banner{margin-bottom:32px}.home-top-banner a{align-items:flex-start;flex-direction:column;min-height:150px;padding:22px}.home-top-banner p{display:block;margin:10px 0 0}.home-top-banner strong{font-size:1.42rem}.home-top-banner em{align-self:flex-end;font-size:3.5rem}.home-service-card{grid-template-columns:44px minmax(0,1fr)}.home-service-card a{grid-column:1/-1}.home-feature-section{min-height:0;padding:28px 4px}.home-feature-tabs{margin-bottom:44px;overflow-x:auto;flex-wrap:nowrap}.home-feature-tabs button{flex:0 0 auto}.home-feature-content h2{font-size:1.85rem}.home-review-card{padding:22px}}
.home-feature-panels{position:relative;min-height:260px}.home-feature-content{display:none;opacity:0;transform:translateY(8px)}.home-feature-content.active{display:grid;opacity:1;transform:translateY(0);animation:homeFeatureFade .34s ease both}.home-feature-tabs button{transition:background .2s ease,border-color .2s ease,color .2s ease}.home-feature-tabs button:focus-visible{outline:3px solid rgba(47,125,240,.25);outline-offset:2px}.home-feature-art{font-size:4.6rem}@keyframes homeFeatureFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:900px){.home-feature-panels{min-height:360px}}@media (max-width:640px){.home-feature-panels{min-height:390px}.home-feature-art{min-height:150px;font-size:3.4rem}}

.home-top-banner.has-slides{position:relative;min-height:140px;background:#fff}.home-top-banner.has-slides a::after{display:none}.home-banner-slide{position:absolute!important;inset:0;display:block!important;min-height:0!important;padding:0!important;opacity:0;pointer-events:none;transition:opacity .45s ease}.home-banner-slide.active{opacity:1;pointer-events:auto}.home-banner-slide img{display:block;width:100%;height:140px;object-fit:cover}.home-banner-fallback{display:flex!important;align-items:center!important;min-height:140px!important;padding:28px 48px!important;background:#17181c;color:#fff}.home-banner-fallback::after{display:none!important}.home-banner-fallback strong{margin:0!important;color:#fff}
@media (max-width:640px){.home-top-banner.has-slides{min-height:120px}.home-banner-slide img{height:120px}.home-banner-fallback{min-height:120px!important;padding:22px!important}}

.auth-links {
    font-size: 14px;
    padding: 0px 28px; /* 버튼 내부 여백 증가 */
    background: linear-gradient(135deg, #7B9BFF, #5FA8FF); /* 밝은 블루-퍼플 그라데이션 */
    color: white; /* 글자색 흰색 */
    border-radius: 30px; /* 더 둥글게 */
    display: inline-block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 12px rgba(95, 168, 255, 0.4); /* 밝은 블루 그림자 */
}

/* 호버 효과 */
.auth-links:hover {
    background: linear-gradient(135deg, #96B8FF, #73C0FF); /* 더 밝은 블루 계열 */
    box-shadow: 0px 6px 14px rgba(95, 168, 255, 0.6); /* 그림자 강조 */
    transform: translateY(-2px); /* 살짝 떠오르는 효과 */
}

/* Mobile navigation and home polish */
@media (max-width: 768px) {
    .site-header .section-wrap:first-child {
        gap: 10px;
        padding: 10px 12px !important;
    }

    .site-header img[alt*="로고"] {
        width: 128px !important;
        margin-right: 0 !important;
    }

    .auth-links {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 16px !important;
        font-size: 12px !important;
        line-height: 38px;
        white-space: nowrap;
    }

    .site-nav {
        display: flex;
        gap: 4px;
        padding: 0 10px !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav-item {
        flex: 0 0 auto;
    }

    .site-nav-link {
        height: 44px;
        padding: 0 14px;
        font-size: 0.86rem;
        border-bottom-width: 2px;
    }

    .site-submenu {
        display: none !important;
    }

    .home-renewal {
        padding: 10px 12px 92px !important;
    }

    .home-top-banner {
        margin: 8px 0 28px !important;
        border-radius: 10px !important;
    }

    .home-top-banner.has-slides,
    .home-top-banner.has-slides .home-banner-slide img {
        min-height: 104px !important;
        height: 104px !important;
    }

    .home-banner-fallback {
        min-height: 104px !important;
        padding: 18px !important;
    }

    .home-section-head {
        gap: 10px !important;
        margin-bottom: 14px !important;
    }

    .home-section-head h2 {
        font-size: 1.28rem !important;
    }

    .home-stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 6px !important;
    }

    .home-stats span {
        min-width: 0;
        padding: 9px 7px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px;
        background: #fff;
        font-size: 0.72rem;
        line-height: 1.25;
        text-align: center;
    }

    .home-stats strong {
        display: block;
        margin: 3px 0 0 !important;
        font-size: 0.82rem;
    }

    .home-service-grid {
        gap: 9px !important;
        margin-bottom: 38px !important;
    }

    .home-service-card {
        grid-template-columns: 40px minmax(0, 1fr) !important;
        gap: 10px !important;
        min-height: 82px !important;
        padding: 13px !important;
        border-radius: 10px !important;
    }

    .home-service-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 9px !important;
        font-size: 1.18rem !important;
    }

    .home-service-icon img {
        padding: 6px !important;
    }

    .home-service-card h3 {
        margin-bottom: 3px !important;
        font-size: 0.93rem !important;
    }

    .home-service-card p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
    }

    .home-service-card a {
        grid-column: 1 / -1;
        height: 34px !important;
        margin-top: 2px;
        border-radius: 8px !important;
    }

    .home-popular-section,
    .home-feature-section,
    .home-review-section {
        margin-bottom: 42px !important;
    }

    .home-popular-row {
        gap: 10px !important;
        margin-right: -12px;
        padding-right: 12px;
    }

    .home-popular-card {
        flex-basis: 176px !important;
        border-radius: 10px !important;
    }

    .home-popular-visual {
        height: 150px !important;
    }

    .home-popular-visual span {
        width: 82px !important;
        height: 82px !important;
        font-size: 2rem !important;
    }

    .home-popular-body {
        padding: 13px 12px !important;
    }

    .home-popular-body h3 {
        min-height: 38px !important;
        font-size: 0.9rem !important;
    }

    .home-popular-buy {
        height: 38px !important;
        font-size: 0.84rem !important;
    }

    .home-feature-section {
        padding: 24px 0 !important;
    }

    .home-feature-tabs {
        gap: 7px !important;
        margin: 0 -12px 26px 0 !important;
        padding-right: 12px;
    }

    .home-feature-tabs button {
        height: 34px !important;
        padding: 0 13px !important;
        font-size: 0.8rem !important;
    }

    .home-feature-panels {
        min-height: 292px !important;
    }

    .home-feature-content {
        gap: 18px !important;
    }

    .home-feature-content h2 {
        font-size: 1.62rem !important;
    }

    .home-feature-content p {
        margin-top: 14px !important;
        font-size: 0.92rem;
    }

    .home-feature-art {
        width: 100% !important;
        height: 132px !important;
        min-height: 132px !important;
        border-radius: 20px !important;
        font-size: 3rem !important;
    }

    .home-review-grid {
        gap: 10px !important;
    }

    .home-review-card {
        min-height: 0 !important;
        padding: 18px !important;
        border-radius: 10px !important;
    }

    .home-review-card h3 {
        margin: 14px 0 10px !important;
        font-size: 0.96rem !important;
    }

    .home-review-card p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        font-size: 0.86rem !important;
    }
}


.custom-bg {
    background-image: url('/bg1.webp'); /* 올바른 경로 */
    background-size: cover; /* 배경을 꽉 채움 */
    background-position: center; /* 이미지 중앙 정렬 */
    background-repeat: no-repeat; /* 반복 방지 */
}
 .keen-slider__slide {
    height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  @media (min-width: 601px) {
    .keen-slider__slide {
       height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    }
}
.hidden {
  display: none;
}
        
        .warning-shadow {
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 
                        0 1px 2px 0 rgba(0, 0, 0, 0.06),
                        0 0 0 1px rgba(220, 38, 38, 0.05);
        }
        
        .elegant-card {
            background: linear-gradient(135deg, #ffffff, #fafafa);
            border: 1px solid #e5e7eb;
            position: relative;
            backdrop-filter: blur(10px);
        }
        
        .elegant-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #dc2626, #ef4444, #dc2626);
            border-radius: 0.75rem 0.75rem 0 0;
        }
        
        .slide-in {
            animation: slideIn 0.6s ease-out;
        }
        
        @keyframes slideIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

/* Purchase count speech bubble */
.product-detail .detail-live-stats {
    overflow: visible !important;
}

.product-detail .detail-live-stats .purchase-badge {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 0.82rem !important;
    border: 1px solid #a8a8a8 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111827 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    animation: sellupPurchaseBubbleBounce 1.45s ease-in-out infinite !important;
    transform-origin: center bottom !important;
}

.product-detail .detail-live-stats .purchase-badge::before,
.product-detail .detail-live-stats .purchase-badge::after {
    content: "" !important;
    position: absolute !important;
    left: 1.65rem !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    pointer-events: none !important;
}

.product-detail .detail-live-stats .purchase-badge::before {
    bottom: -7px !important;
    border-width: 7px 6px 0 6px !important;
    border-color: #a8a8a8 transparent transparent transparent !important;
}

.product-detail .detail-live-stats .purchase-badge::after {
    bottom: -5px !important;
    border-width: 6px 5px 0 5px !important;
    border-color: #fff transparent transparent transparent !important;
}

.product-detail .detail-live-stats .purchase-badge strong {
    color: #ff3030 !important;
    margin: 0 0.12rem !important;
}

@keyframes sellupPurchaseBubbleBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    45% {
        transform: translateY(6px);
    }
    70% {
        transform: translateY(1px);
    }
}

/* Product detail mobile fit */
@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .commerce-page > .mx-auto {
        width: 100%;
        max-width: 100%;
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-bottom: 120px !important;
        overflow-x: hidden;
    }

    .product-detail {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px 0 22px !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .product-detail-media,
    .product-detail-info,
    .product-description,
    .product-community,
    .community-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .product-detail-media {
        margin: 0 auto 14px !important;
    }

    .product-detail .product-visual {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1 !important;
    }

    .product-detail-info h1 {
        font-size: 1.28rem !important;
        line-height: 1.35 !important;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .detail-summary,
    .detail-review-line,
    .detail-price,
    .detail-options,
    .detail-viewer-line {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .detail-review-line {
        gap: 6px !important;
        font-size: 0.9rem !important;
    }

    .detail-price strong {
        font-size: 1.65rem !important;
    }

    .detail-options {
        padding: 14px !important;
        overflow: hidden !important;
    }

    .detail-options label {
        display: block !important;
        width: 100% !important;
    }

    .detail-options input,
    .detail-options select,
    .community-form input[type="text"],
    .community-form select,
    .community-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .detail-buy {
        width: 100% !important;
        min-width: 0 !important;
    }

    .product-description {
        margin: 0 0 22px !important;
        padding: 16px 0 !important;
        overflow: hidden !important;
    }

    .product-description-html,
    .product-description-html * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-description-html img,
    .product-description img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .community-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
    }

    .community-tabs a {
        min-width: 0 !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 0.86rem !important;
        white-space: nowrap;
    }

    .community-panel {
        padding: 14px 0 !important;
        overflow: hidden !important;
    }

    .inquiry-board {
        width: 100% !important;
        overflow: hidden !important;
    }

    .inquiry-row,
    .review-board .inquiry-row {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
        padding: 12px 2px !important;
        box-sizing: border-box !important;
    }

    .inquiry-head-row {
        display: none !important;
    }

    .inquiry-title,
    .board-detail,
    .board-detail summary,
    .board-detail summary strong {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: anywhere;
        word-break: keep-all;
    }

    .inquiry-row > span:nth-child(n+3),
    .review-board .inquiry-row > span:nth-child(n+3) {
        grid-column: 2;
        text-align: left !important;
        color: #6b7280;
        font-size: 0.78rem;
    }

    .board-stars {
        white-space: normal !important;
    }

    .board-actions {
        justify-content: stretch !important;
    }

    .board-write-panel,
    .board-write-btn {
        width: 100% !important;
    }

    .purchase-toast {
        left: 14px !important;
        right: 14px !important;
        bottom: 104px !important;
        width: auto !important;
        max-width: none !important;
        grid-template-columns: 62px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 12px 42px 12px 12px !important;
        box-sizing: border-box !important;
    }

    .purchase-toast-thumb {
        width: 62px !important;
        height: 62px !important;
    }

    .purchase-toast strong,
    .purchase-toast p {
        max-width: 100% !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .purchase-toast-hide {
        max-width: 100% !important;
        white-space: nowrap;
    }

    .bottom-nav {
        width: calc(100% - 16px) !important;
        max-width: 480px !important;
        bottom: 10px !important;
    }
}

@media (max-width: 360px) {
    .product-detail-info h1 {
        font-size: 1.12rem !important;
    }

    .detail-price strong {
        font-size: 1.42rem !important;
    }

    .purchase-toast {
        grid-template-columns: 54px minmax(0, 1fr) !important;
        padding-right: 36px !important;
    }

    .purchase-toast-thumb {
        width: 54px !important;
        height: 54px !important;
    }
}

/* Instaget-like buy/product layout */
.buy-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0 16px;
    padding: 26px 28px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.buy-eyebrow {
    display: inline-flex;
    align-items: center;
    height: 27px;
    padding: 0 11px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 900;
}

.buy-hero h1 {
    margin: 12px 0 8px;
    color: #111827;
    font-size: 1.85rem;
    line-height: 1.25;
    font-weight: 900;
}

.buy-hero p {
    color: #64748b;
    font-size: 0.96rem;
    line-height: 1.6;
}

.buy-hero > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 44px;
    padding: 0 16px;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
}

.buy-service-panel,
.buy-product-head {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.buy-panel-head,
.buy-product-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.buy-panel-head h2,
.buy-product-head h2 {
    margin: 0 0 5px;
    color: #111827;
    font-size: 1.08rem;
    font-weight: 900;
}

.buy-panel-head p,
.buy-product-head p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.buy-channel-tabs {
    display: flex;
    gap: 6px;
    margin-top: 18px;
    padding-bottom: 4px;
    overflow-x: auto;
}

.buy-channel-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 92px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 900;
}

.buy-channel-tabs a.active,
.buy-channel-tabs a:hover {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.buy-service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.buy-service-grid a {
    position: relative;
    min-height: 92px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
    color: #111827;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.buy-service-grid a:hover {
    transform: translateY(-2px);
    border-color: #111827;
    background: #fff;
}

.buy-service-grid span {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.buy-service-grid strong {
    display: block;
    color: #111827;
    font-size: 0.96rem;
    line-height: 1.35;
    font-weight: 900;
}

.buy-service-grid em {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    height: 18px;
    align-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff7ed;
    color: #f97316;
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 900;
}

.instaget-product-detail {
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
    padding: 22px !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.instaget-product-detail .product-detail-media {
    position: sticky;
    top: 18px;
}

.product-simple-tabs {
    display: flex;
    gap: 8px;
    margin: 14px 0 4px;
    padding-bottom: 2px;
    overflow-x: auto;
}

.product-simple-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 900;
}

.product-simple-tabs a:hover {
    border-color: #111827;
    color: #111827;
}

.instaget-order-box {
    margin-top: 18px !important;
    padding: 18px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #fafafa !important;
}

.order-box-title {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.order-box-title strong {
    display: block;
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
}

.order-box-title span {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.5;
    font-weight: 700;
}

.detail-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 15px 0 0;
    border-top: 1px solid #e5e7eb;
}

.detail-total-line span {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 900;
}

.detail-total-line strong {
    color: #e11d48;
    font-size: 1.35rem;
    font-weight: 900;
}

.instaget-order-box .detail-buy {
    margin-top: 16px !important;
}

@media (max-width: 1024px) {
    .buy-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .instaget-product-detail {
        grid-template-columns: 1fr !important;
    }

    .instaget-product-detail .product-detail-media {
        position: static;
        max-width: 420px;
    }
}

@media (max-width: 640px) {
    .buy-hero {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 12px;
        padding: 20px;
    }

    .buy-hero h1 {
        font-size: 1.45rem;
    }

    .buy-hero > a {
        width: 100%;
    }

    .buy-service-panel,
    .buy-product-head {
        padding: 16px;
    }

    .buy-channel-tabs {
        margin-right: -16px;
    }

    .buy-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .buy-service-grid a {
        min-height: 82px;
        padding: 12px;
    }

    .instaget-product-detail {
        margin: 12px 0 18px !important;
        padding: 14px !important;
    }

    .product-simple-tabs {
        margin-right: -14px;
    }

    .instaget-order-box {
        padding: 14px !important;
    }
}

/* Unified quick order page */
.quick-order-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 240px;
    min-height: 620px;
    margin: 14px 0 34px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.quick-order-sidebar {
    border-right: 1px solid #e5e7eb;
    background: #f8fafc;
}

.quick-order-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 0 24px;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    font-weight: 900;
}

.quick-order-sidebar a.active,
.quick-order-sidebar a:hover {
    background: #fff;
}

.quick-order-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    color: #ec4899;
    font-size: 0.9rem;
    font-weight: 900;
}

.quick-order-menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quick-order-main {
    padding: 50px 28px 38px;
}

.quick-order-title span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #ec4899;
    font-size: 0.82rem;
    font-weight: 900;
}

.quick-order-title h1 {
    margin: 0 0 22px;
    color: #111827;
    font-size: 1.08rem;
    font-weight: 900;
}

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

.quick-product-grid a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 900;
}

.quick-product-grid a.active,
.quick-product-grid a:hover {
    border-color: #ec4899;
    color: #111827;
}

.quick-product-grid em {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #db2777;
    color: #fff;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 900;
}

.quick-selected-product {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eef2f7;
}

.quick-selected-product .purchase-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 0.82rem;
    border: 1px solid #a8a8a8;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    animation: sellupPurchaseBubbleBounce 1.8s ease-in-out infinite;
}

.quick-selected-product .purchase-badge::before,
.quick-selected-product .purchase-badge::after {
    content: "";
    position: absolute;
    left: 1.65rem;
    width: 0;
    height: 0;
    border-style: solid;
    pointer-events: none;
}

.quick-selected-product .purchase-badge::before {
    bottom: -7px;
    border-width: 7px 6px 0 6px;
    border-color: #a8a8a8 transparent transparent transparent;
}

.quick-selected-product .purchase-badge::after {
    bottom: -5px;
    border-width: 6px 5px 0 5px;
    border-color: #fff transparent transparent transparent;
}

.quick-selected-product .purchase-badge strong {
    color: #ff3030;
    margin: 0 0.12rem;
}

.quick-selected-product h2 {
    margin: 14px 0 8px;
    color: #111827;
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 900;
}

.quick-selected-product p {
    color: #64748b;
    line-height: 1.6;
    font-weight: 700;
}

.quick-selected-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 800;
}

.quick-selected-meta b {
    color: #111827;
}

.quick-order-form {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

.quick-field {
    margin-top: 18px;
}

.quick-field.has-error {
    animation: quickFieldShake 0.3s ease both;
}

.quick-field-label {
    margin-bottom: 9px;
    color: #111827;
    font-size: 0.92rem;
    font-weight: 900;
}

.quick-field input[type="text"],
.quick-field input[type="number"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    background: #fff;
}

.quick-field-limit {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 800;
}

.quick-quantity-box {
    display: grid;
    gap: 8px;
}

.quick-quantity-meta {
    display: flex;
    justify-content: flex-end;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 800;
}

.quick-quantity-input {
    position: relative;
}

.quick-quantity-input input {
    padding-right: 120px;
}

.quick-quantity-input b {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #111827;
    font-size: 0.84rem;
    font-weight: 900;
}

.quick-quantity-steps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-quantity-steps button {
    min-width: 56px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid #dbe2ea;
    border-radius: 7px;
    background: #fff;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 800;
}

.quick-quantity-steps button:hover {
    border-color: #111827;
    color: #111827;
}

.quick-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.quick-option-grid button {
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-weight: 900;
}

.quick-option-grid button.active,
.quick-option-grid button:hover {
    border-color: #ec4899;
    color: #ec4899;
}

.quick-empty-option {
    margin: 18px 0 0;
    color: #64748b;
    font-weight: 700;
}

.quick-total-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 18px 20px;
    border: 0;
    border-radius: 10px;
    background: #f4f6f8;
}

.quick-total-card span,
.quick-total-card strong {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
}

.quick-total-card strong {
    font-size: 1.35rem;
}

.policy-link {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.policy-modal-lock {
    overflow: hidden;
}

.policy-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(15, 23, 42, 0.46);
}

.policy-modal.is-open {
    display: flex;
}

.policy-modal-panel {
    width: min(760px, 100%);
    max-height: min(82vh, 760px);
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.policy-modal-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e5e7eb;
}

.policy-modal-panel h2 {
    margin: 0;
    color: #111827;
    font-size: 1.12rem;
    font-weight: 900;
}

.policy-modal-panel header button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111827;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}

.policy-modal-body {
    max-height: calc(min(82vh, 760px) - 73px);
    overflow-y: auto;
    padding: 22px;
}

.policy-modal-body pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: anywhere;
    color: #374151;
    font: 500 0.94rem/1.78 Pretendard, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.quick-buy-button {
    width: 100%;
    margin-top: 16px !important;
}

.quick-info-panel {
    padding: 50px 24px;
    border-left: 1px solid #e5e7eb;
    background: #fff;
}

.quick-info-panel h2 {
    margin: 0 0 22px;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
}

.quick-info-panel button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    margin-bottom: 10px;
    padding: 0 16px;
    border-radius: 10px;
    background: #f8fafc;
    color: #111827;
    font-weight: 900;
}

.quick-info-panel button span {
    color: #94a3b8;
    font-size: 1.5rem;
}

.quick-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.42);
}

.quick-modal.is-open {
    display: flex;
}

.quick-modal-box {
    position: relative;
    width: min(680px, 100%);
    max-height: min(90vh, 720px);
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

.quick-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #111827;
    font-size: 1.5rem;
}

.quick-modal-box > h2 {
    margin: 0;
    padding: 20px 54px 18px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
}

.quick-modal-tabs {
    display: flex;
    gap: 24px;
    padding: 16px 40px 0;
    border-bottom: 1px solid #eef2f7;
}

.quick-modal-tabs span {
    padding-bottom: 14px;
    color: #94a3b8;
    font-weight: 900;
}

.quick-modal-tabs span.active {
    border-bottom: 2px solid #111827;
    color: #111827;
}

.quick-modal-body {
    padding: 28px 40px 42px;
    color: #111827;
    line-height: 1.75;
}

.quick-modal-body h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 900;
}

.quick-modal-lead {
    color: #ec4899;
    font-weight: 900;
}

.quick-notice-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: #64748b;
}

.quick-notice-text {
    color: #64748b;
    line-height: 1.9;
}

.editor-block > textarea[name="order_notice"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 150px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    line-height: 1.6;
    resize: vertical;
}

/* Review page */
.review-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 0 70px;
}

.review-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 180px;
    padding: 34px 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
}

.review-hero span {
    display: inline-flex;
    height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 900;
}

.review-hero h1 {
    margin: 14px 0 8px;
    font-size: 2.2rem;
    font-weight: 900;
}

.review-hero p {
    color: #d1d5db;
    line-height: 1.65;
}

.review-hero > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: #fff;
    color: #f59e0b;
    font-size: 1.55rem;
    font-weight: 900;
}

.review-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 22px;
}

.review-summary-strip div {
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.review-summary-strip span {
    display: block;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 800;
}

.review-summary-strip strong {
    display: block;
    margin-top: 6px;
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
}

.review-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.review-list-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 26px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.review-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.88rem;
}

.review-list-head strong {
    color: #f59e0b;
}

.review-list-head em {
    color: #94a3b8;
    font-style: normal;
}

.review-list-card h2 {
    margin: 22px 0 12px;
    color: #111827;
    font-size: 1.03rem;
    line-height: 1.45;
    font-weight: 900;
}

.review-list-card p {
    flex: 1;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.75;
}

.review-list-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 20px;
    padding: 7px 10px;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 900;
}

.review-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

.review-pagination a,
.review-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    color: #64748b;
    font-weight: 900;
}

.review-pagination a.active,
.review-pagination a:hover {
    background: #111827;
    color: #fff;
}

@media (max-width: 900px) {
    .review-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .review-page {
        padding: 14px 0 90px;
    }

    .review-hero {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding: 24px 20px;
        border-radius: 12px;
    }

    .review-hero h1 {
        font-size: 1.75rem;
    }

    .review-hero > strong {
        width: auto;
        height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        font-size: 1rem;
    }

    .review-summary-strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .review-list-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .review-list-card {
        min-height: 0;
        padding: 20px;
    }
}

@keyframes quickFieldShake {
    0%, 100% { transform: translateX(0); }
    33% { transform: translateX(-5px); }
    66% { transform: translateX(5px); }
}

@media (max-width: 1024px) {
    .quick-order-layout {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .quick-info-panel {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 160px repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: center;
        padding: 18px;
        border-top: 1px solid #e5e7eb;
        border-left: 0;
    }

    .quick-info-panel h2,
    .quick-info-panel button {
        margin: 0;
    }
}

@media (max-width: 760px) {
    .quick-order-layout {
        display: block;
        border-radius: 10px;
    }

    .quick-order-sidebar {
        display: flex;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .quick-order-sidebar a {
        flex: 0 0 auto;
        min-height: 58px;
        padding: 0 16px;
    }

    .quick-order-main {
        padding: 24px 14px;
    }

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

    .quick-selected-product,
    .quick-selected-meta {
        display: block;
    }

    .quick-selected-meta {
        margin-top: 12px;
    }

    .quick-option-grid {
        grid-template-columns: 1fr;
    }

    .quick-info-panel {
        display: block;
        padding: 18px 14px;
    }

    .quick-info-panel h2 {
        margin-bottom: 12px;
    }

    .quick-info-panel button {
        margin-bottom: 8px;
    }

    .quick-modal-body,
    .quick-modal-tabs {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* Cash charge page */
.cash-page {
    padding: 34px 0 48px;
}

.cash-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: stretch;
    margin: 18px 0 24px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #eef5ff 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.cash-eyebrow {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef5ff;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 800;
}

.cash-hero h1 {
    margin: 14px 0 10px;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 900;
    color: #111827;
}

.cash-hero p {
    max-width: 560px;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
}

.cash-balance {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
}

.cash-balance span {
    color: #bfdbfe;
    font-size: 0.86rem;
    font-weight: 700;
}

.cash-balance strong {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 900;
}

.cash-balance a {
    width: fit-content;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
}

.cash-alert {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 800;
}

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

.cash-alert p + p {
    margin-top: 5px;
}

.cash-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.cash-panel,
.cash-summary {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.cash-panel {
    padding: 22px;
}

.cash-panel-head {
    margin-bottom: 18px;
}

.cash-panel h2,
.cash-summary h2 {
    margin: 0 0 6px;
    font-size: 1.14rem;
    font-weight: 900;
    color: #111827;
}

.cash-panel-head p,
.cash-summary p,
.cash-guide p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cash-amount-grid,
.cash-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cash-amount-option,
.cash-payment-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-weight: 900;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cash-amount-option input,
.cash-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cash-amount-option.selected,
.cash-payment-option.selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.cash-field {
    display: block;
    margin-top: 16px;
}

.cash-field span {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 0.92rem;
    font-weight: 900;
}

.cash-field input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    font-weight: 800;
    outline: none;
}

.cash-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.cash-guide {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
}

.cash-guide strong {
    display: block;
    margin-bottom: 5px;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 900;
}

.cash-receipt-box {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fbfdff;
}

.cash-receipt-box > strong {
    display: block;
    margin-bottom: 10px;
    color: #111827;
    font-size: 0.92rem;
    font-weight: 900;
}

.cash-receipt-detail {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.cash-receipt-detail.is-open {
    display: block;
}

.cash-summary {
    position: sticky;
    top: 18px;
    padding: 22px;
}

.cash-summary dl {
    margin: 18px 0;
    border-top: 1px solid #eef2f7;
}

.cash-summary dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #eef2f7;
}

.cash-summary dt {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
}

.cash-summary dd {
    color: #111827;
    font-weight: 900;
}

.cash-submit {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 13px;
    background: #111827;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cash-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.charge-confirm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 18px;
    align-items: start;
}

.bank-account-card {
    padding: 24px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
}

.bank-account-card span {
    display: block;
    margin-bottom: 10px;
    color: #bfdbfe;
    font-size: 0.9rem;
    font-weight: 800;
}

.bank-account-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
}

.bank-account-card p {
    margin-top: 10px;
    color: #e5e7eb;
    font-weight: 800;
}

.cash-balance small {
    color: #93c5fd;
    font-weight: 800;
}

.charge-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.charge-expired-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.42);
}

.charge-expired-modal.is-open {
    display: flex;
}

.charge-expired-card {
    width: min(420px, 100%);
    padding: 26px;
    border-radius: 16px;
    border: 1px solid #fecaca;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
}

.charge-expired-card strong {
    display: block;
    color: #b91c1c;
    font-size: 1.15rem;
    font-weight: 900;
}

.charge-expired-card p {
    margin: 10px 0 18px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
}

.charge-expired-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-weight: 900;
}

/* My page */
.mypage-page {
    padding: 34px 0 48px;
}

.mypage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: stretch;
    margin: 18px 0 20px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 52%, #eef5ff 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.mypage-hero h1 {
    margin: 14px 0 10px;
    color: #111827;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 900;
}

.mypage-hero p {
    max-width: 600px;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
}

.mypage-point-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
}

.mypage-point-card span {
    color: #bfdbfe;
    font-size: 0.86rem;
    font-weight: 800;
}

.mypage-point-card strong {
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 900;
}

.mypage-point-card a {
    width: fit-content;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
}

.mypage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.mypage-panel {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.mypage-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px 14px;
    border-bottom: 1px solid #eef2f7;
}

.mypage-panel-head h2 {
    margin: 0 0 5px;
    color: #111827;
    font-size: 1.08rem;
    font-weight: 900;
}

.mypage-panel-head p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}

.mypage-panel-head a {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 0.86rem;
    font-weight: 900;
}

.mypage-list {
    padding: 6px 18px 18px;
}

.mypage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 4px;
    border-bottom: 1px solid #eef2f7;
    color: inherit;
}

.mypage-row:last-child {
    border-bottom: 0;
}

.mypage-row strong {
    display: block;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 900;
}

.mypage-row span {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}

.mypage-row-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    flex: 0 0 auto;
}

.mypage-row-side b {
    color: #111827;
    font-size: 0.92rem;
    font-weight: 900;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill.wait {
    background: #eff6ff;
    color: #1d4ed8;
}

.status-pill.done {
    background: #ecfdf5;
    color: #047857;
}

.status-pill.bad {
    background: #fef2f2;
    color: #b91c1c;
}

.mypage-empty {
    padding: 34px 18px;
    color: #94a3b8;
    text-align: center;
    font-weight: 800;
}

/* Product checkout */
.checkout-page {
    padding: 34px 0 48px;
}

.checkout-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: stretch;
    margin: 18px 0 20px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 52%, #eef5ff 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.checkout-hero h1 {
    margin: 14px 0 10px;
    color: #111827;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 900;
}

.checkout-hero p {
    max-width: 620px;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
}

.checkout-point-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
}

.checkout-point-card span {
    color: #bfdbfe;
    font-size: 0.86rem;
    font-weight: 800;
}

.checkout-point-card strong {
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 900;
}

.checkout-point-card a {
    width: fit-content;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.checkout-panel {
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.checkout-product {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

.checkout-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #6d5dfc, #d12fd4 55%, #ff8a1f);
    color: #fff;
    font-weight: 900;
}

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

.checkout-product span {
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 900;
}

.checkout-product h2 {
    margin: 5px 0;
    color: #111827;
    font-size: 1.22rem;
    line-height: 1.35;
    font-weight: 900;
}

.checkout-product p {
    color: #64748b;
    font-size: 0.9rem;
}

.checkout-section {
    padding: 20px 0;
}

.checkout-section h3 {
    margin-bottom: 12px;
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
}

.checkout-info-list {
    border-top: 1px solid #eef2f7;
}

.checkout-info-list div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #eef2f7;
}

.checkout-info-list dt {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 800;
}

.checkout-info-list dd {
    min-width: 0;
    color: #111827;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.checkout-empty-info {
    padding: 18px;
    border-radius: 12px;
    background: #f8fafc;
    color: #94a3b8;
    text-align: center;
    font-weight: 800;
}

.checkout-warning {
    padding: 18px;
    border: 1px solid #fecaca;
    border-radius: 14px;
    background: #fff7f7;
}

.checkout-warning strong {
    display: block;
    margin-bottom: 7px;
    color: #b91c1c;
    font-size: 1rem;
    font-weight: 900;
}

.checkout-warning p {
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.7;
    font-weight: 700;
}

.checkout-summary {
    position: sticky;
    top: 18px;
}

.checkout-summary .cash-submit {
    margin-top: 4px;
}

.checkout-back {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    margin-top: 10px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 900;
}

.checkout-result {
    max-width: 720px;
    margin: 48px auto;
    padding: 40px 28px;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0fdf4, #fff);
    text-align: center;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.checkout-result > span {
    display: inline-flex;
    height: 30px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #dcfce7;
    color: #047857;
    font-size: 0.82rem;
    font-weight: 900;
}

.checkout-result h1 {
    margin: 16px 0 8px;
    color: #111827;
    font-size: 2rem;
    font-weight: 900;
}

.checkout-result p {
    color: #64748b;
    line-height: 1.7;
}

.checkout-result-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.checkout-result-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 46px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-weight: 900;
}

.checkout-result-actions a + a {
    background: #e2e8f0;
    color: #475569;
}

/* Order detail */
.order-detail-page {
    padding: 34px 0 48px;
}

.order-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: stretch;
    margin: 18px 0 20px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 52%, #eff6ff 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.order-detail-hero h1 {
    margin: 14px 0 10px;
    color: #111827;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 900;
}

.order-detail-hero p {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
}

.order-detail-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 22px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
}

.order-detail-summary span,
.order-detail-summary small {
    color: #bfdbfe;
    font-size: 0.86rem;
    font-weight: 800;
}

.order-detail-summary strong {
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.order-detail-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-service-card,
.order-work-log-panel {
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.order-service-head {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

.order-service-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #6d5dfc, #d12fd4 55%, #ff8a1f);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    text-align: center;
}

.order-service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-service-head h2 {
    margin: 8px 0 6px;
    color: #111827;
    font-size: 1.18rem;
    line-height: 1.35;
    font-weight: 900;
}

.order-service-head p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.order-progress {
    margin: 18px 0;
    padding: 18px;
    border-radius: 14px;
    background: #f8fafc;
}

.order-progress div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.order-progress span {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 900;
}

.order-progress strong {
    color: #2563eb;
    font-size: 0.95rem;
    font-weight: 900;
}

.order-progress i {
    display: block;
    height: 9px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.order-progress b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.order-progress p {
    margin-top: 10px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 700;
}

.order-info-block {
    padding: 18px 0;
    border-top: 1px solid #eef2f7;
}

.order-info-block h3 {
    margin-bottom: 12px;
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
}

.order-rule-text {
    padding: 15px;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    line-height: 1.65;
    font-weight: 700;
}

.order-as-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 2px;
    padding: 18px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #eff6ff;
}

.order-as-box strong {
    display: block;
    margin-bottom: 5px;
    color: #1e3a8a;
    font-weight: 900;
}

.order-as-box p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 700;
}

.order-as-box button {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 15px;
    border-radius: 12px;
    background: #cbd5e1;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    cursor: not-allowed;
}

.order-as-box.ready {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.order-as-box.ready button {
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}

.order-as-box form {
    flex: 0 0 auto;
}

.api-report-block {
    border-color: #dbeafe;
    background: #f8fbff;
}

.checkout-alert {
    margin: 14px 0;
    padding: 13px 16px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff1f2;
    color: #be123c;
    font-weight: 700;
}

.checkout-alert.good {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.order-detail-side {
    position: sticky;
    top: 18px;
}

.order-work-log-panel {
    margin-top: 18px;
}

.order-work-log-list {
    padding-top: 4px;
}

.order-work-log-list div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 150px;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
}

.order-work-log-list div:last-child {
    border-bottom: 0;
}

.order-work-log-list em {
    color: #2563eb;
    font-style: normal;
    font-weight: 900;
}

.order-work-log-list span {
    min-width: 0;
    color: #475569;
    overflow-wrap: anywhere;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 700;
}

.order-work-log-list small {
    color: #94a3b8;
    text-align: right;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .cash-grid {
        grid-template-columns: 1fr;
    }

    .charge-confirm-grid {
        grid-template-columns: 1fr;
    }

    .mypage-hero,
    .mypage-grid,
    .checkout-hero,
    .checkout-grid,
    .order-detail-hero,
    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .cash-summary {
        position: static;
    }

    .checkout-summary,
    .order-detail-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .floating-contact-button {
        right: 16px;
        bottom: 102px;
        min-width: 68px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.86rem;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
    }

    .floating-contact-button svg {
        width: 19px;
        height: 19px;
    }

    .cash-page {
        padding-top: 18px;
    }

    .cash-hero {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 14px;
    }

    .cash-hero h1 {
        font-size: 1.55rem;
    }

    .cash-balance {
        padding: 18px;
    }

    .cash-panel,
    .cash-summary {
        padding: 18px;
        border-radius: 14px;
    }

    .mypage-page {
        padding-top: 18px;
    }

    .mypage-hero {
        padding: 20px;
        border-radius: 14px;
    }

    .mypage-hero h1 {
        font-size: 1.55rem;
    }

    .checkout-page {
        padding-top: 18px;
    }

    .order-detail-page {
        padding-top: 18px;
    }

    .checkout-hero,
    .checkout-panel,
    .order-detail-hero,
    .order-service-card,
    .order-work-log-panel {
        padding: 18px;
        border-radius: 14px;
    }

    .checkout-hero h1,
    .checkout-result h1,
    .order-detail-hero h1 {
        font-size: 1.5rem;
    }

    .checkout-product,
    .order-service-head {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 12px;
    }

    .checkout-thumb,
    .order-service-thumb {
        width: 74px;
        border-radius: 12px;
    }

    .checkout-info-list div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .checkout-result-actions {
        flex-direction: column;
    }

    .mypage-panel-head,
    .mypage-row {
        align-items: flex-start;
    }

    .mypage-row {
        flex-direction: column;
    }

    .mypage-row-side {
        align-items: flex-start;
    }

    .order-as-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-as-box button {
        width: 100%;
    }

    .order-work-log-list div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .order-work-log-list small {
        text-align: left;
    }

    .cash-amount-grid,
    .cash-payment-grid {
        grid-template-columns: 1fr;
    }
}
