/* Ticketjang inspired styles */

:root {
    --primary-red: #7BA5D6;
    --primary-orange: #f4a261;
    --primary-yellow: #e7bb52;
    --primary-pink: #A8C8E8;
    --primary-blue-deep: #006ab2;
    --primary-green: #00482b;
    --bg-f9: #f9f9f9;
    --border-e8: #e8ecf1;
}

.flx {
    display: flex !important;
    align-items: center;
}

.fdc {
    display: flex !important;
    flex-direction: column;
}

.jsb {
    justify-content: space-between;
}

.jc {
    justify-content: center;
}

.je {
    justify-content: flex-end;
}

.gap-4 {
    gap: 0.4rem !important;
}

.gap-6 {
    gap: 0.6rem !important;
}

.gap-8 {
    gap: 0.8rem !important;
}

.gap-10 {
    gap: 1rem !important;
}

.gap-12 {
    gap: 1.2rem !important;
}

.gap-16 {
    gap: 1.6rem !important;
}

.gap-24 {
    gap: 2.4rem !important;
}

.gap-26 {
    gap: 2.6rem !important;
}

.w-100 {
    width: 100%;
}

.comp-area {
    padding: 1rem 0;
    background-color: var(--bg-f9);
}

.limit-container {
    max-width: var(--_max-2width, 120rem);
    margin: 0 auto;
    padding: 0 1rem;
}

.order-form__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.bank-wrap-sticky {
    position: sticky;
    top: 90px;
}

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

.cp-wrap {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.04);
}

.cp-list {
    margin-top: 2rem;
}

.cp-list__inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: 1.5rem;
}

.cp {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    background: #fff;
    border: 0.1rem solid var(--border-e8);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.cp:hover,
.cp.active {
    transform: translateY(-0.1rem);
    border-color: var(--_cp-clr-id, var(--primary-red));
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
    background: #fff;
}

.cp .circle-per {
    position: absolute;
    top: -0.8rem;
    right: -0.8rem;
    background: var(--_cp-clr-id);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.5rem;
    border-radius: 2rem;
    box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.1);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp:hover .circle-per,
.cp.active .circle-per {
    opacity: 1;
    transform: scale(1);
}

.cp .icon {
    position: relative;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    z-index: 1;
}

.cp .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    position: relative;
    z-index: 2;
}

.cp .icon .back {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    filter: blur(1rem);
    opacity: 0.3;
    z-index: 1;
}

.cp .icon .back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cp.active .icon .back {
    opacity: 0.6;
    filter: blur(0.8rem);
}

.cp .text-ell {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp.active {
    background: #fff;
}

.cp.active .text-ell {
    color: #333;
}

/* Inputs Area */
.inputs-wrap {
    background: #fff;
    border-radius: 1rem;
    padding: 1.2rem;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.02);
}

.cp-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 0.1rem solid var(--border-e8);
}

.cp-info .icon {
    width: 2.5rem;
    height: 2.5rem;
}

.cp-info .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1rem;
}

.cp-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.cp-brand {
    font-size: 0.85rem;
    color: #888;
}

.inputs {
    display: flex;
    gap: 1rem;
}

.__pin {
    width: 100%;
    padding: 0.8rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    color: #333;
}

.__pin::placeholder {
    color: #cbd5e1;
}

.__pin:focus {
    border-color: #7BA5D6;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 0.4rem rgba(123, 165, 214, 0.1);
}

.btns .add-pin-btn {
    width: 100%;
    padding: 1rem;
    background: #7BA5D6;
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

/* Hover effect removed per user request */
.btns .add-pin-btn:hover {
    background: #7BA5D6;
    box-shadow: none;
    transform: none;
}

.btns .add-pin-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.notify {
    background: #f8fbff;
    padding: 1rem;
    border-radius: 0.8rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
}

/* User Info & Notice */
.user-info,
.notice,
.box {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.02);
    margin-top: 1rem;
}

.box.empty-box {
    border: 0.2rem dashed var(--border-e8);
    background: transparent;
    box-shadow: none;
}

.notice ul {
    margin-top: 2rem;
}

