/*
 * AweCommerce front-end styles. Scoped under `.awc-frontend` so we
 * never leak into other parts of the theme.
 *
 * Print + minimal — themes will override most of this. We optimise
 * for "looks reasonable on a clean theme without any work".
 */
.awc-frontend { font-family: inherit; color: inherit; }
.awc-frontend * { box-sizing: border-box; }

.awc-frontend .awc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 0 0 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.awc-frontend .awc-muted { color: #6b7280; font-size: 13px; }

.awc-frontend .awc-cart-icon-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    position: relative;
    text-decoration: none;
    width: max-content;
}
.awc-frontend .awc-cart-icon-link:hover,
.awc-frontend .awc-cart-icon-link:focus-visible {
    border-color: #9ca3af;
    color: #111827;
}
.awc-frontend .awc-cart-icon-link[hidden] {
    display: none;
}
.awc-frontend .awc-cart-icon-glyph {
    display: inline-flex;
    height: 22px;
    width: 22px;
}
.awc-frontend .awc-cart-icon-glyph svg {
    fill: currentColor;
    height: 22px;
    width: 22px;
}
.awc-frontend .awc-cart-icon-badge {
    align-items: center;
    background: #111827;
    border: 2px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 20px;
    min-width: 20px;
    padding: 2px 5px;
    position: absolute;
    right: -8px;
    top: -8px;
}
.awc-frontend .awc-cart-icon-link.is-empty .awc-cart-icon-badge {
    background: #6b7280;
}

.awc-block-preview .awc-frontend a,
.awc-block-preview .awc-frontend button,
.awc-block-preview .awc-frontend input,
.awc-block-preview .awc-frontend select,
.awc-block-preview .awc-frontend textarea,
.awc-block-preview .awc-frontend label,
.awc-block-preview .awc-frontend summary,
.awc-block-preview .awc-frontend [role="button"],
.awc-block-preview .awc-frontend [tabindex] {
    pointer-events: none !important;
}

.awc-frontend .awc-shop-controls {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    margin: 0 0 18px;
}
.awc-frontend .awc-shop-controls.has-search.has-sort {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, max-content);
}
.awc-frontend .awc-shop-controls.has-search.has-category {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, max-content);
}
.awc-frontend .awc-shop-controls.has-search.has-count {
    grid-template-columns: minmax(180px, 1fr) max-content;
}
.awc-frontend .awc-shop-controls.has-category.has-sort {
    grid-template-columns: minmax(160px, max-content) minmax(160px, max-content);
}
.awc-frontend .awc-shop-controls.has-category.has-count {
    grid-template-columns: minmax(160px, max-content) max-content;
}
.awc-frontend .awc-shop-controls.has-sort.has-count {
    grid-template-columns: minmax(160px, max-content) max-content;
}
.awc-frontend .awc-shop-controls.has-search.has-category.has-count {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, max-content) max-content;
}
.awc-frontend .awc-shop-controls.has-search.has-category.has-sort {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, max-content) minmax(160px, max-content);
}
.awc-frontend .awc-shop-controls.has-search.has-sort.has-count {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, max-content) max-content;
}
.awc-frontend .awc-shop-controls.has-category.has-sort.has-count {
    grid-template-columns: minmax(160px, max-content) minmax(160px, max-content) max-content;
}
.awc-frontend .awc-shop-controls.has-search.has-category.has-sort.has-count {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, max-content) minmax(160px, max-content) max-content;
}
.awc-frontend .awc-shop-controls input,
.awc-frontend .awc-shop-controls select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    min-height: 40px;
    padding: 8px 10px;
    width: 100%;
}
.awc-frontend .awc-shop-controls input:focus,
.awc-frontend .awc-shop-controls select:focus {
    border-color: #2563eb;
    outline: 2px solid #bfdbfe;
}
.awc-frontend .awc-shop-apply {
    align-items: center;
    background: #111827;
    border: 1px solid #111827;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
}
.awc-frontend .awc-shop-count {
    align-self: center;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.awc-frontend .awc-shop-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 0 0 24px;
}
.awc-frontend .awc-shop-page-link,
.awc-frontend .awc-shop-page-ellipsis {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    min-height: 36px;
    min-width: 36px;
    padding: 6px 10px;
}
.awc-frontend .awc-shop-page-link {
    border: 1px solid #d1d5db;
    color: #111827;
    text-decoration: none;
}
.awc-frontend .awc-shop-page-link:hover,
.awc-frontend .awc-shop-page-link:focus {
    border-color: #2563eb;
    color: #1d4ed8;
}
.awc-frontend .awc-shop-page-link.is-current {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}
.awc-frontend .awc-shop-page-link.is-disabled {
    color: #9ca3af;
}
.awc-frontend .awc-shop-page-ellipsis {
    color: #6b7280;
    min-width: 20px;
}

