:root {
    --bg: #f4efe6;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: rgba(255, 255, 255, 0.95);
    --ink: #14281d;
    --muted: #5f6d63;
    --brand: #d97706;
    --brand-deep: #9a3412;
    --accent: #1f6f5f;
    --accent-deep: #123c33;
    --accent-soft: #e4f4ef;
    --shadow: 0 24px 60px rgba(43, 33, 14, 0.12);
}



h1, h2, h3, h4, h5, h6 {
    font-family: "Sora", sans-serif;
}

a {
    text-decoration: none;
}

.magasines-page {
    padding: 1.5rem 0 3rem;
}

.hero-panel,
.directory-panel,
.store-card,
.hero-stat,
.empty-card {
    background: var(--surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-panel,
.directory-panel,
.empty-card {
    border-radius: 34px;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-panel::before {
    width: 260px;
    height: 260px;
    top: -100px;
    right: -60px;
    background: rgba(217, 119, 6, 0.16);
}

.hero-panel::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -70px;
    background: rgba(31, 111, 95, 0.12);
}

.eyebrow,
.section-badge,
.meta-chip,
.category-pill,
.count-pill,
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    font-weight: 800;
}

.eyebrow {
    padding: .6rem .9rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--brand-deep);
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 4.2rem);
    line-height: 1.04;
    margin: 1rem 0;
    max-width: 11ch;
}

.hero-copy,
.section-copy,
.store-copy,
.empty-card p {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.5rem;
}

.btn-brand,
.btn-soft,
.btn-outline-soft {
    border-radius: 999px;
    padding: .92rem 1.3rem;
    font-weight: 800;
}

.btn-brand {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    box-shadow: 0 14px 28px rgba(154, 52, 18, 0.2);
}

.btn-brand:hover {
    color: #fff;
}

.btn-soft {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(20, 40, 29, 0.08);
}

.btn-outline-soft {
    color: var(--accent);
    background: rgba(31, 111, 95, 0.08);
    border: 1px solid rgba(31, 111, 95, 0.14);
}


.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.6rem;
}

.hero-stat {
    min-width: 160px;
    padding: 1rem 1.1rem;
    border-radius: 22px;
}

.hero-stat strong {
    display: block;
    font-size: 1.45rem;
    font-family: "Sora", sans-serif;
}

.hero-visual {
    position: relative;
    min-height: 360px;
}

.hero-image {
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-image-main {
    width: 100%;
    height: 360px;
}

.hero-image-float {
    position: absolute;
    width: 210px;
    height: 210px;
    right: -10px;
    bottom: -14px;
    border: 8px solid rgba(255, 250, 244, 0.9);
}

.directory-panel {
    padding: 1.45rem;
    margin-bottom: 1.5rem;
}

.directory-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.section-badge {
    padding: .38rem .72rem;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: .8rem;
}

.section-title {
    margin: .9rem 0 .35rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.filter-shell {
    display: grid;
    gap: 1rem;
    margin-top: 1.3rem;
}

.filter-group {
    display: grid;
    gap: .7rem;
}

.filter-label {
    font-weight: 800;
    color: var(--ink);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.filter-pill {
    padding: .58rem .92rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    border: 1px solid rgba(20, 40, 29, 0.08);
}

.filter-pill-accent {
    background: rgba(31, 111, 95, 0.08);
    color: var(--accent);
}

.store-link {
    display: block;
    color: inherit;
}

.store-card {
    border-radius: 30px;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease;
    height: 100%;
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(20, 40, 29, 0.14);
}

.store-media {
    position: relative;
    height: 240px;
}

.store-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 40, 29, 0.06), rgba(20, 40, 29, 0.58));
}

.store-overlay {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    z-index: 2;
}

.meta-chip {
    padding: .5rem .75rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--accent-deep);
    font-size: .78rem;
}

.store-body {
    padding: 1.3rem;
    background: var(--surface-strong);
}

.store-topline,
.store-meta,
.store-footer {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
}

.store-topline {
    margin-bottom: .85rem;
}

.category-pill {
    padding: .42rem .78rem;
    background: rgba(31, 111, 95, 0.08);
    color: var(--accent);
    font-size: .78rem;
}

.count-pill {
    padding: .42rem .78rem;
    background: rgba(217, 119, 6, 0.1);
    color: var(--brand-deep);
    font-size: .78rem;
}

.store-title {
    font-size: 1.3rem;
    margin-bottom: .7rem;
}

.store-meta {
    margin-top: 1rem;
    color: var(--muted);
    font-size: .92rem;
}

.store-footer {
    align-items: center;
    margin-top: 1.1rem;
}

.store-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: white;
    font-weight: 800;
}

.empty-card {
    padding: 2rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .hero-title {
        max-width: none;
    }

    .hero-image-float {
        width: 170px;
        height: 170px;
        right: 10px;
        bottom: -8px;
    }

    .directory-head {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 767.98px) {
    .magasines-page {
        padding-top: 1rem;
    }

    .hero-panel,
    .directory-panel {
        padding: 1.35rem;
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-image-main {
        height: 280px;
    }

    .hero-image-float {
        display: none;
    }

    .store-media {
        height: 220px;
    }
}
