/* 
   DESIGN SYSTEM: Fantasias Guzman (Luxury Boutique Style)
   Inspiration: joyeriaflordelavida.com
*/

:root {
    --primary: #1a1a2e;       /* Deep Navy */
    --accent: #c5a059;        /* Muted Gold */
    --accent-hover: #b38b4d;
    --text: #333333;
    --text-light: #777777;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border: #e0e0e0;
    --font-serif: 'Bodoni Moda', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-name {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

ul { list-style: none; }

/* ── LAYOUT COMPONENTS ── */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ── HEADER ── */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    text-align: center;
}

.brand-name {
    font-size: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--text);
}

.main-nav a:hover {
    color: var(--accent);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: var(--accent);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ── PRODUCT CARD ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background: var(--white);
    transition: 0.3s;
    position: relative;
}

.product-card-img {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-light);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-info {
    padding: 1rem 0;
    text-align: center;
}

.product-card-cat {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

.product-card-title {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
}

.product-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ── SECTION TITLES ── */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin: 1rem auto;
}

/* ── FOOTER ── */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-logo .brand-name { color: var(--white); }
.footer-logo .brand-sub { color: var(--accent); }

.footer-title {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li { margin-bottom: 0.8rem; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.75rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 1.5rem; }
    .main-nav ul { gap: 1rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
