/* ==========================================================================
   Whitoo — /woo (Woo membership) 2026 redesign
   Scoped under .wp26-page / body.wp26-body only.

   Global rules this file must work around (same traps as the homepage):
     - whitoo-brand.css : a { color: var(--whitoo-red-2) !important }
     - whitoo-perf.css  : img { content-visibility: auto }  (collapses height:auto imgs)
     - never animate `transform` on something centred with translate(-50%)
   ========================================================================== */

.wp26-page {
    --wp-bg: #0a0c17;
    --wp-panel: #12151f;
    --wp-panel-2: #171b28;
    --wp-line: rgba(255, 255, 255, .07);
    --wp-line-soft: rgba(255, 255, 255, .04);
    --wp-text: #e8ebf5;
    --wp-muted: #7f8699;
    --wp-teal: #2dd4bf;
    --wp-purple: #a78bfa;
    --wp-pink: #ff2d6e;
    --wp-radius: 14px;

    --wp-gut: clamp(12px, 1.5vw, 30px);
    --wp-gap: clamp(12px, 1.2vw, 22px);
    --wp-sidew: clamp(280px, 22vw, 340px);

    width: 100%;
    max-width: none;
    margin: 0;
    padding: calc(78px + 14px) var(--wp-gut) 40px;
    color: var(--wp-text);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--wp-sidew);
    gap: var(--wp-gap);
    align-items: start;
}

body.wp26-body,
body:has(.wp26-page) {
    background:
        radial-gradient(1000px 520px at 12% -8%, rgba(124, 58, 237, .16), transparent 60%),
        radial-gradient(900px 480px at 88% 0%, rgba(45, 212, 191, .08), transparent 58%),
        #0a0c17 !important;
}

.wp26-page :is(h1, h2, h3, strong, b) {
    letter-spacing: -.015em;
}

.wp26-main,
.wp26-side {
    display: flex;
    flex-direction: column;
    gap: var(--wp-gap);
    min-width: 0;
}

.wp26-card {
    padding: 18px;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    background: var(--wp-panel);
    min-width: 0;
}

/* ============================ HERO ============================ */

.wp26-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    padding: 24px 26px;
    border: 1px solid rgba(167, 139, 250, .22);
    border-radius: var(--wp-radius);
    background:
        radial-gradient(520px 260px at 62% 50%, rgba(167, 139, 250, .3), transparent 66%),
        radial-gradient(380px 220px at 96% 40%, rgba(255, 45, 110, .22), transparent 62%),
        linear-gradient(140deg, #1b1630, #101320);
}

.wp26-hero-copy h1 {
    margin: 0 0 7px;
    color: #fff;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 900;
}

.wp26-hero-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    line-height: 1.55;
}

.wp26-hero-art {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(150px, 16vw, 210px);
    height: 118px;
}

.wp26-hero-art img {
    position: relative;
    z-index: 2;
    width: 104px;
    height: auto;
    /* whitoo-perf.css: img{content-visibility:auto} collapses height:auto images */
    content-visibility: visible;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .5));
    animation: wp26-float 5s ease-in-out infinite;
}

@keyframes wp26-float {
    0%, 100% { transform: translateY(-4px); }
    50%      { transform: translateY(6px); }
}

.wp26-w {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(150deg, rgba(255, 45, 110, .95), rgba(167, 139, 250, .95));
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 0 14px rgba(167, 139, 250, .7);
    animation: wp26-float 4.4s ease-in-out infinite;
}

.wp26-w-1 { top: 6%;   left: 4%;  animation-delay: .2s; }
.wp26-w-2 { top: 0;    right: 22%; animation-delay: 1.1s; width: 20px; height: 20px; font-size: 9px; }
.wp26-w-3 { bottom: 8%; left: 12%; animation-delay: 1.9s; width: 20px; height: 20px; font-size: 9px; }
.wp26-w-4 { bottom: 14%; right: 2%; animation-delay: .7s; }

.wp26-status {
    padding: 12px 16px;
    border: 1px solid var(--wp-line);
    border-radius: 12px;
    background: rgba(8, 10, 18, .55);
    text-align: right;
    min-width: 132px;
}

