/* Hide WordPress/Astra header, footer, and page title on the affiliate storefront */
body.wwamp-storefront header.site-header,
body.wwamp-storefront #masthead,
body.wwamp-storefront .ast-main-header-wrap,
body.wwamp-storefront .main-header-bar-wrap,
body.wwamp-storefront .ast-above-header-wrap,
body.wwamp-storefront .ast-below-header-wrap,
body.wwamp-storefront .ast-header-break-point header,
body.wwamp-storefront footer.site-footer,
body.wwamp-storefront #colophon,
body.wwamp-storefront .site-footer,
body.wwamp-storefront .ast-footer-overlay,
body.wwamp-storefront .entry-header,
body.wwamp-storefront .entry-title,
body.wwamp-storefront h1.page-title,
body.wwamp-storefront .ast-breadcrumbs-wrapper,
body.wwamp-storefront .ast-scroll-to-top-right,
body.wwamp-storefront .ast-builder-grid-row-container.site-header-focus-item,
body.wwamp-storefront .ast-primary-header-bar,
body.wwamp-storefront .ast-desktop-header,
body.wwamp-storefront .ast-mobile-header-wrap,
body.wwamp-storefront .ast-hfb-header,
body.wwamp-storefront #ast-desktop-header,
body.wwamp-storefront #ast-mobile-header {
    display: none !important;
}

body.wwamp-storefront,
body.wwamp-storefront #page,
body.wwamp-storefront #content,
body.wwamp-storefront #primary,
body.wwamp-storefront .site-content,
body.wwamp-storefront .content-area,
body.wwamp-storefront .ast-container,
body.wwamp-storefront .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
    background: #eef2f5 !important;
}

body.wwamp-storefront .site-content {
    min-height: 100vh;
}

.wwamp-app,
.wwamp-shop,
.wwamp-cart,
.wwamp-checkout,
.wwamp-store {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}

.wwamp-app *,
.wwamp-shop *,
.wwamp-store * {
    box-sizing: border-box;
}

.wwamp-app {
    --wwamp-primary: #1d546c;
    --wwamp-primary-dark: #0c2b4e;
    --wwamp-accent: #2a9d8f;
    --wwamp-bg: #eef2f5;
    --wwamp-card: #ffffff;
    --wwamp-border: #dbe3ea;
    --wwamp-muted: #5b6b7c;
    --wwamp-radius: 18px;
    --wwamp-shadow: 0 10px 40px rgba(12, 43, 78, 0.08);
    max-width: none;
    margin: 0;
    padding: 0 0 40px;
    min-height: 100vh;
    background: #eef2f5;
}

.wwamp-app__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 28px;
    margin: 0 0 28px;
    background: #0c2b4e;
    border-radius: 0;
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    position: sticky;
    top: 0;
    z-index: 200;
}

.wwamp-app__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wwamp-app__mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    backdrop-filter: blur(8px);
}

.wwamp-app__eyebrow {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.wwamp-app__name {
    display: block;
    font-size: 1.05rem;
}

.wwamp-app__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wwamp-app__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.92rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s, color 0.2s, transform 0.15s;
    box-shadow: none;
}

.wwamp-app__nav-link:hover,
.wwamp-app__nav-link:focus,
.wwamp-app__nav-link:visited,
.wwamp-app__nav-link:active {
    text-decoration: none !important;
    color: #0c2b4e;
}

.wwamp-app__nav-link:hover,
.wwamp-app__nav-link.is-active {
    background: #fff;
    color: #0c2b4e;
    border-color: #fff;
}

.wwamp-app__nav-link .wwamp-cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f43f5e;
    color: #fff;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wwamp-app__nav-link.is-active .wwamp-cart-count,
.wwamp-app__nav-link:hover .wwamp-cart-count {
    background: #e11d48;
}

