﻿:root {
    --bg-color: #fbfbfd;
    --text-color: #1d1d1f;
    --nav-bg: rgba(251, 251, 253, 0.8);
    --nav-text: #1d1d1f;
    --accent-color: #0066cc;
}

[data-theme="dark"] {
    --bg-color: #000000;
    --text-color: #f5f5f7;
    --nav-bg: rgba(0, 0, 0, 0.8);
    --nav-text: #f5f5f7;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a:hover {
    opacity: 0.7;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 800px; /* Reduced to compact the layout including logo */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 22px;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    /* max-width removed to let container control width */
    margin: 0 auto;
}

.nav-links li {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

/* Apple-style Small Button for Nav */
.nav-btn-item {
    background-color: #0071e3;
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 980px; /* Pillow shape */
    font-size: 11px !important;
    font-weight: 400;
    opacity: 1 !important; /* Override opacity */
    transition: background-color 0.3s ease;
    margin-left: 10px;
    display: inline-block;
}

.nav-btn-item:hover {
    background-color: #0077ed;
    opacity: 1;
    text-decoration: none;
}

/* Add logo as part of the centered flow or keep it left?
   User said "replace home with logo" and "center items".
   I will include the logo in the center flow for an Apple-like look.
*/
.nav-logo {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.5px;
    /* margin-right removed for equal spacing in flex container */
}

/* Hero Sections */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 12vh;
    color: #1d1d1f;
    position: relative;
    overflow: hidden;
}

/* Grid Layout Support */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 0; /* Removed horizontal padding to align with full-width sections */
    background-color: var(--bg-color); /* Matches page background */
}

.hero.grid-item {
    height: 600px;
    padding-top: 60px;
    border-radius: 0;
}

.hero.grid-item .hero-title {
    font-size: 40px;
}

.hero.grid-item .hero-subtitle {
    font-size: 18px;
}

/* Hero Overlay for legibility */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero.dark::before {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 100%);
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: none;
}

.hero.dark .hero-content {
    background: none;
}

.hero-brand {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero.dark {
    color: #fff;
}

.hero.light {
    color: #1d1d1f;
}

/* Support Section */
.support-section {
    padding: 100px 0;
    background-color: #ffffff; /* pure white for contrast with gray footer */
    text-align: center;
    color: #1d1d1f;
}

.support-container {
    max-width: 800px;
    margin: 0 auto;
}

.support-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.support-link {
    color: #0066cc; /* Standard blue for white background */
    font-size: 18px;
    font-weight: 400;
}

/* Footer */
#footer {
    background-color: #f5f5f7;
    padding: 0 0 30px; /* Reset top padding since sitemap will handle it */
    color: #6e6e73;
    font-size: 12px;
}

.footer-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    padding: 40px 0 30px; /* Added top padding */
    border-bottom: 1px solid #d2d2d7; /* Line between sitemap and info */
}

.sitemap-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sitemap-section h4 {
    color: #1d1d1f;
    margin-bottom: 12px;
    font-weight: 600;
}

.sitemap-column ul {
    list-style: none;
}

.sitemap-column li {
    margin-bottom: 10px;
}

.footer-info {
    display: flex;
    gap: 100px;
    font-size: 12px;
    color: #86868b;
    line-height: 1.8;
    margin-bottom: 20px;
    align-items: flex-end; /* Bottom alignment */
}

.footer-text-group {
    flex: 0 1 auto;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin-bottom: 10px; /* Added margin to push info down and align bottoms */
    opacity: 0.8;
}

.footer-text-group p {
    margin-bottom: 2px;
}

.footer-text-group p:last-child {
    margin-bottom: 0;
}

.footer-text-group strong {
    color: #1d1d1f;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 4px;
}

.footer-copyright {
    font-size: 12px;
    color: #86868b;
    padding-top: 20px;
    border-top: 1px solid #d2d2d7; /* Separator line */
    margin-top: 20px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Brand Page Specifics */
.brand-hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #1d1d1f;
    padding-top: 60px;
    position: relative;
}

.brand-hero.dark { color: #fff; }
.brand-hero.light { color: #1d1d1f; }

.brand-hero-content {
    max-width: 800px;
    z-index: 2;
    padding: 0 20px;
}

.brand-title {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.brand-slogan {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.9;
}

.brand-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
}

.brand-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 100px 22px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 100%;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 30px;
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 14px;
    color: #6e6e73;
}

.brand-story {
    background-color: #f5f5f7;
}

.story-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.story-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #424245;
}

