/* ============================================
   BAMO — Premium Interior Materials
   Hana Knizova style: scattered images,
   centered category text, top bar nav
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #ffffff;          /* 흰색 배경 */
    --bg-dark: #0a0a0a;
    --bg-card: #f5f5f5;
    --text: #1a1a1a;
    --text-muted: #6b6560;
    --text-dim: #9a9590;
    --accent: #c47a3a;
    --accent-hover: #a8642e;
    --font-display: 'futura-pt', 'Comfortaa', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    --font-body: 'futura-pt', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
    --transition: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(196, 122, 58, 0.2); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: 2px; }
/* livereload trigger v23 */

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }


/* --- Top Bar (Logo left, Hamburger right) --- */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
}

.top-bar__logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text);
}

.top-bar__menu {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    transition: opacity 0.3s;
}
.top-bar__menu:hover { opacity: 0.6; }


/* --- Menu Overlay (메인페이지와 동일: 다크 풀스크린 중앙 정렬) --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 10, 10, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay__close {
    position: absolute;
    top: 26px; right: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    transition: opacity 0.3s;
}
.menu-overlay__close:hover { opacity: 0.5; }

.menu-overlay__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
}

.menu-overlay__link {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.menu-overlay__link:hover { opacity: 0.6; }


/* --- Main Content --- */
.main-content {
    margin-left: 0;
}


/* --- Flash Messages --- */
.flash-container {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 300;
    max-width: 400px;
}

.flash {
    padding: 14px 20px;
    margin-bottom: 8px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    animation: flashIn 0.4s var(--transition);
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    color: #f5f2ee;
}
.flash--success { border-color: rgba(100, 200, 130, 0.3); }
.flash--error { border-color: rgba(220, 80, 80, 0.3); }

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


/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }


/* ============================================
   LANDING — Hana Knizova style scrolling grid
   ============================================ */
.landing {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.landing__grid-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.landing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3rem;
    height: 100%;
    padding: 0 120px;
}

.landing__col {
    position: relative;
}

.landing__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    backface-visibility: hidden;
    position: relative;
    will-change: transform;
}

.landing__col ul.ready {
    animation: scrollCol 68s linear infinite;
}

#landCol1 { padding-top: 2rem; }
#landCol2 { padding-top: 8rem; }
#landCol3 { padding-top: 0; }

.landing__col li {
    height: 350px;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing__col figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100%;
}

.landing__col figure img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 1s 0.3s linear;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
}

.landing__col figure img.loaded {
    opacity: 0.92;
}

.landing__col li.size-lg figure { width: 80%; }
.landing__col li.size-md figure { width: 62%; }
.landing__col li.size-sm figure { width: 50%; }

@keyframes scrollCol {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -50%, 0); }
}

.landing__fade {
    position: absolute;
    left: 0; right: 0;
    height: 300px;
    z-index: 1;
    pointer-events: none;
}

.landing__fade--top {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0) 100%);
}

.landing__fade--bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0) 100%);
}

.landing__center {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    pointer-events: none;
}

.landing__cat {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 48px);
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.03em;
    color: var(--accent);
    transition: opacity 0.4s, transform 0.4s var(--transition);
    pointer-events: auto;
}