.awc-frontend .awc-pricing-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 24px;
}
.awc-frontend .awc-shop-columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.awc-frontend .awc-shop-columns-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.awc-frontend .awc-pricing-tier {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 14px;
    text-align: left;
}
.awc-frontend [data-awc-shop-card][hidden] {
    display: none !important;
}
.awc-frontend .awc-pricing-image-link {
    color: inherit;
    display: block;
    text-decoration: none;
}
.awc-frontend .awc-pricing-image {
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    border-radius: 6px;
    display: block;
    overflow: hidden;
    width: 100%;
}
.awc-frontend .awc-pricing-image img,
.awc-frontend .awc-pricing-image-img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.awc-frontend .awc-pricing-image-placeholder {
    background: linear-gradient(135deg, #f8fafc, #e5e7eb);
    display: block;
    height: 100%;
    width: 100%;
}
.awc-frontend .awc-product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}
.awc-frontend .awc-product-category {
    align-items: center;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    color: #3730a3;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    padding: 4px 8px;
    text-decoration: none;
}
.awc-frontend a.awc-product-category:hover,
.awc-frontend a.awc-product-category:focus {
    background: #e0e7ff;
    color: #312e81;
}
.awc-frontend .awc-pricing-tier h2 {
    margin: 0;
    text-align: center;
}
.awc-frontend .awc-pricing-title a,
.awc-frontend .awc-pricing-description-link {
    color: inherit;
    text-decoration: none;
}
.awc-frontend .awc-pricing-title a:hover,
.awc-frontend .awc-pricing-description-link:hover {
    text-decoration: underline;
}
.awc-frontend .awc-pricing-price {
    align-items: baseline;
    display: flex;
    gap: 6px;
    min-height: 42px;
}
.awc-frontend .awc-pricing-price strong {
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}
.awc-frontend .awc-pricing-price span {
    color: #6b7280;
    font-size: 13px;
}
.awc-frontend .awc-pricing-price .awc-price-trial,
.awc-frontend .awc-pricing-price .awc-price-setup-fee,
.awc-frontend .awc-price-select-field .awc-price-trial,
.awc-frontend .awc-price-select-field .awc-price-setup-fee {
    color: #1d4ed8;
    font-weight: 600;
}
.awc-frontend .awc-price-select-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    text-align: left;
}
.awc-frontend .awc-price-select-field span {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}
.awc-frontend .awc-price-select-field select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    padding: 9px 10px;
}
.awc-frontend .awc-price-select-field select:focus {
    border-color: #2563eb;
    outline: 2px solid #bfdbfe;
}
.awc-frontend .awc-pricing-actions {
    margin-top: auto;
}
.awc-frontend .awc-pricing-actions .awc-cta {
    justify-content: center;
    width: 100%;
}

@media (max-width: 860px) {
    .awc-frontend .awc-shop-controls {
        grid-template-columns: 1fr 1fr;
    }
    .awc-frontend .awc-shop-columns-3,
    .awc-frontend .awc-shop-columns-4,
    .awc-frontend .awc-shop-columns-5,
    .awc-frontend .awc-shop-columns-6,
    .awc-frontend .awc-shop-columns-7,
    .awc-frontend .awc-shop-columns-8,
    .awc-frontend .awc-shop-columns-9,
    .awc-frontend .awc-shop-columns-10 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .awc-frontend .awc-shop-controls {
        grid-template-columns: 1fr;
    }
    .awc-frontend .awc-shop-apply {
        width: 100%;
    }
    .awc-frontend .awc-pricing-grid {
        grid-template-columns: 1fr;
    }
}

.awc-purchase .awc-purchase-options {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
    margin: 18px 0;
    background: #ffffff;
}
.awc-purchase .awc-purchase-options fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 14px;
}
.awc-purchase .awc-purchase-options legend {
    font-weight: 700;
    margin: 0 0 10px;
    color: #1f2937;
}
.awc-purchase .awc-price-choice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    margin: 0 0 8px;
    cursor: pointer;
}
.awc-purchase .awc-price-choice:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}
.awc-purchase .awc-price-choice small {
    display: block;
    margin-top: 3px;
    color: #6b7280;
}
.awc-frontend .awc-price-choice .awc-price-trial,
.awc-frontend .awc-price-choice .awc-price-setup-fee {
    color: #1d4ed8;
    font-weight: 600;
}
.awc-frontend .awc-product-checkout { margin-top: 18px; }

.awc-frontend .awc-cta {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    text-decoration: none;
}
.awc-frontend .awc-cta[disabled] { opacity: 0.5; cursor: not-allowed; }
.awc-frontend .awc-inline-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    color: #1f2937;
    margin: 0 0 14px;
    padding: 10px 12px;
}
.awc-frontend .awc-inline-login-form {
    margin-top: 12px;
}
.awc-frontend .awc-login-remember {
    align-items: center;
    display: flex !important;
    font-weight: 400 !important;
    gap: 8px;
}
.awc-frontend .awc-login-remember input {
    width: auto !important;
}
.awc-frontend .awc-access-required {
    margin: 32px auto;
    max-width: 760px;
}
.awc-frontend .awc-access-required h2 {
    color: #111827;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 8px;
}
.awc-frontend .awc-access-required-eyebrow {
    color: #4b5563;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}
.awc-frontend .awc-access-products {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}
.awc-frontend .awc-access-product {
    border-top: 1px solid #e5e7eb;
    padding-top: 18px;
}
.awc-frontend .awc-access-product:first-child {
    border-top: 0;
    padding-top: 0;
}
.awc-frontend .awc-access-product-head h3 {
    color: #111827;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 4px;
}
.awc-frontend .awc-access-product .awc-purchase-options {
    margin-bottom: 0;
}
.awc-frontend .awc-login-required {
    margin: 0 auto;
    max-width: 460px;
}
.awc-frontend .awc-login-required h3 {
    margin-top: 0;
}
.awc-frontend .awc-native-login form,
.awc-frontend .awc-login-form {
    display: grid;
    gap: 12px;
}
.awc-frontend .awc-native-login label,
.awc-frontend .awc-login-form label {
    display: grid;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
}
.awc-frontend .awc-native-login input[type="text"],
.awc-frontend .awc-native-login input[type="password"],
.awc-frontend .awc-login-form input {
    width: 100%;
}
.awc-frontend .awc-native-login .login-remember label {
    align-items: center;
    display: flex;
    font-weight: 400;
}
.awc-frontend .awc-native-login .login-submit {
    margin: 0;
}
.awc-frontend .awc-login-links {
    margin: 12px 0 0;
}

.awc-frontend .awc-checkout-email-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 auto 12px;
    max-width: 280px;
    text-align: left;
}
.awc-frontend .awc-checkout-email-field span {
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
}
.awc-frontend .awc-checkout-email-field input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
}
.awc-frontend .awc-checkout-email-field input:focus {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}

