:root {
    color-scheme: light;
    --color-bg-primary: #F9F8F6;
    --color-accent-soft: #E5D3C0;
    --color-text-primary: #333333;
    --color-text-secondary: #666666;
    --color-gold: #D4AF37;
    /* Gold for accents */
    --color-white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --spacing-container: 1200px;
    --spacing-gutter: 20px;
    --color-bg-beige: #F5EFEB;
    /* Soft warmth for specialist section */
    --color-border-light: #E0E0E0;
}

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

html {
    scroll-behavior: smooth;
    /* Default normal scrolling for most pages */
    overflow-y: auto;
    height: auto;
}

/* Home Page specific scroll snap */
html.snap-scroll {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    /* Required for snap */
    height: 100%;
}

/* Hide Scrollbar */
::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-body);
    /* ... */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll bar when accordion overflows rightwards */
}

/* Single Screen Subpages */
body.single-screen {
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

body.single-screen main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Hide footer on single-screen pages */
body.single-screen .site-footer {
    display: none !important;
}

/* Specific Page Adjustments */
body.single-screen .specialist-page,
body.single-screen .branding-story-page,
body.single-screen .promotion-page,
body.single-screen .booking-section {
    min-height: auto;
    height: 100%;
    padding-top: 100px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
}

body.single-screen .eq-3d-section {
    height: 100vh;
    min-height: 100vh;
    width: 100%;
}

body.single-screen .page-hero {
    position: absolute;
    top: 120px; /* Below header */
    left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
    padding: 0;
}

/* Universal Luxurious Background Slider */
.bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh; /* Fixed height on mobile to prevent scaling/resizing on scroll */
    z-index: -2;
    overflow: hidden;
    background-color: var(--color-bg-primary);
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: kenburns 18s infinite linear;
}

.bg-slide:nth-child(1) { animation-delay: 0s; }
.bg-slide:nth-child(2) {
    animation-delay: 6s;
    background-position: center 25%; /* Shift image slightly down to keep the text at the top visible */
}
.bg-slide:nth-child(3) { animation-delay: 12s; }

@keyframes kenburns {
    0% { opacity: 0; transform: scale(1.0); }
    11.1% { opacity: 1; }
    33.3% { opacity: 1; }
    44.4% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.08); }
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%; /* Shifts video content slightly lower */
    opacity: 0.65; /* Blends with bg-primary to make dark text more readable */
}

/* Stronger overlay specifically for main page video slider to boost readability */
.bg-slider .bg-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.75));
}

/* Static Background for Subpages */
.bg-static {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh; /* Fixed height on mobile to prevent scaling/resizing on scroll */
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh; /* Fixed height on mobile to prevent scaling/resizing on scroll */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6));
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.mobile-break {
    display: none;
}

.text-gold {
    color: var(--color-gold) !important;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 var(--spacing-gutter);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0; /* Reduced from 30px to make the header sleeker and thinner */
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s ease, border-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled,
.site-header.hovered {
    background-color: rgba(249, 248, 246, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important; /* Gold border tint */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.site-header .container {
    display: flex !important;
    justify-content: space-between !important;
    /* Force Logo left, Nav right */
    align-items: center;
    width: 100%;
    max-width: 100%;
    /* Ensure full span */
    padding: 0 40px;
    /* Add breathing room */
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.logo {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: normal;
    color: var(--color-text-primary);
    /* Dark text for beige background */
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-text-primary);
}

.logo .logo-on {
    transition: color 0.3s ease;
}

.logo:hover .logo-on {
    color: var(--color-gold);
}

.main-nav {
    width: auto;
    margin-left: auto;
    margin-right: auto;
    padding-left: 120px; /* Offset slightly to left to account for logo width for perfect center visual balance */
}

/* Header Utility Menu */
.header-utility {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem; /* Increased from 0.82rem */
    font-family: 'Pretendard', sans-serif;
    color: var(--color-text-primary);
}

.utility-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: none !important;
    font-weight: 500;
}

.utility-item:hover {
    color: var(--color-gold);
}

.utility-sep {
    color: var(--color-text-secondary);
    opacity: 0.3;
    font-size: 0.8rem;
    user-select: none;
}

.flag-icon {
    font-size: 0.95rem;
}

.header-cart-badge {
    background-color: var(--color-gold);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    margin-left: 2px;
}

@media (max-width: 991px) {
    .main-nav {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .header-utility {
        display: none;
    }
}

.main-nav ul {
    display: flex;
    gap: 30px;
    /* Adjust spacing between menu items */
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.main-nav li {
    position: relative;
    /* For dropdown positioning */
}

.main-nav a {
    font-size: 1.05rem; /* Increased from 0.85rem */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600; /* Bolder for luxury high-end brand look */
    color: var(--color-text-primary);
    /* Dark text for beige background */
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-gold);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(244, 244, 244, 0.95);
    /* Light gray with slight transparency */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 130px;
    /* Further reduced width */
    width: max-content;
    /* Snug fit */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    border-radius: 12px;
    /* More rounded */
    padding: 10px 0;

    /* Animation Initial State */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;

    display: flex;
    flex-direction: column;
    gap: 0;
    /* Reset gap for vertical list */
}

/* Hover State */
.main-nav li:hover .dropdown-menu {
    max-height: 500px;
    opacity: 1;
    padding: 15px 0;
    /* Adding padding on expand */
}

/* Dropdown Items */
.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    /* Compact padding */
    color: #333333;
    /* Dark text for readability on white */
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    /* Korean font support */
    font-size: 16px; /* Increased from 14px */
    /* Smaller font text */
    line-height: 1.4;
    /* Tight line height */
    font-weight: 400;
    text-transform: none;
    /* Reset uppercase */
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(229, 211, 192, 0.2);
    /* Soft highlight */
    color: var(--color-gold);
}

.dropdown-menu a::after {
    display: none;
    /* Remove underline effect for dropdown items */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    /* Changed to min-height for safer content fit */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* Force stop at each section */
}

/* Hero Section Background (Moved to global body) */
.hero-bg {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    /* Ensure text sits on top */
    max-width: 1100px; /* Increased from 800px to allow titles to render on two lines without wrapping */
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.5s ease-out forwards;
    /* Immediate visibility animation */
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem; /* Slightly reduced from 5.5rem to prevent wrapping and fit two lines beautifully */
    font-style: italic;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--color-text-primary);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 45px;
    color: var(--color-white);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.65;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-gold {
    border: 1px solid var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-text-primary);
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
    margin-left: auto;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(245, 239, 235, 0.98);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Start from top to support vertical scrolling */
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto; /* Add vertical scrollbar on long menus */
    padding: 120px 20px 60px; /* Space for close button */
    box-sizing: border-box;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--color-text-primary);
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
    display: none; /* Only show on mobile */
}

