/* Qlub Menu Theme CSS */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--qlub-background, #ffffff);
    color: var(--qlub-text-color, #1a1a1a);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 100px; /* Space for sticky cart */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.mnu-header,
.qlub-header {
    padding: 15px 20px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mnu-header-top,
.qlub-header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.mnu-logo-container,
.qlub-logo-container {
    text-align: center;
    grid-column: 2;
}

.mnu-header-actions,
.qlub-header-actions {
    justify-self: end;
    grid-column: 3;
}

.mnu-back-btn,
.qlub-back-btn,
.mnu-social-btn,
.qlub-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    color: #333;
    transition: all 0.2s ease;
    grid-column: 1;
    justify-self: start;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.mnu-social-btn:active,
.qlub-social-btn:active {
    background-color: #f5f5f5;
    transform: scale(0.95);
}

.mnu-social-icons-wrapper,
.qlub-social-icons-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
}

.mnu-social-icon,
.qlub-social-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mnu-social-icon.active,
.qlub-social-icon.active {
    opacity: 1;
    transform: translateY(0);
}

.mnu-social-icon.exit,
.qlub-social-icon.exit {
    opacity: 0;
    transform: translateY(-20px);
}

/* Social Modal Styles */
.mnu-social-modal-content,
.qlub-social-modal-content {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 20px 20px 20px 20px;
    padding: 25px 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.mnu-social-header,
.qlub-social-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.mnu-social-links-list,
.qlub-social-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mnu-social-link-item,
.qlub-social-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    color: #111;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mnu-social-link-item:active,
.qlub-social-link-item:active {
    background: #f0f0f0;
    transform: scale(0.98);
}

.mnu-social-footer,
.qlub-social-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    line-height: 1.5;
}

.mnu-social-footer a,
.qlub-social-footer a {
    color: var(--qlub-main-color);
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .mnu-social-modal-content,
    .qlub-social-modal-content {
        width: 90%;
    }
}

.mnu-logo-container img,
.qlub-logo-container img {
    max-height: 50px;
    width: auto;
}

.mnu-search-container,
.qlub-search-container {
    position: relative;
}

.mnu-search-icon,
.qlub-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

#qlub-search-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--qlub-border, #e0e0e0);
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    background-color: #fafafa;
    transition: all 0.2s ease;
}

#qlub-search-input:focus {
    border-color: var(--qlub-main-color);
    background-color: #fff;
}

/* Category Nav */
.mnu-category-nav,
.qlub-category-nav {
    position: sticky;
    top: 105px; /* header height approx */
    background: #fff;
    z-index: 99;
    border-bottom: 1px solid var(--qlub-border, #f0f0f0);
}

.mnu-category-list,
.qlub-category-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 20px;
    gap: 10px;
    list-style: none;
    scrollbar-width: none; /* Firefox */
}

.mnu-category-list::-webkit-scrollbar,
.qlub-category-list::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.mnu-cat-item a,
.qlub-cat-item a {
    white-space: nowrap;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--qlub-main-color);
    background-color: #fff;
    border: 1px solid var(--qlub-main-color);
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.mnu-cat-item.active a,
.qlub-cat-item.active a {
    background-color: var(--qlub-secondary-color);
    color: var(--qlub-main-color);
    border: 1px solid var(--qlub-secondary-color);
}

/* Main Content */
.mnu-category-section,
.qlub-category-section {
    padding: 20px 20px 0;
}

.mnu-category-title,
.qlub-category-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Product Item */
.mnu-product-item,
.qlub-product-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--qlub-border, #f0f0f0);
    gap: 15px;
}

.mnu-product-item:last-child,
.qlub-product-item:last-child {
    border-bottom: none;
}

.mnu-product-info,
.qlub-product-info {
    flex: 1;
    cursor: pointer;
}

.mnu-product-name,
.qlub-product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
}

/* Product Bean Size Badge */
.mnu-product-badge,
.qlub-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 6px;
    vertical-align: middle;
    margin-left: 6px;
    text-transform: none;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

body.ar .mnu-product-badge,
body.ar .qlub-product-badge,
body.rtl .mnu-product-badge,
body.rtl .qlub-product-badge {
    margin-left: 0;
    margin-right: 6px;
}

.mnu-product-badge svg,
.qlub-product-badge svg,
.mnu-product-badge .mnu-badge-icon,
.qlub-product-badge .qlub-badge-icon {
    width: 12px;
    height: 12px;
    stroke: #ffffff;
    flex-shrink: 0;
}

.mnu-product-badge .mnu-badge-text,
.qlub-product-badge .qlub-badge-text {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}

.mnu-single-title .mnu-product-badge,
.qlub-single-title .qlub-product-badge {
    font-size: 13px;
    padding: 4px 10px;
    margin-left: 10px;
    vertical-align: middle;
}

