.ymm-container {
    background-color: #000000;
    padding: 20px;
}

.ymm-dropdown {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ymm-dropdown select {
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    border: 2px solid #ffde00;
    border-radius: 5px;
    padding: 10px 30px 10px 10px;
    appearance: none;
    position: relative;
    width: 220px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.ymm-dropdown select[disabled] {
    opacity: 0.5;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.ymm-dropdown button {
    background-color: #FFDE00;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    border: none;
    border-radius: 5px;
    padding: 10px 30px;
    cursor: pointer;
    width: 220px;
}

.ymm-dropdown button:hover {
    background-color: #e0c400;
}

.ymm-results {
    margin-top: 20px;
}

.ymm-results h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.ymm-results ul {
    list-style: none;
    padding: 0;
}

.ymm-results li {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.ymm-results li strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.ymm-results li a {
    color: #0073aa;
    text-decoration: none;
}

.ymm-results li a:hover {
    text-decoration: underline;
}

.ymm-results li img {
    max-width: 100px;
    height: auto;
    margin: 10px 0;
    display: block;
}

.ymm-selected-attributes {
    margin-top: 8px;
    display: none;
    flex-wrap: wrap;
    gap: 8px;
}

.ymm-attr-chip {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    color: #333;
    margin-right: 5px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {

    .ymm-dropdown select,
    .ymm-dropdown button {
        width: 200px;
    }

    .ymm-dropdown button {
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
    .wiper-products-wrapper .product-card {
        flex-direction: column;
        align-items: center;
    }

    .wiper-products-wrapper .product-type {
        gap: 0;
        padding-bottom: 0 !important;
    }

    .wiper-products-wrapper .product-type-subtitle,
    .wiper-products-wrapper .product-type-icon {
        margin-bottom: 0 !important;
    }

    .wiper-products-wrapper .product-content {
        margin: 10px !important;
    }

    .wiper-products-wrapper .product-type {
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .ymm-dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    .ymm-dropdown select {
        width: 100%;
        margin-bottom: 10px;
    }

    .ymm-dropdown button {
        width: 100%;
        margin-top: 10px;
    }
}



/* css for wiper products display */
.wiper-products-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wiper-products-wrapper {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

.wiper-products-wrapper .products-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wiper-products-wrapper .product-card {
    display: flex;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.wiper-products-wrapper .product-card.ceramic {
    background-color: #FFDE00;
}

.wiper-products-wrapper .product-card.silicone {
    background-color: #0066CC;
}

.wiper-products-wrapper .product-card.hybrid {
    background-color: #001F3F;
}

/* Product Type Sidebar */
.wiper-products-wrapper .product-type {
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 20px;
    color: white;
}

.wiper-products-wrapper .product-card.ceramic .product-type {
    color: #000;
}

.wiper-products-wrapper .product-type-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 900;
    line-height: 1.2;
}

.wiper-products-wrapper .product-type-subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.wiper-products-wrapper .product-type-icon {
    width: 100%;
    /* height: 120px; */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wiper-products-wrapper .product-type-icon img {
    max-width: 100%;
    max-height: 100%;
}

.wiper-products-wrapper .product-type-description {
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

/* Product Content */
.wiper-products-wrapper .product-content {
    flex: 1;
    background-color: white;
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 5px solid;
    margin: 15px 15px 15px 0;
    border-radius: 10px;
}

.wiper-products-wrapper .product-card.ceramic .product-content {
    border-color: #FFDE00;
}

.wiper-products-wrapper .product-card.silicone .product-content {
    border-color: #0066CC;
}

.wiper-products-wrapper .product-card.hybrid .product-content {
    border-color: #001F3F;
}

.wiper-products-wrapper .product-header {
    /* background-color: #999; */
    color: #000;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px 5px 0 0;
}

.wiper-products-wrapper .product-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    min-height: 180px;
    position: relative;
    background-color: white;
}

.wiper-products-wrapper .product-image-section img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    transition: opacity 0.3s ease;
}

.wiper-products-wrapper .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.wiper-products-wrapper .product-image-section:hover .image-overlay {
    opacity: 1;
    pointer-events: auto;
}

.wiper-products-wrapper .overlay-content {
    text-align: center;
    color: white;
}

.wiper-products-wrapper .overlay-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.wiper-products-wrapper .overlay-button {
    background-color: white;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}

.wiper-products-wrapper .overlay-button:hover {
    background-color: #f0f0f0;
}

/* Product Details Table */
.wiper-products-wrapper .product-details {
    background-color: #fff;
    padding: 20px;
}

.wiper-products-wrapper .details-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #C5C5C5;
}

.wiper-products-wrapper .details-table th {
    background-color: #E8E8E8;
    padding: 10px 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    border-bottom: 2px solid #ccc;
    line-height: 1.1em;
}

.wiper-products-wrapper .details-table td {
    padding: 10px 8px;
    text-align: center;
    font-size: 15px;
    color: #333;
    background-color: white;
    border-bottom: 1px solid #C5C5C5;
}

.wiper-products-wrapper .details-table td.link {
    color: #000;
    font-weight: 400;
}

.wiper-products-wrapper .details-table td.view-product-link {
    padding: 0;
}

.wiper-products-wrapper .details-table td.view-product-link a {
    display: inline-block;
    background-color: #FFDE00;
    color: #000;
    padding: 3px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wiper-products-wrapper .details-table td.view-product-link a:hover {
    background-color: #e0c400;
    text-decoration: none;
}

/* Table Display Toggle */
.wiper-products-wrapper .details-table-mobile {
    display: none;
}

.wiper-products-wrapper .details-table-desktop {
    display: table;
}

/* Mobile Table Specific Styles */
.wiper-products-wrapper .details-table-mobile td.mobile-label {
    background-color: #E8E8E8;
    color: #000;
    font-weight: 700;
    text-align: center;
    padding: 10px 8px;
}

.wiper-products-wrapper .details-table-mobile th {
    font-weight: 400;
}

.wiper-products-wrapper .details-table-mobile thead th:first-child {
    font-weight: 700;
}

.wiper-products-wrapper .details-table-mobile td.view-product-link {
    padding: 8px;
}

/* Action Buttons */
.wiper-products-wrapper .product-actions {
    display: flex;
    gap: 10px;
    padding: 20px;
    background-color: white;
    border-radius: 0 0 10px 10px;
    padding-top: 0;
    ;
}

.wiper-products-wrapper .btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid;
    transition: all 0.3s ease;
}

.wiper-products-wrapper .btn-learn {
    background-color: #FFDE00;
    color: #000;
    border-color: #FFDE00;
}

.wiper-products-wrapper .btn-learn:hover {
    background-color: #e0c400;
}

.wiper-products-wrapper .btn-installation {
    background-color: white;
    color: #000;
    border-color: #333;
}

.wiper-products-wrapper .btn-installation:hover {
    background-color: #f5f5f5;
}

.wiper-products-wrapper .btn-buy {
    display: none;
    /* Hide Buy Now button */
}

.wiper-products-wrapper .btn-find {
    background-color: #FFDE00;
    color: #000;
    border-color: #FFDE00;
}

.wiper-products-wrapper .btn-find:hover {
    background-color: #e0c400;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .wiper-products-wrapper .product-card {
        flex-direction: column;
    }

    .wiper-products-wrapper .product-type {
        width: 100%;
        padding: 20px;
        gap: 0;
        padding-bottom: 0 !important;
    }

    .wiper-products-wrapper .product-type-subtitle,
    .wiper-products-wrapper .product-type-icon {
        margin-bottom: 0 !important;
    }

    .wiper-products-wrapper .product-content {
        margin: 10px !important;
    }

    .wiper-products-wrapper .product-header {
        font-size: 20px;
        padding: 15px;
    }

    .wiper-products-wrapper .details-table {
        font-size: 14px;
    }

    .wiper-products-wrapper .details-table th,
    .wiper-products-wrapper .details-table td {
        padding: 8px 5px;
        font-size: 13px;
    }

    .wiper-products-wrapper .details-table td.view-product-link a {
        padding: 4px 12px;
        font-size: 12px;
    }

    .wiper-products-wrapper .product-actions {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
    }

    .wiper-products-wrapper .btn {
        padding: 10px 20px;
        font-size: 14px;
        flex: 1 1 45%;
    }
}

@media screen and (max-width: 640px) {
    .wiper-products-wrapper {
        padding: 10px;
    }

    .wiper-products-wrapper .product-type {
        padding: 15px;
    }

    .wiper-products-wrapper .product-type-title {
        font-size: 20px;
    }

    .wiper-products-wrapper .product-header {
        font-size: 18px;
        padding: 12px;
    }

    .wiper-products-wrapper .details-table th,
    .wiper-products-wrapper .details-table td {
        padding: 6px 4px;
        font-size: 12px;
    }

    .wiper-products-wrapper .details-table th {
        line-height: 1.2em;
    }

    .wiper-products-wrapper .details-table td.view-product-link a {
        padding: 3px 10px;
        font-size: 11px;
    }

    .wiper-products-wrapper .product-actions {
        flex-direction: column;
        gap: 10px;
    }

    .wiper-products-wrapper .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

@media screen and (max-width: 600px) {

    /* Toggle table display */
    .wiper-products-wrapper .details-table-desktop {
        display: none;
    }

    .wiper-products-wrapper .details-table-mobile {
        display: table;
    }

    .wiper-products-wrapper .details-table-mobile th,
    .wiper-products-wrapper .details-table-mobile td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .wiper-products-wrapper .details-table-mobile th {
        font-size: 14px;
        font-weight: 700;
    }

    .wiper-products-wrapper .details-table-mobile td.view-product-link a {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .wiper-products-wrapper .product-type {
        padding: 12px;
    }

    .wiper-products-wrapper .product-type-title {
        font-size: 18px;
    }

    .wiper-products-wrapper .product-type-subtitle {
        font-size: 14px;
    }

    .wiper-products-wrapper .product-type-description {
        font-size: 13px;
    }

    .wiper-products-wrapper .product-header {
        font-size: 16px;
        padding: 10px;
    }

    .wiper-products-wrapper .overlay-title {
        font-size: 18px;
    }

    .wiper-products-wrapper .overlay-button {
        padding: 8px 20px;
        font-size: 14px;
    }

    .wiper-products-wrapper .details-table-mobile th,
    .wiper-products-wrapper .details-table-mobile td {
        padding: 8px 5px;
        font-size: 12px;
    }

    .wiper-products-wrapper .details-table-mobile th {
        font-size: 13px;
    }

    .wiper-products-wrapper .details-table-mobile td.view-product-link a {
        padding: 4px 10px;
        font-size: 11px;
        line-height: 1em;
    }

    .wiper-products-wrapper .product-actions {
        padding: 12px;
    }

    .wiper-products-wrapper .btn {
        font-size: 14px;
        padding: 12px 16px;
    }
}

@media screen and (max-width: 360px) {
    .wiper-products-wrapper .product-type-title {
        font-size: 16px;
    }

    .wiper-products-wrapper .product-header {
        font-size: 15px;
    }

    .wiper-products-wrapper .details-table th,
    .wiper-products-wrapper .details-table td {
        padding: 6px 3px;
        font-size: 10px;
    }

    .wiper-products-wrapper .details-table th {
        font-size: 11px;
    }

    .wiper-products-wrapper .btn {
        font-size: 13px;
        padding: 10px 14px;
    }
}


/* Vehicle Bar Styles */
.ymm-vehicle-bar-wrapper {
    margin-bottom: 20px;
}

.change-my-vehicle {
    border: 2px solid #FFDE00;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.change-my-vehicle .vehicle-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.change-my-vehicle .vehicle-display-name {
    color: #333;
    font-weight: 700;
}

.change-vehicle-btn {
    background-color: #010101;
    color: #fff;
    border-radius: 9px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.change-vehicle-btn:hover {
    background-color: #333;
}

/* Popup Overlay */
.change-vehicle-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.change-vehicle-popup-overlay.active {
    display: flex;
}

.change-vehicle-popup {
    background-color: #000000;
    /* padding: 20px; */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid #fff;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-radius: 0px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.popup-content-wrapper {
    width: 100%;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.close-popup:hover,
.close-popup:focus {
    transform: scale(1.1);
    color: #FFDE00;
    outline: none;
}

.popup-heading {
    color: #fff;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    margin: 0;
}

.popup-heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    /* margin-bottom: 20px; */
}

.hr-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hr-div hr {
    width: 99px;
    height: 2px;
    background-color: #fff;
    border: none;
    margin: 0;
}


@media screen and (min-width: 900px) {
    .change-vehicle-popup .ymm-container {
        display: flex;
        justify-content: center;
    }
}

/* Responsive - Vehicle Bar */
@media screen and (max-width: 768px) {
    .change-my-vehicle {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .change-vehicle-btn {
        width: 100%;
    }

    .change-vehicle-popup {
        border-width: 3px;
        padding: 50px 20px;
    }

    .close-popup {
        font-size: 28px;
        top: 10px;
        right: 10px;
    }

    .hr-div hr {
        width: 30px;
    }

    .popup-heading {
        font-size: 24px;
        line-height: 1.1em;
    }
}

.change-vehicle-popup {
    background: url(http://localhost/Invisible-Glass/wp-content/uploads/2025/10/Mask-group-1.jpg) !important;
    background-size: cover !important;
    background-position: center;
}

.change-vehicle-popup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Black overlay with 50% opacity */
    z-index: 1;
    /* Ensures the overlay is above the background image */
}

.change-vehicle-popup .popup-content-wrapper {
    z-index: 2;
}

.change-vehicle-popup .ymm-container {
    background-color: transparent;
}

/* Product Page Compatibility Badge */
.ymm-compatibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background-color: #f8f8f8;
    border: 2px solid #003fcb;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ymm-compatibility-badge .ymm-check-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.ymm-compatibility-badge .ymm-vehicle-name {
    color: #003fcb;
    font-weight: 700;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .ymm-compatibility-badge {
        font-size: 14px;
        padding: 10px 16px;
        gap: 10px;
    }

    .ymm-compatibility-badge .ymm-check-icon {
        width: 20px;
        height: 20px;
    }
}

/* ===================================
   Buyer Guide Styles (v5.1)
   =================================== */

.buyer-guide-wrapper {
    margin: 30px 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.buyer-guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f8f8f8;
    border-bottom: 2px solid #ddd;
}

.buyer-guide-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.buyer-guide-header .btn-find-blade {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0012ca;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.buyer-guide-header .btn-find-blade:hover {
    background-color: #0012ca;
}

/* Loading State */
.buyer-guide-loading {
    text-align: center;
    padding: 60px 20px;
}

.buyer-guide-loading p {
    margin-top: 15px;
    font-size: 16px;
    color: #666;
}

.ymm-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FFDE00;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Error State */
.buyer-guide-error {
    text-align: center;
    padding: 60px 20px;
}

.buyer-guide-error p {
    font-size: 18px;
    color: #999;
}

/* Table Wrapper */
.buyer-guide-content {
    padding: 20px;
}

.buyer-guide-table-wrapper {
    position: relative;
    overflow-x: auto;
    margin-bottom: 20px;
}

/* Table Loading Overlay */
.buyer-guide-table-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.buyer-guide-table-loading-overlay p {
    margin-top: 15px;
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.buyer-guide-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.buyer-guide-table thead th {
    background-color: #E8E8E8;
    color: #000;
    font-weight: 700;
    font-size: 15px;
    text-align: left;
    padding: 12px 15px;
    border: 1px solid #ccc;
    white-space: nowrap;
}

.buyer-guide-table tbody td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    vertical-align: top;
}

.buyer-guide-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.buyer-guide-table tbody tr:hover {
    background-color: #f0f0f0;
}

.buyer-guide-table tbody td.fitment-exception-cell {
    max-width: 250px;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.6;
}

.buyer-guide-table tbody td.fitment-exception-cell a {
    color: #0066cc;
    text-decoration: underline;
    word-break: break-all;
}

.buyer-guide-table tbody td.fitment-exception-cell a:hover {
    color: #004499;
    text-decoration: none;
}

/* Pagination */
.buyer-guide-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.buyer-guide-pagination button,
.buyer-guide-pagination button:focus {
    padding: 8px 16px;
    background-color: #0012ca !important;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buyer-guide-pagination button:hover:not(:disabled) {
    background-color: #0012ca !important;
}

.buyer-guide-pagination button:disabled {
    background-color: #e0e0e0 !important;
    color: #999;
    cursor: not-allowed;
}

.buyer-guide-pagination .pagination-info {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.buyer-guide-pagination .pagination-info span {
    font-weight: 700;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .buyer-guide-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .buyer-guide-header h3 {
        font-size: 20px;
    }

    .buyer-guide-header .btn-find-blade {
        width: 100%;
        text-align: center;
    }

    .buyer-guide-pagination {
        flex-wrap: wrap;
        gap: 10px;
    }

    .buyer-guide-pagination button {
        flex: 1;
        min-width: 100px;
    }
}

@media screen and (max-width: 480px) {
    .buyer-guide-content {
        padding: 15px;
    }

    .buyer-guide-table thead th,
    .buyer-guide-table tbody td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .buyer-guide-pagination {
        flex-direction: column;
    }

    .buyer-guide-pagination button {
        width: 100%;
    }
}

div#tab-buyers-guide {
    max-width: 95%;
}

/* search results tabs */
.ymm-dropdowns-filters {
    display: flex;
    /* max-width: 580px; */
    gap: 30px;
    margin-bottom: 15px;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .ymm-dropdowns-filters {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
}

.ymm-position-dropdown,
.ymm-parttype-dropdown {
    border-color: #D7D7D7;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20' width='24' height='24'><path d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 5px;
}

/* product grid */
.custom-products-grid {
    max-width: 1200px;
    margin: 0px;
    padding: 0;
}

.custom-products-grid h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
    /* No column gap */
}

/* Product Item */
.product-item {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    height: 100%;
}

.product-image {
    padding: 30px;
    text-align: center;
    background: #ffffff;
    max-width: 233px;
    /* White background */
}

.product-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 12px;
    color: #000;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title,
.product-title a {
    font-size: 16px;
    font-weight: 600;
    color: #000 !important;
    line-height: 1.4;
    /* flex-grow: 1; */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
    text-decoration: none !important;
}

.product-title {
    margin: 0 0 15px 0;
}

.read-more-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    /* Consistent horizontal padding */
    background: #f5f5f5;
    color: #333 !important;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-top: 1px solid #eee;
    text-decoration: none !important;
}

.read-more {
    text-decoration: underline;
}

.read-more-btn:hover {
    background: #0012ca;
    color: #fff;
}

.read-more-btn:hover .read-more,
.read-more-btn:hover .arrow {
    color: #fff;
}

.read-more-btn .arrow {
    margin-left: 8px;
    font-weight: bold;
}

.product-button {
    display: flex;
    align-items: center;
    padding-right: 20px;
    min-width: 170px;
}

.product-info-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 10px;
}

.product-info-details-right-description {
    border: 1px solid #c4c4c4;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: help;
}


span.note-label {
    font-weight: 600;
}

.product-info-details-left-mfr-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 1em;
    margin-bottom: 10px;
}

.product-info-details-left-part-number {
    font-size: 14px;
    margin-bottom: 10px;
}

.product-info-details-right-description {
    font-size: 14px;
}

.product-info-details-left-position {
    background-color: #000fa7;
    color: white;
    padding: 7px 14px;
    text-transform: uppercase;
    max-width: fit-content;
    font-size: 13px;
    margin-top: 5px;
    line-height: 1em;
}

.product-info-details-left-label,
.product-info-details-right-label {
    font-size: 14px;
    font-weight: 600;
}


/* Pagination */
.custom-pagination {
    margin-top: 50px;
    text-align: center;
}

.custom-pagination .page-numbers {
    display: flex;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #eee;
    justify-content: center;
}

.custom-pagination .page-numbers.current {
    background: #333;
    color: #fff;
}

ul.page-numbers li {
    min-width: 43px;
    list-style: none;
}

/* .custom-pagination .page-numbers:hover:not(.current) {
    background: #e0e0e0;
} */

/* Responsive Design */

@media (max-width: 1024px) {

    /* .products-grid {
        grid-template-columns: repeat(3, 1fr);
    } */
    .product-item {
        flex-direction: column !important;
    }

    .product-button {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    /* .products-grid {
        grid-template-columns: repeat(2, 1fr);
    } */

    .custom-products-grid {
        margin: 15px auto;
    }

    .product-info-details {
        grid-template-columns: 1fr;
        /* gap: 15px; */
        margin-bottom: 10px;
    }

    .product-info-details-right-description {
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* .custom-products-grid {
        padding: 0 15px;
    } */

    .product-image {
        padding: 20px;
    }

    .product-info {
        padding: 15px;
    }
}

/* search form */
.vehicle-search-form {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 !important;
    /* font-family: Arial, sans-serif; */
}

.search-bar {
    display: flex;
    align-items: stretch;
    background: #f9f9f9;
    /* Very light gray/white as in your new reference */
    border: 1px solid #ddd;
    /* border-radius: 6px; */
    overflow: hidden;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
}

.select-wrapper {
    flex: 1;
    position: relative;
    border-right: 1px solid #ddd;
}

.select-wrapper:last-of-type {
    border-right: none;
}

/* Hide native arrow and add custom subtle arrow */
.custom-select {
    width: 100%;
    padding: 18px 40px 18px 20px;
    /* Extra right padding to prevent text overlap */
    font-size: 16px;
    color: #333;
    background: transparent;
    border: none;
    border-radius: 0 !important;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.custom-select:focus {
    background: #fff;
}

/* Custom arrow - subtle black small triangle, matching your reference */
.select-wrapper::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #555;
}

/* Placeholder styling */
.custom-select option:disabled {
    color: #999;
}

.search-btn,
#find-blade-default {
    padding: 0 50px;
    background: #0012ca;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 0;
}

.search-btn:hover,
#find-blade-default:hover {
    background: #000fa0;
}

/* Responsive */
@media (max-width: 1024px) {
    .search-bar {
        flex-direction: column;
    }

    .select-wrapper {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .select-wrapper:last-of-type {
        border-bottom: none;
    }

    .search-btn {
        padding: 18px;
    }

    .select-wrapper::after {
        right: 18px;
    }
}

/* Custom Products Grid Styles */


/* Responsive Design */

@media (max-width: 768px) {
    .custom-products-grid {
        margin: 15px auto;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* .custom-products-grid {
        padding: 0 15px;
    } */

    .product-image {
        padding: 20px;
    }

    .product-info {
        padding: 15px;
    }
}

.vehicle-search-form[data-mode="results"] {
    margin-bottom: 15px !important;
}

/* Override old ymm-container styles for the new form */
.vehicle-search-form.ymm-container {
    background-color: transparent;
    /* padding: 0 20px; */
}


/* Loader/Spinner styles */
.ymm-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0012ca;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* YMM Results Header */
.ymm-results-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    margin-top: 30px;
}

.ymm-results-count {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* ==========================================
   Attribute Filter Popup Styles
   ========================================== */

/* Overlay */
.ymm-attribute-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.ymm-attribute-overlay.active {
    display: flex;
}

/* Popup Container */
.ymm-attribute-popup {
    background: white;
    border-radius: 6px;
    width: 90%;
    max-width: 450px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Popup Header */
.ymm-attribute-popup .popup-header {
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ymm-attribute-popup .popup-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.ymm-attribute-popup .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    transition: color 0.2s;
}

.ymm-attribute-popup .close-btn:hover {
    color: #333;
}

/* Popup Body Wrapper (for loader overlay) */
.ymm-attribute-popup .popup-body-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* Popup Loading Overlay */
.ymm-attribute-popup .popup-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.ymm-attribute-popup .popup-loading-overlay p {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Popup Body */
.ymm-attribute-popup .popup-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(85vh - 130px);
}

/* Field Styles */
.ymm-attribute-popup .field {
    margin-bottom: 16px;
}

.ymm-attribute-popup .field:last-child {
    margin-bottom: 0;
}

.ymm-attribute-popup .field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.ymm-attribute-popup .field select,
.ymm-attribute-popup .attribute-select {
    width: 100%;
    padding: 10px 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.ymm-attribute-popup .field select:focus,
.ymm-attribute-popup .attribute-select:focus {
    outline: none;
    border-color: #0012ca;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 18, 202, 0.1);
}

.ymm-attribute-popup .field select:hover,
.ymm-attribute-popup .attribute-select:hover {
    border-color: #0012ca;
}

/* Popup Footer */
.ymm-attribute-popup .popup-footer {
    padding: 16px 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ymm-attribute-popup .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ymm-attribute-popup .btn-primary {
    background: #0012ca;
    color: white;
}

.ymm-attribute-popup .btn-primary:hover {
    background: #000fa0;
}

.ymm-attribute-popup .btn-secondary {
    background: #6c757d;
    color: white;
}

.ymm-attribute-popup .btn-secondary:hover {
    background: #5a6268;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ymm-attribute-popup {
        width: 95%;
        max-height: 90vh;
    }

    .ymm-attribute-popup .popup-body {
        max-height: calc(90vh - 130px);
    }

    .ymm-attribute-popup .popup-footer {
        flex-direction: column;
    }

    .ymm-attribute-popup .btn {
        width: 100%;
    }
}

.popup-body-wrapper .ymm-spinner {
    margin: 10px auto !important;
    border: 3px solid #f3f3f3 !important;
    border-top: 3px solid #0012ca !important;
    width: 20px !important;
    height: 20px !important;
}

/* Disabled Button States */
.search-btn:disabled,
.ymm-dropdown button:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background-color: #999 !important;
    pointer-events: none;
}

.ymm-attribute-popup .btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.ymm-attribute-popup .btn-primary:disabled {
    background: #6c8cd4 !important;
}

.ymm-attribute-popup .btn-secondary:disabled {
    background: #8895a0 !important;
}

@media screen and (max-width: 1024px) {
    button#find-blade-default {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
}

/* Filter Button Styles */
.ymm-filter-btn {
    padding: 0 20px !important;
    background: #0012ca !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease !important;
    /* Separator overlap adjustment if needed */
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px !important;
    margin-left: 5px !important;
}

.ymm-filter-btn:hover {
    background-color: #000fa0 !important;
}



.ymm-filter-btn:disabled,
.ymm-filter-btn.disabled {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

@media (max-width: 1024px) {
    .ymm-filter-btn {
        padding: 15px !important;
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
        margin-left: 0px !important;
    }
}

/* Filter Dropdowns Section */


.ymm-position-dropdown,
.ymm-parttype-dropdown {
    flex: 1;
    min-width: 180px;
    padding: 10px 35px 10px 12px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ymm-position-dropdown:hover,
.ymm-parttype-dropdown:hover {
    border-color: #0012ca;
}

.ymm-position-dropdown:focus,
.ymm-parttype-dropdown:focus {
    outline: none;
    border-color: #0012ca;
    box-shadow: 0 0 0 3px rgba(0, 18, 202, 0.1);
}

/* Clear Filters Button */
.ymm-clear-filters-btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 2px solid #0012ca !important;
    border-radius: 5px !important;
    background-color: #fff !important;
    color: #0012ca !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.ymm-clear-filters-btn:hover {
    background-color: #0012ca !important;
    color: #fff !important;
}

.ymm-clear-filters-btn:active {
    transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ymm-dropdowns-filters {
        padding: 12px 0px;
        gap: 10px;
    }

    .ymm-position-dropdown,
    .ymm-parttype-dropdown {
        min-width: 100%;
        flex: 1 1 100%;
    }

    .ymm-clear-filters-btn {
        width: 100%;
    }
}

select.ymm-position-dropdown[disabled],
select.ymm-parttype-dropdown[disabled] {
    background: #d9d9d9;
    border-color: #d9d9d9;
    cursor: not-allowed;
}

/* Not Compatible Badge */
.ymm-compatibility-badge.ymm-not-compatible {
    border-color: #FF3D3D;
}

.ymm-compatibility-badge.ymm-not-compatible .ymm-vehicle-name {
    color: #FF3D3D;
}

/* No Results / Error with Reset Button */
.ymm-no-results,
.ymm-error {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 1px solid #eee;
    margin: 20px 0;
}

.ymm-no-results p,
.ymm-error p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.ymm-reset-form-btn {
    padding: 12px 30px !important;
    background-color: #0012ca !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.ymm-reset-form-btn:hover {
    background-color: #000fa0;
}

/* radio button */
/* --- Common Styles --- */
.ymm-filter-radio-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    /* Gap handled by margins/borders */
    /* margin-bottom: 20px; */
}

.ymm-radio-label {
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    /* Bold text */
    text-transform: uppercase;
}

.ymm-radio-label input[type="radio"] {
    display: none;
    /* Hide default radio */
}

/* --- PART TYPE STYLING (Text Link Style) --- */
.ymm-parttype-filter {
    /* border-bottom: 2px solid #ddd; */
    /* Bottom line for the whole bar */
    padding-bottom: 0;
    gap: 15px;
    /* Spacing between text items */
}

.ymm-parttype-filter .ymm-radio-label span {
    display: inline-block;
    padding: 10px 0px;
    margin: 0 3px;
    padding-bottom: 2px;
    background: transparent;
    border: none;
    color: #444;
    /* Default dark grey */
    font-size: 14px;
    letter-spacing: 0px;
    position: relative;
    border-bottom: 3px solid transparent;
    /* Prepare for active underline */
    margin-bottom: -2px;
    /* Overlap with container border */
    transition: color 0.2s, border-color 0.2s;
}

/* Separator Line (Vertical Bar) betweeen items - Optional */
/* If you want the '|' separator as shown in image: */
.ymm-parttype-filter .ymm-radio-label:not(:last-child) span::after {
    content: "|";
    position: absolute;
    right: -10px;
    /* Adjust based on gap */
    color: #ccc;
    font-weight: 400;
}

/* Hover State for Part Type */
.ymm-parttype-filter .ymm-radio-label:hover span {
    color: #000fa7;
    /* Blue hover */
}

/* Active State for Part Type (Underline) */
.ymm-parttype-filter .ymm-radio-label input[type="radio"]:checked+span {
    color: #000fa7;
    /* Blue active text */
    /* border-bottom: 3px solid #000fa7; */
    /* Blue active underline */
    border-bottom: 2px solid #000fa7;
    padding-bottom: 1px;
}

/* --- POSITION STYLING (Box Button Style) --- */
.ymm-position-filter {
    gap: 0px;
    /* Space between buttons */
    /* margin-top: 15px; */
}

.ymm-position-filter .ymm-radio-label span {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ccc;
    /* Default border */
    background-color: #ffffff;
    color: #222;
    /* Black text */
    font-size: 14px;
    min-width: 80px;
    text-align: center;
    transition: all 0.2s;
}

/* Hover State for Position */
.ymm-position-filter .ymm-radio-label:hover span {
    border-color: #222;
}

/* Active State for Position (Filled Black) */
.ymm-position-filter .ymm-radio-label input[type="radio"]:checked+span {
    background-color: #000fa7;
    /* Dark background */
    color: #ffffff;
    /* White text */
    border-color: #000fa7;
}

.ymm-compatibility-badge.ymm-unverified {
    margin-bottom: 10px;
}

a.ymm-filter-trigger {
    font-size: 14px;
    font-weight: 600;
    color: #003fcb !important;
    text-transform: capitalize;
}

/* .ymm-input-disabled {
    width: 100%;
    padding: 10px 12px;
    background: #e9ecef;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    cursor: not-allowed;
} */