/* =============================================
   MPD PRODUCT DETAIL PAGE – Chemarket Theme
   Extracted from Style_new.css (blocks 1 & 2)
   ============================================= */

/* ---- Marketplace Product Detail Page (mpd-) ---- */
.mpd-page {
    background: #fff;
    min-height: 100vh;
}
.title.clearfix.hidden-md-up {
    display: none !important;
}
/* Scope PS wrapper on this page */
body.mpd-page #wrapper {
    padding: 0 !important;
    max-width: 100% !important;
    background: #fff;
}
body.mpd-page #main {
    padding: 0 !important;
}
body.mpd-page .container {
    max-width: 100% !important;
    padding: 0 !important;
}
body.mpd-page #content-wrapper {
    width: 100% !important;
}
body.mpd-page nav.breadcrumb,
body.mpd-page .breadcrumb {
    display: none;
}
div#content-wrapper {
    padding: 0;
}
.mpd-breadcrumb-bar {
    padding: 14px 40px;
    border-bottom: 2px solid #E9E9E9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FBFBFB;
}

.mpd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mpd-breadcrumb a {
    color: #353536;
    text-decoration: none;
    font-weight: 500;
    font-style: italic;
    font-size: 17px;
}

.mpd-breadcrumb a:hover {
    color: #1e293b;
}

.mpd-breadcrumb .mpd-bc-sep {
    color: #cbd5e1;
    font-size: 11px;
}

.mpd-breadcrumb .mpd-bc-active {
    color: #353536;
    font-weight: 500;
    font-size: 17px;
}

.mpd-bc-share-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    border: none;
    border-radius: 9999px;
    background: transparent;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
}



.mpd-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin: 0 auto;
}

.mpd-info-col {
    padding: 2rem 2rem;
}

.mpd-product-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.mpd-logo-box {
    width: 96px;
    height: 96px;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0px 2px 4px 0px rgba(1, 45, 97, 0.24);
}




.mpd-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mpd-product-head-text {
    flex: 1;
}

.mpd-product-name {
    font-size: 24px;
    font-weight: 500;
    color: #353536;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.mpd-product-desc {
    font-size: 16px;
    color: #42454B;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
    width: 72%;
}

/* Wishlist hook wrapper – replaces #mpd-save-btn */
.mpd-wishlist-btn-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style the blockwishlist Vue button to match the old save-btn */
.mpd-wishlist-btn-wrap .wishlist-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpd-wishlist-btn-wrap .wishlist-button-add {
    background: #FBFBFB;
    border: 1.5px solid #E9E9E9;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 18px;
    transition: all 0.2s;
    padding: 0;
}

.mpd-wishlist-btn-wrap .wishlist-button-add:hover {
    border-color: #1e293b;
    color: #1e293b;
}

.mpd-wishlist-btn-wrap .wishlist-button-add.checked {
    border-color: #026D8F;
    color: #026D8F;
    background: #f0f9ff;
}

/* Hide any text label inside the blockwishlist button – icon only */
.mpd-wishlist-btn-wrap .wishlist-button-add span:not(.wishlist-button__bubble) {
    display: none;
}

/* Suppress the duplicate wishlist button the compat zone renders */
#mpd-ps-compat .wishlist-button {
    display: none !important;
}


.mpd-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.mpd-details-table td {
    padding: 12px 0;
    font-size: 14px;
    vertical-align: top;
}

.mpd-details-table .mpd-detail-label {
    color: #606060;
    font-weight: 600;
    width: 160px;
    padding-right: 16px;
    white-space: nowrap;
    font-size: 15px;
}

.mpd-details-table .mpd-detail-value {
    color: #42454B;
    font-size: 15px;
    font-weight: 500;
}

.mpd-detail-value a {
    color: #42454B;
}

.mpd-detail-value a:hover {
    text-decoration: underline;
}

.mpd-supplier-products-link {
    color: #003049;
    font-size: 15px;
    margin-left: 6px;
}

.mpd-tabs {
    display: flex;
    border-bottom: 2px solid #E9E9E9;
    margin-bottom: 24px;
}

