@media (max-width: 650px) {

    .careers-container {
        width: calc(100% - 30px);
    }

    .careers-hero {
        height: 330px;
    }

    .careers-hero h1 {
        font-size: 52px;
    }

    .careers-hero p {
        font-size: 21px;
    }

    .careers-gold-line {
        width: 100px;
    }

    .careers-intro-content h2 {
        font-size: 31px;
    }

    .careers-values {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .careers-intro-image {
        height: 280px;
    }

    .careers-job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .careers-job-button {
        width: 100%;
        text-align: center;
    }

    .careers-job-card {
        padding: 25px 20px;
    }

    .careers-section-heading h2 {
        font-size: 31px;
    }

    .careers-bottom-cta h2 {
        font-size: 21px;
    }

}
@media (max-width: 767px) {
    .where-to-buy-page {
        padding: 40px 0 60px;
    }

    .where-to-buy-header {
        margin-bottom: 30px;
    }

    .where-to-buy-header h1 {
        font-size: 36px;
    }

    .where-to-buy-header p {
        font-size: 16px;
    }

    .where-to-buy-filters {
        padding: 20px;
        margin-bottom: 35px;
    }

    .where-to-buy-filters form {
        display: block;
    }

    .where-to-buy-filter {
        margin-bottom: 15px;
    }

    .where-to-buy-filter-button {
        width: 100%;
        margin-top: 5px;
    }

    .where-to-buy-clear {
        justify-content: center;
        margin-top: 8px;
    }

    .sales-rep-card {
        padding: 20px;
    }

    .sales-rep-map {
        height: 400px;
    }

    .admin-add-page {
        padding: 120px 0 70px;
    }

    .admin-add-card {
        padding: 25px;
    }

    .admin-add-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .admin-import-page {
        padding-top: 120px;
    }
    .import-preview-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .admin-products-page {
        padding: 120px 0 70px;
    }

    .admin-products-header {
        align-items: start;
        flex-direction: column;
    }
    .admin-product-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-product-action {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #555;

    text-decoration: none;

    cursor: pointer;

    transition: 0.2s ease;
}

.admin-product-action:hover {
    background: #f1f1f1;
    color: #222;
}

.admin-product-action.delete:hover {
    background: #fff0f0;
    color: #b42318;
}
    
    .hide-mobile {
        display: none !important;
    }

    .products-page {
        padding: 110px 0 70px;
    }

    .products-header {
        margin-bottom: 40px;
    }

    .products-header h1 {
        font-size: 42px;
    }

    .products-header p {
        font-size: 16px;
    }

    .products-results-header h2 {
        font-size: 27px;
    }

    .product-card-image {
        height: 220px;
    }

    .fabrication-hero {
        padding: 110px 0 70px;
    }

    .fabrication-hero h1 {
        font-size: 44px;
    }

    .fabrication-hero p {
        font-size: 17px;
    }

    .fabrication-intro {
        padding: 65px 0;
    }

    .fabrication-intro h2 {
        font-size: 31px;
    }

    .fabrication-section {
        padding: 55px 0;
    }

    .fabrication-image,
    .fabrication-placeholder {
        min-height: 300px;
    }

    .fabrication-image img {
        min-height: 300px;
    }

    .fabrication-content h2 {
        font-size: 30px;
    }

    .fabrication-cta {
        padding: 65px 20px;
    }

    .fabrication-cta h2 {
        font-size: 31px;
    }
    .contact-page {
        padding: 110px 0 70px;
    }
    .contact-form-wrapper {
        padding: 25px;
    }
    .contact-header h1 {
        font-size: 42px;
    }
    .admin-import-page {
        padding: 120px 0 70px;
    }

    .import-card {
        padding: 25px;
    }

    .import-actions {
        flex-direction: column;

        align-items: stretch;
    }
    .admin-edit-page {
        padding: 120px 0 70px;
    }

    .admin-edit-header {
        align-items: start;
        flex-direction: column;
    }

    .admin-edit-card {
        padding: 25px;
    }

    .admin-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .admin-submissions-page {
        padding: 120px 0 70px;
    }


    .admin-submissions-header {
        align-items: start;
        flex-direction: column;
    }

    .error-page {
        min-height: 75vh;
        padding: 110px 20px 80px;
    }

    .error-number {
        letter-spacing: -4px;
    }

    .error-content h1 {
        font-size: 38px;
    }

    .error-content p {
        font-size: 16px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-btn {
        width: 100%;
        max-width: 280px;
    }
}


@media (max-width: 900px) {
    .where-to-buy-results {
        grid-template-columns: 1fr;
    }

    .where-to-buy-map-wrapper {
        position: static;
        order: -1;
    }

    .sales-rep-map {
        height: 450px;
    }
    .contact-page {
        padding-top: 120px;
    }
    .contact-info {
        padding: 45px 0 0;
    }
    .fabrication-hero {
        padding: 130px 0 80px;
    }

    .fabrication-section {
        padding: 65px 0;
    }

    .fabrication-content {
        padding: 30px 0 0;
    }

    .logo-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero{
        background: radial-gradient(circle at top left, #0b1633 100%, #f8f8f8 0%);
    }

    .products-page {
        padding-top: 120px;
    }

    .product-tree {
        position: relative;
        top: auto;
        max-height: none;
        margin-bottom: 30px;
    }

    .about-hero{
        text-align:center;
        padding-top:120px;
    }

    .about-video{
        margin-top:50px;
    }

    .about-story{
        text-align:center;
    }

    .process-step::after{
        display:none;
    }

    .where-to-buy-page {
        padding: 55px 0 70px;
    }

    .where-to-buy-results {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .where-to-buy-map-wrapper {
        position: static;
        order: -1;
    }

    .sales-rep-map {
        height: 450px;
    }

    .careers-container {
        width: min(100% - 40px, 700px);
    }

    .careers-hero {
        height: 370px;
    }

    .careers-intro {
        padding: 60px 0;
    }

    .careers-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .careers-intro-image {
        height: 350px;
    }

    .careers-values {
        gap: 20px;
    }
    
    .where-to-buy-page {
        padding: 55px 0 70px;
    }

    .where-to-buy-results {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .where-to-buy-map-wrapper {
        position: static;
        order: -1;
    }

    .sales-rep-map {
        height: 450px;
    }

}

@media (max-width: 650px) {

    .careers-application {
        margin-top: 55px;
        padding-top: 50px;
    }

    .application-header h2 {
        font-size: 31px;
    }

    .careers-application-form {
        padding: 25px 20px;
    }

    .application-grid {
        grid-template-columns: 1fr;
    }

    .application-full {
        grid-column: auto;
    }

}

/* MOBILE */

@media (max-width: 768px) {

    .career-job-page {
        padding: 120px 0 70px;
    }

    .career-job-header h1 {
        font-size: 36px;
    }

    .career-job-content {
        padding: 30px 25px;
    }
}

/* =========================================
   MOBILE MEGA MENU
========================================= */

@media (max-width: 991px) {

    .mega-dropdown {
        position: relative;
    }

    .mega-menu,
    .mega-menu-wide {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100% !important;
        max-width: 100vw !important;

        display: flex;
        flex-direction: column;

        gap: 20px;

        padding: 25px 20px;

        box-sizing: border-box;

        overflow-x: hidden;
        overflow-y: auto;

        max-height: calc(100vh - 150px);
    }

    .mega-column {
        width: 100%;
        min-width: 0;
    }

    .mega-column a {
        white-space: normal;
    }

}

@media (max-width: 991px) {

    .mega-mobile-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;

        padding: 10px 0;

        border: 0;
        background: transparent;

        color: #f5b400;

        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;

        text-align: left;
    }

    .mega-mobile-icon {
        font-size: 22px;
        font-weight: 300;
        line-height: 1;
    }

    .mega-mobile-links {
        display: none;
        padding-top: 5px;
    }

    .mega-mobile-links a {
        display: block;
        padding: 8px 0;
    }

    .mega-column.is-open .mega-mobile-links {
        display: block;
    }

    .mega-column.is-open .mega-mobile-icon {
        font-size: 20px;
    }

}