.landing__cat:nth-child(1) { color: #d49060; }
.landing__cat:nth-child(2) { color: #c4712a; }
.landing__cat:nth-child(3) { color: #6b3a1a; }

.landing__center:hover .landing__cat {
    opacity: 0.4;
    transition: opacity 0.4s;
}

.landing__center:hover .landing__cat:hover {
    opacity: 1;
    transform: scale(1.03);
}

.landing__bottom-left {
    position: absolute;
    bottom: 32px;
    left: 40px;
    z-index: 3;
}

.landing__bottom-right {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing__bottom-left a,
.landing__bottom-right a {
    display: inline-flex;
    transition: opacity 0.3s;
}

.landing__bottom-left a:hover,
.landing__bottom-right a:hover {
    opacity: 0.5;
}


/* --- Section Label --- */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 100px 60px 40px;
}

.section-label__line {
    width: 40px;
    height: 1px;
    background: var(--text-dim);
}

.section-label__text {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
}


/* --- Brand Showcase (Asymmetric) --- */
.brand-showcase {
    background: var(--bg-dark);
    color: #f5f2ee;
}

.brand-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    overflow: hidden;
}

.brand-row--right { direction: rtl; }
.brand-row--right > * { direction: ltr; }

.brand-row__image {
    position: relative;
    overflow: hidden;
}

.brand-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.brand-row:hover .brand-row__image img {
    transform: scale(1.03);
}

.brand-row__placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161616;
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 300;
    color: #3a3a3a;
}

.brand-row__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.brand-row__origin {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.brand-row__name {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.brand-row__name-en {
    font-size: 13px;
    font-weight: 300;
    color: #8a8580;
    margin-top: 4px;
}

.brand-row__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: #8a8580;
    margin-top: 20px;
    max-width: 400px;
}

.brand-row__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    transition: gap 0.4s var(--transition);
}
.brand-row__link:hover { gap: 20px; }
.brand-row__link svg { transition: transform 0.4s var(--transition); }
.brand-row__link:hover svg { transform: translateX(4px); }

.brand-showcase .section-label__line { background: #5a5550; }
.brand-showcase .section-label__text { color: #5a5550; }


/* --- CTA Section --- */
.cta-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    inset: -20%;
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600&q=80') center/cover no-repeat;
    will-change: transform;
}

.cta-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
}

.cta-section__content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 40px;
}

.cta-section__label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.cta-section__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    line-height: 1.4;
    color: #f5f2ee;
}

.cta-section__desc {
    font-size: 14px;
    color: #8a8580;
    margin-top: 16px;
    font-weight: 300;
}

.cta-section__btn {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 40px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s var(--transition);
}

.cta-section__btn:hover {
    background: var(--accent);
    color: var(--bg-dark);
}


/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 60px;
    color: #8a8580;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.2em;
    color: #8a8580;
}

.footer__tagline {
    font-size: 10px;
    color: #5a5550;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.footer__info { font-size: 12px; color: #5a5550; }
.footer__copy { font-size: 11px; color: #5a5550; }


/* --- Brand Page --- */
.brand-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--bg-dark);
}

.brand-hero__bg {
    position: absolute;
    inset: -20%;
    background: #161616 center/cover no-repeat;
    will-change: transform;
}

.brand-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(10,10,10,0.3) 60%);
}

.brand-hero__content {
    position: relative;
    padding: 60px;
    z-index: 1;
}

.brand-hero__origin {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.brand-hero__title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #f5f2ee;
}

.brand-hero__en {
    font-size: 14px;
    color: #8a8580;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.brand-story {
    padding: 80px 60px;
    max-width: 700px;
}

.brand-story__line {
    width: 40px; height: 1px;
    background: var(--accent);
    margin-bottom: 24px;
}

.brand-story__text {
    font-size: 16px;
    font-weight: 300;
    line-height: 2;
    color: var(--text-muted);
}

.brand-story__link {
    display: inline-block;
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--accent);
    transition: 0.3s;
}
.brand-story__link:hover { color: var(--accent-hover); }


/* --- Portfolio Grid --- */
.brand-portfolio { background: var(--bg); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 0 2px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-item--wide {
    grid-column: span 2;
    aspect-ratio: 16/7;
}

.portfolio-item__image {
    width: 100%; height: 100%;
    overflow: hidden;
}

.portfolio-item__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.portfolio-item:hover .portfolio-item__image img { transform: scale(1.05); }

.portfolio-item__placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--text-dim);
}

.portfolio-item__info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    background: linear-gradient(0deg, rgba(10,10,10,0.8) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s var(--transition);
}

.portfolio-item:hover .portfolio-item__info { opacity: 1; transform: translateY(0); }

.portfolio-item__name { font-size: 14px; font-weight: 400; color: #f5f2ee; }
.portfolio-item__model { font-size: 11px; color: #8a8580; margin-top: 2px; letter-spacing: 0.05em; }


/* --- Brand CTA --- */
.brand-cta { padding: 80px 60px; text-align: center; }

.brand-cta__text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 24px;
}


/* --- Page Hero (About, Contact) --- */
.page-hero {
    height: 40vh;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    background: var(--bg);
}

.page-hero__label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.4;
    color: var(--text);
}


/* --- About Page --- */
.about-intro { padding: 60px 60px 80px; max-width: 700px; }

.about-intro__text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-brands__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1px;
    padding: 0 60px 80px;
    background: rgba(0,0,0,0.03);
}

