/* Front theme modeled on the Azzaro Home storefront: cream ground, serif titles, single header row. */

:root {
    --az-cream: #f7f4ef;
    --az-announce: #efe6d8;
    --az-ink: #1c1c1c;
    --az-muted: #6d675f;
    --az-line: #e6e0d6;
    --az-gold: #c4a265;
    --az-gold-dark: #a68645;
    --az-card: #f3efe8;
}

body {
    background: var(--az-cream);
    color: var(--az-ink);
    font-family: Manrope, system-ui, sans-serif;
}

h1, h2, h3, .sx-section-title, .az-logo-name, .hero-slide h1, .hero-slide h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: 0;
}

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

.az-header {
    background: #fff;
    border-bottom: 0;
    box-shadow: none;
}

.az-announce {
    background: var(--az-announce);
    color: var(--az-ink);
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.az-announce a { text-decoration: none; }

.az-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 10px 28px;
    background: #fff;
}

.az-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--az-ink);
    line-height: 1;
}

.az-logo-mark {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    letter-spacing: 0.08em;
}

.az-logo-name {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-top: 2px;
}

.az-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 28px;
}

.az-menu { position: relative; }

.az-menu > a {
    color: var(--az-ink);
    font-size: 15px;
    text-decoration: none;
    padding: 10px 0;
}

.az-menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--az-line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
    z-index: 40;
}

.az-menu:hover .az-menu-panel,
.az-menu:focus-within .az-menu-panel { display: block; }

.az-menu-panel a {
    display: block;
    padding: 8px 18px;
    color: var(--az-ink);
    text-decoration: none;
    white-space: nowrap;
}

.az-menu-panel a:hover { background: var(--az-cream); }

.az-menu-btn { display: none; }

.az-search-panel {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 12px 28px 16px;
    background: #fff;
    border-top: 1px solid var(--az-line);
}

.az-search-panel[hidden] { display: none; }

.az-search-panel input {
    width: min(520px, 100%);
    border: 0;
    border-bottom: 1px solid var(--az-ink);
    background: transparent;
    padding: 8px 0;
    font: inherit;
}

.az-search-panel button {
    border: 0;
    background: var(--az-gold);
    padding: 8px 16px;
    cursor: pointer;
}

.az-header .nav-dropdown-trigger,
.az-header .nav-category-link,
.az-header .nav-all-btn {
    color: var(--az-ink);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    background: transparent;
    border: 0;
    padding: 8px 0;
    text-decoration: none;
}

.az-header .nav-all-btn { display: none; }

.az-header .nav-dropdown-wrap { position: relative; }

.az-header .nav-dropdown,
.az-header .nav-lighting-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    max-height: 70vh;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--az-line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    z-index: 30;
    padding: 8px 0;
}

.az-header .nav-dropdown-wrap:hover > .nav-dropdown,
.az-header .nav-dropdown-wrap:focus-within > .nav-dropdown {
    display: block;
}

.az-header .nav-dropdown a {
    display: block;
    padding: 8px 16px;
    color: var(--az-ink);
    text-decoration: none;
    white-space: nowrap;
}

.az-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.az-search {
    display: flex;
    align-items: center;
    background: transparent;
    border: 0;
    margin: 0;
}

.az-search input {
    width: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    background: transparent;
}

.az-search:focus-within input {
    width: 160px;
    opacity: 1;
    padding: 6px 8px;
    border-bottom: 1px solid var(--az-ink);
}

.az-lights {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    padding: 0 4px;
    cursor: pointer;
    color: #b08948;
}

.az-switch {
    width: 34px;
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(180deg, #e6c98a 0%, #c6a15b 45%, #a8843d 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 2px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 5px 0 6px;
}

.az-switch-rocker {
    width: 16px;
    height: 22px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #f3f0ea 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

body.lights-off .az-switch {
    align-items: flex-start;
    padding-top: 6px;
}

.az-lights-label {
    font-size: 11px;
    line-height: 1.05;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    font-weight: 500;
}

body.lights-off {
    background: #14120f;
    color: #f4efe6;
}

body.lights-off .main-content,
body.lights-off .site-footer,
body.lights-off .sx-footer {
    background: #14120f;
    color: #f4efe6;
    border-color: #2c2822;
}

body.lights-off .sx-featured-card,
body.lights-off .sx-section-note {
    background: #1e1b17;
    color: #d9d0c3;
}

.az-search .search-btn,
.az-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--az-ink);
    background: transparent;
    border: 0;
    text-decoration: none;
}

.main-content { background: var(--az-cream); }

.sx-section-title {
    text-align: center;
    font-size: clamp(40px, 5vw, 64px);
    margin: 28px 0 28px;
    color: var(--az-ink);
}

.sx-section-note {
    text-align: center;
    color: var(--az-muted);
}

.sx-hero {
    margin: 12px auto 8px;
    max-width: 1440px;
    padding: 0 28px;
    border-radius: 0;
}

.hero-slide,
.sx-hero .hero-slide {
    min-height: 460px;
    border-radius: 2px;
}

.hero-eyebrow { letter-spacing: 0.22em; text-transform: uppercase; font-family: Manrope, sans-serif; font-size: 12px; }
.sx-hero-link,
.hero-slide .sx-hero-link {
    display: inline-flex;
    background: var(--az-gold);
    color: #1c1c1c;
    padding: 12px 22px;
    border-radius: 2px;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    text-decoration: none;
}
.sx-hero-link:hover { background: var(--az-gold-dark); color: #1c1c1c; }

.sx-featured-card {
    background: var(--az-card);
    border: 0;
    border-radius: 2px;
}

.sx-featured-label,
.sx-collection-name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 500;
}

.site-footer,
.sx-footer {
    background: #fff;
    border-top: 1px solid var(--az-line);
    color: var(--az-ink);
}

.footer-logo-text {
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: 0.12em;
}

@media (max-width: 980px) {
    .az-nav { display: none; }
    .az-menu-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: 0;
        background: transparent;
        font: inherit;
    }
    .az-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .az-bar { padding: 12px 16px; }
    .az-logo-mark { font-size: 28px; }
    .az-lights-label { display: none; }
    .sx-hero { padding: 0 12px; }
    .hero-slide, .sx-hero .hero-slide { min-height: 320px; }
}