.mpd-tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #42454B;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: all 0.2s;
    font-family: inherit;
}

.mpd-tab.mpd-tab-active {
    color: #1e293b;
    border-bottom-color: #001C2B;
}

.mpd-tab-count {
    color: #003049;
    border-radius: 9999px;
    font-size: 15px;
    padding: 1px 8px;
    margin-left: 5px;
    font-weight: 600;
}

.mpd-doc-filters {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.mpd-doc-filter-label {
    font-size: 13px;
    color: #64748b;
}

.mpd-doc-select {
    border: 1px solid #E9E9E9;
    border-radius: 10px;
    padding: 6px 7px 6px 10px;
    font-size: 13px;
    color: #1e293b;
    background-color: #FBFBFB;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 120px;
    font-family: inherit;
    height: 40px;
}

table.mpd-doc-table th {
    font-size: 13px;
    color: #F5F5F5;
    font-weight: 600;
}

.mpd-doc-select:focus {
    outline: none;
    border-color: #1e293b;
}

.mpd-doc-table-wrap {
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    overflow: hidden;
}

.mpd-doc-table {
    width: 100%;
    border-collapse: collapse;
}

.mpd-doc-table thead th {
    background: #1e293b;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 14px 20px;
    text-align: left;
    border: none;
}

.mpd-doc-table tbody td {
    padding: 16px 20px;
    font-size: 14px;
    color: #353536;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-weight: 500;
}

.mpd-doc-table tbody tr:last-child td {
    border-bottom: none;
}

.mpd-doc-type {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #353536;
    font-size: 14px;
    font-weight: 500;
}

.mpd-doc-type i {
    font-size: 16px;
    color: #94a3b8;
}

.mpd-btn-view-doc {
    border: 1.5px solid #1e293b;
    border-radius: 9999px;
    background: white;
    padding: 6px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    width: 150px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.mpd-btn-view-doc:hover {
    background: #1e293b;
    color: white;
}

.mpd-similar-products {
    display: none;
    padding: 16px 0;
    font-size: 14px;
    color: #64748b;
}

.mpd-quote-panel {
    position: sticky;
    top: 24px;
}

.mpd-quote-card {
    border: 1px solid #E9E9E9;
    padding: 16px;
    background: #FBFBFB;
    margin-bottom: 20px;
    border-top: none;
    border-radius: 0 0 0px 30px;
}

.mpd-quote-title {
    font-size: 24px;
    font-weight: 500;
    color: #42454B;
    margin: 0 0 20px 0;
}

.mpd-quote-form-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
    margin-bottom: 16px;
    align-items: flex-end;
}

.mpd-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mpd-form-label {
    font-size: 15px;
    color: #2E2E2E;
    font-weight: 500;
}

.mpd-form-input {
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1e293b;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #FFFFFF;
}
.mpd-form-input::placeholder {
    color: #2E2E2E !important;
}

.mpd-form-input:focus {
    outline: none;
    border-color: #1e293b;
}

.mpd-form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1e293b;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23666' d='M0 3l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.mpd-form-select:focus {
    outline: none;
    border-color: #1e293b;
}

.mpd-btn-quote {
    width: 100%;
    background: #1E293B;
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 13px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    margin-bottom: 10px;
    font-family: inherit;
    text-decoration: none;
}

.mpd-btn-quote:hover {
    background: #0f172a;
    color: #fff;
    text-decoration: none;
}

.mpd-btn-sample {
    width: 100%;
    border: 1.5px solid #003049;
    border-radius: 9999px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: inherit;
    position: relative;          /* ← needed for pseudo-element */
    overflow: hidden;            /* ← keeps bg inside border-radius */

    /* ✅ Gradient text */
    background: linear-gradient(135deg, #003049, #006193);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* ✅ Button background using pseudo-element */
.mpd-btn-sample::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #F3F9FF;        /* ← your button background color */
    z-index: -1;                /* ← sits behind the text */
    border-radius: 9999px;
}

/* ✅ Hover effect */
.mpd-btn-sample:hover::before {
    background: #e0f0ff;        /* ← slightly darker on hover */
}

button#mpd-tab-documents {
    font-size: 15px;
    font-weight: 500;
}

.mpd-info-card {
    border: 1px solid #E9E9E9;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
    overflow: hidden;
}

.mpd-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 16px 20px;
}
div#mpd-quote-inputs{
    margin-bottom: 1.5rem;
}
.mpd-info-item:last-child {
    border-bottom: none;
}