.wp26-status small {
    display: block;
    color: var(--wp-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.wp26-status strong {
    display: block;
    margin: 5px 0 3px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.wp26-status strong.is-on {
    color: var(--wp-teal);
}

.wp26-status span {
    color: var(--wp-muted);
    font-size: 11px;
}

.wp26-msg:empty {
    display: none;
}

/* ============================ TABS ============================ */

.wp26-tabs {
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--wp-line);
    border-radius: 12px;
    background: var(--wp-panel);
}

.wp26-tabs button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--wp-muted);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.wp26-tabs button:hover {
    background: rgba(255, 255, 255, .04);
    color: var(--wp-text);
}

.wp26-tabs button.is-active {
    background: linear-gradient(135deg, rgba(167, 139, 250, .9), rgba(124, 58, 237, .9));
    color: #fff;
    box-shadow: 0 6px 16px rgba(124, 58, 237, .35);
}

/* Only the active panel is shown */
.wp26-panel {
    display: none;
}

.wp26-panel.is-active {
    display: block;
}

/* ============================ SECTION HEADS ============================ */

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

.wp26-sec-head-sub {
    margin-top: 22px;
}

.wp26-sec-head h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.wp26-sec-head p {
    margin: 0;
    color: var(--wp-muted);
    font-size: 11.5px;
}

.wp26-hint {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid var(--wp-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    text-decoration: none;
}

.wp26-hint > i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(167, 139, 250, .16);
    color: var(--wp-purple);
    font-size: 15px;
}

.wp26-hint strong {
    display: block;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
}

.wp26-hint small {
    color: var(--wp-muted);
    font-size: 10px;
}

/* ============================ PLANS ============================ */

.wp26-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.wp26-plan {
    display: block;
    cursor: pointer;
    min-width: 0;
}

.wp26-plan input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wp26-plan-box {
    position: relative;
    display: block;
    padding: 16px 14px 18px;
    border: 1.5px solid var(--wp-line);
    border-radius: 12px;
    background: var(--wp-panel-2);
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.wp26-plan:hover .wp26-plan-box {
    transform: translateY(-2px);
    border-color: rgba(167, 139, 250, .5);
}

.wp26-plan input:checked + .wp26-plan-box {
    border-color: var(--wp-teal);
    background: linear-gradient(160deg, rgba(45, 212, 191, .12), rgba(23, 27, 40, .9));
    box-shadow: 0 0 0 1px rgba(45, 212, 191, .35), 0 10px 26px rgba(45, 212, 191, .12);
}

.wp26-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 10px;
}

.wp26-plan-top b {
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
}

.wp26-save {
    flex-shrink: 0;
    padding: 3px 7px;
    border-radius: 7px;
    background: rgba(167, 139, 250, .18);
    color: var(--wp-purple);
    font-size: 9.5px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.wp26-price {
    display: block;
    margin-bottom: 5px;
    color: var(--wp-purple);
    font-size: clamp(19px, 1.7vw, 25px);
    font-weight: 900;
    line-height: 1.1;
}

.wp26-plan input:checked + .wp26-plan-box .wp26-price {
    color: var(--wp-teal);
}

.wp26-plan-box small {
    color: var(--wp-muted);
    font-size: 11px;
}

.wp26-plan-check {
    position: absolute;
    right: 11px;
    bottom: 11px;
    color: var(--wp-teal);
    font-size: 18px;
    opacity: 0;
    transition: opacity .16s ease;
}

.wp26-plan input:checked + .wp26-plan-box .wp26-plan-check {
    opacity: 1;
}

/* ============================ PAYMENT SELECT ============================ */

.wp26-select {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1.5px solid rgba(167, 139, 250, .4);
    border-radius: 11px;
    background: var(--wp-panel-2);
}

.wp26-select > i:first-child {
    color: var(--wp-purple);
    font-size: 17px;
    flex-shrink: 0;
}

.wp26-page .wp26-select select {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 22px 0 0;
    border: 0 !important;
    background: transparent !important;
    color: var(--wp-text) !important;
    font-size: 13px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
    cursor: pointer;
}

.wp26-page .wp26-select select option {
    background: #171b28;
    color: var(--wp-text);
}

.wp26-select-arrow {
    position: absolute;
    right: 13px;
    color: var(--wp-muted);
    font-size: 15px;
    pointer-events: none;
}

/* ============================ BANK / UPLOAD ============================ */

.wp26-bank {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.wp26-bank-box {
    padding: 16px;
    border: 1px solid var(--wp-line);
    border-radius: 12px;
    background: rgba(8, 10, 18, .5);
}

.wp26-bank-box > b {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.wp26-bank-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
    font-size: 12px;
}

.wp26-bank-row > span {
    color: var(--wp-muted);
}

.wp26-bank-row > em {
    color: var(--wp-text);
    font-style: normal;
    font-weight: 600;
    word-break: break-all;
}

.wp26-bank-row > em[data-copy] {
    cursor: pointer;
}

.wp26-bank-row > em[data-copy] i {
    margin-left: 5px;
    color: var(--wp-muted);
    font-size: 13px;
}

.wp26-bank-row > em.is-copied {
    color: var(--wp-teal);
}

.wp26-bank-note {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--wp-line-soft);
    color: var(--wp-muted);
    font-size: 11.5px;
    line-height: 1.6;
}

.wp26-page .wp26-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--wp-line) !important;
    border-radius: 11px !important;
    background: var(--wp-panel-2) !important;
    color: var(--wp-text) !important;
    font-size: 12.5px;
    box-shadow: none !important;
}

