/* ZENDORA — Artisanal Tactility design system */

html, body { max-width: 100%; overflow-x: hidden; }

body {
    background-color: #fbf9f8;
    color: #1b1c1c;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.fill-icon { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.glass-panel,
.glass-card {
    background: rgba(251, 249, 248, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.shadow-ambient,
.ambient-shadow,
.ambient-glow,
.panel-shadow {
    box-shadow: 0 20px 40px rgba(27, 28, 28, 0.05);
}

.shadow-ambient-hover:hover {
    box-shadow: 0 30px 60px rgba(151, 68, 0, 0.08);
    transform: translateY(-4px);
    transition: all 0.4s ease-out;
}

.btn-primary,
.button-primary,
.elegant-hover,
.elegant-button,
.btn-hover-expand {
    transition: all 0.3s ease-in-out;
}
.btn-primary:hover,
.button-primary:hover,
.elegant-hover:hover,
.elegant-button:hover,
.btn-hover-expand:hover {
    background-color: #795900;
    padding-left: 2rem;
    padding-right: 2rem;
}

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px;
    height: 4px;
    background-color: #974400;
    border-radius: 50%;
    transition: transform 0.3s ease-out;
}
.nav-link:hover::after,
.nav-link.is-active::after {
    transform: translateX(-50%) scale(1);
}

.nav-dot {
    transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
    opacity: 0;
    transform: translateY(4px);
}
.nav-item:hover .nav-dot,
.nav-item.is-active .nav-dot {
    opacity: 1;
    transform: translateY(0);
}

.grid-asymmetric {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
}

.input-group { position: relative; margin-bottom: 2rem; }
.input-field,
.input-minimal,
.input-line {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #1b1c1c;
    padding: 0.5rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #1b1c1c;
    border-radius: 0;
    transition: border-color 0.3s ease, border-width 0.3s ease;
}
.input-field:focus,
.input-minimal:focus,
.input-line:focus,
.custom-input:focus {
    outline: none;
    border-bottom: 2px solid #974400;
    box-shadow: none;
}
.input-label,
.label-float {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #564338;
}

.hover\:scale-98:hover { transform: scale(0.98); }
.active\:scale-95:active { transform: scale(0.95); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f6f3f2; }
::-webkit-scrollbar-thumb { background: #ddc1b3; }
::-webkit-scrollbar-thumb:hover { background: #974400; }

.search-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(251, 249, 248, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}
.search-input-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #1b1c1c;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 20px;
}
.search-input-wrapper input {
    width: 100%;
    padding: 15px;
    font-size: 1.6rem;
    background: transparent;
    border: none;
    outline: none;
    color: #1b1c1c;
    font-family: 'Playfair Display', serif;
}
.search-close-btn {
    position: absolute;
    top: 32px;
    right: 40px;
    background: transparent;
    border: none;
    font-size: 2.75rem;
    color: #974400;
    cursor: pointer;
    line-height: 1;
}
.search-results-overlay { max-width: 640px; width: 100%; max-height: 55vh; overflow-y: auto; margin: 0 auto; }

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}
.accordion-content .accordion-inner { overflow: hidden; }
.accordion-item.is-open .accordion-content { grid-template-rows: 1fr; }

.pb-safe { padding-bottom: env(safe-area-inset-bottom); }
