/* Custom Design Tokens & CSS Variables */
:root {
    --color-black: #111111;
    --color-white: #ffffff;
    --color-gray: #555555;
    --color-lightgray: #aaaaaa;
    --color-border: #f0f0f0;
    --color-bg-light: #fafafa;
    --color-accent: #d0ac88; /* Gold/Beige tone */
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    
    --sidebar-width: 240px;
    --header-height-mobile: 60px;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--color-black);
    transition: color 0.3s;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

/* Skip Navigation */
#skipNavigation {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 0;
}

#skipNavigation a {
    position: absolute;
    left: 0;
    top: -100px;
    display: block;
    padding: 10px 20px;
    background: var(--color-black);
    color: var(--color-white);
    transition: top 0.3s;
}

#skipNavigation a:focus {
    top: 0;
}

/* Top Promotion Banner */
.main_top_banner {
    width: 100%;
    height: 40px;
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2000;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s;
}

.main_top_banner.closed {
    height: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.top_banner_box_inner {
    width: 100%;
    max-width: 1480px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top_banner_text {
    flex: 1;
    text-align: center;
}

.top_banner_text a {
    color: var(--color-white);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.top_banner_close {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--color-white);
    opacity: 0.9;
}

.top_banner_close input[type="checkbox"] {
    width: 13px;
    height: 13px;
    accent-color: var(--color-black);
    cursor: pointer;
}

.top_banner_close label {
    cursor: pointer;
    user-select: none;
}

.top_banner_close .close-btn {
    cursor: pointer;
    font-size: 14px;
    padding: 2px 5px;
    transition: transform 0.2s;
}

.top_banner_close .close-btn:hover {
    transform: scale(1.2);
}

/* Page Layout Wrapper */
#wrap {
    width: 100%;
    position: relative;
    min-height: 100vh;
}

/* ========================================== */
/* HEADER STYLING (Left Sidebar on Desktop)   */
/* ========================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    border-right: 1px solid var(--color-border);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    z-index: 1500;
    background-color: var(--color-white);
    transition: top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Adjust header position dynamically based on top banner */
body:not(.top-banner-closed) #header {
    top: 40px;
}

#header .mask {
    display: none;
}

.h_menuBtn, .h_icons, .m_close {
    display: none;
}

/* Header Logo */
.top_logo {
    margin-bottom: 50px;
}

