/* ==========================================================================
   AfriDelivery - Laundry Service Modern Styles
   ========================================================================== */

:root {
    --laundry-primary: #B02527;
    --laundry-primary-hover: #8f1c1e;
    --laundry-primary-light: #fff1f2;
    --laundry-secondary: #2563eb;
    --laundry-secondary-light: #eff6ff;
    --laundry-success: #16a34a;
    --laundry-success-light: #f0fdf4;
    --laundry-bg-card: #ffffff;
    --laundry-bg-subtle: #f8fafc;
    --laundry-text-main: #1e293b;
    --laundry-text-muted: #64748b;
    --laundry-border: #e2e8f0;
    --laundry-border-focus: #B02527;
    --laundry-radius-sm: 8px;
    --laundry-radius-md: 12px;
    --laundry-radius-lg: 18px;
    --laundry-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --laundry-shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --laundry-shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
}

.laundry-page-wrapper {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 14px 130px 14px !important;
    animation: afriLaundryFadeIn 0.35s ease-out;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

.laundry-partner-view,
#laundry_view_ecorinse,
#laundry_view_generic,
#ecorinse_booking_form,
#laundry_booking_form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    min-width: 0;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .laundry-page-wrapper {
        padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

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

/* Hero Banner */
.laundry-hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #B02527 0%, #801618 100%);
    border-radius: var(--laundry-radius-lg);
    padding: 24px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(176, 37, 39, 0.25);
    position: relative;
    overflow: hidden;
}

.laundry-hero::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.laundry-hero-content {
    flex: 1;
    padding-right: 15px;
}

.laundry-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
    line-height: 1.2;
}

.laundry-hero-subtitle {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

.laundry-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.laundry-hero-icon {
    width: 72px;
    height: 72px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.laundry-hero-icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

/* Form Sections / Cards */
.laundry-card {
    background: var(--laundry-bg-card);
    border-radius: var(--laundry-radius-md);
    padding: 20px;
    margin-bottom: 18px;
    border: 1px solid var(--laundry-border);
    box-shadow: var(--laundry-shadow-sm);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.laundry-card:hover {
    box-shadow: var(--laundry-shadow-md);
}

.laundry-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--laundry-border);
}

.laundry-card-header .card-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--laundry-radius-sm);
    background: var(--laundry-primary-light);
    color: var(--laundry-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
}

.laundry-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--laundry-text-main);
    margin: 0;
}

.laundry-card-subtitle {
    font-size: 0.82rem;
    color: var(--laundry-text-muted);
    margin-top: 2px;
}

.laundry-required-star {
    color: var(--laundry-primary);
    margin-left: 2px;
}

/* 1. Items Multi-Select Grid */
.laundry-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.laundry-item-tile {
    position: relative;
    background: var(--laundry-bg-subtle);
    border: 2px solid var(--laundry-border);
    border-radius: var(--laundry-radius-md);
    padding: 16px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.laundry-item-tile:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--laundry-shadow-sm);
}

.laundry-item-tile.selected {
    background: #fff5f5;
    border-color: var(--laundry-primary);
    box-shadow: 0 4px 12px rgba(176, 37, 39, 0.15);
    transform: translateY(-2px);
}

.laundry-item-emoji {
    font-size: 2.2rem;
    margin-bottom: 8px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.laundry-item-tile.selected .laundry-item-emoji {
    transform: scale(1.1);
}

.laundry-item-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--laundry-text-main);
}

.laundry-item-tile.selected .laundry-item-label {
    color: var(--laundry-primary);
}

.laundry-item-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.2s ease;
    opacity: 0.4;
}

.laundry-item-tile.selected .laundry-item-check {
    background: var(--laundry-primary);
    opacity: 1;
}

/* 2. Service Type Single Select Cards */
.laundry-service-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
}

.laundry-service-card {
    position: relative;
    border: 2px solid var(--laundry-border);
    background: var(--laundry-bg-subtle);
    border-radius: var(--laundry-radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    min-width: 0;
}

.laundry-service-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.laundry-service-card.selected {
    background: #fff5f5;
    border-color: var(--laundry-primary);
    box-shadow: 0 4px 14px rgba(176, 37, 39, 0.12);
}

.laundry-service-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.laundry-service-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--laundry-radius-sm);
    background: #ffffff;
    border: 1px solid var(--laundry-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.laundry-service-card.selected .laundry-service-icon {
    background: var(--laundry-primary-light);
    border-color: var(--laundry-primary);
}

.laundry-service-text h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--laundry-text-main);
    margin: 0 0 3px 0;
}

