@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* Global Settings */
:root {
    --primary-color: #0f204b;
    /* Dark Navy for header/footer */
    --accent-color: #467c1d;
    /* Green */
    --bg-color: #d4eaf5;
    /* Light blue */
    --text-dark: #111111;
    --text-gray: #666666;
    --text-white: #ffffff;
    --font-family: 'Pretendard', -apple-system, sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Box Shadow */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.section-subtitle,
.footer-logo,
.nav-menu a,
.logo {
    font-family: var(--font-heading);
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white);
}

.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 30px;
}

/* Header */
.header {
    background-color: transparent;
    color: var(--text-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled,
.header.menu-open {
    background-color: var(--text-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.header.scrolled .icon-btn,
.header.scrolled .mobile-menu-btn,
.header.menu-open .icon-btn,
.header.menu-open .mobile-menu-btn {
    color: var(--text-dark);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: inline-block;
    width: 180px;
    /* Adjust according to logo image size */
    height: 50px;
    background-image: url('../images/logo_v2_white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: -9999px;
    /* Hide text */
}

/* On scroll we could optionally change to a dark logo if provided, maybe filter: invert */
.header.scrolled .logo,
.header.menu-open .logo {
    background-image: url('../images/logo_v2_black.png');
}

.nav-menu>ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu>ul>li>a {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    display: block;
    padding: 30px 0;
}

.nav-menu>ul>li>a:hover,
.nav-menu>ul>li>a.active {
    opacity: 1;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-white);
    box-shadow: var(--shadow-soft);
    padding: 10px 0;
    border-radius: 10px;
    min-width: 200px;
    margin-top: -10px;
    /* Adjust dropdown position right below the padding */
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    opacity: 1;
    text-align: center;
}

.dropdown-menu a:hover {
    background-color: var(--bg-color);
    color: var(--accent-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-link {
    font-size: 0.85rem;
    opacity: 0.8;
}

.auth-sep {
    font-size: 0.85rem;
    opacity: 0.5;
    margin: 0 5px;
}

.auth-link:hover {
    opacity: 1;
}

.icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.8;
}

.icon-btn:hover {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 800px;
    /* Request from user */
    display: flex;
    align-items: center;
    border-bottom-left-radius: 100px;
    overflow: hidden;
}

/* Gradient Overlay independent of slides */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Sits above the slides but below content */
    background: linear-gradient(90deg, rgba(11, 26, 104, 0.9) 0%, rgba(11, 26, 104, 0.4) 40%, rgba(11, 26, 104, 0) 100%);
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

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

.hero-slide .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2c3e50;
    /* Fallback */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    /* Offset header */
    color: var(--text-white);
    width: 100%;
}

.hero-subtitle {
    color: #80c04f;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    display: block;
}

.hero-title {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 50px;
    max-width: 600px;
    line-height: 1.8;
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    padding-left: 20px;
}

/* Controls */
.hero-controls {
    position: absolute;
    bottom: 80px;
    /* adjusted margin */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: flex-start;
    /* Align with content */
    align-items: center;
    gap: 40px;
}

.hero-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 1rem;
    color: var(--text-white);
}

.hero-indicator .active {
    color: var(--text-white);
}

.hero-indicator span {
    opacity: 0.7;
}

.progress-bar {
    width: 250px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--text-white);
    width: 33.33%;
    transition: width 0.3s ease;
}

.hero-nav-btns {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-btn:hover {
    opacity: 1;
}

/* Brand Section */
.brand-section {
    padding: 120px 0;
}

.brand-section .section-title {
    margin-bottom: 24px;
    font-size: 40px;
    letter-spacing: -1px;
}

.brand-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.15);
    margin: 0 auto 24px auto;
}

.brand-desc {
    line-height: 1.8;
}

.brand-desc p {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 16px;
}

.brand-desc strong {
    font-weight: 700;
}

/* Exhibition Video Section */
.exhibition-section {
    padding: 0 0 120px 0;
    background-color: #fff;
}

.exhibition-section .section-title {
    margin-bottom: 40px;
    font-size: 40px;
    letter-spacing: -1px;
}

.exhibition-en-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    margin-top: -28px;
    margin-bottom: 28px;
}

.exhibition-desc {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 40px;
}

