/* Position the chat bubble on the bottom left to avoid overlapping
   with theme scroll‑to‑top arrows or other sticky elements. Use a
   very high z‑index to ensure it stays above all other content. */
/* Floating chat bubble – now bottom left and bigger with soft shadow */
.aw-chat-bubble,
#aw-chat-bubble {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: auto;
    width: 70px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 999999;
}

.aw-chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Small help label next to the chat bubble to make its purpose clear */
/* Position the help label above the bubble on the left as well */
.aw-chat-help-label {
    position: fixed;
    bottom: 100px;
    left: 20px;
    right: auto;
    background: var(--aw-primary, #36c25a);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 999999;
}

.aw-bubble-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Position the chat panel relative to the bubble on the left. Use higher z‑index. */
.aw-chat-panel,
#aw-chat-panel,
.aw-inline-chat {
    position: fixed;
    bottom: 100px;
    left: 20px;
    right: auto;
    width: 320px;
    max-height: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 999999;
}

.aw-inline-chat {
    position: static;
    width: 100%;
    max-height: none;
    box-shadow: none;
}

.aw-chat-header {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f7fafc;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #e2e8f0;
}

.aw-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
}

.aw-chat-info {
    flex-grow: 1;
}

.aw-chat-status.online {
    color: #36c25a;
    font-size: 12px;
}

.aw-chat-status.offline {
    color: #e53e3e;
    font-size: 12px;
}

.aw-chat-close, .aw-chat-clear {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #4a5568;
}

.aw-chat-clear {
    font-size: 14px;
    margin-left: 8px;
}

.aw-chat-close:hover, .aw-chat-clear:hover {
    color: #2d3748;
}

.aw-chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 300px;
}

.aw-message {
    display: flex;
    margin-bottom: 12px;
}

.aw-message-bot {
    align-items: flex-start;
}

.aw-message-user {
    justify-content: flex-end;
}

.aw-message-avatar {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.aw-message-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.aw-message-content {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.aw-message-bot .aw-message-content {
    background: #e6f7ff;
    color: #2d3748;
}

.aw-message-user .aw-message-content {
    background: #36c25a;
    color: white;
}

.aw-typing-dots {
    display: flex;
    gap: 4px;
}

.aw-typing-dots span {
    width: 6px;
    height: 6px;
    background: #4a5568;
    border-radius: 50%;
    animation: aw-typing 1.2s infinite;
}

.aw-typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.aw-typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes aw-typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.aw-chat-input-area {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e2e8f0;
}

#aw-chat-input {
    flex-grow: 1;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px;
    font-size: 14px;
}

#aw-chat-send {
    background: #36c25a;
    border: none;
    border-radius: 6px;
    margin-left: 8px;
    padding: 8px;
    cursor: pointer;
    color: white;
}

#aw-chat-send:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

.aw-funnel-container,
#aw-funnel-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.aw-funnel-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.aw-funnel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 16px;
}

.aw-funnel-question {
    font-size: 18px;
    font-weight: 500;
    color: #2d3748;
}

.aw-funnel-content {
    margin-bottom: 24px;
}

.aw-funnel-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 12px;
}

.aw-funnel-buttons, .aw-funnel-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.aw-funnel-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background: #36c25a;
    color: white;
    transition: background 0.2s;
}

.aw-funnel-btn:hover {
    background: #2f9e44;
}

.aw-funnel-btn.prev {
    background: #e2e8f0;
    color: #2d3748;
}

.aw-funnel-btn.prev:hover {
    background: #cbd5e0;
}

.aw-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.aw-course-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.aw-course-item.selected {
    border-color: #36c25a;
    background: #f7fafc;
}

.aw-course-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.aw-course-item strong {
    display: block;
    font-size: 14px;
    color: #2d3748;
}

.aw-course-item .price {
    font-size: 12px;
    color: #718096;
}

.aw-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.aw-loading-dots {
    display: flex;
    gap: 6px;
    margin-left: 12px;
}

.aw-loading-dots span {
    width: 8px;
    height: 8px;
    background: #36c25a;
    border-radius: 50%;
    animation: aw-loading 1.2s infinite;
}

.aw-loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.aw-loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes aw-loading {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

@media (max-width: 480px) {
    .aw-chat-panel {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }
    .aw-funnel-container {
        padding: 16px;
    }
    .aw-courses-grid {
        grid-template-columns: 1fr;
    }
}

/*
 * New funnel styles for version 2.0.0
 *
 * The updated funnel UI features a vertical stepper alongside a chat-style
 * card. Each step is indicated with a numbered circle. The current
 * question is presented inside a speech bubble next to Amanda's avatar.
 * Inputs and course selection tiles appear below the message once the
 * typing animation completes.
 */

.aw-funnel-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    /* Fill the entire page width while leaving room on the edges */
    width: 100%;
    padding: 48px 5%;
    box-sizing: border-box;
}

