/* Jahreshoroskop WooCommerce v3 – Styles */

#horoskop-woo-wrap {
    max-width: 530px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    color: #1a1a2e;
}

/* Header */
.hw-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.hw-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #5b4fcf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: #fff;
    line-height: 1;
}
.hw-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #5b4fcf !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
}
.hw-subtitle {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* Card */
.hw-card {
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: 10px;
    padding: 22px 24px;
}
.hw-step-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 16px;
}

/* Form */
.hw-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.hw-mt { margin-top: 4px; }

@media (max-width: 480px) {
    .hw-form-row { grid-template-columns: 1fr; }
}

.hw-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hw-field-full {
    margin-bottom: 14px;
}
.hw-field label,
#horoskop-woo-wrap label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    display: block;
}
.hw-optional {
    font-weight: 400;
    color: #aaa;
    font-size: 0.75rem;
}

/* Inputs */
#horoskop-woo-wrap input[type="date"],
#horoskop-woo-wrap input[type="time"],
#horoskop-woo-wrap input[type="number"],
#horoskop-woo-wrap input[type="text"],
#horoskop-woo-wrap select {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    color: #1a1a2e !important;
    font-family: inherit !important;
    font-size: 0.9rem !important;
    padding: 9px 12px !important;
    outline: none !important;
    width: 100% !important;
    background: #fff !important;
    height: 42px !important;
    box-shadow: none !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
}
#horoskop-woo-wrap input:focus,
#horoskop-woo-wrap select:focus {
    border-color: #5b4fcf !important;
    box-shadow: 0 0 0 3px rgba(91,79,207,0.08) !important;
}

/* City search */
.hw-city-wrap {
    display: flex;
    gap: 8px;
}
.hw-city-wrap input[type="text"] {
    flex: 1 !important;
    width: auto !important;
}
.hw-btn-search {
    background: #f0eeff;
    border: 1px solid #d4c9ff;
    border-radius: 6px;
    color: #5b4fcf;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0 14px;
    white-space: nowrap;
    transition: background 0.15s;
    height: 42px;
    flex-shrink: 0;
}
.hw-btn-search:hover { background: #e2daff; }

.hw-city-results {
    border: 1px solid #e8e8f0;
    border-radius: 6px;
    margin-top: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.hw-city-item {
    padding: 9px 12px;
    font-size: 0.82rem;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f5;
    line-height: 1.4;
    transition: background 0.1s;
}
.hw-city-item:last-child { border-bottom: none; }
.hw-city-item:hover { background: #f5f3ff; color: #5b4fcf; }
.hw-city-loading, .hw-city-none {
    padding: 10px 12px;
    font-size: 0.82rem;
    color: #888;
}
.hw-city-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    background: #f0eeff;
    border: 1px solid #d4c9ff;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 0.85rem;
    color: #3d2fa0;
}
.hw-city-clear-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: auto;
    padding: 0 2px;
    line-height: 1;
}
.hw-city-clear-btn:hover { color: #5b4fcf; }

/* Primary Button */
.hw-btn-primary {
    width: 100%;
    background: #5b4fcf !important;
    border: none !important;
    border-radius: 6px !important;
    color: #fff !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    padding: 13px 2rem !important;
    margin-top: 8px;
    display: block;
    text-align: center;
    transition: background 0.15s;
    line-height: 1.4 !important;
}
.hw-btn-primary:hover  { background: #4a3ec0 !important; }
.hw-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* Loading */
#hw-loading {
    text-align: center;
    padding: 24px 0 12px;
}
.hw-spinner {
    width: 34px;
    height: 34px;
    border: 2px solid #e8e8f0;
    border-top-color: #5b4fcf;
    border-radius: 50%;
    animation: hw-spin 0.9s linear infinite;
    margin: 0 auto 12px;
}
@keyframes hw-spin { to { transform: rotate(360deg); } }
#hw-loading-text { color: #888; font-size: 0.9rem; margin: 0; }

/* Error */
.hw-error {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 12px;
    padding: 10px 14px;
}

/* Result */
#hw-step-result { animation: hw-fadeup 0.4s ease; }
@keyframes hw-fadeup {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hw-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f0eeff, #e8f4ff);
    border-radius: 10px;
    border: 1px solid #d4c9ff;
}
.hw-zodiac-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #5b4fcf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    color: #fff;
    line-height: 1;
}
#hw-result-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #3d2fa0 !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
}
.hw-result-sub { font-size: 0.78rem; color: #7c6bc4; margin: 0; }

/* Natal badge */
.hw-natal-badge {
    background: #f0eeff;
    border: 1px solid #d4c9ff;
    border-radius: 6px;
    color: #5b4fcf;
    font-size: 0.75rem;
    padding: 7px 12px;
    margin-bottom: 10px;
    text-align: center;
}

/* Preview Sections */
#hw-preview-sections {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.hw-section {
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: 8px;
    padding: 13px 15px;
    transition: border-color 0.15s;
}
.hw-section:hover { border-color: #c4b8ff; }
.hw-highlight { border-color: #d4c9ff; background: #faf8ff; }
.hw-section-header {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
}
.hw-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5b4fcf;
    flex-shrink: 0;
}
.hw-section-title {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5b4fcf;
}
.hw-section-body {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #333;
}

/* Buy Box – exakt wie Numerologie */
.hw-buy-box {
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: 10px;
    padding: 18px 20px 20px;
    margin-bottom: 12px;
}
.hw-buy-box-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.hw-buy-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #5b4fcf;
    letter-spacing: 0.05em;
}
.hw-buy-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}
.hw-buy-price .woocommerce-Price-amount { color: #1a1a2e; }

.hw-buy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hw-buy-list li {
    font-size: 0.83rem;
    color: #444;
    padding-left: 16px;
    position: relative;
    line-height: 1.45;
}
.hw-buy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5b4fcf;
    font-size: 0.78rem;
    font-weight: 700;
}

.hw-teaser {
    font-size: 0.85rem;
    color: #666;
    border-left: 2px solid #d4c9ff;
    padding: 6px 10px;
    margin-bottom: 14px;
    background: #faf8ff;
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

.hw-btn-buy {
    display: block;
    width: 100%;
    background: #5b4fcf;
    border: none;
    border-radius: 6px;
    color: #fff !important;
    text-align: center;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 13px 2rem;
    text-decoration: none !important;
    transition: background 0.15s;
    line-height: 1.4;
    cursor: pointer;
    box-sizing: border-box;
}
.hw-btn-buy:hover { background: #4a3ec0; }

.hw-payment-info {
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
    margin: 8px 0 0 0;
}

/* Account Result (Mein Konto) */
.hw-account-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

/* Mantra */
.hw-mantra-box {
    background: #5b4fcf;
    border-radius: 8px;
    padding: 14px 18px;
    text-align: center;
    margin-top: 4px;
}
.hw-mantra-label {
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 5px;
}
.hw-mantra-text {
    font-size: 0.92rem;
    color: #fff;
    line-height: 1.5;
    font-style: italic;
}

/* Reset */
.hw-btn-reset {
    background: transparent;
    border: 1px solid #e8e8f0;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    padding: 8px 16px;
    margin-top: 14px;
    transition: all 0.15s;
    display: inline-block;
}
.hw-btn-reset:hover { border-color: #5b4fcf; color: #5b4fcf; }
