﻿:root {
    --primary-green: #134e4a;
    --bg-color: #fdfbf7;
    --hero-bg: #e6dacd;
    --hero-bg-2: #cde6e0;
    --hero-bg-3: #e6cdd4;
    --card-bg: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --font-main: 'Outfit', sans-serif;
    --header-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-dark);
 min-height:300vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


/* --- Main Layout --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Hero Slideshow --- */
.hero-container {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 30px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: var(--hero-bg); /* Default fallback */
}

    .slide.active {
        opacity: 1;
        z-index: 1;
    }

    /* Different Backgrounds for Slides */
    .slide:nth-child(1) {
        background-color: var(--hero-bg);
    }

    .slide:nth-child(2) {
        background-color: var(--hero-bg-2);
    }

    .slide:nth-child(3) {
        background-color: var(--hero-bg-3);
    }

.hero-content {
    max-width: 50%;
    z-index: 2;
}

    .hero-content h1 {
        font-size: 3rem;
        color: var(--primary-green);
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        color: #4b5563;
    }

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: white;
    border: 2px solid var(--primary-green);
}

    .btn-primary:hover {
        background-color: #0f3d39;
    }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

    .btn-outline:hover {
        background-color: rgba(0,0,0,0.05);
    }

/* Hero Art (CSS Only) */
.hero-art {
    position: relative;
    width: 300px;
    height: 250px;
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    padding: 20px;
}

.art-box {
    position: absolute;
    border-radius: 4px;
}

/* Slide 1 Art */
.art-1 .b1 {
    width: 100px;
    height: 120px;
    background-color: #d6c6b6;
    top: 20px;
    left: 20px;
}

.art-1 .b2 {
    width: 80px;
    height: 80px;
    background-color: #eadcd0;
    top: 40px;
    right: 40px;
}

.art-1 .b3 {
    width: 100px;
    height: 70px;
    background-color: var(--primary-green);
    bottom: -20px;
    right: -20px;
    border-radius: 8px;
    z-index: 3;
}

/* Slide 2 Art */
.art-2 .b1 {
    width: 120px;
    height: 100px;
    background-color: #134e4a;
    top: 30px;
    left: 30px;
    opacity: 0.8;
}

.art-2 .b2 {
    width: 90px;
    height: 120px;
    background-color: #ffffff;
    top: 20px;
    right: 50px;
    border: 2px solid #134e4a;
}

/* Slide 3 Art */
.art-3 .b1 {
    width: 150px;
    height: 150px;
    background-color: #a85f73;
    border-radius: 50%;
    top: 20px;
    left: 70px;
    opacity: 0.5;
}

.art-3 .b2 {
    width: 200px;
    height: 50px;
    background-color: #fff;
    bottom: 40px;
    left: 40px;
}

