/* rtl-of 55d3c994607bb0de74b970978a1f7b2f */
/**
 * WooCommerce custom styles for Astroway theme.
 *
 * Buttons, typography, notices, breadcrumbs, star-rating, sale badge,
 * forms, catalog, single product layout, tabs —
 * ALL styled by shop.css + nm-custom-styles. Do NOT override.
 *
 * This file contains ONLY Astroway-specific additions.
 */

/* Reset — global */
a,abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,center,cite,code,dd,del,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,i,iframe,img,ins,label,legend,li,menu,nav,object,ol,output,p,pre,q,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

/* ==========================================================================
   Form inputs — from Savoy style.css (global for WC pages)
   ========================================================================== */
.woocommerce input[type="text"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce input[type="email"],
.woocommerce input[type="search"],
.woocommerce input[type="tel"],
.woocommerce input[type="url"],
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea,
.woocommerce-page input[type="text"],
.woocommerce-page input[type="password"],
.woocommerce-page input[type="number"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="search"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="url"],
.woocommerce-page input.input-text,
.woocommerce-page select,
.woocommerce-page textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: 1.6;
    color: var(--nm--color-font-strong, #282828);
    outline: 0;
    padding: var(--nm--inputs-padding-vertical, 12px) var(--nm--inputs-padding-horizontal, 16px);
    border: 1px solid var(--nm--inputs-border-color, #e1e1e1);
    border-radius: var(--nm--border-radius-inputs, 4px);
    background-color: #fff;
    box-shadow: none;
    -webkit-appearance: none;
    transition: border-color 0.4s ease;
}
.woocommerce input[type="text"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce input[type="number"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="search"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce input[type="url"]:focus,
.woocommerce input.input-text:focus,
.woocommerce select:focus,
.woocommerce textarea:focus,
.woocommerce-page input[type="text"]:focus,
.woocommerce-page input[type="password"]:focus,
.woocommerce-page input[type="number"]:focus,
.woocommerce-page input[type="email"]:focus,
.woocommerce-page input[type="search"]:focus,
.woocommerce-page input[type="tel"]:focus,
.woocommerce-page input[type="url"]:focus,
.woocommerce-page input.input-text:focus,
.woocommerce-page select:focus,
.woocommerce-page textarea:focus {
    outline: 0;
    border-color: var(--nm--inputs-border-color-focus, #282828);
    box-shadow: none;
}
.woocommerce select,
.woocommerce-page select {
    height: auto;
    padding: 10px var(--nm--inputs-padding-horizontal, 16px) 10px 28px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4'%3E%3Cpath d='M0 0l4 4 4-4z' fill='%23999'/%3E%3C/svg%3E");
    background-position: calc(100% - (100% - 10px)) 50%;
    background-repeat: no-repeat;
    background-size: 8px 4px;
}

/* Quantity input — restore shop.css styles (undo global overrides) */
.nm-quantity-wrap .qty {
    padding: 0 !important;
    border: 0 none !important;
    border-radius: 0 !important;
    background: none !important;
    width: 26px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

/* Select2 — match input styling */
.woocommerce .select2-container--default .select2-selection--single,
.woocommerce-page .select2-container--default .select2-selection--single {
    height: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px var(--nm--inputs-padding-horizontal, 16px);
    border: 1px solid var(--nm--inputs-border-color, #e1e1e1);
    border-radius: var(--nm--border-radius-inputs, 4px);
    background-color: #fff;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--nm--color-font-strong, #282828);
    line-height: 1.6;
    padding: 0;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    height: auto;
}

.product-template-default form.cart button.button {
    margin-left: 0;
}

/* ==========================================================================
   Buttons — scoped to .woocommerce
   ========================================================================== */
.woocommerce input[type=submit],
.woocommerce .button {
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    line-height: 16px;
    color: #fff;
    padding: 14px 18px;
    border: 0 none;
    border-radius: var(--nm--border-radius-button);
    text-align: center;
    opacity: 1;
    cursor: pointer;
    transition: opacity 0.2s ease;
    background-color: #282828;
}
.woocommerce input[type=submit]:hover,
.woocommerce .button:hover {
    color: #fff;
    opacity: 0.82;
}
.woocommerce input[type=submit]:active,
.woocommerce input[type=submit]:focus,
.woocommerce .button:active,
.woocommerce .button:focus {
    outline: none;
}
.woocommerce .button[disabled],
.woocommerce .button.disabled,
.woocommerce .button.loading {
    cursor: default;
    opacity: 0.82;
    background: #828282;
}
.woocommerce .button.border,
.woocommerce .button.border:hover {
    color: #282828;
    opacity: 1;
    transition: border 0.2s ease;
    background: none;
}
.woocommerce .button.border {
    border: 1px solid #aaa;
}
.woocommerce .button.border:not([disabled]):hover {
    color: #282828;
    border-color: #282828;
}

/* Reset Astroway entry-summary blog styles on WC product summary */
.nm-single-product .summary.entry-summary > * {
    margin-top: 0;
    margin-bottom: 0;
}

/* Trust badges (16.4) */
.aw-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--aw-color-border);
}

.aw-trust-badges__item {
    display: flex;
    align-items: center;
    gap: 8px;
    /* In the 278px buy column three equal items overflowed by 38px and wrapped to five lines. */
    flex: 1 1 150px;
}

.aw-trust-badges__icon {
    flex-shrink: 0;
    color: var(--aw-color-accent);
    display: flex;
    align-items: center;
}

.aw-trust-badges__text {
    display: flex;
    flex-direction: column;
}

.aw-trust-badges__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--aw-color-primary);
    line-height: 1.3;
}

.aw-trust-badges__desc {
    font-size: 11px;
    color: var(--aw-color-secondary);
    line-height: 1.3;
}

@media (max-width: 480px) {
    .aw-trust-badges {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   16. Astroway PRO Landing (single-product-astroway-pro)
   ========================================================================== */

/* --- Reset: hide scrollbar from 100vw breakout --- */
body:has(.aw-pro-landing) {
    overflow-x: hidden;
}

body:has(.aw-pro-landing) .aw-site-primary > .aw-site-content {
    overflow: visible;
}

/* Dark background only on main content area (not footer) */
body:has(.aw-pro-landing) .aw-site-primary {
    background: #111022;
}

/* --- Reset: override standard single-product grid & break out of theme container --- */
.aw-pro-landing.product {
    display: block;
    max-width: none;
    padding: 0;
    gap: 0;
    /* Break out of .aw-container / .aw-main-content */
    width: 100vw;
    position: relative;
    right: 50%;
    left: 50%;
    margin-right: -50vw;
    margin-left: -50vw;
}

/* Remove sidebar space and padding from parent wrappers */
.aw-pro-landing.product ~ .aw-sidebar,
.aw-pro-landing.product ~ aside {
    display: none;
}

/* --- Override theme heading colors inside landing --- */
.aw-pro-landing h1,
.aw-pro-landing h2,
.aw-pro-landing h3,
.aw-pro-landing h4,
.aw-pro-landing h5,
.aw-pro-landing h6 {
    color: #fff;
}

/* --- Design tokens (App-inspired dark palette) --- */
.aw-pro-landing {
    --pro-bg: #111022;
    --pro-bg-card: #1A1A3A;
    --pro-bg-card-hover: #222250;
    --pro-text: #E0E4F0;
    --pro-text-muted: #B5BDDB;
    --pro-primary: #8F79FF;
    --pro-primary-end: #426BFF;
    --pro-gradient: linear-gradient(135deg, #8F79FF, #426BFF);
    --pro-border: #3C3C77;
    --pro-green: #4ade80;
    --pro-radius: 12px;
    --pro-radius-lg: 20px;
    --pro-max-width: 1200px;

    color: var(--pro-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Section shared styles --- */
.aw-pro-landing section {
    padding: 80px 24px;
    background: var(--pro-bg);
}

.aw-pro-section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.aw-pro-section__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pro-primary);
    margin-bottom: 12px;
}

.aw-pro-landing .aw-pro-section__title {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.15;
}

.aw-pro-section__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--pro-text-muted);
    margin: 0;
}

/* --- Buttons --- */
.aw-pro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
    border: none;
    line-height: 1.4;
}

.aw-pro-btn:hover {
    transform: translateY(-2px);
}

.aw-pro-btn--primary {
    background: var(--pro-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(143, 121, 255, 0.35);
}

.aw-pro-btn--primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 28px rgba(143, 121, 255, 0.5);
    color: #fff;
}

.aw-pro-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--pro-border);
}

.aw-pro-btn--outline:hover {
    border-color: var(--pro-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(143, 121, 255, 0.15);
}

.aw-pro-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(4px);
}

.aw-pro-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* --- HERO --- */
.aw-pro-hero {
    position: relative;
    padding: 100px 24px 80px !important;
    overflow: hidden;
}

.aw-pro-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: var(--pro-max-width);
    margin: 0 auto;
}

