/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
p {
margin-bottom: 10px;
}
p:last-of-type {
margin-bottom: 0;
}
ol, ul {
margin: 10px 0 10px 20px;
}

/* codes by aditi for dealer login start */
.bppf-login-form {
    width: 65% !important;
    padding: 0px !important;
    margin-top: 0px !important;
    border: none !important;
}

.bppf-form-row {
    margin-bottom: 20px;
}

.bppf-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
}

.bppf-input {
    width: 100% !important;
    background-color: #EDEDED !important;
    border: 1px solid #0000004A !important;
    border-radius: 4px !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    color: black;
}

.bppf-input::placeholder {
    color: #555555;
}

.bppf-below-fields {
    margin-bottom: 20px;
}

.bppf-rememberme-row {
    margin: 0 0 4px 0;
}

.bppf-rememberme-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.bppf-lost-password {
    margin: 0;
}

.bppf-lost-password a {
    font-weight: 700;
    text-decoration: none;
    color: #000;
    font-size: 15px;
}

.bppf-submit-row {
    margin: 0;
}

.bppf-login-btn {
    width: 50%;
    background-color: #000 !important;
    color: #fff !important;
    border: none;
    padding: 16px !important;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.bppf-login-btn:hover {
    background-color: #1a1a1a !important;
}

/* dealer dashboard */

.bppf-portal-panel {
    width: 100%;
}

.bppf-portal-wrap {
    width: 100%;
}

.bppf-breadcrumb {
    font-size: 16px;
    color: #000000;
    margin-bottom: 20px;
}

.bppf-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.bppf-breadcrumb a:hover {
    text-decoration: underline;
}

.bppf-crumb-sep {
    display: inline-flex;
    align-items: center;
    margin: 0 6px;
    vertical-align: middle;
}

.bppf-crumb-sep svg {
    display: block;
}

.bppf-crumb-current {
    color: #000;
    font-weight: 600;
}

.bppf-portal-body {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.bppf-portal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 200px;
    flex-shrink: 0;
}

.bppf-sidebar-link {
    display: block;
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #000;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    color: #000;
    background: #fff;
}

.bppf-sidebar-link.active {
    background: #000;
    color: #fff;
}

.bppf-sidebar-link:hover:not(.active) {
    background: #f2f2f2;
    color: #000000;
}

.bppf-portal-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .bppf-portal-body {
        flex-direction: column;
    }

    .bppf-portal-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .bppf-sidebar-link {
        flex: 1 1 100%;
    }
}

/* order & shop code in the dealer dashboard page  */

.bppf-dealer-shop {
    width: 100%;
}

.bppf-shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.bppf-filter-btn {
    background: #fff;
    border: 1px solid #000000;
    color: #000000;
    padding: 8px 18px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

.bppf-filter-btn:hover {
    background: #17c3c3;
    border-color: #000000;
    color: #fff;
}

.bppf-filter-btn.active {
    background: #17c3c3;
    border-color: #000000;
    color: #fff;
}

.bppf-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .bppf-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bppf-product-grid {
        grid-template-columns: 1fr;
    }
}

.bppf-product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.bppf-product-swatch {
    height: 248px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bppf-soldout-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.bppf-product-info {
    padding: 14px;
}

.bppf-product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.bppf-product-name {
    font-weight: 700;
    font-size: 18px;
}

.bppf-qty-selector {
    display: inline-block;
}

.bppf-qty-btn {
    background: #f2f2f2;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-weight: 700;
}

.bppf-qty-input {
    width: 46px !important;
    text-align: center !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    padding: 4px 2px !important;
    font-size: 16px !important;
    -moz-appearance: auto !important;
    /* keeps Firefox's native spinner visible */
    appearance: auto !important;
}

.bppf-qty-input::-webkit-inner-spin-button,
.bppf-qty-input::-webkit-outer-spin-button {
    opacity: 1 !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

.bppf-product-sku {
    font-size: 16px;
    color: #888;
    margin-bottom: 6px;
}

.bppf-product-price {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.bppf-add-cart-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    cursor: pointer;
}

.bppf-add-cart-btn:hover {
    background-color: #17c3c3;
    color: black;
}

.bppf-add-cart-btn:focus {
    background-color: #17c3c3;
    color: black;
}

.bppf-add-cart-btn.bppf-disabled {
    background: #999;
    cursor: not-allowed;
}


/* ========== Warranty form – Figma match ========== */

.bppf-warranty-intro {
    font-size: 16px;
    color: #000000;
}

.bppf-warranty-layout {
    margin-top: 20px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Black form panel */
.bppf-warranty-form {
    flex: 1;
    min-width: 0;
    background: #000;
    color: #fff;
    padding: 28px 32px 32px;
}

.bppf-warranty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 0;
    margin-bottom: 28px;
}

.bppf-warranty-form .bppf-field {
    padding: 14px 0;
    border-bottom: 1px solid #333;
}

.bppf-warranty-grid .bppf-field--full {
    grid-column: 1 / -1;
}

.bppf-warranty-form .bppf-field label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.2;
}

.bppf-warranty-form .bppf-field input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    box-sizing: border-box;
}

.bppf-warranty-form .bppf-field input::placeholder {
    color: #999;
}



.bppf-warranty-form .bppf-field input:focus {
    outline: none;
}

/* Full-width white button */
.bppf-register-btn {
    font-family: "Inter";
    display: block;
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    text-align: center;
    font-style: italic;
    border: 1px solid black;
}

.bppf-register-btn:hover{
    background: black;
    color: white;
     border: 1px solid white;
}

