@media screen and (max-width: 999px){
    .size_icon_box {
        width: 31% !important;
    }
}
@media screen and (min-width: 999px){
    .col-lg-6.pdng_lft_zero {
    width: 60%!important;
}
.col-lg-6.paddingleft_remove {
    width: 40%!important;
}
    .form-check.brd_artsty {
    margin-bottom: 10px!important;
    margin-top: 20px!important;
}
/*NEW STYLE MAIN CALCULATOR BY KASIM*/
.row.border_section.second_section.custom_calculator_overlay_loading {
    margin-top: 20px !important;
    border-radius: 0px !important;
}
h4.headstyle {
    height: 44px !important;
    margin: 0 !important;
    justify-content: start;
    padding-left: 20px;
    align-items: center;
    display: flex;
    border-radius: 0 !important;
}
.col-md-4.right {
    margin: 0 !important;
}
.firt_sec_bottom {
    border-radius: 0 !important;
}
.bannerpricing-table.container {
    margin: 0 !important;
    padding: 0 !important;
}
.bannerpricing-table.container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
h4.headstyle {
    height: 44px !important;
    margin: 0 !important;
    justify-content: start;
    padding-left: 20px;
    align-items: center;
    display: flex;
    border-radius: 0 !important;
    font-weight: 400 !important;
    font-family: 'Inter' !important;
}
.size_icons_parent {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
    .size_icons_parent .size_icon_box {
        width: 24% !important;
        border: 2.50px #D9D9D9 solid;
        border-radius: 5px !important;
    }
    div#popular_sizes_grid {
    margin-bottom: 15px;
    border: 2.50px #D9D9D9 solid;
}
.size_icon_box.selected_size{
    border: 2.50px #D82430 solid !important;

}

    .size_icons_parent .size_icon_box img {
        max-width: 100% !important;
        height: 65px;
        width: 100% !important;
    }
.size_icons_parent .size_icon_box .size_icon_price {
    font-size: 21px !important;
    font-family: Inter !important;
    font-weight: 700 !important;
    word-wrap: break-word !important;
    color: black !important;
}
.size_icon_box.selected_size {
    box-shadow: 0 4px 16px rgba(212, 1, 114, 0.15) !important;
}
    .row.border_section.fist_section .first_Sect_inner .firt_sec_bottom {
        width: 100%;
        display: inline-block;
        position: relative;
        float: left;
        padding: 0px;
        margin: 0px;
        padding-bottom: 0px;
        margin-top: -11px;
        padding-top: 11px;
        border-bottom-left-radius: 5px;
    }
p.mss-section-title {
    text-align: left;
}
table.tg {
    width: 100%!important;
}
ul#unit_tabs li.active a {
    border: 2px solid #D82430 !important;
}
ul#unit_tabs li a {
    height: 30px !important;
    border-radius: 10px !important;
    justify-content: center;
    display: flex !important;
    align-items: center !important;
}
.col-md-6.right_branding {
    display: none !important;
}
span.get_branding {
    height: 30px !important;
    align-items: center;
    display: flex;
    padding: 10px !important;
    border-radius: 33px !important;
}
    span#close_custom_calc {
        color: black !important;
        font-size: 35px !important;
        background: white;
        width: 30px;
        height: 30px;
        justify-content: center;
        align-items: center;
        display: flex;
        border-radius: 5px !important;
    }
.row.border_section.sixth_section.yamoloko {
    border: 2px solid #D82430 !important;
    margin-top: 20px !important;
}
.row.border_section.sixth_section.yamoloko .col-md-8.left {
    padding: 0 !important;
}
.row.border_section.second_section {
        margin: 0px !important;
        border-left: unset !important;
        border-bottom: unset !important;
        margin-right: 0px !important;
        padding-top: 0px !important;
        margin-top: 20px !important;
    }
    .row.border_section.third_section.fourth_section .firt_sec_bottom .col-md-8.left.every_section_padding .delivery_heading.left.hemm_flex .finishing_top_right {
        display: inline-block;
        float: left;
        width: 100%;
        background-color: #D82430;
        border-bottom-left-radius: 0!important;
        border-top-left-radius: 0!important;
    }
