
/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ab-booking-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 120px;
    font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0b1f3a;
    background: #f7f8fb;
    min-height: 100vh;
}

/* ============================================
   TOP BAR
   ============================================ */
.ab-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.ab-back-btn {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.ab-back-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0b1f3a;
}

.ab-back-btn svg {
    width: 18px;
    height: 18px;
}

.ab-step-tag {
    background: linear-gradient(135deg, #081f4d 0%, #0f3377 100%);
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* ============================================
   PROGRESS STEPS
   ============================================ */
.ab-progress-steps {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.ab-snode {
    text-align: center;
    min-width: 90px;
    position: relative;
}

.ab-scircle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 18px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.ab-scircle.active {
    background: linear-gradient(135deg, #081f4d 0%, #0f3377 100%);
    color: #fff;
    border-color: #081f4d;
    box-shadow: 0 4px 15px rgba(8, 31, 77, 0.3);
    transform: scale(1.1);
}

.ab-scircle.done {
    background: linear-gradient(135deg, #08a05c 0%, #06d170 100%);
    color: #fff;
    border-color: #08a05c;
    box-shadow: 0 4px 12px rgba(8, 160, 92, 0.3);
}

.ab-scircle.done::after {
    content: '✓';
    font-size: 20px;
    font-weight: 700;
}

.ab-scircle.done span {
    display: none;
}

.ab-slabel {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #94a3b8;
    transition: color 0.3s;
}

.ab-scircle.active + .ab-slabel,
.ab-snode:has(.ab-scircle.active) .ab-slabel {
    color: #081f4d;
}

.ab-scircle.done + .ab-slabel,
.ab-snode:has(.ab-scircle.done) .ab-slabel {
    color: #08a05c;
}

.ab-sline {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    border-radius: 3px;
    transition: background 0.5s;
    position: relative;
}

.ab-sline.filled {
    background: linear-gradient(90deg, #08a05c, #06d170);
}

/* ============================================
   PAGE HEADINGS
   ============================================ */
.ab-page-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #0b1f3a;
}

.ab-page-sub {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.5;
}

/* ============================================
   STEPS
   ============================================ */
.ab-step {
    display: none;
    animation: abFadeIn 0.4s ease;
}

.ab-step.active {
    display: block;
}

@keyframes abFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}




/* ============================================
   STEP 1 — PROPERTY TYPE CARDS
   ============================================ */
.ab-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.ab-property-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.ab-property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(8, 31, 77, 0.12);
    border-color: #081f4d;
}

.ab-property-card.selected {
    border-color: #081f4d;
    box-shadow: 0 12px 40px rgba(8, 31, 77, 0.15);
}

.ab-card-image {
    background: linear-gradient(135deg, #eef4ff 0%, #f0f7ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ab-card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(8,31,77,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.ab-card-image img {
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
    width: 100%;
    height: 180px;
}

.ab-property-card:hover .ab-card-image img {
    transform: scale(1.08);
}

.ab-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
}

.ab-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #081f4d;
}

.ab-card-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #94a3b8;
    flex-shrink: 0;
}

.ab-property-card:hover .ab-card-arrow {
    background: #081f4d;
    border-color: #081f4d;
    color: #fff;
}

.ab-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ab-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.ab-card-extra {
    font-size: 12px;
    color: #081f4d;
    font-weight: 600;
}

/* ============================================
   PROPERTY OPTIONS MODAL
   ============================================ */
.ab-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 31, 77, 0.55);
    backdrop-filter: blur(4px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ab-fadeIn 0.25s ease;
}

.ab-modal-overlay.show {
    display: flex;
}

@keyframes ab-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ab-slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ab-modal {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    animation: ab-slideUp 0.3s ease;
}



.ab-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ab-modal-title-wrap h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #081f4d;
}

.ab-modal-title-wrap p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.ab-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    font-size: 16px;       /* 👈 ADD */
    line-height: 1;        /* 👈 ADD */
    padding: 0;            /* 👈 ADD */
}

.ab-modal-close:hover {
    background: #e2e8f0;
    color: #081f4d;
    transform: rotate(90deg);   /* 👈 nice rotate effect */
}

.ab-modal-close i {
    pointer-events: none;       /* 👈 IMPORTANT - click event button par jaye, icon par nahi */
}

.ab-modal-btn-confirm i {
    font-size: 13px;
    pointer-events: none;
}

.ab-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}

.ab-modal-section {
    margin-bottom: 24px;
}

.ab-modal-section:last-child {
    margin-bottom: 0;
}

.ab-modal-label {
    font-size: 14px;
    font-weight: 600;
    color: #081f4d;
    margin-bottom: 12px;
    display: block;
}

.ab-modal-label .ab-required {
    color: #ef4444;
    margin-left: 2px;
}

/* Sub-options pill buttons */
.ab-sub-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ab-sub-option {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.ab-sub-option:hover {
    border-color: #081f4d;
    color: #081f4d;
}

.ab-sub-option.selected {
    background: #081f4d;
    border-color: #081f4d;
    color: #fff;
}

/* Other text input */
.ab-other-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.2s;
    display: none;
}

.ab-other-input.show {
    display: block;
}

.ab-other-input:focus {
    outline: none;
    border-color: #081f4d;
}

/* Lift toggle Y/N */
.ab-yn-group {
    display: flex;
    gap: 10px;
}

.ab-yn-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}

.ab-yn-btn:hover {
    border-color: #081f4d;
}

.ab-yn-btn.selected {
    background: #081f4d;
    border-color: #081f4d;
    color: #fff;
}

/* Floor input */
.ab-floor-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.2s;
}

.ab-floor-input:focus {
    outline: none;
    border-color: #081f4d;
}

.ab-modal-footer {
    padding: 20px 28px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.ab-modal-btn {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ab-modal-btn-cancel {
    background: #f1f5f9;
    color: #475569;
}

.ab-modal-btn-cancel:hover {
    background: #e2e8f0;
}

.ab-modal-btn-confirm {
    background: #081f4d;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ab-modal-btn-confirm:hover:not(:disabled) {
    background: #0a2a66;
    transform: translateY(-1px);
}

.ab-modal-btn-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ab-error-msg {
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    display: none;
}

.ab-error-msg.show {
    display: block;
}



/* ============================================
   MINIMUM CALLOUT MODAL
   ============================================ */
.ab-callout-modal-box {
    max-width: 460px;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: visible;
}

.ab-callout-modal-box .ab-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.ab-callout-icon {
    width: 88px;
    height: 88px;
    margin: 36px auto 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #d97706;
    animation: ab-callout-pulse 2s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
}

@keyframes ab-callout-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(217, 119, 6, 0.25);
    }
}

.ab-callout-content {
    padding: 0 32px 24px;
}

.ab-callout-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #081f4d;
    margin: 0 0 14px;
}

.ab-callout-content p {
    font-size: 15px;
    color: #334155;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.ab-callout-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    padding: 12px 18px;
    border-radius: 12px;
    margin-top: 18px;
    line-height: 1.5;
}

.ab-callout-sub i {
    color: #0284c7;
    font-size: 14px;
}

.ab-callout-footer {
    padding: 0 32px 28px;
    display: flex;
    justify-content: center;
}

.ab-callout-footer .ab-modal-btn-confirm {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
}


.ab-summary-property-meta {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
    line-height: 1.3;
}

.ab-summary-property-meta:empty {
    display: none;
}

/* ============================================
   SUMMARY BAR - MIN CALLOUT WARNING
   ============================================ */
.ab-min-callout-note {
    display: none;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    animation: ab-slide-in 0.3s ease;
}

.ab-min-callout-note.show {
    display: inline-flex;
}

.ab-min-callout-note i {
    color: #d97706;
    font-size: 13px;
}

@keyframes ab-slide-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SUMMARY PRICE - STRIKETHROUGH WHEN MIN APPLIES
   ============================================ */
.ab-summary-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.ab-price-original {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.ab-price-original.show {
    display: inline-block;
}

.ab-price-original {
    display: none;
}

/* ============================================
   ============================================
   STEP 2 — SERVICE SELECTION (MULTI-SELECT)
   COMPLETE UPGRADED VERSION
   Better Mobile Responsive + Reliable Layout
   ============================================
   ============================================ */

.ab-service-group {
    margin-bottom: 35px;
}

.ab-service-group-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.ab-service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ============================================
   SERVICE ITEM CARD
   ============================================ */
.ab-service-item {
    background: #fff;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s;
    overflow: hidden;
    position: relative;
}

.ab-service-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.ab-service-item.selected {
    border-color: #081f4d;
    background: #f8faff;
    box-shadow: 0 4px 16px rgba(8, 31, 77, 0.1);
}


/* ============================================
   SERVICE HEADER (Icon + Info + Price + Check)
   ============================================ */
.ab-service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    gap: 16px;
}

.ab-service-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.ab-service-icon {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ab-service-item.selected .ab-service-icon {
    background: linear-gradient(135deg, #081f4d 0%, #0f3377 100%);
    color: #fff;
}

.ab-service-icon img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.ab-service-text {
    flex: 1;
    min-width: 0;
}

.ab-service-name {
    font-size: 18px;
    font-weight: 600;
    word-break: break-word;
    line-height: 1.3;
}

.ab-service-desc {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
    word-break: break-word;
    line-height: 1.5;
}


/* ============================================
   CHECKBOX
   ============================================ */
.ab-service-check {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
    color: transparent;
    font-size: 14px;
    font-weight: 700;
}

.ab-service-item.selected .ab-service-check {
    background: #081f4d;
    border-color: #081f4d;
    color: #fff;
}


/* ============================================
   PRICING OPTIONS UNDER SERVICE
   ============================================ */
.ab-service-options {
    display: none;
    padding: 0 24px 20px;
    padding-top: 0;
}

.ab-service-item.selected .ab-service-options {
    display: block;
}

.ab-option-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    /* margin-top: 12px; */
    /* padding-top: 16px;
    border-top: 1px solid #e2e8f0; */
}

.ab-rule-group {
    width: 100%;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.ab-rule-group-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.ab-rule-group-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ============================================
   OPTION PILLS
   ============================================ */
.ab-option-pill {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    min-width: 120px;
    position: relative;
}

.ab-option-pill:hover {
    border-color: #081f4d;
    background: #f8faff;
}

.ab-option-pill.active {
    background: #081f4d;
    border-color: #081f4d;
    color: #fff;
    box-shadow: 0 4px 12px rgba(8,31,77,0.2);
}

.ab-option-pill.active::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #4ade80;
}

.ab-option-pill .ab-pill-label {
    font-size: 13px;
    font-weight: 600;
    display: block;
}

.ab-option-pill .ab-pill-price {
    font-size: 18px;
    font-weight: 800;
    display: block;
    margin-top: 4px;
}

.ab-option-pill .ab-pill-time {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-top: 2px;
}

.ab-option-pill.active .ab-pill-price,
.ab-option-pill.active .ab-pill-time,
.ab-option-pill.active .ab-pill-label {
    color: #fff;
}

.ab-option-pill.active .ab-pill-time {
    opacity: 0.85;
}


/* ============================================
   DYNAMIC QUANTITY ROW
   ============================================ */
.ab-dynamic-row {
    display: none;
    margin-top: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}

.ab-dynamic-row.show {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.ab-qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.ab-qty-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: #f8fafc;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-weight: 600;
}

.ab-qty-btn:hover {
    background: #e2e8f0;
}

.ab-qty-input {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #0b1f3a;
    outline: none;
    background: #fff;
}

.ab-dynamic-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ab-dynamic-info .ab-info-block {
    text-align: center;
}

.ab-dynamic-info .ab-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 700;
}

.ab-dynamic-info .ab-info-value {
    font-size: 24px;
    font-weight: 800;
    color: #081f4d;
}


/* ============================================
   CONTINUE BUTTON
   ============================================ */
.ab-continue-wrap {
    margin-top: 35px;
    display: flex;
    justify-content: flex-end;
}

.ab-continue-btn {
    background: linear-gradient(135deg, #081f4d 0%, #0f3377 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.ab-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 31, 77, 0.25);
}

.ab-continue-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ab-continue-btn svg {
    width: 20px;
    height: 20px;
}


/* ============================================
   FROM PRICE BADGE - SERVICE HEADER
   (Matches existing dark blue theme #081f4d)
   ============================================ */
.ab-service-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.ab-service-from-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #eef4ff 0%, #e0ecff 100%);
    border: 1.5px solid #c7d8f3;
    border-radius: 10px;
    transition: all 0.25s;
    white-space: nowrap;
}

