/* ABAMBUZ digital gift cards — theme v2.9.9 */
.abz-gift-card-purchase-fields,
.abz-gift-card-purchase-fields * ,
.abz-gift-card-account,
.abz-gift-card-account * {
    box-sizing: border-box;
}

.abz-gift-card-purchase-fields {
    display: grid;
    gap: 18px;
    margin: 24px 0;
    padding: clamp(22px, 4vw, 32px);
    color: #f7f8f4;
    background:
        radial-gradient(circle at 90% 4%, rgba(186, 255, 0, .11), transparent 30%),
        linear-gradient(180deg, #111611, #090b09);
    border: 1px solid rgba(186, 255, 0, .28);
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

/* Gift-card summaries must stay in normal flow above WooCommerce tabs. */
body.single-product.abz-gift-card-product div.product .summary {
    position: relative;
    top: auto;
    align-self: start;
}

body.single-product.abz-gift-card-product form.cart .abz-gift-card-purchase-fields {
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
}

body.single-product.abz-gift-card-product .woocommerce-tabs,
body.single-product.abz-gift-card-product .related,
body.single-product.abz-gift-card-product .upsells {
    position: relative;
    z-index: 1;
    clear: both;
}

.abz-gift-card-purchase-fields__heading {
    display: grid;
    gap: 7px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.abz-gift-card-purchase-fields__heading > span,
.abz-gift-card-account__intro p,
.abz-order-gift-card-summary > span {
    margin: 0;
    color: #baff00;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.abz-gift-card-purchase-fields__heading strong {
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.12;
}

.abz-gift-card-purchase-fields__heading small,
.abz-gift-card-purchase-fields label > small {
    color: #adb6aa;
    line-height: 1.5;
}

.abz-gift-card-purchase-fields__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.abz-gift-card-purchase-fields label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: #f4f6f1;
    font-weight: 800;
}

.abz-gift-card-purchase-fields label > span small {
    color: #90998d;
    font-weight: 500;
}

.abz-gift-card-purchase-fields input,
.abz-gift-card-purchase-fields select,
.abz-gift-card-purchase-fields textarea,
.abz-gift-card-claim input {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    color: #fff;
    background: #050705;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    outline: none;
}

.abz-gift-card-purchase-fields textarea {
    min-height: 112px;
    resize: vertical;
}

.abz-gift-card-purchase-fields input:focus,
.abz-gift-card-purchase-fields select:focus,
.abz-gift-card-purchase-fields textarea:focus,
.abz-gift-card-claim input:focus {
    border-color: #baff00;
    box-shadow: 0 0 0 3px rgba(186,255,0,.10);
}

.abz-gift-card-price-range {
    color: #baff00;
    font-weight: 900;
}

.abz-gift-card-select-button {
    background: #baff00 !important;
    color: #050605 !important;
    border-color: #baff00 !important;
}

.abz-gift-card-account {
    display: grid;
    gap: 24px;
}

.abz-gift-card-account__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: clamp(24px, 4vw, 34px);
    background:
        radial-gradient(circle at 90% 0%, rgba(186,255,0,.10), transparent 35%),
        #0c100c;
    border: 1px solid rgba(186,255,0,.24);
    border-radius: 22px;
}

.abz-gift-card-account__intro h2 {
    margin: 7px 0 8px;
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    line-height: 1.08;
}

.abz-gift-card-account__intro span {
    color: #b7beb4;
}

.abz-gift-card-account__intro .button,
.abz-gift-card-claim button {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 14px 19px;
    color: #050605 !important;
    background: #baff00 !important;
    border: 1px solid #baff00 !important;
    border-radius: 11px !important;
    font-weight: 900 !important;
}

.abz-gift-card-claim {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(260px, 1fr) auto;
    align-items: end;
    gap: 15px;
    padding: 22px;
    background: #0a0d0a;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
}

.abz-gift-card-claim > div {
    display: grid;
    gap: 5px;
}

.abz-gift-card-claim strong {
    color: #fff;
    font-size: 1.08rem;
}

.abz-gift-card-claim small {
    color: #aeb6ac;
}

.abz-gift-card-empty {
    padding: 42px;
    text-align: center;
    color: #b7beb4;
    background: #0a0d0a;
    border: 1px dashed rgba(186,255,0,.28);
    border-radius: 18px;
}

.abz-gift-card-empty strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 1.3rem;
}

.abz-gift-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.abz-gift-card-card {
    position: relative;
    display: grid;
    gap: 20px;
    min-height: 360px;
    padding: clamp(24px, 4vw, 34px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 86% 12%, rgba(186,255,0,.18), transparent 32%),
        linear-gradient(145deg, #121812 0%, #050705 68%);
    border: 1px solid rgba(186,255,0,.38);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.abz-gift-card-card::after {
    content: "BZ";
    position: absolute;
    right: -18px;
    bottom: -36px;
    color: rgba(186,255,0,.045);
    font-size: 11rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.abz-gift-card-card.is-disabled,
.abz-gift-card-card.is-expired,
.abz-gift-card-card.is-redeemed {
    filter: saturate(.45);
    border-color: rgba(255,255,255,.18);
}

.abz-gift-card-card header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.abz-gift-card-card header > span {
    color: #baff00;
    font-weight: 900;
    letter-spacing: .12em;
}

.abz-gift-card-card header b {
    padding: 6px 9px;
    color: #050605;
    background: #baff00;
    border-radius: 999px;
    font-size: .68rem;
    letter-spacing: .08em;
}

.abz-gift-card-card__amount,
.abz-gift-card-card__code {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}

.abz-gift-card-card__amount small,
.abz-gift-card-card__code small {
    color: #9da69a;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.abz-gift-card-card__amount strong {
    color: #baff00;
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    line-height: 1;
}

.abz-gift-card-card__amount span {
    color: #c4cac0;
}

.abz-gift-card-card__code code {
    overflow-wrap: anywhere;
    color: #fff;
    background: transparent;
    font-family: "Courier New", monospace;
    font-size: clamp(1rem, 2.6vw, 1.35rem);
    font-weight: 900;
    letter-spacing: .05em;
}

.abz-copy-gift-card {
    justify-self: start;
    margin-top: 7px;
    padding: 9px 12px;
    color: #baff00;
    background: transparent;
    border: 1px solid rgba(186,255,0,.48);
    border-radius: 9px;
    cursor: pointer;
    font-weight: 800;
}

.abz-gift-card-card dl {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    margin: 0;
}

.abz-gift-card-card dl > div {
    display: grid;
    gap: 4px;
}

.abz-gift-card-card dt {
    color: #8e978b;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.abz-gift-card-card dd {
    margin: 0;
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
}

.abz-gift-card-card > p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #adb5aa;
    font-size: .88rem;
}

.abz-order-gift-card-summary {
    display: grid;
    gap: 6px;
    margin: 24px 0;
    padding: 22px;
    color: #fff;
    background: #0b0e0b;
    border: 1px solid rgba(186,255,0,.28);
    border-radius: 16px;
}

.abz-order-gift-card-summary strong {
    color: #baff00;
    font-size: 1.5rem;
}

.abz-order-gift-card-summary p {
    margin: 0;
    color: #aeb6ac;
}

@media (max-width: 900px) {
    .abz-gift-card-claim {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .abz-gift-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .abz-gift-card-purchase-fields__grid {
        grid-template-columns: 1fr;
    }
    .abz-gift-card-account__intro {
        align-items: flex-start;
        flex-direction: column;
    }
    .abz-gift-card-card dl {
        grid-template-columns: 1fr;
    }
}