@media (max-width: 768px) {
    .mobile-menu-close {
        display: block;
    }
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 400px;
}

.mobile-nav-overlay li {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.mobile-nav-overlay a {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    display: block;
    padding: 5px 0;
}

.mobile-nav-overlay a:hover {
    color: var(--color-gold);
}

/* Collapsible Dropdown Menu in Mobile Overlay */
.mobile-nav-overlay .dropdown-menu {
    position: static; /* Reset absolute positioning */
    transform: none;
    background-color: rgba(0, 0, 0, 0.02); /* Very subtle tint */
    box-shadow: none;
    border: none;
    border-radius: 8px;
    margin: 10px auto 0;
    padding: 0;
    max-height: 0; /* Collapsed by default */
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.mobile-nav-overlay .dropdown.active .dropdown-menu {
    max-height: 500px; /* Expand when active */
    opacity: 1;
    padding: 10px 0;
}

.mobile-nav-overlay .dropdown-menu li {
    margin-bottom: 10px;
}

.mobile-nav-overlay .dropdown-menu li:last-child {
    margin-bottom: 0;
}

.mobile-nav-overlay .dropdown-menu a {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Arrow indicator for items with submenus */
.mobile-nav-overlay .dropdown > a::after {
    content: ' ▾';
    font-size: 0.9rem;
    color: var(--color-gold);
    display: inline-block;
    transition: transform 0.3s;
}

.mobile-nav-overlay .dropdown.active > a::after {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        position: fixed !important;
        padding: 12px 0 !important; /* Slightly tighter header padding on mobile */
        background-color: rgba(249, 248, 246, 0.96) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
    }

    .site-header .container {
        padding: 0 20px !important; /* Give more space on mobile */
    }

    .logo {
        font-size: 1.6rem !important; /* Sleeker logo size on mobile */
    }

    .bg-overlay {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.9)) !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none !important;
    }

    .hero-title {
        font-size: 1.8rem !important; /* Prevent text wrapping and scaling issues on mobile */
        line-height: 1.35 !important;
        margin-bottom: 15px !important;
        word-break: keep-all !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important; /* Prevent huge inherited font sizes on mobile */
        margin-bottom: 30px !important;
        line-height: 1.55 !important;
    }
    
    .hero-content {
        padding: 0 20px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-content .btn {
        margin: 0 auto;
        padding: 12px 32px !important; /* Scale down button on mobile */
        font-size: 0.8rem !important;
        letter-spacing: 1.5px !important;
    }

    .specialist-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .specialist-image-placeholder {
        height: 400px;
        max-width: 100%;
    }

    .treatments-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Specialist Section */
.specialist {
    background-color: transparent;
    min-height: 100vh;
    /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.specialist-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.specialist-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Align image towards center */
    padding-right: 20px;
}

.specialist-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.specialist-content {
    flex: 1;
    padding-left: 20px;
}

.specialist-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 550px;
    /* Tall portrait */
    background-color: #d8d8d8;
    /* Placeholder */
    background-image: linear-gradient(to bottom right, #ececec, #d8d8d8);
    border-radius: 2px;
}

.specialist-content {
    flex: 1;
    padding-left: 20px;
}

.specialist-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    /* Regular weight for elegance */
    margin-bottom: 30px;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.specialist-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--color-text-secondary);
    max-width: 480px;
}

/* Treatments Section */
.treatments {
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space out title/grid and footer */
    padding-top: 80px;
    /* Add padding to top to balance layout */
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
    color: var(--color-text-primary);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Compact gap */
    margin-bottom: 40px;
    /* Space before footer */
}

