/**
 * Solar Pro Booking System V2 — main styles
 */

:root {
    --sp-primary: #c4161c;
    --sp-primary-rgb: 196, 22, 28;
    --sp-secondary: #000000;
    --sp-accent: #22c55e;
    --sp-panel-radius: 6px;
    --sp-size-panel-radius: 12px;
    --sp-size-wrap-radius: 16px;
    /* Woodmart/theme buttons use --btn-brd-radius; size panels are <button> */
    --btn-brd-radius: var(--sp-size-panel-radius);
    --sp-slider-height: 340px;
    --sp-slider-height-mobile: 220px;
    --sp-size-img-aspect: 1826 / 861;
    --sp-product-img-max-height: 360px;
    --sp-product-img-aspect: 4 / 3;
    --sp-spray-preview-height: 320px;
    --sp-font-family: "Alexandria", Arial, Helvetica, sans-serif;
    --sp-chevron-uri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
    --sp-chevron-uri-secondary: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23003B66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
    --sp-info-note-bg: #f8fafc;
    --sp-info-note-bg-end: #f1f5f9;
    --sp-info-note-border: #e2e8f0;
    --sp-info-note-accent: var(--sp-primary);
    --sp-info-note-icon-bg: #fee2e2;
    --sp-info-note-icon: #c4161c;
    --sp-info-note-text: #334155;
    --sp-info-note-title: #0f172a;
    --sp-info-note-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.04);
    --sp-size-ease: cubic-bezier(0.33, 1, 0.68, 1);
    --sp-size-transition: 0.72s var(--sp-size-ease);
}

/* Global booking typography */
#ltb-step-01,
#ltb-step-01 *,
#ltb-step-01 *::before,
#ltb-step-01 *::after,
.quick-view-container,
.quick-view-container * {
    font-family: var(--sp-font-family) !important;
}

#ltb-step-01 input,
#ltb-step-01 button,
#ltb-step-01 select,
#ltb-step-01 textarea,
#ltb-step-01 option {
    font-family: var(--sp-font-family) !important;
}

/* Saudi Riyal symbol — must override Alexandria on ::after (mobile WebKit) */
#ltb-step-01 .sp-price-sar__symbol,
#ltb-step-01 .sp-price-sar__symbol::before,
#ltb-step-01 .sp-price-sar__symbol::after,
#ltb-step-01 .icon-saudi_riyal_new::after,
#ltb-step-01 .icon-saudi_riyal_bold_new::after,
.sp-package-card .sp-price-sar__symbol,
.sp-package-card .sp-price-sar__symbol::after,
.sp-package-card .icon-saudi_riyal_new::after,
.sp-package-card .icon-saudi_riyal_bold_new::after {
    font-family: "saudi_riyal", "saudi_riyal_bold", sans-serif !important;
}

#ltb-step-01 {
    --btn-brd-radius: var(--sp-size-panel-radius);
}

/* ── Page header ── */
.booking-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
    padding: 0 16px;
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
}

.booking-page-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sp-primary);
    background: rgba(var(--sp-primary-rgb), 0.08);
    border: 1px solid rgba(var(--sp-primary-rgb), 0.18);
    border-radius: 999px;
    padding: 6px 18px;
    margin: 0 0 14px;
}

.booking-page-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--sp-secondary);
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.booking-page-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 500;
    color: #666;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* ── Size slider — flex stretch + car slide/cover on active ── */
.sp-size-slider-wrap {
    margin-top: 20px;
    padding: 10px;
    border-radius: var(--sp-size-wrap-radius);
    border: 1px solid #e8e8e8;
    background: #fafafa;
    overflow: hidden;
}

.sp-size-slider {
    display: flex;
    width: 100%;
    height: var(--sp-slider-height);
    gap: 12px;
    direction: rtl;
    margin-top: 0;
    align-items: stretch;
    border-radius: calc(var(--sp-size-wrap-radius) - 4px);
    overflow: visible;
    padding: 4px;
    box-sizing: border-box;
}

.sp-size-slider--cols-1 {
    max-width: 520px;
    margin-inline: auto;
}

/* Two sizes: flex stretch — selected panel grows, other shrinks */
.sp-size-slider--cols-2 {
    display: flex;
    height: var(--sp-slider-height);
    min-height: 280px;
    max-height: none;
    align-items: stretch;
}

#ltb-step-01 .sp-size-slider--cols-2 button.sp-size-panel,
#ltb-step-01 .sp-size-slider--cols-2 .sp-size-panel {
    flex: 1 1 0;
    min-width: 0;
    min-height: 260px;
    max-height: none;
    height: 100%;
}

.sp-size-slider--cols-2:has(.is-active) .sp-size-panel:not(.is-active):not(.selected),
.sp-size-slider--cols-2:has(.selected) .sp-size-panel:not(.is-active):not(.selected),
.sp-size-slider--cols-2.sp-size-slider--has-selection .sp-size-panel:not(.is-active):not(.selected) {
    flex: 0.32 1 0;
    max-width: 38%;
    opacity: 0.88;
}

.sp-size-slider--cols-2 .sp-size-panel.is-active,
.sp-size-slider--cols-2 .sp-size-panel.selected {
    flex: 2.85 1 0;
    max-width: none;
    transform: none;
}

.sp-size-slider--cols-2 .sp-size-panel:not(.is-active):not(.selected) .sp-size-panel__img {
    transform: translate(-50%, -50%) scale(1.92);
}

.sp-size-slider--cols-2 .sp-size-panel.is-active .sp-size-panel__img,
.sp-size-slider--cols-2 .sp-size-panel.selected .sp-size-panel__img {
    transform: translate(-50%, -50%) scale(1.28);
    object-position: 55% 50%;
}

#ltb-step-01 button.sp-size-panel,
#ltb-step-01 .sp-size-panel {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    height: 100%;
    position: relative;
    border: 3px solid transparent;
    border-radius: var(--sp-size-panel-radius) !important;
    overflow: hidden;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: #111;
    appearance: none;
    -webkit-appearance: none;
    transition:
        flex var(--sp-size-transition),
        max-width var(--sp-size-transition),
        opacity var(--sp-size-transition),
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        transform 0.45s var(--sp-size-ease);
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.sp-size-panel.is-active,
.sp-size-panel.selected {
    flex: 2.85 1 0;
    border: 4px solid var(--sp-primary) !important;
    outline: 2px solid rgba(var(--sp-primary-rgb), 0.35);
    outline-offset: 1px;
    box-shadow: 0 10px 32px rgba(var(--sp-primary-rgb), 0.32);
    z-index: 2;
}

.sp-size-panel:hover:not(.selected):not(.is-active) {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
}

.sp-size-panel.is-active:hover,
.sp-size-panel.selected:hover {
    transform: none;
}

.sp-size-panel__media {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background: #0a0a0a;
    overflow: hidden;
    border-radius: inherit;
}

/* Wide assets (e.g. 1826×861): cover + pan on select */
.sp-size-panel__img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    max-width: none;
    aspect-ratio: var(--sp-size-img-aspect);
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    transform: translate(-50%, -50%) scale(0.95);
    transform-origin: center center;
    transition:
        transform var(--sp-size-transition),
        object-position var(--sp-size-transition),
        filter 0.45s ease;
    will-change: transform, object-position;
    filter: brightness(0.92);
}

.sp-size-panel:not(.is-active):not(.selected) .sp-size-panel__img {
    transform: translate(-50%, -50%) scale(0.92);
}

.sp-size-panel.is-active .sp-size-panel__img,
.sp-size-panel.selected .sp-size-panel__img {
    transform: translate(-50%, -50%) scale(1.28);
    object-position: 55% 50%;
    filter: brightness(1);
}

.sp-size-panel__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #2a2a2a 0%, #111 100%);
}

.sp-size-panel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.25) 45%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.sp-size-panel__label {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    padding: 0 12px;
    line-height: 1.2;
}

.car-size-note {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: 16px;
    direction: rtl;
    line-height: 1.6;
}

.booking-branch-time-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #eee;
}

/* Step 5 — review summary */
.sp-booking-review-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    direction: rtl;
}

.sp-booking-review-section--step {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.sp-booking-review-section__header {
    margin-bottom: 16px;
}

.sp-booking-review-section__card.booking-summary-card--inline {
    margin-top: 0;
}

.sp-booking-review-section__card .summary-title {
    display: none;
}

.sp-booking-review-section__card .summary-content {
    margin: 0;
}

/* Booking summary — enhanced layout (sidebar + step 5) */
.sp-booking-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    direction: rtl;
}

.sp-summary-section__title {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--secondary-color, #003b66);
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sp-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.sp-summary-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 12px 14px;
    background: #f8fafb;
    border: 1px solid #e8eef2;
    border-radius: 12px;
}

.sp-summary-item .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
}

.sp-summary-item .value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--secondary-color, #003b66);
    line-height: 1.45;
    word-break: break-word;
}

.sp-summary-section--services {
    margin-top: 4px;
}

.sp-summary-services-table-wrap {
    overflow-x: auto;
    border: 1px solid #e8eef2;
    border-radius: 12px;
    background: #fff;
}

.sp-summary-services-table {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
    font-size: 0.875rem;
}

.sp-summary-services-table thead th {
    padding: 12px 14px;
    text-align: right;
    font-weight: 800;
    color: #666;
    background: #f4f7f9;
    border-bottom: 1px solid #e8eef2;
}

.sp-summary-services-table thead th.sp-summary-col-price {
    text-align: left;
}

.sp-summary-services-table tbody td {
    padding: 12px 14px;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
    color: var(--sp-secondary, #003b66);
    line-height: 1.5;
}

.sp-summary-services-table tbody tr:last-child td {
    border-bottom: none;
}

.sp-summary-services-table .sp-summary-col-service {
    font-weight: 800;
    min-width: 0;
    text-align: right;
    white-space: normal;
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.sp-summary-col-service .sp-summary-service-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
}

.sp-summary-col-service .sp-summary-service-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 0;
}

.sp-summary-col-service .sp-summary-service__name {
    margin: 0;
    font-size: 0.9375rem;
}

.sp-summary-col-service .sp-summary-service__variation {
    margin: 4px 0 0;
    width: 100%;
}

.sp-summary-services-table .sp-summary-col-details {
    color: #555;
    font-size: 0.8125rem;
}

.sp-summary-services-table .sp-summary-col-price {
    text-align: left;
    white-space: normal;
    vertical-align: top;
    font-weight: 800;
    color: var(--sp-primary);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.sp-summary-price-cell {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.sp-summary-price-cell .sp-price-display--summary .sp-price-regular--plain {
    display: block;
    font-size: inherit;
    font-weight: 600;
    color: #999;
    text-decoration: none !important;
}

.sp-summary-price-cell .sp-price-display--summary del,
.sp-summary-price-cell .sp-price-display--summary del.sp-price-regular,
.sp-summary-price-cell .sp-price-display--on-sale del,
.sp-summary-price-cell .sp-price-display--summary .sp-price-regular--strike {
    display: block;
    text-decoration: line-through !important;
    text-decoration-line: line-through !important;
    -webkit-text-decoration-line: line-through !important;
    color: #999 !important;
    font-weight: 600 !important;
}

.sp-summary-price-cell .sp-price-display--summary del .sp-price-sar,
.sp-summary-price-cell .sp-price-display--summary del .sp-price-sar__amount,
.sp-summary-price-cell .sp-price-display--summary del .sp-price-sar__symbol,
.sp-summary-price-cell .sp-price-display--summary .sp-price-regular--strike .sp-price-sar,
.sp-summary-price-cell .sp-price-display--summary .sp-price-regular--strike .sp-price-sar__amount,
.sp-summary-price-cell .sp-price-display--summary .sp-price-regular--strike .sp-price-sar__symbol {
    text-decoration: line-through !important;
    text-decoration-line: line-through !important;
    -webkit-text-decoration-line: line-through !important;
    color: #999 !important;
}

.sp-summary-services-table tfoot td {
    padding: 10px 14px;
    border-top: 1px solid #e8eef2;
    background: #fafbfc;
    font-weight: 700;
    color: #555;
}

.sp-summary-services-table tfoot .sp-summary-row-coupon td {
    padding: 14px;
    background: #fff;
    border-top: 1px solid #e8eef2;
    font-weight: 400;
}

.sp-summary-coupon-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.sp-summary-coupon-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sp-secondary, #555);
}

.sp-summary-coupon-input.coupon-input-container {
    width: 100%;
    max-width: 100%;
}

.sp-summary-row-coupon .sp-coupon-status {
    margin: 0;
}

.sp-summary-services-table tfoot .sp-summary-row-discount td {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e7e34;
}

.sp-summary-services-table tfoot .sp-summary-row-discount .sp-summary-col-price,
.sp-summary-services-table tfoot .sp-summary-discount-value {
    color: #1e7e34;
}

.sp-summary-services-table tfoot .sp-summary-row-vat td {
    font-size: 0.8125rem;
    font-weight: 600;
}

.sp-summary-services-table tfoot .sp-summary-row-total td {
    font-size: 1rem;
    font-weight: 800;
    color: var(--sp-secondary);
    background: rgba(var(--sp-primary-rgb), 0.06);
}

.sp-summary-services-table tfoot .sp-summary-row-total .sp-summary-col-price {
    font-size: 1.0625rem;
    color: var(--sp-primary);
}

.sp-summary-services-empty {
    margin: 0;
    padding: 16px;
    text-align: center;
    font-size: 0.875rem;
    color: #888;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px dashed #ddd;
}

.sp-summary-service-card {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.sp-summary-service-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.sp-summary-service__name {
    margin: 0;
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--secondary-color, #003b66);
    line-height: 1.4;
}

.sp-summary-service__type {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    line-height: 1.2;
}

.sp-summary-service__type--simple {
    background: #eaf6fd;
    color: #017aab;
    border: 1px solid #cbe9fb;
}

.sp-summary-service__type--variable {
    background: #fff8e6;
    color: #9a6b00;
    border: 1px solid #f0e0b0;
}

.sp-summary-service__variation {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.5;
}

.sp-summary-service__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.sp-summary-service__price-prefix {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #888;
}

.sp-summary-service__price-current {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--primary-color, #c4161c);
}

.sp-summary-service__price-regular {
    font-size: 0.875rem;
    color: #999;
    text-decoration: line-through;
}

.sp-summary-service__price-empty {
    color: #aaa;
}

@media (max-width: 520px) {
    .sp-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Step 6 — payment methods (WooCommerce gateways) */
.sp-booking-payment-section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    direction: rtl;
}

.sp-booking-payment-section__header {
    margin-bottom: 16px;
}

.sp-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.sp-payment-method {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-payment-method:hover {
    border-color: #d0d0d0;
}

.sp-payment-method--selected,
.sp-payment-method:has(.sp-payment-method__input:checked) {
    border-color: var(--primary-color, #c9a227);
    box-shadow: 0 0 0 1px var(--primary-color, #c9a227);
}

.sp-payment-method__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.sp-payment-method__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sp-payment-method__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.sp-payment-method__desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.45;
}

.sp-payment-method__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sp-payment-method--selected .sp-payment-method__check,
.sp-payment-method:has(.sp-payment-method__input:checked) .sp-payment-method__check {
    border-color: var(--primary-color, #c9a227);
    background: var(--primary-color, #c9a227);
}

.sp-payment-method--selected .sp-payment-method__check::after,
.sp-payment-method:has(.sp-payment-method__input:checked) .sp-payment-method__check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #fff;
}

.sp-payment-methods-empty {
    margin: 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f8f8f8;
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.5;
}

#calendar-time-container {
    display: none;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-top: 8px;
}

#calendar-time-container.is-visible {
    display: flex;
    animation: sp-fade-in 0.35s ease;
}

.calendar-time-flex {
    align-items: stretch;
    gap: 20px;
}

/* ── Calendar / time panels + skeleton loading (branch change) ── */
.sp-booking-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.sp-booking-panel__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--sp-secondary);
    text-align: right;
    direction: rtl;
}

.sp-booking-panel__body {
    position: relative;
    min-height: 280px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.sp-booking-panel__body--time {
    min-height: 220px;
}

.sp-booking-panel__content {
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.sp-booking-panel__skeleton {
    display: none;
}

#calendar-time-container.is-loading .sp-booking-panel__skeleton {
    display: block;
    position: absolute;
    inset: 14px;
    z-index: 2;
    pointer-events: none;
}

#calendar-time-container.is-loading .sp-booking-panel__content {
    opacity: 0;
    pointer-events: none;
}

#calendar-time-container.is-loading .sp-skeleton-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-content: start;
}

#calendar-time-container:not(.is-loading) .sp-booking-panel__content {
    animation: sp-content-in 0.4s ease;
}

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

@keyframes sp-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.sp-skeleton-calendar__header {
    height: 28px;
    width: 55%;
    margin: 0 auto 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, #ececec 0%, #f6f6f6 50%, #ececec 100%);
    background-size: 200% 100%;
    animation: sp-shimmer 1.15s ease-in-out infinite;
}

.sp-skeleton-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.sp-skeleton-calendar__cell {
    aspect-ratio: 1;
    min-height: 36px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ececec 0%, #f6f6f6 50%, #ececec 100%);
    background-size: 200% 100%;
    animation: sp-shimmer 1.15s ease-in-out infinite;
}

.sp-skeleton-time-slot {
    display: block;
    min-height: 52px;
    border-radius: 12px;
    background: linear-gradient(90deg, #ececec 0%, #f6f6f6 50%, #ececec 100%);
    background-size: 200% 100%;
    animation: sp-shimmer 1.15s ease-in-out infinite;
}

/* Datepicker — enhanced shape & brand selection */
.sp-booking-panel__content--calendar #datepicker,
.sp-booking-panel__content--calendar .ui-datepicker {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 12px !important;
    background: #f8f8f8 !important;
    padding: 8px !important;
    box-sizing: border-box;
}

.sp-booking-panel__content--calendar .ui-datepicker-header {
    background: transparent !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 6px 4px 12px !important;
    color: var(--sp-secondary) !important;
    font-weight: 700;
}

.sp-booking-panel__content--calendar .ui-datepicker-calendar {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 4px;
    background: transparent !important;
}

.sp-booking-panel__content--calendar .ui-datepicker-calendar th {
    padding: 8px 2px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--sp-secondary) !important;
    background: transparent !important;
    border: none !important;
    text-align: center;
}

.sp-booking-panel__content--calendar .ui-datepicker-calendar th span {
    display: inline-block;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

@media (min-width: 480px) {
    .sp-booking-panel__content--calendar .ui-datepicker-calendar th {
        font-size: 12px !important;
    }
}

.sp-booking-panel__content--calendar .ui-datepicker-calendar td {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.sp-booking-panel__content--calendar .ui-datepicker-calendar td a,
.sp-booking-panel__content--calendar .ui-datepicker-calendar td span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    background: #fff !important;
    color: var(--sp-secondary) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-align: center !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sp-booking-panel__content--calendar .ui-datepicker-calendar td a:hover {
    background: rgba(var(--sp-primary-rgb), 0.08) !important;
    border-color: rgba(var(--sp-primary-rgb), 0.25) !important;
    color: var(--sp-primary) !important;
}

.sp-booking-panel__content--calendar .ui-datepicker-calendar td a.ui-state-active,
.sp-booking-panel__content--calendar .ui-datepicker-calendar td a.ui-state-highlight {
    background: var(--sp-primary) !important;
    border-color: var(--sp-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(var(--sp-primary-rgb), 0.28);
}

.sp-booking-panel__content--calendar .ui-datepicker-calendar td.ui-state-disabled span {
    background: #f0f0f0 !important;
    color: #bbb !important;
}

.sp-booking-panel__content--calendar .ui-datepicker-prev,
.sp-booking-panel__content--calendar .ui-datepicker-next {
    top: 8px !important;
    cursor: pointer;
}

/* Time slots — enhanced */
.sp-booking-panel__content--time .sp-time-grid .time-btn {
    width: 100%;
    margin: 0;
    min-height: 52px;
    padding: 14px 10px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    color: var(--sp-secondary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.sp-booking-panel__content--time .sp-time-grid .time-btn:hover {
    border-color: rgba(var(--sp-primary-rgb), 0.4);
    background: rgba(var(--sp-primary-rgb), 0.05);
    color: var(--sp-primary);
    transform: translateY(-1px);
}

.sp-booking-panel__content--time .sp-time-grid .time-btn.selected-time {
    background: var(--sp-primary);
    border-color: var(--sp-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(var(--sp-primary-rgb), 0.3);
}

.sp-time-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px 12px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    direction: rtl;
}

@media (max-width: 992px) {
    .calendar-time-flex {
        flex-direction: column;
    }

    #calendar-time-container.is-loading .sp-skeleton-time-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    #calendar-time-container.is-loading .sp-skeleton-time-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-skeleton-calendar__cell {
        min-height: 32px;
    }
}

.time-wrap {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.time-wrap .sp-time-grid {
    flex: 1;
}

@keyframes sp-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card__icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-card__svg {
    width: 36px;
    height: 36px;
}

.service-card__icon--placeholder {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--sp-primary-rgb), 0.15);
}

.services-empty-message {
    text-align: center;
    color: #666;
    padding: 24px;
    direction: rtl;
    width: 100%;
}

.car-size-empty-message {
    width: 100%;
    text-align: center;
    color: #666;
    padding: 40px 20px;
    direction: rtl;
    font-size: 15px;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px dashed #ddd;
}

.sp-filtered-products {
    margin-top: 40px;
    padding-top: 32px;
}

.sp-filtered-products[hidden] {
    display: none !important;
}

.sp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    direction: rtl;
    align-items: start;
}

@media (min-width: 769px) {
    .sp-products-grid:not(.swiper-wrapper):not(.sp-products-grid--content) {
        overflow: visible;
        padding-top: 8px;
        padding-bottom: 16px;
        align-items: stretch;
    }

    .sp-products-grid.sp-products-grid--content:not(.swiper-wrapper),
    #ltb-step-01 #products-container.sp-products-grid.sp-products-grid--content:not(.swiper-wrapper) {
        overflow: visible;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 16px;
        box-sizing: border-box;
        align-items: stretch;
    }
}

.sp-products-zone {
    position: relative;
    width: 100%;
}

/* Products grid — skeleton uses same grid as loaded cards (in document flow) */
.sp-products-skeleton-layer {
    display: none;
    margin: 0;
    width: 100%;
}

.sp-filtered-products.is-loading .sp-products-skeleton-layer {
    display: grid !important;
}

.sp-filtered-products.is-loading .sp-products-grid--content {
    display: none !important;
}

.sp-products-grid--content {
    width: 100%;
    animation: sp-content-in 0.4s ease;
}

.sp-filtered-products:not(.is-loading) .sp-products-skeleton-layer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#sp-products-skeleton-template {
    display: none;
}

