:root {
    --abx-gc-bg: #08090b;
    --abx-gc-panel: #111319;
    --abx-gc-line: rgba(255,255,255,.12);
    --abx-gc-text: #f6f7fa;
    --abx-gc-muted: #a9afba;
    --abx-gc-lime: #d6ff00;
    --abx-gc-purple: #8f48ff;
}

.woocommerce ul.products li.product img.abx-clickable-product-image,
.products .product img.abx-clickable-product-image {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.woocommerce ul.products li.product .abx-forced-product-image-link,
.products .product .abx-forced-product-image-link {
    display: block;
    position: relative;
    z-index: 3;
    text-decoration: none;
}

.woocommerce ul.products li.product .abx-gift-card-product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.abx-gift-recipient {
    width: 100%;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid var(--abx-gc-line);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}

.abx-gift-recipient h3 {
    margin: 0 0 5px;
    color: var(--abx-gc-text);
    font-size: 1rem;
}

.abx-gift-recipient > p {
    margin: 0 0 15px;
    color: var(--abx-gc-muted);
    font-size: .82rem;
}

.abx-gift-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.abx-gift-fields label {
    display: grid;
    gap: 6px;
    color: var(--abx-gc-text);
    font-size: .78rem;
    font-weight: 700;
}

.abx-gift-fields label small {
    color: var(--abx-gc-muted);
    font-weight: 500;
}

.abx-gift-fields input,
.abx-gift-fields textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--abx-gc-line);
    border-radius: 10px;
    outline: none;
    background: #171920;
    color: #fff;
}

.abx-gift-fields input:focus,
.abx-gift-fields textarea:focus {
    border-color: var(--abx-gc-lime);
}

.abx-gift-message-field {
    grid-column: 1 / -1;
}

.abx-balance-checker {
    width: min(760px, calc(100% - 32px));
    margin: 60px auto;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--abx-gc-line);
    border-radius: 26px;
    background:
        radial-gradient(circle at 90% 10%, rgba(143,72,255,.25), transparent 35%),
        linear-gradient(145deg, #13151b, #0a0c0f);
    color: var(--abx-gc-text);
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.abx-balance-kicker {
    color: var(--abx-gc-lime);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.abx-balance-checker h2 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
}

.abx-balance-checker > p {
    color: var(--abx-gc-muted);
}

.abx-balance-form label {
    display: block;
    margin: 24px 0 7px;
    color: #fff;
    font-weight: 800;
}

.abx-balance-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.abx-balance-row input {
    min-width: 0;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid var(--abx-gc-line);
    border-radius: 12px;
    outline: none;
    background: #161920;
    color: #fff;
    font: 700 1rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .04em;
}

.abx-balance-row input:focus { border-color: var(--abx-gc-lime); }

.abx-balance-row button {
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid var(--abx-gc-lime);
    border-radius: 12px;
    background: var(--abx-gc-lime);
    color: #08090b;
    font-weight: 900;
    cursor: pointer;
}

.abx-balance-row button:disabled { opacity: .6; cursor: wait; }

.abx-balance-result {
    display: none;
    margin-top: 16px;
    padding: 17px;
    border-radius: 13px;
}

.abx-balance-result.is-success,
.abx-balance-result.is-error,
.abx-balance-result.is-loading { display: grid; }
.abx-balance-result.is-success {
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    border: 1px solid rgba(214,255,0,.35);
    background: rgba(214,255,0,.07);
}
.abx-balance-result.is-success strong {
    color: var(--abx-gc-lime);
    font-size: 1.35rem;
}
.abx-balance-result.is-success small { grid-column: 1 / -1; color: var(--abx-gc-muted); }
.abx-balance-result.is-error { border: 1px solid rgba(255,91,119,.4); background: rgba(255,91,119,.08); color: #ffd5dd; }

.abx-account-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}
.abx-account-card {
    padding: 18px;
    border: 1px solid var(--abx-gc-line);
    border-radius: 16px;
    background: linear-gradient(145deg, #15131c, #101218);
}
.abx-account-card span { color: var(--abx-gc-lime); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.abx-account-card h3 { margin: 10px 0; font-family: ui-monospace, monospace; font-size: 1rem; }
.abx-account-card strong,.abx-account-card small { display:block; }
.abx-account-card strong { color: var(--abx-gc-lime); }
.abx-account-card small { margin-top:8px; color:var(--abx-gc-muted); }

@media (max-width: 680px) {
    .abx-gift-fields { grid-template-columns: 1fr; }
    .abx-gift-message-field { grid-column: auto; }
    .abx-balance-row { grid-template-columns: 1fr; }
    .abx-account-card-grid { grid-template-columns: 1fr; }
}

/* Full ABAMBUZ branded gift-card balance page */
body.abambuz-gift-card-balance-page {
    margin: 0;
    overflow-x: hidden;
    background: #07090c;
    color: #f6f7fa;
}

body.abambuz-gift-card-balance-page .site,
body.abambuz-gift-card-balance-page .site-content,
body.abambuz-gift-card-balance-page .entry-content,
body.abambuz-gift-card-balance-page main {
    max-width: none;
    margin: 0;
    padding: 0;
}

.abx-gc-page {
    --abx-gc-shell: min(1220px, calc(100% - 40px));
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(214,255,0,.08), transparent 28rem),
        radial-gradient(circle at 90% 10%, rgba(143,72,255,.17), transparent 34rem),
        #07090c;
    color: var(--abx-gc-text);
}

.abx-gc-shell {
    width: var(--abx-gc-shell, min(1220px, calc(100% - 40px)));
    margin-inline: auto;
}

.abx-gc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--abx-gc-lime);
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.abx-gc-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--abx-gc-lime);
}

