.momobud-or-frontend-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-family: inherit;
    color: #333;
}

.momobud-or-frontend-wrapper h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2c3e50;
    border-bottom: 2px solid #f08579;
    padding-bottom: 10px;
    display: inline-block;
}

.momobud-or-item-card {
    border: 1px solid #ebebeb;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.momobud-or-item-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-color: #e0e0e0;
}

.momobud-or-item-card h4 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.momobud-or-original-price {
    font-size: 16px;
    color: #f08579;
    font-weight: bold;
}

.momobud-or-actions {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.momobud-or-actions label {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #444;
}

.momobud-or-actions label:last-child {
    margin-bottom: 0;
}

.momobud-or-actions input[type="radio"] {
    margin-right: 10px;
    accent-color: #f08579;
}

.momobud-or-replace-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.momobud-or-replace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.momobud-or-choose-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.momobud-or-search-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.momobud-or-search-box-wrap {
    position: relative;
    width: 240px;
}

.momobud-or-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.momobud-or-product-search-input {
    padding: 8px 10px 8px 32px !important;
    height: 38px !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    width: 100% !important;
    font-size: 13px !important;
    background: #fff !important;
    color: #333 !important;
}

.momobud-or-qty-wrap {
    width: 60px;
}

.momobud-or-select-qty {
    height: 38px !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    text-align: center !important;
    width: 100% !important;
    font-size: 13px !important;
    padding: 0 5px !important;
    background: #fff !important;
}

/* Carousel Layout */
.momobud-or-carousel-wrapper {
    position: relative;
    margin: 15px 0;
    padding: 0 35px;
}

.momobud-or-carousel-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    scrollbar-width: none;
}

.momobud-or-carousel-track::-webkit-scrollbar {
    display: none;
}

.momobud-or-carousel-loading,
.momobud-or-carousel-empty {
    width: 100%;
    text-align: center;
    padding: 30px 10px;
    color: #888;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px dashed #eee;
}

.momobud-or-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #ffffff;
    color: #555;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    padding: 0;
}

.momobud-or-carousel-nav:hover {
    background: #f08579;
    color: #ffffff;
    border-color: #f08579;
}

.momobud-or-carousel-nav.nav-prev { left: 0; }
.momobud-or-carousel-nav.nav-next { right: 0; }

/* Product Card Design (Matching Image 2 Category Card style) */
.momobud-or-product-card {
    flex: 0 0 175px;
    width: 175px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.momobud-or-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
}

.momobud-or-card-img-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.momobud-or-card-img-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.momobud-or-product-card:hover .momobud-or-card-img-wrap img {
    transform: scale(1.04);
}

/* Image Hover Overlay */
.momobud-or-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.momobud-or-product-card:hover .momobud-or-card-overlay {
    opacity: 1;
}

.momobud-or-qv-trigger-overlay {
    background: #ffffff;
    color: #333;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.momobud-or-qv-trigger-overlay:hover {
    background: #f08579;
    color: #fff;
}

.momobud-or-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.momobud-or-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 3px;
    height: 34px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.momobud-or-card-sublabel {
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
}

.momobud-or-card-price {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    margin-top: auto;
}

.momobud-or-card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.momobud-or-add-card-btn {
    flex: 1;
    padding: 6px 0;
    background: #ffffff;
    border: 1px solid #f08579;
    color: #f08579;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.momobud-or-add-card-btn:hover {
    background: #f08579;
    color: #ffffff;
}

.momobud-or-add-card-btn.added {
    background: #27ae60;
    color: #ffffff;
    border-color: #27ae60;
}

