.container {
    max-width: 1280px;
}

.page {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page:not(.active) {
    display: none;
}

.page.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Header Logic */
.header-glass {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-glass,
.header-glass a,
.header-glass button,
.header-glass i {
    color: #1a1a1a !important;
}

/* UI Elements */
.filter-btn {
    padding: 0.75rem 2rem;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    border-radius: 50px;
    transition: all 0.3s;
}

.filter-btn.active {
    background: #1a1a1a;
    color: white;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background: currentColor;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding-top: 1rem;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.slider-dot {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    cursor: pointer;
}

.slider-dot.active {
    width: 48px;
    background: rgba(255, 255, 255, 0.95);
}

.slider-dot {
    transform-origin: left;
}

.slide-item {
    transition: opacity 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.payment-option:has(input:checked) {
    border-color: #d4b996;
    /* brand-gold */
    background-color: #fdfaf7;
}

/* Animated Hamburger */
.hamburger-line {
    transform-origin: center;
}

.header-glass .hamburger-line {
    background-color: #1a1a1a !important;
}

#auth-info {
    color: rgba(255, 255, 255, 0.9);
}

.header-glass #auth-info {
    color: #1a1a1a !important;
}

#mobile-menu {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: all;
}

#mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    /* Adjust blur intensity */
    background-color: rgba(0, 0, 0, 0.3);
    /* Optional: semi-transparent background */
    z-index: 1000;
    /* Ensure it's above other content */
    display: none;
    /* Hidden by default */
}

/* Show the overlay when the menu is open */
.menu-overlay.open {
    display: block;
}

#product-grid {
    display: grid !important;
    min-height: 200px;
    opacity: 1 !important;
    visibility: visible !important;
}

.page.active #product-grid {
    animation: fadeIn 0.5s ease-in forwards;
}

/* Remove arrows from number input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Tab underline effect */
.tab-active {
    border-bottom: 2px solid #1a1a1a;
    color: #1a1a1a;
}