/* Lazy product cards — full card shell matching real .sp-product-card */
.sp-product-card--lazy {
    pointer-events: none;
    cursor: default;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 0 !important;
    height: auto !important;
}

.sp-product-card--lazy:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-color: #ebebeb;
}

.sp-product-card--lazy .sp-product-card__media {
    position: relative !important;
    flex-shrink: 0;
    padding: 0;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.sp-product-card--lazy .sp-product-card__body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
    gap: 12px;
    padding: 14px 16px 12px;
    width: 100%;
    box-sizing: border-box;
}

.sp-product-card--lazy .sp-product-card__price-panel {
    width: 100%;
}

.sp-lazy-shimmer {
    display: block;
    border-radius: 8px;
    background: linear-gradient(90deg, #ececec 0%, #f5f5f5 50%, #ececec 100%);
    background-size: 200% 100%;
    animation: sp-shimmer 1.15s ease-in-out infinite;
}

.sp-product-card--lazy .sp-product-card__media-frame {
    position: relative;
    min-height: 140px;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sp-product-card--lazy .sp-lazy-shimmer--img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    border-radius: 0;
}

.sp-product-card--lazy .sp-lazy-shimmer--title {
    height: 22px;
    width: 88%;
    margin: 0 auto 14px;
    border-radius: 6px;
}

.sp-product-card--lazy .sp-product-card__price-action {
    background: #fafafa;
    border: 1px solid #e8e8e8;
}

.sp-product-card--lazy .sp-product-card__price-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
}

.sp-product-card--lazy .sp-lazy-shimmer--price {
    height: 36px;
    width: 100%;
    border-radius: 10px;
}

.sp-product-card--lazy .sp-product-card__price-action-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.sp-product-card--lazy .sp-lazy-shimmer--meta {
    height: 22px;
    width: 100%;
    max-width: 110px;
    border-radius: 999px;
}

.sp-product-card--lazy .sp-lazy-shimmer--meta-sm {
    height: 10px;
    max-width: 72px;
    border-radius: 4px;
}

.sp-product-card--lazy .sp-product-card__installment {
    pointer-events: none;
}

.sp-product-card--lazy .sp-lazy-shimmer--installment-text {
    flex: 1;
    height: 14px;
    max-width: 140px;
    border-radius: 4px;
}

.sp-product-card--lazy .sp-lazy-shimmer--installment-logos {
    width: 72px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 6px;
}

.sp-product-card--lazy .sp-product-card__cta.sp-lazy-shimmer--cta {
    display: block;
    min-height: 40px;
    border: none;
    border-top: 1px solid #ececec;
    border-radius: 0;
    margin-top: auto;
    background: linear-gradient(90deg, #f0f0f0 0%, #fafafa 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: sp-shimmer 1.15s ease-in-out infinite;
}

.sp-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(52px, auto);
    gap: 10px;
    width: 100%;
    min-height: 100%;
    align-content: start;
    direction: rtl;
}

.sp-time-grid--am {
    margin-bottom: 15px;
}

.sp-time-grid .time-btn {
    width: 100%;
    margin: 0;
    min-height: 52px;
    padding: 14px 12px;
    white-space: nowrap;
    direction: ltr;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .sp-time-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .sp-time-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .sp-time-grid .time-btn {
        min-height: 48px;
        padding: 12px 10px;
        font-size: 12px;
    }
}

.booking-branch-time-section__header {
    margin-bottom: 8px;
    padding-bottom: 0;
}

/* ── Loading spinner (brand ring loader) ── */
.sp-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 24px;
    text-align: center;
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
}

.sp-loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--sp-primary);
    --_m:
        conic-gradient(#0000 10%, #000),
        linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: sp-loader-spin 1s infinite linear;
}

@keyframes sp-loader-spin {
    to {
        transform: rotate(1turn);
    }
}

.sp-loading-spinner__text {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--sp-secondary);
    font-family: var(--sp-font-family);
}

.sp-loadable {
    position: relative;
    width: 100%;
}

.sp-loadable__spinner,
.sp-loadable__skeleton {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.sp-loadable__content {
    display: none;
}

.sp-loadable.is-loaded .sp-loadable__spinner,
.sp-loadable.is-loaded .sp-loadable__skeleton {
    display: none;
}

.sp-loadable.is-loaded .sp-loadable__content {
    display: block;
}

.sp-loadable[data-loadable="size-slider"] .sp-loadable__spinner,
.sp-loadable[data-loadable="size-slider"] .sp-loadable__skeleton {
    min-height: var(--sp-slider-height);
}

/* Legacy skeleton styles (unused; kept for backwards compatibility) */
@keyframes sp-shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.sp-skeleton__panel,
.sp-skeleton__service-card,
.sp-skeleton__product-card,
.sp-skeleton__circle,
.sp-skeleton__line,
.sp-skeleton__product-image {
    background: linear-gradient(90deg, #ececec 0, #f5f5f5 40%, #ececec 80%);
    background-size: 936px 100%;
    animation: sp-shimmer 1.2s ease-in-out infinite;
    border-radius: 8px;
}

.sp-skeleton--size-slider {
    display: flex;
    gap: 8px;
    height: var(--sp-slider-height);
    width: 100%;
}

.sp-skeleton__panel {
    flex: 1 1 0;
    min-width: 0;
    border-radius: var(--sp-panel-radius);
}

.sp-skeleton__panel--active {
    flex: 3 1 0;
}

.sp-skeleton--services {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.sp-skeleton__service-card {
    width: 140px;
    height: 120px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eee;
}

.sp-skeleton__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.sp-skeleton__line {
    width: 80%;
    height: 12px;
}

.sp-skeleton__line--wide {
    width: 90%;
}

.sp-skeleton__line--short {
    width: 55%;
}


.sp-skeleton--products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.sp-skeleton__product-card {
    padding: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-skeleton__product-image {
    width: 100%;
    height: 140px;
    border-radius: 8px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .booking-page-header {
        margin-bottom: 32px;
    }

    /* More space between booking steps */
    #solar_pro_v2_multiStepForm > .step-content.focused-card,
    #ltb-step-01 .step-content.focused-card {
        margin-bottom: 48px !important;
        padding: 20px 16px !important;
    }

    #solar_pro_v2_multiStepForm > .step-content.focused-card:last-of-type {
        margin-bottom: 28px !important;
    }

    .sp-step-header {
        margin-bottom: 18px;
    }

    .car-models-info {
        margin-top: 20px;
    }

    .sp-filtered-products {
        margin-top: 16px;
        padding-top: 0;
    }

    #ltb-step-01 .step-content.focused-card[data-step="2"] {
        overflow-x: visible;
    }

    #ltb-step-01 .step-content.focused-card[data-step="2"] .sp-filtered-products,
    #ltb-step-01 .step-content.focused-card[data-step="2"] .sp-products-zone,
    #ltb-step-01 .step-content.focused-card[data-step="2"] .sp-products-carousel {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    /* Products — Swiper carousel on mobile */
    .sp-products-carousel {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding-bottom: 6px;
        padding-inline: 6px;
        box-sizing: border-box;
    }

    .sp-products-swiper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 44px 10px 6px;
        margin: 0;
        box-sizing: border-box;
        height: auto !important;
    }

    /* Upholstery / polish / package cards — never clip tall content */
    .sp-products-swiper:has(.sp-product-card--request-flow),
    .sp-products-swiper:has(.sp-product-card--request-full),
    .sp-products-swiper:has([data-request-service="1"]),
    .sp-products-swiper:has(.sp-package-card) {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .sp-products-swiper:not(:has(.sp-package-card)) {
        padding-top: 6px;
    }

    .sp-products-swiper .swiper-wrapper {
        margin-bottom: 0;
        padding-bottom: 0;
        width: 100% !important;
        box-sizing: border-box;
    }

    #ltb-step-01 .sp-products-swiper .swiper-wrapper.swiper-wrapper {
        margin-bottom: 0;
        align-items: flex-start !important;
    }

    .sp-products-swiper .swiper-slide {
        padding-bottom: 2px;
    }

    #sp-products-swiper-pager.sp-products-slide__pager {
        display: none !important;
        margin: 0;
        padding: 0;
        height: 0;
        min-height: 0;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
    }

    .sp-products-swiper > #sp-products-swiper-pager {
        order: 10;
    }

    #sp-products-swiper-pager .sp-booking-slider-pager__track {
        max-width: min(100%, 280px);
    }

    .sp-products-swiper--ready #sp-products-swiper-pager:not([hidden]) {
        display: none !important;
    }

    .sp-filtered-products.is-loading .sp-products-skeleton-layer,
    .sp-filtered-products.is-loading #products-skeleton-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        grid-template-columns: unset !important;
        overflow: hidden;
    }

    .sp-filtered-products.is-loading #products-skeleton-grid:not(.swiper-wrapper) > .product-card,
    .sp-filtered-products.is-loading #products-skeleton-grid:not(.swiper-wrapper) > .sp-product-card,
    .sp-filtered-products.is-loading #products-skeleton-grid:not(.swiper-wrapper) > .sp-package-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .sp-filtered-products.is-loading .sp-products-skeleton-layer.swiper-wrapper,
    .sp-filtered-products.is-loading #products-skeleton-grid.swiper-wrapper {
        display: flex !important;
    }

    .sp-filtered-products.is-loading #products-skeleton-grid.swiper-wrapper,
    #ltb-step-01 #products-container.swiper-wrapper {
        display: flex !important;
        grid-template-columns: unset !important;
        gap: 0 !important;
        width: 100% !important;
        direction: rtl;
        box-sizing: border-box;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
    }

    /* Before Swiper inits — single column so cards are not crushed in a flex row */
    #ltb-step-01 .sp-products-swiper #products-container:not(.swiper-wrapper) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        overflow: visible;
    }

    .sp-filtered-products.is-loading #ltb-step-01 .sp-products-swiper #products-skeleton-grid:not(.swiper-wrapper) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        overflow: visible;
    }

    .sp-filtered-products:not(.is-loading) #ltb-step-01 #products-skeleton-grid,
    .sp-filtered-products:not(.is-loading) #ltb-step-01 .sp-products-swiper #products-skeleton-grid,
    .sp-filtered-products:not(.is-loading) #ltb-step-01 .sp-products-swiper #products-skeleton-grid:not(.swiper-wrapper),
    .sp-filtered-products:not(.is-loading) #products-skeleton-grid,
    .sp-filtered-products:not(.is-loading) #products-skeleton-grid:not(.swiper-wrapper) {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .sp-filtered-products:not(.is-loading) #ltb-step-01 .sp-products-swiper #products-container.sp-products-grid--content {
        display: grid !important;
    }

    .sp-filtered-products:not(.is-loading) #ltb-step-01 #products-container.sp-products-grid--content.swiper-wrapper {
        display: flex !important;
    }

    .sp-products-swiper .swiper-slide,
    .sp-products-swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
        height: auto !important;
        align-self: flex-start;
        box-sizing: border-box;
        padding: 0 4px 4px;
        margin: 0;
        overflow: visible;
    }

    .sp-products-swiper .swiper-slide:has(> .sp-package-card) {
        padding-top: 0;
    }

    .sp-products-swiper .swiper-slide > .product-card,
    .sp-products-swiper .swiper-slide > .sp-product-card,
    .sp-products-swiper .swiper-slide > .sp-package-card,
    .sp-products-swiper .swiper-slide > .sp-products-empty {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        grid-column: auto !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: visible;
    }

    .sp-products-swiper .swiper-slide > .sp-product-card--spray {
        min-height: 0 !important;
        height: auto !important;
        overflow: visible;
    }

    .sp-products-swiper .sp-product-card--spray .sp-spray-card__shell {
        padding-inline: 12px;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    .sp-products-swiper .sp-product-card--spray .sp-spray-card__upper {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    .sp-products-swiper .sp-product-card--spray .sp-spray-card__media.sp-product-card__media,
    .sp-products-swiper .sp-product-card--spray .sp-spray-card__media {
        flex: none;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        height: var(--sp-spray-preview-height, 260px);
        min-height: var(--sp-spray-preview-height, 260px);
        max-height: var(--sp-spray-preview-height, 260px);
    }

    .sp-products-swiper .sp-product-card--spray .sp-spray-card__upper > .sp-spray-card__aside {
        width: 100%;
        min-width: 0;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible;
    }

    .sp-products-swiper .sp-product-card--spray {
        --sp-spray-preview-height: 260px;
    }

    .sp-products-swiper .sp-spray-card__palette-wrap {
        padding-inline: 4px;
        box-sizing: border-box;
    }

    .sp-products-swiper .sp-spray-card__palette {
        padding-inline: 8px;
        scroll-padding-inline: 10px;
        box-sizing: border-box;
    }

    .sp-products-swiper .sp-spray-card__aside,
    .sp-products-swiper .sp-spray-card__variations,
    .sp-products-swiper .sp-spray-card__panel-inner {
        max-width: 100%;
        min-width: 0;
        overflow: visible;
        box-sizing: border-box;
    }

    /* Dots under products carousel (shared pager) */
    .sp-products-slide__pager:not(#sp-products-swiper-pager) {
        display: none !important;
    }

    .sp-products-slide__pager[hidden] {
        display: none !important;
    }

    .sp-products-swiper > .sp-products-swiper-pagination.swiper-pagination {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .sp-products-swiper--fallback #products-container:not(.swiper-wrapper),
    .sp-products-swiper--fallback #products-skeleton-grid:not(.swiper-wrapper) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* مقاس السيارة — flex stretch on mobile (grid broke grow/slide on tap) */
    #ltb-step-01 .step-content.focused-card[data-step="1"] {
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow-x: clip;
        box-sizing: border-box;
    }

    #ltb-step-01 .sp-loadable[data-loadable="size-slider"],
    #ltb-step-01 .sp-loadable[data-loadable="size-slider"] .sp-loadable__content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .sp-size-slider-wrap {
        margin-top: 12px;
        padding: 4px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .sp-size-slider {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .sp-size-slider--cols-1 {
        display: flex !important;
        max-width: 100%;
        margin-inline: 0;
        height: var(--sp-slider-height-mobile);
        min-height: var(--sp-slider-height-mobile);
        max-height: var(--sp-slider-height-mobile);
        gap: 6px;
        padding: 2px;
        overflow: hidden;
    }

    .sp-size-slider--cols-2 {
        display: flex !important;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        height: var(--sp-slider-height-mobile);
        min-height: var(--sp-slider-height-mobile) !important;
        max-height: var(--sp-slider-height-mobile);
        gap: 6px;
        padding: 2px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .sp-size-slider--cols-2:has(.is-active) .sp-size-panel:not(.is-active):not(.selected),
    .sp-size-slider--cols-2:has(.selected) .sp-size-panel:not(.is-active):not(.selected),
    .sp-size-slider--cols-2.sp-size-slider--has-selection .sp-size-panel:not(.is-active):not(.selected) {
        flex: 0.36 1 0;
        max-width: 40%;
        opacity: 0.9;
    }

    .sp-size-slider--cols-2 .sp-size-panel.is-active,
    .sp-size-slider--cols-2 .sp-size-panel.selected {
        flex: 2.4 1 0;
        max-width: none;
    }

    #ltb-step-01 .sp-size-slider--cols-2 button.sp-size-panel,
    #ltb-step-01 .sp-size-slider--cols-2 .sp-size-panel,
    #ltb-step-01 button.sp-size-panel,
    #ltb-step-01 .sp-size-panel {
        min-height: 0 !important;
        min-width: 0 !important;
        max-width: none;
        width: auto;
        max-height: 100%;
        height: 100%;
        flex: 1 1 0;
        border-width: 2px;
        box-sizing: border-box;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .sp-size-panel__media {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .sp-size-slider--cols-2 .sp-size-panel__img {
        transform: translate(-50%, -50%) scale(1);
        object-position: 50% 50%;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        height: 100%;
    }

    .sp-size-slider--cols-2 .sp-size-panel:not(.is-active):not(.selected) .sp-size-panel__img {
        transform: translate(-50%, -50%) scale(0.96);
        filter: brightness(0.92);
    }

    .sp-size-panel.is-active .sp-size-panel__img,
    .sp-size-panel.selected .sp-size-panel__img,
    .sp-size-slider--cols-2 .sp-size-panel.is-active .sp-size-panel__img,
    .sp-size-slider--cols-2 .sp-size-panel.selected .sp-size-panel__img {
        transform: translate(-50%, -50%) scale(1.08);
        object-position: 52% 50%;
        filter: brightness(1);
    }

    .sp-size-panel__label {
        bottom: 8px;
        font-size: 13px;
        padding: 0 4px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Riyal symbol — force visible on mobile */
    .sp-price-sar__symbol.icon-saudi_riyal_new::after,
    .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after,
    .sp-package-card .sp-price-sar__symbol.icon-saudi_riyal_new::after,
    .sp-package-card .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 1.05em !important;
        min-width: 0.85em !important;
        min-height: 1em !important;
        overflow: visible !important;
    }

    .sp-package-card .sp-price-sar__symbol {
        display: inline-block !important;
        flex-shrink: 0 !important;
        min-width: 0.85em !important;
        overflow: visible !important;
    }

    /* Service categories — horizontal sliding row, 2.5 cards visible */
    #ltb-step-01 .services-container {
        margin-top: 16px;
        overflow: visible;
        justify-content: flex-start !important;
        align-items: stretch !important;
    }

    #ltb-step-01 .sp-service-slider {
        overflow: visible;
        width: 100%;
        max-width: 100%;
        --sp-service-cards-visible: 2.15;
        --sp-service-cards-gap: 12px;
        --sp-service-card-width: calc(
            (100% - (2 * var(--sp-service-cards-gap))) / var(--sp-service-cards-visible)
        );
        position: relative;
    }

    #ltb-step-01 .sp-service-slider::before,
    #ltb-step-01 .sp-service-slider::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 28px;
        width: 18px;
        z-index: 2;
        pointer-events: none;
    }

    #ltb-step-01 .sp-service-slider::before {
        inset-inline-start: 0;
        background: linear-gradient(to inline-end, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    }

    #ltb-step-01 .sp-service-slider::after {
        inset-inline-end: 0;
        background: linear-gradient(to inline-start, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    }

    #ltb-step-01 .sp-service-slider .sp-service-grid,
    #ltb-step-01 .sp-service-slider .sp-service-slider__track {
        display: flex !important;
        flex-wrap: nowrap !important;
        grid-template-columns: unset !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        gap: var(--sp-service-cards-gap);
        width: 100%;
        max-width: 100%;
        padding: 8px 6px 6px;
        scroll-padding-inline: 6px;
        scrollbar-width: none;
    }

    #ltb-step-01 .sp-service-slider .sp-service-grid::-webkit-scrollbar,
    #ltb-step-01 .sp-service-slider .sp-service-slider__track::-webkit-scrollbar {
        display: none;
    }

    #ltb-step-01 .services-container .sp-service-slider .service-card,
    #ltb-step-01 .sp-service-slider .service-card {
        flex: 0 0 var(--sp-service-card-width) !important;
        width: var(--sp-service-card-width) !important;
        max-width: var(--sp-service-card-width) !important;
        min-width: var(--sp-service-card-width) !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        min-height: 112px;
        padding: 14px 10px 12px;
        box-sizing: border-box;
        border-color: #e5e7eb;
        background: #fff;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    }

    #ltb-step-01 .sp-service-slider .service-card:hover:not(.active) {
        transform: none;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
        border-color: #e5e7eb;
    }

    #ltb-step-01 .sp-service-slider .service-card.active {
        transform: none;
        border-color: var(--sp-primary);
        box-shadow: 0 6px 18px rgba(var(--sp-primary-rgb), 0.16);
    }

    #ltb-step-01 .sp-service-slider .service-card__icon-wrap {
        width: 50px;
        height: 50px;
        min-height: 50px;
    }

    #ltb-step-01 .sp-service-slider .service-card__title {
        font-size: 13px;
    }

    .branch-time-container-new .sp-branch-selects {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 10px;
    }

    .branch-time-container-new .sp-select-field label {
        text-align: right !important;
    }

    .branch-time-container-new #region-select,
    .branch-time-container-new #branch-select,
    .branch-time-container-new .sp-select-wrap select {
        min-height: 48px !important;
        font-size: 13px !important;
        padding: 10px 36px 10px 10px !important;
    }

    /* Summary services table — compact on mobile */
    .ltb-section,
    #ltb-step-01.ltb-section {
        padding: 0 !important;
    }

    .sp-summary-services-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sp-summary-services-table {
        font-size: 0.75rem;
        table-layout: fixed;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .sp-summary-services-table thead th {
        padding: 8px 10px;
        font-size: 0.6875rem;
    }

    .sp-summary-services-table thead th:first-child {
        width: 54%;
    }

    .sp-summary-services-table thead th.sp-summary-col-price {
        width: 46%;
    }

    .sp-summary-services-table tbody td,
    .sp-summary-services-table tfoot td {
        padding: 10px 8px;
        font-size: 0.75rem;
        box-sizing: border-box;
    }

    .sp-summary-services-table .sp-summary-col-service {
        width: 54%;
        max-width: 54%;
        min-width: 0;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        font-size: 0.75rem;
        line-height: 1.4;
        padding-inline-end: 10px;
        vertical-align: top;
    }

    .sp-summary-col-service .sp-summary-service-cell,
    .sp-summary-col-service .sp-summary-service-card__head,
    .sp-summary-col-service .sp-summary-service__name {
        min-width: 0;
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .sp-summary-col-service .sp-summary-service__variation,
    .sp-summary-col-service .sp-summary-service__spray-zone {
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .sp-summary-services-table .sp-summary-col-price {
        width: 46%;
        max-width: 46%;
        min-width: 0;
        white-space: normal;
        text-align: left;
        padding-inline-start: 6px;
        overflow: hidden;
        vertical-align: top;
    }

    .sp-summary-price-cell {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .sp-summary-price-cell .sp-summary-service__price-prefix {
        font-size: 0.625rem;
    }

    .sp-summary-price-cell .sp-price-display {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 0.6875rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .sp-summary-price-cell .sp-price-display ins,
    .sp-summary-price-cell .sp-price-display .sp-price-current,
    .sp-summary-price-cell .sp-price-display .sp-price-sale,
    .sp-summary-price-cell .sp-price-display del,
    .sp-summary-price-cell .sp-price-regular,
    .sp-summary-price-cell .sp-price-display--summary .sp-price-regular--plain,
    .sp-summary-price-cell .sp-price-display--summary .sp-price-regular--strike {
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .sp-summary-price-cell .sp-price-regular,
    .sp-summary-price-cell del {
        font-size: 0.625rem !important;
        text-decoration: line-through !important;
    }

    .sp-summary-price-cell .sp-price-sale,
    .sp-summary-price-cell ins,
    .sp-summary-price-cell .sp-price-current {
        font-size: 0.75rem !important;
    }

    .sp-summary-price-cell .sp-price-sar,
    .sp-summary-price-cell .sp-price-sar__amount,
    .sp-summary-price-cell .sp-price-sar__symbol {
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .sp-summary-price-cell .sp-price-sar__symbol {
        font-size: 0.85em !important;
    }

    .sp-summary-services-table tfoot .sp-summary-row-vat td {
        font-size: 0.6875rem;
    }

    .sp-summary-services-table tfoot .sp-summary-row-total td {
        font-size: 0.8125rem;
    }

    .sp-summary-services-table tfoot .sp-summary-row-total .sp-summary-col-price {
        font-size: 0.8125rem !important;
    }
}

@media (max-width: 480px) {
    #solar_pro_v2_multiStepForm > .step-content.focused-card,
    #ltb-step-01 .step-content.focused-card {
        margin-bottom: 40px !important;
        padding: 16px 12px !important;
    }

    :root {
        --sp-slider-height-mobile: 200px;
    }

    #ltb-step-01 .step-content.focused-card[data-step="1"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .sp-size-slider-wrap {
        padding: 3px;
    }

    .sp-size-slider--cols-2 {
        gap: 5px;
    }

    .sp-size-panel__label {
        font-size: 12px;
        bottom: 6px;
    }

}

/* ── Step section UI ── */
.sp-step-header {
    position: relative;
    direction: rtl;
    margin-bottom: 28px;
}

/* Numbered step header — badge aligns with title row; subtitle under title */
.sp-step-header--numbered {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 6px;
    align-items: center;
    text-align: right;
    padding-bottom: 22px;
    border-bottom: 1px solid #efefef;
}

.sp-step-header--numbered .card-title-group {
    display: contents;
}

.sp-step-header--numbered .sp-step-badge {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

.sp-step-header--numbered .card-main-title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 800;
    color: var(--sp-secondary);
    line-height: 1.3;
}

.sp-step-header--numbered .card-sub-title {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--sp-primary);
    line-height: 1.5;
}

.sp-step-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--sp-primary);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(var(--sp-primary-rgb), 0.28);
}

/* Featured section header (accent lines — inspired by reference, light theme) */
.sp-step-header--featured {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    text-align: center;
    padding: 8px 0 24px;
}

.sp-step-header--featured::before,
.sp-step-header--featured::after {
    content: '';
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--sp-primary) 20%, var(--sp-primary) 80%, transparent);
    opacity: 0.85;
}

