.modal-open {
    overflow: hidden
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0
}

.modal-extra-lg {
    max-width: 1000px !important
}

.modal-extra-lg .modal-body {
    padding: 80px 100px !important
}

@media (max-width:768px) {
    .modal-extra-lg .modal-body {
        padding: 30px 40px !important
    }
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px)
}

@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        transition: none
    }
}

.modal.show .modal-dialog {
    transform: none
}

.modal.modal-static .modal-dialog {
    transform: scale(1.02)
}

.modal-dialog-scrollable {
    height: calc(100% - 1rem)
}

.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    overflow: hidden
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background-color: #F5F5F5
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 10px
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem)
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgb(0 0 0 / .2);
    border-radius: .3rem;
    outline: 0
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    background-color: #000
}

.modal-backdrop.fade {
    opacity: 0
}

.modal-backdrop.show {
    opacity: .85
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px)
}

.modal-header .btn-close {
    padding: .5rem .5rem;
    margin: -.5rem -.5rem -.5rem auto
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px)
}

.modal-footer>* {
    margin: .25rem
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto
    }

    /* .modal-dialog-scrollable {
        height: calc(100% - 3.5rem)
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem)
    } */

    .modal-sm {
        max-width: 300px
    }
}

@media (min-width:992px) {

    .modal-lg,
    .modal-xl {
        max-width: 800px
    }
}

@media (min-width:768px) and (max-width:1199px) {
   .modal .modal-header,
.modal .modal-body,
.modal .modal-footer {
    padding: 1rem 2.5rem !important;
}
}

@media (max-width:767px){
   .modal .modal-header,
.modal .modal-body,
.modal .modal-footer {
    padding: 1.5rem 2.5rem !important;
}
}

.modal {
    color: #000;
}

.modal .modal-content {
    border-radius: 20px;
    border: none;
}

.modal .modal-header,
.modal .modal-body,
.modal .modal-footer {
    padding: 0.8rem 2.5rem;
}

.modal .modal-header {
    border-bottom: none;
}

.modal .btn-close {
    position: absolute;
    z-index: 7;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    background-size: 20px;
    padding: 0;
    opacity: 1;
}

iframe {
    border: 0;
}

#pjAcceptCookieBar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: auto;
    background: #ffebeb;
    padding: 15px 20px;
    color: #000;
    box-shadow: 0 10px 60px rgb(0 0 0 / .15) !important;
}

#pjAcceptCookieBar .pjAcceptCookieBarShell {
    width: 90%;
    margin: 0 auto;
}

.align-items-center {
    align-items: center !important;
}

.g-4,
.gy-4 {
    --bs-gutter-y: 1.5rem;
}

#pjAcceptCookieBar p {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.link-primary {
    color: #EE2938;
}

.link {
    font-weight: 400;
    font-size: 16px;
    color: #0a58ca;
}

.btn-primary {
    background: #EE2938;
    border-color: #EE2938;
    color: #ffffff !important;
}

.btn-sm {
    font-size: 12px;
    font-weight: 400;
}

.btn {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    border-radius: 1;
    padding: 13px 35px;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all .2s ease;
    will-change: transform;
}

.btn-sm,
.btn-group-sm>.btn {
    padding: .40rem .9rem;
    font-size: .875rem;
    border-radius: .9rem;
}

.btn-outline-dark {
    color: #212529;
    border-color: #212529;
}

.sell-all-btn {
    border-radius: 100px;
    background: #DC2328;
    border-color: #DC2328;
    margin-top: 25px;

}

.alert {
    position: relative;
    border-radius: 0;
    margin: 0;
    padding: 10px 15px;
    font-size: 12px;
    border: 1px solid #fff0;
    border-radius: 6px;
    margin: 5px 10px;
    box-shadow: 0 10px 10px rgb(216 216 216 / .1)
}

.alert-success {
    color: #000000;
    background-color: #C5DBC4;
    border-color: #C5DBC4;
    border-radius: 20px;
}

.alert-dismissible .btn-close {
    padding: 14px;
    color: #000;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    padding: 10px 10px 10px 20px;
    line-height: normal;
}

.alert-danger {
    color: #000000;
    background-color: #FF7B7B;
    border-color: #FF7B7B;
    border-radius: 20px;
}

.alert-warning {
    color: #000000;
    background-color: #DEDFED;
    border-color: #DEDFED;
    border-radius: 20px;
}

.flash-message-padding {
    padding: 0 25px;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    border: none;
}

.btn-close:focus,
.btn-close:focus-visible {
    color: #000;
    outline: none;
    box-shadow: none;
    border: none;
}

