/* Spezieria - L'Oracolo - frontend CSS v1.9.0 */
.spz-oracolo {
    max-width: 720px;
    margin: 2em auto;
    padding: 0 16px;
}

.spz-oracolo-header {
    text-align: center;
    margin-bottom: 2em;
}

.spz-oracolo-eye {
    width: 120px;
    height: 60px;
    margin: 0 auto 1.2em;
}

.spz-oracolo-eye svg {
    width: 100%;
    height: 100%;
}

.spz-oracolo-pupil {
    animation: spzOracoloPulse 3.5s ease-in-out infinite;
}

@keyframes spzOracoloPulse {
    0%, 100% { r: 5; opacity: 1; }
    50%      { r: 7; opacity: 0.7; }
}

.spz-oracolo-title {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 36px;
    color: #daa520;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5em;
}

.spz-oracolo-subtitle {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: #e0e0e0;
    margin: 0;
    opacity: 0.8;
}

.spz-oracolo .spz-oracolo-ai-notice {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #e0e0e0;
    margin: 12px 0 0;
}

.spz-oracolo .spz-oracolo-ai-notice a {
    color: #daa520;
    text-decoration: underline;
}

.spz-oracolo .spz-oracolo-ai-notice a:hover {
    color: #f0c040;
}

.spz-oracolo .spz-oracolo-form {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 28px 24px;
}

.spz-oracolo .spz-oracolo-row {
    margin-bottom: 18px;
}

.spz-oracolo .spz-oracolo-row:last-child {
    margin-bottom: 0;
}

.spz-oracolo .spz-oracolo-row-birth {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.spz-oracolo .spz-oracolo-field-name {
    flex: 1;
    min-width: 0;
}

.spz-oracolo .spz-oracolo-field-day {
    width: 90px;
    flex-shrink: 0;
}

.spz-oracolo .spz-oracolo-field-month {
    width: 170px;
    flex-shrink: 0;
}

.spz-oracolo .spz-oracolo-field label {
    display: block;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #daa520;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    line-height: 1;
}

.spz-oracolo .spz-oracolo-optional {
    font-weight: 400;
    font-size: 12px;
    text-transform: none;
    color: #e0e0e0;
    opacity: 0.6;
    letter-spacing: 0;
}

.spz-oracolo .spz-oracolo-form input[type="text"],
.spz-oracolo .spz-oracolo-form input[type="number"],
.spz-oracolo .spz-oracolo-form select,
.spz-oracolo .spz-oracolo-form textarea {
    width: 100%;
    background-color: #121212;
    border: 1px solid #333333;
    color: #e0e0e0;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 15px;
    line-height: 20px;
    height: auto;
    min-height: 46px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    box-shadow: none;
    outline: none;
}

.spz-oracolo .spz-oracolo-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23daa520' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 40px;
    cursor: pointer;
}

.spz-oracolo .spz-oracolo-form select option {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 8px;
}

.spz-oracolo .spz-oracolo-form input[type="text"]:focus,
.spz-oracolo .spz-oracolo-form input[type="number"]:focus,
.spz-oracolo .spz-oracolo-form select:focus,
.spz-oracolo .spz-oracolo-form textarea:focus {
    outline: none;
    border-color: #daa520;
    box-shadow: none;
}

.spz-oracolo .spz-oracolo-form input::placeholder,
.spz-oracolo .spz-oracolo-form textarea::placeholder {
    color: #e0e0e0;
    opacity: 0.4;
}

.spz-oracolo .spz-oracolo-field-error input,
.spz-oracolo .spz-oracolo-field-error select,
.spz-oracolo .spz-oracolo-field-error textarea {
    border-color: #8c2e3d;
}

.spz-oracolo .spz-oracolo-form textarea {
    resize: vertical;
    min-height: 80px;
}

.spz-oracolo .spz-oracolo-form input[type="number"]::-webkit-inner-spin-button,
.spz-oracolo .spz-oracolo-form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.spz-oracolo .spz-oracolo-form input[type="number"] {
    -moz-appearance: textfield;
}

.spz-oracolo .spz-oracolo-row-submit {
    text-align: center;
    margin-top: 20px;
    padding-top: 4px;
}

.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
    color: #daa520;
    border: 1px solid #daa520;
    border-radius: 4px;
    padding: 18px 24px 22px;
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.4s ease;
    line-height: 1;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    overflow: visible;
    z-index: 1;
    min-height: 62px;
    box-shadow:
        0 0 12px rgba(218, 165, 32, 0.15),
        inset 0 0 30px rgba(218, 165, 32, 0.03);
}

.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 5px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 30%,
        rgba(218, 165, 32, 0.6) 50%,
        transparent 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: spzOracoloBorderFlow 3s ease-in-out infinite;
    z-index: -1;
    filter: blur(4px);
    opacity: 0.8;
}