.sp-step-header--featured .card-title-group {
    max-width: 520px;
    margin: 0 auto;
}

.sp-step-header--featured .card-main-title {
    margin: 0;
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    color: var(--sp-secondary);
    line-height: 1.35;
}

.sp-step-header--featured .card-sub-title {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--sp-primary);
    line-height: 1.55;
}

/* Nested sub-section header (calendar block) */
.sp-step-header--featured.booking-branch-time-section__header {
    grid-template-columns: 1fr;
    text-align: right;
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #efefef;
}

.sp-step-header--featured.booking-branch-time-section__header::before,
.sp-step-header--featured.booking-branch-time-section__header::after {
    display: none;
}

.sp-step-header--featured.booking-branch-time-section__header .card-title-group {
    max-width: none;
    margin: 0;
    padding-inline-start: 14px;
    border-inline-start: 4px solid var(--sp-primary);
}

.sp-step-header--featured.booking-branch-time-section__header .card-main-title {
    font-size: 22px;
}

/* Info note with icon (RTL) — use shared/info-note.php */
.sp-info-note {
    --sp-info-note-local-bg: var(--sp-info-note-bg);
    --sp-info-note-local-bg-end: var(--sp-info-note-bg-end);
    --sp-info-note-local-border: var(--sp-info-note-border);
    --sp-info-note-local-accent: var(--sp-info-note-accent);
    --sp-info-note-local-icon-bg: var(--sp-info-note-icon-bg);
    --sp-info-note-local-icon: var(--sp-info-note-icon);
    --sp-info-note-local-text: var(--sp-info-note-text);
    --sp-info-note-local-title: var(--sp-info-note-title);

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin: 16px 0 0;
    padding: 12px 16px 12px 14px;
    padding-inline-start: 18px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--sp-info-note-local-bg) 0%,
        var(--sp-info-note-local-bg-end) 100%
    );
    border: 1px solid var(--sp-info-note-local-border);
    box-shadow: var(--sp-info-note-shadow);
    color: var(--sp-info-note-local-text);
    direction: rtl;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.sp-info-note::before {
    content: "";
    position: absolute;
    inset-block: 8px;
    inset-inline-start: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--sp-info-note-local-accent);
}

#ltb-step-01 .sp-info-note,
#ltb-step-01 .step-content .sp-info-note,
#calendar-time-container .sp-info-note {
    background: linear-gradient(
        135deg,
        var(--sp-info-note-local-bg) 0%,
        var(--sp-info-note-local-bg-end) 100%
    ) !important;
    border-color: var(--sp-info-note-local-border) !important;
    color: var(--sp-info-note-local-text) !important;
}

.sp-info-note__icon-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-block-start: 1px;
    border-radius: 10px;
    background: var(--sp-info-note-local-icon-bg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.sp-info-note__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    color: var(--sp-info-note-local-icon);
    stroke: var(--sp-info-note-local-icon);
}

#ltb-step-01 .sp-info-note__icon,
#ltb-step-01 .sp-info-note .sp-info-icon {
    color: var(--sp-info-note-local-icon) !important;
    stroke: var(--sp-info-note-local-icon);
}

.sp-info-note__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-info-note__title {
    margin: 0;
    color: var(--sp-info-note-local-title);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.sp-info-note__text {
    margin: 0;
    flex: 1;
    min-width: 0;
    color: var(--sp-info-note-local-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

#ltb-step-01 .sp-info-note__text,
#ltb-step-01 .step-content .sp-info-note__text,
#ltb-step-01 .step-content p.sp-info-note__text,
#calendar-time-container .sp-info-note__text,
#calendar-time-container .sp-info-note p {
    color: var(--sp-info-note-local-text) !important;
}

#ltb-step-01 .sp-info-note__title,
#calendar-time-container .sp-info-note__title {
    color: var(--sp-info-note-local-title) !important;
}

.sp-info-note--booking-initial {
    --sp-info-note-local-bg: #eff6ff;
    --sp-info-note-local-bg-end: #dbeafe;
    --sp-info-note-local-border: #bfdbfe;
    --sp-info-note-local-accent: #2563eb;
    --sp-info-note-local-icon-bg: #dbeafe;
    --sp-info-note-local-icon: #1d4ed8;
    --sp-info-note-local-text: #1e3a8a;
    --sp-info-note-local-title: #1e40af;

    margin-top: 14px;
    width: 100%;
    padding-block: 11px;
    padding-inline: 16px 14px;
    padding-inline-start: 18px;
}

.sp-info-note--booking-initial .sp-info-note__text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

@media (min-width: 992px) {
    .sp-info-note--booking-initial .sp-info-note__text {
        font-size: 14px;
    }
}

.sp-info-note--size {
    margin-top: 28px;
}

.sp-info-note--size .sp-info-note__text {
    font-size: 13.5px;
}

@media (min-width: 992px) {
    .sp-info-note--size .sp-info-note__text {
        font-size: 14px;
    }
}

.sp-products-empty {
    grid-column: 1 / -1;
    width: 100%;
}

.sp-info-note--products-empty {
    margin: 0;
}

.sp-info-note--empty {
    --sp-info-note-local-bg: #fffbeb;
    --sp-info-note-local-bg-end: #fef3c7;
    --sp-info-note-local-border: #fde68a;
    --sp-info-note-local-accent: #d97706;
    --sp-info-note-local-icon-bg: #fef3c7;
    --sp-info-note-local-icon: #b45309;
    --sp-info-note-local-text: #78350f;
    --sp-info-note-local-title: #92400e;
}

.sp-step-note {
    margin: 20px 0 0;
    padding: 12px 16px 12px 14px;
    padding-inline-start: 18px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--sp-info-note-bg) 0%,
        var(--sp-info-note-bg-end) 100%
    );
    border: 1px solid var(--sp-info-note-border);
    box-shadow: var(--sp-info-note-shadow);
    color: var(--sp-info-note-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    text-align: right;
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.sp-step-note::before {
    content: "";
    position: absolute;
    inset-block: 8px;
    inset-inline-start: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--sp-info-note-accent);
}

/* ── Service cards ── */
.sp-service-slider {
    width: 100%;
}

.sp-service-slider .sp-service-grid,
.sp-service-slider__track,
.sp-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.sp-service-slider .service-card,
.services-container .sp-service-slider .service-card {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.service-card {
    position: relative;
    border: 2px solid #e6e6e6;
    background: transparent;
    border-radius: 16px;
    padding: 18px 14px 16px;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    direction: rtl;
    font-family: inherit;
    min-height: 132px;
    box-shadow: none;
}

.service-card:hover,
.service-card.active {
    border-color: var(--sp-primary);
    background: transparent;
    box-shadow: 0 8px 24px rgba(var(--sp-primary-rgb), 0.14);
    transform: translateY(-3px);
}

.service-card__icon-wrap {
    width: 58px;
    height: 58px;
    min-height: 58px;
    border-radius: 50%;
    background: rgba(var(--sp-primary-rgb), 0.1);
    color: var(--sp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    overflow: hidden;
    transition: background 0.25s ease, transform 0.25s ease;
}

.service-card:hover .service-card__icon-wrap,
.service-card.active .service-card__icon-wrap {
    background: rgba(var(--sp-primary-rgb), 0.18);
}

.service-card.active .service-card__icon-wrap {
    background: rgba(var(--sp-primary-rgb), 0.22);
    color: var(--sp-primary);
}

.service-card__icon,
.service-card__svg {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    transform: scale(1.35);
    transform-origin: center center;
    transition: transform 0.25s ease;
}

.service-card:hover .service-card__icon,
.service-card:hover .service-card__svg,
.service-card.active .service-card__icon,
.service-card.active .service-card__svg {
    transform: scale(1.35);
}

.service-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.service-card__title {
    font-size: 12px;
    font-weight: 700;
    color: var(--sp-secondary);
    line-height: 1.4;
    padding: 0 4px;
}

.service-card__hint {
    display: none;
}

/* Mobile product carousel pagination */
.sp-booking-slider-pager {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 10px 14px 2px;
    box-sizing: border-box;
}

.sp-booking-slider-pager[hidden] {
    display: none !important;
}

.sp-booking-slider-pager__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sp-booking-slider-pager__track::-webkit-scrollbar {
    display: none;
}

.sp-booking-slider-pager--many .sp-booking-slider-pager__track {
    max-width: min(100%, 240px);
}

.sp-booking-slider-pager--many .sp-booking-slider-pager__bullet,
.sp-booking-slider-pager--many .sp-products-swiper-bullet {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
    max-width: 6px !important;
    max-height: 6px !important;
}

.sp-booking-slider-pager--many .sp-booking-slider-pager__bullet.is-active,
.sp-booking-slider-pager--many .sp-products-swiper-bullet.is-active {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 6px !important;
    min-height: 6px !important;
    max-height: 6px !important;
}

.sp-booking-slider-pager__bullet,
.sp-products-swiper-bullet {
    display: block !important;
    flex: 0 0 auto;
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    background: #cbd5e1 !important;
    box-shadow: none !important;
    line-height: 0 !important;
    font-size: 0 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: width 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    -webkit-tap-highlight-color: transparent;
    align-self: center;
}

.sp-booking-slider-pager__bullet.is-active,
.sp-products-swiper-bullet.is-active {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 7px !important;
    min-height: 7px !important;
    max-height: 7px !important;
    background: var(--sp-primary, #c4161c) !important;
    box-shadow: 0 0 0 2px rgba(var(--sp-primary-rgb, 196, 22, 28), 0.14) !important;
}

.sp-booking-slider-pager__bullet::before,
.sp-products-swiper-bullet::before {
    content: "";
    position: absolute;
    inset: -10px;
}

.sp-booking-slider-pager__bullet,
.sp-products-swiper-bullet {
    position: relative;
}

.service-card__icon--placeholder {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--sp-primary-rgb), 0.15);
}

/* Desktop — category cards stretch equally across full row */
@media (min-width: 769px) {
    .sp-service-slider {
        overflow: visible;
    }

    .sp-service-slider .sp-service-grid,
    .sp-service-slider__track {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
        overflow: visible;
        scroll-snap-type: none;
        padding: 0;
        flex-wrap: unset;
    }

    .sp-service-slider .service-card,
    .services-container .sp-service-slider .service-card {
        flex: unset !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        scroll-snap-align: unset;
    }
}

/* ── Branch dropdowns ── */
.sp-branch-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    direction: rtl;
}

.sp-select-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-select-field label {
    font-size: 15px;
    font-weight: 800;
    color: var(--sp-secondary);
    text-align: right;
    width: 100%;
    direction: rtl;
}

.sp-select-field select,
.sp-select-wrap select {
    width: 100%;
    min-height: 56px;
    padding: 16px 44px 16px 18px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #f3f3f3;
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-secondary);
    appearance: none;
    -webkit-appearance: none;
    background-image: none;
    cursor: pointer;
    line-height: 1.4;
}

.sp-select-wrap select {
    padding-left: 18px;
    padding-right: 48px;
}

.sp-select-wrap {
    position: relative;
}

.sp-select-chevron-wrap {
    position: absolute;
    right: 18px;
    left: auto;
    inset-inline-start: auto;
    inset-inline-end: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    line-height: 0;
}

.branch-time-container-new .sp-select-chevron-wrap {
    color: var(--sp-secondary);
    right: 18px;
    left: auto;
    inset-inline-start: auto;
    inset-inline-end: 18px;
}

/* ── Chevron icon (Lucide chevron-up) ── */
.sp-chevron-icon {
    display: block;
    flex-shrink: 0;
    color: inherit;
}

.sp-chevron-icon--down {
    transform: rotate(180deg);
}

.sp-chevron-icon--left {
    transform: rotate(-90deg);
}

.sp-chevron-icon--right {
    transform: rotate(90deg);
}

.sp-select-field select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.sp-select-field select:focus {
    outline: none;
    border-color: var(--sp-primary);
    box-shadow: 0 0 0 3px rgba(var(--sp-primary-rgb), 0.12);
}

@media (max-width: 768px) {
    .sp-branch-selects {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .sp-select-field {
        gap: 6px;
        min-width: 0;
    }

    .sp-select-field label {
        font-size: 13px;
    }

    .sp-select-field select,
    .sp-select-wrap select {
        min-height: 48px;
        padding: 10px 38px 10px 10px;
        font-size: 13px;
    }

    .sp-select-chevron-wrap {
        right: 12px;
        left: auto;
        inset-inline-start: auto;
        inset-inline-end: 12px;
    }

    .sp-select-chevron-wrap .sp-chevron-icon {
        width: 16px;
        height: 16px;
    }

    /* Calendar — compact on mobile */
    .sp-booking-panel__body--calendar {
        min-height: 0;
        padding: 10px;
    }

    .sp-booking-panel__content--calendar #datepicker,
    .sp-booking-panel__content--calendar .ui-datepicker {
        padding: 4px !important;
    }

    .sp-booking-panel__content--calendar .ui-datepicker-header {
        font-size: 14px !important;
        padding: 4px 2px 8px !important;
    }

    .sp-booking-panel__content--calendar .ui-datepicker-title {
        font-size: 14px !important;
        line-height: 1.3;
    }

    .sp-booking-panel__content--calendar .ui-datepicker-calendar {
        table-layout: fixed !important;
        width: 100% !important;
        border-spacing: 2px !important;
    }

    .sp-booking-panel__content--calendar .ui-datepicker-calendar th {
        font-size: 9px !important;
        padding: 2px 0 !important;
        font-weight: 700 !important;
    }

    .sp-booking-panel__content--calendar .ui-datepicker-calendar th span {
        font-size: 9px !important;
        line-height: 1.1;
    }

    .sp-booking-panel__content--calendar .ui-datepicker-calendar td a,
    .sp-booking-panel__content--calendar .ui-datepicker-calendar td span {
        min-height: 34px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }

    .sp-booking-panel__content--calendar .ui-datepicker-prev,
    .sp-booking-panel__content--calendar .ui-datepicker-next {
        width: 28px !important;
        height: 28px !important;
    }
}

/* ── Product cards grid (real + lazy overlay use same layout) ── */
#ltb-step-01 #products-container.sp-products-grid:not(.swiper-wrapper),
#ltb-step-01 #products-container:not(.swiper-wrapper),
#ltb-step-01 #products-skeleton-grid.sp-products-grid:not(.swiper-wrapper),
#ltb-step-01 #products-skeleton-grid:not(.swiper-wrapper) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: start;
    direction: rtl;
}