.story-image {
    flex: 1;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
}

/* Brand Sub-navigation */
.brand-subnav {
    position: sticky;
    top: 44px; /* Below main navbar */
    width: 100%;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 999;
    padding: 12px 0;
}

#navbar[data-theme="dark"] + .brand-subnav,
.brand-hero.dark ~ .brand-subnav {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.subnav-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0 22px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.subnav-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.subnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    min-width: 60px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.subnav-item:hover {
    opacity: 1;
}

.subnav-icon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply; /* Makes white background transparent on light themes */
}

#navbar[data-theme="dark"] + .brand-subnav .subnav-icon,
.brand-hero.dark ~ .brand-subnav .subnav-icon {
    filter: invert(1); /* Turns black icon to white, white bg to black */
    mix-blend-mode: screen; /* Makes black background transparent on dark themes */
}

.subnav-item span {
    font-size: 10px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .brand-title { font-size: 50px; }
    .brand-slogan { font-size: 24px; }
    .category-grid { grid-template-columns: 1fr; }
    .story-container { flex-direction: column; text-align: center; }
    .story-image { width: 100%; height: 300px; }
    .subnav-container { justify-content: flex-start; }
}

@media (max-width: 600px) {
    .step-header h2 { font-size: 30px; }
    .selection-grid { grid-template-columns: 1fr; }
    .input-row { flex-direction: column; }
    .input-row .btn-primary, .input-row .btn-secondary { width: 100%; height: 50px; }
    .form-row.split { grid-template-columns: 1fr; }
    .btn-prev { padding: 10px; text-align: center; }
}

/* Custom Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-container {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.modal-content p {
    font-size: 15px;
    color: #86868b;
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-actions button {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-modal-confirm {
    background: #0071e3;
    color: white;
}

.btn-modal-confirm:hover { background: #0077ed; }

.btn-modal-cancel {
    background: #f5f5f7;
    color: #1d1d1f;
}

.btn-modal-cancel:hover { background: #e8e8ed; }
.support-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 50px;
}

.support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.support-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.support-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.support-hero-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.support-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.support-search input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
    color: #1d1d1f;
}

.support-search button {
    background: #0071e3;
    color: white;
    border: none;
    padding: 0 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.support-search button:hover {
    background: #0077ed;
}

.support-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

.support-quick-links {
    padding: 80px 0;
    background: #f5f5f7;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.quick-link-card {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: #1d1d1f;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.quick-link-icon {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
    mix-blend-mode: multiply;
}

.quick-link-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 13px;
    color: #86868b;
    line-height: 1.4;
}

.support-centers {
    padding: 100px 0;
    background: white;
}

.support-centers .section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.center-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.center-card {
    background: #fbfbfd;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid #d2d2d7;
}

.center-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e8e8ed;
    color: #1d1d1f;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Notice Board Styles */
.notice-hero {
    height: 300px;
    background-color: #f5f5f7;
    background-image: none;
    color: #1d1d1f;
    justify-content: center;
    padding-top: 60px;
    min-height: auto;
}

[data-theme="dark"] .notice-hero {
    background-color: #000;
    color: #f5f5f7;
}

.notice-hero .hero-title {
    font-size: 48px;
    margin-bottom: 10px;
}

.notice-hero .hero-subtitle {
    font-size: 20px;
    opacity: 0.8;
    margin-bottom: 0;
}

.notice-section {
    padding: 60px 0 100px;
    background-color: var(--bg-color);
    min-height: 60vh;
}

.notice-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Filter Tabs */
.notice-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #d2d2d7;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-color);
    text-decoration: none;
}

.filter-btn:hover {
    border-color: #86868b;
    opacity: 1;
}

.filter-btn.active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}

[data-theme="dark"] .filter-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}


/* Notice List */
.notice-list-header {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    padding: 15px 10px;
    border-bottom: 1px solid #d2d2d7;
    font-weight: 600;
    color: #86868b;
    font-size: 13px;
    text-align: center;
}

.notice-list-header .col-title {
    text-align: left;
    padding-left: 10px;
}

.notice-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    padding: 20px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    align-items: center;
    transition: background 0.2s;
    text-decoration: none;
    color: var(--text-color);
}

[data-theme="dark"] .notice-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.notice-item:hover {
    background-color: rgba(0,0,0,0.03);
}