.wp26-page .wp26-input::placeholder {
    color: var(--wp-muted);
}

.wp26-page .wp26-input:focus {
    border-color: rgba(167, 139, 250, .6) !important;
    outline: 0;
}

.wp26-drop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px dashed rgba(255, 255, 255, .16);
    border-radius: 11px;
    background: rgba(255, 255, 255, .02);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.wp26-drop:hover {
    border-color: rgba(167, 139, 250, .55);
    background: rgba(167, 139, 250, .06);
}

.wp26-drop.has-file {
    border-style: solid;
    border-color: var(--wp-teal);
    background: rgba(45, 212, 191, .07);
}

.wp26-drop input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.wp26-drop > i {
    color: var(--wp-muted);
    font-size: 21px;
    flex-shrink: 0;
}

.wp26-drop.has-file > i {
    color: var(--wp-teal);
}

.wp26-drop span {
    min-width: 0;
    line-height: 1.35;
}

.wp26-drop strong {
    display: block;
    color: var(--wp-text);
    font-size: 12.5px;
    font-weight: 700;
    word-break: break-all;
}

.wp26-drop small {
    color: var(--wp-muted);
    font-size: 10.5px;
}

.wp26-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.wp26-redeem {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

/* ============================ SUBMIT ============================ */

.wp26-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin-top: 16px;
    padding: 14px 20px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(90deg, #ff2d6e, #a855f7 52%, #22d3ee);
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(168, 85, 247, .35);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.wp26-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 14px 32px rgba(168, 85, 247, .48);
}

.wp26-redeem .wp26-submit {
    width: auto;
    margin: 0;
    white-space: nowrap;
}

/* ============================ SIDEBAR ============================ */

.wp26-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.wp26-card-head strong {
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
}

.wp26-orders {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .12) transparent;
}

.wp26-orders::-webkit-scrollbar {
    width: 4px;
}

.wp26-orders::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .12);
    border-radius: 4px;
}

.wp26-order {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid var(--wp-line-soft);
    border-radius: 10px;
    background: var(--wp-panel-2);
    min-width: 0;
}

.wp26-order-ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    color: var(--wp-muted);
    font-size: 15px;
}

