/**
 * Estilos del Chatbot - Asistente de Compra Inteligente
 * Desarrollado por Ergon Digital
 * Version: 1.0.2
 */

/* ============================================
   VARIABLES CSS (Customizables desde admin)
   ============================================ */
:root {
    --aci-primary: #00AFD0;
    --aci-primary-hover: #0095b3;
    --aci-primary-light: rgba(0, 175, 208, 0.1);
    --aci-secondary: #1D1D1D;
    --aci-background: #FFFFFF;
    --aci-surface: #F5F6F8;
    --aci-text: #1A1C1C;
    --aci-text-secondary: #6B7680;
    --aci-border: #E4E8EC;
    --aci-user-bubble: #1D1D1D;
    --aci-user-text: #FFFFFF;
    --aci-ai-bubble: #FFFFFF;
    --aci-ai-text: #1A1C1C;
    --aci-success: #22C55E;
    --aci-error: #EF4444;
    --aci-border-radius: 12px;
    --aci-chat-width: 400px;
    --aci-chat-height: 600px;
    --aci-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --aci-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --aci-shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --aci-shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --aci-shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

/* ============================================
   WIDGET CONTAINER
   ============================================ */
.aci-chatbot-widget {
    position: fixed;
    z-index: 999999;
    font-family: var(--aci-font-family);
}

.aci-chatbot-widget.aci-position-bottom-right {
    bottom: 24px;
    right: 24px;
}

.aci-chatbot-widget.aci-position-bottom-left {
    bottom: 24px;
    left: 24px;
}

/* ============================================
   TOGGLE BUTTON (Píldora)
   ============================================ */
.aci-chatbot-toggle {
    height: 58px;
    padding: 0 8px 0 20px;
    border-radius: 29px;
    background: linear-gradient(135deg, var(--aci-primary) 0%, #00C4E8 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 175, 208, 0.4), 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--aci-transition);
    position: relative;
    z-index: 2;
}

.aci-chatbot-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 175, 208, 0.5), 0 4px 12px rgba(0,0,0,0.15);
}

.aci-chatbot-toggle:active {
    transform: translateY(0) scale(0.98);
}

/* Efecto pulso - doble anillo */
.aci-toggle-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 40px;
    border: 2px solid var(--aci-primary);
    opacity: 0;
    z-index: -1;
    animation: aci-pulse-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.aci-toggle-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--aci-primary);
    animation: aci-pulse-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.6s;
}

@keyframes aci-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.12);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Texto del botón */
.aci-toggle-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--aci-font-family);
    white-space: nowrap;
    line-height: 1;
    letter-spacing: -0.01em;
}

/* Icono del botón */
.aci-toggle-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 2px;
    backdrop-filter: blur(4px);
}

.aci-toggle-icon-svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Botón cerrar (cuando el chat está abierto) */
.aci-chatbot-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aci-primary) 0%, #00C4E8 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--aci-shadow-md);
    transition: var(--aci-transition);
    z-index: 2;
    position: absolute;
}

.aci-chatbot-close svg {
    width: 18px;
    height: 18px;
    color: white;
}

.aci-chatbot-close:hover {
    transform: scale(1.08);
    box-shadow: var(--aci-shadow-lg);
}

.aci-open .aci-chatbot-toggle {
    display: none;
}

.aci-open .aci-chatbot-close {
    display: flex !important;
}

/* ============================================
   CHAT WINDOW
   ============================================ */
.aci-chatbot-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: var(--aci-chat-width);
    height: var(--aci-chat-height);
    max-height: calc(100vh - 120px);
    background: var(--aci-background);
    border-radius: calc(var(--aci-border-radius) * 2);
    box-shadow: var(--aci-shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--aci-border);
}

.aci-position-bottom-left .aci-chatbot-window {
    right: auto;
    left: 0;
}

.aci-chatbot-widget.aci-open .aci-chatbot-window {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* ============================================
   HEADER
   ============================================ */
.aci-chatbot-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--aci-primary) 0%, #00C4E8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.aci-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.aci-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.aci-avatar-default {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.aci-avatar-default svg {
    width: 22px;
    height: 22px;
}