body.ar .mnu-single-title .mnu-product-badge,
body.ar .qlub-single-title .qlub-product-badge,
body.rtl .mnu-single-title .mnu-product-badge,
body.rtl .qlub-single-title .qlub-product-badge {
    margin-left: 0;
    margin-right: 10px;
}

.mnu-single-title .mnu-product-badge svg,
.qlub-single-title .qlub-product-badge svg,
.mnu-single-title .mnu-product-badge .mnu-badge-icon,
.qlub-single-title .qlub-product-badge .qlub-badge-icon {
    width: 14px;
    height: 14px;
}

.mnu-product-desc,
.qlub-product-desc {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
    line-height: 1.4;
}

.mnu-product-price,
.qlub-product-price {
    font-weight: 600;
    color: #111;
}

.mnu-product-image-action,
.qlub-product-image-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.mnu-product-image,
.qlub-product-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
}

.mnu-product-image img,
.qlub-product-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.mnu-product-add-wrapper,
.qlub-product-add-wrapper {
    margin-top: -18px;
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-right: 4px;
}

.mnu-product-add-wrapper.has-stepper,
.qlub-product-add-wrapper.has-stepper {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
}

.mnu-add-btn,
.qlub-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #111;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.15s ease;
}

.mnu-add-btn:active,
.qlub-add-btn:active {
    transform: scale(0.9);
}

.mnu-add-badge.mnu-in-cart-badge,
.qlub-add-badge.qlub-in-cart-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: #f0f0f0;
    color: #111;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ddd;
}

/* Disabled States (v1.6.1) */
.is-disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    filter: grayscale(1) !important;
    cursor: not-allowed !important;
}

/* Store Closed Popup Styles (v1.6.1) */
.mnu-closed-modal-content,
.qlub-closed-modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 24px;
    padding: 30px 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    z-index: 10000;
    text-align: center;
}

.mnu-closed-message-body h3,
.qlub-closed-message-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111;
}

.mnu-closed-message-body p,
.qlub-closed-message-body p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Floating Cart */
.mnu-floating-cart-pill,
.qlub-floating-cart-pill {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--qlub-main-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    border-radius: 40px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mnu-floating-cart-pill:active,
.qlub-floating-cart-pill:active {
    transform: scale(0.97);
}

.mnu-cart-pill-inner,
.qlub-cart-pill-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
}

.mnu-cart-pill-count,
.qlub-cart-pill-count {
    background-color: #fff;
    color: var(--qlub-main-color);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Single Product Apps Modal / Page */
.mnu-single-container,
.qlub-single-container {
    background-color: #f7f7f7;
    min-height: 100vh;
    padding-bottom: 120px;
    position: relative;
}

.mnu-close-btn,
.qlub-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    color: #333;
}

.mnu-single-image img,
.qlub-single-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.mnu-single-content,
.qlub-single-content {
    background: #fff;
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
    position: relative;
    padding: 24px 20px;
    z-index: 2;
}

.mnu-single-title,
.qlub-single-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mnu-single-desc,
.qlub-single-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-wrap;
    word-break: break-word;
}

.mnu-single-desc p,
.qlub-single-desc p {
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.mnu-single-desc p:last-child,
.qlub-single-desc p:last-child {
    margin-bottom: 0;
}

.mnu-single-price-row,
.qlub-single-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mnu-base-price,
.qlub-base-price {
    font-size: 20px;
    font-weight: 600;
}

.mnu-add-note-trigger,
.qlub-add-note-trigger {
    color: #666;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Custom Checkboxes */
.mnu-attribute-group,
.qlub-attribute-group {
    margin-bottom: 25px;
}

.mnu-attr-name,
.qlub-attr-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mnu-attr-hint,
.qlub-attr-hint {
    font-size: 12px;
    color: var(--qlub-main-color);
    font-weight: 500;
}
@keyframes qlubModalOverlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes qlubCartSheetSlideUp {
    from { transform: translate3d(0, 24px, 0); opacity: 0.94; }
    to { transform: translate3d(0, 0, 0); opacity: 1; }
}

/* Slide up Cart Modal */
.mnu-cart-modal-content,
.qlub-cart-modal-content {
    background: #fff;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 25px 20px;
    position: relative;
    padding-bottom: 20px;
    min-height: 400px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    will-change: transform;
    animation: qlubCartSheetSlideUp 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.mnu-cart-header,
.qlub-cart-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.mnu-cart-header h2,
.qlub-cart-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-left: 15px;
    margin-top: 5px;
}

.mnu-cart-body,
.qlub-cart-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mnu-modal-cart-item,
.qlub-modal-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: opacity 0.3s ease;
}

.mnu-cart-item-header,
.qlub-cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mnu-cart-item-header h4,
.qlub-cart-item-header h4 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
}