.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    background:
        radial-gradient(circle at 20% 50%, rgba(218, 165, 32, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(218, 165, 32, 0.08) 0%, transparent 50%);
    animation: spzOracoloPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes spzOracoloBorderFlow {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes spzOracoloPulse {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1; }
}

.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit:hover {
    color: #f0c040;
    border-color: #f0c040;
    background: linear-gradient(180deg, #1f1a10 0%, #151208 100%);
    transform: translateY(-2px);
    box-shadow:
        0 0 25px rgba(218, 165, 32, 0.3),
        0 0 60px rgba(218, 165, 32, 0.1),
        inset 0 0 40px rgba(218, 165, 32, 0.06);
}

.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit:hover::before {
    opacity: 1;
    filter: blur(6px);
    animation-duration: 1.5s;
}

.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit:active {
    transform: translateY(0);
    box-shadow:
        0 0 15px rgba(218, 165, 32, 0.25),
        inset 0 0 20px rgba(218, 165, 32, 0.05);
}

.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    border-color: #555;
    color: #555;
}

.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit:disabled::before,
.spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit:disabled::after {
    animation: none;
    opacity: 0;
}

.spz-oracolo-btn-loading {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}

.spz-oracolo-dots span {
    animation: spzOracoloDots 1.4s infinite;
    opacity: 0;
}
.spz-oracolo-dots span:nth-child(1) { animation-delay: 0s; }
.spz-oracolo-dots span:nth-child(2) { animation-delay: 0.2s; }
.spz-oracolo-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes spzOracoloDots {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

.spz-oracolo .spz-oracolo-row-consent {
    margin-top: 6px;
}

.spz-oracolo .spz-oracolo-ai-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #121212;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 14px 16px;
    cursor: pointer;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    line-height: 19px;
    color: #e0e0e0;
    transition: border-color 0.2s ease;
}

.spz-oracolo .spz-oracolo-ai-consent:hover {
    border-color: #555555;
}

.spz-oracolo .spz-oracolo-ai-consent input[type="checkbox"] {
    margin: 3px 0 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #daa520;
    cursor: pointer;
}

.spz-oracolo .spz-oracolo-ai-consent-text {
    flex: 1;
}

.spz-oracolo .spz-oracolo-ai-consent-text a {
    color: #daa520;
    text-decoration: underline;
}

.spz-oracolo .spz-oracolo-ai-consent-text a:hover {
    color: #f0c040;
}

.spz-oracolo .spz-oracolo-ai-consent-warning {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #e0e0e0;
    opacity: 0.65;
    font-style: italic;
}

.spz-oracolo .spz-oracolo-row-consent.spz-oracolo-field-error .spz-oracolo-ai-consent {
    border-color: #8c2e3d;
    background: rgba(140, 46, 61, 0.08);
}

.spz-oracolo-error {
    background: #1a1a1a;
    border: 1px solid #8c2e3d;
    border-radius: 4px;
    padding: 20px 24px;
    margin-top: 20px;
    text-align: center;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #e0e0e0;
}

.spz-oracolo-response {
    margin-top: 32px;
}

.spz-oracolo-response-header {
    text-align: center;
    margin-bottom: 1.5em;
}

.spz-oracolo-sigil {
    display: block;
    font-size: 28px;
    color: #daa520;
    margin-bottom: 8px;
}

.spz-oracolo-response-title {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 36px;
    color: #daa520;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.spz-oracolo-response-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1.5em;
}

.spz-oracolo-meta-badge {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #121212;
    background-color: #daa520;
    padding: 3px 10px;
    border-radius: 3px;
    display: inline-block;
}

.spz-oracolo-sabbat-desc {
    width: 100%;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #e0e0e0;
    opacity: 0.6;
    font-style: italic;
    margin-top: 6px;
}

.spz-oracolo-response-text {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 24px;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #e0e0e0;
}

.spz-oracolo-response-text strong {
    font-weight: 700;
    color: #ffffff;
}

.spz-oracolo-response-text em {
    font-style: italic;
    color: #e0e0e0;
}

.spz-oracolo-product-ref {
    color: #daa520;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.spz-oracolo-product-ref:hover {
    color: #f0c040;
    text-decoration: underline solid;
}

.spz-oracolo-products-section {
    margin-top: 2em;
}

.spz-oracolo-products-title {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    color: #daa520;
    text-transform: none;
    margin: 0 0 1em;
}

.spz-oracolo-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.spz-oracolo-product-card {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.spz-oracolo-product-card.spz-oracolo-highlight {
    border-color: #daa520;
}

.spz-oracolo-product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #121212;
}

.spz-oracolo-product-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    color: #daa520;
    font-size: 36px;
    opacity: 0.3;
}

