.wyw-app [hidden] {
    display: none !important;
}

/* Keep the purchase actions visible when the app bypasses the theme layout. */
.wyw-app a.checkout-button,
.wyw-app #place_order,
.wyw-app .wc-block-cart__submit-button,
.wyw-app .wc-block-components-checkout-place-order-button {
    appearance: none;
    -webkit-appearance: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 56px;
    height: auto;
    margin: 16px 0 24px !important;
    padding: 16px 20px !important;
    border: 2px solid #0759cf !important;
    border-radius: 8px !important;
    background: #0759cf !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    opacity: 1;
    visibility: visible;
    cursor: pointer;
}

.wyw-app .wc-block-cart__submit-button .wc-block-components-button__text,
.wyw-app .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

.wyw-app a.checkout-button:hover,
.wyw-app #place_order:hover,
.wyw-app .wc-block-cart__submit-button:hover,
.wyw-app .wc-block-components-checkout-place-order-button:hover {
    background: #0649ab !important;
    border-color: #0649ab !important;
}

.wyw-app a.checkout-button:focus-visible,
.wyw-app #place_order:focus-visible,
.wyw-app .wc-block-cart__submit-button:focus-visible,
.wyw-app .wc-block-components-checkout-place-order-button:focus-visible {
    outline: 3px solid #11243d !important;
    outline-offset: 3px;
}

.wyw-app #place_order:disabled,
.wyw-app #place_order[aria-disabled="true"],
.wyw-app .wc-block-cart__submit-button[aria-disabled="true"],
.wyw-app .wc-block-cart__submit-button:disabled,
.wyw-app .wc-block-components-checkout-place-order-button:disabled,
.wyw-app .wc-block-components-checkout-place-order-button[aria-disabled="true"] {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    cursor: not-allowed;
}

.wyw-app__home-card {
    min-width: 0;
}

.wyw-app__home-card h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}

.wyw-app__home-card .wyw2u-all-cards > h2,
.wyw-app__home-card .wyw2u-all-cards > p,
.wyw-app__home-card .wyw2u-print-wrap {
    display: none;
}

.wyw-app__home-card .wyw-app__embedded {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0;
}

.wyw-app__home-card .wyw2u-card {
    margin: 0 auto;
}

.wyw-app-native-page {
    background: #f7fbff;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.wyw-app-native-page #wpadminbar {
    display: none;
}

.wyw-app-native-page .wyw-app {
    min-height: 100svh;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
}

.wyw-app-return-notice {
    background: #eaf3ff;
    border: 1px solid rgba(15, 107, 255, 0.18);
    border-radius: 10px;
    margin: 0 0 16px;
    padding: 12px 14px;
}

.wyw-app-return-notice a {
    color: #0f6bff;
    font-weight: 800;
    text-decoration: none;
}

