/*
Theme Name: Astra Child
Description: Child theme for Astra
Author: All Torque Control
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/


/* =====================================================
   PRODUCT PAGE WRAPPER
===================================================== */

.atc-product-single {
    display: block;

    width: 100%;
    max-width: 100%;
}


/* =====================================================
   TOP PRODUCT HERO
===================================================== */

.atc-product-hero {
    width: 100%;

    background: #fff;
}

.atc-product-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    padding: 55px 40px 70px;

    text-align: center;
}


/* =====================================================
   BREADCRUMB
===================================================== */

.atc-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    width: 100%;

    gap: 8px;

    margin-bottom: 26px;

    font-size: 14px;
    line-height: 1.6;

    color: #888;
}

.atc-breadcrumb a {
    color: #777;

    text-decoration: none;

    transition: color 0.2s ease;
}

.atc-breadcrumb a:hover,
.atc-breadcrumb a:focus {
    color: #f8b800;

    text-decoration: none;
}

.atc-breadcrumb-separator {
    color: #bbb;
}

.atc-breadcrumb-current {
    color: #555;
}


/* =====================================================
   HERO TITLE
===================================================== */

.atc-product-hero-title {
    width: 100%;
    max-width: 900px;

    margin: 0 0 26px;

    font-size: clamp(
        34px,
        4vw,
        54px
    );

    line-height: 1.15;
    font-weight: 700;


    text-align: center;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}


/* =====================================================
   REQUEST A QUOTE BUTTON
===================================================== */

.atc-quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    min-height: 50px;

    padding: 15px 30px;
    color: #fff;
	background:#555;
    border: 0;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.atc-quote-button:hover,
.atc-quote-button:focus {
    background: #ffc400;
	color:white;
}

.atc-quote-button:active {
    transform: translateY(1px);
}


/* =====================================================
   FEATURED IMAGE
===================================================== */

.atc-product-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 800px;

    margin-top: 48px;
}

.atc-product-main-image {
    display: block;

    width: auto;
    max-width: 100%;

    max-height: 350px;

    margin: 0 auto;

    object-fit: contain;
}


/* =====================================================
   PRODUCT INFORMATION
===================================================== */

.atc-product-page {
    width: 100%;
	background:#2a2a2a;
    border-top: 1px solid #e2e2e2;
}

.atc-product-info-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    padding: 70px 40px 85px;
}


/* =====================================================
   LEFT / RIGHT COLUMN
===================================================== */

.atc-product-info-left,
.atc-product-info-right {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;
}

.atc-product-info-left {
    padding-right:
        clamp(
            35px,
            5vw,
            80px
        );
}

.atc-product-info-right {
    padding-left:
        clamp(
            35px,
            5vw,
            80px
        );

    border-left: 1px solid #ddd;
}


/* =====================================================
   INFO SECTION
===================================================== */

.atc-info-section {
    width: 100%;
	color:#fff;
    margin: 0 0 42px;
}

.atc-info-section:last-child {
    margin-bottom: 0;
}


/* =====================================================
   CATEGORY
===================================================== */

.atc-category-section {
    margin-bottom: 12px;
}



.atc-category-value {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;

    color: #777;
}


/* =====================================================
   PRODUCT TITLE
===================================================== */

.atc-title-section {
    margin-bottom: 38px;
}

.atc-info-title {
    font-size:
        clamp(
            26px,
            2.5vw,
            38px
        );
color: #ffc400;
    line-height: 1.25;
    font-weight: 700;


    text-transform: uppercase;

    overflow-wrap: anywhere;
}


/* =====================================================
   SECTION TITLE
===================================================== */

.atc-section-title {
    margin: 0 0 28px;
    padding-bottom: 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;

    color: #ffc400;

    text-transform: uppercase;
    font-style: italic;
    border-bottom: 2px solid #c89b5b;
}
/* =====================================================
   PRODUCT DESCRIPTION / PRODUCT DETAILS
===================================================== */

.atc-product-description,
.atc-product-details {
    width: 100%;

    font-size: 14px;
    line-height: 1.8;

    color: #fff;

    overflow-wrap: anywhere;
}

.atc-product-description p,
.atc-product-details p {
    margin: 0 0 18px;
}

.atc-product-description p:last-child,
.atc-product-details p:last-child {
    margin-bottom: 0;
}

.atc-product-description ul,
.atc-product-description ol,
.atc-product-details ul,
.atc-product-details ol {
    margin-top: 15px;
    margin-bottom: 18px;

    padding-left: 22px;
}

.atc-product-description img,
.atc-product-details img {
    display: block;

    max-width: 100%;
    height: auto;
}


/* =====================================================
   EMPTY VALUE
===================================================== */

.atc-empty-value {
    margin: 0;

    font-size: 16px;
    line-height: 1.8;

}


/* =====================================================
   DOWNLOAD LINKS
===================================================== */

