/* Bundled dependencies (e.g. Swiper) */
:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-horizontal>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-vertical>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}:is(.swiper:not(.swiper-watch-progress),.swiper-watch-progress .swiper-slide-visible) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--swiper-navigation-size: 44px}.swiper-button-prev,.swiper-button-next{position:absolute;width:var(--swiper-navigation-size);height:var(--swiper-navigation-size);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}:is(.swiper-button-prev,.swiper-button-next).swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}:is(.swiper-button-prev,.swiper-button-next).swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled :is(.swiper-button-prev,.swiper-button-next){display:none!important}:is(.swiper-button-prev,.swiper-button-next) ::slotted(svg),:is(.swiper-button-prev,.swiper-button-next) svg{width:100%;height:100%;object-fit:contain;transform-origin:center;fill:currentColor;pointer-events:none}.swiper-button-lock{display:none}.swiper-button-prev,.swiper-button-next{top:var(--swiper-navigation-top-offset, 50%);margin-top:calc(0px - (var(--swiper-navigation-size) / 2))}.swiper-button-prev{left:var(--swiper-navigation-sides-offset, 4px);right:auto}.swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-button-prev .swiper-navigation-icon{transform:rotate(180deg)}.swiper-button-next{right:var(--swiper-navigation-sides-offset, 4px);left:auto}.swiper-horizontal .swiper-button-prev,.swiper-horizontal .swiper-button-next,.swiper-horizontal~.swiper-button-prev,.swiper-horizontal~.swiper-button-next{top:var(--swiper-navigation-top-offset, 50%);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));margin-left:0}.swiper-horizontal .swiper-button-prev,.swiper-horizontal~.swiper-button-prev,.swiper-horizontal.swiper-rtl .swiper-button-next,.swiper-horizontal.swiper-rtl~.swiper-button-next{left:var(--swiper-navigation-sides-offset, 4px);right:auto}.swiper-horizontal .swiper-button-next,.swiper-horizontal~.swiper-button-next,.swiper-horizontal.swiper-rtl .swiper-button-prev,.swiper-horizontal.swiper-rtl~.swiper-button-prev{right:var(--swiper-navigation-sides-offset, 4px);left:auto}:is(.swiper-horizontal .swiper-button-prev,.swiper-horizontal~.swiper-button-prev,.swiper-horizontal.swiper-rtl .swiper-button-next,.swiper-horizontal.swiper-rtl~.swiper-button-next) ::slotted(.swiper-navigation-icon),:is(.swiper-horizontal .swiper-button-prev,.swiper-horizontal~.swiper-button-prev,.swiper-horizontal.swiper-rtl .swiper-button-next,.swiper-horizontal.swiper-rtl~.swiper-button-next) .swiper-navigation-icon{transform:rotate(180deg)}:is(.swiper-horizontal.swiper-rtl .swiper-button-prev,.swiper-horizontal.swiper-rtl~.swiper-button-prev) ::slotted(.swiper-navigation-icon),:is(.swiper-horizontal.swiper-rtl .swiper-button-prev,.swiper-horizontal.swiper-rtl~.swiper-button-prev) .swiper-navigation-icon{transform:rotate(0)}.swiper-vertical .swiper-button-prev,.swiper-vertical .swiper-button-next,.swiper-vertical~.swiper-button-prev,.swiper-vertical~.swiper-button-next{left:var(--swiper-navigation-top-offset, 50%);right:auto;margin-left:calc(0px - (var(--swiper-navigation-size) / 2));margin-top:0}.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-prev{top:var(--swiper-navigation-sides-offset, 4px);bottom:auto}:is(.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-prev) ::slotted(.swiper-navigation-icon),:is(.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-prev) .swiper-navigation-icon{transform:rotate(-90deg)}.swiper-vertical .swiper-button-next,.swiper-vertical~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset, 4px);top:auto}:is(.swiper-vertical .swiper-button-next,.swiper-vertical~.swiper-button-next) ::slotted(.swiper-navigation-icon),:is(.swiper-vertical .swiper-button-next,.swiper-vertical~.swiper-button-next) .swiper-navigation-icon{transform:rotate(90deg)}

/* Athena XAI Chat styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;1,500&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
    --athena-xai-chat-primary-text-color: #2c241c;
    --athena-xai-chat-alternate-text-color: #8a7b68;
    --athena-xai-chat-primary-border-color: rgba(140, 115, 72, 0.28);
    --athena-xai-chat-primary-background-color: #f6f1e8;
    --athena-cream: #f6f1e8;
    --athena-cream-deep: #f3ece0;
    --athena-ink: #1c1915;
    --athena-gold: #8c7348;
    --athena-gold-deep: #745e38;
}

.athena-xai-chat__container {
    border-radius: 10px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 39px 0 0 0;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.athena-xai-chat__message-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    transition: 150ms ease-in;
    margin-bottom: 94px;
}

.athena-xai-header-description {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-style: Italic;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: #4F4F6980;
    margin: 0;
    padding: 0;
}

.athena-xai-header-title {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(12px, 2vw, 24px);
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;

    margin: 0;
    padding: 0 4px 0 0;

    background: linear-gradient(118.93deg, #623D7D 1.41%, #2763A5 80.75%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.athena-xai-bubble__question {
    padding: 14px 20px;
    border-radius: 16px;
    border: 1px solid #D9D9DF80;

    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.3vw, 18px);
    letter-spacing: 0;
    text-align: center;
    color: #4F4F69;
    cursor: pointer;
}

.athena-xai-bubble__question:hover {
    background: #F7F7FA;
    border: 1px solid #D9D9DF80;
    transition: 0.3s ease-in;
}

.athena-xai-bubble__question-outer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.athena-xai-bubble__question-inner-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto;
    padding: 0 130px;
}

.athena-xai-recent-chats {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 18px;
}

.athena-xai-recent-chats p {
    margin: 0 !important;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 100%;
    letter-spacing: 0;
    color: #4F4F6966;
}

@media(max-width: 1300px) {
    .athena-xai-chat__container {
        padding: 20px 10px;
    }

    .athena-xai-bubble__question-inner-container {
        padding: 0;
    }
}

/**
    Header
 */

.athena-xai-chat__header-container {
    background: #FFFFFF;
    margin-bottom: 39px;
    position: relative;
}