.treatment-card {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 30px 20px;
    /* Compact padding */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: none !important;
    min-height: 200px;
    /* Compact height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.treatment-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 2px var(--color-gold);
    /* Deeper shadow and inset gold border for intense motion */
    transform: translateY(-8px);
    border-color: transparent;
}

.treatment-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.treatment-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background-color: #333333;
    /* Deep Charcoal */
    color: var(--color-white);
    padding: 40px 0;
    /* Compact padding */
    font-size: 0.85rem;
    width: 100%;
    /* No scroll snap align needed as it's inside parent */
}

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

.footer-logo {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: var(--color-white);
}

.footer-logo .logo-on {
    transition: color 0.3s ease;
}

.footer-logo:hover .logo-on {
    color: var(--color-gold);
}

.footer-address p {
    margin-bottom: 10px;
    color: #cccccc;
    font-weight: 300;
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #999999;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-accent-soft);
    font-weight: 400;
}

.footer-hours p {
    margin-bottom: 10px;
    color: #cccccc;
    font-weight: 300;

    .footer-cta {
        margin-top: 20px;
    }
}

/* Scroll Entrance Animation Standard Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.btn-footer {
    border-color: var(--color-accent-soft);
    color: var(--color-accent-soft);
    text-align: center;
}

.btn-footer:hover {
    background-color: var(--color-accent-soft);
    color: #333333;
}

/* Footer SNS Banners */
.footer-sns-banners {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
    margin-top: 5px;
}

.footer-sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-sns-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-sns-btn svg {
    flex-shrink: 0;
}

.sns-kakao {
    background-color: #FEE500;
    color: #191919 !important;
}

.sns-naver {
    background-color: #03C75A;
    color: #FFFFFF !important;
}

.sns-youtube {
    background-color: #FF0000;
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-cta {
        margin-top: 20px;
    }

    .footer-sns-banners {
        justify-content: center;
    }
}

/* Accessibility & SEO utility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.popup-body {
    padding: 50px 40px 40px;
    text-align: center;
}

.popup-title {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.popup-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.popup-subtext {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup-btn {
    padding: 12px 30px;
    font-size: 0.85rem;
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.popup-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.popup-close-text {
    background: none;
    border: none;
    font-size: 0.85rem;
    color: var(--color-text-primary);
    cursor: pointer;
    font-weight: 500;
}

/* Override for Dropdown Menu Animation */
.dropdown-menu {
    /* Existing code ... */
}

/* Vertical 3D Stacked Carousel */
.eq-3d-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1500px; /* Gives the 3D depth */
    overflow: hidden;
    padding-bottom: 50px;
}

.eq-3d-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    height: 60vh;
    min-height: 400px;
    transform-style: preserve-3d;
}

.eq-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center center;
    will-change: transform, opacity;
}

.eq-card.active {
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    cursor: default;
}

.eq-card.active:hover {
    transform: translateY(0px) translateZ(50px) scale(1.05) !important;
    box-shadow: 0 35px 60px rgba(0,0,0,0.3);
}

.eq-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.eq-card.active:hover .eq-card-image {
    transform: scale(1.05); /* Slight internal zoom */
}

.eq-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(40,30,25,0.95), rgba(40,30,25,0.6) 60%, transparent);
    color: var(--color-white);
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; /* Let clicks pass through if needed, or handle inside */
}

.eq-card.active:hover .eq-card-info {
    opacity: 1;
    transform: translateY(0);
}

.eq-info-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.eq-info-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.eq-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    animation: bounceHint 2s infinite;
}

.eq-scroll-hint span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounceHint {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

@media (max-width: 768px) {
    .eq-3d-container {
        width: 85%;
        height: 50vh;
    }
    .eq-card-info {
        padding: 40px 20px 20px;
    }
    .eq-info-title {
        font-size: 1.8rem;
    }
    .eq-info-desc {
        font-size: 0.95rem;
    }
}
.dropdown-menu a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dropdown-menu a:hover {
    background-color: transparent !important;
    color: var(--color-gold) !important;
    padding-left: 28px !important;
}

/* Custom Cursor */
body, a, button, input, label, .btn, .treatment-card, .popup-checkbox, .popup-close-text {
    cursor: none !important;
}

/* Morse Code Title Animation */
.morse-word {
    display: inline-block;
    margin-right: 0.25em; /* Space between MORSE and CLINIC */
}

.m-letter {
    position: relative;
    display: inline-block;
}

.m-morse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-gold);
    opacity: 0;
    font-size: 0.65em;
    letter-spacing: 2px;
    white-space: nowrap;
    animation: morse-out 1.2s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.m-text {
    opacity: 0;
    display: inline-block;
    animation: text-in 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.m-word {
    opacity: 0;
    display: inline-block;
    animation: text-in 1s forwards cubic-bezier(0.25, 1, 0.5, 1);
    animation-delay: 2.8s;
}

@keyframes morse-out {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); filter: blur(4px); }
}