.mnu-cart-remove-x,
.qlub-cart-remove-x {
    background: transparent;
    border: none;
    color: #999;
    font-size: 22px;
    cursor: pointer;
    padding: 0 0 0 10px;
    line-height: 1;
}

.mnu-cart-remove-x:hover,
.qlub-cart-remove-x:hover {
    color: #e00;
}

.mnu-modal-cart-item-info,
.qlub-modal-cart-item-info {
    flex: 1;
    margin-right: 15px;
}

.mnu-modal-cart-item-info h4,
.qlub-modal-cart-item-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.mnu-modal-cart-item-price,
.qlub-modal-cart-item-price {
    font-weight: 600;
    font-size: 15px;
}

.mnu-modal-cart-meta,
.qlub-modal-cart-meta {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

.mnu-modal-cart-qty,
.qlub-modal-cart-qty {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 4px;
}

.mnu-cart-decrease,
.qlub-cart-decrease,
.mnu-cart-increase,
.qlub-cart-increase {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #111;
}

.mnu-cart-num,
.qlub-cart-num {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.mnu-cart-footer,
.qlub-cart-footer {
    padding-top: 20px;
}

.mnu-proceed-btn,
.qlub-proceed-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--qlub-main-color);
    color: #fff;
    padding: 16px 20px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.mnu-proceed-btn .mnu-cart-pill-count,
.qlub-proceed-btn .qlub-cart-pill-count {
    background: #fff;
    color: var(--qlub-main-color);
}
.mnu-attr-list,
.qlub-attr-list {
    list-style: none;
}

.mnu-checkbox-label,
.qlub-checkbox-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
}

.mnu-checkbox-left,
.qlub-checkbox-left {
    display: flex;
    align-items: center;
}

.mnu-term-name,
.qlub-term-name {
    font-size: 16px;
    color: #333;
}

.mnu-checkbox-right,
.qlub-checkbox-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mnu-term-price,
.qlub-term-price {
    font-size: 15px;
    color: #666;
}

.mnu-addon-checkbox,
.qlub-addon-checkbox {
    opacity: 0;
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 2;
    cursor: pointer;
}

.mnu-addon-item,
.qlub-addon-item {
    margin: 0 -20px;
    padding: 0 20px;
    transition: background 0.3s ease;
}

.mnu-addon-item.is-selected,
.qlub-addon-item.is-selected {
    background: #f8f8dd !important;
}

.mnu-attribute-group.is-invalid,
.qlub-attribute-group.is-invalid {
    background: rgba(231, 76, 60, 0.08); /* Light red */
    border-radius: 12px;
    margin: 10px -10px;
    padding: 10px;
    border: 1px solid #e74c3c;
}

.mnu-checkbox-label,
.qlub-checkbox-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    width: 100%;
}

.mnu-sticky-add,
.qlub-sticky-add {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.mnu-qty-selector,
.qlub-qty-selector {
    display: flex;
    align-items: center;
    background: var(--qlub-secondary-color);
    border-radius: 12px;
    width: 110px;
    justify-content: space-between;
    padding: 0 10px;
}

.mnu-qty-btn,
.qlub-qty-btn {
    border: none;
    background: none;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    color: var(--qlub-main-color);
}

.mnu-qty-input,
.qlub-qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
}

.mnu-add-to-cart-submit,
.qlub-add-to-cart-submit {
    flex: 1;
    background: var(--qlub-main-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    transition: background 0.2s ease;
}

/* Card Design & Cart/Checkout Overrides */
.card-design, 
.mnu-cart-wrapper,
.qlub-cart-wrapper,
.mnu-checkout-form,
.qlub-checkout-form {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    border: none !important;
}

.mnu-orders-btn,
.qlub-orders-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    background: transparent;
    color: #111;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mnu-orders-btn span,
.qlub-orders-btn span {
    margin-right: 6px;
}

/* Cart Item Spacing */
.mnu-cart-item-meta,
.qlub-cart-item-meta {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #f0f0f0;
}
.mnu-cart-item-meta .variation dt,
.qlub-cart-item-meta .variation dt {
    float: left;
    clear: left;
    margin-right: 5px;
    color: #777;
    font-weight: normal;
}
.mnu-cart-item-meta .variation dd,
.qlub-cart-item-meta .variation dd {
    margin: 0;
    color: #333;
}
.mnu-cart-item-meta .variation p,
.qlub-cart-item-meta .variation p {
    margin: 0;
}

.mnu-checkout-grid,
.qlub-checkout-grid,
.mnu-order-review-section,
.qlub-order-review-section,
.mnu-cart-wrapper form,
.qlub-cart-wrapper form,
.mnu-cart-totals-section,
.qlub-cart-totals-section {
    background: #fff;
    padding: 20px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

/* Global Form Reset for Checkout/Cart */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
    padding: 14px 15px !important;
    background-color: #f9f9f9 !important;
    border: 1px solid #eee !important;
    color: #333;
    outline: 0;
    border-radius: 12px !important;
    font-size: 15px !important;
    width: 100% !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus {
    border-color: var(--qlub-main-color) !important;
}

.woocommerce form .form-row label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: inline-block;
}

.woocommerce-input-wrapper {
    width: 100%;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: 1px solid #eee !important;
    padding: 20px !important;
    margin: 2em 0 !important;
    text-align: left;
    border-radius: 16px !important;
    background: #fff;
}

.woocommerce form.checkout_coupon button.button {
    background: var(--qlub-main-color) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    border: none !important;
    font-weight: 600;
    margin-top: 15px;
    width: 100%;
}

/* COD smaller text */
#payment .payment_method_cod .payment_box {
    font-size: 13px !important;
    color: #777 !important;
    background: #f7f7f7 !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
}
#payment .payment_method_cod .payment_box::before {
    display: none !important;
}

