/* ============================================================
   Wall Mural Calculator – MOBILE STYLES
   Breakpoint: max-width 767px
   ============================================================ */
/*FAQS*/

.fqqestcal {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 24px;
    font-weight: bold;
}

.fqqestcal::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  font-weight: bold;
  color: #c0392b;
  transition: transform 0.3s ease;
}

.fqqestcal.active::after {
  content: '−';
}

.fqanstcal {
  display: none;
  overflow: hidden;
}

.fqanstcal.open {
  display: block;
}
/*FAQS*/

@media (max-width: 767px) {
    .col-md-6.gallery_slider_sec_left {
        padding: 0 !important;
    }
        .single-product h2.singl_product_title {
        padding-left: 0px !important;
    }
    .wm-field-label {
        color: black;
        margin-bottom: 6px;
        text-align: left;
        font-size: 18px;
        font-family: Inter !important;
        font-weight: 500;
        word-wrap: break-word;
    }

    .wall_murals_whole_section_upload_design_etc svg{
        width: auto!important;
    }
    .wall_murals_whole_section_upload_design_etc {
        margin-bottom: 0 !important;
    }

    .wm-left-header {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }

    /* ── Simple column stack – JS handles the reorder ── */
    .wm-wrap {
        flex-direction: column !important;
        border: none !important;
        border-radius: 0 !important;
        min-height: unset !important;
        gap: 0 !important;
    }

    .wm-left {
        width: 100% !important;
        min-width: 100% !important;
        border-right: none !important;
    }

    .wm-right {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        border: none !important;
    }

    /* ── Mobile reorder containers injected by JS ── */
    /* JS moves elements into #wmMobTop, #wmMobCanvas, #wmMobBottom */
    #wmMobTop {
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        background: #fff !important;
    }

    #wmMobCanvas {
        border-top: 1px solid #e0e0e0 !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

    #wmMobBottom {
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        background: #fff !important;
    }

    /* ── Field labels ── */
    .wm-field-label {
        color: black;
        margin-bottom: 6px;
        text-align: left;
        font-size: 18px;
        font-family: Inter !important;
        font-weight: 500;
        word-wrap: break-word;
    }

    /* ── Hide native select – replaced by buttons ── */
    #select_material {
        display: none !important;
    }

    /* ── Material buttons ── */
    .wm-mob-material-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .wm-mob-material-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 12px 14px !important;
        border: 1.5px solid #ccc !important;
        border-radius: 6px !important;
        background: #fff !important;
        color: #222 !important;
        font-size: 14px !important;
        font-family: Inter, sans-serif !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        text-align: center !important;
        transition: border-color 0.15s, background 0.15s, color 0.15s !important;
        box-sizing: border-box !important;
    }

    .wm-mob-material-btn.active {
        border-color: #cc0000 !important;
        background: #fff0f7 !important;
        color: #cc0000 !important;
        font-weight: 600 !important;
    }

    /* ── Dimension chips – 2 per row ── */
    .wm-dim-chips {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .wm-chip {
        width: 100% !important;
        height: 38px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }

    /* ── Custom size ── */
    .wm-custom-row-block {
        flex-direction: row !important;
        gap: 6px !important;
    }
    .wm-custom-row-block .wm-custom-field { width: 33.3% !important; }
    .wm-custom-row-block .wm-custom-field input,
    .wm-custom-row-block .wm-custom-field select {
        width: 100% !important;
        font-size: 13px !important;
    }

    /* ── Summary ── */
    .wm-summary {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    /* ── Upload buttons ── */
    .wm-btn-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .wm-art-btn {
        font-size: 12px !important;
        padding: 10px 8px !important;
        border-radius: 6px !important;
        gap: 6px !important;
    }

    .wm-art-btn img {
        width: 24px !important;
        height: 24px !important;
    }

    /* ── Canvas ── */
    .wm-canvas-wrap { min-height: 260px !important; }

    /* ── Preview header ── */
    .wm-preview-header {
        padding: 8px 12px !important;
        min-height: 38px !important;
    }
    .wm-preview-title  { font-size: 13px !important; }
    .wm-preview-hint   { display: none !important; }

    /* ── Footer ── */
    .wm-preview-footer { padding: 8px 12px !important; gap: 6px !important; }
    .wm-footer-btn     { font-size: 12px !important; padding: 8px 6px !important; }

    /* ── Zoom ── */
    .wm-zoom-expand,
    .wm-zoom-btn { width: 34px !important; height: 34px !important; }

    /* ── Edit button ── */
    #wmEditBtn { font-size: 12px !important; padding: 7px 12px !important; margin-left: 4px !important; }

    /* ── Warning ── */
    .wm-warn { font-size: 11px !important; padding: 7px 9px !important; }

}
/* ============================================================
   Wall Mural Calculator – Scoped Styles
   Save to: wp-content/plugins/poster_design_calculatore/assets/wall_mural_calculator.css
   ============================================================ */
#wmCanvasWrap button,
#wmCanvasWrap button img,
#wmCanvasWrap img {
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    pointer-events: none !important; /* for the img INSIDE the button only */
}