@keyframes text-in {
    0% { opacity: 0; filter: blur(4px); transform: scale(0.9); }
    100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* Staggered Delays */
.m-letter:nth-child(1) .m-morse { animation-delay: 0.2s; }
.m-letter:nth-child(1) .m-text { animation-delay: 1.2s; }

.m-letter:nth-child(2) .m-morse { animation-delay: 0.5s; }
.m-letter:nth-child(2) .m-text { animation-delay: 1.5s; }

.m-letter:nth-child(3) .m-morse { animation-delay: 0.8s; }
.m-letter:nth-child(3) .m-text { animation-delay: 1.8s; }

.m-letter:nth-child(4) .m-morse { animation-delay: 1.1s; }
.m-letter:nth-child(4) .m-text { animation-delay: 2.1s; }

.m-letter:nth-child(5) .m-morse { animation-delay: 1.4s; }
.m-letter:nth-child(5) .m-text { animation-delay: 2.4s; }

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    display: none; /* Hide by default on mobile/touch devices */
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    transform: translate(-4px, -4px); /* Center 8px dot on cursor */
    will-change: transform;
}

@media (pointer: fine) {
    body.has-custom-cursor .custom-cursor {
        display: flex; /* Show only when custom cursor is successfully initialized on desktop */
    }
    
    /* Hide native browser cursors globally when custom cursor is active */
    body.has-custom-cursor,
    body.has-custom-cursor * {
        cursor: none !important;
    }
}

.cursor-dot {
    width: 100%;
    height: 100%;
    background-color: var(--color-text-primary);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Elegant Outer Ring for High Contrast and Premium Vibe */
.custom-cursor::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: -8px;
    left: -8px;
    border: 1px solid rgba(212, 175, 55, 0.45); /* Soft transparent gold ring */
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

.cursor-dash {
    display: none;
}

/* Hover State: Dot disappears and Ring expands with a soft gold background */
.custom-cursor.hover .cursor-dot {
    transform: scale(0);
    opacity: 0;
}

.custom-cursor.hover::after {
    width: 32px;
    height: 32px;
    top: -12px;
    left: -12px;
    border-color: var(--color-gold);
    background-color: rgba(212, 175, 55, 0.15); /* Soft tint */
}

/* Language Selector */
.lang-selector .lang-btn {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
    opacity: 0.6;
}
.lang-selector .lang-btn:hover, .lang-selector .lang-btn.active {
    color: var(--color-gold);
    opacity: 1;
}
.lang-selector .lang-btn::after {
    display: none !important;
}

/* Horizontal Equipment Layout */
.eq-horizontal-section { padding: 40px 0 100px; }
.eq-horizontal-card { display: flex; flex-direction: row; width: 100%; margin-bottom: 40px; background-color: #fff; box-shadow: 0 15px 40px rgba(0,0,0,0.05); min-height: 400px; overflow: hidden; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.eq-horizontal-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 25px 60px rgba(0,0,0,0.12); }
.eq-card-left { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 40px; }
.eq-machine-img { max-width: 80%; max-height: 350px; object-fit: contain; transition: transform 0.5s ease; }
.eq-horizontal-card:hover .eq-machine-img { transform: scale(1.05); }
.eq-card-right { flex: 1; background-color: #FAFAFA; position: relative; padding: 60px 80px; display: flex; flex-direction: column; justify-content: center; }
.eq-number { position: absolute; top: 30px; left: 40px; font-family: var(--font-heading); font-size: 3rem; font-weight: 600; color: var(--color-text-primary); }
.eq-brand { position: absolute; top: 40px; right: 40px; font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 2px; color: var(--color-text-primary); font-weight: 500; }
.eq-content { max-width: 400px; margin: 0 auto; }
.eq-title { font-family: 'Pretendard', sans-serif; font-size: 2.2rem; font-weight: 400; margin-bottom: 20px; color: var(--color-text-primary); letter-spacing: 1px; }
.eq-desc { font-family: 'Pretendard', sans-serif; font-size: 0.95rem; line-height: 1.8; color: var(--color-text-secondary); font-weight: 300; }
.eq-vertical-text { position: absolute; right: 40px; bottom: 60px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-heading); font-size: 0.9rem; letter-spacing: 3px; color: var(--color-text-secondary); text-transform: uppercase; }
@media (max-width: 768px) {
    .eq-horizontal-card { flex-direction: column; }
    .eq-vertical-text { display: none; }
    .eq-card-left { padding: 24px; }
    .eq-card-right { 
        padding: 24px; 
        align-items: flex-start;
    }
    .eq-number { position: static; margin-bottom: 10px; font-size: 2.5rem; text-align: left; }
    .eq-brand { position: static; margin-bottom: 20px; text-align: left; }
    .eq-content { margin: 0; text-align: left; width: 100%; max-width: none; }
    .eq-title { font-size: 1.8rem; margin-bottom: 15px; }
    .eq-desc { line-height: 1.65; word-break: keep-all; }
}

/* ==========================================================================
   About Section Styles (Premium Accordion Layout)
   ========================================================================== */
.about-section {
    padding: 140px 0 80px; /* Clear space for absolute site header */
    min-height: 80vh;
    display: flex;
    align-items: center;
    /* overflow: hidden is removed to allow accordion container to expand beyond 1200px width */
}

.about-layout {
    display: flex;
    width: 100%;
    gap: 40px;
    align-items: stretch;
}

/* Left Column: Brand Story */
.about-brand {
    flex: 0 0 38%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.about-brand .section-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-brand .about-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 25px;
    text-transform: uppercase;
}


.about-brand .about-quote {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    font-weight: 500;
    margin-bottom: 20px;
    word-break: keep-all;
    border-left: 2px solid var(--color-gold);
    padding-left: 15px;
}

.about-brand .about-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    font-weight: 300;
    margin-bottom: 35px;
    word-break: keep-all;
}

.about-brand .btn {
    align-self: flex-start;
}

/* Brand Story Details */
.about-story-details {
    margin-top: 10px;
}

.about-intro-text {
    margin-bottom: 35px;
}

.about-intro-text p {
    font-family: 'Pretendard', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    font-weight: 300;
    margin-bottom: 18px;
    word-break: keep-all;
}

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




/* Right Column: Accordion Container */
.about-accordion {
    flex: 1;
    display: flex;
    gap: 15px;
    min-height: 520px;
    overflow: hidden;
    transition: margin-right 0.6s cubic-bezier(0.25, 1, 0.3, 1);
}

/* Push the accordion container rightwards dynamically when locked, leaving the brand story frozen in place */
.about-layout.layout-locked .about-accordion {
    margin-right: 0;
}

@media (min-width: 1200px) {
    .about-layout.layout-locked .about-accordion {
        /* Dynamically scales with viewport to leave exactly 30px on the right edge of the screen */
        margin-right: calc(600px - 50vw + 30px);
    }
}

/* Accordion Card Base */
.accordion-card {
    position: relative;
    flex: 1;
    min-width: 80px;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--color-bg-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.25, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.25, 1, 0.3, 1);
    cursor: pointer;
}