.woocommerce table.shop_table {
    border: none !important;
    margin: 0px 0px 24px 0px !important;
}
.woocommerce table.shop_table th {
    border-top: none !important;
    text-align: left;
    padding: 10px 0;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
}
.woocommerce table.shop_table td {
    padding: 15px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
}

.mnu-cart-item-row,
.qlub-cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mnu-cart-item-info span,
.qlub-cart-item-info span {
    display: block;
}

.mnu-cart-item-name,
.qlub-cart-item-name {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.mnu-cart-item-price,
.qlub-cart-item-price {
    color: var(--qlub-main-color);
    font-weight: 600;
}

.mnu-update-cart-btn,
.qlub-update-cart-btn {
    background: var(--qlub-main-color) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    border: none !important;
    margin-top: 15px;
    font-weight: 600;
}

.checkout-button, 
button#place_order,
.single_add_to_cart_button,
.mnu-add-to-cart-submit,
.qlub-add-to-cart-submit {
    color: #fff !important;
}

/* Quantity input styling */
.quantity {
    display: inline-flex;
    align-items: center;
}

.quantity:before {
    content: 'Qty:';
    font-size: 12px;
    margin-right: 5px;
    color: #777;
}

.quantity input {
    height: 32px;
    border-radius: 6px;
    border: 1px solid #eee;
    text-align: center;
    width: 50px !important;
    font-size: 14px;
    background: #fcfcfc;
}

.mnu-checkmark,
.qlub-checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%; /* Always a circle */
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

input:checked + .mnu-checkmark,
input:checked + .qlub-checkmark {
    background-color: var(--qlub-main-color);
    border-color: var(--qlub-main-color);
}

input:checked + .mnu-checkmark:after,
input:checked + .qlub-checkmark:after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Button spacing and font refinements */
.mnu-btn-total-price,
.qlub-btn-total-price {
    margin-left: 4px;
}

.woocommerce-Price-currencySymbol,
.aed-currency-symbol,
.mnu-upsell-price .amount span,
.qlub-upsell-price .amount span {
    font-family: 'AEDSymbol', sans-serif !important;
}

.mnu-add-to-cart-submit:active,
.qlub-add-to-cart-submit:active {
    opacity: 0.85;
}

/* Modal */
.mnu-modal-overlay,
.qlub-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    overscroll-behavior: contain;
    animation: qlubModalOverlayFade 0.16s ease-out;
}

.mnu-modal-content,
.qlub-modal-content {
    background: #fff;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 25px;
    position: relative;
    padding-bottom: 40px;
}

.mnu-modal-close,
.qlub-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 20px;
    cursor: pointer;
}

.mnu-modal-content h2,
.qlub-modal-content h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.mnu-modal-content p,
.qlub-modal-content p {
    color: #666;
    margin-bottom: 20px;
}

.mnu-modal-content textarea,
.qlub-modal-content textarea {
    width: 100%;
    height: 120px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    outline: none;
}

.mnu-modal-confirm,
.qlub-modal-confirm {
    width: 100%;
    background: var(--qlub-secondary-color);
    color: var(--qlub-main-color);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

/* Fullscreen Image Lightbox */
#qlub-image-lightbox {
    background: rgba(0,0,0,0.92);
    cursor: pointer;
}

.mnu-lightbox-close,
.qlub-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s ease;
}

.mnu-lightbox-close:hover,
.qlub-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

.mnu-lightbox-img-wrap,
.qlub-lightbox-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mnu-lightbox-img,
.qlub-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Hero image click hint */
.mnu-single-image,
.qlub-single-image {
    cursor: pointer;
    position: relative;
}