[data-theme="dark"] .notice-item:hover {
    background-color: rgba(255,255,255,0.05);
}

.notice-type {
    font-size: 12px;
    color: #86868b;
    text-align: center;
    font-weight: 500;
}

.notice-title {
    font-size: 16px;
    font-weight: 500;
    padding-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-date {
    font-size: 13px;
    color: #86868b;
    text-align: center;
}

.notice-empty {
    padding: 60px 0;
    text-align: center;
    color: #86868b;
}

/* Responsive List */
@media (max-width: 600px) {
    .notice-list-header {
        display: none;
    }

    .notice-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 0;
    }

    .notice-type, .notice-date {
        text-align: left;
        font-size: 12px;
        color: #86868b;
    }

    .notice-title {
        padding-left: 0;
        font-size: 17px;
        white-space: normal;
    }
}

/* Notice Detail */
.notice-detail-page {
    padding-top: 60px;
    min-height: 80vh;
}

.notice-detail-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 22px;
}

.notice-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #d2d2d7;
}

.detail-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #86868b;
    margin-bottom: 12px;
    align-items: center;
}

.detail-type {
    font-weight: 600;
    color: #0066cc;
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

.notice-body {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 60px;
}

.notice-body p {
    margin-bottom: 20px;
}

.notice-actions {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid #d2d2d7;
}

.btn-list {
    padding: 12px 30px;
    border-radius: 20px;
    background: #f5f5f7;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-list:hover {
    background: #e8e8ed;
}

[data-theme="dark"] .btn-list {
    background: #1d1d1f;
    color: #f5f5f7;
}

[data-theme="dark"] .btn-list:hover {
    background: #333;
}

.center-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.center-address {
    font-size: 15px;
    line-height: 1.5;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.center-tel {
    font-size: 15px;
    color: #0071e3;
    font-weight: 600;
}

.as-info-summary {
    margin-top: 80px;
    padding: 60px 40px;
    background: #f5f5f7; /* 李⑤텇??洹몃젅??諛곌꼍?쇰줈 蹂寃?*/
    color: #1d1d1f;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #d2d2d7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.as-info-summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.as-info-summary strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #86868b;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.as-info-summary .contact-details {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.as-info-summary .contact-item {
    display: flex;
    flex-direction: column;
}

.as-info-summary .contact-label {
    font-size: 15px;
    color: #1d1d1f;
    margin-bottom: 8px;
    font-weight: 500;
}

.as-info-summary .contact-value {
    font-size: 36px;
    font-weight: 700;
    color: #0071e3; /* 媛뺤“ ?ъ씤?몃줈 釉붾（ ?ъ슜 */
}

@media (max-width: 768px) {
    .support-hero { height: 350px; }
    .support-hero h1 { font-size: 32px; }
    .support-hero p { font-size: 16px; }
    .center-grid { grid-template-columns: 1fr; }
    .quick-links-grid { grid-template-columns: 1fr 1fr; }
}

/* Service Reservation Specific Styles */
.reservation-container {
    padding-top: 120px;
    padding-bottom: 100px;
    min-height: 80vh;
}

.reservation-progress {
    margin-bottom: 60px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #86868b;
}

.step-count strong {
    color: #0071e3;
    font-size: 18px;
}

.progress-bar-bg {
    height: 6px;
    background: #e8e8ed;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #0071e3;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-header {
    text-align: center;
    margin-bottom: 60px;
}

.step-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1d1d1f;
}

.step-header p {
    font-size: 19px;
    color: #86868b;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.selection-card {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    border: 2px solid #d2d2d7;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.selection-card:hover {
    border-color: #0071e3;
    background: #fbfbfd;
    transform: translateY(-5px);
}

.selection-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.selection-icon {
    width: 80px;
    height: 80px;
    background-color: #f5f5f7;
    border-radius: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.selection-icon.icon-delivery::before { content: '🚚'; }
.selection-icon.icon-visit::before { content: '🏬'; }

.selection-grid.brands {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.selection-card.brand {
    padding: 30px;
}

.brand-label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.reservation-step-area {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.form-group-box {
    width: 100%;
    margin: 0 auto 60px;
    background: #fbfbfd;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #d2d2d7;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.form-field label {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.input-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.input-row input,
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field textarea {
    flex: 1;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #d2d2d7;
    font-size: 17px;
    outline: none;
    transition: all 0.2s ease;
    background: white;
    width: 100%;
    color: #1d1d1f;
}

.input-row input:focus,
.form-field input:focus,
.form-field textarea:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-field textarea {
    resize: none;
    line-height: 1.6;
    min-height: 120px;
}

.btn-primary, .btn-secondary, .btn-prev, .btn-next {
    padding: 0 24px;
    height: 52px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: #0071e3;
    color: white;
}

.btn-primary:hover { background: #0077ed; }

.btn-secondary {
    background: #86868b;
    color: white;
}

.btn-prev {
    background: none;
    color: #0071e3;
    padding: 14px 0;
}

.btn-prev:hover { text-decoration: underline; }

.btn-next.disabled {
    background: #e8e8ed;
    color: #a1a1a6;
    cursor: not-allowed;
}

.model-info-box {
    padding: 20px;
    background: #f5f5f7;
    border-radius: 12px;
    margin-top: 20px;
    color: #1d1d1f;
}

.model-results-list {
    margin-top: 20px;
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.model-result-item {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.model-result-item:not(:last-child) {
    border-bottom: 1px solid #f5f5f7;
}

.model-result-item:hover {
    background: #f5f5f7;
}

.model-result-item span {
    font-size: 15px;
    color: #1d1d1f;
}

.btn-select {
    padding: 6px 12px;
    background: #0071e3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.search-mode-toggle {
    margin-top: 15px;
    text-align: right;
}

.search-mode-toggle button {
    background: none;
    border: none;
    color: #0071e3;
    font-size: 14px;
    cursor: pointer;
}

.search-mode-toggle button:hover { text-decoration: underline; }

.hidden { display: none !important; }

.model-info-box strong { color: #0071e3; }

/* Form Layout Refinements */
.form-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.flex-shrink-0 { flex-shrink: 0; }
.full-width { width: 100%; }

.file-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-name {
    font-size: 13px;
    color: #86868b;
    padding-left: 5px;
}

.highlight-field {
    background: #f5f5f7;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #d2d2d7;
}

.timer-display {
    display: block;
    color: #ff3b30;
    font-size: 13px;
    font-weight: 500;
}

.form-group-box.info-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-field input[type="date"] {
    padding: 0 20px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid #d2d2d7;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
    outline: none;
}

.customer-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #e8e8ed;
}

.btn-center-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0;
}

.step-footer.split {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-footer div {
    display: flex;
    gap: 15px;
    align-items: center;
}

.added-products-list {
    margin: 40px auto;
    max-width: 600px;
    width: 100%;
}

.added-products-list h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.count-badge {
    background: #0071e3;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

.added-product-item {
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.added-product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #86868b;
}

.p-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.p-model {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
}

.p-serial {
    font-size: 14px;
    color: #86868b;
}

.btn-remove {
    background: #f5f5f7;
    color: #ff3b30;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remove:hover {
    background: #ff3b30;
    color: white;
}

.step-summary {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8ed;
}

.step-summary h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #86868b;
}

/* Completion Screen Styles */
.completion-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #34c759;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    margin-bottom: 30px;
    position: relative;
}

.success-icon::after {
    content: '✓';
    font-size: 40px;
    font-weight: 700;
}

.completion-view h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.completion-view p {
    font-size: 18px;
    color: #86868b;
    margin-bottom: 40px;
    line-height: 1.6;
}

.receipt-box {
    background: #fbfbfd;
    border: 1px solid #d2d2d7;
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.receipt-box span {
    font-size: 14px;
    color: #86868b;
    font-weight: 500;
}

.receipt-box strong {
    font-size: 36px;
    color: #0071e3;
    letter-spacing: 2px;
}

.completion-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.completion-actions .btn-primary {
    min-width: 200px;
}

/* About Page Styles */
.about-hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.about-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-hero-content p {
    font-size: 24px;
    opacity: 0.9;
}

/* Sticky Subnav */
.about-subnav {
    position: sticky;
    top: 44px; /* Matches navbar height if fixed, or adjust accordingly */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #e8e8ed;
    padding: 15px 0;
}

.about-subnav .subnav-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.about-subnav-link {
    font-size: 15px;
    font-weight: 500;
    color: #6e6e73;
    transition: color 0.2s;
}

.about-subnav-link:hover, .about-subnav-link.active {
    color: #1d1d1f;
    font-weight: 600;
}

/* Sections */
.about-sections-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 80px 22px;
}

.about-section {
    padding: 60px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid #f5f5f7;
}

.about-section:last-child {
    border-bottom: none;
}

.about-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* CEO Message */
.ceo-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.ceo-image {
    width: 300px;
    height: 400px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    flex-shrink: 0;
}

.ceo-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #424245;
    margin-bottom: 20px;
}

/* History Timeline */
.history-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #e8e8ed;
    margin-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px; /* Adjust according to border-left width and padding */
    top: 5px;
    width: 12px;
    height: 12px;
    background: #0071e3;
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 15px;
}

.timeline-events p {
    font-size: 16px;
    color: #424245;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.philosophy-card {
    background: #fbfbfd;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #d2d2d7;
}

.philosophy-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1d1d1f;
}

/* Personnel */
.personnel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.personnel-card {
    text-align: center;
}

.person-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.personnel-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0071e3;
}

/* News */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    padding: 25px;
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    transition: all 0.2s;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #86868b;
}

.news-date {
    color: #86868b;
    font-size: 14px;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
}

/* Workplace */
.workplace-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wp-image {
    height: 250px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: transform 0.3s;
}

.wp-image:hover {
    transform: scale(1.02);
}

/* Location */
.location-content {
    display: flex;
    gap: 40px;
    flex-direction: column;
}

.location-info {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

.location-map {
    width: 100%;
    height: 400px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .ceo-content { flex-direction: column; align-items: center; text-align: center; }
    .philosophy-grid, .personnel-grid, .workplace-grid { grid-template-columns: 1fr; }
    .news-item { flex-direction: column; gap: 5px; }
}

/* Hero Link Styles */
.hero[onclick] {
    cursor: pointer;
}

.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #0071e3;
    color: white;
    font-size: 17px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    background: #0077ed;
    transform: scale(1.05);
    opacity: 1; /* Override potential opacity changes */
}

/* Lookup Page Styles */
.lookup-container {
    max-width: 800px;
    margin: 120px auto 80px;
    padding: 0 20px;
}

.lookup-header {
    text-align: center;
    margin-bottom: 50px;
}

.lookup-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1d1d1f;
}

.lookup-header p {
    font-size: 18px;
    color: #86868b;
}

.lookup-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.lookup-empty {
    text-align: center;
    padding: 60px;
    background: #fbfbfd;
    border-radius: 20px;
    color: #86868b;
    font-size: 17px;
}

/* Status Cards */
.status-card {
    background: white;
    border: 1px solid #d2d2d7;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.status-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    border-color: #86868b;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: #86868b;
    border-bottom: 1px solid #f5f5f7;
    padding-bottom: 15px;
}

.card-id { font-weight: 600; color: #1d1d1f; }

.card-summary {
    font-weight: 600;
    color: #1d1d1f;
    /* Truncation Logic */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1; /* Grow to fill space */
    min-width: 0;
}

.card-body {
    margin-bottom: 25px;
}

.card-product {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.card-symptom {
    font-size: 16px;
    color: #424245;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fbfbfd;
    padding: 20px;
    border-radius: 12px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 80px; /* Ensure consistent size */
    text-align: center; /* Center text */
    display: inline-block; /* Required for width/text-align if it was span */
}

.status-pending { background: #e8e8ed; color: #424245; }
.status-processing { background: #e3f3ff; color: #0077ed; }
.status-completed { background: #e6f6ee; color: #00874e; }

.status-desc {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.4;
}


.card-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f7;
}

.card-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.card-serial {
    font-size: 13px;
    color: #86868b;
    margin-bottom: 6px;
    font-family: monospace; /* For better serial readability */
}

@media (max-width: 600px) {
    .card-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
    .card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .header-right { width: 100%; justify-content: space-between; }
}

/* Accordion Styles */
.status-card {
    cursor: pointer;
    overflow: hidden;
}

.card-header {
    margin-bottom: 0; /* Override previous margin */
    align-items: center;
    padding-bottom: 0; /* Override */
    border-bottom: none; /* Override */
    gap: 20px; /* Ensure spacing between left and right sections */
}

.header-left {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1; /* Allow it to take up available space */
    min-width: 0; /* Crucial for flex child truncation */
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0; /* Don't shrink status badge/toggle */
}

.toggle-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2386868b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    transition: transform 0.3s;
}

.status-card.expanded .toggle-icon {
    transform: rotate(180deg);
}

.card-collapsible-wrapper {
    display: none;
    padding-top: 20px;
    border-top: 1px solid #f5f5f7;
    margin-top: 20px;
}

.status-card.expanded .card-collapsible-wrapper {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Action Box Styles */
.status-action { background: #fff5e5; color: #b25e09; } /* Orange/Yellow pending action */

/* Unified Status Report Styles (Apple Style) */
.status-report-container {
    background: #f5f5f7;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(0,0,0,0.04);
}

.report-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

/* Address Display Styling */
.report-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}

.report-actions {
    display: flex;
}

.report-address-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #424245;
    background: rgba(255,255,255,0.5);
    padding: 10px;
    border-radius: 8px;
}

.addr-label {
    font-size: 11px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
}

.addr-text {
    font-weight: 500;
}

.report-icon {
    font-size: 18px;
}

.report-title {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.report-body {
    font-size: 15px;
    line-height: 1.6;
    color: #424245;
}

.report-text {
    margin: 0;
}

.report-text.action-guide {
    margin-top: 10px;
    color: #0071e3;
    font-weight: 500;
}

.report-footer {
    padding-top: 16px;
    border-top: 1px solid #e8e8ed;
}

.report-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: white;
    color: #0071e3;
    border: 1px solid #d2d2d7;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.report-action-btn:hover {
    background: #fafafc;
    border-color: #0071e3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* Mega Menu Syles */
/* ========== Mega Menu (Apple Style) ========== */

/* Overlay Container */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    pointer-events: none; /* Prevent clicks when hidden */
}

#navbar[data-theme="dark"] .mega-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 800px; /* Increased to ensure all content fits */
    pointer-events: auto; /* Enable clicks when visible */
}

.mega-menu-content {
    max-width: 800px; /* Match nav-container width */
    margin: 0 auto;
    padding: 40px 22px 48px; /* Match nav-container padding for alignment */
    display: flex;
    justify-content: flex-start; /* Aligned left as requested */
    gap: 80px; /* Gap between columns */
}

.mega-menu-column {
    /* flex: 1 removed to allow natural width based on content */
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 140px;
    padding-right: 20px;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0; /* Removing generic gap to control spacing individually */
}

/* Icon Item Styles */
.mega-menu-icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nav-text);
    text-decoration: none;
    padding: 8px 0;
    opacity: 0.9;
    transition: opacity 0.2s, color 0.2s;
}

.mega-menu-icon-item:hover {
    opacity: 1;
    color: var(--accent-color);
}

.menu-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f7;
    border-radius: 8px;
}

