/* 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 */
.qlub-header {
    padding: 15px 20px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.qlub-back-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;
}

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

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

.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);
}

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

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

/* Social Modal Styles */
.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;
}

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

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

.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;
}

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

.qlub-social-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.qlub-social-footer a {
    color: var(--qlub-main-color);
    font-weight: bold;
    text-decoration: underline;
}

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

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

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

.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 */
.qlub-category-nav {
    position: sticky;
    top: 105px; /* header height approx */
    background: #fff;
    z-index: 99;
    border-bottom: 1px solid var(--qlub-border, #f0f0f0);
}

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

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

.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;
}

.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 */
.qlub-category-section {
    padding: 20px 20px 0;
}

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

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

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

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

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

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

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

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

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

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

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

.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;
}

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

.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) */
.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;
}

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

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

/* Floating Cart */
.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;
}

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

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

.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 */
.qlub-single-container {
    background-color: #f7f7f7;
    min-height: 100vh;
    padding-bottom: 120px;
    position: relative;
}

.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;
}

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

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

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

.qlub-single-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

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

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

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

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

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

.qlub-attr-hint {
    font-size: 12px;
    color: var(--qlub-main-color);
    font-weight: 500;
}
/* Slide up Cart Modal */
.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;
    display: flex;
    flex-direction: column;
}

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

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

.qlub-cart-body {
    flex: 1;
    overflow-y: auto;
}

.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;
}

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

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

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

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

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

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

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

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

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

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

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

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

.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;
}

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

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

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

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

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

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

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

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

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

.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;
}

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

.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;
}

.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;
}

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

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

.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, 
.qlub-cart-wrapper,
.qlub-checkout-form {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    border: none !important;
}

.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;
}
.qlub-orders-btn span {
    margin-right: 6px;
}

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

.qlub-checkout-grid,
.qlub-order-review-section,
.qlub-cart-wrapper form,
.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;
}

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

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

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

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

.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,
.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;
}

.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 + .qlub-checkmark {
    background-color: var(--qlub-main-color);
    border-color: var(--qlub-main-color);
}

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 */
.qlub-btn-total-price {
    margin-left: 4px;
}

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

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

/* Modal */
.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;
}

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

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

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

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

.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;
}

.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;
}

.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;
}

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

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

.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 */
.qlub-single-image {
    cursor: pointer;
    position: relative;
}

/* Radio button addon styling (Select one) */
.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;
}

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

.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 */
.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;
}
.qlub-attr-hint-badge.is-required {
    background: #ffecec;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}
.qlub-attr-hint-badge.is-optional {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #16a34a;
}

.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 */
.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 */
.qlub-cat-item a {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

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

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

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

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

/* Responsive Hide for Desktop */
@media (min-width: 768px) {
    .qlub-floating-cart-pill {
        max-width: 400px;
        margin: 0 auto;
    }
}



/* 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 */
.qlub-cart-item-meta dt, .qlub-cart-item-meta 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;
}
.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 */
.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 */
.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) */
.qlub-empty-cart-container {
    padding: 100px 20px;
    text-align: center;
    background: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

.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;
}

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