/**
 * Hanika Click to Cart - Theme Presets
 * Professional theme styles for popup customization
 */

/* ============================================
   MINIMAL THEME
   ============================================ */
.hanika-theme-minimal .hanika-modal {
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.hanika-theme-minimal .hanika-modal-heading {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 12px;
}

.hanika-theme-minimal .hanika-variations-table th {
    background: #f9f9f9;
    color: #666666;
    font-weight: 500;
}

.hanika-theme-minimal .hanika-add-selected-button,
.hanika-theme-minimal .hanika-cart-submit-button {
    background: #000000;
    border-radius: 4px;
    font-weight: 500;
}

.hanika-theme-minimal .hanika-add-selected-button:hover,
.hanika-theme-minimal .hanika-cart-submit-button:hover {
    background: #333333;
}

/* ============================================
   MODERN THEME (Default)
   ============================================ */
.hanika-theme-modern .hanika-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hanika-theme-modern .hanika-modal-heading {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hanika-theme-modern .hanika-variations-table {
    border-radius: 12px;
    overflow: hidden;
}

.hanika-theme-modern .hanika-variations-table th {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 600;
}

.hanika-theme-modern .hanika-variations-table tbody tr:hover {
    background: linear-gradient(90deg, #f0fdf4 0%, #dcfce7 100%);
}

.hanika-theme-modern .hanika-add-selected-button,
.hanika-theme-modern .hanika-cart-submit-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.hanika-theme-modern .hanika-add-selected-button:hover,
.hanika-theme-modern .hanika-cart-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ============================================
   LUXURY THEME
   ============================================ */
.hanika-theme-luxury .hanika-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid #3d3d3d;
}

.hanika-theme-luxury .hanika-modal-heading {
    color: #d4af37;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

.hanika-theme-luxury .hanika-modal-close {
    color: #d4af37;
}

.hanika-theme-luxury .hanika-variations-table {
    border-radius: 12px;
    border: 1px solid #3d3d3d;
}

.hanika-theme-luxury .hanika-variations-table th {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.hanika-theme-luxury .hanika-variations-table td {
    color: #e0e0e0;
    border-bottom-color: #3d3d3d;
}

.hanika-theme-luxury .hanika-var-price {
    color: #d4af37;
    font-weight: 600;
}

.hanika-theme-luxury .hanika-variations-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

.hanika-theme-luxury .hanika-add-selected-button,
.hanika-theme-luxury .hanika-cart-submit-button {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.hanika-theme-luxury .hanika-add-selected-button:hover,
.hanika-theme-luxury .hanika-cart-submit-button:hover {
    background: linear-gradient(135deg, #e6c04e 0%, #d4af37 100%);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.hanika-animation-fade .hanika-modal {
    animation: hanikaFadeIn var(--hanika-animation-duration, 300ms) ease;
}

.hanika-animation-slide .hanika-modal {
    animation: hanikaSlideIn var(--hanika-animation-duration, 300ms) ease;
}

.hanika-animation-zoom .hanika-modal {
    animation: hanikaZoomIn var(--hanika-animation-duration, 300ms) ease;
}

.hanika-animation-bounce .hanika-modal {
    animation: hanikaBounceIn var(--hanika-animation-duration, 300ms) ease;
}

@keyframes hanikaFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes hanikaSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes hanikaZoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes hanikaBounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }

    70% {
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ============================================
   POSITION CLASSES
   ============================================ */
.hanika-position-center .hanika-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hanika-position-top .hanika-modal {
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
}

.hanika-position-bottom .hanika-modal {
    top: auto;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 0);
}

.hanika-position-left .hanika-modal {
    top: 50%;
    left: 10%;
    transform: translate(0, -50%);
}

.hanika-position-right .hanika-modal {
    top: 50%;
    left: auto;
    right: 10%;
    transform: translate(0, -50%);
}