.abx-gc-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    padding: 72px 0 66px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.abx-gc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000 15%, transparent 95%);
}

.abx-gc-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: 62px;
    align-items: center;
}

.abx-gc-hero__copy h1 {
    max-width: 760px;
    margin: 18px 0 22px;
    color: #fff;
    font-size: clamp(3.1rem, 6.4vw, 6.4rem);
    line-height: .91;
    letter-spacing: -.065em;
}

.abx-gc-hero__copy > p {
    max-width: 660px;
    margin: 0;
    color: #c5c9d2;
    font-size: 1.08rem;
}

.abx-gc-hero__actions,
.abx-gc-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.abx-gc-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.abx-gc-button:hover {
    transform: translateY(-2px);
}

.abx-gc-button--primary {
    background: var(--abx-gc-lime);
    color: #08090b;
}

.abx-gc-button--secondary {
    border-color: rgba(255,255,255,.14);
    background: #14171d;
    color: #fff;
}

.abx-gc-button--secondary:hover {
    border-color: var(--abx-gc-lime);
    color: var(--abx-gc-lime);
}

.abx-gc-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 26px;
    color: #d5d9e1;
    font-size: .82rem;
    font-weight: 750;
}

.abx-gc-trust-row span {
    position: relative;
    padding-left: 15px;
}

.abx-gc-trust-row span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--abx-gc-lime);
    box-shadow: 0 0 14px rgba(214,255,0,.7);
}

.abx-gc-hero__visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(214,255,0,.22);
    border-radius: 30px;
    background:
        radial-gradient(circle at 60% 35%, rgba(143,72,255,.28), transparent 37%),
        linear-gradient(145deg, #151720, #090b0f);
    box-shadow: 0 34px 90px rgba(0,0,0,.45);
}

.abx-gc-orbit {
    position: absolute;
    border: 1px solid rgba(214,255,0,.26);
    border-radius: 50%;
    animation: abx-gc-orbit-spin 18s linear infinite;
}

.abx-gc-orbit--one {
    width: 390px;
    height: 390px;
    right: -90px;
    top: -40px;
}