/* Certificate preview card */
.bppf-cert-preview {
    width: 50%;
    flex-shrink: 0;
    border: 1px solid #000;
    padding: 28px 26px;
    background: #fff;
    box-sizing: border-box;
}

.bppf-cert-preview h3 {
    margin: 16px 0px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #000;
    text-transform: uppercase;
}

.bppf-cert-desc {
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 22px;
    color: #333;
}

.bppf-cert-id,
.bppf-cert-exp {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #000;
    line-height: 1.4;
}

.bppf-cert-preview .ppf-cert-grid-4,
.bppf-cert-preview .ppf-cert-grid-3 {
    grid-template-columns: 1fr !important;
}

/* ========== Warranty – Responsive only ========== */

@media (max-width: 1023px) {
    .bppf-warranty-layout {
        flex-direction: column;
        gap: 20px;
    }

    .bppf-warranty-form {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px 24px;
        box-sizing: border-box;
    }

    .bppf-warranty-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 0;
        margin-bottom: 20px;
    }

    .bppf-warranty-form .bppf-field {
        padding: 12px 0;
    }

    .bppf-cert-preview {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .bppf-warranty-form {
        padding: 16px 12px 20px;
    }

    .bppf-warranty-form .bppf-field label,
    .bppf-warranty-form .bppf-field input {
        font-size: 15px;
    }

    .bppf-register-btn {
        font-size: 16px;
        padding: 12px 16px;
    }

    .bppf-cert-preview {
        padding: 16px 12px;
    }

    .bppf-cert-preview h3 {
        font-size: 16px;
    }

    .bppf-cert-desc,
    .bppf-cert-id,
    .bppf-cert-exp {
        font-size: 13px;
    }
}

.bppf-sku-error {
    display: block;
    color: #ff4d4d;
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
    line-height: 1.3;
}

.bppf-color-error {
    display: block;
    color: #ff4d4d;
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
    line-height: 1.3;
}

/* ========== Certificate content inside preview – responsive ========== */