.athena-xai-chat__header-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.athena-xai-chat__header-info-container h2 {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(12px, 2vw, 24px);
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;

    margin: 0;
    padding: 0 4px 0 0;

    background: linear-gradient(89.6deg, rgb(122, 156, 253) -68.59%, rgb(236, 118, 181) 169.63%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.athena-xai-chat__header-info-container p {
    padding: 0 !important;
    margin: 0 !important;

    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-style: Italic;
    font-size: clamp(12px, 1.5vw, 20px);
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.athena-xai-chat__header-info-bottom-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.athena-xai-chat__header-info-container p span {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    font-style: Italic;
    font-size: clamp(12px, 1.5vw, 20px);
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.athena-xai-chat__header-info-container img {
    width: 41px;
    height: 44px;
    aspect-ratio: 41/44;
    object-fit: contain;
}

.athena-xai-chat__header-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.athena-xai-chat__header-button-container button {
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
    background: none;
    display: grid;
    place-items: center;
    cursor: pointer;
}

@media(max-width: 768px) {
    .athena-xai-chat__header-container {
        margin-bottom: 20px;
    }
}

/**
    Message
 */

.athena-xai-chat__message-ai-container,
.athena-xai-chat__message-user-container {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    max-width: 1270px;
    width: 100%;
    margin: 0 auto 27px;
}

.athena-xai-chat__message-user-image-parent-container {
    margin-bottom: 8px !important;
}

.athena-xai-chat__message-user-container {
    justify-content: flex-end;
}

.athena-xai-chat__message-ai-container .athena-xai-chat__bubble-container,
.athena-xai-chat__message-user-container .athena-xai-chat__bubble-container {
    padding: 12px 20px;
    width: max-content;
    max-width: 40%;
    background: #F7F7FA;
    border-radius: 16px;
}

.athena-xai-chat__message-user-container .athena-xai-chat__avatar-gift-container img {
    min-width: 21px;
    min-height: 25px;
    aspect-ratio: 21/25;
    max-height: 25px;
    object-fit: contain;
    position: relative;
}

.athena-xai-chat__message-ai-container .athena-xai-chat__avatar-gift-container img {
    aspect-ratio: 28/31;
    max-height: 31px;
    object-fit: contain;
    position: relative;
    left: 3px;
}

.athena-xai-chat__bubble-message {
    font-size: clamp(10px, 1vw, 15px);
    color: #4F4F69;
    font-weight: 500;
    padding: 0 !important;
    margin: 0 !important;
}

.athena-xai-chat__avatar-gift-container {
    background: #F7F7FA;
    min-width: 50px;
    min-height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.athena-xai-chat__product-message-container {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
}

.athena-xai-chat__product-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.athena-xai-chat__product-main-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 15px;
}

.athena-xai-chat__product-image-container {
    position: relative;
}

.athena-xai-chat__product-image-container img {
    border: 1px solid #D9D9DF80;
    aspect-ratio: 280 / 335;
    width: 99%;
    height: auto;
    max-height: 335px;
    object-fit: contain;
}

.athena-xai-chat__product-name-container h3 {
    padding: 0;
    margin: 0;

    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0;
    color: #4F4F69;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: calc(1.4em * 4);
}

.athena-xai-chat__product-price-container span {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0;
    color: #4F4F69;
    opacity: 50%;
}

.athena-xai-chat__view-product-button {
    padding: 8.5px 17px;
    margin: 0;
    outline: 0;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: #8C7348;
    color: #FFFFFF;
}

.athena-xai-chat__user-image {
    aspect-ratio: 160/160;
    width: 100%;
    max-height: 160px;
    min-width: 160px;
    min-height: 160px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid #E6E6F0;
}

.swiper-navigation-icon {
    display: none !important;
}

.athena-xai-chat__swiper-container .swiper-button-prev,
.athena-xai-chat__swiper-container .swiper-button-next {
    top: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    margin-top: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(40, 28, 12, 0.16);
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: absolute;
    z-index: 50;
    cursor: pointer;
    transform: translateY(-50%);
}

.athena-xai-chat__swiper-container .swiper-button-prev {
    left: 0 !important;
    right: auto !important;
}

.athena-xai-chat__swiper-container .swiper-button-next {
    right: 0 !important;
    left: auto !important;
}

.swiper-button-prev img,
.swiper-button-next img {
    width: 10px;
    height: 12px;
    object-fit: contain;
}

.swiper-button-next img {
    transform: rotate(180deg);
    position: relative;
    left: 1px;
}

.swiper-button-prev img {
    position: relative;
    left: -1px;
}

.athena-xai-chat__swiper-container {
    position: relative;
    padding: 4px 2px 8px;
    overflow: hidden;
}

.swiper {
    max-width: 1488px;
    width: 100%;
    margin: 0 auto 30px;
    overflow: hidden;
}

.athena-xai-chat__message-user-image-container {
    border-radius: 16px;
    background: #F7F7FA;
    padding: 12px 20px;
}

.swiper-slide {
    cursor: pointer;
}

.find-visual-similar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    background: #F7F7FA;
    transition: bottom 0.2s ease, opacity 0.2s ease;
    padding: 10px 17px;
    text-align: center;
    border-radius: 15px;
    color: #A7A7b2;
    opacity: 0;
    z-index: 2;
    border: none;
    font: inherit;
}

.find-visual-similar:hover {
    color: #000000;
    transition: 0.3s ease-in;
}

.swiper-slide:hover .find-visual-similar {
    bottom: 20px;
    opacity: 1;
}

.find-visual-similar-image {
    width: 19px !important;
    height: 13px !important;
    border: none !important;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .athena-xai-chat__message-ai-container .athena-xai-chat__bubble-container,
    .athena-xai-chat__message-user-container .athena-xai-chat__bubble-container {
        max-width: 100%;
    }

    .athena-xai-chat__message-ai-container,
    .athena-xai-chat__message-user-container {
        margin: 0 auto 17px;
    }
}

/**
    Search
 */

.athena-xai-chat__search-fixed-stack {
    position: fixed;
    bottom: 5px;
    left: 0;
    width: 100%;
    z-index: 999;
    box-sizing: border-box;
}

.athena-xai-chat__search-outer-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    padding: 20px 0;
    width: 100%;
}

.athena-xai-chat__search-input-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 44.15%;
    min-width: 0;
}

.athena-xai-chat__search-inner-container {
    display: flex;
    background: #F7F7FA;
    padding: 9px 16px;
    gap: 12px;
    border: 1px solid var(--athena-xai-chat-primary-border-color);
    border-radius: 89px;
    position: relative;
    width: 100%;
}

.athena-xai-chat__button-container,
.athena-xai-chat__button-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.athena-xai-chat__sparkle-search-container {
    max-height: 32px;
}

.athena-xai-chat__sparkle-search-container img {
    animation: sparklePulse 2.2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes sparklePulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
        filter: brightness(1);
    }
    50% {
        transform: scale(1.12);
        opacity: 1;
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 0.85;
        filter: brightness(1);
    }
}

.athena-xai-active-chat__button-container {
    position: absolute;
    top: 10px;
    right: 37px;
}

.athena-xai-chat__search-input-container {
    width: 100%;
}

.athena-xai-chat__search-input-container input {
    outline: 0;
    border: 0;
    background: none;
    height: 100%;
    font-size: 16px;
    padding: 0;
    margin: 0;
    width: calc(100% - 16px);
    appearance: none;
}

.athena-xai-chat__search-input-container input::placeholder {
    color: var(--athena-xai-chat-alternate-text-color);
    font-size: 16px;
}

.athena-xai-chat__button,
.athena-xai-chat-x__button {
    outline: 0;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: grid;
    place-items: center;
}

.athena-xai-chat__voice-button-container label {
    position: relative;
    top: 1px;
}

.athena-xai-chat__button img {
    object-fit: contain;
    min-width: 27px;
    min-height: 27px;
    width: 27px;
    height: 27px;
    aspect-ratio: 27/27;
}

.athena-xai-refresh__button {
    appearance: none;
    outline: 0 !important;
    border: 0 !important;
    background: #F7F7FA;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.athena-xai-refresh__button img {
    object-fit: contain;
    width: 22px;
    height: 20px;
    aspect-ratio: 22/20;
}

.athena-xai-refresh__button:hover {
    animation: spin 0.6s ease-in-out forwards;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.athena-xai-chat__voice-button-container-independent img {
    cursor: pointer;
}

#athena-xai-chat__upload-button,
.athena-xai-chat__voice-button-container button,
.athena-xai-chat__voice-button-container-independent button,
.athena-xai-chat__voice-active-button-container button {
    display: none;
}

.athena-xai-chat__voice-active-button-container {
    position: relative;
    display: grid;
    place-items: center;
    top: 80px;
    left: 60px;
}

.athena-xai-chat__voice-active-button-container-independent.athena-xai-chat__voice-active-button-container {
    left: -35px;
}

.athena-xai-chat__voice-active-button-container label {
    position: absolute;
    min-width: 60px;
    min-height: 60px;
    background: #8C7348;
    display: grid;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(140, 115, 72, 0.3);
    transition: transform 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

@keyframes athena-voice-ripple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.8);
        opacity: 0;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.athena-xai-chat__voice-active-button-container::before,
.athena-xai-chat__voice-active-button-container::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 141, 94, 0.5) 0%, rgba(140, 115, 72, 0.2) 70%);
    animation: athena-voice-ripple 2s infinite;
    z-index: 1;
}

.athena-xai-chat__voice-active-button-container::after {
    animation-delay: 1s;
}

.athena-xai-chat__voice-button-container--preparing,
.athena-xai-chat__voice-button-container-independent.athena-xai-chat__voice-button-container--preparing {
    cursor: wait;
    pointer-events: none;
}

/* Voice mic: preparing (mic permission / SpeechRecognition init) */
.athena-xai-chat__voice-preparing {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.athena-xai-chat__voice-button-container-independent .athena-xai-chat__voice-preparing {
    width: 32px;
    height: 32px;
}

.athena-xai-chat__voice-preparing-ring {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid rgba(140, 115, 72, 0.2);
    border-top-color: #8C7348;
    border-right-color: #8C7348;
    animation: athena-voice-prepare-spin 0.7s linear infinite;
}

.athena-xai-chat__voice-button-container-independent .athena-xai-chat__voice-preparing-ring {
    width: 22px;
    height: 22px;
}

@keyframes athena-voice-prepare-spin {
    to {
        transform: rotate(360deg);
    }
}

.athena-xai-chat__voice-active-button-container-independent {
    top: 13px;
    right: 30px;
}

.athena-xai-chat__search-remove-image-container {
    position: relative;
    width: max-content;

    box-shadow: 0 0 10px 0 #0000001A;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 6px 17px;
}

.athena-xai-chat__search-remove-image-container .athena-xai-chat__pre-upload-display-image {
    aspect-ratio: 60/60;
    width: 100%;
    max-height: 60px;
    max-width: 60px;
    object-fit: contain;
    min-width: 60px;
    min-height: 60px;
}

.athena-xai-chat__search-remove-image-container div {
    position: absolute;
    display: grid;
    place-items: center;
    top: 7px;
    right: 7px;
    cursor: pointer;
    transition: 0.3s ease;
}

.athena-xai-chat__search-remove-image-container div:hover {
    transform: scale(1.4);
}

.athena-xai__upload-container {
    position: relative;
}

.athena-xai-upload-show-image {
    cursor: pointer;
}

.athena-xai__upload-select-container {
    display: flex;
    flex-direction: column;
    gap: 9px;
    position: absolute;
    min-width: 45px;
    top: -90px;
    right: 28px;
    box-shadow: 0 0 10px 0 #0000001A;
    padding: 9px;
    background: #FFFFFF;
    border-radius: 10px;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.athena-xai__upload-select-container.athena-xai-upload-show-container {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.athena-xai-chat__search-inner-container-focused {
    transition: all 0.4s ease;
    border: 1px solid #B4B4BE;
}

.athena-xai-chat__search-inner-container-focused input,
.athena-xai-search__independent-container-focused input {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.athena-xai-tooltip-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.athena-xai-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);

    background: #4F4F69;
    color: #FFFFFF;

    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 400;

    padding: 6px 10px;
    border-radius: 6px;

    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    transition:
            opacity 0.2s ease,
            transform 0.2s ease;

    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.athena-xai-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #4F4F69 transparent transparent transparent;
}

.athena-xai-tooltip-wrapper:hover .athena-xai-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media(max-width: 1200px) {
    .athena-xai-chat__search-input-column {
        width: 80%;
    }

    .athena-xai-chat__search-fixed-stack {
        width: 93%;
        margin: 0 3.5%;
    }

    .athena-xai-chat__search-outer-container {
        width: 100%;
        margin: 0;
    }
}

@media(max-width: 768px) {
    .athena-xai-chat__search-input-column {
        width: 100%;
    }

    .athena-xai-chat__search-outer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/**
    Loader
 */

#loader {
    padding: 5px;
    border-radius: 5px;
    display: inline-flex;
}

#loader .ball {
    width: 8px;
    height: 8px;
    background: var(--athena-gold, #8C7348);
    border-radius: 50%;
    animation: athena-loader-dot 1.2s ease-in-out infinite;
}

@keyframes athena-loader-dot {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

#loader .ball:nth-child(2) {
    margin: 0 5px;
}

#loader .ball:nth-child(1) {
    animation-delay: 0.16s;
}

#loader .ball:nth-child(2) {
    animation-delay: 0.32s;
}