.menu-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Column */


/* Column Header */
.mega-menu-column-header {
    font-size: 12px;
    font-weight: 600;
    color: #6e6e73;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Large Title (First Column) */
/* Large Title (First Column or Featured) */
.mega-menu-featured {
    font-size: 24px;
    font-weight: 600;
    color: var(--nav-text);
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.2s;
    display: block;
    margin-bottom: 4px; /* Small spacing to description or next item */
    white-space: nowrap; /* Prevent wrapping */
}

/* Add margin if featured item is not the first child */
li:not(:first-child) .mega-menu-featured {
    margin-top: 4px; /* Tight vertical spacing */
}

.mega-menu-featured:hover {
    color: var(--accent-color);
}

/* Menu Links */
.mega-menu-link {
    font-size: 12px;
    font-weight: 400;
    color: var(--nav-text);
    text-decoration: none;
    line-height: 1.8;
    white-space: nowrap; /* Prevent wrapping */
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
    display: block;
    margin-bottom: 4px; /* Reduced spacing for small links */
}

/* Add extra spacing between a Featured link and a regular link */
li:has(.mega-menu-featured) + li .mega-menu-link {
    margin-top: 12px; /* Distinct gap between Title-like link and list */
}

.mega-menu-link:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 22px;
    }
}

/* Product Detail Page */
.product-detail-section {
    background-color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.product-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-detail-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .product-detail-header {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.product-detail-image {
    min-height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f5f5f7;
    border-radius: 20px;
}

.product-detail-info {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .product-detail-info {
        margin-top: 0;
    }
}

.product-brand-label {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #1d1d1f;
}

.btn-purchase {
    display: inline-block;
    background-color: #0071e3;
    color: white;
    padding: 12px 30px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 16px;
}

.btn-purchase:hover {
    background-color: #0077ed;
    opacity: 1;
}

.product-detail-content {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #ebebeb;
}

.product-detail-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

