/*
Theme Name:  SimplyNotes
Theme URI:   https://www.simplynotes.co.uk
Author:      Joanna Bernat & Robert Szatkowski
Author URI:  https://www.simplynotes.co.uk
Description: Official theme for SimplyNotes — original sheet music, PDF books and audio downloads by Joanna Bernat. Piano teacher, composer and author.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simplynotes
Tags:        music, education, shop, e-commerce, custom-menu, featured-images, translation-ready
*/

/* ═══════════════════════════════════════════════════════
   1. CSS VARIABLES — Brand colours & typography
   ═══════════════════════════════════════════════════════ */

:root {
    --color-navy:   #3B3B6B;
    --color-red:    #9E2424;
    --color-gold:   #CCAF60;
    --color-grey:   #797468;
    --color-ivory:  #F8F5EF;
    --color-sand:   #EDE8DE;
    --color-light:  #FDFAF5;
    --color-footer: #4A4A7A;
    --color-dark:   #2A2825;

    --color-navy-dark:   #2E2E54;
    --color-navy-light:  #5555A0;
    --color-gold-light:  #F5EDD4;
    --color-red-light:   #F5E8E8;
    --color-green-badge: #EBF8F0;
    --color-green-text:  #1A7A3A;

    --font-main:  'Montserrat', sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;

    --radius-sm:  4px;
    --radius-md:  8px;
    --shadow-sm:  0 2px 8px rgba(59,59,107,0.08);
    --shadow-md:  0 4px 20px rgba(59,59,107,0.12);

    --transition: 0.2s ease;
    --max-width:  1200px;
    --gap:        2rem;
}

/* ═══════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-main);
    font-weight: 400;
    color: var(--color-dark);
    background: var(--color-ivory);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--color-red); text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.8; }

ul, ol { list-style: none; }

/* ═══════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }

p { font-size: 0.875rem; color: var(--color-grey); line-height: 1.8; }

.section-tag {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-red);
    margin-bottom: 0.625rem;
}

.section-rule {
    width: 32px;
    height: 2px;
    background: var(--color-gold);
    margin: 0.875rem 0;
}

/* ═══════════════════════════════════════════════════════
   4. LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 4rem 0; }
.section--ivory  { background: var(--color-ivory); }
.section--sand   { background: var(--color-sand); }
.section--light  { background: var(--color-light); }
.section--navy   { background: var(--color-navy); }
.section--footer { background: var(--color-footer); }

.section-header { text-align: center; margin-bottom: 2.25rem; }
.section-header p { margin-top: 0.375rem; font-size: 0.75rem; letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════════════════
   5. BUTTONS
   ═══════════════════════════════════════════════════════ */

.btn {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.7rem 1.4rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    text-align: center;
}

.btn-red   { background: var(--color-red);  color: #fff; }
.btn-navy  { background: var(--color-navy); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border: 1.5px solid var(--color-navy);
}
.btn-outline-light {
    background: transparent;
    color: #EDE8F8;
    border: 1px solid #6060A0;
}

.btn-red:hover    { background: #7A1818; color: #fff; }
.btn-navy:hover   { background: #2A2A50; color: #fff; }
.btn-outline:hover { background: var(--color-navy); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════════
   6. NAVIGATION
   ═══════════════════════════════════════════════════════ */

.site-header {
    background: var(--color-ivory);
    border-bottom: 0.5px solid var(--color-sand);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.875rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.site-logo__icon svg { width: 28px; height: 32px; }
.site-logo__text { line-height: 1; }
.site-logo__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    display: block;
    letter-spacing: 0.01em;
}
.site-logo__tagline {
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--color-red);
    letter-spacing: 0.11em;
    text-transform: none;
    margin-top: 2px;
    display: block;
}

/* Primary nav */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}
.primary-nav a {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-grey);
    letter-spacing: 0.04em;
    transition: var(--transition);
}
.primary-nav a:hover,
.primary-nav a.current-menu-item { color: var(--color-navy); }
.primary-nav .btn { margin-left: 0.375rem; }
.primary-nav .btn-red { color: #fff !important; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    transition: var(--transition);
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-ivory);
        border-top: 0.5px solid var(--color-sand);
        border-bottom: 0.5px solid var(--color-sand);
        padding: 1rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .primary-nav.is-open { display: flex; }
    .site-header { position: relative; }
}

/* ═══════════════════════════════════════════════════════
   7. HERO SECTION
   ═══════════════════════════════════════════════════════ */

.hero {
    background: var(--color-ivory);
    padding: 4.5rem 0 4rem;
}