#loader .ball:nth-child(3) {
    animation-delay: 0.48s;
}

/**
    Independant Search
 */

.athena-xai-search__independent-chat-button {
    cursor: pointer;
}

.athena-xai-search__independent-icon-container {
    margin-right: 12px;
    flex-shrink: 0;
}

.athena-xai-search__independent-button-container {
    height: 48px;
    flex-shrink: 0;
}

.athena-xai-search__independent-input-container {
    flex: 1;
    min-width: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.athena-xai-search__independent-icon-container {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.athena-xai-search__independent-input-container input {
    width: 100%;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0;
    color: #4F4F69;
    margin-right: 8px;
}

.athena-xai-search__independent-chat-button,
.athena-xai-search__independent-input-container input {
    border: 0;
    outline: 0;
    background: none;
    appearance: none;
    margin: 0;
    padding: 0;
}

.athena-xai-search__independent-container {
    border: 1px solid #E6E6F0;
    border-radius: 100px;
    background: #F7F7FA;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 4px;

    width: 100%;
    max-width: 48px;

    margin: 0 auto;

    position: sticky;
    left: 50%;
    transform: translate3d(-50%,0,0);

    z-index: 1;

    bottom: -20px;
    opacity: 0;

    will-change: transform, opacity, max-width;

    backface-visibility: hidden;

    transition:
            bottom 0.6s ease,
            opacity 0.6s ease,
            max-width 0.8s ease,
            padding 0.8s ease;
}

.athena-xai-search__independent-container-visible {
    bottom: 22px;
    opacity: 1;
}

.athena-xai-search__independent-container-expanded {
    padding: 4px 4px 4px 18px;
    max-width: 500px;
}

.athena-xai-search__independent-container-expanded
.athena-xai-search__independent-input-container,
.athena-xai-search__independent-container-expanded
.athena-xai-search__independent-icon-container {
    opacity: 1;
}

.athena-xai-search__independent-container-focused {
    transition: all 0.4s ease;
    border: 1px solid #B4B4BE;
}

/**
    Initial
 */

.athena-xai-search__independent-chat-button {
    cursor: pointer;
}

.athena-xai-search__independent-icon-container {
    margin-right: 12px;
    flex-shrink: 0;
    opacity: 1;
}

.athena-xai-search__independent-button-container {
    height: 48px;
    flex-shrink: 0;
}

.athena-xai-search__independent-input-container {
    flex: 1;
    min-width: 0;
    opacity: 1;
}

.athena-xai-search__independent-input-container input {
    width: 100%;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0;
    color: #4F4F69;
    margin-right: 8px;
    border: 0;
    outline: 0;
    background: none;
    appearance: none;
    padding: 0;
}

.athena-xai-search__independent-chat-button {
    border: 0;
    outline: 0;
    background: none;
    appearance: none;
    margin: 0;
    padding: 0;
}

.athena-xai-search__independent-container {
    border: 1px solid #E6E6F0;
    border-radius: 100px;
    background: #F7F7FA;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 4px 4px 4px 18px;

    width: 100%;
    max-width: 500px;
    margin: 0 auto;

    opacity: 1;
    z-index: 50;
}

.athena-xai-search__independent-container-focused {
    border: 1px solid #B4B4BE;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    display: none;
}

/**
    Voice: push-to-talk
 */

athena-xai-chat-voice {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

athena-xai-chat-voice:focus-visible .athena-xai-chat__voice-button-container,
athena-xai-chat-voice:focus-visible .athena-xai-chat__voice-button-container-independent {
    outline: 2px solid #8C7348;
    outline-offset: 3px;
    border-radius: 50%;
}

athena-xai-chat-voice img {
    pointer-events: none;
}

.athena-xai-chat__voice-button-container img,
.athena-xai-chat__voice-button-container-independent img {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.athena-xai-chat__voice-button-container--held img,
.athena-xai-chat__voice-button-container-independent.athena-xai-chat__voice-button-container--held img {
    transform: scale(0.82);
    opacity: 0.35;
}

.athena-xai__upload-select-container.athena-xai__upload-select-container--ptt {
    opacity: 0;
    transform: translateY(-10px);
    box-shadow: none;
}

athena-xai-chat-voice-overlay {
    position: absolute;
    inset: -1px;
    z-index: 30;
    display: block;
    pointer-events: none;
    border-radius: inherit;
}

.athena-xai-voice-ptt {
    --athena-voice-knob-size: 42px;
    --athena-voice-gradient: linear-gradient(135deg, #A88D5E 0%, #7A6239 100%);
    --athena-voice-danger: #B54A3C;
    --athena-voice-muted: #A8998A;
    --athena-voice-radius: 12px;

    position: absolute;
    inset: 0;
    font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
    color: #2c241c;
}

.athena-xai-voice-ptt--hidden {
    visibility: hidden;
}

/* Recording bar */

.athena-xai-voice-ptt__bar {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    padding: 0 calc(var(--athena-voice-knob-size) + 14px) 0 18px;
    border: 1px solid transparent;
    border-radius: var(--athena-voice-radius);
    background:
        linear-gradient(#FFFFFF, #FFFFFF) padding-box,
        linear-gradient(90deg, rgba(140, 115, 72, 0.55), rgba(140, 115, 72, 0.25)) border-box;
    box-shadow:
        0 16px 40px rgba(70, 48, 20, 0.08),
        0 2px 6px rgba(70, 48, 20, 0.05);
    overflow: hidden;
    opacity: 0;
    clip-path: inset(0 0 0 calc(100% - var(--athena-voice-knob-size) - 8px) round var(--athena-voice-radius));
    transition:
        clip-path 0.38s cubic-bezier(0.55, 0, 0.75, 0.2) 0.14s,
        opacity 0.22s ease 0.3s;
}

.athena-xai-voice-ptt__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(181, 74, 60, 0.05);
    box-shadow: inset 0 0 0 1px rgba(181, 74, 60, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.athena-xai-voice-ptt--open .athena-xai-voice-ptt__bar {
    opacity: 1;
    clip-path: inset(0 0 0 0 round var(--athena-voice-radius));
    transition:
        clip-path 0.46s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.16s ease;
}

.athena-xai-voice-ptt--armed .athena-xai-voice-ptt__bar::after {
    opacity: 1;
}

/* Left side: status + waveform */

.athena-xai-voice-ptt__side {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: opacity 0.12s linear;
}

.athena-xai-voice-ptt__status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.athena-xai-voice-ptt__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B54A3C;
    box-shadow: 0 0 0 0 rgba(181, 74, 60, 0.45);
    animation: athena-voice-dot 1.4s ease-in-out infinite;
}

.athena-xai-voice-ptt__timer {
    min-width: 34px;
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
}

.athena-xai-voice-ptt__wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 22px;
}

.athena-xai-voice-ptt__wave span {
    display: block;
    width: 3px;
    height: 100%;
    border-radius: 3px;
    background: var(--athena-voice-gradient);
    transform: scaleY(0.14);
    transform-origin: center;
    transition: transform 0.12s ease-out;
}

.athena-xai-voice-ptt--compact .athena-xai-voice-ptt__wave {
    display: none;
}

.athena-xai-voice-ptt--open .athena-xai-voice-ptt__status,
.athena-xai-voice-ptt--open .athena-xai-voice-ptt__wave {
    animation: athena-voice-rise-left 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.athena-xai-voice-ptt--open .athena-xai-voice-ptt__wave {
    animation-delay: 0.16s;
}

/* Slide to cancel track */

.athena-xai-voice-ptt__track {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--athena-voice-muted);
    transform: translate3d(var(--athena-voice-offset, 0px), 0, 0);
    will-change: transform, opacity;
}

.athena-xai-voice-ptt--open .athena-xai-voice-ptt__track > * {
    animation: athena-voice-rise-right 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.athena-xai-voice-ptt__chevrons {
    display: inline-flex;
}

.athena-xai-voice-ptt__chevrons svg {
    animation: athena-voice-nudge 1.4s ease-in-out infinite;
}

.athena-xai-voice-ptt__chevrons svg + svg {
    margin-left: -8px;
    animation-delay: 0.14s;
}

.athena-xai-voice-ptt__hint {
    background: linear-gradient(
        90deg,
        var(--athena-voice-muted) 0%,
        var(--athena-voice-muted) 40%,
        #3d342b 50%,
        var(--athena-voice-muted) 60%,
        var(--athena-voice-muted) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: athena-voice-shimmer 2.4s linear infinite;
}

.athena-xai-voice-ptt__armed-label {
    position: absolute;
    top: 50%;
    right: 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--athena-voice-danger);
    opacity: 0;
    transform: translate3d(10px, -50%, 0);
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.athena-xai-voice-ptt--armed .athena-xai-voice-ptt__armed-label {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
}

/* Draggable knob */

.athena-xai-voice-ptt__knob {
    position: absolute;
    top: 50%;
    right: 4px;
    width: var(--athena-voice-knob-size);
    height: var(--athena-voice-knob-size);
    margin-top: calc(var(--athena-voice-knob-size) / -2);
    transform: translate3d(var(--athena-voice-offset, 0px), 0, 0);
    will-change: transform;
}

.athena-xai-voice-ptt--sent .athena-xai-voice-ptt__knob {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.athena-xai-voice-ptt__knob-glow,
.athena-xai-voice-ptt__knob::before,
.athena-xai-voice-ptt__knob::after {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.athena-xai-voice-ptt__knob-glow {
    background: radial-gradient(circle, rgba(168, 141, 94, 0.45) 0%, rgba(140, 115, 72, 0.18) 60%, transparent 72%);
    opacity: 0;
    transform: scale(calc(1.15 + var(--athena-voice-level, 0) * 0.9));
    transition: transform 0.1s linear, opacity 0.25s ease;
}

.athena-xai-voice-ptt--open .athena-xai-voice-ptt__knob-glow {
    opacity: calc(0.35 + var(--athena-voice-level, 0) * 0.65);
}

.athena-xai-voice-ptt__knob::before,
.athena-xai-voice-ptt__knob::after {
    content: "";
    border: 2px solid rgba(140, 115, 72, 0.4);
    opacity: 0;
}

.athena-xai-voice-ptt--open:not(.athena-xai-voice-ptt--armed) .athena-xai-voice-ptt__knob::before,
.athena-xai-voice-ptt--open:not(.athena-xai-voice-ptt--armed) .athena-xai-voice-ptt__knob::after {
    animation: athena-voice-knob-ripple 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.athena-xai-voice-ptt__knob::after {
    animation-delay: 1s !important;
}

.athena-xai-voice-ptt__knob-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #FFFFFF;
    background: var(--athena-voice-gradient);
    box-shadow:
        0 8px 20px -6px rgba(122, 98, 57, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    opacity: 0;
    transform: scale(0.4);
    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.2s ease,
        box-shadow 0.3s ease;
}

.athena-xai-voice-ptt__knob-face::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #C2675A 0%, #94392D 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.athena-xai-voice-ptt--open .athena-xai-voice-ptt__knob-face {
    opacity: 1;
    transform: scale(1.14);
}

.athena-xai-voice-ptt--armed .athena-xai-voice-ptt__knob-face,
.athena-xai-voice-ptt--cancelled .athena-xai-voice-ptt__knob-face {
    transform: scale(1);
    box-shadow: 0 6px 16px -6px rgba(148, 57, 45, 0.55);
}

.athena-xai-voice-ptt--armed .athena-xai-voice-ptt__knob-face::before,
.athena-xai-voice-ptt--cancelled .athena-xai-voice-ptt__knob-face::before {
    opacity: 1;
}

.athena-xai-voice-ptt__icon {
    position: absolute;
    display: grid;
    place-items: center;
    transition:
        opacity 0.2s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.athena-xai-voice-ptt__icon--trash {
    opacity: 0;
    transform: scale(0.5) rotate(-25deg);
}

.athena-xai-voice-ptt--armed .athena-xai-voice-ptt__icon--mic,
.athena-xai-voice-ptt--cancelled .athena-xai-voice-ptt__icon--mic {
    opacity: 0;
    transform: scale(0.5) rotate(25deg);
}

.athena-xai-voice-ptt--armed .athena-xai-voice-ptt__icon--trash,
.athena-xai-voice-ptt--cancelled .athena-xai-voice-ptt__icon--trash {
    opacity: 1;
    transform: none;
}

.athena-xai-voice-ptt__trash-lid {
    transform-box: fill-box;
    transform-origin: 0% 100%;
}

.athena-xai-voice-ptt--armed .athena-xai-voice-ptt__trash-lid {
    animation: athena-voice-lid-open 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.athena-xai-voice-ptt--cancelled .athena-xai-voice-ptt__trash-lid {
    animation: athena-voice-lid-close 0.4s ease forwards;
}

.athena-xai-voice-ptt--cancelled .athena-xai-voice-ptt__knob-face {
    animation: athena-voice-trash 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

.athena-xai-voice-ptt--sent .athena-xai-voice-ptt__knob-face {
    animation: athena-voice-send 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.athena-xai-voice-ptt__send-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #8C7348;
    pointer-events: none;
    animation: athena-voice-send-ring 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Transcript bubble */

.athena-xai-voice-ptt__bubble {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 12px);
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 10px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow:
        0 14px 30px -12px rgba(70, 48, 20, 0.25),
        0 0 0 1px rgba(140, 115, 72, 0.18);
    font-size: 15px;
    line-height: 1.4;
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.97);
    transform-origin: bottom center;
    transition:
        opacity 0.25s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.athena-xai-voice-ptt--open .athena-xai-voice-ptt__bubble {
    opacity: 1;
    transform: none;
    transition-delay: 0.06s;
}

.athena-xai-voice-ptt--sent .athena-xai-voice-ptt__bubble {
    opacity: 0;
    transform: translate3d(0, -18px, 0) scale(0.98);
    transition:
        opacity 0.35s ease 0.1s,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.athena-xai-voice-ptt--cancelled .athena-xai-voice-ptt__bubble {
    opacity: 0;
    transform: translate3d(0, 6px, 0) scale(0.97);
    color: var(--athena-voice-danger);
    transition:
        opacity 0.3s ease 0.28s,
        transform 0.3s ease 0.28s;
}

.athena-xai-voice-ptt__bubble-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.athena-xai-voice-ptt__listening {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: var(--athena-voice-muted);
}

.athena-xai-voice-ptt__dots {
    display: inline-flex;
    gap: 3px;
}

.athena-xai-voice-ptt__dots i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    animation: athena-voice-dots 1.2s ease-in-out infinite;
}

.athena-xai-voice-ptt__dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.athena-xai-voice-ptt__dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes athena-voice-dot {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(181, 74, 60, 0.45);
    }
    50% {
        opacity: 0.55;
        box-shadow: 0 0 0 5px rgba(181, 74, 60, 0);
    }
}

@keyframes athena-voice-shimmer {
    from { background-position: 0% 0; }
    to { background-position: 100% 0; }
}

@keyframes athena-voice-nudge {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.45;
    }
    50% {
        transform: translateX(-4px);
        opacity: 1;
    }
}

@keyframes athena-voice-rise-left {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes athena-voice-rise-right {
    from {
        opacity: 0;
        transform: translateX(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes athena-voice-knob-ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@keyframes athena-voice-lid-open {
    to { transform: translateY(-1px) rotate(-22deg); }
}

@keyframes athena-voice-lid-close {
    0% { transform: translateY(-1px) rotate(-22deg); }
    60% { transform: rotate(4deg); }
    100% { transform: none; }
}

@keyframes athena-voice-trash {
    0% { transform: scale(1) rotate(0); opacity: 1; }
    14% { transform: scale(1.08) rotate(-14deg); }
    28% { transform: scale(1.08) rotate(12deg); }
    42% { transform: scale(1.04) rotate(-8deg); }
    56% { transform: scale(1) rotate(0); opacity: 1; }
    100% { transform: translateY(6px) scale(0); opacity: 0; }
}

@keyframes athena-voice-send {
    0% { transform: scale(1.14); opacity: 1; }
    35% { transform: scale(0.86); }
    60% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(0.3); opacity: 0; }
}

@keyframes athena-voice-send-ring {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes athena-voice-dots {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    40% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

/**
    Voice: spoken replies toggle
 */

.athena-xai-speaker {
    position: relative;
}

.athena-xai-speaker__button {
    appearance: none;
    outline: 0;
    border: 1px solid transparent;
    padding: 0;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #F7F7FA;
    color: #BCBCC7;
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.3s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.athena-xai-speaker__button:active {
    transform: scale(0.92);
}

.athena-xai-speaker__button:focus-visible,
.athena-xai-speaker__caret:focus-visible,
.athena-xai-speaker__option:focus-visible {
    outline: 2px solid #8C7348;
    outline-offset: 2px;
}

.athena-xai-speaker__button--on {
    color: #8C7348;
    background:
        linear-gradient(#F7F7FA, #F7F7FA) padding-box,
        linear-gradient(135deg, rgba(168, 141, 94, 0.7), rgba(140, 115, 72, 0.7)) border-box;
}

.athena-xai-speaker__button--speaking {
    box-shadow: 0 0 0 0 rgba(140, 115, 72, 0.35);
    animation: athena-speaker-pulse 1.6s ease-out infinite;
}

.athena-xai-speaker__icon {
    display: grid;
    place-items: center;
}

.athena-xai-speaker__wave {
    transform-box: fill-box;
    transform-origin: 0% 50%;
}

.athena-xai-speaker__button--speaking .athena-xai-speaker__wave {
    animation: athena-speaker-wave 1s ease-in-out infinite;
}

.athena-xai-speaker__button--speaking .athena-xai-speaker__wave--2 {
    animation-delay: 0.18s;
}

.athena-xai-speaker__caret {
    appearance: none;
    outline: 0;
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 1px solid #E6E6F0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #FFFFFF;
    color: #4F4F69;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 79, 105, 0.12);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.athena-xai-speaker--menu-open .athena-xai-speaker__caret {
    transform: rotate(180deg);
}

.athena-xai-speaker__menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 1001;
    min-width: 240px;
    max-width: min(320px, 80vw);
    max-height: 260px;
    overflow-y: auto;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 14px 30px -12px rgba(79, 79, 105, 0.35), 0 0 0 1px rgba(230, 230, 240, 0.9);
    font-family: "Source Sans 3", sans-serif;
    opacity: 0;
    transform: translateY(6px) scale(0.98);
    transform-origin: bottom left;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    scrollbar-width: thin;
}

.athena-xai-speaker__menu--open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.athena-xai-speaker__menu-title {
    padding: 4px 8px 8px;
    font-size: 12px;
    font-weight: 500;
    color: #A3A3B8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.athena-xai-speaker__option {
    appearance: none;
    outline: 0;
    border: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    background: none;
    color: #4F4F69;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.athena-xai-speaker__option:hover {
    background: #F7F7FA;
}

.athena-xai-speaker__option--selected {
    background: linear-gradient(90deg, rgba(168, 141, 94, 0.12), rgba(140, 115, 72, 0.12));
    font-weight: 500;
}

.athena-xai-speaker__option-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.athena-xai-speaker__option-lang {
    flex-shrink: 0;
    font-size: 11px;
    color: #A3A3B8;
}

@keyframes athena-speaker-pulse {
    0% { box-shadow: 0 0 0 0 rgba(140, 115, 72, 0.35); }
    100% { box-shadow: 0 0 0 12px rgba(140, 115, 72, 0); }
}

@keyframes athena-speaker-wave {
    0%, 100% { opacity: 1; transform: scaleX(1); }
    50% { opacity: 0.35; transform: scaleX(0.8); }
}

@media (prefers-reduced-motion: reduce) {
    .athena-xai-speaker__button--speaking,
    .athena-xai-speaker__button--speaking .athena-xai-speaker__wave {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .athena-xai-voice-ptt *,
    .athena-xai-voice-ptt *::before,
    .athena-xai-voice-ptt *::after {
        animation: none !important;
        transition-property: opacity !important;
        transition-duration: 0.15s !important;
        transition-delay: 0s !important;
    }

    .athena-xai-voice-ptt__bar {
        clip-path: none !important;
    }

    .athena-xai-voice-ptt--sent .athena-xai-voice-ptt__knob-face,
    .athena-xai-voice-ptt--cancelled .athena-xai-voice-ptt__knob-face {
        opacity: 0;
    }
}

athena-xai-chat,
athena-xai-free-chat {
    display: block;
    min-height: 100%;
    color: var(--athena-ink);
    font-family: "Source Sans 3", sans-serif;
}

.athena-home,
.athena-home *,
.athena-home *::before,
.athena-home *::after {
    box-sizing: border-box;
}

.athena-home {
    display: flex;
    min-height: 100dvh;
    max-width: 100%;
    background:
        radial-gradient(880px 420px at 78% -10%, rgba(255, 255, 255, 0.85), transparent 62%),
        radial-gradient(520px 280px at 12% 100%, rgba(214, 196, 168, 0.35), transparent 70%),
        var(--athena-cream);
    color: var(--athena-ink);
}

.athena-home__sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    width: 248px;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
    padding: 28px 20px 32px 32px;
    background: #f3ece0;
    border-right: 1px solid rgba(90, 70, 40, 0.08);
}

.athena-home__sidebar::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 1px;
    background: rgba(120, 98, 70, 0.12);
    pointer-events: none;
}

.athena-home__sidebar-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 36px;
}

.athena-home__sidebar-close,
.athena-home__menu,
.athena-home__backdrop {
    display: none;
}

.athena-home__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.athena-home__brand strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 500;
}

.athena-home__brand small {
    display: block;
    margin-top: 2px;
    color: #4a3f33;
    font-size: 13px;
}

.athena-home__mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
}

.athena-home__mark svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: var(--athena-gold);
    stroke-width: 1.4;
}

.athena-home__label {
    color: #9a8b78;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.athena-home__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(120, 98, 70, 0.12);
}

.athena-home__nav button,
.athena-home__history-open {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #3d342b;
    font: 500 15px/1.2 "Source Sans 3", sans-serif;
    text-align: left;
    cursor: pointer;
}

.athena-home__nav button svg,
.athena-home__history svg,
.athena-home__history-heading svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.athena-home__nav button:hover,
.athena-home__history-open:hover,
.athena-home__nav button.is-active,
.athena-home__history-open.is-active {
    background: rgba(255, 255, 255, 0.7);
    color: var(--athena-gold-deep);
}

.athena-home__history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9a8b78;
}

athena-xai-chat-search-independent {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 40;
    width: min(520px, calc(100% - 32px));
    transform: translateX(-50%);
}

athena-xai-chat-search-independent .athena-xai-search__independent-container {
    position: relative;
    left: auto;
    bottom: auto !important;
    transform: none;
    opacity: 1;
}

.athena-home__history {
    list-style: none;
    max-height: 360px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.athena-home__history-row {
    display: flex;
    align-items: center;
    height: 36px;
    min-width: 0;
}

.athena-home__history-open {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 36px;
    padding-top: 0;
    padding-bottom: 0;
}

.athena-home__history-delete {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-left: 2px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: #a89884;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.athena-home__history .athena-home__history-delete svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

.athena-home__history-row:hover .athena-home__history-delete,
.athena-home__history-delete:focus-visible {
    opacity: 1;
}

.athena-home__history-delete:hover,
.athena-home__history-delete:focus-visible {
    border-color: rgba(181, 74, 60, 0.18);
    background: #fff;
    color: #b54a3c;
    outline: none;
}

@media (hover: none) {
    .athena-home__history-delete {
        opacity: 1;
    }
}

.athena-home__history span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.athena-confirm {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 24px;
}

.athena-confirm__backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: rgba(23, 20, 16, 0.46);
    cursor: pointer;
}

.athena-confirm__panel {
    position: relative;
    width: min(420px, 100%);
    padding: 24px;
    border-radius: 18px;
    background: #f6f1e8;
    box-shadow: 0 24px 60px rgba(40, 28, 12, 0.22);
}

.athena-confirm__panel h2 {
    margin: 0 0 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 500;
}

.athena-confirm__subject {
    margin: 0 0 8px;
    overflow: hidden;
    color: #3d342b;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.athena-confirm__note {
    margin: 0 0 20px;
    color: #8d7d6a;
    font-size: 15px;
}

.athena-confirm__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.athena-confirm__actions button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(140, 115, 72, 0.28);
    border-radius: 10px;
    background: #fff;
    color: #3d342b;
    font: 600 14px/1 "Source Sans 3", sans-serif;
    cursor: pointer;
}

.athena-confirm__actions button:disabled {
    opacity: 0.6;
    cursor: default;
}

.athena-confirm__actions .athena-confirm__danger {
    border-color: transparent;
    background: #8c7348;
    color: #fff;
}

.athena-confirm__actions .athena-confirm__danger:hover:not(:disabled) {
    background: #745e38;
}

.athena-home__empty {
    color: #9a8b78;
    font-size: 14px;
}

.athena-home__main {
    position: relative;
    isolation: isolate;
    flex: 1;
    min-width: 0;
    background: var(--athena-cream);
}

.athena-home__main::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 248px;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(246, 241, 232, 0.94) 0%, rgba(246, 241, 232, 0.82) 36%, rgba(246, 241, 232, 0.42) 58%, rgba(246, 241, 232, 0) 78%),
        var(--athena-home-backdrop);
    background-repeat: no-repeat;
    background-position: center, right center;
    background-size: auto, cover;
}

.athena-home__user {
    position: absolute;
    top: 22px;
    right: 28px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(140, 115, 72, 0.35);
    border-radius: 50%;
    background: #fff;
}

.athena-home__user img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.athena-home__stage {
    max-width: 1080px;
    margin: 0 auto;
    padding: 140px 40px 48px;
}

.athena-home__hero {
    margin-bottom: 28px;
    text-align: center;
}

.athena-home__hero h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #171410;
}

.athena-home__hero p {
    color: #8d7d6a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.athena-home-search {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.athena-home-search__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 8px 8px 8px 18px;
    border: 1px solid rgba(140, 115, 72, 0.18);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(70, 48, 20, 0.06);
}

.athena-home-search__bar.is-focused {
    border-color: rgba(140, 115, 72, 0.45);
}

.athena-home-search__icon {
    width: 18px;
    height: 18px;
    opacity: 0.55;
}

.athena-home-search__bar input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--athena-ink);
    font: 400 16px/1.4 "Source Sans 3", sans-serif;
}

.athena-home-search__bar input::placeholder {
    color: #b3a394;
}

.athena-home-search__divider {
    width: 1px;
    height: 28px;
    background: rgba(140, 115, 72, 0.2);
}

.athena-home-search__icon,
.athena-home-search athena-xai-chat-voice img {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    filter: grayscale(1) brightness(0.35);
}

.athena-home-search__icon-button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6d5e4c;
    cursor: pointer;
}

.athena-home-search__icon-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.athena-home-search__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--athena-gold);
    color: #fff;
    font: 600 15px/1 "Source Sans 3", sans-serif;
    cursor: pointer;
}

.athena-home-search__submit:hover {
    background: var(--athena-gold-deep);
}

.athena-home-search__preview {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 0 10px 18px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
}

.athena-home-search__preview img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.athena-home-search__preview button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

.athena-home__helper {
    color: #8d7d6a;
    font-size: 14px;
    text-align: center;
}

.athena-home__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.athena-home__chips button {
    padding: 10px 16px;
    border: 1px solid rgba(140, 115, 72, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #3d342b;
    font: 500 14px/1 "Source Sans 3", sans-serif;
    cursor: pointer;
}

.athena-home__chips button:hover {
    border-color: var(--athena-gold);
    background: #fff;
}

.athena-home__recent {
    margin-top: 48px;
}

.athena-home__recent-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.athena-home__recent-heading h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 500;
}

.athena-home__recent-heading button,
.athena-home__help {
    border: 0;
    background: transparent;
    color: #6d5e4c;
    font: 500 14px/1 "Source Sans 3", sans-serif;
    cursor: pointer;
}

.athena-home__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.athena-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(140, 115, 72, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(70, 48, 20, 0.05);
}

.athena-card__media {
    display: block;
    width: 100%;
    min-height: 220px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.athena-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    aspect-ratio: 1 / 1.05;
    object-fit: contain;
    background: #fff;
}

.athena-card__media.is-missing img {
    display: none;
}

.athena-card__heart {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    touch-action: manipulation;
}

.athena-card__heart svg,
.athena-card__actions svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #6d5e4c;
    stroke-width: 1.6;
}

.athena-card__heart.is-active svg {
    fill: #8c7348;
    stroke: #8c7348;
}

.athena-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px 8px;
}

