.vinnatic-show {
    max-width: 1120px;
    margin: 0 auto;
    color: #2b2520;
    background: linear-gradient(180deg, #fcfaf6 0%, #f6f1e8 100%);
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(80, 49, 21, 0.08);
}

.vinnatic-show-header {
    text-align: center;
    margin-bottom: 22px;
}

.vinnatic-show-badge {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(200, 164, 107, 0.14);
    color: #9c6e2f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.vinnatic-show-title {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.15;
    color: #2b2520;
}

.vinnatic-show-subtitle {
    margin: 0 auto;
    max-width: 700px;
    font-size: 16px;
    line-height: 1.55;
    color: #6e6257;
}

.vinnatic-show-status-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.vinnatic-show-status-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0d7ae, #e3b874);
    color: #7a4d1c;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(227, 184, 116, 0.16);
}

.vinnatic-show-status-pill.is-soft {
    background: #fffaf2;
    color: #8d7457;
    border: 1px solid #eadfce;
    box-shadow: none;
}

.vinnatic-demo-toolbar {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.vinnatic-demo-button {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #8c3e28, #b86a39);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(140, 62, 40, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.vinnatic-demo-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(140, 62, 40, 0.24);
}

.vinnatic-demo-button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.vinnatic-demo-status {
    font-size: 13px;
    color: #7b6d60;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fffaf2;
    border: 1px solid #eadfce;
}

.vinnatic-sticky-shell {
    position: relative;
}

.vinnatic-form-summary-bar {
    display: none;
}

.vinnatic-form-summary-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    border: 1px solid #eadfce;
    background: rgba(255, 255, 255, 0.96);
    color: #3a312a;
    border-radius: 18px;
    padding: 12px 14px;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(95, 67, 35, 0.08);
}

.vinnatic-form-summary-title {
    font-weight: 800;
    white-space: nowrap;
}

.vinnatic-form-summary-text {
    flex: 1;
    text-align: left;
    color: #7c6f62;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vinnatic-form-summary-icon {
    font-size: 18px;
    line-height: 1;
    color: #9c6e2f;
    font-weight: 800;
}

.vinnatic-show-form {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(156, 110, 47, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(95, 67, 35, 0.06);
}

.vinnatic-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #463c34;
}

.vinnatic-field-note {
    font-size: 12px;
    color: #8b7c6f;
    font-weight: 600;
}

.vinnatic-search-wrap {
    position: relative;
}

.vinnatic-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a99683;
    pointer-events: none;
}

.vinnatic-show-form input[type="text"] {
    width: 100%;
    padding: 15px 16px 15px 42px;
    border-radius: 16px;
    border: 1px solid #e8dfd3;
    background: #fffdfa;
    color: #2b2520;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vinnatic-show-form input[type="text"]:focus {
    border-color: rgba(200, 164, 107, 0.8);
    box-shadow: 0 0 0 4px rgba(200, 164, 107, 0.12);
    background: #ffffff;
}

.vinnatic-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vinnatic-buttons button {
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid #eadfce;
    background: #fffdfa;
    color: #3a312a;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    min-height: 46px;
}

.vinnatic-buttons button:hover {
    transform: translateY(-1px);
    border-color: #d7b27a;
    box-shadow: 0 8px 16px rgba(200, 164, 107, 0.12);
}

.vinnatic-buttons button.active {
    background: linear-gradient(135deg, #d5b07a, #bd8f50);
    color: #fff;
    border-color: #bd8f50;
    box-shadow: 0 10px 22px rgba(189, 143, 80, 0.22);
}

.vinnatic-buttons button.disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.vinnatic-budget-field {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
    border: 1px solid #efe1cf;
}

.vinnatic-budget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.vinnatic-budget-value {
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0d7ae, #e3b874);
    color: #7a4d1c;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(227, 184, 116, 0.18);
}

#vinnatic-budget {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e6c48d 0%, #c99357 100%);
    outline: none;
    cursor: pointer;
}

#vinnatic-budget::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #8c3e28;
    border: 3px solid #fff7ef;
    box-shadow: 0 6px 16px rgba(140, 62, 40, 0.25);
}

#vinnatic-budget::-moz-range-track {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e6c48d 0%, #c99357 100%);
}

