/* ============================================
   TEMCATS — Premium Spiritual Jewelry Store
   Design System & Complete Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Brand Colors */
    --gold: #C9A96E;
    --gold-light: #D4BA88;
    --gold-dark: #8B7340;
    --dark: #1A1614;
    --dark-warm: #2D2926;
    --dark-medium: #3A3530;
    --bg-cream: #F5F0E8;
    --bg-warm: #EDE7DD;
    --bg-section: #FAF7F2;
    --text-primary: #1A1614;
    --text-secondary: #5A5550;
    --text-muted: #8A8580;
    --text-light: #F5F0E8;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1280px;
    --container-padding: clamp(20px, 4vw, 40px);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration: 0.6s;
    --duration-slow: 1s;
    --duration-fast: 0.3s;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 22, 20, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 22, 20, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 22, 20, 0.1);
    --shadow-glow: 0 0 40px rgba(201, 169, 110, 0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration-fast) ease;
}

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

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

ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ---------- Typography Helpers ---------- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}

.section-label-light {
    color: var(--gold-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

.section-title-light {
    color: var(--text-light);
}

.section-title-light em {
    color: var(--gold-light);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 12px;
    max-width: 520px;
}

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

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.gold-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 24px 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 2px;
    transition: all var(--duration-fast) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--duration-fast) ease;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    border: 1px solid rgba(245, 240, 232, 0.4);
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 110, 0.05);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 2px;
    border: 1px solid var(--dark);
    color: var(--dark);
    transition: all var(--duration-fast) var(--ease-out);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--text-light);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.75rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 32px;
    transition: gap var(--duration-fast) ease;
}

.btn-text:hover {
    gap: 14px;
    color: var(--gold-dark);
}

/* ---------- Reveal Animations ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--duration-fast) ease;
}

.nav.scrolled {
    background: rgba(26, 22, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(201, 169, 110, 0.1);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    z-index: 10;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
}

.nav-logo-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.7);
    transition: color var(--duration-fast) ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--duration-fast) var(--ease-out);
}

.nav-link:hover {
    color: var(--gold);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cart {
    position: relative;
    color: var(--text-light);
    padding: 4px;
    transition: color var(--duration-fast) ease;
}

.nav-cart:hover {
    color: var(--gold);
}

.nav-cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    font-size: 0.6rem;
    font-weight: 600;
    background: var(--gold);
    color: var(--dark);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 10;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-light);
    transition: all var(--duration-fast) ease;
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(26, 22, 20, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease-out);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-menu-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration) var(--ease-out);
}

.mobile-menu.open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-link:hover {
    color: var(--gold);
}

/* ---------- Settings Toggle & Dropdown ---------- */
.settings-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(245, 240, 232, 0.7);
    padding: 4px 8px;
    transition: color var(--duration-fast) ease;
    cursor: pointer;
    position: relative;
}

.settings-toggle:hover {
    color: var(--gold);
}

.settings-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    max-width: 280px;
    width: max-content;
    background: var(--white);
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
    padding: 20px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--duration-fast) var(--ease-out);
    z-index: 1001;
}

.settings-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-section-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.settings-group {
    margin-bottom: 12px;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.settings-group-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.lang-option,
.curr-option {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 5px 0;
    cursor: pointer;
    transition: color var(--duration-fast) ease;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.lang-option:hover,
.curr-option:hover {
    color: var(--gold);
}

.lang-option.active,
.curr-option.active {
    color: var(--gold);
    font-weight: 600;
}

/* ---------- Search Button ---------- */
.search-btn {
    position: relative;
    color: var(--text-light);
    padding: 4px;
    transition: color var(--duration-fast) ease;
}

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

/* ---------- Search Overlay ---------- */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(26, 22, 20, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast) var(--ease-out);
}

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

.search-overlay-inner {
    width: 100%;
    max-width: 600px;
    padding: 0 var(--container-padding);
}

.search-overlay input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gold);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    padding: 16px 0;
    outline: none;
    caret-color: var(--gold);
}

.search-overlay input::placeholder {
    color: rgba(245, 240, 232, 0.3);
}

.search-results {
    margin-top: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 8px;
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--duration-fast) ease;
}

.search-result-item:hover {
    background: rgba(201, 169, 110, 0.12);
}

.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.search-result-item .result-name {
    font-size: 0.9rem;
    color: var(--text-light);
    flex: 1;
}

.search-result-item .result-price {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    flex-shrink: 0;
}

.search-empty {
    text-align: center;
    color: rgba(245, 240, 232, 0.4);
    font-size: 0.9rem;
    padding: 40px 0;
}