@media (max-width: 1023px) {
    .bppf-cert-preview .ppf-cert-pdf {
        max-width: 100% !important;
        overflow-x: auto;
    }

    .bppf-cert-preview .ppf-cert-header {
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .bppf-cert-preview .ppf-cert-title {
        font-size: 22px !important;
    }

    .bppf-cert-preview .ppf-cert-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .bppf-cert-preview .ppf-cert-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .bppf-cert-preview .ppf-cert-boxes {
        flex-direction: column !important;
    }

    .bppf-cert-preview .ppf-cert-table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap;
    }

    .bppf-cert-preview .ppf-cert-summary-body {
        gap: 14px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .bppf-cert-preview .ppf-cert-grid-4,
    .bppf-cert-preview .ppf-cert-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .bppf-cert-preview .ppf-cert-number {
        font-size: 13px !important;
        padding: 4px 8px !important;
    }

    .bppf-cert-preview .ppf-cert-title {
        font-size: 18px !important;
    }

    .bppf-cert-preview [style*="font-size: 16px"] {
        font-size: 13px !important;
    }

    .bppf-cert-preview [style*="font-size: 18px"] {
        font-size: 14px !important;
    }

    .bppf-cert-preview .ppf-cert-summary-header {
        font-size: 15px !important;
        padding: 10px 14px !important;
    }
}

/* ========== Warranty layout – extra breakpoint for small tablets ========== */

@media (max-width: 767px) {
    .bppf-warranty-form {
        padding: 18px 14px 22px;
    }

    .bppf-warranty-grid {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
    }

    .bppf-register-btn {
        font-size: 15px;
        padding: 12px 14px;
    }
}

/* ========== Extra small phones – fix horizontal bleed ========== */

@media (max-width: 480px) {
    .bppf-portal-wrap,
    .bppf-portal-body,
    .bppf-portal-content,
    .bppf-warranty-layout,
    .bppf-warranty-form,
    .bppf-warranty-grid,
    .bppf-cert-preview {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .bppf-portal-wrap {
        overflow-x: hidden;
    }

    .bppf-breadcrumb {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 6px;
        font-size: 13px;
    }

    .bppf-portal-sidebar {
        gap: 8px;
    }

    .bppf-sidebar-link {
        font-size: 15px;
        padding: 10px 8px;
        box-sizing: border-box;
    }

    .bppf-warranty-intro {
        font-size: 13px;
    }

    .bppf-warranty-form {
        width: 100%;
        padding: 14px 10px 18px;
    }

    .bppf-warranty-grid {
        width: 100%;
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
    }

    .bppf-warranty-form .bppf-field {
        width: 100%;
        box-sizing: border-box;
    }

    .bppf-warranty-form .bppf-field label {
        font-size: 13px;
    }

    .bppf-warranty-form .bppf-field input {
        width: 100%;
        max-width: 100%;
        font-size: 13px;
        box-sizing: border-box;
    }

    .bppf-register-btn {
        width: 100%;
        font-size: 14px;
        padding: 12px 10px;
        box-sizing: border-box;
    }

    .bppf-cert-preview {
        width: 100%;
        padding: 14px 10px;
    }
}

.bppf-records-section {
    margin-top: 40px;
}

.bppf-records-search {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #ccc;
    background: #ececec;
    color: #333;
}

.bppf-records-search::placeholder {
    color: #666;
}

.bppf-records-table {
    margin-top: 30px;
    width: 100% !important;
    border-collapse: collapse;
    background: #000;
    color: #fff;
    table-layout: fixed;
}

.bppf-records-table thead th {
    font-family: "Inter";
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    padding: 18px 20px;
    border-bottom: 1px solid #333;
}

.bppf-records-table tbody td {
    font-family: "Inter";
    font-size: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #333;
}

.bppf-records-table tbody tr:last-child td {
    border-bottom: none;
}

.bppf-records-empty-row td {
    text-align: center;
    color: #999;
    padding: 20px;
}

.bppf-records-table thead th,
.bppf-records-table tbody td {
    width: 20%;            /* 5 equal columns */
}

.bppf-records-empty-row td {
    width: 100% !important;
}

@media (max-width: 767px) {
    .bppf-records-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .bppf-records-search {
        font-size: 13px;
        padding: 10px 12px;
    }
    .bppf-records-table thead th,
    .bppf-records-table tbody td {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* View / Download button style (white bg, black text, black border) */
.bppf-view-download-btn {
    display: inline-block;
    width: 100%;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    font-style: italic;
    font-family: "Inter", sans-serif;
    box-sizing: border-box;
    margin-top: 20px;
}

.bppf-view-download-btn:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}


/* ===== VIN Registry panel ===== */

.bppf-vin-intro {
    font-size: 16px;
    color: #000;
    margin: 0 0 20px;
    line-height: 1.5;
}

.bppf-vin-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0px;
}

.bppf-vin-search-input {
    flex: 1;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #ccc;
    background: #ececec;
    color: #333;
}

.bppf-vin-search-input::placeholder {
    color: #666;
}

.bppf-vin-filter-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.bppf-vin-filter-btn {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bppf-vin-filter-btn.active {
    background: #000;
    color: #fff;
}

.bppf-vin-filter-btn:hover:not(.active) {
    background: #f2f2f2;
}

/* Reuse black table styles – already exist as .bppf-records-table */
.bppf-vin-table {
    margin-top: 0;
}

@media (max-width: 767px) {
    .bppf-vin-search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bppf-vin-filter-btns {
        width: 100%;
    }

    .bppf-vin-filter-btn {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .bppf-vin-intro {
        font-size: 14px;
    }
}

/* cart-related css  */
.bppf-cart-page-wrap{
    margin-top: 50px;
}

/* ---- Breadcrumb ---- */
.bppf-cart-breadcrumb {
    font-size: 16px;
    font-weight: 700;
    color: #9F9F9F;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
}

.bppf-cart-breadcrumb a {
    color: #9F9F9F;
    text-decoration: none;
    transition: color 0.15s ease;
}

.bppf-cart-breadcrumb a:hover {
    color: #000;
}

.bppf-crumb-sep {
    margin: 0 4px;
    color: #9F9F9F;
    font-size: 11px;
    user-select: none;
}

.bppf-crumb-current {
    color: #000;
    font-weight: 700;
}

/* ---- Progress Steps Tracker ---- */
.bppf-checkout-progress {
    width: 100%;
    margin: 100px 0 100px 0;
    box-sizing: border-box;
}

.bppf-progress-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    width: 100%;
    margin: 0 0 18px 0;
    box-sizing: border-box;
}

.bppf-step-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #8b8895;
    user-select: none;
}

.bppf-step-badge {
    width: 50px;
    height: 50px;
    min-width: 30px;
    border-radius: 50%;
    background-color: #e4e4e4;
    color: #8b8895;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bppf-step-label {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #8b8895;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.bppf-step-item.active {
    color: #000;
}

.bppf-step-item.active .bppf-step-badge {
    background-color: #000;
    color: #fff;
}

.bppf-step-item.active .bppf-step-label {
    color: #000;
    font-weight: 700;
}

.bppf-progress-bar-line {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: #e4e4e4;
}

.bppf-progress-active-line {
    position: absolute;
    top: -1px;
    left: 0;
    width: 33.333%;
    height: 2.5px;
    background-color: #000;
}

/* ---- Page Heading ---- */
.bppf-cart-heading {
    font-family:"Inter";
    font-size: 44px;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: #000;
    margin: 0px !important;
}

/* ---- Two-Column Layout ---- */
.bppf-cart-layout {
    display: flex;
    gap: 45px;
    align-items: flex-start;
}

.bppf-cart-main {
    flex: 1 1 63%;
    min-width: 0;
}

.bppf-cart-sidebar {
    flex: 0 0 37%;
    min-width: 330px;
}

/* ---- Cart Table ---- */
.bppf-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    border: none;
}

.bppf-cart-table th,
.bppf-cart-table td {
    border-left: none;
    border-right: none;
}

.bppf-cart-table th {
    border-top: 2px solid #000 !important;
    border-bottom: 2px solid #000 !important;
    padding: 14px 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 0.5px;
}

.bppf-cart-table th.bppf-th-product {
    text-align: center;
    width: 44%;
}

.bppf-cart-table th.bppf-th-quantity {
    text-align: center;
    width: 22%;
}

.bppf-cart-table th.bppf-th-price {
    text-align: center;
    width: 16%;
}

.bppf-cart-table th.bppf-th-total {
    text-align: center;
    width: 14%;
}

.bppf-cart-table th.bppf-th-remove {
    width: 4%;
    text-align: center;
}

.bppf-cart-table td {
    border-top: none;
    padding: 24px 10px;
    vertical-align: middle;
}

.bppf-td-product {
    text-align: left;
}

.bppf-td-quantity {
    text-align: center;
}

.bppf-td-price {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.bppf-td-total {
    text-align: right;
    font-size: 15px;
    font-weight: 800;
    color: #000;
}

.bppf-td-remove {
    text-align: right;
}

/* ---- Product Cell ---- */
.bppf-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bppf-product-thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bppf-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bppf-product-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bppf-product-title,
.bppf-product-title a {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    line-height: 1.3;
}

.bppf-product-sku {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* ---- Quantity Stepper ---- */
.bppf-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #111;
    height: 36px;
    background: #fff;
    box-sizing: border-box;
}

.bppf-qty-btn {
    background: transparent;
    border: none;
    width: 30px;
    height: 100%;
    font-size: 17px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background 0.15s;
}

.bppf-qty-btn:hover {
    background: #f2f2f2;
    color: black;
}

.bppf-qty-btn:focus {
    color: black !important;
    background: transparent !important;
}

.bppf-qty-input {
    width: 35px;
    height: 100%;
    border: none !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
}

.bppf-qty-input::-webkit-inner-spin-button,
.bppf-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ---- Remove Button ---- */
.bppf-remove-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
    transition: color 0.15s;
}

.bppf-remove-btn:hover {
    color: #000;
}

/* ---- Continue Shopping ---- */
.bppf-continue-shopping-link {
    display: inline-block;
    font-style: italic;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    color: #000;
    transition: color 0.15s;
}

.bppf-continue-shopping-link:hover {
    color: #17c3c3;
}

.button .wc-backward .bppf-continue-shopping-link .bppf-empty{
background-color: #17c3c3 !important;
}

/* ---- Order Summary (cart-totals.php) ---- */
.bppf-cart-sidebar .cart_totals {
    border: 1px solid #111;
    padding: 26px 24px;
    box-sizing: border-box;
}

.bppf-summary-heading {
    color:#000000;
    font-family:"Inter";
    font-style: italic;
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

.bppf-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.bppf-summary-label {
    color: #333;
    font-weight: 500;
}

.bppf-summary-value {
    color: #000;
    font-weight: 700;
    text-align: right;
}

.bppf-shipping-note {
    font-weight: 800;
}

/* ---- Promo Code ---- */
.bppf-promo-code-card {
    margin: 20px 0;
}

.bppf-promo-code-inner {
    display: flex;
    gap: 8px;
    width: 100%;
}

.bppf-promo-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 1px solid #e0e0e0;
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    color: #000;
    box-sizing: border-box;
    outline: none;
}

.bppf-promo-input:focus {
    border-color: #000;
}

.bppf-promo-btn {
    background: #00b4b2;
    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 0 22px;
    cursor: pointer;
    text-transform: uppercase;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background-color 0.15s;
}

.bppf-promo-btn:hover {
    background: #009e9c;
}

/* ---- Total ---- */
.bppf-total-row {
    border-top: 1px solid #ddd;
    padding-top: 14px;
    margin-top: 6px;
    margin-bottom: 24px;
}

.bppf-total-label,
.bppf-total-value {
    font-weight: 800;
    font-size: 17px;
    color: #000;
}

/* ---- Checkout CTA ---- */
.wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    background: #000 !important;
    color: #fff !important;
    text-align: center;
    padding: 16px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 6px;
}

