/* ============================================
   MOBILE OPTIMIZATION — Haberschlacht-Website
   Pixel-perfect mobile experience
   Touch-friendly, accessible, responsive
   ============================================ */

/* ==========================================
   1. GLOBAL MOBILE RESETS
   ========================================== */

/* Prevent horizontal overflow on all devices */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%; /* Changed from 100vw to 100% to avoid scrollbar width issues */
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    position: relative;
}

@media (max-width: 900px) {
    /* UNIVERSAL OVERFLOW FIX */
    *, *::before, *::after {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* REMOVE "SAFE SIDE" PADDING ON BODY TO FIX RIGHT GAP */
    body {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important; /* Changed from 100vw */
        max-width: 100% !important; /* Changed from 100vw */
        overflow-x: hidden !important;
        position: relative;
    }

    /* FORCE SITE MAIN TO BE FULL WIDTH */
    .site-main {
        width: 100% !important;
        max-width: 100% !important; /* Changed from 100vw */
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }
    
    /* Re-add padding to container so content doesn't touch edge */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden;
    }

    /* Override --safe-side so header/nav calculations resolve to 0 */
    body {
        --safe-side: 0px !important;
    }

    /* Ensure header spans full width since body padding is gone */
    header, 
    .site-header {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure mobile nav spans full width */
    .mobile-nav {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Minimum touch target size (44x44px per WCAG 2.1) */
@media (max-width: 768px) {
    button,
    [role="button"],
    a.btn,
    .btn,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ==========================================
   2. HERO SECTION — MOBILE (Complete Overhaul)
   ========================================== */

/* Hero CTA button — always well-sized */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Tablet: shrink hero background, increase text readability */
@media (max-width: 992px) {
    .hero {
        padding: 6rem 0 2.5rem !important;
    }

    .hero-background-image {
        width: 50%;
        opacity: 0.6;
    }

    .hero-content {
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ==========================================
   PHONE HERO — Full-screen immersive design
   Image fills screen, text overlays at bottom
   ========================================== */
@media (max-width: 768px) {

    /* Hero fills the viewport below the header */
    .hero {
        padding: 0 !important;
        margin-top: 0 !important;
        position: relative;
        overflow: hidden;
        min-height: 75vh;
        display: flex !important;
        align-items: flex-end !important;
        background: #0a1a15; /* Fallback dark bg */
    }

    /* Keep hero below header */
    .site-main > .hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Full-bleed background image */
    .hero-background-image {
        width: 100% !important;
        height: 100% !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 1 !important;
        z-index: 1;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    .hero-background-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 40%; /* Show more of the village & landscape */
    }

    /* Gradient overlay — dark at bottom for text, clear at top to show image */
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70%;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.45) 40%,
            rgba(0, 0, 0, 0.0) 100%
        );
        z-index: 2;
        pointer-events: none;
    }

    /* Dark mode: slightly stronger overlay */
    [data-theme="dark"] .hero::after {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.15) 100%
        );
    }

    /* Dark mode image */
    [data-theme="dark"] .hero-background-image {
        opacity: 0.7 !important;
    }

    /* Container inside hero — sits at bottom */
    .hero > .container {
        position: relative;
        z-index: 3;
        width: 100% !important;
        padding-bottom: 2rem !important;
    }

    /* Text content — no card, text directly over gradient */
    .hero-content {
        position: relative;
        z-index: 3;
        max-width: 100%;
        text-align: center;
        margin: 0 !important;
        padding: 1.5rem 0.5rem !important;
        /* REMOVE card styling */
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Dark mode — same, no card */
    [data-theme="dark"] .hero-content {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* White text over the dark gradient */
    .hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 2.6rem) !important;
        margin-bottom: 0.75rem;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.4);
        font-weight: 700;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-bottom: 0.75rem;
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    }

    /* Hide the second paragraph to keep it clean */
    .hero-content p:nth-of-type(2) {
        display: none;
    }

    /* CTA button — prominent over the gradient */
    .hero-content .btn-primary,
    .hero-content .hero-cta-btn {
        display: inline-flex !important;
        width: auto;
        max-width: 320px;
        justify-content: center;
        padding: 14px 32px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 4px;
        background: var(--primary, #2f6f61) !important;
        color: #fff !important;
        box-shadow: 0 4px 20px rgba(47, 111, 97, 0.4);
        margin-top: 0.5rem;
        text-decoration: none;
    }

    .hero-content .btn-primary:active,
    .hero-content .hero-cta-btn:active {
        transform: scale(0.97);
    }
}

/* Very small phones (320px) */
@media (max-width: 380px) {
    .hero {
        min-height: 70vh !important;
    }

    .hero-content h1 {
        font-size: 1.6rem !important;
    }

    .hero-content p {
        font-size: 0.85rem !important;
    }
}

/* ==========================================
   3. SERVICES / HIGHLIGHTS SECTION — MOBILE
   ========================================== */

@media (max-width: 768px) {
    .services {
        padding: 2.5rem 0 !important;
    }

    .services h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Override the grid to stack vertically on phones */
    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        overflow-x: visible !important;
        padding: 0 !important;
    }

    .service-card {
        padding: 1.5rem !important;
        border-radius: 4px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        text-align: center;
        flex: none !important;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0;
    }
}