.ab-service-item:hover .ab-service-from-price {
    background: linear-gradient(135deg, #e0ecff 0%, #c7d8f3 100%);
    border-color: #081f4d;
}

.ab-service-item.selected .ab-service-from-price {
    background: linear-gradient(135deg, #081f4d 0%, #0f3377 100%);
    border-color: #081f4d;
    box-shadow: 0 2px 8px rgba(8, 31, 77, 0.2);
}

.ab-from-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.ab-from-amount {
    font-size: 18px;
    font-weight: 800;
    color: #081f4d;
    line-height: 1;
}

.ab-service-item.selected .ab-from-label {
    color: rgba(255, 255, 255, 0.8);
}

.ab-service-item.selected .ab-from-amount {
    color: #fff;
}


/* ============================================
   ============================================
   📱 MOBILE RESPONSIVE - TABLET (≤ 992px)
   ============================================
   ============================================ */
@media (max-width: 992px) {

    .ab-service-header {
        padding: 18px 20px;
        gap: 14px;
    }

    .ab-service-icon img {
        width: 65px;
        height: 65px;
    }

    .ab-option-pill {
        min-width: 110px;
        padding: 10px 16px;
    }
}


/* ============================================
   ============================================
   📱 MOBILE RESPONSIVE - TABLET SMALL (≤ 768px)
   IMPROVED LAYOUT - Better Content Flow
   ============================================
   ============================================ */
@media (max-width: 768px) {

    .ab-service-group {
        margin-bottom: 28px;
    }

    .ab-service-group-title {
        font-size: 14px;
        letter-spacing: 1px;
        margin-bottom: 14px;
    }

    .ab-service-list {
        gap: 10px;
    }

    /* ===== Service Card ===== */
    .ab-service-item {
        border-radius: 14px;
    }

    /* ===== Header Layout - 3 Columns: Icon | Content | Right (Price+Check) ===== */
    .ab-service-header {
        padding: 16px;
        gap: 12px;
        align-items: flex-start;
    }

    .ab-service-info {
        gap: 12px;
        align-items: flex-start;
    }

    .ab-service-icon img {
        width: 56px;
        height: 56px;
    }

    .ab-service-text {
        padding-top: 2px;
    }

    .ab-service-name {
        font-size: 15px;
        line-height: 1.3;
    }

    .ab-service-desc {
        font-size: 12px;
        line-height: 1.45;
        margin-top: 4px;
    }

    /* ===== Right Side: Price + Checkbox Stack ===== */
    .ab-service-right {
        gap: 8px;
        flex-direction: column;
        align-items: flex-end;
    }

    .ab-service-from-price {
        padding: 6px 12px;
        order: 1;
    }

    .ab-from-label {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .ab-from-amount {
        font-size: 15px;
    }

    .ab-service-check {
        width: 26px;
        height: 26px;
        border-radius: 7px;
        order: 2;
    }

    /* ===== Service Options ===== */
    .ab-service-options {
        padding: 0 16px 16px;
    }

    .ab-option-grid {
        gap: 14px;
        margin-top: 8px;
        /* padding-top: 14px; */
    }

    .ab-rule-group {
        padding: 14px;
        border-radius: 12px;
    }

    .ab-rule-group-title {
        font-size: 14px;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .ab-rule-group-items {
        gap: 8px;
    }

    /* ===== Option Pills - Compact ===== */
    .ab-option-pill {
        min-width: calc(50% - 4px);
        flex: 1;
        padding: 10px 14px;
    }

    .ab-option-pill .ab-pill-label {
        font-size: 12px;
    }

    .ab-option-pill .ab-pill-price {
        font-size: 16px;
    }

    .ab-option-pill .ab-pill-time {
        font-size: 10px;
    }

    /* ===== Dynamic Qty Row ===== */
    .ab-dynamic-row {
        padding: 16px;
        border-radius: 12px;
    }

    .ab-dynamic-row.show {
        gap: 14px;
        justify-content: space-between;
    }

    .ab-qty-btn {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .ab-qty-input {
        width: 50px;
        height: 42px;
        font-size: 18px;
    }

    .ab-dynamic-info {
        gap: 14px;
    }

    .ab-dynamic-info .ab-info-value {
        font-size: 20px;
    }

    .ab-dynamic-info .ab-info-label {
        font-size: 10px;
    }

    /* ===== Continue Button ===== */
    .ab-continue-wrap {
        margin-top: 24px;
        justify-content: center;
    }

    .ab-continue-btn {
        width: 100%;
        padding: 16px 28px;
        font-size: 15px;
        justify-content: center;
        border-radius: 12px;
    }
}


/* ============================================
   ============================================
   📱 MOBILE RESPONSIVE - PHONE (≤ 480px)
   COMPACT & CLEAN LAYOUT
   ============================================
   ============================================ */
@media (max-width: 480px) {

    .ab-service-group {
        margin-bottom: 24px;
    }

    .ab-service-group-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    /* ===== Service Card - Compact ===== */
    .ab-service-header {
        padding: 14px;
        gap: 10px;
    }

    .ab-service-info {
        gap: 10px;
    }

    .ab-service-icon img {
        width: 48px;
        height: 48px;
    }

    .ab-service-name {
        font-size: 14px;
        line-height: 1.3;
    }

    .ab-service-desc {
        font-size: 11px;
        line-height: 1.4;
        margin-top: 3px;
    }

    /* ===== Right Side - Compact ===== */
    .ab-service-right {
        gap: 6px;
    }

    .ab-from-label {
        display: none; /* Hide "FROM" label on very small screens */
    }

    .ab-from-amount {
        font-size: 14px;
    }

    .ab-service-from-price {
        padding: 5px 10px;
        border-radius: 8px;
    }

    .ab-service-check {
        width: 24px;
        height: 24px;
        border-radius: 6px;
        font-size: 12px;
    }

    /* ===== Service Options ===== */
    .ab-service-options {
        padding: 0 14px 14px;
    }

    .ab-rule-group {
        padding: 12px;
    }

    .ab-rule-group-title {
        font-size: 13px;
    }

    /* ===== Option Pills - Full Width Stack ===== */
    .ab-option-pill {
        min-width: 100%;
        flex: 1 1 100%;
        padding: 10px 14px;
    }

    .ab-option-pill .ab-pill-label {
        font-size: 12px;
    }

    .ab-option-pill .ab-pill-price {
        font-size: 15px;
    }

    /* ===== Dynamic Row - Stack ===== */
    .ab-dynamic-row {
        padding: 14px;
    }

    .ab-dynamic-row.show {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ab-qty-control {
        align-self: center;
    }

    .ab-dynamic-info {
        justify-content: space-around;
        width: 100%;
    }

    .ab-dynamic-info .ab-info-value {
        font-size: 18px;
    }

    /* ===== Continue Button ===== */
    .ab-continue-btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .ab-continue-btn svg {
        width: 18px;
        height: 18px;
    }
}


/* ============================================
   ============================================
   📱 EXTRA SMALL DEVICES (≤ 360px)
   ============================================
   ============================================ */
@media (max-width: 360px) {

    .ab-service-header {
        padding: 12px;
        gap: 8px;
    }

    .ab-service-icon img {
        width: 42px;
        height: 42px;
    }

    .ab-service-name {
        font-size: 13px;
    }

    .ab-service-desc {
        font-size: 10px;
    }

    .ab-from-amount {
        font-size: 13px;
    }

    .ab-service-from-price {
        padding: 4px 8px;
    }

    .ab-service-check {
        width: 22px;
        height: 22px;
    }
}


/* ============================================
   ============================================
   STEP 3 — ADD-ONS (UPGRADED)
   With Icon + Description + Better Mobile
   ============================================
   ============================================ */

/* Container */
.ab-addons-container {
    min-height: 200px;
}


/* ============================================
   ADD-ONS SECTION (Per Service Group)
   ============================================ */
.ab-addons-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.25s;
    animation: ab-addons-fadein 0.4s ease;
}

.ab-addons-section:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@keyframes ab-addons-fadein {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   SERVICE GROUP HEADER
   ============================================ */
.ab-addons-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #081f4d;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ab-addons-section-title::before {
    content: '';
    width: 4px;
    height: 22px;
    background: linear-gradient(135deg, #081f4d 0%, #1e3a8a 100%);
    border-radius: 4px;
    flex-shrink: 0;
}

.ab-addons-section-sub {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    padding-left: 14px;
    line-height: 1.5;
}


/* ============================================
   ADD-ONS GRID
   ============================================ */
.ab-addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}


/* ============================================
   ADD-ON CARD (Modern with Icon + Description)
   ============================================ */
.ab-addon-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ab-addon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    transition: all 0.25s;
}

.ab-addon-card:hover {
    border-color: #94a3b8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ab-addon-card:hover::before {
    background: #cbd5e1;
}

.ab-addon-card.selected {
    border-color: #08a05c;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 4px 16px rgba(8, 160, 92, 0.15);
}

.ab-addon-card.selected::before {
    background: linear-gradient(135deg, #08a05c 0%, #059669 100%);
}


/* ============================================
   ADD-ON ICON / IMAGE
   ============================================ */
.ab-addon-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    font-size: 22px;
    transition: all 0.25s;
    overflow: hidden;
}

/* When image used */
.ab-addon-icon-image {
    background: #f8fafc;
    padding: 0;
}

.ab-addon-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* When Font Awesome icon */
.ab-addon-icon-fa {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/* Default icon */
.ab-addon-icon-default {
    background: #f1f5f9;
    color: #94a3b8;
}

/* Selected state - icon color change */
.ab-addon-card.selected .ab-addon-icon-fa {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    transform: scale(1.05);
}

.ab-addon-card.selected .ab-addon-icon-default {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
}


/* ============================================
   ADD-ON CHECKBOX (Top-Right)
   ============================================ */
.ab-addon-card .ab-addon-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 2px solid #d1d5db;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: transparent;
    transition: all 0.25s;
    z-index: 2;
}

.ab-addon-card:hover .ab-addon-check {
    border-color: #94a3b8;
}

.ab-addon-card.selected .ab-addon-check {
    background: linear-gradient(135deg, #08a05c 0%, #059669 100%);
    border-color: #08a05c;
    color: #fff;
    box-shadow: 0 2px 6px rgba(8, 160, 92, 0.3);
    transform: scale(1.05);
}


/* ============================================
   ADD-ON CONTENT (Name + Description)
   ============================================ */
.ab-addon-content {
    flex: 1;
    padding-right: 32px;
    min-width: 0;
}

.ab-addon-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
    word-break: break-word;
}

.ab-addon-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
    word-break: break-word;
}

.ab-addon-card.selected .ab-addon-desc {
    color: #475569;
}


/* ============================================
   ADD-ON FOOTER (Price + Duration)
   ============================================ */
.ab-addon-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    margin-top: auto;
    flex-wrap: wrap;
}

.ab-addon-card.selected .ab-addon-footer {
    border-top-color: #86efac;
}

.ab-addon-price {
    font-size: 22px;
    font-weight: 800;
    color: #081f4d;
    line-height: 1;
    transition: color 0.2s;
    white-space: nowrap;
}

.ab-addon-card.selected .ab-addon-price {
    color: #047857;
}

.ab-addon-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 20px;
    white-space: nowrap;
}

.ab-addon-duration::before {
    content: '⏱️';
    font-size: 10px;
}

.ab-addon-card.selected .ab-addon-duration {
    background: #d1fae5;
    color: #047857;
}


/* ============================================
   EMPTY STATE
   ============================================ */
.ab-addons-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    color: #94a3b8;
}

.ab-addons-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08a05c;
    font-size: 28px;
}

.ab-addons-empty p {
    margin: 0;
}

.ab-addons-empty p:first-of-type {
    font-size: 18px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 4px;
}

.ab-addons-empty p:last-of-type {
    font-size: 14px;
    color: #94a3b8;
}


/* ============================================
   LOADING STATE
   ============================================ */
.ab-addons-loading {
    text-align: center;
    padding: 60px 20px;
}

.ab-addons-loading .ab-loader-spinner {
    margin: 0 auto 16px;
    width: 40px;
    height: 40px;
}

.ab-addons-loading p {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}


/* ============================================
   COMBO NOTICE (Optional)
   ============================================ */
.ab-addons-combo-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    color: #15803d;
    font-size: 13px;
    font-weight: 500;
}

.ab-addons-combo-notice i {
    color: #16a34a;
    font-size: 16px;
    flex-shrink: 0;
}

.ab-addons-combo-notice strong {
    font-weight: 700;
}


/* ============================================
   ============================================
   📱 RESPONSIVE - TABLET (≤ 992px)
   ============================================
   ============================================ */