.aw-pro-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aw-pro-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.aw-pro-hero__orb--1 {
    width: 500px;
    height: 500px;
    background: var(--pro-primary);
    top: -100px;
    left: -80px;
    animation: aw-pro-float 8s ease-in-out infinite;
}

.aw-pro-hero__orb--2 {
    width: 400px;
    height: 400px;
    background: var(--pro-primary-end);
    bottom: -120px;
    right: -60px;
    animation: aw-pro-float 10s ease-in-out infinite reverse;
}

@keyframes aw-pro-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.aw-pro-hero__inner {
    max-width: 560px;
    flex-shrink: 0;
}

.aw-pro-hero__tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C5BDFF;
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(197, 189, 255, 0.4);
    border-radius: 50px;
    background: rgba(143, 121, 255, 0.12);
}

.aw-pro-hero__title {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 20px;
}

.aw-pro-hero__subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: var(--pro-text-muted);
    margin: 0 0 32px;
}

.aw-pro-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.aw-pro-hero__stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
    max-width: var(--pro-max-width);
    margin-right: auto;
    margin-left: auto;
}

.aw-pro-hero__stat {
    display: flex;
    flex-direction: column;
}

.aw-pro-hero__stat-num {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.aw-pro-hero__stat-label {
    font-size: 13px;
    color: var(--pro-text-muted);
    margin-top: 2px;
}

.aw-pro-hero__showcase {
    flex: 1;
    min-width: 0;
    max-width: 560px;
}

.aw-pro-hero__showcase:not(.aw-pro-hero__showcase--stack) img {
    width: 100%;
    height: auto;
    border-radius: var(--pro-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 960px) {
    .aw-pro-hero {
        padding: 60px 24px !important;
    }

    .aw-pro-hero__content {
        flex-direction: column;
        text-align: center;
    }

    .aw-pro-hero__inner {
        max-width: 100%;
    }

    .aw-pro-hero__actions {
        justify-content: center;
    }

    .aw-pro-hero__stats {
        justify-content: center;
    }

    .aw-pro-hero__showcase {
        max-width: 100%;
    }
}

/* --- DEMO WIDGET --- */
.aw-pro-demo {
    background: #0D0D1E !important;
}

.aw-pro-demo__frame-wrap {
    max-width: var(--pro-max-width);
    margin: 0 auto;
    border-radius: var(--pro-radius-lg);
    overflow: hidden;
    border: 1px solid var(--pro-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: var(--pro-bg-card);
}

.aw-pro-demo__iframe {
    width: 100%;
    height: 720px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .aw-pro-demo__iframe {
        height: 600px;
    }
}

/* --- PRO FEATURES GRID --- */
.aw-pro-features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: var(--pro-max-width);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .aw-pro-features__grid {
        grid-template-columns: 1fr;
    }
}

.aw-pro-feature-card {
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    overflow: hidden;
    background: var(--pro-bg-card);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.aw-pro-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--pro-primary);
    box-shadow: 0 12px 40px rgba(143, 121, 255, 0.15);
}

.aw-pro-feature-card__image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #131328;
}

.aw-pro-feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.aw-pro-feature-card:hover .aw-pro-feature-card__image img {
    transform: scale(1.05);
}

.aw-pro-feature-card__content {
    padding: 24px;
}

.aw-pro-feature-card__icon {
    color: var(--pro-primary);
    margin-bottom: 12px;
}

.aw-pro-feature-card__title {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.aw-pro-feature-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pro-text-muted);
    margin: 0;
}

/* --- FREE vs PRO COMPARISON --- */
.aw-pro-comparison {
    background: #0D0D1E !important;
}

.aw-pro-comparison__table-wrap {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.aw-pro-comparison__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.aw-pro-comparison__table thead th {
    padding: 16px 20px;
    font-weight: 700;
    color: #fff;
    text-align: right;
    border-bottom: 2px solid var(--pro-border);
    font-size: 15px;
}

.aw-pro-comparison__table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(60, 60, 119, 0.4);
    color: var(--pro-text-muted);
}

.aw-pro-comparison__table tbody tr:hover td {
    background: rgba(143, 121, 255, 0.04);
}

.aw-pro-comparison__check {
    color: var(--pro-green);
    font-weight: 700;
    text-align: center;
    font-size: 16px;
}

.aw-pro-comparison__cross {
    color: rgba(161, 170, 201, 0.4);
    text-align: center;
    font-size: 16px;
}

.aw-pro-comparison__pro-col {
    background: rgba(143, 121, 255, 0.06);
}

thead .aw-pro-comparison__pro-col {
    background: rgba(143, 121, 255, 0.12);
    color: var(--pro-primary);
}

/* Custom text values in comparison cells (e.g. "Placidus", "до 3") */
.aw-pro-comparison__check:not(:empty) {
    font-size: 13px;
}

.aw-pro-comparison__table tbody td:nth-child(2),
.aw-pro-comparison__table tbody td:nth-child(3) {
    text-align: center;
    white-space: nowrap;
}

