/* ============================================================
   MOP Enquiry System — Frontend CSS  (scoped with .mop-*)
   MeowPrint-style two-column product page layout
   ============================================================ */

/* ── Reset within our scope only ── */
.mop-product-wrap *,
.mop-gallery-col *,
.mop-info-col *,
.mop-ipq-box *,
.mop-product-tabs-wrap *,
.mop-product-sections-wrap *,
.mop-eq-cart-wrap *,
.mop-eq-submit-wrap * {
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════ */
.mop-breadcrumb-wrap {
    padding: 10px 0 4px;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.mop-breadcrumb-wrap a {
    color: #555;
    text-decoration: none;
}

.mop-breadcrumb-wrap a:hover {
    color: #2ecc71;
}

.mop-breadcrumb-wrap .breadcrumb-separator,
.mop-breadcrumb-wrap span.sep {
    margin: 0 5px;
    color: #ccc;
}

/* ══════════════════════════════════════════════
   SINGLE PRODUCT — Two Column Layout
══════════════════════════════════════════════ */
/* Wrap to prevent horizontal overflow at any viewport size */
.mop-product-wrap-outer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    /* Force centering context regardless of parent flex/grid */
    display: block !important;
    float: none !important;
}

.mop-product-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 18px 32px;
    box-sizing: border-box;
}

/* Prevent flex children from overflowing and causing left-stick at small widths */
.mop-gallery-col,
.mop-info-col {
    min-width: 0;
    max-width: 100%;
}

/* All images inside product wrap must not overflow */
.mop-product-wrap img {
    max-width: 100%;
    height: auto;
}

/* LEFT column: gallery */
.mop-gallery-col {
    flex: 0 0 45%;
    max-width: 45%;
    position: sticky;
    top: 100px;
}

/* RIGHT column: info / IPQ */
.mop-info-col {
    flex: 1 1 0%;
    min-width: 0;
}