#wmCanvasWrap button {
    pointer-events: auto !important; /* keep buttons clickable */
}
.sidesoption_backdrops {
    display: none;
}
.wm-wrap {
    display: flex;
    gap: 0;
    /*border: 1px solid #e0e0e0;*/
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
    min-height: 520px;
}
.wm-preview-footer.show {
    display: flex !important;
}
.main_calculator_start .container {
    padding: 0;
}
.row.border_section.fifth_section .first_sec_head{
    top: 0!important;
}
h2.singl_product_title {
    font-size: 35px !important;
    font-family: Inter;
    font-weight: 700 !important;
    word-wrap: break-word;
    color: #038ED3;
}
.main_calculator_start .container .row
 {
    margin: 0 !important;
}
/*div#maxprocal_products .container {*/
/*    width: 100% !important;*/
/*    padding: 0 !important;*/
/*}*/
.wall_murals_whole_section_upload_design_etc {
    /*border: 2px solid #cc0000;*/
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
    .nav_pro_spec div#nav-tabContent {
        display: inline-block;
        position: relative;
        width: 100%;
        border: unset !important;
        padding: 10px 0px !important;
        margin-top: 0em;
        height: 215px;
    }
}
    table#discounttable tr.perdic td:nth-child(8) {
        line-height: initial;
        font-size: 1em!important;
        padding-bottom: 0.7em 0em;
        font-weight: 600;
    }
    table#discounttable tr.perdic td:nth-child(3) {
        display: flex !important;
        justify-content: center;
        margin-top: -0.5em;
        line-height: initial;
        padding-bottom: 1.5em !important;
        font-weight: 600;
    }
        table#discounttable tr.perdic td:nth-child(4) {
        line-height: initial;
        margin-top: 0.4em !important;
        font-size: 1.1em;
        font-weight: 600;
    }
/* ---------- LEFT PANEL ---------- */
.wm-left {
    width: 46.1%;
    min-width: 46.1%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 0;
    background: #fff;
}
.wm-right{
    width: 53.9%;
    min-width: 53.9%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e0e0;
    background: #fff;  
}
span.wm-preview-header-icon img {
    width: 30px;
    height: 30px;
}
.wm-preview-close-btn.show {

    padding: 0;
}
.wm-custom-row-block {
    display: flex;
    justify-content: center;
    align-items: center;
}
.wm-custom-row-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.wm-custom-row-block .wm-custom-field {
    width: 33.3%;
}
input#wmFileInput {
    display: none;
}
button#wmCloseCustom {
    right: 0;
    position: relative;
    left: auto;
    float: right;
    padding: 0;
    align-items: center;
}
.wm-custom-row-block .wm-custom-field input ,
.wm-custom-row-block .wm-custom-field select {
    margin: 0 !important;
    width: 91%;
    border-radius: 0;
    border: 2px solid #038ED3;
    background: none !important;
    color: black;
    -webkit-appearance: auto;
}

.wm-art-btn {
    background: #DDDCDC !important;
    font-size: 18px !important;
    font-family: Inter !important;
    font-weight: 600 !important;
    word-wrap: break-word !important;
    color: rgba(58.85, 58.85, 58.85, 0.80) !important;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    padding: 10px 15px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: opacity .15s;
    line-height: 1.2;
    font-family: Inter;
    font-weight: 600;
    word-wrap: break-word;
}