.spz-oracolo-product-info {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spz-oracolo-product-name {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #e0e0e0;
    margin: 0 0 6px;
}

.spz-oracolo-product-name a {
    color: #e0e0e0;
    text-decoration: none;
}

.spz-oracolo-product-name a:hover {
    color: #daa520;
}

.spz-oracolo-product-price {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.spz-oracolo-btn-add {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid #daa520;
    color: #daa520;
    border-radius: 4px;
    padding: 8px 12px;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
}

.spz-oracolo-btn-add:hover {
    background: #daa520;
    color: #121212;
}

.spz-oracolo-btn-add.spz-oracolo-added {
    background: #2d6a4f;
    border-color: #2d6a4f;
    color: #ffffff;
    cursor: default;
}

.spz-oracolo-btn-add-all {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #b8860b 0%, #daa520 40%, #f0c040 60%, #daa520 100%);
    color: #121212;
    border: none;
    border-radius: 4px;
    padding: 16px 24px;
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.15);
}

.spz-oracolo-btn-add-all:hover {
    background: linear-gradient(135deg, #daa520 0%, #f0c040 40%, #ffd54f 60%, #f0c040 100%);
    box-shadow: 0 0 30px rgba(218, 165, 32, 0.25);
    transform: translateY(-1px);
}

.spz-oracolo-btn-add-all.spz-oracolo-added {
    background: #2d6a4f;
    color: #ffffff;
    cursor: default;
}

.spz-oracolo-response-footer {
    text-align: center;
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid #333333;
}

.spz-oracolo .spz-oracolo-btn-reset {
    display: inline-block;
    background: transparent;
    border: 1px solid #daa520;
    color: #daa520;
    border-radius: 4px;
    padding: 14px 40px;
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.08);
}

.spz-oracolo .spz-oracolo-btn-reset:hover {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 40%, #f0c040 60%, #daa520 100%);
    color: #121212;
    border-color: transparent;
    box-shadow: 0 0 25px rgba(218, 165, 32, 0.2);
    transform: translateY(-1px);
}

.spz-oracolo-newsletter-section {
    margin-top: 2em;
}

.spz-oracolo-newsletter-box {
    background: #1a1a1a;
    border: 1px solid #daa520;
    border-radius: 4px;
    padding: 24px;
}

.spz-oracolo-newsletter-box > .spz-newsletter,
.spz-oracolo-newsletter-box > .spz-newsletter-wrap {
    margin: 0;
}

.spz-oracolo-share-section {
    margin-top: 2em;
}

.spz-oracolo-share-title {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    color: #daa520;
    margin: 0 0 1em;
}

.spz-oracolo-card-preview {
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
}

.spz-oracolo-card-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.spz-oracolo-share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.spz-oracolo-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a1a1a;
    border: 1px solid #333333;
    color: #e0e0e0;
    border-radius: 4px;
    padding: 10px 16px;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.spz-oracolo-share-btn svg {
    flex-shrink: 0;
}

.spz-oracolo-share-btn:hover {
    border-color: #daa520;
    color: #daa520;
}

.spz-oracolo-share-wa:hover { border-color: #25d366; color: #25d366; }
.spz-oracolo-share-fb:hover { border-color: #1877f2; color: #1877f2; }
.spz-oracolo-share-tt:hover { border-color: #fe2c55; color: #fe2c55; }

@media (max-width: 768px) {

    .spz-oracolo {
        padding: 0 12px;
        margin: 1.5em auto;
    }

    .spz-oracolo-title,
    .spz-oracolo-response-title {
        font-size: 24px;
        line-height: 30px;
    }

    .spz-oracolo-subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .spz-oracolo-row-birth {
        flex-wrap: wrap;
    }

    .spz-oracolo-field-name {
        flex: 1 1 100%;
    }

    .spz-oracolo-field-day {
        flex: 0 0 calc(35% - 6px);
        width: auto;
    }

    .spz-oracolo-field-month {
        flex: 0 0 calc(65% - 6px);
        width: auto;
    }

    .spz-oracolo .spz-oracolo-form {
        padding: 20px 16px;
    }

    .spz-oracolo .spz-oracolo-form button.spz-oracolo-btn-submit {
        padding: 16px 20px;
        font-size: 18px;
        letter-spacing: 2px;
    }

    .spz-oracolo-response-text {
        padding: 16px;
        font-size: 15px;
        line-height: 24px;
    }

    .spz-oracolo-products-title {
        font-size: 19px;
        line-height: 25px;
    }

    .spz-oracolo-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .spz-oracolo-meta-badge {
        font-size: 12px;
    }

    .spz-oracolo-response-meta {
        gap: 8px;
    }

    .spz-oracolo-newsletter-box {
        padding: 16px;
    }

    .spz-oracolo-share-buttons {
        flex-wrap: wrap;
    }

    .spz-oracolo-share-btn {
        flex: 1 1 calc(50% - 5px);
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .spz-oracolo-products-grid {
        grid-template-columns: 1fr;
    }
}