.bppf-shipping-notice {
    text-align: center;
    font-size: 13px;
    color: #444;
    margin: 12px 0 0 0;
    line-height: 1.4;
}

/* ---- Hidden update cart button ---- */
.bppf-hidden-update-cart {
    display: none;
}

/* ---- Table overrides (theme conflict) ---- */


.table tbody tr:hover > td,
table tbody tr:hover > th {
    border: none !important;
}

table td {
    border: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .bppf-cart-layout {
        flex-direction: column;
        gap: 0px;
    }
	
	.bppf-cart-main {
		margin: auto;
	}

    .bppf-cart-sidebar {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .bppf-cart-heading {
        font-size: 32px;
    }

    .bppf-checkout-progress {
        margin: 25px 0 35px 0;
    }

    .bppf-progress-steps {
        margin-bottom: 14px;
    }

    .bppf-step-item {
        gap: 8px;
    }

    .bppf-step-label {
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    .bppf-step-badge {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 11px;
    }

    .bppf-cart-table th.bppf-th-price,
    .bppf-cart-table td.bppf-td-price {
        display: none;
    }

    .bppf-product-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bppf-product-thumb {
        width: 100%;
        max-width: 140px;
        height: 90px;
    }

    .bppf-product-meta {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bppf-cart-heading {
        font-size: 26px;
    }

    .bppf-checkout-progress {
        margin: 20px 0 30px 0;
    }

    .bppf-progress-steps {
        margin-bottom: 10px;
    }

    .bppf-step-item {
        gap: 5px;
    }

    .bppf-step-label {
        font-size: 9.5px;
        letter-spacing: 0px;
    }

    .bppf-step-badge {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 10px;
    }
}

/* Checkout css */

/* BEAR PPF – Checkout (Stripe-safe, cleaned) */

body.bear-ppf-checkout {
    background: #fff;
    color: #000;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Layout ---------- */
.checkout-grid {
    width: 100%;
    display: flex;
    gap: 45px;
    align-items: flex-start;
    margin: 0 auto;
}

.checkout-left {
    flex: 1 1 63%;
    min-width: 0;
}

.checkout-right {
    flex: 0 0 37%;
    min-width: 330px;
    position: sticky;
    top: 30px;
    align-self: start;
}

/* ---------- Section titles ---------- */
.section-title {
    font-family: "Inter";
    font-style: italic;
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
    letter-spacing: 0.3px;
}

.payment-method-section {
    margin-top: 48px;
}

/* ---------- Hide default WooCommerce blocks ---------- */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .woocommerce-additional-fields {
    display: none !important;
}

/* ---------- Form fields (billing / shipping only – does NOT target #payment) ---------- */
.woocommerce-checkout .form-row {
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.woocommerce-checkout .form-row label {
    display: block !important;
    font-family: "Inter";
    font-size: 16px !important;
    text-transform: capitalize !important;
    color: #000 !important;
    margin-bottom: 7px !important;
}

.woocommerce-checkout .form-row .required {
    display: none;
}

/* Scope inputs to billing/shipping only – never touch Stripe fields */
.woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text,
.woocommerce-checkout .woocommerce-billing-fields .form-row select,
.woocommerce-checkout .woocommerce-billing-fields .form-row textarea,
.woocommerce-checkout .shipping-address-section .form-row input.input-text,
.woocommerce-checkout .shipping-address-section .form-row select,
.woocommerce-checkout .shipping-address-section .form-row textarea,
.woocommerce-checkout .billing-address-section .form-row input.input-text,
.woocommerce-checkout .billing-address-section .form-row select,
.woocommerce-checkout .billing-address-section .form-row textarea {
    background: #fff !important;
    border: 1px solid #D4D4D4 !important;
    border-radius: 0 !important;
    height: 44px !important;
    padding: 0 14px !important;
    font-family: "Inter";
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000 !important;
    width: 100% !important;
    box-shadow: none !important;
    transition: border-color 0.15s;
}

.woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text:focus,
.woocommerce-checkout .woocommerce-billing-fields .form-row select:focus,
.woocommerce-checkout .shipping-address-section .form-row input.input-text:focus,
.woocommerce-checkout .shipping-address-section .form-row select:focus,
.woocommerce-checkout .billing-address-section .form-row input.input-text:focus,
.woocommerce-checkout .billing-address-section .form-row select:focus {
    border-color: #000 !important;
    outline: none !important;
}

:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 11px !important;
    color: #000 !important;
}

.woocommerce-checkout #billing_state_field .select2-container .select2-selection--single {
    border-color: #D4D4D4 !important;
    border-radius: 0 !important;
}

.woocommerce-checkout #billing_state_field .select2-container--focus .select2-selection--single,
.woocommerce-checkout #billing_state_field .select2-container--open .select2-selection--single {
    border-radius: 0 !important;
    border-color: #000 !important;
}

.woocommerce form .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection {
    border-color: #000;
}

/* Two-column field rows */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: 48.5% !important;
    float: left;
}

.woocommerce-checkout .form-row-first {
    margin-right: 3% !important;
}

.woocommerce-checkout .form-row-wide {
    width: 100% !important;
    float: none !important;
}

.woocommerce-billing-fields__field-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Billing same as shipping checkbox */
.billing-same-as-shipping {
    margin: 12px 0 32px !important;
}

.billing-same-as-shipping label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-family: "Inter";
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer;
}

