/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #FFF8EC;
    color: #100040;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #E01070; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 0.5em; }
p { margin-bottom: 1em; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Skip link */
.skip-link { position: absolute; top: -100%; left: 0; background: #100040; color: #FFF; padding: 0.5rem 1rem; z-index: 999; text-decoration: none; }
.skip-link:focus { top: 0; }

/* === Header === */
.site-header {
    background: #FFF8EC;
    border-bottom: 1px solid rgba(16,0,64,0.08);
    position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; }
.logo-link { display: flex; align-items: baseline; gap: 0.3rem; text-decoration: none; }
.logo-wordmark {
    font-family: 'Bagel Fat One', cursive;
    font-size: 1.6rem;
    color: #100040;
    letter-spacing: -0.5px;
    line-height: 1;
}
.logo-icon { font-size: 1.4rem; }

/* Nav */
.main-nav { position: relative; }
.nav-toggle { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 0.5rem; }
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 24px; height: 2px; background: #100040; transition: transform 0.3s;
}
.hamburger::before, .hamburger::after { content: ''; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }
.nav-list {
    list-style: none;
    position: absolute; right: 0; top: 100%;
    background: #FFF8EC;
    border: 1px solid rgba(16,0,64,0.1);
    border-radius: 8px;
    padding: 0.8rem 0;
    display: none;
    flex-direction: column;
    min-width: 200px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.nav-list a { display: block; padding: 0.6rem 1.5rem; font-weight: 500; color: #100040; text-decoration: none; }
.nav-list a:hover, .nav-list a:focus { background: #FFE8F0; }
.nav-toggle[aria-expanded="true"] + .nav-list { display: flex; }

/* === Footer === */
.site-footer {
    background: #100040;
    color: #FFF8EC;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    font-size: 0.95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-chant { font-family: 'Bagel Fat One', cursive; font-size: 1.5rem; }
.footer-links ul { list-style: none; }
.footer-links a { color: #FFF8EC; opacity: 0.85; }
.footer-links a:hover { opacity: 1; }
.footer-newsletter h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; margin-bottom: 0.5rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input { padding: 0.6rem 0.8rem; border: none; border-radius: 4px; flex: 1; }
.newsletter-form button { background: #F05010; color: white; border: none; border-radius: 4px; padding: 0.6rem 1.2rem; font-weight: 600; cursor: pointer; }
.newsletter-note { font-size: 0.8rem; opacity: 0.7; margin-top: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; text-align: center; font-size: 0.8rem; opacity: 0.75; }

/* Buttons */
.btn { display: inline-block; padding: 0.75rem 1.8rem; border-radius: 6px; font-weight: 600; text-align: center; transition: 0.2s; }
.btn-primary { background: #E01070; color: #FFF; }
.btn-primary:hover { background: #c00e60; text-decoration: none; }
.btn-outline { border: 2px solid #100040; color: #100040; }
.btn-outline:hover { background: #100040; color: #FFF8EC; text-decoration: none; }
.btn-text { color: #E01070; font-weight: 600; }
.btn-amazon { background: #F05010; color: #FFF; }
.btn-amazon:hover { background: #d9440e; text-decoration: none; }

/* Hero sections */
.hero { padding: 4rem 0 2rem; text-align: center; }
.hero-wordmark .chant-line {
    font-family: 'Bagel Fat One', cursive;
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    display: block;
    color: #100040;
    line-height: 1.1;
}
.tagline { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.4rem; color: #E01070; margin-top: 0.3rem; display: block; }
.hero-value-prop { max-width: 600px; margin: 1.5rem auto; font-size: 1.1rem; }
.hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* City cards */
.cities-section { padding: 4rem 0; }
.city-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.city-card {
    background: #FFE8F0;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: #100040;
    transition: transform 0.2s, box-shadow 0.2s;
}
.city-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); text-decoration: none; }
.city-card h3 { font-size: 1.8rem; margin-bottom: 0.3rem; }
.city-card p { opacity: 0.85; }

/* Ranking list (city pages) */
.shop-rankings { list-style: none; padding: 0; margin: 2rem 0; }
.shop-rankings li { counter-increment: rank; margin-bottom: 1.5rem; }
.shop-card {
    display: flex; flex-wrap: wrap; align-items: flex-start;
    background: #fff; border-radius: 12px; padding: 1.5rem;
    border: 1px solid rgba(16,0,64,0.07);
    gap: 1rem;
}
.shop-card::before {
    content: "#" counter(rank);
    font-family: 'Fraunces', serif;
    font-size: 2rem; font-weight: 700; color: #E01070; min-width: 3rem;
}
.shop-info { flex: 1; }
.shop-info h3 { font-size: 1.3rem; margin-bottom: 0.1rem; }
.shop-info h3 a { color: #100040; text-decoration: none; }
.shop-info h3 a:hover { color: #E01070; }
.shop-meta { font-size: 0.9rem; color: #555; margin: 0.3rem 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.tag {
    background: #FFE8F0;
    color: #100040;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Shop detail */
.shop-detail .container { max-width: 800px; }
.back-link { display: inline-block; margin-bottom: 1.5rem; }
.rank-badge {
    display: inline-block; background: #E01070; color: white; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem;
}
.shop-header h1 { font-size: 2.6rem; }
.shop-content { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin: 2rem 0; }
.shop-review p { font-size: 1.15rem; }
.highlight-box { background: #FFE8F0; padding: 1.2rem; border-radius: 8px; margin-bottom: 1rem; }
.highlight-box h3 { font-size: 1rem; margin-bottom: 0.3rem; }

/* Equipment grid */
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.equipment-card {
    background: #fff; border: 1px solid rgba(16,0,64,0.07); border-radius: 12px; padding: 1.5rem;
}
.category-badge { font-size: 0.8rem; background: #100040; color: #FFF8EC; padding: 0.2rem 0.6rem; border-radius: 12px; }
.affiliate-note { font-size: 0.85rem; margin-top: 2rem; opacity: 0.8; }

/* Responsive */
@media (max-width: 600px) {
    .shop-content { grid-template-columns: 1fr; }
    .nav-list { right: auto; left: 0; }
}