.mpd-info-icon {
    width: 52px;
    height: 52px;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #64748b;
    font-size: 18px;
    box-shadow: 0px 2px 4px 0px rgba(1, 45, 97, 0.04), 0px 2px 4px 0px rgba(1, 45, 97, 0.08);
    border-radius: 30px;
}


.col-md-6.links {
    display: none !important;
}


.mpd-info-icon img {
    object-fit: contain;
}

.mpd-info-content {
    flex: 1;
}

.mpd-info-label {
    font-size: 20px;
    font-weight: 500;
    color: #353536;
    margin: 0 0 2px 0;
}

.mpd-info-value {
    font-size: 16px;
    font-weight: 400;
    color: #505050;
    margin: 0;
}

/* Save Popup */
.mpd-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
}

.mpd-popup-overlay.mpd-popup-open {
    display: flex;
}

.mpd-popup-modal {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    width: 420px;
    max-width: 95vw;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mpd-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.mpd-popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.mpd-popup-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.mpd-popup-close:hover {
    color: #1e293b;
}

.mpd-popup-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.mpd-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mpd-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E9E9E9;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.mpd-list-item:last-child {
    border-bottom: none;
}

.mpd-list-item:hover {
    background: #f8fafc;
}

.mpd-list-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mpd-list-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mpd-dot-green  { background: #22c55e; }
.mpd-dot-orange { background: #f59e0b; }
.mpd-dot-red    { background: #ef4444; }
.mpd-dot-blue   { background: #3b82f6; }

.mpd-list-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.mpd-list-count {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

/* =============================================
   RFQ OVERLAY WRAPPER
   ============================================= */
.mpd-rfq-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 3000;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 24px 16px;
}

.mpd-rfq-overlay.mpd-rfq-open {
    display: flex;
}

/* =============================================
   SAMPLE REQUEST OVERLAY WRAPPER
   ============================================= */
.mpd-sr-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 3000;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 24px 16px;
}

.mpd-sr-overlay.mpd-sr-open {
    display: flex;
}

/* =============================================
   SIMILAR PRODUCTS TABLE
   ============================================= */
.mpd-sim-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    width: 95%;
    margin: 0 auto;
}

.mpd-sim-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.mpd-sim-table thead tr {
    background-color: #1e293b;
}

.mpd-sim-table thead th {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 13px 16px;
    text-align: left;
    border: none;
    white-space: nowrap;
}

.mpd-sim-row {
    border-bottom: 1px solid #eaecf0;
    transition: background 0.15s;
}

.mpd-sim-row:hover {
    background-color: #f9fafb;
}

.mpd-sim-row td {
    padding: 14px 16px;
    font-size: 14px;
    color: #353536;
    vertical-align: middle;
    font-weight: 500;
}

.mpd-sim-row.mpd-sim-expanded {
    background-color: #f9fafb;
}

.mpd-sim-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mpd-sim-view-btn {
    border: 1px solid #1E293B;
    background: transparent;
    color: #1e293b;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    width: 160px;
    font-weight: 500;
}

.mpd-sim-view-btn:hover {
    background: #1e293b;
    color: #fff;
}

.mpd-sim-toggle-btn {
    background: transparent;
    border: none;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #444444;
    font-size: 13px;
    transition: background 0.15s;
    flex-shrink: 0;
}

.mpd-sim-toggle-btn:hover {
    background: #f1f5f9;
}

/* Accordion detail row */
.mpd-sim-detail-row td {
    padding: 0;
    background: #f8fafc;
    border-bottom: 1px solid #eaecf0;
}

.mpd-sim-detail-hidden {
    display: none;
}

.mpd-sim-detail-pane {
    padding: 16px 20px;
    display: flex;
}

.mpd-sim-description {
    width: 55%;
}

.mpd-sim-detail-desc-label,
.mpd-sim-detail-family-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.mpd-sim-detail-family-label {
    margin-top: 12px;
}

.mpd-sim-detail-desc,
.mpd-sim-detail-family {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* Pagination */
.mpd-sim-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 4px;
    gap: 12px;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
}

.mpd-sim-page-info {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mpd-sim-page-info select {
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 3px 8px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.mpd-sim-page-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mpd-sim-nav-btn {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s;
}

.mpd-sim-nav-btn:hover:not(:disabled) {
    background: #f1f5f9;
}

.mpd-sim-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.mpd-sim-nav-btn.active {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}

/* =============================================
   RFQ POPUP (Get a Quote)
   ============================================= */
.mpd-rfq-modal {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 700px;
    padding: 26px 22px 18px;
    position: relative;
    margin: auto;
    border: 1px solid #d7dbe1;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.mpd-rfq-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.mpd-rfq-title {
    font-size: 24px;
    font-weight: 500;
    color: #2E2E2E;
    margin: 0 0 2px;
    line-height: 1.1;
}

.mpd-rfq-subtitle {
    font-size: 17px;
    color: #444444;
    margin: 0;
    line-height: 1.35;
    font-weight: 400;
}

.mpd-rfq-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #111827;
    cursor: pointer;
    padding: 2px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
    transition: color 0.15s;
}

.mpd-rfq-close:hover {
    color: #1e293b;
}

/* Product info block */
.mpd-rfq-product-info {
    background: #ffffff;
    border: none;
    border-radius: 0;
    padding: 6px 0 8px;
}

.mpd-rfq-product-row {
    display: flex;
    gap: 12px;
    padding: 9px 0;
}

.mpd-rfq-info-label {
    font-size: 15px;
    color: #565656;
    display: block;
    font-weight: 500;
}

.mpd-rfq-info-val {
    font-size: 15px;
    font-weight: 600;
    color: #42454B;
    margin: 0;
}

/* Form grid */
.mpd-rfq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.mpd-rfq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mpd-rfq-full {
    grid-column: 1 / -1;
    margin-bottom: 10px;
}

.mpd-rfq-label {
    font-size: 15px;
    font-weight: 500;
    color: #2E2E2E;
}

.mpd-rfq-req {
    color: #ef4444;
}

.mpd-rfq-input,
.mpd-rfq-select,
.mpd-rfq-textarea {
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    min-height: 46px;
}

.mpd-rfq-input:focus,
.mpd-rfq-select:focus,
.mpd-rfq-textarea:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.12);
}

.mpd-rfq-input.mpd-rfq-invalid,
.mpd-rfq-select.mpd-rfq-invalid {
    border-color: #ef4444;
}

.mpd-rfq-textarea {
    resize: vertical;
    min-height: 76px;
}

/* Date fields */
.mpd-rfq-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mpd-rfq-date-wrap {
    position: relative;
}

.mpd-rfq-date {
    padding-right: 36px;
}

.mpd-rfq-date-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 15px;
    pointer-events: none;
}

.mpd-rfq-date-error {
    font-size: 12px;
    color: #ef4444;
    margin: 4px 0 0;
}

/* Submit button */
.mpd-rfq-submit-btn {
    width: 100%;
    background: #111f36;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    margin-top: 10px;
    height: 47px;
}

.mpd-rfq-submit-btn:hover:not(:disabled) {
    background: #0f172a;
}

.mpd-rfq-submit-btn:disabled {
    background: #a7afb9;
    cursor: not-allowed;
    opacity: 0.7;
}

/* =============================================
   SAMPLE REQUEST POPUP (2-step)
   ============================================= */
.mpd-sr-modal {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 860px;
    padding: 24px 22px 18px;
    position: relative;
    margin: auto;
    border: 1px solid #d7dbe1;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.mpd-sr-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.mpd-sr-title {
    font-size: 24px;
    font-weight: 500;
    color: #2E2E2E;
    margin: 0 0 4px;
}

.mpd-sr-subtitle {
    font-size: 17px;
    color: #444444;
    margin: 0;
    font-weight: 400;
}

.mpd-sr-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #111827;
    cursor: pointer;
    padding: 2px;
    flex-shrink: 0;
    margin-top: 2px;
    line-height: 1;
    transition: color 0.15s;
}

