/**
 * Ajaraam Widgets Styles
 */

/* Montonio Payment Options */
.ajaraam-montonio-options {
    margin-top: 20px;
    padding: 20px;
    padding-left: 24px;
    background: transparent;
    border: none;
    border-left: 2px solid #e5e7eb;
    box-shadow: none;
}

.ajaraam-montonio-tabs {
    display: flex;
    border-bottom: 2px solid rgba(0, 124, 186, 0.2);
    margin-bottom: 20px;
}

.ajaraam-montonio-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0 !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ajaraam-montonio-tab.active {
    border-bottom-color: #007cba;
    border-bottom-width: 2px;
    color: #007cba;
}

.ajaraam-montonio-tab:hover:not(.active) {
    color: #007cba;
}

/* Remove any border-radius from Montonio tabs (including from Montonio widget) */
.ajaraam-montonio-tab,
.ajaraam-montonio-tab *,
.ajaraam-montonio-tabs button,
.ajaraam-montonio-tabs button * {
    border-radius: 0 !important;
}

.ajaraam-montonio-tab-content {
    min-height: 200px;
}

#ajaraam-montonio-bank-widget {
    min-height: 200px;
}

/* Montonio bank item selection - match service card style */
.montonio-bank-item {
    border: 2px solid rgba(0, 124, 186, 0.2) !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
}

.montonio-bank-item:hover {
    border-color: #007cba !important;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.2) !important;
}

.montonio-bank-item.montonio-bank-selected {
    border: 2px solid #007cba !important;
    box-shadow: 0 4px 16px rgba(0, 124, 186, 0.3) !important;
    background-color: rgba(0, 124, 186, 0.05) !important;
}

/* Global reset for p tags in widgets to prevent theme margins */
.ajaraam-booking-widget p,
.ajaraam-services-widget p,
.ajaraam-my-bookings-widget p,
.ajaraam-gift-cards-widget p {
    margin-block-end: 0 !important;
    margin-block-start: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Booking Form Widget */
.ajaraam-booking-widget {
    width: 100%;
}

.ajaraam-booking-title {
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

.ajaraam-booking-form-container {
    position: relative;
    width: 100%;
}

.ajaraam-booking-iframe {
    width: 100%;
    min-height: 800px;
    border: none;
    display: block;
}

/* Services List Widget */
.ajaraam-services-widget {
    width: 100%;
}

.ajaraam-services-title {
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

.ajaraam-services-container {
    display: grid;
    gap: 20px;
    width: 100%;
}

.ajaraam-service-card,
.ajaraam-service-item {
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-sizing: border-box;
    /* Ensure card width is respected */
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    /* Base for transition */
}

.ajaraam-service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Selected service state */
.ajaraam-service-item.selected,
.ajaraam-service-card.selected {
    border: 2px solid #007cba;
    box-shadow: 0 4px 16px rgba(0, 124, 186, 0.3);
    background-color: rgba(0, 124, 186, 0.05);
}

/* Duration selection styles */
.ajaraam-duration-selection {
    margin-top: 15px;
    animation: ajaraamSlideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    overflow: hidden;
    transform-origin: top;
}

.ajaraam-duration-selection.no-animation {
    animation: none !important;
    opacity: 1 !important;
    max-height: 500px !important;
}

.ajaraam-service-item.no-animation,
.ajaraam-service-price-display.no-animation {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

@keyframes ajaraamSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.95);
        max-height: 0;
        margin-top: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        max-height: 500px;
        margin-top: 15px;
    }
}

.ajaraam-duration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.ajaraam-duration-option {
    padding: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ajaraam-duration-option>div:first-child {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.ajaraam-duration-option>div:last-child {
    font-size: 12px;
    color: #666;
}

.ajaraam-duration-option:hover {
    border-color: #007cba;
    background-color: rgba(0, 124, 186, 0.05);
}

.ajaraam-duration-option.ajaraam-duration-selected {
    border-width: 2px;
    border-style: solid;
    border-color: #007cba;
    background-color: rgba(0, 124, 186, 0.1);
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.2);
}

/* Default duration text color - use Elementor Secondary color if available */
.elementor-widget .ajaraam-duration-option>div:first-child {
    color: var(--e-global-color-secondary, #6c757d);
}

/* Service Description with Expand/Collapse */
.ajaraam-service-description-wrapper {
    position: relative;
    margin-top: 10px;
}

.ajaraam-service-description {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.ajaraam-service-description.ajaraam-description-collapsed {
    max-height: 4.5em;
    /* ~3 lines of text */
    position: relative;
}

.ajaraam-description-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3em;
    /* Gradient height */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    z-index: 1;
}

/* For service items with background color, try to match it */
.ajaraam-service-item[style*="background-color"] .ajaraam-description-gradient {
    /* Extract background color from inline style if possible, otherwise use white */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

/* For selected service items with light blue background */
.ajaraam-service-item.selected .ajaraam-description-gradient {
    background: linear-gradient(to bottom, rgba(240, 248, 255, 0), rgba(240, 248, 255, 1));
}

.ajaraam-description-toggle {
    margin-top: 8px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #007cba;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1.2;
}

.ajaraam-description-toggle:hover {
    background-color: rgba(0, 124, 186, 0.05);
    border-color: #007cba;
}

/* Inline toggle button (inside text) */
.ajaraam-description-toggle-inline {
    margin-top: 0;
    margin-left: 4px;
    padding: 2px 6px;
    font-size: 11px;
    vertical-align: baseline;
    display: inline;
}

.ajaraam-service-description:not(.ajaraam-description-collapsed)+.ajaraam-description-gradient {
    display: none;
}

/* Vertical Layout (default) */
.ajaraam-service-card-vertical {
    display: flex;
    flex-direction: column;
}

.ajaraam-service-card-vertical .ajaraam-service-image-wrapper {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    align-self: flex-start;
    height: 300px;
    /* Default height - will be overridden by Elementor */
}

/* When aspect ratio is locked, center by default */
.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="aspect-ratio"],
.ajaraam-service-item.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="aspect-ratio"] {
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    overflow: hidden;
}

.ajaraam-service-card-vertical .ajaraam-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    display: block;
}

.ajaraam-service-card-vertical .ajaraam-service-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Horizontal Layout */
.ajaraam-service-card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Default: image on left */
.ajaraam-service-card-horizontal {
    flex-direction: row;
}

/* Image on left (default) - only for horizontal layout */
.ajaraam-service-card-horizontal.ajaraam-layout-left,
.ajaraam-service-card-horizontal .ajaraam-layout-left,
.ajaraam-layout-left.ajaraam-service-card-horizontal {
    flex-direction: row;
}

/* Image on right - only for horizontal layout */
.ajaraam-service-card-horizontal.ajaraam-layout-right,
.ajaraam-service-card-horizontal .ajaraam-layout-right,
.ajaraam-layout-right.ajaraam-service-card-horizontal {
    flex-direction: row-reverse;
}

/* Ensure vertical layout is always column, regardless of layout classes */
.ajaraam-service-card-vertical,
.ajaraam-service-item.ajaraam-service-card-vertical,
.ajaraam-service-card-vertical.ajaraam-layout-left,
.ajaraam-service-card-vertical.ajaraam-layout-right,
.ajaraam-service-item.ajaraam-service-card-vertical.ajaraam-layout-left,
.ajaraam-service-item.ajaraam-service-card-vertical.ajaraam-layout-right {
    flex-direction: column !important;
}

.ajaraam-service-card-horizontal .ajaraam-service-image-wrapper {
    flex: 0 0 10%;
    /* Default - will be overridden by Elementor */
    max-width: 10%;
    min-width: 0;
    width: auto;
    align-self: flex-start;
    overflow: visible;
    /* Changed from hidden to visible to prevent cropping */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* When aspect ratio is locked in horizontal layout, maintain square */
.ajaraam-service-card-horizontal .ajaraam-service-image-wrapper[style*="aspect-ratio"],
.ajaraam-service-item.ajaraam-service-card-horizontal .ajaraam-service-image-wrapper[style*="aspect-ratio"],
.ajaraam-service-card-horizontal .ajaraam-service-image-wrapper[style*="aspect-ratio: 1 / 1"],
.ajaraam-service-item.ajaraam-service-card-horizontal .ajaraam-service-image-wrapper[style*="aspect-ratio: 1 / 1"] {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    align-self: flex-start !important;
    box-sizing: border-box !important;
    /* Use border-box so padding is included in aspect-ratio calculation */
    position: relative;
    /* Ensure wrapper doesn't move into another div */
    flex-shrink: 0 !important;
    display: flex !important;
    /* Don't override width/height - let Elementor inline styles handle it */
}

.ajaraam-service-card-horizontal .ajaraam-service-image-wrapper[style*="aspect-ratio"] .ajaraam-service-image,
.ajaraam-service-card-horizontal .ajaraam-service-image-wrapper[style*="aspect-ratio: 1 / 1"] .ajaraam-service-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    /* Remove aspect-ratio from image - it's handled by wrapper */
    aspect-ratio: unset !important;
    /* Ensure image doesn't overflow wrapper */
    display: block !important;
    position: relative;
    box-sizing: border-box;
}

/* Aspect ratio locked - ensure max width is 100% of card */
.ajaraam-service-card .ajaraam-service-image-wrapper[style*="aspect-ratio"],
.ajaraam-service-item .ajaraam-service-image-wrapper[style*="aspect-ratio"],
.ajaraam-service-card .ajaraam-service-image-wrapper[style*="aspect-ratio: 1 / 1"],
.ajaraam-service-item .ajaraam-service-image-wrapper[style*="aspect-ratio: 1 / 1"] {
    max-width: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box !important;
    /* Use border-box so padding is included in aspect-ratio calculation */
    display: flex !important;
    overflow: hidden !important;
    position: relative;
    /* Ensure wrapper doesn't move into another div */
    flex-shrink: 0 !important;
    align-self: flex-start !important;
    /* Force width to not exceed parent - override Elementor inline styles if needed */
    width: min(100%, var(--image-size, 100%)) !important;
    /* Don't override height - let Elementor inline styles handle it */
}

/* Vertical layout - aspect ratio locked */
.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="aspect-ratio"],
.ajaraam-service-item.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="aspect-ratio"] {
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    /* Ensure wrapper doesn't overflow or move */
    flex-shrink: 0;
    align-self: flex-start;
    /* Force wrapper to never exceed parent card width - override Elementor inline styles */
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Override Elementor inline width if it exceeds 100% */
.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="width: 100%"],
.ajaraam-service-item.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="width: 100%"] {
    max-width: 100% !important;
}