.wp26-order-txt {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.wp26-order-txt strong {
    display: block;
    color: #fff;
    font-size: 11.8px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wp26-order-txt small {
    color: var(--wp-muted);
    font-size: 10px;
}

.wp26-badge {
    flex-shrink: 0;
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 9.5px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.wp26-badge.is-pending  { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.wp26-badge.is-approved { background: rgba(45, 212, 191, .16); color: #2dd4bf; }
.wp26-badge.is-rejected { background: rgba(244, 63, 94, .16);  color: #fb7185; }
.wp26-badge.is-redeemed { background: rgba(255, 255, 255, .07); color: var(--wp-muted); }

.wp26-copy {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--wp-line);
    border-radius: 8px;
    background: transparent;
    color: var(--wp-muted);
    cursor: pointer;
}

.wp26-copy:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.wp26-empty {
    display: grid;
    place-items: center;
    gap: 7px;
    padding: 22px 8px;
    color: var(--wp-muted);
    font-size: 11.5px;
    text-align: center;
}

.wp26-empty i {
    font-size: 22px;
    opacity: .6;
}

.wp26-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wp26-trust > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wp-text);
    font-size: 12px;
}

.wp26-trust-ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    font-size: 15px;
}

.wp26-ti-green  { background: rgba(45, 212, 191, .14); color: #2dd4bf; }
.wp26-ti-blue   { background: rgba(59, 130, 246, .14); color: #60a5fa; }
.wp26-ti-purple { background: rgba(167, 139, 250, .14); color: var(--wp-purple); }

.wp26-help p {
    margin: 0 0 14px;
    color: var(--wp-muted);
    font-size: 11.8px;
    line-height: 1.6;
}

.wp26-help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border: 1px solid rgba(167, 139, 250, .45);
    border-radius: 10px;
    background: rgba(167, 139, 250, .1);
    color: var(--wp-purple);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.wp26-help-btn:hover {
    background: rgba(167, 139, 250, .2);
    color: #fff;
}

/* ==========================================================================
   LEGACY OVERRIDES
   whitoo-brand.css forces `a { color: var(--whitoo-red-2) !important }`.
   ========================================================================== */

.wp26-page .wp26-hint {
    color: var(--wp-text) !important;
}

.wp26-page .wp26-submit,
.wp26-page .wp26-submit:hover {
    color: #fff !important;
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1100px) {
    .wp26-page {
        grid-template-columns: minmax(0, 1fr);
    }

    .wp26-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .wp26-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .wp26-status {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .wp26-hero {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        padding: 22px 18px;
    }

    .wp26-hero-art {
        order: -1;
        justify-self: center;
    }

    .wp26-status {
        text-align: center;
    }

    .wp26-sec-head {
        flex-direction: column;
        align-items: stretch;
    }

    .wp26-tabs {
        flex-wrap: wrap;
    }

    .wp26-tabs button {
        flex: 1 1 100%;
    }

    .wp26-two,
    .wp26-redeem {
        grid-template-columns: minmax(0, 1fr);
    }

    .wp26-redeem .wp26-submit {
        width: 100%;
    }

    .wp26-bank-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
}

@media (max-width: 420px) {
    .wp26-plans {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wp26-hero-art img,
    .wp26-w {
        animation: none;
    }
}

/* ==========================================================================
   MOBILE COMPACT — plans stay 2-up; tighter padding.
   ========================================================================== */

@media (max-width: 640px) {
    .wp26-page { --wp-gut: 10px; --wp-gap: 10px; padding-bottom: 24px; }
    .wp26-card { padding: 13px; }
    .wp26-hero { padding: 18px 14px; gap: 10px; }
    .wp26-hero-copy h1 { font-size: clamp(21px, 6.6vw, 28px); }
    .wp26-hero-copy p { font-size: 12px; }
    .wp26-hero-art { height: 96px; }
    .wp26-hero-art img { width: 84px; }

    .wp26-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .wp26-plan-box { padding: 12px 11px 14px; }
    .wp26-plan-top b { font-size: 12px; }
    .wp26-price { font-size: 18px; }
    .wp26-plan-box small { font-size: 10px; }

    .wp26-tabs button { padding: 8px; font-size: 11.5px; }
    .wp26-sec-head h2 { font-size: 14.5px; }
    .wp26-orders { max-height: none; }
    .wp26-submit { padding: 12px 16px; font-size: 12.5px; }
}

/* Small phones: keep two plans per row. */
@media (max-width: 420px) {
    .wp26-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