.aw-stepper {
    flex: 0 0 240px;
    padding-top: 12px;
    position: relative;
}

/* Vertical guide line behind the step circles */
.aw-stepper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    width: 2px;
    height: 100%;
    background: #e2e8f0;
    z-index: 0;
}

.aw-stepper-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    font-size: 16px;
    color: #718096;
    position: relative;
    z-index: 1;
}

.aw-stepper-item:last-child {
    margin-bottom: 0;
}

.aw-stepper-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #cbd5e0;
    background: #edf2f7;
    margin-right: 12px;
    transition: background 0.2s, border-color 0.2s;
}

.aw-stepper-label {
    flex: 1;
}

.aw-stepper-item.completed .aw-stepper-circle {
    background: var(--aw-primary, #36c25a);
    border-color: var(--aw-primary, #36c25a);
}

.aw-stepper-item.completed .aw-stepper-label {
    color: var(--aw-primary, #36c25a);
    font-weight: 600;
}

.aw-stepper-item.active .aw-stepper-circle {
    border-color: var(--aw-primary, #36c25a);
    background: #fff;
}

.aw-stepper-item.active .aw-stepper-label {
    color: var(--aw-primary, #36c25a);
    font-weight: 600;
}

.aw-chat-card {
    /* Allow the card to occupy more horizontal space. Set a min height
     * so the content isn’t cramped on large screens. */
    flex: 1 0 70%;
    max-width: 900px;
    min-height: 450px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    /* Slide in effect for the card */
    animation: aw-card-slide-in 0.6s ease both;
}

/* Hide the legacy vertical stepper when using the new horizontal progress bar */
.aw-stepper {
    display: none;
}

/* Progress bar across the top of the card */
.aw-progress-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}
.aw-progress-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #cbd5e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #718096;
    z-index: 2;
}
.aw-progress-circle.completed {
    background: var(--aw-primary, #36c25a);
    border-color: var(--aw-primary, #36c25a);
    color: #fff;
}
.aw-progress-circle.active {
    background: var(--aw-primary, #36c25a);
    border-color: var(--aw-primary, #36c25a);
    color: #fff;
    opacity: 0.8;
}
.aw-progress-connector {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    position: relative;
    margin: 0 8px;
    z-index: 1;
}
.aw-progress-connector.completed {
    background: var(--aw-primary, #36c25a);
}

/* When the funnel is rendered using the landing layout (layout="landing" on
 * the shortcode), expand the wrapper and card to fill the page. This
 * creates a full‑page onboarding experience suitable for dedicated
 * landing pages. */
.aw-layout-landing .aw-funnel-wrapper {
    /* Override any theme or builder constraints by removing the
     * max-width and forcing full width. Use !important to break
     * out of Elementor containers when necessary. */
    width: 100% !important;
    max-width: unset !important;
    margin: 0 auto;
    padding: 60px 5%;
    box-sizing: border-box;
}
.aw-layout-landing .aw-chat-card {
    flex: 1 0 100%;
    max-width: unset !important;
    width: 100% !important;
    min-height: 500px;
}
.aw-layout-landing .aw-card-avatar {
    width: 200px;
    height: 200px;
}

/* Enlarge the progress circles and display a checkmark when completed */
.aw-progress-circle {
    width: 40px;
    height: 40px;
    font-size: 18px;
    position: relative;
}
.aw-progress-circle.completed::after {
    content: '\2713';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
}

/* Buttons for the returning user question */
.aw-returning-buttons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.aw-returning-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f7fafc;
    font-size: 18px;
    color: #2d3748;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.aw-returning-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--aw-primary, #36c25a);
}
.aw-returning-btn:hover {
    border-color: var(--aw-primary, #36c25a);
    background: #effff4;
    transform: translateY(-2px);
}

/* Confetti used on the final step celebration */
.aw-confetti {
    position: fixed;
    top: -10px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 1;
    z-index: 2000;
}
@keyframes aw-confetti-fall {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(800px);
        opacity: 0;
    }
}

@keyframes aw-card-slide-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.aw-card-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.aw-card-avatar {
    width: 180px;
    height: 180px;
    border-radius: 0;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.aw-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aw-card-bubble {
    background: #f7fafc;
    border-radius: 12px;
    padding: 12px 16px;
    color: #2d3748;
    font-size: 18px;
    line-height: 1.6;
    max-width: 100%;
}

.aw-card-input {
    margin-bottom: 16px;
}

/*
 * Input rows for the funnel. Each input is accompanied by an icon and
 * a descriptive label. The row uses flexbox to align the icon,
 * label and input neatly. On smaller screens the layout collapses
 * gracefully with the input taking up the remaining width.
 */
.aw-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.aw-input-icon svg {
    width: 24px;
    height: 24px;
    fill: #718096;
}
.aw-input-label {
    font-size: 16px;
    color: #2d3748;
    white-space: nowrap;
}
.aw-input-field {
    flex: 1;
    min-width: 200px;
}

.aw-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 18px;
    box-sizing: border-box;
}

.aw-card-courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.aw-course-tile {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.aw-course-tile.selected {
    border-color: var(--aw-primary, #36c25a);
    box-shadow: 0 0 0 2px var(--aw-primary, #36c25a) inset;
}

.aw-course-tile img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 8px;
}

.aw-course-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #2d3748;
}

.aw-course-price {
    font-size: 12px;
    color: #718096;
}

.aw-card-footer {
    display: flex;
    justify-content: flex-end;
}

.aw-funnel-next {
    background: linear-gradient(90deg, var(--aw-primary, #36c25a) 0%, #2fa650 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.aw-funnel-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.aw-summary-list {
    display: grid;
    row-gap: 8px;
    font-size: 16px;
}

.aw-summary-row {
    display: flex;
    justify-content: space-between;
}

.aw-summary-label {
    font-weight: 600;
    color: #2d3748;
}

.aw-summary-value {
    color: #4a5568;
}

/* Static message blocks used by [amanda_woo_welcome] and
 * [amanda_woo_thank_you] shortcodes. Display Amanda’s avatar
 * alongside a friendly greeting in a bubble. */
.aw-static-message {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px auto;
    padding: 24px;
    max-width: 800px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.aw-static-avatar img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}
.aw-static-bubble {
    background: #f7fafc;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 20px;
    line-height: 1.4;
    color: #2d3748;
}

/* Error message styling when the funnel encounters an existing email */
.aw-error-message {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 24px;
    border-radius: 12px;
    color: #742a2a;
    font-size: 16px;
    max-width: 600px;
    margin: 40px auto;
}
.aw-error-message a.aw-login-link {
    color: var(--aw-primary, #36c25a);
    font-weight: 600;
    text-decoration: none;
}
.aw-error-message a.aw-login-link:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------------------- */
/* Custom enhancements for Amanda Woo (god‑tier version)                     */
/* These rules override or extend the default styles to provide a polished  */
/* experience. The funnel wrapper is centred and constrained in width, and */
/* the chat bubble/panel are placed above other fixed elements.            */
/* ------------------------------------------------------------------------- */

/* Center the funnel and limit its maximum width for improved readability */
.aw-funnel-wrapper {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* Elevate the chat bubble and panel to ensure they appear above theme    */
/* elements like back‑to‑top buttons. Adding !important prevents other    */
/* stylesheets from reducing the z‑index.                                 */
.aw-chat-bubble,
#aw-chat-bubble {
    z-index: 99999 !important;
}

.aw-chat-panel,
#aw-chat-panel {
    z-index: 99999 !important;
}

/* Welcome block styling for the [amanda_welcome] shortcode */
.aw-welcome-block {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 880px;
    margin: 3rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 16px;
    overflow: hidden;
    gap: 1.5rem;
}

.aw-welcome-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.aw-welcome-content {
    flex: 1;
}

.aw-welcome-title {
    margin: 0 0 0.25rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.aw-welcome-subtitle {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: #555;
}

.aw-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Generic button styles used by the welcome block and other UI elements */
.aw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    line-height: 1.2;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
/* Primary button with subtle gradient and bigger padding */
.aw-btn-primary {
    background: linear-gradient(135deg, var(--aw-primary, #3b82f6) 0%, var(--aw-accent, #06b6d4) 100%);
    color: #fff;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: filter 0.2s ease, transform 0.2s ease;
}
.aw-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    color: #fff;
}
.aw-btn-outline {
    background-color: #fff;
    color: var(--aw-primary, #36c25a);
    border: 1px solid var(--aw-primary, #36c25a);
}
.aw-btn-outline:hover {
    background-color: var(--aw-primary, #36c25a);
    color: #fff;
}
.aw-btn-ghost {
    background-color: transparent;
    color: var(--aw-primary, #36c25a);
    border: 1px dashed var(--aw-primary, #36c25a);
}
.aw-btn-ghost:hover {
    background-color: rgba(0,0,0,0.02);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 640px) {
    .aw-funnel-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    .aw-stepper {
        flex: none;
        display: flex;
        justify-content: space-around;
        padding: 0;
    }
    .aw-stepper-item {
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }
    .aw-stepper-circle {
        margin-right: 0;
        margin-bottom: 4px;
    }
    .aw-chat-card {
        padding: 16px;
    }
    .aw-card-avatar {
        width: 48px;
        height: 48px;
        margin-right: 12px;
    }
}

/* --- PeptidesWorldwide brand polish (dark + neon accent) --- */
:root { --aw-accent:#ccff00; --aw-dark:#0b0f14; --aw-muted:#f1f5f9; }
.aw-chat-panel { border-radius:16px; box-shadow:0 10px 40px rgba(0,0,0,.18); animation: awSlideUp .28s ease-out; }
.aw-chat-header { background: linear-gradient(135deg, #0b0f14, #101820 50%, #1e293b); color:#fff; border-bottom:1px solid rgba(255,255,255,.08); }
.aw-chat-messages { background:#f8fafc; }
.aw-message-bot .aw-message-content { background:#fff; border:1px solid #edf2f7; }
.aw-message-user .aw-message-content { background:#0f172a; color:#fff; }
.aw-fade-in { animation: awFadeIn .24s ease-out both; }
@keyframes awFadeIn { from {opacity:0} to {opacity:1} }
@keyframes awRise { from { opacity:0; transform: translateY(4px); } to { opacity:1; transform:none; } }
@keyframes awSlideUp { from { transform: translateY(8px); opacity:.85; } to { transform:none; opacity:1; } }

/* Chip bubble */
.aw-chip-title{ font-weight:700; margin-bottom:6px; color:#0f172a; }
.aw-chip-row{ display:flex; gap:8px; flex-wrap:wrap; }
.aw-chip{ background:#111827; color:#fff; border:1px solid #111827; border-radius:999px; padding:8px 14px; font-weight:600; }
.aw-chip:hover{ box-shadow:0 0 0 2px var(--aw-accent); }

/* Welcome brand + goals */
.aw-hero { border:1px solid #e5e7eb; border-radius:24px; box-shadow: 0 12px 60px rgba(0,0,0,.08); }
.aw-hero h1 span { color: var(--aw-accent); }
.aw-goals { margin-top: 18px; }
.aw-goal-title { font-weight:700; font-size:15px; margin-bottom:8px; color:#111827; }
.aw-goal-chip-row { display:flex; gap:10px; flex-wrap:wrap; }
.aw-goal-chip { background:#111827; color:#fff; border:1px solid #111827; border-radius:999px; padding:8px 14px; font-weight:600; cursor:pointer; transition: transform .08s ease, box-shadow .15s ease; }
.aw-goal-chip:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12), 0 0 0 2px var(--aw-accent); }

/* Welcome recos grid */
.aw-reco-heading { margin:18px 0 10px; font-size:18px; }
.aw-reco-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap:16px; }
.aw-card { background:#fff; border:1px solid #e5e7eb; border-radius:16px; overflow:hidden; display:flex; flex-direction:column; }
.aw-card-img img{ width:100%; height:160px; object-fit:cover; display:block; }
.aw-card-body { padding:12px; display:flex; flex-direction:column; gap:8px; }
.aw-card-title { font-weight:700; text-decoration:none; color:#0f172a; }
.aw-card-title:hover{ text-decoration:underline; }
.aw-card-price{ font-weight:600; color:#0f172a; }
.aw-card-tags{ display:flex; flex-wrap:wrap; gap:6px; }
.aw-card-qty input{ width:72px; }
.aw-card-actions{ display:flex; justify-content:flex-end; }
.aw-pop{ animation: awRise .25s ease-out both; }
.aw-reco-loading, .aw-reco-empty{ padding:12px; color:#374151; }


/* === Amanda Welcome Hero (polished) === */
.aw-welcome-hero {
  padding: clamp(18px, 3vw, 36px);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(36,168,106,0.07), transparent 60%),
    radial-gradient(1000px 600px at 110% 0%, rgba(36,168,106,0.05), transparent 55%);
}

.aw-welcome-wrap {
  --aw-surface: #ffffff;
  --aw-ink: #0e1215;
  --aw-ink-soft: #5b6670;
  --aw-radius: 18px;
  --aw-gap: clamp(16px, 2.5vw, 28px);
  --aw-pad: clamp(18px, 3vw, 36px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--aw-gap);
  align-items: center;
  background: var(--aw-surface);
  border-radius: var(--aw-radius);
  padding: var(--aw-pad);
  border: 1px solid rgba(14,18,21,0.05);
}

.aw-welcome-avatar {
  display: grid;
  place-items: center;
  margin: 0;
}

.aw-welcome-avatar img {
  width: min(220px, 40vw);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.08));
  transition: transform .3s ease;
}

.aw-welcome-avatar img:hover { transform: translateY(-2px); }

.aw-welcome-title {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--aw-ink);
  letter-spacing: -0.02em;
}

.aw-welcome-title span { color: var(--aw-accent, #24a86a); }

.aw-welcome-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--aw-ink-soft);
  margin: 0 0 18px;
}

.aw-welcome-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.aw-badge {
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(36,168,106,0.25);
  background: rgba(36,168,106,0.08);
  color: #0b3f2a;
}

/* Buttons already styled globally (.aw-btn, .aw-btn-primary, .aw-btn-outline) */
.aw-btn.aw-btn-link {
  background: transparent;
  color: var(--aw-primary, #36c25a);
  padding-left: 4px; padding-right: 4px;
  height: auto;
  border: none;
}
.aw-btn.aw-btn-link:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .aw-welcome-wrap { grid-template-columns: 1fr; text-align:center; }
  .aw-welcome-avatar img { width: min(180px, 60vw); }
  .aw-welcome-actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .aw-welcome-avatar img { transition: none !important; }
}


/* === Duo-style welcome (avatar left + speech bubble + vertical options) === */
.aw-duo { padding: clamp(16px, 4vw, 36px); display:flex; justify-content:center; }
.aw-duo-inner { display:grid; grid-template-columns: 120px 1fr; gap: 20px; width: min(920px, 96vw); background:#fff; border:1px solid #e5e7eb; border-radius:18px; box-shadow:0 12px 40px rgba(0,0,0,.08); padding: clamp(16px, 3vw, 32px); }
.aw-duo-avatar { position: relative; display:flex; align-items:flex-start; justify-content:center; }
.aw-duo-avatar img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.08)); }
.aw-duo-bubble { position: absolute; left: 100px; top: 8px; background:#fff; border:1px solid #e5e7eb; border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.06); max-width: 520px; }
.aw-duo-bubble:before { content:''; position:absolute; left:-10px; top:16px; width:0; height:0; border-top:10px solid transparent; border-bottom:10px solid transparent; border-right:10px solid #e5e7eb; }
.aw-duo-bubble:after { content:''; position:absolute; left:-8px; top:16px; width:0; height:0; border-top:10px solid transparent; border-bottom:10px solid transparent; border-right:10px solid #fff; }
.aw-duo-bubble span { font-size: clamp(16px, 2vw, 20px); color:#0f172a; }

.aw-duo-options { display:flex; flex-direction:column; gap:12px; align-self:center; margin-left: 12px; }
.aw-duo-option { display:flex; align-items:center; gap:12px; padding: 14px 16px; border-radius: 14px; border:1px solid #e5e7eb; background:#fff; text-decoration:none; color:#0f172a; font-weight:700; box-shadow:0 4px 16px rgba(0,0,0,.04); transition: transform .08s ease, box-shadow .18s ease; }
.aw-duo-option:hover { transform: translateY(-1px); box-shadow:0 12px 28px rgba(0,0,0,.08); }
.aw-duo-bars { display:flex; gap:4px; }
.aw-duo-bars i { display:block; width:6px; height:16px; background:#cfe9da; border-radius:3px; }
.aw-duo-bars i:nth-child(1){ height:12px; }
.aw-duo-bars i:nth-child(2){ height:16px; }
.aw-duo-bars i:nth-child(3){ height:20px; }
.aw-duo-bars i:nth-child(4){ height:24px; }

@media (max-width: 840px){
  .aw-duo-inner{ grid-template-columns: 84px 1fr; }
  .aw-duo-avatar img{ width:72px; height:72px; }
  .aw-duo-bubble{ left: 84px; }
}

/* === Funnel gate message for logged-in users === */
.aw-gate { padding: 16px; }
.aw-gate-inner { display:flex; gap:16px; align-items:flex-start; }
.aw-gate-avatar{ width:72px; height:72px; flex:0 0 72px; border-radius:50%; overflow:hidden; background:#fff; border:1px solid #e5e7eb; box-shadow:0 6px 18px rgba(0,0,0,.06); display:grid; place-items:center; }
.aw-gate-avatar img{ width:64px; height:64px; object-fit:contain; }
.aw-gate-content h2{ margin:0 0 6px; font-size: clamp(18px, 2.6vw, 24px); }
.aw-gate-text{ color:#475569; margin: 0 0 12px; }
.aw-gate-actions{ display:flex; gap:10px; flex-wrap:wrap; }
