:root {
    --charcoal: #2c3539;
    --zinc-50: #fafafa;
    --zinc-100: #f4f4f5;
    --zinc-200: #e4e4e7;
    --zinc-300: #d4d4d8;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-600: #52525b;
    --zinc-800: #27272a;
    --zinc-900: #18181b;
    --paper: #f9f8f4; /* Warm Cream Background */
    --brand-primary: #1e565c; /* Teal */
    --brand-primary-hover: #154045;
    --brand-secondary: #c29b57; /* Mustard/Gold */
    --brand-secondary-hover: #ad8949;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    max-width: 100%;
}

body {
    max-width: 100%;
    min-width: 100%;
    background-color: var(--paper);
    color: var(--charcoal);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .logo, .hero-title, .section-title, .product-title, .cart-title {
    font-family: "Georgia", serif;
    font-weight: 400;
}

::selection {
    background-color: var(--brand-primary);
    color: white;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul { list-style: none; }

/* --- UTILITIES --- */
.container {
    max-width: 94rem;
    margin: 0 10vw;
    padding: 0 10vw;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.hidden { display: none !important; }
.block { display: block; }

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

[x-cloak] { display: none !important; }

/* --- HEADER & NAV --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: rgba(249, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 10px 40px;
    max-height: 80px;
    min-height: 80px;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: stretch;
}

.logo {
    color: var(--brand-primary);
    padding: 0;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

@media (max-width: 500px) {
    .logo { display: none; }
}

.nav-links {
    display: none;
    gap: 2.5rem;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
}
.nav-links a:hover { color: var(--brand-primary); }

.cart-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.cart-label {
    display: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--charcoal);
}
.cart-badge {
    background-color: var(--brand-primary);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background-color 0.2s;
}
.cart-trigger:hover .cart-badge { background-color: var(--brand-primary-hover); }

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: var(--paper);
    padding: 4rem 0;
}

.bg-grid-pattern {
    display: none; /* Removed harsh grid for clean look */
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-tag {
    font-family: "Helvetica Neue", Arial, sans-serif;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--brand-primary);
    text-transform: uppercase;
    border: none;
    background: transparent;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--charcoal);
    max-width: 800px;
}

.hero-desc {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 2.5rem;
    max-width: 38rem;
    font-weight: 400;
    line-height: 1.6;
    text-transform: none;
}

/* Minimalist Button */
.btn-neo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--brand-primary);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    color: white;
    transition: all 0.2s ease;
}
.btn-neo:hover {
    background-color: var(--brand-primary-hover);
    transform: translateY(-2px);
}
.btn-neo svg { transition: transform 0.2s; width: 1rem; height: 1rem; }
.btn-neo:hover svg { transform: translateX(4px); }

/* --- SHOP SECTION --- */
.shop-container { padding: 4rem 10px; }

.shop-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.filter-btn {
    position: relative;
    padding: 0.5rem 0;
    color: var(--zinc-500);
}
.filter-btn:hover, .filter-btn.active { color: var(--brand-primary); }
.active-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--brand-primary);
}

/* --- PRODUCT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem 2rem;
    padding: 0 2rem;
}

/* Product Card */
.product-card {
    background-color: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
}

.card-image-wrapper {
    aspect-ratio: 4 / 5;
    background-color: #e5e5e3; /* Soft grey matching the image */
    position: relative;
    overflow: hidden;
    /* Creating the dome/arch shape */
    border-radius: 120px 120px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.5s ease;
}
.card-image-wrapper:hover .product-img {
    transform: scale(1.05);
}

.ref-tag {
    display: none; /* Hide reference tags for cleaner look */
}

