:root {
    --primary-color: #0066cc;
    --secondary-color: #0052a3;
    --accent-color: #ffd700;
    --text-color: #1f2937;
    --bg-light: #f9fafb;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

/* Override Legacy Wrapper to allow Full Width */
#wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure Sections are Full Width */
.products-section {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0;
}

.container {
    width: 100%;
    max-width: 100%;
    /* Ensure full width */
    padding: 0 3rem;
    /* Add padding as requested */
    margin: 0 auto;
}

/* Section Title - Updated for Compactness and Left Alignment */
.section-title {
    text-align: left;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 1200px;
    border-radius: 12px;
    position: relative;
    max-height: 95vh;
    overflow-y: auto;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: sticky;
    top: 0;
    right: 0;
    z-index: 10;
    background: white;
    padding: 0 10px;
    border-radius: 50%;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.loading {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #666;
}

/* Ensure modal grid looks good */
#modal-body.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}