.laundry-service-card.selected .laundry-service-text h5 {
    color: var(--laundry-primary);
}

.laundry-service-text p {
    font-size: 0.84rem;
    color: var(--laundry-text-muted);
    margin: 0;
}

.laundry-radio-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.laundry-service-card.selected .laundry-radio-indicator {
    border-color: var(--laundry-primary);
    background: var(--laundry-primary);
}

.laundry-radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.laundry-service-card.selected .laundry-radio-indicator::after {
    opacity: 1;
    transform: scale(1);
}

/* 3. Inputs and Layout */
.laundry-form-row {
    margin-bottom: 16px;
}

.laundry-form-row:last-child {
    margin-bottom: 0;
}

.laundry-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 580px) {
    .laundry-grid-2 {
        grid-template-columns: 1fr;
    }
}

.laundry-input-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--laundry-text-main);
    margin-bottom: 6px;
}

.laundry-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.laundry-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--laundry-text-muted);
    font-size: 1.15rem;
    pointer-events: none;
    z-index: 5 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.laundry-page-wrapper input[type=text],
.laundry-page-wrapper input[type=tel],
.laundry-page-wrapper input[type=email],
.laundry-page-wrapper input[type=date],
.laundry-page-wrapper input.laundry-input, 
.laundry-page-wrapper select.laundry-select, 
.laundry-page-wrapper textarea.laundry-textarea,
.laundry-input, 
.laundry-select, 
.laundry-textarea,
#laundry_pickup_date {
    width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 14px 0 44px !important;
    font-size: 0.95rem !important;
    color: var(--laundry-text-main) !important;
    background-color: var(--laundry-bg-subtle) !important;
    background-image: none !important;
    border: 1.5px solid var(--laundry-border) !important;
    border-radius: var(--laundry-radius-sm) !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: normal !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.laundry-page-wrapper select.laundry-select,
.laundry-select {
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 20px !important;
    padding-right: 36px !important;
}

.laundry-input-no-icon {
    padding-left: 14px !important;
}

.laundry-page-wrapper input.laundry-input:focus, 
.laundry-page-wrapper select.laundry-select:focus, 
.laundry-page-wrapper textarea.laundry-textarea:focus,
.laundry-input:focus, 
.laundry-select:focus, 
.laundry-textarea:focus,
#laundry_pickup_date:focus {
    outline: none !important;
    background-color: #ffffff !important;
    border-color: var(--laundry-primary) !important;
    box-shadow: 0 0 0 3px rgba(176, 37, 39, 0.12) !important;
}

.laundry-page-wrapper input[type="date"].laundry-input,
.laundry-page-wrapper input[type="date"],
input[type="date"].laundry-input,
#laundry_pickup_date {
    cursor: pointer !important;
    position: relative !important;
}

.laundry-page-wrapper input[type="date"]::-webkit-calendar-picker-indicator,
.laundry-page-wrapper input[type="date"].laundry-input::-webkit-calendar-picker-indicator,
input[type="date"].laundry-input::-webkit-calendar-picker-indicator,
#laundry_pickup_date::-webkit-calendar-picker-indicator {
    background: transparent !important;
    bottom: 0 !important;
    color: transparent !important;
    cursor: pointer !important;
    height: 100% !important;
    left: 0 !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    z-index: 2 !important;
}

.laundry-page-wrapper textarea.laundry-textarea,
.laundry-textarea {
    height: auto !important;
    min-height: 90px !important;
    padding: 12px 14px !important;
    line-height: 1.5 !important;
    resize: vertical !important;
}

.laundry-city-badge {
    display: flex !important;
    align-items: center !important;
    height: 48px !important;
    gap: 8px !important;
    padding: 0 14px !important;
    background: var(--laundry-bg-subtle) !important;
    border-radius: var(--laundry-radius-sm) !important;
    border: 1.5px solid var(--laundry-border) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--laundry-text-main) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* 4. Payment Method Options */
