/* ══════════════════════════════════════
   Edie's. Shared Styles
   ══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --blush: #F2D7DE;
    --soft-pink: #F8EDF0;
    --rose: #D4899F;
    --hot-pink: #E2638E;
    --deep-rose: #B5546E;
    --cream: #FDF8F9;
    --charcoal: #1A1A1A;
    --warm-gray: #6B6060;
    --light-gray: #E8E2E4;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background: var(--cream);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Announcement Bar ── */
.announcement-bar {
    background: var(--charcoal);
    color: var(--blush);
    text-align: center;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── Navigation ── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-left a, .nav-right a {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s;
    color: var(--charcoal);
}

.nav-left a:hover, .nav-right a:hover { color: var(--hot-pink); }
.nav-left a.active, .nav-right a.active { color: var(--hot-pink); border-bottom: 2px solid var(--hot-pink); padding-bottom: 2px; }

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--charcoal);
}

.logo span { color: var(--hot-pink); }

/* ── Breadcrumb ── */
.breadcrumb {
    padding: 16px 60px;
    font-size: 12px;
    color: var(--warm-gray);
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.breadcrumb a { color: var(--rose); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--hot-pink); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ── Page Hero ── */
.page-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.4), rgba(181,84,110,0.3));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.page-hero-content p {
    font-size: 16px;
    opacity: 0.9;
    letter-spacing: 1px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Filter Bar ── */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    flex-wrap: wrap;
    gap: 12px;
}

.filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 25px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--white);
    color: var(--charcoal);
    text-transform: uppercase;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--hot-pink);
    border-color: var(--hot-pink);
    color: var(--white);
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 25px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--charcoal);
    cursor: pointer;
    outline: none;
}

.results-count {
    font-size: 13px;
    color: var(--warm-gray);
}

/* ── Product Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding: 40px 60px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 2;
}

.badge-trending { background: var(--hot-pink); color: white; }
.badge-rare { background: var(--charcoal); color: var(--blush); }
.badge-new { background: var(--deep-rose); color: white; }
.badge-sale { background: #D4AF37; color: white; }

.product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

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

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

.product-source {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    font-size: 10px;
    color: var(--warm-gray);
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.product-info { padding: 20px; }

.product-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rose);
    margin-bottom: 6px;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--charcoal);
    margin-bottom: 4px;
    font-weight: 500;
}

.product-detail {
    font-size: 12px;
    color: var(--warm-gray);
    margin-bottom: 12px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--charcoal);
}

.product-price-original {
    font-size: 14px;
    color: var(--warm-gray);
    text-decoration: line-through;
    margin-left: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.product-heart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    color: var(--charcoal);
    font-family: inherit;
}

.product-heart:hover, .product-heart.liked {
    background: var(--hot-pink);
    border-color: var(--hot-pink);
    color: white;
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 14px;
    color: var(--warm-gray);
    letter-spacing: 1px;
}

/* ── Load More ── */
.load-more {
    text-align: center;
    padding: 50px 0;
}

.load-more-btn {
    padding: 16px 60px;
    border: 2px solid var(--charcoal);
    background: transparent;
    color: var(--charcoal);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: var(--charcoal);
    color: var(--white);
}

/* ── Newsletter ── */
.newsletter {
    padding: 80px 60px;
    background: var(--charcoal);
    text-align: center;
}

.newsletter h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    color: var(--blush);
    margin-bottom: 12px;
}

.newsletter p {
    color: var(--rose);
    font-size: 14px;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(212, 137, 159, 0.3);
    border-right: none;
    border-radius: 50px 0 0 50px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(212, 137, 159, 0.5); }
.newsletter-form input:focus { border-color: var(--hot-pink); }

.newsletter-form button {
    padding: 16px 32px;
    background: var(--hot-pink);
    color: var(--white);
    border: 2px solid var(--hot-pink);
    border-radius: 0 50px 50px 0;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.3s;
}

.newsletter-form button:hover { background: var(--deep-rose); border-color: var(--deep-rose); }

/* ── Footer ── */
footer {
    padding: 60px 60px 40px;
    background: var(--charcoal);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand .logo { font-size: 28px; display: block; margin-bottom: 16px; color: var(--blush); }
.footer-brand p { font-size: 13px; color: var(--warm-gray); line-height: 1.7; }

.footer-col h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--blush);
    margin-bottom: 16px;
    font-weight: 400;
}

.footer-col a {
    display: block;
    color: var(--warm-gray);
    font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--hot-pink); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    color: var(--warm-gray);
    letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .product-grid, .product-grid-full { grid-template-columns: repeat(2, 1fr); }
    nav { padding: 20px 30px; }
    .page-hero { height: 300px; }
    .page-hero-content h1 { font-size: 38px; }
    .filter-bar { padding: 16px 30px; }
    .product-grid-full { padding: 30px; }
    .breadcrumb { padding: 16px 30px; }
}

@media (max-width: 640px) {
    .nav-left, .nav-right { display: none; }
    .product-grid, .product-grid-full { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-hero-content h1 { font-size: 30px; }
    .filter-group { width: 100%; justify-content: center; }
}

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