@media (min-width: 769px) {
    #ltb-step-01 #products-container.sp-products-grid:not(.swiper-wrapper),
    #ltb-step-01 #products-container:not(.swiper-wrapper),
    #ltb-step-01 #products-skeleton-grid.sp-products-grid:not(.swiper-wrapper),
    #ltb-step-01 #products-skeleton-grid:not(.swiper-wrapper) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        overflow: visible !important;
        align-items: stretch !important;
    }

    #ltb-step-01 #products-skeleton-grid.sp-products-grid:not(.swiper-wrapper),
    #ltb-step-01 #products-skeleton-grid:not(.swiper-wrapper) {
        padding-top: 8px;
        padding-bottom: 16px;
    }

    #ltb-step-01 #products-container.sp-products-grid.sp-products-grid--content:not(.swiper-wrapper),
    #ltb-step-01 #products-container.sp-products-grid--content:not(.swiper-wrapper) {
        padding-top: 20px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 16px;
        box-sizing: border-box;
    }

    .sp-products-swiper-pagination {
        display: none !important;
    }
}

@media (min-width: 1100px) {
    #ltb-step-01 #products-container.sp-products-grid:not(.swiper-wrapper),
    #ltb-step-01 #products-container:not(.swiper-wrapper),
    #ltb-step-01 #products-skeleton-grid.sp-products-grid:not(.swiper-wrapper),
    #ltb-step-01 #products-skeleton-grid:not(.swiper-wrapper) {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    }
}

.sp-product-card,
.product-card.sp-product-card {
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    flex: none !important;
    background: #fff;
    border: 1.5px solid rgba(var(--sp-primary-rgb), 0.14);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.sp-product-card--lazy {
    cursor: default;
}

.sp-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--sp-primary-rgb), 0.25);
}

/* Desktop grid — room for hover lift + shadow (avoid clipped cards) */
@media (min-width: 769px) {
    .sp-filtered-products,
    .sp-products-zone,
    .sp-products-carousel,
    #ltb-step-01 .step-content.focused-card[data-step="2"] {
        overflow: visible !important;
    }

    #ltb-step-01 #products-container:not(.swiper-wrapper),
    #ltb-step-01 #products-skeleton-grid:not(.swiper-wrapper),
    .sp-products-grid:not(.swiper-wrapper):not(.sp-products-grid--content) {
        overflow: visible !important;
        align-items: stretch !important;
        padding-top: 8px;
        padding-bottom: 16px;
    }

    #ltb-step-01 #products-container.sp-products-grid.sp-products-grid--content:not(.swiper-wrapper),
    .sp-products-grid.sp-products-grid--content:not(.swiper-wrapper) {
        overflow: visible !important;
        align-items: stretch !important;
        padding-top: 20px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 16px;
        box-sizing: border-box;
    }

    #ltb-step-01 #products-container:not(.swiper-wrapper) > .sp-product-card,
    #ltb-step-01 #products-container:not(.swiper-wrapper) > .product-card,
    #ltb-step-01 #products-container:not(.swiper-wrapper) > .sp-package-card {
        height: 100% !important;
        min-height: 100% !important;
        position: relative;
        z-index: 0;
    }

    #ltb-step-01 #products-container:not(.swiper-wrapper) > .sp-product-card > .sp-product-card__body,
    #ltb-step-01 #products-container:not(.swiper-wrapper) > .product-card > .product-details,
    #ltb-step-01 #products-container:not(.swiper-wrapper) > .product-card > .sp-product-card__body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

    #ltb-step-01 #products-container:not(.swiper-wrapper) > .sp-package-card > .sp-package-card__shell {
        flex: 1 1 auto;
        min-height: 100%;
    }

    #ltb-step-01 #products-container:not(.swiper-wrapper) > .sp-product-card:hover,
    #ltb-step-01 #products-container:not(.swiper-wrapper) > .product-card:hover {
        z-index: 5;
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
    }

    .sp-product-card--spray:hover {
        transform: translateY(-2px);
    }
}

.sp-product-card.selected,
.sp-product-card.in-cart,
.product-card.sp-product-card.selected,
.product-card.sp-product-card.in-cart {
    background: #fff;
    border-color: var(--sp-primary);
    box-shadow: 0 0 0 3px rgba(var(--sp-primary-rgb), 0.16), 0 10px 28px rgba(var(--sp-primary-rgb), 0.12);
}

.sp-product-card__media,
.sp-product-card__media.product-image-container {
    position: relative;
    flex-shrink: 0;
    padding: 12px 14px 6px;
    background: #fff;
    box-sizing: border-box;
}

.sp-product-card__media-frame {
    position: relative;
    display: block;
    line-height: 0;
    padding: 0;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.sp-product-card__sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    right: auto;
    z-index: 3;
    background: var(--sp-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(var(--sp-primary-rgb), 0.35);
    letter-spacing: 0.02em;
    pointer-events: none;
}

.sp-product-card__img {
    width: 100%;
    height: auto;
    max-height: var(--sp-product-img-max-height);
    min-height: 0;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #fafafa;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-sizing: border-box;
    image-rendering: auto;
}

.sp-product-card__media-frame--video {
    background: #fafafa;
}

/* Match featured image box — contain, natural height, no crop/zoom */
.sp-product-card__video-wrap {
    width: 100%;
    line-height: 0;
    background: #fafafa;
}

.sp-product-card__video {
    width: 100%;
    height: auto;
    max-height: var(--sp-product-img-max-height);
    min-height: 0;
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    background: #fafafa;
    pointer-events: none;
    box-sizing: border-box;
}

.sp-product-card__video--mp4 {
    object-fit: contain;
    object-position: center;
}

.sp-product-card__video--embed {
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.sp-product-card__placeholder {
    width: 100%;
    min-height: 140px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 10px;
    color: var(--sp-primary);
}

.sp-product-card__placeholder .service-card__svg {
    width: 72px;
    height: 72px;
    opacity: 0.45;
}

.sp-product-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    flex: 1;
    direction: rtl;
    text-align: right;
}

.sp-product-card__title,
.sp-product-card__title.product-title,
#products-container .sp-product-card__title,
#products-container .product-title {
    margin: 0;
    padding: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--sp-secondary);
    line-height: 1.45;
    letter-spacing: 0;
    text-align: right;
    text-decoration: none;
    border-bottom: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    min-height: 0;
}

/* Product card — pricing panel */
.sp-product-card__price-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    direction: rtl;
}

/* Price block: row (prices + CTA) + meta (savings / VAT) */
.sp-product-card__price-action {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0;
    background: #fff;
    border: 1px solid #e6ebea;
    border-radius: 14px;
    box-sizing: border-box;
    direction: rtl;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.sp-product-card__price-action--on-sale {
    border-color: rgba(var(--sp-primary-rgb), 0.18);
}

.sp-product-card__price-row {
    padding: 14px 14px 12px;
    min-width: 0;
}

.sp-product-card__price-group {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
}

.sp-product-card__price-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 40px;
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    width: 100%;
    min-width: 0;
}

.sp-product-card__price-line:not(:has(.sp-product-card__price-before)),
.sp-product-card__price-line--no-sale {
    grid-template-columns: minmax(0, 1fr) 40px;
}

.sp-product-card__price-line:not(:has(.sp-product-card__price-before)) .sp-product-card__price-now,
.sp-product-card__price-line--no-sale .sp-product-card__price-now {
    grid-column: 1;
    justify-self: start;
    align-self: center;
}

.sp-product-card__price-now {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    text-align: right;
}

.sp-product-card__price-line--no-sale .sp-product-card__price-now {
    align-items: flex-start;
    justify-self: start;
    margin-inline-start: 0;
    margin-inline-end: auto;
}

.sp-product-card__price-now-label {
    display: block;
    font-size: 11px !important;
    font-weight: 800;
    color: var(--sp-primary);
    line-height: 1.1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.sp-product-card__price-line--no-sale .sp-product-card__price-now .sp-product-card__price-current {
    justify-content: flex-start;
    justify-self: start;
    margin: 0;
    margin-inline-start: 0;
    margin-inline-end: auto;
    text-align: right;
    width: auto;
    max-width: 100%;
}

.sp-product-card__price-line--no-sale .sp-product-card__price-now-label {
    align-self: flex-start;
}

.sp-product-card__price-line:has(.sp-product-card__price-before) .sp-product-card__price-now {
    align-items: center;
    justify-self: center;
    text-align: center;
}

.sp-product-card__price-line:has(.sp-product-card__price-before) .sp-product-card__price-now .sp-product-card__price-current {
    justify-content: center;
    justify-self: center;
    margin: 0 auto;
    text-align: center;
}

.sp-product-card__price-before {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
    text-align: right;
    justify-self: end;
}

.sp-product-card__price-before-label {
    display: block;
    font-size: 11px !important;
    font-weight: 800;
    color: var(--sp-primary);
    line-height: 1.1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    align-self: flex-start;
}

.sp-product-card__price-before .sp-product-card__price-regular {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    margin: 0;
    padding: 0;
    color: #a3aba8;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(163, 171, 168, 0.9);
    font-weight: 600;
    font-size: 11px;
    line-height: 1.15;
}

.sp-product-card__price-before .sp-product-card__price-regular .sp-price-sar__amount,
.sp-product-card__price-before .sp-product-card__price-regular .sp-price-sar__symbol {
    color: #a3aba8;
    font-size: 11px;
    font-weight: 600;
}

.sp-product-card__price-meta,
.sp-product-card__price-action-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    margin: 0;
    padding: 10px 14px 12px;
    border-top: 1px solid #eef1ef;
    background: #f9faf9;
    box-sizing: border-box;
    min-width: 0;
}

.sp-product-card__price-meta:not(:has(.sp-product-card__savings)),
.sp-product-card__price-action-footer:not(:has(.sp-product-card__savings)) {
    justify-content: flex-end;
}

.sp-product-card__price-meta .sp-product-card__price-vat-note,
.sp-product-card__price-meta .sp-product-card__tax-note,
.sp-product-card__price-action-footer .sp-product-card__price-vat-note,
.sp-product-card__price-action-footer .sp-product-card__tax-note {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 11px !important;
    font-weight: 600;
    color: #7d8683;
    line-height: 1.3;
    flex: none;
}

.sp-product-card__price-meta .sp-product-card__savings,
.sp-product-card__price-action-footer .sp-product-card__savings {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    margin: 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(var(--sp-primary-rgb), 0.12);
    border: 1px solid rgba(var(--sp-primary-rgb), 0.14);
    font-size: 12px;
    font-weight: 800;
    color: var(--sp-primary);
    line-height: 1.2;
    flex: none;
}

.sp-product-card__savings-label {
    font-weight: 800;
    opacity: 0.92;
}

.sp-product-card__warranty {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.sp-product-card__warranty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sp-primary);
    line-height: 0;
}

.sp-product-card__warranty-icon-svg {
    display: block;
    width: 16px;
    height: 16px;
}

.sp-product-card__warranty-text {
    font-size: 11px;
    font-weight: 800;
    color: var(--sp-primary);
    line-height: 1.3;
    white-space: nowrap;
}

.sp-product-card__price-line .sp-product-card__cart-toggle--icon-only {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    gap: 0;
    border-radius: 10px;
    border-width: 1.5px;
    justify-content: center;
    justify-self: start;
}

.sp-product-card__price-line .sp-product-card__cart-toggle__label {
    display: none !important;
}

.sp-product-card__price-line .sp-product-card__cart-toggle--icon-only .sp-product-card__cart-toggle__icon svg {
    width: 18px;
    height: 18px;
}

.sp-product-card__price-action .sp-product-card__cart-toggle__icon svg {
    width: 15px;
    height: 15px;
}

.sp-product-card__price-line .sp-product-card__price-main,
.sp-product-card__price-line .sp-product-card__price-current {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    text-align: center;
    justify-self: center;
    font-size: 20px !important;
    font-weight: 800;
    color: var(--sp-secondary);
    line-height: 1;
}

.sp-product-card__price-line .sp-price-sar {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.sp-product-card__price-line .sp-price-sar__amount {
    color: var(--sp-secondary);
    letter-spacing: -0.02em;
    font-size: 20px !important;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.sp-product-card__price-line .sp-price-sar__symbol {
    flex-shrink: 0;
    color: var(--sp-secondary);
    font-size: 1.45em;
    line-height: 1;
    min-width: 0.9em;
}

.sp-product-card__price-main,
.sp-product-card__price-current {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 6px;
    font-weight: 800;
    color: var(--sp-secondary);
    line-height: 1.1;
}

.sp-product-card__price-main .sp-price-sar,
.sp-product-card__price-current .sp-price-sar {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 5px;
    direction: ltr;
    unicode-bidi: isolate;
}

.sp-product-card__price-line .sp-product-card__price-main .sp-price-sar__amount,
.sp-product-card__price-line .sp-product-card__price-current .sp-price-sar__amount {
    color: var(--sp-secondary);
    letter-spacing: -0.02em;
    font-size: 20px !important;
    font-weight: 800;
}

.sp-product-card__price-line .sp-product-card__price-current,
#products-container .sp-product-card__price-current {
    font-size: 20px !important;
}

.sp-product-card__price-main .sp-price-sar__symbol,
.sp-product-card__price-current .sp-price-sar__symbol {
    color: var(--sp-secondary);
    font-size: 1.45em;
    line-height: 1;
    min-width: 0.9em;
}

.sp-product-card__price-line .sp-price-sar__symbol.icon-saudi_riyal_new::after,
.sp-product-card__price-line .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after,
.sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_new::after,
.sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after {
    font-size: 1.45em !important;
    min-width: 0.9em !important;
    min-height: 1em !important;
}

/* Always use SAR icon font — hide WooCommerce text currency if leaked */
.sp-product-card .woocommerce-Price-currencySymbol,
.sp-product-card .price .woocommerce-Price-currencySymbol {
    display: none !important;
}

.sp-product-card__cart-toggle {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    margin: 0;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.35);
    border-radius: 8px;
    background: #fff;
    color: var(--sp-primary);
    cursor: pointer;
    font-family: var(--sp-font-family);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.sp-product-card__cart-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.sp-product-card__cart-toggle__icon svg {
    display: block;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.sp-product-card__cart-toggle__label {
    display: inline-block;
}

.sp-product-card__cart-toggle:hover {
    background: rgba(var(--sp-primary-rgb), 0.06);
    border-color: rgba(var(--sp-primary-rgb), 0.5);
}

.sp-product-card__cart-toggle.is-in-cart {
    background: var(--sp-primary);
    color: #fff;
    border-color: var(--sp-primary);
}

.sp-product-card__cart-toggle.is-in-cart .sp-product-card__cart-toggle__icon svg {
    transform: rotate(45deg);
    stroke: #fff;
}

.sp-product-card__cart-toggle.is-in-cart:hover {
    background: #a81218;
    border-color: #a81218;
    color: #fff;
}

.sp-product-card__price-prefix {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--sp-primary);
    line-height: 1.2;
    letter-spacing: 0.01em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(var(--sp-primary-rgb), 0.08);
}

.sp-product-card[data-product-type="variable"] .sp-product-card__price-prefix {
    display: none !important;
}

.sp-product-card__price-action-footer .sp-price-sar {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    direction: ltr;
    unicode-bidi: isolate;
}

.sp-product-card__price-action-footer .sp-product-card__savings .sp-price-sar__amount,
.sp-product-card__savings .sp-price-sar__amount,
.sp-product-card__savings .sp-price-sar__symbol {
    color: var(--sp-primary);
    font-weight: 800;
}

.sp-product-card__savings .sp-price-sar__symbol {
    font-size: 1.1em;
}


.sp-product-card__installment {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    border: 1px solid #e6ebea;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
}

.sp-product-card__installment-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: center;
    justify-content: center;
    gap: 3px;
    flex: 1 1 auto;
    max-width: 65%;
    min-width: 0;
    padding: 12px 14px;
    box-sizing: border-box;
    border-inline-start: 1px solid #eef1ef;
    text-align: right;
}

.sp-product-card__installment-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a9390;
    line-height: 1.2;
    text-align: right;
    width: 100%;
}

.sp-product-card__installment-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--sp-secondary);
    line-height: 1.4;
    min-width: 0;
    width: 100%;
    text-align: right;
}

.sp-product-card__installment-label strong {
    font-weight: 900;
    color: var(--sp-primary);
}

.sp-product-card__installment-logos {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: flex-start;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.sp-product-card__installment--variable .sp-product-card__installment-logos {
    gap: 6px;
}

.sp-product-card__pay-logo {
    display: block !important;
    width: auto !important;
    height: 24px !important;
    max-height: 24px !important;
    max-width: 72px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
}

.sp-product-card__installment--variable .sp-product-card__pay-logo {
    height: 22px !important;
    max-height: 22px !important;
}

.sp-product-card__cta,
.sp-product-card__details-link,
.sp-product-card .more-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 0;
    margin-top: auto;
    padding: 11px 16px 13px;
    background: transparent;
    color: #5c6562;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    border: none;
    border-top: 1px solid #ececec;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
    transition: color 0.2s ease, background 0.2s ease;
}

.sp-product-card__details-link-text {
    text-decoration: underline;
    text-decoration-color: rgba(var(--sp-primary-rgb), 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.sp-product-card__details-link::after,
.sp-product-card__cta.sp-product-card__details-link::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-top: 1px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.75;
    flex-shrink: 0;
}

.sp-product-card__cta:hover,
.sp-product-card__details-link:hover,
.sp-product-card .more-details:hover {
    background: #fafafa;
    color: var(--sp-primary);
}

.sp-product-card__cta:hover .sp-product-card__details-link-text,
.sp-product-card__details-link:hover .sp-product-card__details-link-text {
    text-decoration-color: var(--sp-primary);
}

/* Product images — natural height, no crop (override legacy layout rules) */
#products-container .sp-product-card__img,
#products-container .product-card .sp-product-card__img,
#ltb-step-01 #products-container .sp-product-card__img,
#products-container .product-image-container .sp-product-card__img,
#products-container .product-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: var(--sp-product-img-max-height, 360px) !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

#products-container .sp-product-card__video,
#products-container .product-image-container .sp-product-card__video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: var(--sp-product-img-max-height, 360px) !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #fafafa !important;
}

#products-container .sp-product-card__video--embed {
    aspect-ratio: 4 / 3;
}

#products-container .sp-product-card__media,
#products-container .sp-product-card__media.product-image-container,
#products-container .product-image-container {
    padding: 12px 14px 6px !important;
    box-sizing: border-box;
}

#products-container .sp-product-card__media-frame {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

#products-container .sp-product-card__media-frame .sp-product-card__img,
#products-container .sp-product-card__media-frame .sp-product-card__video {
    width: 100% !important;
    height: auto !important;
    max-height: var(--sp-product-img-max-height, 360px) !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Booking grid: undo legacy layout centering on product cards */
#ltb-step-01 #products-container .sp-product-card .product-details,
#ltb-step-01 #products-container .sp-product-card__body.product-details {
    text-align: right !important;
    align-items: stretch !important;
    padding: 14px 16px 10px !important;
}

#ltb-step-01 #products-container .sp-product-card__title,
#ltb-step-01 #products-container .sp-product-card__title.product-title {
    text-align: right !important;
    justify-content: flex-start !important;
}

#products-container .sp-product-card .product-details .sp-product-card__price-before del,
#products-container .sp-product-card .product-details .sp-product-card__price-before .sp-product-card__price-regular {
    font-size: inherit !important;
    font-weight: inherit !important;
}

#products-container .sp-product-card .product-details .sp-product-card__price-before-label {
    font-size: 11px !important;
    align-self: center;
}

#products-container .sp-product-card .product-details .sp-product-card__price-current,
#products-container .sp-product-card .product-details .sp-product-card__price-current .sp-price-sar__amount {
    font-size: 20px !important;
    font-weight: 800 !important;
}