.accordion-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1);
    z-index: 1;
}

/* specialist card face alignment */
.specialist-card .card-bg {
    background-position: 50% 18% !important; /* Focus on the doctor's face */
}

.accordion-card:hover .card-bg {
    transform: scale(1.05);
}

.accordion-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(40, 30, 25, 0.05), rgba(40, 30, 25, 0.65));
    z-index: 2;
    transition: opacity 0.5s ease;
}

/* Vertical text for default view */
.accordion-card .card-vertical-title {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-white);
    mix-blend-mode: overlay;
    z-index: 3;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Card Content Wrapper */
.accordion-card .card-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.accordion-card .card-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
    pointer-events: none;
}

.accordion-card .card-content .card-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.accordion-card .card-content .card-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 8px;
}

.accordion-card .card-content .card-subtitle {
    font-family: 'Pretendard', sans-serif;
    font-size: 0.9rem;
    color: var(--color-white);
    opacity: 0.85;
    margin-bottom: 12px;
}

.accordion-card .card-content .card-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-white);
    opacity: 0.75;
    margin-bottom: 25px;
    word-break: keep-all;
}

.accordion-card .card-content .card-sub-info {
    font-family: 'Pretendard', sans-serif;
    font-size: 0.85rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.accordion-card .card-content .btn {
    border-color: var(--color-white);
    color: var(--color-white);
}

.accordion-card .card-content .btn:hover {
    background-color: var(--color-white);
    color: var(--color-text-primary);
}

/* Hover Expanding Effect */
.about-accordion:hover .accordion-card {
    flex: 0.6;
}

.about-accordion .accordion-card:hover {
    flex: 3.5;
    box-shadow: 0 20px 40px rgba(40, 30, 25, 0.12);
}

.about-accordion .accordion-card:hover .card-vertical-title {
    opacity: 0;
    transform: translate(-50%, -10px);
}

.about-accordion .accordion-card:hover .card-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Card 1 Specialist Click Lock Detailed View */
.accordion-card .card-detail-content {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
}

/* Locked Accordion State */
.about-accordion.card-locked .accordion-card:not(.locked) {
    width: 0 !important;
    flex: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: none !important;
}

.about-accordion.card-locked .specialist-card.locked {
    flex: 1 !important;
    cursor: default;
    box-shadow: 0 15px 45px rgba(40, 30, 25, 0.08);
}

.about-accordion.card-locked .specialist-card.locked .card-bg {
    transform: scale(1.0);
    width: 28%; /* Reduced from 32% to maximize detail text width */
    height: 100%;
}

.about-accordion.card-locked .specialist-card.locked .card-overlay {
    background: transparent;
}

.about-accordion.card-locked .specialist-card.locked .card-vertical-title {
    display: none;
}

.about-accordion.card-locked .specialist-card.locked .card-content {
    display: none !important;
}

.about-accordion.card-locked .specialist-card.locked .card-content-wrapper {
    padding: 0;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
}

.about-accordion.card-locked .specialist-card.locked .card-detail-content {
    display: flex;
    opacity: 1;
    width: 72%; /* Increased from 68% for maximum layout width */
    height: 100%;
    background-color: #FAF8F5;
    padding: 60px 50px; /* Optimized spacing */
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
}

/* Hide default cursor inside detail panel to prevent duplicates */
.specialist-card.locked .card-detail-content,
.specialist-card.locked .card-detail-content * {
    cursor: none !important;
}

/* Detail Profile Layout */
.specialist-card .detail-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: left;
}

.specialist-card .detail-header .detail-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.specialist-card .detail-header .detail-name {
    font-family: 'Pretendard', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 5px;
}