.top_logo a {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 24px;
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.top_logo .text_logo {
    display: inline-block;
}

.top_logo img {
    display: none;
}

/* Header Navigation flex container */
.header_flex {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav_scroll_container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Categories List */
.h_mainMenu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.h_mainMenu ul li a {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Community Board Menu */
.boardMenu {
    margin-top: 25px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.boardMenu_title {
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-gray);
}

.boardMenu_title .arrow-down {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--color-gray);
    border-bottom: 1px solid var(--color-gray);
    transform: rotate(45deg);
    margin-right: 5px;
    transition: transform 0.3s;
}

.boardMenu.active .boardMenu_title .arrow-down {
    transform: rotate(-135deg);
}

.boardSubMenu {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 10px;
    margin-top: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), margin 0.3s;
}

.boardMenu.active .boardSubMenu {
    max-height: 250px;
    margin-top: 12px;
}

.boardSubMenu li a {
    font-size: 12px;
    color: var(--color-gray);
}

/* Member GNB Links */
.gnb {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gnb a {
    font-size: 12px;
    color: var(--color-gray);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Search Trigger Button */
.search_box {
    margin-top: 5px;
}

.searchBtn {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    padding-left: 20px;
    background: url('https://ecudemo374263.cafe24.com/web/upload/img/search.svg') no-repeat left center;
    background-size: 14px;
}

/* SNS Instagram Widget */
.header_sns {
    margin-top: auto;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.header_sns a {
    color: var(--color-lightgray);
}

/* ========================================== */
/* MAIN CONTAINER & GRID SYSTEM               */
/* ========================================== */
#container {
    width: 100%;
    margin-left: 0;
    transition: padding-top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Offset for mobile header height */
@media (max-width: 1024px) {
    body:not(.top-banner-closed) #container {
        padding-top: calc(var(--header-height-mobile) + 40px);
    }
    body.top-banner-closed #container {
        padding-top: var(--header-height-mobile);
    }
}

#contents {
    padding: 0 30px;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 20px;
    box-sizing: border-box;
}

/* Content grid alignments */
.grid_1_3 {
    grid-column: 1/13;
    width: 100%;
}

.main_grid_col13 {
    grid-column: 1/13;
}

/* General Section Margin */
.marginT {
    margin-top: 100px;
}

/* Section Header Typography */
.main_title {
    margin-bottom: 30px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    font-size: 26px;
    font-family: var(--font-serif);
    font-weight: 300 !important;
}

.main_moreBtn {
    display: flex;
    flex-flow: row nowrap;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-lightgray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main_moreBtn::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url('https://ecudemo374263.cafe24.com/web/upload/img/arrow.svg') no-repeat center;
    background-size: contain;
    transition: transform 0.3s;
}

.main_moreBtn:hover {
    color: var(--color-black);
}

.main_moreBtn:hover::after {
    transform: translateX(4px);
}

/* ========================================== */
/* 1. HERO SLIDE CAROUSEL                     */
/* ========================================== */
.mainSlide {
    width: calc(100% + 60px);
    position: relative;
    left: -30px;
}

.mainSlide .swiper-slide {
    width: 100%;
}

.mainSlide .swiper-slide a {
    display: block;
    width: 100%;
}

.mainSlide .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom Swiper Pagination Bullets (Minimalist Bars) */
.mainSlide .bar_pagi {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    background-color: var(--color-lightgray) !important;
    opacity: 0.4 !important;
}

.mainSlide .bar_pagi .swiper-pagination-bullet {
    margin: 0 3px !important;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.mainSlide .bar_pagi .swiper-pagination-bullet-active {
    width: 16px;
    background-color: var(--color-black) !important;
    opacity: 1 !important;
}

/* ========================================== */
/* 2. CIRCLE QUICK MENU                       */
/* ========================================== */
.mainMenu {
    display: block;
    padding: 20px 0;
}

.mainMenu ul {
    display: flex;
    flex-flow: row nowrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.mainMenu ul li a {
    display: flex;
    flex-flow: column;
    gap: 12px;
    width: 100px;
    font-size: 13px;
    text-align: center;
    font-weight: 300;
}

.mainMenu ul li .menu_img {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1/1;
    border: 1px solid var(--color-border);
}

.mainMenu ul li .menu_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mainMenu ul li a:hover .menu_img img {
    transform: scale(1.08);
}

.mainMenu ul li a span {
    letter-spacing: 0.5px;
}

.mo_mainMenu {
    display: none;
}

/* ========================================== */
/* 3. PRODUCT CARDS & GRID                    */
/* ========================================== */
.product_swiper {
    width: 100%;
    overflow: hidden;
}

/* Desktop sizing adjustments */
@media (min-width: 1025px) {
    .product_swiper {
        width: calc(100% + 30px);
    }
}

.prdList {
    list-style: none;
    display: flex;
}

.prdCard {
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
}

/* Card Thumbnail Swap Effect */
.prdCard .thumbnail {
    width: 100%;
    position: relative;
}

.prdCard .prdImg {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-bg-light);
    aspect-ratio: 3/4;
}

.prdCard .prdImg a {
    display: block;
    width: 100%;
    height: 100%;
}

.prdCard .prdImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Secondary image overlaid on back */
.prdCard .prdImg .img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Image Swap Animation on Hover */
.prdCard:hover .prdImg .img-front {
    transform: scale(1.02);
}

.prdCard:hover .prdImg .img-back {
    opacity: 1;
    transform: scale(1.02);
}

/* Hover Icon Overlay Buttons */
.icon__box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.prdCard:hover .icon__box {
    opacity: 1;
    transform: translateY(0);
}

.wish-icon, .cart-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    background-position: center;
    background-repeat: no-repeat;
}

.wish-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%23111111' stroke-width='1.5'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.wish-icon.active {
    background-color: var(--color-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='%23ffffff' stroke='none'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.cart-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%23111111' stroke-width='1.5'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
}

.wish-icon:hover, .cart-icon:hover {
    transform: scale(1.1);
    background-color: var(--color-bg-light);
}

.wish-icon.active:hover {
    background-color: var(--color-accent);
}

/* Card Descriptions */
.prdCard .description {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 5px;
}

.prdCard .name {
    font-size: 14px;
    font-weight: 400;
}

.prdCard .summary {
    font-size: 12px;
    color: var(--color-gray);
    font-weight: 300;
}

.prdCard .price-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.prdCard .original-price {
    font-size: 12px;
    color: var(--color-lightgray);
    text-decoration: line-through;
}

.prdCard .sale-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
}

/* Color swatches/chips */
.color-chips {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.color-chips .chips {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    display: inline-block;
    cursor: pointer;
}

/* ========================================== */
/* 4. SPLIT COLLECTION GRID                   */
/* ========================================== */
.collection_img {
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
    width: 100%;
}

.coll_banner {
    position: relative;
    width: 50%;
    overflow: hidden;
    aspect-ratio: 1.6/1;
}

.coll_banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.coll_banner:hover img {
    transform: scale(1.04);
}

/* Subtle Text Overlay Block on Hover */
.collection_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    cursor: pointer;
}