.aci-header-text {
    display: flex;
    flex-direction: column;
}

.aci-header-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.aci-header-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-weight: 500;
}

.aci-status-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: aci-status-pulse 2s infinite;
}

@keyframes aci-status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.9); }
}

.aci-header-actions {
    display: flex;
    gap: 8px;
}

.aci-btn-minimize {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--aci-transition);
}

.aci-btn-minimize:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.aci-btn-minimize svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   MESSAGES AREA
   ============================================ */
.aci-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--aci-surface);
}

/* Scrollbar styling */
.aci-chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.aci-chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.aci-chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--aci-border);
    border-radius: 3px;
}

.aci-chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--aci-text-secondary);
}

/* ============================================
   MESSAGE BUBBLES
   ============================================ */
.aci-message {
    display: flex;
    flex-direction: column;
    max-width: 82%;
    animation: aci-message-in 0.3s ease-out;
}

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

.aci-message-user {
    align-self: flex-end;
}

.aci-message-ai {
    align-self: flex-start;
}

.aci-message-content {
    padding: 12px 16px;
    border-radius: var(--aci-border-radius);
    font-size: 14px;
    line-height: 1.55;
    word-wrap: break-word;
}

.aci-message-user .aci-message-content {
    background: var(--aci-user-bubble);
    color: var(--aci-user-text);
    border-bottom-right-radius: 6px;
}

.aci-message-ai .aci-message-content {
    background: var(--aci-ai-bubble);
    color: var(--aci-ai-text);
    border: 1px solid var(--aci-border);
    border-bottom-left-radius: 6px;
}

.aci-message-content p {
    margin: 0;
}

.aci-message-content p + p {
    margin-top: 8px;
}

.aci-message-time {
    font-size: 10px;
    color: var(--aci-text-secondary);
    margin-top: 5px;
    padding: 0 4px;
    opacity: 0.8;
}

.aci-message-user .aci-message-time {
    align-self: flex-end;
}

/* ============================================
   TYPING INDICATOR
   ============================================ */
.aci-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 16px;
}

.aci-typing-dot {
    width: 8px;
    height: 8px;
    background: var(--aci-primary);
    border-radius: 50%;
    animation: aci-typing-bounce 1.4s infinite ease-in-out both;
}

.aci-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.aci-typing-dot:nth-child(2) { animation-delay: -0.16s; }
.aci-typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes aci-typing-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* ============================================
   PRODUCT CARDS IN CHAT
   ============================================ */
.aci-product-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.aci-product-card {
    background: var(--aci-background);
    border: 1px solid var(--aci-border);
    border-radius: var(--aci-border-radius);
    overflow: hidden;
    transition: var(--aci-transition);
}

.aci-product-card:hover {
    border-color: var(--aci-primary);
    box-shadow: var(--aci-shadow-sm);
}

.aci-product-image {
    width: 100%;
    height: 150px;
    background: var(--aci-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.aci-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.aci-product-card:hover .aci-product-image img {
    transform: scale(1.03);
}

.aci-product-info {
    padding: 14px;
}

.aci-product-name {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--aci-text);
    line-height: 1.3;
}

.aci-product-category {
    font-size: 11px;
    color: var(--aci-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.aci-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--aci-primary);
    margin: 10px 0 6px;
}

.aci-product-description {
    font-size: 13px;
    color: var(--aci-text-secondary);
    margin: 0 0 10px;
    line-height: 1.5;
}

.aci-product-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aci-product-attribute {
    font-size: 11px;
    padding: 3px 10px;
    background: var(--aci-surface);
    border-radius: 6px;
    color: var(--aci-text-secondary);
    font-weight: 500;
}

.aci-product-actions {
    padding: 12px 14px;
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--aci-border);
    background: var(--aci-surface);
}

/* ============================================
   BUTTONS
   ============================================ */