.about-brand-card {
    background: var(--bg);
    padding: 32px;
    transition: background 0.4s;
}
.about-brand-card:hover { background: var(--bg-card); }

.about-brand-card__inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-brand-card__logo {
    width: 40px; height: 40px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.4s;
}
.about-brand-card:hover .about-brand-card__logo { opacity: 1; }

.about-brand-card__initial {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--text-dim);
}

.about-brand-card__name { font-size: 14px; font-weight: 400; color: var(--text); display: block; }
.about-brand-card__country { font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; }

.about-cta { padding: 40px 60px 80px; text-align: center; }


/* --- Contact Page --- */
/* Reference cards */
.reference-section {
    padding: 100px 60px 60px;
}

.reference-header {
    margin-bottom: 36px;
}

.reference-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.reference-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-bottom: 44px;
}

.reference-tab {
    background: none;
    border: none;
    padding: 0 0 6px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.reference-tab:hover {
    color: var(--text-muted);
}

.reference-tab.is-active {
    color: var(--text);
    border-bottom-color: var(--text);
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.reference-card {
    overflow: hidden;
    transition: opacity 0.3s;
}

.reference-card:hover { opacity: 0.8; }

.reference-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f0f0;
}

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

.reference-card:hover .reference-card__image img {
    transform: scale(1.05);
}

.reference-card__placeholder {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}

.reference-card__info {
    padding: 14px 0;
}

.reference-card__brand {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.reference-card__collection {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 2px;
}

.reference-card__title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-top: 8px;
    line-height: 1.4;
}

.reference-card__designer {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.contact-section { padding: 60px 60px 80px; border-top: 1px solid #eee; }

.contact-section__inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 900px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-form__field label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.contact-form__field label span { color: var(--accent); }

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    padding: 10px 0;
    transition: border-color 0.4s;
    outline: none;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus { border-color: var(--accent); }

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder { color: var(--text-dim); }

.contact-form__field textarea {
    resize: none;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 12px;
    margin-top: 4px;
}
.contact-form__field textarea:focus { border-color: var(--accent); }

.contact-form__submit {
    align-self: flex-start;
    padding: 14px 40px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--transition);
}

.contact-form__submit:hover { background: var(--accent); color: #fff; }

.contact-info { padding-top: 40px; }
.contact-info__block { margin-bottom: 32px; }
.contact-info__label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 6px; }
.contact-info__block p { font-size: 14px; color: var(--text-muted); font-weight: 300; }


/* --- Product Detail Page (formani style) --- */
/* Features & Technologies grid (AS) */
.product-page__features-grid {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.features-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 16px;
    margin-top: 16px;
}

.feature-icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
}

.feature-icon-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.feature-icon-item span {
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .features-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Combo selector (B안: Card) */
.combo-selector {
    margin: 28px 0;
    padding: 28px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.combo-group {
    margin-bottom: 24px;
}

.combo-group__title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
}

.combo-group__cards {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.combo-card {
    flex: 0 0 auto;
    min-width: 80px;
    max-width: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Wider cards for non-finish combos (AS bidet/toilet) */
.combo-selector--wide .combo-card {
    min-width: 140px;
    max-width: 220px;
    padding: 16px;
    text-align: left;
    align-items: flex-start;
}

.combo-selector--wide .combo-card__name {
    font-size: 14px;
}

.combo-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    object-fit: cover;
}

.combo-card--has-img {
    min-width: 120px;
    max-width: 160px;
    padding: 6px;
    gap: 6px;
}

.combo-card--has-img .combo-card__name {
    font-size: 10px;
    letter-spacing: 0.03em;
}

.combo-card:hover {
    border-color: #999;
}

.combo-card--active {
    border-color: #222;
    border-width: 2px;
    background: #fafafa;
}

.combo-card__name {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

.combo-card__code {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.03em;
}

.combo-card__desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 4px;
}

.combo-result {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 4px;
}

.combo-result__label {
    font-size: 12px;
    color: var(--text-dim);
    white-space: nowrap;
}

.combo-result__codes {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
}

.product-page__back,
.brand-detail__back {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 24px;
    transition: color 0.3s;
}

.product-page__back:hover,
.brand-detail__back:hover {
    color: var(--text);
}

.product-page {
    padding: 100px 60px 60px;
    background: #fff;
}

.product-page__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery */
.product-page__gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.product-page__main-img {
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-page__main-img img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

/* Award badges below product image */
.product-page__awards {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    justify-content: flex-end;
    align-items: center;
}

.product-page__award-badge {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.product-page__award-badge:hover {
    opacity: 1;
}

.product-page__no-img {
    font-size: 14px;
    color: var(--text-dim);
}

.product-page__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.product-page__thumb {
    width: 64px;
    height: 64px;
    border: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    padding: 4px;
    transition: border-color 0.3s;
}

.product-page__thumb.active,
.product-page__thumb:hover {
    border-color: var(--text);
}

.product-page__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info */
.product-page__info {
    padding-top: 20px;
}

.product-page__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.product-page__breadcrumb a {
    color: var(--text-dim);
    transition: color 0.3s;
}

.product-page__breadcrumb a:hover {
    color: var(--accent);
}

.product-page__name {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.product-page__model {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 6px;
    letter-spacing: 0.05em;
}

.product-page__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    margin-top: 24px;
    white-space: pre-line;
}

.product-page__section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.product-page__section-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.product-page__specs {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
}

.product-page__spec-line {
    padding: 4px 0;
}

.product-page__barazza-desc {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.product-page__desc-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 13px;
    font-weight: 300;
    line-height: 2;
    color: var(--text-muted);
}

.product-page__desc-list li {
    padding: 2px 0;
}

/* Downloads */
.product-page__downloads {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-page__download {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    background: none;
    transition: color 0.3s;
}

.product-page__download:hover {
    color: var(--accent);
}

.product-page__download-icon {
    display: flex;
    align-items: center;
    color: var(--text-dim);
    flex-shrink: 0;
}

.product-page__download-type {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    width: 36px;
}

.product-page__download-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: underline dotted #333;
    text-underline-offset: 4px;
}

.product-page__download:hover .product-page__download-name {
    text-decoration-color: var(--accent);
}

.product-page__download svg {
    color: var(--text-dim);
}

/* Inquiry Button */
.product-page__actions {
    margin-top: 36px;
}

.product-page__inquiry-btn {
    display: inline-block;
    padding: 14px 48px;
    border: 1px solid var(--text);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: all 0.3s var(--transition);
}

.product-page__inquiry-btn:hover {
    background: var(--text);
    color: #fff;
}

/* Related */
.product-page__related {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.product-page__related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

/* Brand name above product */
.product-page__brand-name {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 8px;
}

/* Tags */
.product-page__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.product-page__tag {
    font-size: 11px;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: var(--text-muted);
    transition: border-color 0.3s, color 0.3s;
}

a.product-page__tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Like button */
.product-page__description {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 520px;
}

.product-page__like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: none;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.product-page__like:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.product-page__like.liked {
    border-color: #e74c3c;
    color: #e74c3c;
}

.product-page__like.liked svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

/* Split layout (Product Info + Downloads side by side) */
.product-page__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.product-page__downloads-panel {}

/* Info table */
.product-page__info-table {}

.product-page__info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.product-page__info-label {
    width: 120px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.product-page__info-value {
    flex: 1;
    font-size: 13px;
    color: var(--text);
}

/* Files section under image */
.product-page__files-section {
    margin-top: 24px;
}

/* Collection banner */
.product-page__collection-banner {
    margin-top: 32px;
    overflow: hidden;
    border-radius: 4px;
}

.product-page__collection-banner img {
    width: 100%;
    object-fit: contain;
}

/* Collection description block */
.product-page__collection-desc-block {
    margin-top: 24px;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 4px;
}

.product-page__collection-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.product-page__collection-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-page__collection-desc--kr {
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
}

/* Designer */
.product-page__designer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;
}

.product-page__designer-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}

.product-page__designer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-page__designer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-dim);
    background: #eee;
    border-radius: 50%;
}

.product-page__designer-info {
    display: flex;
    flex-direction: column;
}

.product-page__designer-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.product-page__designer-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

/* Catalogue link */
.product-page__catalogue-link {
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
}

.product-page__catalogue-link p {
    font-size: 14px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.product-page__catalogue-link a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: underline dotted #333;
    text-underline-offset: 4px;
    transition: color 0.3s, text-decoration-color 0.3s;
}

.product-page__catalogue-link a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* Related Stories */
.product-page__stories {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dotted #333;
}

.product-page__stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.product-page__story-card {
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
}

.product-page__story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition);
}

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

.product-page__stories-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: underline dotted #333;
    text-underline-offset: 4px;
    transition: color 0.3s;
}