.mpd-sr-close:hover {
    color: #1e293b;
}

/* Step tabs */
.mpd-sr-steps {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
    border-radius: 999px;
    overflow: hidden;
    padding: 4px;
    width: 40%;
}

.mpd-sr-step-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.2s, color 0.2s;
}

.mpd-sr-steps button:first-child {
    border-radius: 30px 0 0 30px;
}

.mpd-sr-steps button:last-child {
    border-radius: 0 30px 30px 0;
}

.mpd-sr-step-tab.mpd-sr-step-active {
    background: #1e293b;
    color: #fff;
}

.mpd-sr-step-tab.mpd-sr-step-done {
    background: #1E293B;
    color: #ffff;
}

.mpd-sr-step-label {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 14px;
}

/* Step footer buttons */
.mpd-sr-step1-footer {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.mpd-sr-btn {
    flex: 1;
    border-radius: 999px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    border: none;
}

.mpd-sr-btn-back {
    background: #fff;
    border: 1px solid #111827;
    color: #111827;
}

.mpd-sr-btn-back:hover {
    background: #f1f5f9;
}

.mpd-sr-btn-continue {
    background: #111f36;
    color: #fff;
}

.mpd-sr-btn-continue:hover:not(:disabled) {
    background: #0f172a;
}

.mpd-sr-btn-continue:disabled {
    background: #a7afb9;
    cursor: not-allowed;
    opacity: 0.7;
}

/* =============================================
   SUCCESS POPUP
   ============================================= */
.mpd-success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 3100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mpd-success-overlay.mpd-success-open {
    display: flex;
}

.mpd-success-modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 540px;
    padding: 36px 32px 26px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.mpd-success-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
}

