/* Large carousel images (homepage) */
.carousel-img-large {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}
/* QR code image styles */
.qrcode-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}
.qrcode-img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 8px;
}
/* Contact form styles */
.contact-section {
    max-width: 500px;
    margin: 48px auto 0 auto;
    background: #f8f8f8;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 40px 32px 32px 32px;
    border: 1.5px solid #e0e0e0;
    transition: box-shadow 0.2s, border 0.2s;
}
.contact-section:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border: 1.5px solid #bdbdbd;
}
.contact-section h2 {
    margin-top: 0;
    margin-bottom: 18px;
    text-align: center;
    color: #1a1a1a;
    font-size: 2em;
    letter-spacing: 1px;
    font-weight: 700;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border: 1.5px solid #ccc;
    border-radius: 7px;
    font-size: 1.08rem;
    font-family: inherit;
    background: #fff;
    resize: vertical;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid #888;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.contact-form textarea {
    min-height: 90px;
    max-height: 260px;
}

/* Validation helper classes (used by contact form JS) */
.contact-form input.invalid,
.contact-form textarea.invalid {
    border-color: #e74c3c !important;
}
.contact-form input.valid,
.contact-form textarea.valid {
    border-color: #27ae60 !important;
}
.form-status.status--error { color: #e74c3c; }
.form-status.status--success { color: #27ae60; }
/* General status modifiers usable on any element */
.status--error { color: #e74c3c; }
.status--success { color: #27ae60; }

/* Floating cart button used across gallery pages */
.fj-cart-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    background: #D32F2F;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7em 1.5em;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
    transition: all 0.2s ease;
    cursor: pointer;
}
.fj-cart-btn:hover {
    background: #B71C1C;
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.6);
    transform: translateY(-2px);
}

/* Global hidden helper used by scripts */
.hidden { display: none !important; }

/* Confirmation banner (index.html order confirmation) */
.fj-confirm {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: #28a745;
        color: white;
        padding: 1.5em 2em;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        z-index: 10000;
        font-size: 1.1em;
        font-weight: 600;
        text-align: center;
        min-width: 300px;
        opacity: 0;
        transform-origin: center top;
}
.fj-confirm.show { animation: slideDown 0.5s ease forwards; }
.fj-confirm.hide { animation: slideUp 0.5s ease forwards; }

@keyframes slideDown {
    from { transform: translateX(-50%) translateY(-40px); opacity: 0; }
    to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateX(-50%) translateY(0); opacity: 1; }
    to   { transform: translateX(-50%) translateY(-40px); opacity: 0; }
}

/* --- Payment page styles moved from payment.html <style> --- */
.payment-summary {
    background: #fff;
    border-radius: 8px;
    padding: 1.5em;
    margin-bottom: 2em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.payment-summary h2 { margin-top: 0; color: #333; border-bottom: 2px solid #f0f0f0; padding-bottom: 0.5em; }
.payment-options { background: #fff; border-radius: 8px; padding: 1.5em; margin-bottom: 2em; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.payment-options h2 { margin-top: 0; color: #333; text-align: center; }
.payment-methods { display: grid; gap: 1.5em; margin-top: 2em; }
.payment-method { border: 2px solid #e0e0e0; border-radius: 8px; padding: 1.5em; transition: all 0.2s ease; }
.payment-method:hover { border-color: #4A90E2; box-shadow: 0 4px 12px rgba(74,144,226,0.15); }
.payment-method.disabled { opacity: 0.5; pointer-events: none !important; background-color: #f5f5f5; border-color: #ddd; cursor: not-allowed !important; }
.payment-method.disabled:hover { border-color: #ddd; box-shadow: none; }
.payment-method.disabled * { pointer-events: none !important; cursor: not-allowed !important; }
#paypal-qr-confirm-btn:hover { background: #005ea6 !important; transform: scale(1.05); }
.payment-method.disabled #paypal-qr-confirm-btn { opacity: 0.5; cursor: not-allowed !important; pointer-events: none !important; }
#submit-order-btn:hover { background: #218838 !important; transform: scale(1.02); box-shadow: 0 4px 12px rgba(40,167,69,0.3); }
.payment-header { display:flex; align-items:center; gap:1em; margin-bottom:1em; }
.payment-logo { width:40px; height:40px; object-fit:contain; }
.payment-header h3 { margin:0; color:#333; font-size:1.3em; }
.payment-btn { background:#4A90E2; color:white; border:none; border-radius:6px; padding:0.8em 1.5em; font-size:1em; font-weight:600; cursor:pointer; transition:all 0.2s ease; margin-top:1em; }
.payment-btn:hover { background:#2c5aa0; transform:translateY(-1px); }
.paypal-btn { background:#0070ba; }
.paypal-btn:hover { background:#005ea6; }
.qr-section { text-align:center; margin-top:1em; }
.qr-code { width:120px; height:120px; border:1px solid #ddd; border-radius:8px; padding:8px; background:white; }
.zelle-info { background:#f8f9fa; border-radius:6px; padding:1em; margin:1em 0; }
.zelle-info p { margin:0.5em 0; font-size:0.95em; }
.payment-instructions { background:#fff; border-radius:8px; padding:1.5em; box-shadow:0 2px 8px rgba(0,0,0,0.08); }
.back-btn { display:inline-block; background:#666; color:white; text-decoration:none; padding:0.8em 1.5em; border-radius:6px; font-weight:500; transition:all 0.2s ease; }
.back-btn:hover { background:#555; transform:translateY(-1px); }
.payment-instructions .instructions-box h3 { text-align: center; margin-top: 0; }

/* Utility to center a block (used for return buttons, footers) */
.centered-section { text-align: center; margin-top: 1.2em; }
.payment-complete-btn { background:#28a745; color:white; border:none; border-radius:8px; padding:1em 2.5em; font-size:1.1em; font-weight:600; cursor:pointer; transition:all 0.3s ease; box-shadow:0 4px 12px rgba(40,167,69,0.3); }
.payment-complete-btn:hover { background:#218838; transform:translateY(-2px); box-shadow:0 6px 16px rgba(40,167,69,0.4); }
.payment-complete-btn:active { transform:translateY(0); }
.qr-action-btn:hover img { transform:scale(1.05); box-shadow:0 4px 12px rgba(0,0,0,0.2); }
.paypal-layout { display:flex; align-items:center; justify-content:space-between; gap:2em; }
.payment-content { flex:1; }
.payment-logo-large { flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.payment-logo-large img { width:120px; height:auto; opacity:0.8; }
.paypal-logo-link { display:inline-block; transition:all 0.2s ease; }
.paypal-logo-link:hover { transform:scale(1.05); }
.payment-logo-clickable { width:150px; height:auto; cursor:pointer; transition:all 0.2s ease; }
.payment-logo-clickable:hover { opacity:0.8; }
.qr-section-inline { margin-top:0.5em; }
.qr-code-large { flex-shrink:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.qr-code-large img { width:140px; height:140px; border:1px solid #ddd; border-radius:8px; padding:8px; background:white; box-shadow:0 2px 8px rgba(0,0,0,0.1); }
@media (max-width: 768px) {
    .payment-header { flex-direction:column; text-align:center; gap:0.5em; }
    .payment-method { padding:1em; }
    .qr-code { width:100px; height:100px; }
    .paypal-layout { flex-direction:column; text-align:center; gap:1em; }
    .payment-logo-large img { width:90px; }
    .payment-logo-clickable { width:120px; }
    .qr-code-large img { width:120px; height:120px; }
    .qr-section-inline p { text-align:center; }
}

/* --- Testimonials styles moved from testimonials.html <style> --- */
.testimonials-section { max-width:800px; margin:2em auto; padding:2em; background:#fafafa; border-radius:12px; box-shadow:0 4px 16px rgba(0,0,0,0.07); }
.testimonial-row { display:flex; align-items:center; gap:2em; margin-bottom:2em; }
.testimonial-img { width:160px; max-width:160px; height:auto; min-height:120px; max-height:200px; object-fit:contain; background:#f8f8f8; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,0.12); flex-shrink:0; }
.testimonial-img-small { width:120px !important; max-width:120px !important; max-height:160px !important; }
.testimonial-img-large { width:200px !important; max-width:200px !important; max-height:250px !important; }
.testimonial-img-cropped { width:160px !important; height:160px !important; object-fit:cover !important; background:transparent !important; }
.testimonial-img-portrait { width:140px !important; max-width:140px !important; max-height:220px !important; }
.testimonial-img-landscape { width:180px !important; max-width:180px !important; max-height:140px !important; }
.testimonial-text { flex:1; font-size:1.1em; color:#222; background:#fff; border-radius:8px; padding:1.2em 1.5em; box-shadow:0 1px 4px rgba(0,0,0,0.04); min-height:132px; }
@media screen and (max-width: 768px) {
    .testimonial-row { flex-direction:column; text-align:center; gap:1em; }
    .testimonial-img { width:140px !important; max-width:140px !important; align-self:center; }
    .testimonial-text { min-height: 0; font-size:1em; }
}

/* End moved styles */
.contact-form button[type="submit"] {
    margin-top: 10px;
    background: linear-gradient(90deg, #222 60%, #444 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.12rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s;
}
.contact-form button[type="submit"]:hover {
    background: linear-gradient(90deg, #444 60%, #222 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
.form-status {
    margin-top: 8px;
    font-size: 1em;
    min-height: 1.2em;
    text-align: center;
    font-weight: 500;
}
@media (max-width: 600px) {
    .contact-section {
        padding: 14px 4px 10px 4px;
    }
}
/* Carousel styles */
.carousel-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 32px 0 32px 0;
}
.carousel-img {
    width: 384px;
    height: 252px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
    background: #eee;
    transition: box-shadow 0.2s;
}
.carousel-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, box-shadow 0.2s;
}
.carousel-btn:hover {
    background: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
@media (max-width: 600px) {
    .carousel-img {
        width: 98vw;
        height: 34vw;
        min-height: 90px;
        max-width: 99vw;
    }
    .carousel-section {
        gap: 8px;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}
header {
    padding: 32px 0 16px 0;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.logo {
    max-width: 100vw;
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
}
nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}
nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}
nav a:hover, nav a.active {
    background: #e0e0e0;
}
.main-content {
    max-width: 900px;
    margin: 32px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 32px 24px;
}
/* Author blurb */
.author-blurb {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.15rem;
    color: #444;
}

/* Updates section */
.updates-section {
    background: #ebebeb;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.updates-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.updates-section h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.updates-section p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

/* About section */
.about-section {
    background: #f2f2f2;
    border-radius: 10px;
    padding: 32px 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
}

.about-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: #333;
}
.about-text h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #1a1a1a;
    text-align: center;
}
.about-text p {
    margin: 0 0 10px 0;
    text-align: center;
}
.about-quote {
    font-style: italic;
    text-align: center;
}

/* Thumbnails */
.thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 32px;
}
.gallery-grid { gap: 32px; margin-top: 24px; }
.grid-4x5 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-item { text-align: center; }
.grid-4x5 .thumbnail { width: 100%; height: 200px; object-fit: cover; }
.grid-num-cap { margin-top: 8px; font-weight: 600; color: #333; font-size: 0.9em; }

/* Gallery headings and price info */
.gallery-title { text-align: center; }
.gallery-price-info {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 1em;
    color: #222;
}

.gallery-subhead { text-align: center; font-weight: 700; font-size: 1.1em; color: #333; margin: 0.5em 0 1em 0; }

.highlight-email { color: #0070ba; }
.important-note { font-size: 0.9em; color: #dc3545; margin-top: 1em; font-weight: 600; }

/* Shared notice bubble used on gallery pages */
.gallery-info-bubble {
    max-width: 700px;
    margin: 2em auto 1.5em auto;
    padding: 1.2em 2em;
    background: #f6f6f6;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-align: center;
    color: #444;
    font-size: 1.08em;
}

.gallery-click-enlarge { text-align: center; font-weight: bold; font-size: 1.1em; color: #333; margin: 0.5em 0 1em 0; }

.page-title { text-align: center; margin-top: 1em; }

/* Events page styles */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.event-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

.event-card.upcoming {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
}

.event-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.event-header h2 {
    margin: 0 0 8px 0;
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 700;
}

.event-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.5px;
}

.event-details p {
    margin: 8px 0;
    color: #444;
    line-height: 1.5;
}

.event-details strong {
    color: #222;
}

.event-details a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
}

.event-details a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

.events-footer {
    margin-top: 2em;
}

/* Event Photo Layout */
.event-content-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.event-text-content {
    flex: 1;
    max-width: 65%;
}

.event-photo-section {
    flex: 0 0 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-photo {
    width: 100%;
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 12px;
}

.event-photo-caption {
    font-size: 0.95em;
    color: #555;
    font-style: italic;
    text-align: center;
    line-height: 1.4;
}

/* Mobile responsive for events */
@media (max-width: 768px) {
    .event-content-wrapper {
        flex-direction: column;
    }
    
    .event-text-content {
        max-width: 100%;
    }
    
    .event-photo-section {
        flex: 0 0 auto;
        width: 100%;
        margin-top: 16px;
        align-items: center;
    }
    
    .event-photo {
        width: 140px !important;
        max-width: 140px !important;
        max-height: 140px !important;
    }
}

/* Gallery Card Styling */
.grid-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    border: 1px solid #f0f0f0;
}
.grid-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}
.grid-item .thumbnail {
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}
.grid-item .grid-num-cap {
    font-size: 0.85em;
    color: #666;
    margin: 8px 0 6px 0;
    font-weight: 500;
}

/* Clickable Number Styling */
.clickable-number {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    -webkit-user-select: none;
    user-select: none;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    color: #555;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.clickable-number::after {
    content: " CART";
    font-size: 0.7em;
    opacity: 0.8;
    color: #4A90E2;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.clickable-number:hover {
    background-color: #e8f4fd;
    border-color: #4A90E2;
    color: #2c5aa0;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.2);
}

.clickable-number:hover::after {
    opacity: 1;
}
.grid-item button {
    font-size: 0.9em !important;
    padding: 0.35em 0.8em !important;
}

/* Hover Overlay for Adding to Cart */
.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}
.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
}
.image-container:hover .cart-overlay {
    opacity: 1;
}
.cart-icon {
    color: white;
    font-size: 2em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    pointer-events: none;
}
.thumbnail, .gallery-img {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.thumbnail:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.modal.open {
    display: flex;
}
.modal-content {
    background: none;
    border: none;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
}
.modal-content img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
    cursor: default;
}
.modal-back-btn {
    margin-top: 20px;
    background: #fff;
    color: #333;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.modal-back-btn:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Footer */
.site-footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 24px 0 12px 0;
    margin-top: 48px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}
.footer-content {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .updates-section {
        padding: 16px 16px;
        margin-bottom: 20px;
    }
    
    .updates-section h2 {
        font-size: 1.1rem;
    }
    
    .updates-section p {
        font-size: 0.95rem;
    }
    
    .about-section {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 20px 8px;
    }
    .about-img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    nav { flex-wrap: nowrap; overflow-x: auto; gap: 10px; font-size: 0.98rem; padding: 0 2vw; }
    nav a { white-space: nowrap; padding: 6px 8px; font-size: 1em; }
    .main-content { padding: 8px 2px; max-width: 99vw; }
    .thumbnails, .gallery-grid { gap: 6px; flex-wrap: wrap; }
    .grid-4x5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .grid-item { padding: 8px; margin-bottom: 8px; }
    .grid-item .grid-num-cap { font-size: 0.8em; }
    .grid-item button { font-size: 0.85em !important; padding: 0.3em 0.6em !important; }
    /* Scope gallery thumbnail sizing to grid items only (avoid blowing up homepage thumbs) */
    .grid-4x5 .thumbnail { width: 100%; height: 150px; object-fit: cover; }
    /* Keep generic carousel images responsive */
    .carousel-img { width: 98vw; height: auto; min-height: 90px; max-width: 99vw; }
    .carousel-section { gap: 8px; flex-direction: column; align-items: center; }
    /* Homepage hero tiles (two big title images) stack vertically and scale down on phones */
    .carousel-multi { flex-direction: column !important; gap: 12px !important; }
    .carousel-multi > div { max-width: 100% !important; flex: 1 1 auto !important; }
    .carousel-img-large { max-width: 92vw !important; height: auto; }
    /* Homepage latest thumbs row: keep thumbnails compact on phones */
    .carousel-thumbs-row .thumbnail { width: 22vw; height: 33vw; max-width: 24vw; object-fit: cover; border-radius: 8px; }
    .updates-section { padding: 12px 8px !important; margin-bottom: 16px !important; }
    .updates-section h2 { font-size: 1rem !important; margin-bottom: 6px !important; }
    .updates-section p { font-size: 0.9rem !important; }
    .about-section { padding: 6px 1px; flex-direction: column; gap: 8px; }
    .about-img { width: 80px; height: 80px; }
    .gallery-info-bubble { font-size: 0.98em !important; padding: 0.7em 0.5em !important; max-width: 98vw !important; }
    .site-footer { padding: 10px 0 6px 0; font-size: 0.98em; border-radius: 8px 8px 0 0; }
    .modal-content img { max-width: 98vw; max-height: 60vh; }
    .modal-back-btn { padding: 10px 30px; font-size: 14px; margin-top: 15px; }
}

@media (max-width: 420px) {
    .grid-4x5 { grid-template-columns: 1fr; }
}

/* Utilities for JS-driven layout classes (replace inline styles) */
.fj-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(110%);
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0;
}
.fj-notification.show { transform: translateX(0); opacity: 1; }
.fj-notification--success { background: linear-gradient(135deg, #4A90E2, #357ABD); }
.fj-notification--warning { background: linear-gradient(135deg, #F5A623, #E8951C); }

/* Cart modal inner adjustments (previously inline) */
.fj-cart-inner { background: #fff; padding: 2em; border-radius: 12px; max-width: 500px; width: 90%; text-align: center; max-height: 70vh; overflow-y: auto; }

/* Grid utilities for responsive-handler.js */
.grid-4x5.g-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4x5.g-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4x5.g-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-4x5.g-gap-8 { gap: 8px; }
.grid-4x5.g-gap-12 { gap: 12px; }
.grid-4x5.g-gap-14 { gap: 14px; }
.grid-4x5.g-gap-16 { gap: 16px; }

/* Thumbnail fit/background utilities */
.thumbnail.fit-contain { object-fit: contain; }
.thumbnail.fit-cover { object-fit: cover; }
.thumbnail.thumbnail--bg { background: #f8f8f8; }

/* Touch feedback class used by responsive handler */
.grid-item.touch-pressed { transform: scale(0.98); transition: transform 0.12s ease; }

/* Customer Information Form Styles */
.customer-info {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 2em;
    margin: 2em 0;
    border: 1px solid #ddd;
}

.customer-info h2 {
    color: #333;
    margin-bottom: 1.5em;
    border-bottom: 2px solid #8B4513;
    padding-bottom: 0.5em;
}

.customer-info h3 {
    margin-top: 2em;
    margin-bottom: 1em;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 5px rgba(139, 69, 19, 0.3);
}

.form-group input:required:invalid {
    border-color: #e74c3c;
}

.form-group input:required:valid {
    border-color: #27ae60;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Customer Info Mobile Styles */
@media (max-width: 768px) {
    .customer-info {
        padding: 1.5em;
        margin: 1em 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1em;
    }
}

/* Contact Form Validation Styles */
.contact-form input:required:invalid,
.contact-form textarea:required:invalid {
    border-color: #e74c3c;
}

.contact-form input:required:valid,
.contact-form textarea:required:valid {
    border-color: #27ae60;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 5px rgba(139, 69, 19, 0.3);
}

/* Homepage carousel layout moved from inline styles */
.carousel-multi {
    display: flex;
    justify-content: center;
    gap: 6vw;
    align-items: flex-start;
    margin-bottom: 1.5em;
}
.carousel-tile { flex: 1; text-align: center; max-width: 45%; margin: 0 8px; }
.carousel-tile .carousel-img-large { margin: 8px; border-radius: 16px; }

.section-heading-wrap { text-align: center; margin-bottom: 1em; margin-top: -1em; }
.section-heading { font-size: 1.6em; font-weight: bold; letter-spacing: 1px; margin: 0; text-align: center; }

.carousel-thumbs-row { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.carousel-thumbs-row .carousel-btn { height: 40px; }
.thumbs-inner { display: flex; gap: 0.5em; }

.confirm-sub { font-size: 0.85em; font-weight: 400; margin-top: 0.5em; display: block; }

/* Moved inline-style rules (contact, cart, small utilities) */
.contact-intro {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 0.95em;
    color: #666;
}

.notify-box {
    margin: 1.5em 0;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}
.notify-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}
.notify-checkbox {
    margin-right: 0.5em;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#cart-thumbs-row-contact {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 12px;
    margin: 1em 0 1.5em 0;
    padding: 0.25em 0.25em 0.5em 0.25em;
}

#clear-cart-btn {
    background: #666;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5em 1em;
    margin: 0 0 1em 0;
    font-size: 0.9em;
    cursor: pointer;
    display: none;
}

#payment-section {
    display: none;
    background: #f0f8ff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1em;
    margin: 1em 0;
}
.payment-title { margin-top: 0; font-size: 1.1em; color: #333; }
#order-total { font-weight: 600; margin-bottom: 0.5em; }
.shipping-note { margin: 0.5em 0; font-size: 0.9em; color: #666; }
#venmo-pay-btn { background: #3D95CE; color: #fff; border: none; border-radius: 5px; padding: 0.7em 1.5em; font-size: 1em; cursor: pointer; margin: 0.5em 0; }
.payment-note { font-size: 0.85em; color: #888; margin: 0.5em 0 0 0; }
.no-prints { color: #888; }

.cart-thumb { display: flex; flex-direction: column; align-items: center; }
.cart-thumb-img { max-width: 80px; max-height: 80px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 0.3em; }
.cart-thumb-title { font-size: 0.9em; }

/* fj cart modal and items */
.fj-cart-item { display: inline-block; margin: 0.5em 0.6em; text-align: center; }
.fj-thumb-wrap { position: relative; display: inline-block; }
.fj-remove { position: absolute; top: -8px; right: -8px; z-index: 2; width: 24px; height: 24px; border: none; border-radius: 50%; background: #ff4d4f; color: #fff; cursor: pointer; line-height: 24px; font-weight: 700; }
.fj-thumb-img { max-width: 120px; max-height: 120px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: block; }
.fj-item-title { margin-top: 0.4em; font-size: 0.95em; }
#fj-estimate { margin: 0.5em 0 0.5em 0; font-weight: 600; }
.muted-italic { margin: 0.5em 0; color: #666; font-style: italic; }
.muted-inline { font-weight: 400; color: #666; }
.btn-send-cart { margin-top: 1em; padding: 0.7em 1.5em; font-size: 1em; }
.btn-clear-cart-small { margin-top: 1em; margin-left: 1em; padding: 0.7em 1.5em; font-size: 1em; background: #eee; }
.btn-close-cart { margin-top: 2em; padding: 0.5em 1.2em; }

/* Modal overlay and content for cart */
#cart-modal.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
}
#cart-modal .modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px;
    max-width: 760px;
    width: calc(100% - 40px);
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}
/* Ensure cart inner scrolls if many items */
.fj-cart-inner { display: block; }

/* Position close button in modal top-right */
.btn-close-cart {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
    background: #eee;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Modal thumbnails layout */
#fj-cart-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center; /* center items horizontally */
    align-items: center;    /* center items vertically within row */
    align-content: center;  /* center wrapped rows within container */
    margin: 0 auto;
}
.fj-cart-item { width: 120px; text-align: center; display: inline-block; }
.fj-cart-item .fj-thumb-img { width: 120px; height: 120px; object-fit: cover; display: block; }

@media (max-width: 520px) {
    .fj-cart-item { width: 100px; }
    .fj-cart-item .fj-thumb-img { width: 100px; height: 100px; }
    .btn-close-cart { top: 8px; right: 8px; }
}

/* Additional cart item styles for payment/cart pages */
.cart-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f3f3;
}
.cart-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
}
.cart-item-img {
    width: 96px;
    height: 96px;
    max-width: 96px;
    max-height: 96px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.delete-item-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.12s ease;
}
.delete-item-btn:hover { background: #fff6f6; border-color: #f5c6cb; transform: translateY(-1px); }
.delete-hover { transform: scale(1.02); }
.totals-card .totals-row { display:flex; justify-content:space-between; padding:6px 0; }
.bundle-note { color:#2c7a2a; font-weight:600; margin-top:8px; }

@media (max-width: 600px) {
    .cart-item-img { width:72px; height:72px; max-width:72px; max-height:72px; }
}

/* Ensure payment page cart list renders vertically and doesn't collapse into a horizontal thumbnail row */
#payment-cart-items {
    display: block;
}
#payment-cart-items .cart-item-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
#payment-cart-items .cart-item-left { flex: 1 1 auto; }
#payment-cart-items .delete-item-btn { margin-left: 12px; }

@media (max-width: 520px) {
    #cart-thumbs-row-contact img { max-width: 72px; max-height: 72px; }
    #cart-thumbs-row-contact { gap: 10px; }
    .fj-thumb-img { max-width: 100px !important; max-height: 100px !important; }
}