.specialist-card .detail-header .detail-subtitle {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.1rem;
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: 25px;
}

.specialist-card .detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal width columns inside the expanded layout */
    gap: 20px; /* Reduced gap to maximize text space */
    margin-bottom: 30px;
}

.specialist-card .detail-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specialist-card .detail-body li {
    font-family: 'Pretendard', sans-serif;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 12px;
    white-space: nowrap; /* Enforces single line rendering for career titles */
}

.specialist-card .detail-body li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.specialist-card .detail-body .career-list-main li {
    font-weight: 500;
    color: var(--color-text-primary);
}

.specialist-card .detail-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.specialist-card .btn-close-detail {
    background: none;
    border: none;
    font-family: 'Pretendard', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 15px 25px;
    transition: color 0.3s ease;
}

.specialist-card .btn-close-detail:hover {
    color: var(--color-text-primary);
}

/* Medium screens (fit 2 columns and prevent text clipping) */
@media (max-width: 1600px) {
    .about-accordion.card-locked .specialist-card.locked .card-detail-content {
        padding: 50px 30px; /* Optimize padding to give text more horizontal space */
    }
    .specialist-card .detail-body li {
        font-size: 0.88rem; /* Slightly smaller font size to fit long lines */
    }
}

/* Responsive Media Queries (Mobile & Tablet) */
@media (max-width: 1024px) {
    .about-section {
        padding: 110px 0 60px; /* Clear space for mobile menu bar */
    }
    .about-layout {
        gap: 30px;
    }
    .about-brand .about-title {
        font-size: 2.4rem;
    }
    .specialist-card .detail-header .detail-name {
        font-size: 1.8rem;
    }
    .specialist-card .detail-body {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .about-layout {
        flex-direction: column;
        gap: 40px;
    }
    .about-brand {
        flex: none;
        width: 100%;
        padding: 0 24px; /* Added left and right padding to prevent text touching screen edges */
        box-sizing: border-box;
    }
    .about-brand .btn {
        display: none; /* Hide on mobile to prevent clutter */
    }
    .about-accordion {
        flex: none;
        width: 100%;
        flex-direction: column;
        min-height: auto;
        gap: 12px;
    }
    
    /* Reverting hover styles on mobile */
    .about-accordion:hover .accordion-card {
        flex: none;
    }
    .about-accordion .accordion-card:not(.open):hover {
        flex: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    }
    .about-accordion .accordion-card:not(.open):hover .card-bg {
        transform: none;
    }
    .about-accordion .accordion-card:not(.open):hover .card-vertical-title {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    .about-accordion .accordion-card:not(.open):hover .card-content {
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
    }

    /* Mobile Accordion Collapse/Expand System */
    .accordion-card {
        flex: none;
        min-height: 70px;
        height: 70px;
        transition: height 0.5s cubic-bezier(0.25, 1, 0.3, 1), 
                    box-shadow 0.5s ease;
    }
    .accordion-card .card-bg {
        height: 70px;
        transition: height 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    }
    .accordion-card .card-overlay {
        background: rgba(40, 30, 25, 0.4);
    }
    .accordion-card .card-vertical-title {
        writing-mode: horizontal-tb;
        transform: translate(-50%, -50%);
        top: 50%;
        bottom: auto;
        left: 50%;
        font-size: 1.1rem;
        letter-spacing: 3px;
        width: 100%;
        text-align: center;
        mix-blend-mode: normal;
        transition: opacity 0.3s ease;
    }
    .accordion-card .card-content-wrapper {
        padding: 24px;
        justify-content: center;
    }
    
    /* Opened Card State in Mobile (Handled by JS .open class) */
    .accordion-card.open {
        height: 350px; /* Expanded from 320px to prevent button overflow clipping */
    }
    .accordion-card.open .card-bg {
        height: 350px; /* Expanded from 320px */
    }
    .accordion-card.open .card-overlay {
        background: linear-gradient(to bottom, rgba(40, 30, 25, 0.3), rgba(40, 30, 25, 0.8));
    }
    .accordion-card.open .card-vertical-title {
        opacity: 0;
        pointer-events: none;
    }
    .accordion-card.open .card-content {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        margin-top: 20px; /* Reduced from 40px to yield more space for the action button */
    }
    .accordion-card.open .card-content .card-title {
        font-size: 1.4rem;
    }

    /* Specialist Locked State in Mobile */
    .about-accordion.card-locked .specialist-card.locked {
        height: auto;
        min-height: 480px;
    }
    .about-accordion.card-locked .specialist-card.locked .card-bg {
        width: 100%;
        height: 200px;
        position: relative;
    }
    .about-accordion.card-locked .specialist-card.locked .card-content-wrapper {
        position: relative;
        height: auto;
        padding: 0;
        flex-direction: column;
    }
    .about-accordion.card-locked .specialist-card.locked .card-detail-content {
        width: 100%;
        height: auto;
        display: block;
        opacity: 1;
        padding: 30px 20px;
        background-color: #FAF8F5;
    }
    .specialist-card .detail-body {
        margin-bottom: 20px;
    }
}

/* ==========================================
   Store and Cart CSS Additions
   ========================================== */

/* Store Layout */
.store-page {
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: transparent;
    min-height: calc(100vh - 200px);
}

.store-header {
    margin-bottom: 40px;
    text-align: center;
}

.store-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.store-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.store-container {
    display: flex;
    gap: 40px;
}

/* Sidebar Styling */
.store-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.store-category-list {
    list-style: none;
    padding: 0;
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-cat-item {
    margin-bottom: 2px;
}

.store-cat-btn {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    cursor: none !important;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-cat-btn:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    border-color: var(--color-gold);
}

/* Keep text left-aligned without shift for perfect vertical column alignment */

.store-cat-btn.has-sub::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.store-cat-btn.has-sub.expanded::after {
    transform: rotate(180deg);
}

/* Subcategory list inside accordion */
.store-subcat-list {
    list-style: none;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-cat-btn.expanded + .store-subcat-list {
    max-height: 500px;
}

.store-subcat-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    cursor: none !important;
    transition: all 0.3s ease;
    border-radius: 3px;
    border-left: 2px solid transparent;
}

.store-subcat-btn:hover {
    color: var(--color-gold);
    border-left-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.4);
}

.store-subcat-btn:hover, .store-subcat-btn.active {
    padding-left: 20px;
}

/* Store Content Styling */
.store-content {
    flex-grow: 1;
}

.store-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 15px 25px;
    border-radius: 4px;
}

.store-count {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.store-search-box {
    position: relative;
    width: 300px;
}

#store-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
    cursor: none !important;
}

#store-search-input:focus {
    border-color: var(--color-gold);
}