.billing-same-as-shipping input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000;
}

/* ---------- Payment section – outer only, no Stripe internals ---------- */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.payment-method-section {
    overflow: visible !important;
}

/* Hide duplicate place-order under left payment block */
.checkout-left #payment .form-row.place-order,
.checkout-left #place_order {
    display: none !important;
}

/* ---------- Order Summary (right column) ---------- */
.checkout-right #order_review {
    border: 1px solid #111;
    padding: 28px 26px 32px;
    box-sizing: border-box;
    background: #fff;
}

.checkout-right .section-title {
    margin: 0 0 24px;
    padding-bottom: 0;
    border-bottom: none;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border: none !important;
    margin: 0;
}

.woocommerce-checkout-review-order-table thead {
    display: none;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none !important;
    padding: 12px 0 !important;
    font-size: 15px;
    vertical-align: top;
    font-family: "Inter";
}

.woocommerce-checkout-review-order-table .cart_item,
.woocommerce-checkout-review-order-table .cart_item td {
    background: transparent !important;
    background-color: transparent !important;
}

.woocommerce-checkout-review-order-table .cart_item td {
    padding: 14px 0 !important;
    border-bottom: 1px solid #E4E4E4 !important;
}

.woocommerce-checkout-review-order-table .product-name {
    width: 70%;
    font-family: "Inter";
    font-size: 15px;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

.product-qty-sku,
.woocommerce-checkout-review-order-table .product-quantity {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-top: 4px;
}

.woocommerce-checkout-review-order-table .product-total {
    width: 30%;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    white-space: nowrap;
}

/* Shipping speed heading */
.shipping-speed-heading td {
    padding: 22px 0 12px !important;
    border: none !important;
    text-align: left !important;
}

.shipping-speed-label {
    font-family: "Inter";
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-align: left !important;
}

/* Shipping methods */
#shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
}

#shipping_method li {
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}

#shipping_method li:has(input:checked) {
    border-color: #111;
    background: #fafafa;
}

#shipping_method input[type="radio"] {
    margin-right: 10px;
    accent-color: #000;
}

#shipping_method label {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    cursor: pointer;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

#shipping_method .amount {
    font-weight: 700;
    white-space: nowrap;
}

#shipping_method small,
#shipping_method .shipping-method-description {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-top: 2px;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table .shipping td {
    padding: 0 0 8px !important;
    border: none !important;
}

/* Live rate note */
.shipping-live-note td {
    padding: 6px 0 18px !important;
    border: none !important;
    text-align: left !important;
}