@media (max-width: 992px) {

    .ab-addons-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .ab-addon-icon {
        width: 70px;
        height: 70px;
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - TABLET SMALL (≤ 768px)
   ============================================
   ============================================ */
@media (max-width: 768px) {

    .ab-addons-section {
        padding: 20px;
        margin-bottom: 16px;
    }

    .ab-addons-section-title {
        font-size: 17px;
    }

    .ab-addons-section-sub {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .ab-addons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ab-addon-card {
        padding: 14px;
        min-height: 170px;
        gap: 10px;
    }

    .ab-addon-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 10px;
    }

    .ab-addon-content {
        padding-right: 28px;
    }

    .ab-addon-name {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .ab-addon-desc {
        font-size: 11px;
        line-height: 1.4;
    }

    .ab-addon-price {
        font-size: 18px;
    }

    .ab-addon-duration {
        font-size: 10px;
        padding: 3px 8px;
    }

    .ab-addon-card .ab-addon-check {
        width: 22px;
        height: 22px;
        top: 10px;
        right: 10px;
        font-size: 11px;
    }
}

/* ============================================
   ============================================
   📱 RESPONSIVE - PHONE (≤ 600px)
   HORIZONTAL CARD - FIXED FOR ACTUAL HTML
   ============================================
   ============================================ */
@media (max-width: 600px) {

    .ab-addons-section {
        padding: 16px;
        border-radius: 14px;
    }

    .ab-addons-section-title {
        font-size: 16px;
    }

    .ab-addons-section-title::before {
        height: 18px;
    }

    .ab-addons-section-sub {
        font-size: 12px;
        margin-bottom: 14px;
        padding-left: 12px;
    }

    /* Single column - full width cards */
    .ab-addons-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* ===== CARD - GRID LAYOUT (Icon | Content | Footer) ===== */
    .ab-addon-card {
        min-height: auto !important;
        display: grid !important;
        grid-template-columns: 60px 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "icon content content"
            "icon footer  footer";
        align-items: center;
        gap: 6px 14px;
        padding: 14px;
        padding-right: 44px; /* Space for checkbox */
        flex-direction: unset; /* Override flex */
    }

    /* Icon - Left side (spans 2 rows) */
    .ab-addon-icon {
        grid-area: icon;
        width: 60px !important;
        height: 60px !important;
        align-self: center;
    }

    /* Content - Top */
    .ab-addon-content {
        grid-area: content;
        padding-right: 0 !important;
        min-width: 0;
        width: 100%;
    }

    .ab-addon-name {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 3px;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .ab-addon-desc {
        font-size: 11px;
        line-height: 1.45;
        margin-bottom: 0;
        word-break: normal;
        overflow-wrap: break-word;
        /* Limit to 2 lines with ellipsis */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Footer - Bottom (Price + Duration inline) */
    .ab-addon-footer {
        grid-area: footer;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px;
        border-top: none !important;
        padding-top: 4px !important;
        margin-top: 0 !important;
        flex-wrap: wrap;
        width: 100%;
    }

    .ab-addon-card.selected .ab-addon-footer {
        border-top: none !important;
    }

    .ab-addon-price {
        font-size: 17px !important;
        font-weight: 800;
        white-space: nowrap;
    }

    .ab-addon-duration {
        font-size: 10px !important;
        padding: 3px 9px !important;
        white-space: nowrap;
    }

    /* Checkbox - Absolute top right */
    .ab-addon-card .ab-addon-check {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 24px;
        height: 24px;
        font-size: 12px;
        border-radius: 7px;
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - SMALL PHONE (≤ 400px)
   ============================================
   ============================================ */
@media (max-width: 400px) {

    .ab-addons-section {
        padding: 14px;
    }

    .ab-addon-card {
        grid-template-columns: 52px 1fr auto !important;
        padding: 12px !important;
        padding-right: 40px !important;
        gap: 4px 12px !important;
    }

    .ab-addon-icon {
        width: 52px !important;
        height: 52px !important;
    }

    .ab-addon-name {
        font-size: 13px;
    }

    .ab-addon-desc {
        font-size: 10px;
        line-height: 1.4;
    }

    .ab-addon-price {
        font-size: 16px !important;
    }

    .ab-addon-duration {
        font-size: 9px !important;
        padding: 3px 8px !important;
    }

    .ab-addon-card .ab-addon-check {
        width: 22px;
        height: 22px;
        top: 10px;
        right: 10px;
        font-size: 11px;
    }
}


/* ============================================
   📱 EXTRA EXTRA SMALL (≤ 340px)
   ============================================ */
@media (max-width: 340px) {
    
    .ab-addon-card {
        grid-template-columns: 46px 1fr auto !important;
        padding: 10px !important;
        padding-right: 36px !important;
    }

    .ab-addon-icon {
        width: 46px !important;
        height: 46px !important;
    }

    .ab-addon-name {
        font-size: 12px;
    }

    .ab-addon-desc {
        font-size: 9px;
    }

    .ab-addon-price {
        font-size: 14px !important;
    }
}

/* ============================================
   ============================================
   STEP 4 — BOOKING DETAILS (UPGRADED)
   More Reliable + Better Responsive
   ============================================
   ============================================ */

.ab-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
}

.ab-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ab-form-group.full-width {
    grid-column: 1 / -1;
}

.ab-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.ab-form-label .ab-required {
    color: #ef4444;
}

.ab-form-input,
.ab-form-textarea,
.ab-form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #0b1f3a;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ab-form-input:focus,
.ab-form-textarea:focus,
.ab-form-select:focus {
    border-color: #081f4d;
    box-shadow: 0 0 0 3px rgba(8, 31, 77, 0.08);
}

.ab-form-textarea {
    min-height: 100px;
    resize: vertical;
}


/* ============================================
   RADIO GROUP (Yes/No)
   ============================================ */
.ab-radio-group {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.ab-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    flex: 1;
    justify-content: center;
    min-width: 100px;
}

.ab-radio-option:hover {
    border-color: #cbd5e1;
}

.ab-radio-option.active {
    border-color: #081f4d;
    background: #f0f4ff;
}

.ab-radio-option input[type="radio"] {
    accent-color: #081f4d;
    width: 18px;
    height: 18px;
}


/* ============================================
   ACCESS NOTE
   ============================================ */
.ab-access-note {
    display: none;
    margin-top: 12px;
}

.ab-access-note.show {
    display: block;
}

.ab-notice-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.ab-notice-box svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}


/* ============================================
   ADDRESS AUTOCOMPLETE
   ============================================ */
.ab-address-wrapper {
    position: relative;
}

.ab-address-input-wrap {
    position: relative;
}

.ab-address-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94a3b8;
    z-index: 2;
    pointer-events: none;
}

.ab-address-input {
    padding-left: 44px !important;
    padding-right: 44px !important;
}

.ab-address-spinner {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.ab-address-spinner.show {
    display: block;
}

.ab-address-spinner svg {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    animation: abSpin 1s linear infinite;
}

@keyframes abSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


/* ============================================
   ADDRESS DETAILS CARD
   ============================================ */
.ab-address-details {
    display: none;
    margin-top: 12px;
}

.ab-address-details.show {
    display: block;
    animation: abFadeIn 0.3s ease;
}

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

.ab-address-card {
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 14px;
    padding: 18px;
}

.ab-address-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: nowrap;
}

.ab-address-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ab-address-card-icon svg {
    width: 22px;
    height: 22px;
    color: #16a34a;
}

.ab-address-card-info {
    flex: 1;
    min-width: 0;
}

.ab-address-full {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
}

.ab-address-change {
    background: #fff;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
}

.ab-address-change:hover {
    background: #dcfce7;
    border-color: #4ade80;
}

.ab-address-tags {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.ab-address-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
}

.ab-address-tag svg {
    color: #16a34a;
    flex-shrink: 0;
}


/* ============================================
   POSTCODE ERROR
   ============================================ */
.ab-postcode-error {
    display: none;
    margin-top: 12px;
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 14px;
    padding: 18px;
    gap: 14px;
    align-items: flex-start;
}

.ab-postcode-error.show {
    display: flex;
    animation: abShake 0.4s ease;
}

@keyframes abShake {
    0%,  100% { transform: translateX(0); }
    20%        { transform: translateX(-6px); }
    40%        { transform: translateX(6px); }
    60%        { transform: translateX(-4px); }
    80%        { transform: translateX(4px); }
}

.ab-postcode-error svg {
    width: 24px;
    height: 24px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

.ab-postcode-error strong {
    display: block;
    font-size: 15px;
    color: #991b1b;
    margin-bottom: 4px;
}

.ab-postcode-error span {
    font-size: 13px;
    color: #b91c1c;
    line-height: 1.5;
}

.ab-postcode-error b {
    background: #fee2e2;
    padding: 1px 6px;
    border-radius: 4px;
    color: #991b1b;
}


/* ============================================
   GOOGLE AUTOCOMPLETE DROPDOWN
   ============================================ */
.pac-container {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-top: 6px;
    font-family: 'Inter', 'DM Sans', sans-serif;
    z-index: 99999;
}

.pac-item {
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    border-top: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background: #f0f4ff;
}

.pac-item-selected {
    background: #f0f4ff;
}

.pac-icon {
    display: none;
}

.pac-item-query {
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
}

.pac-matched {
    font-weight: 700;
    color: #081f4d;
}


/* ============================================
   ADDRESS INPUT STATES
   ============================================ */
.ab-address-input.valid {
    border-color: #86efac;
    background: #f0fdf4;
}

.ab-address-input.invalid {
    border-color: #fca5a5;
    background: #fef2f2;
}

.ab-address-input.disabled-look {
    background: #f8fafc;
    color: #94a3b8;
    pointer-events: none;
}


/* ============================================
   ============================================
   📱 RESPONSIVE - TABLET (≤ 992px)
   ============================================
   ============================================ */
@media (max-width: 992px) {

    .ab-form-grid {
        max-width: 100%;
        gap: 18px;
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - TABLET SMALL (≤ 768px)
   ============================================
   ============================================ */
@media (max-width: 768px) {

    /* Single column layout */
    .ab-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ab-form-label {
        font-size: 13px;
    }

    .ab-form-input,
    .ab-form-textarea,
    .ab-form-select {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    .ab-form-textarea {
        min-height: 90px;
    }

    /* Address card */
    .ab-address-card {
        padding: 14px;
        border-radius: 12px;
    }

    .ab-address-card-header {
        gap: 12px;
    }

    .ab-address-card-icon {
        width: 36px;
        height: 36px;
    }

    .ab-address-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .ab-address-full {
        font-size: 14px;
        line-height: 1.45;
    }

    .ab-address-change {
        padding: 5px 12px;
        font-size: 12px;
    }

    .ab-address-tags {
        gap: 8px;
        margin-top: 12px;
    }

    .ab-address-tag {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Radio buttons - Equal width */
    .ab-radio-group {
        gap: 10px;
    }

    .ab-radio-option {
        padding: 11px 16px;
        font-size: 14px;
    }

    /* Notice box */
    .ab-notice-box {
        padding: 12px 14px;
        font-size: 12px;
        line-height: 1.5;
    }

    .ab-notice-box svg {
        width: 16px;
        height: 16px;
    }

    /* Postcode error */
    .ab-postcode-error {
        padding: 14px;
    }

    .ab-postcode-error strong {
        font-size: 14px;
    }

    .ab-postcode-error span {
        font-size: 12px;
    }

    /* Continue button full width */
    .ab-continue-wrap {
        justify-content: stretch !important;
    }

    .ab-continue-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - PHONE (≤ 480px)
   ============================================
   ============================================ */
@media (max-width: 480px) {

    .ab-form-grid {
        gap: 14px;
    }

    .ab-form-label {
        font-size: 13px;
    }

    .ab-form-input,
    .ab-form-textarea,
    .ab-form-select {
        padding: 11px 13px;
        font-size: 14px;
        border-radius: 10px;
    }

    /* Address input - icon spacing */
    .ab-address-input {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .ab-address-icon {
        left: 12px;
        width: 18px;
        height: 18px;
    }

    .ab-address-spinner {
        right: 12px;
    }

    .ab-address-spinner svg {
        width: 18px;
        height: 18px;
    }

    /* Address card - More compact */
    .ab-address-card {
        padding: 12px;
        border-radius: 12px;
    }

    .ab-address-card-header {
        gap: 10px;
        flex-wrap: wrap;
    }

    .ab-address-card-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .ab-address-card-icon svg {
        width: 16px;
        height: 16px;
    }

    .ab-address-card-info {
        flex: 1 1 calc(100% - 90px);
        min-width: 0;
    }

    .ab-address-full {
        font-size: 13px;
        line-height: 1.45;
        font-weight: 600;
    }

    .ab-address-change {
        padding: 5px 10px;
        font-size: 11px;
        order: 2;
    }

    .ab-address-tags {
        gap: 6px;
        margin-top: 10px;
    }

    .ab-address-tag {
        padding: 5px 10px;
        font-size: 11px;
        gap: 4px;
    }

    .ab-address-tag svg {
        width: 12px;
        height: 12px;
    }

    /* Radio - Compact */
    .ab-radio-group {
        gap: 8px;
    }

    .ab-radio-option {
        padding: 10px 14px;
        font-size: 13px;
        gap: 6px;
    }

    .ab-radio-option input[type="radio"] {
        width: 16px;
        height: 16px;
    }

    /* Notice box compact */
    .ab-notice-box {
        padding: 10px 12px;
        font-size: 12px;
        gap: 8px;
        border-radius: 8px;
    }

    .ab-notice-box svg {
        width: 16px;
        height: 16px;
    }

    /* Postcode error compact */
    .ab-postcode-error {
        padding: 12px;
        gap: 10px;
        border-radius: 12px;
    }

    .ab-postcode-error svg {
        width: 20px;
        height: 20px;
    }

    .ab-postcode-error strong {
        font-size: 13px;
    }

    .ab-postcode-error span {
        font-size: 12px;
    }

    /* Google Autocomplete - Mobile */
    .pac-container {
        border-radius: 10px;
    }

    .pac-item {
        padding: 10px 14px;
        font-size: 13px;
    }

    .pac-item-query {
        font-size: 13px;
    }

    /* Continue button mobile */
    .ab-continue-btn {
        padding: 14px 24px;
        font-size: 14px;
        border-radius: 12px;
    }

    .ab-continue-btn svg {
        width: 18px;
        height: 18px;
    }

    /* IMPORTANT: Space for summary bar at bottom */
    .ab-continue-wrap {
        margin-bottom: 20px;
    }
}


/* ============================================
   ============================================
   📱 EXTRA SMALL (≤ 360px)
   ============================================
   ============================================ */
@media (max-width: 360px) {

    .ab-form-input,
    .ab-form-textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .ab-address-card {
        padding: 10px;
    }

    .ab-address-full {
        font-size: 12px;
    }

    .ab-address-change {
        font-size: 10px;
        padding: 4px 8px;
    }

    .ab-address-tag {
        font-size: 10px;
        padding: 4px 8px;
    }

    .ab-radio-option {
        padding: 9px 12px;
        font-size: 12px;
    }
}


/* ============================================
   ============================================
   📱 EXTRA SAFETY - Body Padding for Step 4
   To avoid summary bar overlap on mobile
   ============================================
   ============================================ */
@media (max-width: 768px) {
    
    #ab-step-4 {
        padding-bottom: 30px;
    }
}
/* ============================================
   CROSS-SELL CARD
   ============================================ */
.ab-crosssell-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    border: 2px solid #bfdbfe;
    border-radius: 20px;
    padding: 35px;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ab-crosssell-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(8,31,77,0.04);
    border-radius: 50%;
}

.ab-crosssell-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #081f4d;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.ab-crosssell-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ab-crosssell-desc {
    font-size: 16px;
    color: #475569;
    margin-bottom: 25px;
    line-height: 1.6;
}

.ab-crosssell-offer {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.ab-crosssell-offer-info h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ab-crosssell-offer-info p {
    font-size: 14px;
    color: #64748b;
}

.ab-crosssell-offer-price {
    font-size: 28px;
    font-weight: 800;
    color: #081f4d;
    white-space: nowrap;
}

.ab-crosssell-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.ab-crosssell-yes {
    background: linear-gradient(135deg, #08a05c 0%, #06d170 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ab-crosssell-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8,160,92,0.3);
}

.ab-crosssell-no {
    background: #fff;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ab-crosssell-no:hover {
    border-color: #cbd5e1;
    color: #475569;
}

/* ============================================
   ============================================
   STEP 5 — SCHEDULING (UPGRADED)
   Better Icons, More Reliable, Fully Responsive
   ============================================
   ============================================ */

.ab-calendar-wrap {
    max-width: 750px;
}


/* ============================================
   MONTH NAVIGATION
   ============================================ */
.ab-date-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.ab-date-nav-btn {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 16px;
    color: #475569; /* ✅ Default visible color */
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ab-date-nav-btn:hover:not(:disabled) {
    background: #081f4d;
    border-color: #081f4d;
    color: #fff; /* ✅ White on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 31, 77, 0.2);
}

.ab-date-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f8fafc;
    color: #cbd5e1;
}

/* Font Awesome icons inside buttons */
.ab-date-nav-btn i {
    font-size: 14px;
    line-height: 1;
}

/* If SVG still used (fallback) */
.ab-date-nav-btn svg {
    width: 18px;
    height: 18px;
    color: inherit;
    stroke: currentColor;
}

.ab-date-nav-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    flex: 1;
}


/* ============================================
   DATE GRID (7 Days)
   ============================================ */
.ab-date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 30px;
}

.ab-date-cell {
    text-align: center;
    padding: 14px 6px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid #f1f5f9;
    background: #fff;
}

.ab-date-cell:hover:not(.disabled):not(.active) {
    border-color: #081f4d;
    background: #f8faff;
    transform: translateY(-2px);
}

.ab-date-cell.active {
    background: linear-gradient(135deg, #081f4d 0%, #0f3377 100%);
    color: #fff;
    border-color: #081f4d;
    box-shadow: 0 4px 12px rgba(8,31,77,0.25);
}

.ab-date-cell.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f8fafc;
}

.ab-date-cell.today:not(.active) {
    border-color: #3b82f6;
    background: #eff6ff;
}

.ab-date-cell .ab-date-day {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

.ab-date-cell.active .ab-date-day {
    opacity: 0.85;
}

.ab-date-cell .ab-date-num {
    font-size: 22px;
    font-weight: 700;
    margin-top: 4px;
}


/* ============================================
   TIME SECTION HEADER
   ============================================ */
.ab-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.ab-time-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ab-time-title::before {
    content: '\f017'; /* Font Awesome clock icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    color: #081f4d;
}

.ab-time-info {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ab-time-info::before {
    content: '\f254'; /* Font Awesome hourglass */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: #081f4d;
}


/* ============================================
   TIME GRID & SLOTS
   ============================================ */
.ab-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.ab-time-slot {
    text-align: center;
    padding: 16px 12px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    color: #0f172a;
    position: relative;
}

.ab-time-slot:hover:not(.disabled):not(.active) {
    border-color: #081f4d;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 31, 77, 0.08);
}

.ab-time-slot.active {
    background: linear-gradient(135deg, #081f4d 0%, #0f3377 100%);
    color: #fff;
    border-color: #081f4d;
    box-shadow: 0 4px 12px rgba(8,31,77,0.2);
}

.ab-time-slot.active::after {
    content: '\f00c'; /* Font Awesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: #16a34a;
    color: #fff;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ab-time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f8fafc;
    text-decoration: line-through;
    color: #94a3b8;
}

.ab-slot-time {
    font-size: 15px;
    font-weight: 700;
}

.ab-slot-meta {
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.65;
    font-weight: 500;
}

.ab-time-slot.active .ab-slot-meta {
    opacity: 0.85;
}


/* ============================================
   LOADING STATE
   ============================================ */
.ab-slot-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
}

.ab-slot-loading svg,
.ab-slot-loading i {
    width: 24px;
    height: 24px;
    font-size: 22px;
    animation: abSpin 1s linear infinite;
    color: #081f4d;
}

@keyframes abSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


/* ============================================
   NO SLOTS MESSAGE
   ============================================ */
#ab-no-slots {
    margin-top: 16px;
}

.ab-no-slots-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    border-radius: 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.ab-no-slots-msg svg,
.ab-no-slots-msg i {
    width: 42px;
    height: 42px;
    font-size: 36px;
    margin-bottom: 12px;
    color: #dc2626;
}

.ab-no-slots-msg strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 6px;
}

.ab-no-slots-msg span {
    font-size: 14px;
    line-height: 1.5;
    color: #b91c1c;
}


/* ============================================
   ============================================
   📱 RESPONSIVE - TABLET (≤ 992px)
   ============================================
   ============================================ */
@media (max-width: 992px) {

    .ab-date-nav-title {
        font-size: 20px;
    }

    .ab-time-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - TABLET SMALL (≤ 768px)
   ============================================
   ============================================ */
@media (max-width: 768px) {

    .ab-date-nav {
        margin-bottom: 18px;
    }

    .ab-date-nav-btn {
        width: 40px;
        height: 40px;
    }

    .ab-date-nav-btn i {
        font-size: 13px;
    }

    .ab-date-nav-title {
        font-size: 18px;
    }

    /* Date Grid - Smaller cells */
    .ab-date-grid {
        gap: 6px;
        margin-bottom: 24px;
    }

    .ab-date-cell {
        padding: 10px 4px;
        border-radius: 12px;
    }

    .ab-date-cell .ab-date-day {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .ab-date-cell .ab-date-num {
        font-size: 18px;
        margin-top: 2px;
    }

    /* Time Section */
    .ab-time-header {
        margin-bottom: 14px;
        gap: 8px;
    }

    .ab-time-title {
        font-size: 17px;
    }

    .ab-time-title::before {
        font-size: 16px;
    }

    .ab-time-info {
        font-size: 12px;
        padding: 5px 12px;
    }

    /* Time Grid - 3 columns on tablet */
    .ab-time-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .ab-time-slot {
        padding: 12px 8px;
        border-radius: 10px;
    }

    .ab-slot-time {
        font-size: 14px;
    }

    .ab-slot-meta {
        font-size: 10px;
        margin-top: 3px;
    }

    /* Continue button full width */
    .ab-continue-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - PHONE (≤ 480px)
   ============================================
   ============================================ */
@media (max-width: 480px) {

    .ab-date-nav-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .ab-date-nav-btn i {
        font-size: 12px;
    }

    .ab-date-nav-title {
        font-size: 16px;
    }

    /* Date Grid - Very compact */
    .ab-date-grid {
        gap: 4px;
        margin-bottom: 20px;
    }

    .ab-date-cell {
        padding: 8px 2px;
        border-radius: 10px;
    }

    .ab-date-cell .ab-date-day {
        font-size: 8px;
        letter-spacing: 0;
    }

    .ab-date-cell .ab-date-num {
        font-size: 15px;
        margin-top: 2px;
    }

    /* Time section */
    .ab-time-title {
        font-size: 16px;
    }

    .ab-time-info {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* Time Grid - 2 columns on phone */
    .ab-time-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ab-time-slot {
        padding: 12px 8px;
    }

    .ab-slot-time {
        font-size: 13px;
    }

    .ab-slot-meta {
        font-size: 10px;
    }

    /* No slots message */
    .ab-no-slots-msg {
        padding: 22px 16px;
    }

    .ab-no-slots-msg i {
        font-size: 32px;
    }

    .ab-no-slots-msg strong {
        font-size: 14px;
    }

    .ab-no-slots-msg span {
        font-size: 12px;
    }
}


/* ============================================
   ============================================
   📱 EXTRA SMALL (≤ 360px)
   ============================================
   ============================================ */
@media (max-width: 360px) {

    .ab-date-cell {
        padding: 6px 2px;
    }

    .ab-date-cell .ab-date-day {
        font-size: 7px;
    }

    .ab-date-cell .ab-date-num {
        font-size: 13px;
    }

    .ab-time-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .ab-time-slot {
        padding: 10px 6px;
    }

    .ab-slot-time {
        font-size: 12px;
    }

    .ab-slot-meta {
        font-size: 9px;
    }
}

/* ============================================
   FLOATING SUMMARY BAR
   ============================================ */
.ab-summary-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 9999;
    display: none;
    animation: abSlideUp 0.3s ease;
}

.ab-summary-bar.show {
    display: block;
}

@keyframes abSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.ab-summary-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ab-summary-details {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.ab-summary-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ab-summary-item-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 700;
}

.ab-summary-item-value {
    font-size: 18px;
    font-weight: 700;
    color: #0b1f3a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ab-summary-services {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ab-summary-chip {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.ab-summary-total {
    text-align: right;
    flex-shrink: 0;
}

.ab-summary-total-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 700;
}

.ab-summary-total-price {
    font-size: 32px;
    font-weight: 800;
    color: #081f4d;
}

.ab-summary-total-duration {
    font-size: 13px;
    color: #64748b;
}

/* ============================================
   VALIDATION ERRORS
   ============================================ */
.ab-validation-errors {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff3f3;
    border: 1px solid #ffcccc;
    color: #b30000;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    max-width: 400px;
    margin: 8px 0;
}

.ab-validation-errors svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
}

.ab-validation-errors strong {
    display: block;
    margin-bottom: 4px;
}

.ab-validation-errors ul {
    margin: 0;
    padding-left: 18px;
}

.ab-validation-errors li {
    margin-bottom: 2px;
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .ab-booking-wrapper {
        padding: 30px 16px 120px;
    }

    .ab-page-title {
        font-size: 34px;
    }

    .ab-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .ab-addons-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {

    /* Base */
    .ab-booking-wrapper {
        padding: 20px 14px 140px;
        background:none;
    }

    /* Top bar */
    .ab-top-bar {
        margin-bottom: 20px;
    }

    .ab-back-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .ab-step-tag {
        font-size: 12px;
        padding: 8px 16px;
    }

    /* Progress steps */
    .ab-progress-steps {
        padding: 0;
        margin-bottom: 30px;
    }

    .ab-snode {
        min-width: 0;
        flex: 1;
    }

    .ab-scircle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ab-scircle.done::after {
        font-size: 14px;
    }

    .ab-slabel {
        font-size: 9px;
        letter-spacing: 0.5px;
        margin-top: 6px;
    }

    /* Headings */
    .ab-page-title {
        font-size: 24px;
        letter-spacing: -0.5px;
    }

    .ab-page-sub {
        font-size: 14px;
        margin-bottom: 24px;
    }

    /* Step 1 - Property cards */
    .ab-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .ab-card-image img {
        height: 120px;
    }

    .ab-card-footer {
        padding: 14px 16px;
    }

    .ab-card-title {
        font-size: 15px;
    }

    .ab-card-arrow {
        width: 32px;
        height: 32px;
    }

    /* Step 2 - Services */
    .ab-service-header {
        padding: 16px;
        gap: 12px;
    }

    .ab-service-info {
        gap: 12px;
    }

    .ab-service-icon {
        width: 40px;
        height: 40px;
    }

    .ab-service-name {
        font-size: 15px;
    }

    .ab-service-desc {
        font-size: 13px;
    }

    .ab-service-options {
        padding: 0 16px 16px;
    }

    .ab-rule-group {
        padding: 12px;
    }

    .ab-rule-group-title {
        font-size: 14px;
    }

    .ab-option-pill {
        min-width: 100px;
        padding: 10px 14px;
    }

    .ab-option-pill .ab-pill-price {
        font-size: 15px;
    }

    .ab-option-pill .ab-pill-label {
        font-size: 12px;
    }

    /* Dynamic qty */
    .ab-dynamic-row.show {
        flex-direction: column;
        align-items: flex-start;
    }

    .ab-qty-input {
        width: 50px;
        font-size: 18px;
    }

    .ab-dynamic-info {
        gap: 16px;
    }

    .ab-dynamic-info .ab-info-value {
        font-size: 20px;
    }

    /* Step 3 - Addons */
    /* .ab-addons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ab-addon-card {
        padding: 14px;
    }

    .ab-addon-price {
        font-size: 20px;
    }

    .ab-addon-name {
        font-size: 14px;
    } */

    /* Step 4 - Form */
    .ab-form-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .ab-form-group.full-width {
        grid-column: 1;
    }

    .ab-form-input,
    .ab-form-textarea,
    .ab-form-select {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 12px 14px;
    }

    .ab-address-input {
        padding-left: 42px !important;
        padding-right: 42px !important;
    }

    .ab-radio-group {
        gap: 8px;
    }

    .ab-radio-option {
        padding: 10px 16px;
        font-size: 14px;
        flex: 1;
        justify-content: center;
    }

    /* Address card */
    .ab-address-card-header {
        gap: 10px;
    }

    .ab-address-full {
        font-size: 14px;
    }

    .ab-address-tags {
        gap: 6px;
    }

    .ab-address-tag {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Step 5 - Calendar */
    .ab-calendar-wrap {
        max-width: 100%;
    }

    .ab-date-nav-title {
        font-size: 16px;
    }

    .ab-date-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
    }

    .ab-date-cell {
        padding: 10px 3px;
        border-radius: 10px;
    }

    .ab-date-cell .ab-date-day {
        font-size: 9px;
        letter-spacing: 0;
    }

    .ab-date-cell .ab-date-num {
        font-size: 16px;
    }

    .ab-time-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ab-time-slot {
        padding: 14px 8px;
        font-size: 14px;
    }

    .ab-time-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    /* Continue button */
    .ab-continue-wrap {
        justify-content: stretch;
        margin-top: 24px;
    }

    .ab-continue-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    /* Validation errors */
    .ab-validation-errors {
        max-width: 100%;
    }

    /* Crosssell */
    .ab-crosssell-card {
        padding: 24px 16px;
    }

    .ab-crosssell-offer {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .ab-crosssell-actions {
        flex-direction: column;
    }

    .ab-crosssell-yes,
    .ab-crosssell-no {
        width: 100%;
        justify-content: center;
    }

    /* Summary bar */
    .ab-summary-inner {
        padding: 12px 16px;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .ab-summary-details {
        gap: 12px;
        justify-content: space-between;
    }

    .ab-summary-item {
        flex: 1;
        min-width: 80px;
    }

    .ab-summary-item-value {
        font-size: 14px;
    }

    .ab-summary-total {
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #f1f5f9;
        padding-top: 10px;
    }

    .ab-summary-total-label {
        order: 0;
    }

    .ab-summary-total-price {
        font-size: 24px;
    }

    .ab-summary-total-duration {
        font-size: 12px;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {

    /* Property cards — 1 column on very small screens */
    .ab-card-grid {
        grid-template-columns: 1fr;
    }

    .ab-card-image img {
        height: 160px;
    }

    /* Addons — 1 column */
    /* .ab-addons-grid {
        grid-template-columns: 1fr;
    } */

    /* Pills — full width */
    .ab-rule-group-items {
        flex-direction: column;
    }

    .ab-option-pill {
        min-width: unset;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
    }

    .ab-option-pill .ab-pill-label {
        font-size: 14px;
    }

    .ab-option-pill .ab-pill-price {
        font-size: 16px;
        margin-top: 0;
    }

    .ab-option-pill .ab-pill-time {
        display: none;
    }

    .ab-option-pill.active::after {
        top: 50%;
        transform: translateY(-50%);
        right: 50px;
    }

    /* Date cells - smaller */
    .ab-date-cell {
        padding: 8px 2px;
        border-radius: 8px;
    }

    .ab-date-cell .ab-date-day {
        font-size: 8px;
    }

    .ab-date-cell .ab-date-num {
        font-size: 14px;
        margin-top: 2px;
    }

    /* Time slots - 2 columns */
    .ab-time-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Summary - compact */
    .ab-summary-details {
        flex-direction: column;
        gap: 6px;
    }

    .ab-summary-item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .ab-summary-item-label {
        min-width: 60px;
    }
}

/* ============================================
   LAYOUT PLACEHOLDER (Temporary - while building layouts)
   ============================================ */
    .ab-layout-placeholder {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border: 1px dashed #fcd34d;
        border-radius: 12px;
        margin-bottom: 16px;
        animation: ab-placeholder-pulse 2s ease-in-out infinite;
    }

    @keyframes ab-placeholder-pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.85; }
    }

    .ab-placeholder-icon {
        font-size: 32px;
        flex-shrink: 0;
    }

    .ab-placeholder-content {
        flex: 1;
    }

    .ab-placeholder-title {
        font-size: 14px;
        font-weight: 700;
        color: #92400e;
        margin-bottom: 2px;
    }

    .ab-placeholder-desc {
        font-size: 12px;
        color: #a16207;
        line-height: 1.4;
    }



    /* ============================================
   CARPET CLEANING LAYOUT
   ============================================ */
.ab-carpet-layout {
    /* margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0; */
}

/* Main 2-column row */
.ab-carpet-main-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .ab-carpet-main-row {
        grid-template-columns: 1fr;
    }
}

/* LEFT: Method Box */
.ab-carpet-method-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 16px;
    padding: 24px;
}

.ab-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ab-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ab-method-title {
    font-size: 16px;
    font-weight: 700;
    color: #075985;
    margin: 0;
}

.ab-method-desc {
    font-size: 14px;
    color: #0c4a6e;
    line-height: 1.6;
    margin: 0 0 14px;
}

.ab-method-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.ab-method-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #0c4a6e;
    line-height: 1.5;
}

.ab-method-bullets li i {
    color: #0284c7;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Feature Badges */
.ab-carpet-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #bae6fd;
}

@media (max-width: 480px) {
    .ab-carpet-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ab-carpet-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 10px 6px;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.2s;
}

.ab-carpet-badge:hover {
    transform: translateY(-2px);
}

.ab-carpet-badge .ab-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ab-carpet-badge span {
    font-size: 11px;
    font-weight: 600;
    color: #0c4a6e;
    line-height: 1.3;
}

/* RIGHT: Rooms Box */
.ab-carpet-rooms-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
}

.ab-rooms-header {
    margin-bottom: 16px;
}

.ab-rooms-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.ab-rooms-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Rooms pills grid */
.ab-carpet-pills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .ab-carpet-pills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 380px) {
    .ab-carpet-pills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ab-carpet-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    min-height: 76px;
    position: relative;
}

.ab-carpet-pill:hover {
    border-color: #0284c7;
    background: #f0f9ff;
    transform: translateY(-1px);
}

.ab-carpet-pill.active {
    border-color: #0284c7;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.ab-carpet-pill.active::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: #0284c7;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ab-carpet-pill-qty {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.ab-carpet-pill-price {
    font-size: 16px;
    font-weight: 800;
    color: #0c4a6e;
}

.ab-carpet-pill.active .ab-carpet-pill-qty,
.ab-carpet-pill.active .ab-carpet-pill-price {
    color: #075985;
}

/* Rooms info note */
.ab-rooms-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: #075985;
    line-height: 1.5;
    margin-top:10px;
}

.ab-rooms-note i {
    color: #0284c7;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   STAIN REMOVAL TOGGLE SECTION
   ============================================ */
.ab-stain-toggle-section {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.ab-stain-toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ab-stain-toggle-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}

.ab-stain-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ab-stain-toggle-text {
    flex: 1;
}

.ab-stain-title {
    font-size: 15px;
    font-weight: 700;
    color: #6b21a8;
    margin-bottom: 4px;
}

.ab-optional-tag {
    font-size: 12px;
    font-weight: 500;
    color: #a855f7;
}

.ab-stain-desc {
    font-size: 13px;
    color: #6b21a8;
    line-height: 1.5;
    opacity: 0.85;
}

/* Toggle Switch */
.ab-toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.ab-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ab-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 28px;
}

.ab-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ab-toggle-switch input:checked + .ab-toggle-slider {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
}

.ab-toggle-switch input:checked + .ab-toggle-slider:before {
    transform: translateX(24px);
}

/* Conditional content */
.ab-stain-conditional {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 0;
}

.ab-stain-conditional.show {
    max-height: 800px;
    opacity: 1;
    margin-top: 20px;
}

.ab-stain-conditional-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid #e9d5ff;
}

@media (max-width: 768px) {
    .ab-stain-conditional-row {
        grid-template-columns: 1fr;
    }
}

/* Stain question box */
.ab-stain-question-box {
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 16px;
}

.ab-stain-q-title {
    font-size: 14px;
    font-weight: 700;
    color: #6b21a8;
    margin-bottom: 4px;
}

.ab-stain-q-sub {
    font-size: 12px;
    color: #7e22ce;
    line-height: 1.5;
    margin-bottom: 12px;
    opacity: 0.85;
}

.ab-stain-textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    transition: all 0.2s;
}

.ab-stain-textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.ab-stain-textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
}

/* Important to know box */
.ab-stain-info-box {
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 16px;
}

.ab-stain-info-box .ab-info-title {
    font-size: 14px;
    font-weight: 700;
    color: #6b21a8;
    margin-bottom: 10px;
}

.ab-stain-info-box p {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 10px;
}

.ab-stain-info-box ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 10px;
}

.ab-stain-info-box li {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 4px;
}

.ab-stain-info-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   DYNAMIC BLOCK (Inside Rule Group - New Style)
   ============================================ */
.ab-rule-dynamic-slot {
    /* empty until dynamic content added */
}

.ab-rule-dynamic-slot:empty {
    display: none;
}

.ab-rule-dynamic-slot .ab-dynamic-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    animation: ab-slide-down 0.3s ease;
}

@keyframes ab-slide-down {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ab-dynamic-qty-wrap {
    flex: 1;
    min-width: 200px;
}

.ab-dynamic-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ab-rule-dynamic-slot .ab-dynamic-info {
    display: flex;
    gap: 20px;
}

.ab-rule-dynamic-slot .ab-info-block {
    text-align: center;
}

.ab-rule-dynamic-slot .ab-info-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 2px;
}

.ab-rule-dynamic-slot .ab-info-value {
    font-size: 22px;
    font-weight: 800;
    color: #0c4a6e;
}

/* Quantity control - matches existing */
.ab-rule-dynamic-slot .ab-qty-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.ab-rule-dynamic-slot .ab-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8fafc;
    font-size: 18px;
    cursor: pointer;
    color: #475569;
    font-weight: 600;
    transition: background 0.2s;
}

