.sree-plugin-wrapper {
    --sree-font-family: "Segoe UI", sans-serif;
    --sree-font-size: 16px;
    --sree-label-color: #26334b;
    --sree-text-color: #354052;
    --sree-accent-color: #ff8541;
    --sree-button-text-color: #ffffff;
    --sree-card-background: #ffffff;
    --sree-row-gap: 4px;
    --sree-card-min-height: 0px;
    max-width: 920px;
    width: 100%;
    color: var(--sree-text-color);
    font-family: var(--sree-font-family);
    font-size: var(--sree-font-size);
}

.sree-plugin__card {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: stretch;
    min-height: var(--sree-card-min-height);
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 133, 65, 0.16), transparent 28%),
        linear-gradient(180deg, var(--sree-card-background) 0%, #fff8f2 100%);
    border: 1px solid rgba(255, 133, 65, 0.16);
    border-radius: 24px;
    box-shadow: 0 26px 60px rgba(32, 23, 15, 0.08);
}

.sree-plugin__footer,
.sree-plugin__row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.sree-plugin__hero {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.sree-plugin__heading {
    margin: 0;
    color: var(--sree-label-color);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
}

.sree-plugin__offer {
    margin-bottom: 22px;
    padding: 14px 18px;
    color: #6f431f;
    background: linear-gradient(135deg, #fff0d7 0%, #ffe4c2 100%);
    border-radius: 16px;
    font-weight: 600;
}

.sree-plugin__rows {
    flex: 0 0 auto;
    display: grid;
    margin: 0;
    gap: var(--sree-row-gap);
    align-content: start;
}

.sree-plugin__label {
    color: var(--sree-label-color);
    font-size: 15px;
    font-weight: 700;
}

.sree-plugin__control {
    min-width: 0;
}

.sree-plugin__pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px;
    background: rgba(34, 34, 34, 0.04);
    border-radius: 18px;
}

.sree-plugin__pill {
    position: relative;
    display: inline-flex;
}

.sree-plugin__pill input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.sree-plugin__pill span,
.sree-plugin__select,
.sree-plugin__description,
.sree-plugin__qty-input {
    font: inherit;
}

.sree-plugin__pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    color: var(--sree-label-color);
    background: #ffffff;
    border: 1px solid rgba(38, 51, 75, 0.12);
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.sree-plugin__pill input:checked + span {
    color: var(--sree-button-text-color);
    background: var(--sree-accent-color);
    box-shadow: 0 12px 24px rgba(255, 133, 65, 0.28);
    border-color: transparent;
}

.sree-plugin__pill span:hover,
.sree-plugin__submit:hover:not(:disabled),
.sree-plugin__qty-button:hover {
    transform: translateY(-1px);
}

.sree-plugin__select,
.sree-plugin__description {
    width: 100%;
    padding: 14px 16px;
    color: var(--sree-text-color);
    background: #ffffff;
    border: 1px solid rgba(38, 51, 75, 0.12);
    border-radius: 14px;
}

.sree-plugin__description {
    min-height: 96px;
    resize: vertical;
}

.sree-plugin__quantity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sree-plugin__qty-button,
.sree-plugin__submit {
    border: 0;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.sree-plugin__qty-button {
    width: 42px;
    height: 42px;
    color: var(--sree-button-text-color);
    background: var(--sree-accent-color);
    border-radius: 12px;
    font-size: 24px;
    line-height: 1;
}

.sree-plugin__qty-input {
    width: 74px;
    height: 42px;
    text-align: center;
    border: 1px solid rgba(38, 51, 75, 0.12);
    border-radius: 12px;
}

.sree-plugin__qty-input::-webkit-outer-spin-button,
.sree-plugin__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sree-plugin__price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-width: 150px;
    min-height: 68px;
    padding: 0 20px;
    color: var(--sree-accent-color);
    background: rgba(255, 133, 65, 0.1);
    border-radius: 18px;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
}

.sree-plugin__row--muted .sree-plugin__label,
.sree-plugin__discount-value {
    color: #7a4b2a;
}

.sree-plugin__footer {
    flex: 0 0 auto;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(38, 51, 75, 0.12);
}

.sree-plugin__total {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sree-plugin__total-label {
    color: var(--sree-label-color);
    font-weight: 700;
}

.sree-plugin__total-value {
    color: var(--sree-accent-color);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
}

.sree-plugin__submit {
    justify-self: end;
    min-width: 180px;
    min-height: 52px;
    padding: 0 28px;
    color: var(--sree-button-text-color);
    background: var(--sree-accent-color);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(255, 133, 65, 0.24);
    font-size: 18px;
    font-weight: 700;
}

.sree-plugin__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.sree-plugin__helper {
    margin: 14px 0 0;
    color: #6b7280;
}

.sree-plugin__notice {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.sree-plugin__notice--success {
    color: #14683a;
    background: #e8f7ee;
}

.sree-plugin__notice--error {
    color: #8e2020;
    background: #fdeaea;
}

@media (max-width: 720px) {
    .sree-plugin__card {
        padding: 20px;
    }

    .sree-plugin__hero,
    .sree-plugin__footer,
    .sree-plugin__row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sree-plugin__price-badge,
    .sree-plugin__submit {
        justify-self: stretch;
    }

    .sree-plugin__pill-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sree-plugin__pill span {
        width: 100%;
        padding: 10px 12px;
        text-align: center;
    }
}