.product-page__stories-link:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* Legacy product hero - keep for fallback */
.product-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--bg-dark);
}

.product-hero__bg {
    position: absolute;
    inset: -20%;
    background: #161616 center/cover no-repeat;
    will-change: transform;
}

.product-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(10,10,10,0.2) 60%);
}

.product-hero__content { position: relative; padding: 60px; z-index: 1; }

.product-hero__brand {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    transition: color 0.3s;
}
.product-hero__brand:hover { color: var(--accent-hover); }

.product-hero__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 300;
    color: #f5f2ee;
    margin-top: 8px;
}

.product-hero__model { font-size: 13px; color: #8a8580; letter-spacing: 0.05em; margin-top: 4px; }

.product-detail { padding: 60px; max-width: 900px; }

.product-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-bottom: 60px;
}

.product-gallery__item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-info__block { margin-bottom: 48px; }

.product-info__heading {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.product-info__text {
    font-size: 15px; font-weight: 300; line-height: 1.9;
    color: var(--text-muted);
    white-space: pre-line;
}

.product-info__specs {
    font-family: var(--font-body);
    font-size: 13px; font-weight: 300; line-height: 2;
    color: var(--text-muted);
    background: none; border: none;
    white-space: pre-line;
}

.product-files { margin-bottom: 48px; }

.product-files__list { display: flex; flex-direction: column; gap: 1px; }

.product-file {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg-card);
    transition: background 0.3s;
}
.product-file:hover { background: rgba(0,0,0,0.06); }