.row.border_section.third_section.fourth_section {
    margin-top: 20px !important;
}

.delivery_heading.right {
    margin: 0 !important;
}









/*NEW STYLE MAIN CALCULATOR BY KASIM*/


}
@media screen and (max-width:999px){
    .tabbable ul#unit_tabs {
        background: #d82430;
    }
}
@media screen and (min-width:999px){
ul#unit_tabs {
    background: #d82430;
}
}
    div#popular_sizes_grid {
    margin-bottom: 15px;
    border: 1px #D9D9D9 solid;
}
div#popular_sizes_grid .size_icons_parent {
    padding: 10px;
}
/* ── Reset ─────────────────────────────────────────────────────────────────── */
.mss-wrapper *,
.mss-wrapper *::before,
.mss-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.sticky_bar_sec.sticky-force-show {
    opacity: 1 !important;
}
@media screen and (min-width:999px){
    .inner_see_through {
        display: flex;
    }
    
}
@media screen and (max-width:999px){

.inner_see_through {
    display: block;
}
}
/* ── Wrapper ────────────────────────────────────────────────────────────────── */
.mss-wrapper.row.border_section {
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
    border-radius: 0;
    display: flex;
    gap: 0;
    overflow: hidden;
    background: #fff;
}
.mss-wrapper.row.border_section .col-md-4.right {
    width: 29.5%!important;
        padding: 0px;
}
.mss-wrapper.row.border_section .col-md-8.left {
            width: 70.5%;
            margin: 0px !important;
            padding: 0px !important;
            z-index: 9;
}
.mss-summary__header {
    background: #D82430;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: -27px;
    z-index: 999;
}
.mss-wrapper.row.border_section .col-md-8.left ,
.mss-wrapper.row.border_section .col-md-4.right {
    padding: 0;
}

/* ── Panels ─────────────────────────────────────────────────────────────────── */
.mss-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}


.mss-panel__header {
    background: #D82430;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
}

.mss-panel__body {
    padding: 14px;
    flex: 1;
}


/* ── Summary panel ──────────────────────────────────────────────────────────── */
.mss-summary {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
}

.mss-summary__header {
    background: #D82430;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mss-summary__header .step-num {
    background: #fff;
    color: #D82430;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.mss-summary__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.mss-summary select {
    width: 100%;
    padding: 7px 10px;
    border: 2px solid #D82430;
    border-radius: 4px;
    background: #fff;
    color: #222;
    cursor: pointer;
    font-size: 18px;
    font-family: Inter;
    font-weight: 500;
    word-wrap: break-word;
    -webkit-appearance: auto !important;
}
.mss-summary select:focus {
    outline: 2px solid #D82430;
    border-color: #D82430;
}

/* ── Icon grid ──────────────────────────────────────────────────────────────── */
.mss-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ── Icon box ───────────────────────────────────────────────────────────────── */
.mss-icon-box {
    height: 150px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    width: 133px;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
    position: relative;
    background: #fff;
    user-select: none;
}
.mss-icon-box__label {
    font-size: 12px;
    font-family: Inter;
    font-weight: 600;
    word-wrap: break-word;
}
.mss-icon-box {
    height: 150px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 2px;
    width: 133px;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
    position: relative;
    background: #fff;
    user-select: none;
}
.mss-icon-box:hover {
    box-shadow: 0 2px 8px rgba(233, 30, 140, 0.15);
}

.mss-icon-box.active {
    border-color: #D82430;
   
    background: #fff0f7 !important;
}
/*.mss-icon-box:focus {*/
/*    outline: 2px solid #D82430;*/
/*    outline-offset: 2px;*/
/*}*/