/* ── Gallery ── */
.mop-gallery-main {
    position: relative;
    width: 100%;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.mop-gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.mop-gallery-slide.active {
    display: block;
}

.mop-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mop-gallery-zoom {
    display: block;
    width: 100%;
    height: 100%;
}

/* Thumbnails */
.mop-gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.mop-thumb {
    width: 64px;
    height: 64px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.mop-thumb.active,
.mop-thumb:hover {
    border-color: #2ecc71;
}

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

/* Product Notes */
.mop-product-notes {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fffdf0;
    border-left: 4px solid #f1c40f;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

/* ── Product Title ── */
.mop-product-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.3;
}

/* ══════════════════════════════════════════════
   INSTANT PRICE QUOTE BOX
══════════════════════════════════════════════ */
.mop-ipq-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mop-ipq-heading {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Price range "From $X - $Y /pc" */
.mop-ipq-range {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.mop-ipq-range strong {
    color: #2ecc71;
    font-size: 16px;
}

.mop-ipq-range-note {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

.mop-ipq-not-configured {
    background: #fafafa;
    color: #999;
    font-size: 14px;
    padding: 10px 0;
}

.mop-ipq-step {
    margin-bottom: 16px;
}

.mop-ipq-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Amount dropdown */
.mop-amount-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.mop-amount-select:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

/* ── Price Display (after qty + logo selected) ── */
.mop-price-display {
    background: #f9fffe;
    border: 1px solid #d4f5e5;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.mop-price-preview-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mop-price-lo-img {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.mop-price-lo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mop-price-lo-placeholder {
    font-size: 22px;
}

.mop-price-numbers {
    flex: 1;
    min-width: 0;
}

.mop-price-main {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.mop-price-main .mop-price-incl {
    font-size: 22px;
    font-weight: 700;
    color: #2ecc71;
    margin-right: 4px;
}

.mop-price-main .mop-price-unit {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.mop-price-sub {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.mop-price-lead {
    font-size: 12px;
    color: #27ae60;
    margin-top: 4px;
    font-style: italic;
}

/* ── Logo Options Step (MeowPrint-style: label left, flex-wrap buttons right) ── */
.mop-logo-step {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0 12px;
    align-items: start;
    margin-bottom: 16px;
}

.mop-logo-step-label {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 10px;
    line-height: 1.4;
}

.mop-logo-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Each option button */
.mop-logo-card {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, opacity 0.2s, box-shadow 0.2s;
    background: #fff;
    opacity: 0.6;
    min-width: 0;
    flex-shrink: 0;
}

.mop-logo-card:hover {
    opacity: 1;
    border-color: #27ae60;
    background: #f6fffb;
}

.mop-logo-card.selected {
    opacity: 1;
    border-color: #2ecc71;
    background: #f0fff5;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
}

/* Custom Quote option: dashed blue border */
.mop-logo-card--quote {
    border-color: #3498db;
    border-style: dashed;
}

.mop-logo-card--quote:hover {
    border-color: #2980b9;
    background: #ebf5fb;
    box-shadow: none;
}

.mop-logo-card--quote.selected {
    border-color: #2980b9;
    background: #ebf5fb;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.18);
}

/* Option image thumbnail */
.mop-lo-card-img {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 5px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mop-lo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mop-lo-card-icon {
    font-size: 20px;
    line-height: 1;
}

/* Text inside card */
.mop-lo-card-info {
    min-width: 0;
}

.mop-lo-card-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    white-space: nowrap;
}

.mop-lo-card-sub {
    font-size: 11px;
    color: #2ecc71;
    font-weight: 600;
    margin-top: 2px;
    white-space: nowrap;
}

.mop-lo-card-sub--gray {
    color: #aaa;
}

/* ── Custom Quote Form ── */
.mop-custom-quote-form {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: 4px;
}

.mop-cq-header {
    margin-bottom: 16px;
}

.mop-cq-header strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.mop-cq-header p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.mop-quote-field-wrap {
    margin-bottom: 14px;
}

.mop-qf-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.mop-qf-suffix-label {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-left: 4px;
}

.mop-required {
    color: #e74c3c;
    margin-left: 2px;
}

.mop-qf-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #fff;
}

.mop-qf-input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
}

textarea.mop-qf-input {
    resize: vertical;
}

.mop-qf-hint {
    font-size: 12px;
    color: #999;
    margin: 4px 0 0;
    font-style: italic;
}

/* Quote Summary */
.mop-quote-summary {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 14px;
    font-size: 13px;
}

.mop-quote-summary strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1a1a1a;
}

#mop-quote-summary-items .mop-qs-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    gap: 10px;
}

#mop-quote-summary-items .mop-qs-row span:last-child {
    text-align: right;
    color: #333;
    font-weight: 500;
}

#mop-quote-summary-items .mop-qs-row:last-child {
    border-bottom: none;
}

/* ── Summary Section (priced path) ── */
.mop-summary-section {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.mop-summary-row {
    /* container */
}

.mop-summary-head {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.mop-summary-body .mop-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    gap: 10px;
}

.mop-summary-body .mop-summary-item:last-child {
    border-bottom: none;
}

.mop-summary-body .mop-summary-item span:last-child {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.mop-summary-body .mop-summary-price span:last-child {
    color: #2ecc71;
    font-size: 15px;
}

.mop-summary-body .mop-summary-total {
    border-top: 1px solid #ddd;
    margin-top: 4px;
    padding-top: 6px;
    font-weight: 700;
}

.mop-summary-body .mop-summary-total span:last-child {
    color: #2ecc71;
    font-size: 16px;
}

.mop-summary-body .mop-summary-tax {
    border-bottom: none;
    margin-top: 0;
}

.mop-summary-body .mop-summary-tax span:first-child {
    font-weight: 400;
}

/* ── Delivery Info (blue) ── */
.mop-delivery-info-box {
    background: #e8f4fd;
    border: 1px solid #b8d9f5;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 13px;
    color: #2471a3;
    margin-bottom: 10px;
    line-height: 1.5;
}

.mop-delivery-info-box strong {
    font-weight: 700;
}

/* ── Lead Time Note (yellow) ── */
.mop-lead-note-box {
    background: #fef9e7;
    border: 1px solid #f7dc6f;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 13px;
    color: #7d6608;
    margin-bottom: 14px;
    line-height: 1.5;
}

/* ── Actions ── */
.mop-ipq-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.mop-btn-enquiry,
.mop-btn-quote {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.01em;
    text-align: center;
}

.mop-btn-enquiry {
    background: #2ecc71;
    color: #fff;
}

.mop-btn-enquiry:hover {
    background: #27ae60;
}

.mop-btn-quote {
    background: #3498db;
    color: #fff;
}

.mop-btn-quote:hover {
    background: #2980b9;
}

.mop-btn-enquiry:active,
.mop-btn-quote:active {
    transform: scale(0.98);
}

.mop-btn-enquiry:disabled,
.mop-btn-quote:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ── Cart Notice ── */
.mop-cart-notice {
    display: block;
    margin-top: 12px;
    padding: 10px 14px;
    background: #e8f8ef;
    border: 1px solid #a8e6c3;
    border-radius: 6px;
    font-size: 13px;
    color: #1e8449;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.mop-cart-notice:hover {
    background: #d4f4e2;
    border-color: #7dd6a8;
    color: #1a6b38;
    text-decoration: none;
}

/* ── Short description ── */
.mop-product-short-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-top: 16px;
}

.mop-product-short-desc p {
    margin: 0 0 10px;
}

.mop-product-short-desc p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   PRODUCT TABS (Description + Size Chart)
══════════════════════════════════════════════ */
.mop-product-tabs-wrap {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-bottom: 40px;
    border-top: 2px solid #f0f0f0;
}

/* Tab nav */
.mop-product-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 0;
}

.mop-tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -2px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.mop-tab-btn:hover {
    color: #2ecc71;
}

.mop-tab-btn.active {
    color: #1a1a1a;
    border-bottom-color: #2ecc71;
}

/* Tab panels */
.mop-tab-panel {
    display: none;
    padding: 28px 0;
    animation: mopFadeIn 0.2s ease;
}

.mop-tab-panel.active {
    display: block;
}

@keyframes mopFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Long description */
.mop-long-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    max-width: 860px;
}

.mop-long-desc h2,
.mop-long-desc h3 {
    color: #1a1a1a;
    margin-top: 24px;
    margin-bottom: 10px;
}

.mop-long-desc p {
    margin-bottom: 14px;
}

.mop-long-desc ul,
.mop-long-desc ol {
    margin: 0 0 14px 20px;
}

.mop-long-desc img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Size chart */
.mop-size-chart-content {
    overflow-x: auto;
    font-size: 14px;
    color: #444;
}

.mop-size-chart-content table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.mop-size-chart-content th,
.mop-size-chart-content td {
    border: 1px solid #ddd;
    padding: 9px 14px;
    text-align: center;
    white-space: nowrap;
}

.mop-size-chart-content th {
    background: #f5f5f5;
    font-weight: 700;
    color: #333;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mop-size-chart-content tr:nth-child(even) td {
    background: #fafafa;
}

.mop-size-chart-content tr:hover td {
    background: #f0fff5;
}

/* ══════════════════════════════════════════════
   ENQUIRY CART PAGE
══════════════════════════════════════════════ */
.mop-eq-cart-wrap {
    margin: 0 auto;
    padding: 24px 0;
}

.mop-eq-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.mop-eq-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.mop-eq-empty p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Cart table */
.mop-eq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mop-eq-table th {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid #eee;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}

.mop-eq-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.mop-eq-td-img {
    width: 160px;
    text-align: center;
}

.mop-eq-td-img img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.mop-eq-product-name a {
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.mop-eq-product-name a:hover {
    color: #2ecc71;
}

/* ── Cart / Submit: structured summary rows ── */
.mop-eq-summary-rows {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mop-eq-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: #555;
}
.mop-eq-summary-label {
    color: #888;
    flex-shrink: 0;
}
.mop-eq-summary-val {
    font-weight: 600;
    color: #333;
    text-align: right;
}
.mop-eq-summary-total {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
}
.mop-eq-summary-total .mop-eq-summary-label {
    color: #333;
    font-weight: 600;
}
.mop-eq-summary-total .mop-eq-summary-val {
    color: #27ae60;
    font-size: 14px;
}

.mop-eq-meta {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.mop-eq-meta-tag {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    color: #555;
}

.mop-eq-custom-badge {
    background: #fff3e0;
    color: #e67e22;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.mop-eq-lead-time {
    font-size: 12px;
    color: #888;
}

.mop-eq-quote-fields {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.mop-eq-qf-row {
    margin-bottom: 3px;
}

.mop-eq-qf-label {
    font-weight: 600;
}

.mop-eq-td-price {
    text-align: center;
    white-space: nowrap;
    width: 140px;
    vertical-align: top;
}

.mop-eq-price {
    display: block;
    font-weight: 700;
    font-size: 20px;
    color: #2ecc71;
}

.mop-eq-price-note {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.mop-eq-price-tbc,
.mop-eq-quote-tbd {
    font-size: 13px;
    color: #e67e22;
    font-style: italic;
}

.mop-eq-td-remove {
    text-align: center;
    width: 120px;
    vertical-align: top;
}

.mop-eq-remove {
    background: #e74c3c;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}

.mop-eq-remove:hover {
    background: #c0392b;
}

/* Cart notice + delivery/lead boxes inside cart */
.mop-eq-notice {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13px;
    color: #555;
    margin-bottom: 16px;
    display: inline-block;
}

.mop-eq-delivery-box {
    margin-top: 10px;
    padding: 8px 12px;
    background: #e8f8ef;
    border: 1px solid #a8e6c3;
    border-radius: 6px;
    font-size: 12px;
    color: #1e6b3a;
}

.mop-eq-lead-box {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fffbe6;
    border: 1px solid #f0d060;
    border-radius: 6px;
    font-size: 12px;
    color: #7a6000;
}

/* Summary rows: label left, value right, bold label */
.mop-eq-summary-rows {
    margin-top: 8px;
    display: table;
    width: 100%;
    border-collapse: collapse;
}
.mop-eq-summary-row {
    display: table-row;
    font-size: 13px;
}
.mop-eq-summary-label {
    display: table-cell;
    padding: 2px 12px 2px 0;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}
.mop-eq-summary-val {
    display: table-cell;
    padding: 2px 0;
    color: #555;
}
.mop-eq-summary-total {
    border-top: 1px solid #e0e0e0;
}
.mop-eq-summary-total .mop-eq-summary-label {
    padding-top: 6px;
    color: #333;
}
.mop-eq-summary-total .mop-eq-summary-val {
    padding-top: 6px;
    color: #333;
    font-weight: 500;
}

/* Cart footer */
.mop-eq-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 12px;
}

/* ══════════════════════════════════════════════
   SUBMIT ENQUIRY PAGE
══════════════════════════════════════════════ */
.mop-eq-submit-wrap {
    margin: 0 auto;
    padding: 24px 0;
}

/* Artwork upload section */
.mop-artwork-upload {
    border: 2px solid #1A73E8;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 32px;
    background: #fff;
}

.mop-artwork-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.mop-artwork-hint {
    font-size: 13px;
    color: #666;
    margin: 0 0 14px;
}

.mop-artwork-dropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
}

.mop-artwork-dropzone.mop-artwork-drag-over {
    border-color: #1A73E8;
    background: #eff6ff;
}

.mop-artwork-choose-btn {
    display: inline-block;
    background: #1A73E8;
    color: #fff;
    padding: 11px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.mop-artwork-choose-btn:hover { background: #1558b0; }

.mop-artwork-drop-text {
    font-size: 13px;
    color: #999;
    margin: 10px 0 0;
}

.mop-artwork-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}

.mop-artwork-file-chip {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mop-submit-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.mop-submit-form-col {
    flex: 0 0 55%;
    max-width: 55%;
}

.mop-submit-summary-col {
    flex: 1 1 0%;
    min-width: 0;
    position: sticky;
    top: 100px;
}

.mop-submit-heading {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* Form fields */
.mop-submit-form .mop-form-field {
    margin-bottom: 16px;
}

.mop-submit-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.mop-submit-form input[type="text"],
.mop-submit-form input[type="email"],
.mop-submit-form input[type="tel"],
.mop-submit-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    background: #fff;
}

.mop-submit-form input:focus,
.mop-submit-form textarea:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.mop-submit-form textarea {
    resize: vertical;
}

/* Submit messages */
.mop-submit-msg {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 14px;
}

.mop-msg-success {
    background: #e8f8ef;
    color: #27ae60;
    border: 1px solid #a8e6c3;
}

.mop-msg-error {
    background: #fef0ee;
    color: #e74c3c;
    border: 1px solid #f5c6c2;
}

/* Summary card */
.mop-submit-summary-list {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.mop-ss-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.mop-ss-item:last-child {
    border-bottom: none;
}

.mop-ss-img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.mop-ss-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.mop-ss-info {
    flex: 1;
    min-width: 0;
}

.mop-ss-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.mop-ss-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.mop-ss-price {
    font-weight: 700;
    font-size: 14px;
    color: #2ecc71;
}

.mop-ss-footer {
    text-align: right;
}

/* ── Shared Buttons ── */
.mop-btn-primary {
    display: inline-block;
    background: #2ecc71;
    color: #fff;
    padding: 13px 28px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    letter-spacing: 0.01em;
}

.mop-btn-primary:hover {
    background: #27ae60;
    color: #fff;
}

.mop-btn-submit {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 16px;
}

.mop-btn-secondary {
    display: inline-block;
    padding: 11px 20px;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: background 0.2s;
}

.mop-btn-secondary:hover {
    background: #f0f0f0;
    color: #333;
}

.mop-btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

/* ══════════════════════════════════════════════
   BOXED CONTAINER (breadcrumb + sections)
══════════════════════════════════════════════ */
.mop-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ══════════════════════════════════════════════
   STACKED PRODUCT SECTIONS (Description + Size Chart)
══════════════════════════════════════════════ */
.mop-product-sections-wrap {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-bottom: 40px;
}

.mop-product-section {
    padding: 28px 0px;
    border-top: 2px solid #f0f0f0;
}

.mop-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2ecc71;
    display: inline-block;
}

/* ══════════════════════════════════════════════
   SELECTED CARD SUMMARY PANEL
   Same grid layout as .mop-logo-step:
   label column (110px) | content column (1fr)
══════════════════════════════════════════════ */
.mop-so-card-summary {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0 12px;
    align-items: start;
    margin-top: 4px;
    margin-bottom: 4px;
    animation: mopFadeInDown 0.18s ease;
}

@keyframes mopFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left column label — same style as .mop-logo-step-label */
.mop-so-card-summary-label {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 10px;
    line-height: 1.4;
}

.mop-so-card-summary-text {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    white-space: pre-wrap;
}

.mop-so-card-summary-text:empty {
    display: none;
}

/* Note tags inside the summary panel — grey pill, dark text */
.mop-so-card-notes-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.mop-so-card-notes-row:first-child {
    margin-top: 0;
}

.mop-so-note-tag--panel {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    background: #f2f2f2;
    color: #333;
    line-height: 1.6;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════
   PRODUCT PAGE TAGS (WooCommerce tags, below IPQ box)
══════════════════════════════════════════════ */
.mop-product-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

/* ══════════════════════════════════════════════
   PRODUCT GRID TAGS (shop, category, widgets)
══════════════════════════════════════════════ */
.mop-product-grid-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
    margin-bottom: 4px;
    line-height: 1;
}

/* ── Grid: From price (below product title) ── */
.mop-grid-from-price {
    display: block !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
    color: #1A73E8 !important;
}
.mop-grid-from-label,
.mop-grid-from-unit {
    font-size: 10px !important;
    font-weight: 500 !important;
    color: #1A73E8 !important;
}
.mop-grid-from-val {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1A73E8 !important;
}

/* ── Grid: Product title line-clamp (2 lines max) ── */
.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.mop-grid-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99em;
    border: 1px solid #d5d5d5;
    font-size: 11px;
    color: #666;
    text-decoration: none;
    background: #f5f5f5;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    line-height: 1.6;
}

.mop-grid-tag:hover {
    background: #2ecc71;
    color: #fff;
    border-color: #2ecc71;
    text-decoration: none;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .mop-product-wrap {
        flex-direction: column;
        gap: 24px;
    }

    .mop-gallery-col {
        flex: none;
        max-width: 100%;
        width: 100%;
        position: static;
    }

    .mop-info-col {
        width: 100%;
    }

    .mop-logo-step {
        grid-template-columns: 90px 1fr;
    }

    .mop-submit-layout {
        flex-direction: column;
        gap: 24px;
    }

    .mop-submit-form-col,
    .mop-submit-summary-col {
        flex: none;
        max-width: 100%;
        width: 100%;
        position: static;
    }

    .mop-product-sections-wrap {
        margin-top: 24px;
    }
}

/* ── Cart: stack price + remove below info column on mobile ── */
@media (max-width: 768px) {
    .mop-eq-table thead { display: none; }
    .mop-eq-table,
    .mop-eq-table tbody,
    .mop-eq-table tr { display: block; width: 100%; }
    .mop-eq-row { border-bottom: 2px solid #f0f0f0; padding-bottom: 16px; margin-bottom: 16px; }
    .mop-eq-td-img { display: inline-block; width: 80px; vertical-align: top; }
    .mop-eq-td-img img { width: 72px; height: 72px; }
    .mop-eq-td-info { display: inline-block; width: calc(100% - 90px); vertical-align: top; padding: 0 0 0 8px; box-sizing: border-box; }
    .mop-eq-td-price,
    .mop-eq-td-remove { display: inline-block; vertical-align: top; padding: 8px 8px 0 0; }
    .mop-eq-td-price { width: auto; text-align: left; }
    .mop-eq-td-remove { width: auto; }
}

@media (max-width: 480px) {
    .mop-logo-step {
        grid-template-columns: 1fr;
    }

    .mop-logo-step-label {
        padding-top: 0;
        margin-bottom: 8px;
    }

    .mop-ipq-actions {
        flex-direction: column;
    }

    .mop-btn-enquiry,
    .mop-btn-quote {
        width: 100%;
    }

    .mop-gallery-thumbs .mop-thumb {
        width: 52px;
        height: 52px;
    }

    .mop-product-title {
        font-size: 20px;
    }

    .mop-price-main .mop-price-incl {
        font-size: 18px;
    }
}