.wwamp-app__stage {
    min-height: 280px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.wwamp-app__panel[hidden] {
    display: none !important;
}

.wwamp-shop,
.wwamp-store {
    max-width: none;
    margin: 0;
    padding: 0;
}

.wwamp-shop__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.wwamp-shop__badge {
    display: inline-block;
    background: #e8f4f2;
    color: #0c2b4e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.wwamp-shop__title,
.wwamp-store__title {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.wwamp-shop__subtitle {
    margin: 0;
    color: var(--wwamp-muted, #64748b);
    font-size: 1rem;
    max-width: 540px;
}

.wwamp-shop__nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wwamp-shop__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0c2b4e;
    font-weight: 600;
    text-decoration: none !important;
}

.wwamp-shop__nav-link--cart {
    background: linear-gradient(135deg, #1d546c, #2a9d8f);
    color: #fff;
    border: none;
}

.wwamp-shop__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.wwamp-shop__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.wwamp-shop__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(12, 43, 78, 0.12);
}

.wwamp-shop__card-image {
    position: relative;
    background: linear-gradient(180deg, #e8f4f2, #f8fafb);
}

.wwamp-shop__card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.wwamp-shop__sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #f43f5e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.wwamp-shop__card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wwamp-shop__card-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.wwamp-shop__card-desc {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    flex: 1;
}

.wwamp-shop__price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1d546c;
    margin: 0 0 14px;
}

.wwamp-shop__price-old {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 8px;
}

.wwamp-shop__empty,
.wwamp-store-empty {
    text-align: center;
    padding: 56px 28px;
    background: #fff;
    border-radius: 18px;
    border: 1px dashed #cbd5e1;
}

.wwamp-store-empty__icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.wwamp-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #1d546c, #2a9d8f);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.wwamp-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.wwamp-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.wwamp-btn--secondary {
    background: #fff;
    color: #1d546c !important;
    border: 2px solid #b7cdd8;
    width: auto;
}

.wwamp-btn--lg {
    padding: 14px 22px;
    font-size: 1rem;
}

.wwamp-btn--link {
    display: block;
    text-align: center;
    margin-top: 12px;
    background: transparent;
    color: #1d546c !important;
    border: none;
    font-weight: 600;
}

.wwamp-shop-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    padding: 14px 22px;
    background: #0f172a;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s;
    pointer-events: none;
}

.wwamp-shop-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wwamp-homepage-content {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.wwamp-store-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.wwamp-store-header__home {
    font-weight: 800;
    color: #1d546c;
    text-decoration: none;
}

.wwamp-store-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #64748b;
}

.wwamp-store-step {
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
}

.wwamp-store-step.is-active {
    background: #e8f4f2;
    color: #0c2b4e;
}

.wwamp-cart-layout {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 340px);
    gap: 28px;
    align-items: start;
}

.wwamp-cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wwamp-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.wwamp-cart-item__thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #e8f4f2;
}

.wwamp-cart-item__thumb img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
}

.wwamp-cart-item__name {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
}

.wwamp-cart-item__unit {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: #64748b;
}

.wwamp-cart-item__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.wwamp-qty-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.wwamp-cart-qty {
    width: 64px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
}

.wwamp-cart-remove {
    background: none;
    border: none;
    color: #dc2626;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.875rem;
}

.wwamp-cart-item__total {
    align-self: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1d546c;
}

.wwamp-cart-summary,
.wwamp-checkout-order,
.wwamp-checkout-payment {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.wwamp-cart-summary {
    position: sticky;
    top: 24px;
}

.wwamp-cart-summary h3,
.wwamp-checkout-billing h2,
.wwamp-checkout-order h2,
.wwamp-checkout-payment h2 {
    margin: 0 0 16px;
    font-size: 1.15rem;
}

.wwamp-cart-summary__row,
.wwamp-checkout-order__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #475569;
}

.wwamp-cart-summary__row--total,
.wwamp-checkout-order__row--total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    font-size: 1.05rem;
    color: #0f172a;
}

.wwamp-coupon-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wwamp-coupon-row input {
    flex: 1;
}

.wwamp-coupon-message {
    margin: 6px 0 0;
    font-size: 13px;
    min-height: 18px;
}

.wwamp-coupon-message.is-error {
    color: #b91c1c;
}

.wwamp-coupon-message.is-success {
    color: #047857;
}

.wwamp-checkout-order__row--discount {
    color: #047857;
}

.wwamp-btn--secondary {
    background: #e8f4f2;
    color: #0c2b4e;
    border: 1px solid #b7cdd8;
}