@media (max-width: 380px) {
    .sp-product-card__price-line {
        grid-template-columns: minmax(0, 1fr) 40px;
    }

    .sp-product-card__price-before {
        grid-column: 1 / -1;
        justify-self: stretch;
        align-items: flex-end;
    }

    .sp-product-card__price-line .sp-product-card__price-now {
        grid-column: 1;
    }

    .sp-product-card__price-line .sp-product-card__price-current {
        justify-self: end;
    }

    .sp-product-card__price-line--no-sale .sp-product-card__price-now,
    .sp-product-card__price-line--no-sale .sp-product-card__price-now .sp-product-card__price-current {
        align-items: flex-start;
        justify-self: start;
        justify-content: flex-start;
        text-align: right;
    }

    .sp-product-card__price-line .sp-product-card__cart-toggle--icon-only {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .sp-product-card__price-line .sp-product-card__price-current .sp-price-sar__amount,
    .sp-product-card__price-line .sp-price-sar__amount,
    .sp-product-card__price-line .sp-product-card__price-main,
    .sp-product-card__price-line .sp-product-card__price-current {
        font-size: 20px !important;
    }
}

/* ── Product price — Emran Saudi Riyal font (amount then currency) ── */
#ltb-step-01 .sp-price-sar,
.price-box .sp-price-sar,
.sp-product-card__price-panel .sp-price-sar,
.sp-package-card .sp-price-sar,
.sp-price-sar {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 5px;
    direction: rtl;
    unicode-bidi: isolate;
    color: inherit;
    white-space: nowrap;
}

#ltb-step-01 .sp-price-sar__amount,
.sp-price-sar__amount {
    font-weight: inherit;
    font-variant-numeric: tabular-nums;
}

#ltb-step-01 .sp-price-sar__symbol,
.sp-price-sar__symbol {
    display: inline-block;
    line-height: 1;
    font-size: 1.1em;
    color: inherit;
    min-width: 0.75em;
    text-align: center;
}

.sp-price-sar__symbol:empty::after {
    content: "\20c1";
    font-family: "saudi_riyal", sans-serif;
}

#ltb-step-01 .sp-price-sar--sm {
    gap: 3px;
}

#ltb-step-01 .sp-price-sar--sm .sp-price-sar__symbol {
    font-size: 1em;
}

.sp-product-card__price-current .sp-price-sar__symbol {
    font-size: 1.45em;
}

/* ── Branch flow: region → branches ── */
.sp-branch-flow {
    direction: rtl;
}

.sp-branch-region-step {
    margin-bottom: 8px;
}

.sp-branch-list-step {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.sp-branch-step-header {
    margin-bottom: 16px;
}

.sp-branch-step-header .card-main-title {
    font-size: 1.125rem;
}

.sp-branch-region-label {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--sp-primary);
}

.sp-branch-selects--region-only {
    max-width: 420px;
    margin-bottom: 16px;
}

.sp-branch-location-note {
    margin-top: 16px;
}

.sp-branch-location-note .sp-info-note--branch-location {
    margin: 0;
}

/* ── Branch cards ── */
.sp-branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    direction: rtl;
}

.sp-branch-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: right;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 20px;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.sp-branch-card:hover,
.sp-branch-card.is-selected {
    border-color: var(--sp-primary);
    box-shadow: 0 12px 30px rgba(var(--sp-primary-rgb), 0.14);
}

.sp-branch-card__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--sp-secondary);
    margin: 0 0 10px;
}

.sp-branch-card__address {
    font-size: 13px;
    color: #555 !important;
    line-height: 1.65;
    margin: 0 0 12px;
}

.sp-branch-card__address-label,
.sp-branch-card__meta-label {
    font-weight: 700;
    color: #888;
}

.sp-branch-card__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    margin-top: auto;
}

.sp-branch-card__hours {
    color: #333;
    font-weight: 600;
    line-height: 1.5;
}

.sp-branch-card__closed {
    color: var(--sp-primary);
    font-weight: 700;
}

.sp-sub-branch-wrap {
    margin-top: 20px;
    direction: rtl;
}

.sp-sub-branch-wrap__title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--sp-secondary);
}

.sp-sub-branch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-sub-branch-btn {
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.sp-sub-branch-btn:hover,
.sp-sub-branch-btn.is-selected {
    border-color: var(--sp-primary);
    background: rgba(var(--sp-primary-rgb), 0.08);
    color: var(--sp-primary);
}

.sp-branch-info {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8f8f8;
    direction: rtl;
    text-align: right;
    font-size: 13px;
}

.sp-branch-info__closed {
    color: var(--sp-primary);
    font-weight: 700;
    margin: 6px 0 0;
}

.ui-datepicker .sp-day-off span {
    opacity: 0.35;
}

/* ── Saudi Riyal price (amount then symbol, left-to-right) ── */
.sp-price-sar__amount {
    font-weight: 800;
}

.sp-door-to-door-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.sp-door-to-door-icon {
    flex-shrink: 0;
    color: var(--sp-primary);
    line-height: 0;
}

/* ── Quick view popup only (do not override global SweetAlert2 icon/button defaults) ── */
div.swal2-container .swal2-popup.sp-booking-quickview-popup {
    border-radius: 16px !important;
    padding: 1.25rem 1.25rem 1rem !important;
    max-height: none !important;
    overflow: visible !important;
}

/* No outer popup scroll — only .sp-qv__desc-inner scrolls */
div.swal2-container .swal2-popup.sp-booking-quickview-popup .swal2-html-container {
    max-height: none !important;
    overflow: visible !important;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.sp-qv,
.quick-view-container.sp-qv {
    direction: rtl;
    text-align: right;
    font-family: var(--sp-font-family);
    color: var(--sp-secondary);
}

.sp-qv__title {
    margin: 0 0 12px;
    padding-left: 2.25rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--sp-secondary);
    line-height: 1.35;
}

div.swal2-container .swal2-popup.sp-booking-quickview-popup .swal2-close,
div.swal2-container .swal2-popup.sp-booking-package-qv-popup .swal2-close {
    position: absolute;
    left: 0.85rem;
    right: auto;
    inset-inline-start: auto;
    inset-inline-end: auto;
    top: 1.15rem;
    z-index: 10;
    margin: 0;
}

.sp-qv__price,
#quick-view-price-container.sp-qv__price {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    flex-direction: row;
    margin-bottom: 14px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--sp-primary);
}

.sp-price-display,
#quick-view-price-container .sp-price-display {
    display: inline-flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    flex-direction: column;
    direction: rtl;
}

.sp-price-display:has(del):not(.sp-price-display--on-sale),
.sp-price-display:has(.sp-price-regular):not(.sp-price-display--on-sale),
.sp-price-display.sp-price-display--summary:not(.sp-price-display--on-sale) {
    flex-direction: column;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
}

/* On sale: sale + regular stacked (column) */
.sp-price-display.sp-price-display--on-sale,
#quick-view-price-container .sp-price-display.sp-price-display--on-sale,
#quick-view-price-container:has(> del):has(> ins),
#quick-view-price-container:has(> .sp-price-regular--strike),
.sp-summary-price-cell .sp-price-display.sp-price-display--on-sale {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    direction: rtl;
}

.sp-price-display--on-sale ins,
.sp-price-display--on-sale .sp-price-sale,
.sp-price-display--on-sale .sp-price-current,
#quick-view-price-container .sp-price-display--on-sale ins,
#quick-view-price-container .sp-price-display--on-sale .sp-price-sale,
#quick-view-price-container > ins,
#quick-view-price-container > .sp-price-sale {
    display: inline-flex !important;
    order: 1;
}

.sp-price-display--on-sale del,
.sp-price-display--on-sale .sp-price-regular--strike,
#quick-view-price-container .sp-price-display--on-sale del,
#quick-view-price-container > del,
#quick-view-price-container > .sp-price-regular--strike {
    display: inline-flex !important;
    order: 0;
}

/* Strikethrough line drawn with ::after (works with SAR font / inline-flex). */
.sp-price-display--on-sale .sp-price-regular--strike,
.sp-price-display--on-sale del.sp-price-regular,
#quick-view-price-container .sp-price-regular--strike,
#quick-view-price-container del.sp-price-regular,
#quick-view-price-container > del.sp-price-regular,
.sp-summary-price-cell .sp-price-display--on-sale .sp-price-regular--strike,
.sp-summary-price-cell .sp-price-display--on-sale del.sp-price-regular {
    position: relative;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    color: #999 !important;
    font-weight: 600 !important;
    line-height: 1.2;
    white-space: nowrap;
}

.sp-price-display--on-sale .sp-price-regular--strike::after,
.sp-price-display--on-sale del.sp-price-regular::after,
#quick-view-price-container .sp-price-regular--strike::after,
#quick-view-price-container del.sp-price-regular::after,
#quick-view-price-container > del.sp-price-regular::after,
.sp-summary-price-cell .sp-price-display--on-sale .sp-price-regular--strike::after,
.sp-summary-price-cell .sp-price-display--on-sale del.sp-price-regular::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: #999;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.sp-price-display--on-sale .sp-price-regular--strike .sp-price-sar,
.sp-price-display--on-sale del .sp-price-sar,
.sp-price-display--on-sale .sp-price-regular--strike .sp-price-sar__amount,
.sp-price-display--on-sale .sp-price-regular--strike .sp-price-sar__symbol,
#quick-view-price-container del .sp-price-sar,
#quick-view-price-container del .sp-price-sar__amount,
#quick-view-price-container del .sp-price-sar__symbol {
    text-decoration: none !important;
}

.sp-price-display:not(.sp-price-display--on-sale) del,
.sp-price-display:not(.sp-price-display--on-sale) .sp-price-regular--strike,
.sp-qv__price:not(:has(.sp-price-display--on-sale)) del,
#quick-view-price-container:not(:has(.sp-price-display--on-sale)) del {
    display: inline-flex;
    font-size: 0.875rem !important;
    color: #999 !important;
    text-decoration: line-through !important;
    text-decoration-line: line-through !important;
    -webkit-text-decoration-line: line-through !important;
    font-weight: 600 !important;
    background: transparent !important;
    line-height: 1.2;
    white-space: nowrap;
}

/* Non–on-sale del: keep text-decoration fallback */
.sp-price-display:not(.sp-price-display--on-sale) del .sp-price-sar,
.sp-price-display:not(.sp-price-display--on-sale) del .sp-price-sar__amount,
.sp-price-display:not(.sp-price-display--on-sale) del .sp-price-sar__symbol {
    text-decoration: line-through !important;
    color: #999 !important;
}

.sp-price-display ins,
.sp-price-display .sp-price-current,
.sp-qv__price ins,
#quick-view-price-container ins,
#quick-view-price-container .sp-price-sale,
#quick-view-price-container .sp-price-current {
    display: inline-flex;
    text-decoration: none !important;
    color: var(--sp-primary) !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    background: transparent !important;
    line-height: 1.2;
    white-space: nowrap;
}

.sp-summary-price-cell {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.sp-summary-price-cell .sp-price-display {
    font-size: 0.9375rem;
    max-width: 100%;
    min-width: 0;
}

.sp-summary-price-cell .sp-price-display--summary .sp-price-regular--plain {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.sp-summary-price-cell .sp-price-display--summary ins,
.sp-summary-price-cell .sp-price-display--summary .sp-price-sale,
.sp-summary-price-cell .sp-price-display--summary .sp-price-current {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.sp-summary-price-cell .sp-price-display ins,
.sp-summary-price-cell .sp-price-display .sp-price-current,
.sp-summary-price-cell .sp-price-display .sp-price-sale,
.sp-summary-price-cell .sp-price-display del {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.sp-qv__variations {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ebebeb;
    background: #fafafa;
}

.sp-qv__field {
    margin-bottom: 12px;
}

.sp-qv__field:last-child {
    margin-bottom: 0;
}

.sp-qv__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--sp-secondary);
}

.sp-qv__select-wrap {
    position: relative;
}

.sp-qv__select,
.quick-view-variation-select.sp-qv__select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sp-secondary);
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-qv__select:hover,
.quick-view-variation-select:hover {
    border-color: rgba(var(--sp-primary-rgb), 0.45) !important;
}

.sp-qv__select:focus,
.quick-view-variation-select:focus {
    border-color: var(--sp-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--sp-primary-rgb), 0.15) !important;
    outline: none;
}

.sp-qv__select-chevron {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(var(--sp-primary-rgb), 0.08);
    color: var(--sp-primary);
}

.sp-qv__desc {
    margin-bottom: 14px;
}

.sp-qv__desc-inner {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.2);
    background: rgba(var(--sp-primary-rgb), 0.05);
    width: 100%;
    box-sizing: border-box;
    max-height: min(33vh, 260px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--sp-primary-rgb), 0.45) rgba(0, 0, 0, 0.06);
}

.sp-qv__desc-inner::-webkit-scrollbar {
    width: 7px;
}

.sp-qv__desc-inner::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
}

.sp-qv__desc-inner::-webkit-scrollbar-thumb {
    background: rgba(var(--sp-primary-rgb), 0.42);
    border-radius: 999px;
}

.sp-qv__desc-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--sp-primary-rgb), 0.58);
}

.sp-qv__desc-body {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--sp-secondary);
    line-height: 1.7;
}

.sp-qv-desc-list {
    margin: 0;
    padding: 0 1.1em 0 0;
    list-style: disc;
}

.sp-qv-desc-list li {
    margin-bottom: 6px;
    font-weight: 400;
}

.sp-qv-desc-text,
.sp-qv-desc-text p,
.sp-qv-desc-text strong,
.sp-qv-desc-text b {
    font-weight: 400;
}

.sp-qv-desc-list li:last-child {
    margin-bottom: 0;
}

.sp-qv-desc-text p {
    margin: 0 0 8px;
}

.sp-qv-desc-text p:last-child {
    margin-bottom: 0;
}

.sp-qv__desc-meta[hidden],
.sp-qv__warranty-row[hidden] {
    display: none !important;
}

.sp-qv__desc-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(var(--sp-primary-rgb), 0.15);
}

.sp-qv__desc-body + .sp-qv__desc-meta {
    margin-top: 12px;
}

.sp-qv__desc-body:empty + .sp-qv__desc-meta {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.sp-qv__warranty-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.sp-qv__warranty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sp-primary);
    line-height: 0;
}

.sp-qv__warranty-icon-svg {
    display: block;
    width: 20px;
    height: 20px;
}

.sp-qv__warranty-label {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--sp-primary);
    line-height: 1.3;
}

.sp-summary-service__spray-zone {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.sp-summary-spray-zone-name {
    font-weight: 700;
    color: var(--sp-primary);
}

.sp-summary-spray-color {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    direction: ltr;
    unicode-bidi: isolate;
}

.sp-summary-spray-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.sp-summary-spray-color-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #2a3038;
}

.sp-summary-spray-hex {
    margin: 0;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f4f7f9;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #4a5568;
    line-height: 1.3;
}

.sp-summary-spray-color-pending {
    font-size: 0.8125rem;
    color: #888;
}

.sp-qv__warranty-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sp-secondary);
    line-height: 1.3;
}

.sp-qv__meta-list {
    margin: 0;
    padding: 0 1.1em 0 0;
    list-style: disc;
}

.sp-qv__meta-list li {
    margin-bottom: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sp-secondary);
    line-height: 1.45;
}

.sp-qv__meta-list li:last-child {
    margin-bottom: 0;
}

.sp-qv__meta-list--warranty li {
    font-weight: 700;
    color: var(--sp-primary);
}

.sp-qv__warranty-value--selected {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sp-secondary);
}

.sp-qv-locked-value {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(var(--sp-primary-rgb), 0.06);
    border: 1px solid rgba(var(--sp-primary-rgb), 0.18);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sp-secondary);
}

.sp-qv-locked-value i {
    color: var(--sp-primary);
    font-size: 11px;
}

.sp-qv__installment,
.quick-view-installment.sp-qv__installment {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    border-radius: 12px;
    border: 1px solid #e6ebea;
    background: #fff;
    margin-top: 4px;
    overflow: hidden;
    min-width: 0;
    box-sizing: border-box;
}

.sp-qv__installment-text {
    flex: 1 1 auto;
    max-width: 65%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
    justify-content: center;
    padding: 12px 14px;
    box-sizing: border-box;
    border-inline-start: 1px solid #eef1ef;
    text-align: right;
}

.sp-qv__tabby-line {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sp-secondary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    line-height: 1.45;
    text-align: right;
}

.sp-qv-tabby-amount {
    color: var(--sp-primary);
    font-weight: 800;
}

.sp-qv-tabby-badge {
    display: inline-block;
    background: rgba(var(--sp-primary-rgb), 0.1);
    color: var(--sp-primary);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 800;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.22);
    line-height: 1.2;
}

.sp-qv__installment-logos {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    background: transparent;
    overflow: hidden;
}

.sp-qv__installment--variable .sp-qv__installment-logos {
    gap: 6px;
}

.sp-qv__installment-logos img {
    display: block;
    width: auto;
    height: 24px;
    max-height: 24px;
    max-width: 72px;
    object-fit: contain;
    object-position: center;
}

.sp-qv__installment--variable .sp-qv__installment-logos img {
    height: 22px;
    max-height: 22px;
}

div.swal2-container .swal2-popup.sp-booking-quickview-popup .swal2-actions .sp-qv-confirm-btn {
    background: var(--sp-primary) !important;
    border-color: var(--sp-primary) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
}

div.swal2-container .swal2-popup.sp-booking-quickview-popup .swal2-actions .sp-qv-confirm-btn--remove {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

div.swal2-container .swal2-popup.sp-booking-quickview-popup .swal2-actions .sp-qv-confirm-btn--remove:hover,
div.swal2-container .swal2-popup.sp-booking-quickview-popup .swal2-actions .sp-qv-confirm-btn--remove:focus {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

div.swal2-container .swal2-popup.sp-booking-quickview-popup .swal2-actions .sp-qv-cancel-btn {
    background: #6b7280 !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

@media (max-width: 600px) {
    .sp-qv__price,
    #quick-view-price-container.sp-qv__price {
        justify-content: flex-start !important;
    }

    .sp-qv__title {
        font-size: 1rem;
    }
}

/* Product card — VAT note (end-of-file override) */
.sp-product-card__price-vat-note,
.sp-product-card__tax-note {
    font-size: 10px !important;
    flex: none !important;
}

/* ── Category package cards (same #products-container grid as product cards) ── */
#ltb-step-01 #products-container.sp-products-grid--packages,
#ltb-step-01 #products-skeleton-grid.sp-products-grid--packages {
    padding-top: 64px;
    row-gap: 64px !important;
    column-gap: 20px !important;
    overflow: visible;
}

#ltb-step-01 #products-container.sp-products-grid--packages > .sp-package-card,
#ltb-step-01 #products-skeleton-grid.sp-products-grid--packages > .sp-package-card {
    width: 100% !important;
    min-width: 0;
    max-width: none;
}

.sp-package-card {
    position: relative;
    height: 100%;
    padding-top: 48px;
    isolation: isolate;
}

.sp-package-card__shell {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(var(--sp-primary-rgb), 0.12);
    overflow: visible;
    padding: 0 0 24px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sp-package-card__media {
    position: absolute;
    top: -88px;
    inset-inline: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin: 0;
    padding: 0;
    pointer-events: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.sp-package-card__image {
    position: relative;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
}

.sp-package-card__price-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    min-width: 0;
}

.sp-package-card__price-row .sp-package-card__prices {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    align-items: center;
}

.sp-package-card__prices .sp-package-card__sale-badge {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: #fff;
    background: linear-gradient(135deg, var(--sp-primary) 0%, #a81218 100%);
    border: none;
    box-shadow: 0 2px 10px rgba(var(--sp-primary-rgb), 0.32);
    pointer-events: none;
}

.sp-package-card__prices--on-sale .sp-package-card__sale-badge {
    box-shadow: 0 2px 12px rgba(var(--sp-primary-rgb), 0.38);
}

.sp-package-card__prices--on-sale .sp-package-card__price-current {
    color: var(--sp-primary);
}

.sp-package-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 32px;
    padding: 90px 22px 0;
    text-align: start;
    align-items: stretch;
}

.sp-package-card__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.sp-package-card__title {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    color: var(--sp-secondary);
    letter-spacing: 0;
    text-align: right;
}

.sp-package-card__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    width: 100%;
    min-width: 0;
}

/* Never inherit product-card price grid (clips Riyal icon on mobile) */
.sp-package-card .sp-package-card__prices.sp-product-card__price-line,
.sp-package-card__prices {
    display: flex !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
}

.sp-package-card__price-prefix {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--sp-primary);
    line-height: 1.2;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(var(--sp-primary-rgb), 0.08);
}