#store-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: none !important;
}

/* Products Grid & Cards */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.store-card {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    background-color: rgba(255, 255, 255, 0.75);
}

.card-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.card-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.3, 1);
}

.store-card:hover .card-img-wrap img {
    transform: scale(1.04);
}

.card-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #e25c5c;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.card-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.card-name {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-prices {
    display: flex;
    flex-direction: column;
}

.card-orig-price {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}

.card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.card-cart-add-btn {
    background-color: transparent;
    border: 1px solid var(--color-border-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-primary);
    cursor: none !important;
    transition: all 0.3s ease;
}

.card-cart-add-btn:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: white;
}

.store-empty-state {
    grid-column: span 3;
    text-align: center;
    padding: 60px 0;
    color: var(--color-text-secondary);
}

/* Store Detail Modal Styling */
.store-detail-content {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    background-color: #fbfaf8;
}

/* Custom Scrollbar for Detail Modal to show scrollable area clearly */
.store-detail-content::-webkit-scrollbar {
    width: 8px;
    background-color: rgba(0, 0, 0, 0.02);
}

.store-detail-content::-webkit-scrollbar-track {
    background: rgba(240, 235, 230, 0.5);
    border-radius: 4px;
}

.store-detail-content::-webkit-scrollbar-thumb {
    background: var(--color-gold, #a68b58);
    border-radius: 4px;
    border: 2px solid rgba(240, 235, 230, 0.5);
}

.store-detail-content::-webkit-scrollbar-thumb:hover {
    background: #8e7443;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.detail-img-col {
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    border: 1px solid var(--color-border-light);
}

.detail-img-col img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.detail-info-col {
    display: flex;
    flex-direction: column;
}

.detail-category-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.detail-name {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.detail-short-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.detail-price-box {
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.detail-orig-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.detail-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-gold);
}

.detail-long-desc {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.detail-features-wrap {
    margin-bottom: 30px;
}

.detail-features-wrap h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-features-wrap ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.detail-features-wrap li {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.detail-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.detail-add-cart-btn, .detail-buy-now-btn {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.detail-buy-now-btn {
    background-color: var(--color-gold);
    color: white;
}

.detail-buy-now-btn:hover {
    background-color: transparent;
    color: var(--color-gold);
}

/* ==========================================
   Shopping Cart (FAB & Drawer) Styles
   ========================================== */

/* Cart FAB */
.cart-fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-text-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: none !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.3, 1);
}

.cart-fab-btn:hover {
    background-color: var(--color-gold);
    transform: scale(1.08);
}

.cart-badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-gold);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--color-text-primary);
    padding: 0 4px;
}

/* Cart Overlay & Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 30, 25, 0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background-color: #fbfaf8;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    z-index: 2001;
}

.cart-overlay.open .cart-drawer {
    right: 0;
}

.cart-drawer-header {
    padding: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.cart-close-x {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-primary);
    cursor: none !important;
    transition: color 0.3s ease;
}

.cart-close-x:hover {
    color: var(--color-gold);
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cart Item Cards */
.cart-item {
    display: flex;
    gap: 15px;
    background-color: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 15px;
    border-radius: 4px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border: 1px solid rgba(0,0,0,0.05);
}

.cart-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.cart-item-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.cart-item-orig-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gold);
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border-light);
    border-radius: 3px;
    background-color: white;
}

.qty-btn {
    background: none;
    border: none;
    width: 25px;
    height: 25px;
    font-size: 1rem;
    cursor: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-secondary);
    transition: background-color 0.2s;
}

.qty-btn:hover {
    background-color: #f5f5f5;
}