.aci-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--aci-transition);
    border: none;
    text-decoration: none;
}

.aci-btn-primary {
    background: var(--aci-primary);
    color: white;
    flex: 1;
}

.aci-btn-primary:hover {
    background: var(--aci-primary-hover);
}

.aci-btn-secondary {
    background: transparent;
    color: var(--aci-text);
    border: 1px solid var(--aci-border);
}

.aci-btn-secondary:hover {
    background: var(--aci-surface);
    border-color: var(--aci-text-secondary);
}

.aci-btn-icon {
    width: 16px;
    height: 16px;
}

/* ============================================
   INPUT AREA
   ============================================ */
.aci-chatbot-input-area {
    padding: 14px 16px;
    background: var(--aci-background);
    border-top: 1px solid var(--aci-border);
    flex-shrink: 0;
}

.aci-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--aci-surface);
    border: 1.5px solid var(--aci-border);
    border-radius: 24px;
    padding: 4px;
    transition: var(--aci-transition);
}

.aci-input-wrapper:focus-within {
    border-color: var(--aci-primary);
    box-shadow: 0 0 0 3px var(--aci-primary-light);
}

.aci-chat-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--aci-text);
    outline: none;
    font-family: inherit;
}

.aci-chat-input::placeholder {
    color: var(--aci-text-secondary);
}

.aci-btn-attach,
.aci-btn-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--aci-transition);
    flex-shrink: 0;
}

.aci-btn-attach {
    background: transparent;
    color: var(--aci-text-secondary);
}

.aci-btn-attach:hover {
    background: var(--aci-border);
    color: var(--aci-text);
}

.aci-btn-send {
    background: var(--aci-primary);
    color: white;
}

.aci-btn-send:hover {
    background: var(--aci-primary-hover);
    transform: scale(1.05);
}

.aci-btn-send:active {
    transform: scale(0.95);
}

.aci-btn-attach svg,
.aci-btn-send svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
.aci-chatbot-footer {
    padding: 10px 16px;
    background: var(--aci-surface);
    border-top: 1px solid var(--aci-border);
    text-align: center;
    flex-shrink: 0;
}

.aci-footer-text {
    font-size: 11px;
    color: var(--aci-text-secondary);
}

.aci-footer-text a {
    color: var(--aci-primary);
    text-decoration: none;
    font-weight: 600;
}

.aci-footer-text a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE (Optimizado para Móviles)
   ============================================ */
@media (max-width: 480px) {
    .aci-chatbot-widget.aci-position-bottom-right,
    .aci-chatbot-widget.aci-position-bottom-left {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .aci-chatbot-window {
        width: 100vw;
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        bottom: 80px;
        right: 0;
        left: 0;
        border-radius: 20px 20px 0 0;
        border-left: none;
        border-right: none;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    }

    .aci-chatbot-toggle {
        position: fixed;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        min-width: 200px;
        height: 54px;
        padding: 0 15px 0 15px;
        z-index: 1000001;
    }

    .aci-chatbot-toggle:hover {
        transform: translateX(-50%) translateY(-2px);
    }

    .aci-toggle-text {
        font-size: 14px;
    }

    /* Ajustes de tarjetas de producto en móvil */
    .aci-product-card {
        border-radius: 8px;
    }

    .aci-product-image {
        height: 120px;
    }

    .aci-product-name {
        font-size: 13px;
    }

    .aci-product-price {
        font-size: 16px;
    }

    .aci-product-description {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .aci-product-actions {
        padding: 8px 10px;
        gap: 5px;
    }

    .aci-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Burbujas de mensaje más compactas */
    .aci-message {
        max-width: 90%;
    }

    .aci-message-content {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Formulario de usuario adaptado */
    .aci-user-form-inner {
        max-width: 100%;
        padding: 0 10px;
    }

    .aci-user-form-title {
        font-size: 18px;
    }

    .aci-user-form-subtitle {
        font-size: 13px;
    }
}

/* ============================================
   USER FORM (Sin scroll)
   ============================================ */
.aci-user-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: var(--aci-surface);
    overflow: hidden;
}

.aci-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.aci-user-form-inner {
    width: 100%;
    max-width: 280px;
    text-align: center;
    animation: aci-slide-up 0.4s ease-out;
}

.aci-user-form-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--aci-primary) 0%, #00C4E8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 175, 208, 0.35);
}