.sp-package-card__price-current {
    font-size: 14px;
    font-weight: 800;
    color: var(--sp-secondary);
    flex: 0 1 auto;
    min-width: 0;
}

.sp-package-card__prices--on-sale .sp-package-card__price-current {
    color: var(--sp-primary);
}

.sp-package-card__prices--on-sale {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 4px 6px;
    direction: rtl;
    overflow: hidden;
}

.sp-package-card__price-display-wrap {
    display: inline-flex;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.sp-package-card__prices--on-sale .sp-price-display.sp-price-display--on-sale {
    display: inline-flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    direction: rtl !important;
    gap: 4px !important;
    row-gap: 4px;
    max-width: 100%;
    flex: 1 1 auto;
    min-width: 0;
}

.sp-package-card__prices--on-sale .sp-price-display--on-sale del,
.sp-package-card__prices--on-sale .sp-price-display--on-sale del .sp-price-sar__amount,
.sp-package-card__prices--on-sale .sp-price-display--on-sale .sp-price-regular--strike {
    font-size: 11px !important;
}

.sp-package-card__prices--on-sale .sp-price-display--on-sale ins,
.sp-package-card__prices--on-sale .sp-price-display--on-sale .sp-price-sale,
.sp-package-card__prices--on-sale .sp-price-display--on-sale ins .sp-price-sar__amount {
    flex: 0 0 auto;
    font-size: 14px !important;
    font-weight: 800;
    color: var(--sp-primary);
    text-decoration: none;
    white-space: nowrap;
}

.sp-package-card__prices--on-sale .sp-price-display--on-sale del,
.sp-package-card__prices--on-sale .sp-price-display--on-sale .sp-price-regular--strike {
    flex: 0 0 auto;
    position: relative;
    margin: 0;
    white-space: nowrap;
}

.sp-package-card__prices--on-sale .sp-package-card__sale-badge {
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
    padding: 3px 7px;
    font-size: 9px;
    line-height: 1.1;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .sp-package-card__price-current,
    .sp-package-card__price-current .sp-price-sar__amount {
        font-size: 16px;
    }

    .sp-package-card__price-current .sp-price-sar__symbol {
        font-size: 1.1em;
    }

    .sp-package-card__prices--on-sale .sp-package-card__price-old {
        font-size: 11px;
    }

    .sp-package-card__prices--on-sale .sp-price-display--on-sale ins,
    .sp-package-card__prices--on-sale .sp-price-display--on-sale .sp-price-sale,
    .sp-package-card__prices--on-sale .sp-price-display--on-sale ins .sp-price-sar__amount {
        font-size: 16px !important;
    }

    .sp-package-card__prices--on-sale .sp-price-display--on-sale del,
    .sp-package-card__prices--on-sale .sp-price-display--on-sale .sp-price-regular--strike,
    .sp-package-card__prices--on-sale .sp-price-display--on-sale del .sp-price-sar__amount {
        font-size: 11px;
    }

    .sp-package-card__prices--on-sale .sp-package-card__sale-badge {
        font-size: 9px;
        padding: 3px 8px;
    }
}

.sp-package-card__price-old {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none !important;
    white-space: nowrap;
}

.sp-package-card__price-old.sp-price-regular--strike::after,
.sp-package-card__price-old.sp-product-card__price-regular::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: #9ca3af;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

/* Package prices — same Saudi Riyal icon as service product cards */
.sp-package-card .sp-price-sar,
.sp-package-card__price-current .sp-price-sar,
.sp-package-card__price-old .sp-price-sar {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 5px;
    direction: rtl;
    unicode-bidi: isolate;
    color: inherit;
    white-space: nowrap;
}

.sp-package-card .sp-price-sar__amount {
    font-weight: inherit;
    font-variant-numeric: tabular-nums;
}

.sp-package-card .sp-price-sar__symbol,
.sp-package-card__price-current .sp-price-sar__symbol {
    display: inline-block !important;
    flex-shrink: 0 !important;
    color: inherit;
    font-size: 1.15em;
    line-height: 1;
    min-width: 0.85em;
    overflow: visible;
}

.sp-package-card__price-current .sp-price-sar__symbol {
    font-size: 1.35em;
}

.sp-package-card__price-old .sp-price-sar__symbol {
    font-size: 1em;
}

.sp-package-card .woocommerce-Price-currencySymbol,
.sp-package-card .price .woocommerce-Price-currencySymbol {
    display: none !important;
}

.sp-package-card__price-old .sp-price-sar__amount,
.sp-package-card__price-old .sp-product-card__price-regular .sp-price-sar__amount,
.sp-package-card__price-old .sp-product-card__price-regular .sp-price-sar__symbol {
    color: #9ca3af;
}

.sp-package-card__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    margin-bottom: 0 !important;
    padding: 0;
    list-style: none;
}

/* Override theme :is(ul,ol) li { margin-bottom: var(--li-mb); } */
.sp-package-card__keywords li,
.sp-package-card__keyword {
    margin: 0;
    margin-bottom: 0 !important;
}

.sp-package-card__keyword {
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    color: #374151;
    background: #f3f4f6;
}

.sp-package-card__keyword--accent {
    color: #fff;
    background: var(--sp-primary);
}

.sp-package-card__specs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.sp-package-card__spec {
    margin: 0;
}

.sp-package-card__spec-heading {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--sp-secondary);
}

.sp-package-card__spec-desc {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #6b7280;
}

.sp-package-card__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.sp-package-card .sp-package-card__installment--brand.sp-product-card__installment {
    width: 100%;
    align-items: center;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.22);
    background: rgba(var(--sp-primary-rgb), 0.04);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    overflow: hidden;
}

.sp-package-card .sp-package-card__installment--brand .sp-product-card__installment-copy,
.sp-package-card .sp-package-card__installment-copy {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    flex: 1 1 auto;
    max-width: none;
    min-height: 0;
    border-inline-end: 1px solid rgba(var(--sp-primary-rgb), 0.12);
    border-inline-start: none;
    padding: 12px 14px;
    text-align: end;
    gap: 0;
}

.sp-package-card .sp-package-card__installment--brand .sp-product-card__installment-label {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--sp-primary);
    margin: 0;
    width: 100%;
    text-align: right;
}

.sp-package-card .sp-package-card__installment--brand .sp-product-card__installment-label strong {
    font-weight: 900;
    color: var(--sp-primary);
}

.sp-package-card .sp-package-card__installment--brand .sp-product-card__installment-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 5px;
    padding: 10px 14px;
    flex: 1 1 auto;
    min-height: 0;
    background: transparent !important;
}

.sp-package-card .sp-product-card__pay-logo {
    height: 26px !important;
    max-height: 26px !important;
    max-width: 80px !important;
}

.sp-package-card__tax-note {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--sp-primary);
    text-align: start;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(var(--sp-primary-rgb), 0.55);
}

.sp-package-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.sp-package-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 10px;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.sp-package-card__btn--primary {
    color: #fff;
    background: var(--sp-primary);
    border-color: var(--sp-primary);
}

.sp-package-card__btn--primary:hover,
.sp-package-card__btn--primary:focus-visible {
    background: #a81218;
    border-color: #a81218;
    box-shadow: 0 8px 24px rgba(var(--sp-primary-rgb), 0.28);
}

.sp-package-card__btn--secondary {
    color: var(--sp-primary);
    background: #fff;
    border-color: rgba(var(--sp-primary-rgb), 0.35);
}

.sp-package-card__btn--secondary:hover,
.sp-package-card__btn--secondary:focus-visible {
    background: rgba(var(--sp-primary-rgb), 0.06);
    border-color: var(--sp-primary);
    box-shadow: 0 6px 18px rgba(var(--sp-primary-rgb), 0.12);
}

.sp-package-card__btn--add.is-in-cart {
    background: #111;
    color: #fff;
    border-color: #111;
    box-shadow: none;
}

.sp-package-card__btn--add.is-in-cart:hover,
.sp-package-card__btn--add.is-in-cart:focus-visible {
    background: #000;
    border-color: #000;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

#products-container .in-cart,
.sp-package-card.in-cart,
.sp-package-card.selected,
.sp-product-card.in-cart {
    background: transparent !important;
    background-color: transparent !important;
}

.sp-package-card.in-cart .sp-package-card__shell,
.sp-package-card.selected .sp-package-card__shell {
    background: #fff;
    border-color: var(--sp-primary);
    box-shadow: 0 0 0 3px rgba(var(--sp-primary-rgb), 0.16), 0 14px 36px rgba(var(--sp-primary-rgb), 0.14);
}

.sp-package-card.in-cart,
.sp-package-card.selected {
    z-index: 2;
}

.sp-package-card.in-cart .sp-package-card__installment--brand.sp-product-card__installment,
.sp-package-card.selected .sp-package-card__installment--brand.sp-product-card__installment {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none;
}

/* Package "المزيد" popup */
.sp-pkg-qv {
    direction: rtl;
    text-align: right;
    font-family: var(--sp-font-family);
    color: var(--sp-secondary);
}

.sp-pkg-qv__title {
    margin: 0 0 14px;
    padding-left: 2.25rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 800;
    color: var(--sp-secondary);
    line-height: 1.45;
}

.sp-pkg-qv__tabs {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    margin: 0 0 14px;
    padding: 4px;
    border-radius: 12px;
    background: #f3f4f6;
}

.sp-pkg-qv__tab {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 11px 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sp-pkg-qv__tab:hover,
.sp-pkg-qv__tab:focus-visible {
    color: var(--sp-secondary);
}

.sp-pkg-qv__tab.is-active {
    background: #fff;
    color: var(--sp-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sp-pkg-qv__panels {
    min-height: 0;
    max-height: min(42vh, 340px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--sp-primary-rgb), 0.45) rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding-inline-end: 4px;
    box-sizing: border-box;
}

.sp-pkg-qv__panels::-webkit-scrollbar {
    width: 8px;
}

.sp-pkg-qv__panels::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    margin: 4px 0;
}

.sp-pkg-qv__panels::-webkit-scrollbar-thumb {
    background: rgba(var(--sp-primary-rgb), 0.45);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.sp-pkg-qv__panels::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--sp-primary-rgb), 0.62);
    background-clip: padding-box;
}

.sp-pkg-qv__panel {
    display: none;
}

.sp-pkg-qv__panel.is-active {
    display: block;
}

.sp-pkg-qv__panel[hidden] {
    display: none !important;
}

.sp-pkg-qv__panel-inner {
    padding: 4px 8px 28px 4px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--sp-secondary);
    max-height: none;
    overflow: visible;
}

.sp-pkg-qv__desc-body p {
    margin: 0 0 10px;
}

.sp-pkg-qv__desc-body p:last-child {
    margin-bottom: 0;
}

.sp-pkg-qv__desc-body ul,
.sp-pkg-qv__desc-body ol {
    margin: 0 0 10px;
    padding-inline-start: 1.25rem;
}

.sp-pkg-qv__empty {
    margin: 0;
    color: rgba(var(--sp-secondary-rgb, 30, 30, 30), 0.65);
    font-size: 14px;
}

/* Package May — short description + warranty/offers HTML */
.sp-pkg-qv__desc-body .solarpro-maypkg-desc,
.sp-pkg-qv__desc-body .solarpro-maypkg-short {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-title {
    margin: 0 0 10px;
    padding: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--sp-secondary);
}

.sp-pkg-qv__desc-body .solarpro-maypkg-block {
    margin: 0;
    padding: 14px 14px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.sp-pkg-qv__desc-body .solarpro-maypkg-block .solarpro-maypkg-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-block .solarpro-maypkg-title::before {
    content: "";
    flex: 0 0 4px;
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: var(--sp-primary);
}

.sp-pkg-qv__desc-body .solarpro-maypkg-block--gift {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: #bbf7d0;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-block--gift .solarpro-maypkg-title::before {
    background: #16a34a;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-block--gift .solarpro-maypkg-title {
    color: #14532d;
    border-bottom-color: #bbf7d0;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-list li {
    position: relative;
    margin: 0;
    padding: 0 22px 0 0;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.55;
    color: #334155;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-list li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sp-primary);
    box-shadow: 0 0 0 2px rgba(var(--sp-primary-rgb), 0.15);
    transform: translateY(-50%);
}

.sp-pkg-qv__desc-body .solarpro-maypkg-block--gift .solarpro-maypkg-list li::before {
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.18);
}

.sp-pkg-qv__desc-body .solarpro-maypkg-short > .solarpro-maypkg-title {
    margin-bottom: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-feature {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8ecf0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.sp-pkg-qv__desc-body .solarpro-maypkg-feature-num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(var(--sp-primary-rgb), 0.1);
    color: var(--sp-primary);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-feature-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: #0f172a;
}

.sp-pkg-qv__desc-body .solarpro-maypkg-feature-text small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    color: #64748b;
}

div.swal2-container .swal2-popup.sp-booking-package-qv-popup {
    max-height: min(88vh, 760px) !important;
    padding: 1.25rem 1.25rem 1rem !important;
}

div.swal2-container .swal2-popup.sp-booking-package-qv-popup .swal2-html-container {
    margin: 0;
    margin-top: 4px;
    padding: 0;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box;
}

div.swal2-container .swal2-popup.sp-booking-package-qv-popup .swal2-actions {
    margin-top: 1rem;
    gap: 10px;
}