.product-file__type { font-size: 10px; letter-spacing: 0.15em; color: var(--accent); width: 40px; }
.product-file__name { flex: 1; font-size: 13px; color: var(--text-muted); }
.product-file svg { color: var(--text-dim); }

.product-cta { padding: 40px 0; text-align: center; }

.product-related { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }

.product-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 20px;
}

.product-related__item { overflow: hidden; }
.product-related__img { aspect-ratio: 1; overflow: hidden; background: var(--bg-card); }
.product-related__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--transition); }
.product-related__item:hover img { transform: scale(1.05); }
.product-related__name { display: block; padding: 10px; font-size: 12px; color: var(--text-muted); }


/* --- Brands Page (Logo Grid) --- */
.brands-page {
    padding: 100px 60px 60px;
    background: var(--bg);
}

.brands-page__header {
    text-align: center;
    margin-bottom: 48px;
}

.brands-page__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text);
}

.brands-section {
    margin-bottom: 60px;
}

.brands-section__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 6px;
}

.brands-section__desc {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 24px;
    padding: 0;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s;
}

.brand-card:hover { opacity: 0.7; }

.brand-card__logo {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    color: var(--text);
}

.brand-card__logo img {
    max-width: 100%;
    max-height: 70%;
    object-fit: contain;
}

.brand-card__fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dim);
}

.brand-card__name {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

.brand-card__country {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* --- Brand Detail Page (Category tabs + Product grid) --- */
.brand-detail-page {
    padding: 100px 60px 60px;
    background: #fff;
}

.brand-detail__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text);
}

