/* ============================================================
   xushy jade - Luxury Website Styles
   Based on Vue/React TSX design converted to vanilla CSS
   ============================================================ */

/* ========== CSS Variables ========== */
:root {
    --color-primary: #8c7654;
    --color-primary-dark: #7a6548;
    --color-primary-light: #a68962;
    --color-bg: #fdfbf7;
    --color-bg-alt: #f5f2eb;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    --font-cinzel: 'Cinzel', serif;
    --font-noto: 'Noto Serif SC', 'Songti SC', serif;
    --font-inter: 'Inter', sans-serif;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.7s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #fdfbf7;
}

body {
    font-family: var(--font-inter), var(--font-noto), -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-gray-800);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ========== Typography ========== */
.font-cinzel {
    font-family: var(--font-cinzel), serif;
}

.font-noto {
    font-family: var(--font-noto), serif;
}

.text-primary { color: var(--color-primary); }
.text-white { color: #fff; }
.text-black { color: #000; }
.text-gray { color: var(--color-gray-500); }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.italic { font-style: italic; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.underline { text-decoration: underline; }
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== Layout ========== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.items-baseline { align-items: baseline; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:flex-col { flex-direction: column; }
    .md\:gap-4 { gap: 1rem; }
    .md\:gap-6 { gap: 1.5rem; }
    .md\:gap-8 { gap: 2rem; }
    .md\:gap-14 { gap: 3.5rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:w-1/3 { width: 33.333333%; }
    .md\:w-2/3 { width: 66.666667%; }
    .md\:h-auto { height: auto; }
    .md\:h-20 { height: 5rem; }
    .md\:h-48 { height: 12rem; }
    .md\:h-60 { height: 15rem; }
    .md\:h-80 { height: 20rem; }
    .md\:h-96 { height: 24rem; }
    .md\:h-\[820px\] { height: 820px; }
    .md\:min-h-\[500px\] { min-height: 500px; }
    .md\:p-20 { padding: 5rem; }
    .md\:pt-32 { padding-top: 8rem; }
    .md\:text-center { text-align: center; }
    .md\:text-left { text-align: left; }
    .md\:items-center { align-items: center; }
    .md\:justify-center { justify-content: center; }
    .md\:justify-between { justify-content: space-between; }
    .md\:justify-start { justify-content: flex-start; }
    .md\:justify-end { justify-content: flex-end; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:flex-row { flex-direction: row; }
    .lg\:gap-4 { gap: 1rem; }
    .lg\:gap-6 { gap: 1.5rem; }
    .lg\:gap-8 { gap: 2rem; }
    .lg\:gap-12 { gap: 3rem; }
    .lg\:gap-16 { gap: 4rem; }
    .lg\:w-1/4 { width: 25%; }
    .lg\:w-1/2 { width: 50%; }
    .lg\:w-3/4 { width: 75%; }
    .lg\:h-60 { height: 15rem; }
    .lg\:h-80 { height: 20rem; }
    .lg\:h-\[800px\] { height: 800px; }
    .lg\:sticky { position: sticky; }
    .lg\:top-32 { top: 8rem; }
    .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
    .lg\:py-0 { padding-top: 0; padding-bottom: 0; }
}

@media (min-width: 1280px) {
    .xl\:flex { display: flex; }
    .xl\:hidden { display: none; }
}

/* ========== Spacing ========== */
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-1\/5 { width: 20%; }
.w-2\/5 { width: 40%; }
.w-3\/5 { width: 60%; }
.w-4\/5 { width: 80%; }
.w-auto { width: auto; }
.w-screen { width: 100vw; }
.min-w-0 { min-width: 0; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-\[800px\] { max-width: 800px; }

.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-auto { height: auto; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-28 { height: 7rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-60 { height: 15rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.h-\[60\%\] { height: 60%; }
.h-\[450px\] { height: 450px; }
.h-\[500px\] { height: 500px; }
.h-\[560px\] { height: 560px; }
.h-\[600px\] { height: 600px; }
.h-\[700px\] { height: 700px; }
.h-\[800px\] { height: 800px; }
.min-h-screen { min-height: 100vh; }
.min-h-\[420px\] { min-height: 420px; }
.min-h-\[500px\] { min-height: 500px; }
.min-h-\[600px\] { min-height: 600px; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }
.p-24 { padding: 6rem; }

.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-20 { padding-left: 5rem; padding-right: 5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }

.pb-2 { padding-bottom: 0.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-14 { padding-bottom: 3.5rem; }
.pb-24 { padding-bottom: 6rem; }

.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-32 { margin-bottom: 8rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }

.ml-0\.5 { margin-left: 0.125rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.ml-6 { margin-left: 1.5rem; }

.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.mr-8 { margin-right: 2rem; }

.-mt-8 { margin-top: -2rem; }
.-mb-8 { margin-bottom: -2rem; }

/* ========== Position ========== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.top-8 { top: 2rem; }
.top-10 { top: 2.5rem; }
.top-12 { top: 3rem; }
.top-14 { top: 3.5rem; }
.top-16 { top: 4rem; }
.top-24 { top: 6rem; }
.top-32 { top: 8rem; }
.top-40 { top: 10rem; }
.top-44 { top: 11rem; }
.top-48 { top: 12rem; }

.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.bottom-8 { bottom: 2rem; }
.bottom-10 { bottom: 2.5rem; }
.bottom-12 { bottom: 3rem; }
.bottom-16 { bottom: 4rem; }
.bottom-20 { bottom: 5rem; }
.bottom-24 { bottom: 6rem; }
.bottom-1\/4 { bottom: 25%; }
.bottom-1\/2 { bottom: 50%; }

.left-0 { left: 0; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.left-8 { left: 2rem; }
.left-10 { left: 2.5rem; }
.left-12 { left: 3rem; }
.left-1\/2 { left: 50%; }
.-left-8 { left: -2rem; }
.-left-1\/2 { left: -50%; }

.right-0 { right: 0; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.right-8 { right: 2rem; }
.right-10 { right: 2.5rem; }
.right-12 { right: 3rem; }
.right-1\/2 { right: 50%; }
.right-24 { right: 6rem; }
.right-32 { right: 8rem; }
.-right-8 { right: -2rem; }
.-translate-x-12 { --tw-translate-x: -3rem; }
.-translate-x-2 { --tw-translate-x: -0.5rem; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-x-8 { --tw-translate-x: 2rem; }
.translate-x-1\/2 { transform: translateX(50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-y-1\/3 { transform: translateY(-33.333333%); }
.-translate-y-1\/4 { transform: translateY(-25%); }
.-translate-y-2 { --tw-translate-y: -0.5rem; }
.-translate-y-8 { --tw-translate-y: -2rem; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[90\] { z-index: 90; }
.z-\[110\] { z-index: 110; }
.z-\[200\] { z-index: 200; }
.z-\[210\] { z-index: 210; }

/* ========== Background & Borders ========== */
.bg-transparent { background-color: transparent; }
.bg-black { background-color: #000; }
.bg-white { background-color: #fff; }
.bg-current { background-color: currentColor; }
.bg-\[\#fdfbf7\] { background-color: var(--color-bg); }
.bg-\[\#f5f2eb\] { background-color: var(--color-bg-alt); }
.bg-\[\#eef5f8\] { background-color: #eef5f8; }
.bg-\[\#f2f2f3\] { background-color: #f2f2f3; }
.bg-\[\#e6e8eb\] { background-color: #e6e8eb; }
.bg-\[\#f8f9fa\] { background-color: #f8f9fa; }
.bg-\[\#f1f2f4\] { background-color: #f1f2f4; }
.bg-\[\#e8e4db\] { background-color: #e8e4db; }
.bg-\[\#f9f9f9\] { background-color: #f9f9f9; }
.bg-\[\#0b0b0c\] { background-color: #0b0b0c; }
.bg-\[\#f0ece2\] { background-color: #f0ece2; }
.bg-\[\#e53935\] { background-color: #e53935; }
.bg-\[\#d32f2f\] { background-color: #d32f2f; }
.bg-\[\#f5f2eb\]\/10 { background-color: rgba(245, 242, 235, 0.1); }
.bg-\[\#f5f2eb\]\/90 { background-color: rgba(245, 242, 235, 0.9); }
.bg-\[\#8c7654\] { background-color: var(--color-primary); }
.bg-\[\#8c7654\]\/10 { background-color: rgba(140, 118, 84, 0.1); }
.bg-\[\#8c7654\]\/90 { background-color: rgba(140, 118, 84, 0.9); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/40 { background-color: rgba(255, 255, 255, 0.4); }
.bg-white\/50 { background-color: rgba(255, 255, 255, 0.5); }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }
.bg-white\/70 { background-color: rgba(255, 255, 255, 0.7); }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-black\/10 { background-color: rgba(0, 0, 0, 0.1); }
.bg-black\/20 { background-color: rgba(0, 0, 0, 0.2); }
.bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7); }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }

.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-top { background-position: top; }
.bg-bottom { background-position: bottom; }
.bg-no-repeat { background-repeat: no-repeat; }

.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-white { border-color: #fff; }
.border-black { border-color: #000; }
.border-gray-100 { border-color: var(--color-gray-100); }
.border-gray-200 { border-color: var(--color-gray-200); }
.border-gray-300 { border-color: var(--color-gray-300); }
.border-\[\#e8e4d8\] { border-color: #e8e4d8; }
.border-\[\#8c7654\] { border-color: var(--color-primary); }
.border-\[\#8c7654\]\/10 { border-color: rgba(140, 118, 84, 0.1); }
.border-\[\#8c7654\]\/20 { border-color: rgba(140, 118, 84, 0.2); }
.border-\[\#8c7654\]\/30 { border-color: rgba(140, 118, 84, 0.3); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }
.border-white\/40 { border-color: rgba(255, 255, 255, 0.4); }
.border-white\/50 { border-color: rgba(255, 255, 255, 0.5); }
.border-black\/6 { border-color: rgba(0, 0, 0, 0.06); }
.border-black\/20 { border-color: rgba(0, 0, 0, 0.2); }
.border-black\/30 { border-color: rgba(0, 0, 0, 0.3); }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t-none { border-top-left-radius: 0; border-top-right-radius: 0; }
.rounded-b-none { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.rounded-b-sm { border-bottom-left-radius: 0.125rem; border-bottom-right-radius: 0.125rem; }
.rounded-t-full { border-top-left-radius: 9999px; border-top-right-radius: 9999px; }
.rounded-b-full { border-bottom-left-radius: 9999px; border-bottom-right-radius: 9999px; }
.rounded-l-full { border-top-left-radius: 9999px; border-bottom-left-radius: 9999px; }
.rounded-r-full { border-top-right-radius: 9999px; border-bottom-right-radius: 9999px; }

.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }

/* ========== Shadows ========== */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
.shadow-md\/30 { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.shadow-\[0_1px_10px_rgba\(0\,0\,0\,0\.05\)\] { box-shadow: 0 1px 10px rgba(0,0,0,0.05); }
.shadow-\[0_10px_30px_rgba\(0\,0\,0\,\.06\)\] { box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.shadow-\[0_10px_40px_-10px_rgba\(244\,114\,182\,0\.4\)\] { box-shadow: 0 10px 40px -10px rgba(244, 114, 182, 0.4); }
.shadow-\[0_10px_40px_rgba\(0\,0\,0\,\.06\)\] { box-shadow: 0 10px 40px rgba(0,0,0,0.06); }
.shadow-\[0_12px_40px_rgba\(0\,0\,0\,\.06\)\] { box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.shadow-\[0_20px_60px_rgba\(0\,0\,0\,\.15\)\] { box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.shadow-\[0_20px_60px_rgba\(0\,0\,0\,\.12\)\] { box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.shadow-\[0_25px_50px_-12px_rgba\(0\,0\,0\,0\.25\)\] { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* ========== Effects ========== */
.opacity-0 { opacity: 0; }
.opacity-5 { opacity: 0.05; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }
.opacity-\[0\.70\] { opacity: 0.70; }

.grayscale { filter: grayscale(1); }
.grayscale-0 { filter: grayscale(0); }
.brightness-50 { filter: brightness(0.5); }
.brightness-90 { filter: brightness(0.9); }
.brightness-100 { filter: brightness(1); }
.contrast-100 { filter: contrast(1); }
.saturate-100 { filter: saturate(1); }

.blur-sm { filter: blur(4px); }
.blur-md { filter: blur(8px); }
.blur-xl { filter: blur(24px); }
.blur-2xl { filter: blur(40px); }
.blur-\[1px\] { filter: blur(1px); }

.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(8px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur-2xl { backdrop-filter: blur(40px); }
.backdrop-blur-none { backdrop-filter: blur(0); }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-visible { overflow: visible; }

.mix-blend-multiply { mix-blend-mode: multiply; }

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-grab { cursor: grab; }

.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.transition-none { transition: none; }
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }
.duration-700 { transition-duration: 0.7s; }
.duration-1000 { transition-duration: 1s; }
.duration-\[20s\] { transition-duration: 20s; }

.ease-in { transition-timing-function: ease-in; }
.ease-out { transition-timing-function: ease-out; }
.ease-in-out { transition-timing-function: ease-in-out; }

.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.scale-125 { transform: scale(1.25); }

.rotate-12 { transform: rotate(12deg); }
.-rotate-12 { transform: rotate(-12deg); }

.grayscale-0 { filter: grayscale(0); }

.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) scale(var(--tw-scale-x, 1), var(--tw-scale-y, 1)); }

/* ========== Animations ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes slideInFromTop {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes slideInFromBottom {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.animate-fade-in-down { animation: fadeInDown 0.5s ease forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.5s ease forwards; }
.animate-fade-in-right { animation: fadeInRight 0.5s ease forwards; }
.animate-slide-in-top { animation: slideInFromTop 0.3s ease forwards; }
.animate-slide-in-bottom { animation: slideInFromBottom 0.3s ease forwards; }
.animate-slide-in-right { animation: slideInFromRight 0.7s ease forwards; }
.animate-zoom-in { animation: zoomIn 0.5s ease forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

.animate-in {
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.fade-in { animation-name: fadeIn; }
.fade-in-up { animation-name: fadeInUp; }
.fade-in-down { animation-name: fadeInDown; }
.fade-in-left { animation-name: fadeInLeft; }
.fade-in-right { animation-name: fadeInRight; }
.slide-in-from-top-2 { animation-name: slideInFromTop, fadeIn; --tw-translate-y: -0.5rem; }
.slide-in-from-top-4 { animation-name: slideInFromTop, fadeIn; --tw-translate-y: -1rem; }
.slide-in-from-top-10 { animation-name: slideInFromTop, fadeIn; --tw-translate-y: -2.5rem; }
.slide-in-from-bottom-4 { animation-name: slideInFromBottom, fadeIn; --tw-translate-y: 1rem; }
.slide-in-from-bottom-10 { animation-name: slideInFromBottom, fadeIn; --tw-translate-y: 2.5rem; }
.slide-in-from-bottom-12 { animation-name: slideInFromBottom, fadeIn; --tw-translate-y: 3rem; }
.slide-in-from-left-4 { animation-name: slideInFromLeft, fadeIn; --tw-translate-x: 1rem; }
.slide-in-from-left-8 { animation-name: slideInFromLeft, fadeIn; --tw-translate-x: 2rem; }
.slide-in-from-left-12 { animation-name: slideInFromLeft, fadeIn; --tw-translate-x: 3rem; }
.slide-in-from-right-10 { animation-name: slideInFromRight, fadeIn; --tw-translate-x: 2.5rem; }
.zoom-in-95 { animation-name: zoomIn; }

.duration-300 { animation-duration: 0.3s; }
.duration-500 { animation-duration: 0.5s; }
.duration-700 { animation-duration: 0.7s; }
.duration-1000 { animation-duration: 1s; }

/* ========== Component Styles ========== */

/* Header */
.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 50;
    transition: all 0.7s ease-in-out;
    height: 4rem;
    display: flex;
    align-items: center;
}

.site-header.hidden-top {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: none;
    box-shadow: none;
}

.site-header.transparent {
    background: transparent;
    border-color: transparent;
}

.site-header.solid {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border-bottom: none;
    box-shadow: none;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.site-logo:hover { opacity: 0.8; }

.site-logo-img {
    transition: opacity 0.3s;
}

.site-logo svg circle,
.site-logo svg path {
    transition: stroke 0.5s ease;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    transition: color 0.5s ease;
}

.site-logo-name {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
    font-family: var(--font-noto), serif;
}

.site-logo-sub {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
    margin-top: 2px;
}

.site-logo-sub.header-sub-light {
    opacity: 0.88;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2.5rem;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.025em;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--color-primary);
    transition: width 0.5s ease, opacity 0.5s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    font-weight: bold;
}

.stroke-white {
    stroke: #fff !important;
}

.stroke-dark {
    stroke: currentColor !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    transition: color 0.3s, transform 0.3s;
}

.header-auth-btn {
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid currentColor;
    border-radius: 9999px;
    background: rgba(140, 118, 84, 0.14);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    transition: color 0.3s, background 0.3s;
}

.header-auth-btn:hover {
    color: #7a6548;
    background: rgba(255, 255, 255, 0.9);
}

.header-auth-wrapper {
    position: relative;
    display: inline-flex;
}

.header-auth-btn .auth-btn-label {
    display: none;
    line-height: 1;
    white-space: nowrap;
}

/* Show dropdown on hover (only when logged in) */
.header-auth-wrapper.is-logged-in:hover,
.header-auth-wrapper.is-logged-in.is-open {
    outline: none;
}

.header-auth-wrapper.is-logged-in.is-open .header-auth-dropdown,
.header-auth-wrapper.is-logged-in:hover .header-auth-dropdown {
    display: block;
    grid-template-rows: 1fr;
}

.header-auth-dropdown {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    width: 260px;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(140, 118, 84, 0.12);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
    display: none;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease-out;
    z-index: 120;
}

.header-auth-wrapper.is-open .header-auth-dropdown {
    display: block;
    grid-template-rows: 1fr;
}

.header-auth-dropdown-head {
    overflow: hidden;
}

.header-auth-dropdown-name {
    color: var(--color-gray-800);
    font-size: 0.95rem;
}

.header-auth-dropdown-role {
    color: var(--color-gray-500);
    font-size: 0.8125rem;
}

.header-auth-dropdown-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.header-auth-dropdown-meta-item {
    border-radius: 0.875rem;
    background: var(--color-gray-50);
    padding: 0.75rem;
    display: grid;
    gap: 0.25rem;
}

.header-auth-dropdown-meta-item .label {
    color: var(--color-gray-500);
    font-size: 0.75rem;
}

.header-auth-dropdown-meta-item strong {
    color: var(--color-gray-800);
    font-size: 0.9375rem;
    word-break: break-all;
}

.header-auth-dropdown-actions {
    display: grid;
    gap: 0.625rem;
}

.header-auth-menu-btn {
    width: 100%;
}

.header-search-btn:hover {
    color: var(--color-primary);
}

.header-control-light {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-control-light:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.14);
}

.header-search-btn:active {
    transform: scale(0.96);
}

.header-actions .mall-btn {
    display: none;
    background: rgba(140, 118, 84, 0.9);
    backdrop-filter: blur(8px);
    color: white;
    border-radius: 9999px;
    padding: 0.625rem 1.5rem;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.2em;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (min-width: 1024px) {
    .header-actions .mall-btn { display: inline-flex; }
}

.header-actions .mall-btn:hover {
    background: var(--color-primary-dark);
}

.header-actions .mall-btn:active {
    transform: scale(0.95);
}

.lang-selector {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .lang-selector { display: block; }
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
    font-size: 12px;
    font-weight: 500;
    background: transparent;
    border: none;
}

.lang-trigger .chevron {
    transition: transform 0.3s;
}

.lang-selector:hover .chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    width: 11rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 50;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--color-gray-200);
    border-radius: 0.75rem;
    padding: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(140, 118, 84, 0.1);
}

.lang-option.active {
    background: var(--color-primary);
    color: white;
}

.lang-flag {
    width: 1rem;
    height: 0.75rem;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    transition: color 0.5s;
}

@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 2rem 1.5rem;
    animation: slideInFromTop 0.3s ease forwards;
    overflow-y: auto;
}

.mobile-menu .nav-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary);
}

.mobile-menu .nav-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(140, 118, 84, 0.1);
    cursor: pointer;
}

.mobile-menu .nav-item.active {
    font-weight: bold;
}

.mobile-menu .lang-buttons {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.mobile-menu .lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--color-gray-200);
    background: white;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.mobile-menu .lang-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.mobile-menu .lang-btn img {
    width: 1rem;
    height: 0.75rem;
    border-radius: 1px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    background: black;
    margin-top: 0;
    padding-top: 0;
}

.shared-hero-panel {
    position: relative;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    background: #000;
}

.hero-slides-host {
    position: absolute;
    inset: 0;
    top: 0;
    height: 100%;
    background: #000;
}

@media (min-width: 768px) {
    .hero-section { height: 820px; }
}

.hero-slide {
    position: absolute;
    inset: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.hero-slide.active {
    opacity: 0.7;
    transform: scale(1.05);
}

.hero-slide:not(.active) {
    opacity: 0;
    transform: scale(1);
}

.hero-gradient-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}

.hero-gradient-2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), rgba(0,0,0,0.3));
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
}

.hero-indicator {
    position: relative;
    width: 1.5px;
    height: 8rem;
    background: rgba(255,255,255,0.2);
    margin-right: 1.5rem;
    border-radius: 9999px;
    overflow: hidden;
}

.hero-indicator-fill {
    position: absolute;
    width: 100%;
    background: white;
    transition: top 0.5s ease-in-out, height 0.5s ease-in-out;
    border-radius: 9999px;
}

.hero-slides-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hero-slides-nav { gap: 2rem; }
}

.hero-slide-btn {
    text-align: left;
    transition: all 0.3s;
    cursor: pointer;
}

.hero-slide-btn:not(.active) {
    opacity: 0.3;
}

.hero-slide-btn:not(.active):hover {
    opacity: 0.5;
}

.hero-slide-btn.active {
    opacity: 1;
    transform: translateX(4px);
}

.hero-cat {
    font-size: 10px;
    color: #60a5fa;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-family: var(--font-noto), serif;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.7s ease forwards;
}

@media (min-width: 768px) {
    .hero-cat { font-size: 12px; margin-bottom: 0.75rem; }
}

.hero-title {
    font-family: var(--font-noto), serif;
    letter-spacing: 0.1em;
    line-height: 1.2;
    transition: all 0.3s;
}

.hero-title.active {
    font-size: 1.25rem;
    color: white;
    font-weight: bold;
}

@media (min-width: 768px) {
    .hero-title.active { font-size: 3rem; }
}

.hero-title:not(.active) {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-title:not(.active) { font-size: 1.25rem; }
}

.hero-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    max-width: 16rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .hero-sub {
        font-size: 14px;
        margin-top: 0.5rem;
        -webkit-line-clamp: unset;
    }
}

.hero-cta {
    margin-top: 2rem;
    animation: fadeIn 1s ease forwards, slideInFromBottom 1s ease forwards;
}

@media (min-width: 768px) {
    .hero-cta { margin-top: 4rem; }
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: black;
    padding: 0.75rem 2rem;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: background 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .hero-cta-btn {
        padding: 1rem 3rem;
        font-size: 12px;
    }
}

.hero-cta-btn:hover {
    background: var(--color-gray-100);
}

.hero-cta-btn:active {
    transform: scale(0.95);
}

/* Home Showcase */
.showcase-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0;
}
.showcase-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 2rem;
    background: white;
}

.showcase-dark {
    height: 600px;
    background: black;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    overflow: hidden;
    cursor: pointer;
}

@media (min-width: 768px) {
    .showcase-dark { height: 800px; }
}

.showcase-dark-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showcase-pre {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
}

.showcase-title {
    font-family: var(--font-cinzel), serif;
    font-size: 2.25rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .showcase-title { font-size: 3rem; }
}

.showcase-sub {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    letter-spacing: 0.1em;
    font-family: var(--font-noto), serif;
}

@media (min-width: 768px) {
    .showcase-sub { font-size: 18px; }
}

.showcase-explore-btn {
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    font-size: 14px;
    margin-top: 2rem;
    transition: all 0.3s;
    background: transparent;
    color: inherit;
}

.showcase-explore-btn:hover {
    background: white;
    color: black;
}

.showcase-dark-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.showcase-dark-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s ease;
}

.showcase-dark:hover .showcase-dark-img img {
    transform: scale(1.05);
}

.showcase-light {
    height: 500px;
    background: #eef5f8;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    overflow: hidden;
    cursor: pointer;
}

@media (min-width: 768px) {
    .showcase-light { height: 700px; }
}

.showcase-light-title {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    font-family: var(--font-noto), serif;
    color: white;
}

@media (min-width: 768px) {
    .showcase-light-title { font-size: 3rem; }
}

.showcase-light-sub {
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.1em;
    margin-top: 0.75rem;
}

.showcase-light-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-light-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.0);
    transition: transform 1s ease;
}

.showcase-light:hover .showcase-light-img img {
    transform: scale(1.05);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
}

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

.showcase-card {
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-top: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: white;
}

@media (min-width: 768px) {
    .showcase-card { height: 600px; }
}

.showcase-card-sub {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.5rem;
}

.showcase-card-title {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .showcase-card-title { font-size: 1.875rem; }
}

.showcase-card-btns {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.showcase-card-btn {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}

.showcase-card-btn:hover {
    color: white;
}

.showcase-card-btn svg {
    margin-left: 2px;
    transition: transform 0.3s;
}

.showcase-card-btn:hover svg {
    transform: translateX(2px);
}

.showcase-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.showcase-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

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

/* About Brand Sidebar */
.ab-nav-item { cursor: pointer; }
.ab-nav-item .ab-nav-label { color: #6b7280; }
.ab-nav-item .ab-nav-arrow { color: #d1d5db; }
.ab-nav-item.active .ab-nav-label { color: #8c7654; font-weight: 500; }
.ab-nav-item.active .ab-nav-arrow { color: #8c7654; }
.ab-nav-item:hover .ab-nav-label { color: #8c7654; }
.ab-nav-item:hover .ab-nav-arrow { color: #8c7654; }
.ab-panel { display: none; }
.ab-panel.active { display: block; }

/* About Brand Mobile Accordion */
.about-brand-mobile-nav .ab-mobile-item { cursor: pointer; }
.about-brand-mobile-nav .ab-mobile-item .ab-mobile-label { color: #6b7280; }
.about-brand-mobile-nav .ab-mobile-item.active .ab-mobile-label { color: #8c7654; font-weight: 500; }

/* Product Grid */
.product-grid-section {
    padding: 4rem 1rem;
}

.catalog-toolbar {
    margin-bottom: 2.5rem;
}

.catalog-toolbar-head {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.catalog-toolbar-kicker {
    font-size: 11px;
    letter-spacing: 0.28em;
    color: #a9957c;
    margin-bottom: 0.5rem;
}

.catalog-toolbar-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2f261b;
}

.catalog-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(140, 118, 84, 0.14);
    border-radius: 9999px;
    padding: 0.45rem 0.45rem 0.45rem 1.25rem;
    box-shadow: 0 10px 28px rgba(51, 39, 22, 0.06);
}

.catalog-search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #31271c;
    font-size: 14px;
    outline: none;
}

.catalog-search-btn {
    border: none;
    border-radius: 9999px;
    background: #8c7654;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 0.75rem 1.35rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.catalog-search-btn:hover {
    background: #725d41;
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .product-grid-section { padding: 4rem 2rem; }
    .catalog-toolbar-head {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
    }
}

.category-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.9rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
    font-family: var(--font-noto), serif;
    overflow-x: auto;
    padding: 0 1rem 0.5rem;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .category-nav { gap: 1.4rem; }
}

.category-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.category-item.active {
    color: #5c4a2e;
    font-weight: bold;
}

.category-item:not(.active) {
    color: var(--color-primary);
    opacity: 0.7;
}

.category-item:not(.active):hover {
    opacity: 1;
}

.category-name {
    font-size: 15px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.category-underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s, opacity 0.3s;
}

.category-item.active .category-underline {
    width: 100%;
    opacity: 1;
}

.category-item:not(.active) .category-underline {
    width: 0;
    opacity: 0;
}

.category-sep {
    color: rgba(140, 118, 84, 0.55);
    font-weight: 300;
    display: block;
    flex: 0 0 auto;
}

/* Tag Filter */
.tag-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.3s ease forwards;
}

.tag-filter-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-bg-alt);
    border: 1px solid rgba(140, 118, 84, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
}

.tag-filter-label {
    font-size: 12px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tag-filter-name {
    font-size: 14px;
    font-weight: bold;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    font-family: var(--font-noto), serif;
}

.tag-filter-clear {
    padding: 0.25rem;
    border-radius: 50%;
    transition: background 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-filter-clear:hover {
    background: rgba(140, 118, 84, 0.1);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.5rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    cursor: pointer;
    position: relative;
    background: #fff;
    box-shadow: 0 12px 28px rgba(51, 39, 22, 0.06);
}

.product-card-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f9f9f9;
    margin-bottom: 1rem;
}

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

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

.product-tag-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border: 1px solid rgba(140, 118, 84, 0.3);
    font-size: 10px;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    cursor: pointer;
    font-family: var(--font-noto), serif;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .product-tag-badge { font-size: 11px; }
}

.product-tag-badge:hover {
    background: #e8e4d8;
}

.product-tag-badge:active {
    transform: scale(0.95);
}

.product-card-info {
    padding: 0 0.8rem 1rem;
}

.product-card-code {
    display: inline-block;
    font-size: 11px;
    color: #a09383;
    letter-spacing: 0.14em;
    margin-bottom: 0.65rem;
}

.product-card-title {
    color: var(--color-primary);
    font-size: 15px;
    line-height: 1.4;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-noto), serif;
    font-weight: 500;
}

.product-card-bottom {
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.product-card-merchant {
    font-size: 12px;
    color: #8e8274;
}

.product-price {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
}

.product-inquiry-btn {
    background: #e53935;
    color: white;
    font-size: 10px;
    padding: 0.5rem 1.5rem;
    letter-spacing: 0.1em;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.3s;
    box-shadow: var(--shadow-sm);
}

.product-inquiry-btn:hover {
    background: #d32f2f;
    box-shadow: var(--shadow-md);
}

.product-inquiry-btn:active {
    transform: scale(0.95);
}

/* ============================================================
   Catalog Detail Modal - Optimized Layout
   Left: Thumbnails | Center: Main Image | Right: Details
   ============================================================ */
.catalog-detail-modal {
    align-items: stretch;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.catalog-detail-content {
    width: 1300px;
    max-width: calc(100vw - 24px);
    height: 85vh;
    max-height: 900px;
    min-height: 600px;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #f5f3ef;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0,0,0,0.05);
}

.catalog-detail-header {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    justify-content: flex-end;
    padding: 0;
}

.catalog-detail-header .modal-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.catalog-detail-header .modal-close:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.catalog-detail-header .modal-close i {
    font-size: 18px;
    color: #333;
}

.catalog-detail-body {
    height: 100%;
    padding: 0;
    background: #f5f3ef;
}

.catalog-detail-grid {
    display: grid;
    grid-template-columns: 100px 1fr 420px;
    gap: 0;
    min-height: 600px;
    height: 100%;
    background: #f5f3ef;
}

/* Left Column - Thumbnails */
.catalog-detail-thumbs-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 20px 12px;
    background: #eceae4;
    border-right: 1px solid rgba(0,0,0,0.06);
    scrollbar-width: thin;
    scrollbar-color: rgba(140,118,84,0.4) transparent;
}

.catalog-detail-thumbs-col::-webkit-scrollbar {
    width: 4px;
}

.catalog-detail-thumbs-col::-webkit-scrollbar-track {
    background: transparent;
}

.catalog-detail-thumbs-col::-webkit-scrollbar-thumb {
    background: rgba(140,118,84,0.4);
    border-radius: 4px;
}

/* Center Column - Main Gallery */
.catalog-detail-gallery {
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f3ef;
}

.catalog-detail-main {
    width: 100%;
    height: 100%;
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    background: #1a1a1a;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
}

.catalog-detail-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

/* Thumbnails */
.catalog-detail-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #2a2a2a;
    cursor: pointer;
    flex: 0 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 0;
}

.catalog-detail-thumb:hover {
    border-color: #c9a962;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.catalog-detail-thumb.active {
    border-color: #c9a962;
    box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.modal-open-catalog {
    overflow: hidden;
}

.catalog-download-btn:hover {
    background: rgba(255,255,255,0.25) !important;
}

.catalog-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Column - Product Info */
.catalog-detail-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.06);
    border-left: 1px solid rgba(0, 0, 0, 0.04);
}

.catalog-detail-info-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 52px 28px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(140,118,84,0.3) transparent;
}

.catalog-detail-info-scroll::-webkit-scrollbar {
    width: 4px;
}

.catalog-detail-info-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.catalog-detail-info-scroll::-webkit-scrollbar-thumb {
    background: rgba(140,118,84,0.3);
    border-radius: 4px;
}

.catalog-detail-title {
    font-size: 22px;
    line-height: 1.5;
    color: #1f1a15;
    font-family: var(--font-noto), serif;
    font-weight: 600;
    margin-bottom: 0;
}

.catalog-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.catalog-detail-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #5a5a5a;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
}

.catalog-detail-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.catalog-detail-copy:hover {
    background: #eee;
    color: #333;
}

.catalog-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: #8c7654;
    font-family: var(--font-noto), serif;
    margin-left: auto;
}

.catalog-detail-specs {
    margin-top: 16px;
    font-size: 14px;
    color: #777;
    padding: 12px 16px;
    background: #f9f8f6;
    border-radius: 10px;
    line-height: 1.6;
}

.catalog-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.catalog-detail-tag {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f5f0e6;
    color: #8c7654;
    font-size: 12px;
    font-weight: 500;
    border: none;
    transition: all 0.2s ease;
}

.catalog-detail-tag:hover {
    background: #ebe3d4;
}

.catalog-detail-desc {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
    color: #5a5045;
    padding: 16px;
    background: #faf8f4;
    border-radius: 12px;
    border: 1px solid rgba(140,118,84,0.1);
}

.catalog-detail-warn {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fef9f0 0%, #fdf5e3 100%);
    color: #8a7554;
    font-size: 13px;
    line-height: 1.7;
    border: 1px solid rgba(201,169,98,0.2);
}

.catalog-detail-comments {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid rgba(140,118,84,0.12);
    border-radius: 16px;
    background: #fdfdfb;
}

.catalog-detail-comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #2a241c;
}

.catalog-detail-comments-count,
.catalog-detail-comments-hint {
    font-size: 12px;
    font-weight: 400;
    color: #9a8a78;
}

.catalog-detail-comments-hint {
    margin-top: 8px;
}

.catalog-detail-comments-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.catalog-detail-comments-empty {
    padding: 20px 8px;
    color: #a89a87;
    font-size: 13px;
    text-align: center;
}

.catalog-detail-comment-item {
    display: flex;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.catalog-detail-comment-item.is-reply {
    margin-left: 36px;
    padding-bottom: 0;
    border-bottom: none;
}

.catalog-detail-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex: 0 0 auto;
    overflow: hidden;
    background: linear-gradient(135deg, #d4b896 0%, #a68962 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.catalog-detail-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-detail-comment-main {
    min-width: 0;
    flex: 1;
}

.catalog-detail-comment-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.catalog-detail-comment-name {
    font-size: 13px;
    font-weight: 600;
    color: #2a241c;
}

.catalog-detail-comment-meta {
    color: #a89a87;
}

.catalog-detail-comment-reply-btn {
    border: none;
    background: none;
    padding: 0;
    color: #c9a962;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    margin-left: auto;
}

.catalog-detail-comment-reply-btn:hover {
    color: #a88942;
}

.catalog-detail-comment-body {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.7;
    color: #4a4238;
    word-break: break-word;
}

.catalog-detail-comment-children {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-detail-comment-compose {
    margin-top: 12px;
    padding: 0 28px;
}

.catalog-detail-comment-reply {
    margin-bottom: 8px;
    font-size: 12px;
    color: #8a7a68;
}

.catalog-detail-comment-reply button {
    border: none;
    background: none;
    color: #c9a962;
    padding: 0;
    margin-left: 6px;
    cursor: pointer;
    font-size: 12px;
}

.catalog-detail-comment-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-detail-comment-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f5f3ef;
    padding: 0 18px;
    font-size: 14px;
    color: #3a3228;
    outline: none;
    transition: all 0.2s ease;
}

.catalog-detail-comment-input:focus {
    border-color: rgba(201, 169, 98, 0.5);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
    background: #fff;
}

.catalog-detail-comment-input:disabled {
    background: #f0ede8;
    color: #a89a87;
    cursor: not-allowed;
}

.catalog-detail-comment-send {
    height: 44px;
    border: none;
    border-radius: 22px;
    padding: 0 20px;
    background: linear-gradient(135deg, #d4e4f7 0%, #b8cff0 100%);
    color: #4a7edb;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(74, 126, 219, 0.2);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.catalog-detail-comment-send:hover:not(:disabled) {
    background: linear-gradient(135deg, #c8dcff 0%, #a8c2eb 100%);
}

.catalog-detail-comment-send:disabled {
    background: #e0ddd8;
    color: #a09a92;
    box-shadow: none;
    cursor: not-allowed;
}

.catalog-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding: 16px 28px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
}

.catalog-detail-action {
    flex: 1;
    border: none;
    background: linear-gradient(135deg, #4a4540 0%, #2a2520 100%);
    color: #fff;
    border-radius: 24px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(42, 37, 32, 0.22);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.catalog-detail-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(42, 37, 32, 0.28);
}

.catalog-detail-action.primary {
    background: linear-gradient(135deg, #e85a42 0%, #c23a22 100%);
    box-shadow: 0 10px 28px rgba(200, 58, 34, 0.28);
}

.catalog-detail-action.primary:hover {
    box-shadow: 0 14px 36px rgba(200, 58, 34, 0.35);
}

/* Favorite Button */
.catalog-detail-action.favorite {
    background: linear-gradient(135deg, #fff 0%, #f5f3ef 100%);
    color: #5a5248;
    border: 1px solid rgba(140, 118, 84, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.catalog-detail-action.favorite:hover {
    background: linear-gradient(135deg, #fef9f5 0%, #f5f0e8 100%);
    border-color: rgba(140, 118, 84, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.catalog-detail-action.favorite i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.catalog-detail-action.favorite:hover i {
    transform: scale(1.1);
}

/* Favorited State */
.catalog-detail-action.favorite.is-favorited {
    background: linear-gradient(135deg, #fef0e8 0%, #fde5d8 100%);
    color: #c75a3a;
    border-color: rgba(200, 90, 58, 0.3);
}

.catalog-detail-action.favorite.is-favorited i {
    color: #e85a42;
    animation: heartBeat 0.4s ease;
}

.catalog-detail-action.favorite.is-favorited:hover {
    background: linear-gradient(135deg, #fde5d8 0%, #fcd8c8 100%);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Modal Override for Desktop */
.catalog-detail-modal .modal-content.catalog-detail-content {
    width: 1300px !important;
    max-width: calc(100vw - 24px) !important;
    height: 85vh !important;
    max-height: 900px !important;
    min-height: 600px !important;
    border-radius: 20px !important;
}

.catalog-detail-modal .catalog-detail-grid {
    grid-template-columns: 100px 1fr 420px !important;
}

.catalog-detail-modal .modal-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive for Catalog Detail Modal */
@media (max-width: 1024.98px) {
    .catalog-detail-content {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .catalog-detail-grid {
        grid-template-columns: 80px 1fr 340px !important;
    }

    .catalog-detail-thumbs-col {
        padding: 12px 8px;
        gap: 8px;
    }

    .catalog-detail-gallery {
        padding: 12px;
    }

    .catalog-detail-info-scroll {
        padding: 48px 20px 12px;
    }

    .catalog-detail-title {
        font-size: 20px;
    }

    .catalog-detail-price {
        font-size: 24px;
    }
}

@media (max-width: 767.98px) {
    .catalog-toolbar-title {
        font-size: 1.6rem;
    }

    .catalog-search {
        display: none !important;
    }

    .catalog-search-btn {
        padding: 0.72rem 1rem;
    }

    .catalog-detail-content {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 20px 20px 0 0;
    }

    .catalog-detail-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto 1fr auto;
        min-height: auto;
        height: auto;
    }

    .catalog-detail-thumbs-col {
        order: 2;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px 12px;
        border-right: none;
        border-top: 1px solid rgba(0,0,0,0.06);
        border-bottom: 1px solid rgba(0,0,0,0.06);
        flex-shrink: 0;
        height: auto;
        gap: 8px;
    }

    .catalog-detail-thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }

    .catalog-detail-title {
        font-size: 20px;
    }

    .catalog-detail-gallery {
        order: 1;
        min-height: 45vw;
        height: 45vw;
        max-height: 350px;
        padding: 10px 12px 6px;
        border-radius: 22px 22px 0 0;
        background: #f5f3ef;
        overflow: hidden;
    }

    .catalog-detail-main {
        width: min(calc(100vw - 24px), 100%);
        height: 100%;
        max-height: 100%;
        border-radius: 16px;
    }

    .catalog-detail-info {
        order: 3;
        min-height: auto;
        height: auto;
        border-radius: 22px 22px 0 0;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    }

    .catalog-detail-info-scroll {
        padding: 20px 16px 12px;
        max-height: none;
    }

    .catalog-detail-actions {
        flex-direction: column;
        padding: 12px 16px 20px;
    }

    .catalog-detail-comment-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-detail-comment-compose {
        padding: 0 16px;
    }

    .catalog-detail-action {
        padding: 14px 16px;
        font-size: 14px;
        gap: 6px;
    }

    .catalog-detail-action i {
        font-size: 16px;
    }
}

/* Load More */
.load-more-section {
    margin-top: 6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.load-more-count {
    font-size: 11px;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
}

.load-more-btn {
    display: none;
    padding: 1rem 5rem;
    border: 1px solid var(--color-gray-200);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gray-600);
    transition: all 0.5s;
    background: transparent;
    cursor: pointer;
}

.load-more-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: white;
    box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
    background: var(--color-bg-alt);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid #e8e4d8;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.footer-logo {
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.footer-logo-text {
    color: var(--color-primary);
    font-family: var(--font-cinzel), serif;
    font-weight: bold;
    font-size: 24px;
}

.footer-brand-names {
    text-align: center;
}

.footer-brand-cn {
    font-size: 14px;
    letter-spacing: 0.4em;
    font-family: var(--font-noto), serif;
    color: var(--color-primary);
    display: block;
}

.footer-brand-en {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
}

.footer-links-section {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-links-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-lang {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-lang { align-items: flex-start; }
}

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

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-socials { justify-content: flex-end; }
}

.footer-social-link {
    color: rgba(140, 118, 84, 0.4);
    transition: color 0.3s;
    cursor: pointer;
}

.footer-social-link:hover {
    color: var(--color-primary);
}

.footer-lang-selector {
    position: relative;
    display: inline-block;
}

.footer-lang-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(140, 118, 84, 0.1);
    border-radius: 9999px;
    color: var(--color-primary);
    transition: all 0.3s;
    cursor: pointer;
}

.footer-lang-trigger:hover {
    background: rgba(140, 118, 84, 0.1);
    border-color: rgba(140, 118, 84, 0.3);
}

.footer-lang-trigger svg {
    transition: transform 0.3s;
}

.footer-lang-selector:hover .footer-lang-trigger svg {
    transform: rotate(180deg);
}

.footer-lang-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0.5rem;
    width: 12rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 50;
}

.footer-lang-selector:hover .footer-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-lang-dropdown-inner {
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(140, 118, 84, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.footer-lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.footer-lang-option:hover {
    background: rgba(140, 118, 84, 0.1);
    color: var(--color-primary);
}

.footer-lang-option.active {
    background: var(--color-primary);
    color: white;
}

.payment-badge {
    width: 2.5rem;
    height: 1.5rem;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
}

.payment-badge.amex { background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.2); color: #1e40af; font-style: italic; }
.payment-badge.apple { background: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.2); color: black; }
.payment-badge.master { background: rgba(249, 115, 22, 0.1); border: 1px solid rgba(249, 115, 22, 0.2); color: #c2410c; font-style: italic; }
.payment-badge.visa { background: rgba(30, 64, 175, 0.1); border: 1px solid rgba(30, 64, 175, 0.2); color: #1e3a8a; font-style: italic; }

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(140, 118, 84, 0.05);
}

.footer-copyright-text {
    font-size: 10px;
    color: var(--color-gray-400);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    z-index: 90;
}

.back-to-top-btn {
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: background 0.3s;
    cursor: pointer;
}

.back-to-top-btn:hover {
    background: var(--color-primary-dark);
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f8f8f8;
    border-top: 1px solid var(--color-gray-100);
    z-index: 40;
    padding: 0 0 env(safe-area-inset-bottom);
}

@media (min-width: 768px) {
    .mobile-bottom-nav { display: none; }
}

.mobile-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 56px;
    padding: 0.5rem 0.25rem;
    color: var(--color-gray-500);
    transition: color 0.3s;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-nav-btn.active {
    color: var(--color-primary);
}

.mobile-nav-btn span {
    font-size: 10px;
}

/* Inquiry Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease forwards;
}

.modal-overlay[hidden] {
    display: none !important;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 32rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    animation: zoomIn 0.3s ease forwards;
}

.modal-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-gray-100);
}

.modal-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--color-gray-800);
    font-family: var(--font-noto), serif;
}

.modal-close {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}

.modal-close:hover {
    background: var(--color-gray-100);
}

.modal-body {
    padding: 1.5rem;
}

.auth-modal[hidden] {
    display: none;
}

.auth-modal-content {
    width: 588px;
    max-width: 588px;
    height: 450px;
    border-radius: 1.5rem;
    overflow: hidden;
}

.auth-modal-header {
    justify-content: flex-end;
    align-items: center;
    padding: 0.75rem 1rem 0;
}

.auth-modal-subtitle {
    margin-top: 0.125rem;
    color: var(--color-gray-500);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.auth-modal-body {
    display: grid;
    gap: 1rem;
    padding: 0.5rem 1.5rem 1.5rem;
    height: calc(450px - 78px);
    overflow: hidden;
}

.auth-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.auth-aside {
    min-height: 100%;
    padding: 0.5rem 0.5rem 0.5rem 0;
    border-right: 1px solid var(--color-gray-100);
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 0.875rem;
}

.auth-aside-title {
    font-size: 1rem;
    color: var(--color-gray-800);
    font-family: var(--font-noto), serif;
    letter-spacing: 0.04em;
}

.auth-qr-box {
    width: 138px;
    height: 138px;
    border: 8px solid #fff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.07);
    border-radius: 0.5rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-qr-grid {
    width: 114px;
    height: 114px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.auth-qr-grid span {
    display: block;
    background: #fff;
}

.auth-qr-grid span.filled {
    background: #111;
}

.auth-qr-tip {
    color: var(--color-gray-400);
    font-size: 0.75rem;
}

.auth-main {
    display: grid;
    gap: 0.875rem;
    align-content: start;
}

.auth-tabs {
    display: inline-flex;
    gap: 2.5rem;
    border-bottom: 1px solid var(--color-gray-100);
    padding-bottom: 0.25rem;
}

.auth-tab {
    border: none;
    background: transparent;
    color: var(--color-gray-600);
    border-radius: 0;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
}

.auth-tab.active {
    background: transparent;
    color: var(--color-primary);
    box-shadow: none;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.3125rem;
    height: 2px;
    background: var(--color-primary);
}

.auth-alert {
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.auth-alert.success {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.auth-alert.error {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
}

.auth-form {
    display: none;
    gap: 0.75rem;
    align-content: start;
}

.auth-form.active {
    display: grid;
}

.auth-field {
    display: grid;
    gap: 0.5rem;
}

.auth-inline-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 0.75rem;
    align-items: end;
}

.auth-label {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    font-weight: 600;
}

.auth-input {
    width: 100%;
    border: 1px solid var(--color-gray-200);
    border-radius: 9999px;
    padding: 0.72rem 1rem;
    font-size: 0.9375rem;
    color: var(--color-gray-800);
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(140, 118, 84, 0.14);
}

.auth-submit-btn,
.auth-ghost-btn {
    border-radius: 9999px;
    padding: 0.875rem 1.125rem;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.auth-submit-btn {
    border: none;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(140, 118, 84, 0.24);
    min-height: 2.95rem;
}

.auth-submit-btn:hover {
    background: var(--color-primary-dark);
}

.auth-submit-btn.logout {
    background: #111827;
    box-shadow: none;
}

.auth-submit-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-ghost-btn {
    border: 1px solid var(--color-gray-200);
    background: #fff;
    color: var(--color-gray-700);
}

.auth-ghost-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.auth-code-btn {
    min-height: 2.95rem;
    border: none;
    border-radius: 0.875rem;
    background: #f3f4f6;
    color: var(--color-gray-500);
    font-size: 0.875rem;
    font-weight: 600;
}

.auth-register-header,
.auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

.auth-text-btn {
    border: none;
    background: transparent;
    color: var(--color-gray-500);
    font-size: 0.875rem;
    padding: 0;
}

.auth-text-btn.accent,
.auth-text-btn:hover {
    color: #c2410c;
}

.auth-bottom-tip {
    text-align: center;
    color: var(--color-gray-500);
    font-size: 0.8125rem;
}

.auth-inner-tabs {
    display: inline-flex;
    gap: 2rem;
    align-items: center;
}

.auth-inner-tab {
    border: none;
    background: transparent;
    color: var(--color-gray-500);
    font-size: 0.95rem;
    padding: 0 0 0.5rem;
    position: relative;
}

.auth-inner-tab.active {
    color: var(--color-primary);
    font-weight: 600;
}

.auth-inner-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--color-primary);
}

.auth-login-panel {
    display: none;
    gap: 0.875rem;
}

.auth-login-panel.active {
    display: grid;
}

.auth-captcha-box {
    min-height: 2.95rem;
    border-radius: 0.875rem;
    border: 1px solid var(--color-gray-100);
    background: #faf7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.auth-captcha-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .auth-modal-content {
        width: auto;
        max-width: 100%;
        height: auto;
    }

    .auth-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .auth-aside {
        border-right: none;
        border-bottom: 1px solid var(--color-gray-100);
        padding-right: 0;
        padding-bottom: 1.25rem;
    }

    .auth-inline-field {
        grid-template-columns: 1fr;
    }

    .auth-modal-body {
        height: auto;
        overflow: visible;
    }

    .auth-form-meta,
    .auth-register-header {
        flex-wrap: wrap;
    }
}

.auth-user-actions {
    display: grid;
    gap: 0.75rem;
}

/* Special components */
.writing-mode-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.fill-white { fill: white; }
.fill-white\/20 { fill: rgba(255, 255, 255, 0.2); }
.fill-white\/40 { fill: rgba(255, 255, 255, 0.4); }

.stroke-white { stroke: white; }
.stroke-black { stroke: black; }
.stroke-\[\#8c7654\] { stroke: var(--color-primary); }

/* Aspect ratio helpers */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-video { aspect-ratio: 16 / 9; }

/* Object fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }
.object-bottom { object-position: bottom; }

/* White & dark sections */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-tl { background-image: linear-gradient(to top left, var(--tw-gradient-stops)); }

.from-black\/80 { --tw-gradient-from: rgba(0,0,0,0.8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/60 { --tw-gradient-from: rgba(0,0,0,0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/40 { --tw-gradient-from: rgba(0,0,0,0.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/35 { --tw-gradient-from: rgba(0,0,0,0.35); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/20 { --tw-gradient-from: rgba(0,0,0,0.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black\/10 { --tw-gradient-from: rgba(0,0,0,0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-white\/10 { --tw-gradient-from: rgba(255,255,255,0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-white\/20 { --tw-gradient-from: rgba(255,255,255,0.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-white\/50 { --tw-gradient-from: rgba(255,255,255,0.5); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }

.via-black\/20 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,0,0,0.2), var(--tw-gradient-to, transparent); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }

.to-transparent { --tw-gradient-to: transparent; }
.to-black\/20 { --tw-gradient-to: rgba(0,0,0,0.2); }
.to-black\/30 { --tw-gradient-to: rgba(0,0,0,0.3); }
.to-black\/40 { --tw-gradient-to: rgba(0,0,0,0.4); }
.to-black\/60 { --tw-gradient-to: rgba(0,0,0,0.6); }
.to-white\/10 { --tw-gradient-to: rgba(255,255,255,0.1); }
.to-white\/20 { --tw-gradient-to: rgba(255,255,255,0.2); }

.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgba(0,0,0,0.15)); }

/* Utility */
.shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }
.self-stretch { align-self: stretch; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }

.origin-bottom { transform-origin: bottom center; }

.divide-y > * + * { border-top-width: 1px; border-top-style: solid; border-color: inherit; }
.divide-gray-100 > * + * { border-color: var(--color-gray-100); }

/* Page sections */
.page-main {
    flex: 1;
    padding-bottom: 3.5rem;
    margin-top: 0;
    padding-top: 0;
    background: #fdfbf7;
}

.page-wrapper,
.shared-hero-panel {
    margin-top: 0;
    padding-top: 0;
}

.page-wrapper {
    background: #fdfbf7;
}

.view-panel {
    display: none;
    width: 100%;
}

.view-panel.active {
    display: block;
}

.shared-hero-panel {
    display: none;
    width: 100%;
}

.shared-hero-panel.active {
    display: block;
}

/* News cards aligned with note_m.html */
.news-home-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
    grid-auto-flow: dense;
    grid-auto-rows: 8px;
}

.news-home-card {
    display: block;
    width: 100%;
    margin: 0;
    text-decoration: none;
    color: inherit;
}

.news-home-cover {
    background: #fff;
    box-shadow: 0 10px 28px rgba(51, 39, 22, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.news-home-cover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.9s ease;
}

.news-home-card:hover .news-home-cover img {
    transform: scale(1.06);
}

.news-home-empty-cover {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7f1e6, #efe4d2);
    color: #8c7654;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.news-home-body {
    padding: 0 12px;
    text-align: center;
}

.news-home-date {
    font-family: "Cinzel", serif;
    font-size: 11px;
    color: #b6ab9d;
    letter-spacing: 0.22em;
}

.news-home-title {
    margin-top: 14px;
    font-size: 24px;
    font-weight: 700;
    color: #2f261b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.news-home-card:hover .news-home-title {
    color: #8c7654;
}

.news-home-desc {
    margin-top: 14px;
    font-size: 13px;
    line-height: 2;
    color: rgba(61, 50, 37, 0.68);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-home-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 12px;
    color: #948779;
}

.news-home-foot img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(140, 118, 84, 0.12);
}

.news-detail-modal {
    padding: 0;
    background: rgba(15, 12, 10, 0.64);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.news-detail-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: #fdfbf7;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.news-detail-frame-wrap {
    width: 100%;
    height: 100%;
    background: #fdfbf7;
}

.news-detail-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #fdfbf7;
}

.news-detail-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 6;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

@media (min-width: 768px) {
    .page-main { padding-bottom: 0; }
    .news-home-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .news-home-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .news-home-list { gap: 24px; }
    .news-home-title { font-size: 18px; }
    .news-home-desc { font-size: 12px; line-height: 1.8; }
    .news-detail-modal { padding: 0; }
}

/* Hero text color overrides */
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }

.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(2px); }
.group:hover .group-hover\:fill-white\/40 { fill: rgba(255,255,255,0.4); }
.group:hover .group-hover\:text-\[\#8c7654\] { color: var(--color-primary); }
.group:hover .group-hover\:bg-white\/50 { background-color: rgba(255,255,255,0.5); }
.group:hover .group-hover\:text-\[\#5c4a2e\] { color: #5c4a2e; }
.group:hover .group-hover\:text-white { color: white; }
.group:hover .group-hover\:bg-black { background-color: black; }
.group:hover .group-hover\:bg-\[\#8c7654\] { background-color: var(--color-primary); }
.group:hover .group-hover\:text-white { color: white; }
.group:hover .group-hover\:border-\[\#8c7654\] { border-color: var(--color-primary); }
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0); }
.group:hover .group-hover\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: scale(var(--tw-scale-x), var(--tw-scale-y)); }
.group:hover .group-hover\:scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; transform: scale(var(--tw-scale-x), var(--tw-scale-y)); }

.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }

.hover\:bg-white:hover { background-color: white; }
.hover\:bg-black:hover { background-color: black; }
.hover\:bg-\[\#8c7654\]:hover { background-color: var(--color-primary); }
.hover\:bg-\[\#7a6548\]:hover { background-color: var(--color-primary-dark); }
.hover\:bg-\[\#e8e4d8\]:hover { background-color: #e8e4d8; }
.hover\:bg-\[\#d32f2f\]:hover { background-color: #d32f2f; }
.hover\:bg-\[\#5c4a2e\]:hover { background-color: #5c4a2e; }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:bg-white\/50:hover { background-color: rgba(255,255,255,0.5); }
.hover\:bg-\[\#8c7654\]\/10:hover { background-color: rgba(140,118,84,0.1); }

.hover\:text-white:hover { color: white; }
.hover\:text-black:hover { color: black; }
.hover\:text-\[\#8c7654\]:hover { color: var(--color-primary); }
.hover\:text-\[\#5c4a2e\]:hover { color: #5c4a2e; }
.hover\:text-\[\#a68962\]:hover { color: #a68962; }
.hover\:text-\[\#7a6548\]:hover { color: var(--color-primary-dark); }
.hover\:text-gray-800:hover { color: var(--color-gray-800); }

.hover\:border-\[\#8c7654\]:hover { border-color: var(--color-primary); }

.hover\:opacity-100:hover { opacity: 1; }
.hover\:opacity-50:hover { opacity: 0.5; }

.active\:scale-95:active { transform: scale(0.95); }
.active\:scale-90:active { transform: scale(0.9); }

.focus\:outline-none:focus { outline: none; }

@media (min-width: 768px) {
    .md\:hover\:bg-\[\#8c7654\]:hover { background-color: var(--color-primary); }
    .md\:hover\:text-white:hover { color: white; }
    .md\:hover\:text-\[\#8c7654\]:hover { color: var(--color-primary); }
}

/* Border radius variants */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Min height for content areas */
.min-h-\[3rem\] { min-height: 3rem; }
.min-h-\[180px\] { min-height: 180px; }
.min-h-\[200px\] { min-height: 200px; }
.min-h-\[480px\] { min-height: 480px; }
.min-h-\[600px\] { min-height: 600px; }

/* Whitespace */
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* Word break */
.break-words { overflow-wrap: break-word; }

/* Object fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Group hover effects for cards */
.product-card:hover .product-card-img-wrap .product-card-img {
    transform: scale(1.1);
}

/* Transition utilities */
.transition-height { transition: height 0.3s ease; }
.transition-width { transition: width 0.3s ease; }
.transition-max-height { transition: max-height 0.3s ease; }

/* Color utilities for text */
.text-blue-400 { color: #60a5fa; }

/* Group hover with translate */
.group:hover .group-hover\:translate-x-1 {
    transform: translateX(2px);
}

/* Scale transform on hover */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Z-index helpers */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Placeholder styles */
.placeholder-gray-400::placeholder {
    color: var(--color-gray-400);
}

/* Selection */
.selection\:bg-\[\#8c7654\]\/20::selection {
    background-color: rgba(140, 118, 84, 0.2);
}

/* Focus ring */
.focus-visible\:outline-none:focus-visible {
    outline: none;
}

.focus-visible\:ring-2:focus-visible {
    box-shadow: 0 0 0 2px var(--color-primary);
}

/* Ring utility */
.ring-1 { box-shadow: 0 0 0 1px rgba(0,0,0,0.05); }
.ring-\[\#8c7654\] { box-shadow: 0 0 0 2px var(--color-primary); }

/* Ring offset */
.ring-offset-2 { box-shadow: 0 0 0 2px white, 0 0 0 4px var(--color-primary); }

/* Aspect ratio container */
.aspect-ratio-box {
    position: relative;
}
.aspect-ratio-box > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.aspect-ratio-box::before {
    content: '';
    display: block;
    padding-top: 100%;
}
.aspect-ratio-box-4-3::before {
    padding-top: 75%;
}

/* Gradient text */
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

/* Decorative elements */
.decorative-line {
    width: 3rem;
    height: 2px;
    background: var(--color-primary);
    opacity: 0.3;
}

.decorative-line-vertical {
    width: 1px;
    height: 4rem;
    background: linear-gradient(to bottom, var(--color-gray-300), transparent);
}

/* Responsive visibility */
@media (max-width: 767.98px) {
    .d-none-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .d-block-mobile-only { display: none; }
}

/* Print styles */
@media print {
    .no-print { display: none !important; }
    body { background: white; color: black; }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #5a4a3a;
        --color-bg: #ffffff;
        --color-bg-alt: #f0f0f0;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