.athena-card__name {
    padding: 0;
    border: 0;
    background: none;
    color: #1c1915;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
}

.athena-card__brand,
.athena-card__price {
    margin: 0;
}

.athena-card__brand {
    color: #9a8b78;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.athena-card__price {
    font-weight: 600;
}

.athena-card__actions {
    display: flex;
    gap: 8px;
    margin: auto 12px 0;
    padding: 8px 0 10px;
    border-top: 1px solid rgba(140, 115, 72, 0.12);
}

.athena-card__actions button,
.athena-card__action {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    touch-action: manipulation;
}

.athena-card__actions button.is-active,
.athena-card__action.is-active {
    background: rgba(140, 115, 72, 0.12);
}

.athena-card__similar {
    margin-left: auto;
    color: #6d5e4c;
}

.athena-card__similar svg {
    width: 19px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.1;
}

.athena-home__help {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid rgba(140, 115, 72, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.66);
    text-align: left;
}

.athena-home__spark {
    display: grid;
    place-items: center;
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #efe3cb;
    color: #8a6a2e;
}

.athena-home__chat {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 0;
}

.athena-home__chat .athena-xai-chat__message-container {
    flex: 1;
    margin: 0;
    padding: 28px 32px 8px;
}

.athena-home__chat .athena-xai-chat__search-fixed-stack {
    position: sticky;
    bottom: 0;
    left: auto;
    z-index: 2;
    width: 100%;
    padding: 0 24px 16px;
    background: transparent;
}