.sp-package-card--lazy .sp-lazy-shimmer {
    display: block;
    border-radius: 8px;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.sp-package-card--lazy .sp-package-card__price-row--skeleton {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.sp-package-card--lazy .sp-package-card__prices--skeleton {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    width: 100%;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-sale-badge {
    flex: 0 0 auto;
    width: 72px;
    height: 26px;
    border-radius: 10px;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-title {
    width: 78%;
    height: 16px;
    border-radius: 6px;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-price {
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 55%;
    height: 22px;
    border-radius: 6px;
}

.sp-package-card--lazy .sp-package-card__keywords--skeleton {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    margin-bottom: 0 !important;
    padding: 0;
    list-style: none;
}

.sp-package-card--lazy .sp-package-card__keywords--skeleton li {
    margin: 0;
    margin-bottom: 0 !important;
    list-style: none;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-keyword {
    width: 64px;
    height: 24px;
    border-radius: 999px;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-keyword--accent {
    width: 72px;
}

.sp-package-card--lazy .sp-package-card__specs--skeleton {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.sp-package-card--lazy .sp-package-card__specs--skeleton .sp-package-card__spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-spec-heading {
    width: 38%;
    height: 20px;
    border-radius: 6px;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-spec-desc {
    width: 62%;
    height: 13px;
    border-radius: 4px;
}

.sp-package-card--lazy .sp-package-card__installment--skeleton {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.12);
    background: rgba(var(--sp-primary-rgb), 0.04);
    overflow: hidden;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-installment-copy {
    flex: 1 1 auto;
    min-height: 52px;
    margin: 0;
    border-radius: 0;
    border-inline-end: 1px solid rgba(var(--sp-primary-rgb), 0.12);
}

.sp-package-card--lazy .sp-lazy-shimmer--package-installment-logos {
    flex: 0 0 42%;
    min-height: 52px;
    margin: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.04);
}

.sp-package-card--lazy .sp-lazy-shimmer--package-tax {
    width: 52%;
    height: 14px;
    margin-inline-start: auto;
    border-radius: 4px;
}

.sp-package-card--lazy .sp-package-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
}

.sp-package-card--lazy .sp-lazy-shimmer--package-btn--secondary {
    background: rgba(var(--sp-primary-rgb), 0.08);
}

@media (max-width: 768px) {
    #ltb-step-01 #products-container.sp-products-grid--packages,
    #ltb-step-01 #products-skeleton-grid.sp-products-grid--packages {
        padding-top: 52px;
        row-gap: 52px !important;
    }

    #ltb-step-01 #products-container.sp-products-grid--packages:not(.swiper-wrapper),
    #ltb-step-01 #products-container.sp-products-grid--packages.sp-products-grid--content:not(.swiper-wrapper) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: start !important;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .sp-products-swiper:has(.sp-package-card) {
        padding-top: 48px;
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .sp-products-swiper .swiper-slide:has(> .sp-package-card) {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .sp-products-swiper .swiper-slide > .sp-package-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .sp-package-card,
    .sp-package-card .sp-package-card__shell {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .sp-package-card.in-cart .sp-package-card__shell,
    .sp-package-card.selected .sp-package-card__shell {
        box-shadow: 0 0 0 3px rgba(var(--sp-primary-rgb), 0.18), 0 12px 32px rgba(var(--sp-primary-rgb), 0.12);
    }

    .sp-qv__desc-inner {
        max-height: min(52vh, 400px);
    }

    div.swal2-container .swal2-popup.sp-booking-package-qv-popup .sp-pkg-qv__panels {
        max-height: min(38vh, 300px);
    }

    .sp-package-card {
        padding-top: 40px;
    }

    .sp-package-card__media {
        top: -72px;
        height: 170px;
    }

    .sp-package-card__body {
        gap: 32px;
        padding-top: 90px;
        padding-inline: 18px;
    }

    .sp-package-card__actions {
        grid-template-columns: 1fr 1fr;
    }

    .sp-package-card .sp-package-card__installment--brand.sp-product-card__installment {
        flex-direction: row;
        align-items: center;
        min-height: 48px;
    }

    .sp-package-card .sp-package-card__installment--brand .sp-product-card__installment-copy,
    .sp-package-card .sp-package-card__installment-copy {
        align-items: center;
        justify-content: center;
        align-self: center;
        flex: 1 1 auto;
        text-align: center;
        border-inline-start: none;
        border-bottom: none;
        border-inline-end: 1px solid rgba(var(--sp-primary-rgb), 0.12);
        padding: 10px 12px;
    }

    .sp-package-card .sp-package-card__installment--brand .sp-product-card__installment-logos {
        align-self: center;
        justify-content: center;
        flex: 0 0 auto;
        gap: 5px;
        padding: 10px 10px;
        background: transparent !important;
    }

    .sp-pkg-qv__tab {
        font-size: 12px;
        padding: 10px 8px;
    }
}

/* --- Spraying service product card (3-column grid: simple=1, variable=2) --- */
#ltb-step-01 #products-container.sp-products-grid--spraying,
#ltb-step-01 #products-container.sp-products-grid.sp-products-grid--spraying,
.sp-products-grid--spraying {
    column-gap: 20px !important;
}

@media (min-width: 769px) {
    #ltb-step-01 #products-container.sp-products-grid--spraying,
    #ltb-step-01 #products-container.sp-products-grid.sp-products-grid--spraying,
    #ltb-step-01 #products-container:has(> [data-spray-service="1"]),
    #ltb-step-01 #products-skeleton-grid.sp-products-grid--spraying,
    .sp-products-grid--spraying {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 769px) {
    #ltb-step-01 #products-container.sp-products-grid--spraying > [data-spray-service="1"],
    #ltb-step-01 #products-container:has(> [data-spray-service="1"]) > [data-spray-service="1"],
    .sp-products-grid--spraying .sp-product-card--spray,
    #ltb-step-01 #products-container.sp-products-grid--spraying > .sp-product-card--spray {
        grid-column: span 2 !important;
    }

    #ltb-step-01 #products-container.sp-products-grid--spraying > [data-spray-service="0"],
    #ltb-step-01 #products-container:has(> [data-spray-service="1"]) > [data-spray-service="0"],
    .sp-products-grid--spraying .sp-product-card:not(.sp-product-card--spray),
    #ltb-step-01 #products-container.sp-products-grid--spraying > .sp-product-card:not(.sp-product-card--spray) {
        grid-column: span 1 !important;
    }
}

#products-container .sp-product-card--spray,
.sp-products-grid .sp-product-card--spray {
    align-self: start;
}

.sp-product-card--spray:not([data-spray-ready="1"]) .sp-spray-card__zones-stack,
.sp-product-card--spray:not([data-spray-ready="1"]) .sp-spray-card__footer {
    visibility: hidden;
}

.sp-product-card--spray {
    cursor: default;
    --sp-spray-preview-height: 320px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.sp-product-card--spray:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.sp-product-card--spray .more-details {
    display: none !important;
}

.sp-product-card--spray .sp-spray-card__zone-price.sp-product-card__price-panel {
    display: flex !important;
}

.sp-spray-card__shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 12px 14px 14px;
    gap: 10px;
    box-sizing: border-box;
    font-family: var(--sp-font-family);
}

.sp-spray-card__upper {
    display: grid;
    grid-template-columns: 50% minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.sp-spray-card__media.sp-product-card__media,
.sp-product-card--spray .sp-spray-card__media {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    flex: none;
    width: 100%;
    max-width: 100%;
    height: var(--sp-spray-preview-height, 320px);
    min-height: var(--sp-spray-preview-height, 320px);
    max-height: var(--sp-spray-preview-height, 320px);
    min-width: 0;
    padding: 0 !important;
    margin: 0;
    box-sizing: border-box;
}

.sp-spray-card__upper > .sp-spray-card__aside {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    width: 100%;
    height: var(--sp-spray-preview-height, 320px);
    max-height: var(--sp-spray-preview-height, 320px);
    min-height: var(--sp-spray-preview-height, 320px);
    overflow: hidden;
    box-sizing: border-box;
}

.sp-spray-card__aside > .sp-spray-card__product-title,
.sp-spray-card__aside > .sp-product-card__title {
    margin: 0;
    padding: 0 2px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--sp-secondary);
    text-align: right;
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
}

.sp-spray-card__aside > .sp-spray-card__variations {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sp-product-card--spray .sp-product-card__title {
    margin: 0 0 2px;
    font-size: 14px;
    line-height: 1.35;
}

.sp-spray-card__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8eaee;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sp-spray-card__zones-stack,
.sp-spray-card__tabs-rail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    height: 100%;
    padding: 4px;
    background: #f8f9fb;
    box-sizing: border-box;
    overflow: hidden;
}

.sp-spray-card__zone-item {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.sp-spray-card__zone-item.is-open {
    flex: 1 1 auto;
    min-height: 0;
    background: #fff;
}

.sp-spray-card__tab {
    display: flex;
    flex: none;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 48px;
    padding: 14px 12px;
    border: none;
    border-radius: 0;
    background: #f3f4f6;
    color: #2a3038;
    font-family: var(--sp-font-family);
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
    flex-shrink: 0;
    box-sizing: border-box;
}

.sp-spray-card__zone-item.is-open .sp-spray-card__tab,
.sp-spray-card__tab.is-active {
    background: #2a3038;
    color: #fff;
}

.sp-spray-card__tab.has-color .sp-spray-card__tab-icon-wrap {
    background: rgba(0, 0, 0, 0.35);
}

.sp-spray-card__tab.has-color .sp-spray-card__tab-icon-wrap--term-image,
.sp-spray-card__tab.is-active.has-color .sp-spray-card__tab-icon-wrap--term-image {
    background: #1a1a1a !important;
}

.sp-spray-card__tab:last-child {
    margin: 0;
}

.sp-spray-card__tab:hover {
    filter: brightness(1.05);
}

.sp-spray-card__tab.is-active,
.sp-spray-card__zone-item.is-open .sp-spray-card__tab.is-active {
    box-shadow: inset 3px 0 0 var(--sp-primary);
}

.sp-spray-card__tab:not(.has-color).is-active,
.sp-spray-card__zone-item.is-open .sp-spray-card__tab:not(.has-color).is-active {
    background: #111;
    color: #fff;
}

.sp-spray-card__tab.has-color:not(.is-active) {
    opacity: 0.94;
}

.sp-spray-card__tab.is-added {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 1px 4px rgba(0, 0, 0, 0.12);
}

.sp-spray-card__tab.is-added:not(.has-color) {
    background: #2a3038;
    color: #fff;
}

.sp-spray-card__tab.is-added:not(.has-color):not(.is-active) {
    box-shadow: 0 0 0 2px rgba(var(--sp-primary-rgb), 0.45), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sp-spray-card__tab.is-added.is-active {
    box-shadow: 0 0 0 2px var(--sp-primary), 0 2px 10px rgba(0, 0, 0, 0.14);
}

.sp-spray-card__tab-label {
    line-height: 1.3;
}

.sp-spray-card__tab-chevron {
    display: block;
    width: 8px;
    height: 8px;
    margin-inline-start: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sp-spray-card__zone-item.is-open .sp-spray-card__tab-chevron,
.sp-spray-card__tab.is-active .sp-spray-card__tab-chevron {
    transform: rotate(-135deg);
}

.sp-spray-card__tab-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #111;
    overflow: hidden;
    box-sizing: border-box;
}

.sp-spray-card__tab-icon-wrap--term-image {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px;
}

.sp-spray-card__tab.is-active .sp-spray-card__tab-icon-wrap--term-image,
.sp-spray-card__zone-item.is-open .sp-spray-card__tab .sp-spray-card__tab-icon-wrap--term-image {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
}

.sp-spray-tab-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: center / contain no-repeat transparent;
    opacity: 0.95;
}

.sp-spray-card__tab-icon-wrap .sp-spray-tab__term-img,
.sp-spray-card__tab .sp-spray-tab__term-img,
#products-container .sp-product-card--spray .sp-spray-card__tab-icon-wrap .sp-spray-tab__term-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 4px;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
}

.sp-spray-card__tab-icon-wrap .sp-spray-tab__term-img--svg,
.sp-spray-card__tab .sp-spray-tab__term-img--svg {
    object-fit: contain !important;
    filter: none;
}

.sp-spray-tab-icon--body {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a3038' stroke-width='1.5'%3E%3Cpath d='M5 16h14l-1 4H6l-1-4zM7 12h10l1-4H6l1 4zM9 8h6l1-3H8l1 3z'/%3E%3C/svg%3E");
}

.sp-spray-tab-icon--tire {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a3038' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.sp-spray-tab-icon--caliper {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a3038' stroke-width='1.5'%3E%3Cpath d='M4 14h8l2-6h6v6h-4l-2 6H4v-6z'/%3E%3C/svg%3E");
}

.sp-spray-card__tab.is-active .sp-spray-tab-icon--body,
.sp-spray-card__zone-item.is-open .sp-spray-card__tab .sp-spray-tab-icon--body {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M5 16h14l-1 4H6l-1-4zM7 12h10l1-4H6l1 4zM9 8h6l1-3H8l1 3z'/%3E%3C/svg%3E");
}

.sp-spray-card__tab.is-active .sp-spray-tab-icon--tire,
.sp-spray-card__zone-item.is-open .sp-spray-card__tab .sp-spray-tab-icon--tire {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.sp-spray-card__tab.is-active .sp-spray-tab-icon--caliper,
.sp-spray-card__zone-item.is-open .sp-spray-card__tab .sp-spray-tab-icon--caliper {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M4 14h8l2-6h6v6h-4l-2 6H4v-6z'/%3E%3C/svg%3E");
}

.sp-spray-card__zone-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0 10px 10px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.sp-spray-card__zone-body[hidden] {
    display: none !important;
}

.sp-spray-card__zone-body .sp-spray-card__panel-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    gap: 8px;
}

.sp-spray-card__zone-body .sp-spray-card__panel-inner > .sp-spray-card__variations {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 6px 0 4px;
    border-bottom: none;
}

.sp-spray-card__zone-body .sp-spray-card__panel-inner > .sp-spray-card__zone-meta {
    flex: 0 0 auto;
    margin-top: auto;
}

.sp-spray-card__main,
.sp-spray-card__panel[data-sp-spray-panel-mount] {
    display: none;
}

.sp-spray-card__footer-active-price,
.sp-spray-card__footer [data-sp-spray-active-price-mount] {
    flex: none;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin-top: 15px;
    transition: min-height 0.2s ease;
}

.sp-spray-card__footer [data-sp-spray-active-price-mount]:not([hidden]) {
    min-height: 92px;
}

.sp-spray-card__active-price {
    width: 100%;
}

.sp-spray-card__active-price .sp-spray-card__zone-price,
.sp-spray-card__active-price .sp-product-card__price-panel {
    width: 100%;
    margin: 0;
}

.sp-spray-card__active-price--loading {
    width: 100%;
}

.sp-spray-card__active-price--loading .sp-product-card__price-action,
.sp-spray-card__active-price--partial-loading .sp-product-card__price-action {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.14);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #fffbfc 100%);
    box-shadow: 0 1px 4px rgba(var(--sp-primary-rgb), 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

.sp-spray-card__active-price--partial-loading .sp-product-card__price-line,
.sp-spray-card__active-price--partial-loading .sp-product-card__price-action-footer .sp-product-card__savings {
    filter: blur(6px);
    opacity: 0.38;
    pointer-events: none;
    user-select: none;
    transition: filter 0.22s ease, opacity 0.22s ease;
}

.sp-spray-card__active-price--partial-loading .sp-product-card__price-vat-note,
.sp-spray-card__active-price--partial-loading .sp-product-card__tax-note,
.sp-spray-card__active-price--partial-loading .sp-product-card__cart-toggle {
    filter: none;
    opacity: 1;
}

.sp-spray-card__active-price--partial-loading .sp-product-card__cart-toggle {
    pointer-events: none;
}

.sp-spray-price-slot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

.sp-spray-price-slot__ghost {
    display: block;
    width: 52px;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ececec 0%, #f5f5f5 50%, #ececec 100%);
    background-size: 200% 100%;
    animation: sp-shimmer 1.15s ease-in-out infinite;
}

.sp-spray-price-slot__block {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, #ececec 0%, #f5f5f5 50%, #ececec 100%);
    background-size: 200% 100%;
    animation: sp-shimmer 1.15s ease-in-out infinite;
}

.sp-spray-price-slot__block--before {
    width: 72px;
    height: 14px;
}

.sp-spray-price-slot__block--current {
    width: 110px;
    height: 24px;
}

.sp-spray-price-slot__block--savings {
    width: 92px;
    height: 22px;
    border-radius: 999px;
}

.sp-spray-price-slot--toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    border: 1.5px solid rgba(var(--sp-primary-rgb), 0.2);
    background: #fff;
    box-sizing: border-box;
    flex: none;
    justify-self: start;
}

.sp-spray-card__active-price--loading .sp-product-card__price-line {
    min-height: 52px;
}

.sp-spray-card__active-price--loading .sp-product-card__price-action-footer {
    min-height: 42px;
}

.sp-spray-card__active-price-skeleton {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 36px;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.sp-spray-card__active-price-skeleton .sp-lazy-shimmer--price {
    height: 22px;
    border-radius: 6px;
}

.sp-spray-card__active-price-skeleton .sp-lazy-shimmer--meta-sm {
    height: 16px;
    border-radius: 6px;
}

.sp-spray-card__active-price-skeleton .sp-lazy-shimmer--cart-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    justify-self: end;
}

.sp-spray-card__active-price--partial-loading .sp-product-card__price-action-footer {
    opacity: 1;
}

@media (min-width: 769px) {
    .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-line .sp-product-card__price-now,
    .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-line--no-sale .sp-product-card__price-now {
        align-items: center;
        justify-self: center;
        text-align: center;
    }

    .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-line .sp-product-card__price-now .sp-product-card__price-current,
    .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-line--no-sale .sp-product-card__price-now .sp-product-card__price-current {
        justify-content: center;
        justify-self: center;
        margin: 0 auto;
        text-align: center;
        width: auto;
    }

    .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__amount,
    #products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__amount {
        font-size: 26px !important;
    }

    .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol,
    #products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol {
        font-size: 1.5em !important;
    }

    .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_new::after,
    .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after,
    #products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_new::after,
    #products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after {
        font-size: 1.05em !important;
    }

    .sp-spray-card__active-price--loading .sp-spray-price-slot__block--current {
        width: 120px;
        height: 30px;
    }
}

.sp-spray-card__panel-inner > .sp-spray-card__variations {
    padding: 8px 0 6px;
    border-bottom: none;
}

.sp-spray-card__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
    box-shadow: none;
}

.sp-product-card--spray .sp-spray-card__footer {
    padding: 0 !important;
    margin-top: 0 !important;
    gap: 10px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sp-spray-card__footer-installment,
.sp-spray-card__footer [data-sp-spray-installment-mount] {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
}

.sp-spray-card__footer [data-sp-spray-installment-mount] .sp-product-card__installment,
.sp-spray-card__footer .sp-spray-card__installment {
    width: 100%;
    margin: 0;
}

.sp-spray-card__footer .sp-spray-card__total {
    flex: none;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.16);
    box-shadow: 0 1px 3px rgba(var(--sp-primary-rgb), 0.06);
    box-sizing: border-box;
}

.sp-spray-card__footer.is-empty {
    display: none;
}

.sp-spray-card__footer .sp-product-card__installment-label {
    font-size: 12px;
}

.sp-product-card--spray .sp-product-card__media-frame {
    position: relative;
    width: 100%;
    height: var(--sp-spray-preview-height, 320px);
    min-height: var(--sp-spray-preview-height, 320px);
    max-height: var(--sp-spray-preview-height, 320px);
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #eceff3;
    flex: none;
}

.sp-product-card--spray .sp-product-card__media-frame > .sp-product-card__sale-badge,
.sp-product-card--spray .sp-spray-card__sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    right: auto;
    z-index: 4;
}

.sp-product-card--spray .sp-spray-preview__viewport {
    position: relative;
    width: 100%;
    height: var(--sp-spray-preview-height, 320px);
    min-height: var(--sp-spray-preview-height, 320px);
    max-height: var(--sp-spray-preview-height, 320px);
    flex: none;
    line-height: 0;
    background: #fafafa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-product-card--spray [data-sp-spray-svg-mount] {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    flex: 1 1 auto;
    display: block;
    overflow: hidden;
}

.sp-product-card--spray .sp-spray-preview__svg {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    padding: 0;
    display: block;
    line-height: 0;
    overflow: hidden;
}

.sp-product-card--spray .sp-spray-preview__svg svg,
.sp-product-card--spray [data-sp-spray-svg-mount] svg {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    transform: none;
}

.sp-product-card--spray [data-sp-spray-svg-mount] .sp-spray-card__img,
.sp-product-card--spray .sp-spray-card__img.sp-product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    display: block;
    object-fit: contain;
    object-position: center center;
    background: #fafafa;
    transform: none;
}

.sp-product-card--spray .sp-spray-card__svg-object {
    display: none !important;
}

.sp-product-card--spray .sp-spray-card__zone-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    background: #fafafa;
}

.sp-product-card--spray .sp-spray-card__zone-image[hidden] {
    display: none !important;
}

#products-container .sp-product-card--spray .sp-product-card__media-frame {
    height: var(--sp-spray-preview-height, 320px) !important;
    min-height: var(--sp-spray-preview-height, 320px) !important;
    max-height: var(--sp-spray-preview-height, 320px) !important;
}

#products-container .sp-product-card--spray .sp-spray-preview__viewport,
#products-container .sp-product-card--spray [data-sp-spray-svg-mount],
#products-container .sp-product-card--spray .sp-spray-preview__svg {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
}

#products-container .sp-product-card--spray .sp-spray-card__img.sp-product-card__img,
#products-container .sp-product-card--spray .sp-spray-card__zone-image,
#products-container .sp-product-card--spray [data-sp-spray-svg-mount] img,
#products-container .sp-product-card--spray .sp-spray-preview__svg svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

.sp-product-card--spray .sp-spray-card__preview-loading {
    display: none !important;
}

.sp-spray-tab__term-img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent;
}

.sp-spray-card__tab .sp-spray-tab__term-img {
    flex-shrink: 0;
}

.sp-spray-card__tab-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.2;
}

.sp-spray-card__panel {
    background: #fff;
    padding: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.sp-spray-card__panel-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.sp-spray-card__variations {
    width: 100%;
    min-width: 0;
    padding: 8px 0 6px;
    border-bottom: 1px solid #f0f0f0;
}

.sp-spray-card__details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding-top: 6px;
}

.sp-spray-card__details .sp-product-card__price-action {
    border-radius: 10px;
    border-color: #eceff3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sp-spray-card__palette-wrap {
    width: 100%;
    padding: 2px 0;
    box-sizing: border-box;
}

.sp-spray-card__palette {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px !important;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.sp-spray-card__palette::-webkit-scrollbar {
    display: none;
}

.sp-spray-card__swatch,
#products-container .sp-product-card--spray .sp-spray-card__swatch,
#ltb-step-01 #products-container .sp-product-card--spray .sp-spray-card__swatch {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

.sp-spray-card__custom-color,
.sp-spray-card__custom-color--picker,
#products-container .sp-product-card--spray .sp-spray-card__custom-color,
#ltb-step-01 #products-container .sp-product-card--spray .sp-spray-card__custom-color {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    gap: 0 !important;
    flex-direction: row !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.95) !important;
}

.sp-spray-card__swatch,
#products-container .sp-product-card--spray .sp-spray-card__swatch {
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
    cursor: pointer;
    transition: box-shadow 0.12s ease, border-color 0.12s ease;
}

.sp-spray-card__swatch:hover {
    transform: none;
}

.sp-spray-card__swatch.is-selected {
    border-color: var(--sp-primary) !important;
    box-shadow: 0 0 0 1.5px rgba(var(--sp-primary-rgb), 0.45) !important;
}

.sp-spray-card__swatch--image {
    overflow: hidden !important;
    background: #fff !important;
}

.sp-spray-card__swatch-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    pointer-events: none;
}

.sp-spray-card__custom-color,
#products-container .sp-product-card--spray .sp-spray-card__custom-color {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--sp-primary, #dc2626) !important;
    color: #fff !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: none !important;
    z-index: 1;
}

.sp-spray-card__custom-color-plus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    flex: 0 0 18px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--sp-primary, #dc2626) !important;
    font-size: 12px !important;
    font-weight: 900;
    line-height: 1 !important;
    pointer-events: none;
    text-shadow: none !important;
}

.sp-spray-card__custom-color-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border: 0;
    padding: 0;
}

.sp-spray-card__zone-price {
    margin: 0;
    width: 100%;
}

.sp-spray-card__zone-price .sp-product-card__price-action,
.sp-spray-card__zone-price .sp-product-card__price-panel,
.sp-spray-card__details .sp-product-card__price-action {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.14);
    background: linear-gradient(180deg, #fff 0%, #fffbfc 100%);
    box-shadow: 0 1px 4px rgba(var(--sp-primary-rgb), 0.06);
}

.sp-spray-card__panel-inner .sp-product-card__price-panel {
    display: flex !important;
}

.sp-spray-card__details .sp-product-card__price-line {
    min-width: 0;
}

.sp-spray-card__details .sp-product-card__price-action {
    overflow: hidden;
    border-radius: 10px;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-row {
    padding: 8px 10px 8px;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-current .sp-price-sar__amount,
#products-container .sp-product-card--spray .sp-spray-card__details .sp-product-card__price-current .sp-price-sar__amount {
    font-size: 13px !important;
}

.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current,
.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-main,
#products-container .sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current {
    font-size: 16px !important;
}

.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current,
.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-main,
.sp-product-card--spray .sp-spray-card__footer .sp-spray-card__zone-price .sp-product-card__price-current,
#products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current {
    font-size: 20px !important;
}

.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__amount,
#products-container .sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__amount {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--sp-secondary) !important;
    letter-spacing: -0.02em;
}

.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__amount,
.sp-product-card--spray .sp-spray-card__footer .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__amount,
#products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__amount {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--sp-secondary) !important;
    letter-spacing: -0.02em;
}

.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__symbol,
#products-container .sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__symbol {
    font-size: 1.35em !important;
    line-height: 1 !important;
    color: var(--sp-secondary) !important;
}

.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol,
.sp-product-card--spray .sp-spray-card__footer .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__symbol,
#products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol {
    font-size: 1.45em !important;
    line-height: 1 !important;
    color: var(--sp-secondary) !important;
}

.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_new::after,
.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after,
#products-container .sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_new::after,
#products-container .sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after {
    font-size: 1em !important;
}