.laundry-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.laundry-payment-card {
    position: relative;
    border: 2px solid var(--laundry-border);
    background: var(--laundry-bg-subtle);
    border-radius: var(--laundry-radius-md);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.laundry-payment-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.laundry-payment-card.selected {
    background: #fff5f5;
    border-color: var(--laundry-primary);
    box-shadow: 0 4px 14px rgba(176, 37, 39, 0.12);
    transform: translateY(-2px);
}

.laundry-payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.laundry-payment-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.laundry-payment-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--laundry-text-main);
}

.laundry-payment-card.selected .laundry-payment-name {
    color: var(--laundry-primary);
}

.laundry-payment-desc {
    font-size: 0.78rem;
    color: var(--laundry-text-muted);
}

.laundry-wallet-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 4px;
}

/* Collection & Delivery Service Type Cards */
.laundry-delivery-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

@media (max-width: 540px) {
    .laundry-delivery-type-grid {
        grid-template-columns: 1fr;
    }
}

.laundry-delivery-card {
    position: relative;
    border: 2px solid var(--laundry-border);
    background: var(--laundry-bg-subtle);
    border-radius: var(--laundry-radius-md);
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.laundry-delivery-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.laundry-delivery-card.selected {
    background: #ecfdf5;
    border-color: #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
    transform: translateY(-2px);
}

body.dark_mode .laundry-delivery-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark_mode .laundry-delivery-card.selected {
    background: #064e3b;
    border-color: #059669;
}

.delivery-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.delivery-badge-pill {
    background: #059669;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delivery-card-icon {
    font-size: 1.4rem;
}

.delivery-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--laundry-text-main);
}

.laundry-delivery-card.selected .delivery-card-name {
    color: #059669;
}

body.dark_mode .laundry-delivery-card.selected .delivery-card-name {
    color: #34d399;
}

.delivery-card-desc {
    font-size: 0.78rem;
    color: var(--laundry-text-muted);
    line-height: 1.35;
    flex: 1;
}

.delivery-card-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border-radius: 6px;
    padding: 4px 8px;
    margin-top: 4px;
    display: inline-block;
    align-self: flex-start;
}

body.dark_mode .delivery-card-price {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
}

/* Submit Action Button */
.laundry-submit-container {
    margin-top: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    padding: 0;
}

.laundry-submit-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    padding: 16px 20px;
    background: linear-gradient(135deg, #B02527 0%, #8f1c1e 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(176, 37, 39, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.laundry-submit-btn i {
    flex-shrink: 0;
    font-size: 22px;
}

.laundry-submit-btn span {
    min-width: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
}

.laundry-submit-btn:hover {
    background: linear-gradient(135deg, #9b1e20 0%, #7d1719 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(176, 37, 39, 0.45);
}

.laundry-submit-btn:active {
    transform: translateY(0);
}

.laundry-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* User Account Info Bar */
.laundry-account-status {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--laundry-radius-sm);
    padding: 8px 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--laundry-text-muted);
}

.laundry-account-status.signed-in {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

/* Dark Mode Overrides */
body.dark_mode .laundry-page-wrapper {
    color: #e2e8f0;
}

body.dark_mode .laundry-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark_mode .laundry-card-header {
    border-color: #334155;
}

body.dark_mode .laundry-card-title {
    color: #f1f5f9;
}

body.dark_mode .laundry-card-subtitle {
    color: #94a3b8;
}

body.dark_mode .laundry-item-tile,
body.dark_mode .laundry-service-card,
body.dark_mode .laundry-payment-card {
    background: #0f172a;
    border-color: #334155;
}

body.dark_mode .laundry-item-tile:hover,
body.dark_mode .laundry-service-card:hover,
body.dark_mode .laundry-payment-card:hover {
    background: #1e293b;
    border-color: #475569;
}

body.dark_mode .laundry-item-tile.selected,
body.dark_mode .laundry-service-card.selected,
body.dark_mode .laundry-payment-card.selected {
    background: #3b1113;
    border-color: #B02527;
}

body.dark_mode .laundry-item-label,
body.dark_mode .laundry-service-text h5,
body.dark_mode .laundry-payment-name,
body.dark_mode .laundry-input-label {
    color: #f1f5f9;
}

body.dark_mode .laundry-page-wrapper input.laundry-input,
body.dark_mode .laundry-page-wrapper select.laundry-select,
body.dark_mode .laundry-page-wrapper textarea.laundry-textarea,
body.dark_mode .laundry-input,
body.dark_mode .laundry-select,
body.dark_mode .laundry-textarea,
body.dark_mode .laundry-city-badge {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

body.dark_mode .laundry-page-wrapper input.laundry-input:focus,
body.dark_mode .laundry-page-wrapper select.laundry-select:focus,
body.dark_mode .laundry-page-wrapper textarea.laundry-textarea:focus,
body.dark_mode .laundry-input:focus,
body.dark_mode .laundry-select:focus,
body.dark_mode .laundry-textarea:focus {
    background-color: #1e293b !important;
    border-color: var(--laundry-primary) !important;
}

body.dark_mode .laundry-account-status {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

body.dark_mode .laundry-account-status.signed-in {
    background: #064e3b;
    border-color: #059669;
    color: #6ee7b7;
}

/* ==========================================================================
   PARTNER SELECTOR (SWITCHER) STYLES
   ========================================================================== */

.laundry-partner-selector-wrapper {
    display: none !important;
    margin-bottom: 20px;
}

.laundry-partner-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: var(--laundry-radius-md);
    border: 1px solid var(--laundry-border);
}

.laundry-partner-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--laundry-radius-sm);
    border: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

.laundry-partner-tab:hover {
    background: rgba(255, 255, 255, 0.6);
}

.laundry-partner-tab.active {
    background: #ffffff;
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.laundry-partner-tab[data-partner="generic"].active {
    border-color: var(--laundry-primary);
    box-shadow: 0 4px 12px rgba(176, 37, 39, 0.15);
}

.tab-badge-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.tab-text-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tab-main-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--laundry-text-main);
    line-height: 1.2;
}