.athena-home__chat .athena-xai-chat__search-input-column {
    width: min(760px, 100%);
}

.athena-home__chat .athena-xai-chat__search-inner-container,
.athena-xai-search__independent-container {
    background: #fff;
    border-color: rgba(140, 115, 72, 0.22);
    box-shadow: 0 12px 32px rgba(70, 48, 20, 0.06);
}

.athena-chat-intro {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: min(640px, 100%);
    margin: 8px auto 28px;
    padding: 12px 28px 14px;
    border-radius: 18px;
    background: rgba(246, 241, 232, 0.92);
    box-shadow: 0 0 0 10px rgba(246, 241, 232, 0.45);
    text-align: center;
}

.athena-chat-intro h2 {
    margin: 0;
    color: #171410;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    background: none;
    -webkit-text-fill-color: #171410;
}

.athena-chat-intro p {
    margin: 0;
    color: #3d342b;
    font-size: 15px;
    font-weight: 600;
}

.athena-xai-chat__message-ai-container .athena-xai-chat__bubble-container,
.athena-xai-chat__message-user-container .athena-xai-chat__bubble-container {
    background: #fff;
    border: 1px solid rgba(140, 115, 72, 0.16);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(70, 48, 20, 0.04);
}

.athena-xai-chat__message-user-container .athena-xai-chat__bubble-container {
    background: #f3eadb;
}