.hero__inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero__content { flex: 1; max-width: 480px; }
.hero__tag { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-red); display: block; margin-bottom: 0.75rem; }
.hero__title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--color-navy); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.hero__buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }

.hero__photo {
    flex: 0 0 260px;
    height: 360px;
    background: var(--color-sand);
    border: 0.5px solid #D0CAC0;
    position: relative;
    overflow: hidden;
}
.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.hero__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-grey);
    font-size: 0.6875rem;
    gap: 0.5rem;
}
.hero__badge {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-red);
    padding: 0.5rem 1rem;
    text-align: center;
    white-space: nowrap;
}
.hero__badge-label { font-size: 0.5rem; font-weight: 600; color: rgba(255,255,255,0.7); letter-spacing: 0.12em; display: block; }
.hero__badge-value { font-size: 0.75rem; font-weight: 700; color: #fff; display: block; margin-top: 1px; }

@media (max-width: 768px) {
    .hero__inner { flex-direction: column-reverse; }
    .hero__photo { flex: none; width: 100%; max-width: 360px; height: 280px; align-self: center; }
}

/* ═══════════════════════════════════════════════════════
   8. STATS STRIP
   ═══════════════════════════════════════════════════════ */

.stats-strip {
    background: var(--color-navy);
    padding: 1.125rem 0;
}
.stats-strip__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.25rem;
    flex-wrap: wrap;
}
.stats-strip__divider { width: 0.5px; height: 26px; background: #505088; flex-shrink: 0; }
.stat { text-align: center; }
.stat__value { font-size: 1.0625rem; font-weight: 700; color: #EDE8DE; display: block; }
.stat__label { font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.12em; color: #8888AA; text-transform: uppercase; margin-top: 2px; display: block; }

/* ═══════════════════════════════════════════════════════
   9. ABOUT SECTION
   ═══════════════════════════════════════════════════════ */

.about__inner {
    display: flex;
    align-items: center;
    gap: 2.75rem;
}
.about__photo {
    flex: 0 0 200px;
    height: 240px;
    background: var(--color-ivory);
    border: 0.5px solid #CAC4B8;
    overflow: hidden;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about__content { flex: 1; }
.about__content p { max-width: 520px; }
.about__content p + p { margin-top: 0.625rem; }
.about__link {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-red);
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--color-red);
    padding-bottom: 2px;
    margin-top: 1.25rem;
}

@media (max-width: 640px) {
    .about__inner { flex-direction: column; }
    .about__photo { flex: none; width: 100%; height: 200px; }
}

/* ═══════════════════════════════════════════════════════
   10. PRODUCT GRID — Sheet Music & PDFs
   ═══════════════════════════════════════════════════════ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.product-card {
    background: #fff;
    border: 0.5px solid #DDD8CE;
    padding: 0.875rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.product-card__cover {
    aspect-ratio: 2 / 3;
    max-height: 220px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-card__cover--placeholder {
    border: 0.5px solid #D0CAC0;
}

.product-card__cover-inner {
    text-align: center;
    padding: 0.625rem;
}
.product-card__cover-title {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
}
.product-card__cover-rule {
    width: 20px;
    height: 1.5px;
    background: var(--color-gold);
    margin: 0.5rem auto;
}
.product-card__cover-sub { font-size: 0.5625rem; color: var(--color-grey); }

.product-card__title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 2px;
    line-height: 1.35;
}
.product-card__meta  { font-size: 0.625rem; color: var(--color-grey); margin-bottom: 0.625rem; flex: 1; }
.product-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.625rem; }
.product-card__price { font-size: 0.9375rem; font-weight: 700; color: var(--color-navy); }

/* ═══════════════════════════════════════════════════════
   11. AUDIO DOWNLOADS
   ═══════════════════════════════════════════════════════ */

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.875rem;
    max-width: 820px;
    margin: 0 auto;
}

.audio-card {
    background: #fff;
    border: 0.5px solid #DDD8CE;
    padding: 1rem;
}
.audio-card__top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.625rem; }
.audio-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.audio-card__title { font-size: 0.75rem; font-weight: 600; color: var(--color-navy); }
.audio-card__book  { font-size: 0.625rem; color: var(--color-grey); margin-top: 1px; }

.audio-progress {
    height: 3px;
    background: var(--color-sand);
    border-radius: 2px;
    margin-bottom: 0.625rem;
}
.audio-card__footer { display: flex; justify-content: space-between; align-items: center; }
.audio-card__duration { font-size: 0.625rem; color: var(--color-grey); }
.audio-card__badges  { display: flex; gap: 0.5rem; align-items: center; }