.tab-sub-label {
    font-size: 0.72rem;
    color: var(--laundry-text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ==========================================================================
   ECORINSE HERO & BRANDING
   ========================================================================== */

.ecorinse-hero {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%) !important;
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.28) !important;
}

.ecorinse-badge {
    background: rgba(255, 255, 255, 0.25) !important;
}

.ecorinse-card-icon {
    background: #059669 !important;
}

/* ==========================================================================
   CATEGORY PILLS NAVIGATION
   ========================================================================== */

.ecorinse-cat-pills-wrapper {
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
}

.ecorinse-cat-pills-wrapper::-webkit-scrollbar {
    display: none;
}

.ecorinse-cat-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
    box-sizing: border-box !important;
}

.ecorinse-cat-pill {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    user-select: none;
}

.ecorinse-cat-pill:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.ecorinse-cat-pill.active {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   SEARCH FILTER
   ========================================================================== */

.ecorinse-search-wrapper {
    position: relative;
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
}

.ecorinse-search-wrapper .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 20px;
    pointer-events: none;
}

.ecorinse-search-input {
    width: 100% !important;
    padding: 10px 40px 10px 40px !important;
    border: 1px solid var(--laundry-border) !important;
    border-radius: var(--laundry-radius-sm) !important;
    background: #f8fafc !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
    height: 42px !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    color: var(--laundry-text-main) !important;
}

.ecorinse-search-input:focus {
    background: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

.ecorinse-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.ecorinse-empty-catalogue {
    text-align: center;
    padding: 36px 16px;
    color: #64748b;
}

.ecorinse-empty-catalogue .empty-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.ecorinse-empty-catalogue h6 {
    margin: 0 0 4px 0;
    font-weight: 700;
    color: #1e293b;
}

.ecorinse-empty-catalogue p {
    margin: 0 0 12px 0;
    font-size: 0.85rem;
}

/* ==========================================================================
   PRODUCT CATALOGUE HOMEPAGE (CATEGORY HUB)
   ========================================================================== */

.ecorinse-category-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 12px;
    margin-bottom: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
}

.ecorinse-hub-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 14px;
    background: #ffffff;
    border: 1.5px solid var(--laundry-border);
    border-radius: var(--laundry-radius-md);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    min-width: 0;
}

.ecorinse-hub-card:hover {
    border-color: var(--hub-accent, #059669);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.ecorinse-hub-card.has-selected {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 3px 12px rgba(5, 150, 105, 0.12);
}

.hub-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.hub-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hub-card-details {
    flex: 1;
    min-width: 0;
}

.hub-card-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.hub-card-name {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--laundry-text-main);
    line-height: 1.2;
}

.hub-card-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #059669;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    white-space: nowrap;
}