.athena-xai-chat__bubble-message,
.athena-xai-chat__search-input-container input {
    color: #2c241c;
    font-family: "Source Sans 3", sans-serif;
}

.athena-xai-chat__avatar-gift-container,
.athena-xai-refresh__button {
    background: #fff;
    border: 1px solid rgba(140, 115, 72, 0.2);
}

.athena-xai-header-title,
.athena-xai-chat__header-info-container h2 {
    background: none;
    -webkit-text-fill-color: #171410;
    color: #171410;
    font-family: "Playfair Display", Georgia, serif;
}

.athena-home .swiper-slide {
    height: auto;
}

.athena-home .swiper-slide .athena-card {
    height: 100%;
}

@media (max-width: 1100px) {
    .athena-home__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    html,
    body,
    athena-xai-chat,
    athena-xai-free-chat,
    .athena-home__main,
    .athena-home__stage,
    .athena-home__chat {
        max-width: 100%;
        overflow-x: clip;
    }

    .athena-home__main::before {
        left: 0;
    }

    .athena-home__menu {
        position: absolute;
        top: 16px;
        left: 16px;
        z-index: 3;
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(140, 115, 72, 0.35);
        border-radius: 50%;
        background: #fff;
        color: #3d342b;
        cursor: pointer;
    }

    .athena-home__menu svg,
    .athena-home__sidebar-close svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
    }

    .athena-home__sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 80;
        width: min(300px, 86vw);
        max-width: 100%;
        height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        border-right: 1px solid rgba(90, 70, 40, 0.08);
        border-bottom: 0;
        background: #f3ece0;
        box-shadow: none;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform 0.28s ease, visibility 0s linear 0.28s;
    }

    .athena-home--sidebar-open .athena-home__sidebar {
        transform: translateX(0);
        visibility: visible;
        box-shadow: 16px 0 40px rgba(40, 28, 12, 0.16);
        transition: transform 0.28s ease, visibility 0s;
    }

    .athena-home__sidebar-close {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(140, 115, 72, 0.35);
        border-radius: 50%;
        background: #fff;
        color: #3d342b;
        cursor: pointer;
    }

    .athena-home__backdrop {
        position: fixed;
        inset: 0;
        z-index: 70;
        display: block;
        padding: 0;
        border: 0;
        background: rgba(23, 20, 16, 0.42);
        opacity: 0;
        pointer-events: none;
        cursor: pointer;
        transition: opacity 0.28s ease;
    }

    .athena-home--sidebar-open .athena-home__backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .athena-home__stage {
        padding: 64px 16px 32px;
    }

    .athena-home__chat {
        height: auto;
        min-height: 100dvh;
    }

    .athena-home-search__bar {
        flex-wrap: wrap;
    }

    .athena-home-search__submit {
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .athena-home__grid {
        grid-template-columns: 1fr;
    }
}

/* Shared search bar inside the chat */

.athena-home__chat .athena-xai-chat__search-fixed-stack {
    box-sizing: border-box;
    max-width: 100%;
    margin: 0;
    padding: 12px 24px 20px;
    transform: none;
}

.athena-chat-search {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    max-width: 920px;
    margin: 0 auto;
}

.athena-chat-search .athena-home-search {
    flex: 1;
    max-width: none;
    margin: 0;
}

.athena-chat-search__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.athena-round-button,
.athena-chat-search__tools .athena-xai-speaker__button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(140, 115, 72, 0.2);
    border-radius: 50%;
    background: #fff;
    color: #6d5e4c;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.athena-round-button:hover,
.athena-chat-search__tools .athena-xai-speaker__button:hover,
.athena-chat-search__tools .athena-xai-speaker__button--on {
    border-color: var(--athena-gold);
    color: var(--athena-gold-deep);
}

.athena-round-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.athena-round-button:hover svg {
    animation: spin 0.6s ease-in-out;
}

.athena-home-search__icon {
    display: grid;
    place-items: center;
    color: #8d7d6a;
    opacity: 1;
    filter: none;
}

.athena-home-search__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.athena-home-search__clear svg {
    width: 16px;
    height: 16px;
}

.athena-home-search__arrow {
    display: inline-flex;
}

.athena-home-search__arrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.athena-home-search__submit:disabled {
    opacity: 0.55;
    cursor: wait;
}

.athena-home-search__preview button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #6d5e4c;
}

.athena-home-search__preview button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

/* Mic button */

.athena-home-search athena-xai-chat-voice {
    display: grid;
    place-items: center;
}