.ab-rule-dynamic-slot .ab-qty-btn:hover {
    background: #e2e8f0;
}

.ab-rule-dynamic-slot .ab-qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #0b1f3a;
    outline: none;
    background: #fff;
}

/* Hide old dynamic row in simple layout */
.ab-dynamic-row {
    display: none !important;
}



/* ============================================
   UPHOLSTERY LAYOUT
   ============================================ */
.ab-uph-layout {
    /* margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0; */
}

/* Section Container */
.ab-uph-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

/* Section Header */
.ab-uph-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.ab-uph-section-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7e22ce 0%, #6b21a8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ab-uph-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.ab-uph-section-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   SECTION 1: SOFA TYPE GRID
   ============================================ */
.ab-uph-sofa-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

@media (max-width: 1024px) {
    .ab-uph-sofa-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .ab-uph-sofa-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .ab-uph-sofa-grid { grid-template-columns: repeat(2, 1fr); }
}

.ab-uph-sofa-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.ab-uph-sofa-card:hover {
    border-color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.12);
}

.ab-uph-sofa-card.selected {
    border-color: #7e22ce;
    box-shadow: 0 4px 16px rgba(126, 34, 206, 0.2);
}

.ab-uph-sofa-img {
    height: 100px;
    /* background: #f8fafc; */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ab-uph-sofa-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ab-uph-sofa-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
}

.ab-uph-radio {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.ab-uph-sofa-card.selected .ab-uph-radio {
    border-color: #7e22ce;
    background: #7e22ce;
}

.ab-uph-sofa-card.selected .ab-uph-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.ab-uph-sofa-label {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
}

/* ============================================
   SECTION 2: MATERIAL
   ============================================ */
.ab-uph-material-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .ab-uph-material-row { grid-template-columns: 1fr; }
}

