@media (max-width: 768px) {

    body {
        padding: 0;
        margin: 0;
        font-size: 15px;
        line-height: 1.55;
        width: 100%;
        overflow-x: hidden;
    }

    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.15rem; }

    .header {
        padding: 18px 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        box-sizing: border-box;
    }

    .nav { display: none; }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 4px;
        background: #fff;
        border: 1px solid #ddd;
        position: relative;
        right: 0;
        margin-right: 0;
        transform: translateX(0);
        z-index: 9999;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 12px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        z-index: 99999;
    }

    .mobile-menu.show { display: flex; }

    .mobile-menu a,
    .mobile-menu button,
    .mobile-menu .dropbtn {
        padding: 14px 20px;
        font-size: 15px;
        text-align: left;
        border: none;
        background: none;
        width: 100%;
        color: #222;
        text-decoration: none;
    }

    .mobile-menu .dropdown {
        display: block;
        width: 100%;
    }

    .mobile-menu .dropdown-content {
        display: none;
        padding-left: 20px;
    }

    .mobile-menu .dropdown.show .dropdown-content {
        display: block;
    }

    .hero {
        margin: 10px 15px !important;
        border-radius: 0;
    }

    .slide img {
        height: 200px !important;
        width: 100%;
        object-fit: cover;
    }

    .slide-title {
        font-size: 15px;
        padding: 10px 14px;
        bottom: 15px;
        left: 15px;
    }

    .arrow {
        padding: 10px 12px;
        font-size: 20px;
    }

    .dots { margin-top: 6px; }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .hover-card img { height: 200px; }

    .hover-card .overlay {
        font-size: 14px;
        padding: 10px;
    }

    .page,
    .home-section,
    .product-section-wide {
        padding: 0 20px;
        margin: 30px auto;
        width: 100%;
        box-sizing: border-box;
    }

    .product-container {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .product-title {
        font-size: 26px;
        text-align: center;
    }

    .product-price {
        text-align: center;
        font-size: 18px;
    }

    .product-intro {
        font-size: 15px;
        text-align: center;
    }

    .carousel img {
        width: 100%;
        height: auto;
    }

    .product-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .product-buttons button {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }

    #options-grid,
    .options-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .option-text-card { font-size: 14px; }

    .specs-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 14px;
    }

    .consumables-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .consumable-item img { height: 200px; }

    .consumable-item h3 { font-size: 1.05rem; }

    .footer {
        padding: 20px 10px;
        font-size: 14px;
        text-align: center;
    }

    #back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }

    @media (max-width: 768px) {

        .quote-form {
            padding: 0 20px !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 16px !important;
            width: 100% !important;
            box-sizing: border-box;
        }

        .quote-form input,
        .quote-form textarea,
        .quote-form select {
            width: 100% !important;
            font-size: 15px !important;
            padding: 12px !important;
            box-sizing: border-box;
        }

        #quote-items {
            width: 100% !important;
        }

        #quote-qty {
            width: 100% !important;
            max-width: none !important;
        }

        #size-wrapper,
        #mp-wrapper {
            width: 100% !important;
        }

        #size-wrapper select,
        #mp-wrapper select {
            width: 100% !important;
            padding: 12px;
            font-size: 15px;
        }

        .submit-quote-btn,
        .send-message-btn {
            width: 100% !important;
            padding: 14px;
            font-size: 15px;
        }
    }

    @media (max-width: 768px) {

        .hero {
            max-width: 90%;
            margin: 0 auto;
            transform: translateX(4px);
        }

        .hero img {
            height: 220px;
            object-fit: cover;
            border-radius: 10px;
        }

        .slide-title {
            font-size: 16px;
            padding: 8px 12px;
        }

        .arrow {
            font-size: 28px;
            padding: 6px;
        }
    }

    @media (max-width: 768px) {

        body[data-page="photoelectron"] .research-page::before,
        body[data-page="auger"] .research-page::before {
            content: "For best viewing, rotate your phone sideways and scroll to view the full table.";
            display: block;
            background: #fffae6;
            border: 1px solid #e6d88f;
            padding: 14px 18px;
            margin: 10px;
            font-size: 16px;
            line-height: 1.4;
            text-align: center;
            border-radius: 8px;
            color: #333;
        }
    }

}