.wwamp-cart-summary__row--discount {
    color: #059669;
}

.wwamp-cart-summary__note {
    font-size: 0.8rem;
    color: #64748b;
    margin: 12px 0 18px;
    line-height: 1.45;
}

.wwamp-checkout-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.wwamp-checkout-billing {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.wwamp-field {
    margin-bottom: 16px;
}

.wwamp-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
}

.wwamp-field .required {
    color: #dc2626;
}

.wwamp-field input,
.wwamp-field textarea,
.wwamp-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
}

.wwamp-field input:focus,
.wwamp-field textarea:focus {
    outline: none;
    border-color: #1d546c;
    box-shadow: 0 0 0 3px rgba(29, 84, 108, 0.15);
}

.wwamp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wwamp-checkout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wwamp-checkout-order__list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.wwamp-checkout-order__item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.wwamp-checkout-order__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: #e8f4f2;
    flex-shrink: 0;
}

.wwamp-checkout-order__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wwamp-checkout-order__name {
    font-weight: 600;
    font-size: 0.9rem;
}

.wwamp-checkout-order__qty {
    font-size: 0.8rem;
    color: #64748b;
}

.wwamp-checkout-order__price {
    font-weight: 700;
    color: #1d546c;
    white-space: nowrap;
}

.wwamp-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.wwamp-payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
}

.wwamp-payment-method:has(input:checked) {
    border-color: #1d546c;
    background: #e8f4f2;
}

.wwamp-checkout-success {
    text-align: center;
    padding: 56px 28px;
    background: linear-gradient(180deg, #ecfdf5, #fff);
    border: 1px solid #a7f3d0;
    border-radius: 18px;
}

.wwamp-checkout-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #10b981;
    color: #fff;
    font-size: 2rem;
    line-height: 64px;
    border-radius: 50%;
    font-weight: 700;
}

.wwamp-checkout-message {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #64748b;
}

.wwamp-checkout-error {
    color: #dc2626;
    font-size: 0.9rem;
}