.notice li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.notice li b {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

/* Form Select & Input Refinement */
.form-select {
    width: 100%;
    padding: 1rem;
    border: 0.15rem solid var(--border-e8);
    border-radius: 0.8rem;
    font-size: 1.1rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1 4l5 5 5-5' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
}

.form-select:focus {
    border-color: var(--primary-red);
    outline: none;
}

.hide {
    display: none !important;
}

/* Custom Animations */
.v-article {
    opacity: 0;
    transform: translateY(2rem);
    animation: fadeInUp 0.6s forwards;
    animation-delay: var(--_delay, 0s);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #cbd5e1;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.policy-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    white-space: pre-wrap;
}

.modal-footer {
    padding: 1.2rem;
    display: flex;
    justify-content: center;
    border-top: 1px solid #f1f5f9;
}

.btn-confirm {
    width: 100%;
    padding: 0.8rem;
    background: #7BA5D6;
    color: #fff;
    border: none;
    border-radius: 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

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

/* New Bank Modal Styles */
.new-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.new-modal.active {
    display: flex;
}

.new-modal__inner {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    padding: 1.5rem;
    height: 85vh;
    /* 고정 높이 비율 설정 */
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.drag-span {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.drag-span__bar {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
}

.new-modal .close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #cbd5e1;
    z-index: 10;
}

.__modal_content_wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    /* 내부 스크롤 허용을 위해 부모 차단 */
}

.new-modal__inner__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.new-modal__inner__content header {
    flex-shrink: 0;
}

.new-modal__inner__content header h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.list-box {
    overflow-y: auto;
    flex: 1;
    padding-right: 5px;
    /* 스크롤바 공간 */
}

.list-box::-webkit-scrollbar {
    width: 4px;
}

.list-box::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 2px;
}

.list-box ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.list-box li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.list-box li:hover,
.list-box li.active {
    border-color: #7BA5D6;
    background: rgba(255, 92, 117, 0.03);
}

.list-box li img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.list-box li p {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.list-box li.active p {
    color: #7BA5D6;
}

.btns.__bank_select {
    padding-top: 1rem;
}

.btns.__bank_select button {
    width: 100%;
    padding: 1rem;
    background: #7BA5D6;
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

/* Account Info UI Refinement */
.bank-btn-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1.2rem;
    cursor: pointer;
    margin: 1rem 0;
    transition: all 0.2s;
}

.bank-btn-select:hover {
    border-color: #e2e8f0;
    background: #fcfdfe;
}

.bank-btn-select .label {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.bank-btn-select .chevron {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.bank-wrap .box {
    border: none !important;
    background: #fff !important;
}

/* Modernized Buy Page Styles */
.buy-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    border: none;
    /* Remove old grid border */
}

.cat-item {
    padding: 0.8rem 1.5rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    background: #fff;
    border-radius: 2rem;
    /* Modern rounded chips */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.02);
}

.cat-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.cat-item.active {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
    box-shadow: 0 0.8rem 1.5rem rgba(30, 41, 59, 0.2);
}

.buy-brand-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    padding: 1.2rem 1.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.buy-brand-list::-webkit-scrollbar {
    display: none;
}

.brand-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.brand-item:hover,
.brand-item.active {
    color: #1e293b;
}

.brand-item.active {
    position: relative;
}

.brand-item.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #1e293b;
    border-radius: 50%;
}

.brand-divider {
    color: #e2e8f0;
    font-size: 0.8rem;
}

.buy-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.2rem 1.8rem;
    background: #f8fafc;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
}

.total-count {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
}

.total-count span {
    color: #7BA5D6;
    font-weight: 900;
    font-size: 1.1rem;
    margin: 0 0.2rem;
}

.list-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-select {
    padding: 0.6rem 2.5rem 0.6rem 1.2rem;
    border: 1px solid #e2e8f0;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 1rem center;
    background-size: 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    outline: none;
    appearance: none;
    transition: all 0.2s;
}

.sort-select:hover {
    border-color: #cbd5e1;
}

.search-box {
    display: flex;
    background: #fff;
    border-radius: 1rem;
    padding: 0.25rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.search-box:focus-within {
    border-color: #7BA5D6;
    box-shadow: 0 0 0 4px rgba(123, 165, 214, 0.1);
}

.search-box input {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    width: 200px;
    outline: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.search-btn {
    background: #7BA5D6;
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.8rem;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.search-btn:hover {
    background: #5B8BC4;
    transform: scale(1.05);
}

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

.buy-card {
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.buy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.buy-card-img {
    height: 200px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbfcfd;
    transition: all 0.3s;
}

.buy-card:hover .buy-card-img {
    background: #fff;
}

.buy-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.05));
}

.buy-card-body {
    padding: 1.5rem;
}

.buy-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.buy-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buy-card-price-row .price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #7BA5D6;
    letter-spacing: -0.02em;
}

.buy-card-price-row .price span {
    font-size: 1.4rem;
}

/* .buy-card-price-row .icons {
    display: flex;
    gap: 0.6rem;
}

.buy-card-price-row .icons i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.buy-card-price-row .icons i:hover {
    background: #7BA5D6;
    color: #fff;
    transform: scale(1.1);
} */