.brand-detail__tabs {
    display: flex;
    gap: 6px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.brand-detail__tab {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.brand-detail__tab:hover {
    color: var(--text);
    border-color: #999;
}

.brand-detail__tab--active {
    color: #fff;
    background: #222;
    border-color: #222;
}

/* Finish filter */
.brand-detail__filters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.brand-detail__filter-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-right: 4px;
}

.brand-detail__filter {
    font-family: var(--font-body);
    font-size: 12px;
    padding: 5px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.brand-detail__filter:hover {
    border-color: var(--text);
    color: var(--text);
}

.brand-detail__filter--active {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.brand-product-card__finish {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    padding: 0 4px 4px;
}

/* Sidebar + Main layout */
.brand-detail__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

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

.brand-search {
    position: relative;
    display: flex;
    align-items: center;
}

.brand-search input {
    font-family: var(--font-body);
    font-size: 13px;
    padding: 6px 30px 6px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    outline: none;
    transition: border-color 0.2s;
}

.brand-search input:focus {
    border-color: #999;
}

.brand-search svg {
    position: absolute;
    right: 10px;
    color: #aaa;
    pointer-events: none;
}

/* Search page */
.search-page {
    padding: 100px 60px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 40px;
    border-bottom: 2px solid #222;
    padding-bottom: 8px;
}

.search-form input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 16px;
    border: none;
    outline: none;
    background: none;
}

.search-form button {
    background: none;
    border: none;
    cursor: pointer;
    color: #222;
}

.search-count {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 28px;
}

.search-card {
    display: flex;
    flex-direction: column;
    transition: opacity 0.2s;
}

.search-card:hover { opacity: 0.7; }

.search-card__image {
    aspect-ratio: 1;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}

.search-card__image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.search-card__brand {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search-card__name {
    font-size: 13px;
    color: var(--text);
    margin-top: 2px;
}

.search-card__code {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
}

.search-empty {
    text-align: center;
    padding: 80px;
    color: var(--text-dim);
}

.brand-detail__body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
}

.brand-detail__sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
    padding: 12px 28px 12px 8px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.brand-detail__sidebar::-webkit-scrollbar {
    width: 4px;
}

.brand-detail__sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.filter-group {
    border-bottom: 1px solid #eee;
    padding: 0 8px;
}

.filter-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
}

.filter-group__toggle svg {
    transition: transform 0.25s ease;
}

.filter-group--open .filter-group__toggle svg {
    transform: rotate(180deg);
}

.filter-group__options {
    display: none;
    padding: 4px 4px 20px;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.filter-group__options::-webkit-scrollbar {
    width: 3px;
}

.filter-group__options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.filter-group--open .filter-group__options {
    display: block;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--text-muted);
    transition: color 0.15s;
    line-height: 1.4;
}

.filter-option:hover {
    color: var(--text);
}

.filter-option--active {
    color: var(--text);
    font-weight: 500;
}

.filter-option input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #222;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-option__label {
    flex: 1;
    text-transform: capitalize;
}

.filter-option__count {
    font-size: 11px;
    color: var(--text-dim);
    min-width: 20px;
    text-align: right;
}

.filter-reset {
    display: block;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 10px;
    border: 1px solid #ddd;
    background: none;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-reset:hover {
    border-color: var(--text);
    color: var(--text);
}

.brand-detail__main {
    min-width: 0;
}

.brand-detail__subheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.brand-detail__collection-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.brand-detail__count {
    font-size: 12px;
    color: var(--text-dim);
}

.brand-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 32px;
}

.brand-product-card { overflow: hidden; }

.brand-product-card__image {
    aspect-ratio: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-product-card__image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.5s var(--transition);
}

.brand-product-card:hover .brand-product-card__image img {
    transform: scale(1.08);
}

.brand-product-card__placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

.brand-product-card__name {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text);
    text-align: center;
    padding: 12px 4px;
}

/* Catalogue style (model groups) */
.brand-catalogue {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.catalogue-group {
    border-bottom: 1px solid #eee;
    padding: 28px 0;
}

.catalogue-group__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.catalogue-group__info {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.catalogue-group__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.catalogue-tag {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    color: #777;
    background: #f5f5f5;
}

.catalogue-tag--collection {
    color: #444;
    background: #eee;
    font-weight: 500;
}

.catalogue-group__model {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.catalogue-group__desc {
    font-size: 13px;
    font-style: italic;
    color: var(--text-dim);
}

.catalogue-group__variants {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.catalogue-group__variants::-webkit-scrollbar {
    height: 4px;
}

.catalogue-group__variants::-webkit-scrollbar-track {
    background: transparent;
}

.catalogue-group__variants::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.catalogue-group__variants::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.catalogue-variant {
    flex-shrink: 0;
    width: 160px;
    text-align: center;
}

.catalogue-variant__image {
    width: 160px;
    height: 120px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalogue-variant__image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s var(--transition);
}

.catalogue-variant:hover .catalogue-variant__image img {
    transform: scale(1.08);
}

.catalogue-variant__placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.catalogue-variant__finish {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.catalogue-variant__code {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
    letter-spacing: 0.03em;
}

.brand-detail__empty {
    text-align: center;
    padding: 80px;
    font-size: 16px;
    color: var(--text-dim);
}


/* --- Studio Page --- */
.studio-section { padding: 0 60px 60px; }

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

.studio-item { overflow: hidden; }

.studio-item__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-card);
}

.studio-item__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}
.studio-item:hover .studio-item__image img { transform: scale(1.05); }

.studio-item__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text-dim);
}