.ab-uph-material-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .ab-uph-material-cards { grid-template-columns: 1fr; }
}

.ab-uph-material-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.ab-uph-material-card:hover {
    border-color: #a855f7;
}

.ab-uph-material-card.selected {
    border-color: #7e22ce;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.ab-uph-mat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ab-uph-mat-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.ab-uph-material-card.selected .ab-uph-mat-radio {
    border-color: #7e22ce;
    background: #7e22ce;
}

.ab-uph-material-card.selected .ab-uph-mat-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.ab-uph-mat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7e22ce;
    font-size: 14px;
}

.ab-uph-material-card.selected .ab-uph-mat-icon {
    background: #fff;
}

.ab-uph-mat-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.ab-uph-mat-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Leather callout */
.ab-uph-leather-callout {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 16px;
}

.ab-uph-callout-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b21a8;
    margin-bottom: 8px;
    font-size: 13px;
}

.ab-uph-callout-header i {
    color: #a855f7;
}

.ab-uph-leather-callout p {
    font-size: 12px;
    color: #6b21a8;
    line-height: 1.6;
    margin: 0 0 8px;
}

.ab-uph-leather-callout p:last-child {
    margin-bottom: 0;
}

/* ============================================
   SECTION 3: SEATS
   ============================================ */
.ab-uph-seats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

@media (max-width: 768px) {
    .ab-uph-seats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 380px) {
    .ab-uph-seats-grid { grid-template-columns: repeat(2, 1fr); }
}

.ab-uph-seat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 70px;
    position: relative;
}

.ab-uph-seat-pill:hover {
    border-color: #a855f7;
    background: #faf5ff;
}

.ab-uph-seat-pill.active {
    border-color: #7e22ce;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.15);
}

.ab-uph-seat-pill.active::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: #7e22ce;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ab-uph-seat-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.ab-uph-seat-price {
    font-size: 15px;
    font-weight: 800;
    color: #6b21a8;
}

.ab-uph-seat-pill.active .ab-uph-seat-label,
.ab-uph-seat-pill.active .ab-uph-seat-price {
    color: #6b21a8;
}

/* ============================================
   INFO BOXES
   ============================================ */
.ab-uph-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .ab-uph-info-row { grid-template-columns: 1fr; }
}

.ab-uph-info-box {
    border-radius: 12px;
    padding: 16px;
}

.ab-uph-info-drying {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}

.ab-uph-info-leather {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    display: none;
}

.ab-uph-info-leather.show {
    display: block;
}

.ab-uph-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ab-uph-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    font-size: 14px;
}

.ab-uph-info-leather .ab-uph-info-icon {
    color: #16a34a;
}

.ab-uph-info-header h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.ab-uph-info-header h5 span {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.ab-uph-info-box p {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 6px;
}

.ab-uph-info-box p:last-child {
    margin-bottom: 0;
}

.ab-uph-info-footer {
    margin-top: 8px !important;
    padding-top: 8px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    font-style: italic;
}

/* ============================================
   STAIN SECTION
   ============================================ */
.ab-uph-stain-section {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.ab-uph-stain-header h5 {
    font-size: 14px;
    font-weight: 700;
    color: #6b21a8;
    margin: 0 0 4px;
}

.ab-uph-stain-header p {
    font-size: 12px;
    color: #7e22ce;
    margin: 0 0 12px;
    opacity: 0.85;
}

.ab-uph-stain-textarea {
    width: 100%;
    border: 1px solid #e9d5ff;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s;
}

.ab-uph-stain-textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.ab-uph-stain-textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
}

/* ============================================
   IMPORTANT NOTE
   ============================================ */
.ab-uph-important-note {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 14px 18px;
}

.ab-uph-imp-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7e22ce;
    font-size: 14px;
    flex-shrink: 0;
}

.ab-uph-imp-content {
    font-size: 12px;
    color: #6b21a8;
    line-height: 1.6;
}

.ab-uph-imp-content strong {
    font-weight: 700;
}

/* ============================================
   MATTRESS LAYOUT (Multi-Quantity)
   ============================================ */
.ab-mat-layout {
    /* margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0; */
}

.ab-mat-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.ab-mat-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.ab-mat-section-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7e22ce 0%, #6b21a8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ab-mat-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.ab-mat-section-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   SIZES GRID (Multi-Quantity Cards)
   ============================================ */
.ab-mat-sizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .ab-mat-sizes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .ab-mat-sizes-grid { grid-template-columns: 1fr; }
}

.ab-mat-size-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
}

.ab-mat-size-card:hover {
    border-color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.12);
}

.ab-mat-size-card.active {
    border-color: #7e22ce;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    box-shadow: 0 4px 16px rgba(126, 34, 206, 0.2);
}

.ab-mat-size-card.active::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #7e22ce;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    z-index: 2;
}

.ab-mat-size-img {
    height: 120px;
    /* background: #f8fafc; */
    background: #fff; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ab-mat-size-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ab-mat-size-body {
    padding: 14px;
}

.ab-mat-size-label {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.ab-mat-size-price {
    font-size: 13px;
    font-weight: 600;
    color: #7e22ce;
    margin-bottom: 12px;
}

/* Counter Control */
.ab-mat-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.ab-mat-size-card.active .ab-mat-counter {
    border-color: #c084fc;
}

.ab-mat-cnt-btn {
    flex: 1;
    height: 40px;
    border: none;
    background: #f8fafc;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #475569;
    transition: all 0.2s;
}

.ab-mat-cnt-btn:hover {
    background: #7e22ce;
    color: #fff;
}

.ab-mat-cnt-input {
    flex: 1;
    height: 40px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    background: #fff;
    outline: none;
    max-width: 60px;
}

.ab-mat-size-card.active .ab-mat-cnt-input {
    color: #7e22ce;
    background: #faf5ff;
}

/* ============================================
   SELECTION SUMMARY (After cards)
   ============================================ */
.ab-mat-selection-summary {
    margin-top: 16px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 16px 20px;
}

.ab-mat-sel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #6b21a8;
    margin-bottom: 10px;
}

.ab-mat-sel-title i {
    color: #7e22ce;
}

.ab-mat-sel-items {
    margin-bottom: 12px;
}

.ab-mat-sel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}

.ab-mat-sel-item:last-child {
    margin-bottom: 0;
}

.ab-mat-sel-item-name {
    color: #0f172a;
    font-weight: 500;
}

.ab-mat-sel-item-price {
    color: #7e22ce;
    font-weight: 700;
}

.ab-mat-sel-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed #c4b5fd;
    font-size: 14px;
    color: #6b21a8;
}

.ab-mat-sel-total strong {
    font-size: 18px;
    color: #5b21b6;
}

/* ============================================
   SIDED QUESTION (Rest of layout - unchanged)
   ============================================ */
.ab-mat-question-header {
    margin-bottom: 16px;
}

.ab-mat-q-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.ab-mat-q-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.ab-mat-sided-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .ab-mat-sided-row { grid-template-columns: 1fr; }
}

.ab-mat-sided-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.ab-mat-sided-card:hover {
    border-color: #a855f7;
}

.ab-mat-sided-card.selected {
    border-color: #7e22ce;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.ab-mat-sided-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ab-mat-sided-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.ab-mat-sided-card.selected .ab-mat-sided-radio {
    border-color: #7e22ce;
    background: #7e22ce;
}

.ab-mat-sided-card.selected .ab-mat-sided-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.ab-mat-sided-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.ab-mat-sided-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 12px;
}

.ab-mat-sided-img {
    text-align: center;
    margin-top: 8px;
    height: 60px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ab-mat-sided-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ab-mat-howto-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 16px;
}

.ab-mat-howto-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0c4a6e;
    font-size: 13px;
    margin-bottom: 8px;
}

.ab-mat-howto-header i {
    color: #0284c7;
}

.ab-mat-howto-card p {
    font-size: 12px;
    color: #0c4a6e;
    line-height: 1.5;
    margin: 0 0 8px;
}

.ab-mat-howto-card p:last-child {
    margin-bottom: 0;
}

/* ============================================
   DRYING + STAINS (Same as before)
   ============================================ */
.ab-mat-drying-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .ab-mat-drying-row { grid-template-columns: 1fr; }
}

.ab-mat-info-box {
    border-radius: 12px;
    padding: 16px;
}

.ab-mat-info-blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}

.ab-mat-info-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
}

.ab-mat-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ab-mat-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ab-mat-info-blue .ab-mat-info-icon { color: #0284c7; }
.ab-mat-info-purple .ab-mat-info-icon { color: #7e22ce; }

.ab-mat-info-header h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.ab-mat-info-box p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 8px;
}

.ab-mat-info-blue p { color: #0c4a6e; }
.ab-mat-info-purple p { color: #6b21a8; }
.ab-mat-info-box p:last-child { margin-bottom: 0; }

.ab-mat-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 12px;
    color: #6b21a8;
    line-height: 1.5;
}

.ab-mat-tip-item i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    color: #7e22ce;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.ab-mat-stains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .ab-mat-stains-grid { grid-template-columns: 1fr; }
}

.ab-mat-stain-card {
    border-radius: 12px;
    padding: 16px;
}

.ab-mat-stain-card.ab-stain-amber {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
}

.ab-mat-stain-card.ab-stain-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.ab-mat-stain-card.ab-stain-blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}

.ab-mat-stain-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 10px;
}

.ab-stain-amber .ab-mat-stain-icon { color: #d97706; }
.ab-stain-green .ab-mat-stain-icon { color: #16a34a; }
.ab-stain-blue .ab-mat-stain-icon { color: #0284c7; }

.ab-mat-stain-card h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
}

.ab-stain-amber h6 { color: #92400e; }
.ab-stain-green h6 { color: #14532d; }
.ab-stain-blue h6 { color: #0c4a6e; }

.ab-mat-stain-card p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 8px;
}

.ab-stain-amber p { color: #92400e; }
.ab-stain-green p { color: #14532d; }
.ab-stain-blue p { color: #0c4a6e; }

.ab-mat-stain-card p:last-child { margin-bottom: 0; }

.ab-mat-tip-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 12px 16px;
}

.ab-mat-tip-banner i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.ab-mat-tip-banner strong {
    display: block;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 2px;
}

.ab-mat-tip-banner span {
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
}

.ab-mat-stain-question {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.ab-mat-stain-q-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.ab-mat-stain-q-header i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: #7e22ce;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.ab-mat-stain-q-header h5 {
    font-size: 14px;
    font-weight: 700;
    color: #6b21a8;
    margin: 0 0 4px;
}

.ab-mat-stain-q-header p {
    font-size: 12px;
    color: #7e22ce;
    margin: 0;
    opacity: 0.85;
}

.ab-mat-stain-textarea {
    width: 100%;
    border: 1px solid #e9d5ff;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s;
}

.ab-mat-stain-textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

/* ============================================
   ============================================
   RUG LAYOUT (Multi-Quantity) - UPGRADED
   Fix: Plus Button Visible + Better Responsive
   ============================================
   ============================================ */

.ab-rug-layout {
    /* margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0; */
}

.ab-rug-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}


/* ============================================
   SECTION HEADER (Number + Title)
   ============================================ */
.ab-rug-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.ab-rug-section-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7e22ce 0%, #6b21a8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(126, 34, 206, 0.25);
}

.ab-rug-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ab-rug-section-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}


/* ============================================
   SIZES GRID
   ============================================ */
.ab-rug-sizes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}


/* ============================================
   SIZE CARD
   ============================================ */
.ab-rug-size-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ab-rug-size-card:hover {
    border-color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.12);
}

.ab-rug-size-card.active {
    border-color: #7e22ce;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    box-shadow: 0 4px 16px rgba(126, 34, 206, 0.2);
}

.ab-rug-size-card.active::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: #7e22ce;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(126, 34, 206, 0.4);
}


/* ============================================
   SIZE IMAGE
   ============================================ */
.ab-rug-size-img {
    height: 110px;
    background: #f8fafc;
    overflow: hidden;
    flex-shrink: 0;
}

.ab-rug-size-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ab-rug-size-card:hover .ab-rug-size-img img {
    transform: scale(1.05);
}


/* ============================================
   SIZE BODY (Label + Price + Counter)
   ============================================ */
.ab-rug-size-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ab-rug-size-label {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.2;
}

.ab-rug-size-price {
    font-size: 12px;
    font-weight: 600;
    color: #7e22ce;
    margin-bottom: 10px;
}


/* ============================================
   COUNTER - FIXED LAYOUT
   ============================================ */
.ab-rug-counter {
    display: grid;
    grid-template-columns: 32px 1fr 32px; /* ✅ Fixed: Equal columns */
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: 100%;
    margin-top: auto;
}

.ab-rug-size-card.active .ab-rug-counter {
    border-color: #c084fc;
}

.ab-rug-cnt-btn {
    width: 100%;
    height: 34px;
    border: none;
    background: #f8fafc;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #475569;
    transition: all 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
}

.ab-rug-cnt-btn:hover {
    background: #7e22ce;
    color: #fff;
}

.ab-rug-cnt-btn:active {
    transform: scale(0.95);
}

.ab-rug-cnt-input {
    width: 100%;
    height: 34px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    background: #fff;
    outline: none;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: textfield;
}

.ab-rug-cnt-input::-webkit-outer-spin-button,
.ab-rug-cnt-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ab-rug-size-card.active .ab-rug-cnt-input {
    color: #7e22ce;
    background: #faf5ff;
}


/* ============================================
   SIZE HINTS BOX
   ============================================ */
.ab-rug-hints-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.ab-rug-hints-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #92400e;
    font-size: 14px;
}

.ab-rug-hints-header i {
    color: #d97706;
    font-size: 16px;
}

.ab-rug-hints-header strong {
    font-weight: 700;
}

.ab-rug-hints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.ab-rug-hint-item {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 10px 12px;
}

.ab-rug-hint-title {
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 3px;
}

.ab-rug-hint-text {
    font-size: 11px;
    color: #78350f;
    line-height: 1.4;
}


/* ============================================
   SELECTION SUMMARY
   ============================================ */
.ab-rug-selection-summary {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #c084fc;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.ab-rug-sel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #7e22ce;
    margin-bottom: 12px;
}

.ab-rug-sel-title i {
    color: #7e22ce;
}

.ab-rug-sel-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.ab-rug-sel-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px dashed #c084fc;
    font-size: 14px;
    color: #581c87;
}

.ab-rug-sel-total strong {
    font-size: 18px;
    font-weight: 800;
    color: #7e22ce;
}


/* ============================================
   ============================================
   📱 RESPONSIVE - LARGE TABLET (≤ 1024px)
   ============================================
   ============================================ */