/* ─── BASE / RESET ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ─── CONTAINER ─────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ─── HERO SECTION ──────────────────────────────────────────────── */
.hero-banner {
    /* background: #FFC9C0; */
    background: rgba(240, 246, 255, 1);
    padding: 36px 0 28px;
    /* mobile */
}

.hero-title {
    color: #0C1788;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(22px, 5vw, 40px);
    /* fluid: 22px → 40px */
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    /* relative, not fixed px */
}

.hero-sub {
    color: #554343;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(14px, 2vw, 14px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
}

/* ─── BUTTON / PILLS SECTION ────────────────────────────────────── */
.button-section {
    position: relative;
    margin-top: -14px;
    /* mobile — smaller overlap */
    z-index: 10;
    padding: 0 16px;
}

.category-pills {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* gap: 8px; */
    /* tighter on mobile */
}

.category-pill {
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 36px;
    padding: 8px 18px;
    /* compact on mobile */
    border-radius: 100px;
    border: 1px solid #A4A4A4;
    text-decoration: none;
    background: #FFF;
    cursor: pointer;
    -webkit-transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    -o-transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    color: #554343;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.category-pill:hover,
.category-pill.active {
    background: #C0392B;
    color: #ffffff;
    border-color: #C0392B;
}

.product-section-1,
.product-section-2,
.product-section-3 {
    padding: 40px 20px 60px;
    /* padding-bottom: 80px; */
}

.product-section-1 {
    background: #ffffff;
}

.product-section-2 {
    /* background: #FFE2E2; */
    background: rgba(255, 226, 226, 0.7);
}
.product-section-3 {
   background: rgba(223, 225, 245, 0.6);
}

/* ─── SECTION TITLE ─────────────────────────────────────────────── */
.section-title-1 {
    /* color: #DC2328; */
    color: rgba(12, 23, 136, 1);
    font-family: "DM Sans", sans-serif;
    font-size: clamp(22px, 4vw, 40px);
    /* fluid */
    font-weight: 600;
    line-height: 1.2;
}

/* ══════════════════════════════════════════════════════════════════
   BREAKPOINTS  —  mobile-first (each level adds / overrides only)
══════════════════════════════════════════════════════════════════ */
@media (min-width: 300px) and (max-width: 580px) {
    .category-pills {
        display: none;
    }

    .section-title-1 {
        justify-self: start;
    }
}

@media (min-width: 582px) and (max-width: 990px) {
    .container {
        padding: 0 24px;
    }

    .hero-banner {
        padding: 48px 0 34px;
    }

    .button-section {
        margin-top: -17px;
        padding: 0 24px ;
    }
    .category-pills {
        display: none;
    }

    .button-section .fnav-select {
        border-radius: 25px;
        border: 1.5px solid #e5bcbc;
        background-color: #FFF;
    }
}
@media screen and (width: 991px) {
    .button-section .fnav-dropdown {
        display: none;
    }
    .button-section {
        margin-top: -17px;
        padding: 0 24px;
    }
    .fnav-select,
    .button-section .fnav-select {
        border-radius: 25px;
        border: 1.5px solid #e5bcbc;
        background-color: #FFF;
    }
}

@media (min-width: 992px) and (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero-banner {
        padding: 60px 0 40px;
    }

    .button-section {
        margin-top: -20px;
        padding: 0 32px;
    }

    .fnav-dropdown {
        display: none;
    }
    

    .category-pill {
        height: 40px;
        padding: 9px 16px;
        font-size: 12px;
    }
}

/* ── Tablet  ≥ 600px ── */
/* @media screen and (min-width: 600px) {
    .container {
        padding: 0 24px;
    }

    .hero-banner {
        padding: 48px 0 34px;
    }

    .button-section {
        margin-top: -17px;
        padding: 0 24px;
    }

    .category-pill {
        height: 38px;
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media screen and (min-width: 900px) {
    .container {
        padding: 0 32px;
    }

    .hero-banner {
        padding: 60px 0 40px;
    }

    .button-section {
        margin-top: -20px;
        padding: 0 32px;
    }

    .category-pill {
        height: 40px;
        padding: 9px 26px;
        font-size: 15px;
    }
} */

/* ── Large / Desktop  ≥ 1200px ── */
@media screen and (min-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    .button-section {
        margin-top: -20px;
        padding: 0 32px;
    }
    .category-pill {
        padding: 9px 20px;
        font-size: 16px;
    }
}

.product-placeholder-car {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
}

@media screen and (max-width: 991px) {
   .product-section-1,
.product-section-2 {
    padding: 40px 20px 30px;
    /* padding-bottom: 80px; */
}
}