.collection_box .collection_title {
    padding: 40px;
    font-size: 20px;
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: 2px;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.coll_banner:hover .collection_box {
    opacity: 1;
    visibility: visible;
}

.coll_banner:hover .collection_box .collection_title {
    transform: translateY(0);
}

/* ========================================== */
/* 5. EDITORIAL BRAND BANNER SECTION          */
/* ========================================== */
.main_banner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-gap: 30px;
    align-items: center;
    background-color: var(--color-bg-light);
    padding: 60px 40px;
}

.main_banner .main_banner_img {
    grid-column: 1/7;
    overflow: hidden;
}

.main_banner .main_banner_img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s;
}

.main_banner:hover .main_banner_img img {
    transform: scale(1.02);
}

.main_banner .main_banner_text {
    grid-column: 7/11;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding-left: 20px;
}

.main_banner .main_banner_text h3 {
    margin-bottom: 12px;
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 300;
    color: var(--color-black);
}

.main_banner .main_banner_text h4 {
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 300;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main_banner .main_banner_text p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-gray);
}

/* ========================================== */
/* 6. PHOTO REVIEWS GRID                      */
/* ========================================== */
.photo_review_container {
    width: 100%;
}

.review_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.review_item {
    width: 100%;
    cursor: pointer;
}

.review_img_wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.review_img_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.review_item:hover .review_img_wrapper img {
    transform: scale(1.06);
}

/* Overlay Details on Review Cards */
.review_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.review_item:hover .review_overlay {
    opacity: 1;
    visibility: visible;
}

.review_text {
    color: var(--color-white);
    font-size: 12px;
    line-height: 1.6;
    font-weight: 300;
}

.review_author {
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 400;
    align-self: flex-end;
}

/* ========================================== */
/* FOOTER DESIGN                              */
/* ========================================== */
#footer {
    width: 100%;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    margin-top: 100px;
    grid-column: 1/13; /* grid spans full page */
}

.footer_inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 60px 30px;
}

.footerTop {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.fnb {
    list-style: none;
    display: flex;
    gap: 30px;
}

.fnb li a {
    font-size: 13px;
    color: var(--color-gray);
    font-weight: 300;
}

.footer_body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footerLeft {
    flex: 1;
    min-width: 300px;
}

.address address {
    font-style: normal;
    color: var(--color-gray);
    font-weight: 300;
    font-size: 12px;
    line-height: 2;
}

.address .phone_num {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
}

.footerRight {
    min-width: 250px;
}

.bank_info {
    font-size: 12px;
    color: var(--color-gray);
    line-height: 1.8;
}

.bank_title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bank_icon {
    width: 20px;
    height: 20px;
}

.bank_owner {
    font-weight: 500;
    color: var(--color-black);
    font-size: 13px;
}

.bank_account {
    font-weight: 300;
}

.footerBottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
}

.footerBottom small {
    font-size: 11px;
    color: var(--color-lightgray);
}

/* ========================================== */
/* FLOATING NAV BUTTONS                       */
/* ========================================== */
#scrollBtns {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scrollBtn {
    width: 44px;
    height: 44px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
}

.scrollBtn:hover {
    background-color: var(--color-bg-light);
    transform: scale(1.05);
}

.scrollTop {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23111111' stroke-width='2'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E");
}

.scrollBottom {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23111111' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* ========================================== */
/* SEARCH MODAL OVERLAY                       */
/* ========================================== */
#search_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search_modal.active {
    opacity: 1;
    visibility: visible;
}

.sm_wrap {
    width: 100%;
    max-width: 600px;
    padding: 30px;
    position: relative;
}

.sm_container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.sm_container .close_btn {
    position: absolute;
    top: -50px;
    right: 30px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-black);
    transition: transform 0.2s;
}

.sm_container .close_btn:hover {
    transform: scale(1.2);
    color: var(--color-accent);
}

.sm_title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
}

.sm_search_bar {
    width: 100%;
    position: relative;
    border-bottom: 2px solid var(--color-black);
    display: flex;
    align-items: center;
}

.sm_search_bar input[type="text"] {
    width: 100%;
    height: 50px;
    border: none;
    background: transparent;
    padding: 10px 50px 10px 10px;
    font-size: 16px;
    outline: none;
    font-family: var(--font-sans);
}

