:root {
    --bg-color: #F9F8F6;
    --text-main: #1A1A1A;
    --text-muted: #6B6A68;
    --accent: #8E735B;
    --border-light: #E5E4E2;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    z-index: 1000;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.brand-logo {
    max-height: 40px;
    width: auto;
}

.nav-brand span {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin: 0 1.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    margin-left: 1rem;
    transition: color 0.3s;
}

.icon-btn:hover {
    color: var(--accent);
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 80vh;
    padding: 5% 5% 0 5%;
    gap: 4rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 400px;
}

.hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CATALOG */
.catalog-section {
    padding: 8rem 5%;
}

.catalog-header {
    margin-bottom: 4rem;
}

.catalog-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.catalog-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
}

.search-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.search-wrapper i {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.search-wrapper input {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
}

.filter-wrapper {
    display: flex;
    gap: 1rem;
}

.filter-wrapper select {
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 0.75rem center/1em 1em;
    background-color: transparent;
    border: 1px solid var(--border-light);
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    color: var(--text-main);
}

.filter-wrapper select option {
    background-color: var(--bg-color);
    color: var(--text-main);
}

/* PRODUCT GRID */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 4rem 2rem;
}

.product-card {
    cursor: pointer;
    group: hover;
}

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #EAE8E3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    mix-blend-mode: multiply; /* Helps blend background if not perfectly transparent */
}

.catalog-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--bg-color);
    color: var(--text-main);
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.era-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price {
    font-weight: 600;
    font-size: 0.95rem;
}

.product-details {
    border-top: 1px solid var(--border-light);
    padding-top: 0.5rem;
}

.expertise {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.dimensions {
    font-size: 0.75rem;
    color: var(--text-main);
}

/* FOOTER */
.footer {
    background-color: var(--text-main);
    color: var(--bg-color);
    padding: 6rem 5% 2rem 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.footer-brand p {
    color: #A0A0A0;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: #A0A0A0;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--bg-color);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #A0A0A0;
}