/* EMS Notes - Main Stylesheet */
/* Colors: Navy #003087 | Gold #F5A623 | Light Blue #E3F2FD | White #FFFFFF */

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

:root {
    --navy:  #003087;
    --gold:  #F5A623;
    --light-blue: #E3F2FD;
    --blue2: #1565C0;
    --white: #FFFFFF;
    --gray:  #6b7280;
    --gray-light: #f3f4f6;
    --text:  #1a202c;
    --border: #d1d5db;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.15);
    --transition: .2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', Arial, sans-serif; color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; padding-right: 56px; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue2); }
img { max-width: 100%; height: auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1,h2,h3,h4,h5 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; line-height: 1.3; color: var(--navy); }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

/* ── SOCIAL SIDEBAR ── */
.social-sidebar {
    position: fixed;
    right: 0; top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.social-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    transition: width var(--transition), padding var(--transition);
}
.social-sidebar a svg { width: 22px; height: 22px; }
.social-sidebar a:hover { width: 58px; }
.social-fb { background: #1877F2; }
.social-ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.social-tt { background: #010101; }
.social-yt { background: #FF0000; }
.social-tw { background: #000000; }

/* ── HEADER ── */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 900; box-shadow: 0 2px 8px rgba(0,48,135,.4); }
.nav-container { display: flex; align-items: center; gap: 20px; padding: 0 20px; height: 68px; }

.logo { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.6rem; font-weight: 800; }
.logo-ems   { color: var(--gold); }
.logo-notes { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav a {
    color: rgba(255,255,255,.88);
    font-family: 'Montserrat', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.site-nav a:hover { background: rgba(255,255,255,.15); color: #fff; }
.nav-cart { position: relative; }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--gold); color: var(--navy);
    font-size: .7rem; font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.nav-login,.nav-account { background: var(--gold) !important; color: var(--navy) !important; }
.nav-login:hover,.nav-account:hover { background: #e09510 !important; }
.nav-admin { background: rgba(245,166,35,.2) !important; }
.nav-logout { color: rgba(255,255,255,.6) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* ── MAIN ── */
.site-main { min-height: 70vh; }

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #001a5c 60%, #0a2a80 100%);
    color: #fff;
    padding: 90px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 140%; height: 200%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Ccircle cx='200' cy='200' r='160' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='120' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") center/cover;
    pointer-events: none;
}
.hero h1 { font-size: 3rem; color: #fff; margin-bottom: 12px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto 30px; }
.hero .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: #e09510; border-color: #e09510; color: var(--navy); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-full { width: 100%; }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: #16a34a; color: #fff; border-color: #16a34a; }

/* ── SECTION ── */
.section { padding: 70px 0; }
.section-alt { background: var(--light-blue); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { margin-bottom: 10px; }
.section-title p { color: var(--gray); max-width: 560px; margin: 0 auto; }
.stripe-divider { border: none; border-top: 3px solid var(--gold); width: 60px; margin: 12px auto; }

/* ── PRODUCT CARDS ── */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 28px; }
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.cover-placeholder {
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}
.cover-emt { background: linear-gradient(145deg, #003087 0%, #1565C0 50%, #0a47a9 100%); }
.cover-paramedic { background: linear-gradient(145deg, #1a237e 0%, #283593 50%, #303f9f 100%); }
.cover-placeholder .cover-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}
.cover-placeholder .cover-sub {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 16px;
}
.cover-badge {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: .75rem;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.cover-caduceus {
    font-size: 3.5rem;
    margin-bottom: 12px;
    color: rgba(255,255,255,.3);
    line-height: 1;
}

.product-card img.cover-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1rem; margin-bottom: 6px; color: var(--navy); }
.card-edition { font-size: .8rem; color: var(--gray); margin-bottom: 12px; }
.card-prices { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.price-tag { padding: 4px 10px; border-radius: 20px; font-size: .82rem; font-weight: 600; }
.price-physical { background: var(--light-blue); color: var(--navy); }
.price-pdf      { background: #fef3c7; color: #92400e; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.card-actions .btn { flex: 1; white-space: nowrap; font-size: .8rem; padding: 9px 10px; }

/* ── ABOUT BLURB ── */
.about-blurb { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.about-blurb .author-photo {
    width: 180px; height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue2));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.3);
    font-size: 5rem;
    flex-shrink: 0;
    border: 4px solid var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: 2.5rem;
    letter-spacing: -1px;
}
.about-blurb .author-text { flex: 1; min-width: 240px; }
.author-credentials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.credential-badge {
    background: var(--light-blue);
    color: var(--navy);
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #90caf9;
}

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 22px; }
.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.review-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: .9rem; color: var(--gray); font-style: italic; margin-bottom: 12px; }
.review-author { font-weight: 600; font-size: .85rem; color: var(--navy); }

/* ── FORMS ── */
.form-container { max-width: 520px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; color: var(--navy); }
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color var(--transition);
    background: #fff;
    color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--blue2); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: .9rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: var(--light-blue); color: var(--navy); border: 1px solid #90caf9; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* ── CART ── */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.cart-table th { background: var(--navy); color: #fff; padding: 12px 16px; text-align: left; font-family: 'Montserrat', sans-serif; font-size: .85rem; }
.cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-table tr:hover td { background: var(--light-blue); }
.cart-summary { max-width: 340px; margin-left: auto; background: var(--light-blue); border-radius: 10px; padding: 22px; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.cart-summary-row.total { font-weight: 700; font-size: 1.1rem; color: var(--navy); border-top: 2px solid var(--navy); padding-top: 10px; margin-top: 6px; }
.qty-input { width: 60px; padding: 6px; border: 1px solid var(--border); border-radius: 4px; text-align: center; }

/* ── CHECKOUT ── */
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.order-summary-box { background: var(--light-blue); border-radius: 10px; padding: 22px; position: sticky; top: 88px; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.payment-option { position: relative; }
.payment-option input[type=radio] { position: absolute; opacity: 0; }
.payment-option label {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 600;
    transition: all var(--transition);
}
.payment-option input[type=radio]:checked + label { border-color: var(--navy); background: var(--light-blue); color: var(--navy); }
.payment-option label:hover { border-color: var(--blue2); }

/* ── ACCOUNT ── */
.account-grid { display: grid; grid-template-columns: 220px 1fr; gap: 36px; }
.account-nav { background: var(--light-blue); border-radius: 10px; padding: 16px; }
.account-nav a { display: block; padding: 10px 14px; color: var(--navy); font-weight: 600; border-radius: 6px; margin-bottom: 4px; font-size: .9rem; }
.account-nav a:hover, .account-nav a.active { background: var(--navy); color: #fff; }

/* ── ORDER TABLE ── */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { background: var(--navy); color: #fff; padding: 10px 14px; text-align: left; font-size: .85rem; }
.orders-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.orders-table tr:hover td { background: var(--gray-light); }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.status-pending    { background: #fef3c7; color: #92400e; }
.status-paid       { background: #dcfce7; color: #166534; }
.status-shipped    { background: #dbeafe; color: #1e40af; }
.status-delivered  { background: #dcfce7; color: #166534; }
.status-failed     { background: #fee2e2; color: #991b1b; }
.status-refunded   { background: #f3e8ff; color: #7e22ce; }
.status-processing { background: #fef3c7; color: #92400e; }
.status-digital_sent { background: #dcfce7; color: #166534; }

/* ── ADMIN ── */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 80vh; gap: 0; }
.admin-sidebar { background: var(--navy); padding: 24px 0; }
.admin-sidebar .admin-logo { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 12px; font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.admin-sidebar a { display: block; padding: 11px 20px; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500; transition: background var(--transition); border-left: 3px solid transparent; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--gold); }
.admin-content { padding: 28px 32px; }
.admin-page-title { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--light-blue); display: flex; justify-content: space-between; align-items: center; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 18px; margin-bottom: 32px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; box-shadow: var(--shadow); }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--navy); font-family: 'Montserrat', sans-serif; }
.stat-card .stat-label { font-size: .8rem; color: var(--gray); margin-top: 4px; }
.stat-card .stat-icon { font-size: 2rem; margin-bottom: 8px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; }
.contact-info h3 { margin-bottom: 12px; }
.contact-info p { color: var(--gray); margin-bottom: 16px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-icon { width: 42px; height: 42px; background: var(--light-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1.1rem; flex-shrink: 0; }

/* ── ABOUT ── */
.about-hero { background: linear-gradient(135deg, var(--navy), #1a3a6e); color: #fff; padding: 70px 0; }
.about-hero h1 { color: #fff; margin-bottom: 14px; }
.about-hero p { color: rgba(255,255,255,.85); max-width: 600px; font-size: 1.05rem; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--light-blue); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -32px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--navy); }
.timeline-year { font-size: .8rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ── PAYMENT CONFIRM ── */
.confirm-box { max-width: 640px; margin: 50px auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 40px; box-shadow: var(--shadow-lg); text-align: center; }
.confirm-icon { width: 70px; height: 70px; border-radius: 50%; background: #dcfce7; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.confirm-icon svg { width: 36px; height: 36px; color: #16a34a; }

/* ── PRODUCT DETAIL ── */
.product-detail-grid { display: grid; grid-template-columns: 400px 1fr; gap: 50px; align-items: start; }
.product-detail-cover { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.format-selector { display: flex; gap: 12px; margin-bottom: 22px; }
.format-btn {
    flex: 1; padding: 14px; border: 2px solid var(--border);
    border-radius: var(--radius); text-align: center; cursor: pointer;
    transition: all var(--transition); background: #fff;
}
.format-btn:hover, .format-btn.selected { border-color: var(--navy); background: var(--light-blue); }
.format-btn .format-name { font-weight: 700; color: var(--navy); }
.format-btn .format-price { font-size: .9rem; color: var(--gray); }

/* ── FOOTER ── */
.site-footer { background: #0a1628; color: rgba(255,255,255,.75); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.footer-tagline { color: var(--gold); font-size: .9rem; margin-bottom: 10px; }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-links h4, .footer-social-block h4 { color: #fff; margin-bottom: 14px; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--gold); }
.footer-social-icons { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.footer-social-icons a {
    width: 38px; height: 38px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: opacity var(--transition), transform var(--transition);
}
.footer-social-icons a:hover { opacity: .85; transform: translateY(-2px); }
.footer-social-icons a svg { width: 18px; height: 18px; }
.fs-fb { background: #1877F2; }
.fs-ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.fs-tt { background: #010101; }
.fs-yt { background: #FF0000; }
.fs-tw { background: #000000; border: 1px solid rgba(255,255,255,.2); }
.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pay-icon {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.75);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.15);
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ── SHARE BUTTONS ── */
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; align-items: center; }
.share-row span { font-size: .85rem; font-weight: 600; color: var(--gray); }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 6px; font-size: .82rem; font-weight: 600; color: #fff; transition: opacity var(--transition); }
.share-btn:hover { opacity: .85; color: #fff; }
.share-fb { background: #1877F2; }
.share-tw { background: #000; }
.share-wa { background: #25D366; }

/* ── MISC ── */
.page-hero { background: var(--light-blue); border-bottom: 3px solid var(--gold); padding: 40px 0; margin-bottom: 0; }
.page-hero h1 { font-size: 2rem; }
.breadcrumb { font-size: .82rem; color: var(--gray); margin-bottom: 8px; }
.breadcrumb a { color: var(--navy); }
.divider { border: none; border-top: 1px solid var(--border); margin: 30px 0; }
.text-center { text-align: center; }
.text-gray { color: var(--gray); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.p-3 { padding: 24px; }
.bg-white { background: #fff; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.border { border: 1px solid var(--border); }
.captcha-field { margin-bottom: 18px; }
.d-flex { display: flex; } .gap-2 { gap: 16px; } .align-center { align-items: center; }
.badge-new { background: var(--gold); color: var(--navy); font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; vertical-align: middle; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    body { padding-right: 48px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    body { padding-right: 0; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero h1 { font-size: 2rem; }
    .nav-toggle { display: flex; }
    .site-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 14px; gap: 4px; z-index: 800; }
    .site-nav.open { display: flex; }
    .site-nav a { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .books-grid { grid-template-columns: 1fr 1fr; }
    .social-sidebar { display: none; }
    .payment-methods { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .books-grid { grid-template-columns: 1fr; } }