.product-svg {
    width: 5rem;
    height: 5rem;
    color: var(--zinc-400);
    transition: all 0.5s ease;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-card:hover .card-overlay { opacity: 1; }

.btn-add-overlay {
    width: 70%;
    padding: 0.8rem;
    background-color: var(--brand-secondary);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    transition: background-color 0.2s;
}
.btn-add-overlay:hover { background-color: var(--brand-secondary-hover); }

.card-details {
    padding: 1.5rem 0.5rem 0 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.product-title {
    font-size: 1.1rem;
    color: var(--charcoal);
    text-transform: capitalize;
}
.product-price { 
    font-size: 0.9rem; 
    color: var(--zinc-600);
    font-family: "Helvetica Neue", Arial, sans-serif;
}
.product-cat { display: none; }

.btn-mobile-add {
    margin-top: 1rem;
    width: 80%;
    padding: 0.75rem;
    border-radius: 30px;
    background-color: var(--brand-secondary);
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    border: none;
    transition: background-color 0.2s;
}
.btn-mobile-add:active { background-color: var(--brand-secondary-hover); }

/* --- FOOTER --- */
.site-footer {
    background-color: #f0efe9; /* Soft contrast tone */
    color: var(--charcoal);
    padding: 5rem calc(4rem + 1vw - 5px);
    width: 100%;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--brand-primary);
    margin-bottom: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-brand p {
    color: var(--zinc-600);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 20rem;
    text-transform: none;
    letter-spacing: 0;
}
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    font-size: 0.8rem;
}
.link-group { display: flex; flex-direction: column; gap: 1rem; }
.link-group span { font-weight: 500; color: var(--charcoal); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; }
.link-group a { color: var(--zinc-600); transition: color 0.2s; }
.link-group a:hover { color: var(--brand-primary); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 0.7rem;
    color: var(--zinc-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- CART DRAWER --- */
.cart-overlay-wrapper { display: none; position: fixed; inset: 0; z-index: 100; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.3); backdrop-filter: blur(2px); }
.cart-sidebar {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 100%; max-width: 400px;
    background: var(--paper);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.cart-title { font-size: 1.5rem; color: var(--brand-primary); }
.cart-close-btn { font-size: 1.5rem; color: var(--zinc-400); transition: color 0.2s; }
.cart-close-btn:hover { color: var(--brand-primary); }

/* --- SIDEBAR CATEGORIES --- */
.horiz-container-store { display: grid; grid-template-columns: 220px auto; gap: 2rem; }
.category-sidebar { display: flex; flex-direction: column; gap: 1rem; height: 100%; padding: 0 10px; border-right: 1px solid rgba(0,0,0,0.05); }
.cat-header {
    font-family: 'Georgia', serif; font-size: 1.2rem; color: var(--brand-primary);
    border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 0.5rem; margin-bottom: 1rem;
}
.cat-list { display: flex; flex-direction: column; gap: 0.5rem; }
.cat-link {
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--zinc-600); padding: 0.5rem 0; border-bottom: 1px solid transparent; transition: all 0.2s ease;
}
.cat-link:hover { transform: translateX(5px); color: var(--brand-primary); }

@media (max-width: 800px) {
    .horiz-container-store { grid-template-columns: auto; gap: 0; }
    .category-sidebar {
        position: fixed; top: 0; left: 0; bottom: 0; width: 85%; max-width: 320px; z-index: 999;
        background-color: var(--paper); padding: 2rem; box-shadow: 100vw 0 0 rgba(0,0,0,0.3); border: none;
    }
    .sidebar-close-btn { background: transparent; border: none; font-size: 2rem; color: var(--zinc-400); }
}

@media (min-width: 801px) {
    .category-sidebar { display: flex !important; position: static; width: auto; box-shadow: none; border-right: 1px solid rgba(0,0,0,0.05); }
    .sidebar-close-btn { display: none !important; }
}

/* Floating Button */
.floating-cat-btn {
    position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 90;
    display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem;
    background: var(--brand-primary); color: white; border: none; border-radius: 50px;
    font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
    box-shadow: 0px 10px 20px rgba(30,86,92,0.3); transition: transform 0.2s;
}

/* Login Card Override */
.neo-card {
    background-color: white; border: none; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 3rem; width: 100%; max-width: 450px; margin: 0 auto; text-align: center;
}
.neo-title { font-family: 'Georgia', serif; font-size: 2rem; color: var(--brand-primary); text-transform: none; margin-bottom: 1rem; }
.neo-subtitle { font-family: "Helvetica Neue", sans-serif; font-size: 0.9rem; color: var(--zinc-500); margin-bottom: 2rem; font-weight: 400; }
.neo-input { width: 100%; padding: 1rem 1.5rem; border: 1px solid var(--zinc-200); border-radius: 30px; font-weight: 400; font-size: 0.9rem; background: var(--zinc-50); margin-bottom: 1.5rem; transition: border-color 0.2s; }
.neo-input:focus { border-color: var(--brand-primary); background: white; transform: none; box-shadow: none; }
.neo-btn { width: 100%; padding: 1rem; background-color: var(--brand-primary); color: white; border: none; border-radius: 30px; font-weight: 500; letter-spacing: 0.1em; transition: background 0.2s; }
.neo-btn:hover:not(:disabled) { background-color: var(--brand-primary-hover); color: white; box-shadow: none; transform: none; }

@media (max-width: 768px) {
    .btn-mobile-add { display: block; margin: 1rem auto 0 auto; }
    .card-overlay { display: none; }
}

@media (min-width: 640px) {
    .nav-links { display: flex; }
    .cart-label { display: inline; }
    .hero-title { font-size: 4.5rem; }
    .footer-content { flex-direction: row; justify-content: space-between; }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 4rem 3rem; } /* Less columns for wider, elegant images */
    .hero-content { padding: 6rem 1.5rem; }
}