.athena-home-search .athena-xai-chat__voice-button-container,
.athena-home-search .athena-xai-chat__voice-button-container-independent {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #6d5e4c;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.athena-home-search .athena-xai-chat__voice-button-container:hover,
.athena-home-search .athena-xai-chat__voice-button-container-independent:hover {
    background: #f3eadb;
    color: var(--athena-gold-deep);
}

.athena-voice-icon {
    display: grid;
    place-items: center;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.athena-voice-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.athena-xai-chat__voice-button-container--held,
.athena-xai-chat__voice-button-container--held .athena-voice-icon {
    color: var(--athena-gold);
}

.athena-xai-chat__voice-button-container--held .athena-voice-icon {
    transform: scale(0.85);
    opacity: 0.4;
}

/* Recording overlay inside the shared bar */

.athena-home-search athena-xai-chat-voice-overlay {
    border-radius: 12px;
}

.athena-xai-voice-ptt__bar {
    padding-left: 22px;
}

.athena-xai-voice-ptt__timer {
    color: #3d342b;
    font-size: 15px;
    font-weight: 600;
}

.athena-xai-voice-ptt__hint,
.athena-xai-voice-ptt__track {
    font-size: 14px;
}

.athena-xai-voice-ptt__knob {
    right: 12px;
}

.athena-xai-voice-ptt--open .athena-xai-voice-ptt__knob-face {
    transform: scale(1.04);
}

.athena-xai-voice-ptt__knob-face svg {
    stroke: currentColor;
}

.athena-xai-voice-ptt__bubble {
    padding: 10px 18px;
    border-radius: 14px;
    background: #fffdf9;
    color: #2c241c;
}

.athena-xai-voice-ptt--tap.athena-xai-voice-ptt--open .athena-xai-voice-ptt__knob {
    pointer-events: auto;
    cursor: pointer;
}

.athena-xai-voice-ptt--tap .athena-xai-voice-ptt__track {
    margin-right: 8px;
}

.athena-xai-voice-ptt__cancel {
    display: none;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(140, 115, 72, 0.22);
    border-radius: 50%;
    background: #fff;
    color: #6d5e4c;
    cursor: pointer;
    pointer-events: auto;
}

.athena-xai-voice-ptt--tap.athena-xai-voice-ptt--open .athena-xai-voice-ptt__cancel {
    display: grid;
}

.athena-xai-voice-ptt__cancel:hover {
    border-color: var(--athena-voice-danger);
    color: var(--athena-voice-danger);
}

.athena-xai-voice-ptt__cancel svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

/* Brand, user, and decorative icons */

.athena-home__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.athena-home__brand > span:last-child {
    position: relative;
    z-index: 1;
}

.athena-home__brand strong {
    color: #171410;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.athena-home__brand small {
    margin-top: 4px;
    color: #3d342b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.athena-home__mark {
    width: 56px;
    height: 56px;
    margin-left: -6px;
    color: var(--athena-gold);
}

.athena-home__mark svg {
    width: 56px;
    height: 56px;
    stroke-width: 1.5;
}

.athena-home__user {
    color: #6d5e4c;
}

.athena-home__user svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.athena-home__spark svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

.athena-home__help > svg,
.athena-home__recent-heading button svg {
    width: 16px;
    height: 16px;
    margin-left: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.athena-home__recent-heading button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.athena-card__actions svg,
.athena-card__heart svg {
    width: 18px;
    height: 18px;
}

.athena-card__similar:hover {
    color: var(--athena-gold-deep);
}

.athena-card__similar svg {
    width: 19px;
    height: 13px;
}

.athena-card__actions button:hover svg,
.athena-card__action:hover svg,
.athena-card__heart:hover svg {
    stroke: var(--athena-gold-deep);
}

/* Messages */

.athena-home__chat .athena-xai-chat__message-ai-container,
.athena-home__chat .athena-xai-chat__message-user-container {
    max-width: 880px;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.athena-home__chat .athena-xai-chat__message-ai-container .athena-xai-chat__bubble-container,
.athena-home__chat .athena-xai-chat__message-user-container .athena-xai-chat__bubble-container {
    max-width: min(640px, 78%);
    padding: 14px 18px;
    box-shadow: none;
}

.athena-home__chat .athena-xai-chat__message-ai-container .athena-xai-chat__bubble-container {
    border-radius: 4px 18px 18px 18px;
    background: #fff;
}

.athena-home__chat .athena-xai-chat__message-user-container .athena-xai-chat__bubble-container {
    border-color: rgba(140, 115, 72, 0.1);
    border-radius: 18px 4px 18px 18px;
    background: #efe5d4;
    box-shadow: 0 1px 2px rgba(70, 48, 20, 0.06), 0 4px 12px rgba(70, 48, 20, 0.06);
}

.athena-home__chat .athena-xai-chat__bubble-message {
    color: #2c241c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.athena-home__chat .athena-xai-chat__bubble-message p:not(:last-child)::after {
    content: "";
    display: block;
    height: 8px;
}

.athena-home__chat .athena-xai-chat__bubble-message ul,
.athena-home__chat .athena-xai-chat__bubble-message ol {
    margin: 6px 0;
    padding-left: 20px;
}

.athena-home__chat .athena-xai-chat__bubble-message strong {
    font-weight: 600;
}

.athena-home__chat .athena-xai-chat__bubble-message a {
    color: var(--athena-gold-deep);
}

.athena-chat-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
}

.athena-chat-avatar svg {
    fill: none;
    stroke: currentColor;
}

.athena-chat-avatar--ai {
    border: 1px solid rgba(140, 115, 72, 0.3);
    background: #fffdf9;
    color: var(--athena-gold);
}

.athena-chat-avatar--ai svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.athena-chat-avatar--user {
    border: 1px solid rgba(140, 115, 72, 0.2);
    background: #fff;
    color: #6d5e4c;
}

.athena-chat-avatar--user svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.6;
}

.athena-home__chat .athena-xai-chat__swiper-container {
    max-width: none;
    width: 100%;
    margin: 0 0 22px;
    padding: 4px 0 8px;
    box-sizing: border-box;
}

.athena-home__chat .swiper {
    margin-bottom: 0;
}

.athena-xai-chat__swiper-container .swiper-slide {
    height: auto;
}

.athena-xai-chat__products-static {
    --athena-static-columns: 4;
    --athena-static-gap: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--athena-static-gap);
    max-width: 1488px;
    margin: 0 auto 30px;
}

.athena-xai-chat__products-static .athena-xai-chat__product-outer-container {
    flex: 0 1 calc((100% - (var(--athena-static-columns) - 1) * var(--athena-static-gap)) / var(--athena-static-columns));
    min-width: 0;
    max-width: 236px;
    cursor: pointer;
}

.athena-xai-chat__products-static .athena-card__media,
.athena-xai-chat__products-static .athena-card__media img {
    min-height: 0;
}

.athena-xai-chat__products-static athena-xai-product-card {
    display: block;
    height: 100%;
}

.athena-xai-chat__products-static .athena-card {
    height: 100%;
}

@media (max-width: 1100px) {
    .athena-xai-chat__products-static {
        --athena-static-columns: 3;
        --athena-static-gap: 16px;
    }
}

@media (max-width: 640px) {
    .athena-xai-chat__products-static {
        --athena-static-columns: 2;
        --athena-static-gap: 12px;
    }
}

@media (max-width: 380px) {
    .athena-xai-chat__products-static {
        --athena-static-columns: 1;
    }

    .athena-xai-chat__products-static .athena-xai-chat__product-outer-container {
        max-width: 280px;
    }
}

.athena-xai-chat__swiper-container .athena-card__name {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.athena-xai-chat__swiper-container .athena-card__brand,
.athena-xai-chat__swiper-container .athena-card__price {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .athena-chat-search {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .athena-chat-search__tools {
        justify-content: flex-end;
        margin-bottom: 0;
    }

    .athena-chat-search__tools .athena-xai-speaker__menu {
        left: auto;
        right: 0;
        transform-origin: bottom right;
    }

    .athena-home__chat .athena-xai-chat__message-container {
        padding: 20px 14px 8px;
    }

    .athena-home__chat .athena-xai-chat__bubble-container {
        max-width: 85% !important;
    }

    .athena-xai-chat__swiper-container .athena-card {
        padding: 0;
    }

    .athena-xai-chat__swiper-container .athena-card__body {
        padding: 10px 10px 6px;
    }

    .athena-xai-chat__swiper-container .athena-card__actions {
        margin: auto 8px 0;
        padding: 6px 0 8px;
    }

    .athena-xai-chat__swiper-container .athena-card__media {
        min-height: 0;
    }

    .athena-xai-chat__swiper-container .athena-card__media img {
        min-height: 150px;
    }

    .athena-xai-chat__swiper-container .athena-card__body {
        padding: 8px 4px 6px;
    }

    .athena-xai-chat__swiper-container .athena-card__heart {
        top: 16px;
        right: 16px;
        width: 28px;
        height: 28px;
    }

    .athena-xai-chat__swiper-container .athena-card__actions {
        gap: 4px;
        padding-right: 4px;
        padding-left: 4px;
    }

    .athena-xai-chat__swiper-container .athena-card__actions button,
    .athena-xai-chat__swiper-container .athena-card__action {
        width: 28px;
        height: 28px;
    }

    .athena-xai-chat__swiper-container .swiper-button-prev,
    .athena-xai-chat__swiper-container .swiper-button-next {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        max-width: 32px;
        max-height: 32px;
    }
}

/* Paragraph reset and spacing owned by containers */

athena-xai-chat p,
athena-xai-chat-search-independent p {
    margin: 0;
    padding: 0;
}

.athena-home__label + .athena-home__nav,
.athena-home__label + .athena-home__empty {
    margin-top: 10px;
}

.athena-home__history-heading {
    margin-bottom: 10px;
}

.athena-home__hero,
.athena-chat-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.athena-home__hero {
    gap: 14px;
}

.athena-chat-intro {
    gap: 8px;
}

athena-xai-chat-search-initial {
    display: block;
    margin-bottom: 14px;
}

.athena-home__history-heading + .athena-home__empty {
    margin-top: 0;
}

.athena-card__body {
    gap: 4px;
}

/* Logo taken from the brand artwork */

.athena-home__mark {
    width: 58px;
    max-width: 58px;
    min-width: 58px;
    height: auto;
    margin-left: -2px;
    overflow: hidden;
}

.athena-home__mark .athena-logo {
    display: block;
    width: 58px;
    max-width: 58px;
    height: auto;
}

.athena-logo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.athena-chat-avatar--ai .athena-logo {
    width: 24px;
}

.athena-home__user {
    top: 24px;
    right: 32px;
}

.athena-home__chat .athena-xai-chat__message-container {
    padding: 72px 64px 8px 40px;
}

.athena-home__chat .athena-xai-chat__search-fixed-stack {
    padding: 12px 64px 24px 40px;
}

@media (max-width: 900px) {
    .athena-home__stage {
        padding: 72px 24px 32px;
    }

    .athena-home__chat .athena-xai-chat__message-container {
        padding: 64px 24px 8px;
    }

    .athena-home__chat .athena-xai-chat__search-fixed-stack {
        padding: 12px 24px 20px;
    }

    .athena-home__user {
        right: 24px;
    }

    .athena-home__menu {
        left: 24px;
    }
}

@media (max-width: 640px) {
    .athena-home__stage {
        padding: 64px 16px 28px;
    }

    .athena-home__chat .athena-xai-chat__message-container {
        padding: 60px 16px 8px;
    }

    .athena-home__chat .athena-xai-chat__search-fixed-stack {
        padding: 10px 16px 16px;
    }

    .athena-home__user {
        right: 16px;
    }

    .athena-home__menu {
        left: 16px;
    }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    .athena-home__sidebar,
    .athena-home__backdrop {
        transition: none;
    }
}

/* Voice and image tools: inline on desktop, popover menu on mobile */

.athena-home-search__tools-toggle {
    display: none;
}

.athena-home-search__tools-menu {
    display: contents;
}

@media (max-width: 640px) {
    .athena-home-search__bar {
        position: relative;
        flex-wrap: nowrap;
        gap: 6px;
        min-height: 56px;
        padding: 6px 6px 6px 14px;
    }

    .athena-home-search__icon svg {
        width: 18px;
        height: 18px;
    }

    .athena-home-search__submit {
        height: 42px;
        padding: 0 14px;
        margin-left: 0;
    }

    .athena-home-search__tools-toggle {
        display: grid;
        flex-shrink: 0;
        border-radius: 10px;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .athena-home-search__tools-toggle svg {
        transition: transform 0.2s ease;
    }

    .athena-home-search__tools-toggle.is-open {
        background: #f3eadb;
        color: var(--athena-gold-deep);
    }

    .athena-home-search__tools-toggle.is-open svg {
        transform: rotate(45deg);
    }

    .athena-home-search__tools-menu {
        position: absolute;
        right: 6px;
        bottom: calc(100% + 8px);
        z-index: 5;
        display: none;
        align-items: center;
        gap: 6px;
        padding: 6px 8px;
        border: 1px solid rgba(140, 115, 72, 0.18);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(70, 48, 20, 0.12);
    }

    .athena-home-search__tools-menu.is-open {
        display: flex;
    }

    .athena-home-search__tools-menu .athena-home-search__divider {
        height: 24px;
    }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
    .athena-home-search__tools-toggle,
    .athena-home-search__tools-toggle svg {
        transition: none;
    }
}

athena-xai-product-modal {
    display: contents;
}

.athena-product-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    padding: 24px;
}

.athena-product-modal__backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: rgba(23, 20, 16, 0.46);
    cursor: pointer;
}

.athena-product-modal__panel {
    position: relative;
    width: min(920px, 100%);
    max-height: 90dvh;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 24px;
    border-radius: 18px;
    background: #f6f1e8;
    box-shadow: 0 24px 60px rgba(40, 28, 12, 0.22);
}

.athena-product-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(140, 115, 72, 0.35);
    border-radius: 50%;
    background: #fff;
    color: #3d342b;
    cursor: pointer;
}

.athena-product-modal__close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.athena-product-modal__layout {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.athena-product-modal__media {
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #f3eee6;
    overflow: hidden;
}

.athena-product-modal__media img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: contain;
}

.athena-product-modal__media.is-missing img {
    display: none;
}

.athena-product-modal__info {
    min-width: 0;
    padding-right: 40px;
}

.athena-product-modal__brand {
    margin: 0 0 6px;
    color: #9a8b78;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.athena-product-modal__info h2 {
    margin: 0;
    color: #171410;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.15;
}

.athena-product-modal__sku {
    margin: 10px 0 0;
    color: #8d7d6a;
    font-size: 14px;
}

.athena-product-modal__sku span {
    margin-right: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.athena-product-modal__price {
    margin: 12px 0 0;
    color: #1c1915;
    font-size: 18px;
    font-weight: 600;
}

.athena-product-modal__price .is-regular {
    margin-left: 10px;
    color: #9a8b78;
    font-weight: 500;
    text-decoration: line-through;
}

.athena-product-modal__summary {
    margin-top: 14px;
    color: #3d342b;
    font-size: 15px;
    line-height: 1.5;
}

.athena-product-modal__summary :is(p, ul, ol) {
    margin: 0 0 0.6em;
}

.athena-product-modal__summary :is(p, ul, ol):last-child {
    margin-bottom: 0;
}

.athena-product-modal__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.athena-product-modal__categories span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(140, 115, 72, 0.1);
    color: #6d5e4c;
    font-size: 12px;
    font-weight: 600;
}

.athena-product-modal__view {
    min-height: 40px;
    margin-top: 18px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: #8c7348;
    color: #fff;
    font: 600 14px/1 "Source Sans 3", sans-serif;
    cursor: pointer;
}

.athena-product-modal__view:hover {
    background: #745e38;
}

.athena-product-modal__tabs {
    display: flex;
    gap: 18px;
    margin-top: 28px;
    border-bottom: 1px solid rgba(140, 115, 72, 0.16);
}

.athena-product-modal__tabs button {
    padding: 10px 2px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: #8d7d6a;
    font: 600 14px/1 "Source Sans 3", sans-serif;
    cursor: pointer;
}

.athena-product-modal__tabs button.is-active {
    color: #3d342b;
    border-bottom-color: var(--athena-gold);
}

.athena-product-modal__description {
    max-height: 7.5em;
    margin-top: 16px;
    overflow: hidden;
    color: #3d342b;
    font-size: 15px;
    line-height: 1.5;
}

.athena-product-modal__description.is-expanded {
    max-height: none;
}

.athena-product-modal__description :is(p, ul, ol) {
    margin: 0 0 0.6em;
}

.athena-product-modal__description img {
    max-width: 100%;
    height: auto;
}

.athena-product-modal__more {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--athena-gold-deep);
    font: 600 14px/1 "Source Sans 3", sans-serif;
    cursor: pointer;
}