.wwamp-app .front-affiliate-plugin-login-container,
.wwamp-app .front-affiliate-plugin-page-container {
    min-height: auto !important;
    padding: 32px 24px 40px !important;
    background: linear-gradient(135deg, #0c2b4e 0%, #1d546c 55%, #2a7a8c 100%) !important;
    background-image: linear-gradient(135deg, #0c2b4e 0%, #1d546c 55%, #2a7a8c 100%) !important;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(12, 43, 78, 0.18);
}

.wwamp-app .front-affiliate-plugin-login-overlay,
.wwamp-app .front-affiliate-plugin-page-overlay {
    display: none !important;
}

.wwamp-app .front-affiliate-plugin-page-content {
    max-width: 860px;
    margin: 0 auto;
}

.wwamp-app .front-affiliate-plugin-page-title,
.wwamp-app .front-affiliate-plugin-page-benefits-title,
.wwamp-app .front-affiliate-plugin-page-benefit-heading {
    color: #fff !important;
}

.wwamp-app .front-affiliate-plugin-page-benefit-description {
    color: rgba(255, 255, 255, 0.92) !important;
}

.wwamp-app .front-affiliate-plugin-page-benefits {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.wwamp-app .front-affiliate-plugin-page-benefit-item {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.wwamp-app .front-affiliate-plugin-page-cta-btn {
    background: #2a9d8f !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.35) !important;
}

.wwamp-app .front-affiliate-plugin-page-cta-btn:hover {
    background: #238b7e !important;
    transform: translateY(-2px);
}

.wwamp-app .front-affiliate-plugin-auth-message {
    max-width: 860px;
    margin: 0 auto 16px !important;
}

.wwamp-app .front-affiliate-plugin-auth-message.is-success {
    background: rgba(209, 250, 229, 0.95);
    color: #047857;
    border: 1px solid #a7f3d0;
}

.wwamp-app .front-affiliate-plugin-auth-message.is-error {
    background: rgba(254, 226, 226, 0.95);
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.wwamp-app .front-affiliate-plugin-auth-message.is-visible {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
}

.wwamp-app .front-affiliate-plugin-login-card {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e2e8f0;
}

.wwamp-app .front-affiliate-plugin-container {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-height: calc(100vh - 88px);
    gap: 20px;
}

.wwamp-app .front-affiliate-plugin-sidebar {
    background: #0c2b4e !important;
    border-radius: 18px !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.wwamp-app .front-affiliate-plugin-menu-item,
.wwamp-app .front-affiliate-plugin-menu-item a {
    text-decoration: none !important;
    border-bottom: none !important;
}

.wwamp-app .front-affiliate-plugin-menu-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.wwamp-app .front-affiliate-plugin-menu-item.active {
    background: #1d546c !important;
    color: #fff !important;
    box-shadow: none !important;
}

.wwamp-app .front-affiliate-plugin-main-content {
    background: #fff !important;
    border: 1px solid #dbe3ea !important;
    border-radius: 18px !important;
    margin: 0 !important;
    box-shadow: 0 10px 30px rgba(12, 43, 78, 0.06) !important;
}

.wwamp-app .front-affiliate-plugin-content-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.03em;
}

.wwamp-app .front-affiliate-plugin-overview-cards {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}

.wwamp-app .front-affiliate-plugin-overview-card,
.wwamp-app .front-affiliate-plugin-table-container,
.wwamp-app .front-affiliate-plugin-referral-block {
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(12, 43, 78, 0.06) !important;
    border: 1px solid #dbe3ea;
}

.wwamp-app .front-affiliate-plugin-overview-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 138px !important;
    padding: 18px !important;
}

.wwamp-app .front-affiliate-plugin-card-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.wwamp-app .front-affiliate-plugin-card-value {
    color: #0c2b4e !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    line-height: 1.15 !important;
}

.wwamp-app .front-affiliate-plugin-table th {
    background: #0c2b4e !important;
    color: #fff !important;
}

.wwamp-app .front-affiliate-plugin-user-avatar,
.wwamp-app .front-affiliate-plugin-close-sidebar {
    background: #1d546c !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .wwamp-app {
        padding: 0 0 24px;
    }

    .wwamp-app__bar {
        padding: 12px 14px;
        border-radius: 0;
    }

    .wwamp-app__nav {
        width: 100%;
    }

    .wwamp-app__nav-link {
        flex: 1;
        justify-content: center;
    }

    .wwamp-cart-layout,
    .wwamp-checkout-layout,
    .wwamp-field-row {
        grid-template-columns: 1fr;
    }

    .wwamp-cart-item {
        grid-template-columns: 80px 1fr;
    }

    .wwamp-cart-item__total {
        grid-column: 1 / -1;
        text-align: right;
    }

    .wwamp-cart-summary {
        position: static;
    }

    .wwamp-app .front-affiliate-plugin-overview-cards {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 1100px) {
    .wwamp-app .front-affiliate-plugin-overview-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Theme themes (Astra etc.) underline .entry-content links — kill that in the app chrome */
body.wwamp-storefront .wwamp-app a,
body.wwamp-storefront .wwamp-app a:hover,
body.wwamp-storefront .wwamp-app a:focus,
body.wwamp-storefront .wwamp-app a:visited,
body.wwamp-storefront .wwamp-app a:active,
body.wwamp-storefront .entry-content .wwamp-app a,
body.wwamp-storefront .front-affiliate-plugin-menu-item {
    text-decoration: none !important;
    border-bottom: none !important;
}

body.wwamp-storefront .entry-content a.wwamp-app__nav-link,
body.wwamp-storefront .wwamp-app a.wwamp-app__nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

body.wwamp-storefront .entry-content a.wwamp-app__nav-link:hover,
body.wwamp-storefront .entry-content a.wwamp-app__nav-link:focus,
body.wwamp-storefront .entry-content a.wwamp-app__nav-link.is-active,
body.wwamp-storefront .wwamp-app a.wwamp-app__nav-link:hover,
body.wwamp-storefront .wwamp-app a.wwamp-app__nav-link:focus,
body.wwamp-storefront .wwamp-app a.wwamp-app__nav-link.is-active {
    background: #fff !important;
    color: #0c2b4e !important;
    text-decoration: none !important;
}