.awc-frontend table.awc-list {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.awc-frontend table.awc-list th,
.awc-frontend table.awc-list td {
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
    text-align: left;
}
.awc-frontend table.awc-list th { background: #f9fafb; font-weight: 600; color: #374151; }
.awc-frontend table.awc-list tr:last-child td { border-bottom: 0; }
.awc-frontend table.awc-list td.num { text-align: right; font-variant-numeric: tabular-nums; }
.awc-frontend .awc-order-detail summary {
    cursor: pointer;
    font-weight: 600;
}
.awc-frontend .awc-order-detail summary:focus-visible {
    outline: 2px solid #bfdbfe;
    outline-offset: 2px;
}
.awc-frontend .awc-order-detail-panel {
    margin-top: 10px;
    display: grid;
    gap: 10px;
    color: #374151;
}
.awc-frontend .awc-order-detail-panel h4 {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
}
.awc-frontend .awc-plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}
.awc-frontend .awc-plain-list li {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.awc-frontend .awc-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f3f4f6;
    color: #374151;
}
.awc-frontend .awc-pill.paid,
.awc-frontend .awc-pill.active,
.awc-frontend .awc-pill.succeeded { background: #d1fae5; color: #065f46; }
.awc-frontend .awc-pill.pending,
.awc-frontend .awc-pill.processing,
.awc-frontend .awc-pill.trialing { background: #fef3c7; color: #92400e; }
.awc-frontend .awc-pill.failed,
.awc-frontend .awc-pill.cancelled,
.awc-frontend .awc-pill.expired,
.awc-frontend .awc-pill.past_due { background: #fee2e2; color: #991b1b; }
.awc-frontend .awc-pill.paused,
.awc-frontend .awc-pill.partially_refunded { background: #dbeafe; color: #1e3a8a; }

.awc-frontend .awc-empty,
.awc-frontend .awc-error {
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #6b7280;
    font-size: 14px;
}
.awc-frontend .awc-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

body.single-awc_product .nv-meta-list,
body.single-awc_product .nv-single-post-meta,
body.single-awc_product .entry-meta {
    display: none;
}

.awc-frontend .awc-form-row { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; }
.awc-frontend .awc-form-row label,
.awc-frontend .awc-form-row span { font-size: 13px; color: #1f2937; font-weight: 500; }
.awc-frontend .awc-required-marker {
    color: #b91c1c;
    font-weight: 700;
    margin-left: 2px;
}
.awc-frontend .awc-sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.awc-frontend .awc-form-row input,
.awc-frontend .awc-form-row select { width: 100%; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 6px; font: inherit; }
.awc-frontend .awc-form-row input:focus,
.awc-frontend .awc-form-row select:focus {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}

.awc-frontend .awc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.awc-frontend .awc-checkout.is-empty-cart .awc-checkout-section,
.awc-frontend .awc-checkout.is-empty-cart .awc-actions,
.awc-frontend .awc-checkout.is-empty-cart .awc-discount-code,
.awc-frontend .awc-checkout.is-empty-cart .awc-checkout-total {
    display: none;
}
.awc-frontend .awc-link-button {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}

.awc-frontend .awc-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
    gap: 24px;
    align-items: start;
}
.awc-frontend .awc-cart-layout {
    align-items: start;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}
.awc-frontend .awc-cart-heading-row,
.awc-frontend .awc-cart-row {
    align-items: start;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
    padding: 18px 0;
}
.awc-frontend .awc-cart-heading-row {
    padding-top: 0;
}
.awc-frontend .awc-cart-heading-row h2 {
    margin: 0;
}
.awc-frontend .awc-cart-heading-row > span {
    font-weight: 600;
    text-align: right;
    text-transform: uppercase;
}
.awc-frontend .awc-cart-product-main {
    align-items: flex-start;
    display: grid;
    gap: 16px;
    grid-template-columns: 88px minmax(0, 1fr);
}
.awc-frontend .awc-cart-product-image {
    aspect-ratio: 1;
    background: #f3f4f6;
    overflow: hidden;
    width: 88px;
}
.awc-frontend .awc-cart-product-image img,
.awc-frontend .awc-cart-product-image span {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.awc-frontend .awc-cart-product-title {
    color: inherit;
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}
.awc-frontend .awc-cart-product-meta {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}
.awc-frontend .awc-cart-unit-price,
.awc-frontend .awc-cart-setup-fee {
    color: #374151;
    font-size: 13px;
    margin-top: 4px;
}
.awc-frontend .awc-cart-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.awc-frontend .awc-cart-quantity-control {
    align-items: stretch;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
    display: inline-grid;
    flex: 0 0 auto;
    grid-template-columns: 36px 54px 36px;
    inline-size: 128px;
    min-height: 38px;
    overflow: hidden;
}
.awc-frontend .awc-cart-quantity-step,
.awc-frontend .awc-cart-quantity {
    background: #ffffff;
    border: 0;
    color: #111827;
    font: inherit;
    min-height: 38px;
}
.awc-frontend .awc-cart-quantity-step {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    min-width: 36px;
    padding: 0;
}
.awc-frontend .awc-cart-quantity-step:hover,
.awc-frontend .awc-cart-quantity-step:focus-visible {
    background: #f3f4f6;
}
.awc-frontend .awc-cart-quantity {
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-weight: 600;
    min-width: 54px;
    padding: 0 6px;
    text-align: center;
    width: 54px;
}
.awc-frontend .awc-cart-quantity::-webkit-outer-spin-button,
.awc-frontend .awc-cart-quantity::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}
.awc-frontend .awc-cart-quantity[type="number"] {
    appearance: textfield;
}
.awc-frontend .awc-cart-remove {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #991b1b;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    width: 38px;
}
.awc-frontend .awc-cart-remove:hover,
.awc-frontend .awc-cart-remove:focus-visible {
    background: #fef2f2;
    border-color: #fecaca;
}
.awc-frontend .awc-cart-remove svg {
    fill: currentColor;
    height: 18px;
    width: 18px;
}
.awc-frontend .awc-cart-line-total {
    display: block;
    text-align: right;
    white-space: nowrap;
}
.awc-frontend .awc-cart-totals {
    position: sticky;
    top: 24px;
}
.awc-frontend .awc-cart-totals h2 {
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    padding-bottom: 14px;
}
.awc-frontend .awc-cart-totals-list {
    margin: 0 0 16px;
}
.awc-frontend .awc-cart-totals-list div {
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
}
.awc-frontend .awc-cart-totals-list dt {
    font-weight: 600;
}
.awc-frontend .awc-cart-totals-list dd {
    margin: 0;
    text-align: right;
}
.awc-frontend .awc-cart-total-row {
    font-size: 18px;
}
.awc-frontend .awc-cart-checkout {
    width: 100%;
}
.awc-frontend .awc-checkout-main h3 { margin-top: 0; }
.awc-frontend .awc-checkout-section {
    border-bottom: 1px solid #f3f4f6;
    margin: 0 0 18px;
    padding: 0 0 10px;
}
.awc-frontend .awc-checkout-section h3 {
    font-size: 16px;
    margin: 0 0 12px;
}
.awc-frontend .awc-checkout-stage {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 18px;
}
.awc-frontend .awc-checkout-stage span {
    background: #f3f4f6;
    border-radius: 999px;
    color: #6b7280;
    font-size: 12px;
    padding: 6px 8px;
    text-align: center;
}
.awc-frontend .awc-checkout-stage span.is-active {
    background: #dbeafe;
    color: #1e3a8a;
    font-weight: 700;
}
.awc-frontend .awc-checkout-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.awc-frontend .awc-inline-field {
    display: flex;
    gap: 8px;
}
.awc-frontend .awc-inline-field input { flex: 1 1 auto; }
.awc-frontend .awc-checkout-summary {
    border: 1px solid #d9dee7;
    border-radius: 8px;
    padding: 18px 20px;
    background: #f8fafc;
}
.awc-frontend .awc-checkout-summary h4 {
    font-size: 18px;
    margin: 0 0 16px;
}
.awc-frontend .awc-checkout-items {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.awc-frontend .awc-checkout-totals div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
}
.awc-frontend .awc-checkout-item {
    align-items: flex-start;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 12px 0;
}
.awc-frontend .awc-checkout-items .awc-checkout-item:first-child {
    padding-top: 0;
}
.awc-frontend .awc-checkout-empty-row {
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 0;
}
.awc-frontend .awc-summary-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.awc-frontend .awc-summary-product {
    color: #111827;
    display: block;
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.awc-frontend .awc-summary-meta {
    align-items: center;
    color: #4b5563;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.3;
}
.awc-frontend .awc-summary-meta em {
    background: #dbeafe;
    border-radius: 4px;
    color: #1d4ed8;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    padding: 2px 6px;
    text-transform: uppercase;
}
.awc-frontend .awc-summary-price {
    color: #111827;
    flex: 0 0 auto;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}
.awc-frontend .awc-summary-remove {
    flex: 0 0 auto;
    line-height: 1;
}
.awc-frontend .awc-discount-code {
    border-bottom: 1px solid #e5e7eb;
    margin: 0 0 12px;
    padding: 2px 0 12px;
}
.awc-frontend .awc-discount-code-panel {
    margin-top: 10px;
}
.awc-frontend .awc-discount-code-panel[hidden] {
    display: none;
}
.awc-frontend .awc-applied-coupons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.awc-frontend .awc-applied-coupons[hidden] {
    display: none;
}
.awc-frontend .awc-applied-coupon {
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #14532d;
    display: inline-flex;
    gap: 8px;
    padding: 5px 7px;
}
.awc-frontend .awc-applied-coupon small {
    color: #166534;
}
.awc-frontend .awc-applied-coupon button {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: 1;
    padding: 0;
}
.awc-frontend .awc-field-error {
    color: #b91c1c;
    font-size: 13px;
    margin: 6px 0 0;
}
.awc-frontend input[aria-invalid="true"] {
    border-color: #b91c1c;
    box-shadow: 0 0 0 1px #b91c1c;
}
.awc-frontend .awc-checkout-totals { margin: 10px 0 0; }
.awc-frontend .awc-checkout-totals dt { color: #6b7280; }
.awc-frontend .awc-checkout-totals dd { margin: 0; font-weight: 600; }
.awc-frontend .awc-checkout-total {
    align-items: center;
    background: #1f2937;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    justify-content: space-between;
    margin-top: 12px;
    padding: 13px 16px;
    text-align: right;
}
.awc-frontend .awc-checkout-total span {
    text-align: left;
}
.awc-frontend .awc-checkout-total strong {
    color: inherit;
    font-size: inherit;
}
.awc-frontend .awc-payment-panel {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    margin: 12px 0;
    background: #ffffff;
}
.awc-frontend .awc-payment-panel[hidden],
.awc-frontend .awc-cta[hidden] {
    display: none !important;
}
.awc-frontend .awc-payment-heading {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}
.awc-frontend .awc-stripe-element,
.awc-frontend .awc-adyen-dropin,
.awc-frontend .awc-paymongo-card {
    min-height: 42px;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
}
.awc-frontend .awc-adyen-dropin:empty {
    display: none;
}
.awc-frontend .awc-payment-recovery .awc-stripe-element {
    margin: 12px 0;
}
.awc-frontend .awc-paymongo-card {
    display: grid;
    gap: 10px;
}
.awc-frontend .awc-stripe-element:focus-within,
.awc-frontend .awc-adyen-dropin:focus-within,
.awc-frontend .awc-paymongo-card:focus-within {
    outline: 2px solid #bfdbfe;
    border-color: #2563eb;
}
.awc-frontend .awc-paypal-buttons {
    min-height: 48px;
}
.awc-frontend .awc-payment-help,
.awc-frontend .awc-payment-message {
    font-size: 13px;
    color: #6b7280;
    margin: 8px 0 0;
}
.awc-frontend .awc-payment-message {
    min-height: 18px;
}
.awc-frontend .awc-checkout-action-message {
    flex: 1 1 220px;
    margin: 0;
    min-height: 0;
}
.awc-frontend .awc-checkout-action-message[hidden] {
    display: none;
}
.awc-frontend .awc-checkout-grid {
    align-items: start;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
}
.awc-frontend .awc-checkout-main {
    display: grid;
    gap: 0;
}
.awc-frontend .awc-checkout-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin: 0 0 16px;
    padding: 20px 22px 18px;
}
.awc-frontend .awc-checkout-section h3 {
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}
.awc-frontend .awc-section-header {
    align-items: center;
    display: flex;
    gap: 10px;
    margin: 0 0 16px;
}
.awc-frontend .awc-section-number {
    align-items: center;
    background: #1f2937;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    height: 24px;
    justify-content: center;
    width: 24px;
}
.awc-frontend .awc-checkout-stage {
    align-items: center;
    display: flex;
    gap: 0;
    margin: 0 0 22px;
    padding: 0;
}
.awc-frontend .awc-checkout-stage .awc-stage-step {
    align-items: center;
    background: transparent;
    border-radius: 0;
    color: inherit;
    display: flex;
    flex: 1;
    justify-content: center;
    padding: 10px 0;
    position: relative;
    text-align: center;
}
.awc-frontend .awc-checkout-stage .awc-stage-step.is-active {
    background: transparent;
    border-radius: 0;
    color: inherit;
    font-weight: inherit;
}
.awc-frontend .awc-checkout-stage .awc-stage-step::before,
.awc-frontend .awc-checkout-stage .awc-stage-step::after {
    background: #e5e7eb;
    content: '';
    height: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(50% - 16px);
}
.awc-frontend .awc-checkout-stage .awc-stage-step::before { left: 0; }
.awc-frontend .awc-checkout-stage .awc-stage-step::after { right: 0; }
.awc-frontend .awc-checkout-stage .awc-stage-step:first-child::before,
.awc-frontend .awc-checkout-stage .awc-stage-step:last-child::after {
    display: none;
}
.awc-frontend .awc-checkout-stage .awc-stage-step.is-active::before,
.awc-frontend .awc-checkout-stage .awc-stage-step.is-active::after {
    background: #2563eb;
}
.awc-frontend .awc-checkout-stage .awc-stage-dot {
    align-items: center;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    color: #9ca3af;
    display: flex;
    font-size: 11px;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 28px;
    z-index: 1;
}
.awc-frontend .awc-checkout-stage .awc-stage-step.is-active .awc-stage-dot {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}
.awc-frontend .awc-checkout-stage .awc-stage-label {
    background: transparent;
    border-radius: 0;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    position: absolute;
    top: calc(100% + 2px);
    white-space: nowrap;
}
.awc-frontend .awc-checkout-stage .awc-stage-step.is-active .awc-stage-label {
    color: #1f2937;
    font-weight: 600;
}
.awc-frontend .awc-account-notice {
    align-items: flex-start;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1e3a8a;
    display: flex;
    font-size: 14px;
    gap: 12px;
    margin: 0 0 16px;
    padding: 14px 18px;
}
.awc-frontend .awc-account-notice-icon {
    color: #2563eb;
    flex: 0 0 auto;
    margin-top: 1px;
}
.awc-frontend .awc-account-notice-body {
    flex: 1 1 auto;
}
.awc-frontend .awc-account-notice-body strong {
    color: #1e3a8a;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;
}
.awc-frontend .awc-account-notice-body p {
    color: #1e40af;
    font-size: 13px;
    margin: 0;
}
.awc-frontend .awc-account-notice-link {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}
.awc-frontend .awc-login-mini {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin: 0 0 16px;
    overflow: hidden;
    padding: 18px 20px;
    width: 100%;
}
.awc-frontend .awc-login-mini[hidden] {
    display: none;
}
.awc-frontend .awc-login-mini-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 0 14px;
}
.awc-frontend .awc-login-mini-head h4 {
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}
.awc-frontend .awc-login-mini-close {
    background: transparent;
    border: 0;
    cursor: pointer;
    line-height: 1;
}
.awc-frontend .awc-login-mini-actions {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-top: 4px;
}
.awc-frontend .awc-login-forgot {
    color: #6b7280;
    font-size: 12px;
    text-decoration: none;
}
.awc-frontend .awc-login-forgot:hover {
    color: #1f2937;
}
.awc-frontend .awc-welcome-back {
    align-items: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    color: #14532d;
    display: flex;
    gap: 12px;
    margin: 0 0 16px;
    padding: 14px 18px;
}
.awc-frontend .awc-welcome-back-icon {
    color: #16a34a;
    flex: 0 0 auto;
}
.awc-frontend .awc-welcome-back-body {
    color: #166534;
    flex: 1 1 auto;
    font-size: 14px;
}
.awc-frontend .awc-welcome-back-body strong {
    color: #14532d;
    font-weight: 600;
}
.awc-frontend .awc-welcome-back-action {
    color: #166534;
    flex: 0 0 auto;
    font-size: 13px;
    text-decoration: underline;
}
.awc-frontend .awc-prefilled-pill {
    background: #ecfdf5;
    border-radius: 4px;
    color: #047857 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    margin-left: 6px;
    padding: 2px 6px;
    text-transform: uppercase;
    vertical-align: middle;
}
.awc-frontend .awc-gateway-cards {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin: 0 0 14px;
}
.awc-frontend .awc-gateway-card {
    cursor: pointer;
    display: block;
    margin: 0;
    position: relative;
}
.awc-frontend .awc-gateway-card[hidden] {
    display: none !important;
}
.awc-frontend .awc-gateway-card input[type="radio"] {
    height: 0;
    opacity: 0;
    position: absolute;
    width: 0;
}
.awc-frontend .awc-gateway-card-inner {
    align-items: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.awc-frontend .awc-gateway-card-inner:hover {
    background: #f8faff;
    border-color: #bfdbfe;
}
.awc-frontend .awc-gateway-card input:checked + .awc-gateway-card-inner {
    background: #eff6ff;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}
.awc-frontend .awc-gateway-card input:focus-visible + .awc-gateway-card-inner {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}
.awc-frontend .awc-gateway-icon {
    align-items: center;
    color: #6b7280;
    display: flex;
    flex: 0 0 auto;
}
.awc-frontend .awc-gateway-card input:checked + .awc-gateway-card-inner .awc-gateway-icon {
    color: #2563eb;
}
.awc-frontend .awc-gateway-label {
    color: #374151;
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 600;
}
.awc-frontend .awc-gateway-card input:checked + .awc-gateway-card-inner .awc-gateway-label {
    color: #1e3a8a;
}
.awc-frontend .awc-gateway-check {
    align-items: center;
    color: #2563eb;
    display: flex;
    flex: 0 0 auto;
    opacity: 0;
}
.awc-frontend .awc-gateway-card input:checked + .awc-gateway-card-inner .awc-gateway-check {
    opacity: 1;
}
.awc-frontend .awc-cta-lg {
    width: 100%;
}
.awc-frontend .awc-checkout-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    position: sticky;
    top: 24px;
}
.awc-frontend .awc-checkout-summary h4 {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
}
.awc-frontend .awc-checkout-items {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}
.awc-frontend .awc-checkout-item,
.awc-frontend .awc-checkout-empty-row {
    align-items: flex-start;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 0;
}
.awc-frontend .awc-checkout-items li:first-child {
    padding-top: 0;
}
.awc-frontend .awc-checkout-items li:last-child {
    border-bottom: 0;
}
.awc-frontend .awc-item-details {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.awc-frontend .awc-item-name {
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}
.awc-frontend .awc-item-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.awc-frontend .awc-item-price-name {
    color: #6b7280;
    font-size: 12px;
}
.awc-frontend .awc-item-unit-price,
.awc-frontend .awc-item-quantity,
.awc-frontend .awc-item-setup-fee,
.awc-frontend .awc-item-trial {
    color: #374151;
    font-size: 12px;
}
.awc-frontend .awc-item-trial {
    color: #1d4ed8;
    font-weight: 600;
}
.awc-frontend .awc-item-badge {
    background: #dbeafe;
    border-radius: 4px;
    color: #1e40af;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    padding: 2px 7px;
    text-transform: uppercase;
}
.awc-frontend .awc-item-price-col {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
}
.awc-frontend .awc-summary-price {
    color: #111827;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}
.awc-frontend .awc-summary-remove {
    align-items: center;
    display: flex;
    justify-content: center;
    line-height: 1;
}
.awc-frontend .awc-checkout-total {
    margin: 4px 0 12px;
    padding: 14px 18px;
}
.awc-frontend .awc-secure-badge {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    display: flex;
    font-size: 12px;
    gap: 5px;
    justify-content: center;
    margin-top: 16px;
    padding-top: 14px;
}
.awc-frontend .awc-secure-badge svg {
    color: #22c55e;
}
.awc-frontend .awc-paypal-split-guide {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    color: #1e3a8a;
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
}
.awc-frontend .awc-paypal-split-guide[hidden] {
    display: none;
}
.awc-frontend .awc-paypal-split-guide p {
    margin: 0;
}
.awc-frontend .awc-paypal-split-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.awc-frontend .awc-paypal-split-action {
    align-items: flex-start;
    display: grid;
    gap: 2px;
    min-width: 210px;
    text-align: left;
}
.awc-frontend .awc-paypal-split-action span {
    font-size: 12px;
}
.awc-frontend .awc-checkout-agreements {
    display: grid;
    gap: 8px;
}
.awc-frontend .awc-agreement {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
}
.awc-frontend .awc-agreement input {
    flex: 0 0 auto;
    margin-top: 3px;
}
.awc-frontend .awc-agreement a {
    color: #1d4ed8;
    text-decoration: underline;
}
.awc-frontend .awc-payment-message.success { color: #065f46; }
.awc-frontend .awc-payment-message.info { color: #1e3a8a; }
.awc-frontend .awc-payment-message.error { color: #991b1b; }
.awc-frontend .awc-account-portal {
    display: grid;
    font-size: inherit;
    gap: 18px;
}
.awc-frontend .awc-account-portal .awc-muted,
.awc-frontend .awc-account-portal table.awc-list th,
.awc-frontend .awc-account-portal table.awc-list td,
.awc-frontend .awc-account-portal .awc-empty,
.awc-frontend .awc-account-portal .awc-error,
.awc-frontend .awc-account-portal .awc-status-banner,
.awc-frontend .awc-account-portal .awc-login-form label,
.awc-frontend .awc-account-portal .awc-native-login label,
.awc-frontend .awc-account-portal .awc-form-row label,
.awc-frontend .awc-account-portal .awc-form-row span {
    font-size: inherit;
}
.awc-frontend .awc-account-portal .awc-pill {
    font-size: 0.875em;
}
.awc-frontend .awc-portal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 10px 0;
    background: #ffffff;
}
.awc-frontend .awc-portal-nav button {
    line-height: 1.2;
    text-decoration: none;
}
.awc-frontend .awc-portal-nav button.is-active {
    font-weight: 700;
}
.awc-frontend .awc-portal-section[hidden] {
    display: none;
}
.awc-frontend .awc-portal-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: start;
}
.awc-frontend .awc-portal-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.awc-frontend .awc-portal-summary-card {
    color: inherit;
    margin: 0;
    text-decoration: none;
}
.awc-frontend .awc-portal-summary-card span,
.awc-frontend .awc-portal-summary-card small {
    color: #6b7280;
    display: block;
    font-size: inherit;
}
.awc-frontend .awc-portal-summary-card strong {
    display: block;
    font-size: 1.25em;
    margin: 4px 0;
}
.awc-frontend .awc-portal-section > h3 {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}
.awc-frontend .awc-subscriptions-list {
    display: grid;
    gap: 10px;
}
.awc-frontend .awc-subscription-row {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 0;
    padding: 12px 14px;
}
.awc-frontend .awc-subscription-main {
    min-width: 0;
}
.awc-frontend .awc-subscription-title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.awc-frontend .awc-subscription-title h3 {
    font-size: inherit;
    line-height: 1.3;
    margin: 0;
}
.awc-frontend .awc-subscription-meta {
    align-items: center;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    font-size: inherit;
    gap: 4px 12px;
    margin-top: 4px;
}
.awc-frontend .awc-subscription-meta strong {
    color: #111827;
    font-weight: 700;
}
.awc-frontend .awc-subscription-note {
    font-size: inherit;
    margin: 8px 0 0;
}
.awc-frontend .awc-subscription-row .awc-inline-note {
    padding: 7px 9px;
}
.awc-frontend .awc-subscription-actions {
    justify-content: flex-end;
    margin-top: 0;
}
.awc-frontend .awc-payment-method-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.awc-frontend .awc-payment-method-header,
.awc-frontend .awc-payment-method-card-head {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}
.awc-frontend .awc-payment-method-header {
    margin: 0 0 12px;
}
.awc-frontend .awc-payment-method-header h4,
.awc-frontend .awc-payment-method-default h5 {
    margin: 0 0 4px;
}
.awc-frontend .awc-payment-provider-note {
    margin-bottom: 12px;
}
.awc-frontend .awc-payment-method-default {
    margin-top: 16px;
}
.awc-frontend .awc-payment-method-card h4 {
    margin: 0;
    font-size: inherit;
}
.awc-frontend .awc-payment-method-meta {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    margin: 12px 0;
}
.awc-frontend .awc-payment-method-meta div {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 6px;
    padding: 8px;
}
.awc-frontend .awc-payment-method-meta dt {
    color: #6b7280;
    margin: 0 0 3px;
}
.awc-frontend .awc-payment-method-meta dd {
    margin: 0;
}
.awc-frontend .awc-payment-method-actions {
    flex-wrap: wrap;
}
.awc-frontend .awc-downloads-list {
    display: grid;
    gap: 12px;
}
.awc-frontend .awc-downloads-card h4 {
    margin: 0 0 10px;
}
.awc-frontend .awc-download-files li {
    align-items: center;
    gap: 10px;
}
.awc-frontend .awc-download-files a {
    font-weight: 600;
}
.awc-frontend .awc-download-file-meta {
    color: #6b7280;
}
.awc-frontend .awc-profile-grid,
.awc-frontend .awc-address-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.awc-frontend .awc-profile-edit {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin: 14px 0 18px;
    padding: 12px 14px;
}
.awc-frontend .awc-profile-edit summary {
    cursor: pointer;
    font-weight: 600;
}
.awc-frontend .awc-profile-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    max-width: 560px;
}
.awc-frontend .awc-profile-form label {
    display: grid;
    gap: 5px;
}
.awc-frontend .awc-profile-pending-email {
    margin: 14px 0 0;
}
.awc-frontend .awc-customer-visible-notes {
    margin: 18px 0;
}
.awc-frontend .awc-customer-visible-note {
    margin: 10px 0;
}
.awc-frontend .awc-customer-visible-note small {
    color: #6b7280;
}
.awc-frontend .awc-customer-visible-note p {
    margin: 6px 0 0;
    white-space: pre-line;
}
.awc-frontend .awc-profile-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.awc-frontend .awc-address-card p {
    white-space: pre-line;
}
.awc-frontend .awc-address-card-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.awc-frontend .awc-address-card-head h4 {
    margin: 0;
}
.awc-frontend .awc-address-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.awc-frontend .awc-address-edit {
    border-top: 1px solid #e5e7eb;
    margin-top: 14px;
    padding-top: 12px;
}
.awc-frontend .awc-address-edit summary {
    cursor: pointer;
    font-weight: 600;
}
.awc-frontend .awc-address-form-wrap {
    margin-top: 12px;
}
.awc-frontend .awc-address-form {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}
.awc-frontend .awc-address-form label {
    display: grid;
    gap: 5px;
}
.awc-frontend .awc-address-form .awc-checkbox {
    display: block;
}
.awc-frontend .awc-portal-health {
    grid-column: 1 / -1;
    margin-top: 14px;
}
.awc-frontend .awc-portal-health h4 {
    margin: 0 0 8px;
}
.awc-frontend .awc-portal-health ul {
    margin: 0;
    padding-left: 18px;
}

.awc-frontend .awc-status-banner {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 0 0 16px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 13px;
}
.awc-frontend .awc-status-banner.success { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; }
.awc-frontend .awc-status-banner.error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }

.awc-frontend .awc-order-confirmation {
    display: grid;
    gap: 16px;
}
.awc-frontend .awc-confirmation-banner {
    display: grid;
    gap: 4px;
}
.awc-frontend .awc-confirmation-banner strong {
    display: block;
    font-size: 16px;
}
.awc-frontend .awc-confirmation-meta {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.awc-frontend .awc-confirmation-meta div,
.awc-frontend .awc-confirmation-subscription dl div,
.awc-frontend .awc-confirmation-totals dl div {
    display: grid;
    gap: 3px;
}
.awc-frontend .awc-confirmation-meta span,
.awc-frontend .awc-confirmation-subscription dt,
.awc-frontend .awc-confirmation-totals dt {
    color: #6b7280;
    font-size: 12px;
}
.awc-frontend .awc-confirmation-meta strong,
.awc-frontend .awc-confirmation-subscription dd,
.awc-frontend .awc-confirmation-totals dd {
    margin: 0;
    font-weight: 700;
}
.awc-frontend .awc-confirmation-section h3,
.awc-frontend .awc-confirmation-totals h3 {
    font-size: 16px;
    margin: 0 0 14px;
}
.awc-frontend .awc-confirmation-order {
    display: grid;
    gap: 10px;
}
.awc-frontend .awc-confirmation-order + .awc-confirmation-order {
    border-top: 1px solid #e5e7eb;
    margin-top: 16px;
    padding-top: 16px;
}
.awc-frontend .awc-confirmation-order h4,
.awc-frontend .awc-confirmation-subscription h4 {
    margin: 0;
}
.awc-frontend .awc-confirmation-items {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.awc-frontend .awc-confirmation-items li {
    align-items: flex-start;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding-top: 10px;
}
.awc-frontend .awc-confirmation-items li:first-child {
    border-top: 0;
    padding-top: 0;
}
.awc-frontend .awc-confirmation-items span {
    color: #6b7280;
    display: block;
    font-size: 13px;
    margin-top: 2px;
}
.awc-frontend .awc-confirmation-subscriptions {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.awc-frontend .awc-confirmation-subscription {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 14px;
}
.awc-frontend .awc-confirmation-subscription dl {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    margin: 0;
}
.awc-frontend .awc-confirmation-totals dl {
    display: grid;
    gap: 8px;
    margin: 0;
}
.awc-frontend .awc-confirmation-totals dl div {
    align-items: center;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
}
.awc-frontend .awc-confirmation-totals dl div:first-child {
    border-top: 0;
    padding-top: 0;
}

@media (max-width: 900px) {
    .awc-frontend .awc-cart-layout,
    .awc-frontend .awc-checkout-grid {
        gap: 24px;
        grid-template-columns: 1fr;
    }
    .awc-frontend .awc-checkout-summary {
        order: -1;
        position: static;
    }
    .awc-frontend .awc-cart-totals {
        order: 0;
        position: static;
    }
}

@media (max-width: 720px) {
    .awc-frontend .awc-checkout-two,
    .awc-frontend .awc-portal-hero,
    .awc-frontend .awc-portal-summary-grid {
        grid-template-columns: 1fr;
    }
    .awc-frontend .awc-checkout-summary {
        order: -1;
        position: static;
    }
    .awc-frontend .awc-cart-totals {
        order: 0;
        position: static;
    }
    .awc-frontend .awc-cart-heading-row {
        display: none;
    }
    .awc-frontend .awc-cart-row {
        grid-template-columns: 1fr;
    }
    .awc-frontend .awc-cart-line-total {
        text-align: left;
    }
    .awc-frontend .awc-subscription-row {
        align-items: start;
        grid-template-columns: 1fr;
    }
    .awc-frontend .awc-subscription-actions {
        justify-content: flex-start;
    }
    .awc-frontend .awc-checkout-stage .awc-stage-label {
        display: none;
    }
    .awc-frontend .awc-welcome-back {
        align-items: flex-start;
        flex-direction: column;
    }
    .awc-frontend .awc-inline-field {
        flex-direction: column;
    }
    .awc-frontend table.awc-list {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