.abx-gc-orbit--two {
    width: 250px;
    height: 250px;
    left: -70px;
    bottom: -50px;
    border-color: rgba(143,72,255,.36);
    animation-direction: reverse;
    animation-duration: 24s;
}

@keyframes abx-gc-orbit-spin {
    to { transform: rotate(360deg); }
}

.abx-gc-card-image {
    position: absolute;
    width: 68%;
    max-width: 430px;
    border-radius: 22px;
    box-shadow: 0 25px 55px rgba(0,0,0,.48);
    object-fit: cover;
}

.abx-gc-card-image--main {
    z-index: 3;
    left: 12%;
    top: 13%;
    transform: rotate(-5deg);
}

.abx-gc-card-image--back {
    z-index: 2;
    right: 3%;
    bottom: 10%;
    transform: rotate(8deg) scale(.84);
    opacity: .72;
}

.abx-gc-hero__status {
    position: absolute;
    z-index: 5;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 10px;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    background: rgba(7,9,12,.85);
    backdrop-filter: blur(12px);
}

.abx-gc-hero__status span {
    grid-row: 1 / 3;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #58e39a;
    box-shadow: 0 0 18px rgba(88,227,154,.65);
}

.abx-gc-hero__status strong { color: #fff; }
.abx-gc-hero__status small { color: var(--abx-gc-muted); }

.abx-gc-check-section {
    padding: 88px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.abx-gc-check-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 54px;
    align-items: center;
}

.abx-gc-check-copy h2,
.abx-gc-section-heading h2,
.abx-gc-rules h2,
.abx-gc-final-cta h2 {
    margin: 15px 0 18px;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.abx-gc-check-copy > p,
.abx-gc-rules__list p {
    color: #b6bcc7;
}

.abx-gc-check-copy ul {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.abx-gc-check-copy li {
    position: relative;
    margin: 14px 0;
    padding-left: 24px;
    color: #e1e4ea;
}

.abx-gc-check-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .63em;
    width: 11px;
    height: 3px;
    background: var(--abx-gc-lime);
}

.abx-gc-checker-wrap {
    min-width: 0;
}

body.abambuz-gift-card-balance-page .abx-balance-checker {
    width: 100%;
    margin: 0;
    padding: clamp(25px, 4.2vw, 44px);
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 7%, rgba(143,72,255,.29), transparent 38%),
        linear-gradient(145deg, #151820, #0b0d11);
    box-shadow: 0 30px 80px rgba(0,0,0,.42);
}

body.abambuz-gift-card-balance-page .abx-balance-checker h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

body.abambuz-gift-card-balance-page .abx-balance-result.is-success {
    align-items: center;
}

.abx-gc-how {
    padding: 88px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.abx-gc-section-heading {
    max-width: 770px;
}

.abx-gc-how__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    margin-top: 32px;
}

.abx-gc-how__grid article {
    min-height: 230px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    background: linear-gradient(145deg, #12151b, #0c0e12);
}

.abx-gc-how__grid article > span {
    color: var(--abx-gc-lime);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .12em;
}

.abx-gc-how__grid h3 {
    margin: 45px 0 10px;
    color: #fff;
    font-size: 1.4rem;
}

.abx-gc-how__grid p {
    margin: 0;
    color: var(--abx-gc-muted);
}

.abx-gc-rules {
    padding: 88px 0;
    background: linear-gradient(110deg, rgba(214,255,0,.045), rgba(143,72,255,.07));
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.abx-gc-rules__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.abx-gc-rules__list {
    display: grid;
    gap: 13px;
}

.abx-gc-rules__list p {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 15px;
    background: rgba(255,255,255,.025);
}

.abx-gc-rules__list strong {
    color: #fff;
}

.abx-gc-final-cta {
    padding: 76px 0;
}

.abx-gc-final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 40px;
    border: 1px solid rgba(214,255,0,.23);
    border-radius: 26px;
    background:
        radial-gradient(circle at 80% 30%, rgba(143,72,255,.2), transparent 34%),
        linear-gradient(130deg, rgba(214,255,0,.07), rgba(17,19,25,.96));
}

.abx-gc-final-cta h2 {
    max-width: 710px;
    margin-bottom: 0;
}

/* Fallback branded header/footer when the main storefront plugin is unavailable. */
.abx-gc-announcement {
    background: var(--abx-gc-lime);
    color: #08090b;
    font-size: .8rem;
    font-weight: 900;
}

.abx-gc-announcement .abx-gc-shell {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.abx-gc-announcement a { color: #08090b; }

.abx-gc-header {
    background: rgba(7,9,12,.96);
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.abx-gc-header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.abx-gc-brand img {
    width: 220px;
    max-height: 58px;
    object-fit: contain;
}

.abx-gc-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.abx-gc-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.abx-gc-nav a:hover { color: var(--abx-gc-lime); }

.abx-gc-cart-link span {
    display: inline-grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    margin-left: 5px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--abx-gc-lime);
    color: #08090b;
    font-size: .72rem;
}

.abx-gc-footer {
    padding: 58px 0 24px;
    border-top: 1px solid rgba(255,255,255,.09);
    background: #06080a;
    color: #fff;
}

.abx-gc-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}

.abx-gc-footer img { width: 230px; }
.abx-gc-footer p { color: var(--abx-gc-muted); }
.abx-gc-footer h3 { margin: 0 0 12px; }
.abx-gc-footer a { display: block; margin: 8px 0; color: var(--abx-gc-muted); text-decoration: none; }
.abx-gc-footer a:hover { color: var(--abx-gc-lime); }

.abx-gc-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: #8f96a1;
    font-size: .82rem;
}

@media (prefers-reduced-motion: reduce) {
    .abx-gc-orbit { animation: none; }
    .abx-gc-button { transition: none; }
}

@media (max-width: 980px) {
    .abx-gc-hero { min-height: 0; }
    .abx-gc-hero__grid,
    .abx-gc-check-grid,
    .abx-gc-rules__grid {
        grid-template-columns: 1fr;
    }
    .abx-gc-hero__visual { min-height: 470px; }
    .abx-gc-how__grid { grid-template-columns: 1fr; }
    .abx-gc-how__grid article { min-height: 0; }
    .abx-gc-how__grid h3 { margin-top: 26px; }
    .abx-gc-final-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
    .abx-gc-page { --abx-gc-shell: min(100% - 26px, 1220px); }
    .abx-gc-hero { padding: 52px 0 44px; }
    .abx-gc-hero__copy h1 { font-size: clamp(2.75rem, 13vw, 4.1rem); }
    .abx-gc-hero__visual { min-height: 390px; }
    .abx-gc-card-image { width: 76%; }
    .abx-gc-card-image--main { left: 5%; top: 14%; }
    .abx-gc-card-image--back { right: -3%; bottom: 13%; }
    .abx-gc-check-section,
    .abx-gc-how,
    .abx-gc-rules { padding: 64px 0; }
    .abx-gc-final-cta { padding: 58px 0; }
    .abx-gc-final-cta__inner { padding: 26px; }
    .abx-gc-hero__actions,
    .abx-gc-final-cta__actions { width: 100%; }
    .abx-gc-button { width: 100%; }
    .abx-gc-announcement .abx-gc-shell,
    .abx-gc-header__inner,
    .abx-gc-footer__bottom { align-items: flex-start; flex-direction: column; }
    .abx-gc-header__inner { padding: 16px 0; }
    .abx-gc-nav { width: 100%; flex-wrap: wrap; gap: 12px 18px; }
    .abx-gc-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .abx-gc-hero__visual { min-height: 330px; border-radius: 22px; }
    .abx-gc-hero__status { left: 12px; right: 12px; bottom: 12px; }
    .abx-gc-card-image--main { top: 11%; }
    body.abambuz-gift-card-balance-page .abx-balance-checker { padding: 22px 18px; border-radius: 20px; }
    body.abambuz-gift-card-balance-page .abx-balance-row button { width: 100%; }
}