@media (max-width: 1024px) {
    .ab-rug-sizes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - TABLET (≤ 768px)
   ============================================
   ============================================ */
@media (max-width: 768px) {

    .ab-rug-section {
        padding: 18px;
        border-radius: 14px;
    }

    .ab-rug-section-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .ab-rug-section-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .ab-rug-section-title {
        font-size: 15px;
    }

    .ab-rug-section-sub {
        font-size: 12px;
    }

    .ab-rug-sizes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .ab-rug-size-img {
        height: 100px;
    }

    .ab-rug-size-body {
        padding: 10px;
    }

    .ab-rug-size-label {
        font-size: 12px;
    }

    .ab-rug-size-price {
        font-size: 11px;
        margin-bottom: 8px;
    }

    /* Counter - Slightly larger touch targets */
    .ab-rug-counter {
        grid-template-columns: 30px 1fr 30px;
    }

    .ab-rug-cnt-btn {
        height: 32px;
        font-size: 15px;
    }

    .ab-rug-cnt-input {
        height: 32px;
        font-size: 13px;
    }

    /* Hints box */
    .ab-rug-hints-box {
        padding: 14px;
    }

    .ab-rug-hints-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - PHONE (≤ 640px)
   2 COLUMNS - With proper counter
   ============================================
   ============================================ */
@media (max-width: 640px) {

    .ab-rug-sizes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ab-rug-size-img {
        height: 120px; /* Slightly bigger image on mobile */
    }

    .ab-rug-size-body {
        padding: 10px;
    }

    .ab-rug-size-label {
        font-size: 13px;
    }

    .ab-rug-size-price {
        font-size: 12px;
        margin-bottom: 10px;
    }

    /* COUNTER FIX - Equal grid columns for visibility */
    .ab-rug-counter {
        grid-template-columns: 34px 1fr 34px; /* ✅ Bigger buttons */
        border-radius: 8px;
        min-width: 0; /* Prevent overflow */
    }

    .ab-rug-cnt-btn {
        height: 36px;
        font-size: 18px;
        font-weight: 800;
    }

    .ab-rug-cnt-input {
        height: 36px;
        font-size: 14px;
        min-width: 0;
        width: 100%;
    }
}


/* ============================================
   ============================================
   📱 RESPONSIVE - SMALL PHONE (≤ 480px)
   ============================================
   ============================================ */
@media (max-width: 480px) {

    .ab-rug-section {
        padding: 14px;
        border-radius: 12px;
    }

    .ab-rug-section-header {
        gap: 10px;
        margin-bottom: 14px;
    }

    .ab-rug-section-number {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .ab-rug-section-title {
        font-size: 14px;
    }

    .ab-rug-section-sub {
        font-size: 11px;
    }

    .ab-rug-sizes-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }

    .ab-rug-size-img {
        height: 110px;
    }

    .ab-rug-size-body {
        padding: 8px;
    }

    .ab-rug-size-label {
        font-size: 12px;
    }

    .ab-rug-size-price {
        font-size: 11px;
        margin-bottom: 8px;
    }

    /* COUNTER - Compact but visible */
    .ab-rug-counter {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .ab-rug-cnt-btn {
        height: 32px;
        font-size: 16px;
    }

    .ab-rug-cnt-input {
        height: 32px;
        font-size: 13px;
    }

    /* Active checkmark - smaller on mobile */
    .ab-rug-size-card.active::before {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: 6px;
        right: 6px;
    }

    /* Hints box mobile */
    .ab-rug-hints-box {
        padding: 12px;
    }

    .ab-rug-hints-header {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .ab-rug-hints-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .ab-rug-hint-item {
        padding: 8px 10px;
    }

    .ab-rug-hint-title {
        font-size: 11px;
    }

    .ab-rug-hint-text {
        font-size: 10px;
    }

    /* Selection summary */
    .ab-rug-selection-summary {
        padding: 14px;
    }

    .ab-rug-sel-title {
        font-size: 13px;
    }

    .ab-rug-sel-total {
        font-size: 13px;
    }

    .ab-rug-sel-total strong {
        font-size: 16px;
    }
}


/* ============================================
   ============================================
   📱 EXTRA SMALL (≤ 360px)
   Still 2 columns but more compact
   ============================================
   ============================================ */
@media (max-width: 360px) {

    .ab-rug-sizes-grid {
        gap: 6px;
    }

    .ab-rug-size-img {
        height: 95px;
    }

    .ab-rug-size-body {
        padding: 8px 6px;
    }

    .ab-rug-size-label {
        font-size: 11px;
    }

    .ab-rug-size-price {
        font-size: 10px;
        margin-bottom: 6px;
    }

    /* COUNTER - Minimum but still visible */
    .ab-rug-counter {
        grid-template-columns:1fr 1fr 1fr;
    }

    .ab-rug-cnt-btn {
        height: 28px;
        font-size: 14px;
    }

    .ab-rug-cnt-input {
        height: 28px;
        font-size: 12px;
    }
}

/* ============================================
   SIZE HINTS BOX
   ============================================ */
.ab-rug-hints-box {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.ab-rug-hints-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b21a8;
    font-size: 13px;
    margin-bottom: 12px;
}

.ab-rug-hints-header i {
    color: #a855f7;
    font-size: 14px;
}

.ab-rug-hints-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

@media (max-width: 1024px) {
    .ab-rug-hints-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .ab-rug-hints-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
    .ab-rug-hints-grid { grid-template-columns: 1fr; }
}

.ab-rug-hint-item {
    padding: 8px 0;
}

.ab-rug-hint-title {
    font-size: 12px;
    font-weight: 700;
    color: #6b21a8;
    margin-bottom: 4px;
}

.ab-rug-hint-text {
    font-size: 11px;
    color: #7e22ce;
    line-height: 1.4;
    opacity: 0.85;
}

/* ============================================
   SELECTION SUMMARY
   ============================================ */
.ab-rug-selection-summary {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 16px 20px;
}

.ab-rug-sel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #6b21a8;
    margin-bottom: 10px;
}

.ab-rug-sel-title i {
    color: #7e22ce;
}

.ab-rug-sel-items {
    margin-bottom: 12px;
}

.ab-rug-sel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}

.ab-rug-sel-item:last-child {
    margin-bottom: 0;
}

.ab-rug-sel-item-name {
    color: #0f172a;
    font-weight: 500;
}

.ab-rug-sel-item-price {
    color: #7e22ce;
    font-weight: 700;
}

.ab-rug-sel-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed #c4b5fd;
    font-size: 14px;
    color: #6b21a8;
}

.ab-rug-sel-total strong {
    font-size: 18px;
    color: #5b21b6;
}

/* ============================================
   STAIN TEXTAREA
   ============================================ */
.ab-rug-stain-textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.2s;
}

.ab-rug-stain-textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
    background: #fff;
}

.ab-rug-stain-textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
}

/* ============================================
   DRYING TIME
   ============================================ */
.ab-rug-drying-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .ab-rug-drying-row { grid-template-columns: 1fr; }
}

.ab-rug-info-box {
    display: flex;
    gap: 12px;
    border-radius: 12px;
    padding: 16px;
}

.ab-rug-info-blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}

.ab-rug-info-amber {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
}