.badge-free  { font-size: 0.5625rem; font-weight: 700; color: var(--color-green-text); background: var(--color-green-badge); padding: 3px 7px; }
.badge-price { font-size: 0.5625rem; font-weight: 700; color: #785A10; background: #FFF8E8; padding: 3px 7px; }

/* ═══════════════════════════════════════════════════════
   12. AMAZON BOOKS
   ═══════════════════════════════════════════════════════ */

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto 1.25rem;
}
.book-card { text-align: center; }
.book-card__cover {
    aspect-ratio: 2 / 3;
    max-height: 260px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    position: relative;
}
.book-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-card__cover--placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.book-card__name  { font-size: 0.6875rem; font-weight: 600; color: #D4CFE0; margin-bottom: 0.5rem; }
.book-card__level { font-size: 0.5625rem; font-weight: 600; color: var(--color-gold); }
.book-card__pieces{ font-size: 0.5625rem; color: #8888AA; margin-top: 2px; }
.book-card__link  { font-size: 0.625rem; font-weight: 700; color: var(--color-gold); border-bottom: 1px solid var(--color-gold); padding-bottom: 1px; }
.book-card__link:hover { opacity: 0.75; }

.books-more {
    border-top: 0.5px solid #4A4A80;
    padding-top: 1rem;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.books-more p { font-size: 0.6875rem; font-weight: 500; color: #9090B8; }

/* On dark bg headings are light */
.section--navy h2, .section--navy .section-tag { color: #EDE8DE; }
.section--navy .section-tag { color: var(--color-gold); }
.section--navy p { color: #8888AA; }

/* ═══════════════════════════════════════════════════════
   13. WATCH & LISTEN
   ═══════════════════════════════════════════════════════ */

.watch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem;
    max-width: 680px;
    margin: 0 auto;
}
.watch-card {
    background: #fff;
    border: 0.5px solid #D0CAC0;
    padding: 1.625rem;
    text-align: center;
}
.watch-card__icon  { display: block; margin: 0 auto 0.875rem; }
.watch-card__title { font-size: 0.8125rem; font-weight: 700; color: var(--color-navy); margin-bottom: 0.375rem; }
.watch-card p { font-size: 0.6875rem; line-height: 1.65; margin-bottom: 1rem; }
.watch-card .btn  { font-size: 0.625rem; }

@media (max-width: 540px) {
    .watch-grid { grid-template-columns: 1fr; }
    .books-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════
   14. FREE DOWNLOADS + EMAIL SIGN-UP
   ═══════════════════════════════════════════════════════ */

.free-downloads__inner { display: flex; gap: 2.75rem; align-items: flex-start; }
.free-downloads__copy  { flex: 1; }
.free-downloads__list  { flex: 0 0 380px; display: flex; flex-direction: column; gap: 0.5625rem; }

.free-piece {
    background: #fff;
    border: 0.5px solid #D8D2C8;
    padding: 0.75rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.free-piece__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.free-piece__info  { flex: 1; min-width: 0; }
.free-piece__title { font-size: 0.75rem; font-weight: 600; color: var(--color-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.free-piece__composer { font-size: 0.625rem; color: var(--color-grey); margin-top: 1px; }
.free-piece__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.btn-dl {
    background: transparent;
    border: 1px solid var(--color-red);
    color: var(--color-red);
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 9px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}
.btn-dl:hover { background: var(--color-red); color: #fff; }

.free-downloads__note {
    font-size: 0.625rem;
    color: var(--color-grey);
    text-align: right;
    margin-top: 0.375rem;
    font-style: italic;
}

/* Email sign-up form */
.signup-box {
    background: #fff;
    border: 0.5px solid #D0CAC0;
    padding: 1.25rem;
    max-width: 320px;
    margin-top: 1.25rem;
}
.signup-box__label {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}
.signup-box input[type="email"] {
    width: 100%;
    padding: 0.5625rem 0.75rem;
    font-size: 0.75rem;
    border: 0.5px solid #C8C2B6;
    margin-bottom: 0.625rem;
    color: var(--color-dark);
    outline: none;
    font-family: var(--font-main);
    transition: var(--transition);
}
.signup-box input[type="email"]:focus { border-color: var(--color-navy); }
.signup-box__note {
    font-size: 0.625rem;
    color: #B0A898;
    text-align: center;
    margin-top: 0.5rem;
    display: block;
}

@media (max-width: 860px) {
    .free-downloads__inner { flex-direction: column; }
    .free-downloads__list  { flex: none; width: 100%; }
    .signup-box { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   15. FOOTER
   ═══════════════════════════════════════════════════════ */

.site-footer {
    background: var(--color-footer);
    padding: 2.75rem 0 1.75rem;
}

.footer__top {
    display: flex;
    gap: 2.25rem;
    justify-content: space-between;
    margin-bottom: 1.875rem;
    flex-wrap: wrap;
}
.footer__brand { max-width: 210px; }
.footer__logo  { display: flex; align-items: center; gap: 0.5625rem; margin-bottom: 0.625rem; }
.footer__logo-name    { font-size: 0.875rem; font-weight: 700; color: #EDE8F8; }
.footer__logo-tagline { font-size: 0.4375rem; font-weight: 500; color: #E87878; letter-spacing: 0.1em; }
.footer__brand p { font-size: 0.6875rem; color: #C0BCE8; line-height: 1.75; margin-bottom: 0.875rem; }

.footer__social { display: flex; gap: 0.5rem; }
.footer__social-link {
    width: 28px;
    height: 28px;
    border: 0.5px solid #6060A0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer__social-link:hover { background: rgba(255,255,255,0.1); }

.footer__col-title {
    font-size: 0.5625rem;
    font-weight: 700;
    color: #8888C0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}
.footer__col ul li { margin-bottom: 0.125rem; }
.footer__col ul li a {
    font-size: 0.75rem;
    font-weight: 500;
    color: #C0BCE8;
    line-height: 2.0;
}
.footer__col ul li a:hover { color: #EDE8F8; }

.footer__bottom {
    border-top: 0.5px solid #5858A0;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer__copyright, .footer__domain {
    font-size: 0.625rem;
    color: #8888C0;
}

@media (max-width: 720px) {
    .footer__top { gap: 1.5rem; }
    .footer__brand { max-width: 100%; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════
   16. EDD / WOOCOMMERCE SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════════════ */

.product-single { padding: 3rem 0; }
.product-single__inner { display: flex; gap: 2.5rem; align-items: flex-start; }
.product-single__image { flex: 0 0 300px; border: 0.5px solid #DDD8CE; }
.product-single__image img { width: 100%; height: auto; }
.product-single__info { flex: 1; }
.product-single__title { font-size: 1.5rem; color: var(--color-navy); margin-bottom: 0.5rem; }
.product-single__level { font-size: 0.6875rem; color: var(--color-red); font-weight: 600; margin-bottom: 0.5rem; }
.product-single__price { font-size: 1.5rem; font-weight: 700; color: var(--color-navy); margin: 1rem 0; }
.product-single__desc  { margin-bottom: 1.5rem; }

/* EDD purchase button override */
.edd-submit { background: var(--color-red) !important; font-family: var(--font-main) !important; font-weight: 700 !important; font-size: 0.625rem !important; letter-spacing: 0.1em !important; text-transform: uppercase !important; padding: 0.7rem 1.4rem !important; border: none !important; cursor: pointer !important; color: #fff !important; }
.edd-submit:hover { background: #7A1818 !important; }

/* ═══════════════════════════════════════════════════════
   17. PAGE TEMPLATES
   ═══════════════════════════════════════════════════════ */

.page-content { padding: 3rem 0; }
.page-content h1 { margin-bottom: 1.5rem; }
.page-content p + p { margin-top: 1rem; }

/* ═══════════════════════════════════════════════════════
   18. ACCESSIBILITY & FOCUS
   ═══════════════════════════════════════════════════════ */

:focus-visible { outline: 2px solid var(--color-red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ═══════════════════════════════════════════════════════
   19. PRINT
   ═══════════════════════════════════════════════════════ */
@media print {
    .site-header, .site-footer, .btn, .nav-toggle { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   MAILERLITE EMBED — CSS ISOLATION
   Prevents our form styles from overriding MailerLite's
   injected form elements inside .ml-embedded
   ═══════════════════════════════════════════════════════ */

/* Wrapper sizing */
.sn-ml-wrap {
    max-width: 340px;
}

/* Reset our input styles inside the ML container */
.ml-embedded input,
.ml-embedded input[type="email"],
.ml-embedded input[type="text"],
.ml-embedded button,
.ml-embedded textarea {
    all: revert;
    font-family: var(--font-main);
}

/* Ensure the ML form block isn't clipped or hidden */
.ml-embedded {
    display: block;
    overflow: visible;
    position: relative;
    z-index: 1;
}