/* --- PRICING CARDS --- */
.aw-pro-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 768px) {
    .aw-pro-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.aw-pro-pricing-card {
    position: relative;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    padding: 36px 28px;
    text-align: center;
    background: var(--pro-bg-card);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.aw-pro-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.aw-pro-pricing-card--popular {
    border-color: var(--pro-primary);
    background: linear-gradient(-180deg, rgba(143, 121, 255, 0.1) 0%, var(--pro-bg-card) 100%);
    box-shadow: 0 0 40px rgba(143, 121, 255, 0.12);
    transform: scale(1.04);
}

.aw-pro-pricing-card--popular:hover {
    transform: scale(1.04) translateY(-4px);
}

.aw-pro-pricing-card__badge {
    position: absolute;
    top: -13px;
    right: 50%;
    transform: translateX(50%);
    background: var(--pro-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.aw-pro-pricing-card__name {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
}

.aw-pro-pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.aw-pro-pricing-card__amount {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.aw-pro-pricing-card__currency {
    font-size: 16px;
    color: var(--pro-text-muted);
    font-weight: 500;
}

.aw-pro-pricing-card__usd {
    font-size: 14px;
    color: var(--pro-text-muted);
    margin-bottom: 8px;
}

.aw-pro-pricing-card__save {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--pro-green);
    background: rgba(74, 222, 128, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.aw-pro-pricing-card__perks {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: right;
}

.aw-pro-pricing-card__perks li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--pro-text-muted);
    border-bottom: 1px solid rgba(60, 60, 119, 0.3);
}

.aw-pro-pricing-card__perks li:last-child {
    border-bottom: none;
}

.aw-pro-pricing-card__perks li::before {
    content: "\2713";
    color: var(--pro-green);
    font-weight: 700;
    margin-left: 10px;
}

.aw-pro-pricing-card .aw-pro-btn {
    width: 100%;
}

/* --- FAQ --- */
.aw-pro-faq {
    background: #0D0D1E !important;
}

.aw-pro-faq__list {
    max-width: 740px;
    margin: 0 auto;
}

.aw-pro-faq__item {
    border-bottom: 1px solid var(--pro-border);
}

.aw-pro-faq__question {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s;
}

.aw-pro-faq__question::-webkit-details-marker {
    display: none;
}

.aw-pro-faq__question::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: var(--pro-primary);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.aw-pro-faq__item[open] .aw-pro-faq__question::after {
    transform: rotate(-45deg);
}

.aw-pro-faq__question:hover {
    color: var(--pro-primary);
}

.aw-pro-faq__answer {
    padding: 0 0 20px;
}

.aw-pro-faq__answer p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--pro-text-muted);
    margin: 0;
}

/* --- APP TOOLS LINKS --- */
.aw-pro-tools { padding: 64px 0; }
.aw-pro-tools__inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.aw-pro-tools__title { font-size: 32px; line-height: 1.2; margin: 0 0 8px; text-align: center; }
.aw-pro-tools__lead { font-size: 16px; color: var(--pro-text-muted); text-align: center; margin: 0 0 32px; }
.aw-pro-tools__grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.aw-pro-tools__grid li { display: contents; }
.aw-pro-tools__grid a {
    display: block;
    padding: 20px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.aw-pro-tools__grid a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.aw-pro-tools__grid strong { display: block; font-size: 17px; margin-bottom: 4px; }
.aw-pro-tools__grid span { display: block; font-size: 14px; color: var(--pro-text-muted); }

/* --- FINAL CTA --- */
.aw-pro-cta {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.aw-pro-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--pro-gradient);
    filter: blur(180px);
    opacity: 0.15;
    pointer-events: none;
}

.aw-pro-cta__inner {
    position: relative;
    z-index: 1;
}

.aw-pro-cta__title {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.aw-pro-cta__subtitle {
    font-size: 16px;
    color: var(--pro-text-muted);
    margin: 0 0 32px;
}

.aw-pro-cta .aw-pro-hero__actions {
    justify-content: center;
}

/* --- HERO SHOWCASE STACK (two overlapping screenshots) --- */
.aw-pro-hero__showcase--stack {
    position: relative;
}

.aw-pro-hero__img--main {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    border-radius: var(--pro-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.aw-pro-hero__img--back {
    position: absolute;
    top: 24px;
    right: -32px;
    z-index: 1;
    width: 85%;
    height: auto;
    border-radius: var(--pro-radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    opacity: 0.55;
    transform: rotate(3deg);
}

@media (max-width: 960px) {
    .aw-pro-hero__img--back {
        display: none;
    }
}

/* --- HOW IT WORKS (3 steps) --- */
.aw-pro-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .aw-pro-steps__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.aw-pro-step {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    background: var(--pro-bg-card);
    transition: transform 0.3s, border-color 0.3s;
}

.aw-pro-step:hover {
    transform: translateY(-4px);
    border-color: var(--pro-primary);
}

.aw-pro-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pro-gradient);
    color: #fff;
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.aw-pro-step__title {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.aw-pro-step__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pro-text-muted);
    margin: 0;
}

/* --- TRUST (Swiss Ephemeris) --- */
.aw-pro-trust {
    background: #0D0D1E !important;
}

.aw-pro-trust__inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid var(--pro-border);
    border-radius: var(--pro-radius-lg);
    background: var(--pro-bg-card);
}

.aw-pro-trust__icon {
    flex-shrink: 0;
    color: var(--pro-green);
}

.aw-pro-trust__title {
    font-family: 'Roboto Condensed', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.aw-pro-trust__desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--pro-text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .aw-pro-trust__inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* --- Smooth scroll for anchor links --- */
.aw-pro-landing {
    scroll-behavior: smooth;
}

html:has(.aw-pro-landing) {
    scroll-behavior: smooth;
}

.aw-pro-landing section[id] {
    scroll-margin-top: 20px;
}

/* --- Mobile polish --- */
@media (max-width: 768px) {
    .aw-pro-pricing-card--popular {
        transform: none;
    }

    .aw-pro-pricing-card--popular:hover {
        transform: translateY(-4px);
    }

    .aw-pro-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .aw-pro-hero__actions .aw-pro-btn {
        text-align: center;
    }

    .aw-pro-hero__stats {
        gap: 24px;
    }

    .aw-pro-hero__stat-num {
        font-size: 24px;
    }

    .aw-pro-cta .aw-pro-hero__actions {
        align-items: center;
    }

    .aw-pro-landing section {
        padding: 60px 20px;
    }

    .aw-pro-comparison__table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .aw-pro-comparison__table {
        min-width: 520px;
    }
}

@media (max-width: 480px) {
    .aw-pro-hero {
        padding: 48px 16px 60px !important;
    }

    .aw-pro-hero__title {
        font-size: 28px;
    }

    .aw-pro-hero__subtitle {
        font-size: 15px;
    }

    .aw-pro-landing section {
        padding: 48px 16px;
    }

    .aw-pro-section__header {
        margin-bottom: 40px;
    }

    .aw-pro-demo__iframe {
        height: 500px;
    }
}

/* --- Animations (fade in on scroll) --- */
@keyframes aw-pro-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aw-pro-landing section {
    animation: aw-pro-fade-up 0.6s ease both;
}

/* =========================================================================
   17. MasterStudy Dashboard — PRO Subscription
   ========================================================================= */

.aw-pro-sub__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--aw-color-primary);
}

.aw-pro-sub__section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--aw-color-primary);
}

/* --- Status Card --- */
.aw-pro-sub__status {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius, 4px);
    background: var(--aw-site-background);
}

.aw-pro-sub__status--active {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.04);
}

.aw-pro-sub__status-icon {
    flex-shrink: 0;
    color: var(--aw-color-secondary);
}

.aw-pro-sub__status--active .aw-pro-sub__status-icon {
    color: #22c55e;
}

.aw-pro-sub__status-info {
    flex: 1;
    min-width: 0;
}

.aw-pro-sub__status-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--aw-color-primary);
}

.aw-pro-sub__status--active .aw-pro-sub__status-label {
    color: #16a34a;
}

.aw-pro-sub__status-plan,
.aw-pro-sub__status-expires {
    font-size: 14px;
    color: var(--aw-color-secondary);
    margin-top: 4px;
}

.aw-pro-sub__days-left {
    opacity: 0.7;
}

