/* ═══════════════════════════════════════════════════════════
   Nathalie Zen 🌸 & Country 🤠 — Storefront CSS
   Light theme — matching Shopify design exactly
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #ffffff;
    --bg-light: #fafafa;
    --bg-section: #f5f5f5;
    --text: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #999;
    --border: #e5e5e5;
    --border-light: #eee;
    --pink: #d4a0b0;
    --pink-light: #f8e8ef;
    --pink-dark: #b8849a;
    --accent: #1a1a1a;
    --radius: 0;
    --radius-sm: 4px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: underline; transition: color var(--transition); }
a:hover { color: var(--pink-dark); }

img { max-width: 100%; height: auto; }


/* ── Announcement Bar (top) ── */
.announcement-bar-top {
    background: var(--pink-light);
    color: var(--pink-dark);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
}

/* ── Navbar ── */
.navbar {
    background: var(--bg) !important;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.navbar-brand {
    color: var(--text) !important;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none !important;
}

.navbar .nav-link {
    color: var(--text) !important;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 12px !important;
    text-decoration: none;
}

.navbar .nav-link:hover { color: var(--pink-dark) !important; }

.navbar .btn-outline-dark {
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

/* ── Hero (full-width image) ── */
.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.hero-text {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.hero-text h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

/* ── Section Headers ── */
.section-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 8px;
}

.section-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ── Product Cards (Shopify style — minimal, white bg) ── */
.product-card {
    background: var(--bg);
    text-decoration: none !important;
    display: block;
    transition: opacity var(--transition);
}

.product-card:hover { opacity: 0.85; }

.product-card .product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: var(--bg-section);
}

.product-card .product-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 40px;
}

.product-card .card-body {
    padding: 10px 0;
}

.product-card .product-name {
    font-size: 13px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-price {
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
}

.product-card .product-old-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card .product-from {
    font-size: 12px;
    color: var(--text-muted);
}

/* Promo badge */
.badge-promo {
    display: inline-block;
    background: var(--pink-light);
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    position: absolute;
    bottom: 8px;
    left: 8px;
}


/* ── Product Scroll Row (horizontal like Shopify) ── */
.product-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.product-scroll::-webkit-scrollbar { height: 4px; }
.product-scroll::-webkit-scrollbar-track { background: var(--bg-section); }
.product-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.product-scroll .product-card {
    min-width: 200px;
    max-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* ── Collections Grid ── */
.collection-card {
    text-decoration: none !important;
    display: block;
    text-align: center;
    transition: opacity var(--transition);
}

.collection-card:hover { opacity: 0.8; }

.collection-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.collection-card .collection-name {
    padding: 10px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    text-decoration: underline;
}

/* ── Rich Text / Announcement Section ── */
.rich-text-section {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 0;
}

.rich-text-section .text-col {
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.rich-text-section .text-col h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.rich-text-section .image-col {
    flex: 0 0 300px;
}

.rich-text-section .image-col img {
    width: 100%;
    border-radius: 4px;
}

/* ── Buttons (Shopify style — outlined, minimal) ── */
.btn-shopify {
    display: inline-block;
    border: 1px solid var(--text);
    color: var(--text);
    background: transparent;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: 0.5px;
}

.btn-shopify:hover {
    background: var(--text);
    color: var(--bg);
}

.btn-shopify-filled {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    border: 1px solid var(--text);
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-shopify-filled:hover {
    background: #333;
    color: var(--bg);
}

/* ── Footer ── */
.store-footer {
    background: var(--bg-light) !important;
    border-top: 1px solid var(--border);
    padding: 40px 0 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.store-footer h6 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.store-footer a { color: var(--text-secondary); text-decoration: none; }
.store-footer a:hover { color: var(--text); }
.store-footer ul { list-style: none; padding: 0; }
.store-footer li { margin-bottom: 6px; }

/* ── Forms (light) ── */
.form-control, .form-select {
    background: var(--bg) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--text) !important;
    box-shadow: none !important;
}

.form-control::placeholder { color: var(--text-muted) !important; }

.search-bar { position: relative; }
.search-bar i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-bar input { padding-left: 32px; }

/* ── Alerts ── */
.alert { border-radius: var(--radius-sm); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-text { padding: 24px 16px; }
    .hero-text h2 { font-size: 17px; }
    .rich-text-section { flex-direction: column; gap: 20px; }
    .rich-text-section .image-col { flex: none; width: 100%; }
    .product-scroll .product-card { min-width: 160px; max-width: 160px; }
    .section-title { font-size: 18px; }
}