/* Radio button addon styling (Select one) */
.mnu-addon-radio,
.qlub-addon-radio {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.mnu-addon-radio:checked,
.qlub-addon-radio:checked {
    border-color: var(--qlub-main-color);
}

.mnu-addon-radio:checked::after,
.qlub-addon-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--qlub-main-color);
    border-radius: 50%;
}

/* Addon hint badges */
.mnu-attr-hint-badge,
.qlub-attr-hint-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: 700;
    vertical-align: middle;
}
.mnu-attr-hint-badge.is-required,
.qlub-attr-hint-badge.is-required {
    background: #ffecec;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}
.mnu-attr-hint-badge.is-optional,
.qlub-attr-hint-badge.is-optional {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #16a34a;
}

.mnu-free-badge,
.qlub-free-badge {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 700;
    vertical-align: middle;
    background: #eafaf1;
    color: #27ae60;
    border: 1px solid #27ae60;
    text-transform: none;
    letter-spacing: 0.3px;
}

/* Cart modal note styling */
.mnu-modal-cart-note,
.qlub-modal-cart-note {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

/* Checkout and Cart Redesign */
.woocommerce-cart-form, 
.woocommerce-checkout,
.cart-collaterals,
form.checkout.woocommerce-checkout {
    background: #fff !important;
    padding: 25px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06) !important;
    margin-bottom: 30px !important;
    border: none !important;
}

.woocommerce-checkout h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.woocommerce-checkout .col-2 h3#ship-to-different-address {
    margin: 0;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    border-radius: 12px !important;
    border: 1px solid #eee !important;
    padding: 12px !important;
}

.woocommerce table.shop_table {
    border: none;
    border-radius: 0;
}

.woocommerce table.shop_table th {
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
    border: none;
    padding: 10px 0;
}

.woocommerce table.shop_table td {
    border-top: 1px solid #f0f0f0;
    padding: 15px 0;
}

.product-name a {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

.product-price, .product-subtotal {
    font-weight: 600;
    color: #1a1a1a;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: var(--qlub-main-color);
    border-radius: 40px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
}

/* Checkout Fields */
.woocommerce-checkout h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.woocommerce-checkout .form-row {
    margin-bottom: 15px;
}

.woocommerce-checkout input.input-text, 
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    background: #fafafa;
}

.woocommerce-checkout #order_review {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.woocommerce-checkout #payment {
    background: #fafafa;
    border-radius: 15px;
    padding: 20px;
}

button#place_order {
    background: var(--qlub-main-color) !important;
    border-radius: 40px !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Category Icons */
.mnu-cat-item a,
.qlub-cat-item a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mnu-cat-icon,
.qlub-cat-icon {
    font-size: 18px;
}

/* Product list badge fixes */
.mnu-add-btn.has-qty,
.qlub-add-btn.has-qty {
    background: var(--qlub-secondary-color);
    border-color: var(--qlub-secondary-color);
}

.mnu-product-qty-badge,
.qlub-product-qty-badge {
    color: var(--qlub-main-color);
    font-weight: 700;
    font-size: 16px;
}

/* Attributes validation feedback */
.mnu-attribute-group,
.qlub-attribute-group {
    transition: all 0.3s ease;
}

.mnu-attr-hint-text,
.qlub-attr-hint-text {
    font-weight: 600;
}

/* Desktop cart pill centering handled in global 480px mobile frame rules below */



/* Addon meta text in checkout — smaller than product title */
.woocommerce-checkout-review-order-table .product-name .variation,
.woocommerce-checkout-review-order-table .product-name dl.variation,
.woocommerce-checkout-review-order-table .product-name dd,
.woocommerce-checkout-review-order-table .product-name dt {
    font-size: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
    line-height: 1.4;
}

/* Addon meta in cart page — smaller than product title */
.mnu-cart-item-meta dt, .mnu-cart-item-meta dd,
.qlub-cart-item-meta dt, .qlub-cart-item-meta dd,
.mnu-cart-item-meta .variation dt, .mnu-cart-item-meta .variation dd,
.qlub-cart-item-meta .variation dt, .qlub-cart-item-meta .variation dd {
    font-size: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
    display: inline;
}
.mnu-cart-item-meta dl,
.qlub-cart-item-meta dl {
    margin: 0;
}

/* Hide subtotal row — only show Total (pickup only, no shipping) */
.cart-subtotal,
.cart_totals .cart-subtotal,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal {
    display: none !important;
}

/* Bold the "Click here" in coupon toggle */
.woocommerce-form-coupon-toggle .woocommerce-info a {
    font-weight: 700 !important;
}

