.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.luxury-gradient {
    background: linear-gradient(135deg, #735C00 0%, #D4AF37 100%);
}

/* Global inner-page content alignment */
main p,
main li,
main td {
    text-align: justify;
    text-justify: inter-word;
}

/* Tickertape stack (three rows) — light theme */
.ticker-stack {
    background: linear-gradient(180deg, #fafaf9 0%, #f5f5f4 100%);
    border-bottom: 1px solid #e7e5e4;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.ticker-tape-bar {
    height: 32px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e7e5e4;
    box-sizing: border-box;
}

.ticker-tape-bar:last-child {
    border-bottom: 0;
}

.ticker-tape-row-label {
    flex: 0 0 154px;
    padding: 0 0.9rem;
    color: #735c00;
    border-right: 1px solid #d6d3d1;
}

.ticker-tape-viewport {
    overflow: hidden;
    height: 100%;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.ticker-tape-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    animation: ticker-scroll linear infinite;
    will-change: transform;
}

.ticker-tape-bar:hover .ticker-tape-track,
.ticker-tape-bar:focus-within .ticker-tape-track {
    animation-play-state: paused;
}

.ticker-tape-chunk {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
}

.ticker-tape-item {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.95rem;
    border-right: 1px solid #e7e5e4;
    white-space: nowrap;
}

.ticker-tape-badge {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(233, 195, 73, 0.95);
    opacity: 0.9;
}

.ticker-tape-name {
    flex-shrink: 0;
    color: #44403c;
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-tape-price {
    flex-shrink: 0;
    color: #1c1917;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ticker-tape-pct {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    min-width: 3.25rem;
}

.ticker-pct-up {
    color: #15803d;
}

.ticker-pct-down {
    color: #b91c1c;
}

.ticker-pct-flat {
    color: #78716c;
}

.ticker-tape-msg {
    display: inline-block;
    padding: 0 1rem;
    color: #57534e;
    font-size: 11px;
}

.ticker-tape-msg-error {
    color: #b91c1c;
}

.hero-slide {
    display: none;
}

.hero-slide.is-active {
    display: block;
}

/* Offerings mega menu: compact icon rows (reference layout) */
.mega-offerings-panel {
    box-shadow: 0 12px 40px rgba(26, 28, 27, 0.1), 0 2px 8px rgba(26, 28, 27, 0.06);
}

.mega-offerings-heading {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

.mega-offerings-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.65rem 0.75rem;
    margin: 0.125rem 0.35rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1c1917;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.mega-offerings-item:hover {
    background: linear-gradient(105deg, rgba(115, 92, 0, 0.12) 0%, rgba(212, 175, 55, 0.1) 100%);
    color: #5a4700;
    box-shadow: inset 3px 0 0 #735c00;
}

.mega-offerings-item:focus-visible {
    outline: 2px solid #735c00;
    outline-offset: 1px;
}

.mega-offerings-item .mega-offerings-icon {
    flex-shrink: 0;
    font-size: 1.625rem;
    width: 1.75rem;
    text-align: center;
    color: #735c00;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 28;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mega-offerings-item:hover .mega-offerings-icon {
    color: #4a3b00;
    transform: scale(1.05);
}

/* Login dropdown (Customer / Admin) */
.nav-submenu-link {
    border-radius: 0.5rem;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-submenu-link:hover {
    background: linear-gradient(105deg, rgba(115, 92, 0, 0.12) 0%, rgba(212, 175, 55, 0.1) 100%);
    color: #5a4700;
    box-shadow: inset 3px 0 0 #735c00;
}

.nav-submenu-link:focus-visible {
    outline: 2px solid #735c00;
    outline-offset: 1px;
}

.nav-submenu-link .nav-submenu-icon {
    color: #78716c;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-submenu-link:hover .nav-submenu-icon {
    color: #735c00;
    transform: scale(1.06);
}

/* Header: dark bar + light nav text (home + inner pages) */
#site-nav.nav-site.nav-on-hero {
    background: rgba(10, 11, 12, 0.97) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

#site-nav.nav-site.nav-scrolled {
    background: rgba(8, 9, 10, 0.99) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

#site-nav .nav-login-shell {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.blog-post-body h2,
.blog-post-body h3 {
    color: #1c1917;
    font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-post-body h2 { font-size: 1.6rem; line-height: 1.25; }
.blog-post-body h3 { font-size: 1.3rem; line-height: 1.3; }

.blog-post-body ul,
.blog-post-body ol {
    margin: 0.6rem 0 1rem 1.25rem;
}

.blog-post-body li {
    margin-bottom: 0.4rem;
}

.blog-post-body a {
    color: #735c00;
    text-decoration: underline;
}

.blog-post-body blockquote {
    border-left: 3px solid #d4af37;
    margin: 1rem 0;
    padding: 0.25rem 0 0.25rem 0.9rem;
    color: #57534e;
}

.blog-post-body table {
    border-collapse: collapse;
    display: block;
    margin: 1.25rem 0;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

.blog-post-body th,
.blog-post-body td {
    border: 1px solid #d6d3d1;
    padding: 0.65rem 0.75rem;
    vertical-align: top;
}

.blog-post-body th {
    background: #f5f5f4;
    font-weight: 600;
}

.blog-post-body img,
.blog-post-body video,
.blog-post-body audio {
    display: block;
    height: auto;
    margin: 1.25rem 0;
    max-width: 100%;
}

.blog-post-body figure {
    margin: 1.25rem 0;
}

.blog-post-body figcaption {
    color: #78716c;
    font-size: 0.875rem;
    margin-top: 0.4rem;
}

/* Mobile nav drawer (hamburger) — root lives outside #site-nav so position:fixed is viewport-based
   (nav uses backdrop-filter, which creates a containing block and breaks fixed children).
   Closed state uses the HTML `hidden` attribute + JS because Tailwind loads after this file and can
   override opacity/visibility on the same element, which previously left the overlay interactive. */
#mobile-nav-drawer[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.mobile-nav-drawer {
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.2s ease,
        visibility 0.2s;
}

.mobile-nav-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.mobile-nav-drawer .mobile-nav-drawer-backdrop {
    z-index: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-nav-drawer.is-open .mobile-nav-drawer-backdrop {
    opacity: 1;
}

.mobile-nav-drawer .mobile-nav-panel {
    z-index: 1;
    max-height: 100dvh;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav-drawer.is-open .mobile-nav-panel {
    transform: translateX(0);
}

body.mobile-nav-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    body.mobile-nav-open {
        overflow: visible;
    }
}

/* Testimonial carousel: 1 column mobile, 3 columns md+ */
.testimonial-viewport .testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .testimonial-viewport .testimonial-card {
        flex: 0 0 calc((100% - 3rem) / 3);
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Talk to us — floating panel (no full-page overlay; page stays scrollable) */
.talk-modal {
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    left: 1rem;
    width: auto;
    max-width: 22rem;
    margin-left: auto;
    z-index: 100;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition:
        opacity 0.25s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.25s;
}

@media (min-width: 480px) {
    .talk-modal {
        left: auto;
    }
}

.talk-modal.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
}