.aw-pro-sub__app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--aw-color-button, #1D1D1D);
    color: #fff;
    border-radius: var(--nm--border-radius-button, 4px);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}

.aw-pro-sub__app-btn:hover {
    opacity: 0.85;
    transform: scale(1.02);
    color: #fff;
}

/* --- Pricing Plans --- */
.aw-pro-sub__plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.aw-pro-sub__plan {
    position: relative;
    padding: 24px 20px;
    border: 1px solid var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius, 4px);
    text-align: center;
    background: var(--aw-site-background);
    transition: box-shadow 0.2s, transform 0.2s;
}

.aw-pro-sub__plan:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.aw-pro-sub__plan--best {
    border-color: var(--aw-color-accent);
    box-shadow: 0 0 0 1px var(--aw-color-accent);
}

.aw-pro-sub__plan-badge {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    padding: 2px 12px;
    background: var(--aw-color-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 10px;
    white-space: nowrap;
}

.aw-pro-sub__plan-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--aw-color-primary);
    margin-bottom: 4px;
}

.aw-pro-sub__plan-savings {
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 12px;
}

.aw-pro-sub__plan-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--aw-color-primary);
    line-height: 1.2;
}

.aw-pro-sub__plan-price span {
    font-size: 18px;
    font-weight: 600;
}

.aw-pro-sub__plan-usd {
    font-size: 13px;
    color: var(--aw-color-secondary);
    margin-bottom: 16px;
}

.aw-pro-sub__plan-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    background: var(--aw-color-button, #1D1D1D);
    color: #fff;
    border-radius: var(--nm--border-radius-button, 4px);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.2s, transform 0.2s;
}

.aw-pro-sub__plan-btn:hover {
    opacity: 0.85;
    transform: scale(1.02);
    color: #fff;
}

/* --- Features List --- */
.aw-pro-sub__features {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius, 4px);
    background: var(--aw-site-background);
}

.aw-pro-sub__features .aw-pro-sub__section-title {
    margin-top: 0;
}

.aw-pro-sub__features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.aw-pro-sub__features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--aw-color-primary);
}

.aw-pro-sub__features-list li svg {
    flex-shrink: 0;
    color: #22c55e;
}

/* --- Dark Mode --- */
[data-scheme="dark"] .aw-pro-sub__status--active {
    background: rgba(34, 197, 94, 0.08);
}

[data-scheme="dark"] .aw-pro-sub__plan:hover {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

[data-scheme="dark"] .aw-pro-sub__plan-badge {
    color: #fff;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .aw-pro-sub__status {
        flex-direction: column;
        text-align: center;
    }

    .aw-pro-sub__plans {
        grid-template-columns: 1fr;
    }

    .aw-pro-sub__features-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   18. Mobile Adaptation (Этап 9)
   ========================================================================= */

/* --- 9.1 Global: tap-zone minimum 48px on all WC buttons & links --- */
@media (max-width: 768px) {
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* --- 9.2 Catalog: product cards touch polish --- */
@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        /* Remove hover transform on touch — prevents "stuck" states */
        transform: none !important;
    }

    .woocommerce ul.products li.product .button {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Sale badge — larger tap target, no overlap on small screens */
    .woocommerce ul.products li.product .onsale {
        top: 8px;
        left: 8px;
        right: auto;
        font-size: 12px;
        min-width: 44px;
        min-height: 24px;
        line-height: 24px;
    }

    /* Price — bigger on mobile */
    .woocommerce ul.products li.product .price {
        font-size: 16px;
    }
}

/* --- 9.3 Single product mobile — styled by shop.css --- */

/* --- 9.4 Cart mobile: improved card layout --- */
@media (max-width: 768px) {
    /* Product thumbnail — bigger on mobile */
    .woocommerce table.shop_table.cart td.product-thumbnail img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: var(--aw-layout-elements-border-radius);
    }

    /* Quantity input in cart — larger */
    .woocommerce table.shop_table.cart .quantity .qty {
        min-height: 44px;
        width: 56px;
        font-size: 16px;
    }

    /* Update cart + coupon apply — full width */
    .woocommerce table.shop_table.cart td.actions .button {
        width: 100%;
        margin-top: 8px;
    }

    .woocommerce .coupon .button {
        width: 100%;
    }

    /* Cart totals — full width button */
    .woocommerce .cart-collaterals .wc-proceed-to-checkout a.button {
        width: 100%;
        text-align: center;
        min-height: 52px;
        font-size: 16px;
    }
}

/* --- 9.5 WC Blocks checkout: spacing (override Astroway entry-content resets) --- */
.woocommerce-checkout .aw-main-content .entry-content > .wc-block-checkout.alignwide:first-child {
    margin-top: 46px !important;
}
.woocommerce-checkout .aw-main-content .entry-content > .wc-block-checkout.alignwide:last-child {
    margin-bottom: 46px !important;
}
@media (max-width: 991px) {
    .woocommerce-checkout .aw-main-content .entry-content > .wc-block-checkout.alignwide:first-child {
        margin-top: 24px !important;
    }
}