.atc-download-link {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    width: fit-content;
    max-width: 100%;

    padding-bottom: 5px;

    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.atc-download-link:hover,
.atc-download-link:focus {
    color: #f2dfa1;


}

.atc-download-arrow {
    flex-shrink: 0;

    font-size: 22px;
    line-height: 1;

    color: #f8b800;
}


/* =====================================================
   BOTTOM REQUEST QUOTE
===================================================== */

.atc-quote-button-bottom {
    align-self: flex-start;

    margin-top: 4px;
}


/* =====================================================
   SIMILAR PRODUCTS
===================================================== */

.atc-similar-products {
    width: 100%;

    background: #f7f7f7;

    border-top: 1px solid #e5e5e5;
}

.atc-similar-products-inner {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    padding: 75px 40px 80px;

    text-align: center;
}

.atc-similar-heading {
    width: 100%;

    margin-bottom: 30px;
}

.atc-similar-heading h2 {
    margin: 0;

    font-size:
        clamp(
            28px,
            3vw,
            40px
        );

    line-height: 1.2;
    font-weight: 700;

    

    text-transform: uppercase;
}


/* =====================================================
   SEE ALL PRODUCTS
===================================================== */

.atc-see-all-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.atc-see-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    min-height: 50px;

    padding: 15px 30px;

    background: #333;
    color: #fff;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;

    text-align: center;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.atc-see-all-button:hover,
.atc-see-all-button:focus {
    background: #f8b800;
    color: #222;

    text-decoration: none;
}


/* =====================================================
   TABLET
   <= 1024px
===================================================== */

@media (max-width: 1024px) {

    /* Hero */

    .atc-product-hero-inner {
        padding:
            45px
            30px
            60px;
    }

    .atc-product-hero-title {
        font-size: 40px;
    }

    .atc-product-hero-image {
        max-width: 650px;
    }

    .atc-product-main-image {
        max-height: 520px;
    }


    /* Product information */

    .atc-product-info-grid {
        padding:
            60px
            30px
            70px;
    }

    .atc-product-info-left {
        padding-right: 40px;
    }

    .atc-product-info-right {
        padding-left: 40px;
    }


    /* Similar products */

    .atc-similar-products-inner {
        padding:
            60px
            30px
            65px;
    }

}


/* =====================================================
   MOBILE
   <= 767px
===================================================== */

@media (max-width: 767px) {

    /* =================================================
       HERO
    ================================================= */

    .atc-product-hero-inner {
        padding:
            32px
            20px
            45px;
    }


    /* Breadcrumb */

    .atc-breadcrumb {
        justify-content: center;

        gap: 6px;

        margin-bottom: 20px;

        font-size: 12px;
        line-height: 1.5;
    }


    /* Hero title */

    .atc-product-hero-title {
        margin-bottom: 22px;

        font-size: 30px;
    }


    /* Quote button */

    .atc-quote-button {
        width: 100%;
        max-width: 320px;

        min-width: 0;
    }


    /* Image */

    .atc-product-hero-image {
        max-width: 100%;

        margin-top: 36px;
    }

    .atc-product-main-image {
        width: 100%;
        max-width: 420px;

        max-height: 420px;
    }


    /* =================================================
       PRODUCT INFORMATION
    ================================================= */

    .atc-product-info-grid {
        display: flex;
        flex-direction: column;

        padding:
            45px
            20px
            55px;
    }

    .atc-product-info-left,
    .atc-product-info-right {
        width: 100%;

        padding-left: 0;
        padding-right: 0;
    }

    .atc-product-info-right {
        margin-top: 45px;

        padding-top: 45px;

        border-top: 1px solid #ddd;
        border-left: 0;
    }


    /* Sections */

    .atc-info-section {
        margin-bottom: 34px;
    }


    /* Category */

    .atc-category-value {
        font-size: 14px;
    }


    /* Title */

    .atc-title-section {
        margin-bottom: 32px;
    }

    .atc-info-title {
        font-size: 27px;
    }


    /* Section title */

    .atc-section-title {
        margin-bottom: 15px;

        font-size: 18px;
    }


    /* Content */

    .atc-product-description,
    .atc-product-details {
        line-height: 1.75;
    }

    .atc-empty-value {
        font-size: 15px;
    }


    /* Downloads */

    .atc-download-link {
        font-size: 15px;
    }


    /* Bottom quote */

    .atc-quote-button-bottom {
        width: 100%;
        max-width: 320px;
    }


    /* =================================================
       SIMILAR PRODUCTS
    ================================================= */

    .atc-similar-products-inner {
        padding:
            50px
            20px
            55px;
    }

    .atc-similar-heading {
        margin-bottom: 24px;
    }

    .atc-similar-heading h2 {
        font-size: 28px;
    }

    .atc-see-all-button {
        width: 100%;
        max-width: 320px;
    }

}


/* =====================================================
   SMALL MOBILE
   <= 480px
===================================================== */

@media (max-width: 480px) {

    /* Hero */

    .atc-product-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .atc-product-hero-title {
        font-size: 26px;
    }

    .atc-product-main-image {
        max-height: 300px;
    }


    /* Product information */

    .atc-product-info-grid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .atc-info-title {
        font-size: 24px;
    }

    .atc-product-info-right {
        margin-top: 38px;

        padding-top: 38px;
    }


    /* Similar products */

    .atc-similar-products-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

}