.momobud-or-qv-trigger-icon {
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.momobud-or-qv-trigger-icon:hover {
    color: #f08579;
}

/* Selected Replacements List Container */
.momobud-or-selected-list-container {
    margin-top: 15px;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 8px;
}

.momobud-or-selected-heading {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.momobud-or-empty-selected-msg {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin: 0;
}

.momobud-or-selected-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f2;
}

.momobud-or-selected-item-row:last-child {
    border-bottom: none;
}

.momobud-or-selected-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.momobud-or-selected-info {
    flex: 1;
    min-width: 0;
}

.momobud-or-selected-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.momobud-or-selected-variation {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.momobud-or-selected-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 4px;
}

.momobud-or-selected-qty-ctrl .qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #ccc;
    background: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.momobud-or-selected-qty-ctrl .qty-btn:hover {
    background: #eee;
}

.momobud-or-item-qty-input {
    width: 40px !important;
    height: 26px !important;
    text-align: center !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    padding: 0 !important;
}

.momobud-or-selected-price {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    width: 75px;
    text-align: right;
    flex-shrink: 0;
}

.momobud-or-remove-item-btn {
    background: none !important;
    border: none !important;
    color: #e74c3c !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 5px !important;
    transition: color 0.2s ease;
}

.momobud-or-remove-item-btn:hover {
    color: #c0392b !important;
}

.momobud-or-price-diff-msg {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.momobud-or-refund-preference {
    margin-top: 30px;
    padding: 25px;
    background: #fff5f4;
    border: 1px solid #f9d8d5;
    border-radius: 8px;
}

.momobud-or-refund-preference h4 {
    margin-top: 0;
    color: #e74c3c;
    font-size: 20px;
    margin-bottom: 15px;
}

.momobud-or-refund-preference p {
    color: #555;
    margin-bottom: 15px;
}

.momobud-or-summary {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: right;
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    border-left: 5px solid #f08579;
}

#momobud-or-submit-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: #f08579;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(240, 133, 121, 0.3);
}

#momobud-or-submit-btn:hover {
    background-color: #e06c5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 133, 121, 0.4);
}

#momobud-or-front-spinner {
    margin-left: 15px;
    vertical-align: middle;
}

#momobud-or-front-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-weight: 500;
}

/* QUICK VIEW MODAL STYLING */
.momobud-or-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}

.momobud-or-modal-container {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    padding: 25px;
    animation: momobudOrModalPop 0.25s ease-out;
}

@keyframes momobudOrModalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.momobud-or-modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: #f2f2f2 !important;
    border: none !important;
    width: 32px; height: 32px;
    border-radius: 50% !important;
    font-size: 22px !important;
    line-height: 30px !important;
    text-align: center;
    color: #666 !important;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.2s ease;
}

.momobud-or-modal-close:hover {
    background: #e74c3c !important;
    color: #fff !important;
}

.momobud-or-qv-layout {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

@media (max-width: 600px) {
    .momobud-or-qv-layout {
        flex-direction: column;
    }
}

.momobud-or-qv-img-col {
    flex: 0 0 240px;
    width: 240px;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .momobud-or-qv-img-col {
        width: 100%;
        height: 200px;
    }
}

.momobud-or-qv-img-col img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.momobud-or-qv-info-col {
    flex: 1;
    min-width: 0;
}

.momobud-or-qv-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.momobud-or-qv-brand {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.momobud-or-qv-price-wrap {
    font-size: 20px;
    font-weight: 700;
    color: #f08579;
    margin-bottom: 12px;
}

.momobud-or-qv-stock-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #e8f8f5;
    color: #27ae60;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.momobud-or-qv-field-group {
    margin-bottom: 15px;
}

.momobud-or-qv-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.momobud-or-qv-select {
    width: 100% !important;
    padding: 10px !important;
    border-radius: 6px !important;
    border: 1px solid #ccc !important;
    font-size: 14px !important;
    background: #fff !important;
}

.momobud-or-qv-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
}

.momobud-or-qv-qty-ctrl .qv-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.momobud-or-qv-qty-ctrl .qv-qty-btn:hover {
    background: #eee;
}

#momobud-or-qv-qty-input {
    width: 50px !important;
    height: 32px !important;
    text-align: center !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    padding: 0 !important;
}

.momobud-or-qv-action-row {
    margin-top: 20px;
}

