.vc-coins-product {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #72520e;
    line-height: 1.4;
}

.vc-coins-product--detail {
    color: #000060;
    margin: 0 0 1rem;
    font-size: .9rem;
}

.vc-coins-product__image {
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.vc-coins-product__value {
    white-space: nowrap;
}

.vc-coins-product--grid {
    margin-bottom: .5rem;
    font-size: .8rem;
}

.vc-coins-product--grid .vc-coins-product__image {
    display: none;
}

.vc-coins-product__label strong {
    font-weight: 700;
}

.vc-coins-card {
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 1px solid #e8d9ad;
    border-radius: .65rem;
    background: #fffcf4;
    color: #332b1c;
}

#vc-coins {
    scroll-margin-top: 8rem;
}

.vc-coins-card h2,
.vc-coins-card h3 {
    margin-bottom: .75rem;
}

.vc-coins-balance {
    color: #72520e;
    font-size: 1.15rem;
    font-weight: 700;
}

.vc-coins-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    margin-top: 1rem;
}

.vc-coins-actions form {
    margin: 0;
}

.vc-coins-card .form-control[type="number"] {
    max-width: 10rem;
}

@media (max-width: 575.98px) {
    .vc-coins-card {
        padding: 1rem;
    }

    .vc-coins-product--grid {
        font-size: .75rem;
    }
}

.vc-coins-help {
    color: #5d5546;
    font-size: .85rem;
    line-height: 1.5;
}

.vc-coins-custom-amount {
    margin: 1rem 0;
}

.vc-coins-custom-amount summary {
    cursor: pointer;
    font-weight: 600;
}

.vc-coins-custom-amount label {
    flex-basis: 100%;
    margin: 0;
}

.vc-coins-card.vc-coins-checkout {
    background: #fff;
    color: #111;
    border: 1px solid #000060;
}

.vc-coins-checkout .vc-coins-balance,
.vc-coins-checkout .vc-coins-help,
.vc-coins-checkout .form-control {
    color: #111;
}

.vc-coins-checkout a,
.vc-coins-checkout summary {
    color: #111;
}

.vc-coins-checkout__preview {
    margin: 0 0 .5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.vc-coins-checkout__preview strong {
    white-space: nowrap;
}

.vc-coins-checkout__details > summary {
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
}

.vc-coins-checkout__details > summary:focus-visible {
    outline: 2px solid #000060;
    outline-offset: 3px;
}

.vc-coins-checkout__content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #d9d9e8;
}

.vc-coins-card p:last-child {
    margin-bottom: 0;
}

.vc-coins-product__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.vc-coins-product__link:hover,
.vc-coins-product__link:focus-visible {
    color: inherit;
}

.vc-coins-info {
    max-width: 1080px;
    margin: 0 auto 3rem;
    line-height: 1.65;
}

.vc-coins-info__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 1rem;
    background: #fffcf4;
    border: 1px solid #e8d9ad;
}

.vc-coins-info__eyebrow {
    color: #72520e;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.vc-coins-info__hero h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.25;
}

.vc-coins-info__highlight {
    color: #72520e;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.vc-coins-info__image {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    justify-self: center;
}

.vc-coins-info__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.vc-coins-info__step h2 {
    font-size: 1.15rem;
    margin: .8rem 0;
}

.vc-coins-info__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #f6ebca;
    color: #72520e;
    font-weight: 700;
}

.vc-coins-info__section {
    margin: 2rem 0;
}

.vc-coins-info__section h2,
.vc-coins-info__redemption h2 {
    font-size: 1.35rem;
}

.vc-coins-info__table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
}

.vc-coins-info__table {
    width: 100%;
    border-collapse: collapse;
}

.vc-coins-info__table caption {
    caption-side: top;
    color: #5d5546;
    font-size: .9rem;
}

.vc-coins-info__table th,
.vc-coins-info__table td {
    padding: .8rem;
    text-align: left;
    border-bottom: 1px solid #e8d9ad;
}

.vc-coins-info__table th {
    background: #fffcf4;
}

.vc-coins-info__redemption {
    padding: 1.5rem;
    border-left: 4px solid #b58b29;
    border-radius: .4rem;
    background: #fffcf4;
}

.vc-coins-info__redemption p:last-child {
    margin-bottom: 0;
}

.vc-coins-info details {
    border-bottom: 1px solid #e8d9ad;
    padding: 1rem 0;
}

.vc-coins-info summary {
    cursor: pointer;
    font-weight: 600;
}

.vc-coins-info details p {
    margin: .75rem 0 0;
}