/* --- Moveable (Sticky & Scrollable) Tabs --- */
.tab-nav-container {
    position: sticky;
    top: var(--header-height); /* Sticks right below the fixed header */
    z-index: 900;
    background-color: var(--bg-color); /* Matches body bg to hide content behind */
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.tab-nav {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* Allows horizontal scrolling */
    white-space: nowrap; /* Keeps tabs in one line */
    padding-bottom: 5px;
    /* Hide scrollbar for cleaner look */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .tab-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

.tab-btn {
    background-color: white;
    border: 1px solid var(--primary-green);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevents squishing */
}

    .tab-btn:hover {
        background-color: #f0fdf4;
    }

    .tab-btn.active {
        background-color: var(--primary-green);
        color: white;
    }

/* --- Tab Content --- */
.tab-content {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease;
}

    .tab-content.active {
        display: grid;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Product Cards --- */
.product-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 12px;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .product-card:hover {
        transform: translateY(-5px);
    }

.card-img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #e6dacd;
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

    .card-img-placeholder::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
    }

.card-details h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.sub-info {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-badge {
    background-color: var(--primary-green);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-green);
    color: white;
    padding: 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    header {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.85rem;
    }

    .hero-container {
        height: auto;
        min-height: 450px;
    }

    .slide {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-art {
        width: 100%;
        height: 200px;
    }
}

.product-card {
    animation: fadeUp 0.4s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar.show {
    display: block;
}

/* --- Header --- */
header {
    background-color: var(--primary-green);
    color: white;
    padding: 0 2rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 20px;
    height: 20px;
    background-color: #e6dacd;
    transform: rotate(45deg);
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    align-items: center;
}

/* Mobile Menu Icon (Hidden by default) */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links a:hover {
    color: #e6dacd;
}

/* --- Category Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumb & Title */
.page-header {
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

    .breadcrumb a:hover {
        color: var(--primary-green);
    }

.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-title h1 {
    font-size: 2rem;
    color: var(--primary-green);
    margin: 0;
}

.sort-select {
    font-family: var(--font-main);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    cursor: pointer;
}

/* Mobile Filter Button (Hidden on Desktop) */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background-color: white;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

    .mobile-filter-toggle:hover {
        background-color: #f0fdf4;
    }

/* Two Column Layout */
.category-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;
}

/* --- Sidebar Filters --- */
.sidebar {
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 90px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

    .filter-group:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.filter-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
}

.filter-list li {
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4b5563;
}

    .checkbox-label input[type="checkbox"] {
        accent-color: var(--primary-green);
        width: 16px;
        height: 16px;
    }

/* --- Product Grid --- */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    }

.card-img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #e6dacd;
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

    .card-img-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.product-card:hover .card-img-placeholder img {
    transform: scale(1.05);
}

.card-details h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
    line-height: 1.3;
}

.sub-info {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Pushes to bottom if height varies */
    padding-top: 8px;
}

.price-badge {
    background-color: var(--primary-green);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-weight: 600;
}

    .page-btn.active {
        background-color: var(--primary-green);
        color: white;
        border-color: var(--primary-green);
    }

/* --- Footer --- */
footer {
    background-color: var(--primary-green);
    color: white;
    padding: 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* --- Responsive Design --- */

/* Tablet & Mobile Breakpoint */
@media (max-width: 900px) {
    .category-grid {
        gap: 20px;
        grid-template-columns: 200px 1fr;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    header {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }
    /* Hide standard nav */
    .mobile-menu-btn {
        display: block;
    }
    /* Show menu icon */

    .page-title h1 {
        font-size: 1.5rem;
    }

    .header-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sort-select {
        width: 100%;
    }

    /* Switch to Single Column for layout, but use Grid for products */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Filters */
    .mobile-filter-toggle {
        display: flex;
    }

    .sidebar {
        display: none; /* Hidden by default */
        margin-bottom: 20px;
        border: 1px solid var(--primary-green);
    }

        .sidebar.active {
            display: block;
            animation: slideDown 0.3s ease-out;
        }

    /* Product Grid: 2 Columns on Mobile */
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        padding: 10px;
        border-radius: 12px;
    }

    .card-details h3 {
        font-size: 0.9rem;
    }

    .sub-info {
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .price-badge {
        font-size: 0.75rem;
        padding: 2px 8px;
        align-self: flex-start;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        margin-top: 10px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


[x-cloak] {
    display: none !important;
}

/* Layout Container */
.card {
    width: 100%;
    max-width: 56rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    overflow: hidden;
    border: 1px solid var(--slate-200);
}

/* Header */
.header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}

    .header h1 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--slate-800);
        margin: 0;
    }

    .header p {
        color: var(--slate-500);
        font-size: 0.875rem;
        margin: 0.25rem 0 0 0;
    }

/* Navigation */
.nav-container {
    display: flex;
    flex-direction: column;
    background-color: rgba(248, 250, 252, 0.5);
    padding: 0.25rem;
    gap: 0.25rem;
}

@media (min-width: 640px) {
    .nav-container {
        flex-direction: row;
    }
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    flex: 1;
}

@media (min-width: 640px) {
    .tab-btn {
        flex: none;
    }
}

.tab-btn-inactive {
    background: transparent;
    color: var(--slate-500);
}

    .tab-btn-inactive:hover {
        color: var(--slate-700);
        background-color: var(--slate-100);
    }

.tab-btn-active {
    background: white;
    color: var(--blue-600);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    outline: 1px solid var(--slate-200);
}

/* Content Area */
.content-area {
    padding: 2rem;
    min-height: 400px;
}

.tab-content-enter {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form & Component Styles */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .profile-header {
        flex-direction: row;
    }
}

.avatar {
    width: 6rem;
    height: 6rem;
    background-color: var(--blue-100);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    font-size: 1.875rem;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--blue-600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn-primary:hover {
        background-color: var(--blue-700);
    }

.input-group {
    display: grid;
    grid-template-cols: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .input-group {
        grid-template-columns: 1fr 1fr;
    }
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 0.25rem;
}

input, select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    outline: none;
    box-sizing: border-box;
}

    input:focus, select:focus {
        ring: 2px solid var(--blue-500);
        border-color: var(--blue-500);
    }

/* Table Styles */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}

thead {
    background-color: var(--slate-50);
    color: var(--slate-500);
    font-weight: 500;
}

th, td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--slate-100);
}

tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-success {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
}

/* Notification list */
.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--slate-50);
    border-radius: 0.75rem;
    border: 1px solid var(--slate-100);
    margin-bottom: 1rem;
}

.toggle {
    width: 3rem;
    height: 1.5rem;
    background-color: var(--blue-600);
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
}

.toggle-dot {
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 9999px;
}

/* Alert Box */
.alert {
    padding: 1rem;
    background-color: var(--yellow-50);
    border: 1px solid var(--yellow-100);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--yellow-700);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[x-cloak] {
    display: none !important;
}

.container {
    max-width: 64rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem 0;
}

@media (min-width: 1024px) {
    .container {
        grid-template-columns: 1fr 380px;
    }
}

.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border: 1px solid var(--slate-200);
    padding: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Cart Items */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--slate-100);
}

    .cart-item:last-child {
        border-bottom: none;
    }

.item-img {
    width: 80px;
    height: 80px;
    background: var(--slate-100);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    margin: 0;
}

.item-meta {
    color: var(--slate-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--slate-200);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkout Form */
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
    color: var(--slate-700);
}

input {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    box-sizing: border-box;
    outline: none;
}

    input:focus {
        border-color: var(--blue-500);
        box-shadow: 0 0 0 2px var(--blue-100);
    }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Summary */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.summary-total {
    border-top: 1px solid var(--slate-200);
    margin-top: 1rem;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-800);
}

.btn-checkout {
    width: 100%;
    background: var(--blue-600);
    color: white;
    padding: 0.875rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background 0.2s;
}

    .btn-checkout:hover {
        background: var(--blue-700);
    }

.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
}

.auth-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--slate-200);
    padding: 2.5rem;
}

.admin-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .admin-header h2 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        color: var(--slate-800);
    }

    .admin-header p {
        color: var(--slate-500);
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }

.input-group {
    margin-bottom: 1.25rem;
}

.input-label {
    display: block;
    font-size: 0.815rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--slate-600);
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    box-sizing: border-box;
    outline: none;
    background-color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s;
}

    .form-input:focus {
        border-color: var(--blue-500);
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    }

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

    .btn-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3);
    }

.back-link {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.2s;
}

    .back-link:hover {
        color: var(--blue-600);
    }
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.brand-glow {
    box-shadow: 0 10px 30px rgba(19, 78, 74, 0.15);
}

.brand-bg {
    background-color: #134e4a;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Header Specific Styles */
.mobile-nav-drawer {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

    .mobile-nav-drawer.open {
        transform: translateX(0);
    }

/* Custom Checkbox Styling */
.custom-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.375rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

    .custom-checkbox:checked {
        background-color: #134e4a;
        border-color: #134e4a;
    }

        .custom-checkbox:checked::after {
            content: '✓';
            color: white;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 0.75rem;
            font-weight: bold;
        }

/* Sidebar Overlay for Mobile */
@media (max-width: 767px) {
    #filterSidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        z-index: 50;
        background: white;
        box-shadow: 20px 0 50px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        display: block !important;
        padding: 2rem;
    }

        #filterSidebar.show {
            left: 0;
        }

    #sidebarOverlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 40;
        backdrop-filter: blur(4px);
    }

        #sidebarOverlay.show {
            display: block;
        }
}