.aci-user-form-icon svg {
    width: 30px;
    height: 30px;
}

.aci-user-form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--aci-text);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.aci-user-form-subtitle {
    font-size: 13px;
    color: var(--aci-text-secondary);
    margin: 0 0 20px;
    line-height: 1.45;
}

.aci-user-form {
    text-align: left;
}

.aci-form-group {
    margin-bottom: 12px;
}

.aci-form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--aci-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.aci-form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--aci-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--aci-text);
    background: var(--aci-background);
    outline: none;
    transition: var(--aci-transition);
    box-sizing: border-box;
}

.aci-form-input:focus {
    border-color: var(--aci-primary);
    box-shadow: 0 0 0 3px var(--aci-primary-light);
}

.aci-form-input::placeholder {
    color: var(--aci-text-secondary);
}

.aci-form-submit {
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, var(--aci-primary) 0%, #00C4E8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--aci-transition);
    margin-top: 8px;
    box-shadow: 0 4px 16px rgba(0, 175, 208, 0.3);
}

.aci-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 175, 208, 0.4);
}

.aci-form-submit:active {
    transform: translateY(0);
}

.aci-form-submit svg {
    width: 16px;
    height: 16px;
}

.aci-user-form-footer {
    font-size: 10px;
    color: var(--aci-text-secondary);
    margin: 14px 0 0;
    opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes aci-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes aci-slide-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   NOTIFICATIONS
   ============================================ */
.aci-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    z-index: 1000000;
    animation: aci-notification-in 0.3s ease-out;
    box-shadow: var(--aci-shadow-md);
}

.aci-notification-success {
    background: var(--aci-success);
}

.aci-notification-error {
    background: var(--aci-error);
}

@keyframes aci-notification-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   VARIATION MODAL
   ============================================ */
.aci-variation-modal {
    position: absolute;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: inherit;
    backdrop-filter: blur(4px);
}

.aci-variation-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--aci-shadow-lg);
    animation: aci-slide-up 0.3s ease-out;
}

.aci-variation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--aci-border);
}

.aci-variation-modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--aci-text);
}

.aci-variation-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--aci-text-secondary);
    padding: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.aci-variation-modal-close:hover {
    background: var(--aci-surface);
}

.aci-variation-modal-close svg {
    width: 18px;
    height: 18px;
}

.aci-variation-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.aci-loading {
    text-align: center;
    color: var(--aci-text-secondary);
    padding: 30px;
    font-size: 14px;
}

.aci-variation-selector {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aci-variation-group {
    margin-bottom: 4px;
}

.aci-variation-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--aci-text);
    margin-bottom: 10px;
}

.aci-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aci-variation-option {
    padding: 10px 18px;
    border: 2px solid var(--aci-border);
    border-radius: 22px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--aci-text);
    transition: all 0.2s;
}

.aci-variation-option:hover {
    border-color: var(--aci-primary);
    color: var(--aci-primary);
}

.aci-variation-option.selected {
    border-color: var(--aci-primary);
    background: var(--aci-primary);
    color: white;
}

.aci-variation-price {
    padding: 14px 0;
    border-top: 1px solid var(--aci-border);
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--aci-primary);
}

.aci-add-variation-to-cart {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: linear-gradient(135deg, var(--aci-primary) 0%, #00C4E8 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.aci-add-variation-to-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 175, 208, 0.35);
}

.aci-add-variation-to-cart:disabled {
    background: var(--aci-border);
    color: var(--aci-text-secondary);
    cursor: not-allowed;
}

/* ============================================
   UTILITIES
   ============================================ */
.aci-hidden {
    display: none !important;
}

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