.qty-val {
    width: 25px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.cart-item-delete {
    background: none;
    border: none;
    font-size: 0.85rem;
    color: #e25c5c;
    cursor: none !important;
}

.cart-item-delete:hover {
    text-decoration: underline;
}

.cart-empty-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    color: var(--color-text-secondary);
}

.cart-empty-message p {
    margin-top: 15px;
    font-size: 0.95rem;
}

/* Cart Drawer Footer */
.cart-drawer-footer {
    padding: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background-color: rgba(255,255,255,0.7);
}

.cart-total-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

#cart-total-price {
    font-size: 1.3rem;
    color: var(--color-gold);
    font-weight: 700;
}

.cart-footer-actions {
    display: flex;
    gap: 12px;
}

.btn-clear-cart {
    background: none;
    border: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: none !important;
    transition: all 0.3s;
}

.btn-clear-cart:hover {
    background-color: #f0ede9;
    border-color: #d0c9c3;
}

.btn-checkout-cart {
    flex-grow: 1;
    background-color: var(--color-gold);
    color: white;
    border-color: var(--color-gold);
    text-align: center;
}

.btn-checkout-cart:hover {
    background-color: transparent;
    color: var(--color-gold);
}

/* Dynamic Header Cart Badge */
.header-cart-wrap {
    position: relative;
}

.header-cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--color-gold);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================
   Booking Page Cart Section Styles
   ========================================== */
.booking-items-summary {
    margin-bottom: 25px;
    padding: 20px;
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--color-gold);
    border-radius: 4px;
}

.booking-summary-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.booking-summary-list {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

.booking-summary-total {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1rem;
}

/* Global Booking Input Style */
.booking-input {
    padding: 15px 18px; /* Increased padding for spacious feel */
    border: 1px solid var(--color-border-light);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.98rem; /* Slightly larger text */
    outline: none;
    transition: all 0.3s ease;
    cursor: none !important;
    width: 100%;
    color: var(--color-text-primary);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.booking-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); /* Elegant gold glow */
    background-color: #ffffff;
}

/* ==========================================
   My Reservations Section (Appointments Management)
   ========================================== */
.my-reservations-popup {
    max-width: 600px;
    width: 90%;
    padding: 40px;
}

.reservation-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.reservation-card {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    padding: 20px;
    position: relative;
    text-align: left;
}

.res-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0ede9;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.res-date {
    font-weight: 700;
    color: var(--color-gold);
}

.res-status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    background-color: #fff8e1;
    color: #f57f17;
}

.res-treatments-list {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.res-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.res-cancel-btn {
    background: none;
    border: 1px solid #e25c5c;
    color: #e25c5c;
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 3px;
    cursor: none !important;
    transition: all 0.2s;
}

.res-cancel-btn:hover {
    background-color: #e25c5c;
    color: white;
}

.no-reservations {
    text-align: center;
    color: var(--color-text-secondary);
    padding: 40px 0;
}

.mobile-only-break {
    display: none;
}

.mobile-category-grid {
    display: none;
}

/* ==========================================
   Responsive Adaptations for Store/Cart
   ========================================== */
@media (max-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-only-break {
        display: block;
    }
    
    .store-page {
        padding-top: 90px !important;
        padding-bottom: 40px !important;
    }
    
    .store-title {
        font-size: 1.6rem !important; /* Smaller title, like the NUWA reference image */
        margin-bottom: 8px !important;
    }
    
    .store-subtitle {
        font-size: 0.85rem !important; /* Smaller subtitle font size */
        line-height: 1.45 !important;
    }

    .store-container {
        flex-direction: column;
    }
    
    .store-sidebar {
        display: none !important; /* Hide old sidebar completely on mobile since we have the grid */
    }
    
    .mobile-category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .mob-cat-btn {
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(234, 230, 225, 0.8);
        padding: 12px 10px;
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--color-text-primary);
        text-align: center;
        border-radius: 4px;
        transition: all 0.2s ease;
        font-family: 'Pretendard', sans-serif;
        cursor: pointer;
    }
    
    .mob-cat-btn.active {
        background-color: rgba(212, 175, 55, 0.12);
        color: var(--color-gold);
        border-color: var(--color-gold);
        font-weight: 600;
    }
    
    .store-grid {
        grid-template-columns: 1fr;
    }
    
    .store-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .store-search-box {
        width: 100%;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-img-col {
        height: 200px;
    }
    
    .detail-modal-actions {
        gap: 8px !important;
    }
    
    .detail-add-cart-btn, .detail-buy-now-btn {
        padding: 14px 5px !important;
        font-size: 0.85rem !important;
        letter-spacing: 0px !important;
        white-space: nowrap !important;
    }
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    /* My Reservations Modal Mobile Optimizations */
    .my-reservations-popup {
        width: 95% !important;
        max-width: 100% !important;
        padding: 0 !important;
        word-break: keep-all;
    }
    
    .my-reservations-popup .popup-body {
        padding: 40px 15px 25px 15px !important;
    }
    
    .my-reservations-popup .popup-title {
        font-size: 1.6rem !important;
    }
    
    .reservation-card {
        padding: 15px !important;
    }
    
    .res-status-badge {
        white-space: nowrap;
    }
    
    .res-total-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .res-total-row span:last-child {
        white-space: nowrap;
    }
}