.rate-note {
    font-size: 14px;
    color: #000;
    font-weight: 500;
    line-height: 1.4;
    text-align: left !important;
}

/* Totals */
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding: 10px 0 !important;
    border: none !important;
    font-family: "Inter";
    font-size: 15px;
}

.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 500;
    color: #333;
    text-align: left;
}

.woocommerce-checkout-review-order-table tfoot td {
    font-weight: 600;
    color: #000;
    text-align: right;
}

.cart-subtotal th {
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #000 !important;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-weight: 800;
    font-size: 17px;
    color: #000;
    padding-top: 16px !important;
    border-top: 1px solid #000 !important;
}

/* Place Order button (right column) */
.checkout-right #place_order,
#place_order {
    display: block !important;
    width: 100% !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    height: auto !important;
    padding: 16px !important;
    font-family: "Inter";
    font-size: 15px !important;
    font-weight: 800 !important;
    font-style: italic !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
}

#place_order:hover {
    background: #222 !important;
}

/* Secure note under button */
.checkout-right .place-order::after {
    content: "Secure checkout · You'll get an order confirmation email immediately after." !important;
    display: block !important;
    font-size: 16px !important;
    color: #000 !important;
    text-align: center !important;
    margin-top: 14px !important;
    font-weight: 400 !important;
}

.bear-ppf-payment-output::after {
    content: "Payment processed securely via Stripe. Bear PPF never stores your card details." !important;
    display: block !important;
    font-size: 16px !important;
    color: #000 !important;
    text-align: left !important;
    margin-top: 14px !important;
    font-weight: 400 !important;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
    display: none !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 991px) {
    .checkout-grid {
		align-items:center;
        flex-direction: column;
        gap: 40px;
    }

    .checkout-left {
		width: 95%;
        flex: 1 1 100%;
    }

    .checkout-right {
		width: 97%;
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        position: relative;
        top: 0;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        margin-right: 0 !important;
        float: none !important;
    }
}

/* Phone / small tablet */
@media (max-width: 768px) {
    .section-title {
        font-size: 20px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .checkout-right .section-title {
        margin-bottom: 20px;
    }

    .checkout-grid {
        gap: 32px;
        padding: 0px;
    }

    .checkout-right #order_review {
        padding: 22px 18px 28px;
    }

    .payment-method-section {
        margin-top: 36px;
    }

    .woocommerce-checkout .form-row label {
        font-size: 15px !important;
    }

    .woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text,
    .woocommerce-checkout .woocommerce-billing-fields .form-row select,
    .woocommerce-checkout .woocommerce-billing-fields .form-row textarea,
    .woocommerce-checkout .shipping-address-section .form-row input.input-text,
    .woocommerce-checkout .shipping-address-section .form-row select,
    .woocommerce-checkout .shipping-address-section .form-row textarea,
    .woocommerce-checkout .billing-address-section .form-row input.input-text,
    .woocommerce-checkout .billing-address-section .form-row select,
    .woocommerce-checkout .billing-address-section .form-row textarea {
        height: 42px !important;
        font-size: 14px !important;
    }

    #shipping_method li {
        padding: 12px 14px;
    }

    .woocommerce-checkout-review-order-table .product-name,
    .woocommerce-checkout-review-order-table .product-total {
        font-size: 14px;
    }

    .product-qty-sku,
    .woocommerce-checkout-review-order-table .product-quantity {
        font-size: 12px;
    }

    .shipping-speed-label {
        font-size: 13px;
    }

    .rate-note {
        font-size: 13px;
    }

    .woocommerce-checkout-review-order-table tfoot .order-total th,
    .woocommerce-checkout-review-order-table tfoot .order-total td {
        font-size: 16px;
    }

    #place_order {
        padding: 14px !important;
        font-size: 14px !important;
    }

    .checkout-right .place-order::after {
        font-size: 14px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .section-title {
        font-size: 18px;
        padding-bottom: 14px;
    }

    .checkout-grid {
        gap: 28px;
        padding: 16px 12px 48px;
    }

    .checkout-right #order_review {
        padding: 18px 14px 24px;
    }

    .billing-same-as-shipping label {
        font-size: 14px !important;
    }

    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        font-size: 14px;
    }

    .cart-subtotal th {
        font-size: 15px !important;
    }

    .woocommerce-checkout-review-order-table tfoot .order-total th,
    .woocommerce-checkout-review-order-table tfoot .order-total td {
        font-size: 15px;
    }

    #place_order {
        padding: 14px 12px !important;
        font-size: 13px !important;
    }

    .checkout-right .place-order::after {
        font-size: 13px;
        line-height: 1.35;
    }
}

.payment-method-section {
    margin-top: 48px;
}

.payment-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-tab {
    flex: 1;
    padding: 14px 12px;
    border: 1px solid #111;
    background: #fff;
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.15s;
}

.payment-tab.active,
.payment-tab:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Real Stripe sits under the tabs */
.bear-ppf-payment-output {
    margin-top: 8px;
}

/* Outer payment container only – do not style Stripe internals */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Hide duplicate place-order under left payment */
.checkout-left #payment .form-row.place-order,
.checkout-left #place_order {
    display: none !important;
}

/* Optional: soften Stripe’s default “Payment options” label if it still shows */
.bear-ppf-payment-output .wc-stripe-payment-method-label,
.bear-ppf-payment-output #payment .payment_methods > li > label:first-child {
    /* leave Stripe alone unless you need to hide a specific label */
}

.payment-method-section {
    margin-top: 48px;
}