/* --- 9.6 WC Blocks checkout: match theme form styling --- */
body.theme-astroway .wc-block-components-text-input input,
body.theme-astroway .wc-block-components-form .wc-block-components-text-input input {
    background-color: #fff !important;
    border: 1px solid var(--nm--inputs-border-color, #e1e1e1) !important;
    border-radius: var(--nm--border-radius-inputs, 4px) !important;
    padding: var(--nm--inputs-padding-vertical, 12px) var(--nm--inputs-padding-horizontal, 16px) !important;
}
body.theme-astroway .wc-block-components-text-input input:focus,
body.theme-astroway .wc-block-components-form .wc-block-components-text-input input:focus {
    background-color: #fff !important;
    border-color: var(--nm--inputs-border-color-focus, #282828) !important;
    box-shadow: none !important;
}
body.theme-astroway .wc-blocks-components-select .wc-blocks-components-select__select {
    background-color: #fff !important;
    border: 1px solid var(--nm--inputs-border-color, #e1e1e1) !important;
    border-radius: var(--nm--border-radius-inputs, 4px) !important;
    padding: var(--nm--inputs-padding-vertical, 12px) var(--nm--inputs-padding-horizontal, 16px) !important;
}
body.theme-astroway .wc-blocks-components-select .wc-blocks-components-select__container {
    border-radius: var(--nm--border-radius-inputs, 4px) !important;
    border: 0 none !important;
}
body.theme-astroway .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.theme-astroway .wc-block-components-form .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
    background-color: #fff !important;
    border: 1px solid var(--nm--inputs-border-color, #e1e1e1) !important;
    border-radius: var(--nm--border-radius-inputs, 4px) !important;
}
body.theme-astroway .wc-block-components-textarea {
    background-color: #fff !important;
    border-radius: var(--nm--border-radius-inputs, 4px) !important;
}
/* Coupon input */
body.theme-astroway .wc-block-components-totals-coupon__form .wc-block-components-text-input input {
    background-color: #fff !important;
    border: 1px solid var(--nm--inputs-border-color, #e1e1e1) !important;
    border-radius: var(--nm--border-radius-inputs, 4px) !important;
}

/* --- 9.6 Forms: prevent iOS zoom (font-size >= 16px on focus) --- */
@media (max-width: 768px) {
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select,
    .woocommerce .select2-container .select2-selection--single {
        font-size: 16px;
    }
}

/* --- 9.7 Pagination — larger tap zones --- */
@media (max-width: 768px) {
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- 9.8 (Removed — checkout now uses WC Blocks) --- */

/* =========================================================================
   19. Polish — Animations & Custom Spinner (Этап 12)
   ========================================================================= */

/* --- 12.1 Add-to-cart animation (button feedback) --- */
@keyframes aw-btn-added {
    0%   { transform: scale(1); }
    40%  { transform: scale(0.92); }
    70%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.woocommerce a.button.added,
.woocommerce button.button.added {
    animation: aw-btn-added 0.4s ease;
}

/* "View cart" link that appears after adding */
.woocommerce a.added_to_cart {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--aw-color-accent);
    text-decoration: none;
    transition: opacity 0.2s;
    animation: aw-fade-in 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.woocommerce a.added_to_cart:hover {
    opacity: 0.7;
}

@keyframes aw-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- 12.2 Custom loading spinner --- */
.woocommerce .blockUI.blockOverlay::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 50%;
    width: 32px;
    height: 32px;
    margin: -16px -16px 0 0;
    border: 3px solid var(--aw-color-border);
    border-top-color: var(--aw-color-accent);
    border-radius: 50%;
    animation: aw-spin 0.7s linear infinite;
}

@keyframes aw-spin {
    to { transform: rotate(-360deg); }
}

/* Hide the default WC spinner gif */
.woocommerce .blockUI.blockOverlay {
    background-image: none !important;
}

/* Loading state on buttons */
.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: aw-spin 0.6s linear infinite;
    vertical-align: middle;
}

/* --- 12.3 Cart count badge animation --- */
@keyframes aw-badge-pop {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.aw-cart-count {
    animation: aw-badge-pop 0.3s ease;
}

/* --- 12.4 Notices slide-in --- */
@keyframes aw-notice-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    animation: aw-notice-in 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- 12.5 Product card hover — styled by shop.css --- */

/* --- Dark mode polish --- */
[data-scheme="dark"] .woocommerce .blockUI.blockOverlay::after {
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: var(--aw-color-accent);
}

/* =====================================================================
   20. Shop SEO content blocks
   ===================================================================== */

.aw-shop-seo-intro,
.aw-shop-seo-outro {
    max-width: 800px;
    margin: 0 auto 2em;
    padding: 1.2em 1.5em;
    font-size: 0.97em;
    line-height: 1.7;
    color: var(--aw-color-text, #333);
    background: var(--aw-color-bg-alt, #f9f9f9);
    border-radius: var(--aw-border-radius, 8px);
}

.aw-shop-seo-outro {
    margin-top: 2.5em;
    margin-bottom: 0;
}

.aw-shop-seo-outro h2 {
    font-size: 1.15em;
    margin: 0 0 0.5em;
}

.aw-shop-seo-intro p,
.aw-shop-seo-outro p {
    margin: 0;
}

.aw-shop-seo-outro a {
    color: var(--aw-color-link, #8a5e00);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.aw-shop-seo-outro a:hover {
    text-decoration: none;
}

[data-scheme="dark"] .aw-shop-seo-intro,
[data-scheme="dark"] .aw-shop-seo-outro {
    background: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   20. Shop content cross-links (15.7)
   ========================================================================== */

.aw-shop-content-links {
    margin: 30px 0 0;
    padding: 24px;
    background: #f9f7f4;
    border-radius: var(--aw-border-radius, 8px);
}

.aw-shop-content-links h3 {
    margin: 0 0 16px;
    font-size: 1.05em;
}

.aw-shop-content-links__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.aw-shop-content-links__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: var(--aw-border-radius, 8px);
    text-align: center;
    transition: box-shadow 0.2s;
}

.aw-shop-content-links__item:hover {
    box-shadow: 0 4px 16px rgba(90, 74, 107, 0.12);
}

.aw-shop-content-links__icon {
    font-size: 1.8em;
    line-height: 1;
}

.aw-shop-content-links__title {
    font-weight: 600;
    font-size: 0.92em;
    color: #5a4a6b;
}

.aw-shop-content-links__desc {
    font-size: 0.8em;
    color: #888;
}

[data-scheme="dark"] .aw-shop-content-links {
    background: rgba(255, 255, 255, 0.04);
}

[data-scheme="dark"] .aw-shop-content-links__item {
    background: rgba(255, 255, 255, 0.06);
}

[data-scheme="dark"] .aw-shop-content-links__title {
    color: #c4b5d8;
}

.aw-product-crosslinks {
    margin: 48px 0 30px;
}

[data-scheme="dark"] .aw-product-crosslinks {
    background: rgba(255, 255, 255, 0.04);
}

[data-scheme="dark"] .aw-product-crosslinks__item {
    background: rgba(255, 255, 255, 0.06);
}

[data-scheme="dark"] .aw-product-crosslinks__price {
    color: #c4b5d8;
}

[data-scheme="dark"] .aw-trust-badges__icon {
    color: #f7b916;
}

/* --------------------------------------------------------
   17.3 — Thank-you page
   -------------------------------------------------------- */
.aw-thankyou {
    max-width: 720px;
    margin: 0 auto 40px;
}

.aw-thankyou__hero {
    text-align: center;
    padding: 32px 0 24px;
    border-bottom: 1px solid var(--aw-color-border);
    margin-bottom: 32px;
}

.aw-thankyou__icon {
    color: #22c55e;
    margin-bottom: 16px;
}

.aw-thankyou__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--aw-color-primary);
    margin: 0 0 8px;
}

.aw-thankyou__subtitle {
    font-size: 15px;
    color: var(--aw-color-secondary);
    line-height: 1.5;
}

.aw-thankyou__crosssell {
    margin-bottom: 32px;
}

.aw-thankyou__crosssell h3,
.aw-thankyou__explore h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--aw-color-primary);
}

.aw-thankyou__products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.aw-thankyou__product {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.aw-thankyou__product:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.aw-thankyou__product-img img {
    width: 100%;
    height: auto;
    display: block;
}

.aw-thankyou__product-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--aw-color-primary);
    padding: 8px 10px 4px;
    line-height: 1.3;
}

.aw-thankyou__product-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--aw-color-accent);
    padding: 0 10px 10px;
}

.aw-thankyou__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.aw-thankyou__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    text-decoration: none;
    border: 1px solid var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius);
    color: var(--aw-color-primary);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, box-shadow 0.2s;
}

.aw-thankyou__link:hover {
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.aw-thankyou__link-icon {
    font-size: 24px;
    line-height: 1;
}

[data-scheme="dark"] .aw-thankyou__product {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-scheme="dark"] .aw-thankyou__product:hover {
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
}

[data-scheme="dark"] .aw-thankyou__link {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-scheme="dark"] .aw-thankyou__link:hover {
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
    .aw-shop-content-links__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aw-thankyou__products {
        grid-template-columns: repeat(2, 1fr);
    }

    .aw-thankyou__links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Awaiting-payment panel (unpaid order on thank-you page) */
.aw-ty-unpaid {
    max-width: 560px;
    margin: 0 auto 32px;
    text-align: center;
    padding: 28px 24px;
    border: 1px solid var(--aw-color-border);
    border-radius: 12px;
    background: rgba(234, 179, 8, 0.06);
}

.aw-ty-unpaid__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--aw-color-primary);
    margin: 0 0 12px;
}

.aw-ty-unpaid__title .nm-font {
    color: #eab308;
    margin-left: 6px;
}

