.sm-mp-page {
    min-height: 60vh;
    padding: 42px 0 70px;
    background: #f6f8f6;
    color: #25312a;
    font-size: 15px;
    line-height: 1.55;
}

.sm-mp-container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.sm-mp-page-header {
    max-width: 760px;
    margin-bottom: 24px;
}

.sm-mp-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #118447;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.sm-mp-page h1,
.sm-mp-page h2 {
    color: #1f2d24;
}

.sm-mp-page-header h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 5vw, 48px);
}

.sm-mp-page-header p {
    margin: 0;
    color: #536158;
    font-size: 16px;
    line-height: 1.7;
}

.sm-mp-quality-intro {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid #bfe5cc;
    border-radius: 12px;
    background: #effaf2;
}

.sm-mp-quality-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: #11964f;
    color: #fff;
    font-size: 22px;
}

.sm-mp-quality-intro strong {
    color: #0b713a;
    font-size: 16px;
}

.sm-mp-quality-intro p {
    margin: 4px 0 0;
    color: #365841;
    font-size: 15px;
    line-height: 1.6;
}

.sm-mp-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sm-mp-product-card {
    overflow: hidden;
    border: 1px solid #e0e6e1;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    box-shadow: 0 4px 16px rgba(25, 52, 35, .05);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.sm-mp-product-card:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(25, 52, 35, .1);
}

.sm-mp-product-image {
    position: relative;
    aspect-ratio: 1.12;
    background: #fff;
}