#vinnatic-budget::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #8c3e28;
    border: 3px solid #fff7ef;
    box-shadow: 0 6px 16px rgba(140, 62, 40, 0.25);
}

.vinnatic-budget-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #8c7f73;
    font-weight: 600;
}

.vinnatic-form-actions {
    display: block;
}

#vinnatic-submit {
    width: 100%;
    min-height: 56px;
    padding: 15px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #b86a39, #8c3e28);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 12px 24px rgba(140, 62, 40, 0.18);
}

#vinnatic-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(140, 62, 40, 0.24);
}

#vinnatic-submit.is-loading {
    opacity: 1;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.vinnatic-show-result-text {
    margin: 10px 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #9c6e2f;
    text-align: center;
    min-height: 22px;
}

.vinnatic-led-feedback {
    margin: 0 auto 20px;
    max-width: 760px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fffaf2;
    border: 1px solid #eedfca;
    color: #7c6348;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.vinnatic-show-rayon {
    scroll-margin-top: 110px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.vinnatic-show-rayon.is-empty {
    opacity: 0.5;
    filter: grayscale(0.15);
}

.vinnatic-show-rayon.is-empty .vinnatic-show-wine {
    transform: none;
}

.vinnatic-show-wine {
    position: relative;
    padding: 18px 16px 20px;
    border: 1px solid #eee4d7;
    text-align: center;
    border-radius: 22px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 240px;
    background: linear-gradient(180deg, #fffdfa, #fff8f0);
    box-shadow: 0 8px 20px rgba(95, 67, 35, 0.05);
    overflow: hidden;
}

.vinnatic-show-wine:hover {
    transform: translateY(-3px);
    border-color: #dfc8a4;
    box-shadow: 0 14px 28px rgba(95, 67, 35, 0.08);
}

.vinnatic-show-led-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.vinnatic-show-led {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d7d2ca, #b8afa4 70%);
    border: 1px solid rgba(110, 98, 87, 0.16);
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.vinnatic-show-led-label {
    display: inline-block;
    margin: 0 auto 2px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3ece3;
    color: #8f7c67;
    font-size: 11px;
    font-weight: 700;
}

.vinnatic-show-wine.active {
    border-color: #ddb976;
    background: linear-gradient(180deg, #fffdfa, #fff4df);
    box-shadow:
        0 0 0 1px rgba(221, 185, 118, 0.28),
        0 14px 30px rgba(189, 143, 80, 0.12);
}

.vinnatic-show-wine.active .vinnatic-show-led {
    background: radial-gradient(circle at 35% 35%, #fff8cf, #ffd56f 45%, #cc901f 85%);
    box-shadow:
        0 0 8px rgba(255, 214, 102, 0.72),
        0 0 18px rgba(255, 184, 56, 0.45),
        0 0 26px rgba(255, 166, 0, 0.22);
}

.vinnatic-show-wine.top-match {
    border-color: #c8873b;
    background: linear-gradient(180deg, #fff9f0, #ffeccc);
    box-shadow:
        0 0 0 1px rgba(200, 135, 59, 0.3),
        0 0 18px rgba(200, 135, 59, 0.12),
        0 16px 34px rgba(140, 62, 40, 0.12);
    animation: vinnaticCardPulse 1.4s infinite;
}

.vinnatic-show-wine.top-match .vinnatic-show-led {
    background: radial-gradient(circle at 35% 35%, #fffde8, #ffe08d 38%, #f0a91b 80%);
    box-shadow:
        0 0 12px rgba(255, 223, 123, 0.95),
        0 0 28px rgba(255, 196, 74, 0.65),
        0 0 40px rgba(255, 166, 0, 0.3);
    animation: vinnaticLedPulse 1s infinite;
}

.vinnatic-show-wine-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.32;
    color: #2f271f;
}

.vinnatic-show-wine-winery,
.vinnatic-show-wine-variety,
.vinnatic-show-wine-price {
    font-size: 13px;
    color: #675b4f;
}

.vinnatic-show-wine-price {
    color: #9a6732;
    font-weight: 800;
}

.vinnatic-show-wine-desc {
    font-size: 12px;
    color: #7a6d61;
    line-height: 1.5;
}

@keyframes vinnaticCardPulse {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

@keyframes vinnaticLedPulse {
    0% {
        box-shadow:
            0 0 10px rgba(255, 223, 123, 0.75),
            0 0 22px rgba(255, 196, 74, 0.52),
            0 0 34px rgba(255, 166, 0, 0.22);
    }
    50% {
        box-shadow:
            0 0 14px rgba(255, 223, 123, 1),
            0 0 30px rgba(255, 196, 74, 0.75),
            0 0 46px rgba(255, 166, 0, 0.32);
    }
    100% {
        box-shadow:
            0 0 10px rgba(255, 223, 123, 0.75),
            0 0 22px rgba(255, 196, 74, 0.52),
            0 0 34px rgba(255, 166, 0, 0.22);
    }
}

@media (max-width: 1024px) {
    .vinnatic-show {
        padding: 22px;
    }

    .vinnatic-show-header {
        margin-bottom: 16px;
    }

    .vinnatic-show-title {
        font-size: 28px;
    }

    .vinnatic-show-subtitle {
        font-size: 14px;
        line-height: 1.45;
        max-width: 620px;
    }

    .vinnatic-sticky-shell {
        position: sticky;
        top: 10px;
        z-index: 20;
        margin-bottom: 16px;
    }

    .vinnatic-form-summary-bar {
        display: block;
        margin-bottom: 10px;
    }

    .vinnatic-show-form {
        gap: 12px;
        padding: 16px;
        margin-bottom: 0;
        border-radius: 20px;
        box-shadow: 0 10px 24px rgba(95, 67, 35, 0.08);
    }

    .vinnatic-show-form.is-collapsed {
        display: none;
    }

    .vinnatic-field label {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .vinnatic-show-form input[type="text"] {
        padding: 12px 14px 12px 38px;
        border-radius: 14px;
    }

    .vinnatic-buttons {
        gap: 8px;
    }

    .vinnatic-buttons button {
        min-height: 40px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .vinnatic-budget-field {
        padding: 12px;
    }

    .vinnatic-budget-head {
        margin-bottom: 10px;
    }

    .vinnatic-budget-value {
        padding: 6px 11px;
        font-size: 13px;
    }

    #vinnatic-submit {
        min-height: 48px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .vinnatic-show-result-text {
        margin: 6px 0 10px;
        font-size: 14px;
    }

    .vinnatic-led-feedback {
        margin-bottom: 14px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .vinnatic-show-rayon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        scroll-margin-top: 90px;
    }

    .vinnatic-show-wine {
        min-height: 210px;
        padding: 16px 14px 18px;
        border-radius: 18px;
    }

    .vinnatic-show-wine-title {
        font-size: 15px;
    }

    .vinnatic-show-wine-desc {
        font-size: 11px;
        line-height: 1.4;
    }
}

@media (max-width: 640px) {
    .vinnatic-show {
        padding: 18px;
        border-radius: 20px;
    }

    .vinnatic-show-title {
        font-size: 24px;
    }

    .vinnatic-show-subtitle {
        font-size: 13px;
    }

    .vinnatic-demo-toolbar {
        flex-direction: column;
    }

    .vinnatic-demo-button {
        width: 100%;
    }

    .vinnatic-demo-status {
        width: 100%;
        text-align: center;
    }

    .vinnatic-sticky-shell {
        position: static;
        margin-bottom: 0;
    }

    .vinnatic-form-summary-bar {
        display: none !important;
    }

    .vinnatic-show-form {
        display: grid !important;
        padding: 14px;
        margin-bottom: 16px;
    }

    .vinnatic-show-rayon {
        grid-template-columns: 1fr;
        scroll-margin-top: 20px;
    }

    .vinnatic-buttons {
        gap: 8px;
    }

    .vinnatic-buttons button {
        width: 100%;
    }

    .vinnatic-show-status-row {
        flex-direction: column;
        align-items: center;
    }
}
.vinnatic-show-rayon.flash {
    animation: vinnaticFlash 0.5s ease;
}

@keyframes vinnaticFlash {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}
#vinnatic-submit {
    position: relative;
    overflow: hidden;
}

#vinnatic-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

#vinnatic-submit:hover::after {
    left: 100%;
}
.vinnatic-guidance {
    text-align: center;
    font-size: 14px;
    color: #8c7f73;
    margin-bottom: 10px;
    font-weight: 600;
}