.athena-product-modal__attributes {
    display: grid;
    gap: 0;
    margin: 16px 0 0;
}

.athena-product-modal__attributes div {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(140, 115, 72, 0.12);
}

.athena-product-modal__attributes dt {
    color: #9a8b78;
    font-size: 13px;
    font-weight: 600;
}

.athena-product-modal__attributes dd {
    margin: 0;
    color: #2c241c;
}

@media (max-width: 640px) {
    .athena-product-modal {
        padding: 12px;
    }

    .athena-product-modal__panel {
        width: 100%;
        height: calc(100dvh - 24px);
        max-height: none;
    }

    .athena-product-modal__layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .athena-product-modal__info {
        padding-right: 0;
    }

    .athena-product-modal__attributes div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

body.athena-sidebar-lock {
    overflow: hidden;
}

.athena-chat-activity {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(calc(100% - 32px), 760px);
    max-width: 100%;
    overflow: hidden;
    margin: 12px auto 18px;
    padding: 12px 16px;
    border: 1px solid rgba(140, 115, 72, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: #4a4034;
    font: 500 14px/1.35 "Source Sans 3", sans-serif;
}

.athena-chat-activity__dots {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 3px;
}

.athena-chat-activity__dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--athena-gold);
    animation: athena-activity-pulse 1.2s ease-in-out infinite;
}

.athena-chat-activity__dots i:nth-child(2) {
    animation-delay: 150ms;
}

.athena-chat-activity__dots i:nth-child(3) {
    animation-delay: 300ms;
}

.athena-chat-activity__copy {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    min-width: 0;
}

.athena-chat-activity__status {
    font-weight: 600;
}

.athena-chat-activity__rotating {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    font-weight: 600;
}

.athena-chat-activity__rotating-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    animation: athena-activity-fade 400ms ease both;
}

.athena-chat-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.athena-chat-activity__elapsed,
.athena-chat-activity__longer {
    color: #8a7b68;
    font-size: 12px;
}

.athena-chat-activity__cancel {
    flex: 0 0 auto;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--athena-gold-deep);
    font: 600 13px/1.2 "Source Sans 3", sans-serif;
    white-space: nowrap;
    cursor: pointer;
}

.athena-chat-activity__cancel:hover {
    background: rgba(140, 115, 72, 0.08);
}

@keyframes athena-activity-pulse {
    0%, 60%, 100% { opacity: 0.35; transform: scale(0.85); }
    30% { opacity: 1; transform: scale(1); }
}

@keyframes athena-activity-fade {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .athena-chat-activity__dots i {
        animation: none;
        opacity: 0.65;
    }

    .athena-chat-activity__rotating-text {
        animation: none;
    }
}