.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_new::after,
.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after,
#products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_new::after,
#products-container .sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-current .sp-price-sar__symbol.icon-saudi_riyal_bold_new::after {
    font-size: 1.05em !important;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-line {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) 36px;
    column-gap: 8px;
    row-gap: 4px;
    align-items: center;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-line .sp-product-card__cart-toggle--icon-only {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    margin: 0;
    justify-self: center;
    align-self: center;
    border-radius: 8px;
    box-sizing: border-box;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-line .sp-product-card__cart-toggle--icon-only .sp-product-card__cart-toggle__icon svg {
    width: 14px;
    height: 14px;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-line:not(:has(.sp-product-card__price-before)),
.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-line--no-sale {
    grid-template-columns: minmax(0, 1fr) 36px;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-before-label {
    font-size: 9px !important;
    align-self: flex-start;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-before {
    align-items: flex-start;
}

.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-before,
.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-before {
    align-items: flex-start;
    justify-self: start;
    text-align: right;
}

.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-before-label,
.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-before-label,
.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-before .sp-product-card__price-regular,
.sp-product-card--spray .sp-spray-card__zone-price .sp-product-card__price-before .sp-product-card__price-regular {
    align-self: flex-start;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-before del,
.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-before .sp-price-sar__amount {
    font-size: 10px !important;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-now-label {
    font-size: 9px !important;
}

.sp-product-card--spray .sp-spray-card__details .sp-product-card__price-action-footer {
    display: none !important;
}

.sp-product-card--spray .sp-spray-card__active-price .sp-product-card__price-action-footer,
.sp-product-card--spray .sp-spray-card__footer .sp-product-card__price-action-footer {
    display: flex !important;
}

.sp-product-card--spray .sp-spray-card__details .sp-price-display del,
.sp-product-card--spray .sp-spray-card__details .sp-price-display .sp-price-regular--strike {
    display: none !important;
}

.sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment {
    padding: 0 !important;
    gap: 0;
    min-height: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment-copy {
    padding: 12px 14px !important;
    gap: 3px;
    border-inline-start: 1px solid #eef1ef !important;
    align-self: center;
    justify-content: center;
}

.sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment-logos,
#products-container .sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment-logos {
    padding: 10px 12px !important;
    gap: 8px !important;
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    justify-content: flex-end !important;
    margin-inline-start: 0 !important;
    flex: 0 0 auto !important;
    min-width: 0;
}

.sp-product-card--spray .sp-spray-card__footer .sp-product-card__pay-logo {
    height: 26px !important;
    max-height: 26px !important;
    max-width: 84px !important;
    align-self: center !important;
}

.sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment-label {
    font-size: 12px;
    line-height: 1.4;
}

.sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment-kicker {
    display: block !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a9390;
}

.sp-spray-card__installment {
    margin-top: 0;
}

.sp-spray-card__zone-meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 10px 10px 0;
    border-top: 1px solid #eef1ef;
    box-sizing: border-box;
}

.sp-spray-card__zone-meta--cta-only {
    gap: 0;
    padding-top: 6px;
}

.sp-spray-card__zone-meta--cta-only .sp-spray-card__view-more-link,
.sp-spray-card__zone-meta--cta-only .sp-spray-card__details-cta {
    margin-top: 0;
}

.sp-spray-card__zone-desc {
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.55;
    color: #5c6562;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-spray-card__zone-warranty.sp-product-card__warranty {
    justify-content: flex-start;
    align-self: flex-start;
    gap: 6px;
}

.sp-spray-card__zone-meta .sp-spray-card__view-more-link,
.sp-spray-card__zone-meta .sp-spray-card__details-cta.sp-product-card__details-link {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    gap: 6px;
    width: 100%;
    max-width: none;
    margin: 4px 0 0;
    padding: 10px 0 4px;
    border: none;
    border-top: 1px solid #ececec;
    border-radius: 0;
    background: transparent;
    color: #5c6562;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.sp-spray-card__zone-meta .sp-product-card__details-link-text {
    text-decoration: underline;
    text-decoration-color: rgba(var(--sp-primary-rgb), 0.35);
    text-underline-offset: 3px;
}

.sp-spray-card__zone-meta .sp-spray-card__view-more-link::after,
.sp-spray-card__zone-meta .sp-product-card__details-link::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-top: 1px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.75;
    flex-shrink: 0;
}

.sp-spray-card__zone-meta .sp-spray-card__view-more-link:hover,
.sp-spray-card__zone-meta .sp-spray-card__view-more-link:focus,
.sp-spray-card__zone-meta .sp-spray-card__details-cta:hover,
.sp-spray-card__zone-meta .sp-spray-card__details-cta:focus {
    color: var(--sp-primary);
    background: transparent;
    border-top-color: #ececec;
    box-shadow: none;
}

.sp-spray-card__zone-meta .sp-spray-card__view-more-link:hover .sp-product-card__details-link-text,
.sp-spray-card__zone-meta .sp-spray-card__details-cta:hover .sp-product-card__details-link-text {
    text-decoration-color: rgba(var(--sp-primary-rgb), 0.55);
}

.sp-spray-card__view-more-link,
.sp-spray-card__details-cta.sp-spray-card__view-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-end;
    gap: 0;
    width: auto;
    max-width: 100%;
    margin: 2px 0 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--sp-secondary);
    font-family: var(--sp-font-family);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-align: start;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.2s ease;
}

.sp-spray-card__view-more-link:hover,
.sp-spray-card__view-more-link:focus {
    background: transparent;
    border: none;
    color: var(--sp-primary);
    box-shadow: none;
    text-decoration: underline;
}

body.translatepress-en_US .sp-spray-card__view-more-link,
body.translatepress-en_Us .sp-spray-card__view-more-link,
.sp-spray-card[dir="ltr"] .sp-spray-card__view-more-link {
    align-self: flex-start;
    text-align: left;
}

.sp-spray-details-popup__variation {
    margin: -4px 0 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgba(var(--sp-secondary-rgb, 30, 30, 30), 0.72);
    line-height: 1.35;
}

.sp-spray-details-popup__desc {
    margin-bottom: 14px;
}

.sp-spray-details-popup__installment {
    margin-top: 0;
}

.sp-spray-details-popup .sp-spray-details-popup__installment {
    margin-bottom: 0;
}

.sp-spray-card__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    font-weight: 800;
    font-size: 12px;
    color: var(--sp-secondary);
}

.sp-product-card--spray .sp-spray-card__footer .sp-spray-card__total {
    margin-top: 0;
}

.sp-spray-card__total-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--sp-secondary);
}

.sp-spray-card__total-value {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--sp-primary);
    direction: ltr;
    unicode-bidi: isolate;
}

.sp-spray-card__total-value .sp-price-sar {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
}

.sp-spray-card__total-value .sp-price-sar__amount {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--sp-primary);
}

.sp-spray-card__total-value .sp-price-sar__symbol {
    font-size: 1.05rem;
    color: var(--sp-primary);
}

.sp-spray-card__empty {
    margin: 0;
    padding: 12px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.sp-spray-card__img {
    object-fit: contain;
}

@media (max-width: 768px) {
    .sp-products-grid .sp-product-card--spray,
    #products-container .sp-product-card--spray,
    .sp-products-grid--spraying .sp-product-card--spray,
    #ltb-step-01 #products-container.sp-products-grid--spraying > [data-spray-service="1"],
    #ltb-step-01 #products-container:has(> [data-spray-service="1"]) > [data-spray-service="1"],
    #ltb-step-01 #products-container.sp-products-grid--spraying > [data-spray-service="0"],
    #ltb-step-01 #products-container:has(> [data-spray-service="1"]) > [data-spray-service="0"],
    #ltb-step-01 #products-container.sp-products-grid--spraying > .sp-product-card--spray,
    #ltb-step-01 #products-container.sp-products-grid--spraying > .sp-product-card:not(.sp-product-card--spray) {
        grid-column: auto !important;
    }

    #ltb-step-01 .sp-products-swiper #products-container.swiper-wrapper.sp-products-grid--spraying,
    #ltb-step-01 .sp-products-swiper #products-container.swiper-wrapper:has(> [data-spray-service="1"]),
    .sp-products-swiper .sp-products-grid--spraying {
        grid-template-columns: unset !important;
    }

    .sp-spray-card__upper {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sp-spray-card__media.sp-product-card__media,
    .sp-product-card--spray .sp-spray-card__media {
        flex: none;
        width: 100%;
        max-width: none;
        grid-column: auto;
        grid-row: auto;
        height: var(--sp-spray-preview-height, 280px);
        min-height: var(--sp-spray-preview-height, 280px);
        max-height: var(--sp-spray-preview-height, 280px);
    }

    .sp-spray-card__upper > .sp-spray-card__aside,
    .sp-spray-card__upper > .sp-spray-card__product-title,
    .sp-spray-card__upper > .sp-product-card__title,
    .sp-spray-card__variations {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
    }

    .sp-spray-card__upper > .sp-spray-card__aside {
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
    }

    .sp-spray-card__aside > .sp-spray-card__variations {
        overflow: visible;
    }

    .sp-spray-card__layout {
        height: auto;
        flex: none;
    }

    .sp-spray-card__zones-stack,
    .sp-spray-card__tabs-rail {
        flex: none;
        overflow: visible;
    }

    .sp-product-card--spray {
        --sp-spray-preview-height: 280px;
    }

    .sp-products-swiper .sp-product-card--spray .sp-spray-card__layout,
    .sp-products-swiper .swiper-slide .sp-product-card--spray {
        height: auto !important;
        min-height: 0 !important;
    }

    .sp-products-swiper .sp-product-card--spray .sp-spray-card__aside {
        height: auto !important;
        max-height: none !important;
    }

    .sp-product-card--spray .sp-spray-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .sp-spray-card__footer-installment,
    .sp-spray-card__footer [data-sp-spray-installment-mount],
    .sp-spray-card__footer .sp-spray-card__total {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .sp-spray-card__tab {
        min-height: 44px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 11px;
    }
}

.sp-spray-qv {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
    color: var(--sp-secondary);
}

.sp-spray-qv__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.4;
}

.sp-spray-qv__preview-frame {
    position: relative;
    height: var(--sp-spray-preview-height, 320px);
    min-height: var(--sp-spray-preview-height, 320px);
    max-height: var(--sp-spray-preview-height, 320px);
    border-radius: 12px;
    background: #1a1d24;
    overflow: hidden;
}

.sp-spray-preview__viewport {
    width: 100%;
    height: var(--sp-spray-preview-height, 320px);
    min-height: var(--sp-spray-preview-height, 320px);
    max-height: var(--sp-spray-preview-height, 320px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-spray-qv .sp-spray-preview__svg,
.sp-booking-spray-qv-popup .sp-spray-preview__svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.sp-product-card--spray .sp-spray-preview__svg,
.sp-product-card--spray [data-sp-spray-svg-mount] {
    padding: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
}

.sp-spray-preview__svg svg {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    display: block;
}

.sp-spray-qv__zone-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
}

.sp-spray-qv__zone-tab {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 10px;
    background: #eef0f3;
    color: var(--sp-secondary);
    font-family: var(--sp-font-family);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.sp-spray-qv__zone-tab:hover {
    background: #e2e6eb;
}

.sp-spray-qv__zone-tab.is-active {
    color: #fff;
}

.sp-spray-qv__panels {
    width: 100%;
}

.sp-spray-qv__panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.sp-spray-qv__panel-col--palette {
    order: 2;
}

.sp-spray-qv__panel-col--price {
    order: 1;
}

.sp-spray-qv__palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sp-spray-qv__swatch {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
}

.sp-spray-qv__swatch.is-selected {
    border-color: var(--sp-primary);
    box-shadow: 0 0 0 2px rgba(var(--sp-primary-rgb), 0.35);
}

.sp-spray-qv__custom-color {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px dashed rgba(var(--sp-primary-rgb), 0.45);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.sp-spray-qv__custom-color-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.sp-spray-qv__custom-color-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--sp-primary);
    line-height: 1;
    pointer-events: none;
}

.sp-spray-qv__zone-price {
    margin: 0;
}

.sp-spray-qv__zone-price .sp-product-card__price-line {
    grid-template-columns: minmax(0, 1fr) 40px;
}

.sp-spray-qv__zone-installment {
    margin-top: 8px;
}

.sp-spray-qv__view-more {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 0;
    border: none;
    background: none;
    color: var(--sp-primary);
    font-family: var(--sp-font-family);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    text-decoration: underline;
    cursor: pointer;
}

.sp-spray-qv__view-more:hover {
    color: var(--sp-secondary);
}

.sp-spray-details-popup.sp-qv {
    text-align: right;
    color: var(--sp-secondary);
}

.sp-spray-details-popup.sp-qv {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

div.swal2-container .swal2-popup.sp-spray-details-swal {
    padding: 1rem 1.2rem !important;
}

div.swal2-container .swal2-popup.sp-spray-details-swal .swal2-close {
    top: 0;
    inset-inline-start: 0.5rem;
    inset-inline-end: auto;
    left: auto !important;
    right: auto !important;
    z-index: 20;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.15rem 0.35rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--sp-primary);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1;
    opacity: 0.9;
}

.sp-spray-details-popup .sp-qv__desc-meta {
    margin-top: 8px;
    padding-top: 0;
    border-top: none;
}

.sp-spray-details-popup .sp-qv__desc-body + .sp-qv__desc-meta {
    margin-top: 8px;
    padding-top: 0;
    border-top: none;
}

.sp-spray-details-popup__actions {
    margin-top: 8px;
    padding-top: 0;
    border-top: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

.sp-spray-details-popup__close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 10px 24px;
    border: 1px solid rgba(var(--sp-primary-rgb), 0.35);
    border-radius: 4px;
    background: #fff;
    color: var(--sp-primary);
    font-family: var(--sp-font-family);
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sp-spray-details-popup__close-btn:hover,
.sp-spray-details-popup__close-btn:focus {
    background: var(--sp-primary);
    border-color: var(--sp-primary);
    color: #fff;
}

div.swal2-container .swal2-popup.sp-spray-details-swal .swal2-close:hover,
div.swal2-container .swal2-popup.sp-spray-details-swal .swal2-close:focus {
    color: var(--sp-primary);
    opacity: 1;
}

div.swal2-container .swal2-popup.sp-spray-details-swal .swal2-html-container {
    overflow: visible !important;
    max-height: none !important;
    margin: 0;
    padding: 0;
}

div.swal2-container .swal2-popup.sp-booking-spray-qv-popup {
    width: min(560px, 94vw) !important;
}

@media (max-width: 520px) {
    .sp-spray-qv__panel-grid {
        grid-template-columns: 1fr;
    }

    .sp-spray-qv__panel-col--palette,
    .sp-spray-qv__panel-col--price {
        order: unset;
    }
}

.sp-spray-qv__preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 16px;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

.sp-spray-qv__zones-hint {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.sp-spray-qv__footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 12px;
}

.sp-spray-qv__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 800;
}

.sp-spray-qv__total-label {
    font-size: 14px;
}

.sp-spray-qv__total-value {
    font-size: 18px;
    color: var(--sp-primary);
}

/* WooCommerce admin — booking details + spray color on line items */
.sp-order-booking-details {
    margin: 16px 0 0;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    max-width: 520px;
    box-sizing: border-box;
}

.sp-order-booking-details__title {
    margin: 0 0 14px;
    padding: 0 0 10px;
    border-bottom: 2px solid #2271b1;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1d2327;
}

.sp-order-booking-details__grid {
    margin: 0;
    padding: 0;
    display: block;
}

.sp-order-booking-details__row {
    display: grid;
    grid-template-columns: minmax(108px, 34%) minmax(0, 1fr);
    gap: 10px 16px;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eceff3;
}

.sp-order-booking-details__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sp-order-booking-details__label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: #646970;
}

.sp-order-booking-details__label strong {
    font-weight: 700;
}

.sp-order-booking-details__value {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: #1d2327;
}

.sp-order-booking-details__value strong {
    font-weight: 700;
}

#woocommerce-order-data .sp-order-booking-details,
.woocommerce-order-data__heading + .sp-order-booking-details,
.post-type-shop_order .sp-order-booking-details,
.woocommerce_page_wc-orders .sp-order-booking-details {
    direction: rtl;
    text-align: right;
}

#woocommerce-order-data .sp-order-booking-details__row,
.woocommerce_page_wc-orders .sp-order-booking-details__row {
    display: grid !important;
    grid-template-columns: minmax(108px, 34%) minmax(0, 1fr) !important;
}

.sp-order-booking-details--email {
    direction: rtl;
    text-align: right;
}

.sp-order-spray-color {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
    unicode-bidi: isolate;
    vertical-align: middle;
}

.sp-order-spray-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.sp-order-spray-color-name {
    font-weight: 700;
    color: #1d2327;
}

.sp-order-spray-hex {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    color: #646970;
}

#woocommerce-order-items .sp-order-spray-color {
    margin-top: 0;
}

#woocommerce-order-items .display_meta .sp-order-spray-zone-meta {
    display: inline-block;
    margin: 0;
}

#woocommerce-order-items .display_meta .sp-order-spray-zone__name {
    font-size: 13px;
    font-weight: 700;
    color: #1d2327;
}

#woocommerce-order-items .display_meta tr + tr .sp-order-spray-color {
    margin-top: 4px;
}

#woocommerce-order-items .display_meta .sp-order-spray-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    vertical-align: middle;
}

#woocommerce-order-items .display_meta .sp-order-spray-hex {
    font-size: 12px;
    font-weight: 600;
}

/* Installment rows — vertical centering (product, spray, package, QV, popup) */
.sp-product-card__installment,
.sp-qv__installment,
.quick-view-installment.sp-qv__installment,
.sp-spray-details-popup__installment,
.sp-spray-card__installment,
#ltb-step-01 .sp-product-card__installment,
.sp-package-card .sp-product-card__installment,
.sp-package-card .sp-package-card__installment--brand.sp-product-card__installment {
    align-items: center !important;
}

.sp-product-card__installment-copy,
.sp-qv__installment-text,
.sp-package-card .sp-package-card__installment-copy {
    align-self: center !important;
    justify-content: center !important;
}

.sp-product-card__installment-logos,
.sp-qv__installment-logos,
.sp-package-card .sp-product-card__installment-logos,
#products-container .sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment-logos {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
}

.sp-product-card__pay-logo,
.sp-qv__installment-logos img {
    align-self: center !important;
}

/* Mobile — keep installment text + Tabby/Tamara logos on one row */
@media (max-width: 768px) {
    #ltb-step-01 .sp-product-card__installment,
    #ltb-step-01 .sp-package-card .sp-package-card__installment--brand.sp-product-card__installment,
    .sp-qv__installment,
    .quick-view-installment.sp-qv__installment,
    #products-container .sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        overflow: visible !important;
    }

    #ltb-step-01 .sp-product-card__installment-copy,
    #ltb-step-01 .sp-package-card .sp-package-card__installment-copy,
    .sp-qv__installment-text {
        flex: 1 1 auto !important;
        max-width: none !important;
        min-width: 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding: 8px 10px !important;
        border: none !important;
    }

    #ltb-step-01 .sp-product-card__installment-kicker {
        display: none !important;
    }

    #ltb-step-01 .sp-product-card__installment-label,
    #ltb-step-01 .sp-package-card .sp-product-card__installment-label {
        font-size: 11px !important;
        line-height: 1.25 !important;
        white-space: nowrap;
    }

    #ltb-step-01 .sp-product-card__installment-logos,
    #ltb-step-01 .sp-package-card .sp-product-card__installment-logos,
    .sp-qv__installment-logos,
    #products-container .sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment-logos {
        flex: 0 0 auto !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 6px 8px !important;
        gap: 5px !important;
        border: none !important;
        overflow: visible !important;
        justify-content: flex-start !important;
    }

    #ltb-step-01 .sp-product-card__pay-logo,
    #ltb-step-01 .sp-package-card .sp-product-card__pay-logo {
        height: 20px !important;
        max-height: 20px !important;
        max-width: 52px !important;
    }

    .sp-product-card--spray .sp-spray-card__footer .sp-product-card__installment-copy {
        border-inline-start: none !important;
    }
}

/* Mobile products Swiper — override late grid rules */
@media (max-width: 768px) {
    #ltb-step-01 #products-container.swiper-wrapper,
    .sp-filtered-products.is-loading #ltb-step-01 #products-skeleton-grid.swiper-wrapper {
        display: flex !important;
        grid-template-columns: unset !important;
        gap: 0 !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
    }

    #ltb-step-01 .sp-products-swiper #products-container:not(.swiper-wrapper) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        align-items: stretch !important;
        overflow: visible;
    }

    .sp-filtered-products.is-loading #ltb-step-01 .sp-products-swiper #products-skeleton-grid:not(.swiper-wrapper) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        align-items: stretch !important;
        overflow: visible;
    }

    .sp-filtered-products:not(.is-loading) #ltb-step-01 #products-skeleton-grid,
    .sp-filtered-products:not(.is-loading) #ltb-step-01 .sp-products-swiper #products-skeleton-grid,
    .sp-filtered-products:not(.is-loading) #ltb-step-01 .sp-products-swiper #products-skeleton-grid:not(.swiper-wrapper),
    .sp-filtered-products:not(.is-loading) #ltb-step-01 #products-skeleton-grid.swiper-wrapper,
    .sp-filtered-products:not(.is-loading) #products-skeleton-grid {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #ltb-step-01 #products-skeleton-grid:not(.swiper-wrapper) {
        grid-template-columns: unset !important;
    }
}


/* Hide sale/discount badge across booking page per request */
.sp-product-card__sale-badge,
.sp-package-card__sale-badge,
.sp-spray-card__sale-badge,
[data-sp-spray-sale-badge],
.sp-lazy-shimmer--package-sale-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