#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Hide payment if it still leaks into the right column */
.checkout-right #payment,
.checkout-right .woocommerce-checkout-payment,
.checkout-right .payment_methods,
.checkout-right .wc-stripe-payment-request-wrapper,
.checkout-right [class*="PaymentElement"],
.checkout-right .p-Root {
    display: none !important;
}

/* Hide duplicate place-order under left payment */
.checkout-left #payment .form-row.place-order,
.checkout-left #place_order {
    display: none !important;
}

/* Just put the shipping methods below the "Shipment" text */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping {
    display: block !important;
}
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping th,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping td {
    display: block !important;
}
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping th {
    padding-bottom: 12px !important;
}
.woocommerce ul#shipping_method li{
    text-align: left !important;
}

.woocommerce-checkout-payment ul li label{
display: none !important;
}

/* ================= THANK YOU / ORDER CONFIRMATION PAGE ================= */

.bppf-thankyou-header {
    text-align: center;
    padding: 0px 20px 50px 20px;
}

.bppf-thankyou-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
}

.bppf-thankyou-check img {
    width: 100%;
    height: auto;
    display: block;
}

.bppf-thankyou-header .bppf-cart-heading {
    margin: 0 0 20px 0;
}

.bppf-thankyou-subtext {
    font-family: "Inter";
    font-size: 16px;
    color: black;
    width: 50%;
    margin: 30px auto;
    line-height: 1.5;
}

.bppf-order-number-box {
	margin-top: 30px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid black;
    padding: 10px 24px;
}

.bppf-order-number-box span {
    font-family: "Inter";
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
}

.bppf-order-number-box strong {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 800;
    color: #000;
}

/* ---- Two column layout ---- */
.bppf-thankyou-grid {
    display: flex;
    gap: 45px;
    align-items: flex-start;
    width: 100%;
    padding: 0 0 75px;
}

.bppf-thankyou-left {
    flex: 1 1 63%;
    min-width: 0;
}

.bppf-thankyou-right {
    flex: 0 0 37%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---- Items ordered card ---- */
.bppf-order-card {
    border: 1px solid #D4D4D4;
    padding: 28px;
}

.bppf-order-card-title {
    font-family: "Inter";
    font-style: italic;
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 0 18px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #000;
}

.bppf-order-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.bppf-order-item-img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    overflow: hidden;
    background: #f2f2f2;
}

.bppf-order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bppf-order-item-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bppf-order-item-name {
    font-family: "Inter";
    font-weight: 700;
    font-size: 16px;
    color: #000;
    text-transform: uppercase;
}

.bppf-order-item-sku {
    font-family: "Inter";
    font-size: 16px;
    color: #888;
}

.bppf-order-item-price {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

.bppf-order-totals {
    margin-top: 6px;
}

.bppf-order-total-row {
    display: flex;
    justify-content: space-between;
    font-family: "Inter";
    font-size: 16px;
    color: #555;
    padding: 8px 0;
}

.bppf-order-total-final {
    border-top: 1px solid #000;
    margin-top: 6px;
    padding-top: 14px;
    font-weight: 800;
    font-size: 16px;
    color: #000;
}

.bppf-order-actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}

.bppf-btn {
    flex: 1 1 50%;
    text-align: center;
    padding: 14px 16px;
    font-family: "Inter";
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.15s;
}