/* Price no-wrap in cart and checkout tables */
.mnu-cart-item-price,
.qlub-cart-item-price,
.woocommerce-checkout-review-order-table .product-total {
    white-space: nowrap !important;
}

/* Hide WooCommerce "added to cart" notices */
.woocommerce-message,
.woocommerce-info {
    display: none !important;
}

/* Checkout order review — product name takes 70% width */
.mnu-order-review-section .woocommerce-checkout-review-order-table .product-name,
.qlub-order-review-section .woocommerce-checkout-review-order-table .product-name {
    width: 70% !important;
}

/* 1. Checkout: Shipping (Pickup) Fixes */
.woocommerce-checkout-review-order-table tr.shipping ul#shipping_method {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout-review-order-table tr.shipping td {
    text-align: right !important;
}

.woocommerce-checkout-review-order-table tr.shipping li label {
    margin-right: 0 !important;
    font-weight: 600;
}

/* 2. Checkout: Payment Methods Premium Styling */
#payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 !important;
}

#payment ul.payment_methods li.wc_payment_method {
    background: #ffffff !important;
    padding: 18px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

#payment ul.payment_methods li.wc_payment_method:hover {
    border-color: #e0e0e0 !important;
    background: #fafafa !important;
}

#payment ul.payment_methods li.wc_payment_method label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
}

#payment ul.payment_methods li.wc_payment_method input[type="radio"] {
    margin-right: 12px !important;
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle !important;
}

#payment ul.payment_methods li.wc_payment_method .payment_box {
    margin-top: 12px !important;
    padding: 14px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    color: #555 !important;
    border: 1px solid #eee !important;
    line-height: 1.5 !important;
}

/* Hide default WC payment styling */
#payment ul.payment_methods li.wc_payment_method .payment_box::before {
    display: none !important;
}

/* 3. Empty Cart Styling (v1.5.4) */
.mnu-empty-cart-container,
.qlub-empty-cart-container {
    padding: 100px 20px;
    text-align: center;
    background: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mnu-empty-cart-inner,
.qlub-empty-cart-inner {
    max-width: 400px;
}

.mnu-empty-cart-icon,
.qlub-empty-cart-icon {
    margin-bottom: 25px;
    opacity: 0.8;
}

.mnu-empty-cart-inner h2,
.qlub-empty-cart-inner h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.mnu-empty-cart-inner p,
.qlub-empty-cart-inner p {
    font-size: 15px;
    color: #777;
    margin-bottom: 35px;
    line-height: 1.5;
}

.mnu-empty-cart-btn,
.qlub-empty-cart-btn {
    display: inline-block !important;
    background-color: var(--qlub-main-color) !important;
    color: #fff !important;
    padding: 18px 45px !important;
    border-radius: 40px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.mnu-empty-cart-btn:active,
.qlub-empty-cart-btn:active {
    transform: scale(0.96) !important;
    opacity: 0.9 !important;
}

/* Catalog Mode Overrides */
.mnu-catalog-mode .mnu-product-add-wrapper,
.qlub-catalog-mode .qlub-product-add-wrapper,
.mnu-catalog-mode .mnu-floating-cart-pill,
.qlub-catalog-mode .qlub-floating-cart-pill,
.mnu-catalog-mode .mnu-add-note-trigger,
.qlub-catalog-mode .qlub-add-note-trigger,
.mnu-catalog-mode .mnu-sticky-add,
.qlub-catalog-mode .qlub-sticky-add,
.mnu-catalog-mode .mnu-attribute-group,
.qlub-catalog-mode .qlub-attribute-group {
    display: none !important;
}

.mnu-catalog-mode .mnu-single-container,
.qlub-catalog-mode .qlub-single-container {
    padding-bottom: 20px !important;
}

/* Checkout Fields Layout & Scoped Order Type Display */
.woocommerce-checkout .form-row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .form-row label,
#billing_arrive_in_field label,
#billing_car_plate_field label,
#billing_first_name_field label,
#billing_city_field label,
#billing_address_1_field label {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
}

body.rtl .woocommerce-checkout .form-row label {
    text-align: right !important;
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper,
#billing_arrive_in_field .woocommerce-input-wrapper,
#billing_car_plate_field .woocommerce-input-wrapper,
#billing_first_name_field .woocommerce-input-wrapper,
#billing_city_field .woocommerce-input-wrapper,
#billing_address_1_field .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    float: none !important;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-container,
#billing_arrive_in_field select,
#billing_arrive_in_field .select2-container,
#billing_car_plate_field input,
#billing_first_name_field input,
#billing_city_field select,
#billing_city_field .select2-container,
#billing_address_1_field input {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    height: 48px !important;
    padding: 10px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    outline: none;
    box-shadow: none !important;
    float: none !important;
    clear: both !important;
    display: block !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    color: #333 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
}

body.rtl .woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 1px !important;
    right: auto !important;
}