.mpd-success-close:hover {
    color: #1e293b;
}

.mpd-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mpd-success-icon i {
    font-size: 28px;
    color: #1e293b;
}

.mpd-success-title {
    font-size: 24px;
    font-weight: 500;
    color: #1E293B;
    margin: 0 0 10px;
    line-height: 1.1;
}

.mpd-success-desc {
    font-size: 15px;
    color: #2E2E2E;
    line-height: 1.45;
    font-weight: 400;
    margin: 0 0 18px;
}

.mpd-success-action-btn {
    background: #111f36;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.mpd-success-action-btn:hover {
    background: #0f172a;
}

/* Modal dialog sizes */
#mpd-rfq-overlay .modal-dialog,
#mpd-sr-overlay .modal-dialog {
    max-width: 860px;
    width: min(92vw, 860px);
}

/* Hidden 2nd tabs row by default */
#mpd-tabs2 {
    display: none;
}

/* =============================================
   MPD RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .mpd-layout {
        grid-template-columns: 1fr 300px;
        gap: 28px;
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .mpd-layout {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 24px;
    }

    .mpd-quote-panel {
        position: static;
        padding-top: 0;
        padding-right: 0;
    }

    .mpd-breadcrumb-bar {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .mpd-product-name {
        font-size: 18px;
    }

    .mpd-doc-filters {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .mpd-doc-table thead {
        display: none;
    }

    .mpd-doc-table tbody tr {
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid #f1f5f9;
    }

    .mpd-doc-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
    }

    .mpd-doc-table tbody td::before {
        content: attr(data-label);
        font-size: 12px;
        color: #94a3b8;
        font-weight: 500;
    }

    .mpd-rfq-modal,
    .mpd-sr-modal {
        padding: 20px 16px 18px;
    }

    .mpd-rfq-row {
        grid-template-columns: 1fr;
    }

    .mpd-rfq-date-row {
        grid-template-columns: 1fr;
    }

    .mpd-sim-table thead {
        display: none;
    }

    .mpd-sim-table,
    .mpd-sim-table tbody,
    .mpd-sim-table tr,
    .mpd-sim-table td {
        display: block;
        width: 100%;
    }

    .mpd-sim-row td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 9px 12px;
        border-bottom: 1px solid #f1f5f9;
    }

    .mpd-sim-row td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 12px;
        color: #64748b;
        flex-shrink: 0;
        margin-right: 8px;
    }

    .mpd-sim-detail-row td {
        display: block;
    }

    .mpd-sim-pagination {
        flex-direction: column;
        align-items: flex-start;
    }

    .mpd-sr-steps {
        flex-direction: row;
    }

    .mpd-sr-step-tab {
        font-size: 12px;
        padding: 8px 10px;
    }

    .mpd-success-modal {
        padding: 32px 20px 28px;
    }
}

@media (max-width: 480px) {
    .mpd-product-header {
        flex-wrap: wrap;
    }

    .mpd-quote-form-row {
        grid-template-columns: 1fr;
    }

    .mpd-rfq-overlay,
    .mpd-sr-overlay {
        padding: 12px 8px;
    }

    .mpd-rfq-modal,
    .mpd-sr-modal {
        border-radius: 12px;
        padding: 18px 14px;
    }

    .mpd-sim-page-nav {
        flex-wrap: wrap;
        gap: 4px;
    }

    .mpd-sr-step1-footer {
        flex-direction: column;
    }
}
        .cm-footer {
            background-color: #ffffff;
            border-top: 1px solid #e5e7eb;
        }

        .cm-footer-top {
            max-width: 1320px;
            margin-left: auto;
            margin-right: auto;
            padding: 48px 24px;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            column-gap: 40px;
        }

        .cm-footer-brand img {
            height: 36px;
            margin-bottom: 16px;
        }

        .cm-footer-brand h4 {
            font-size: 24px;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .cm-footer-brand p {
            font-size: 15px;
            color: #353536;
            line-height: 1.6;
            font-weight: 400;
        }

        .cm-social {
            margin-top: 20px;
            display: flex;
            gap: 14px;
        }

        .cm-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0f172a;
            text-decoration: none;
        }

        .cm-footer-col h5 {
            font-size: 24px;
            font-weight: 500;
            margin-bottom: 14px;
            color: #001C2B;
        }

        .cm-footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .cm-footer-col li {
            margin-bottom: 10px;
        }

        .cm-footer-col a {
            font-size: 16px;
            color: #353536;
            text-decoration: none;
            font-weight: 400;
        }

        .cm-footer-col a:hover {
            color: #0f172a;
        }

        .cm-footer-bottom {
            padding: 18px 24px;
            background: #FBFBFB;
            border-top: 1px solid #E9E9E9;
        }

        .cm-footer-bottom-inner {
            max-width: 1320px;
            margin-left: auto;
            margin-right: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .cm-footer-bottom-left {
            font-size: 18px;
            color: #353536;
            font-weight: 500;
        }

        .cm-footer-bottom-right {
            display: flex;
            gap: 16px;
        }

        .cm-footer-bottom-right a {
            font-size: 14px;
            color: #484848;
            text-decoration: none;
            font-weight: 500;
            font-size: 20px;
            border-right: 2px solid #44444452;
            padding-right: 20px;
        }

        @media (max-width: 992px) {
            .cm-footer-top {
                grid-template-columns: 1fr 1fr;
                row-gap: 40px;
            }
        }

        @media (max-width: 576px) {
            .cm-footer-top {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .cm-footer-brand p {
                margin-left: auto;
                margin-right: auto;
            }

            .cm-social {
                justify-content: center;
            }

            .cm-footer-bottom-inner {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .cm-footer-col h5 {
                font-size: 20px;
                font-weight: 500;
                margin-bottom: 14px;
                color: #001C2B;
            }

            .bi-person::before {
                font-size: 26px;
                content: "\f4e1";
            }

            .bi-cart::before {
                font-size: 24px;
                content: "\f242";
            }
        }

        @media (min-width: 768px) and (max-width: 1024px) {
            .cm-footer-top {
                grid-template-columns: 1fr 1fr 1fr;
                row-gap: 48px;
                text-align: center;
            }

            .cm-footer-brand {
                grid-column: 1 / -1;
                max-width: 520px;
                margin: 0 auto;
            }

            .cm-footer-brand p {
                margin-left: auto;
                margin-right: auto;
            }

            .cm-social {
                justify-content: center;
            }

            .cm-footer-col {
                text-align: center;
            }

            .cm-footer-col ul li {
                display: flex;
                justify-content: center;
                gap: 6px;
            }

            .cm-footer-bottom-inner {
                flex-direction: column;
                gap: 14px;
                text-align: center;
            }

            .cm-footer-bottom-right {
                justify-content: center;
                flex-wrap: wrap;
            }

            .cm-footer-bottom-right a {
                border-right: none;
                padding-right: 0;
            }
        }

        .accordian-icon {
            display: none;
        }

        @media (max-width: 576px) {
            .cm-footer-col {
                border-bottom: 1px solid #e5e7eb;
                padding-bottom: 5px;
            }

            .cm-footer-toggle {
                display: flex;
                align-items: center;
                justify-content: space-between;
                cursor: pointer;
            }

            .cm-footer-toggle i {
                font-size: 16px;
                transition: transform 0.25s ease;
            }

            .cm-footer-menu {
                display: none;
                margin-top: 10px;
            }

            .cm-footer-col.active .cm-footer-menu {
                display: block;
            }

            .cm-footer-col.active .cm-footer-toggle i {
                transform: rotate(180deg);
            }

            .cm-footer-menu li {
                display: flex;
                justify-content: unset;
                gap: 6px;
            }

            .cm-footer-bottom-right a {
                font-size: 13px !important;
                color: #484848;
                text-decoration: none;
                font-weight: 500;
                border-right: unset;
                padding-right: unset;
            }

            .cm-footer-bottom-right {
                display: flex;
                gap: 10px;
            }

            .cm-footer-bottom {
                padding: 1px;
                background: #FBFBFB;
                border-top: 1px solid #E9E9E9;
            }

            .accordian-icon {
                display: flex;
            }
        }
/* ---- Marketplace Product Detail end ---- */

