
.map-product-nav {
    width: min(1160px, calc(100% - 28px));
    margin: 18px auto 10px;
}

.map-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #dbe3ec;
    border-radius: 9px;
    background: #fff;
    color: #0b3b72;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

.map-back-home:hover {
    border-color: #0b3b72;
    color: #062a52;
}

.single-product div.product {
    width: min(1160px, calc(100% - 28px));
    margin-left: auto;
    margin-right: auto;
}

.single-product div.product .woocommerce-product-gallery {
    border: 1px solid #e4e9ef;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.single-product div.product .woocommerce-product-gallery__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 10px;
}

.single-product div.product .summary {
    padding: 4px 0 0 22px;
}

.single-product div.product .product_title {
    margin-bottom: 10px;
    font-size: clamp(27px, 2.4vw, 40px);
    line-height: 1.18;
    color: #111827;
}

.single-product div.product .price {
    margin: 16px 0 10px;
    color: #cf2f12;
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 900;
}

.single-product div.product .stock {
    font-weight: 800;
}

.single-product div.product form.cart {
    margin-top: 18px;
}

.single-product div.product form.cart .quantity {
    min-height: 48px;
}

.single-product div.product form.cart button,
.single-product div.product .single_add_to_cart_button,
.single-product div.product .buy-now-button,
.single-product div.product [class*="buy-now"] {
    min-height: 50px;
    border-radius: 9px;
    font-weight: 900;
}

.map-fitment-confidence {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin: 14px 0 16px;
    padding: 14px;
    border: 1px solid #b8e0c4;
    border-radius: 12px;
    background: #f2fbf5;
}

.map-fitment-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    background: #168a42;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.map-fitment-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #173b25;
}

.map-fitment-copy span {
    font-size: 13px;
    color: #477257;
}

.map-view-compatibility {
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #0b3b72;
    border-radius: 8px;
    background: #fff;
    color: #0b3b72;
    font-weight: 800;
    cursor: pointer;
}

.map-view-compatibility:hover {
    background: #0b3b72;
    color: #fff;
}

.single-product .woocommerce-tabs {
    width: min(1160px, calc(100% - 28px));
    margin: 34px auto 0;
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 5px !important;
}

.single-product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
    border-radius: 8px !important;
}

.map-compatibility-panel {
    padding: 5px 0;
}

.map-compatibility-table-wrap {
    overflow-x: auto;
    border: 1px solid #e1e7ee;
    border-radius: 10px;
}

.map-compatibility-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff;
}

.map-compatibility-table th,
.map-compatibility-table td {
    padding: 13px 15px;
    border-bottom: 1px solid #edf1f5;
    text-align: left;
}

.map-compatibility-table th {
    background: #f5f8fb;
    color: #1f2937;
    font-weight: 900;
}

.map-table-verified {
    color: #168a42;
    font-weight: 900;
}

@media (max-width: 900px) {
    .single-product div.product .summary {
        padding-left: 0;
    }

    .map-fitment-confidence {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .map-view-compatibility {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .map-product-nav {
        width: calc(100% - 20px);
        margin-top: 10px;
    }

    .map-back-home {
        width: 100%;
        justify-content: center;
    }

    .single-product div.product {
        width: calc(100% - 20px);
    }

    .single-product div.product .woocommerce-product-gallery {
        padding: 8px;
        border-radius: 11px;
    }

    .single-product div.product .product_title {
        font-size: 28px;
        line-height: 1.2;
    }

    .single-product div.product .price {
        font-size: 31px;
    }

    .map-fitment-confidence {
        margin-top: 12px;
        padding: 12px;
    }

    .single-product .woocommerce-tabs {
        width: calc(100% - 20px);
        margin-top: 24px;
    }
}