.mss-icon-box img {
    width: 100%;
    height: 90px !important;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    margin: 0 auto 6px;
}

.mss-icon-box__label {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.mss-icon-box__sublabel {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    line-height: 1.3;
}

/* ── Badge ──────────────────────────────────────────────────────────────────── */
.mss-badge {
    position: absolute;
    bottom: 30px;
    right: 14px;
    background: #888;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Section heading ────────────────────────────────────────────────────────── */
.mss-section-title,.mss-summary__label {
    color: #222;
    margin-bottom: 10px;
    font-size: 18px;
    font-family: Inter;
    font-weight: 600;
    word-wrap: break-word;
}
/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .mss-wrapper {
        flex-direction: column;
    }

    .mss-panel + .mss-panel,
    .mss-summary {
        border-left: none;
        border-top: 1px solid #ddd;
        flex: unset;
    }

    .mss-summary {
        width: 100%;
    }
}
/* ═══════════════════════════════════════════════════════════════
   BULK ORDER DISCOUNT TABLE — Desktop Card Layout
   - 7 equal-width cards visible by default
   - Horizontal scroll with prev/next buttons if > 7 cards
   - Pink active state per Figma
   - Desktop only: @media (min-width: 768px)
═══════════════════════════════════════════════════════════════ */
.col-md-8.left {
    border-right: 3px dashed lightgray;
}
@media (min-width: 768px) {
        .row.border_section.sixth_section .col-md-8.left .distable-parent {
            display: inline-block;
            width: 100%!important;
        }

    /* ── Wrapper injected by JS around the table ── */
    .bulk-scroll-outer {
        position: relative !important;
        width: 100% !important;
    }

    /* Scroll track — clips cards, hides native scrollbar */
    .bulk-scroll-track {
        overflow-x: auto !important;
        overflow-y: visible !important;
        scrollbar-width: none !important;          /* Firefox */
        -ms-overflow-style: none !important;       /* IE/Edge */
        padding-bottom: 6px !important;
        padding-top: 4px !important;
    }
    .bulk-scroll-track::-webkit-scrollbar {
        display: none !important;
    }

    /* ── Table resets ── */
    #discounttable {
        display: block !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
    }
.mss-summary__header, .mss-panel__header{
    font-size: 18px !important;
}
    /* tbody = flex row of fixed-width cards */
    #discounttable tbody {
        display: flex !important;
        flex-direction: row !important;
        gap: 5px !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        /* min-width set by JS to (cardW + gap) * count */
    }

    /* ── Each card ── */
    #discounttable tbody tr.perdic {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        background: #ffffff !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 12px !important;
        padding: 14px 10px 12px !important;
        /* width set by JS: (trackWidth - gaps) / 7  */
        flex: 0 0 auto !important;
        cursor: pointer !important;
        transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
        position: relative !important;
        text-align: center !important;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
        box-sizing: border-box !important;
    }

    #discounttable tbody tr.perdic:hover {
        border-color: #d40172 !important;
        box-shadow: 0px 4px 12px rgba(212, 1, 114, 0.2) !important;
    }

    /* Active / selected card */
    #discounttable tbody tr.perdic.active-bulk {
        background: #fce8f3 !important;
        border-color: #d40172 !important;
        box-shadow: 0px 4px 14px rgba(212, 1, 114, 0.28) !important;
    }

    /* ── All td hidden by default ── */
    #discounttable tbody tr.perdic td {
        display: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        line-height: 1.3 !important;
        width: 100% !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* td 1 – "Buy" */
    #discounttable tbody tr.perdic td:nth-child(1) {
        display: block !important;
        font-size: 13px !important;
        color: #333 !important;
        font-weight: 400 !important;
        margin-bottom: 2px !important;
    }

    /* td 2 – quantity (2, 3, 5+, 10+ …) */
    #discounttable tbody tr.perdic td:nth-child(2) {
        display: block !important;
        font-size: 26px !important;
        font-weight: 800 !important;
        color: #111 !important;
        line-height: 1.1 !important;
        margin-bottom: 2px !important;
    }

    /* td 3 – "Banners / Murals" */
    #discounttable tbody tr.perdic td:nth-child(3) {
        display: block !important;
        font-size: 12px !important;
        color: #555 !important;
        margin-bottom: 10px !important;
    }

    /* td 4 – "Each For" */
    #discounttable tbody tr.perdic td:nth-child(4) {
        display: block !important;
        font-size: 12px !important;
        color: #555 !important;
        margin-bottom: 2px !important;
    }

    /* td 5 – £each price */
    #discounttable tbody tr.perdic td:nth-child(5) {
        display: block !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #111 !important;
        margin-bottom: 6px !important;
    }

    /* td 6 – % OFF */
    #discounttable tbody tr.perdic td:nth-child(6) {
        display: block !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #d40172 !important;
        background: transparent !important;
        margin-bottom: 6px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.02em !important;
    }

    /* 0% OFF = grey */
    #discounttable tbody tr.perdic td:nth-child(6).zero-off {
        color: #bbb !important;
    }

    /* td 7 – "Total" */
    #discounttable tbody tr.perdic td:nth-child(7) {
        display: block !important;
        font-size: 12px !important;
        color: #555 !important;
        margin-bottom: 2px !important;
    }

    /* td 8 – £total */
    #discounttable tbody tr.perdic td:nth-child(8) {
        display: block !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #111 !important;
        margin-bottom: 12px !important;
    }

    /* td 9 – Add button cell */
    #discounttable tbody tr.perdic td:nth-child(9) {
        display: block !important;
        margin-top: auto !important;
        width: 100% !important;
    }

    /* Add button */
    #discounttable tbody tr.perdic td:nth-child(9) a,
    #discounttable tbody tr.perdic td:nth-child(9) button {
        display: flex !important;
        width: 100% !important;
        justify-content: center;
        padding: 0 !important;
        background: #0099cc !important;
        color: #fff !important;
        border: 2px solid #0099cc !important;
        height: 25px;
        border-radius: 0px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: center !important;
        text-decoration: none !important;
        cursor: pointer !important;
        transition: background 0.18s, color 0.18s, border-color 0.18s !important;
        box-sizing: border-box !important;
    }

    #discounttable tbody tr.perdic td:nth-child(9) a:hover,
    #discounttable tbody tr.perdic td:nth-child(9) button:hover {
        background: #007aaa !important;
        border-color: #007aaa !important;
    }

    /* Active card Add button = pink */
    #discounttable tbody tr.perdic.active-bulk td:nth-child(9) a,
    #discounttable tbody tr.perdic.active-bulk td:nth-child(9) button {
        background: #d40172 !important;
        color: #fff !important;
        border-color: #d40172 !important;
    }

    /* ── Nav bar: sits BELOW the scroll track, right-aligned ── */
    .bulk-nav-bar {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important;
        margin-top: 0px !important;
        padding-right: 2px !important;
    }

    /* ── Scroll nav buttons (<a> tags inside nav bar) ── */
    .bulk-scroll-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 2px solid #d40172 !important;
        color: #d40172 !important;
        font-size: 22px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
        transition: background 0.18s, color 0.18s !important;
        text-decoration: none !important;
        user-select: none !important;
        position: static !important;
        transform: none !important;
    }
    .bulk-scroll-btn:hover {
        background: #d40172 !important;
        color: #fff !important;
        text-decoration: none !important;
    }
    .bulk-scroll-btn.hidden-btn {
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

        .bulk-scroll-outer {
            padding: 0 !important;
            padding-left: 10px !important;
            padding-right: 14px !important;
        }
    .banner-design-tool {
        display: none !important;
    }

}
/* ── End desktop-only ── */