.ab-rug-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.ab-rug-info-blue .ab-rug-info-icon { color: #0284c7; }
.ab-rug-info-amber .ab-rug-info-icon { color: #d97706; }

.ab-rug-info-content {
    flex: 1;
}

.ab-rug-info-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ab-rug-info-blue strong { color: #0c4a6e; }
.ab-rug-info-amber strong { color: #92400e; }

.ab-rug-info-content p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 8px;
}

.ab-rug-info-blue p { color: #0c4a6e; }
.ab-rug-info-amber p { color: #92400e; }

.ab-rug-info-content p:last-child { margin-bottom: 0; }

.ab-rug-info-bullet {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #0c4a6e;
    line-height: 1.5;
    margin-top: 6px;
}

.ab-rug-info-bullet i {
    color: #0284c7;
    font-size: 11px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================
   EXCLUSIONS GRID
   ============================================ */
.ab-rug-exclusions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1024px) {
    .ab-rug-exclusions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .ab-rug-exclusions-grid { grid-template-columns: 1fr; }
}

.ab-rug-excl-card {
    border-radius: 12px;
    padding: 16px;
}

.ab-rug-excl-card.ab-excl-red {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
}

.ab-rug-excl-card.ab-excl-amber {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
}

.ab-rug-excl-card.ab-excl-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
}

.ab-rug-excl-card.ab-excl-teal {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1px solid #99f6e4;
}

.ab-rug-excl-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 10px;
}

.ab-excl-red .ab-rug-excl-icon    { color: #dc2626; }
.ab-excl-amber .ab-rug-excl-icon  { color: #d97706; }
.ab-excl-purple .ab-rug-excl-icon { color: #7e22ce; }
.ab-excl-teal .ab-rug-excl-icon   { color: #0d9488; }

.ab-rug-excl-card h6 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
}

.ab-excl-red h6    { color: #991b1b; }
.ab-excl-amber h6  { color: #92400e; }
.ab-excl-purple h6 { color: #6b21a8; }
.ab-excl-teal h6   { color: #115e59; }

.ab-rug-excl-card ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

.ab-rug-excl-card li {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 2px;
}

.ab-excl-red li { color: #991b1b; }

.ab-rug-excl-card p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

.ab-excl-amber p  { color: #92400e; }
.ab-excl-purple p { color: #6b21a8; }
.ab-excl-teal p   { color: #115e59; }


/* ============================================
   PEST MANAGEMENT LAYOUT (Card Selection)
   ============================================ */
.ab-pest-layout {
    /* margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0; */
}

/* ============================================
   TRUST BADGES ROW
   ============================================ */
.ab-pest-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .ab-pest-trust-row {
        justify-content: center;
    }
}

.ab-pest-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.ab-pest-trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}

.ab-trust-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ab-trust-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.ab-pest-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ab-pest-trust-text strong {
    font-size: 12px;
    color: #0f172a;
    font-weight: 700;
}

.ab-pest-trust-text span {
    font-size: 11px;
    color: #64748b;
}

/* ============================================
   SECTIONS
   ============================================ */
.ab-pest-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.ab-pest-section-spec {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}

.ab-pest-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    /* margin-bottom: 20px; */
}

.ab-pest-section-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ab-pest-number-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.ab-pest-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.ab-pest-section-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   TREATMENT CARDS GRID
   ============================================ */
.ab-pest-treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .ab-pest-treatments-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ab-pest-treatments-grid { grid-template-columns: 1fr; }
}

.ab-pest-treatment-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ab-pest-treatment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Color variants */
.ab-pest-card-green {
    border-color: #d1fae5;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%);
}

.ab-pest-card-green:hover { border-color: #10b981; }
.ab-pest-card-green.selected {
    border-color: #059669;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}

.ab-pest-card-blue {
    border-color: #dbeafe;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%);
}

.ab-pest-card-blue:hover { border-color: #3b82f6; }
.ab-pest-card-blue.selected {
    border-color: #2563eb;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

.ab-pest-card-purple {
    border-color: #f3e8ff;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 50%);
}

.ab-pest-card-purple:hover { border-color: #a855f7; }
.ab-pest-card-purple.selected {
    border-color: #7e22ce;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.2);
}

/* Card image */
.ab-pest-card-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    margin: 0 auto 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0,0,0,0.04);
}

.ab-pest-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card title */
.ab-pest-card-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px;
}

.ab-pest-card-green .ab-pest-card-title { color: #047857; }
.ab-pest-card-blue .ab-pest-card-title  { color: #1d4ed8; }
.ab-pest-card-purple .ab-pest-card-title{ color: #6b21a8; }

.ab-pest-card-desc {
    font-size: 13px;
    color: #475569;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 14px;
}

/* Badge */
.ab-pest-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ab-pest-badge-green {
    background: #d1fae5;
    color: #047857;
}

.ab-pest-badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.ab-pest-badge i { font-size: 12px; }

/* Features list */
.ab-pest-features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    flex: 1;
}

.ab-pest-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.ab-pest-features li i {
    color: #10b981;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ab-pest-card-blue .ab-pest-features li i { color: #3b82f6; }
.ab-pest-card-purple .ab-pest-features li i { color: #a855f7; }

/* Notes */
.ab-pest-note {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.5;
}

.ab-pest-note-green {
    background: #ecfdf5;
    color: #047857;
}

.ab-pest-note-blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.ab-pest-note i {
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ab-pest-note p {
    margin: 0;
}

/* Card footer */
.ab-pest-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    margin-top: auto;
}

.ab-pest-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.ab-pest-treatment-card.selected .ab-pest-radio {
    background: currentColor;
    border-color: currentColor;
}

.ab-pest-treatment-card.selected .ab-pest-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.ab-pest-card-green.selected .ab-pest-radio { color: #059669; }
.ab-pest-card-blue.selected .ab-pest-radio { color: #2563eb; }
.ab-pest-card-purple.selected .ab-pest-radio { color: #7e22ce; }

.ab-pest-price {
    font-size: 16px;
    font-weight: 800;
}

.ab-pest-card-green .ab-pest-price { color: #047857; }
.ab-pest-card-blue .ab-pest-price  { color: #1d4ed8; }
.ab-pest-card-purple .ab-pest-price{ color: #6b21a8; }

/* ============================================
   SPECIALISED TREATMENTS GRID
   ============================================ */
.ab-pest-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 1024px) {
    .ab-pest-spec-grid { grid-template-columns: 1fr; }
}

.ab-pest-spec-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 2px solid #fde68a;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.25s;
}

.ab-pest-spec-card:hover {
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.ab-pest-spec-card.selected {
    border-color: #d97706;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.ab-pest-spec-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fef3c7;
}

.ab-pest-spec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-pest-spec-content {
    flex: 1;
    min-width: 0;
}

.ab-pest-spec-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ab-pest-spec-content p {
    font-size: 12px;
    color: #a16207;
    line-height: 1.4;
    margin: 0;
}

.ab-pest-spec-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.ab-pest-spec-card:hover .ab-pest-spec-arrow {
    transform: translateX(2px);
}

.ab-pest-spec-card.selected .ab-pest-spec-arrow {
    background: #d97706;
    color: #fff;
}

/* ============================================
   PLEASE NOTE BANNER
   ============================================ */
.ab-pest-note-banner {
    display: flex;
    gap: 14px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 16px 20px;
}

.ab-pest-note-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ab-pest-note-content {
    flex: 1;
}

.ab-pest-note-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #075985;
    margin-bottom: 4px;
}

.ab-pest-note-content p {
    font-size: 13px;
    color: #0c4a6e;
    line-height: 1.6;
    margin: 0;
}


/* ============================================
   RODENT MANAGEMENT LAYOUT
   ============================================ */
.ab-rodent-layout {
    /* margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0; */
}

/* ============================================
   TOP BANNER
   ============================================ */
.ab-rodent-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
    overflow: hidden;
}

.ab-rodent-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}

.ab-rodent-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ab-rodent-banner-content strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 4px;
}

.ab-rodent-banner-content p {
    font-size: 13px;
    color: #166534;
    line-height: 1.5;
    margin: 0;
}

.ab-rodent-banner-img {
    width: 200px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.ab-rodent-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 640px) {
    .ab-rodent-banner-img {
        display: none;
    }
}

/* ============================================
   SECTIONS
   ============================================ */
.ab-rodent-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.ab-rodent-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    /* margin-bottom: 20px; */
}

.ab-rodent-section-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ab-rodent-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.ab-rodent-section-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   PROGRAM ROW (Features | Program Card)
   ============================================ */
.ab-rodent-program-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .ab-rodent-program-row { grid-template-columns: 1fr; }
}

/* Features Column */
.ab-rodent-features-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ab-rodent-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 12px;
}

.ab-rodent-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ab-rodent-feature strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 4px;
}

.ab-rodent-feature p {
    font-size: 12px;
    color: #166534;
    line-height: 1.5;
    margin: 0;
}

/* Program Column */
.ab-rodent-program-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ab-rodent-program-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s;
}

.ab-rodent-program-card:hover {
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.12);
}

.ab-rodent-program-card.selected {
    border-color: #15803d;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

.ab-rodent-program-radio {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.ab-rodent-program-card.selected .ab-rodent-program-radio {
    border-color: #15803d;
    background: #15803d;
}

.ab-rodent-program-card.selected .ab-rodent-program-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.ab-rodent-program-content {
    flex: 1;
}

.ab-rodent-program-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 6px;
}

.ab-rodent-program-content p {
    font-size: 13px;
    color: #166534;
    margin: 0 0 10px;
    line-height: 1.5;
}

.ab-rodent-program-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ab-rodent-program-price span {
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
}

.ab-rodent-program-price strong {
    font-size: 24px;
    font-weight: 800;
    color: #14532d;
}

/* Important Box */
.ab-rodent-important-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 14px 16px;
}

.ab-rodent-imp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.ab-rodent-imp-header i {
    color: #d97706;
    font-size: 14px;
}

.ab-rodent-imp-header strong {
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
}

.ab-rodent-important-box p {
    font-size: 12px;
    color: #92400e;
    line-height: 1.6;
    margin: 0 0 6px;
}

.ab-rodent-important-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   HOW IT WORKS STEPS
   ============================================ */
.ab-rodent-steps-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

@media (max-width: 1024px) {
    .ab-rodent-steps-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.ab-rodent-step {
    flex: 1;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    min-width: 140px;
}

.ab-rodent-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
    border: 2px solid #dcfce7;
}

.ab-rodent-step h6 {
    font-size: 13px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 6px;
}

.ab-rodent-step p {
    font-size: 11px;
    color: #166534;
    line-height: 1.5;
    margin: 0;
}

.ab-rodent-step-arrow {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .ab-rodent-step-arrow {
        display: none;
    }
}

/* ============================================
   IMPORTANT INFO GRID
   ============================================ */
.ab-rodent-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .ab-rodent-info-grid { grid-template-columns: 1fr; }
}

.ab-rodent-info-card {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 12px;
    padding: 16px;
}

.ab-rodent-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 12px;
}

.ab-rodent-info-card h6 {
    font-size: 14px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 8px;
}

.ab-rodent-info-card p {
    font-size: 12px;
    color: #166534;
    line-height: 1.6;
    margin: 0;
}



/* ============================================
   TERMITE MANAGEMENT LAYOUT
   ============================================ */
.ab-term-layout {
    /* margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0; */
}

/* ============================================
   TRUST BADGES ROW
   ============================================ */
.ab-term-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .ab-term-trust-row {
        justify-content: center;
    }
}

.ab-term-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.ab-term-trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}

.ab-term-trust-icon.ab-trust-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ab-term-trust-icon.ab-trust-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.ab-term-trust-icon.ab-trust-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.ab-term-trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ab-term-trust-text strong {
    font-size: 12px;
    color: #0f172a;
    font-weight: 700;
}

.ab-term-trust-text span {
    font-size: 11px;
    color: #64748b;
}

/* ============================================
   SECTIONS
   ============================================ */
.ab-term-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.ab-term-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    /* margin-bottom: 20px; */
}

.ab-term-section-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ab-term-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.ab-term-section-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   SERVICE CARDS GRID (4 cards)
   ============================================ */
.ab-term-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 1024px) {
    .ab-term-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ab-term-services-grid { grid-template-columns: 1fr; }
}

.ab-term-service-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ab-term-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Color variants */
.ab-term-card-green {
    border-color: #d1fae5;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 60%);
}
.ab-term-card-green:hover { border-color: #16a34a; }
.ab-term-card-green.selected {
    border-color: #15803d;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.2);
}

.ab-term-card-gray {
    border-color: #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 60%);
}
.ab-term-card-gray:hover { border-color: #64748b; }
.ab-term-card-gray.selected {
    border-color: #475569;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.2);
}

.ab-term-card-red {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 60%);
}
.ab-term-card-red:hover { border-color: #dc2626; }
.ab-term-card-red.selected {
    border-color: #b91c1c;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
}

.ab-term-card-blue {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%);
}
.ab-term-card-blue:hover { border-color: #2563eb; }
.ab-term-card-blue.selected {
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

/* Card image */
.ab-term-card-image {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.ab-term-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Card header */
.ab-term-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ab-term-card-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.ab-term-card-green .ab-term-card-number {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.ab-term-card-gray .ab-term-card-number {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.ab-term-card-red .ab-term-card-number {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.ab-term-card-blue .ab-term-card-number {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.ab-term-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

/* Features list */
.ab-term-features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    flex: 1;
}

.ab-term-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

.ab-term-features li i {
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ab-term-card-green .ab-term-features li i { color: #16a34a; }
.ab-term-card-gray .ab-term-features li i  { color: #64748b; }
.ab-term-card-red .ab-term-features li i   { color: #dc2626; }
.ab-term-card-blue .ab-term-features li i  { color: #2563eb; }

/* Card note */
.ab-term-card-note {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.5;
}

.ab-term-note-green {
    background: #ecfdf5;
    color: #047857;
}

.ab-term-note-gray {
    background: #f1f5f9;
    color: #334155;
}

.ab-term-note-red {
    background: #fef2f2;
    color: #b91c1c;
}

.ab-term-note-blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.ab-term-card-note i {
    font-size: 12px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ab-term-card-note p {
    margin: 0;
}

/* Card footer */
.ab-term-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    margin-top: auto;
}

.ab-term-price {
    font-size: 16px;
    font-weight: 800;
}

.ab-term-card-green .ab-term-price { color: #15803d; }
.ab-term-card-gray .ab-term-price  { color: #475569; }
.ab-term-card-red .ab-term-price   { color: #b91c1c; }
.ab-term-card-blue .ab-term-price  { color: #1d4ed8; }

.ab-term-quote {
    font-size: 14px;
    font-weight: 700;
    color: #1d4ed8;
}

.ab-term-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.ab-term-service-card.selected .ab-term-radio {
    background: currentColor;
    border-color: currentColor;
}

.ab-term-service-card.selected .ab-term-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.ab-term-card-green.selected .ab-term-radio { color: #15803d; }
.ab-term-card-gray.selected .ab-term-radio  { color: #475569; }
.ab-term-card-red.selected .ab-term-radio   { color: #b91c1c; }
.ab-term-card-blue.selected .ab-term-radio  { color: #1d4ed8; }

/* ============================================
   IMPORTANT THINGS TO KNOW
   ============================================ */
.ab-term-important-section {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.ab-term-important-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ab-term-important-header i {
    color: #d97706;
    font-size: 18px;
}

.ab-term-important-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin: 0;
}

.ab-term-important-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .ab-term-important-grid { grid-template-columns: 1fr; }
}

.ab-term-imp-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #fef3c7;
}

.ab-term-imp-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 10px;
}

.ab-term-imp-card h6 {
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 8px;
}

.ab-term-imp-card p {
    font-size: 12px;
    color: #78350f;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SIGNS NOTES SECTION
   ============================================ */
.ab-term-signs-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
    position: relative;
}

.ab-term-signs-q-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.ab-term-signs-q-header i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.ab-term-signs-q-header h5 {
    font-size: 14px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 4px;
}

.ab-term-signs-q-header h5 span {
    font-size: 12px;
    font-weight: 500;
    color: #16a34a;
}

.ab-term-signs-q-header p {
    font-size: 12px;
    color: #166534;
    margin: 0;
    opacity: 0.85;
}

.ab-term-signs-textarea {
    width: 100%;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s;
}

.ab-term-signs-textarea:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.ab-term-signs-textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.ab-term-char-count {
    text-align: right;
    font-size: 11px;
    color: #16a34a;
    margin-top: 6px;
    font-weight: 600;
}

/* ============================================
   COMMON SIGNS GRID
   ============================================ */
.ab-term-common-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.ab-term-common-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ab-term-common-header i {
    color: #0284c7;
    font-size: 16px;
}

.ab-term-common-header h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.ab-term-signs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

@media (max-width: 1024px) {
    .ab-term-signs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .ab-term-signs-grid { grid-template-columns: repeat(2, 1fr); }
}

.ab-term-sign {
    text-align: center;
}

.ab-term-sign-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f8fafc;
    margin: 0 auto 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.ab-term-sign-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-term-sign-label {
    font-size: 11px;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
}

/* ============================================
   PLEASE NOTE BANNER
   ============================================ */
.ab-term-note-banner {
    display: flex;
    gap: 14px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 16px 20px;
}

.ab-term-note-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ab-term-note-content {
    flex: 1;
}

.ab-term-note-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #075985;
    margin-bottom: 6px;
}

.ab-term-note-content p {
    font-size: 12px;
    color: #0c4a6e;
    line-height: 1.6;
    margin: 0 0 4px;
}

.ab-term-note-content p:last-child {
    margin-bottom: 0;
}


/* ============================================
   MODERN LOADER - SKELETON + SPINNER
   ============================================ */
.ab-skeleton-loader {
    padding: 20px 0;
    animation: ab-loader-fadein 0.3s ease;
}

@keyframes ab-loader-fadein {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ab-loader-fadeout {
    animation: ab-loader-fadeout 0.3s ease forwards;
}

@keyframes ab-loader-fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Loading Message Box */
.ab-loader-message {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.ab-loader-text {
    flex: 1;
}

.ab-loader-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #075985;
    margin-bottom: 2px;
}

.ab-loader-text span {
    font-size: 12px;
    color: #0c4a6e;
    opacity: 0.85;
}

/* Animated Spinner */
.ab-loader-spinner {
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
}

.ab-spinner-ring {
    width: 100%;
    height: 100%;
    border: 3px solid #bae6fd;
    border-top-color: #0284c7;
    border-radius: 50%;
    animation: ab-spinner-rotate 0.8s linear infinite;
}

@keyframes ab-spinner-rotate {
    to { transform: rotate(360deg); }
}

/* Skeleton Sections */
.ab-skeleton-section {
    margin-bottom: 20px;
}

.ab-skeleton-line {
    background: linear-gradient(
        90deg,
        #f1f5f9 0%,
        #e2e8f0 50%,
        #f1f5f9 100%
    );
    background-size: 200% 100%;
    border-radius: 6px;
    animation: ab-shimmer 1.5s ease-in-out infinite;
}

@keyframes ab-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ab-skeleton-line-title {
    height: 22px;
    width: 60%;
    margin-bottom: 10px;
}

.ab-skeleton-line-sub {
    height: 14px;
    width: 40%;
}

.ab-skeleton-line-block {
    height: 80px;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 12px;
}

.ab-skeleton-line-block-sm {
    height: 50px;
    width: 100%;
    border-radius: 12px;
}

/* Skeleton Grid (Card placeholders) */
.ab-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .ab-skeleton-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .ab-skeleton-grid { grid-template-columns: 1fr; }
}

.ab-skeleton-card {
    height: 100px;
    background: linear-gradient(
        90deg,
        #f1f5f9 0%,
        #e2e8f0 50%,
        #f1f5f9 100%
    );
    background-size: 200% 100%;
    border-radius: 12px;
    animation: ab-shimmer 1.5s ease-in-out infinite;
}

.ab-skeleton-card:nth-child(2) { animation-delay: 0.1s; }
.ab-skeleton-card:nth-child(3) { animation-delay: 0.2s; }
.ab-skeleton-card:nth-child(4) { animation-delay: 0.3s; }

/* ============================================
   ERROR STATE
   ============================================ */
.ab-loader-error {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 16px 20px;
    animation: ab-loader-fadein 0.3s ease;
}

.ab-loader-error-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ab-loader-error-content {
    flex: 1;
}

.ab-loader-error-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 4px;
}

.ab-loader-error-content p {
    font-size: 12px;
    color: #b91c1c;
    line-height: 1.5;
    margin: 0;
}


/* ============================================
   STEP HEADER - PREMIUM HERO DESIGN
   ============================================ */
.ab-step-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 36px 44px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #faf5ff 100%);
    border: 1px solid #e0ecff;
    border-radius: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 1px 3px rgba(8, 31, 77, 0.04),
        0 10px 40px rgba(8, 31, 77, 0.06);
    animation: ab-header-fadein 0.5s ease;
}

@keyframes ab-header-fadein {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   DECORATIVE BACKGROUND ELEMENTS
   ============================================ */
.ab-header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ab-deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.ab-deco-1 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(8, 31, 77, 0.04) 0%, transparent 70%);
    top: -60px;
    left: -40px;
}

.ab-deco-2 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    bottom: -80px;
    right: 30%;
}

.ab-deco-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #c7d8f3;
    border-radius: 50%;
    opacity: 0.6;
}

.ab-deco-3 {
    top: 30px;
    right: 38%;
}

.ab-deco-4 {
    bottom: 40px;
    left: 35%;
    background: #e9d5ff;
}

/* ============================================
   CONTENT
   ============================================ */
.ab-step-header-content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

/* Italic step tag with sparkle */
.ab-step-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #86efac;
    border-radius: 20px;
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.1);
}

.ab-step-tag i {
    font-size: 12px;
    color: #16a34a;
    animation: ab-sparkle 2s ease-in-out infinite;
}

@keyframes ab-sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50%      { transform: scale(1.2) rotate(15deg); opacity: 0.8; }
}

/* Page title */
.ab-page-title {
    font-size: 40px;
    font-weight: 800;
    color: #081f4d;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #081f4d 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.ab-page-sub {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 22px;
    max-width: 520px;
    font-weight: 500;
}

/* ============================================
   TRUST BADGES - PREMIUM STYLE
   ============================================ */
.ab-step-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px dashed #cbd5e1;
}

.ab-trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(8, 31, 77, 0.08);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s;
}

.ab-trust-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 31, 77, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.ab-trust-icon-wrap {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    flex-shrink: 0;
}

.ab-trust-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.ab-trust-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.ab-trust-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

/* ============================================
   HERO IMAGE
   ============================================ */
.ab-step-header-image {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.ab-header-image-wrapper {
    position: relative;
    width: 340px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e0ecff 100%);
    box-shadow: 
        0 4px 16px rgba(8, 31, 77, 0.08),
        0 12px 40px rgba(8, 31, 77, 0.12);
    transition: transform 0.3s ease;
}

.ab-header-image-wrapper:hover {
    transform: translateY(-4px) scale(1.01);
}

.ab-header-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ab-header-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Glow effect behind image */
.ab-header-image-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

    .ab-step-header {
        padding: 28px 32px;
        gap: 24px;
    }

    .ab-header-image-wrapper {
        width: 280px;
        height: 180px;
    }

    .ab-page-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {

    .ab-step-header {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 24px 28px;
        
    }
    .ab-step-header-image{
        display: none;
    }

    .ab-header-image-wrapper {
        width: 100%;
        height: 200px;
        order: -1;
    }

    .ab-page-title {
        font-size: 28px;
    }

    .ab-page-sub {
        font-size: 15px;
    }

    .ab-step-trust-badges {
        gap: 10px;
    }

    .ab-trust-badge-item {
        font-size: 12px;
        padding: 6px 12px;
    }

    .ab-trust-icon-wrap {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {

    .ab-step-header {
        padding: 20px;
        border-radius: 18px;
    }
   
    .ab-page-title {
        font-size: 24px;
    }

    .ab-step-tag {
        font-size: 12px;
        padding: 4px 12px;
    }

    .ab-header-image-wrapper {
        height: 160px;
        border-radius: 14px;
    }

    .ab-step-trust-badges {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .ab-trust-badge-item {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ============================================
   ============================================
   COMBO DEALS - COMPLETE CSS (UPGRADED)
   Step 2 Cards + Modal + Full Mobile Responsive
   ============================================
   ============================================ */


/* ============================================
   STEP 2 - COMBOS SECTION (Green Container)
   ============================================ */
.ab-combos-section {
    margin-top: 30px;
    padding: 28px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ab-combos-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ab-combos-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.ab-combos-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.ab-combos-title-wrap {
    flex: 1;
    min-width: 0;
}

.ab-combos-title {
    font-size: 18px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ab-combos-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #15803d;
    margin: 0;
    font-weight: 500;
}

.ab-combos-sub i {
    color: #16a34a;
    font-size: 11px;
}


/* ============================================
   STEP 2 - COMBOS GRID (3 cards)
   ============================================ */
.ab-combos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .ab-combos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ab-combos-grid { grid-template-columns: 1fr; }
}


/* ============================================
   STEP 2 - INDIVIDUAL COMBO CARD
   ============================================ */
.ab-combo-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.ab-combo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.15);
    border-color: #16a34a;
}

.ab-combo-card.selected {
    border-color: #15803d;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.2);
}

.ab-combo-card.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    background: #15803d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4);
}

/* Badge (top-left corner) */
.ab-combo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ab-combo-badge-best_value,
.ab-combo-badge-popular,
.ab-combo-badge-great_value {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.ab-combo-badge-save_big {
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
}

.ab-combo-badge-custom {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

/* Combo Featured Image */
.ab-combo-image {
    height: 140px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    overflow: hidden;
    position: relative;
}

.ab-combo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ab-combo-card:hover .ab-combo-image img {
    transform: scale(1.05);
}

/* Combo Body */
.ab-combo-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ab-combo-title {
    font-size: 15px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ab-combo-desc {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 12px;
    flex: 1;
}

/* Pricing Row */
.ab-combo-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed #bbf7d0;
    gap: 8px;
    flex-wrap: wrap;
}

.ab-combo-save-label {
    display: inline-block;
    padding: 4px 10px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.ab-combo-price-wrap {
    text-align: right;
}

.ab-combo-original-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
    margin-right: 4px;
}

.ab-combo-price {
    font-size: 18px;
    font-weight: 800;
    color: #14532d;
}


/* ============================================
   VIEW ALL COMBOS BUTTON
   ============================================ */
.ab-combos-view-all {
    text-align: center;
    margin-top: 14px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.ab-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px dashed #86efac;
    border-radius: 100px;
    color: #15803d;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
}

.ab-view-all-btn:hover {
    background: #fff;
    border-color: #16a34a;
    border-style: solid;
    color: #14532d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.ab-view-all-btn strong {
    font-weight: 800;
    color: #14532d;
}

.ab-view-all-btn i {
    font-size: 12px;
    transition: transform 0.2s;
}

.ab-view-all-btn:hover i:last-child {
    transform: translateX(3px);
}


/* ============================================
   BOTTOM TIP
   ============================================ */
.ab-combos-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    font-size: 12px;
    color: #15803d;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.ab-combos-tip i {
    color: #16a34a;
    flex-shrink: 0;
}


/* ============================================
   LOADING SKELETON
   ============================================ */
.ab-combos-loading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 1024px) {
    .ab-combos-loading { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ab-combos-loading { grid-template-columns: 1fr; }
}

.ab-combo-skeleton {
    height: 280px;
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 100%;
    border-radius: 16px;
    animation: ab-shimmer 1.5s ease-in-out infinite;
}

@keyframes ab-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* ============================================
   SUMMARY BAR - COMBO CHIP
   ============================================ */
.ab-summary-combo-chip {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
    color: #15803d !important;
    border: 1px solid #86efac;
    font-weight: 700;
}

.ab-summary-combo-chip i {
    margin-right: 4px;
    color: #16a34a;
}


/* ============================================
   ============================================
   COMBOS MODAL - ALL COMBOS
   ============================================
   ============================================ */

#ab-combos-modal {
    background: rgba(8, 31, 77, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    padding: 20px;
    align-items: flex-start;
    padding-top: 30px;
    padding-bottom: 30px;
}

.ab-combos-modal-box {
    max-width: 1100px !important;
    width: 100%;
    max-height: calc(100vh - 60px);
    padding: 0;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}


/* ============================================
   MODAL HEADER (Sticky Top)
   ============================================ */
.ab-combos-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 28px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    flex-shrink: 0;
    background: #fff;
}

.ab-combos-modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.ab-combos-modal-title-wrap {
    flex: 1;
    min-width: 0;
    padding-right: 40px;
}

.ab-combos-modal-title-wrap h3 {
    font-size: 22px;
    font-weight: 800;
    color: #081f4d;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ab-combos-modal-title-wrap p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.ab-combos-modal-header .ab-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.ab-combos-modal-header .ab-modal-close:hover {
    background: #e2e8f0;
    color: #081f4d;
    transform: rotate(90deg);
}


/* ============================================
   TRUST BADGES (Sticky)
   ============================================ */
.ab-combos-modal-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 14px 28px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.ab-combo-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.ab-combo-trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

.ab-combo-trust-icon.ab-trust-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ab-combo-trust-icon.ab-trust-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.ab-combo-trust-icon.ab-trust-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}


/* ============================================
   SUB HEADER
   ============================================ */
.ab-combos-modal-sub {
    text-align: center;
    padding: 18px 28px 12px;
    flex-shrink: 0;
    background: #fff;
}

.ab-combos-modal-sub h4 {
    font-size: 20px;
    font-weight: 700;
    color: #081f4d;
    margin: 0 0 4px;
}

.ab-combos-modal-sub p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}


/* ============================================
   MODAL BODY (Scrollable)
   ============================================ */
.ab-combos-modal-box .ab-modal-body {
    padding: 16px 28px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 200px;
}

.ab-combos-modal-box .ab-modal-body::-webkit-scrollbar {
    width: 8px;
}

.ab-combos-modal-box .ab-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.ab-combos-modal-box .ab-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ab-combos-modal-box .ab-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* ============================================
   MODAL COMBOS GRID (2 columns)
   ============================================ */
.ab-combos-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (max-width: 768px) {
    .ab-combos-modal-grid { grid-template-columns: 1fr; }
}


/* ============================================
   MODAL COMBO CARD (Detailed View)
   ============================================ */
.ab-modal-combo-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ab-modal-combo-card:hover {
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.12);
}

.ab-modal-combo-card.selected {
    border-color: #15803d;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

.ab-modal-combo-card.selected::after {
    content: '✓';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    background: #15803d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4);
}

/* Combo number tag (top-left) */
.ab-modal-combo-tag {
    position: absolute;
    top: 12px;
    left: 0;
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
    color: #fff;
    padding: 6px 14px 6px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 0 6px 6px 0;
    text-transform: uppercase;
    z-index: 4;
    box-shadow: 0 2px 6px rgba(20, 83, 45, 0.3);
}

/* Modal Combo Image */
.ab-modal-combo-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    overflow: hidden;
    position: relative;
}

.ab-modal-combo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ab-modal-combo-card:hover .ab-modal-combo-image img {
    transform: scale(1.05);
}

/* Modal Combo Body */
.ab-modal-combo-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ab-modal-combo-title {
    font-size: 18px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 6px;
    line-height: 1.3;
}

.ab-modal-combo-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 14px;
}

/* Features list */
.ab-modal-combo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex: 1;
}

.ab-modal-combo-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    border-bottom: 1px dashed #f1f5f9;
}

.ab-modal-combo-features li:last-child {
    border-bottom: none;
}

.ab-modal-combo-features li i {
    color: #16a34a;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.ab-modal-combo-features li strong {
    color: #14532d;
    display: block;
    margin-bottom: 2px;
}

.ab-modal-combo-features li span {
    font-size: 12px;
    color: #64748b;
}

/* Pricing Footer (3 columns: Usually | Combo | Save) */
.ab-modal-combo-pricing {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.ab-modal-price-box {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
}

.ab-modal-price-box-original {
    background: #f8fafc;
}

.ab-modal-price-box-combo {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
}

.ab-modal-price-box-save {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.ab-modal-price-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.ab-modal-price-box-combo .ab-modal-price-label {
    color: #15803d;
}

.ab-modal-price-box-save .ab-modal-price-label {
    color: #92400e;
}

.ab-modal-price-value {
    font-size: 18px;
    font-weight: 800;
    color: #475569;
}

.ab-modal-price-box-original .ab-modal-price-value {
    text-decoration: line-through;
}

.ab-modal-price-box-combo .ab-modal-price-value {
    color: #14532d;
    font-size: 22px;
}

.ab-modal-price-box-save .ab-modal-price-value {
    color: #92400e;
}


/* ============================================
   MODAL FOOTER (Sticky Bottom)
   ============================================ */
.ab-combos-modal-footer {
    padding: 16px 28px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-top: 1px solid #bbf7d0;
    flex-shrink: 0;
}

.ab-combo-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ab-combo-why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ab-combo-why-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.ab-combo-why-icon.ab-why-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ab-combo-why-icon.ab-why-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.ab-combo-why-icon.ab-why-purple {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
}

.ab-combo-why-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 2px;
}

.ab-combo-why-item span {
    font-size: 12px;
    color: #166534;
    line-height: 1.5;
}


/* ============================================
   SUMMARY BAR - HIDE WHEN MODAL OPEN
   ============================================ */
.ab-summary-bar {
    transition: all 0.3s ease;
}

.ab-summary-bar.ab-summary-hidden {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}


/* ============================================
   ============================================
   📱 MOBILE RESPONSIVE - TABLET (≤ 992px)
   ============================================
   ============================================ */
@media (max-width: 992px) {

    .ab-combos-section {
        padding: 22px;
    }

    .ab-combos-modal-badges {
        gap: 20px;
    }

    .ab-combo-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
   ============================================
   📱 MOBILE RESPONSIVE - TABLET SMALL (≤ 768px)
   FULL SCREEN MODAL FOR BETTER UX
   ============================================
   ============================================ */
@media (max-width: 768px) {

    /* ===== Step 2 Section ===== */
    .ab-combos-section {
        padding: 18px;
        border-radius: 16px;
        margin-top: 20px;
    }

    .ab-combos-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .ab-combos-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .ab-combos-title {
        font-size: 16px;
    }

    .ab-combos-sub {
        font-size: 11px;
    }

    /* ===== MODAL - FULL SCREEN ON MOBILE ===== */
    #ab-combos-modal {
        padding: 0 !important;
        align-items: stretch !important;
    }

    .ab-combos-modal-box {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 100vh !important;
        height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    /* ===== Modal Header ===== */
    .ab-combos-modal-header {
        padding: 16px 18px;
        gap: 12px;
    }

    .ab-combos-modal-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
        border-radius: 12px;
    }

    .ab-combos-modal-title-wrap {
        padding-right: 44px;
    }

    .ab-combos-modal-title-wrap h3 {
        font-size: 18px;
    }

    .ab-combos-modal-title-wrap p {
        font-size: 12px;
    }

    .ab-combos-modal-header .ab-modal-close {
        top: 16px;
        right: 14px;
        width: 34px;
        height: 34px;
    }

    /* ===== Trust Badges - Horizontal Scroll ===== */
    .ab-combos-modal-badges {
        gap: 14px;
        padding: 10px 18px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ab-combos-modal-badges::-webkit-scrollbar {
        display: none;
    }

    .ab-combo-trust-item {
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ab-combo-trust-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* ===== Sub Header ===== */
    .ab-combos-modal-sub {
        padding: 12px 18px 8px;
    }

    .ab-combos-modal-sub h4 {
        font-size: 17px;
    }

    .ab-combos-modal-sub p {
        font-size: 12px;
    }

    /* ===== Body (Scrollable) ===== */
    .ab-combos-modal-box .ab-modal-body {
        padding: 12px 16px 16px;
    }

    .ab-combos-modal-grid {
        gap: 14px;
    }

    /* ===== Modal Combo Card ===== */
    .ab-modal-combo-image {
        height: 140px;
    }

    .ab-modal-combo-body {
        padding: 16px;
    }

    .ab-modal-combo-title {
        font-size: 16px;
    }

    .ab-modal-combo-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .ab-modal-combo-features li {
        font-size: 12px;
        padding: 6px 0;
    }

    .ab-modal-combo-features li span {
        font-size: 11px;
    }

    /* Pricing - Keep 3 columns but compact */
    .ab-modal-combo-pricing {
        grid-template-columns: 1fr 1.3fr 1fr;
        gap: 6px;
        padding-top: 12px;
    }

    .ab-modal-price-box {
        padding: 8px 4px;
    }

    .ab-modal-price-label {
        font-size: 9px;
    }

    .ab-modal-price-value {
        font-size: 15px;
    }

    .ab-modal-price-box-combo .ab-modal-price-value {
        font-size: 18px;
    }

    /* ===== Footer ===== */
    .ab-combos-modal-footer {
        padding: 14px 18px;
    }

    .ab-combo-why-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ab-combo-why-item {
        gap: 10px;
    }

    .ab-combo-why-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .ab-combo-why-item strong {
        font-size: 13px;
    }

    .ab-combo-why-item span {
        font-size: 11px;
    }
}


/* ============================================
   ============================================
   📱 MOBILE RESPONSIVE - PHONE (≤ 480px)
   ============================================
   ============================================ */
@media (max-width: 480px) {

    .ab-combos-section {
        padding: 16px;
        border-radius: 14px;
    }

    .ab-combos-modal-header {
        padding: 14px 14px;
    }

    .ab-combos-modal-title-wrap h3 {
        font-size: 16px;
    }

    .ab-combos-modal-badges {
        padding: 10px 14px;
        gap: 12px;
    }

    .ab-combos-modal-sub {
        padding: 10px 14px 6px;
    }

    .ab-combos-modal-sub h4 {
        font-size: 16px;
    }

    .ab-combos-modal-box .ab-modal-body {
        padding: 10px 12px 14px;
    }

    .ab-modal-combo-image {
        height: 120px;
    }

    .ab-modal-combo-body {
        padding: 14px;
    }

    .ab-modal-combo-title {
        font-size: 15px;
    }

    /* Pricing - Stack vertically OR keep compact 3 col */
    .ab-modal-combo-pricing {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 5px;
    }

    .ab-modal-price-box {
        padding: 7px 3px;
    }

    .ab-modal-price-label {
        font-size: 8px;
        letter-spacing: 0;
    }

    .ab-modal-price-value {
        font-size: 13px;
    }

    .ab-modal-price-box-combo .ab-modal-price-value {
        font-size: 16px;
    }

    .ab-combos-modal-footer {
        padding: 12px 14px;
    }
}


/* ============================================
   COMBO CONFIRMATION MODAL
   ============================================ */
.ab-confirm-modal-box {
    max-width: 440px !important;
    text-align: center;
    padding: 0;
}

.ab-confirm-icon {
    width: 80px;
    height: 80px;
    margin: 36px auto 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #d97706;
    animation: ab-pulse-soft 1.8s ease-in-out infinite;
}

@keyframes ab-pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ab-confirm-content {
    padding: 0 32px 24px;
}

.ab-confirm-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #081f4d;
    margin: 0 0 12px;
}

.ab-confirm-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.ab-confirm-footer {
    display: flex;
    gap: 10px;
    padding: 20px 32px 28px;
    border-top: 1px solid #f1f5f9;
}

.ab-confirm-footer .ab-modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ab-confirm-footer .ab-modal-btn-cancel {
    background: #f1f5f9;
    color: #475569;
}

.ab-confirm-footer .ab-modal-btn-cancel:hover {
    background: #e2e8f0;
}

.ab-confirm-footer .ab-modal-btn-confirm {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ab-confirm-footer .ab-modal-btn-confirm:hover {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    transform: translateY(-1px);
}

/* Confirm Modal Mobile */
@media (max-width: 480px) {
    .ab-confirm-modal-box {
        max-width: 92% !important;
    }
    
    .ab-confirm-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
        margin: 28px auto 14px;
    }
    
    .ab-confirm-content {
        padding: 0 20px 20px;
    }
    
    .ab-confirm-content h3 {
        font-size: 18px;
    }
    
    .ab-confirm-content p {
        font-size: 13px;
    }
    
    .ab-confirm-footer {
        padding: 16px 20px 22px;
        flex-direction: column;
    }
}


/* ============================================
   ============================================
   SERVICE IN COMBO - DISABLED STATE
   UPGRADED - Better Mobile Layout
   ============================================
   ============================================ */

.ab-service-item.ab-combo-locked {
    opacity: 0.65;
    pointer-events: none;
    position: relative;
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Locked overlay effect */
.ab-service-item.ab-combo-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.03) 0%, rgba(21, 128, 61, 0.05) 100%);
    border-radius: 14px;
    pointer-events: none;
    z-index: 1;
}

/* "In Combo" Badge - Top Right */
.ab-service-item.ab-combo-locked::after {
    content: '🎁 Part of selected combo';
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
    white-space: nowrap;
}

/* Hide price + checkbox when locked (cleaner look) */
.ab-service-item.ab-combo-locked .ab-service-right {
    visibility: hidden;
}

/* Dim the icon and text */
.ab-service-item.ab-combo-locked .ab-service-icon,
.ab-service-item.ab-combo-locked .ab-service-text {
    filter: grayscale(0.3);
}


/* ============================================
   📱 TABLET (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
    
    .ab-service-item.ab-combo-locked::after {
        content: '🎁 In combo';
        font-size: 10px;
        padding: 4px 10px;
        top: 10px;
        right: 10px;
    }
    
    /* Give space at top for badge so it doesn't overlap content */
    .ab-service-item.ab-combo-locked .ab-service-header {
        padding-top: 32px;
    }
}


/* ============================================
   📱 PHONE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
    
    .ab-service-item.ab-combo-locked::after {
        content: '🎁 In combo';
        font-size: 9px;
        padding: 3px 8px;
        top: 8px;
        right: 8px;
        border-radius: 100px;
    }
    
    .ab-service-item.ab-combo-locked .ab-service-header {
        padding-top: 28px;
    }
}


/* ============================================
   📱 EXTRA SMALL (≤ 360px)
   ============================================ */
@media (max-width: 360px) {
    
    .ab-service-item.ab-combo-locked::after {
        content: '🎁';
        font-size: 12px;
        padding: 4px 8px;
        top: 6px;
        right: 6px;
    }
    
    .ab-service-item.ab-combo-locked .ab-service-header {
        padding-top: 24px;
    }
}


/* ============================================
   COMBO ACTIVE INDICATOR
   ============================================ */
.ab-combo-card.selected .ab-combo-active-tag {
    display: inline-block;
}

.ab-combo-active-tag {
    display: none;
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 4;
    animation: ab-fade-in 0.3s ease;
}

@keyframes ab-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}





/* ============================================
   PREVENT BODY SCROLL WHEN MODAL OPEN
   ============================================ */
body.ab-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}