 
        :root { --lg-red: #a50034; --black: #000; --dark-gray: #333; --light-gray: #f8f9fa; --border: #ececec; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Noto Sans', sans-serif; background: #fff; color: #333; line-height: 1.6; }

        /* 1. Navigation */
        header { background: var(--black); color: white; padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
        .nav-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .logo { font-size: 20px; font-weight: bold; cursor: pointer; font-family: 'Montserrat', sans-serif; }
        .logo span { color: var(--lg-red); }
        .nav-links { display: flex; gap: 15px; align-items: center; }
        .nav-link { color: #ccc; text-decoration: none; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s; }
        .nav-link:hover { color: white; }
        .btn-service { background: white; color: var(--black); padding: 8px 15px; border-radius: 4px; font-size: 13px; }
        .cart-trigger { background: var(--lg-red); border: none; color: white; padding: 8px 18px; border-radius: 25px; cursor: pointer; font-weight: bold; }

        /* 2. Page Sections */
        .page-section { display: none; min-height: 600px; }
        .page-section.active { display: block; }

        /* 3. Store Front (Hero & Filter) */
        .hero { height: 300px; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1556911220-e15b29be8c8f?q=80&w=1600'); background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; text-align: center; }
        .search-box { display: flex; width: 90%; max-width: 600px; background: white; border-radius: 30px; overflow: hidden; margin-top: 20px; }
        .search-box input { flex: 1; border: none; padding: 15px 25px; outline: none; color: #333; }
        .search-box button { background: var(--lg-red); color: white; border: none; padding: 0 25px; cursor: pointer; font-weight: bold; }

        .cat-bar { background: var(--light-gray); padding: 15px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
        .cat-btn { background: white; border: 1px solid #ccc; padding: 8px 20px; border-radius: 20px; cursor: pointer; font-size: 13px; transition: 0.3s; }
        .cat-btn.active { background: var(--lg-red); color: white; border-color: var(--lg-red); }

        /* 4. Product Grid */
        .content { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
        .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; }
        .card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: 0.3s; background: white; }
        .card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
        .img-wrap { width: 100%; height: 180px; background: #eee; display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
        .card-info { padding: 15px; }
        .p-price { font-size: 18px; font-weight: bold; margin: 10px 0; }
        .add-btn { width: 100%; padding: 10px; background: var(--dark-gray); color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; }
        .add-btn:hover { background: var(--lg-red); }

        /* 5. Booking Form */
        .booking-container { max-width: 800px; margin: 50px auto; background: white; padding: 40px; border: 1px solid var(--border); border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
        .form-title { font-family: 'Montserrat', sans-serif; font-size: 28px; color: var(--lg-red); margin-bottom: 30px; border-bottom: 2px solid var(--lg-red); display: inline-block; }
        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .form-group { margin-bottom: 20px; }
        .full-width { grid-column: 1 / span 2; }
        label { display: block; font-size: 14px; font-weight: bold; margin-bottom: 8px; color: #555; }
        input, select, textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; outline: none; }
        .submit-service { width: 100%; padding: 18px; background: var(--lg-red); color: white; border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; transition: 0.3s; }

        /* 6. Chatbot & Modals */
        #chatbot-toggle { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: var(--lg-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 30px; cursor: pointer; z-index: 3000; box-shadow: 0 5px 15px rgba(165,0,52,0.4); }
        .chat-window { position: fixed; bottom: 100px; right: 30px; width: 320px; height: 450px; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: none; flex-direction: column; z-index: 3000; overflow: hidden; }
        .chat-header { background: var(--lg-red); color: white; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; }
        .chat-body { flex: 1; padding: 15px; overflow-y: auto; font-size: 14px; background: #f9f9f9; display: flex; flex-direction: column; }
        .chat-msg { animation: fadeIn 0.3s ease; margin-bottom: 10px; padding: 8px 12px; border-radius: 10px; max-width: 80%; }
        .msg-bot { background: #eee; align-self: flex-start; }
        .msg-user { background: var(--lg-red); color: white; align-self: flex-end; }
        .chat-input { display: flex; border-top: 1px solid #eee; }
        .chat-input input { flex: 1; border: none; padding: 15px; outline: none; }

        .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; justify-content: center; align-items: center; }
        .modal-box { background: white; width: 90%; max-width: 500px; border-radius: 10px; padding: 25px; }

        footer { background: #111; color: #666; padding: 40px 0; text-align: center; font-size: 12px; }


        /* 장바구니 아이템 수량 조절기 디자인 */
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 2px 5px;
    background: #fdfdfd;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.qty-btn:hover {
    color: var(--lg-red);
    transform: scale(1.2);
}

.qty-num {
    width: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--black);
}

/* 장바구니 아이템 레이아웃 최적화 */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.cart-item-info p {
    margin: 0;
}

/* 상세페이지 내부 레이아웃 */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* 모바일에서는 1열로 변경 */
@media (max-width: 600px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* 다크 모드용 변수 설정 */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}
.dark-mode .nav, .dark-mode .modal-box, .dark-mode .card {
    background-color: #1e1e1e;
    color: white;
    border-color: #333;
}
.dark-mode input, .dark-mode select {
    background-color: #2d2d2d;
    color: white;
    border: 1px solid #444;
}
.dark-mode .p-price { color: #ff4d6d; } /* 다크모드에서 더 잘 보이는 핑크레드 */

.tab-btn {
    padding: 12px 25px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #777;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.tab-btn:hover {
    color: var(--lg-red);
    background: #fff5f6;
}

.tab-btn.active {
    color: var(--lg-red);
    border-bottom: 3px solid var(--lg-red);
}

.admin-tab-content {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}