.momobud-or-qv-submit-btn {
    width: 100%;
    padding: 12px 0;
    background-color: #f08579 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(240, 133, 121, 0.3);
}

.momobud-or-qv-submit-btn:hover {
    background-color: #e06c5e !important;
    transform: translateY(-1px);
}

/* SUCCESS VIEW STYLING */
.momobud-or-success-wrapper {
    text-align: center;
    padding: 50px 30px;
}

.momobud-or-success-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.momobud-or-success-icon-wrap {
    width: 80px;
    height: 80px;
    background: #e8f8f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.15);
}

.momobud-or-success-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0 0 12px 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.momobud-or-success-msg {
    font-size: 15px;
    color: #555;
    max-width: 550px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.momobud-or-success-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.momobud-or-btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: #f08579 !important;
    color: #ffffff !important;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(240, 133, 121, 0.3);
}

.momobud-or-btn-primary:hover {
    background: #e06c5e !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.momobud-or-btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: #ffffff !important;
    color: #444444 !important;
    border: 1px solid #cccccc;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.momobud-or-btn-secondary:hover {
    border-color: #f08579 !important;
    color: #f08579 !important;
}

/* Gift Hamper Quick View Popup Inputs */
.momobud-or-qv-input,
.momobud-or-qv-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.momobud-or-qv-input:focus,
.momobud-or-qv-textarea:focus {
    border-color: #f08579;
    outline: none;
}

.momobud-or-selected-hamper-info {
    font-size: 11px;
    color: #d35400;
    margin-top: 3px;
    font-weight: 500;
}

/* Customization Stepper Popup Modal Styles */
.momobud-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.momobud-modal-overlay.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.momobud-modal-card {
    background: #FFF;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}
.momobud-modal-overlay.open .momobud-modal-card {
    transform: translateY(0);
}
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #95A5A6;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s;
    outline: none;
}
.modal-close-btn:hover {
    color: #f08579;
}
.modal-header {
    padding: 25px 35px 15px 35px;
    border-bottom: 1px solid #F5EFEB;
}
.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2C3E50;
    margin: 0 0 20px 0;
}
.modal-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 10px;
}
.modal-stepper::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #EAEAEA;
    z-index: 1;
}
.stepper-progress-line {
    position: absolute;
    top: 15px;
    left: 10%;
    height: 3px;
    background: #f08579;
    width: 0;
    z-index: 1;
    transition: width 0.4s ease;
}
.modal-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    z-index: 2;
    position: relative;
}
.modal-step .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFF;
    border: 2px solid #EAEAEA;
    color: #95A5A6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.modal-step .step-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: #95A5A6;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.modal-step.active .step-num {
    background: #f08579;
    border-color: #f08579;
    color: #FFF;
    box-shadow: 0 3px 10px rgba(240, 133, 121, 0.3);
}
.modal-step.active .step-lbl {
    color: #f08579;
}
.modal-step.completed .step-num {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #FFF;
}
.modal-step.completed .step-lbl {
    color: #4CAF50;
}
.modal-body-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 30px 35px;
}
.modal-step-panel {
    display: none !important;
}
.modal-step-panel.active {
    display: block !important;
    animation: modalPanelFade 0.4s ease;
}
@keyframes modalPanelFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-footer {
    padding: 20px 35px;
    border-top: 1px solid #F5EFEB;
    display: flex;
    justify-content: space-between;
    background: #FAFAFA;
}
.occasion-pill-label input[type="radio"]:checked + *,
.occasion-pill-label.active,
.deliver-pill-label input[type="radio"]:checked + *,
.deliver-pill-label.active {
    border-color: #f08579 !important;
    background-color: #FFF5F5 !important;
    color: #f08579 !important;
    box-shadow: 0 2px 8px rgba(240, 133, 121, 0.15);
}
.occasion-pill-label:hover, .deliver-pill-label:hover {
    border-color: #f08579;
    opacity: 0.9;
}