/* Ensure City dropdown & Address field sit cleanly on new line under label */
#billing_city_field,
#billing_address_1_field {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

#billing_city_field .select2-container,
#billing_city_field select {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* Scoped visibility rules based on body class */
body:not(.mnu-order-pickup) #order_locat_field,
body:not(.mnu-order-pickup) [data-fcf-field="order_locat"],
body:not(.mnu-order-pickup) .qlub-pickup-location-widget,
body:not(.mnu-order-pickup) #billing_arrive_in_field,
body:not(.mnu-order-pickup) #billing_car_plate_field,
body:not(.mnu-order-pickup) .mnu-field-pickup,
body:not(.mnu-order-pickup) .qlub-field-pickup,
body.mnu-order-delivery .mnu-field-pickup,
body.mnu-order-delivery .qlub-field-pickup,
body.mnu-order-delivery #billing_arrive_in_field,
body.mnu-order-delivery #billing_car_plate_field,
body.mnu-order-delivery #order_locat_field,
body.mnu-order-delivery [data-fcf-field="order_locat"],
body.mnu-order-delivery .qlub-pickup-location-widget {
    display: none !important;
}

body.mnu-order-delivery .mnu-field-delivery,
body.mnu-order-delivery .qlub-field-delivery,
body.mnu-order-delivery #billing_first_name_field,
body.mnu-order-delivery #billing_city_field,
body.mnu-order-delivery #billing_address_1_field {
    display: block !important;
}

body.mnu-order-pickup .mnu-field-delivery,
body.mnu-order-pickup .qlub-field-delivery,
body.mnu-order-pickup #billing_city_field,
body.mnu-order-pickup #billing_address_1_field,
body.mnu-order-pickup #billing_address_2_field,
body.mnu-order-pickup #billing_first_name_field {
    display: none !important;
}

body.mnu-order-pickup .mnu-field-pickup,
body.mnu-order-pickup .qlub-field-pickup,
body.mnu-order-pickup #billing_arrive_in_field,
body.mnu-order-pickup #billing_car_plate_field,
body.mnu-order-pickup #order_locat_field,
body.mnu-order-pickup [data-fcf-field="order_locat"],
body.mnu-order-pickup .qlub-pickup-location-widget {
    display: block !important;
}

#billing_car_plate_field .optional,
#billing_arrive_in_field .optional,
#billing_phone_field .optional {
    display: none !important;
}

/* Strip dotted underline / 3 dots from required star asterisks */
abbr.required,
.woocommerce-checkout abbr.required,
.woocommerce-checkout .required,
.form-row label .required,
.woocommerce-checkout abbr[title="required"],
.woocommerce-checkout abbr[title] {
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: default !important;
}

/* Slide-Up Cart Modal Bakery / Dessert Cross-Sell Strip */
.mnu-cart-modal-upsell,
.qlub-cart-modal-upsell {
    margin-bottom: 12px;
}

.mnu-cart-modal-upsell:empty,
.qlub-cart-modal-upsell:empty {
    display: none;
}

.qlub-modal-upsell-strip {
    background: #fdf8f3;
    border: 1px solid #eadcd0;
    border-radius: 16px;
    padding: 10px 10px 12px;
}

.qlub-modal-upsell-heading {
    font-size: 12.5px;
    font-weight: 800;
    color: #603616;
    margin-bottom: 9px;
    line-height: 1.3;
    padding: 0 2px;
}

.qlub-modal-upsell-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}

.qlub-modal-upsell-track::-webkit-scrollbar {
    display: none;
}

.qlub-modal-upsell-card {
    flex: 0 0 185px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #ede2d6;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(96, 54, 22, 0.05);
}

.qlub-modal-upsell-link {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.qlub-modal-upsell-link img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5ebe1;
}

.qlub-modal-upsell-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.qlub-modal-upsell-name {
    font-size: 12px;
    font-weight: 700;
    color: #24160e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qlub-modal-upsell-price {
    font-size: 11.5px;
    font-weight: 700;
    color: #603616;
}

.qlub-modal-upsell-add {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: none;
    background: #603616;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.qlub-modal-upsell-add:active {
    transform: scale(0.92);
}

.qlub-modal-upsell-add.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

/* Global Floating Pickup Ready / Reminder Banner (if Thank You page closed) */
.qlub-global-pickup-toast {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 440px;
    background: linear-gradient(135deg, #603616 0%, #43240d 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: qlubCartSheetSlideUp 0.22s ease-out;
}

.qlub-global-pickup-toast.is-ready {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
}

.qlub-global-pickup-toast-body {
    flex: 1;
    min-width: 0;
}

.qlub-global-pickup-toast-title {
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 2px;
}

.qlub-global-pickup-toast-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.qlub-global-pickup-toast-btn {
    background: #ffffff;
    color: #603616 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 11px;
    border-radius: 10px;
    white-space: nowrap;
}

.qlub-global-pickup-toast.is-ready .qlub-global-pickup-toast-btn {
    color: #065f46 !important;
}

.qlub-global-pickup-toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
}