/* =============================================
   SAVE TO LIST POPUP OVERLAY
   ============================================= */
.mpd-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.mpd-popup-overlay.mpd-popup-open {
    display: flex;
}
.mpd-popup-modal {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.mpd-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.mpd-popup-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.mpd-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 18px;
    padding: 4px;
    line-height: 1;
}
.mpd-popup-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}
.mpd-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mpd-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s;
}
.mpd-list-item:hover { background: #f8fafc; }
.mpd-list-item-left { display: flex; align-items: center; gap: 10px; }
.mpd-list-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mpd-dot-blue { background: #3b82f6; }
.mpd-list-name { font-size: 14px; font-weight: 500; color: #0f172a; }
.mpd-list-count { font-size: 18px; color: #94a3b8; }

/* =============================================
   SUCCESS OVERLAY
   ============================================= */
.mpd-success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 4000;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.mpd-success-overlay.mpd-success-open {
    display: flex;
}
.mpd-success-modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
    position: relative;
}
.mpd-success-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 18px;
}
.mpd-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #0f172a;
}
.mpd-success-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.mpd-success-desc {
    font-size: 14px;
    color: #475569;
    margin-bottom: 28px;
    line-height: 1.6;
}
.mpd-success-action-btn {
    display: inline-block;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s;
}
.mpd-success-action-btn:hover { background: #1e293b; }
#product .cm-container{
       max-width: unset !important;
}

@media (max-width: 767px) {
.mpd-breadcrumb a {
    color: #353536;
    text-decoration: none;
    font-weight: 500;
    font-style: italic;
    font-size: 13px;
}
.mpd-breadcrumb .mpd-bc-active {
    color: #353536;
    font-weight: 500;
    font-size: 13px;
}

.mpd-sr-steps {
     width: auto !important;
}
}





