/* Global Styles */
:root {
    --bg-color: #FAFAFA;
    /* Slightly cooler white for modern feel */
    --text-color: #4A4A4A;
    /* Softer dark gray */
    --accent-color: #D4A5A5;
    /* Dusty Rose/Soft Pink */
    --secondary-text: #888888;
    --border-color: #EEE0E0;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --font-tc: 'Noto Serif TC', serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4rem;
    background-color: var(--bg-color);
    top: 0;
    position: sticky;
    z-index: 100;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.logo-cn {
    font-family: var(--font-serif);
    /* Or a specifc CN font if available */
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    color: #DAA520;
    /* Example gold/yellowish color from logo, or keep standard text color */
    color: var(--text-color);
}

.logo-en {
    font-family: 'Great Vibes', cursive;
    /* Script font */
    font-size: 1.1rem;
    color: var(--secondary-text);
}

.header-logo-img {
    height: 60px;
    /* Slightly larger */
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: var(--secondary-text);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-color);
    border-bottom: 1px solid var(--text-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--secondary-text);
    font-family: var(--font-sans);
}

.lang-switch a {
    color: var(--secondary-text);
    transition: color 0.3s;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--text-color);
    font-weight: 700;
}

.lang-switch .divider {
    color: #ddd;
    font-size: 0.8rem;
}

.social-icons {
    /* Previously .social-icons a had margin-left: 1rem; we can keep that or adjust */
    display: flex;
    align-items: center;
}

.social-icons a {
    margin-left: 1rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-banner {
    width: 100%;
    margin-bottom: 4rem;
}

.hero-image-container {
    width: 100%;
    height: 400px;
    /* Adjust based on image */
    overflow: hidden;
    position: relative;
}

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

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Section Title */
.section-title {
    margin-bottom: 3rem;
}

.icon-sketch {
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

.section-title h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

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

/* Filter Navigation */
.filter-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    /* Connected buttons style */
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.8rem 3rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-color);
    min-width: 120px;
    transition: all 0.3s;
}

.filter-btn:not(:last-child) {
    border-right: none;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #EBEBE9;
}

.tag-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    font-size: 0.8rem;
    color: var(--secondary-text);
}

.original-tag {
    border: 1px solid var(--text-color);
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-serif);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

.product-card {
    text-align: center;
    background: #fff;
    /* border: 1px solid #eee; */
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square images */
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 0 0.5rem;
}

.category {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.8rem;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
}

.product-info h3 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.5;
    min-height: 3rem;
    /* Align titles */
}

.divider {
    width: 20px;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto 1rem;
}

.price {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

.tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.tags .icon {
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 0.7rem;
}

/* Bottom Call to Action */
.bottom-cta {
    margin: 4rem 0 6rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-cta p {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.cta-button {
    border: 1px solid var(--text-color);
    padding: 1rem 3rem;
    font-size: 0.9rem;
    background: transparent;
    color: var(--text-color);
}

.cta-button:hover {
    background: var(--text-color);
    color: var(--white);
}

/* Footer Showcase */
.footer-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.showcase-item {
    text-align: center;
}

.showcase-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.showcase-item p {
    font-size: 0.85rem;
    font-family: var(--font-serif);
}

/* Footer */
footer {
    background-color: #F0F0F0;
    padding: 3rem 0;
    font-size: 0.8rem;
    color: var(--secondary-text);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-color);
}

.footer-info {
    flex: 1;
}

.footer-info p {
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    margin-right: 2rem;
}

.copyright {
    text-align: right;
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

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

    .bottom-cta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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

/* Split Screen Landing Page */
.split-landing {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    padding: 2rem;
    gap: 4rem;
    /* Wider gap for staggered look */
    box-sizing: border-box;
}

.split-pane {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    /* Ensure no underline on text */
}

/* Wrapper for the image to handle clipping and sizing */
.image-wrapper {
    position: relative;
    width: 35vw;
    /* Portrait width */
    max-width: 400px;
    height: 75vh;
    /* Portrait height */
    min-height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.split-left {
    transform: translateY(-2rem);
    /* Stagger up */
}

.split-right {
    transform: translateY(2rem);
    /* Stagger down */
}

.image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease, filter 0.5s ease;
    z-index: 1;
    filter: grayscale(100%);
    /* Default to black and white */
}

.split-pane:hover .image-wrapper::before {
    transform: scale(1.1);
    filter: grayscale(0%);
    /* Color on hover */
}

.split-left .image-wrapper::before {
    background-image: url('assets/images/landing_left.jpg');
    /* Updated Doll Image */
}

.split-right .image-wrapper::before {
    background-image: url('assets/images/landing_right.jpg');
    /* Updated Acc Image */
}

.label-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #4A4A4A;
    /* Dark gray text */
    letter-spacing: 0.1rem;
    margin: 1rem 0;
    z-index: 5;
}

/* Center Brand Overlay */
.brand-center-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    /* Let clicks pass through to panes underneath if outside the box, but wait, the box itself might link or just be decorative */
}

.brand-box {
    padding: 1rem 2rem;
    background-color: transparent;
    pointer-events: auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-box:hover {
    transform: scale(1.05);
}

.brand-box h1 {
    display: none;
    /* Hide text if present */
}

.brand-logo {
    max-width: 300px;
    height: auto;
    display: block;
}

.brand-box span {
    display: none;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .split-landing {
        flex-direction: column;
        padding: 1.5rem;
        /* Smaller padding on mobile */
        gap: 1.5rem;
    }

    .split-pane {
        flex: 1;
        width: 100%;
        transform: none;
        /* Reset stagger */
    }

    .image-wrapper {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 1/1;
        /* Keep square on mobile or adjust as needed */
        min-height: 0;
        box-shadow: none;
    }

    .split-left,
    .split-right {
        transform: none;
    }

    .label-text {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .brand-box h1 {
        font-size: 1.8rem;
    }

    .brand-box {
        padding: 1rem 2rem;
    }
}