.hub-card-preview {
    margin: 0 0 5px 0;
    font-size: 0.76rem;
    color: var(--laundry-text-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
}

.hub-meta-count {
    color: var(--laundry-text-muted);
    font-weight: 600;
}

.hub-meta-dot {
    color: #cbd5e1;
}

.hub-meta-price {
    font-weight: 700;
}

.hub-card-right {
    margin-left: 8px;
    flex-shrink: 0;
}

.hub-arrow-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s ease;
}

.ecorinse-hub-card:hover .hub-arrow-btn {
    background: var(--hub-accent, #059669);
    color: #ffffff;
    transform: translateX(2px);
}

/* Active Category Header with Back Button */
.ecorinse-active-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid var(--laundry-border);
    border-radius: var(--laundry-radius-sm);
    gap: 12px;
}

.ecorinse-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.ecorinse-back-btn:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.ecorinse-back-btn i {
    font-size: 16px;
}

.ecorinse-cat-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.cat-header-icon {
    font-size: 1.3rem;
}

.ecorinse-cat-header-title h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--laundry-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-count-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==========================================================================
   CATALOGUE ITEMS LIST & STEPPERS
   ========================================================================== */

.ecorinse-group-header {
    font-size: 0.76rem;
    font-weight: 700;
    color: #059669;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 18px 0 10px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
}

.ecorinse-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 10px;
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
}

.ecorinse-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--laundry-border);
    border-radius: var(--laundry-radius-sm);
    transition: all 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    min-width: 0;
}

.ecorinse-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.ecorinse-item-card.has-qty {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}

.ecorinse-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ecorinse-item-icon {
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ecorinse-item-card.has-qty .ecorinse-item-icon {
    background: #dcfce7;
}

.ecorinse-item-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ecorinse-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--laundry-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ecorinse-item-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: #059669;
    margin-top: 1px;
}

/* Quantity Stepper */
.ecorinse-stepper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    padding: 3px 6px;
    border-radius: 20px;
    border: 1px solid var(--laundry-border);
    flex-shrink: 0;
}

.stepper-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.stepper-btn.minus {
    background: #e2e8f0;
    color: #475569;
}

.stepper-btn.minus:hover {
    background: #cbd5e1;
    color: #1e293b;
}

.stepper-btn.plus {
    background: #059669;
    color: #ffffff;
}

.stepper-btn.plus:hover {
    background: #047857;
}

.stepper-btn i {
    font-size: 16px;
}

.stepper-qty {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--laundry-text-main);
}

/* ==========================================================================
   BEDDING & CURTAINS QUANTIFIED PRICING
   ========================================================================== */

.ecorinse-bedding-card {
    margin-top: 24px;
    background: #f8fafc;
    border: 1px solid #bbf7d0;
    border-radius: var(--laundry-radius-md);
    padding: 18px;
}

.bedding-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.bedding-header-icon {
    font-size: 2rem;
    line-height: 1;
}

.bedding-header-text h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.bedding-header-text p {
    margin: 3px 0 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

.bedding-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.bedding-tier-pill {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--laundry-radius-sm);
    padding: 8px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.bedding-tier-pill.active {
    border-color: #059669;
    background: #ecfdf5;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

.tier-range {
    font-size: 0.74rem;
    color: #64748b;
}

.bedding-tier-pill.active .tier-range {
    color: #065f46;
    font-weight: 600;
}

.tier-price {
    font-size: 0.95rem;
    color: #059669;
    font-weight: 800;
    margin-top: 2px;
}

.bedding-items-selectors {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.bedding-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: var(--laundry-radius-sm);
    border: 1px solid var(--laundry-border);
}

.bedding-counter-row .b-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--laundry-text-main);
}

.bedding-counter-row .b-emoji {
    font-size: 1.2rem;
}

.bedding-tier-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--laundry-radius-sm);
    padding: 12px 16px;
    margin-top: 8px;
}

.res-title {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: #065f46;
}

.res-sub {
    font-size: 0.78rem;
    color: #047857;
    margin-top: 2px;
    display: block;
}

.res-price-badge {
    font-size: 1.15rem;
    font-weight: 800;
    color: #059669;
}

/* ==========================================================================
   SUBMIT BUTTON & STICKY BASKET BAR
   ========================================================================== */

.ecorinse-submit-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

.ecorinse-submit-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
}

.ecorinse-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box !important;
    z-index: 9999 !important;
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.35);
    border-top: 1px solid #334155;
    animation: afriLaundryFadeIn 0.25s ease-out;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .ecorinse-sticky-bar {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}