@media (max-width: 1200px) {
    .buy-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .buy-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .buy-list-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        padding: 1rem;
    }

    .list-tools {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .sort-select {
        width: 100%;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
        flex: 1;
    }

    .buy-card-img {
        height: 160px;
        padding: 1rem;
    }

    .buy-card-body {
        padding: 0.8rem;
    }

    .buy-card-title {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .buy-card-price-row .price {
        font-size: 1rem;
    }

    .buy-card-price-row .price span {
        font-size: 1.2rem;
    }

    /* .buy-card-price-row .icons i {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    } */
}

@media (max-width: 600px) {
    .buy-category-grid {
        gap: 0.5rem;
    }

    .cat-item {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .buy-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .buy-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .buy-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .buy-brand-list {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
}

.bank-wrap .dashed-line {
    border-top: 1px dashed #f1f5f9;
    margin: 1rem 0;
}

/* Sub Hero Modernized */
.sub-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.sub-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(123, 165, 214, 0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.sub-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.2rem;
    letter-spacing: -0.04em;
    position: relative;
}

.sub-hero-desc {
    font-size: 1.15rem;
    font-weight: 600;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

.sub-content {
    padding: 80px 0;
}

/* Lottie Icon Sizing & Fix */
.lottie-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.lottie-icon lottie-player {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Modern Footer Design */
.footer {
    background-color: #1a1a1a;
    padding: 3rem 0 2.5rem;
    color: #999;
    font-size: 0.85rem;
}

/* 상단: 로고 + 대표번호 */
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.footer-top-left {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 2.6rem;
    /* filter: brightness(0) invert(1); */
    opacity: 0.85;
}

.footer-top-right {
    text-align: right;
}

.footer-phone {
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.footer-phone-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
}

/* 구분선 */
.footer-divider {
    border: none;
    border-top: 1px solid #2e2e2e;
    margin-bottom: 1.6rem;
}

/* 법인명 */
.footer-corporate {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 1.2rem;
}

/* ── B2B 배너 (about, sell 공용) ─────────────────── */
.b2b-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: 24px;
    padding: 40px 48px;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
    box-sizing: border-box;
    width: 100%;
}

.b2b-banner__badge {
    display: inline-block;
    background: #7BA5D6;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.b2b-banner__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.b2b-banner__desc {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

.b2b-banner__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 공용 버튼 */
.b2b-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.b2b-btn--kakao {
    background: #FEE500;
    color: #3a1d1d;
    box-shadow: 0 4px 14px rgba(254, 229, 0, 0.35);
}

.b2b-btn--phone {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.b2b-btn--blue {
    background: #7BA5D6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(123, 165, 214, 0.4);
}

/* 구매 CTA 섹션 */
.buy-cta-section {
    background: #f9f9f9;
    padding: 28px 0 20px;
    text-align: center;
    position: relative;
    z-index: 25;
}

.buy-cta-desc {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 18px;
    font-weight: 500;
}

.buy-cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 640px) {
    .b2b-banner {
        padding: 28px 24px;
        border-radius: 16px;
        margin-bottom: 40px;
    }

    .b2b-banner__btns {
        width: 100%;
        flex-direction: column;
    }

    .b2b-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .buy-cta-btns {
        flex-direction: column;
        align-items: stretch;
        padding: 0 4px;
    }
}

/* 사업자 정보 2열 */
.footer-biz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 3rem;
    margin-bottom: 1.8rem;
}

.footer-biz-row {
    display: flex;
    align-items: baseline;
    gap: 0;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.9;
}

.footer-biz-row span {
    color: #555;
    margin-right: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-biz-row span::after {
    content: ' |';
    margin-left: 2px;
}

.footer-copyright {
    color: #444;
    font-size: 0.78rem;
    border-top: 1px solid #2a2a2a;
    padding-top: 1.2rem;
}

@media (max-width: 760px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top-right {
        text-align: left;
    }

    .footer-biz-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-phone {
        font-size: 1.5rem;
    }
}

/* Notice Detail Card Styles */
.notice-detail-card {
    background: #fff;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.notice-detail-header {
    text-align: center;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 2.5rem;
}

.notice-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    margin-bottom: 1.2rem;
}

.notice-tag.important {
    background: #ebf4ff;
    color: #7BA5D6;
}

.notice-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.notice-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
}

.meta-divider {
    width: 1px;
    height: 12px;
    background: #e2e8f0;
}

.notice-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    min-height: 300px;
    padding: 0 1rem;
    word-break: break-all;
}

.notice-detail-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.btn-back-list {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #7BA5D6;
    color: #fff;
    border-radius: 1.2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-back-list:hover {
    background: #5B8BC4;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(123, 165, 214, 0.3);
}

@media (max-width: 768px) {
    .notice-detail-card {
        padding: 2rem 1.5rem;
    }

    .notice-detail-title {
        font-size: 1.6rem;
    }
}

/* Notice Table Styles */
.notice-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.notice-table th {
    background: #f8fafc;
    padding: 1.2rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.notice-table td {
    padding: 1.2rem 1rem;
    font-size: 1rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.notice-table tr:last-child td {
    border-bottom: none;
}

.notice-table tr:hover td {
    background: #f8fbff;
}

.notice-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.notice-link:hover {
    color: #7BA5D6;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 0.8rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    border-color: #7BA5D6;
    color: #7BA5D6;
    background: #f8fbff;
}

.page-link.active {
    background: #7BA5D6;
    border-color: #7BA5D6;
    color: #fff;
}

@media (max-width: 768px) {

    .notice-table th:nth-child(1),
    .notice-table td:nth-child(1),
    .notice-table th:nth-child(3),
    .notice-table td:nth-child(3),
    .notice-table th:nth-child(4),
    .notice-table td:nth-child(4) {
        display: none;
    }

    .notice-table td {
        padding: 1rem;
    }
}

/* About Page Styles */
.about-box {
    background: #fff;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 30px;
}

.about-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-box h3::before {
    content: '';
    width: 4px;
    height: 1.2rem;
    background: #7BA5D6;
    border-radius: 4px;
}

.about-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

.about-box p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature-item {
    background: #fff;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
    border-color: #7BA5D6;
}

.feature-icon {
    width: 48px;
    height: 48px;
    padding: 10px;
    background: #f8fbff;
    border-radius: 12px;
    filter: none !important;
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .about-box {
        padding: 2rem 1.5rem;
    }
}

/* File Input Styles */
.file-input-label {
    width: 100%;
    cursor: pointer;
}

.file-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.2rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.8rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.file-input-label:hover .file-btn {
    border-color: #7BA5D6;
    background: #f1f5f9;
}

.file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sub Hero Section - Modern Refined Design */
.sub-hero {
    position: relative;
    padding: 120px 0 160px;
    background: #fff;
    overflow: hidden;
    text-align: center;
}



.sub-hero .container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sub-hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.8rem;
    letter-spacing: -0.05em;
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.sub-hero-desc {
    font-size: 1.1rem;
    color: #f1f5f9;
    font-weight: 600;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    /* background: rgba(0, 0, 0, 0.2); */
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 12px;
}

@keyframes heroFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-content {
    padding: 100px 0 140px;
    background: #fff;
    border-radius: 5rem 5rem 0 0;
    margin-top: -80px;
    position: relative;
    z-index: 20;
    box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .sub-hero {
        padding: 80px 0 100px;
    }

    .sub-hero-title {
        font-size: 1.8rem;
    }

    .sub-hero-desc {
        font-size: 0.95rem;
        padding: 6px 12px;
    }

    .sub-content {
        border-radius: 3rem 3rem 0 0;
        margin-top: -60px;
    }
}

/* Responsive Adjustments for Main Dashboard */
@media (max-width: 768px) {
    .cp-list__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .cp {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
        min-width: 0;
        /* Allow shrinking */
    }

    .cp .icon {
        width: 1.6rem;
        height: 1.6rem;
        flex-shrink: 0;
    }

    .cp .text-ell {
        font-size: 0.8rem;
        flex: 1;
    }

    .cp .circle-per {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        top: -0.5rem;
        right: -0.5rem;
    }

    .inputs {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .__pin {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .__pin::placeholder {
        font-size: 0.8rem;
    }

    .inputs-wrap {
        padding: 1rem;
    }

    .inputs-wrap {
        padding: 1.2rem;
    }

    .cp-wrap {
        padding: 1rem;
    }

    .cp-info {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .cp-info .icon {
        width: 2.2rem;
        height: 2.2rem;
    }

    .notice,
    .box {
        padding: 0.8rem;
    }

    .notice ul {
        margin-top: 1.5rem;
    }

    .notice li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .bank-wrap-sticky {
        position: static;
        top: auto;
    }
}

@media (max-width: 480px) {
    .cp-list__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .inputs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .inputs-wrap {
        padding: 1rem;
    }

    .dashboard-area .limit-container>div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .notice-area .limit-container {
        padding: 0 15px;
    }
}