/* @import "tailwindcss"; */

/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
}
/*
2. Remove default margin
*/
* {
    margin: 0;
}
/*
Typographic tweaks!
3. Add accessible line-height
4. Improve text rendering
*/
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
/*
5. Improve media defaults
*/
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
/*
6. Remove built-in form typography styles
*/
input, button, textarea, select {
    font: inherit;
}
/*
7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
/*
8. Create a root stacking context
*/
#root, #__next {
    isolation: isolate;
}

:root {
    --wrap-w: 1440px;
    --cpw-white: #FFFFFF;
    --cpw-black: #000000;
    --cpw-orange: #FF8137;
    --cpw-yellow: #FFCD05;
    --cpw-grey: #455064;
    --cpw-dark-blue: #111F30;
    --cp-sm: 640px;
    --cp-md: 768px;
    --cp-lg: 1024px;
}

html {
    font-size: 16px;
}

body {
    font-family: "Inter",sans-serif;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cpw-wrap h2 {
    font-family: "Inter Tight", sans-serif;
    font-size: clamp(2rem, 0.9583rem + 2.6042vw, 2.4rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--cpw-black);
    margin-bottom: 2rem;
}

.cpw-section-wrap {
    max-width: var(--wrap-w);
    margin: 0 auto 4rem ;
}

/* Hero */
.cpw-about-hero {
    margin-bottom: 4rem;

    .cpw-about-hero-image {

        picture {
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                padding: 0 0.5rem;
            }
        }

    }
    

}

/* About Info */
.cpw-about-info {
    padding: 0 1rem;
    
    .cpw-about-info-desc {
        max-width: 1240px;
        margin: 0 auto;

        p {
            font-size: clamp(1.25rem, 0.2083rem + 2.6042vw, 1.875rem);
            font-weight: 400;
            line-height: 44.48px;
            letter-spacing: 0.30px;
            color: #333333;
            margin-bottom: 1rem;
        }
    }

}

/* What We Offer */
.cpw-about-offer {
    margin-bottom: 13rem !important;
    padding: 0 1rem;

    .cpw-about-offer-content {

        .cpw-about-offer-content-title {
            h2 {
                text-align: center;
                margin-bottom: 3rem;
            }
        }

        .cpw-about-offer-content-list {
            ul {
                list-style: none;
                margin: 0;
                padding: 0;
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 3rem;

                li {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    text-align: center;
                    width: 100%;
                    max-width: none;
                    padding: 4rem 2rem;
                    background-color: var(--cpw-white);
                    border-radius: 4px;
                    box-shadow: 0px 8px 28px rgba(0, 0, 0, 0.10);
                    outline: 1px #EFEFEF solid; 
                    outline-offset: -1px;

                    img {
                        width: 140px;
                        height: auto;
                        object-fit: contain;
                        border-bottom: 1px solid #E4EFFF;
                        padding-bottom: 1rem;
                        margin-bottom: 1rem;
                    }

                    span {
                        font-size: clamp(1.25rem, 0rem + 3.125vw, 2rem);
                        font-weight: 600;
                        color: #333333;
                        margin-bottom: 1rem;
                    }

                    p {
                        font-size: clamp(1rem, 0.0625rem + 2.3438vw, 1.5625rem);
                        font-weight: 400;
                        color: #333333;
                        overflow-wrap: anywhere;
                        word-break: break-word;
                    }
                }
            }
        }
    }

}

/* Order */
.cpw-about-order {
    background-color: #E8F0FB;
    margin-bottom: 10rem;
    padding: 0 1rem;

    .cpw-about-order-content {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        gap: 2rem;

        .cpw-about-order-content-image {
            position: relative;

            img {
                width: auto;
                max-height: 790px;
                display: block;
                margin-top: -120px;
                margin-bottom: -120px;
            }
        }

        .cpw-about-order-content-info {
            padding: 4rem 1rem;

            .cpw-about-order-content-image-mobile {
                display: none;
            }

            h2 {
                font-size: clamp(2rem, 0rem + 4.1667vw, 2.5rem);
                font-weight: 600;
                margin-bottom: 2rem;
            }

            .cpw-about-order-content-info-list {
               list-style: none;
                margin: 0 0 1rem;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 1rem;

                    li {
                        display: flex;
                        align-items: center;
                        gap: 1rem;
                        font-size: clamp(1rem, 0.0625rem + 2.3438vw, 1.5625rem);
                        font-weight: 400;
                        color: var(--cpw-black);

                        >div {
                            display: flex;
                            align-items: center;
                            gap: 1rem;

                            .cpw-about-order-content-info-list-number {
                                font-size: 1.5625rem;
                                font-weight: 900;
                                width: 63px;
                                height: 63px;
                                border-radius: 9999px; 
                                border: 1px #004C80 solid;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                flex: 0 0 auto;
                            }

                            .cpw-about-order-content-info-list-text {
                                font-size: clamp(1.25rem, 1.0417rem + 0.5208vw, 1.375rem);
                                font-weight: 400;
                                color: var(--cpw-black);
                                overflow-wrap: anywhere;
                                word-break: break-word;

                                a {
                                    color: var(--cpw-black);
                                }
                            }
                        }
                    }
            }

            p {
                font-size: clamp(1.25rem, 1.0417rem + 0.5208vw, 1.375rem);
                font-weight: 400;
                color: var(--cpw-black);
                margin-bottom: 1rem;

                &:last-child {
                    margin-bottom: 0;
                }

                a {
                    color: var(--cpw-black);
                }

                .cpw-about-order-content-info-not-wholesale {
                    font-family: "Inter-Tight", sans-serif;
                    font-weight: 600;
                }
            }
        }
    }


}