.wyw-app {
    --wyw-radius: 20px;
    --wyw-shadow: 0 22px 70px rgba(15, 55, 115, 0.14);
    background:
        radial-gradient(circle at 10% -5%, rgba(0, 180, 216, 0.18), transparent 34%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #eef7ff 100%);
    color: #11243d;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    padding: 18px;
}

.wyw-app * {
    box-sizing: border-box;
}

.wyw-app__commerce {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wyw-app__commerce img {
    max-width: 100%;
    height: auto;
}

.wyw-app__commerce input:not([type="checkbox"]):not([type="radio"]),
.wyw-app__commerce select,
.wyw-app__commerce textarea {
    max-width: 100%;
}

.wyw-app a {
    color: inherit;
    text-decoration: none;
}

.wyw-app__shell {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
}

.wyw-app__topbar,
.wyw-app__status,
.wyw-app__staff {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 107, 255, 0.1);
    border-radius: var(--wyw-radius);
    box-shadow: var(--wyw-shadow);
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.wyw-app__topbar {
    padding: 12px;
    position: sticky;
    top: 10px;
    z-index: 5;
}

.wyw-app__brand {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.wyw-app__brand img {
    border-radius: 8px;
    display: block;
    flex: 0 0 auto;
    height: 40px;
    object-fit: contain;
    object-position: left center;
    width: clamp(56px, 18vw, 92px);
}

.wyw-app__brand strong,
.wyw-app__brand span {
    display: block;
    line-height: 1.2;
}

.wyw-app__brand strong {
    font-size: 1rem;
}

.wyw-app__brand span {
    color: #61708a;
    font-size: 0.78rem;
    margin-top: 2px;
}

.wyw-app__install,
.wyw-app__button {
    align-items: center;
    background: var(--wyw-theme);
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 0 18px;
    white-space: nowrap;
}

.wyw-app__top-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.wyw-app__mini-link {
    background: #eaf3ff;
    border-radius: 999px;
    color: var(--wyw-theme);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    min-height: 38px;
    padding: 10px 14px;
}

.wyw-app__button--ghost {
    background: #eaf3ff;
    color: var(--wyw-theme);
}

.wyw-app__main {
    display: grid;
    gap: 16px;
    padding: 18px 0 26px;
}

.wyw-app__hero {
    background:
        linear-gradient(135deg, rgba(15, 107, 255, 0.94), rgba(0, 180, 216, 0.86)),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.32), transparent 28%);
    border-radius: 28px;
    box-shadow: var(--wyw-shadow);
    color: #ffffff;
    min-height: 220px;
    overflow: hidden;
    padding: 28px;
    position: relative;
}

.wyw-app__hero::after {
    background:
        linear-gradient(135deg, transparent 0 44%, rgba(255, 255, 255, 0.2) 45% 48%, transparent 49%),
        linear-gradient(45deg, transparent 0 42%, rgba(255, 255, 255, 0.16) 43% 46%, transparent 47%);
    content: "";
    inset: 0;
    opacity: 0.7;
    position: absolute;
}

.wyw-app__hero > * {
    position: relative;
    z-index: 1;
}

.wyw-app__eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.wyw-app__hero h1 {
    color: inherit;
    font-size: clamp(2rem, 6vw, 3.4rem);
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0 0 14px;
    max-width: 12ch;
}

.wyw-app__hero p:last-child {
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
    max-width: 34rem;
}

.wyw-app__status,
.wyw-app__staff {
    padding: 18px;
}

.wyw-app__status--account {
    align-items: center;
}

.wyw-app__screen-head {
    align-items: center;
    display: flex;
    gap: 12px;
}

.wyw-app__screen-head a {
    background: #eaf3ff;
    border-radius: 999px;
    color: var(--wyw-theme);
    flex: 0 0 auto;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 10px 14px;
}

.wyw-app__screen-head h1 {
    color: #11243d;
    font-size: 1.45rem;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0;
}

.wyw-app__panel,
.wyw-app__embedded {
    background: #ffffff;
    border: 1px solid rgba(15, 107, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 14px 42px rgba(15, 55, 115, 0.08);
    min-width: 0;
    padding: 18px;
}

.wyw-app__panel h2,
.wyw-app__embedded h1,
.wyw-app__embedded h2,
.wyw-app__embedded h3 {
    color: #11243d;
    letter-spacing: 0;
}

.wyw-app__panel h2 {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.wyw-app__panel p {
    color: #5f6f86;
    line-height: 1.5;
    margin: 0 0 14px;
}

.wyw-app__form {
    display: grid;
    gap: 12px;
}

.wyw-app__form label {
    display: grid;
    gap: 6px;
}

.wyw-app__form label span {
    color: #40516e;
    font-size: 0.9rem;
    font-weight: 800;
}

.wyw-app__form input[type="text"],
.wyw-app__form input[type="email"],
.wyw-app__form input[type="password"] {
    background: #f7fbff;
    border: 1px solid rgba(15, 107, 255, 0.16);
    border-radius: 14px;
    color: #11243d;
    font: inherit;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

.wyw-app__check {
    align-items: center;
    display: flex !important;
    gap: 9px !important;
}

.wyw-app__switch {
    color: #5f6f86;
    font-size: 0.92rem;
    margin: 14px 0 0;
}

.wyw-app__switch a {
    color: var(--wyw-theme);
    font-weight: 800;
}

.wyw-app__message {
    border-radius: 14px;
    font-weight: 800;
    line-height: 1.4;
    padding: 13px 15px;
}

.wyw-app__message--error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.wyw-app__message--notice {
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    color: #155e75;
}

.wyw-app__embedded {
    overflow: hidden;
}

.wyw-app__wywpro {
    padding: 12px;
}

.wyw-app__wywpro > *:first-child {
    margin-top: 0 !important;
}

.wyw-app__wywpro > *:last-child {
    margin-bottom: 0 !important;
}

.wyw-app__embedded img,
.wyw-app__embedded canvas,
.wyw-app__embedded video,
.wyw-app__embedded iframe {
    max-width: 100%;
}

.wyw-app__embedded table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.wyw-app__status > div:first-child,
.wyw-app__staff > div:first-child {
    min-width: 0;
}

.wyw-app__status-label {
    color: var(--wyw-theme);
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.wyw-app__status strong {
    display: block;
    font-size: 1.18rem;
}

.wyw-app__status p {
    color: #5f6f86;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 5px 0 0;
}

.wyw-app__status-actions,
.wyw-app__staff-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.wyw-app__grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wyw-app__tile,
.wyw-app__package,
.wyw-app__branch {
    background: #ffffff;
    border: 1px solid rgba(15, 107, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(15, 55, 115, 0.08);
    display: block;
    min-width: 0;
}

.wyw-app__tile {
    min-height: 116px;
    padding: 18px;
}

.wyw-app__tile--primary {
    background: linear-gradient(135deg, var(--wyw-theme), #004fc6);
    color: #ffffff;
}

.wyw-app__tile span,
.wyw-app__tile small {
    display: block;
}

.wyw-app__tile span {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.wyw-app__tile small {
    color: #6a7890;
    font-size: 0.82rem;
    line-height: 1.35;
    margin-top: 8px;
}

.wyw-app__tile--primary small {
    color: rgba(255, 255, 255, 0.82);
}

.wyw-app__section-title {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 2px 2px 10px;
}

.wyw-app__section-title h2 {
    color: #11243d;
    font-size: 1.12rem;
    letter-spacing: 0;
    margin: 0;
}

.wyw-app__section-title a,
.wyw-app__section-title span {
    color: var(--wyw-theme);
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.wyw-app__package-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wyw-app__product-panel {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.wyw-app__package {
    min-height: 155px;
    padding: 18px;
}

.wyw-app__package span,
.wyw-app__package strong,
.wyw-app__package small,
.wyw-app__package em {
    display: block;
}

.wyw-app__package span {
    color: var(--wyw-theme);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.wyw-app__package strong {
    color: #11243d;
    font-size: 1.8rem;
    letter-spacing: 0;
    line-height: 1;
    margin: 10px 0 8px;
}

.wyw-app__package small {
    color: #455672;
    font-size: 0.93rem;
    font-weight: 800;
}

.wyw-app__package em {
    color: #6a7890;
    font-size: 0.8rem;
    font-style: normal;
    line-height: 1.35;
    margin-top: 7px;
}

.wyw-app__branch-list {
    display: grid;
    gap: 10px;
}

.wyw-app__branch {
    padding: 16px 18px;
}

.wyw-app__branch strong,
.wyw-app__branch span {
    display: block;
}

.wyw-app__branch strong {
    font-size: 1rem;
}

.wyw-app__branch span {
    color: #66758d;
    font-size: 0.86rem;
    margin-top: 4px;
}

.wyw-app__history-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 14px 0;
}

.wyw-app__history-summary div {
    background: #f7fbff;
    border: 1px solid rgba(15, 107, 255, 0.12);
    border-radius: 14px;
    padding: 13px;
}

.wyw-app__history-summary span,
.wyw-app__history-list span {
    color: #64748b;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wyw-app__history-summary strong {
    display: block;
    font-size: 1.08rem;
    margin-top: 5px;
}

.wyw-app__history-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.wyw-app__history-list li {
    background: #f7fbff;
    border: 1px solid rgba(15, 107, 255, 0.1);
    border-radius: 14px;
    padding: 14px;
}

.wyw-app__history-list strong {
    display: block;
    font-size: 1rem;
}

.wyw-app__history-list p {
    color: #52627a;
    margin: 7px 0 0;
}

.wyw-app__footer {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 6px;
    justify-content: center;
    padding: 8px 0 0;
}

.wyw-app__footer a {
    color: var(--wyw-theme);
    font-weight: 800;
}

.wyw-app__ios-hint {
    background: rgba(17, 36, 61, 0.94);
    border-radius: 16px;
    bottom: 18px;
    color: #ffffff;
    font-size: 0.92rem;
    left: 18px;
    line-height: 1.4;
    padding: 14px 16px;
    position: fixed;
    right: 18px;
    z-index: 20;
}

/* Match the live WYW Malaysia site: black canvas, white type, green accents. */
.wyw-app-native-page {
    background: #000000;
}

.wyw-app {
    --wyw-theme: #16a34a;
    --wyw-theme-strong: #21c55d;
    --wyw-panel: rgba(2, 22, 10, 0.92);
    --wyw-panel-border: rgba(33, 197, 93, 0.28);
    --wyw-muted: #b7c2bd;
    --wyw-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
    background:
        radial-gradient(circle at 85% 2%, rgba(0, 160, 255, 0.16), transparent 30%),
        radial-gradient(circle at 6% 18%, rgba(33, 197, 93, 0.15), transparent 26%),
        linear-gradient(180deg, #000000 0%, #020806 48%, #000000 100%);
    color: #ffffff;
}

.wyw-app a {
    color: inherit;
}

.wyw-app__topbar,
.wyw-app__status,
.wyw-app__staff,
.wyw-app__panel,
.wyw-app__embedded,
.wyw-app__tile,
.wyw-app__package,
.wyw-app__branch,
.wyw-app__history-summary div,
.wyw-app__history-list li {
    background: var(--wyw-panel);
    border-color: var(--wyw-panel-border);
    box-shadow: var(--wyw-shadow);
    color: #ffffff;
}

.wyw-app__topbar {
    backdrop-filter: blur(16px);
}

.wyw-app__brand img {
    filter: drop-shadow(0 0 16px rgba(0, 174, 255, 0.42));
}

.wyw-app__brand span,
.wyw-app__status p,
.wyw-app__panel p,
.wyw-app__tile small,
.wyw-app__package em,
.wyw-app__branch span,
.wyw-app__history-list p,
.wyw-app__footer,
.wyw-app__switch {
    color: var(--wyw-muted);
}

.wyw-app__brand strong,
.wyw-app__screen-head h1,
.wyw-app__section-title h2,
.wyw-app__panel h2,
.wyw-app__embedded h1,
.wyw-app__embedded h2,
.wyw-app__embedded h3,
.wyw-app__package strong {
    color: #ffffff;
}

.wyw-app__install,
.wyw-app__button,
.wyw-app__tile--primary {
    background: linear-gradient(135deg, #0f8f3a, #21c55d);
    color: #ffffff;
}

.wyw-app__button--ghost,
.wyw-app__mini-link,
.wyw-app__screen-head a {
    background: rgba(33, 197, 93, 0.08);
    border: 1px solid rgba(33, 197, 93, 0.42);
    color: #6ee7a4;
}

.wyw-app__section-title a,
.wyw-app__section-title span,
.wyw-app__status-label,
.wyw-app__package span,
.wyw-app__footer a,
.wyw-app__switch a {
    color: #6ee7a4;
}

.wyw-app__tile--primary small {
    color: rgba(255, 255, 255, 0.84);
}

.wyw-app__form input[type="text"],
.wyw-app__form input[type="email"],
.wyw-app__form input[type="password"],
.wyw-app__commerce input:not([type="checkbox"]):not([type="radio"]),
.wyw-app__commerce select,
.wyw-app__commerce textarea {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(33, 197, 93, 0.45);
    color: #07130d;
}

.wyw-app a.checkout-button,
.wyw-app #place_order,
.wyw-app .wc-block-cart__submit-button,
.wyw-app .wc-block-components-checkout-place-order-button {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.wyw-app a.checkout-button:hover,
.wyw-app #place_order:hover,
.wyw-app .wc-block-cart__submit-button:hover,
.wyw-app .wc-block-components-checkout-place-order-button:hover {
    background: #12813c !important;
    border-color: #12813c !important;
}

.wyw-app a.checkout-button:focus-visible,
.wyw-app #place_order:focus-visible,
.wyw-app .wc-block-cart__submit-button:focus-visible,
.wyw-app .wc-block-components-checkout-place-order-button:focus-visible {
    outline-color: #6ee7a4 !important;
}

/* WYW Membership 5.2.10 Quick Wash payment/automatic QR state. */
.wyw-app .wyw-quick-checkout,
.wyw-app .wyw-quick-payment-status {
    background: linear-gradient(145deg, #07110b, #0c2115) !important;
    border: 1px solid rgba(33, 197, 93, 0.38) !important;
    border-radius: 18px !important;
    color: #d8e5dd !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.wyw-app .wyw-quick-checkout h2,
.wyw-app .wyw-quick-payment-status h2 {
    color: #ffffff !important;
}

.wyw-app .wyw-quick-payment-status [role="status"] {
    color: #b8c7be !important;
}

.wyw-app .wyw-quick-payment-status img {
    background: #ffffff;
    border-radius: 14px;
    height: auto;
    max-width: 100%;
    padding: 10px;
}

@media (max-width: 620px) {
    .wyw-app {
        padding: 10px;
    }

    .wyw-app__topbar {
        top: 6px;
    }

    .wyw-app__hero {
        border-radius: 24px;
        min-height: 205px;
        padding: 24px;
    }

    .wyw-app__status,
    .wyw-app__staff {
        align-items: stretch;
        flex-direction: column;
    }

    .wyw-app__topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .wyw-app__top-actions {
        justify-content: space-between;
    }

    .wyw-app__status-actions,
    .wyw-app__staff-actions {
        justify-content: stretch;
    }

    .wyw-app__history-summary {
        grid-template-columns: 1fr;
    }

    .wyw-app__button {
        flex: 1 1 auto;
    }
}

@media (max-width: 420px) {
    .wyw-app__grid,
    .wyw-app__package-list {
        grid-template-columns: 1fr;
    }

    .wyw-app__tile,
    .wyw-app__package {
        min-height: auto;
    }
}