/* Theme Add-to-Cart Animated Quote Toast & Micro-Animations */
body .qlub-toast:not(.qlub-quote-toast) {
    display: none !important;
}

.qlub-quote-toast {
    position: fixed;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%) translateY(18px) scale(0.92);
    opacity: 0;
    z-index: 999999;
    pointer-events: none;
    background: linear-gradient(135deg, #603616 0%, #3d210c 100%);
    color: #fff8f0;
    border: 1px solid rgba(243, 213, 181, 0.38);
    border-radius: 999px;
    padding: 10px 20px 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 28px rgba(96, 54, 22, 0.34), 0 2px 8px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    max-width: calc(100vw - 28px);
    transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1), transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qlub-quote-toast[dir="rtl"] {
    direction: rtl;
    padding: 10px 14px 10px 20px;
}

.qlub-quote-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.qlub-quote-toast-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 248, 240, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    animation: qlubQuoteIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qlub-quote-toast-text {
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

@keyframes qlubQuoteIconPop {
    0% { transform: scale(0.5) rotate(-18deg); }
    65% { transform: scale(1.22) rotate(8deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes qlubCartPillBounce {
    0% { transform: scale(1); }
    35% { transform: scale(1.07) translateY(-3px); }
    70% { transform: scale(0.98) translateY(0); }
    100% { transform: scale(1); }
}

.qlub-cart-pill-bump {
    animation: qlubCartPillBounce 0.48s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes qlubProductCardPulse {
    0% { box-shadow: 0 0 0 0 rgba(96, 54, 22, 0.38); transform: scale(1); }
    40% { box-shadow: 0 8px 22px rgba(96, 54, 22, 0.18), 0 0 0 4px rgba(96, 54, 22, 0.18); transform: scale(1.015); }
    100% { box-shadow: 0 0 0 0 rgba(96, 54, 22, 0); transform: scale(1); }
}

.qlub-product-added-pulse {
    animation: qlubProductCardPulse 0.52s ease-out;
}

/* ═══ Desktop Centered Mobile Frame (frzz.store style) ═══ */
@media (min-width: 421px) {
    html {
        background-color: var(--qlub-desktop-bg, #ebe5d8);
        min-height: 100%;
    }

    body {
        max-width: 420px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        min-height: 100vh !important;
        background-color: var(--qlub-background, #ffffff) !important;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
        position: relative;
        overflow-x: clip;
    }

    body.single-product {
        background-color: #f7f7f7 !important;
    }

    /* Keep floating cart pill inside the 420px mobile frame (next to the language switcher) */
    body:not(.ar):not(.rtl) .mnu-floating-cart-pill,
    body:not(.ar):not(.rtl) .qlub-floating-cart-pill {
        left: calc(50% - 210px + 84px) !important;
        right: calc(50% - 210px + 16px) !important;
        width: auto !important;
        max-width: 320px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.ar .mnu-floating-cart-pill,
    body.ar .qlub-floating-cart-pill,
    body.rtl .mnu-floating-cart-pill,
    body.rtl .qlub-floating-cart-pill {
        right: calc(50% - 210px + 84px) !important;
        left: calc(50% - 210px + 16px) !important;
        width: auto !important;
        max-width: 320px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Keep single-product bottom sticky Add-to-Cart bar inside the 420px frame */
    .mnu-sticky-add,
    .qlub-sticky-add {
        left: calc(50% - 210px) !important;
        right: calc(50% - 210px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 420px !important;
    }

    /* Keep slide-up Cart modal, Note modal, and Social/Closed modals aligned to the 420px frame */
    .mnu-cart-modal-content,
    .qlub-cart-modal-content,
    .mnu-modal-content,
    .qlub-modal-content {
        max-width: 420px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .mnu-social-modal-content,
    .qlub-social-modal-content,
    .mnu-closed-modal-content,
    .qlub-closed-modal-content {
        max-width: 390px !important;
    }

    /* Keep floating language switcher inside the bottom corner of the 420px frame */
    body:not(.ar):not(.rtl) .qlub-lang-switcher {
        left: calc(50% - 210px + 16px) !important;
        right: auto !important;
    }

    body.ar .qlub-lang-switcher,
    body.rtl .qlub-lang-switcher {
        right: calc(50% - 210px + 16px) !important;
        left: auto !important;
    }
}