.studio-item__info { padding: 14px 0; }
.studio-item__brand { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.studio-item__name { font-size: 15px; font-weight: 400; color: var(--text); margin-top: 4px; }
.studio-item__model { font-size: 12px; color: var(--text-dim); margin-top: 2px; display: block; }

.studio-empty, .artists-empty {
    padding: 120px 60px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text-dim);
}

.artists-section { min-height: 40vh; }


/* --- Responsive --- */
@media (max-width: 1024px) {
    .brand-row { grid-template-columns: 1fr; min-height: auto; }
    .brand-row--right { direction: ltr; }
    .brand-row__image { min-height: 50vh; }
    .brand-row__info { padding: 40px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item--wide { grid-column: span 1; }
    .contact-section__inner { grid-template-columns: 1fr; }

    .landing__grid { grid-gap: 2rem; padding: 0 60px; }
    .landing__col li { height: 400px; }
}

@media (max-width: 768px) {
    .top-bar { padding: 0 20px; }

    .landing__grid { grid-template-columns: repeat(2, 1fr); grid-gap: 1rem; padding: 0 30px; }
    .landing__col:nth-child(3) { display: none; }
    .landing__col li { height: 300px; }
    .landing__cat { font-size: 28px; }

    .section-label,
    .brand-story,
    .brand-hero__content,
    .product-hero__content,
    .product-detail,
    .about-intro,
    .page-hero,
    .brand-cta,
    .about-cta,
    .contact-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-brands__grid { padding: 0 24px 60px; }
    .footer { padding: 32px 24px; }
    .footer__inner { flex-direction: column; gap: 12px; text-align: center; }

    .contact-form__row { grid-template-columns: 1fr; }
    .brand-detail__body { grid-template-columns: 1fr; }
    .brand-detail__sidebar { position: static; max-height: none; overflow: visible; }
    .catalogue-group__header { flex-direction: column; gap: 8px; }
    .catalogue-group__tags { order: -1; }
    .product-page__inner { grid-template-columns: 1fr; gap: 32px; }
    .product-page__split { grid-template-columns: 1fr; }
    .product-page__gallery { position: static; }
    .product-page__related-grid { grid-template-columns: repeat(2, 1fr); }
    .product-page { padding: 80px 24px 40px; }
    .product-page__collection-story { grid-template-columns: 1fr; }
    .product-page__collection-text { padding: 32px 24px; }

    /* AS responsive */
    .as-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .as-category-tabs { gap: 4px; padding: 12px 0; }
    .as-cat-tab { font-size: 11px; padding: 5px 10px; }
    .as-subcategory-tabs { gap: 4px; }
    .as-sub-tab { font-size: 11px; padding: 4px 8px; }
}

/* ═══════════════════════════════════════════════════════════════
   American Standard - 전용 레이아웃
   ═══════════════════════════════════════════════════════════════ */

/* 대카테고리 탭 */
.as-category-tabs {
    display: flex;
    gap: 6px;
    padding: 20px 0 8px;
    flex-wrap: wrap;
}

.as-cat-tab {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 7px 18px;
    cursor: pointer;
    transition: all 0.25s;
}

.as-cat-tab:hover {
    color: var(--text);
    border-color: #999;
}

.as-cat-tab--active {
    color: #fff;
    background: #222;
    border-color: #222;
}

/* 소카테고리 서브탭 */
.as-subcategory-tabs {
    display: flex;
    gap: 6px;
    padding: 0 0 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.as-sub-tab {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    background: none;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.as-sub-tab:hover {
    color: var(--text);
    border-color: #bbb;
}

.as-sub-tab--active {
    color: var(--text);
    background: #f5f5f5;
    border-color: #aaa;
    font-weight: 500;
}

/* 제품 그리드 */
.as-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 0;
}

@media (max-width: 1400px) {
    .as-product-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1000px) {
    .as-product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 제품 카드 */
.as-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
    border-radius: 4px;
    overflow: hidden;
}

.as-product-card:hover {
    opacity: 0.8;
}

.as-product-card__image {
    aspect-ratio: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
}

.as-product-card__image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s;
}

.as-product-card:hover .as-product-card__image img {
    transform: scale(1.04);
}

.as-product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.as-product-card__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 6px 2px 4px;
}

.as-product-card__collection {
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.as-product-card__name {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.as-product-card__model {
    font-family: var(--font-body);
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.as-product-card__grade {
    font-family: var(--font-body);
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}