.vc-coins-info__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 767.98px) {
    .vc-coins-info__hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        padding: 1.25rem;
    }

    .vc-coins-info__image {
        max-width: 150px;
        grid-row: 1;
    }

    .vc-coins-info__steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .vc-coins-info__table th,
    .vc-coins-info__table td {
        padding: .65rem .4rem;
    }
}

/* Compact account entry; its details stay closed until the customer opens them. */
.vc-coins-account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.vc-coins-account-header .h2 {
    min-width: 0;
    overflow-wrap: anywhere;
    margin-bottom: 0;
}

.vc-coins-account-total {
    flex-shrink: 0;
    padding-top: .3rem;
    color: #000060;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.vc-coins-account-panel {
    margin-bottom: 1.5rem;
    border: 1px solid #d9d9e8;
    border-radius: .65rem;
    background: #fff;
    color: #252535;
}

.vc-coins-account-toggle {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.25rem;
    border-radius: .65rem;
    background: #f4f4fb;
    color: #000060;
    cursor: pointer;
    list-style: none;
}

.vc-coins-account-toggle::-webkit-details-marker {
    display: none;
}

.vc-coins-account-toggle:focus-visible,
.vc-coins-account-total:focus-visible {
    outline: 2px solid #000060;
    outline-offset: 3px;
}

.vc-coins-account-toggle__title {
    font-size: 1.1rem;
    font-weight: 700;
}

.vc-coins-account-toggle__hint {
    margin-left: auto;
    font-size: .85rem;
}

.vc-coins-account-toggle__arrow {
    flex: 0 0 .55rem;
    width: .55rem;
    height: .55rem;
    margin: -.2rem .2rem 0 .3rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.vc-coins-account-panel[open] .vc-coins-account-toggle__arrow {
    margin-top: .3rem;
    transform: rotate(225deg);
}

.vc-coins-account-panel[open] .vc-coins-account-toggle {
    border-bottom: 1px solid #d9d9e8;
    border-radius: .65rem .65rem 0 0;
}

.vc-coins-account-content {
    padding: 1.25rem;
}

.vc-coins-account-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vc-coins-account-stat {
    padding: 1rem;
    border: 1px solid #e1e1ed;
    border-radius: .5rem;
}

.vc-coins-account-stat h2 {
    margin-bottom: .5rem;
    font-size: .9rem;
}

.vc-coins-account-stat p {
    margin: .25rem 0 0;
    font-size: .85rem;
}

.vc-coins-account-stat .vc-coins-account-stat__amount {
    font-size: 1.5rem;
    color: #000060;
    font-weight: 700;
}

.vc-coins-account-history {
    padding: 0;
}

.vc-coins-account-history__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.vc-coins-account-history__table th,
.vc-coins-account-history__table td {
    padding: .8rem .65rem;
    border-bottom: 1px solid #e1e1ed;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.vc-coins-account-history__table th {
    color: #000060;
    background: #f4f4fb;
    font-weight: 600;
}

.vc-coins-account-history__table td:nth-child(2) {
    white-space: nowrap;
}

.vc-coins-account-history__amount--positive {
    color: #18592e;
}

.vc-coins-account-rules {
    border-top: 1px solid #e1e1ed;
    padding: 1.25rem 0 0;
    font-size: .9rem;
}

.vc-coins-account-rules ul {
    padding-left: 1.2rem;
    margin-bottom: .75rem;
}

.vc-coins-account-rules li + li {
    margin-top: .4rem;
}

.vc-coins-account-empty {
    color: #5b5b6a;
}

@media (max-width: 575.98px) {
    .vc-coins-account-header {
        gap: .6rem;
    }

    .vc-coins-account-header .h2 {
        font-size: 1.25rem;
    }

    .vc-coins-account-total {
        padding-top: 0;
        font-size: .85rem;
    }

    .vc-coins-account-toggle,
    .vc-coins-account-content {
        padding: 1rem;
    }

    .vc-coins-account-toggle__hint {
        display: none;
    }

    .vc-coins-account-toggle__arrow {
        margin-left: auto;
    }

    .vc-coins-account-stats {
        grid-template-columns: 1fr;
    }

    .vc-coins-account-history__table,
    .vc-coins-account-history__table tbody,
    .vc-coins-account-history__table tr,
    .vc-coins-account-history__table td {
        display: block;
        width: 100%;
    }

    .vc-coins-account-history__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .vc-coins-account-history__table tr {
        padding: .75rem 0;
        border-bottom: 1px solid #e1e1ed;
    }

    .vc-coins-account-history__table td {
        padding: .2rem 0;
        border: 0;
    }

    .vc-coins-account-history__table td::before {
        content: attr(data-label) ": ";
        font-size: .8rem;
        color: #5b5b6a;
    }
}

.vc-coins-account-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 0 0 1.5rem;
    font-size: .9rem;
}