.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="aspect-ratio"] .ajaraam-service-image,
.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="aspect-ratio: 1 / 1"] .ajaraam-service-image,
.ajaraam-service-item.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="aspect-ratio"] .ajaraam-service-image,
.ajaraam-service-item.ajaraam-service-card-vertical .ajaraam-service-image-wrapper[style*="aspect-ratio: 1 / 1"] .ajaraam-service-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    /* Remove aspect-ratio from image - it's handled by wrapper */
    aspect-ratio: unset !important;
    /* Ensure image doesn't overflow wrapper */
    display: block !important;
    position: relative;
    box-sizing: border-box;
}


.ajaraam-service-card-horizontal .ajaraam-service-image {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
    display: block;
}

.ajaraam-service-card-horizontal .ajaraam-service-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Service Elements */
.ajaraam-service-image-wrapper {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    /* Use border-box so padding is included in calculations */
    max-width: 100%;
    /* Ensure wrapper doesn't move into another div */
    flex-shrink: 0;
}

.ajaraam-service-image {
    width: 100%;
    display: block;
    max-width: 100%;
}

/* Ensure aspect ratio is maintained when locked */
.ajaraam-service-image-wrapper[style*="aspect-ratio"] .ajaraam-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
    /* Remove aspect-ratio from image - it's handled by wrapper */
}

/* When aspect ratio is NOT locked, images should not stretch */
.ajaraam-service-image-wrapper:not([style*="aspect-ratio"]) .ajaraam-service-image {
    height: auto !important;
}

