@charset "utf-8";

/* ========================================
   GLOBALNEST - Main Page Stylesheet
   메인 페이지 전용 (헤더/푸터 제외)
======================================== */

.mv_box {
    aspect-ratio: 1 / 0.4963541666;
    width: 100%;
    min-height: inherit;
    max-height: 1000px;
}

.mv_box .inner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    height: 100%;
}

.mv_box h1 {
    color: #6B1F2A;
    font-family: "Noto Sans KR";
    font-size: clamp(40px, 5vw, 90px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 4px;
    width: 100%;
    word-break: break-all;
}

.mv_box h2 {
    color: rgba(228, 228, 228, 0.80);
    font-family: "Noto Sans KR";
    font-size: clamp(16px, 3vw, 24px);
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
    width: 100%;
}

@media all and (max-width:1080px) {
    .mv_box {
        aspect-ratio: unset;
        height: 600px;
    }
}

@media all and (max-width:768px) {
    .mv_box {
        height: 400px;
    }
}

/* Section Showcase */
.section_showcase {
    background: #181D23;
    padding: 144px 0;
    position: relative;
    overflow: hidden;
}

.section_showcase .inner {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.section_showcase .showcase_bg {
    position: absolute;
    left: -186px;
    bottom: 200px;
    font-family: 'Montserrat', sans-serif;
    font-size: 500px;
    font-weight: 900;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-30deg);
    transform-origin: top left;
    pointer-events: none;
    white-space: nowrap;
}

.section_showcase .showcase_item {
    position: relative;
}

.section_showcase .showcase_title {
    color: #fff;
    font-size: 60px;
    font-family: 'Noto Serif KR', serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.15;
    position: relative;
    z-index: 2;
}

.section_showcase .showcase_item_reverse .showcase_title {
    text-align: right;
}

.section_showcase .showcase_content {
    display: flex;
    align-items: center;
    gap: 100px;
    position: relative;
    z-index: 1;
    margin-top: -20px;

    justify-content: end;
}

.section_showcase .showcase_item_reverse .showcase_content {
    justify-content: unset;
}


.section_showcase .showcase_image {
    flex: 1;
    min-width: 0;
    max-width: 540px;
}

.section_showcase .showcase_image img {
    width: 100%;
    aspect-ratio: 539 / 360;
    object-fit: cover;
    display: block;
}

.section_showcase .showcase_text {
    flex: 0 0 640px;
    position: relative;
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section_showcase .showcase_desc {
    color: #D0D0D0;
    font-size: 25px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

.section_showcase .showcase_desc_lg {
    font-size: 30px;
}

.section_showcase .showcase_item_reverse .showcase_desc {
    text-align: right;
}

.section_showcase .showcase_mark {
    position: absolute;
    bottom: 0;
}

.section_showcase .showcase_mark_right {
    right: 0;
}

.section_showcase .showcase_mark_left {
    left: 0;
}

.section_showcase .showcase_divider {
    border-top: 1px solid #3F3F3F;
    padding: 8px 0;
    text-align: center;
    margin-top: 100px;
}

.section_showcase .showcase_divider_text {
    color: rgba(255, 126, 126, 0.1);
    font-size: 40px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}




@media all and (max-width:1300px) {
    .section_showcase .showcase_title {
        font-size: 45px;
    }
}

@media all and (max-width:1080px) {
    .section_showcase {
        padding: 80px 0;
    }

    .section_showcase .inner {
        gap: 60px;
    }

    .section_showcase .showcase_content {
        gap: 40px;
    }

    .section_showcase .showcase_desc {
        font-size: 16px;
    }

    .section_showcase .showcase_desc_lg {
        font-size: 22px;
    }

    .section_showcase .showcase_title {
        font-size: 40px;
    }

    .section_showcase .showcase_divider {
        margin-top: 60px;
    }

    .section_showcase .showcase_divider_text {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .section_showcase .showcase_bg {
        font-size: 300px;
    }


    .section_showcase .showcase_text {
        flex: 0 0 400px;
    }
}

@media all and (max-width:768px) {
    .section_showcase {
        padding: 60px 0;
    }

    .section_showcase .inner {
        gap: 48px;
    }

    .section_showcase .showcase_content {
        flex-direction: column;
        gap: 24px;
        margin-top: -10px;
    }

    .section_showcase .showcase_item_reverse .showcase_content {
        flex-direction: column-reverse;
    }

    .section_showcase .showcase_image {
        flex: none;
        width: 100%;
    }

    .section_showcase .showcase_text {
        width: 100%;
    }

    .section_showcase .showcase_desc {
        font-size: 16px;
    }

    .section_showcase .showcase_desc_lg {
        font-size: 18px;
    }

    .section_showcase .showcase_item_reverse .showcase_desc {
        text-align: left;
    }

    .section_showcase .showcase_item_reverse .showcase_title {
        text-align: left;
    }

    .section_showcase .showcase_title {
        font-size: 32px;
    }

    .section_showcase .showcase_divider {
        margin-top: 36px;
    }

    .section_showcase .showcase_divider_text {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .section_showcase .showcase_mark {
        position: relative;
        bottom: auto;
        margin-top: 16px;
    }

    .section_showcase .showcase_bg {
        font-size: 150px;
        left: -50px;
    }

    .showcase_desc br {
        display: none;
    }

    .section_showcase .showcase_image {
        max-width: unset;
    }

    .section_showcase .showcase_text {
        flex: 1;
    }
}


a.showcase_item {
    display: block; text-decoration: none;;
}

/* ----------------------------------------
   Inquiry Basket
---------------------------------------- */
.inquiry-basket {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 60;
}

.inquiry-basket[data-state="hidden"] {
    display: none;
}

.inquiry-basket__toggle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #0f172a;
    color: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.inquiry-basket__toggle:hover {
    transform: scale(1.05);
}

.inquiry-basket__toggle:active {
    transform: scale(0.95);
}

.inquiry-basket__toggle-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inquiry-basket__toggle:hover .inquiry-basket__toggle-bg {
    opacity: 1;
}

.inquiry-basket__toggle-icon {
    width: 2rem;
    height: 2rem;
}

.inquiry-basket__count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: #f43f5e;
    font-size: 0.625rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}

.inquiry-basket__panel {
    position: absolute;
    bottom: 6rem;
    right: 0;
    width: 25rem;
    max-width: 90vw;
    background: #fdfdfd;
    border-radius: 2.5rem;
    box-shadow: 0 30px 100px rgba(0,0,0,0.2);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    display: none;
}

.inquiry-basket__panel[data-state="open"] {
    display: block;
    animation: fadeInUp 0.3s ease;
}

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

.inquiry-basket__header {
    padding: 2rem;
    border-bottom: 1px solid #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(248, 250, 252, 0.5);
}

.inquiry-basket__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #0f172a;
}

.inquiry-basket__subtitle {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.inquiry-basket__close {
    color: #cbd5e1;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.inquiry-basket__close:hover {
    color: #0f172a;
}

.inquiry-basket__close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.inquiry-basket__items {
    max-height: 50vh;
    overflow-y: auto;
    padding: 1rem 2rem;
}

.inquiry-basket__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f8fafc;
}

.inquiry-basket__item:last-child {
    border-bottom: none;
}

.inquiry-basket__item-image {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
}

.inquiry-basket__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inquiry-basket__item-info {
    flex: 1;
    min-width: 0;
}

.inquiry-basket__item-title {
    font-size: 0.875rem;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inquiry-basket__item-price {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.inquiry-basket__item-remove {
    color: #e2e8f0;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.inquiry-basket__item-remove:hover {
    color: #f43f5e;
}

.inquiry-basket__item-remove svg {
    width: 1.25rem;
    height: 1.25rem;
}

.inquiry-basket__empty {
    padding: 3rem 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    display: none;
}

.inquiry-basket__empty[data-visible="true"] {
    display: block;
}

.inquiry-basket__footer {
    padding: 2rem;
    background: rgba(248, 250, 252, 0.5);
}

.inquiry-basket__submit {
    width: 100%;
    padding: 1.25rem;
    border-radius: 1rem;
    background-color: #0f172a;
    color: #fdfdfd;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
}

.inquiry-basket__submit:hover {
    background-color: #1e293b;
}

.inquiry-basket__submit:active {
    transform: scale(0.98);
}

/* ----------------------------------------
   Header Basket Icon + Badge
---------------------------------------- */
.nav_basket_btn {
    position: relative;
    background: none;
    border: none;
    color: #0f172a;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 1rem;
    transition: opacity 0.3s ease;
}

.nav_basket_btn:hover {
    opacity: 0.7;
}

.nav_basket_count {
    position: absolute;
    top: -0.25rem;
    right: -0.5rem;
    min-width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background-color: #f43f5e;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1.1rem;
    text-align: center;
}

.mobile_basket_count {
    display: inline-block;
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: #f43f5e;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.25rem;
    margin-left: 0.5rem;
}

/* ----------------------------------------
   Add to List Button
---------------------------------------- */
.add-to-list-btn {
    cursor: pointer;
    border: none;
}

/* ----------------------------------------
   Basket Added Modal
---------------------------------------- */
.basket-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.basket-modal {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 26rem;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 100px rgba(0,0,0,0.2);
}

.basket-modal__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.basket-modal__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.basket-modal__desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.basket-modal__actions {
    display: flex;
    gap: 0.75rem;
}

.basket-modal__btn {
    flex: 1;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.basket-modal__btn--secondary {
    background: #f1f5f9;
    color: #0f172a;
}

.basket-modal__btn--secondary:hover {
    background: #e2e8f0;
}

.basket-modal__btn--primary {
    background: #0f172a;
    color: #fdfdfd;
}

.basket-modal__btn--primary:hover {
    background: #1e293b;
}