.exhibition-info {
    list-style: none;
    padding: 28px 40px;
    margin: 0 auto 50px auto;
    max-width: 820px;
    background-color: #f8f8f6;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 40px;
}

.exhibition-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.exhibition-info .info-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #888;
    padding: 4px 10px;
    border: 1px solid #d8d8d4;
    border-radius: 999px;
    background-color: #fff;
}

.exhibition-info .info-value {
    color: var(--text-dark);
    font-weight: 500;
}

.exhibition-video-wrap {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    background-color: #000;
    aspect-ratio: 16 / 9;
}

.exhibition-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .exhibition-section {
        padding-bottom: 80px;
    }

    .exhibition-section .section-title {
        font-size: 28px;
    }

    .exhibition-video-wrap {
        border-radius: 12px;
    }

    .exhibition-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 22px 24px;
    }

    .exhibition-info li {
        font-size: 14px;
    }
}

/* Quality Section */
.quality-section {
    margin-bottom: 0;
    /* Space after the border if needed, or remove if not. Actually let's just pad it inside */
    padding-bottom: 120px;
    border-bottom: 1px solid rgba(000, 000, 000, .05);
}

.quality-box {
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    min-height: 480px;
}

.quality-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from left to right, matching hero style overlay overlaying the background image */
    background: linear-gradient(90deg, rgba(11, 26, 104, 0.95) 0%, rgba(11, 26, 104, 0.6) 50%, rgba(11, 26, 104, 0) 100%);
    z-index: 1;
}

.quality-content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
    transform: translateY(-20px);
    /* Move text slightly above center */
}

.quality-title {
    color: #80c04f;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
}

.quality-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
}


/* Vegan Collection */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.products-grid {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    text-align: left;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-15px);
}