.sm_search_bar .btnSearch {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm_search_bar .btnSearch img {
    width: 20px;
    height: 20px;
}

/* ========================================== */
/* REVIEW DETAILED POPUP                      */
/* ========================================== */
.popup_dimmed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup_dimmed.active {
    opacity: 1;
    visibility: visible;
}

.popup_content {
    background-color: var(--color-white);
    width: 90%;
    max-width: 800px;
    position: relative;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.popup_close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.popup_close:hover {
    color: var(--color-accent);
}

.popup_body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}

.popup_img_area {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

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

.popup_text_area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup_text_area h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.popup_text {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.8;
    font-weight: 300;
    flex: 1;
}

.popup_author {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-black);
    margin-top: 20px;
    align-self: flex-end;
}

/* ========================================== */
/* RESPONSIVE STYLING (MEDIA QUERIES)         */
/* ========================================== */

/* Desktop spacing */
@media (min-width: 1025px) {
    #container, #footer {
        padding-left: var(--sidebar-width);
    }
}

/* Laptop spacing refinements (1025px to 1460px) */
@media (max-width: 1460px) and (min-width: 1025px) {
    :root {
        --sidebar-width: 200px;
    }
    #header {
        padding: 50px 30px;
    }
    .grid_1_3 {
        grid-column: 1/13;
    }
}

/* Medium viewport (Tablets, Laptops < 1024px) */
@media (max-width: 1024px) {
    #contents {
        padding: 0 16px;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 10px;
    }
    
    .grid_1_3 {
        grid-column: 1/7;
        box-sizing: border-box;
    }
    
    .main_grid_col13 {
        grid-column: 1/7;
        padding: 0;
    }
    
    .marginT {
        margin-top: 60px;
    }

    /* Mobile Top Banner Spacing Refinements */
    .top_banner_box_inner {
        padding: 0 15px;
    }
    
    .top_banner_close label,
    .top_banner_close input[type="checkbox"] {
        display: none;
    }
    
    .top_banner_text {
        padding-right: 25px;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .top_banner_text a {
        font-size: 11px;
    }
    
    .top_banner_close {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Mobile Top Header bar */
    #header {
        position: fixed;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: var(--header-height-mobile);
        padding: 0 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    body:not(.top-banner-closed) #header {
        top: 40px;
    }

    body.top-banner-closed #header {
        top: 0;
    }
    
    .top_logo {
        margin-bottom: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Toggle Hamburger Button visible */
    .h_menuBtn {
        display: block;
        width: 24px;
        height: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
    }
    
    .h_menuBtn a {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .h_menuBtn span {
        display: block;
        width: 20px;
        height: 1.5px;
        background-color: var(--color-black);
        transition: transform 0.3s, opacity 0.3s;
    }
    
    /* Hamburger Active animation */
    .h_menuBtn.active .line1 {
        transform: translateY(6.5px) rotate(45deg);
    }
    
    .h_menuBtn.active .line2 {
        opacity: 0;
    }
    
    .h_menuBtn.active .line3 {
        transform: translateY(-6.5px) rotate(-45deg);
    }
    
    /* Right Icons visible */
    .h_icons {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .h_icons img {
        width: 20px;
        height: 20px;
    }
    
    /* Slide out drawer styles */
    .header_flex {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100%;
        background-color: var(--color-white);
        z-index: 2500;
        padding: 60px 24px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .header_flex.on {
        left: 0;
    }
    
    /* Mask/Backdrop Overlay */
    #header .mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.4);
        z-index: 2400;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s;
        backdrop-filter: blur(2px);
    }
    
    #header .mask.on {
        opacity: 1;
        visibility: visible;
    }
    
    .m_close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 20px;
    }
    
    /* Quick Menu Carousel visible on mobile */
    .mainMenu {
        display: none;
    }
    
    .mo_mainMenu {
        display: block;
        padding: 10px 0;
    }
    
    .mo_mainMenu ul {
        display: flex;
    }
    
    .mo_mainMenu ul li {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .mo_mainMenu ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 70px;
        font-size: 11px;
    }
    
    .mo_mainMenu ul li .menu_img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        border: 1px solid var(--color-border);
    }
    
    /* Sliders sizes adjustment */
    .mainSlide {
        width: calc(100% + 24px);
        left: -12px;
    }
    
    .main_title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .main_moreBtn {
        font-size: 11px;
        gap: 6px;
    }
    
    /* 2-column promotion banners styling */
    .collection_img {
        flex-direction: row;
        gap: 10px;
    }
    
    .coll_banner .collection_box {
        position: static;
        height: auto;
        visibility: visible;
        opacity: 1;
        background: transparent;
        margin-top: 5px;
    }
    
    .coll_banner .collection_box .collection_title {
        padding: 0;
        font-size: 13px;
        color: var(--color-black);
        transform: none;
    }
    
    /* Editorial Section Adjustments */
    .main_banner {
        grid-template-columns: 1fr;
        padding: 30px 16px;
        grid-gap: 20px;
    }
    
    .main_banner .main_banner_img {
        grid-column: 1;
    }
    
    .main_banner .main_banner_text {
        grid-column: 1;
        padding-left: 0;
        text-align: center;
    }
    
    .main_banner .main_banner_text h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .main_banner .main_banner_text h4 {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .main_banner .main_banner_text p {
        font-size: 12px;
        line-height: 1.6;
    }
    
    /* Reviews Grid mobile layouts */
    .review_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }
    
    /* Footer responsiveness */
    .footer_body {
        flex-direction: column;
        gap: 30px;
    }
    
    #scrollBtns {
        bottom: 20px;
        right: 20px;
    }
    
    .scrollBtn {
        width: 38px;
        height: 38px;
    }
    
    .popup_body {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }
    
    .popup_content {
        padding: 20px;
    }
}

