@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: "Manrope", sans-serif;
    background: #ffffff;
    color: #111111;
}

img {
    max-width: 100%;
}


/* =========================================================
   PAGE
========================================================= */

.bolts-page {
    width: 100%;
    max-width: 1040px;

    margin: 0 auto;

    padding: 32px 20px 60px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.bolts-header {
    width: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}


/* =========================================================
   TITLE
========================================================= */

.bolts-title {
    min-width: 0;
}

.bolts-title h1 {
    margin: 0;

    font-family: "Manrope", sans-serif;

    font-size: 28px;
    font-weight: 800;

    line-height: 1.2;

    color: #1d4169;

    overflow-wrap: anywhere;
}

.bolts-title span {
    display: block;

    width: 74px;
    height: 3px;

    margin-top: 10px;

    background: #ef3b4f;
}


/* =========================================================
   BACK TO PRODUCTS
========================================================= */

.back-products {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    min-width: 170px;
    height: 40px;

    padding: 0 24px;

    margin-top: 2px;

    background: #ef3b4f;
    color: #ffffff;

    border-radius: 25px;

    text-decoration: none;

    font-family: "Manrope", sans-serif;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.back-products:hover {
    background: #d92e42;
    transform: translateY(-1px);
}


/* =========================================================
   BANNER
========================================================= */

.bolts-banner {
    width: 100%;

    overflow: hidden;

    border-radius: 16px;

    line-height: 0;
}

.bolts-banner img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;

    object-fit: cover;
}


/* =========================================================
   PRODUCT TABLE SECTION
========================================================= */

.grade-table-section {
    width: 100%;

    padding: 0 20px 55px;

    background: #ffffff;
}

.grade-table-container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   TABLE WRAPPER
========================================================= */

.grade-table-wrapper {
    width: 100%;
    max-width: 100%;

    overflow: hidden;

    border: 1px solid #e2e2e2;
    border-radius: 12px;
}


/* =========================================================
   TABLE
========================================================= */

.grade-table {
    width: 100%;
    max-width: 100%;

    border-collapse: collapse;

    table-layout: fixed;

    background: #dbe6f2;

    color: #222222;

    font-family: "Manrope", sans-serif;
}


/* =========================================================
   TABLE HEADER
========================================================= */

.grade-table thead {
    background: #004380;
    color: #ffffff;
}

.grade-table th {
    padding: 16px 12px;

    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.3;

    text-align: center;
    vertical-align: middle;

    overflow-wrap: anywhere;
}

.grade-table th:last-child {
    border-right: none;
}


/* =========================================================
   TABLE BODY
========================================================= */

.grade-table td {
    padding: 18px 12px;

    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.45;

    text-align: center;
    vertical-align: middle;

    overflow-wrap: anywhere;
}

.grade-table td:last-child {
    border-right: none;
}


/* =========================================================
   COLUMN WIDTHS
========================================================= */

.grade-table th:nth-child(1),
.grade-table td:nth-child(1) {
    width: 40%;
}

.grade-table th:nth-child(2),
.grade-table td:nth-child(2) {
    width: 35%;
}

.grade-table th:nth-child(3),
.grade-table td:nth-child(3) {
    width: 25%;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.grade-image {
    display: block;

    width: 160px;
    height: 120px;

    max-width: 100%;

    margin: 0 auto;

    object-fit: contain;
}


/* =========================================================
   ROW HOVER
========================================================= */

.grade-table tbody tr {
    transition: background-color 0.2s ease;
}

.grade-table tbody tr:hover {
    background: #eeeeee;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .bolts-page {
        max-width: 100%;

        padding-left: 25px;
        padding-right: 25px;
    }

    .grade-table-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .grade-table th {
        padding: 14px 9px;
        font-size: 14px;
    }

    .grade-table td {
        padding: 14px 9px;
        font-size: 13px;
    }

    .grade-image {
        width: 130px;
        height: 100px;
    }
}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 800px) {

    .bolts-header {
        gap: 15px;
    }

    .bolts-title h1 {
        font-size: 25px;
    }

    .back-products {
        min-width: 150px;

        padding: 0 18px;

        font-size: 13px;
    }

    .grade-table th {
        padding: 12px 7px;
        font-size: 13px;
    }

    .grade-table td {
        padding: 12px 7px;
        font-size: 12px;
    }

    .grade-image {
        width: 110px;
        height: 90px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* -----------------------------------------------------
       PAGE
    ----------------------------------------------------- */

    .bolts-page {
        width: 100%;
        max-width: 100%;

        padding: 25px 15px 35px;
    }


    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */

    .bolts-header {
        display: flex;

        align-items: center;

        gap: 10px;

        margin-bottom: 22px;
    }

    .bolts-title {
        flex: 1;
        min-width: 0;
    }

    .bolts-title h1 {
        font-size: 20px;
        line-height: 1.25;
    }

    .bolts-title span {
        width: 55px;
        height: 2px;

        margin-top: 7px;
    }


    /* -----------------------------------------------------
       BACK BUTTON
    ----------------------------------------------------- */

    .back-products {
        min-width: auto;

        height: 35px;

        padding: 0 12px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       BANNER
    ----------------------------------------------------- */

    .bolts-banner {
        border-radius: 10px;
    }


    /* -----------------------------------------------------
       TABLE SECTION
    ----------------------------------------------------- */

    .grade-table-section {
        padding: 10px 15px 35px;
    }

    .grade-table-wrapper {
        border: none;
        overflow: visible;
    }


    /* -----------------------------------------------------
       CONVERT TABLE TO MOBILE CARDS
    ----------------------------------------------------- */

    .grade-table {
        display: block;

        width: 100%;
        max-width: 100%;

        background: transparent;
    }

    .grade-table thead {
        display: none;
    }

    .grade-table tbody {
        display: block;

        width: 100%;
    }

    .grade-table tr {
        display: block;

        width: 100%;

        margin-bottom: 18px;

        background: #dbe6f2;

        border: 1px solid #c9d6e3;

        border-radius: 12px;

        overflow: hidden;

        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    }


    /* -----------------------------------------------------
       MOBILE CELLS
    ----------------------------------------------------- */

    .grade-table td {
        display: grid;

        grid-template-columns: 38% minmax(0, 62%);

        width: 100% !important;

        min-height: 48px;

        padding: 11px 13px;

        border: none;

        border-bottom: 1px solid #ffffff;

        font-size: 13px;

        line-height: 1.4;

        text-align: left;

        overflow-wrap: anywhere;
    }

    .grade-table td:last-child {
        border-bottom: none;
    }


    /* -----------------------------------------------------
       LABEL
    ----------------------------------------------------- */

    .grade-table td::before {
        content: attr(data-label);

        padding-right: 8px;

        color: #004380;

        font-size: 11px;

        font-weight: 800;

        line-height: 1.4;
    }


    /* -----------------------------------------------------
       IMAGE CELL
    ----------------------------------------------------- */

    .grade-table td:first-child {
        display: block;

        padding: 18px;

        text-align: center;

        background: #ffffff;
    }

    .grade-table td:first-child::before {
        display: block;

        margin-bottom: 10px;

        text-align: center;
    }

    .grade-image {
        width: 120px;
        height: 95px;

        margin: 0 auto;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .bolts-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .bolts-header {
        gap: 7px;
    }

    .bolts-title h1 {
        font-size: 18px;
    }

    .back-products {
        height: 33px;

        padding: 0 9px;

        font-size: 10px;
    }

    .grade-table-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .grade-table td {
        grid-template-columns: 36% minmax(0, 64%);

        padding: 10px 11px;

        font-size: 12px;
    }

    .grade-table td::before {
        font-size: 10px;
    }

    .grade-image {
        width: 105px;
        height: 85px;
    }
}


/* =========================================================
   FOOTER OVERFLOW PROTECTION
========================================================= */

.site-footer {
    width: 100%;
    max-width: 100%;

    margin: 0;

    overflow: hidden;
}