/* Distribution Center Map */
.cpw-distribution-center {
    padding: 0 1rem;

    .cpw-distribution-center-content {
        
        h2 {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .cpw-distribution-center-content-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 5rem;

            .cpw-distribution-center-content-list-info {

                ul {
                    list-style: none;
                    margin: 0 0 2rem;
                    padding: 0;
                    display: flex;
                    flex-direction: column;
                    gap: 1rem;

                    li {
                        display: flex;
                        align-items: center;
                        gap: 1rem;
                        font-size: clamp(1rem, 0.0625rem + 2.3438vw, 1.5625rem);
                        font-weight: 400;
                        color: var(--cpw-black);

                        > div {

                            &:first-child {
                                img {
                                    width: 35px;
                                    height: auto;
                                    display: block;
                                }
                            }
                        }

                        span {
                            display: block;
                        }

                        .cpw-distribution-center-content-list-info-title {
                            font-size: clamp(1.4375rem, 1.2292rem + 0.5208vw, 1.5625rem);
                            font-weight: 700;
                        }

                        .cpw-distribution-center-content-list-info-address {
                            font-size: 1rem;
                            font-weight: 400;
                        }
                    }
                }

                .cpw-distribution-center-content-list-info-note {
                    background-color: #E8F0FB;
                    padding: 1rem 2rem;
                    border-radius: 4px;
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    max-width: 515px;

                    img {
                        width: 126px;
                        height: auto;
                        display: block;
                    }

                    p {
                        font-size: 1.125rem;
                        font-weight: 400;
                        color: var(--cpw-black);
                    }
                }
            }
        }
    }

}

/* Create Account Banner */
.cpw-bottom-banner {

    .cpw-bottom-banner-content {
        max-width: var(--wrap-w);
        margin: 0 auto;
        border-radius: 4px;
        overflow: hidden;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

}

/* Responsive */
@media (max-width: 1500px) {
    
    .cpw-hero {
        padding: 0 1rem;
    }
    .cpw-popular-parts,
    .cpw-banner,
    .cpw-top-brands,
    .cpw-operation-video,
    .cpw-staff-service,
    .cpw-map-operations,
    .cpw-bottom-banner {
        margin: 0 1rem 2rem;
    }

}

@media (max-width: 1485px) {

    .cpw-about-order {
        margin-bottom: 7rem;
    }

}

@media (max-width: 1430px) {
 
}

@media (max-width: 1315px) {

    .cpw-about-order {
        margin-bottom: 3rem;
    }

}

@media (max-width: 1024px) {
    
    .cpw-about-offer {
        .cpw-about-offer-content {
            .cpw-about-offer-content-list {
                ul {
                    gap: 1rem;

                    li {
                        padding: 2rem;
                    }
                }
            }
        }
    }

}

@media (max-width: 900px) {

    /* About Offer */
    .cpw-about-offer {
        margin-bottom: 5rem !important;

        .cpw-about-offer-content {

            .cpw-about-offer-content-list {
                ul {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    gap: 1rem;

                    li {
                        padding: 2rem 1rem;
                    }
                }
            }
        }
    }

    /* About Hero */
    .cpw-about-hero {
        margin-bottom: 2rem;
    }
    /* About Order */
    .cpw-about-order {
        margin-bottom: 2rem;

        .cpw-about-order-content {
            display: block;

            .cpw-about-order-content-image {
                display: none;
            }

            .cpw-about-order-content-info {
                padding: 2rem 0 4rem;

                .cpw-about-order-info-grid-mobile {
                    display: grid;
                    grid-template-columns: 1fr 1.3fr;
                    align-items: center;
                    margin-bottom: 1.5rem;

                    .cpw-about-order-content-image-mobile {
                        display: block;

                        img {
                            margin-top: -100px;
                            margin-left: -20px;
                        }
                    }
                }

            }
        }
        
    }

    /* Distribution Center */
    .cpw-distribution-center {
        .cpw-distribution-center-content {
            .cpw-distribution-center-content-list {
                grid-template-columns: repeat(1, minmax(0, 1fr));
                gap: 2rem;

                .cpw-distribution-center-content-list-info {
                    .cpw-distribution-center-content-list-info-note {
                        padding: 1rem;
                    }
                }
            }
        }
    }

}

@media (max-width: 640px) {

    .cpw-popular-parts,
    .cpw-banner,
    .cpw-top-brands,
    .cpw-operation-video,
    .cpw-staff-service,
    .cpw-map-operations,
    .cpw-bottom-banner {
        margin: 0 1rem 2rem;
    }

    .cpw-about-hero {
        margin-bottom: 2rem;
    }

    .cpw-about-info {
        margin-bottom: 3rem;

        & .cpw-about-info-desc {
            p {
                letter-spacing: 0;
                line-height: 1.6;
            }
        }
    }

}

@media (max-width: 430px) {
    
    .cpw-about-offer {
        margin-bottom: 1rem;

        .cpw-about-offer-content {
            .cpw-about-offer-content-list {
                ul {
                    grid-template-columns: repeat(1, minmax(0, 1fr));
                }
            }
        }
    }

    .cpw-about-order {
        .cpw-about-order-content {
            .cpw-about-order-content-info {
                .cpw-about-order-info-grid-mobile {
                    margin-bottom: 0.5rem;
                }
            }
        }
    }


}

@media (max-width: 360px) {
    

}