/* Small screen (Mobile Phones < 640px) */
@media (max-width: 640px) {
    .review_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================== */
/* COMMON: CART BADGE STYLES                  */
/* ========================================== */
.cart_icon_link {
    position: relative;
    display: inline-block;
}

.cart_count_badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 9px;
    font-weight: 600;
    min-width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* GNB Badge text version adjustments */
.gnb .cart_count_badge {
    position: static;
    display: inline;
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
    box-shadow: none;
}

/* ========================================== */
/* SHOP PAGE STYLING                          */
/* ========================================== */
.shop_header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.shop_header h1 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.shop_header p {
    font-size: 13px;
    color: var(--color-gray);
    font-weight: 300;
}

.shop_container .prdList {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    list-style: none;
    margin-top: 10px;
}

.filter_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--color-gray);
}

.filter_bar select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    cursor: pointer;
    color: var(--color-black);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 80px 0 40px 0;
}

.pagination a, .pagination span {
    font-size: 13px;
    color: var(--color-gray);
    font-weight: 300;
    padding: 5px 8px;
    transition: color 0.3s;
}

.pagination .current {
    font-weight: 600;
    color: var(--color-black);
    border-bottom: 1.5px solid var(--color-black);
}

.pagination a:hover {
    color: var(--color-black);
}

/* ========================================== */
/* PRODUCT DETAIL PAGE STYLING                */
/* ========================================== */
.product_detail_wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-gap: 50px;
    margin-top: 40px;
}

.product_gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product_main_img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.product_main_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product_main_img img:hover {
    transform: scale(1.03);
}

.product_thumbnails {
    display: flex;
    gap: 10px;
}

.product_thumbnails .thumb {
    width: 80px;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border);
    opacity: 0.6;
    transition: opacity 0.3s, border-color 0.3s;
}

.product_thumbnails .thumb.active, .product_thumbnails .thumb:hover {
    opacity: 1;
    border-color: var(--color-black);
}

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

/* Product Info Box */
.product_info_box {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 10px;
}

.prd_detail_header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.prd_detail_header .breadcrumbs {
    font-size: 11px;
    color: var(--color-lightgray);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prd_detail_header h1 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.prd_detail_header .price {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
}

.prd_detail_options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 25px;
}

.option_row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option_row label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-gray);
}

.option_row select {
    width: 100%;
    height: 45px;
    border: 1px solid var(--color-border);
    padding: 0 15px;
    font-size: 13px;
    outline: none;
    background-color: var(--color-white);
    font-family: inherit;
    cursor: pointer;
}

.quantity_selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    width: 120px;
    height: 45px;
}

.quantity_selector button {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-gray);
}

.quantity_selector input {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 13px;
    outline: none;
    font-family: inherit;
}