.bppf-btn-black {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.bppf-btn-black:hover{
	color: white;
}

.bppf-btn-outline {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.bppf-btn-outline:hover{
	color: #000;
}

/* ---- Right column info boxes ---- */
.bppf-info-box {
    border: 1px solid #D4D4D4;
    padding: 24px;
}

.bppf-info-box-title {
    font-family: "Inter";
    font-style: italic;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    margin: 0 0 14px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #000;
}

.bppf-info-status-list {
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 10px 0;
}

.bppf-info-status-list li {
    font-family: "Inter";
    font-size: 16px;
    color: #000;
    font-weight: 600;
}

.bppf-info-line {
    font-family: "Inter";
    font-size: 16px;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

.bppf-info-strong {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin: 0 0 6px 0;
}

.bppf-info-muted {
    color: #888;
    font-size: 16px;
}

.bppf-thankyou-failed {
    padding: 40px 20px;
    text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .bppf-thankyou-grid {
        flex-direction: column;
        gap: 32px;
    }
    .bppf-thankyou-left,
    .bppf-thankyou-right {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .bppf-thankyou-header {
        padding: 44px 16px 36px;
    }
    .bppf-order-card,
    .bppf-info-box {
        padding: 20px;
    }
    .bppf-order-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .bppf-thankyou-subtext {
		width: 100%;
        font-size: 14px;
    }
    .bppf-order-item-name {
        font-size: 13px;
    }
    .bppf-order-item-img {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }
}

/* Hide original "Checkout" text */
body.woocommerce-order-received .elementor-heading-title {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

/* Show "CONFIRMATION" with the exact same styling */
body.woocommerce-order-received .elementor-heading-title::after {
    content: "CONFIRMATION";
    display: inline-block;
    font-family: "Archivo", Sans-serif;
    font-size: 100px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: var(--e-global-color-secondary);
    line-height: 1.1;
}

/* Tablet */
@media (max-width: 991px) {
    body.woocommerce-order-received .elementor-heading-title::after {
        font-size: 64px;
        white-space: normal;
    }
}

/* Phone */
@media (max-width: 768px) {
    body.woocommerce-order-received .elementor-heading-title::after {
        font-size: 40px;
        white-space: normal;
    }
}

/* ========== VIEW ORDER PAGE ========== */

.bppf-view-order-wrap {
	font-family: "Inter", sans-serif;
	font-size: 16px;
	color: #000;
}

/* Header */
.bppf-view-order-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin: 30px 0 40px;
	flex-wrap: wrap;
	gap: 20px;
}

.bppf-view-order-title {
	font-family: "Inter", sans-serif;
	font-size: 42px;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	margin: 0 0 12px 0;
	letter-spacing: -0.5px;
}

.bppf-view-order-meta {
	display: flex;
	align-items: center;
	gap: 16px;
}

.bppf-view-order-date {
	font-size: 16px;
	color: #555;
}

.bppf-status-badge {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid #000;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bppf-view-order-header-right {
	display: flex;
	gap: 12px;
}

.bppf-btn-sm {
	padding: 12px 20px !important;
	font-size: 14px !important;
	flex: none !important;
}

/* Status Progress Bar */
.bppf-order-status-bar {
	display: grid;
	gap: 5px;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 40px;
}

.bppf-status-step {
	padding: 18px 20px;
	border: 1px solid #000;
	background: #fff;
}


.bppf-status-step.active {
	background: #000;
	color: #fff;
}

.bppf-status-label {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}

.bppf-status-date {
	display: block;
	font-size: 14px;
	opacity: 0.85;
}

/* Timeline */
.bppf-timeline-row {
	display: flex;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid #eee;
	font-size: 16px;
}

.bppf-timeline-row:last-child {
	border-bottom: none;
}

/* Payment rows */
.bppf-payment-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 16px;
}

/* Tracking box */
.bppf-tracking-box {
	margin-top: 16px;
	padding: 14px;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
}

/* Item qty/price adjustment */
.bppf-order-item-qty-price {
	text-align: right;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bppf-order-item-qty {
	font-size: 14px;
	color: #666;
}

/* Responsive */
@media (max-width: 991px) {
	.bppf-order-status-bar {
		grid-template-columns: 1fr 1fr;
	}
	.bppf-status-step {
		border-bottom: 1px solid #000;
	}
}

@media (max-width: 600px) {
	.bppf-view-order-title {
		font-size: 28px;
	}
	.bppf-order-status-bar {
		grid-template-columns: 1fr;
	}
	.bppf-view-order-header {
		flex-direction: column;
	}
}

/* Hide My Account sidebar navigation on View Order page */
body.woocommerce-view-order .woocommerce-MyAccount-navigation {
	display: none !important;
}

/* Make the content full width */
body.woocommerce-view-order .woocommerce-MyAccount-content {
	width: 100% !important;
	float: none !important;
}
/* ==========================================================================
   Certificate PREVIEW (dealer portal, "bppf-cert-preview" panel) ONLY.
   Renders includes/certificate-preview-template.php — a div-based version
   of the certificate used just for the on-page preview. The PDF and the
   customer email use a separate, table-based template (unaffected by
   anything below) so this only changes what dealers see in the portal.
   ========================================================================== */

.bppf-cert-preview-doc {
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
}

.bppf-cert-preview-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.bppf-cert-preview-logo {
	width: 200px;
	display: block;
}

.bppf-cert-preview-number {
	border: 1px solid #000;
	padding: 6px 14px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.bppf-cert-preview-title {
	font-size: 26px;
	font-weight: 900;
	font-style: italic;
	margin: 0 0 20px;
	line-height: 1.2;
}

.bppf-cert-preview-heading {
	font-size: 18px;
	font-weight: 700;
	margin: 24px 0 10px;
	color: #000;
}

/* Customer / Vehicle Information — one field per row (column mode),
   instead of side-by-side, so long values never squeeze a column. */
.bppf-cert-preview-box {
	background: #EAE7E7;
	padding: 16px 18px;
}

.bppf-cert-preview-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bppf-cert-preview-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bppf-cert-preview-label {
	font-size: 14px;
	color: #8f8f8f;
}

.bppf-cert-preview-value {
	font-size: 16px;
	font-weight: 700;
	word-break: break-word;
	overflow-wrap: anywhere;
}

/* Product + Installation panels */
.bppf-cert-preview-two-col {
	display: flex;
	gap: 18px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.bppf-cert-preview-panel {
	flex: 1 1 220px;
	border: 1px solid #000;
	padding: 16px 18px;
}

.bppf-cert-preview-panel h4 {
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 10px;
}

.bppf-cert-preview-panel p {
	font-size: 15px;
	margin: 4px 0;
	color: #333;
}

/* Coverage table */
.bppf-cert-preview-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 8px;
}

.bppf-cert-preview-table th {
	text-align: left;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 8px;
	border-bottom: 2px solid #000;
}

.bppf-cert-preview-table td {
	font-size: 14px;
	padding: 10px 8px;
	border-bottom: 1px solid #e2e2e2;
}

/* Coverage summary */
.bppf-cert-preview-summary-band {
	background: #000;
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	padding: 12px 18px;
}

.bppf-cert-preview-summary-body {
	background: #EAE7E7;
	border-left: 5px solid #000;
	padding: 18px;
	display: flex;
	flex-direction: column;
	align-items:flex-start;
	gap: 14px;
	flex-wrap: wrap;
	text-align: center;
}

.bppf-cert-preview-footer {
	font-size: 14px;
	color: #000;
	line-height: 1.6;
	margin-top: 24px;
}

@media (max-width: 600px) {
	.bppf-cert-preview-two-col {
		flex-direction: column;
	}
	.bppf-cert-preview-title {
		font-size: 20px;
	}
}