/* GLOBAL RESET */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;

    /* UPDATED COLORS */
    background: #e0d1ba;
    color: #000033;
}

/* HEADER */
header {
    text-align: center;
    padding: 15px 0;
}

header img {
    max-width: 100%;
    height: auto;
}

/* MAIN CONTENT AREA — MERGED */
main {
    width: 95%;
    max-width: 900px;
    margin: 15px auto;
    padding: 10px;
    background: #f7f2e8;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    text-align: left;
}

/* PARAGRAPHS */
main p {
    font-size: 0.9em;
    line-height: 1.3em;
    text-align: left;
}

/* HEADINGS */
h1, h2, h3 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 6px;
}

/* NAVIGATION BAR */
.nav-bar {
    text-align: center !important;
    margin: 15px 0;
}

.nav-bar img {
    margin: 2px;
    max-width: 100%;
    height: auto;
}

/* SPECIMEN BLOCKS */
.specimen {
    margin-bottom: 10px;
    text-align: left;
}

/* FIXED: RESPONSIVE SPECIMEN IMAGES */
.specimen img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 2px solid #555;
    border-radius: 6px;
    margin-bottom: 5px;
}

.specimen-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 3px;
    color: #333;
}

.price {
    font-size: 1.05em;
    color: #800000;
    margin-bottom: 6px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 10px;
    font-size: 0.75em !important;
    color: #444;
}

/* FIX: PAYPAL / VISA LOGO — PROTECTED FROM STRETCHING */
.footer-logo {
    max-width: 180px;
    width: auto;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* -------------------------------------------------- */
/* HOMEPAGE ONLY — CENTERED LAYOUT */
/* -------------------------------------------------- */

main.home {
    text-align: center !important;
}

main.home p {
    text-align: center !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

main.home img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

main.home .nav-bar img {
    display: inline-block !important;
    margin: 4px;
}

main.home hr {
    margin: 20px auto;
    width: 80%;
}

/* -------------------------------------------------- */
/* PRODUCT PAGES — INTRO TEXT ABOVE FIRST PRODUCT */
/* -------------------------------------------------- */

.intro-center {
    text-align: center !important;
}

.intro-center p,
.intro-center img,
.intro-center h2,
.intro-center h3 {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------- */
/* PRODUCT PAGES — EVERYTHING BELOW GUARANTEE */
/* -------------------------------------------------- */

.bottom-center {
    text-align: center !important;
}

.bottom-center p,
.bottom-center img,
.bottom-center h2,
.bottom-center h3 {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------- */
/* RESPONSIVE FIXES FOR MOBILE */
/* -------------------------------------------------- */

/* Make all images scale properly */
img {
    max-width: 100%;
    height: auto;
}

/* Make the navigation bar flexible */
.nav-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.nav-bar img {
    width: 100%;
    max-width: 160px;
    height: auto;
}

/* Mobile adjustments */
@media (max-width: 600px) {

    body {
        font-size: 1rem;
        line-height: 1.4;
    }

    header img {
        max-width: 90%;
    }

    main {
        padding: 12px;
    }

    main.home img {
        max-width: 100%;
    }

    .nav-bar img {
        max-width: 140px;
    }
}