/* Suppress global food shopping cart when laundry booking form is active */
body:has(#ecorinse_booking_form) #shopping_cart,
body:has(#ecorinse_booking_form) #shopping_cart_new,
body:has(.laundry-page-wrapper) #shopping_cart,
body:has(.laundry-page-wrapper) #shopping_cart_new {
    display: none !important;
}

.sticky-inner {
    width: 100%;
    max-width: 720px;
    box-sizing: border-box !important;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sticky-left {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    min-width: 0;
    flex: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.sticky-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

.sticky-badge i {
    font-size: 15px;
    color: #34d399;
}

.sticky-total-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sticky-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    line-height: 1.1;
}

.sticky-price {
    font-size: 1.12rem;
    font-weight: 800;
    color: #34d399;
    white-space: nowrap;
    line-height: 1.2;
}

.sticky-chevron {
    font-size: 18px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sticky-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sticky-submit-btn {
    box-sizing: border-box !important;
    max-width: 100%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 24px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.45);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.sticky-submit-btn i {
    font-size: 18px;
}

.sticky-submit-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.6);
}

.sticky-submit-btn:active {
    transform: translateY(0);
}

.ecorinse-breakdown-drawer {
    max-width: 720px;
    margin: 0 auto;
    background: #0f172a;
    border-top: 1px solid #334155;
    border-radius: 16px 16px 0 0;
    padding: 14px 16px 18px 16px;
    max-height: min(52vh, 320px);
    overflow-y: auto;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #334155;
    padding-bottom: 8px;
}

.drawer-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.drawer-header-icon {
    font-size: 18px;
    color: #34d399;
}

.drawer-header h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 3px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.drawer-close-btn i {
    font-size: 18px;
}

.ecorinse-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

.ecorinse-breakdown-row .row-info {
    display: flex;
    flex-direction: column;
}

.ecorinse-breakdown-row .row-name {
    color: #f8fafc;
    font-weight: 600;
}

.ecorinse-breakdown-row .row-subtext {
    font-size: 0.75rem;
    color: #94a3b8;
}

.ecorinse-breakdown-row .row-price {
    color: #34d399;
    font-weight: 700;
}

.drawer-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #334155;
}

.drawer-checkout-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box !important;
    white-space: normal;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 24px;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
    transition: all 0.2s ease;
}

.drawer-checkout-btn span {
    min-width: 0;
    text-align: center;
    line-height: 1.3;
}

.drawer-checkout-btn i {
    font-size: 20px;
}

.drawer-checkout-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.55);
}

.drawer-checkout-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   DARK MODE COMPATIBILITY FOR ECORINSE
   ========================================================================== */

body.dark_mode .laundry-partner-selector {
    background: #0f172a;
    border-color: #334155;
}

body.dark_mode .laundry-partner-tab {
    color: #cbd5e1;
}

body.dark_mode .laundry-partner-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark_mode .laundry-partner-tab.active {
    background: #1e293b;
    border-color: #059669;
}

body.dark_mode .laundry-partner-tab[data-partner="generic"].active {
    border-color: var(--laundry-primary);
}

body.dark_mode .tab-main-label {
    color: #f1f5f9;
}

body.dark_mode .tab-sub-label {
    color: #94a3b8;
}