/* ==========================================
   4. BOOKING FORM — MOBILE
   ========================================== */

@media (max-width: 768px) {
    .booking-wizard {
        padding: 1rem !important;
        border-radius: 4px;
        margin: 0 !important; /* Removed negative margin to prevent overflow */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .booking-step-title {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .step-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    /* Date inputs side-by-side even on mobile for compactness */
    .form-group-inline.dates {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem;
    }

    /* Guest counter inputs in 2-column layout */
    .form-group-inline {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem;
    }

    .date-picker-label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .form-control-lg {
        padding: 0.5rem 0.65rem;
        font-size: 0.95rem;
    }

    /* Booking preview tighter */
    .booking-preview {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 4px;
    }

    .booking-preview-item {
        padding: 0.35rem 0;
    }

    .booking-preview-label {
        font-size: 0.85rem;
    }

    .booking-preview-value {
        font-size: 1rem;
    }

    /* Submit button full width with bigger touch target */
    .btn-lg-wide {
        padding: 14px 1rem;
        font-size: 1rem;
        border-radius: 4px;
    }

    /* Info boxes below booking */
    .booking-info-box {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 380px) {
    .form-group-inline.dates {
        grid-template-columns: 1fr !important;
    }

    .booking-wizard {
        padding: 1rem !important;
    }
}

/* ==========================================
   5. AVAILABLE ROOMS FILTER BAR — MOBILE
   ========================================== */

@media (max-width: 768px) {
    /* Restructure the filter form from 5 columns to a sensible mobile layout */
    .booking-preview .row.g-3 {
        gap: 0.5rem !important;
    }

    .booking-preview .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0.25rem;
    }

    /* Nights display centered full width */
    .booking-preview .col-md-2.text-center {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .booking-preview .col-md-12 {
        padding-top: 0.5rem;
    }

    /* Smaller filter inputs */
    .booking-preview .form-control-sm {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.5rem;
    }

    .booking-preview .input-group-sm .btn {
        padding: 0.25rem 0.5rem;
        min-width: 32px;
        min-height: 32px;
    }

    .booking-preview .input-group-sm .form-control {
        font-size: 0.9rem;
    }
}

/* ==========================================
   6. ROOM CARDS — MOBILE
   ========================================== */

@media (max-width: 768px) {
    /* Room cards: 1 column on phone */
    .row.g-4 > .col-md-6,
    .row.g-4 > .col-lg-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .room-card {
        border-radius: 4px;
    }

    .room-card img {
        height: 180px;
    }

    .room-card-body {
        padding: 1rem;
    }

    .room-card-title {
        font-size: 1.05rem;
    }

    .room-card-text {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .room-price {
        font-size: 1.1rem;
    }

    /* Disable hover lift on touch devices */
    .room-card:hover {
        transform: none;
    }

    /* Room card buttons: bigger touch target */
    .room-card .btn-primary {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================
   7. ROOM DETAIL PAGE — MOBILE
   ========================================== */

@media (max-width: 768px) {
    .room-detail-hero .carousel-inner img,
    .room-detail-hero > img {
        height: 240px !important;
        border-radius: 4px;
    }

    .room-detail-hero {
        border-radius: 4px;
        margin-bottom: 1.25rem;
    }

    /* Always show carousel controls on mobile (no hover) */
    .room-detail-hero .carousel-control-prev,
    .room-detail-hero .carousel-control-next {
        opacity: 0.7 !important;
    }

    .room-detail-hero .carousel-control-prev-icon,
    .room-detail-hero .carousel-control-next-icon {
        width: 36px;
        height: 36px;
    }

    .room-detail-header h1 {
        font-size: 1.5rem !important;
    }

    .room-detail-pricing .price {
        font-size: 1.5rem;
    }
}

/* ==========================================
   8. CONTACT PAGE — MOBILE
   ========================================== */

@media (max-width: 768px) {
    .contact-card {
        padding: 1.25rem;
        border-radius: 4px;
    }

    .contact-card .form-control {
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .contact-card textarea.form-control {
        font-size: 16px;
        min-height: 120px;
    }

    .contact-card .btn-primary {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        min-height: 48px;
    }
}

/* ==========================================
   9. FOOTER — MOBILE
   ========================================== */

@media (max-width: 768px) {
    footer {
        padding: 24px 0 16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-links {
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .footer-links a {
        font-size: 0.85rem;
        padding: 8px 12px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    footer p {
        font-size: 0.8rem;
        padding-top: 1rem;
    }
}

/* ==========================================
   10. HEADER / NAV — MOBILE FIXES
   ========================================== */

@media (max-width: 768px) {
    /* Ensure header doesn't eat too much vertical space */
    .site-header .container,
    header .container {
        padding: 8px 12px !important;
    }

    .logo img {
        height: 36px !important;
    }

    /* Nav buttons spacing tighter */
    .header-actions {
        gap: 6px !important;
    }

    /* Ensure all header buttons meet touch target */
    .header-actions .nav-btn,
    .header-actions .nav-button {
        min-width: 36px;
        min-height: 36px;
    }

    /* Mobile nav: smooth slide-down, better touch targets */
    .mobile-nav ul li a {
        padding: 16px 20px !important;
        font-size: 1rem;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Offset main content for mobile header */
    .site-main {
        padding-top: 70px;
    }

    .site-main > .hero {
        margin-top: -70px;
        padding-top: calc(70px + 1rem) !important;
    }
}

/* ==========================================
   11. TYPOGRAPHY — MOBILE
   ========================================== */

@media (max-width: 768px) {
    h1, .display-5 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.2;
    }

    h2 {
        font-size: clamp(1.25rem, 5vw, 1.6rem) !important;
    }

    h2::after {
        width: 40px;
        height: 3px;
    }

    h3 {
        font-size: clamp(1rem, 4vw, 1.25rem) !important;
    }

    p, .lead {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }

    .lead {
        font-size: 1rem !important;
    }

    /* Section spacing reduced on mobile */
    .section,
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 380px) {
    h1, .display-5 {
        font-size: 1.4rem !important;
    }

    p {
        font-size: 0.9rem !important;
    }
}

/* ==========================================
   12. IOS-SPECIFIC FIXES
   ========================================== */

/* Prevent iOS from zooming on input focus (requires 16px minimum) */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="date"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* iOS safe area padding for notch devices */
@supports (padding: env(safe-area-inset-bottom)) {
    footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .mobile-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ==========================================
   13. FEATURE CARDS (BOOKING & ROOMS PAGE) — MOBILE
   ========================================== */

@media (max-width: 768px) {
    /* Feature cards: stack vertically with smaller icons */
    .border-top .row.g-4 .col-md-4 {
        text-align: center;
        padding: 0.75rem 0;
    }

    .border-top .row.g-4 .col-md-4 > div:first-child {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem !important;
    }

    .border-top h6 {
        font-size: 0.95rem;
    }

    .border-top .small {
        font-size: 0.8rem;
    }

    /* Payment logos smaller on mobile */
    .payment-logo {
        height: 22px !important;
    }
}

/* ==========================================
   14. GUEST COUNTER INPUTS — MOBILE
   ========================================== */

@media (max-width: 768px) {
    .input-group.input-group-lg {
        border-radius: 8px;
    }

    .input-group.input-group-lg .btn {
        padding: 0.4rem 0.75rem;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.2rem;
    }

    .input-group.input-group-lg .form-control {
        font-size: 1.1rem !important;
        padding: 0.4rem 0.25rem;
    }
}

/* ==========================================
   15. BOOKING CONFIRMATION PAGE — MOBILE
   ========================================== */

@media (max-width: 768px) {
    .card {
        border-radius: 4px;
    }

    .card-body {
        padding: 1rem;
    }

    .price-calculation-box {
        border-radius: 4px;
        padding: 1rem;
    }

    /* Form labels tighter */
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
}

/* ==========================================
   16. REDUCED MOTION SUPPORT
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-background-image {
        animation: none !important;
    }

    .room-card:hover,
    .service-card:hover,
    .card:hover {
        transform: none !important;
    }
}

/* ==========================================
   17. LANDSCAPE PHONE FIXES
   ========================================== */

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 1.5rem !important;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p:nth-of-type(2) {
        display: none;
    }

    .site-main {
        padding-top: 60px;
    }

    .site-main > .hero {
        margin-top: -60px;
        padding-top: calc(60px + 0.5rem) !important;
    }
}

/* ==========================================
   18. CALENDAR PAGE — MOBILE
   ========================================== */

@media (max-width: 768px) {
    /* FullCalendar mobile improvements */
    .fc .fc-toolbar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .fc .fc-toolbar-title {
        font-size: 1.1rem !important;
    }

    .fc .fc-button {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-height: 36px;
    }

    .fc .fc-daygrid-day-number {
        font-size: 0.85rem;
        padding: 4px;
    }

    .fc .fc-daygrid-event {
        font-size: 0.7rem;
        padding: 2px 4px;
    }
}

/* ==========================================
   19. SCROLL BEHAVIOR
   ========================================== */

/* Smooth scroll on the entire page */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Hide scrollbar on mobile but keep scrolling */
@media (max-width: 768px) {
    body::-webkit-scrollbar {
        width: 0;
        display: none;
    }

    body {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

/* ==========================================
   20. DARK MODE — MOBILE SPECIFICS
   ========================================== */

@media (max-width: 768px) {
    [data-theme="dark"] .hero-background-image {
        opacity: 0.2;
    }

    [data-theme="dark"] .booking-wizard {
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    [data-theme="dark"] .room-card {
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .service-card {
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .contact-card {
        border: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ==========================================
   22. BOOKING CARD FIX (STICKY ISSUE)
   ========================================== */
@media (max-width: 992px) {
    .booking-card {
        position: relative !important;
        top: auto !important;
        margin-top: 2rem;
        z-index: 10;
        width: 100% !important;
        box-shadow: none !important;
        background: var(--bg-secondary) !important;
        border: 1px solid var(--border-color);
    }
}

/* ==========================================
   NEW HERO-SECTION MOBILE OVERRIDES
   (for the 2026 Startseite overhaul)
   ========================================== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        min-height: 80dvh;
        padding-top: 60px;
    }
    
    .glass-panel {
        padding: 1.75rem 1.5rem !important;
        border-radius: 4px !important;
    }
    
    .hero-eyebrow {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-heading {
        font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        min-height: 48px; /* Touch target */
    }
    
    .scroll-down-indicator {
        bottom: 16px;
    }
    
    /* Feature section mobile */
    .section-features {
        padding: 3rem 0 !important;
    }
    
    .feature-card-v2 {
        padding: 1.5rem 1.25rem;
        border-radius: 4px;
    }
    
    .feature-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        border-radius: 4px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .hero-section {
        min-height: 75vh;
        min-height: 75dvh;
    }
    
    .glass-panel {
        padding: 1.25rem 1rem !important;
        border-radius: 4px !important;
    }
    
    .hero-heading {
        font-size: 1.4rem !important;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
    }
}

@media print {
    .site-header,
    .mobile-nav,
    .hover-trigger,
    footer,
    .btn-primary,
    .theme-toggle,
    .mobile-menu-toggle,
    .header-actions {
        display: none !important;
    }

    .site-main {
        padding-top: 0 !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}