.search-close {
    position: fixed;
    top: 24px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color var(--duration-fast) ease;
    z-index: 2001;
    background: none;
    border: none;
}

.search-close:hover {
    color: var(--gold);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.3), transparent);
    top: -10%;
    right: -5%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 115, 64, 0.2), transparent);
    bottom: -10%;
    left: -5%;
    animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 20px); }
    66% { transform: translate(20px, -30px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-30px, 10px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.hero-lotus {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    animation: lotusRotate 60s linear infinite;
}

@keyframes lotusRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--container-padding);
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 8px 20px;
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 28px;
}

.hero-title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-light);
}

.hero-title-accent {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-style: italic;
    color: var(--gold);
    margin: 4px 0;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(245, 240, 232, 0.6);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 240, 232, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { cy: 8; opacity: 1; }
    50% { cy: 16; opacity: 0.3; }
}

/* ============================================
   BRAND STORY
   ============================================ */
.story {
    background: var(--bg-cream);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.story-image-frame {
    position: relative;
    aspect-ratio: 4/5;
}

.story-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8E0D5 0%, #D4C8B8 50%, #C9A96E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.story-enso {
    width: 60%;
    height: auto;
    animation: ensoReveal 3s ease-out forwards;
}

@keyframes ensoReveal {
    from { stroke-dasharray: 0 1000; }
    to { stroke-dasharray: 1000 0; }
}

.story-image-accent {
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: 12px;
    left: 12px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    opacity: 0.3;
    z-index: -1;
}

.story-content {
    max-width: 500px;
}

.story-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ============================================
   COLLECTION / PRODUCTS
   ============================================ */
.collection {
    background: var(--bg-section);
}

.collection-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 24px;
    color: var(--text-muted);
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all var(--duration-fast) ease;
}

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

.filter-btn.active {
    color: var(--dark);
    border-color: var(--dark);
}

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

.product-card {
    position: relative;
    transition: transform var(--duration) var(--ease-out);
}

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

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--gradient, linear-gradient(135deg, #E8E0D5, #C9A96E));
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    background: var(--dark);
    color: var(--gold);
    z-index: 2;
}

.badge-new {
    background: var(--gold);
    color: var(--dark);
}

.badge-sale {
    background: #8B4513;
    color: var(--text-light);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 22, 20, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration-fast) ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 16px 4px 4px;
}

.product-category {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-price {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-right: 8px;
    font-weight: 400;
}

.collection-cta {
    text-align: center;
    margin-top: 56px;
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
    background: var(--dark);
    overflow: hidden;
}

.philosophy-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(201, 169, 110, 0.05), transparent),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201, 169, 110, 0.03), transparent);
}

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

.philosophy-card {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
}

.philosophy-card:hover {
    border-color: rgba(201, 169, 110, 0.3);
    background: rgba(201, 169, 110, 0.03);
    box-shadow: var(--shadow-glow);
}

.philosophy-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.philosophy-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.philosophy-desc {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.8;
}

/* ============================================
   TESTIMONIALS / REVIEWS
   ============================================ */
.reviews {
    background: var(--bg-cream);
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s var(--ease-out);
    cursor: grab;
}

.reviews-track:active {
    cursor: grabbing;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    background: var(--white);
    padding: 40px 32px;
    border-radius: 2px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    transition: all var(--duration-fast) ease;
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 169, 110, 0.2);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.review-stars svg {
    width: 16px;
    height: 16px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.review-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-location {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.reviews-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all var(--duration-fast) ease;
}

.reviews-btn:hover {
    background: var(--dark);
    color: var(--text-light);
}

.reviews-dots {
    display: flex;
    gap: 8px;
}

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(26, 22, 20, 0.2);
    transition: all var(--duration-fast) ease;
    cursor: pointer;
}

.reviews-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* ============================================
   INSTAGRAM / COMMUNITY
   ============================================ */
.community {
    background: var(--bg-section);
    padding-bottom: 0;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: 0;
}

.insta-item {
    aspect-ratio: 1;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 22, 20, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-light);
    opacity: 0;
    transition: opacity var(--duration-fast) ease;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201, 169, 110, 0.06), transparent);
}