body.dark_mode .ecorinse-cat-pill {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

body.dark_mode .ecorinse-cat-pill:hover {
    background: #334155;
}

body.dark_mode .ecorinse-cat-pill.active {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

body.dark_mode .ecorinse-search-input {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

body.dark_mode .ecorinse-item-card {
    background: #0f172a;
    border-color: #334155;
}

body.dark_mode .ecorinse-item-card.has-qty {
    background: #064e3b;
    border-color: #059669;
}

body.dark_mode .ecorinse-item-icon {
    background: #1e293b;
}

body.dark_mode .ecorinse-item-name {
    color: #f1f5f9;
}

body.dark_mode .ecorinse-stepper {
    background: #1e293b;
    border-color: #334155;
}

body.dark_mode .stepper-btn.minus {
    background: #334155;
    color: #cbd5e1;
}

body.dark_mode .stepper-qty {
    color: #f1f5f9;
}

body.dark_mode .ecorinse-bedding-card {
    background: #0f172a;
    border-color: #1e3a2f;
}

body.dark_mode .bedding-header-text h4 {
    color: #f1f5f9;
}

body.dark_mode .bedding-tier-pill {
    background: #1e293b;
    border-color: #334155;
}

body.dark_mode .bedding-tier-pill.active {
    background: #064e3b;
    border-color: #059669;
}

body.dark_mode .bedding-counter-row {
    background: #1e293b;
    border-color: #334155;
}

body.dark_mode .bedding-counter-row .b-info {
    color: #f1f5f9;
}

body.dark_mode .bedding-tier-result {
    background: #064e3b;
    border-color: #059669;
}

body.dark_mode .res-title {
    color: #a7f3d0;
}

body.dark_mode .res-sub {
    color: #6ee7b7;
}

body.dark_mode .ecorinse-hub-card {
    background: #0f172a;
    border-color: #334155;
}

body.dark_mode .ecorinse-hub-card:hover {
    border-color: var(--hub-accent, #059669);
    background: #1e293b;
}

body.dark_mode .ecorinse-hub-card.has-selected {
    background: #064e3b;
    border-color: #059669;
}

body.dark_mode .hub-card-name {
    color: #f1f5f9;
}

body.dark_mode .hub-arrow-btn {
    background: #1e293b;
    color: #94a3b8;
}

body.dark_mode .ecorinse-active-cat-header {
    background: #0f172a;
    border-color: #334155;
}

body.dark_mode .ecorinse-back-btn {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

body.dark_mode .ecorinse-cat-header-title h4 {
    color: #f1f5f9;
}

body.dark_mode .cat-count-badge {
    background: #334155;
    color: #cbd5e1;
}

@media (max-width: 600px) {
    .laundry-card {
        padding: 16px 14px;
    }
    .ecorinse-hub-card {
        padding: 14px 12px;
    }
    .laundry-service-card {
        padding: 14px 12px;
    }
    .laundry-partner-selector {
        grid-template-columns: 1fr;
    }
    .ecorinse-category-hub-grid {
        grid-template-columns: 1fr !important;
    }
    .ecorinse-items-list {
        grid-template-columns: 1fr !important;
    }
    .bedding-tiers-grid {
        grid-template-columns: 1fr 1fr;
    }
    .laundry-page-wrapper {
        padding-bottom: 140px !important; /* Generous clearance for sticky basket bar */
    }
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
        .laundry-page-wrapper {
            padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
        }
    }
    .laundry-submit-btn {
        padding: 14px 16px;
        font-size: 0.98rem;
        gap: 8px;
    }
    .sticky-inner {
        padding: 8px 12px;
        gap: 8px;
    }
    .sticky-left {
        gap: 8px;
        min-width: 0;
    }
    .sticky-badge {
        padding: 4px 7px;
        font-size: 0.72rem;
    }
    .sticky-price {
        font-size: 1.02rem;
    }
    .sticky-submit-btn {
        padding: 8px 14px;
        font-size: 0.86rem;
    }
}

@media (max-width: 380px) {
    .laundry-card {
        padding: 14px 10px;
    }
    .ecorinse-hub-card {
        padding: 12px 10px;
    }
    .hub-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .laundry-service-card {
        padding: 12px 10px;
    }
    .laundry-submit-btn {
        padding: 12px 10px;
        font-size: 0.9rem;
        gap: 6px;
        border-radius: 24px;
    }
    .laundry-submit-btn i {
        font-size: 18px;
    }
    .sticky-inner {
        padding: 6px 8px;
        gap: 6px;
    }
    .sticky-left {
        gap: 6px;
    }
    .sticky-badge {
        padding: 3px 5px;
        font-size: 0.68rem;
    }
    .sticky-badge i {
        font-size: 13px;
    }
    .sticky-label {
        display: none;
    }
    .sticky-price {
        font-size: 0.94rem;
    }
    .sticky-submit-btn {
        padding: 7px 10px;
        font-size: 0.82rem;
        gap: 4px;
    }
    .sticky-submit-btn i {
        font-size: 16px;
    }
}

/* Submission Loading Spinner */
@keyframes laundry-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.laundry-spinner {
    display: inline-block;
    vertical-align: middle;
    animation: laundry-spin 0.9s linear infinite;
    font-size: 20px;
    margin-right: 6px;
}

.laundry-submit-btn:disabled,
.laundry-submit-btn.is-submitting {
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none;
}