.wm-left-header {
    background: #cc0000;
    color: #fff;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    font-size: 28px;
    font-family: Inter;
    font-weight: 500;
    word-wrap: break-word;
    font-size: 28px;
    font-family: Inter;
    font-weight: 500;
    word-wrap: break-word;
}

.wm-left-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    overflow-y: auto;
}
select#select_material {
    font-size: 16px;
    font-family: Inter;
    font-weight: 500;
    word-wrap: break-word;
    border-radius: 0 !important;
    -webkit-appearance: auto!important;
}
select#select_material {
    background: white;
    border: 2px solid #eeeeee;
    font-size: 1.3em;
    height: 38px;
    padding: 0em 0.5em;
    margin-bottom: 1em;
    border-bottom: 2px solid #d82430;
}
.wm-field-label {
    color: black;
    margin-bottom: 6px;
    text-align: left;
    font-size: 18px;
    font-family: Inter !important;
    font-weight: 500;
    word-wrap: break-word;
}

/* Material dropdown */
.wm-material-select {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #cc0000;
    border-radius: 7px;
    font-size: 13px;
    background: #fff;
    color: #222;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.wm-material-select:focus {
    outline: none;
    border-color: #cc0000;
}

/* Dimension chips */
.wm-dim-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.wm-chip {
    padding: 0;
    border: 1.5px solid #ccc;
    border-radius: 0;
    width: 111px;
    height: 40px;
    cursor: pointer;
    background: #fff;
    white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-family: Inter;
    font-weight: 500;
    word-wrap: break-word;
    color: black;
}