.newsletter-content {
    position: relative;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-desc {
    font-size: 1rem;
    color: rgba(245, 240, 232, 0.6);
    margin-top: 16px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-wrap {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color var(--duration-fast) ease;
}

.newsletter-input-wrap:focus-within {
    border-color: var(--gold);
}

.newsletter-input-wrap input {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-wrap input::placeholder {
    color: rgba(245, 240, 232, 0.35);
}

.newsletter-input-wrap .btn {
    border-radius: 0;
    white-space: nowrap;
}

.newsletter-privacy {
    font-size: 0.75rem;
    color: rgba(245, 240, 232, 0.3);
    margin-top: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(201, 169, 110, 0.1);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.4);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(245, 240, 232, 0.4);
    transition: color var(--duration-fast) ease;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.4);
    transition: color var(--duration-fast) ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(245, 240, 232, 0.06);
    font-size: 0.78rem;
    color: rgba(245, 240, 232, 0.25);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(245, 240, 232, 0.25);
}

.footer-bottom-links a:hover {
    color: var(--text-light);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    background: var(--bg-cream);
    padding: 48px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.trust-icon svg {
    width: 20px;
    height: 20px;
}

.trust-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: var(--white);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--duration-fast) var(--ease-out);
    box-shadow: -10px 0 40px rgba(26, 22, 20, 0.15);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(26, 22, 20, 0.08);
}

.cart-sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-sidebar-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--duration-fast) ease;
    background: none;
    border: none;
}

.cart-sidebar-close:hover {
    color: var(--text-primary);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 48px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(26, 22, 20, 0.06);
}

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

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

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

.cart-item-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cart-item-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--duration-fast) ease;
    background: none;
    border: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-item-remove:hover {
    color: #c0392b;
}

.cart-sidebar-footer {
    border-top: 1px solid rgba(26, 22, 20, 0.08);
    padding: 20px 24px;
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-subtotal-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cart-subtotal-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-sidebar-footer .btn {
    width: 100%;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 22, 20, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast) ease;
}

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

/* ============================================
   PRODUCT MODAL
   ============================================ */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(26, 22, 20, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-fast) var(--ease-out);
    padding: 20px;
}

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

.modal-content {
    background: var(--white);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 2px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--duration-fast) ease;
    background: var(--white);
    border: none;
    border-radius: 50%;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-image {
    position: relative;
    overflow: hidden;
}

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

.modal-details {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.modal-price {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 24px;
}

.modal-section {
    margin-top: 20px;
}

.modal-section h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.modal-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-add-cart {
    margin-top: auto;
    padding-top: 24px;
}

.modal-add-cart .btn {
    width: 100%;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: all var(--duration-fast) ease;
    border: none;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   SKELETON LOADING
   ============================================ */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(201, 169, 110, 0.08) 25%,
        rgba(201, 169, 110, 0.18) 50%,
        rgba(201, 169, 110, 0.08) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 32px;
    }

    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-title-line {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-title-accent {
        font-size: clamp(2.8rem, 10vw, 4.5rem);
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image-frame {
        max-width: 400px;
        margin: 0 auto;
    }

    .story-content {
        max-width: 100%;
    }

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

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .philosophy-card {
        padding: 32px 20px;
    }

    .review-card {
        flex: 0 0 calc(100% - 0px);
        min-width: unset;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newsletter-input-wrap {
        flex-direction: column;
    }

    .newsletter-input-wrap .btn {
        width: 100%;
    }

    .hero-lotus {
        width: 300px;
        height: 300px;
    }

    /* Settings dropdown full width on tablet */
    .settings-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 2px 2px 0 0;
        transform: translateY(100%);
    }

    .settings-dropdown.open {
        transform: translateY(0);
    }

    /* Modal single column on tablet */
    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-image img {
        max-height: 300px;
    }

    /* Cart sidebar full width on tablet */
    .cart-sidebar {
        width: 100%;
    }

    /* Trust grid 2 columns on tablet */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.6rem;
        padding: 6px 14px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .product-info {
        padding: 10px 2px 2px;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 0.8rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-scroll-hint {
        display: none;
    }

    /* Trust grid 2 columns on mobile */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Modal image max-height on mobile */
    .modal-image img {
        max-height: 250px;
    }
}

/* ---------- Smooth Loading ---------- */
body.loaded .hero-content > * {
    animation: fadeInUp 0.8s var(--ease-out) both;
}

body.loaded .hero-content > *:nth-child(1) { animation-delay: 0.2s; }
body.loaded .hero-content > *:nth-child(2) { animation-delay: 0.4s; }
body.loaded .hero-content > *:nth-child(3) { animation-delay: 0.6s; }
body.loaded .hero-content > *:nth-child(4) { animation-delay: 0.8s; }

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

body.loaded .hero-scroll-hint {
    animation: fadeInUp 0.8s var(--ease-out) 1.2s both;
}

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

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* ---------- Selection Color ---------- */
::selection {
    background: rgba(201, 169, 110, 0.3);
    color: var(--dark);
}