.card-image {
    height: 430px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.card-info {
    padding: 20px 5px 0 5px;
}

.card-info .product-title-en {
    color: #0b4c9e;
    /* Deep blue from source */
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.card-info .product-title-ko {
    color: #0b4c9e;
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.card-info .product-desc {
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
    word-break: keep-all;
}

.more-link {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.more-link svg {
    margin-bottom: 2px;
}


/* Hygiene & Trust Section */
.trust-section {
    position: relative;
    color: var(--text-white);
}

.trust-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a2a44;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.trust-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.trust-content {
    position: relative;
    z-index: 3;
}

.trust-subtitle {
    text-shadow: 0 0 20px rgba(000, 000, 000, .8);
    color: #80c04f;
}

.trust-desc {
    opacity: 0.9;
    margin-bottom: 60px;
    font-size: 16px;
    line-height: 1.6;
}

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

.trust-card {
    background: var(--text-white);
    border-radius: 15px;
    padding: 30px;
    color: var(--text-dark);
    text-align: left;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.trust-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    /* placeholder for icon */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.trust-card h3 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.trust-card p {
    color: #444;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* B2B Section */
.b2b-section {
    background-color: var(--bg-color);
}

.b2b-banner {
    background-color: var(--text-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent-color);
}

.b2b-banner h2 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 800;
    font-family: 'Pretendard', -apple-system, sans-serif;
}

.b2b-banner p {
    margin-bottom: 30px;
    font-size: 18px;
    color: var(--text-gray);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--text-white);
    border-radius: 30px;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #2b500e;
    color: var(--text-white);
}

/* Footer */
.footer {
    background-color: #13133f;
    color: var(--text-white);
}

.footer-top-wrap {
    padding-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    width: 60px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.footer-info .sep {
    margin: 0 10px;
    opacity: 0.3;
}

.footer-contact {
    display: flex;
    gap: 80px;
}

.contact-box {
    display: flex;
    flex-direction: column;
}

.contact-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.contact-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: -0.5px;
}

.contact-time {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.footer-bottom-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 40px 0;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    /* Placeholder bg */
    background-size: cover;
    background-position: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .brand-desc p {
        text-align: left;
    }

    .brand-divider {
        height: 32px;
        margin: 0 auto 16px;
    }

    .brand-section .section-title {
        margin-bottom: 16px;
    }

    .quality-section {
        margin-bottom: 0;
    }

    .progress-bar {
        width: 200px;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 79px;
        left: 0;
        width: 100%;
        background-color: var(--text-white);
        box-shadow: var(--shadow-soft);
        padding: 30px 0;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu>ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-menu>ul>li>a {
        color: var(--text-dark);
        font-size: 1.1rem;
        padding: 5px 0;
        text-align: center;
        /* Reset padding for mobile */
    }

    .auth-link,
    .auth-sep {
        display: none;
    }

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

    .hero-title {
        font-size: 2.8rem;
    }

    .hero {
        border-bottom-left-radius: 5rem;
        height: 600px;
    }

    .quality-box {
        flex-direction: column;
    }

    .quality-image {
        width: 100%;
        height: 300px;
        clip-path: none;
    }

    .quality-content {
        padding: 50px 30px;
    }

    .card-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        background: transparent;
        padding: 0;
        min-width: 100%;
        text-align: center;
        margin-top: 10px;
        transform: none;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
        /* Disable hover on mobile to rely on click */
    }

    .dropdown.open .dropdown-menu {
        display: block;
        /* Show via JS click toggle */
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }
}

/* Mobile Typography */
@media (max-width: 768px) {
    .b2b-banner {
        padding: 40px;
    }

    .b2b-banner h2 {
        font-size: 24px;
    }

    .b2b-banner p {
        font-size: 14px;
    }

    .card-image {
        height: 340px;
    }

    .trust-card h3 {
        font-size: 18px;
    }

    .trust-desc {
        text-align: left;
    }

    .quality-box {
        background-position: center center;
    }

    .quality-content {
        transform: translateY(-50px);
    }

    .section-subtitle,
    .hero-subtitle {
        margin-bottom: 0;
        font-size: 18px;
    }

    .section-title,
    .brand-section .section-title {
        font-size: 24px;
    }

    .quality-title {
        font-size: 22px;
    }

    .hero-title {
        font-size: 30px;
    }

    body,
    .brand-desc p,
    .hero-desc,
    .quality-desc,
    .trust-desc,
    .card-info .product-desc,
    .trust-card p {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Shop / Product Register pages
   ============================================ */

/* Always-solid header for sub pages */
.header.header-dark {
    background-color: var(--text-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.header.header-dark .logo {
    background-image: url('../images/logo_v2_black.png');
}

.header.header-dark .icon-btn,
.header.header-dark .mobile-menu-btn {
    color: var(--text-dark);
}

/* Page header (sub pages) */
.page-header {
    padding: 160px 0 40px;
    background: #fafafa;
}

.page-header .section-title {
    margin-top: 8px;
}

.page-header-desc {
    margin-top: 18px;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* Shop toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.shop-count {
    font-size: 0.95rem;
    color: #555;
}

.shop-count strong {
    color: var(--accent-color, #222);
    font-weight: 700;
}

.shop-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    color: #555;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #222;
    color: #222;
}

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

.btn-sm {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
}

/* Product card extras */
.product-card .card-image {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #c8a27a;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.product-price {
    margin-top: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}

.empty-state p {
    margin-bottom: 24px;
    font-size: 1rem;
}

/* =========== Product Register =========== */
.register-container {
    max-width: 1100px;
}

.product-form {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.form-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
}

.image-uploader {
    display: block;
    cursor: pointer;
}

.image-preview {
    aspect-ratio: 1 / 1;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #999;
    background: #fafafa;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.image-preview:hover {
    border-color: #c8a27a;
    color: #c8a27a;
}

.image-preview i {
    font-size: 2.5rem;
    margin-bottom: 6px;
}

.image-preview small {
    font-size: 0.75rem;
    color: #bbb;
}

.image-preview.has-image {
    border-style: solid;
    border-color: #eee;
    padding: 0;
}

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

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-field .req {
    color: #e55;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #c8a27a;
    box-shadow: 0 0 0 3px rgba(200, 162, 122, 0.12);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-secondary {
    background: #f5f5f5;
    color: #444;
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-secondary:hover {
    background: #ebebeb;
}

/* Registered list */
.registered-wrap {
    margin-top: 60px;
}

.registered-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.registered-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.registered-header span {
    color: #c8a27a;
    margin-left: 6px;
}

.link-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

.link-btn:hover {
    color: #222;
}

.registered-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.empty-msg {
    color: #aaa;
    font-size: 0.9rem;
    padding: 30px 0;
    text-align: center;
    grid-column: 1 / -1;
}

.registered-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
}

.registered-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    flex-shrink: 0;
}

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

.registered-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.registered-info p {
    font-size: 0.8rem;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.registered-price {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #c8a27a;
}

.remove-btn {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    padding: 8px;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: #e55;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 30px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .product-form {
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .image-preview {
        aspect-ratio: 16 / 10;
    }
}

/* ============================================
   Product Detail Modal
   ============================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.72);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFade 0.2s ease-out;
}

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

.modal-dialog {
    background: #fff;
    border-radius: 16px;
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: modalSlide 0.25s cubic-bezier(.2,.8,.2,1);
}

@keyframes modalSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1.8rem;
    line-height: 1;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 45% 55%;
    max-height: 90vh;
    overflow: hidden;
}

.modal-image {
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    min-height: 400px;
}

.modal-info {
    padding: 48px 44px;
    overflow-y: auto;
}

.modal-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #c8a27a;
    margin-bottom: 12px;
}

.modal-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.25;
}

.modal-title-ko {
    font-size: 1.05rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 20px;
}

.modal-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    padding-bottom: 22px;
    border-bottom: 1px solid #eee;
    margin-bottom: 22px;
}

.modal-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c8a27a;
    margin-bottom: 22px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spec-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 18px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row dt {
    font-size: 0.78rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.05em;
    padding-top: 2px;
}

.spec-row dd {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.detail-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.product-card {
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image {
        min-height: 280px;
    }

    .modal-info {
        padding: 32px 24px;
    }

    .modal-title-en {
        font-size: 1.4rem;
    }

    .spec-row {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-container {
    max-width: 1100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: #1a1a1a;
    color: #f5f5f5;
    padding: 40px 32px;
    border-radius: 16px;
    position: sticky;
    top: 100px;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.info-row {
    margin-bottom: 22px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #c8a27a;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.info-value {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #eee;
}

.info-value strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.info-value small {
    color: #aaa;
    font-size: 0.8rem;
}

.info-value a {
    color: #f5f5f5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.info-value a:hover {
    color: #c8a27a;
}

.contact-form {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 44px 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-intro {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.checkbox-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.88rem;
    color: #555;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #c8a27a;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 20px;
    padding: 10px 0;
    font-size: 0.88rem;
}

.form-status.error {
    color: #d32f2f;
}

.form-status.success {
    color: #2e7d32;
    background: #e8f5e9;
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 3px solid #2e7d32;
}

.form-status.loading {
    color: #555;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Auth Pages (login / register / my-account)
   ============================================ */
.auth-container {
    max-width: 520px;
}

.auth-form {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 44px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: #777;
}

.auth-footer a {
    color: #c8a27a;
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.auth-footer a:hover {
    border-bottom-color: #c8a27a;
}

.membership-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
    background: #f5f5f5;
    padding: 6px;
    border-radius: 12px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tab-desc {
    background: #faf7f2;
    border-left: 3px solid #c8a27a;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #666;
    border-radius: 4px;
}

/* Header auth slot */
.header-right > [data-auth-slot] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.user-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.user-link small {
    color: #c8a27a;
    font-weight: 600;
    font-size: 0.72rem;
}

/* My account card */
.account-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 44px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.account-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #eee;
}

.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8a27a 0%, #a8825a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.account-header h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.account-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge-regular,
.badge-wholesale,
.badge-pending {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.badge-regular {
    background: #eef;
    color: #556;
}

.badge-wholesale {
    background: #faf0e0;
    color: #8a6030;
}

.badge-pending {
    background: #fff4e5;
    color: #a05a00;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
}

.info-row-line {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed #eee;
}

.info-row-line:last-child {
    border-bottom: none;
}

.info-row-line dt {
    font-size: 0.82rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.05em;
}

.info-row-line dd {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
    word-break: break-all;
}

.account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .auth-form,
    .account-card {
        padding: 32px 24px;
    }

    .account-actions {
        grid-template-columns: 1fr;
    }

    .info-row-line {
        grid-template-columns: 90px 1fr;
        gap: 10px;
    }
}