.wm-chip:hover           { border-color: #cc0000; }
.wm-chip.active          { border-color: #cc0000; background: #fff0f7; color: #cc0000; }

.wm-chip-custom          { background: #cc0000; color: #fff; border-color: #cc0000; }
.wm-chip-custom:hover    { background: #cc0000; border-color: #cc0000; color: #fff; }

/* Custom dimension row */
.wm-custom-row {
    display: none;
    align-items: flex-end;
    gap: 7px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 10px 10px 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.wm-custom-row.show { display: flex; }

.wm-custom-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wm-custom-field label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.wm-custom-field select,
.wm-custom-field input {
    padding: 6px 8px;
    border: 1.5px solid #cc0000;
    border-radius: 6px;
    font-size: 12px;
    background: #fff;
    color: #222;
    width: 80px;
}

.wm-custom-field input { width: 72px; }

.wm-custom-field select:focus,
.wm-custom-field input:focus {
    outline: none;
    border-color: #cc0000;
}

.wm-close-custom {
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 2px;
}

/* Min order warning */
.wm-warn {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 7px;
    font-size: 12px;
    color: #856404;
    line-height: 1.4;
}

.wm-warn.show      { display: flex; }
.wm-warn-icon      { font-size: 15px; flex-shrink: 0; }

/* Summary box */
.wm-summary {
    background: #f4f8fb;
    border: 1px solid #d0e8f4;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 12px;
    color: #444;
    line-height: 1.6;
}

.wm-summary strong {
    color: #cc0000;
    font-size: 13px;
}

/* Upload / artwork buttons */
.wm-btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.wm-art-btn {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 7px;
    padding: 10px 8px;
    border: none;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
    line-height: 1.2;
}

.wm-art-btn:hover { opacity: .88; }
.wm-art-btn svg   { flex-shrink: 0; }


.wm-btn-email   {
    background: rgb(225, 225, 225);
    color: gray;
}
.wm-btn-ai      {
    background: rgb(225, 225, 225);
    color: gray;
}
.wm-btn-design  {
    background: rgb(225, 225, 225);
    color: gray;
}

/* Extra panels (email later / design service) */
.wm-art-panel {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
}

.wm-art-panel.show { display: flex; }
.wm-art-panel h4   { font-size: 13px; font-weight: 600; color: #222; }
.wm-art-panel p    { font-size: 12px; color: #666; line-height: 1.5; }

.wm-art-panel textarea {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 12px;
    resize: vertical;
    min-height: 72px;
    background: #fff;
    color: #222;
    font-family: inherit;
}

.wm-art-panel textarea::placeholder { color: #aaa; }

.wm-submit-btn {
    padding: 9px;
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background .15s;
}

.wm-submit-btn:hover { background: #cc0000; }

.wm-attach-btn {
    padding: 7px 14px;
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity .15s;
}

.wm-attach-btn:hover { opacity: .88; }

.wm-hidden-file { display: none; }

/* ---------- RIGHT PANEL ---------- */
.wm-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
}

.wm-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    min-height: 44px;
}



.wm-preview-header-icon {
    display: flex;
    align-items: center;
    color: #333;
}

.wm-preview-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.wm-preview-hint {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.wm-preview-close-btn {
    margin-left: auto;
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 15px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
.wm-btn-upload {
    background: #DDDCDC!important;
    font-size: 18px!important;
    font-family: Inter !important;
    font-weight: 600!important;
    word-wrap: break-word!important;
    color: rgba(58.85, 58.85, 58.85, 0.80)!important;
}

.wm-preview-close-btn.show { display: flex; }

/* Canvas container */
.wm-canvas-wrap {
    flex: 1;
    position: relative;
    min-height: 340px;
    overflow: hidden;
    cursor: default;
    background: rgba(2.45, 0.09, 0.09, 0.60);
}

.wm-canvas-wrap canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.wall_murals_whole_section_upload_design_etc button img {
    width: 30px;
    height: 30px;
}
.wm-art-btn img {
    width: 35px !important;
    height: 30px !important;
}
.wm-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #F4F4F4 !important;
    margin-top: 16px !important;
    margin-right: 16px !important;
    margin-bottom: 16px !important;
    border: none !important;
}
/* Zoom / expand controls */
.wm-zoom-expand {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 41px;
    padding: 0;
    height: 41px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: #444;
    transition: background .12s;
}
.wm-zoom-btn{
    width: 41px;
    padding: 0;
    height: 41px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: #444;
    transition: background .12s;
    
}

.wm-zoom-expand:hover { background: #f0f0f0; }

.wm-zoom-row {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 5;
}

/*.wm-zoom-btn {*/
/*    width: 32px;*/
/*    height: 32px;*/
/*    background: #fff;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 7px;*/
/*    cursor: pointer;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    color: #444;*/
/*    transition: background .12s;*/
/*}*/

.wm-zoom-btn:hover { background: #f0f0f0; }

/* Preview footer (Save / Cancel) */
.wm-preview-footer {
    display: none;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.wm-preview-footer.show { display: flex; }

.wm-footer-btn {
    flex: 1;
    padding: 9px;
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity .15s;
}

.wm-footer-btn:hover    { opacity: .88; }
.wm-footer-save         { background: #cc0000; color: #fff; }
.wm-footer-cancel       { background: #cc0000; color: #fff; }

/* ============================================================
   RESPONSIVE – Mobile: stack left above right
   ============================================================ */
@media (max-width: 700px) {
    .wm-wrap {
        flex-direction: column;
    }

    .wm-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .wm-canvas-wrap {
        min-height: 300px;
    }
}

/* ── Wall Mural: Edit Image button ─────────────────────────────── */
/* Add these rules to your existing wall-mural CSS file             */

#wmEditBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #555;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    transition: background 0.2s;
}
#wmEditBtn:hover {
    background: #333;
}

/* Ensure the two hidden URL inputs are truly hidden                */
#artwork_url_hidden,
#artwork_seam_url_hidden {
    display: none !important;
}
textarea#wmEmailComment,textarea#wmDesignComment {
    width: 100%;
    margin-bottom: 10px;
}


/* ═══════════════════════════════════════════════════════════════
   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)
═══════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {

    /* ── 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;
    }

    /* tbody = flex row of fixed-width cards */
    #discounttable tbody {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !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: #cc0000 !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: #cc0000 !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: #cc0000 !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: #cc0000 !important;
        color: #fff !important;
        border: 2px solid #cc0000 !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: #cc0000 !important;
        color: #fff !important;
        border-color: #cc0000 !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: 10px !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 #cc0000 !important;
        color: #cc0000 !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: #cc0000 !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;
    }
    .banner-design-tool {
        display: none !important;
    }

}
/* ── End desktop-only ── */