.prd_detail_buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn_buy, .btn_add_cart {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn_buy {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn_buy:hover {
    background-color: var(--color-accent);
}

.btn_add_cart {
    border: 1px solid var(--color-black);
    color: var(--color-black);
    background-color: var(--color-white);
}

.btn_add_cart:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Tabs section details */
.product_tabs {
    margin-top: 80px;
    grid-column: 1/3;
}

.tab_list {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    list-style: none;
    gap: 40px;
}

.tab_list li {
    font-size: 14px;
    font-weight: 300;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab_list li.active {
    color: var(--color-black);
    font-weight: 500;
}

.tab_list li.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
}

.tab_panel {
    display: none;
    padding: 40px 0;
    line-height: 1.8;
    color: var(--color-gray);
}

.tab_panel.active {
    display: block;
}

.tab_panel img {
    margin: 20px auto;
    display: block;
    max-width: 700px;
}

/* ========================================== */
/* CART PAGE STYLING                          */
/* ========================================== */
.cart_container {
    margin-top: 40px;
}

.cart_wrap {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    grid-gap: 40px;
    align-items: flex-start;
}

.cart_table_wrap {
    width: 100%;
    overflow-x: auto;
}

.cart_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.cart_table th {
    border-bottom: 1px solid var(--color-black);
    padding: 15px 10px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--color-gray);
}

.cart_table td {
    padding: 20px 10px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.cart_item_info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart_item_img {
    width: 70px;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

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

.cart_item_details .item_name {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 5px;
}

.cart_item_details .item_option {
    font-size: 11px;
    color: var(--color-lightgray);
}

.cart_table .price {
    font-weight: 500;
}

.cart_table .btn_remove {
    font-size: 18px;
    color: var(--color-lightgray);
    transition: color 0.3s;
    line-height: 1;
}

.cart_table .btn_remove:hover {
    color: var(--color-black);
}

/* Order Summary Box */
.cart_summary_box {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 30px;
}

.cart_summary_box h2 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary_row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--color-gray);
    margin-bottom: 15px;
}

.summary_row.total {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
}

.btn_checkout {
    width: 100%;
    height: 50px;
    background-color: var(--color-black);
    color: var(--color-white);
    margin-top: 30px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.btn_checkout:hover {
    background-color: var(--color-accent);
}

/* Empty Cart State */
.cart_empty_state {
    text-align: center;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cart_empty_state p {
    font-size: 15px;
    color: var(--color-gray);
    font-weight: 300;
}

.btn_go_shop {
    padding: 12px 35px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.btn_go_shop:hover {
    background-color: var(--color-accent);
}

/* ========================================== */
/* ABOUT BRAND PAGE STYLING                   */
/* ========================================== */
.about_container {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.about_hero_sec {
    text-align: center;
    margin-bottom: 100px;
}

.about_hero_sec h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 3px;
    color: var(--color-black);
}

.about_hero_sec p {
    font-size: 16px;
    font-weight: 300;
    line-height: 2;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.about_img_block {
    width: 100%;
    margin-bottom: 100px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.about_img_block img {
    width: 100%;
    object-fit: cover;
}

.about_story_sec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    align-items: center;
    margin-bottom: 100px;
}

.about_story_text h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 25px;
}

.about_story_text p {
    font-size: 13px;
    color: var(--color-gray);
    line-height: 1.8;
    font-weight: 300;
}

.about_story_img {
    aspect-ratio: 1/1;
    overflow: hidden;
}

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

/* Responsive adjustment for new pages */
@media (max-width: 1024px) {
    .product_detail_wrap {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
    
    .product_tabs {
        grid-column: 1;
        margin-top: 40px;
    }
    
    .cart_wrap {
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }
    
    .about_hero_sec h1 {
        font-size: 38px;
    }
    
    .about_story_sec {
        grid-template-columns: 1fr;
        grid-gap: 30px;
        direction: ltr !important;
    }
    
    .about_story_text {
        direction: ltr !important;
    }
    
    .shop_container .prdList {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    
    .cart_table {
        min-width: 550px;
    }
}

/* ========================================== */
/* FIGMA INDEX: RALEE LOUNGE                  */
/* ========================================== */
body.figma-index {
    --rl-ink: #171514;
    --rl-muted: #746d68;
    --rl-soft: #f4f2ef;
    --rl-green: #729384;
    --rl-pink: #e7c8c4;
    --rl-mauve: #8d7373;
    --rl-sidebar: 168px;
    background: #fff;
    color: var(--rl-ink);
    font-family: "Times New Roman", "Noto Serif KR", serif;
    font-size: 12px;
    letter-spacing: 0;
}

body.figma-index a:hover {
    color: inherit;
}

body.figma-index #header {
    top: 30px;
    left: 30px;
    bottom: auto;
    width: 220px;
    height: auto;
    min-height: 0;
    padding: 24px 20px;
    border: 0;
    background: rgba(255, 255, 255, 0.68);
    z-index: 20;
}

body.figma-index .rl-logo {
    margin: 0 0 22px;
}

body.figma-index .rl-logo a {
    display: block;
}

body.figma-index .rl-logo img {
    height: auto;
    max-height: 20px;
    display: block;
}

body.figma-index .header_flex {
    display: block;
    flex: 0 0 auto;
}

body.figma-index .nav_scroll_container {
    gap: 20px;
}

body.figma-index .h_mainMenu ul {
    gap: 2px;
}

body.figma-index .h_mainMenu ul li a,
body.figma-index .gnb a {
    color: var(--rl-ink);
    display: inline-block;
    font-family: "Times New Roman", serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

body.figma-index .gnb {
    gap: 3px;
    margin-top: 22px;
}

body.figma-index #container {
    margin: 0;
    padding: 0;
}

body.figma-index #contents {
    display: block;
    max-width: none;
    padding: 0 48px 0 290px;
    width: 100%;
}

.rl-hero {
    margin-left: -290px;
    position: relative;
    width: 100vw;
}

.rl-hero-slider {
    height: min(70vw, 1346px);
    min-height: 620px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.rl-hero-slide {
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.9s ease;
}

.rl-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.rl-hero img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.rl-hero p {
    bottom: 40px;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(40px, 7vw, 118px);
    font-style: italic;
    font-weight: 500;
    left: 48%;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}

.rl-quick {
    align-items: start;
    display: flex;
    gap: 34px;
    justify-content: center;
    margin: 86px auto 88px;
}

.rl-quick-item {
    align-items: center;
    color: var(--rl-ink);
    display: flex;
    flex-direction: column;
    font-size: 11px;
    gap: 15px;
    line-height: 1;
    text-align: center;
    width: 88px;
}

.rl-quick-item > img,
.rl-quick-solid::before {
    aspect-ratio: 1;
    background: var(--rl-soft);
    border-radius: 50%;
    content: "";
    display: block;
    height: 88px;
    object-fit: cover;
    width: 88px;
}

.rl-quick-solid {
    display: grid;
    grid-template-rows: 88px auto;
    line-height: 88px;
    place-items: center;
    position: relative;
}

.rl-quick-solid::before,
.rl-quick-solid > span {
    grid-column: 1;
}

.rl-quick-solid::before {
    grid-row: 1;
}

.rl-quick-solid.dark::before {
    background: #3f3f3f;
}

.rl-quick-solid.mauve::before {
    background: var(--rl-mauve);
}

.rl-quick-solid {
    color: #fff;
    font-size: 12px;
}

.rl-quick-solid > span {
    color: var(--rl-ink);
    font-size: 11px;
    grid-row: 2;
    line-height: 1;
}

.rl-quick-solid .rl-quick-main {
    color: #fff;
    grid-row: 1;
    line-height: 88px;
    z-index: 1;
}

.rl-products {
    margin: 0 auto 84px;
    max-width: 1470px;
}

.rl-products h2 {
    font-family: "Times New Roman", serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 28px;
}

.rl-product-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rl-product-card img {
    aspect-ratio: 2 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.rl-product-card h3 {
    font-family: "Times New Roman", serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    margin: 20px 0 5px;
}

.rl-product-card p {
    font-size: 11px;
    font-weight: 600;
    margin: 0 0 7px;
}

.rl-swatches {
    display: flex;
    gap: 4px;
}

.rl-swatches span {
    background: #e9b6b2;
    border-radius: 50%;
    height: 9px;
    width: 9px;
}

.rl-swatches span:nth-child(2) {
    background: #d8d2cb;
}

.rl-swatches span:nth-child(3) {
    background: #705b5a;
}

.rl-promo {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto 122px;
    max-width: 1470px;
}

.rl-promo-card {
    color: #fff;
    display: grid;
    min-height: 168px;
    padding: 45px 48px;
    position: relative;
}

.rl-promo-card.green {
    background: var(--rl-green);
}

.rl-promo-card.pink {
    background: var(--rl-pink);
    color: #6e5452;
}

.rl-promo-card strong {
    font-family: "Inter", sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}

.rl-promo-card span {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    margin-top: 10px;
}

.rl-promo-card em {
    align-self: end;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1.2px;
    margin-top: 26px;
    text-transform: uppercase;
}

.rl-promo-card b {
    align-items: center;
    border: 1px solid currentColor;
    display: flex;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    height: 70px;
    justify-content: center;
    min-width: 160px;
    padding: 0 28px;
    position: absolute;
    right: 70px;
    top: 48px;
}

.rl-promo-card.pink b {
    border-radius: 999px;
    font-size: 22px;
    height: 58px;
}

.rl-story {
    align-items: center;
    display: grid;
    gap: 98px;
    grid-template-columns: minmax(0, 730px) minmax(320px, 1fr);
    margin: 132px auto 255px;
    max-width: 1470px;
}

.rl-story img {
    display: block;
    width: 100%;
}

.rl-story h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(44px, 5.2vw, 92px);
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 55px;
}

.rl-story strong {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
}

.rl-story p {
    color: #45413d;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.85;
    margin: 0 0 22px;
    max-width: 520px;
}

body.figma-index #footer {
    border: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    margin: 0;
    padding: 0 82px 70px var(--rl-sidebar);
}

.rl-footer p {
    font-family: "Times New Roman", serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.55;
    margin: 0;
}

.rl-footer nav {
    align-self: end;
    display: flex;
    gap: 42px;
}

.rl-footer nav a {
    font-family: "Times New Roman", serif;
    font-size: 12px;
    font-weight: 600;
}

body.figma-index #search_modal .btnSearch {
    background: var(--rl-ink);
    color: #fff;
    padding: 0 18px;
}

@media (max-width: 1024px) {
    body.figma-index {
        --rl-sidebar: 0px;
    }

    body.figma-index #header {
        align-items: center;
        background: rgba(255, 255, 255, 0.92);
        display: flex;
        flex-direction: row;
        height: 60px;
        justify-content: center;
        padding: 0 18px;
        position: fixed;
        width: 100%;
    }

    body.figma-index:not(.top-banner-closed) #header {
        top: 40px;
    }

    body.figma-index.top-banner-closed #header {
        top: 0;
    }

    body.figma-index .rl-logo {
        font-size: 23px;
        margin: 0;
    }

    body.figma-index .h_menuBtn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        height: 32px;
        justify-content: center;
        left: 16px;
        position: absolute;
        top: 14px;
        width: 32px;
        z-index: 2020;
    }

    body.figma-index .h_menuBtn span {
        background: var(--rl-ink);
        display: block;
        height: 1px;
        width: 22px;
    }

    body.figma-index .header_flex {
        background: #fff;
        bottom: 0;
        box-shadow: 12px 0 32px rgba(0, 0, 0, 0.08);
        display: block;
        left: -280px;
        padding: 80px 38px;
        position: fixed;
        top: 0;
        transition: left 0.3s ease;
        width: 260px;
        z-index: 2010;
    }

    body.figma-index .header_flex.on {
        left: 0;
    }

    body.figma-index #header .mask {
        background: rgba(0, 0, 0, 0.28);
        display: block;
        inset: 0;
        opacity: 0;
        position: fixed;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        visibility: hidden;
        z-index: 2000;
    }

    body.figma-index #header .mask.on {
        opacity: 1;
        visibility: visible;
    }

    body.figma-index .h_mainMenu ul li a,
    body.figma-index .gnb a {
        font-size: 13px;
        line-height: 1.6;
    }

    body.figma-index .m_close {
        color: var(--rl-ink);
        display: block;
        font-size: 18px;
        position: absolute;
        right: 20px;
        top: 18px;
    }

    body.figma-index .h_icons {
        display: flex;
        gap: 10px;
        position: absolute;
        right: 16px;
    }

    body.figma-index .h_icons a {
        font-size: 11px;
    }

    body.figma-index #contents {
        padding: 60px 18px 0;
    }

    .rl-hero {
        margin: 0 -18px;
        width: 100vw;
    }

    .rl-hero-slider {
        height: 72vh;
        min-height: 520px;
    }

    .rl-quick {
        gap: 18px;
        justify-content: center;
        margin: 48px 0 62px;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .rl-quick::-webkit-scrollbar {
        display: none;
    }

    .rl-product-grid {
        gap: 14px;
    }

    .rl-promo {
        grid-template-columns: 1fr;
        margin-bottom: 84px;
    }

    .rl-story {
        gap: 34px;
        grid-template-columns: 1fr;
        margin: 84px auto 120px;
    }

    body.figma-index #footer {
        gap: 24px;
        grid-template-columns: 1fr;
        padding: 0 18px 42px;
    }

    .rl-footer nav {
        flex-wrap: wrap;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .rl-hero-slider {
        height: 70vh;
        min-height: 460px;
    }

    .rl-hero p {
        bottom: 24px;
        left: 50%;
    }

    .rl-quick-item {
        width: 70px;
    }

    .rl-quick {
        justify-content: flex-start;
    }

    .rl-quick-item > img,
    .rl-quick-solid::before {
        height: 70px;
        width: 70px;
    }

    .rl-quick-solid {
        grid-template-rows: 70px auto;
        line-height: 70px;
    }

    .rl-quick-solid .rl-quick-main {
        line-height: 70px;
    }

    .rl-product-grid {
        grid-template-columns: 1fr;
    }

    .rl-product-card img {
        aspect-ratio: 4 / 5;
    }

    .rl-promo-card {
        min-height: 190px;
        padding: 30px 28px;
    }

    .rl-promo-card b {
        bottom: 28px;
        font-size: 18px;
        height: 52px;
        min-width: 120px;
        right: 28px;
        top: auto;
    }

    .rl-promo-card strong {
        font-size: 17px;
        max-width: 230px;
    }

    .rl-story h2 {
        margin-bottom: 32px;
    }
}