.ajaraam-service-name {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.ajaraam-service-description {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.ajaraam-service-price {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.ajaraam-price-duration {
    font-size: 0.7em;
    font-weight: normal;
    color: #666;
    margin-left: 5px;
}

.ajaraam-service-price-display {
    animation: ajaraamFadeIn 0.3s ease-out forwards;
}

@keyframes ajaraamFadeIn {
    from {
        opacity: 0;
        transform: translateY(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ajaraam-service-content {
    display: flex;
    flex-direction: column;
}

.ajaraam-booking-button {
    display: block;
    padding: 10px 20px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.ajaraam-booking-button.ajaraam-button-full-width {
    width: 100%;
    display: block;
}

.ajaraam-booking-button.ajaraam-button-auto-width {
    width: auto;
    display: inline-block;
    max-width: 100%;
}

/* Button alignment for auto-width buttons */
.ajaraam-service-content {
    text-align: left;
}

.ajaraam-booking-button-wrapper {
    margin-top: 10px;
}

.ajaraam-booking-button-wrapper.text-align-left {
    text-align: left;
}

.ajaraam-booking-button-wrapper.text-align-center {
    text-align: center;
}

.ajaraam-booking-button-wrapper.text-align-right {
    text-align: right;
}

.ajaraam-booking-button:hover {
    background: #005a87;
    color: #fff;
}

.ajaraam-booking-button:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* My Bookings Widget */
.ajaraam-my-bookings-widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ajaraam-my-bookings-title {
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.ajaraam-my-bookings-description {
    margin-bottom: 30px;
    text-align: center;
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    width: 100%;
}

.ajaraam-my-bookings-form {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
}

.ajaraam-my-bookings-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.ajaraam-my-bookings-form input[type="email"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.ajaraam-my-bookings-form button {
    width: 100%;
    padding: 12px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ajaraam-my-bookings-form button:hover:not(:disabled) {
    background: #005a87;
}

.ajaraam-my-bookings-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ajaraam-bookings-results {
    margin-top: 30px;
}

.ajaraam-bookings-results h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.ajaraam-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ajaraam-booking-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.ajaraam-booking-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Gift Cards Widget */
.ajaraam-gift-cards-widget {
    width: 100%;
}

.ajaraam-gift-cards-title {
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

.ajaraam-gift-cards-container {
    text-align: center;
    padding: 40px;
}

.ajaraam-gift-cards-button {
    display: inline-block;
    padding: 15px 30px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.ajaraam-gift-cards-button:hover {
    background: #005a87;
    color: #fff;
}

/* Error Messages */
.ajaraam-error {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
    text-align: center;
}

/* My Bookings Widget */
.ajaraam-my-bookings-widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ajaraam-my-bookings-title {
    margin: 0 0 20px 0;
    text-align: center;
}

.ajaraam-my-bookings-form {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.ajaraam-search-type-wrapper {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.ajaraam-search-type-select {
    width: 100%;
    padding: 12px 35px 12px 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
    cursor: pointer;
    height: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.ajaraam-form-fields-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.ajaraam-input-field-wrapper {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.ajaraam-search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
}

.ajaraam-search-input:focus {
    outline: none;
    border-color: var(--e-global-color-primary, #007cba);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.ajaraam-submit-button-wrapper {
    flex: 0 0 auto;
}

/* Button layout styles */
.ajaraam-form-fields-wrapper {
    display: flex;
    gap: 10px;
}

.ajaraam-fields-block {
    flex-direction: column;
}

.ajaraam-fields-block .ajaraam-search-type-wrapper {
    width: 100%;
}

.ajaraam-fields-block .ajaraam-input-field-wrapper {
    width: 100%;
}

.ajaraam-fields-block .ajaraam-submit-button-wrapper {
    width: 100%;
}

.ajaraam-fields-inline {
    flex-direction: row;
    align-items: stretch;
}

.ajaraam-fields-inline .ajaraam-search-type-wrapper {
    flex: 0 0 auto;
    min-width: 150px;
}

.ajaraam-fields-inline .ajaraam-input-field-wrapper {
    flex: 1 1 auto;
}

.ajaraam-fields-inline .ajaraam-submit-button-wrapper {
    flex: 0 0 auto;
}

/* Make all three elements same height - default 48px */
.ajaraam-form-fields-wrapper .ajaraam-search-type-select,
.ajaraam-form-fields-wrapper .ajaraam-search-input,
.ajaraam-form-fields-wrapper .ajaraam-submit-button {
    min-height: 48px;
    height: 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.ajaraam-my-bookings-form button[type="submit"].ajaraam-submit-button {
    width: 100%;
    padding: 12px;
    background: var(--e-global-color-primary, #007cba);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer !important;
    transition: background-color 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ajaraam-submit-button .ajaraam-button-text {
    display: inline-block;
}

.ajaraam-submit-button .ajaraam-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1em;
    line-height: 1;
}

.ajaraam-submit-button .ajaraam-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    stroke: currentColor;
}

.ajaraam-submit-button .ajaraam-button-svg svg {
    width: 1em;
    height: 1em;
    display: block;
}

.ajaraam-my-bookings-form button[type="submit"].ajaraam-submit-button:hover {
    background: var(--e-global-color-accent, #005a87);
}

.ajaraam-my-bookings-form button[type="submit"].ajaraam-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ajaraam-bookings-results {
    margin-top: 30px;
}

.ajaraam-bookings-results h3 {
    margin: 0 0 15px 0;
}

.ajaraam-bookings-list {
    margin-top: 15px;
}

.ajaraam-booking-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.ajaraam-booking-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ajaraam-booking-item .ajaraam-service-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.ajaraam-booking-item .ajaraam-booking-info {
    color: #666;
    margin-bottom: 5px;
}

.ajaraam-booking-item .ajaraam-booking-status {
    font-weight: bold;
}

.ajaraam-booking-item .ajaraam-booking-code {
    font-weight: bold;
    font-family: monospace;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
}

.ajaraam-message-error {
    color: #d32f2f;
}

/* Unified loading style - used everywhere with shadcn Loader2 icon */
.ajaraam-loading-standard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    min-height: 200px;
    width: 100%;
}

.ajaraam-spinner-icon {
    width: 20px;
    height: 20px;
    color: #007cba;
    animation: ajaraam-spin 1s linear infinite;
    flex-shrink: 0;
    display: inline-block;
}

/* Calendar overlay and timeslots spinner get their own default colors
   WITHOUT !important so Elementor widget controls can override them */
.ajaraam-calendar-loading-overlay .ajaraam-spinner-icon,
.ajaraam-calendar-overlay-spinner,
.ajaraam-timeslots-spinner {
    color: #007cba;
}

.ajaraam-loading-text {
    color: #666;
    font-size: 14px;
}

@keyframes ajaraam-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Legacy spinner (for backward compatibility) */
.ajaraam-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: ajaraam-spin 1s linear infinite;
    flex-shrink: 0;
}

/* Loading in step content - centered */
.ajaraam-step-content .ajaraam-loading-standard {
    margin: 60px auto;
}

/* Legacy loading styles for backward compatibility */
.ajaraam-services-loading,
.ajaraam-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.ajaraam-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: ajaraam-spin 1s linear infinite;
    flex-shrink: 0;
}

.ajaraam-loading-text {
    color: #666;
    font-size: 14px;
}

@keyframes ajaraam-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Booking Steps Styling - Customizable Parameters */
/* These styles can be customized to change all important parameters and paddings */

/* Progress bar container */
.ajaraam-progress-bar {
    margin-bottom: 30px;
    /* Adjust spacing below progress bar */
    padding: 0;
    /* Adjust padding around progress bar */
}

/* Steps container */
.ajaraam-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0;
    /* Space between step items */
    position: relative;
}

/* Individual step container */
.ajaraam-step {
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    /* Space between step number and label */
    padding: 0;
    /* Adjust padding around each step */
    cursor: pointer;
    /* Make steps clickable */
    user-select: none;
    /* Prevent text selection */
    transition: opacity 0.2s ease;
}

.ajaraam-step:hover {
    opacity: 0.8;
}

.ajaraam-step:active {
    opacity: 0.6;
}

/* Label position - right */
.ajaraam-step-label-right .ajaraam-step {
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.ajaraam-step-label-right .ajaraam-step .step-label {
    margin-top: 0;
    margin-left: 0.5rem;
}

/* Label position - below (default) */
.ajaraam-step-label-below .ajaraam-step {
    flex-direction: column;
    align-items: center;
}

.ajaraam-step-label-below .ajaraam-step .step-label {
    margin-top: 0;
    margin-left: 0;
}

/* Step number circle - customize size, colors, etc. */
.ajaraam-step .step-number {
    display: inline-block;
    width: 40px;
    /* Adjust step circle size */
    height: 40px;
    /* Adjust step circle size */
    border-radius: 50%;
    /* Makes it circular - change to adjust shape */
    background: #ddd;
    /* Inactive step background color */
    color: #666;
    /* Inactive step text color */
    line-height: 40px;
    /* Should match height for vertical centering */
    text-align: center;
    font-size: 16px;
    /* Adjust number font size */
    font-weight: 500;
    /* Adjust number font weight */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    /* Prevents shrinking */
    z-index: 2;
    position: relative;
}

.ajaraam-step:hover .step-number {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

/* Active step number styling */
.ajaraam-step.active .step-number {
    background: #007cba;
    /* Active step background color - customize */
    color: #fff;
    /* Active step text color - customize */
}

/* Step label text */
.ajaraam-step .step-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    /* Adjust label font size */
    text-align: center;
    color: inherit;
    /* Inherits from parent */
    font-weight: 400;
    /* Adjust label font weight */
    line-height: 1.2;
    /* Adjust label line height */
}

/* Active step label styling */
.ajaraam-step.active .step-label {
    color: #007cba;
    /* Active step label color - customize */
    font-weight: bold;
    /* Active step label weight */
}

/* Line/connector between steps - positioned relative to step number, not container */
.ajaraam-step .step-line {
    position: absolute;
    /* Start from center of step number + half width + distance from circle */
    left: calc(50% + var(--step-number-height, 40px) / 2 + var(--step-line-distance, 0px));
    right: calc(-50% + var(--step-number-height, 40px) / 2 + var(--step-line-distance, 0px));
    /* Extend to next step, accounting for distance */
    height: 2px;
    /* Line thickness - adjust */
    background: #ddd;
    /* All lines same color */
    z-index: 0;
    /* Behind step numbers */
    pointer-events: none;
    /* Don't interfere with clicks */
    transition: background-color 0.3s ease;
}

/* When label is below - line should be at circle center */
/* Use step-number's height to calculate center position dynamically */
.ajaraam-step-label-below .ajaraam-step {
    position: relative;
}

.ajaraam-step-label-below .ajaraam-step .step-line {
    top: 0;
    /* Start from top of step container */
    /* Use step-number's height to center the line on the circle */
    margin-top: calc(var(--step-number-height, 40px) / 2);
    transform: translateY(-50%);
    /* Center the line on the circle */
}

/* When label is on the right - line should be at circle center */
.ajaraam-step-label-right .ajaraam-step .step-line {
    top: 50%;
    /* Center of step container (which equals circle center when label is right) */
    transform: translateY(-50%);
    /* Perfect vertical centering */
}

/* Hide line after last step */
.ajaraam-step:last-child .step-line {
    display: none;
}

/* Ensure step number is above the line */
.ajaraam-step .step-number {
    position: relative;
    z-index: 1;
}

/* Fix for Details Card Layout overlap on desktop - REMOVED as it conflicted with main grid layout */
/*
@media (min-width: 1024px) {
    .ajaraam-details-content {
        display: block;
    }
}
*/

/* Service image aspect ratio fix - maintain 1:1 proportionally */
.ajaraam-service-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Maintains 1:1 ratio when scaling */
    overflow: hidden;
    border-radius: 0;
    /* Default: no rounding */
    flex-shrink: 0;
    /* Prevents shrinking */
    max-width: 100%;
    /* Ensures it doesn't exceed container */
}

/* Circular image - only when enabled */
.ajaraam-services-widget.ajaraam-image-circular-yes .ajaraam-service-image-wrapper,
.ajaraam-image-circular-yes .ajaraam-service-image-wrapper {
    border-radius: 9999px !important;
    /* Creates oval/pill shape */
}

/* Non-circular image - when disabled */
.ajaraam-services-widget.ajaraam-image-circular-no .ajaraam-service-image-wrapper,
.ajaraam-image-circular-no .ajaraam-service-image-wrapper {
    border-radius: 0 !important;
    /* No rounding */
}

.ajaraam-service-image-wrapper img,
.ajaraam-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image fills container while maintaining aspect ratio */
    object-position: center;
    /* Centers image in container */
    display: block;
    /* Removes inline spacing */
}

/* Responsive adjustments for steps */
@media (max-width: 768px) {
    .ajaraam-step .step-number {
        width: 32px;
        /* Smaller on mobile */
        height: 32px;
        font-size: 14px;
        line-height: 32px;
    }

    .ajaraam-step .step-label {
        font-size: 12px;
        /* Smaller label on mobile */
        margin-top: 0.25rem;
    }

    .ajaraam-step .step-line {
        height: 1.5px;
        /* Thinner line on mobile */
        top: 50%;
        /* Keep centered */
        transform: translateY(-50%);
        /* Perfect vertical centering */
    }

    .ajaraam-progress-bar {
        margin-bottom: 20px;
        /* Less spacing on mobile */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ajaraam-services-container {
        grid-template-columns: 1fr !important;
    }

    /* Horizontal layout becomes vertical on mobile */
    .ajaraam-service-card-horizontal {
        flex-direction: column !important;
    }

    .ajaraam-service-card-horizontal.ajaraam-layout-left,
    .ajaraam-service-card-horizontal.ajaraam-layout-right {
        flex-direction: column !important;
    }

    .ajaraam-service-card-horizontal .ajaraam-service-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ajaraam-service-card-horizontal .ajaraam-service-image {
        height: 200px !important;
        min-height: 200px !important;
    }

    .ajaraam-booking-title,
    .ajaraam-services-title,
    .ajaraam-my-bookings-title,
    .ajaraam-gift-cards-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {

    .ajaraam-booking-title,
    .ajaraam-services-title,
    .ajaraam-my-bookings-title,
    .ajaraam-gift-cards-title {
        font-size: 1.25em;
    }

    .ajaraam-service-card {
        padding: 15px;
    }

    .ajaraam-gift-cards-container {
        padding: 20px;
    }
}

/* Date & Time Selection Card */
.ajaraam-datetime-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ajaraam-datetime-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.ajaraam-datetime-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ajaraam-datetime-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.ajaraam-week-buttons {
    display: flex;
    gap: 8px;
}

.ajaraam-week-btn {
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.ajaraam-week-btn:hover {
    background: #f3f4f6;
}

.ajaraam-week-btn.active {
    background: #f3f4f6;
    border-color: #d1d5db;
    font-weight: 500;
}

.ajaraam-datetime-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile styles for datetime header */
@media (max-width: 768px) {
    .ajaraam-week-buttons {
        display: none;
    }



    .ajaraam-datetime-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ajaraam-datetime-header-left {
        width: 100%;
    }

    .ajaraam-datetime-header-right {
        width: 100%;
        justify-content: flex-start;
    }
}



.ajaraam-datetime-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding: 24px;
    position: relative;
}

@media (max-width: 768px) {
    .ajaraam-datetime-content {
        grid-template-columns: 1fr;
        padding: 16px !important;
    }

    .ajaraam-timeslots-section {
        border-top: 1px solid #e5e7eb;
        border-left: none !important;
        margin-top: 16px;
        margin-left: -16px !important;
        margin-right: -16px !important;
        padding-top: 16px;
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-height: 240px;
        width: calc(100% + 32px) !important;
    }

    .ajaraam-timeslots-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
        width: 100% !important;
    }

    .ajaraam-time-slot-btn {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Calendar Section */
.ajaraam-calendar-section {
    padding-right: 48px;
}

/* Calendar Loading Overlay */
.ajaraam-calendar-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 100 !important;
    border-radius: 12px;
    display: none !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.ajaraam-calendar-loading-overlay.show {
    display: flex !important;
}

.ajaraam-calendar-loading-overlay .ajaraam-loading-standard {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 0 !important;
    min-height: auto !important;
    width: auto !important;
}

.ajaraam-calendar-loading-overlay .ajaraam-spinner-icon,
.ajaraam-calendar-loading-overlay .ajaraam-calendar-overlay-spinner {
    width: 32px;
    height: 32px;
    color: #007cba;
    animation: ajaraam-spin 1s linear infinite !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ajaraam-calendar-loading-overlay .ajaraam-loading-text,
.ajaraam-calendar-overlay-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .ajaraam-calendar-section {
        padding-right: 0;
    }
}

.ajaraam-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ajaraam-calendar-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #e0f2fe;
    cursor: pointer;
    transition: all 0.2s;
    color: #0c4a6e;
}

.ajaraam-calendar-nav-btn svg {
    width: 16px;
    height: 16px;
    display: block !important;
    stroke: currentColor !important;
    fill: none !important;
    flex-shrink: 0;
    pointer-events: none;
}

.ajaraam-calendar-nav-btn:hover {
    background: #bae6fd;
    border-color: #7dd3fc;
    color: #075985;
}

.ajaraam-calendar-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
    color: #9ca3af;
}

.ajaraam-calendar-month-year {
    font-size: 16px;
    font-weight: 500;
    text-transform: lowercase;
    color: #111827;
}

.ajaraam-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.ajaraam-calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    padding: 8px 0;
}

.ajaraam-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.ajaraam-calendar-day {
    min-height: 40px;
    height: 40px;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s;
    position: relative;
    background: transparent;
    color: #111827;
}

.ajaraam-calendar-day:hover:not(.disabled):not(.selected) {
    background: #f3f4f6;
}

.ajaraam-calendar-day.disabled {
    color: #d1d5db !important;
    cursor: not-allowed;
    opacity: 0.4;
    pointer-events: none;
}

.ajaraam-calendar-day.other-month {
    color: #d1d5db;
    opacity: 0.4;
}

.ajaraam-calendar-day.today {
    font-weight: 600;
}

.ajaraam-calendar-day.selected {
    background: #88B8FC;
    color: #fff;
    font-weight: 600;
}

/* Time Slots Section */
.ajaraam-timeslots-section {
    width: 280px;
    min-width: 280px;
    border-left: 1px solid #e5e7eb;
    padding-left: 24px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;
}

.ajaraam-timeslots-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px;
}

.ajaraam-timeslots-list .ajaraam-timeslots-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 200px;
    gap: 12px;
    padding: 24px;
}

.ajaraam-timeslots-spinner {
    width: 24px;
    height: 24px;
    display: inline-block;
    animation: ajaraam-spin 1s linear infinite;
    color: #007cba;
}

.ajaraam-timeslots-loading-text {
    font-size: 14px;
    color: #666;
}

.ajaraam-time-slot-btn {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s;
    color: #54595F;
    position: relative;
}

/* Shadcn-style double border effect - using box-shadow instead of ::before */
.ajaraam-time-slot-btn:hover:not(:disabled):not(.selected) {
    background: #f3f4f6;
    border-color: #d1d5db;
    box-shadow: 0 0 0 1px #f3f4f6, 0 0 0 2px #e5e7eb;
}

.ajaraam-time-slot-btn.selected {
    background: #88B8FC;
    color: #fff;
    border-color: #88B8FC;
    box-shadow: none;
}

.ajaraam-time-slot-btn.selected:hover {
    background: #88B8FC;
    color: #fff;
    border-color: #88B8FC;
    box-shadow: none;
}

.ajaraam-time-slot-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ajaraam-timeslots-empty {
    text-align: center;
    padding: 24px;
    color: #6b7280;
    font-size: 12px;
}

/* Footer */
.ajaraam-datetime-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
}

.ajaraam-datetime-confirmation {
    flex: 1;
}

.ajaraam-datetime-navigation {
    display: flex;
    gap: 12px;
}

.ajaraam-confirmation-message {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #111827;
}

.ajaraam-check-icon {
    color: #10b981;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.ajaraam-confirmation-text {
    line-height: 1.5;
}

.ajaraam-confirmation-text .ajaraam-date-text {
    font-weight: 500;
}

.ajaraam-confirmation-text .ajaraam-time-text {
    font-weight: 500;
}

.ajaraam-placeholder-message {
    font-size: 14px;
    color: #6b7280;
}

.ajaraam-datetime-navigation {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.ajaraam-datetime-back-btn,
.ajaraam-datetime-next-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.ajaraam-datetime-back-btn {
    background: #fff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.ajaraam-datetime-back-btn:hover {
    background: #f9fafb;
}

.ajaraam-datetime-next-btn {
    background: #111827;
    color: #fff;
}

.ajaraam-datetime-next-btn:hover:not(:disabled) {
    background: #374151;
}

.ajaraam-datetime-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .ajaraam-datetime-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .ajaraam-datetime-navigation {
        width: 100%;
        margin-left: 0;
    }

    .ajaraam-datetime-back-btn,
    .ajaraam-datetime-next-btn {
        flex: 1;
    }
}

.ajaraam-navigation,
.ajaraam-service-navigation,
.ajaraam-datetime-navigation,
.ajaraam-address-navigation,
.ajaraam-provider-navigation,
.ajaraam-details-footer {
    display: none;
    gap: 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    padding: 20px 40px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    align-items: center;
    border-radius: 0 !important;
    box-sizing: border-box;
}

/* Ensure content is not hidden behind the fixed footer */
.ajaraam-booking-form.ajaraam-has-navigation {
    padding-bottom: 100px !important;
}

/* On desktop, try to keep buttons within a reasonable max-width if possible, 
   but user asked for 100% width, so we stick to that for the bar itself */

@media (min-width: 1200px) {

    .ajaraam-navigation,
    .ajaraam-service-navigation,
    .ajaraam-datetime-navigation,
    .ajaraam-address-navigation,
    .ajaraam-provider-navigation,
    .ajaraam-details-footer {
        padding-left: calc((100% - 1200px) / 2 + 40px);
        padding-right: calc((100% - 1200px) / 2 + 40px);
    }
}

@media (max-width: 768px) {

    .ajaraam-navigation,
    .ajaraam-service-navigation,
    .ajaraam-datetime-navigation,
    .ajaraam-address-navigation,
    .ajaraam-provider-navigation,
    .ajaraam-details-footer {
        padding: 15px 10px;
        gap: 8px;
    }

    .ajaraam-booking-form.ajaraam-has-navigation {
        padding-bottom: 120px !important;
    }

    .ajaraam-btn-next,
    .ajaraam-btn-prev,
    .ajaraam-hold-timer-container-aeg,
    .ajaraam-hold-timer-container-details {
        padding: 12px 16px !important;
        font-size: 14px !important;
        flex: 1;
        justify-content: center;
        text-align: center;
        display: flex !important;
        align-items: center;
        min-height: 48px !important;
        box-sizing: border-box !important;
    }

    .ajaraam-btn-next-wrapper {
        flex: 1;
        display: flex;
    }

    .ajaraam-btn-next-wrapper .ajaraam-btn-next {
        width: 100%;
    }
}

/* Service step specific styles handled via standardized navigation */

/* Hide general navigation when step-specific navigation is active */
.ajaraam-booking-form .ajaraam-step-content[data-step="service"]~.ajaraam-navigation,
.ajaraam-booking-form .ajaraam-step-content[data-step="datetime"]~.ajaraam-navigation,
.ajaraam-booking-form .ajaraam-step-content[data-step="address"]~.ajaraam-navigation,
.ajaraam-booking-form .ajaraam-step-content[data-step="provider"]~.ajaraam-navigation,
.ajaraam-booking-form .ajaraam-step-content[data-step="details"]~.ajaraam-navigation {
    display: none !important;
}

.ajaraam-navigation-spread .ajaraam-navigation,
.ajaraam-navigation-spread .ajaraam-service-navigation,
.ajaraam-navigation-spread .ajaraam-address-navigation,
.ajaraam-navigation-spread .ajaraam-provider-navigation,
.ajaraam-navigation-spread .ajaraam-datetime-navigation,
.ajaraam-navigation-spread .ajaraam-details-footer,
.ajaraam-navigation-spread .ajaraam-details-navigation {
    display: flex;
    justify-content: space-between;
}

/* If only one button in spread layout, keep it on the right */
.ajaraam-navigation-spread .ajaraam-navigation-single-button,
.ajaraam-navigation-spread .ajaraam-service-navigation:not(:has(.ajaraam-btn-prev:not([style*="display: none"]))) {
    justify-content: flex-end !important;
}

/* Grouped layout: nupud koos */
.ajaraam-navigation-grouped .ajaraam-navigation,
.ajaraam-navigation-grouped .ajaraam-service-navigation,
.ajaraam-navigation-grouped .ajaraam-address-navigation,
.ajaraam-navigation-grouped .ajaraam-provider-navigation,
.ajaraam-navigation-grouped .ajaraam-datetime-navigation,
.ajaraam-navigation-grouped .ajaraam-details-footer,
.ajaraam-navigation-grouped .ajaraam-details-navigation {
    display: flex;
    /* justify-content is handled by Elementor controls */
}

.ajaraam-btn-next,
.ajaraam-btn-prev {
    padding: 12px 24px;
    background-color: #007cba;
    /* Primary color - default */
    color: #ffffff;
    /* White text - default */
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-radius: 12px;
    /* Default border radius */
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.ajaraam-btn-next:hover,
.ajaraam-btn-prev:hover {
    background-color: #005a87;
    /* Accent color (darker blue) - default hover */
    transform: translateY(-1px);
}

.ajaraam-btn-next:active,
.ajaraam-btn-prev:active {
    transform: translateY(0);
}

.ajaraam-btn-next:focus,
.ajaraam-btn-prev:focus {
    outline: 2px solid rgba(0, 124, 186, 0.5);
    outline-offset: 2px;
}

.ajaraam-btn-next:disabled,
.ajaraam-btn-next.disabled,
.ajaraam-btn-prev:disabled,
.ajaraam-btn-prev.disabled {
    background-color: #e5e7eb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Details Step Layout */
.ajaraam-details-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.ajaraam-details-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.ajaraam-details-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.ajaraam-details-content {
    padding: 24px 24px 80px 24px;
    overflow: visible;
}

/* Payment Methods Section */
.ajaraam-payment-methods-section {
    margin-top: 24px;
    padding-top: 24px;
}

.ajaraam-payment-methods-divider {
    height: 1px;
    background: #e5e7eb;
    margin-bottom: 16px;
}

.ajaraam-payment-methods-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
}

.ajaraam-payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .ajaraam-payment-methods-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ajaraam-payment-method-card {
    display: block;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    padding: 12px 16px;
    transition: all 0.2s;
    position: relative;
}

.ajaraam-payment-method-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ajaraam-payment-method-card.selected {
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
    background: #f0f7ff;
}

.ajaraam-payment-method-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ajaraam-payment-method-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ajaraam-payment-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 124, 186, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ajaraam-payment-method-icon svg,
.ajaraam-payment-method-icon img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.ajaraam-payment-method-label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    flex: 1;
}

/* Payment Step Styles */
.ajaraam-payment-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.ajaraam-payment-container {
    margin-top: 20px;
}

.ajaraam-payment-form-wrapper {
    min-height: 200px;
}

.ajaraam-payment-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ajaraam-payment-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0a2540;
}

.ajaraam-payment-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.ajaraam-payment-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 20px;
}

.ajaraam-payment-amount-label {
    font-weight: 500;
    color: #333;
}

.ajaraam-payment-amount-value {
    font-size: 18px;
    font-weight: 600;
    color: #0a2540;
}

.ajaraam-stripe-payment-form {
    margin-top: 20px;
}

.ajaraam-stripe-payment-element {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 16px;
}

.ajaraam-stripe-error {
    color: #ef4444;
    padding: 12px;
    margin-top: 12px;
    background: #fee2e2;
    border-radius: 4px;
    font-size: 14px;
}

.ajaraam-stripe-submit-btn {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.ajaraam-stripe-submit-btn:hover:not(:disabled) {
    background: #006ba1;
}

.ajaraam-stripe-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ajaraam-google-pay-button {
    margin-top: 20px;
}

.ajaraam-payment-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 12px;
}

.ajaraam-payment-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

/* Confirmation Page */
.ajaraam-confirmation-content {
    text-align: center;
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.ajaraam-confirmation-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
}

.ajaraam-confirmation-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
    color: #111827;
}

.ajaraam-confirmation-details {
    margin-top: 48px;
    margin-bottom: 48px;
}

.ajaraam-confirmation-details-grid {
    display: flex;
    justify-content: center;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.ajaraam-confirmation-detail-card {
    background: #f9fafb;
    padding: 16px 24px;
    text-align: left;
    flex: 1;
    min-width: 200px;
}

.ajaraam-confirmation-detail-card:first-child {
    border-right: 1px solid #e5e7eb;
    border-radius: 8px 0 0 8px;
}

.ajaraam-confirmation-detail-card:last-child {
    border-radius: 0 8px 8px 0;
}

.ajaraam-confirmation-detail-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 4px;
    line-height: 1.2;
}

.ajaraam-confirmation-detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.ajaraam-confirmation-booking-code {
    color: #007cba;
    font-family: monospace;
}

.ajaraam-confirmation-payment-info {
    margin-bottom: 32px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    border: 0.5px solid #392467;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
}

.ajaraam-confirmation-payment-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
    text-align: center;
}

.ajaraam-confirmation-payment-instruction {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.ajaraam-confirmation-payment-details {
    margin-bottom: 16px;
}

.ajaraam-confirmation-payment-item {
    margin-bottom: 12px;
}

.ajaraam-confirmation-payment-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

.ajaraam-confirmation-payment-value {
    font-size: 1rem;
    background: #f3f4f6;
    padding: 8px 12px;
    border-radius: 4px;
    color: #111827;
}

.ajaraam-confirmation-notice {
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    border: 1px solid;
}

.ajaraam-confirmation-notice-warning {
    background: #fef3c7;
    border-color: #fbbf24;
}

.ajaraam-confirmation-notice-info {
    background: #dbeafe;
    border-color: #60a5fa;
}

.ajaraam-confirmation-notice-text {
    font-size: 0.875rem;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ajaraam-confirmation-notice-icon {
    flex-shrink: 0;
}

.ajaraam-confirmation-booking-code-inline {
    font-weight: 600;
    font-family: monospace;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.ajaraam-confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .ajaraam-confirmation-actions {
        flex-direction: row;
    }
}

.ajaraam-btn-outline {
    background: #fff;
    color: #111827;
    border: 1px solid #111827;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ajaraam-btn-outline:hover {
    background: #f9fafb;
}

.ajaraam-btn-primary {
    background: #111827;
    color: #fff;
    border: 1px solid #111827;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ajaraam-btn-primary:hover {
    background: #374151;
    border-color: #374151;
}

/* Details Footer */
.ajaraam-details-footer {
    /* Styles now inherited from standardized navigation block above */
    display: flex;
}

.ajaraam-details-navigation {
    display: flex;
    gap: 12px;
    width: 100%;
}

/* Provider and Address Cards */
.ajaraam-provider-card,
.ajaraam-address-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: none;
}

.ajaraam-provider-header,
.ajaraam-address-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.ajaraam-provider-title,
.ajaraam-address-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.ajaraam-provider-content,
.ajaraam-address-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.ajaraam-address-content {
    align-items: stretch;
    justify-content: flex-start;
}

.ajaraam-provider-content .ajaraam-providers-list {
    margin-top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.ajaraam-providers-list .ajaraam-provider-item {
    text-align: left;
    display: block;
    width: auto;
    align-self: auto;
}

.ajaraam-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 768px) {
    .ajaraam-details-grid {
        grid-template-columns: 3fr 2fr;
        align-items: start;
    }
}

/* Ensure step content doesn't prevent sticky from working */
.ajaraam-step-content[data-step="details"] {
    overflow: visible;
}

.ajaraam-step-content[data-step="details"] .ajaraam-details-card {
    overflow: visible;
}

.ajaraam-details-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ajaraam-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .ajaraam-form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.ajaraam-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ajaraam-form-row label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.ajaraam-form-row input,
.ajaraam-form-row textarea {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ajaraam-form-row input:focus,
.ajaraam-form-row textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Company Section */
.ajaraam-company-section {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.ajaraam-company-toggle-row {
    margin-bottom: 16px;
}

.ajaraam-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Custom Switch Toggle (similar to Shadcn Switch) */
.ajaraam-company-switch {
    position: relative;
    appearance: none;
    width: 32px;
    height: 18.4px;
    /* h-[1.15rem] = 1.15 * 16px = 18.4px */
    border-radius: 9999px;
    background-color: #e5e7eb;
    /* bg-input - heledam hall */
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* shadow-xs */
}

.ajaraam-company-switch:checked {
    background-color: #111827;
    /* bg-primary - tumedam (oklch(0.205 0 0) ≈ #111827) */
    border-color: transparent;
}

.ajaraam-company-switch::before {
    content: '';
    position: absolute;
    top: 1.2px;
    /* (18.4px - 16px) / 2 = 1.2px */
    left: 1.2px;
    width: 16px;
    /* size-4 = 1rem = 16px */
    height: 16px;
    /* size-4 = 1rem = 16px */
    border-radius: 50%;
    background-color: #fff;
    /* bg-background */
    transition: transform 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ajaraam-company-switch:checked::before {
    transform: translateX(calc(32px - 16px - 2px));
    /* translate-x-[calc(100%-2px)] = w-8 - size-4 - 2px */
}

.ajaraam-company-switch:focus-visible {
    outline: 2px solid rgba(0, 124, 186, 0.5);
    outline-offset: 2px;
}

.ajaraam-switch-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.ajaraam-briefcase-icon {
    width: 16px;
    height: 16px;
    color: #374151;
    flex-shrink: 0;
}

.ajaraam-switch-text {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.ajaraam-company-fields {
    padding-left: 24px;
    border-left: 2px solid #e5e7eb;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Note Section */
.ajaraam-note-section {
    margin-top: 0;
}

.ajaraam-note-toggle-btn {
    background: none !important;
    border: none !important;
    color: #000000 !important;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.ajaraam-note-toggle-btn:hover {
    color: #000000 !important;
    text-decoration: underline;
}

.ajaraam-note-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ajaraam-note-field label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0;
}

.ajaraam-note-input-wrapper {
    display: flex;
    gap: 8px;
}

.ajaraam-note-input-wrapper .ajaraam-note-input {
    flex: 1;
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #fff;
}

.ajaraam-note-input-wrapper .ajaraam-note-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Unified Close Button Styles */
.ajaraam-btn-cancel-code,
.ajaraam-note-close {
    position: absolute;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #f3f4f6;
    border: none;
    color: #000000 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    font-size: 11px !important;
    /* Slightly bigger font but forced line-height */
    font-family: Arial, sans-serif !important;
    line-height: 1 !important;
    transition: all 0.2s ease;
    padding: 0 !important;
    z-index: 5;
    box-shadow: none !important;
}

.ajaraam-btn-cancel-code:hover,
.ajaraam-note-close:hover {
    background: #e5e7eb;
    color: #000000 !important;
}

/* Marketing Consent Section */
.ajaraam-marketing-consent-section {
    margin-top: 16px;
}

.ajaraam-marketing-consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.ajaraam-marketing-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.2s, border-color 0.2s;
    position: relative;
}

.ajaraam-marketing-checkbox:checked {
    background-color: #007cba;
    border-color: #007cba;
}

.ajaraam-marketing-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.ajaraam-marketing-checkbox:focus-visible {
    outline: 2px solid rgba(0, 124, 186, 0.5);
    outline-offset: 2px;
}

.ajaraam-marketing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ajaraam-marketing-label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    line-height: 1.2;
}

.ajaraam-marketing-description {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Summary Panel (Sticky) */
.ajaraam-details-summary {
    align-self: start;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 260px);
    z-index: 25;
    margin-bottom: 40px;
}

.ajaraam-summary-card {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    overflow-y: auto;
    width: 100%;
}

.ajaraam-summary-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #111827;
}

.ajaraam-summary-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ajaraam-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.ajaraam-summary-label {
    color: #6b7280;
}

.ajaraam-summary-value {
    font-weight: 500;
    color: #111827;
}

.ajaraam-summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 16px 0;
}

.ajaraam-summary-value-small {
    font-size: 12px;
    color: #6b7280;
}

.ajaraam-summary-voucher {
    margin-top: 16px;
}

.ajaraam-voucher-input {
    width: 100%;
    padding: 10px 14px;
    padding-right: 40px !important;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
    height: 42px;
}

.ajaraam-voucher-input:focus,
.ajaraam-note-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.ajaraam-note-input {
    width: 100%;
    padding: 10px 14px;
    padding-right: 40px !important;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
}

.ajaraam-voucher-input-wrapper,
.ajaraam-note-input-wrapper {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Redundant cancel code block removed to use unified styles above */

/* Hide Google reCAPTCHA visibility badge */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Address Autocomplete Styles */
.ajaraam-address-input-wrapper {
    position: relative;
}

.ajaraam-address-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.ajaraam-address-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.ajaraam-address-suggestion-item:last-child {
    border-bottom: none;
}

.ajaraam-address-suggestion-item:hover {
    background-color: #f9fafb;
}

.ajaraam-address-suggestion-main {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.ajaraam-address-suggestion-secondary {
    font-size: 12px;
    color: #6b7280;
}

/* Ensure service step heading stays visible above services list */
.ajaraam-step-content[data-step="service"] h3,
.ajaraam-step-content[data-step="1"] h3 {
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
}

/* Ensure services list doesn't overlap heading */
.ajaraam-step-content[data-step="service"] .ajaraam-services-list,
.ajaraam-step-content[data-step="1"] .ajaraam-services-list {
    position: relative;
    z-index: 1;
}

/* ── Stripe tab style preview (Elementor editor only) ── */
/* Hidden by default (live site) */
.ajaraam-stripe-style-preview-editor {
    display: none;
}

/* Shown only inside Elementor editor */
.elementor-edit-mode .ajaraam-stripe-style-preview-editor {
    display: block;
    margin-top: 40px;
    padding: 20px;
    background: #ffffff;
    border: 1px dashed #e0e0e0;
    border-radius: 12px;
    clear: both;
}

/* Hide preview when on preliminary steps (service, address, provider, datetime) */
.elementor-edit-mode .ajaraam-step-content[data-step="service"]:not([style*="display: none"])~.ajaraam-stripe-style-preview-editor,
.elementor-edit-mode .ajaraam-step-content[data-step="1"]:not([style*="display: none"])~.ajaraam-stripe-style-preview-editor,
.elementor-edit-mode .ajaraam-step-content[data-step="address"]:not([style*="display: none"])~.ajaraam-stripe-style-preview-editor,
.elementor-edit-mode .ajaraam-step-content[data-step="provider"]:not([style*="display: none"])~.ajaraam-stripe-style-preview-editor,
.elementor-edit-mode .ajaraam-step-content[data-step="2"]:not([style*="display: none"])~.ajaraam-stripe-style-preview-editor,
.elementor-edit-mode .ajaraam-step-content[data-step="datetime"]:not([style*="display: none"])~.ajaraam-stripe-style-preview-editor {
    display: none !important;
}

.ajaraam-stripe-style-preview-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #555 !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ajaraam-stripe-style-preview-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ajaraam-stripe-preview-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    cursor: default;
    min-width: 120px;
    min-height: 60px;
    text-align: center;
    flex: 1;
    transition: all 0.2s ease;

    /* Variables from Elementor controls */
    color: var(--stripe-tab-text-color, #0a2540);
    /* Note: Border, padding, etc. are handled by Elementor .selector targeting */
}

/* Default look if nothing is set in Elementor yet */
.ajaraam-stripe-tab-dummy,
.ajaraam-stripe-tab-active-dummy {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.ajaraam-stripe-tab-active-dummy {
    border: 2px solid #007cba;
    background: #fcfdfe;
}

.ajaraam-stripe-preview-tab svg {
    margin-bottom: 8px;
    display: block;
    stroke: var(--stripe-tab-icon-color, currentColor);
}

.ajaraam-stripe-tab-active-dummy svg {
    stroke: var(--stripe-tab-icon-active-color, var(--stripe-tab-active-text-color, #007cba));
}

.ajaraam-stripe-preview-tab:hover {
    color: var(--stripe-tab-hover-text-color, inherit);
}

.ajaraam-stripe-preview-tab:hover svg {
    stroke: var(--stripe-tab-icon-hover-color, var(--stripe-tab-hover-text-color, currentColor));
}

.ajaraam-stripe-preview-tab.ajaraam-stripe-tab-active-dummy {
    color: var(--stripe-tab-active-text-color, #007cba);
}

/* Ensure hidden dummies don't take space but allow style computation */
.ajaraam-stripe-settings-dummies {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Address and Provider Step Navigation (Matches Datetime) */
.ajaraam-address-footer,
.ajaraam-provider-footer {
    display: block;
    padding: 0;
    border: none;
}

.ajaraam-address-navigation,
.ajaraam-provider-navigation {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.ajaraam-address-back-btn,
.ajaraam-address-next-btn,
.ajaraam-provider-back-btn,
.ajaraam-provider-next-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.ajaraam-address-back-btn,
.ajaraam-provider-back-btn {
    background: #fff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.ajaraam-address-back-btn:hover,
.ajaraam-provider-back-btn:hover {
    background: #f9fafb;
}

.ajaraam-address-next-btn,
.ajaraam-provider-next-btn {
    background: #111827;
    color: #fff;
}

.ajaraam-address-next-btn:hover:not(:disabled),
.ajaraam-provider-next-btn:hover:not(:disabled) {
    background: #374151;
}

.ajaraam-address-next-btn:disabled,
.ajaraam-provider-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {

    .ajaraam-address-footer,
    .ajaraam-provider-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .ajaraam-address-navigation,
    .ajaraam-provider-navigation {
        width: 100%;
        margin-left: 0;
    }

    .ajaraam-address-back-btn,
    .ajaraam-address-next-btn,
    .ajaraam-provider-back-btn,
    .ajaraam-provider-next-btn {
        flex: 1;
    }
}

/**
 * Ayara Menu Styles
 */
@media (min-width: 768px) {
    .ajaraam-menu-group {
        position: relative !important;
    }

    .ajaraam-dropdown-wrapper {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        padding-top: 12px !important;
        width: 288px !important;
        /* 72 * 4px */
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(10px) translateX(-50%) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 9999 !important;
    }

    .ajaraam-menu-group:hover>.ajaraam-dropdown-wrapper {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) translateX(-50%) !important;
    }

    .ajaraam-dropdown-content {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(40px) !important;
        -webkit-backdrop-filter: blur(40px) !important;
        border-radius: 32px !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
        border: 1px solid rgba(243, 232, 255, 0.5) !important;
        padding: 12px !important;
        overflow: hidden !important;
    }

    .ajaraam-dropdown-wrapper ul.sub-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .ajaraam-dropdown-item {
        position: relative;
        padding: 14px 24px;
        display: block;
        color: #392467;
        transition: all 0.3s ease;
        border-radius: 12px;
        text-decoration: none;
        text-align: left;
    }

    .ajaraam-dropdown-item:hover {
        background-color: #f3e8ff;
        color: #5d3587;
    }

    .ajaraam-dropdown-label {
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.05em;
        display: block;
    }

    .ajaraam-dropdown-desc {
        font-family: inherit;
        font-size: 10px;
        font-weight: 300;
        opacity: 0.6;
        margin-top: 4px;
        margin-bottom: 0;
        display: block;
    }

    .ajaraam-nav-chevron {
        width: 12px;
        height: 12px;
        opacity: 0.5;
        transition: transform 0.3s ease;
    }

    .ajaraam-menu-group:hover .ajaraam-nav-chevron {
        transform: rotate(180deg) !important;
    }
}

/* Base Link Styles */
/* --- Ayara Menu Color Logic --- */
.ajaraam-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    /* Typography and color managed by Elementor */
}

/* Animated Underline (Grow) */
.ajaraam-nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 1px;
    width: 0;
    height: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

/* Scrolled/Sticky state color managed by Elementor */

.ajaraam-nav-link:hover::after,
li.current-menu-item>.ajaraam-nav-link::after,
li.current_page_item>.ajaraam-nav-link::after,
li.menu-item-has-children:hover>.ajaraam-nav-link::after {
    width: calc(100% - 2px);
}

.ajaraam-nav-link:hover {
    opacity: 0.9;
}

/* Submenu forced visibility and Ayara design */
.ajaraam-menu-group {
    position: relative;
    overflow: visible !important;
    /* CRITICAL */
}

/* Ensure parents don't clip the menu */
.elementor-widget-nav-menu,
.elementor-nav-menu--main,
.elementor-widget-container {
    overflow: visible;
}

.ajaraam-dropdown-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    padding-top: 18px;
    width: 288px;
    opacity: 0;
    visibility: hidden;
    display: block;
    transform: translateY(15px) translateX(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999999;
}

.ajaraam-menu-group:hover>.ajaraam-dropdown-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
}

.ajaraam-dropdown-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(124, 77, 255, 0.1);
    padding: 10px;
    overflow: hidden;
}

.ajaraam-dropdown-wrapper ul.sub-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.ajaraam-dropdown-item {
    color: inherit;
    padding: 12px 20px;
    display: block;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}


/* Mobile Submenu Styles */
@media (max-width: 767px) {
    .ajaraam-dropdown-wrapper {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
        width: 100%;
        padding-top: 5px;
    }

    .ajaraam-dropdown-content {
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .ajaraam-dropdown-desc {
        display: none;
    }

    .ajaraam-dropdown-wrapper ul.sub-menu {
        padding-left: 20px;
        border-left: 1px solid rgba(124, 77, 255, 0.2);
        margin-top: 10px;
        margin-left: 10px;
    }

    .ajaraam-dropdown-item {
        font-size: 11px !important;
        color: #7c4dff !important;
        letter-spacing: 0.15em !important;
        padding: 8px 0 !important;
    }

    .ajaraam-nav-link {
        color: inherit;
    }

    .ajaraam-nav-link::after {
        display: none !important;
    }
}

/* --- Ajaraam Custom Nav Menu Widget Styles --- */
.ajaraam-custom-menu-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 768px) {

    /* Prevent container contraction or jumping on mobile scroll */
    .ajaraam-custom-menu-wrapper {
        min-height: 48px !important;
        transition: none !important;
    }

    /* Block Elementor sticky section shrink animation on mobile.
       Elementor adds these classes when a section becomes sticky and
       animates padding changes — we prevent this on mobile. */
    .elementor-sticky--active .elementor-element .ajaraam-custom-menu-wrapper,
    .elementor-sticky--effects .elementor-element .ajaraam-custom-menu-wrapper {
        transition: none !important;
        animation: none !important;
    }

    /* Prevent the parent Elementor section/container from changing height on mobile */
    .elementor-section.elementor-sticky--active,
    .e-con.elementor-sticky--active {
        transition: none !important;
    }

    /* Elementor sometimes changes padding on sticky-active sections for shrink effect */
    .elementor-sticky--effects .elementor-section,
    .elementor-sticky--effects .e-con {
        transition: none !important;
    }
}

/* Admin bar fix */
body.admin-bar .ajaraam-custom-menu-wrapper {
    margin-top: 32px;
}

body.admin-bar #ajaraam-mobile-menu {
    top: 32px;
}

@media screen and (max-width: 782px) {

    body.admin-bar .ajaraam-custom-menu-wrapper {
        margin-top: 46px;
    }

    body.admin-bar #ajaraam-mobile-menu {
        top: 46px;
    }
}

/* Base Layout Classes (Tailwind fallbacks) */
.ajaraam-custom-menu-wrapper nav {
    display: flex;
    align-items: center;
}

.ajaraam-custom-menu-wrapper .hidden {
    display: none !important;
}

@media (min-width: 768px) {
    .ajaraam-custom-menu-wrapper .md\:flex {
        display: flex !important;
    }

    .ajaraam-custom-menu-wrapper .md\:hidden {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .ajaraam-custom-menu-wrapper .hidden-mobile {
        display: none !important;
    }
}

/* Desktop Nav Specifics */
.ajaraam-custom-menu-wrapper nav.desktop-nav {
    display: flex;
    flex-direction: row;
    gap: 32px;
}

/* Booking Button Styles (Desktop) */
.ajaraam-booking-button {
    border: 1px solid currentColor;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 32px;
    border-radius: 9999px;
    font-family: inherit;
    text-decoration: none;
}

.ajaraam-booking-button:hover {
    opacity: 0.9;
}

/* Mobile Toggle Styles */
#ajaraam-mobile-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
}

@media (min-width: 768px) {
    #ajaraam-mobile-toggle {
        display: none !important;
    }
}

#ajaraam-mobile-toggle.scrolled {
    color: #392467;
}

#ajaraam-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay fix for non-Tailwind */
#ajaraam-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    min-height: 100vh;
    background-color: #ffffff;
    z-index: 99999;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    transition: none;
}

#ajaraam-mobile-menu.ajaraam-menu-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

#ajaraam-mobile-close {
    position: absolute;
    top: 32px;
    right: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

#ajaraam-mobile-close svg {
    stroke-width: 1;
    width: 38px;
    height: 38px;
    color: #392467;
    transition: color 0.3s ease;
}

#ajaraam-mobile-close:hover svg {
    color: #a855f7;
}

/* Mobile Menu Layout styles (replaces Tailwind utility) */
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
    width: 100%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 100vh;
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-nav-thumbnail {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Mobile Menu Content Styles */
.mobile-nav-link {
    font-family: inherit;
    text-decoration: none;
    color: #392467;
    display: block;
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-item.is-open>.mobile-nav-link,
.current-menu-item>.mobile-nav-link {
    letter-spacing: 0.25em;
    opacity: 0.7;
    transform: translateY(-2px);
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after,
.mobile-nav-item.is-open>.mobile-nav-link::after,
.current-menu-item>.mobile-nav-link::after {
    width: 30%;
}

.mobile-sub-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.mobile-sub-item {
    font-family: inherit;
    text-decoration: none;
    opacity: 0.6;
    color: #392467;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mobile-sub-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.mobile-sub-item::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-sub-item:hover::after {
    width: 30%;
}

.mobile-btn-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
    width: 100%;
    max-width: 280px;
}

.mobile-booking-btn,
.mobile-call-btn {
    border-radius: 9999px;
    padding: 18px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-booking-btn {
    background-color: #ffffff;
    color: #3b0764;
    border: 1px solid #e9d5ff;
}

.mobile-call-btn {
    background-color: #4c2d73;
    color: #ffffff;
    border: 1px solid #4c2d73;
}

.mobile-booking-btn:hover,
.mobile-call-btn:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.mobile-booking-btn svg,
.mobile-call-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Specific Dropdown styles for the custom widget */
.ajaraam-custom-menu-wrapper .ajaraam-dropdown-wrapper {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    padding-top: 18px !important;
    width: 288px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: block !important;
    transform: translateY(15px) translateX(-50%) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 999999 !important;
}

.ajaraam-custom-menu-wrapper .ajaraam-menu-group:hover>.ajaraam-dropdown-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) translateX(-50%) !important;
}

/* Active State for custom menu */
.ajaraam-custom-menu-wrapper .current-menu-item>.ajaraam-nav-link::after {
    width: calc(100% - 2px) !important;
}

/* Ensure no clipping on Elementor containers */
.elementor-widget-ajaraam_nav_menu .elementor-widget-container {
    overflow: visible !important;
}

/* FAQ Widget Styles */
.ajaraam-faq-widget {
    max-width: 768px;
    margin: 40px auto;
    position: relative;
    z-index: 10;
}

.ajaraam-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.ajaraam-faq-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: bold;
    color: #392467;
    margin-bottom: 16px;
    display: block;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.ajaraam-faq-title {
    font-family: 'Cinzel', serif;
    font-size: 2.25rem;
    margin-bottom: 24px;
    color: #33215b;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .ajaraam-faq-title {
        font-size: 1.875rem;
    }
}

.ajaraam-faq-description {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    opacity: 0.4;
    text-transform: uppercase;
    color: #33215b;
    margin: 0;
}

.ajaraam-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ajaraam-faq-item {
    border: 1px solid #f3e8ff;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
}

.ajaraam-faq-item:hover {
    border-color: #e9d5ff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.ajaraam-faq-item.active {
    background-color: rgba(243, 232, 255, 0.2);
    border-color: #e9d5ff;
}

.ajaraam-faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    outline: none !important;
}

.ajaraam-faq-question {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    color: #33215b;
    padding-right: 32px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .ajaraam-faq-question {
        font-size: 1rem;
        padding-right: 16px;
    }

    .ajaraam-faq-toggle {
        padding: 24px;
    }
}

.ajaraam-faq-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: #f5f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.ajaraam-faq-toggle:hover .ajaraam-faq-icon-wrapper {
    background-color: #ede9fe;
}

.ajaraam-faq-icon {
    width: 20px;
    height: 20px;
    color: #5b21b6;
    transition: transform 0.5s ease;
}

.ajaraam-faq-item.active .ajaraam-faq-icon {
    transform: rotate(180deg);
}

.ajaraam-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
}

.ajaraam-faq-content-inner {
    padding: 0 32px 32px 32px;
}

@media (max-width: 767px) {
    .ajaraam-faq-content-inner {
        padding: 0 24px 24px 24px;
    }
}

.ajaraam-faq-divider {
    width: 100%;
    height: 1px;
    background-color: #f5f3ff;
    margin-bottom: 24px;
}

.ajaraam-faq-answer {
    color: #4b5563;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.625;
}

.ajaraam-faq-answer p {
    margin-bottom: 1rem !important;
}

.ajaraam-faq-answer p:last-child {
    margin-bottom: 0 !important;
}

.ajaraam-faq-answer strong {
    color: #392467;
    font-weight: 700;
}

/* Sooduskood (Coupon) Section */
.aef-voucher-section {
    margin-top: 24px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.aef-voucher-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aef-voucher-label {
    font-weight: 600;
    color: #374151;
}

.aef-btn-toggle-voucher {
    background: none;
    border: none;
    color: #392467;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: opacity 0.2s;
}

.aef-btn-toggle-voucher:hover {
    opacity: 0.8;
}

.aef-voucher-input-row {
    margin-top: 12px;
}

.aef-voucher-input {
    flex: 1;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
}

.aef-btn-cancel-voucher {
    background: #f3f4f6;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: background-color 0.2s;
}

.aef-btn-cancel-voucher:hover {
    background-color: #e5e7eb;
}

.aef-voucher-message {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.aef-voucher-message.success {
    color: #10b981;
}

.aef-voucher-message.error {
    color: #ef4444;
}

/* Mobile responsive overrides for service list */
@media screen and (max-width: 767px) {

    html body .elementor-widget-ajaraam_booking_form .ajaraam-booking-widget .ajaraam-service-card-horizontal,
    html body .elementor-widget-ajaraam-booking-form .ajaraam-booking-widget .ajaraam-service-card-horizontal,
    html body .elementor-widget-ajaraam_booking_form .ajaraam-booking-widget .ajaraam-service-item.ajaraam-layout-left,
    html body .elementor-widget-ajaraam-booking-form .ajaraam-booking-widget .ajaraam-service-item.ajaraam-layout-left,
    html body .elementor-widget-ajaraam_booking_form .ajaraam-booking-widget .ajaraam-service-item.ajaraam-layout-right,
    html body .elementor-widget-ajaraam-booking-form .ajaraam-booking-widget .ajaraam-service-item.ajaraam-layout-right,
    html body .elementor-widget-ajaraam_booking_form .ajaraam-booking-widget .ajaraam-service-card-horizontal.ajaraam-layout-left,
    html body .elementor-widget-ajaraam-booking-form .ajaraam-booking-widget .ajaraam-service-card-horizontal.ajaraam-layout-left,
    html body .elementor-widget-ajaraam_booking_form .ajaraam-booking-widget .ajaraam-service-card-horizontal.ajaraam-layout-right,
    html body .elementor-widget-ajaraam-booking-form .ajaraam-booking-widget .ajaraam-service-card-horizontal.ajaraam-layout-right {
        flex-direction: column !important;
        align-items: stretch !important;
        display: flex !important;
    }

    html body .elementor-widget-ajaraam_booking_form .ajaraam-booking-widget .ajaraam-service-image-wrapper,
    html body .elementor-widget-ajaraam-booking-form .ajaraam-booking-widget .ajaraam-service-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 250px !important;
        height: 250px !important;
        margin-bottom: 20px !important;
        aspect-ratio: auto !important;
        display: block !important;
    }

    html body .elementor-widget-ajaraam_booking_form .ajaraam-booking-widget .ajaraam-service-image,
    html body .elementor-widget-ajaraam-booking-form .ajaraam-booking-widget .ajaraam-service-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        aspect-ratio: auto !important;
        border-radius: 12px 12px 0 0 !important;
        display: block !important;
    }

    html body .elementor-widget-ajaraam_booking_form .ajaraam-booking-widget .ajaraam-service-content,
    html body .elementor-widget-ajaraam-booking-form .ajaraam-booking-widget .ajaraam-service-content {
        padding: 0 5px 15px 5px !important;
        width: 100% !important;
    }
}