.aw-ty-unpaid__text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--aw-color-secondary);
    margin: 0 0 20px;
}

.aw-ty-unpaid__actions {
    margin: 0 0 16px;
}

.aw-ty-unpaid__pay {
    display: inline-block;
    font-size: 16px;
    padding: 12px 32px;
}

.aw-ty-unpaid__hint {
    font-size: 13px;
    line-height: 1.5;
    color: var(--aw-color-secondary);
    opacity: 0.85;
    margin: 0;
}

[data-scheme="dark"] .aw-ty-unpaid {
    background: rgba(234, 179, 8, 0.08);
}

/* Dollars first, hryvnia as the amount charged */
.aw-price-usd {
    white-space: nowrap;
}

.aw-price-uah {
    color: var(--nm--color-font-darker, #595959); /* WCAG AA contrast 7.0 on white */
    font-size: 0.85em;
    font-weight: 400;
    white-space: nowrap;
}

/* Urgency indicator */
.aw-urgency-indicator {
    margin: 0.75rem 0 1rem;
    padding: 0.625rem 1rem;
    background: rgba(247, 185, 22, 0.12);
    border-right: 3px solid var(--aw-color-accent, #f7b916);
    border-radius: 0.375rem;
    font-size: 0.9rem;
    color: var(--aw-color-primary, #222);
    line-height: 1.5;
}
.aw-urgency-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--aw-color-accent, #f7b916);
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 0.25rem;
}
@keyframes aw-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Reviews teaser block */
.aw-reviews-teaser {
    max-width: var(--nm--shop-content-max-width, 1200px);
    margin: 2rem auto 1rem;
    padding: 0 15px;
}
.aw-reviews-teaser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.aw-reviews-teaser-title {
    font-size: 1.25rem;
    margin: 0;
    color: var(--nm--color-font-strong, #282828);
}
.aw-reviews-teaser-all {
    font-size: 0.875rem;
    color: var(--nm--color-font, #777);
    text-decoration: none;
}
.aw-reviews-teaser-all:hover { color: var(--nm--color-font-strong, #282828); }
.aw-reviews-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 767px) {
    .aw-reviews-teaser-grid { grid-template-columns: 1fr; }
}
.aw-review-card {
    padding: 1rem 1.25rem;
    border: 1px solid var(--nm--color-border, #eee);
    border-radius: var(--nm--border-radius-container, 8px);
    background: var(--nm--color-body-background, #fff);
}
.aw-review-card-stars { margin-bottom: 0.5rem; letter-spacing: 1px; }
.aw-review-card-stars .aw-star.filled { color: var(--nm--shop-rating-color, #dc9814); }
.aw-review-card-stars .aw-star { color: var(--nm--color-border, #ddd); }
.aw-review-card-text {
    margin: 0 0 0.625rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--nm--color-font, #777);
}
.aw-review-card-more {
    font-size: 0.8rem;
    color: var(--nm--color-font-highlight, #dc9814);
    text-decoration: none;
    white-space: nowrap;
}
.aw-review-card-more:hover { text-decoration: underline; }
.aw-review-card-author {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nm--color-font-strong, #282828);
}


/* =========================================================================
   AstroWay API tier landing pages (slugs astroway-api-*).
   Shared template: woocommerce/single-product-api-plan.php.
   Activated by template_include filter — see inc/woocommerce.php.
   ========================================================================= */

/* Dark theme lives on the content column only: on body it leaked into the footer, light text on its light background (1.07:1). */
body:has(.aw-api-landing) .aw-site-primary {
    background: #07091a !important;
    color: #e7e9f5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
body:has(.aw-api-landing) .aw-site-primary > .aw-site-content {
    padding: 0 !important;
}
.aw-api-landing.product {
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #e7e9f5;
}
.aw-api-landing.product ~ .aw-sidebar,
.aw-api-landing.product ~ aside {
    display: none !important;
}
.aw-api-landing h1, .aw-api-landing h2, .aw-api-landing h3 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.aw-api-landing section {
    padding: 5rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .aw-api-landing section { padding: 3.5rem 1.25rem; }
}

/* --- Section header ---------------------------------------------------- */
.aw-api-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}
.aw-api-section__tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(126, 107, 255, 0.12);
    color: #a89dff;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.aw-api-section__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin: 0 0 0.75rem;
}
.aw-api-section__subtitle {
    font-size: 1.05rem;
    color: #a8acc7;
    line-height: 1.55;
    margin: 0;
}

/* --- Buttons ----------------------------------------------------------- */
.aw-api-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
    border: 1px solid transparent;
    cursor: pointer;
}
.aw-api-btn--primary {
    background: linear-gradient(-135deg, #7e6bff, #5b4fd6);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(126, 107, 255, 0.35);
}
.aw-api-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(126, 107, 255, 0.45);
}
.aw-api-btn--outline {
    background: transparent;
    border-color: #353958;
    color: #e7e9f5 !important;
}
.aw-api-btn--outline:hover {
    background: rgba(126, 107, 255, 0.08);
    border-color: #7e6bff;
}
.aw-api-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: #e7e9f5 !important;
    border-color: rgba(255, 255, 255, 0.08);
}
.aw-api-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}
.aw-api-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* --- Hero -------------------------------------------------------------- */
.aw-api-hero {
    position: relative;
    overflow: hidden;
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}
.aw-api-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.aw-api-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.aw-api-hero__orb--1 {
    width: 480px; height: 480px;
    top: -120px; right: -100px;
    background: radial-gradient(circle, #7e6bff 0%, transparent 70%);
}
.aw-api-hero__orb--2 {
    width: 600px; height: 600px;
    bottom: -200px; left: -150px;
    background: radial-gradient(circle, #d4a84c 0%, transparent 70%);
    opacity: 0.25;
}
.aw-api-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 960px) {
    .aw-api-hero__content { grid-template-columns: 1fr; gap: 2.5rem; }
}
.aw-api-hero__inner { max-width: 560px; }
.aw-api-hero__tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(-135deg, rgba(212, 168, 76, 0.15), rgba(126, 107, 255, 0.15));
    color: #d4a84c;
    border: 1px solid rgba(212, 168, 76, 0.3);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}
.aw-api-hero__title {
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}
.aw-api-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #a8acc7;
    margin: 0 0 2rem;
}
.aw-api-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.aw-api-hero__perks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #8a8fb3;
}

/* --- Code block -------------------------------------------------------- */
.aw-api-codeblock,
.aw-api-hero__codeblock {
    background: #0e1130;
    border: 1px solid #1c2046;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    font-family: 'JetBrains Mono', monospace;
}
.aw-api-codeblock__header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: #14173a;
    border-bottom: 1px solid #1c2046;
}
.aw-api-codeblock__dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.aw-api-codeblock__dot--r { background: #ff5f57; }
.aw-api-codeblock__dot--y { background: #febc2e; }
.aw-api-codeblock__dot--g { background: #28c840; }
.aw-api-codeblock__title {
    color: #8a8fb3;
    font-size: 0.78rem;
    margin-right: 0.5rem;
    font-weight: 500;
}
.aw-api-codeblock__body {
    margin: 0;
    padding: 1.25rem;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #c8cce4;
    background: transparent;
    white-space: pre;
}
.aw-api-codeblock__body code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
}
.aw-api-cb-c { color: #8a8fb3; }
.aw-api-cb-s { color: #d4a84c; }
.aw-api-cb-k { color: #a89dff; }
.aw-api-cb-v { color: #ff8870; }
.aw-api-codeblock--tall { min-height: 380px; display: flex; flex-direction: column; }
.aw-api-codeblock--tall .aw-api-codeblock__body { flex: 1; min-height: 320px; }

/* --- Playground -------------------------------------------------------- */
.aw-api-playground__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 2rem;
}
/* minmax(0, ...): a bare 1fr track grows to the inputs' and code block's min-content, 390px on a 320px screen. */
@media (max-width: 880px) {
    .aw-api-playground__grid { grid-template-columns: minmax(0, 1fr); }
}
.aw-api-playground__form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1c2046;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.aw-api-pg-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.aw-api-pg-field span {
    font-size: 0.78rem;
    color: #8a8fb3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.aw-api-pg-field input {
    background: #0e1130;
    border: 1px solid #1c2046;
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #e7e9f5;
    transition: border-color 0.15s;
    min-width: 0;
    width: 100%;
}
.aw-api-pg-field input:focus {
    outline: none;
    border-color: #7e6bff;
}
.aw-api-pg-submit { margin-top: 0.5rem; }
.aw-api-pg-note {
    font-size: 0.78rem;
    color: #8a8fb3;
    margin: 0;
}
.aw-api-pg-note code {
    background: rgba(126, 107, 255, 0.12);
    color: #a89dff;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* --- Features grid ----------------------------------------------------- */
.aw-api-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.aw-api-feature {
    background: linear-gradient(-180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid #1c2046;
    border-radius: 12px;
    padding: 1.75rem;
    transition: transform 0.2s, border-color 0.2s;
}
.aw-api-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(126, 107, 255, 0.4);
}
.aw-api-feature__icon {
    width: 48px; height: 48px;
    background: rgba(126, 107, 255, 0.12);
    color: #a89dff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.aw-api-feature__title {
    font-size: 1.1rem;
    margin: 0 0 0.6rem;
    color: #fff;
}
.aw-api-feature__desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #a8acc7;
    margin: 0;
}

/* --- Audience / use cases ---------------------------------------------- */
.aw-api-audience__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 880px) {
    .aw-api-audience__grid { grid-template-columns: 1fr; }
}
.aw-api-audience__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.aw-api-audience__list li {
    position: relative;
    padding-right: 2rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #c8cce4;
}
.aw-api-audience__list li::before {
    content: '✓';
    position: absolute;
    right: 0; top: 0;
    width: 22px; height: 22px;
    background: rgba(126, 107, 255, 0.15);
    color: #a89dff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}
.aw-api-audience__cases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.aw-api-case {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1c2046;
    border-right: 3px solid #7e6bff;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}
.aw-api-case__title {
    font-size: 1rem;
    margin: 0 0 0.5rem;
    color: #fff;
}
.aw-api-case__volume {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #8a8fb3;
    margin: 0 0 0.4rem;
}
.aw-api-case__cost {
    font-size: 0.9rem;
    color: #d4a84c;
    margin: 0;
}

/* --- Pricing cards (current tier) -------------------------------------- */
.aw-api-pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .aw-api-pricing__grid { grid-template-columns: 1fr; }
}
.aw-api-pricing-card {
    background: linear-gradient(-180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid #1c2046;
    border-radius: 14px;
    padding: 2rem;
    text-align: center;
    position: relative;
}
.aw-api-pricing-card--best {
    background: linear-gradient(-180deg, rgba(126, 107, 255, 0.12), rgba(212, 168, 76, 0.05));
    border-color: rgba(126, 107, 255, 0.5);
    box-shadow: 0 12px 40px rgba(126, 107, 255, 0.15);
}
.aw-api-pricing-card__badge {
    position: absolute;
    top: -12px; right: 50%;
    transform: translateX(50%);
    background: linear-gradient(-135deg, #d4a84c, #b88830);
    color: #07091a;
    padding: 0.25rem 0.85rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.aw-api-pricing-card__name {
    font-size: 0.95rem;
    color: #8a8fb3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1rem;
}
.aw-api-pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}
.aw-api-pricing-card__usd {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}
.aw-api-pricing-card__period {
    font-size: 1rem;
    color: #8a8fb3;
}
.aw-api-pricing-card__uah {
    font-size: 0.88rem;
    color: #8a8fb3;
    margin-bottom: 1.5rem;
}
.aw-api-pricing-card .aw-api-btn {
    width: 100%;
    margin-bottom: 1.25rem;
}
.aw-api-pricing-card__perks {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.aw-api-pricing-card__perks li {
    font-size: 0.88rem;
    color: #c8cce4;
    padding-right: 1.5rem;
    position: relative;
}
.aw-api-pricing-card__perks li::before {
    content: '✓';
    position: absolute;
    right: 0; color: #28c840;
    font-weight: 700;
}

/* Lifetime — single centered card */
.aw-api-pricing__grid--single {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}
.aw-api-pricing-card--lifetime {
    background: linear-gradient(-180deg, rgba(212, 168, 76, 0.14), rgba(126, 107, 255, 0.06));
    border-color: rgba(212, 168, 76, 0.55);
    box-shadow: 0 16px 48px rgba(212, 168, 76, 0.18);
}
.aw-api-pricing-card__counter {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-api-pricing-card__counter-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}
.aw-api-pricing-card__counter-fill {
    display: block;
    height: 100%;
    background: linear-gradient(-90deg, #d4a84c, #7e6bff);
    border-radius: 100px;
    transition: width 0.6s ease-out;
}
.aw-api-pricing-card__counter-text {
    font-size: 0.82rem;
    color: #c8cce4;
    margin: 0;
    text-align: center;
}
.aw-api-pricing-card__counter-text strong {
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

/* --- Cross-tier comparison table --------------------------------------- */
.aw-api-compare__table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1c2046;
    border-radius: 12px;
}
.aw-api-compare__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.aw-api-compare__table th,
.aw-api-compare__table td {
    padding: 1rem 1.25rem;
    text-align: right;
    border-bottom: 1px solid #1c2046;
}
.aw-api-compare__table th {
    font-size: 0.78rem;
    color: #8a8fb3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
}
.aw-api-compare__table td {
    font-size: 0.95rem;
    color: #c8cce4;
}
.aw-api-compare__table tr:last-child td { border-bottom: none; }
.aw-api-compare__table a {
    color: #a89dff;
    text-decoration: none;
    font-size: 0.9rem;
}
.aw-api-compare__table a:hover { color: #d4a84c; }
.aw-api-compare__current { background: rgba(126, 107, 255, 0.08); }
.aw-api-compare__here {
    background: rgba(126, 107, 255, 0.2);
    color: #a89dff;
    padding: 0.15rem 0.55rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- FAQ --------------------------------------------------------------- */
.aw-api-faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.aw-api-faq__item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1c2046;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.aw-api-faq__item[open] { border-color: rgba(126, 107, 255, 0.4); }
.aw-api-faq__q {
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-left: 3rem;
}
.aw-api-faq__q::-webkit-details-marker { display: none; }
.aw-api-faq__q::after {
    content: '+';
    position: absolute;
    left: 1.5rem; top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #8a8fb3;
    transition: transform 0.2s;
}
.aw-api-faq__item[open] .aw-api-faq__q::after {
    content: '−';
    transform: translateY(-50%) rotate(-180deg);
}
.aw-api-faq__a {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: #a8acc7;
    line-height: 1.6;
}

/* --- Final CTA --------------------------------------------------------- */
.aw-api-final {
    text-align: center;
    background: linear-gradient(-180deg, rgba(126, 107, 255, 0.06), rgba(212, 168, 76, 0.04));
    border-top: 1px solid #1c2046;
    padding: 6rem 1.5rem !important;
}
.aw-api-final__inner {
    max-width: 720px;
    margin: 0 auto;
}
.aw-api-final__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1rem;
}
.aw-api-final__subtitle {
    font-size: 1.05rem;
    color: #a8acc7;
    margin: 0 0 2rem;
    line-height: 1.6;
}
.aw-api-final .aw-api-hero__actions {
    justify-content: center;
}


/* =========================================================================
   18. /profile/my-orders/ — WC orders in LMS dashboard
   ========================================================================= */

.aw-account-orders__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--aw-color-primary);
}

.aw-account-orders .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--aw-site-background);
    border: 1px solid var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius, 4px);
    overflow: hidden;
}

.aw-account-orders .woocommerce-orders-table thead th {
    padding: 12px 16px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--aw-color-secondary);
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid var(--aw-color-border);
}

.aw-account-orders .woocommerce-orders-table tbody td,
.aw-account-orders .woocommerce-orders-table tbody th {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--aw-color-primary);
    border-bottom: 1px solid var(--aw-color-border);
    vertical-align: middle;
}

.aw-account-orders .woocommerce-orders-table tbody tr:last-child td,
.aw-account-orders .woocommerce-orders-table tbody tr:last-child th {
    border-bottom: 0;
}

.aw-account-orders .woocommerce-orders-table__cell-order-number a {
    color: var(--aw-color-link, #2563eb);
    text-decoration: none;
    font-weight: 600;
}

.aw-account-orders .woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

.aw-account-orders .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
    color: #16a34a;
    font-weight: 600;
}

.aw-account-orders .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status,
.aw-account-orders .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {
    color: #d97706;
    font-weight: 600;
}

.aw-account-orders .woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
.aw-account-orders .woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status,
.aw-account-orders .woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status {
    color: #dc2626;
    font-weight: 600;
}

.aw-account-orders .woocommerce-orders-table__cell-order-actions .woocommerce-button {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-left: 6px;
    font-size: 12px;
    font-weight: 600;
    background: var(--aw-color-button, #1D1D1D);
    color: #fff;
    border-radius: var(--nm--border-radius-button, 4px);
    text-decoration: none;
}

.aw-account-orders .woocommerce-orders-table__cell-order-actions .woocommerce-button:hover {
    opacity: 0.85;
}

.aw-account-orders .woocommerce-pagination {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.aw-account-orders .woocommerce-pagination .woocommerce-button {
    padding: 8px 18px;
    background: var(--aw-color-button, #1D1D1D);
    color: #fff;
    border-radius: var(--nm--border-radius-button, 4px);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.aw-account-orders .woocommerce-notice {
    padding: 24px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius, 4px);
    text-align: center;
    color: var(--aw-color-secondary);
}

@media (max-width: 768px) {
    .aw-account-orders .woocommerce-orders-table thead {
        display: none;
    }
    .aw-account-orders .woocommerce-orders-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid var(--aw-color-border);
        border-radius: var(--aw-layout-elements-border-radius, 4px);
    }
    .aw-account-orders .woocommerce-orders-table tbody td,
    .aw-account-orders .woocommerce-orders-table tbody th {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--aw-color-border);
    }
    .aw-account-orders .woocommerce-orders-table tbody td::before,
    .aw-account-orders .woocommerce-orders-table tbody th::before {
        content: attr(data-title) ":";
        font-weight: 600;
        font-size: 12px;
        color: var(--aw-color-secondary);
    }
}

/* =========================================================================
   19. /profile/api-subscription/ — API tier panel
   ========================================================================= */

.aw-api-sub__keys {
    padding: 16px 20px;
    border: 1px solid var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius, 4px);
    background: var(--aw-site-background);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aw-api-sub__keys-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aw-api-sub__keys-list code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.04);
    padding: 4px 8px;
    border-radius: 3px;
}

.aw-api-sub__keys-meta {
    font-size: 12px;
    color: var(--aw-color-secondary);
    margin-right: 8px;
}

.aw-api-sub__keys-empty {
    font-size: 14px;
    color: var(--aw-color-secondary);
}

.aw-api-sub__tiers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.aw-api-sub__tier-card {
    padding: 16px;
    border: 1px solid var(--aw-color-border);
    border-radius: var(--aw-layout-elements-border-radius, 4px);
    background: var(--aw-site-background);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aw-api-sub__tier-card--current {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.04);
}

.aw-api-sub__tier-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--aw-color-primary);
}

.aw-api-sub__tier-meta {
    font-size: 13px;
    color: var(--aw-color-secondary);
}

.aw-api-sub__tier-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: var(--aw-color-link, #2563eb);
    text-decoration: none;
}

.aw-api-sub__tier-card--current .aw-api-sub__tier-link {
    color: #16a34a;
    pointer-events: none;
}

/* Checkout order column is 266px on desktop: a wrapped total read as "4" over "100,00 ₴". */
#order_review .shop_table .amount {
    white-space: nowrap;
}

/* The current page in the crumbs and the SKU read #a1a1a1 (2.2-2.6:1); the theme's secondary text passes. */
/* The customizer's inline CSS comes later and repeats these selectors, hence the id. */
#nm-breadcrumb,
.product_meta .sku_wrapper span.sku {
    color: var(--aw-color-secondary, #6E6E6E);
}

/* On a phone the crumbs were nowrap + hidden and cut the product name mid-word. */
@media (max-width: 767px) {
    .nm-single-product-top #nm-breadcrumb {
        white-space: normal;
        overflow: visible;
    }
}

/* The review note was set larger (18px) than the field labels it explains. */
#review_form .comment-notes {
    font-size: 14px;
    /* the inherited input line-height (1) stacked wrapped lines onto each other */
    line-height: 1.5;
    color: var(--aw-color-secondary, #6E6E6E);
}
/* Two separate notes; run together, the second wrapped under the first mid-sentence. */
#review_form .comment-notes .required-field-message {
    display: block;
}

/* Under 16px Safari on iPhone zooms the page on focus and leaves it zoomed. */
@media (max-width: 767px) {
    #review_form input[type="text"],
    #review_form input[type="email"],
    #review_form textarea {
        font-size: 16px;
    }
}

/* Reduced motion: notices and badges still appear, nothing floats, bounces or slides. */
@media (prefers-reduced-motion: reduce) {
    .aw-pro-hero__orb--1,
    .aw-pro-hero__orb--2,
    .aw-pro-landing section,
    .woocommerce a.button.added,
    .woocommerce button.button.added,
    .woocommerce a.added_to_cart,
    .aw-cart-count,
    .woocommerce-message,
    .woocommerce-error,
    .woocommerce-info {
        animation: none;
    }
}

/* Review form title is an h2 now (h1 -> h2 outline); keep the look it had as an h3 */
#review_form h2.comment-reply-title {
    margin: 0;
    font-weight: normal;
    color: #282828;
}

/* grid.css drops .nm-row padding at <=768px but Savoy keeps the gallery at -30px until 400px: 15px spill each side, page scrolls sideways */
@media (max-width: 768px) {
    .nm-single-product-summary-col .woocommerce-product-gallery {
        margin: 0 -15px;
    }
}