.sm-mp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.sm-mp-card-status {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #168a49;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.sm-mp-card-status.is-reserved { background: #a46416; }
.sm-mp-card-status.is-sold { background: #6b7280; }

.sm-mp-product-copy {
    padding: 18px;
}

.sm-mp-verified-badge {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    color: #0b7b3e;
    font-size: 12px;
    font-weight: 800;
}

.sm-mp-product-copy h2 {
    min-height: 48px;
    margin: 8px 0 12px;
    font-size: 17px;
    line-height: 1.4;
}

.sm-mp-price-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.sm-mp-price-line strong {
    color: #d0352c;
    font-size: 20px;
}

/* Keep WooCommerce currency markup, but make its archive price intentional. */
.sm-mp-price-line .woocommerce-Price-amount.amount {
    color: #111;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.sm-mp-price-line span {
    color: #7a837d;
    font-size: 13px;
}

.sm-mp-offer-count {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eef0ee;
    color: #657168;
    font-size: 13px;
}

.sm-mp-empty {
    padding: 60px 24px;
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.sm-mp-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: #177744;
    font-weight: 700;
}

.sm-mp-listings > h2,
.sm-mp-contact-section > h2 {
    margin-bottom: 4px;
    font-size: 24px;
}

.sm-mp-section-help {
    margin: 0 0 18px;
    color: #667169;
    font-size: 15px;
    line-height: 1.6;
}

.sm-mp-listing-card {
    display: grid;
    grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
    grid-template-areas:
        "gallery info"
        "gallery details";
    column-gap: 22px;
    row-gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(25, 52, 35, .04);
}

.sm-mp-listing-card.is-selected {
    border-color: #19a557;
}

.sm-mp-listing-card.is-reserved,
.sm-mp-listing-card.is-sold {
    opacity: .75;
}

.sm-mp-listing-gallery {
    grid-area: gallery;
    position: relative;
    align-self: start;
    min-width: 0;
}

.sm-mp-listing-info {
    grid-area: info;
    min-width: 0;
}

.sm-mp-gallery-main {
    width: 100%;
    aspect-ratio: 1.2;
    border-radius: 10px;
    background: #f5f5f5;
    object-fit: cover;
    cursor: zoom-in;
}

.sm-mp-gallery-main:focus-visible {
    outline: 3px solid rgba(21, 160, 82, .35);
    outline-offset: 2px;
}

.sm-mp-photo-count {
    display: none;
    position: absolute;
    right: 7px;
    bottom: 7px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(25, 35, 29, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.sm-mp-gallery-thumbs {
    display: flex;
    gap: 7px;
    margin-top: 8px;
    overflow-x: auto;
}

.sm-mp-gallery-thumb {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #dfe5e0;
    border-radius: 6px;
    background: #fff;
}

.sm-mp-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-mp-listing-topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.sm-mp-listing-product-name {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    overflow: hidden;
    color: #1f2d24;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sm-mp-listing-topline > .sm-mp-verified-badge {
    grid-column: 1;
    grid-row: 1;
}

.sm-mp-listing-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
}

.sm-mp-listing-status {
    padding: 4px 8px;
    border-radius: 999px;
    background: #e8f8ed;
    color: #107540;
    font-size: 12px;
    font-weight: 800;
}

.sm-mp-listing-status.is-reserved { background: #fff4df; color: #8a5708; }
.sm-mp-listing-status.is-sold { background: #eef0f2; color: #5c6570; }

.sm-mp-listing-price {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin: 12px 0 16px;
}

.sm-mp-listing-price strong {
    color: #d0352c;
    font-size: 27px;
}

.sm-mp-listing-price span {
    color: #7b847e;
    font-size: 23px;
}

.sm-mp-listing-price .sm-mp-listing-saving {
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf8ee;
    color: #087a3e;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.sm-mp-listing-details {
    grid-area: details;
    min-width: 0;
}

.sm-mp-listing-details summary {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 0;
    border-top: 1px solid #e8ebe8;
    color: #177744;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.sm-mp-listing-details summary::-webkit-details-marker {
    display: none;
}

.sm-mp-listing-details summary i {
    font-size: 20px;
    transition: transform .18s ease;
}

.sm-mp-listing-details[open] summary i {
    transform: rotate(180deg);
}

.sm-mp-listing-details-content {
    padding-top: 0;
}

.sm-mp-condition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.sm-mp-condition-grid > div {
    padding: 9px 10px;
    border-radius: 8px;
    background: #f6f8f6;
}

.sm-mp-condition-grid dt {
    color: #7c867f;
    font-size: 12px;
}

.sm-mp-condition-grid dd {
    margin: 2px 0 0;
    color: #28372d;
    font-size: 14px;
    font-weight: 700;
}

.sm-mp-condition-notes {
    margin-top: 12px;
    padding: 10px 12px;
    border-left: 3px solid #9dada1;
    background: #fafbfa;
    color: #536158;
    font-size: 14px;
    line-height: 1.55;
}

.sm-mp-opened-warning {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    padding: 11px 12px;
    border: 1px solid #efb0aa;
    border-radius: 8px;
    background: #fff1ef;
    color: #892c25;
    font-size: 13px;
    line-height: 1.5;
}

.sm-mp-listing-select {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e8ebe8;
    font-size: 14px;
}

.sm-mp-select-check {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    color: #147540;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.sm-mp-select-check input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #15964d;
    cursor: pointer;
}

.sm-mp-listing-select > span {
    margin-left: auto;
    color: #707b73;
}

.sm-mp-qty-field {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 700;
}

.sm-mp-qty-control.quantity.buttons_added {
    display: inline-flex;
    width: 112px;
    height: 38px;
    margin: 0;
    border: 1px solid #d6ddd8;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.sm-mp-page .sm-mp-qty-control .button,
.sm-mp-page .sm-mp-qty-control .qty {
    width: 36px;
    min-width: 0;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
}

.sm-mp-page .sm-mp-qty-control .button {
    background: #f2f5f2;
    color: #147540;
}

.sm-mp-page .sm-mp-qty-control .qty {
    flex: 1 1 auto;
    background: #fff;
    color: #25312a;
    font-size: 15px;
    font-weight: 700;
    -moz-appearance: textfield;
}

.sm-mp-page .sm-mp-qty-control .qty::-webkit-outer-spin-button,
.sm-mp-page .sm-mp-qty-control .qty::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.sm-mp-page .sm-mp-qty-control button:disabled,
.sm-mp-page .sm-mp-qty-control input:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.sm-mp-opened-ack {
    display: block;
    margin-top: 10px;
    color: #892c25;
    font-size: 13px;
    font-weight: 700;
}

.sm-mp-contact-section {
    margin-top: 30px;
    padding: 24px;
    border-radius: 14px;
    background: #fff;
}

.sm-mp-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sm-mp-contact-grid label {
    color: #35443a;
    font-size: 15px;
    font-weight: 700;
}

.sm-mp-contact-grid input,
.sm-mp-contact-grid textarea {
    width: 100%;
    margin: 6px 0 0;
    border: 1px solid #d6ddd8;
    border-radius: 8px;
    box-shadow: none;
}

.sm-mp-full {
    grid-column: 1 / -1;
}

.sm-mp-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
}

.sm-mp-totals {
    width: 100%;
    margin: 24px 0 20px;
    padding: 16px;
    border-radius: 10px;
    background: #f5f8f5;
}

.sm-mp-totals > div:not(.sm-mp-threshold-note) {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sm-mp-threshold-note {
    margin: 8px 0;
    color: #6b756e;
    font-size: 13px;
    text-align: right;
}

.sm-mp-totals .sm-mp-total-row {
    margin: 12px 0 0 !important;
    padding-top: 12px;
    border-top: 1px solid #d9e0da;
    font-size: 18px;
}

.sm-mp-totals .sm-mp-saving-row {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eaf8ee;
    color: #087a3e;
    font-weight: 800;
}

.sm-mp-saving-row strong {
    color: #087a3e;
    font-size: 18px;
}

.sm-mp-reserve-button {
    display: block;
    width: min(100%, 480px);
    margin: 0 auto;
    border-radius: 999px;
    background: #15a052 !important;
}

.sm-mp-legal-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #d9e0da;
    border-radius: 9px;
    background: #fafcfa;
    color: #465249;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.sm-mp-legal-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}

.sm-mp-legal-consent a {
    color: #107540;
    font-weight: 800;
    text-decoration: underline;
}

.sm-mp-form-message {
    width: min(100%, 480px);
    margin: 0 auto 14px;
    padding: 0;
}

.sm-mp-form-message.is-error,
.sm-mp-form-message.is-success {
    padding: 12px 14px;
    border-radius: 8px;
}

.sm-mp-form-message.is-error {
    background: #fff0ef;
    color: #9a2923;
}

.sm-mp-form-message.is-success {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #eaf9ef;
    color: #116b38;
}

.sm-mp-mobile-stepper,
.sm-mp-mobile-back-to-offers,
.sm-mp-selected-summary,
.sm-mp-step-next {
    display: none;
}

body.sm-mp-lightbox-open {
    overflow: hidden;
}

.sm-mp-lightbox {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(12, 18, 14, .92);
}

.sm-mp-lightbox.is-open {
    display: flex;
}

.sm-mp-lightbox-image {
    display: block;
    max-width: min(1100px, calc(100vw - 100px));
    max-height: calc(100vh - 80px);
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.sm-mp-lightbox-close,
.sm-mp-lightbox-prev,
.sm-mp-lightbox-next {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #1f2d24;
    font-size: 28px;
    line-height: 1;
}

.sm-mp-lightbox-close { top: 18px; right: 18px; }
.sm-mp-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.sm-mp-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.sm-mp-lightbox.is-single .sm-mp-lightbox-prev,
.sm-mp-lightbox.is-single .sm-mp-lightbox-next { display: none; }

.sm-mp-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 768px) {
	.sm-mp-quality-intro {
        gap: 9px;
        margin-bottom: 14px;
        padding: 10px 12px;
        border-radius: 9px;
    }
	.sm-mp-quality-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 17px;
    }
	.sm-mp-quality-intro strong { font-size: 13px; }
	.sm-mp-quality-intro p {
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.35;
    }

	.sm-mp-listing-topline {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 8px;
		row-gap: 5px;
		align-items: start;
	}
	.sm-mp-listing-actions { display: contents; }
	.sm-mp-listing-status {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}
	.sm-mp-select-check {
		grid-column: 2;
		grid-row: 3;
		justify-self: end;
	}
	.sm-mp-mobile-stepper {
        display: flex;
        gap: 0;
        margin: 0 0 20px;
        overflow: hidden;
        border: 1px solid #d8e2da;
        border-radius: 10px;
        background: #fff;
    }
    .sm-mp-mobile-stepper span {
        display: flex;
        flex: 1 1 50%;
        gap: 7px;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        color: #748078;
        font-size: 13px;
        font-weight: 800;
    }
    .sm-mp-mobile-stepper span + span { border-left: 1px solid #d8e2da; }
    .sm-mp-mobile-stepper b {
        display: inline-grid;
        place-items: center;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #e7ece8;
        color: #68746d;
        font-size: 12px;
    }
    .sm-mp-mobile-stepper .is-active {
        background: #effaf2;
        color: #107540;
    }
    .sm-mp-mobile-stepper .is-active b {
        background: #15964d;
        color: #fff;
    }
    .sm-mp-step-contact { display: none; }
    .sm-mp-reservation-form.is-step-details .sm-mp-step-offers { display: none; }
    .sm-mp-reservation-form.is-step-details .sm-mp-step-contact { display: block; }
	.sm-mp-step-next {
		display: block;
		width: min(100%, 480px);
		margin: 20px auto 0;
		border-radius: 999px;
		background: #15964d !important;
	}
    .sm-mp-mobile-back-to-offers {
        display: inline-flex;
        gap: 4px;
        align-items: center;
        min-height: 0;
        margin: 0 0 12px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #177744;
        font-size: 14px;
        font-weight: 800;
    }
    .sm-mp-selected-summary {
        display: block;
        margin: 16px 0;
        padding: 12px;
        border: 1px solid #d8e8dc;
        border-radius: 9px;
        background: #f5faf6;
        color: #314238;
        font-size: 14px;
    }
    .sm-mp-selected-summary:empty { display: none; }
    .sm-mp-selected-summary > strong { display: block; margin-bottom: 7px; }
    .sm-mp-selected-summary ul { margin: 0; padding: 0; list-style: none; }
    .sm-mp-selected-summary li {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 0;
        border-top: 1px solid #e0ebe2;
    }
    .sm-mp-selected-summary li b { color: #d0352c; white-space: nowrap; }
}

@media (min-width: 769px) {
    .sm-mp-step-next { display: none !important; }
}

@media (max-width: 849px) {
    .sm-mp-page { padding: 26px 0 60px; }
    .sm-mp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .sm-mp-listing-card { grid-template-columns: 180px minmax(0, 1fr); }
    .sm-mp-condition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 549px) {
    .sm-mp-container { width: min(100% - 22px, 1180px); }
    .sm-mp-product-grid { grid-template-columns: 1fr; }
    .sm-mp-product-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 132px;
    }
    .sm-mp-product-card:hover { transform: none; }
    .sm-mp-product-image { aspect-ratio: auto; min-height: 132px; }
    .sm-mp-product-image img { padding: 10px; }
    .sm-mp-card-status { left: 7px; bottom: 7px; padding: 4px 7px; font-size: 12px; }
    .sm-mp-product-copy { padding: 12px; }
    .sm-mp-product-copy h2 { min-height: 0; margin: 6px 0 8px; font-size: 16px; }
    .sm-mp-price-line { align-items: flex-start; flex-direction: column; gap: 1px; }
    .sm-mp-price-line strong { font-size: 18px; }
    .sm-mp-offer-count { margin-top: 8px; padding-top: 7px; }
    .sm-mp-quality-intro { padding: 10px 12px; }
    .sm-mp-listing-card {
        grid-template-columns: 104px minmax(0, 1fr);
        grid-template-areas:
            "gallery info"
            "details details";
        column-gap: 12px;
        row-gap: 12px;
        padding: 12px;
    }
    .sm-mp-gallery-main { aspect-ratio: 1; min-height: 104px; }
    .sm-mp-gallery-thumbs { display: none; }
    .sm-mp-photo-count { display: inline-flex; align-items: center; gap: 3px; }
    .sm-mp-listing-topline { flex-wrap: wrap; gap: 5px; }
    .sm-mp-listing-actions { gap: 6px; }
    .sm-mp-verified-badge { font-size: 12px; }
    .sm-mp-listing-status { padding: 3px 7px; font-size: 12px; }
    .sm-mp-listing-price { flex-direction: column; gap: 1px; margin: 8px 0 10px; }
    .sm-mp-listing-price strong { font-size: 22px; }
    .sm-mp-listing-price span { font-size: 13px; }
    .sm-mp-listing-details summary { display: flex; }
    .sm-mp-listing-details-content { padding-top: 10px; }
    .sm-mp-condition-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
    .sm-mp-condition-grid dd { font-size: 13px; }
    .sm-mp-listing-select { flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 10px; }
    .sm-mp-listing-select > span { width: 100%; margin-left: 0; font-size: 13px; }
    .sm-mp-qty-field { justify-content: space-between; width: 100%; }
    .sm-mp-opened-warning { font-size: 12px; }
    .sm-mp-contact-section { padding: 16px 12px; }
    .sm-mp-contact-grid { grid-template-columns: 1fr; }
    .sm-mp-full { grid-column: auto; }
    .sm-mp-lightbox { padding: 16px; }
    .sm-mp-lightbox-image { max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); }
    .sm-mp-lightbox-close { top: 12px; right: 12px; }
    .sm-mp-lightbox-prev { left: 10px; }
    .sm-mp-lightbox-next { right: 10px; }
}
