/**
 * 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 28px 10px var(--nm--inputs-padding-horizontal, 16px);
    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% - 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%;
    right: 12px;
    transform: translateY(-50%);
    height: auto;
}

.product-template-default form.cart button.button {
    margin-right: 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;
    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;
    flex: 1;
}

.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;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -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: #A1AAC9;
    --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;
    right: -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;
    left: -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: var(--pro-primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(143, 121, 255, 0.3);
    border-radius: 50px;
    background: rgba(143, 121, 255, 0.08);
}

.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-left: auto;
    margin-right: 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: left;
    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;
    left: 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: left;
}

.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-right: 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;
}

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

.aw-pro-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 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;
    left: -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;
    left: 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;
        right: 8px;
        left: 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.3s ease;
}

.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%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    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-left: 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.3s ease;
}

/* --- 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-accent, #f7b916);
    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;
}

[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);
    }
}

/* USD price hint */
.aw-price-usd {
    color: var(--nm--color-font, #777);
    font-size: 0.85em;
    font-weight: 400;
    white-space: nowrap;
}
