/* ==========================================================================
   ArifHub Store & User System Styles
   Cyber Master Design with Emerald/Dark aesthetic & Glassmorphism
   ========================================================================== */

:root {
    --ah-accent: #10B981;
    --ah-accent-hover: #059669;
    --ah-accent-glow: rgba(16, 185, 129, 0.25);
    --ah-border: rgba(226, 232, 240, 0.8);
    --ah-card-bg: #ffffff;
    --ah-text-dark: #0f172a;
    --ah-text-muted: #64748b;
}

[data-theme="dark"] {
    --ah-border: rgba(51, 65, 85, 0.7);
    --ah-card-bg: #0f172a;
    --ah-text-dark: #f8fafc;
    --ah-text-muted: #94a3b8;
}

/* ── Header User & Balance Action Pill ── */
.ah-user-header-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

@media (max-width: 991px) {
    .site-header .ah-user-header-wrap,
    .site-header #ahHeaderGuestBox,
    .site-header #ahHeaderUserBox,
    .site-header .ah-btn-sign-in {
        display: none !important;
    }
}

.ah-btn-sign-in {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-primary, #10B981);
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.ah-btn-sign-in:hover {
    background: var(--accent-primary, #10B981);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.ah-user-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--ah-border);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.ah-user-profile-pill:hover {
    border-color: var(--accent-primary, #10B981);
    transform: translateY(-1px);
}

.ah-pill-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ah-pill-balance {
    font-size: 12.5px;
    font-weight: 800;
    color: #10B981;
    font-family: monospace;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 7px;
    border-radius: 6px;
}

.ah-pill-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User Dropdown Menu */
.ah-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--ah-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    padding: 6px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
}

.ah-user-header-wrap.dropdown-open .ah-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ah-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-primary, #0f172a);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.15s ease;
}

.ah-dropdown-item i {
    width: 16px;
    color: var(--accent-primary, #10B981);
}

.ah-dropdown-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-primary, #10B981);
}

.ah-dropdown-divider {
    height: 1px;
    background: var(--ah-border);
    margin: 4px 0;
}

/* ── Global Store Modals (Auth, Checkout, Dashboard) ── */
.ah-auth-modal-overlay,
.ah-checkout-overlay,
.ah-dash-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 99990;
    animation: ahFadeIn 0.25s ease forwards;
}

.ah-auth-modal-container,
.ah-checkout-container,
.ah-dash-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99995;
    padding: 16px;
    pointer-events: none;
}

.ah-auth-modal-card,
.ah-checkout-card,
.ah-dash-modal-card {
    pointer-events: auto;
    background: var(--bg-surface, #ffffff);
    color: var(--text-primary, #0f172a);
    border: 1.5px solid var(--ah-border);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
    animation: ahModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ah-auth-modal-card {
    width: 440px;
    max-width: 100%;
    padding: 30px;
}

.ah-checkout-card {
    width: 680px;
    max-width: 100%;
    padding: 32px;
}

.ah-dash-modal-card {
    width: 780px;
    max-width: 100%;
    padding: 32px;
}

.ah-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(0,0,0,0.06);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ah-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    transform: rotate(90deg);
}

@keyframes ahFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ahModalPop {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Auth Modal Styles ── */
.ah-auth-header {
    text-align: center;
    margin-bottom: 22px;
}

.ah-auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
}

.ah-auth-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.ah-auth-custom-logo {
    max-height: 48px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.ah-auth-logo-link:hover .ah-auth-custom-logo {
    transform: scale(1.03);
}

.ah-logo-cube {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.ah-auth-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: var(--text-primary, #0f172a);
}

.ah-auth-subtitle {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    margin: 0;
}

.ah-auth-tabs {
    display: flex;
    background: rgba(0,0,0,0.04);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ah-tab-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ah-tab-btn.active {
    background: var(--bg-surface, #ffffff);
    color: var(--accent-primary, #10B981);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.ah-input-wrap {
    margin-bottom: 14px;
}

.ah-input-wrap label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-secondary, #475569);
    margin-bottom: 5px;
}

.ah-input-wrap input,
.ah-input-wrap textarea,
.ah-input-wrap select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--ah-border);
    background: var(--bg-surface, #ffffff);
    color: var(--text-primary, #0f172a);
    font-size: 14px;
    transition: all 0.2s ease;
}

.ah-input-wrap input:focus,
.ah-input-wrap textarea:focus,
.ah-input-wrap select:focus {
    outline: none;
    border-color: var(--accent-primary, #10B981);
    box-shadow: 0 0 0 3px var(--ah-accent-glow);
}

.ah-btn-submit,
.ah-btn-order-submit {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ah-btn-submit:hover,
.ah-btn-order-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.ah-auth-alert,
.ah-chk-alert {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ah-auth-alert.error,
.ah-chk-alert.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.ah-auth-alert.success,
.ah-chk-alert.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ── OTP Verification & Extended Auth Inputs ── */
.ah-otp-box-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0;
}

.ah-otp-digit {
    width: 48px;
    height: 54px;
    border-radius: 10px;
    border: 2px solid var(--ah-border, #e2e8f0);
    background: var(--bg-surface, #ffffff);
    color: var(--text-primary, #0f172a);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    font-family: monospace;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-otp-digit:focus {
    outline: none;
    border-color: var(--accent-primary, #10B981);
    box-shadow: 0 0 0 3px var(--ah-accent-glow, rgba(16, 185, 129, 0.15));
    transform: scale(1.05);
}

.ah-otp-digit.filled {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.04);
}

.ah-country-select {
    cursor: pointer;
}

/* ── Checkout Modal Styles ── */
.ah-checkout-header {
    margin-bottom: 22px;
    text-align: left;
}

.ah-chk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ah-chk-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.ah-chk-subtitle {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    margin: 0;
}

.ah-chk-section {
    margin-bottom: 22px;
}

.ah-chk-sec-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary, #0f172a);
}

.ah-step-num {
    width: 24px;
    height: 24px;
    background: var(--accent-primary, #10B981);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Duration Plans Grid */
.ah-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.ah-plan-card {
    border: 2px solid var(--ah-border);
    border-radius: 14px;
    padding: 16px;
    background: var(--bg-surface, #ffffff);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ah-plan-card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    transform: translateY(-2px);
}

.ah-plan-card.selected {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.04);
    box-shadow: 0 4px 14px var(--ah-accent-glow);
}

.ah-plan-pill-tag {
    position: absolute;
    top: -10px;
    right: 12px;
    background: #10B981;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}

.ah-plan-card-name {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary, #0f172a);
}

.ah-plan-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.ah-plan-card-price {
    font-size: 20px;
    font-weight: 900;
    color: #10B981;
    font-family: monospace;
}

.ah-plan-card-orig {
    font-size: 13px;
    color: var(--text-secondary, #94a3b8);
    text-decoration: line-through;
}

.ah-plan-card-features {
    font-size: 11.5px;
    color: var(--text-secondary, #64748b);
    line-height: 1.4;
    margin: 0;
    padding-left: 16px;
}

/* ─────────────────────────────────────────────────────────────
   CHECKOUT DURATION PLANS: 3 LISTING STYLES
   1. Grid Cards (Default)
   2. Clean List + Info Icon (i)
   3. Selection Tabs + Details Below
   ───────────────────────────────────────────────────────────── */

/* Style 1: Grid Cards Features Polish */
.ah-plans-grid .ah-plan-card-features {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ah-plans-grid .ah-plan-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 11.5px;
    color: var(--text-secondary, #64748b);
    line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────
   STYLE 2: Clean List Method with (i) Info Icon
   ───────────────────────────────────────────────────────────── */
.ah-plans-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.ah-plan-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    border: 2px solid var(--ah-border, #e2e8f0);
    background: var(--bg-surface, #ffffff);
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-plan-list-row:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.02);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.ah-plan-list-row.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.14);
}

.ah-plan-list-left {
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 1;
    min-width: 0;
}

.ah-plan-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #ffffff;
}

.ah-plan-list-row:hover .ah-plan-radio-circle {
    border-color: #10b981;
}

.ah-plan-list-row.selected .ah-plan-radio-circle {
    border-color: #10b981;
    background: #10b981;
}

.ah-plan-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transform: scale(0.4);
    transition: all 0.2s ease;
}

.ah-plan-list-row.selected .ah-plan-radio-dot {
    opacity: 1;
    transform: scale(1);
}

.ah-plan-list-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ah-plan-list-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ah-plan-list-name {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
}

.ah-plan-list-badge {
    font-size: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 1.5px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ah-plan-list-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    flex-wrap: wrap;
}

.ah-plan-list-dur {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ah-plan-list-limits {
    color: #9333ea;
    font-weight: 700;
    font-size: 11px;
}

.ah-plan-list-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ah-plan-list-pricing-wrap {
    text-align: right;
}

.ah-plan-list-price {
    font-size: 18px;
    font-weight: 900;
    color: #10b981;
    font-family: inherit;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
}

.ah-plan-list-price small {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
}

.ah-plan-list-orig {
    font-size: 12px;
    color: var(--text-secondary, #94a3b8);
    text-decoration: line-through;
    margin-left: 4px;
}

.ah-plan-info-trigger-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: #3b82f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.ah-plan-info-trigger-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    transform: scale(1.12);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* ─────────────────────────────────────────────────────────────
   STYLE 2: Plan Info Modal Popup
   ───────────────────────────────────────────────────────────── */
.ah-plan-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 100060;
}

.ah-plan-info-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    z-index: 100070;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: ahScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ahScaleIn {
    from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.ah-plan-info-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.ah-plan-info-head-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ah-plan-info-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.ah-plan-info-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.ah-plan-info-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    display: block;
}

.ah-plan-info-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ah-plan-info-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ah-plan-info-body {
    padding: 22px;
    max-height: 65vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ah-plan-info-pricing-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1.5px solid #a7f3d0;
    border-radius: 12px;
    padding: 14px 18px;
}

.ah-pi-price-main {
    font-size: 24px;
    font-weight: 900;
    color: #059669;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ah-pi-price-main small {
    font-size: 13px;
    font-weight: 700;
    color: #047857;
}

.ah-pi-orig {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

.ah-pi-price-sub {
    font-size: 12px;
    color: #065f46;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-plan-info-features-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ah-plan-info-section-heading {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ah-plan-info-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ah-plan-info-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #334155;
    line-height: 1.45;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 8px 12px;
    border-radius: 8px;
}

.ah-plan-info-guarantee-note {
    font-size: 11.5px;
    color: #047857;
    background: #f0fdf4;
    border: 1px dashed #86efac;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.ah-plan-info-foot {
    padding: 16px 22px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.ah-plan-info-select-btn {
    width: 100%;
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    background: #10b981;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ah-plan-info-select-btn:hover:not(:disabled) {
    background: #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.ah-plan-info-select-btn:disabled,
.ah-plan-info-select-btn.is-selected {
    background: #e2e8f0;
    color: #64748b;
    cursor: default;
}

/* ─────────────────────────────────────────────────────────────
   STYLE 3: Selection Tabs + Details Below
   ───────────────────────────────────────────────────────────── */
.ah-plans-selector-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.ah-plans-tab-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    width: 100%;
}

.ah-plan-tab-item {
    border: 2px solid var(--ah-border, #e2e8f0);
    border-radius: 12px;
    padding: 12px 10px;
    background: var(--bg-surface, #ffffff);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ah-plan-tab-item:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.02);
    transform: translateY(-1px);
}

.ah-plan-tab-item.selected {
    border-color: #10b981;
    background: #ecfdf5;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.18);
}

.ah-plan-tab-badge {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 999px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ah-plan-tab-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    line-height: 1.3;
}

.ah-plan-tab-price {
    font-size: 13.5px;
    font-weight: 900;
    color: #10b981;
}

/* Style 3 Details Card Below */
.ah-selected-plan-details-panel {
    width: 100%;
}

.ah-spd-card {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ah-spd-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #cbd5e1;
}

.ah-spd-tag-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ah-spd-pill {
    font-size: 11px;
    font-weight: 800;
    background: #e0e7ff;
    color: #4338ca;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ah-spd-badge {
    font-size: 11px;
    font-weight: 800;
    background: #dcfce7;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ah-spd-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.ah-spd-duration {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ah-spd-pricing {
    text-align: right;
}

.ah-spd-price {
    font-size: 22px;
    font-weight: 900;
    color: #10b981;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
}

.ah-spd-unit {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.ah-spd-orig {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 4px;
}

.ah-spd-meta-note {
    font-size: 11.5px;
    color: #059669;
    font-weight: 700;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.ah-spd-sec-title {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-spd-features-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 14px;
}

.ah-spd-features-grid li {
    font-size: 12.5px;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}

.ah-spd-features-grid li i {
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}

.ah-spd-features-standard {
    font-size: 12.5px;
    color: #047857;
    background: #ecfdf5;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 640px) {
    .ah-plan-list-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .ah-plan-list-right {
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px dashed var(--ah-border, #e2e8f0);
    }
    .ah-plans-tab-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .ah-spd-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .ah-spd-pricing {
        text-align: left;
    }
    .ah-spd-price {
        justify-content: flex-start;
    }
    .ah-spd-meta-note {
        justify-content: flex-start;
    }
    .ah-spd-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Multiple Quantity & Credits Stepper in Checkout ── */
.ah-qty-card {
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--ah-border, #e2e8f0);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ah-qty-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ah-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--bg-subtle, #f8fafc);
    border: 1.5px solid var(--ah-border, #cbd5e1);
    border-radius: 10px;
    overflow: hidden;
    padding: 2px;
}

.ah-qty-step-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-primary, #0f172a);
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.ah-qty-step-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.ah-qty-step-btn:active {
    transform: scale(0.92);
}

.ah-qty-number-input {
    width: 74px;
    height: 36px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 800;
    font-family: ui-monospace, monospace;
    color: var(--text-primary, #0f172a);
    padding: 0 4px;
    outline: none;
}

.ah-qty-number-input::-webkit-inner-spin-button,
.ah-qty-number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ah-qty-badge-calc {
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid rgba(147, 51, 234, 0.2);
    color: #9333ea;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}

.ah-qty-badge-calc strong {
    color: #7e22ce;
    font-size: 14.5px;
    font-weight: 800;
    margin-left: 2px;
}

.ah-qty-meta-note {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-plan-pricing-qty .ah-unit-slash {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    font-weight: 700;
    margin-left: 4px;
}

/* Plan-specific Inputs Highlight */
.ah-plan-fields-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ah-plan-field-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ah-custom-fields-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[data-theme="dark"] .ah-qty-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .ah-qty-stepper {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .ah-qty-number-input {
    color: #f1f5f9;
}

[data-theme="dark"] .ah-qty-badge-calc {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

[data-theme="dark"] .ah-qty-badge-calc strong {
    color: #e9d5ff;
}

/* ── Client Order Details Modal & Button ── */
.ah-btn-view-order-details {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.ah-btn-view-order-details:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
}

[data-theme="dark"] #ahClientOrderModal .ah-modal-dialog {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .ah-btn-view-order-details {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.4);
    color: #60a5fa;
}

/* ── Checkout Coupon Code Section ── */
.ah-coupon-section {
    margin-bottom: 18px;
}

.ah-coupon-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ah-coupon-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.ah-coupon-icon {
    position: absolute;
    left: 14px;
    color: #8b5cf6;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 2;
}

.ah-coupon-input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 42px !important;
    border-radius: 10px !important;
    border: 1.5px solid var(--ah-border, rgba(51, 65, 85, 0.7)) !important;
    background: var(--ah-card-bg, #ffffff) !important;
    color: var(--ah-text-dark, #0f172a) !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    font-family: monospace, inherit !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.ah-coupon-input::placeholder {
    text-transform: none !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    letter-spacing: normal !important;
    color: var(--ah-text-muted, #94a3b8) !important;
}

.ah-coupon-input:focus {
    outline: none !important;
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    background: var(--ah-card-bg, #ffffff) !important;
}

.ah-coupon-input-wrap:focus-within .ah-coupon-icon {
    color: #7c3aed;
    transform: scale(1.1);
}

.ah-coupon-btn {
    height: 44px;
    padding: 0 20px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.28);
}

.ah-coupon-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.ah-coupon-btn:active {
    transform: translateY(0);
}

.ah-coupon-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.ah-coupon-msg {
    font-size: 12px;
    margin-top: 8px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Payment Method Selector */
.ah-pay-method-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.ah-pay-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 2px solid var(--ah-border);
    border-radius: 12px;
    cursor: pointer;
    background: var(--bg-surface, #ffffff);
    transition: all 0.2s ease;
}

.ah-pay-tab:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.ah-pay-tab.active {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.04);
}

.ah-pay-tab-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ah-pay-tab-info strong {
    display: block;
    font-size: 13.5px;
    color: var(--text-primary, #0f172a);
}

.ah-pay-tab-info span {
    font-size: 11.5px;
    color: var(--text-secondary, #64748b);
}

/* Balance Box */
.ah-balance-status-box {
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--ah-border);
    border-radius: 12px;
    padding: 14px 18px;
}

.ah-bal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    margin-bottom: 6px;
}

.ah-bal-row:last-child {
    margin-bottom: 0;
    padding-top: 6px;
    border-top: 1px dashed var(--ah-border);
}

.ah-bal-val {
    font-family: monospace;
    font-size: 16px;
    color: #10B981;
}

.ah-total-val {
    font-family: monospace;
    font-size: 17px;
    color: var(--text-primary, #0f172a);
}

.ah-bal-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12.5px;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Crypto Payment Box */
.ah-crypto-instructions {
    font-size: 12.5px;
    color: var(--text-secondary, #64748b);
    margin-top: 0;
    margin-bottom: 12px;
}

.ah-crypto-selector-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.ah-crypto-coin-card {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1.5px solid var(--ah-border);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-surface, #ffffff);
}

.ah-crypto-coin-card.selected {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.ah-crypto-box {
    display: flex;
    gap: 16px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--ah-border);
    border-radius: 12px;
    padding: 16px;
    align-items: center;
}

.ah-crypto-qr-wrap img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    border: 1px solid var(--ah-border);
}

.ah-crypto-info-wrap {
    flex: 1;
}

.ah-crypto-net-badge {
    display: inline-block;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.ah-crypto-address-bar {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.ah-crypto-address-bar input {
    flex: 1;
    font-family: monospace;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--ah-border);
    background: var(--bg-surface, #fff);
}

.ah-btn-copy {
    background: var(--accent-primary, #10B981);
    color: #fff;
    border: none;
    padding: 0 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.ah-btn-copy:hover {
    background: #059669;
}

/* Guest Inline Auth Prompt (Single merged notice) */
.ah-guest-auth-banner {
    background: rgba(16, 185, 129, 0.05);
    border: 1.5px dashed rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 4px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ah-guest-auth-banner:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.ah-guest-auth-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.ah-guest-auth-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ah-guest-auth-banner:hover .ah-guest-auth-icon {
    transform: scale(1.08);
}

.ah-guest-auth-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-bottom: 2px;
}

.ah-guest-auth-content span {
    font-size: 12.5px;
    color: var(--text-secondary, #64748b);
    line-height: 1.45;
    display: block;
}

.ah-chk-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--ah-border);
    margin-top: 18px;
}

.ah-sum-label {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    display: block;
}

.ah-sum-price {
    font-size: 24px;
    font-weight: 900;
    color: #10B981;
    font-family: monospace;
}

.ah-btn-order-submit {
    width: auto;
    padding: 12px 28px;
}

.ah-btn-order-submit.ah-btn-needs-auth {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.ah-btn-order-submit.ah-btn-needs-auth:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

/* Success View */
.ah-chk-success-view {
    text-align: center;
    padding: 20px 10px;
}

.ah-success-icon-wrap {
    width: 68px;
    height: 68px;
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border-radius: 50%;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.ah-success-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.ah-success-msg {
    color: var(--text-secondary, #64748b);
    font-size: 13.5px;
    max-width: 440px;
    margin: 0 auto 20px auto;
}

.ah-success-key-box {
    display: inline-block;
    background: rgba(0,0,0,0.04);
    border: 1px dashed var(--ah-border);
    padding: 8px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.ah-success-key-box strong {
    color: #10B981;
    font-family: monospace;
    font-size: 16px;
    margin-left: 6px;
}

.ah-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ah-btn-view-dash {
    background: #10B981;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.ah-btn-done {
    background: transparent;
    color: var(--text-secondary, #64748b);
    border: 1px solid var(--ah-border);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* ── Dashboard Modal Styles ── */
.ah-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ah-border);
    margin-bottom: 20px;
}

.ah-dash-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ah-dash-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ah-accent);
}

.ah-dash-name {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 2px 0;
}

.ah-dash-email {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
}

.ah-dash-balance-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 10px 18px;
    text-align: right;
}

.ah-dash-bal-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #10B981;
    text-transform: uppercase;
}

.ah-dash-bal-val {
    font-size: 22px;
    font-weight: 900;
    color: #10B981;
    font-family: monospace;
}

.ah-dash-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ah-dash-tab {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--ah-border);
    background: transparent;
    color: var(--text-secondary, #64748b);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ah-dash-tab.active {
    background: var(--accent-primary, #10B981);
    color: #fff;
    border-color: var(--accent-primary, #10B981);
}

/* Orders Cards in User Dashboard */
.ah-user-order-card {
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--ah-border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
    transition: all 0.2s;
}

.ah-user-order-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.ah-ord-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ah-ord-key {
    font-family: monospace;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
}

.ah-ord-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.ah-ord-badge.pending { background: #ffedd5; color: #ea580c; }
.ah-ord-badge.processing { background: #dbeafe; color: #2563eb; }
.ah-ord-badge.completed { background: #dcfce7; color: #16a34a; }
.ah-ord-badge.rejected { background: #fee2e2; color: #dc2626; }

.ah-ord-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary, #64748b);
}

/* Completed Delivery Box in User Card */
.ah-delivery-box {
    margin-top: 14px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 14px;
}

.ah-delivery-title {
    font-size: 13px;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-delivery-key-bar {
    display: flex;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--ah-border);
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 8px;
}

.ah-delivery-key-bar code {
    flex: 1;
    font-family: monospace;
    font-size: 13px;
    color: #0f172a;
    font-weight: 700;
}

.ah-btn-copy-key {
    background: transparent;
    border: none;
    color: #10B981;
    cursor: pointer;
    font-size: 14px;
}

/* Rejection Notice Box in User Card */
.ah-rejection-box {
    margin-top: 14px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 14px;
    color: #991b1b;
    font-size: 13px;
}

.ah-rejection-title {
    font-weight: 800;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-refunded-notice {
    font-size: 12px;
    font-weight: 700;
    color: #15803d;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Top-up Card */
.ah-topup-card {
    background: rgba(0,0,0,0.02);
    border: 1px solid var(--ah-border);
    border-radius: 14px;
    padding: 24px;
}

.ah-topup-cta-row {
    display: flex;
    gap: 12px;
}

.ah-btn-topup-crypto {
    background: #F7931A;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ah-btn-logout {
    background: transparent;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .ah-checkout-card,
    .ah-dash-modal-card {
        padding: 20px;
    }
    .ah-plans-grid {
        grid-template-columns: 1fr;
    }
    .ah-pay-method-tabs {
        grid-template-columns: 1fr;
    }
    .ah-crypto-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .ah-chk-actions {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }
    .ah-btn-order-submit {
        width: 100%;
    }
}

/* ── Customer User Dashboard Visual Stats & VIP Badges ── */
.ah-user-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

@media (max-width: 768px) {
    .ah-user-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ah-user-stat-card {
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--ah-border);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.ah-user-stat-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
}

.ah-stat-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ah-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary, #64748b);
    text-transform: uppercase;
}

.ah-stat-val {
    display: block;
    font-size: 17px;
    font-weight: 900;
    color: var(--text-primary, #0f172a);
    font-family: monospace;
}

.ah-vip-tag {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}

/* ── Active Licenses Tab Cards ── */
.ah-license-card {
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--ah-border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
    border-left: 4px solid #10B981;
}

.ah-license-key-bar {
    display: flex;
    gap: 8px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--ah-border);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 8px 0;
    align-items: center;
}

.ah-license-key-bar code {
    flex: 1;
    font-family: monospace;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    word-break: break-all;
}

/* ═══════════════════════════════════════════════════════════════
   ArifHub Floating Action Dock (Saved Apps, Library & Categories)
   ═══════════════════════════════════════════════════════════════ */
.ah-floating-dock {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500; /* Stays above regular page content (1-20), but sits naturally behind all modals & lightboxes (1000+) */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-floating-dock.ah-dock-right {
    right: 10px;
}

.ah-floating-dock.ah-dock-left {
    left: 10px;
}

.ah-floating-dock.ah-dock-hide {
    display: none !important;
}

/* ── Ensure Floating Action Dock Sits Behind All Modals & Lightboxes ── */
.fancybox__container {
    z-index: 2000000 !important;
    --fancybox-zIndex: 2000000 !important;
    --f-zIndex: 2000000 !important;
}

body.fancybox-active .ah-floating-dock,
html.with-fancybox .ah-floating-dock,
body:has(.fancybox__container) .ah-floating-dock,
body.modal-open .ah-floating-dock,
body.has-modal-open .ah-floating-dock,
body:has(.dl-modal-container.active) .ah-floating-dock,
body:has(.pricing-modal-container.active) .ah-floating-dock,
body:has(.auth-modal.active) .ah-floating-dock {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-50%) scale(0.85) !important;
}

.ah-dock-inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    padding: 5px 4px;
    transition: all 0.25s ease;
}

[data-theme="dark"] .ah-dock-inner {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.4);
}

.ah-dock-item-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ah-dock-btn {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: var(--text-primary, #0f172a);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-dock-btn:hover,
.ah-dock-btn.active {
    background: var(--accent-primary, #10B981);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--ah-accent-glow, rgba(16, 185, 129, 0.35));
}

.ah-dock-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    background: #ef4444;
    color: #ffffff;
    font-size: 8.5px;
    font-weight: 800;
    min-width: 14px;
    height: 14px;
    border-radius: 999px;
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bg-surface, #ffffff);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Tooltips */
.ah-dock-tooltip {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: #0f172a;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

.ah-dock-right .ah-dock-tooltip {
    right: calc(100% + 12px);
}

.ah-dock-left .ah-dock-tooltip {
    left: calc(100% + 12px);
}

.ah-dock-item-wrap:hover .ah-dock-tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Categories Flyout Panel */
.ah-dock-categories-flyout {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    width: 350px;
    max-width: calc(100vw - 80px);
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--ah-border, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10005;
    box-sizing: border-box;
    overflow-x: hidden;
}

.ah-dock-right .ah-dock-categories-flyout {
    right: calc(100% + 14px);
}

.ah-dock-left .ah-dock-categories-flyout {
    left: calc(100% + 14px);
}

.ah-dock-categories-flyout.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.ah-dock-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ah-border, #f1f5f9);
}

.ah-dock-flyout-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.ah-dock-flyout-close {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ah-dock-flyout-close:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.ah-dock-flyout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 290px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
    box-sizing: border-box;
}

.ah-dock-flyout-grid::-webkit-scrollbar {
    width: 5px;
    height: 0px;
}

.ah-dock-flyout-grid::-webkit-scrollbar-track {
    background: transparent;
}

.ah-dock-flyout-grid::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.35);
    border-radius: 999px;
}

.ah-dock-flyout-grid::-webkit-scrollbar-thumb:hover {
    background: #10B981;
}

.ah-dock-cat-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--ah-border, #e2e8f0);
    text-decoration: none;
    color: var(--text-primary, #0f172a);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    min-width: 0;
}

[data-theme="dark"] .ah-dock-cat-chip {
    background: rgba(255, 255, 255, 0.04);
}

.ah-dock-chip-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.25;
    color: var(--text-primary, #0f172a);
    transition: color 0.15s ease;
}

[data-theme="dark"] .ah-dock-chip-name {
    color: #e2e8f0;
}

.ah-dock-cat-chip:hover,
.ah-dock-cat-chip.active {
    background: #10B981 !important;
    border-color: #10B981 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.ah-dock-cat-chip:hover .ah-dock-chip-name,
.ah-dock-cat-chip.active .ah-dock-chip-name {
    color: #ffffff !important;
}

.ah-dock-chip-count {
    background: rgba(0, 0, 0, 0.07);
    color: var(--text-secondary, #64748b);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

[data-theme="dark"] .ah-dock-chip-count {
    background: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

.ah-dock-cat-chip:hover .ah-dock-chip-count,
.ah-dock-cat-chip.active .ah-dock-chip-count {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}

.ah-dock-flyout-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid var(--ah-border, #f1f5f9);
}

.ah-dock-all-cats-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary, #10B981);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ah-dock-all-cats-link:hover {
    background: rgba(16, 185, 129, 0.08);
}

/* Mobile & Tablet Responsiveness for Floating Dock — Hidden on <= 1024px */
@media (max-width: 1024px) {
    #ahFloatingDock,
    .ah-floating-dock {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 640px) {
    .ah-floating-dock.ah-dock-right {
        right: 6px;
    }
    .ah-floating-dock.ah-dock-left {
        left: 6px;
    }
    .ah-dock-inner {
        padding: 4px 3px;
        gap: 3px;
        border-radius: 12px;
    }
    .ah-dock-btn {
        width: 30px;
        height: 30px;
        font-size: 12.5px;
        border-radius: 8px;
    }
    .ah-dock-tooltip {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════════════════
   PLATFORM SELECTION DROPDOWN & FOOTER PLATFORMS
   ══════════════════════════════════════════════════════════ */
.nav-dropdown-platforms {
    width: 330px !important;
    min-width: 310px !important;
}

.nav-dropdown-platforms .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-dropdown-platforms .dropdown-item i {
    font-size: 16px !important;
    width: 20px !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
}

.nav-dropdown-platforms .dropdown-item:hover i {
    transform: scale(1.25) !important;
}

.footer-platforms-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.footer-platforms-list li {
    list-style: none !important;
}

.footer-platforms-list li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #CBD5E1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-platforms-list li a i {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-platforms-list li a span {
    color: #CBD5E1 !important;
    transition: color 0.2s ease !important;
}

/* Hover State */
.footer-platforms-list li a:hover {
    color: #FFFFFF !important;
    transform: translateX(4px) !important;
}

.footer-platforms-list li a:hover span {
    color: #FFFFFF !important;
}

.footer-platforms-list li a:hover i {
    transform: scale(1.08) !important;
}

/* Branded Hover Glow & Background Highlights */
.footer-platforms-list li a:hover i.fa-android {
    background: rgba(61, 220, 132, 0.18) !important;
    border-color: rgba(61, 220, 132, 0.45) !important;
    color: #3DDC84 !important;
    box-shadow: 0 4px 14px rgba(61, 220, 132, 0.28) !important;
}

.footer-platforms-list li a:hover i.fa-apple {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.18) !important;
}

.footer-platforms-list li a:hover i.fa-windows {
    background: rgba(0, 173, 239, 0.18) !important;
    border-color: rgba(0, 173, 239, 0.45) !important;
    color: #00ADEF !important;
    box-shadow: 0 4px 14px rgba(0, 173, 239, 0.28) !important;
}

.footer-platforms-list li a:hover i.fa-linux {
    background: rgba(252, 198, 36, 0.18) !important;
    border-color: rgba(252, 198, 36, 0.45) !important;
    color: #FCC624 !important;
    box-shadow: 0 4px 14px rgba(252, 198, 36, 0.28) !important;
}

/* ══════════════════════════════════════════════════════════
   FLOATING DOCK PLATFORMS FLYOUT
   ══════════════════════════════════════════════════════════ */
.ah-dock-platforms-flyout {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.95);
    width: 320px;
    max-width: calc(100vw - 80px);
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--ah-border, #e2e8f0);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10005;
    box-sizing: border-box;
}

[data-theme="dark"] .ah-dock-platforms-flyout {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.ah-dock-right .ah-dock-platforms-flyout {
    right: calc(100% + 14px);
}

.ah-dock-left .ah-dock-platforms-flyout {
    left: calc(100% + 14px);
}

.ah-dock-platforms-flyout.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.ah-dock-plat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.ah-dock-plat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--ah-border, #e2e8f0);
    text-decoration: none;
    color: var(--text-primary, #0f172a);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .ah-dock-plat-row {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.ah-dock-plat-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ah-dock-plat-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ah-dock-plat-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ah-dock-plat-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    transition: color 0.15s ease;
}

[data-theme="dark"] .ah-dock-plat-title {
    color: #f1f5f9;
}

.ah-dock-plat-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary, #64748b);
}

[data-theme="dark"] .ah-dock-plat-sub {
    color: #94a3b8;
}

.ah-dock-plat-caret {
    font-size: 12px;
    color: var(--text-secondary, #94a3b8);
    transition: transform 0.2s ease, color 0.2s ease;
}

.ah-dock-plat-row:hover {
    background: var(--bg-surface, #ffffff);
    border-color: var(--accent-primary, #10B981);
    transform: translateX(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .ah-dock-plat-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.ah-dock-left .ah-dock-plat-row:hover {
    transform: translateX(3px);
}

.ah-dock-plat-row:hover .ah-dock-plat-badge {
    transform: scale(1.15);
}

.ah-dock-plat-row:hover .ah-dock-plat-title {
    color: var(--accent-primary, #10B981);
}

.ah-dock-plat-row:hover .ah-dock-plat-caret {
    color: var(--accent-primary, #10B981);
    transform: translateX(2px);
}

/* ──────────────────────────────────────────
   Crypto Balance Deposit Styles
   ────────────────────────────────────────── */
.ah-deposit-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--ah-border, #e2e8f0);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ah-dep-preset-btn {
    flex: 1;
    min-width: 60px;
    padding: 8px 12px;
    border: 1.5px solid var(--ah-border, #e2e8f0);
    background: var(--bg-primary, #f8fafc);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.ah-dep-preset-btn:hover {
    border-color: #10B981;
    color: #10B981;
    transform: translateY(-1px);
}

.ah-dep-preset-btn.active {
    background: #10B981;
    border-color: #10B981;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.ah-btn-topup-from-chk {
    transition: all 0.2s ease;
}

.ah-btn-topup-from-chk:hover {
    background: #059669 !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   Store Catalog, Hero, Vice-Versa Linked App Cards & Single Product Page
   ========================================================================== */

/* ── Fiery Red Hot Flame Nav Badge (Guaranteed Red, Never Green) ── */
.ah-nav-badge-hot,
.header-nav li a .ah-nav-badge-hot,
.header-nav li a:hover .ah-nav-badge-hot,
.header-nav li.current-menu-item > a .ah-nav-badge-hot,
.mobile-nav-item .ah-nav-badge-hot {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    border-radius: 50% !important;
    margin-left: 6px !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.75), 0 0 18px rgba(220, 38, 38, 0.4) !important;
    animation: ahPulseHotRed 4.5s infinite ease-in-out !important;
    vertical-align: middle !important;
    border: none !important;
}

.ah-nav-badge-hot i,
.header-nav li a .ah-nav-badge-hot i,
.header-nav li a:hover .ah-nav-badge-hot i,
.header-nav li.current-menu-item > a .ah-nav-badge-hot i,
.mobile-nav-item .ah-nav-badge-hot i {
    color: #ffffff !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

@keyframes ahPulseHotRed {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 14px rgba(239, 68, 68, 0.85);
    }
}

/* ── Store Layout Container ── */
.ah-store-page,
.ah-single-product-page {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
    margin-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ── Store Hero Banner ── */
.ah-store-hero {
    position: relative;
    border-radius: 24px;
    padding: 50px 36px 40px;
    margin-bottom: 45px;
    background: linear-gradient(145deg, #0d1527 0%, #0f1e36 60%, #082f49 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    color: #f8fafc;
}

.ah-store-hero-bg {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(56, 189, 248, 0.1) 40%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.ah-store-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.ah-pill-glow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.ah-pill-hot-tag {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #f59e0b;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.ah-store-hero .ah-store-hero-title {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 16px;
    color: #ffffff !important;
    letter-spacing: -0.5px;
}

.ah-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ah-store-hero .ah-store-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1 !important;
    max-width: 780px;
    margin: 0 0 32px;
}

.ah-store-trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.ah-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ah-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.ah-store-hero .ah-trust-info strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff !important;
}

.ah-store-hero .ah-trust-info span {
    font-size: 12px;
    color: #94a3b8 !important;
}

@media (max-width: 900px) {
    .ah-store-hero-title { font-size: 28px; }
    .ah-store-trust-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .ah-store-hero { padding: 30px 20px 24px; }
    .ah-store-trust-row { grid-template-columns: 1fr; }
}

/* ── Section Headers ── */
.ah-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.ah-section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ah-section-eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted, #64748b);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-section-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin: 0;
    color: var(--text-primary, #0f172a);
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .ah-section-title {
    color: #f8fafc;
}

.ah-section-sub {
    font-size: 15px;
    color: var(--text-muted, #64748b);
    margin-top: 8px;
    max-width: 600px;
}

.ah-spotlight-tag {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
}

/* ── Featured Spotlight Grid ── */
.ah-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.ah-featured-card {
    position: relative;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

[data-theme="dark"] .ah-featured-card {
    background: #0f172a;
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ah-featured-card:hover {
    transform: translateY(-4px);
    border-color: #10B981;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
}

.ah-feat-glow-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.ah-feat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ah-feat-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.05);
    border: 1.5px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ah-feat-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-feat-icon-placeholder {
    font-size: 28px;
    color: #10B981;
}

.ah-prod-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

[data-theme="dark"] .ah-prod-badge {
    color: #34d399;
}

.ah-prod-badge.featured {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.15));
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.ah-feat-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text-muted, #64748b);
    font-weight: 600;
}

.ah-feat-rating-row .ah-star {
    color: #f59e0b;
}

.ah-feat-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.35;
}

.ah-feat-title a {
    color: var(--text-primary, #0f172a);
    text-decoration: none;
    transition: color 0.2s;
}

[data-theme="dark"] .ah-feat-title a {
    color: #f8fafc;
}

.ah-feat-title a:hover {
    color: #10B981;
}

.ah-feat-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted, #64748b);
    margin: 0 0 14px;
}

/* ── Vice-Versa Linked App Statistics Strip ── */
.ah-linked-app-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    margin-bottom: 14px;
}

.ah-app-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ah-app-stat-pill {
    color: #cbd5e1;
}

.ah-app-stat-pill.dl-count {
    color: #0284c7;
}

.ah-app-stat-pill.dl-ver {
    color: #059669;
}

.ah-app-stat-pill.dl-plat {
    color: #7c3aed;
}

[data-theme="dark"] .ah-app-stat-pill.dl-count { color: #38bdf8; }
[data-theme="dark"] .ah-app-stat-pill.dl-ver { color: #34d399; }
[data-theme="dark"] .ah-app-stat-pill.dl-plat { color: #a78bfa; }

/* ── Checklist Highlights ── */
.ah-feat-checklist,
.ah-card-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ah-feat-checklist li,
.ah-card-features-list li {
    font-size: 12.5px;
    color: var(--text-primary, #334155);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

[data-theme="dark"] .ah-feat-checklist li,
[data-theme="dark"] .ah-card-features-list li {
    color: #cbd5e1;
}

.ah-feat-checklist li i,
.ah-card-features-list li i {
    color: #10B981;
    margin-top: 3px;
    font-size: 13px;
    flex-shrink: 0;
}

/* ── Featured Card Footer ── */
.ah-feat-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color, rgba(0,0,0,0.06));
    padding-top: 14px;
}

[data-theme="dark"] .ah-feat-footer {
    border-color: rgba(255,255,255,0.08);
}

.ah-price-from {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted, #64748b);
}

.ah-price-tag {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ah-price-tag .ah-curr {
    font-size: 16px;
    font-weight: 800;
    color: #10B981;
}

.ah-price-tag .ah-amount {
    font-size: 24px;
    font-weight: 900;
    color: #10B981;
    font-family: monospace;
}

.ah-orig-strike {
    font-size: 14px;
    color: var(--text-muted, #94a3b8);
    text-decoration: line-through;
    margin-left: 4px;
}

.ah-feat-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ah-btn-buy-modal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #10B981;
    color: #ffffff;
    border: none;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.ah-btn-buy-modal:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.ah-btn-view-plans {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-primary, #f1f5f9);
    border: 1px solid var(--border-color, #e2e8f0);
    color: var(--text-primary, #0f172a);
    text-decoration: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-btn-view-plans {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.ah-btn-view-plans:hover {
    border-color: #10B981;
    color: #10B981;
}

.ah-vice-versa-dl-link {
    margin-top: 10px;
    text-align: center;
}

.ah-free-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary, #10B981);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ah-free-dl-btn:hover {
    background: rgba(16, 185, 129, 0.1);
}

/* ── Catalog Toolbar & Search ── */
.ah-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.08));
}

[data-theme="dark"] .ah-catalog-toolbar {
    border-color: rgba(255,255,255,0.08);
}

.ah-catalog-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
    display: block;
    margin-top: 2px;
}

.ah-toolbar-search {
    position: relative;
    width: 340px;
    max-width: 100%;
}

.ah-toolbar-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, #94a3b8);
    font-size: 14px;
}

.ah-toolbar-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: 12px;
    border: 1.5px solid var(--border-color, #e2e8f0);
    background: var(--bg-surface, #ffffff);
    color: var(--text-primary, #0f172a);
    font-size: 13.5px;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-toolbar-search input {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

.ah-toolbar-search input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* ── Standard Product Card Grid ── */
.ah-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.ah-product-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
}

[data-theme="dark"] .ah-product-card {
    background: #0f172a;
    border-color: rgba(51, 65, 85, 0.8);
}

.ah-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .ah-product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.ah-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.ah-card-media {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ah-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-card-img-fallback {
    font-size: 24px;
    color: #10B981;
}

.ah-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.ah-rating-pill {
    font-size: 11.5px;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
}

.ah-card-title {
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.15px;
    margin: 0 0 6px;
    line-height: 1.35;
}

.ah-card-title {
    color: #000000 !important;
}

.ah-card-title a {
    color: #000000 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ah-card-title a:hover {
    color: #374151 !important;
}

[data-theme="dark"] .ah-card-title,
[data-theme="dark"] .ah-card-title a,
body.dark-mode .ah-card-title,
body.dark-mode .ah-card-title a {
    color: #ffffff !important;
}

[data-theme="dark"] .ah-card-title a:hover,
body.dark-mode .ah-card-title a:hover {
    color: #cbd5e1 !important;
}

.ah-card-excerpt {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted, #64748b);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ah-card-plan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.ah-plan-tag {
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-primary, #f1f5f9);
    color: var(--text-muted, #475569);
    padding: 2px 7px;
    border-radius: 6px;
}

[data-theme="dark"] .ah-plan-tag {
    background: #1e293b;
    color: #94a3b8;
}

.ah-plan-tag-more {
    font-size: 10.5px;
    color: var(--accent-primary, #10B981);
    font-weight: 700;
}

.ah-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color, rgba(0,0,0,0.06));
    padding-top: 12px;
}

[data-theme="dark"] .ah-card-footer {
    border-color: rgba(255,255,255,0.06);
}

.ah-card-from {
    display: block;
    font-size: 10.5px;
    color: var(--text-muted, #64748b);
    text-transform: uppercase;
    font-weight: 700;
}

.ah-card-price strong {
    font-size: 19px;
    font-weight: 800;
    color: #10B981;
    font-family: monospace;
}

.ah-card-price del {
    font-size: 12.5px;
    color: var(--text-muted, #94a3b8);
    margin-left: 4px;
}

.ah-card-btn-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-btn-card-buy {
    background: #10B981;
    color: #ffffff;
    border: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ah-btn-card-buy:hover {
    background: #059669;
}

.ah-btn-card-details {
    background: var(--bg-primary, #f1f5f9);
    color: var(--text-primary, #0f172a);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--border-color, #e2e8f0);
}

[data-theme="dark"] .ah-btn-card-details {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.ah-btn-card-details:hover {
    color: #10B981;
    border-color: #10B981;
}

.ah-card-vice-link {
    margin-top: 8px;
    text-align: center;
    border-top: 1px dashed rgba(0,0,0,0.06);
    padding-top: 6px;
}

[data-theme="dark"] .ah-card-vice-link {
    border-color: rgba(255,255,255,0.06);
}

.ah-card-vice-link a {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.ah-card-vice-link a:hover {
    color: #10B981;
}

/* ==========================================================================
   Single Product Showcase Page — Modern Flagship Redesign v3
   ========================================================================== */

/* ── Location & Breadcrumb Navigation Bar ── */
.ah-product-location-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 12px 20px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .ah-product-location-bar {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ah-product-breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}

.ah-bc-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    font-weight: 600;
}

[data-theme="dark"] .ah-bc-item {
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
}

.ah-bc-item:hover {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.ah-bc-item i {
    font-size: 12px;
}

.ah-bc-chevron {
    font-size: 9px;
    color: #94a3b8;
    opacity: 0.6;
}

.ah-bc-item.ah-bc-current {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-weight: 700;
}

[data-theme="dark"] .ah-bc-item.ah-bc-current {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.ah-bc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: ahPulseDot 2s infinite;
}

.ah-location-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ah-loc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
}

[data-theme="dark"] .ah-loc-badge {
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.ah-loc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #e2e8f0);
    background: var(--bg-surface, #ffffff);
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-loc-back-btn {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.ah-loc-back-btn:hover {
    color: #10B981;
    border-color: #10B981;
    transform: translateX(-2px);
}

/* ── Product Showcase Hero ── */
.ah-product-hero {
    position: relative;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 45px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.04);
    overflow: hidden;
}

[data-theme="dark"] .ah-product-hero {
    background: linear-gradient(150deg, #0d1527 0%, #0f1e36 60%, #0f172a 100%);
    border-color: rgba(56, 189, 248, 0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.ah-prod-hero-glow-bg {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}

.ah-prod-hero-grid {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
}

@media (max-width: 960px) {
    .ah-prod-hero-grid { display: block; }
}

/* ── Hero Media Column (Reduced and Proportional) ── */
.ah-prod-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-primary, #f8fafc);
    border: 1.5px solid var(--border-color, #e2e8f0);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 18px 48px;
    min-height: 200px;
}

[data-theme="dark"] .ah-prod-image-wrapper {
    background: #111e33;
    border-color: #1e3a5f;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.ah-prod-main-img {
    max-width: 130px;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    display: block;
    margin: 0 auto;
    transition: transform 0.35s ease;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.1));
}

.ah-prod-image-wrapper:hover .ah-prod-main-img {
    transform: scale(1.06);
}

.ah-prod-img-fallback {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #10B981;
}

.ah-prod-floating-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.ah-badge-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: ahPulseDot 2s infinite;
}

.ah-floating-features-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    z-index: 2;
}

.ah-floating-features-btn:hover {
    background: #10B981;
    border-color: #10B981;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.ah-prod-perks-box {
    margin-top: 14px;
    background: var(--bg-primary, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

[data-theme="dark"] .ah-prod-perks-box {
    background: rgba(15, 23, 42, 0.6);
    border-color: #1e293b;
}

.ah-perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ah-perk-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.ah-perk-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    line-height: 1.3;
}

[data-theme="dark"] .ah-perk-text strong {
    color: #f8fafc;
}

.ah-perk-text span {
    font-size: 11px;
    color: var(--text-muted, #64748b);
    line-height: 1.35;
}

/* ── Hero Details Column ── */
.ah-prod-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.ah-prod-status-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .ah-prod-status-pill {
    color: #34d399;
}

/* Top Purchased Pill on Single Product Page */
.ah-prod-top-pill {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(249, 115, 22, 0.12));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.38);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.12);
    transition: all 0.2s ease;
}

.ah-prod-top-pill i {
    color: #ef4444;
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.4));
    animation: flamePulse 2s infinite ease-in-out;
}

[data-theme="dark"] .ah-prod-top-pill {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.45);
    color: #f87171;
}

.ah-prod-delivery-pill {
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.3);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .ah-prod-delivery-pill {
    color: #38bdf8;
}

.ah-prod-rating-pill {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .ah-prod-rating-pill {
    color: #fbbf24;
}

.ah-prod-sales-pill {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.3);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .ah-prod-sales-pill {
    color: #a78bfa;
}

.ah-prod-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #059669;
    margin-bottom: 6px;
}

[data-theme="dark"] .ah-prod-brand-tag {
    color: #34d399;
}

/* ── Product Title Row with Inline App Logo ── */
.ah-prod-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 6px 0 16px;
}

.ah-prod-inline-logo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 104px;
    height: 104px;
    border-radius: 22px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

[data-theme="dark"] .ah-prod-inline-logo-wrap {
    background: #111e33;
    border-color: #1e3a5f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ah-prod-inline-logo-wrap:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.ah-prod-inline-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}

.ah-prod-inline-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #10B981;
}

.ah-prod-title-badge {
    position: absolute;
    top: -7px;
    left: -6px;
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2.5px 7.5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* Badge pill next to category */
.ah-badge-pill {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .ah-badge-pill {
    background: #090f1d;
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.ah-badge-pill .ah-badge-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: ahPulseDot 2s infinite;
}

.ah-prod-title-text-wrap {
    flex: 1;
    min-width: 0;
}

.ah-prod-title-text-wrap .ah-prod-title {
    margin: 0 0 8px;
    line-height: 1.22;
}

.ah-prod-title-text-wrap .ah-prod-tax-pills {
    margin-bottom: 0;
}

/* ── Hero Quick Conversion Actions Bar ── */
.ah-prod-quick-actions-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 8px 0 20px;
    padding: 12px 14px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .ah-prod-quick-actions-bar {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.ah-quick-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.ah-quick-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    line-height: 1;
}

.ah-quick-action-btn i {
    font-size: 13px;
}

/* 1. Download Button */
.ah-quick-dl-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.ah-quick-dl-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

/* 2. See Features Button */
.ah-quick-feat-btn {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #7c3aed !important;
    border: 1.5px solid rgba(139, 92, 246, 0.3) !important;
}
[data-theme="dark"] .ah-quick-feat-btn {
    background: rgba(139, 92, 246, 0.16) !important;
    color: #c4b5fd !important;
    border-color: rgba(139, 92, 246, 0.45) !important;
}
.ah-quick-feat-btn:hover {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}
.ah-quick-feat-btn:hover .ah-quick-btn-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.ah-quick-btn-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.18);
    font-size: 10px;
    font-weight: 800;
}

/* 3. Buy License Button (High-Conversion Primary) */
.ah-quick-buy-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32);
}
.ah-quick-buy-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* 4. View All Plans Button */
.ah-quick-plans-btn {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #d97706 !important;
    border: 1.5px solid rgba(245, 158, 11, 0.32) !important;
}
[data-theme="dark"] .ah-quick-plans-btn {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.42) !important;
}
.ah-quick-plans-btn:hover {
    background: #d97706 !important;
    color: #ffffff !important;
    border-color: #d97706 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

/* 5. App Info Button */
.ah-quick-info-btn {
    background: rgba(14, 165, 233, 0.1) !important;
    color: #0284c7 !important;
    border: 1.5px solid rgba(14, 165, 233, 0.3) !important;
}
[data-theme="dark"] .ah-quick-info-btn {
    background: rgba(14, 165, 233, 0.16) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.38) !important;
}
.ah-quick-info-btn:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
}

/* Supported Platforms integrated inside Quick Actions Box */
.ah-prod-quick-actions-bar .ah-quick-platforms-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 8px 12px;
    background: var(--bg-primary, #f8fafc);
    border: 1px dashed var(--border-color, #cbd5e1);
    border-radius: 10px;
    width: 100%;
}

[data-theme="dark"] .ah-prod-quick-actions-bar .ah-quick-platforms-row {
    background: rgba(15, 23, 42, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
}

.ah-prod-quick-actions-bar .ah-hub-plat-label {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .ah-prod-quick-actions-bar {
        gap: 8px;
        padding: 10px;
    }
    .ah-quick-action-btn {
        flex: 1 1 calc(50% - 8px);
        font-size: 12px;
        padding: 9px 12px;
    }
    .ah-prod-title-row {
        gap: 14px;
    }
    .ah-prod-inline-logo-wrap {
        width: 76px;
        height: 76px;
        padding: 8px;
        border-radius: 16px;
    }
    .ah-prod-title-text-wrap .ah-prod-title {
        font-size: 24px;
    }
}

/* ── Sidebar Perks / Guarantee Widget ── */
.ah-s-perks-widget {
    margin-bottom: 24px;
}

.ah-sidebar-perks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ah-sidebar-perks-list .ah-perk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 12px;
    background: var(--bg-primary, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    transition: all 0.25s ease;
}

[data-theme="dark"] .ah-sidebar-perks-list .ah-perk-item {
    background: rgba(15, 23, 42, 0.6);
    border-color: #1e293b;
}

.ah-sidebar-perks-list .ah-perk-item:hover {
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.ah-sidebar-perks-list .ah-perk-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.ah-sidebar-perks-list .ah-perk-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    line-height: 1.3;
}

[data-theme="dark"] .ah-sidebar-perks-list .ah-perk-text strong {
    color: #f8fafc;
}

.ah-sidebar-perks-list .ah-perk-text span {
    font-size: 11px;
    color: var(--text-muted, #64748b);
    line-height: 1.35;
    display: block;
    margin-top: 1px;
}

.ah-prod-title {
    font-size: clamp(23px, 2.4vw, 28px);
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text-primary, #0f172a);
    line-height: 1.25;
    letter-spacing: -0.3px;
}

[data-theme="dark"] .ah-prod-title {
    color: #ffffff;
}

.ah-prod-tax-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ah-cat-pill,
.ah-tag-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.ah-cat-pill {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.2s ease;
}

.ah-cat-pill:hover {
    background: #10B981;
    color: #ffffff;
}

[data-theme="dark"] .ah-cat-pill {
    color: #34d399;
}

.ah-tag-pill {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted, #64748b);
    border: 1px solid var(--border-color, #e2e8f0);
}

[data-theme="dark"] .ah-tag-pill {
    background: rgba(255, 255, 255, 0.05);
    border-color: #334155;
    color: #94a3b8;
}

.ah-prod-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted, #64748b);
    margin: 0 0 20px;
}

/* ── Single Product Key Features Showcase (with overflow protection) ── */
.ah-prod-features-block {
    background: var(--bg-primary, #f8fafc);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 16px 18px;
    margin: 0 0 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .ah-prod-features-block {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.ah-prod-features-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

[data-theme="dark"] .ah-prod-features-header {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.ah-prod-feat-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    letter-spacing: 0.2px;
}

[data-theme="dark"] .ah-prod-feat-badge {
    color: #f8fafc;
}

.ah-prod-feat-total-tag {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 8px;
    border-radius: 999px;
}

[data-theme="dark"] .ah-prod-feat-total-tag {
    color: #34d399;
}

.ah-prod-features-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
}

@media (max-width: 640px) {
    .ah-prod-features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.ah-prod-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-secondary, #334155);
    min-width: 0;
}

[data-theme="dark"] .ah-prod-feat-item {
    color: #cbd5e1;
}

.ah-prod-feat-item i {
    color: #10b981;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ah-prod-feat-text {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ah-prod-feat-toggle-wrap {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color, #e2e8f0);
    display: flex;
    justify-content: center;
}

[data-theme="dark"] .ah-prod-feat-toggle-wrap {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.ah-prod-feat-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color, #cbd5e1);
    color: #0284c7;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ah-prod-feat-toggle-btn:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: #0284c7;
    transform: translateY(-1px);
}

[data-theme="dark"] .ah-prod-feat-toggle-btn {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

[data-theme="dark"] .ah-prod-feat-toggle-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
}

.ah-prod-feat-toggle-btn i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

/* ── Connected App Statistics Hub Card ── */
.ah-linked-app-hub {
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.06) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 22px;
}

[data-theme="dark"] .ah-linked-app-hub {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.ah-hub-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ah-hub-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.06);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ah-hub-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-hub-icon i {
    font-size: 22px;
    color: #0284c7;
}

.ah-hub-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #0284c7;
    display: block;
}

[data-theme="dark"] .ah-hub-label {
    color: #38bdf8;
}

.ah-hub-title {
    margin: 2px 0 0;
    font-size: 17px;
    font-weight: 800;
}

.ah-hub-title a {
    color: var(--text-primary, #0f172a);
    text-decoration: none;
}

[data-theme="dark"] .ah-hub-title a {
    color: #f8fafc;
}

.ah-hub-title a:hover {
    color: #10B981;
}

.ah-hub-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    padding: 12px 16px;
}

[data-theme="dark"] .ah-hub-stats-grid {
    background: #0f172a;
    border-color: #1e293b;
}

@media (max-width: 700px) {
    .ah-hub-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.ah-hub-stat .ah-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted, #64748b);
    font-weight: 600;
    margin-bottom: 2px;
}

.ah-hub-stat .ah-stat-val {
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-stat-val.dl-val { color: #0284c7; }
.ah-stat-val.ver-val { color: #059669; }
.ah-stat-val.plat-val { color: #7c3aed; }
.ah-stat-val.size-val { color: #d97706; }

[data-theme="dark"] .ah-stat-val.dl-val { color: #38bdf8; }
[data-theme="dark"] .ah-stat-val.ver-val { color: #34d399; }
[data-theme="dark"] .ah-stat-val.plat-val { color: #a78bfa; }
[data-theme="dark"] .ah-stat-val.size-val { color: #fbbf24; }

.ah-hub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ah-hub-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.ah-hub-dl-btn i {
    color: #ffffff !important;
    font-size: 14px;
}

.ah-hub-dl-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

.ah-hub-dl-btn:hover i {
    color: #ffffff !important;
}

.ah-hub-features-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.ah-hub-features-btn i {
    color: #ffffff !important;
    font-size: 14px;
}

[data-theme="dark"] .ah-hub-features-btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .ah-hub-features-btn i {
    color: #ffffff !important;
}

.ah-hub-features-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}

.ah-hub-features-btn:hover i {
    color: #ffffff !important;
}

.ah-hub-badge-count {
    background: #10B981;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 999px;
}

.ah-hub-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    color: var(--text-primary, #0f172a) !important;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ah-hub-view-btn i {
    color: var(--text-muted, #64748b) !important;
}

[data-theme="dark"] .ah-hub-view-btn {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc !important;
}

[data-theme="dark"] .ah-hub-view-btn i {
    color: #94a3b8 !important;
}

.ah-hub-view-btn:hover {
    border-color: #10B981;
    color: #10B981 !important;
}

.ah-hub-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.ah-hub-buy-btn i {
    color: #ffffff !important;
    font-size: 14px;
}

.ah-hub-buy-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.ah-hub-plans-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    color: var(--text-primary, #0f172a) !important;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ah-hub-plans-btn i {
    color: #f59e0b !important;
}

[data-theme="dark"] .ah-hub-plans-btn {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc !important;
}

.ah-hub-plans-btn:hover {
    border-color: #f59e0b;
    color: #f59e0b !important;
    transform: translateY(-1px);
}

.ah-hub-view-btn:hover i {
    color: #10B981 !important;
}

/* ── Quick Action / Pricing Dock ── */
.ah-prod-quick-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: var(--bg-primary, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 18px;
    padding: 18px 24px;
}

[data-theme="dark"] .ah-prod-quick-action {
    background: rgba(15, 23, 42, 0.7);
    border-color: #1e293b;
}

.ah-qp-label {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted, #64748b);
}

.ah-qp-val {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ah-qp-curr {
    font-size: 18px;
    font-weight: 800;
    color: #10B981;
}

.ah-qp-num {
    font-size: 28px;
    font-weight: 900;
    color: #10B981;
    font-family: monospace;
}

.ah-qp-period {
    font-size: 13px;
    color: var(--text-muted, #64748b);
}

.ah-qp-trust-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: #059669;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .ah-qp-trust-tag {
    color: #34d399;
}

.ah-quick-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ah-btn-scroll-plans {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 18px;
    border-radius: 12px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    color: var(--text-primary, #0f172a);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-btn-scroll-plans {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.ah-btn-scroll-plans:hover {
    border-color: #10B981;
    color: #10B981;
    transform: translateY(-1px);
}

.ah-btn-instant-checkout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
}

.ah-btn-instant-checkout:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}

/* ── Interactive Subscription Plans Section ── */
.ah-plans-section {
    margin-bottom: 50px;
}

.ah-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.ah-plan-card {
    position: relative;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 34px 24px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .ah-plan-card {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-plan-card:hover {
    transform: translateY(-5px);
    border-color: #10B981;
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

[data-theme="dark"] .ah-plan-card:hover {
    box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

.ah-plan-card.popular-card {
    border: 2px solid #10B981 !important;
    box-shadow: 0 14px 35px rgba(16, 185, 129, 0.18) !important;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-surface, #ffffff) 100%);
    transform: translateY(-4px);
}

[data-theme="dark"] .ah-plan-card.popular-card {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, #0f172a 100%);
}

.ah-plan-ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10B981, #059669);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 5px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    white-space: nowrap;
    z-index: 2;
}

.ah-plan-header {
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.06));
}

[data-theme="dark"] .ah-plan-header {
    border-color: rgba(255,255,255,0.08);
}

.ah-plan-name {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ah-plan-name {
    color: #f8fafc;
}

.ah-plan-duration {
    font-size: 12.5px;
    color: var(--text-muted, #64748b);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.03);
    padding: 3px 10px;
    border-radius: 999px;
}

[data-theme="dark"] .ah-plan-duration {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
}

.ah-plan-pricing-box {
    text-align: center;
    margin-bottom: 20px;
}

.ah-plan-original-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ah-plan-original-row .ah-orig-amount {
    font-size: 15px;
    color: var(--text-muted, #94a3b8);
    text-decoration: line-through;
}

.ah-plan-disc-tag {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
}

.ah-plan-current-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.ah-plan-current-price .ah-curr {
    font-size: 20px;
    font-weight: 800;
    color: #10B981;
}

.ah-plan-current-price .ah-amount {
    font-size: 36px;
    font-weight: 900;
    color: #10B981;
    font-family: monospace;
}

.ah-plan-billing-note {
    font-size: 11.5px;
    color: var(--text-muted, #94a3b8);
}

.ah-plan-features-list {
    margin-bottom: 24px;
    flex-grow: 1;
}

.ah-plan-feat-heading {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #64748b);
    margin-bottom: 10px;
}

.ah-plan-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ah-plan-features-list li {
    font-size: 13px;
    color: var(--text-primary, #334155);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

[data-theme="dark"] .ah-plan-features-list li {
    color: #cbd5e1;
}

.ah-plan-features-list li i {
    color: #10B981;
    margin-top: 3px;
    font-size: 13px;
    flex-shrink: 0;
}

.ah-btn-plan-select {
    width: 100%;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.ah-btn-plan-select:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

/* ── Features Capabilities Grid ── */
.ah-features-section {
    margin-bottom: 50px;
}

.ah-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.ah-feature-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-feature-card {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-feature-card:hover {
    transform: translateY(-3px);
    border-color: #10B981;
}

.ah-feat-check-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.ah-feat-card-body strong {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin-bottom: 4px;
}

[data-theme="dark"] .ah-feat-card-body strong {
    color: #f8fafc;
}

.ah-feat-card-body p {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted, #64748b);
    margin: 0;
}

/* ── Product Content Body & Activation Guide ── */
.ah-content-section {
    margin-bottom: 50px;
}

.ah-product-content-body {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 24px;
    padding: 36px 40px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary, #334155);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .ah-product-content-body {
    background: #0f172a;
    border-color: #1e293b;
    color: #cbd5e1;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .ah-product-content-body {
        padding: 22px 18px;
        border-radius: 18px;
    }
}

/* ── Content Section Divider ── */
.ah-article-divider-wrap {
    margin: 40px 0 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ah-article-divider-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.95), transparent);
}

[data-theme="dark"] .ah-article-divider-line {
    background: linear-gradient(90deg, transparent, rgba(51, 65, 85, 0.7), transparent);
}

.ah-article-divider-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #059669;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
    white-space: nowrap;
}

[data-theme="dark"] .ah-article-divider-chip {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(56, 189, 248, 0.14) 100%);
    border-color: rgba(52, 211, 153, 0.35);
    color: #34d399;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* ── Typography & Elements inside Product Content Body & Article ── */
.ah-product-article-pro,
.ah-product-content-body {
    word-break: break-word;
}

.ah-product-content-body h2,
.ah-product-article-pro h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 38px 0 16px;
    line-height: 1.35;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 16px;
    border-left: 4px solid #10B981;
}

[data-theme="dark"] .ah-product-content-body h2,
[data-theme="dark"] .ah-product-article-pro h2 {
    color: #f8fafc;
    border-left-color: #34d399;
}

.ah-product-content-body h3,
.ah-product-article-pro h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 28px 0 12px;
    line-height: 1.4;
}

[data-theme="dark"] .ah-product-content-body h3,
[data-theme="dark"] .ah-product-article-pro h3 {
    color: #f1f5f9;
}

.ah-product-content-body h4,
.ah-product-article-pro h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: #334155;
    margin: 22px 0 10px;
    line-height: 1.45;
}

[data-theme="dark"] .ah-product-content-body h4,
[data-theme="dark"] .ah-product-article-pro h4 {
    color: #e2e8f0;
}

.ah-product-content-body p,
.ah-product-article-pro p {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    margin: 0 0 18px;
}

[data-theme="dark"] .ah-product-content-body p,
[data-theme="dark"] .ah-product-article-pro p {
    color: #94a3b8;
}

.ah-product-content-body strong,
.ah-product-content-body b,
.ah-product-article-pro strong,
.ah-product-article-pro b {
    font-weight: 700;
    color: #0f172a;
}

[data-theme="dark"] .ah-product-content-body strong,
[data-theme="dark"] .ah-product-content-body b,
[data-theme="dark"] .ah-product-article-pro strong,
[data-theme="dark"] .ah-product-article-pro b {
    color: #f8fafc;
}

/* ── Unordered Lists (Feature Bullets with Emerald Badges) ── */
.ah-product-content-body ul,
.ah-product-article-pro ul {
    list-style: none;
    padding-left: 0;
    margin: 18px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ah-product-content-body ul > li,
.ah-product-article-pro ul > li {
    position: relative;
    padding-left: 30px;
    line-height: 1.65;
    font-size: 14.5px;
    color: #334155;
}

[data-theme="dark"] .ah-product-content-body ul > li,
[data-theme="dark"] .ah-product-article-pro ul > li {
    color: #cbd5e1;
}

.ah-product-content-body ul > li::before,
.ah-product-article-pro ul > li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .ah-product-content-body ul > li::before,
[data-theme="dark"] .ah-product-article-pro ul > li::before {
    background: rgba(52, 211, 153, 0.18);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.35);
}

/* ── Ordered Lists (Numbered Step Badges) ── */
.ah-product-content-body ol,
.ah-product-article-pro ol {
    counter-reset: ah-art-counter;
    list-style: none;
    padding-left: 0;
    margin: 20px 0 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ah-product-content-body ol > li,
.ah-product-article-pro ol > li {
    counter-increment: ah-art-counter;
    position: relative;
    padding-left: 38px;
    line-height: 1.65;
    font-size: 14.5px;
    color: #334155;
}

[data-theme="dark"] .ah-product-content-body ol > li,
[data-theme="dark"] .ah-product-article-pro ol > li {
    color: #cbd5e1;
}

.ah-product-content-body ol > li::before,
.ah-product-article-pro ol > li::before {
    content: counter(ah-art-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* ── Contextual Internal & External Links ── */
.ah-product-content-body a,
.ah-product-article-pro a {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(16, 185, 129, 0.35);
    padding: 1px 3px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ah-product-content-body a:hover,
.ah-product-article-pro a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-bottom-color: #10B981;
}

[data-theme="dark"] .ah-product-content-body a,
[data-theme="dark"] .ah-product-article-pro a {
    color: #34d399;
    border-bottom-color: rgba(52, 211, 153, 0.4);
}

[data-theme="dark"] .ah-product-content-body a:hover,
[data-theme="dark"] .ah-product-article-pro a:hover {
    background: rgba(52, 211, 153, 0.18);
    color: #6ee7b7;
    border-bottom-color: #34d399;
}

/* ── Comparison & Plan Matrices: High-End Responsive Tables ── */
.ah-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .ah-table-responsive {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.ah-table-responsive table,
.ah-product-content-body table,
.ah-product-article-pro table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14.5px;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* If a table is not inside .ah-table-responsive, enforce border and radius directly */
.ah-product-content-body > table,
.ah-product-article-pro > table {
    margin: 30px 0;
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .ah-product-content-body > table,
[data-theme="dark"] .ah-product-article-pro > table {
    border-color: #1e293b;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

/* Table Header */
.ah-product-content-body table thead th,
.ah-product-article-pro table thead th,
.ah-table-responsive table thead th {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #334155;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 16px 20px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

[data-theme="dark"] .ah-product-content-body table thead th,
[data-theme="dark"] .ah-product-article-pro table thead th,
[data-theme="dark"] .ah-table-responsive table thead th {
    background: linear-gradient(180deg, #1e293b 0%, #152033 100%);
    color: #94a3b8;
    border-bottom-color: #334155;
}

/* Table Rows & Cells */
.ah-product-content-body table tbody tr,
.ah-product-article-pro table tbody tr,
.ah-table-responsive table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

[data-theme="dark"] .ah-product-content-body table tbody tr,
[data-theme="dark"] .ah-product-article-pro table tbody tr,
[data-theme="dark"] .ah-table-responsive table tbody tr {
    border-bottom-color: #1e293b;
}

.ah-product-content-body table tbody tr:nth-child(even),
.ah-product-article-pro table tbody tr:nth-child(even),
.ah-table-responsive table tbody tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.7);
}

[data-theme="dark"] .ah-product-content-body table tbody tr:nth-child(even),
[data-theme="dark"] .ah-product-article-pro table tbody tr:nth-child(even),
[data-theme="dark"] .ah-table-responsive table tbody tr:nth-child(even) {
    background-color: rgba(30, 41, 59, 0.4);
}

.ah-product-content-body table tbody tr:hover,
.ah-product-article-pro table tbody tr:hover,
.ah-table-responsive table tbody tr:hover {
    background-color: rgba(16, 185, 129, 0.05);
}

[data-theme="dark"] .ah-product-content-body table tbody tr:hover,
[data-theme="dark"] .ah-product-article-pro table tbody tr:hover,
[data-theme="dark"] .ah-table-responsive table tbody tr:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

.ah-product-content-body table tbody tr:last-child,
.ah-product-article-pro table tbody tr:last-child,
.ah-table-responsive table tbody tr:last-child {
    border-bottom: none;
}

.ah-product-content-body table tbody td,
.ah-product-article-pro table tbody td,
.ah-table-responsive table tbody td {
    padding: 16px 20px;
    color: #475569;
    vertical-align: middle;
}

[data-theme="dark"] .ah-product-content-body table tbody td,
[data-theme="dark"] .ah-product-article-pro table tbody td,
[data-theme="dark"] .ah-table-responsive table tbody td {
    color: #cbd5e1;
}

.ah-product-content-body table tbody td:first-child,
.ah-product-article-pro table tbody td:first-child,
.ah-table-responsive table tbody td:first-child {
    font-weight: 700;
    color: #0f172a;
}

[data-theme="dark"] .ah-product-content-body table tbody td:first-child,
[data-theme="dark"] .ah-product-article-pro table tbody td:first-child,
[data-theme="dark"] .ah-table-responsive table tbody td:first-child {
    color: #f8fafc;
}

/* ── Blockquotes & Highlights ── */
.ah-product-content-body blockquote,
.ah-product-article-pro blockquote {
    margin: 26px 0;
    padding: 18px 24px;
    background: rgba(16, 185, 129, 0.05);
    border-left: 4px solid #10B981;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
}

[data-theme="dark"] .ah-product-content-body blockquote,
[data-theme="dark"] .ah-product-article-pro blockquote {
    background: rgba(16, 185, 129, 0.09);
    border-left-color: #34d399;
    color: #cbd5e1;
}

.ah-activation-guide-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 28px;
}

[data-theme="dark"] .ah-activation-guide-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
    border-color: rgba(16, 185, 129, 0.25);
}

.ah-guide-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 18px;
    color: var(--text-primary, #0f172a);
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .ah-guide-title {
    color: #f8fafc;
}

.ah-guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .ah-guide-steps-grid { grid-template-columns: 1fr; }
}

.ah-guide-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 16px;
}

[data-theme="dark"] .ah-guide-step {
    background: #111e33;
    border-color: #1e293b;
}

.ah-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10B981;
    color: #ffffff;
    font-weight: 900;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ah-step-content strong {
    display: block;
    font-size: 13.5px;
    color: var(--text-primary, #0f172a);
    margin-bottom: 4px;
}

[data-theme="dark"] .ah-step-content strong {
    color: #f8fafc;
}

.ah-step-content p {
    font-size: 12px;
    color: var(--text-muted, #64748b);
    line-height: 1.45;
    margin: 0;
}

.ah-guarantee-box {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 14px;
    padding: 18px 20px;
}

.ah-guarantee-icon {
    font-size: 32px;
    color: #f59e0b;
    flex-shrink: 0;
}

.ah-guarantee-box h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    color: #d97706;
}

[data-theme="dark"] .ah-guarantee-box h4 {
    color: #fbbf24;
}

.ah-guarantee-box p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted, #64748b);
}

/* ── Security & Guarantees Strip ── */
.ah-security-strip {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 40px;
}

[data-theme="dark"] .ah-security-strip {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-sec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .ah-sec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .ah-sec-grid { grid-template-columns: 1fr; }
}

.ah-sec-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ah-sec-card i {
    font-size: 24px;
    color: #10B981;
    margin-top: 2px;
    flex-shrink: 0;
}

.ah-sec-card strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary, #0f172a);
    margin-bottom: 2px;
}

[data-theme="dark"] .ah-sec-card strong {
    color: #f8fafc;
}

.ah-sec-card span {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted, #64748b);
}

/* ── Security & Guarantees Strip ── */
.ah-security-strip {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 40px;
}

[data-theme="dark"] .ah-security-strip {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-sec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .ah-sec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .ah-sec-grid { grid-template-columns: 1fr; }
}

.ah-sec-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ah-sec-card i {
    font-size: 24px;
    color: #10B981;
    margin-top: 2px;
    flex-shrink: 0;
}

.ah-sec-card strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary, #0f172a);
    margin-bottom: 2px;
}

[data-theme="dark"] .ah-sec-card strong {
    color: #f8fafc;
}

.ah-sec-card span {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted, #64748b);
}

/* ══════════════════════════════════════════════════════════════════════════
   STORE CATEGORIES FILTER PILLS & DELIVERY BADGES
   ══════════════════════════════════════════════════════════════════════════ */
.ah-store-cat-filter-wrapper {
    margin: 16px 0 24px;
    position: relative;
}

.ah-cat-filter-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.ah-cat-filter-scroll::-webkit-scrollbar {
    height: 4px;
}

.ah-cat-filter-scroll::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.25);
    border-radius: 4px;
}

.ah-cat-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #475569);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ah-cat-filter-pill:hover {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.04);
    transform: translateY(-1px);
}

.ah-cat-filter-pill.active {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #059669;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.ah-cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
}

.ah-cat-filter-pill.active .ah-cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

[data-theme="dark"] .ah-cat-filter-pill {
    background: #0f172a;
    border-color: #1e293b;
    color: #94a3b8;
}

[data-theme="dark"] .ah-cat-filter-pill:hover {
    border-color: #10b981;
    color: #34d399;
}

[data-theme="dark"] .ah-cat-filter-pill.active {
    color: #ffffff;
}

/* Delivery Badges & Pills */
.ah-prod-delivery-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

[data-theme="dark"] .ah-prod-delivery-pill {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.35);
}

.ah-card-delivery-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

[data-theme="dark"] .ah-card-delivery-tag {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
}

/* Product Taxonomies on Single Page */
.ah-prod-tax-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.ah-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ah-cat-pill:hover {
    background: #2563eb;
    color: #ffffff;
}

.ah-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 500;
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-secondary, #64748b);
    border: 1px solid rgba(100, 116, 139, 0.15);
}

/* ══════════════════════════════════════════════════════════════════════════
   SEE FEATURES & MEDIA BUTTONS
   ══════════════════════════════════════════════════════════════════════════ */
.ah-hub-features-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.ah-hub-features-btn i {
    color: #ffffff !important;
}

.ah-hub-features-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
    color: #ffffff !important;
}

.ah-hub-features-btn:hover i {
    color: #ffffff !important;
}

.ah-hub-badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
}

.ah-floating-features-btn {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 4;
}

.ah-floating-features-btn:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: #10b981;
    color: #34d399;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════════════
   FEATURES & MEDIA GALLERY MODAL
   ══════════════════════════════════════════════════════════════════════════ */
.ah-media-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ahModalFadeIn 0.25s ease-out;
}

@keyframes ahModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ah-media-modal-dialog {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: ahModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ahModalSlideUp {
    from { transform: translateY(24px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

[data-theme="dark"] .ah-media-modal-dialog {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-media-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    background: var(--bg-surface, #ffffff);
}

[data-theme="dark"] .ah-media-modal-header {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-media-modal-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ah-media-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(79, 70, 229, 0.2));
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ah-media-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ah-media-modal-title {
    color: #f8fafc;
}

.ah-media-modal-sub {
    font-size: 12.5px;
    color: var(--text-muted, #64748b);
}

.ah-media-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #64748b);
    font-size: 16px;
    transition: all 0.2s ease;
}

.ah-media-modal-close:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

[data-theme="dark"] .ah-media-modal-close {
    background: #1e293b;
    color: #94a3b8;
}

.ah-media-modal-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ah-media-section-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .ah-media-section-title {
    color: #f8fafc;
}

/* Video Frame Responsive Wrapper */
.ah-media-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 14px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.ah-media-video-container iframe,
.ah-media-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Screenshots Gallery in Modal */
.ah-media-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ah-media-pill-count {
    padding: 3px 9px;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    font-size: 11.5px;
    font-weight: 700;
}

.ah-media-tip-note {
    font-size: 12.5px;
    color: var(--text-muted, #64748b);
    margin: 4px 0 14px 0;
}

.ah-media-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.ah-media-screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color, #e2e8f0);
    aspect-ratio: 16 / 10;
    transition: all 0.25s ease;
}

[data-theme="dark"] .ah-media-screenshot-item {
    border-color: #1e293b;
    background: #090e17;
}

.ah-media-screenshot-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.ah-media-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.ah-media-lightbox-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ah-media-screenshot-item:hover img {
    transform: scale(1.04);
}

.ah-media-zoom-badge {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ah-media-screenshot-item:hover .ah-media-zoom-badge {
    opacity: 1;
}

/* Modal Footer */
.ah-media-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color, #e2e8f0);
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .ah-media-modal-footer {
    border-color: #1e293b;
    background: #0b1120;
}

.ah-modal-footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary, #475569);
}

[data-theme="dark"] .ah-modal-footer-info {
    color: #94a3b8;
}

.ah-modal-footer-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ah-modal-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 8px;
    background: #10b981;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ah-modal-btn-download:hover {
    background: #059669;
    color: #ffffff;
}

.ah-modal-btn-close {
    padding: 8px 16px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border-color, #cbd5e1);
    color: var(--text-secondary, #475569);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ah-modal-btn-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .ah-modal-btn-close {
    border-color: #334155;
    color: #cbd5e1;
}

@media (max-width: 640px) {
    .ah-media-modal-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .ah-modal-footer-btns {
        justify-content: flex-end;
    }
}

/* ==========================================================================
   Store Redesign: Hero Featured Deals, Sidebar & Catalog Cards
   ========================================================================== */

/* ── Featured Deal Hero Card (Main-Page Wallpaper Aesthetic) ── */
.ah-featured-card-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-featured-card-hero:hover {
    border-color: #10B981;
    box-shadow: 0 24px 55px -10px rgba(16, 185, 129, 0.25);
    transform: translateY(-3px);
}

.ah-feat-cover-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.ah-featured-card-hero:hover .ah-feat-cover-backdrop {
    transform: scale(1.06);
}

.ah-feat-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.88) 52%, rgba(15, 23, 42, 0.45) 100%);
    z-index: 2;
}

[data-theme="dark"] .ah-feat-overlay-gradient {
    background: linear-gradient(100deg, rgba(11, 17, 32, 0.98) 0%, rgba(11, 17, 32, 0.90) 52%, rgba(11, 17, 32, 0.5) 100%);
}

.ah-feat-inner-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: center;
    padding: 38px 44px;
}

.ah-feat-main-col {
    display: flex;
    flex-direction: column;
}

.ah-feat-top-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.ah-deal-badge {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.ah-deal-discount-pill {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4);
    animation: pulse-soft 2.5s infinite;
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.ah-featured-card-hero .ah-feat-rating-row {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12.5px;
    font-weight: 600;
}

.ah-feat-title-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 12px;
}

.ah-feat-icon-col,
.ah-featured-card-hero .ah-feat-icon-wrap {
    width: 72px;
    height: 72px;
    min-width: 72px;
    max-width: 72px;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ah-feat-app-icon,
.ah-featured-card-hero .ah-feat-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-featured-card-hero .ah-feat-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
}

.ah-featured-card-hero .ah-feat-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ah-featured-card-hero .ah-feat-title a:hover {
    color: #34d399;
}

.ah-feat-lead {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 16px;
    max-width: 620px;
}

.ah-featured-card-hero .ah-linked-app-strip {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.ah-featured-card-hero .ah-app-stat-pill {
    color: #f1f5f9;
}

.ah-featured-card-hero .ah-app-stat-pill.dl-count { color: #38bdf8; }
.ah-featured-card-hero .ah-app-stat-pill.dl-ver { color: #34d399; }
.ah-featured-card-hero .ah-app-stat-pill.dl-plat { color: #c084fc; }

.ah-featured-card-hero .ah-feat-checklist li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.ah-featured-card-hero .ah-feat-checklist li i {
    color: #34d399;
}

.ah-featured-card-hero .ah-feat-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
}

.ah-featured-card-hero .ah-price-from {
    color: rgba(255, 255, 255, 0.6);
}

.ah-featured-card-hero .ah-price-tag .ah-curr,
.ah-featured-card-hero .ah-price-tag .ah-amount {
    color: #34d399;
}

.ah-featured-card-hero .ah-orig-strike {
    color: rgba(255, 255, 255, 0.45);
}

.ah-featured-card-hero .ah-btn-buy-modal {
    background: #10B981;
    color: #ffffff;
    font-size: 13.5px;
    padding: 10px 18px;
    border-radius: 10px;
}

.ah-featured-card-hero .ah-btn-buy-modal:hover {
    background: #059669;
}

.ah-featured-card-hero .ah-btn-view-plans {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.ah-featured-card-hero .ah-btn-view-plans:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #34d399;
    color: #34d399;
}

.ah-featured-card-hero .ah-free-dl-btn {
    color: #34d399;
}

.ah-featured-card-hero .ah-free-dl-btn:hover {
    background: rgba(52, 211, 153, 0.15);
}

/* Visual Column Showcase */
.ah-feat-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ah-visual-preview-box,
.ah-feat-visual-box {
    position: relative;
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(16, 185, 129, 0.2);
    transition: transform 0.4s ease;
}

.ah-featured-card-hero:hover .ah-visual-preview-box,
.ah-featured-card-hero:hover .ah-feat-visual-box {
    transform: translateY(-4px) scale(1.02);
}

.ah-visual-img,
.ah-feat-visual-banner {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ah-visual-preview-box:hover .ah-visual-img,
.ah-feat-visual-box:hover .ah-feat-visual-banner {
    transform: scale(1.08);
}

.ah-visual-glass-badge,
.ah-feat-visual-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: #34d399;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── 2-Column Catalog & Sidebar Layout ── */
.ah-store-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 32px;
    align-items: start;
    margin-top: 10px;
}

.ah-store-main-col {
    min-width: 0;
}

.ah-store-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
}

.ah-sidebar-widget {
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease;
}

[data-theme="dark"] .ah-sidebar-widget {
    background: #0f172a;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.ah-widget-title,
.ah-sidebar-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .ah-widget-title,
[data-theme="dark"] .ah-sidebar-title {
    color: #f8fafc;
    border-color: #334155;
}

.ah-widget-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

[data-theme="dark"] .ah-widget-header-row {
    border-color: #334155;
}

.ah-widget-header-row .ah-widget-title {
    margin: 0;
    padding: 0;
    border: none;
}

.ah-widget-sub-tag {
    font-size: 11px;
    font-weight: 800;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
}

/* Sidebar Category List */
.ah-sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ah-sidebar-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--text-primary, #0f172a);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-sidebar-cat-link {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
}

.ah-scat-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ah-scat-left i {
    color: #10B981;
    font-size: 13px;
}

.ah-scat-badge,
.ah-sidebar-cat-count {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-muted, #64748b);
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 700;
}

[data-theme="dark"] .ah-scat-badge,
[data-theme="dark"] .ah-sidebar-cat-count {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.ah-sidebar-cat-link:hover,
.ah-sidebar-cat-list li.active .ah-sidebar-cat-link,
.ah-sidebar-cat-link.active {
    background: #10B981 !important;
    color: #ffffff !important;
    border-color: #10B981 !important;
    transform: translateX(3px);
}

.ah-sidebar-cat-link:hover .ah-scat-left i,
.ah-sidebar-cat-list li.active .ah-scat-left i,
.ah-sidebar-cat-link.active .ah-scat-left i {
    color: #ffffff !important;
}

.ah-sidebar-cat-link:hover .ah-scat-badge,
.ah-sidebar-cat-list li.active .ah-scat-badge,
.ah-sidebar-cat-link.active .ah-scat-badge,
.ah-sidebar-cat-link.active .ah-sidebar-cat-count {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Top Purchased List Widget */
.ah-top-purchased-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ah-top-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .ah-top-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.ah-top-item:hover {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateX(3px);
}

.ah-top-rank {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}

.ah-top-rank.rank-1 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.ah-top-rank.rank-2 {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #ffffff;
}

.ah-top-rank.rank-3 {
    background: linear-gradient(135deg, #b45309, #78350f);
    color: #ffffff;
}

.ah-top-rank.rank-other {
    background: rgba(0, 0, 0, 0.07);
    color: var(--text-muted, #64748b);
}

[data-theme="dark"] .ah-top-rank.rank-other {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.ah-top-icon,
.ah-top-thumb {
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .ah-top-icon,
[data-theme="dark"] .ah-top-thumb {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

.ah-top-icon img,
.ah-top-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-top-icon i,
.ah-top-img-fallback {
    font-size: 16px;
    color: #10B981;
}

.ah-top-info {
    flex: 1;
    min-width: 0;
}

.ah-top-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="dark"] .ah-top-title {
    color: #f8fafc;
}

.ah-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11.5px;
}

.ah-top-sales {
    color: var(--text-muted, #64748b);
    font-weight: 600;
}

.ah-top-sales i {
    color: #10B981;
    font-size: 10px;
}

.ah-top-price {
    font-weight: 800;
    color: #10B981;
    font-family: monospace;
    font-size: 12.5px;
}

/* Sidebar Guarantee Card */
.ah-widget-guarantee-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    border-color: rgba(16, 185, 129, 0.3);
}

.ah-w-guarantee-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.ah-w-guarantee-head i {
    font-size: 26px;
    color: #10B981;
    flex-shrink: 0;
}

.ah-w-guarantee-head strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ah-w-guarantee-head strong {
    color: #f8fafc;
}

.ah-w-guarantee-head span {
    font-size: 11.5px;
    color: var(--text-muted, #64748b);
}

.ah-w-guarantee-list,
.ah-guarantee-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ah-w-guarantee-list li,
.ah-guarantee-item {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary, #334155);
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .ah-w-guarantee-list li {
    color: #cbd5e1;
}

/* ── Redesigned Product Card With Atmospheric Top Cover ── */
.ah-product-card {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 18px !important;
    border: 1.5px solid var(--border-color, #e2e8f0) !important;
    background: var(--bg-surface, #ffffff);
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .ah-product-card {
    background: #0f172a;
    border-color: #334155 !important;
}

.ah-product-card:hover {
    transform: translateY(-5px);
    border-color: #10B981 !important;
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.14) !important;
}

.ah-card-top-cover {
    position: relative;
    height: 95px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.ah-card-cover-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transform: scale(1.04);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.ah-product-card:hover .ah-card-cover-bg {
    transform: scale(1.12);
    filter: brightness(0.82);
}

.ah-card-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.ah-card-floating-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.ah-card-disc-pill {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    letter-spacing: 0.5px;
}

.ah-card-deliv-tag {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: #34d399;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ah-card-media-overlap {
    position: relative;
    padding: 0 16px;
    margin-top: -30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 4;
}

.ah-card-icon-img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    max-width: 60px;
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid var(--bg-surface, #ffffff);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    background: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .ah-card-icon-img {
    border-color: #0f172a;
    background: #1e293b;
}

.ah-card-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ah-card-meta-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.ah-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ah-cat-tag-pill {
    font-size: 10.5px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 7px;
    border-radius: 6px;
    margin-bottom: 6px;
    align-self: flex-start;
}

.ah-card-btn-buy {
    background: #10B981;
    color: #ffffff;
    border: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.ah-card-btn-buy:hover {
    background: #059669;
}

.ah-card-btn-plans {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-primary, #f1f5f9);
    border: 1px solid var(--border-color, #e2e8f0);
    color: var(--text-primary, #0f172a);
    text-decoration: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-card-btn-plans {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.ah-card-btn-plans:hover {
    border-color: #10B981;
    color: #10B981;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .ah-store-layout {
        grid-template-columns: 1fr;
    }
    .ah-store-sidebar {
        position: static;
        order: 2;
    }
}

@media (max-width: 768px) {
    .ah-feat-inner-grid {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
    .ah-feat-visual-col {
        display: none;
    }
    .ah-featured-card-hero .ah-feat-title {
        font-size: 20px;
    }
}

/* ─────────────────────────────────────────────────────────────
   NOWPayments & Binance Pay Gateway Styles & Responsive Layouts
   ───────────────────────────────────────────────────────────── */

.ah-pay-method-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.ah-pay-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--ah-border, #e2e8f0);
    border-radius: 12px;
    background: var(--bg-surface, #ffffff);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.ah-pay-tab:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.04);
    transform: translateY(-1px);
}

.ah-pay-tab.active {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    box-shadow: 0 0 0 1px #2563eb, 0 4px 12px rgba(37, 99, 235, 0.12);
}

.ah-pay-tab-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.ah-pay-tab-info strong {
    display: block;
    font-size: 13.5px;
    color: var(--text-primary, #0f172a);
    line-height: 1.25;
}

.ah-pay-tab-info span {
    font-size: 11px;
    color: var(--text-secondary, #64748b);
}

/* Gateway Invoice Cards */
.ah-gw-invoice-card {
    transition: all 0.3s ease;
    animation: ahFadeIn 0.3s ease;
}

.ah-timer-badge {
    background: #fef3c7;
    color: #92400e;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.ah-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: ahPulse 1.6s infinite ease-in-out;
}

@keyframes ahPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes ahFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .ah-pay-method-tabs {
        grid-template-columns: 1fr;
    }

    .ah-gw-invoice-card > div[style*="grid-template-columns:130px 1fr"] {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .ah-gw-invoice-card .ah-crypto-address-bar {
        justify-content: center;
    }
}
/* ========================================================================
   AH STORE v3 ULTRA PREMIUM (ah-s- prefix)
   ======================================================================== */

.ah-s-page-container { 
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    box-sizing: border-box;
}

.ah-s-page { min-height: 100vh; background: var(--bg-base, #f8fafc); }
[data-theme='dark'] .ah-s-page { background: #0b0f19; }
.ah-s-body { width: 100%; max-width: 100%; margin: 0; padding: 0; }

/* ── Sleek Professional Store Header Bar ── */
.ah-s-hero-compact {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    padding: 16px 22px;
    border-radius: 14px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme='dark'] .ah-s-hero-compact,
body.dark-mode .ah-s-hero-compact {
    background: #111827;
    border-color: #1f2937;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.ah-s-hero-compact-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme='dark'] .ah-s-hero-compact-glow,
body.dark-mode .ah-s-hero-compact-glow {
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.09) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.ah-s-hero-compact-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ah-s-hero-compact-left {
    flex: 1;
    min-width: 280px;
}

.ah-s-hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
}

[data-theme='dark'] .ah-s-hero-badge-pill,
body.dark-mode .ah-s-hero-badge-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.ah-s-hero-badge-pill .ah-badge-verified {
    background: #ecfdf5;
    color: #059669;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 100px;
    font-size: 9.5px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

[data-theme='dark'] .ah-s-hero-badge-pill .ah-badge-verified,
body.dark-mode .ah-s-hero-badge-pill .ah-badge-verified {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.ah-s-hero-title-compact {
    font-size: 18.5px;
    font-weight: 650;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.2px;
}

[data-theme='dark'] .ah-s-hero-title-compact,
body.dark-mode .ah-s-hero-title-compact {
    color: #f8fafc;
}

.ah-s-hero-title-accent {
    color: #2563eb;
    background: linear-gradient(135deg, #2563eb 0%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme='dark'] .ah-s-hero-title-accent,
body.dark-mode .ah-s-hero-title-accent {
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ah-s-hero-sub-compact {
    font-size: 12.5px;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
    max-width: 640px;
}

[data-theme='dark'] .ah-s-hero-sub-compact,
body.dark-mode .ah-s-hero-sub-compact {
    color: #94a3b8;
}

.ah-s-hero-compact-right {
    flex-shrink: 0;
}

.ah-s-hero-micro-trust {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ah-s-micro-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 7px 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

[data-theme='dark'] .ah-s-micro-chip,
body.dark-mode .ah-s-micro-chip {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.ah-s-micro-chip:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme='dark'] .ah-s-micro-chip:hover,
body.dark-mode .ah-s-micro-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ah-s-micro-chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    color: #fff;
    flex-shrink: 0;
}

.ah-s-micro-chip-icon.chip-green {
    background: linear-gradient(135deg, #10b981, #059669);
}
.ah-s-micro-chip-icon.chip-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.ah-s-micro-chip-icon.chip-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.ah-s-micro-chip strong {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

[data-theme='dark'] .ah-s-micro-chip strong,
body.dark-mode .ah-s-micro-chip strong {
    color: #f1f5f9;
}

.ah-s-micro-chip span {
    font-size: 10px;
    color: #64748b;
    line-height: 1.1;
    display: block;
}

[data-theme='dark'] .ah-s-micro-chip span,
body.dark-mode .ah-s-micro-chip span {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .ah-s-hero-compact { padding: 14px 16px; }
    .ah-s-hero-title-compact { font-size: 18px; }
    .ah-s-hero-micro-trust { gap: 6px; }
    .ah-s-micro-chip { padding: 5px 10px; }
}

/* ── Multiple Featured Deals: Subgrid ── */
.ah-s-feat-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* ── Top Seller / Top Purchased Badge on Cards ── */
.ah-s-badge-top-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    z-index: 2;
}

.ah-s-section { margin-bottom: 40px; }
.ah-s-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.ah-s-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: #ef4444; background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.22); padding: 3px 10px; border-radius: 100px; margin-bottom: 6px; }
.ah-s-section-title { font-size: 24px; font-weight: 900; color: var(--text-primary, #0f172a); margin: 0; letter-spacing: -0.02em; }
[data-theme="dark"] .ah-s-section-title { color: #f8fafc; }
.ah-s-section-chip { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(249,115,22,0.08)); border: 1.5px solid rgba(239,68,68,0.22); color: #ef4444; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 100px; white-space: nowrap; box-shadow: 0 2px 8px rgba(239,68,68,0.06); }

.ah-s-featured-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.ah-s-featured-section {
    width: 100%;
    margin-bottom: 32px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.035) 0%, rgba(245, 158, 11, 0.025) 50%, rgba(16, 185, 129, 0.035) 100%), var(--bg-surface, #ffffff);
    border: 1.5px solid rgba(0, 0, 0, 0.07);
    border-radius: 24px;
    padding: 22px 24px 26px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    position: relative;
}
[data-theme="dark"] .ah-s-featured-section {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.07) 0%, rgba(16, 185, 129, 0.04) 100%), #0f172a;
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.ah-s-featured-section .ah-s-section-head {
    margin-bottom: 18px;
}

.ah-s-featured-slider-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #070b19;
    border: 1px solid rgba(16,185,129,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
}

.ah-s-featured-slider {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.ah-s-featured-slider .ah-s-feat-hero {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    position: relative;
    border-radius: 0;
    border: none;
    box-shadow: none;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Arrows for store featured deals slider */
.ah-s-hero-prev,
.ah-s-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.ah-s-hero-prev:hover,
.ah-s-hero-next:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45);
}

.ah-s-hero-prev {
    left: 12px;
}

.ah-s-hero-next {
    right: 12px;
}

/* Dots for store featured deals slider */
.ah-s-hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 15;
    background: rgba(7, 11, 25, 0.8);
    padding: 5px 12px;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.ah-s-hero-dots .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ah-s-hero-dots .hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.ah-s-hero-dots .hero-dot.active {
    width: 24px;
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

@media (max-width: 768px) {
    .ah-s-hero-prev { left: 6px; width: 34px; height: 34px; font-size: 11px; }
    .ah-s-hero-next { right: 6px; width: 34px; height: 34px; font-size: 11px; }
    .ah-s-hero-dots { bottom: 8px; padding: 4px 8px; }
}

.ah-s-feat-hero { position: relative; border-radius: 22px; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; border: 1px solid rgba(16,185,129,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.05); }
.ah-s-feat-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.ah-s-feat-hero:hover .ah-s-feat-hero-bg { transform: scale(1.04); }
.ah-s-feat-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,11,25,0.94) 0%, rgba(7,11,25,0.8) 55%, rgba(7,11,25,0.6) 100%); z-index: 1; }
.ah-s-feat-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 270px; gap: 24px; align-items: center; padding: 22px 75px 38px !important; flex: 1; box-sizing: border-box; }
.ah-s-feat-meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ah-s-badge-fire { display: inline-flex; align-items: center; gap: 5px; background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.35); color: #fca5a5; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 100px; }
.ah-s-badge-save { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; font-size: 11px; font-weight: 900; padding: 3px 10px; border-radius: 100px; letter-spacing: 0.5px; }
.ah-s-badge-deliv { display: inline-flex; align-items: center; gap: 5px; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.25); color: #6ee7b7; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.ah-s-feat-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 7px; min-width: 0; }
.ah-s-feat-icon-box { 
    width: 64px; 
    height: 64px; 
    border-radius: 16px; 
    background: #ffffff; 
    border: 1.5px solid rgba(255,255,255,0.3); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.12); 
    overflow: hidden; 
    flex-shrink: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 7px; 
    box-sizing: border-box; 
    backdrop-filter: blur(10px); 
}
.ah-s-feat-icon-img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    border-radius: 11px; 
    display: block; 
}
.ah-s-feat-icon-fallback { font-size: 26px; color: #10b981; }
.ah-s-feat-stats-mini { display: flex; gap: 10px; margin-bottom: 2px; font-size: 11.5px; color: #94a3b8; font-weight: 600; }
.ah-s-feat-title { font-size: 22px; font-weight: 900; margin: 0; color: #fff; letter-spacing: -0.3px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 480px; }
.ah-s-feat-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.ah-s-feat-title a:hover { color: #10b981; }
.ah-s-feat-desc { font-size: 13px; color: #94a3b8; line-height: 1.45; margin: 0 0 8px; max-width: 480px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-s-app-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ah-s-app-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #94a3b8; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 100px; font-weight: 600; }
.ah-s-feat-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 80px;
    overflow: hidden;
    contain: content;
}
.ah-s-feat-checks li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #cbd5e1;
    min-width: 0;
    line-height: 1.35;
}
.ah-s-feat-checks li i {
    color: #10b981;
    font-size: 12px;
    flex-shrink: 0;
}
.ah-s-feat-checks li span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    min-width: 0;
    max-width: 400px;
}
.ah-s-feat-checks li.ah-s-feat-more-tag {
    margin-top: 1px;
}
.ah-s-feat-checks li.ah-s-feat-more-tag a {
    color: #38bdf8;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}
.ah-s-feat-checks li.ah-s-feat-more-tag a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* Right Side Action Card */
.ah-s-feat-hero-right { display: flex; flex-direction: column; justify-content: center; }
.ah-s-feat-action-card {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 20px 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(16, 185, 129, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ah-s-feat-action-card .ah-s-from-label { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #64748b; margin-bottom: 3px; }
.ah-s-feat-action-card .ah-s-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ah-s-feat-action-card .ah-s-price-big { font-size: 32px; font-weight: 900; color: #fff; letter-spacing: -0.5px; line-height: 1; }
.ah-s-feat-action-card .ah-s-price-orig { font-size: 16px; color: #64748b; text-decoration: line-through; font-weight: 600; }
.ah-s-feat-action-card .ah-s-price-save { font-size: 11.5px; font-weight: 700; background: linear-gradient(135deg,#10b981,#059669); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ah-s-feat-action-card .ah-s-feat-cta { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ah-s-feat-action-card .ah-s-btn-primary { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; cursor: pointer; font-size: 14px; font-weight: 800; padding: 12px 18px; border-radius: 12px; transition: all 0.2s; box-shadow: 0 8px 25px rgba(16,185,129,0.35); white-space: nowrap; text-decoration: none; box-sizing: border-box; }
.ah-s-feat-action-card .ah-s-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(16,185,129,0.5); }
.ah-s-feat-action-card .ah-s-btn-plans { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: #cbd5e1; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 12px; text-decoration: none; transition: all 0.2s; white-space: nowrap; box-sizing: border-box; }
.ah-s-feat-action-card .ah-s-btn-plans:hover { background: rgba(255,255,255,0.12); color: #fff; }
.ah-s-feat-trust-pill { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: #6ee7b7; font-weight: 600; text-align: center; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); border-radius: 8px; padding: 5px 8px; }
.ah-s-feat-action-card .ah-s-feat-freedl { margin-top: 0; text-align: center; }
.ah-s-feat-action-card .ah-s-feat-freedl a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: #64748b; text-decoration: none; transition: color 0.2s; }
.ah-s-feat-action-card .ah-s-feat-freedl a:hover { color: #10b981; }

.ah-s-feat-card { background: var(--bg-surface, #fff); border: 1px solid rgba(16,185,129,0.15); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.ah-s-feat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.35); }
[data-theme="dark"] .ah-s-feat-card { background: #111827; border-color: rgba(255,255,255,0.06); }
.ah-s-feat-card-cover { position: relative; height: 160px; overflow: hidden; }
.ah-s-feat-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.ah-s-feat-card:hover .ah-s-feat-card-bg { transform: scale(1.06); }
.ah-s-feat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%); }
.ah-s-feat-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.ah-s-badge-disc { background: linear-gradient(135deg,#ef4444,#dc2626); color: #fff; font-size: 11px; font-weight: 900; padding: 3px 9px; border-radius: 100px; }
.ah-s-badge-tag { display: inline-flex; align-items: center; gap: 4px; background: rgba(0,0,0,0.55); color: #a7f3d0; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 100px; backdrop-filter: blur(6px); }
.ah-s-feat-card-icon-row { display: flex; align-items: center; gap: 12px; padding: 0 18px; margin-top: -22px; position: relative; z-index: 2; }
.ah-s-feat-card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-surface, #fff); border: 2px solid rgba(16,185,129,0.2); box-shadow: 0 4px 16px rgba(0,0,0,0.12); overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #10b981; font-size: 20px; }
.ah-s-feat-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.ah-s-feat-card-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.ah-s-mini-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.ah-s-mini-pill.star { background: rgba(245,158,11,0.1); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.ah-s-mini-pill.fire { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.ah-s-feat-card-body { padding: 14px 18px 0; flex: 1; }
.ah-s-feat-card-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #10b981; margin-bottom: 6px; }
.ah-s-feat-card-title { font-size: 15px; font-weight: 600; margin: 0 0 6px; line-height: 1.35; color: #000000 !important; letter-spacing: -0.15px; }
.ah-s-feat-card-title a { color: #000000 !important; text-decoration: none; transition: color 0.2s ease; }
.ah-s-feat-card-title a:hover { color: #374151 !important; }
[data-theme="dark"] .ah-s-feat-card-title, [data-theme="dark"] .ah-s-feat-card-title a, body.dark-mode .ah-s-feat-card-title, body.dark-mode .ah-s-feat-card-title a { color: #ffffff !important; }
[data-theme="dark"] .ah-s-feat-card-title a:hover, body.dark-mode .ah-s-feat-card-title a:hover { color: #cbd5e1 !important; }
.ah-s-feat-card-desc { font-size: 12.5px; color: var(--text-muted, #64748b); margin: 0 0 10px; line-height: 1.55; }
.ah-s-feat-card-app { display: flex; gap: 10px; font-size: 11px; color: var(--text-muted, #94a3b8); margin-bottom: 10px; }
.ah-s-feat-card-app span { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.ah-s-feat-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 10px; }
[data-theme="dark"] .ah-s-feat-card-footer { border-color: rgba(255,255,255,0.06); }
.ah-s-feat-card-price { display: flex; align-items: baseline; gap: 6px; }
.ah-s-from { font-size: 11px; color: var(--text-muted, #64748b); font-weight: 600; }
.ah-s-price { font-size: 20px; font-weight: 900; color: var(--text-primary, #0f172a); }
[data-theme="dark"] .ah-s-price { color: #f8fafc; }
.ah-s-orig { font-size: 13px; color: var(--text-muted, #94a3b8); text-decoration: line-through; }
.ah-s-btn-sm { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: none; cursor: pointer; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 10px; transition: all 0.2s; white-space: nowrap; }
.ah-s-btn-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16,185,129,0.4); }

.ah-s-layout { display: grid; grid-template-columns: 1fr 310px; gap: 32px; align-items: start; }
.ah-s-main-col { min-width: 0; }
.ah-s-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

.ah-s-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ah-s-toolbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ah-s-toolbar-title { font-size: 20px; font-weight: 800; color: var(--text-primary, #0f172a); margin: 0; display: flex; align-items: center; gap: 9px; }
.ah-s-toolbar-title i { color: #10b981; }
[data-theme="dark"] .ah-s-toolbar-title { color: #f8fafc; }
.ah-s-toolbar-count { display: inline-block; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #10b981; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }

.ah-s-toolbar-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ah-s-search-wrap { display: flex; align-items: center; gap: 8px; background: var(--bg-surface, #fff); border: 1.5px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 8px 14px; min-width: 240px; transition: border-color 0.2s, box-shadow 0.2s; }
.ah-s-search-wrap:focus-within { border-color: rgba(16,185,129,0.4); box-shadow: 0 0 0 3px rgba(16,185,129,0.08); }
.ah-s-search-wrap i { color: var(--text-muted, #94a3b8); font-size: 13px; flex-shrink: 0; }
.ah-s-search-wrap input { flex: 1; border: none; outline: none; font-size: 13px; background: transparent; color: var(--text-primary, #0f172a); }
[data-theme="dark"] .ah-s-search-wrap { background: #1e293b; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .ah-s-search-wrap input { color: #f1f5f9; }

/* Sort Control */
.ah-s-sort-wrap { display: flex; align-items: center; gap: 6px; background: var(--bg-surface, #fff); border: 1.5px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 7px 12px; transition: all 0.2s; }
.ah-s-sort-wrap:focus-within { border-color: rgba(16,185,129,0.4); box-shadow: 0 0 0 3px rgba(16,185,129,0.08); }
.ah-s-sort-label { font-size: 12px; font-weight: 700; color: var(--text-muted, #94a3b8); display: flex; align-items: center; gap: 4px; margin: 0; cursor: pointer; white-space: nowrap; }
.ah-s-sort-label i { color: #10b981; font-size: 12px; }
.ah-s-sort-select { border: none; outline: none; background: transparent; font-size: 12.5px; font-weight: 700; color: var(--text-primary, #0f172a); cursor: pointer; padding-right: 4px; font-family: inherit; }
.ah-s-sort-select option { background: #fff; color: #0f172a; }
[data-theme="dark"] .ah-s-sort-wrap { background: #1e293b; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .ah-s-sort-select { color: #f1f5f9; }
[data-theme="dark"] .ah-s-sort-select option { background: #1e293b; color: #f1f5f9; }

/* View Mode Switcher Button Group */
.ah-s-view-switcher { display: inline-flex; align-items: center; background: var(--bg-surface, #fff); border: 1.5px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 3px; gap: 3px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
[data-theme="dark"] .ah-s-view-switcher { background: #1e293b; border-color: rgba(255,255,255,0.08); }
.ah-s-view-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9px; border: none; background: transparent; color: var(--text-muted, #64748b); font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); line-height: 1; user-select: none; }
.ah-s-view-btn i { font-size: 12px; }
.ah-s-view-btn:hover { color: var(--text-primary, #0f172a); background: rgba(0,0,0,0.04); }
[data-theme="dark"] .ah-s-view-btn:hover { color: #f8fafc; background: rgba(255,255,255,0.06); }
.ah-s-view-btn.active { background: linear-gradient(135deg, #10b981, #059669) !important; color: #ffffff !important; box-shadow: 0 2px 8px rgba(16,185,129,0.35); }
.ah-s-view-btn.active i { color: #ffffff !important; }

.ah-s-cat-pills { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; }
.ah-s-cat-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-surface, #fff); border: 1.5px solid rgba(0,0,0,0.09); color: var(--text-secondary, #475569); font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 100px; cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.ah-s-cat-pill:hover { border-color: rgba(16,185,129,0.4); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.ah-s-cat-pill.active { background: linear-gradient(135deg, #10b981, #059669); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,0.35); }
[data-theme="dark"] .ah-s-cat-pill { background: #1e293b; border-color: rgba(255,255,255,0.09); color: #94a3b8; }
.ah-s-cat-count { display: inline-block; border-radius: 100px; font-size: 10px; font-weight: 700; padding: 1px 7px; background: rgba(255,255,255,0.25); }
.ah-s-cat-pill:not(:hover):not(.active) .ah-s-cat-count { background: rgba(0,0,0,0.07); }
[data-theme="dark"] .ah-s-cat-pill:not(:hover):not(.active) .ah-s-cat-count { background: rgba(255,255,255,0.1); }

/* Special Styling: Top Purchased Pill */
.ah-s-cat-pill[data-category-filter="top-purchased"] {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(249, 115, 22, 0.08));
    border: 1.5px solid rgba(239, 68, 68, 0.35);
    color: #ef4444;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.08);
}
.ah-s-cat-pill[data-category-filter="top-purchased"] i {
    color: #ef4444 !important;
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.4));
    transition: transform 0.2s ease;
}
.ah-s-cat-pill[data-category-filter="top-purchased"]:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(249, 115, 22, 0.16));
    border-color: #ef4444;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}
.ah-s-cat-pill[data-category-filter="top-purchased"]:hover i {
    transform: scale(1.2);
}
.ah-s-cat-pill[data-category-filter="top-purchased"].active {
    background: linear-gradient(135deg, #ef4444, #f97316) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45) !important;
}
.ah-s-cat-pill[data-category-filter="top-purchased"].active i {
    color: #ffffff !important;
    filter: none;
}
[data-theme="dark"] .ah-s-cat-pill[data-category-filter="top-purchased"] {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* Special Styling: Featured Pill */
.ah-s-cat-pill[data-category-filter="featured"] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(234, 179, 8, 0.08));
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    color: #d97706;
    font-weight: 700;
}
.ah-s-cat-pill[data-category-filter="featured"] i {
    color: #f59e0b !important;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.4));
}
.ah-s-cat-pill[data-category-filter="featured"]:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(234, 179, 8, 0.16));
    border-color: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}
.ah-s-cat-pill[data-category-filter="featured"].active {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45) !important;
}
.ah-s-cat-pill[data-category-filter="featured"].active i {
    color: #ffffff !important;
    filter: none;
}
[data-theme="dark"] .ah-s-cat-pill[data-category-filter="featured"] {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

/* ═══ BASE PRODUCT GRID & CARD SYSTEM ═══ */
.ah-s-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.ah-s-product-card {
    background: var(--bg-surface, #fff);
    border: 1.5px solid rgba(0,0,0,0.07);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.ah-s-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
}
[data-theme="dark"] .ah-s-product-card {
    background: #111827;
    border-color: rgba(255,255,255,0.06);
}

.ah-s-card-cover {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1a2e, #1a2340);
}
.ah-s-card-cover-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    opacity: 0.85;
}
.ah-s-product-card:hover .ah-s-card-cover-bg {
    transform: scale(1.06);
}
.ah-s-card-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}
.ah-s-card-cover-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    z-index: 2;
}
.ah-s-badge-deliv-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,0.55);
    color: #a7f3d0;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
}

.ah-s-card-overlap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 16px;
    margin-top: -30px;
    position: relative;
    z-index: 3;
}
.ah-s-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background: var(--bg-surface, #fff);
    border: 2.5px solid rgba(16,185,129,0.3);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #10b981;
    font-size: 24px;
    padding: 2px;
}
.ah-s-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
}
.ah-s-card-inline-stats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.ah-s-stat-star {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(245,158,11,0.12);
    color: #f59e0b;
    padding: 2px 8px;
    border-radius: 100px;
}
.ah-s-stat-sold {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(239,68,68,0.1);
    color: #f87171;
    padding: 2px 8px;
    border-radius: 100px;
}

.ah-s-card-body {
    padding: 14px 16px 0;
    flex: 1;
}
.ah-s-card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}
.ah-s-card-badges-row {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ah-s-badge-mini-top {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9.5px;
    font-weight: 800;
    background: rgba(239,68,68,0.12);
    color: #ef4444;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
}
.ah-s-badge-mini-disc {
    display: inline-flex;
    font-size: 9.5px;
    font-weight: 800;
    background: rgba(245,158,11,0.14);
    color: #d97706;
    padding: 2px 6px;
    border-radius: 6px;
}
.ah-s-card-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #10b981;
}
.ah-s-card-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.15px;
    margin: 0 0 5px;
    line-height: 1.35;
    color: #000000 !important;
}
.ah-s-card-title a, .ah-s-card-title-link {
    color: #000000 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ah-s-card-title a:hover, .ah-s-card-title-link:hover {
    color: #374151 !important;
}
[data-theme="dark"] .ah-s-card-title, [data-theme="dark"] .ah-s-card-title a, [data-theme="dark"] .ah-s-card-title-link, body.dark-mode .ah-s-card-title, body.dark-mode .ah-s-card-title a, body.dark-mode .ah-s-card-title-link {
    color: #ffffff !important;
}
[data-theme="dark"] .ah-s-card-title a:hover, [data-theme="dark"] .ah-s-card-title-link:hover, body.dark-mode .ah-s-card-title a:hover, body.dark-mode .ah-s-card-title-link:hover {
    color: #cbd5e1 !important;
}
.ah-s-card-desc {
    font-size: 12px;
    color: var(--text-muted, #64748b);
    margin: 0 0 10px;
    line-height: 1.55;
}

.ah-s-card-appstrip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 10.5px;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 10px;
    font-weight: 600;
}
.ah-s-card-appstrip span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ah-s-card-deliv-text {
    color: #10b981;
    font-weight: 700;
}
.ah-s-card-plans {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.ah-s-plan-chip {
    display: inline-block;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    color: #3b82f6;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 100px;
}
.ah-s-plan-chip.more {
    background: rgba(148,163,184,0.1);
    border-color: rgba(148,163,184,0.15);
    color: var(--text-muted, #94a3b8);
}
.ah-s-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ah-s-card-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-secondary, #475569);
    min-width: 0;
}
.ah-s-card-features li i {
    color: #10b981;
    font-size: 11px;
    flex-shrink: 0;
}
.ah-s-card-features li span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    min-width: 0;
}

.ah-s-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: auto;
    gap: 10px;
}
[data-theme="dark"] .ah-s-card-footer {
    border-color: rgba(255,255,255,0.05);
}
.ah-s-card-from {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}
.ah-s-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.ah-s-card-price strong {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-primary, #0f172a);
}
[data-theme="dark"] .ah-s-card-price strong {
    color: #f8fafc;
}
.ah-s-card-price del {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
}
.ah-s-price-save-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16,185,129,0.1);
    padding: 1px 6px;
    border-radius: 4px;
}

.ah-s-card-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}
.ah-s-card-btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 10px;
    transition: all 0.2s;
    white-space: nowrap;
}
.ah-s-card-btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(16,185,129,0.4);
}
.ah-s-card-btn-plans {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-muted, rgba(0,0,0,0.04));
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.ah-s-card-btn-plans:hover {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
    color: #10b981;
}
[data-theme="dark"] .ah-s-card-btn-plans {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
}
.ah-btn-plans-text {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM LISTING OPTION 1: DEFAULT SHOWCASE GRID SPECIFICS
   ═══════════════════════════════════════════════════════════════ */
.ah-view-grid .ah-s-card-badges-row,
.ah-view-grid .ah-s-card-deliv-text,
.ah-view-grid .ah-s-price-save-badge {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM LISTING OPTION 2: CLEAN STREAMLINED LIST / ROW VIEW
   ═══════════════════════════════════════════════════════════════ */
.ah-s-product-grid.ah-view-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.ah-s-product-grid.ah-view-list .ah-s-product-card {
    flex-direction: row;
    align-items: center;
    padding: 16px 22px;
    border-radius: 18px;
    gap: 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.ah-s-product-grid.ah-view-list .ah-s-product-card:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 30px rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.35);
}
/* Hide tall cover wallpaper in List view */
.ah-s-product-grid.ah-view-list .ah-s-card-cover {
    display: none;
}
/* App Icon container */
.ah-s-product-grid.ah-view-list .ah-s-card-overlap {
    margin-top: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.ah-s-product-grid.ah-view-list .ah-s-card-icon {
    width: 66px;
    height: 66px;
    border-radius: 16px;
    border: 2px solid rgba(16,185,129,0.3);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.ah-s-product-grid.ah-view-list .ah-s-card-inline-stats {
    display: none; /* Shown cleanly in body */
}
/* Card Body */
.ah-s-product-grid.ah-view-list .ah-s-card-body {
    flex: 1;
    min-width: 0;
    padding: 0;
}
.ah-s-product-grid.ah-view-list .ah-s-card-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.ah-s-product-grid.ah-view-list .ah-s-card-badges-row {
    display: flex;
    gap: 6px;
}
.ah-s-product-grid.ah-view-list .ah-s-card-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.15px;
    margin: 0 0 5px;
    line-height: 1.35;
}
.ah-s-product-grid.ah-view-list .ah-s-card-desc {
    font-size: 12.5px;
    line-height: 1.45;
    margin: 0 0 8px;
    color: var(--text-muted, #64748b);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ah-s-product-grid.ah-view-list .ah-s-card-appstrip {
    margin-bottom: 6px;
    gap: 12px;
}
.ah-s-product-grid.ah-view-list .ah-s-card-plans {
    margin-bottom: 0;
}
/* Right Footer: Price & Checkout Buttons */
.ah-s-product-grid.ah-view-list .ah-s-card-footer {
    border-top: none;
    margin-top: 0;
    padding: 0 0 0 20px;
    border-left: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    text-align: right;
}
[data-theme="dark"] .ah-s-product-grid.ah-view-list .ah-s-card-footer {
    border-left-color: rgba(255,255,255,0.06);
}
.ah-s-product-grid.ah-view-list .ah-s-card-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.ah-s-product-grid.ah-view-list .ah-s-card-price strong {
    font-size: 22px;
    color: #10b981;
}
.ah-s-product-grid.ah-view-list .ah-s-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
}
.ah-s-product-grid.ah-view-list .ah-s-card-btn-buy {
    padding: 9px 18px;
    font-size: 13px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.ah-s-product-grid.ah-view-list .ah-s-card-btn-plans {
    width: auto;
    height: auto;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    border-radius: 10px;
}
.ah-s-product-grid.ah-view-list .ah-btn-plans-text {
    display: inline;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM LISTING OPTION 3: MODERN COMPACT / MINIMAL TILE VIEW
   ═══════════════════════════════════════════════════════════════ */
.ah-s-product-grid.ah-view-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.ah-s-product-grid.ah-view-compact .ah-s-product-card {
    padding: 15px 16px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(248, 250, 252, 0.6) 35%, var(--bg-surface, #ffffff) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.18);
    border-top: 3.5px solid #10b981;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    gap: 8px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ah-s-product-grid.ah-view-compact .ah-s-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
    border-color: #10b981;
}
[data-theme="dark"] .ah-s-product-grid.ah-view-compact .ah-s-product-card {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(30, 41, 59, 0.5) 35%, #111827 100%);
    border-color: rgba(16, 185, 129, 0.25);
    border-top-color: #10b981;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hide tall cover wallpaper in compact view */
.ah-s-product-grid.ah-view-compact .ah-s-card-cover {
    display: none;
}
/* Overlap container becomes compact header */
.ah-s-product-grid.ah-view-compact .ah-s-card-overlap {
    margin-top: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    border: 2px solid rgba(16, 185, 129, 0.35);
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.14);
}
.ah-s-product-grid.ah-view-compact .ah-s-card-inline-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    margin: 0;
}
.ah-s-product-grid.ah-view-compact .ah-s-stat-star {
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 100px;
}
.ah-s-product-grid.ah-view-compact .ah-s-stat-sold {
    display: none;
}
/* Body */
.ah-s-product-grid.ah-view-compact .ah-s-card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-cat {
    font-size: 9.5px;
    margin-bottom: 1px;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.1px;
    line-height: 1.3;
    margin: 0 0 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-desc {
    display: none; /* Uncluttered clean look */
}
.ah-s-product-grid.ah-view-compact .ah-s-card-appstrip {
    margin-bottom: 2px;
    font-size: 10px;
    gap: 6px;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-plans {
    display: none; /* Kept concise */
}
/* Footer: Guarantees Buy Button is NEVER squeezed or covered */
.ah-s-product-grid.ah-view-compact .ah-s-card-footer {
    padding: 10px 0 0 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    width: 100%;
}
[data-theme="dark"] .ah-s-product-grid.ah-view-compact .ah-s-card-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
}
.ah-s-product-grid.ah-view-compact .ah-s-card-from {
    display: none;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-price-block {
    display: flex;
    align-items: baseline;
    min-width: 0;
    flex: 1;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-price strong {
    font-size: 17px;
    font-weight: 900;
    color: #10b981;
    white-space: nowrap;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-price del {
    display: none !important;
}
.ah-s-product-grid.ah-view-compact .ah-s-price-save-badge {
    display: none !important;
}

.ah-s-product-grid.ah-view-compact .ah-s-card-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.ah-s-product-grid.ah-view-compact .ah-s-card-btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 9px;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
}
.ah-s-product-grid.ah-view-compact .ah-s-card-btn-plans {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 11px;
    flex-shrink: 0;
}
.ah-s-product-grid.ah-view-compact .ah-btn-plans-text {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN RULES FOR MULTI-VIEW LISTING
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .ah-s-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .ah-s-toolbar-controls {
        flex-wrap: wrap;
        width: 100%;
    }
    .ah-s-search-wrap {
        flex: 1 1 200px;
        min-width: 0;
    }
    .ah-s-sort-wrap {
        flex: 1 1 140px;
    }
    .ah-s-product-grid.ah-view-list .ah-s-product-card {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }
    .ah-s-product-grid.ah-view-list .ah-s-card-overlap {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
    }
    .ah-s-product-grid.ah-view-list .ah-s-card-footer {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding: 12px 0 0 0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .ah-s-view-btn-label {
        display: none;
    }
    .ah-s-view-btn {
        padding: 6px 10px;
    }
    .ah-s-sort-label-text {
        display: none;
    }
    .ah-s-product-grid.ah-view-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ah-s-product-grid.ah-view-compact .ah-s-product-card {
        padding: 10px;
    }
}

.ah-s-empty { text-align: center; padding: 60px 20px; grid-column: 1/-1; color: var(--text-muted, #64748b); }
.ah-s-empty i { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.5; }
.ah-s-empty h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--text-primary, #0f172a); }
[data-theme="dark"] .ah-s-empty h3 { color: #f8fafc; }

.ah-s-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 32px 0 0; }
.ah-s-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid rgba(0,0,0,0.08); color: var(--text-secondary, #475569); text-decoration: none; font-size: 13px; font-weight: 600; background: var(--bg-surface, #fff); transition: all 0.2s; }
.ah-s-pagination .page-numbers:hover, .ah-s-pagination .current { background: linear-gradient(135deg, #10b981, #059669); border-color: transparent; color: #fff; }

.ah-s-widget { background: var(--bg-surface, #fff); border: 1.5px solid rgba(0,0,0,0.07); border-radius: 18px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
[data-theme="dark"] .ah-s-widget { background: #111827; border-color: rgba(255,255,255,0.06); }
.ah-s-widget-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--text-primary, #0f172a); letter-spacing: -0.1px; }
[data-theme="dark"] .ah-s-widget-title { color: #f8fafc; }
.ah-s-widget-icon { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; flex-shrink: 0; }
.ah-s-widget-sub { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted, #94a3b8); }

.ah-s-sidebar-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ah-s-cat-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; text-decoration: none; transition: all 0.2s; color: var(--text-secondary, #475569); font-size: 13.5px; font-weight: 600; }
.ah-s-cat-link:hover, .ah-s-cat-link.active { background: rgba(16,185,129,0.08); color: #10b981; }
[data-theme="dark"] .ah-s-cat-link { color: #94a3b8; }
.ah-s-cat-link-inner { display: flex; align-items: center; gap: 8px; }
.ah-s-cat-link-inner i { font-size: 12px; width: 16px; text-align: center; }
.ah-s-cat-badge { display: inline-block; background: rgba(0,0,0,0.06); border-radius: 100px; font-size: 11px; font-weight: 700; padding: 1px 8px; color: var(--text-muted, #64748b); }
.ah-s-cat-link.active .ah-s-cat-badge { background: rgba(16,185,129,0.15); color: #10b981; }
[data-theme="dark"] .ah-s-cat-badge { background: rgba(255,255,255,0.07); }

.ah-s-top-list { display: flex; flex-direction: column; gap: 4px; }
.ah-s-top-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; transition: background 0.2s; }
.ah-s-top-item:hover { background: rgba(16,185,129,0.06); }
.ah-s-top-rank { font-size: 18px; min-width: 30px; text-align: center; flex-shrink: 0; }
.ah-s-top-rank.rank-4 { font-size: 12px; font-weight: 800; color: var(--text-muted, #64748b); background: rgba(0,0,0,0.06); border-radius: 100px; padding: 2px 7px; min-width: auto; }
[data-theme="dark"] .ah-s-top-rank.rank-4 { background: rgba(255,255,255,0.08); }
.ah-s-top-thumb { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #64748b; font-size: 16px; }
.ah-s-top-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ah-s-top-info { flex: 1; min-width: 0; }
.ah-s-top-name { font-size: 13px; font-weight: 700; color: var(--text-primary, #0f172a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px; }
[data-theme="dark"] .ah-s-top-name { color: #f1f5f9; }
.ah-s-top-meta { display: flex; gap: 8px; align-items: center; }
.ah-s-top-sold { font-size: 10.5px; color: #ef4444; font-weight: 700; display: flex; align-items: center; gap: 3px; }
.ah-s-top-price { font-size: 11px; font-weight: 700; color: #10b981; }
.ah-s-top-arrow { font-size: 11px; color: var(--text-muted, #94a3b8); transition: transform 0.2s; flex-shrink: 0; }
.ah-s-top-item:hover .ah-s-top-arrow { transform: translateX(3px); }

.ah-s-widget-protection { background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, rgba(59,130,246,0.04) 100%); border-color: rgba(16,185,129,0.15); }
[data-theme="dark"] .ah-s-widget-protection { background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(59,130,246,0.05) 100%); }
.ah-s-protection-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ah-s-protection-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #10b981, #3b82f6); display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; flex-shrink: 0; }
.ah-s-protection-head strong { display: block; font-size: 14px; font-weight: 800; color: var(--text-primary, #0f172a); }
[data-theme="dark"] .ah-s-protection-head strong { color: #f8fafc; }
.ah-s-protection-head span { font-size: 11px; color: var(--text-muted, #64748b); }
.ah-s-protection-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ah-s-protection-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-secondary, #475569); font-weight: 600; }
/* --- New Sidebar Widgets: Order Lookup, VIP Help, Payments --- */
.ah-s-track-box {
    display: flex;
    gap: 6px;
    align-items: center;
}
.ah-s-track-input {
    flex: 1;
    background: var(--bg-surface, #fff);
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
    color: var(--text-primary, #0f172a);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
[data-theme="dark"] .ah-s-track-input {
    background: #1e293b;
    border-color: rgba(255,255,255,0.1);
    color: #f1f5f9;
}
.ah-s-track-input:focus {
    border-color: #10b981;
}
.ah-s-track-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
}
.ah-s-track-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16,185,129,0.35);
}

.ah-s-support-head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ah-s-support-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    flex-shrink: 0;
}
.ah-s-pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid var(--bg-surface, #fff);
    border-radius: 50%;
    animation: ahPulse 1.8s infinite;
}
@keyframes ahPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.ah-s-support-head strong {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
}
[data-theme="dark"] .ah-s-support-head strong {
    color: #f8fafc;
}
.ah-s-support-status {
    display: block;
    font-size: 11px;
    color: #10b981;
    font-weight: 600;
}
.ah-s-support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #3b82f6;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.ah-s-support-btn:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.ah-s-pay-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.ah-s-pay-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary, #475569);
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 6px 8px;
    border-radius: 8px;
    white-space: nowrap;
}
[data-theme="dark"] .ah-s-pay-pill {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: #94a3b8;
}

@media (max-width: 1100px) {
    .ah-s-layout { grid-template-columns: 1fr 280px; gap: 24px; }
}

@media (max-width: 900px) {
    .ah-s-hero { padding: 50px 24px 44px; }
    .ah-s-layout { grid-template-columns: 1fr; }
    .ah-s-sidebar { position: static; }
    .ah-s-toolbar { flex-direction: column; align-items: flex-start; }
    .ah-s-search-wrap { min-width: 100%; }
    .ah-s-feat-hero-inner { grid-template-columns: 1fr; padding: 24px 56px 36px; gap: 20px; }
    .ah-s-feat-hero-right { width: 100%; }
}

@media (max-width: 600px) {
    .ah-s-body { padding: 24px 16px 40px; }
    .ah-s-hero { padding: 36px 16px 32px; }
    .ah-s-feat-hero-inner { padding: 20px 16px 36px; }
    .ah-s-hero-prev, .ah-s-hero-next { display: none; }
    .ah-s-price-big { font-size: 28px; }
    .ah-s-feat-footer { flex-direction: column; align-items: flex-start; }
    .ah-s-product-grid { grid-template-columns: 1fr; }
    .ah-s-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}


/* ══════════════════════════════════════════════════════════════════════════
   DYNAMIC HOW TO SETUP & ACTIVATE SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.ah-setup-guide-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1.5px solid rgba(59, 130, 246, 0.2);
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 36px;
}

[data-theme="dark"] .ah-setup-guide-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 41, 59, 0.75) 100%);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.ah-setup-guide-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.ah-setup-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0284c7;
    display: block;
    margin-bottom: 4px;
}

[data-theme="dark"] .ah-setup-eyebrow {
    color: #38bdf8;
}

.ah-setup-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin: 0;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ah-setup-title {
    color: #ffffff;
}

.ah-setup-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
}

[data-theme="dark"] .ah-setup-verified-tag {
    color: #34d399;
}

.ah-setup-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ah-setup-card {
    background: var(--bg-surface, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .ah-setup-card {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-setup-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .ah-setup-card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.ah-setup-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ah-setup-num-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ah-setup-index {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    font-weight: 900;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ah-setup-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

[data-theme="dark"] .ah-setup-icon {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
}

.ah-setup-pill {
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .ah-setup-pill {
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.ah-setup-step-heading {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--text-primary, #0f172a);
    line-height: 1.35;
}

[data-theme="dark"] .ah-setup-step-heading {
    color: #ffffff;
}

.ah-setup-step-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted, #64748b);
    margin: 0;
}

[data-theme="dark"] .ah-setup-step-text {
    color: #cbd5e1;
}

/* ═════════════════════════════════════════════════════════════════
   MULTI-PLATFORM SUPPORT & DOWNLOAD MODAL STYLES
   ═════════════════════════════════════════════════════════════════ */

.ah-s-platform-icons-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.ah-s-platform-icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--plat-color, #38bdf8);
    transition: all 0.2s ease;
}

.ah-s-platform-icon-pill i {
    font-size: 11px;
}

.ah-s-card-platforms {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ah-s-card-plat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    transition: transform 0.2s ease;
}

.ah-s-card-plat-icon:hover {
    transform: scale(1.25);
}

.ah-prod-platform-pill-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ah-prod-plat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--plat-color, #38bdf8);
    transition: all 0.2s ease;
}

.ah-hub-platforms-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 10px 16px;
}

[data-theme="dark"] .ah-hub-platforms-row {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
}

.ah-hub-plat-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted, #64748b);
    letter-spacing: 0.6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

[data-theme="dark"] .ah-hub-plat-label {
    color: #94a3b8;
}

.ah-hub-plat-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ah-hub-plat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary, #1e293b);
    transition: all 0.2s ease;
}

.ah-hub-plat-tag i {
    color: var(--tag-color, #38bdf8);
    font-size: 13px;
}

[data-theme="dark"] .ah-hub-plat-tag {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

.ah-s-btn-freedl-trigger,
.ah-s-card-freedl-btn {
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 0;
    text-decoration: none;
}

/* Modal Popup Container */
.ah-pdl-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99990;
}

.ah-pdl-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99995;
    box-sizing: border-box;
    cursor: pointer;
}

.ah-pdl-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.22), 0 0 35px rgba(56, 189, 248, 0.1);
    box-sizing: border-box;
    animation: ahPdlPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    pointer-events: auto;
}

@keyframes ahPdlPop {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ah-pdl-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.ah-pdl-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: rotate(90deg);
}

.ah-pdl-header {
    margin-bottom: 22px;
    padding-right: 40px;
}

.ah-pdl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.ah-pdl-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.ah-pdl-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.ah-pdl-body {
    max-height: 380px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 4px;
}

.ah-pdl-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ah-pdl-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.ah-pdl-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.1);
}

.ah-pdl-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.ah-pdl-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.ah-pdl-item-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ah-pdl-item-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ah-pdl-plat-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.02em;
}

.ah-pdl-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ah-pdl-item-details {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ah-pdl-item-icon.has-img {
    padding: 3.5px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.ah-pdl-item-icon.has-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.ah-pdl-item-icon.text-logo {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.ah-pdl-detail-pill {
    font-size: 11.5px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ah-pdl-detail-pill.ah-pdl-app-tag {
    color: #6366f1;
}

.ah-pdl-detail-pill.ah-pdl-mirror-tag {
    color: #059669;
    font-weight: 600;
}

.ah-pdl-download-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.ah-pdl-download-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.ah-pdl-footer {
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.ah-pdl-notice {
    font-size: 12px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Dark Mode Overrides for Download Modal */
[data-theme="dark"] .ah-pdl-card,
body.dark-mode .ah-pdl-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.75), 0 0 35px rgba(56, 189, 248, 0.1);
}
[data-theme="dark"] .ah-pdl-title,
body.dark-mode .ah-pdl-title {
    color: #ffffff;
}
[data-theme="dark"] .ah-pdl-subtitle,
body.dark-mode .ah-pdl-subtitle {
    color: #94a3b8;
}
[data-theme="dark"] .ah-pdl-close,
body.dark-mode .ah-pdl-close {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #94a3b8;
}
[data-theme="dark"] .ah-pdl-item,
body.dark-mode .ah-pdl-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .ah-pdl-item:hover,
body.dark-mode .ah-pdl-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}
[data-theme="dark"] .ah-pdl-item-name,
body.dark-mode .ah-pdl-item-name {
    color: #ffffff;
}
[data-theme="dark"] .ah-pdl-detail-pill,
body.dark-mode .ah-pdl-detail-pill {
    color: #94a3b8;
}
[data-theme="dark"] .ah-pdl-footer,
body.dark-mode .ah-pdl-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .ah-pdl-notice,
body.dark-mode .ah-pdl-notice {
    color: #94a3b8;
}

/* ═════════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE SIDEBAR LAYOUT
   ═════════════════════════════════════════════════════════════════ */

.ah-prod-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 1100px) {
    .ah-prod-layout {
        grid-template-columns: 1fr;
    }
}

.ah-prod-main-col {
    min-width: 0;
}

.ah-prod-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
}

.ah-prod-sidebar-widget {
    margin-bottom: 0;
}

.ah-s-top-cat,
.ah-s-top-time {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ah-s-top-cat i {
    color: #3b82f6;
}

.ah-s-top-time i {
    color: #10b981;
}

/* ══════════════════════════════════════════════════════════════════════════
   COMPREHENSIVE STORE & PRODUCT PAGE MOBILE RESPONSIVE ENGINE (v3.5)
   ══════════════════════════════════════════════════════════════════════════ */

/* Tablet & Medium Breakpoint (<= 992px) */
@media (max-width: 992px) {
    .ah-s-page-container,
    .ah-single-product-page {
        padding-left: 16px;
        padding-right: 16px;
        margin-top: 14px;
        margin-bottom: 40px;
    }

    .ah-prod-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .ah-prod-sidebar {
        position: static !important;
        margin-top: 12px;
    }

    .ah-prod-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .ah-s-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .ah-s-sidebar {
        position: static !important;
        margin-top: 16px;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    /* ── 1. Page Container Cleanliness ── */
    .ah-s-page-container,
    .ah-single-product-page {
        padding: 12px 14px 44px !important;
        margin-top: 8px !important;
        overflow-x: hidden;
    }

    /* ── 2. Store Header & Hero Banner ── */
    .ah-s-hero-compact {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 20px !important;
    }

    .ah-s-hero-compact-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    .ah-s-hero-compact-left {
        min-width: 100% !important;
        width: 100% !important;
    }

    .ah-s-hero-title-compact {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }

    .ah-s-hero-sub-compact {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .ah-s-hero-compact-right {
        width: 100% !important;
    }

    .ah-s-hero-micro-trust {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .ah-s-micro-chip {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 7px 12px !important;
        border-radius: 9px !important;
    }

    .ah-s-micro-chip div strong {
        font-size: 11.5px !important;
    }

    .ah-s-micro-chip div span {
        font-size: 10px !important;
    }

    /* ── 3. Store Featured Deals Hero Slider ── */
    .ah-s-featured-slider-container {
        border-radius: 18px !important;
    }

    .ah-s-feat-hero {
        min-height: auto !important;
        border-radius: 18px !important;
    }

    .ah-s-feat-hero-inner {
        grid-template-columns: 1fr !important;
        padding: 20px 14px 42px !important;
        gap: 16px !important;
    }

    .ah-s-feat-title-row {
        gap: 10px !important;
    }

    .ah-s-feat-icon-box {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
    }

    .ah-s-feat-title {
        font-size: 19px !important;
        line-height: 1.3 !important;
    }

    .ah-s-feat-desc {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }

    .ah-s-feat-action-card {
        padding: 16px 14px !important;
        border-radius: 16px !important;
        gap: 10px !important;
    }

    .ah-s-feat-action-card .ah-s-price-big {
        font-size: 28px !important;
    }

    .ah-s-feat-action-card .ah-s-btn-primary {
        padding: 12px 16px !important;
        font-size: 13.5px !important;
    }

    .ah-s-hero-prev {
        top: 14px !important;
        bottom: auto !important;
        left: auto !important;
        right: 50px !important;
        transform: none !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 11px !important;
        z-index: 10 !important;
        background: rgba(15, 23, 42, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .ah-s-hero-next {
        top: 14px !important;
        bottom: auto !important;
        right: 12px !important;
        transform: none !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 11px !important;
        z-index: 10 !important;
        background: rgba(15, 23, 42, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    /* ── 4. Store Toolbar & Category Filter Strip ── */
    .ah-s-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .ah-s-toolbar-left {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .ah-s-toolbar-title {
        font-size: 18px !important;
    }

    .ah-s-search-wrap {
        width: 100% !important;
        min-width: 100% !important;
    }

    .ah-s-search-wrap input {
        height: 44px !important;
        font-size: 13.5px !important;
        border-radius: 12px !important;
    }

    .ah-s-cat-pills {
        display: flex !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 2px 2px 8px !important;
        margin-bottom: 18px !important;
        width: 100% !important;
    }

    .ah-s-cat-pills::-webkit-scrollbar {
        display: none !important;
    }

    .ah-s-cat-pill {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 12px !important;
        padding: 7px 13px !important;
        border-radius: 10px !important;
    }

    /* ── 5. Product Catalog Cards Grid ── */
    .ah-s-product-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .ah-s-product-card {
        border-radius: 16px !important;
    }

    .ah-s-card-cover {
        height: 135px !important;
    }

    .ah-s-card-overlap {
        padding: 0 14px !important;
        margin-top: -28px !important;
    }

    .ah-s-card-icon {
        width: 54px !important;
        height: 54px !important;
        border-radius: 14px !important;
    }

    .ah-s-card-inline-stats {
        gap: 4px !important;
        margin-bottom: 2px !important;
    }

    .ah-s-stat-star,
    .ah-s-stat-sold {
        font-size: 10.5px !important;
        padding: 2px 7px !important;
    }

    .ah-s-card-body {
        padding: 10px 14px 0 !important;
    }

    .ah-s-card-title {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        letter-spacing: -0.15px !important;
        margin-bottom: 5px !important;
    }

    .ah-s-card-desc {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
    }

    .ah-s-card-footer {
        padding: 12px 14px 14px !important;
    }

    .ah-s-card-price strong {
        font-size: 18px !important;
    }

    .ah-s-card-btn-buy {
        padding: 9px 14px !important;
        font-size: 12px !important;
    }

    .ah-s-card-btn-plans {
        width: 34px !important;
        height: 34px !important;
    }

    /* ── 6. Single Product Breadcrumb Bar ── */
    .ah-product-location-bar {
        padding: 10px 12px !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
        border-radius: 14px !important;
    }

    .ah-product-breadcrumb-trail {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 6px !important;
        width: 100% !important;
        padding-bottom: 2px !important;
    }

    .ah-product-breadcrumb-trail::-webkit-scrollbar {
        display: none !important;
    }

    .ah-bc-item {
        font-size: 12px !important;
        padding: 3px 8px !important;
        flex-shrink: 0 !important;
    }

    .ah-location-right-actions {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    .ah-loc-badge {
        font-size: 10.5px !important;
        padding: 3px 8px !important;
    }

    .ah-loc-back-btn {
        font-size: 11.5px !important;
        padding: 4px 10px !important;
    }

    /* ── 7. Single Product Hero Section ── */
    .ah-product-hero {
        padding: 20px 14px !important;
        border-radius: 18px !important;
        margin-bottom: 24px !important;
    }

    .ah-prod-image-wrapper {
        min-height: 160px !important;
        padding: 24px 14px 26px !important;
        border-radius: 14px !important;
    }

    .ah-prod-main-img {
        max-width: 110px !important;
        max-height: 110px !important;
    }

    .ah-prod-perks-box {
        padding: 10px 12px !important;
        border-radius: 12px !important;
        gap: 8px !important;
    }

    .ah-perk-item {
        gap: 8px !important;
    }

    .ah-perk-icon-wrap {
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }

    .ah-perk-text strong {
        font-size: 11.5px !important;
    }

    .ah-perk-text span {
        font-size: 10px !important;
    }

    .ah-prod-title-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }

    .ah-prod-inline-logo-wrap {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        border-radius: 14px !important;
        padding: 4px !important;
    }

    .ah-prod-inline-logo {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .ah-prod-title-text-wrap {
        min-width: 0 !important;
        flex: 1 !important;
    }

    .ah-prod-title {
        font-size: clamp(18px, 4.6vw, 21px) !important;
        font-weight: 600 !important;
        letter-spacing: -0.2px !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
        margin-bottom: 4px !important;
    }

    .ah-prod-header-meta {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        margin-bottom: 10px !important;
    }

    .ah-prod-status-pill,
    .ah-prod-top-pill,
    .ah-prod-delivery-pill,
    .ah-prod-rating-pill,
    .ah-prod-sales-pill {
        font-size: 10.5px !important;
        padding: 3px 7px !important;
        gap: 4px !important;
    }

    .ah-prod-brand-tag {
        font-size: 11.5px !important;
        margin-bottom: 10px !important;
        word-break: break-word !important;
    }

    .ah-prod-tax-pills {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-top: 6px !important;
    }

    .ah-badge-pill, .ah-cat-pill, .ah-tag-pill {
        font-size: 10.5px !important;
        padding: 3px 8px !important;
    }

    .ah-prod-quick-actions-bar {
        margin-top: 14px !important;
    }

    .ah-quick-actions-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .ah-quick-action-btn {
        width: 100% !important;
        justify-content: center !important;
        min-height: 44px !important;
        font-size: 13.5px !important;
        box-sizing: border-box !important;
    }

    .ah-prod-features-card {
        padding: 14px 12px !important;
        margin-top: 14px !important;
    }

    .ah-prod-features-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .ah-prod-feat-item {
        font-size: 12px !important;
        padding: 6px 8px !important;
    }

    .ah-prod-tagline {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
    }

    .ah-linked-app-hub {
        padding: 14px !important;
        border-radius: 14px !important;
        margin-bottom: 18px !important;
    }

    .ah-hub-platforms-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .ah-hub-plat-icons {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .ah-hub-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .ah-hub-actions button,
    .ah-hub-actions a {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding: 12px 16px !important;
        font-size: 13.5px !important;
        border-radius: 11px !important;
        text-align: center !important;
    }

    /* ── 8. Single Product Plans Section ── */
    .ah-plans-section {
        margin-bottom: 36px !important;
    }

    .ah-section-title {
        font-size: 17.5px !important;
        font-weight: 600 !important;
        letter-spacing: -0.15px !important;
    }

    .ah-section-sub {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
    }

    .ah-plans-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 20px !important;
    }

    .ah-plan-card {
        padding: 22px 16px 18px !important;
        border-radius: 16px !important;
    }

    .ah-plan-name {
        font-size: 17.5px !important;
    }

    .ah-plan-current-price .ah-amount {
        font-size: 30px !important;
    }

    .ah-btn-plan-select {
        padding: 12px 16px !important;
        font-size: 14px !important;
        border-radius: 11px !important;
        width: 100% !important;
    }

    /* ── 9. Single Product Features & Capabilities Grid ── */
    .ah-features-section {
        margin-bottom: 36px !important;
    }

    .ah-features-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .ah-feature-card {
        padding: 14px !important;
        gap: 12px !important;
        border-radius: 14px !important;
    }

    .ah-feat-check-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }

    /* ── 9.1 Setup & Activation Guide on Mobile ── */
    .ah-setup-guide-box {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 24px !important;
    }

    .ah-setup-guide-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .ah-setup-title {
        font-size: 16px !important;
        font-weight: 600 !important;
        letter-spacing: -0.15px !important;
    }

    .ah-setup-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .ah-setup-card {
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    /* ── 9.2 Single Product Tables & Article Typography on Mobile ── */
    .ah-product-article-pro,
    .ah-product-content-body {
        font-size: 14.5px !important;
        line-height: 1.7 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .ah-product-article-pro p,
    .ah-product-content-body p {
        margin-bottom: 14px !important;
    }

    .ah-product-article-pro h1, .ah-product-content-body h1 { font-size: clamp(20px, 5.2vw, 24px) !important; line-height: 1.3 !important; margin: 22px 0 10px !important; }
    .ah-product-article-pro h2, .ah-product-content-body h2 { font-size: clamp(18px, 4.4vw, 21px) !important; line-height: 1.35 !important; margin: 20px 0 10px !important; }
    .ah-product-article-pro h3, .ah-product-content-body h3 { font-size: clamp(16px, 3.8vw, 18.5px) !important; line-height: 1.4 !important; margin: 18px 0 8px !important; }
    .ah-product-article-pro h4, .ah-product-content-body h4 { font-size: clamp(14px, 3.4vw, 16.5px) !important; line-height: 1.4 !important; margin: 16px 0 6px !important; }

    .ah-product-article-pro img,
    .ah-product-content-body img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        display: block !important;
        margin: 16px auto !important;
    }

    .ah-product-article-pro iframe,
    .ah-product-content-body iframe,
    .ah-product-article-pro video,
    .ah-product-content-body video {
        max-width: 100% !important;
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        border-radius: 10px !important;
        margin: 16px 0 !important;
    }

    .ah-product-article-pro pre,
    .ah-product-content-body pre,
    .ah-product-article-pro code,
    .ah-product-content-body code {
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
    }

    .ah-table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 18px 0 !important;
        border-radius: 12px !important;
        border: 1px solid var(--border-color, #e2e8f0) !important;
    }

    .ah-table-responsive table,
    .ah-product-content-body table,
    .ah-product-article-pro table {
        min-width: 520px !important;
        table-layout: auto !important;
        font-size: 12.5px !important;
        line-height: 1.5 !important;
    }

    .ah-product-content-body > table,
    .ah-product-article-pro > table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 18px 0 !important;
        border-radius: 12px !important;
        min-width: 0 !important;
    }

    .ah-table-responsive table thead th,
    .ah-product-content-body table thead th,
    .ah-product-article-pro table thead th {
        padding: 10px 14px !important;
        font-size: 11px !important;
        letter-spacing: 0.04em !important;
        white-space: nowrap !important;
        min-width: 120px !important;
        word-break: normal !important;
        box-sizing: border-box !important;
    }

    .ah-table-responsive table tbody td,
    .ah-product-content-body table tbody td,
    .ah-product-article-pro table tbody td {
        padding: 10px 14px !important;
        font-size: 12px !important;
        box-sizing: border-box !important;
    }

    /* ── 10. Single Product Sidebar & Security Strip ── */
    .ah-prod-sidebar-widget {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }

    .ah-s-top-item {
        padding: 9px 10px !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }

    .ah-s-top-thumb {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }

    .ah-s-top-name {
        font-size: 12.5px !important;
    }

    .ah-security-strip {
        padding: 20px 16px !important;
        border-radius: 16px !important;
        margin-bottom: 30px !important;
    }

    .ah-sec-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .ah-sec-card {
        gap: 10px !important;
    }

    .ah-sec-card i {
        font-size: 20px !important;
    }

    /* ── 11. Modals Mobile Responsiveness ── */
    .ah-pdl-modal-dialog,
    .ah-media-modal-dialog {
        width: 95% !important;
        max-width: 95% !important;
        margin: 16px auto !important;
        max-height: 90vh !important;
        border-radius: 18px !important;
    }

    .ah-pdl-modal-header,
    .ah-media-modal-header {
        padding: 16px 18px !important;
    }

    .ah-pdl-modal-body,
    .ah-media-modal-body {
        padding: 16px 18px !important;
    }

    .ah-pdl-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .ah-pdl-download-action-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .ah-media-modal-footer {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }

    .ah-modal-footer-btns {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .ah-modal-btn-download,
    .ah-modal-btn-close {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
    .ah-s-page-container,
    .ah-single-product-page {
        padding: 10px 10px 36px !important;
    }

    .ah-s-hero-title-compact {
        font-size: 16.5px !important;
        font-weight: 650 !important;
        letter-spacing: -0.15px !important;
    }

    .ah-s-hero-micro-trust {
        grid-template-columns: 1fr !important;
    }

    .ah-prod-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        letter-spacing: -0.2px !important;
    }

    .ah-prod-status-pill,
    .ah-prod-top-pill {
        font-size: 10.5px !important;
        padding: 3px 8px !important;
    }

    .ah-s-card-cover {
        height: 125px !important;
    }

    .ah-s-card-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .ah-s-card-overlap {
        margin-top: -25px !important;
    }

    .ah-s-card-inline-stats {
        gap: 3px !important;
    }

    .ah-s-stat-star,
    .ah-s-stat-sold {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }

    /* Responsive tables for small screens (horizontally scrollable without collision) */
    .ah-table-responsive table,
    .ah-product-content-body table,
    .ah-product-article-pro table {
        min-width: 520px !important;
        table-layout: auto !important;
        font-size: 11.5px !important;
    }

    .ah-table-responsive table thead th,
    .ah-product-content-body table thead th,
    .ah-product-article-pro table thead th {
        padding: 9px 12px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        min-width: 110px !important;
        word-break: normal !important;
        box-sizing: border-box !important;
    }

    .ah-table-responsive table tbody td,
    .ah-product-content-body table tbody td,
    .ah-product-article-pro table tbody td {
        padding: 8px 12px !important;
        font-size: 11.5px !important;
        box-sizing: border-box !important;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   12. SEO HIGH-CTR FAQ ACCORDION SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.ah-faq-section {
    margin-top: 40px;
    margin-bottom: 36px;
}

.ah-faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 999px;
}

.ah-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.ah-faq-item {
    background: var(--bg-secondary, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

[data-theme="dark"] .ah-faq-item {
    background: var(--bg-secondary, #1e293b);
    border-color: var(--border-color, #2d3d54);
}

.ah-faq-item:hover {
    border-color: var(--accent-secondary, #3b82f6);
}

.ah-faq-item.active {
    border-color: var(--accent-secondary, #3b82f6);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.ah-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text-primary, #0f172a);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

[data-theme="dark"] .ah-faq-question {
    color: var(--text-primary, #f8fafc);
}

.ah-faq-question:hover {
    color: var(--accent-secondary, #3b82f6);
}

.ah-faq-question span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.ah-faq-icon {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    transition: transform 0.3s ease, color 0.25s ease;
    flex-shrink: 0;
}

[data-theme="dark"] .ah-faq-icon {
    color: var(--text-muted, #94a3b8);
}

.ah-faq-item.active .ah-faq-icon {
    transform: rotate(180deg);
    color: var(--accent-secondary, #3b82f6);
}

.ah-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ah-faq-item.active .ah-faq-answer {
    max-height: 500px;
}

.ah-faq-answer-inner {
    padding: 0 20px 18px 20px;
    color: var(--text-secondary, #475569);
    font-size: 13.5px;
    line-height: 1.65;
}

[data-theme="dark"] .ah-faq-answer-inner {
    color: var(--text-secondary, #cbd5e1);
}

.ah-faq-answer-inner p {
    margin: 0;
    color: inherit;
}

.ah-faq-answer-inner strong {
    color: var(--text-primary, #0f172a);
    font-weight: 700;
}

[data-theme="dark"] .ah-faq-answer-inner strong {
    color: var(--text-primary, #f8fafc);
}

/* ══════════════════════════════════════════════════════════════════════════
   13. PRODUCT REVIEWS & DISCUSSION (Comments Integration)
   ══════════════════════════════════════════════════════════════════════════ */
.ah-product-reviews-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.ah-product-reviews-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── 13.1 Reviews Summary Card ── */
.ah-reviews-summary-card {
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    gap: 28px;
    align-items: center;
    background: var(--bg-secondary, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .ah-reviews-summary-card {
    background: var(--bg-secondary, #1e293b);
    border-color: var(--border-color, #2d3d54);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Score Column */
.ah-reviews-score-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid var(--border-color, #e2e8f0);
}

[data-theme="dark"] .ah-reviews-score-col {
    border-right-color: var(--border-color, #2d3d54);
}

.ah-score-huge {
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary, #0f172a);
    letter-spacing: -1.5px;
    margin-bottom: 8px;
}

[data-theme="dark"] .ah-score-huge {
    color: var(--text-primary, #f8fafc);
}

.ah-score-stars-row {
    display: flex;
    gap: 4px;
    font-size: 18px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.ah-score-caption {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    margin-bottom: 12px;
}

.ah-satisfaction-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Distribution Bars Column */
.ah-reviews-bars-col {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ah-dist-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ah-dist-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary, #64748b);
    min-width: 44px;
}

.ah-dist-label i {
    color: #f59e0b;
    font-size: 11px;
}

.ah-dist-bar-track {
    flex: 1;
    height: 9px;
    background: rgba(148, 163, 184, 0.18);
    border-radius: 99px;
    overflow: hidden;
}

.ah-dist-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 99px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-dist-percent {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary, #64748b);
    min-width: 38px;
    text-align: right;
}

/* Action CTA Column */
.ah-reviews-action-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    border-left: 1px solid var(--border-color, #e2e8f0);
}

[data-theme="dark"] .ah-reviews-action-col {
    border-left-color: var(--border-color, #2d3d54);
}

.ah-rac-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin: 0 0 6px 0;
}

[data-theme="dark"] .ah-rac-title {
    color: var(--text-primary, #f8fafc);
}

.ah-rac-desc {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.ah-btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
}

.ah-btn-write-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    color: #ffffff !important;
}

.ah-rac-trust {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    margin-top: 12px;
}

.ah-rac-trust i {
    color: #10b981;
}

/* ── 13.2 Customer Reviews List ── */
.ah-reviews-list-head {
    margin-top: 12px;
    margin-bottom: -10px;
}

.ah-rlh-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0;
}

[data-theme="dark"] .ah-rlh-title {
    color: var(--text-primary, #f8fafc);
}

.ah-rlh-title i {
    color: var(--accent-primary, #3b82f6);
}

.ah-rlh-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: var(--accent-primary, #3b82f6);
    padding: 2px 9px;
    border-radius: 99px;
}

.ah-reviews-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ah-review-card-item {
    list-style: none;
}

.ah-review-card-body {
    background: var(--bg-secondary, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .ah-review-card-body {
    background: var(--bg-secondary, #1e293b);
    border-color: var(--border-color, #2d3d54);
}

.ah-review-card-body:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.ah-review-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ah-review-card-avatar {
    flex-shrink: 0;
}

.ah-avatar-img,
.ah-review-card-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color, #e2e8f0);
}

.ah-review-card-author-info {
    flex: 1;
    min-width: 0;
}

.ah-review-author-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.ah-review-author-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ah-review-author-name {
    color: var(--text-primary, #f8fafc);
}

.ah-badge-verified-buyer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 8px;
    border-radius: 12px;
}

.ah-badge-verified-buyer.ah-badge-staff {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

.ah-review-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-secondary, #64748b);
}

.ah-review-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 12px;
}

.ah-review-score-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-left: 4px;
}

[data-theme="dark"] .ah-review-score-text {
    color: var(--text-primary, #f8fafc);
}

.ah-review-dot {
    color: var(--text-muted, #94a3b8);
}

.ah-review-reply-action a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-primary, #3b82f6);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
    transition: background 0.2s ease;
}

.ah-review-reply-action a:hover {
    background: rgba(59, 130, 246, 0.16);
}

.ah-review-text-content {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-primary, #334155);
}

[data-theme="dark"] .ah-review-text-content {
    color: #cbd5e1;
}

.ah-review-moderation-alert {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #d97706;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Empty State */
.ah-reviews-empty-state {
    text-align: center;
    padding: 44px 24px;
    background: var(--bg-secondary, #ffffff);
    border: 1.5px dashed var(--border-color, #cbd5e1);
    border-radius: 20px;
}

[data-theme="dark"] .ah-reviews-empty-state {
    background: var(--bg-secondary, #1e293b);
    border-color: var(--border-color, #334155);
}

.ah-res-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.ah-res-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0 0 8px 0;
}

[data-theme="dark"] .ah-res-title {
    color: var(--text-primary, #f8fafc);
}

.ah-res-desc {
    max-width: 460px;
    margin: 0 auto 20px;
    font-size: 13.5px;
    color: var(--text-secondary, #64748b);
    line-height: 1.55;
}

.ah-btn-empty-state {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

/* ── 13.3 Review Submission Form ── */
.ah-product-reviews-wrapper .comment-respond {
    background: var(--bg-secondary, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 36px 32px 42px;
    margin-top: 14px;
    margin-bottom: 24px;
}

[data-theme="dark"] .ah-product-reviews-wrapper .comment-respond {
    background: var(--bg-secondary, #1e293b);
    border-color: var(--border-color, #2d3d54);
}

.ah-reply-title-wrap {
    margin-bottom: 22px;
}

.ah-review-reply-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary, #0f172a);
    margin: 0 0 6px 0;
}

[data-theme="dark"] .ah-review-reply-title {
    color: var(--text-primary, #f8fafc);
}

.ah-review-reply-title i {
    color: #f59e0b;
}

.ah-reply-subtitle {
    font-size: 13.5px;
    color: var(--text-secondary, #64748b);
    margin: 0;
}

/* Interactive Star Picker */
.ah-form-rating-row {
    margin-bottom: 18px;
}

.ah-rating-field-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-bottom: 8px;
}

[data-theme="dark"] .ah-rating-field-label {
    color: var(--text-primary, #f8fafc);
}

.ah-rfl-req {
    color: #ef4444;
}

.ah-star-picker {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid var(--border-color, #e2e8f0);
    padding: 12px 18px;
    border-radius: 12px;
}

[data-theme="dark"] .ah-star-picker {
    background: rgba(15, 23, 42, 0.4);
    border-color: var(--border-color, #2d3d54);
}

.ah-star-picker-stars {
    display: inline-flex;
    gap: 6px;
}

.ah-star-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    font-size: 26px;
    color: #cbd5e1;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
    outline: none;
    line-height: 1;
}

.ah-star-btn:hover,
.ah-star-btn.hover,
.ah-star-btn.active {
    color: #f59e0b;
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.35));
}

.ah-star-rating-hint {
    font-size: 13.5px;
    font-weight: 700;
    color: #d97706;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-star-rating-hint {
    color: #fbbf24;
}

/* Quick Direct Rating Pills */
.ah-rating-quick-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 6px;
}

.ah-rate-pill {
    background: var(--bg-primary, #ffffff);
    border: 1.5px solid var(--border-color, #cbd5e1);
    color: var(--text-secondary, #64748b);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

[data-theme="dark"] .ah-rate-pill {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

.ah-rate-pill:hover {
    border-color: #f59e0b;
    color: #f59e0b;
    transform: translateY(-1px);
}

.ah-rate-pill.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #d97706;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.ah-modern-review-form .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.ah-modern-review-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.ah-modern-review-form .comment-form-textarea-wrap {
    margin-top: 18px;
    margin-bottom: 26px !important;
}

.ah-modern-review-form label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-bottom: 4px;
}

[data-theme="dark"] .ah-modern-review-form label {
    color: var(--text-primary, #f8fafc);
}

.ah-modern-review-form textarea {
    width: 100%;
    min-height: 130px;
    border: 1.5px solid var(--border-color, #cbd5e1);
    background: var(--bg-primary, #ffffff);
    color: var(--text-primary, #0f172a);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14.5px;
    line-height: 1.65;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 4px;
}

.ah-modern-review-form input[type="text"],
.ah-modern-review-form input[type="email"] {
    width: 100%;
    border: 1.5px solid var(--border-color, #cbd5e1);
    background: var(--bg-primary, #ffffff);
    color: var(--text-primary, #0f172a);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
}

[data-theme="dark"] .ah-modern-review-form textarea,
[data-theme="dark"] .ah-modern-review-form input[type="text"],
[data-theme="dark"] .ah-modern-review-form input[type="email"] {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

.ah-modern-review-form textarea:focus,
.ah-modern-review-form input[type="text"]:focus,
.ah-modern-review-form input[type="email"]:focus {
    border-color: var(--accent-primary, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.ah-modern-review-form .form-submit,
.ah-modern-review-form p.form-submit {
    margin-top: 26px !important;
    margin-bottom: 12px !important;
    padding-top: 4px;
    display: flex;
    align-items: center;
}

.ah-btn-submit-review {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ah-btn-submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(59, 130, 246, 0.45);
}

/* Responsive Breakpoints for Reviews */
@media (max-width: 991px) {
    .ah-reviews-summary-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px;
    }
    .ah-reviews-score-col {
        border-right: none;
        border-bottom: 1px solid var(--border-color, #e2e8f0);
        padding-right: 0;
        padding-bottom: 20px;
    }
    [data-theme="dark"] .ah-reviews-score-col {
        border-bottom-color: var(--border-color, #2d3d54);
    }
    .ah-reviews-action-col {
        border-left: none;
        border-top: 1px solid var(--border-color, #e2e8f0);
        padding-left: 0;
        padding-top: 20px;
        align-items: center;
        text-align: center;
    }
    [data-theme="dark"] .ah-reviews-action-col {
        border-top-color: var(--border-color, #2d3d54);
    }
}

@media (max-width: 640px) {
    .ah-modern-review-form .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .ah-review-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   14. STICKY MOBILE ACTION BAR (High Conversion On Small Screens)
   ══════════════════════════════════════════════════════════════════════════ */
.ah-sticky-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.4);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateY(120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-sticky-mobile-bar.visible {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ah-sticky-mobile-bar {
        display: block;
    }
}

.ah-sticky-mobile-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.ah-sticky-mobile-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ah-sticky-mobile-thumb {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.ah-sticky-mobile-fallback {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #94a3b8);
    font-size: 14px;
    flex-shrink: 0;
}

.ah-sticky-mobile-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ah-sticky-mobile-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.ah-sticky-mobile-price {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
}

.ah-sticky-mobile-price strong {
    font-size: 13.5px;
    font-weight: 800;
    color: #10b981;
}

.ah-sticky-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ah-sticky-plans-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: background 0.2s ease;
}

.ah-sticky-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    transition: transform 0.2s ease;
}

.ah-sticky-buy-btn:hover {
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   Universal Invoice System & Statement Styles
   ═══════════════════════════════════════════════════════════════ */
.ah-stmt-filter-btn {
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--ah-border, #cbd5e1);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    transition: all 0.15s ease;
}

.ah-stmt-filter-btn.active,
.ah-stmt-filter-btn:hover {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
}

.ah-btn-view-invoice {
    transition: all 0.15s ease;
}

.ah-btn-view-invoice:hover {
    background: #e2e8f0 !important;
    color: #0284c7 !important;
    border-color: #0284c7 !important;
}

/* Invoice Sheet & Printable Paper */
.ah-invoice-sheet {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
    overflow: hidden;
    color: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ah-inv-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 24px;
}

.ah-inv-btn {
    border-radius: 7px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.ah-inv-btn.print {
    background: #10b981;
    color: #fff;
    border: none;
}

.ah-inv-btn.print:hover {
    background: #059669;
}

.ah-inv-btn.close {
    background: #e2e8f0;
    color: #475569;
    border: none;
    margin-left: 6px;
}

.ah-inv-btn.close:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.ah-inv-paper {
    padding: 36px 40px;
}

.ah-inv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.ah-inv-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ah-inv-logo-badge {
    background: linear-gradient(135deg, #10b981, #0284c7);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.5px;
}

.ah-inv-logo-text h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.ah-inv-logo-text p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #64748b;
}

.ah-inv-company-meta {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 10px;
    display: flex;
    gap: 16px;
}

.ah-inv-meta-right {
    text-align: right;
}

.ah-inv-title {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ah-inv-number {
    font-size: 20px;
    font-weight: 900;
    font-family: monospace;
    color: #0f172a;
    margin: 4px 0 6px 0;
}

.ah-inv-status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.ah-inv-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 24px 0;
}

.ah-inv-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.ah-inv-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.ah-inv-info-val {
    font-size: 14px;
    color: #0f172a;
    display: block;
}

.ah-inv-info-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.ah-inv-bridge-badge-box {
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.ah-inv-bridge-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ah-inv-bridge-pill {
    background: #0284c7;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ah-inv-table-wrap {
    margin-bottom: 24px;
    overflow-x: auto;
}

.ah-inv-table {
    width: 100%;
    border-collapse: collapse;
}

.ah-inv-table th {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.ah-inv-table td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.ah-inv-balance-impact-box {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.ah-inv-impact-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ah-inv-impact-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.ah-inv-impact-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 16px;
    flex: 1;
    min-width: 140px;
}

.ah-inv-impact-card.highlight {
    background: #f0fdf4;
    border-color: #86efac;
}

.ah-inv-impact-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.ah-inv-impact-val {
    font-size: 17px;
    font-weight: 900;
    font-family: monospace;
    color: #0f172a;
}

.ah-inv-impact-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}

.ah-inv-crypto-box {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.ah-inv-rejection-box {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.ah-inv-keys-box {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.ah-inv-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 16px;
}

.ah-inv-terms {
    max-width: 480px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
}

.ah-inv-stamp {
    text-align: right;
}

.ah-inv-stamp-badge {
    border: 2px solid #10b981;
    color: #10b981;
    font-size: 12px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    display: inline-block;
}

/* Print Stylesheet */
@media print {
    .no-print,
    .ah-inv-toolbar,
    .ah-header,
    .ah-footer,
    #wpadminbar {
        display: none !important;
    }

    body {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ah-invoice-sheet {
        box-shadow: none !important;
        border-radius: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .ah-inv-paper {
        padding: 20px !important;
    }
}

/* ==========================================================================
   TRANSACTION ID (TXID / HASH) VISUAL GUIDE MODAL & TRIGGER STYLES
   ========================================================================== */

/* ── In-Field TXID Trigger & Wrap ── */
.ah-txid-input-wrap {
    margin-top: 14px;
}

.ah-txid-label-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.ah-txid-guide-trigger {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    line-height: 1.4;
}

.ah-txid-guide-trigger:hover {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.ah-txid-guide-trigger i {
    color: #2563eb;
    font-size: 12px;
}

.ah-txid-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 4px;
}

.ah-txid-field-wrap input,
.ah-txid-field-wrap input[type="text"] {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    background: var(--bg-surface, #ffffff) !important;
    border: 1.5px solid var(--border-color, #cbd5e1) !important;
    border-radius: 12px !important;
    padding: 12px 88px 12px 38px !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-primary, #0f172a) !important;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
}

.ah-txid-field-wrap input::placeholder {
    color: #94a3b8 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 400 !important;
    font-size: 12.5px !important;
}

[data-theme="dark"] .ah-txid-field-wrap input,
[data-theme="dark"] .ah-txid-field-wrap input[type="text"] {
    background: #0b1120 !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.ah-txid-field-wrap input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15) !important;
    background: #ffffff !important;
}

[data-theme="dark"] .ah-txid-field-wrap input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.25) !important;
    background: #0f172a !important;
}

/* Left Prefix Icon */
.ah-txid-prefix-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s ease;
}

.ah-txid-field-wrap:focus-within .ah-txid-prefix-icon {
    color: #2563eb;
}

[data-theme="dark"] .ah-txid-field-wrap:focus-within .ah-txid-prefix-icon {
    color: #60a5fa;
}

.ah-btn-paste-txid {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    z-index: 2;
}

.ah-btn-paste-txid:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.ah-btn-paste-txid.is-pasted {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

[data-theme="dark"] .ah-btn-paste-txid {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .ah-btn-paste-txid:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #2563eb;
}

.ah-txid-hint-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ah-txid-link-quick {
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ah-txid-link-quick:hover {
    color: #1d4ed8;
}

/* ── Modal Overlay & Container ── */
.ah-txid-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000100;
    animation: ahTxidFadeIn 0.2s ease;
}

.ah-txid-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000101;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.ah-txid-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 860px;
    border-radius: 16px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: ahTxidSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ahTxidFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ahTxidSlideUp {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Dark mode support */
[data-theme="dark"] .ah-txid-modal-card {
    background: #0f172a;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(51, 65, 85, 0.8);
    color: #f8fafc;
}

/* ── Modal Header ── */
.ah-txid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

[data-theme="dark"] .ah-txid-header {
    border-bottom-color: #1e293b;
}

.ah-txid-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ah-txid-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.ah-txid-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

[data-theme="dark"] .ah-txid-title {
    color: #f8fafc;
}

.ah-txid-subtitle {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: #64748b;
}

[data-theme="dark"] .ah-txid-subtitle {
    color: #94a3b8;
}

.ah-txid-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ah-txid-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: rotate(90deg);
}

/* ── Universal 3-Step Bar ── */
.ah-txid-universal-bar {
    margin: 16px 24px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1.5px solid rgba(37, 99, 235, 0.2);
    border-radius: 14px;
    flex-shrink: 0;
}

[data-theme="dark"] .ah-txid-universal-bar {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.ah-txid-uni-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.ah-txid-uni-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .ah-txid-uni-badge {
    color: #60a5fa;
}

.ah-txid-uni-tag {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 8px;
    border-radius: 6px;
}

[data-theme="dark"] .ah-txid-uni-tag {
    color: #34d399;
}

.ah-txid-uni-steps {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .ah-txid-uni-steps {
        flex-direction: column;
        align-items: stretch;
    }
    .ah-txid-uni-arrow {
        display: none;
    }
}

.ah-txid-uni-step {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 10px;
    padding: 10px 12px;
}

[data-theme="dark"] .ah-txid-uni-step {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-txid-uni-step.highlight {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

[data-theme="dark"] .ah-txid-uni-step.highlight {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(52, 211, 153, 0.4);
}

.ah-uni-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ah-txid-uni-step.highlight .ah-uni-num {
    background: #10b981;
}

.ah-uni-info strong {
    display: block;
    font-size: 12px;
    color: var(--text-primary, #0f172a);
    margin-bottom: 2px;
}

[data-theme="dark"] .ah-uni-info strong {
    color: #f8fafc;
}

.ah-uni-info span {
    font-size: 11px;
    color: var(--text-muted, #64748b);
    line-height: 1.4;
    display: block;
}

.ah-txid-uni-arrow {
    color: #94a3b8;
    font-size: 12px;
    flex-shrink: 0;
}

/* ── Filter Toolbar ── */
.ah-txid-filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 24px 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.ah-txid-search-wrap {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.ah-txid-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.ah-txid-search-wrap input {
    width: 100%;
    height: 38px;
    padding: 8px 14px 8px 34px !important;
    font-size: 12.5px !important;
    border: 1.5px solid var(--border-color, #e2e8f0) !important;
    border-radius: 10px !important;
    background: var(--bg-surface, #ffffff) !important;
    color: var(--text-primary, #0f172a) !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

[data-theme="dark"] .ah-txid-search-wrap input {
    background: #0b1120 !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

.ah-txid-search-wrap input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.ah-txid-cat-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ah-txid-cat-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

[data-theme="dark"] .ah-txid-cat-pill {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

.ah-txid-cat-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ah-txid-cat-pill.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* ── Platform Tabs ── */
.ah-txid-platform-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 24px 14px;
    flex-shrink: 0 !important;
    min-height: 52px;
    box-sizing: border-box;
    background: rgba(248, 250, 252, 0.85);
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .ah-txid-platform-tabs {
    background: rgba(15, 23, 42, 0.7);
    border-top-color: #1e293b;
    border-bottom-color: #1e293b;
}

@media (max-width: 640px) {
    .ah-txid-platform-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 10px 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}

.ah-txid-tab {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .ah-txid-tab {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.ah-txid-tab:hover {
    background: #ffffff;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.14);
}

[data-theme="dark"] .ah-txid-tab:hover {
    background: #273549;
    border-color: #3b82f6;
    color: #93c5fd;
}

.ah-txid-tab.active {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    color: #1d4ed8 !important;
    box-shadow: 0 0 0 1.5px #2563eb, 0 3px 8px rgba(37, 99, 235, 0.2) !important;
}

[data-theme="dark"] .ah-txid-tab.active {
    background: rgba(37, 99, 235, 0.25) !important;
    border-color: #3b82f6 !important;
    color: #bfdbfe !important;
    box-shadow: 0 0 0 1.5px #3b82f6, 0 3px 8px rgba(59, 130, 246, 0.3) !important;
}

.ah-txid-tab.ah-tab-hidden {
    display: none !important;
}

.ah-txid-tab-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* ── Platform Panels Wrap ── */
.ah-txid-panels-wrap {
    padding: 16px 24px;
}

.ah-txid-panel {
    display: none;
}

.ah-txid-panel.active {
    display: block;
    animation: ahTxidFadeIn 0.2s ease;
}

.ah-txid-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .ah-txid-grid {
        grid-template-columns: 1fr;
    }
}

.ah-txid-badge-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    margin-bottom: 12px;
}

.ah-txid-ol {
    margin: 0 0 16px 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ah-txid-ol li {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

[data-theme="dark"] .ah-txid-ol li {
    color: #cbd5e1;
}

.ah-txid-ol li strong {
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

[data-theme="dark"] .ah-txid-ol li strong {
    color: #f8fafc;
}

.ah-txid-tip-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #475569;
    line-height: 1.45;
}

[data-theme="dark"] .ah-txid-tip-box {
    background: #1e293b;
    border-color: #475569;
    color: #94a3b8;
}

/* ── Realistic App Mockup ── */
.ah-txid-mockup-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ah-txid-mockup {
    width: 100%;
    max-width: 330px;
    background: #ffffff;
    border-radius: 18px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] .ah-txid-mockup {
    background: #0b1120;
    border-color: #334155;
}

.ah-mockup-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 600;
    background: #f8fafc;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .ah-mockup-statusbar {
    background: #020617;
    border-bottom-color: #1e293b;
    color: #94a3b8;
}

.ah-mockup-status-icons {
    display: flex;
    gap: 6px;
}

.ah-mockup-appbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .ah-mockup-appbar {
    background: #0f172a;
    border-bottom-color: #1e293b;
    color: #f8fafc;
}

.ah-mockup-body {
    padding: 14px;
}

.ah-mockup-amount-block {
    text-align: center;
    padding: 10px 0 14px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

[data-theme="dark"] .ah-mockup-amount-block {
    border-bottom-color: #1e293b;
}

.ah-mockup-amount {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    font-family: monospace;
}

[data-theme="dark"] .ah-mockup-amount {
    color: #f8fafc;
}

.ah-mockup-status.success {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 999px;
    margin-top: 6px;
}

.ah-mockup-details-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ah-mockup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    padding: 5px 0;
    color: #64748b;
}

.ah-mockup-row .val {
    color: #0f172a;
    font-weight: 600;
}

[data-theme="dark"] .ah-mockup-row .val {
    color: #f8fafc;
}

.ah-mockup-row .mono {
    font-family: monospace;
}

/* ── Pulsing Highlighted TxID Row ── */
.ah-mockup-row.highlighted {
    background: #fefce8;
    border: 2px solid #eab308;
    border-radius: 8px;
    padding: 8px 10px;
    margin: 4px 0;
    position: relative;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.35);
}

[data-theme="dark"] .ah-mockup-row.highlighted {
    background: rgba(234, 179, 8, 0.12);
    border-color: #facc15;
}

.highlight-pointer {
    position: absolute;
    top: -11px;
    right: 10px;
    background: #ca8a04;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    animation: ahPulse 1.2s infinite;
}

.val-copy-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.text-primary {
    color: #2563eb !important;
    font-weight: 700;
}

.copy-badge {
    background: #2563eb;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    cursor: default;
}

.ah-mockup-caption {
    font-size: 11px;
    color: #64748b;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

/* ── Common Mistakes Comparison Box ── */
.ah-txid-comparison-box {
    margin: 0 24px 20px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

[data-theme="dark"] .ah-txid-comparison-box {
    background: #0b1120;
    border-color: #1e293b;
}

.ah-txid-comp-title {
    margin: 0 0 12px 0;
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .ah-txid-comp-title {
    color: #f8fafc;
}

.ah-txid-comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .ah-txid-comp-grid {
        grid-template-columns: 1fr;
    }
}

.ah-txid-comp-item {
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ah-txid-comp-item.bad {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

[data-theme="dark"] .ah-txid-comp-item.bad {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.ah-txid-comp-item.good {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #166534;
}

[data-theme="dark"] .ah-txid-comp-item.good {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #86efac;
}

.ah-txid-comp-item .comp-head {
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-txid-comp-item code {
    font-size: 10.5px;
    background: rgba(0,0,0,0.06);
    padding: 3px 6px;
    border-radius: 4px;
    word-break: break-all;
    font-family: monospace;
}

[data-theme="dark"] .ah-txid-comp-item code {
    background: rgba(255,255,255,0.08);
}

.ah-txid-comp-item small {
    font-size: 11px;
    line-height: 1.4;
    opacity: 0.9;
}

/* ── Modal Footer ── */
.ah-txid-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
    flex-shrink: 0;
}

[data-theme="dark"] .ah-txid-footer {
    background: #020617;
    border-top-color: #1e293b;
}

.ah-txid-footer-note {
    font-size: 12px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .ah-txid-footer-note {
    color: #94a3b8;
}

.ah-txid-btn-done {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid #059669;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    font-family: inherit;
}

.ah-txid-btn-done:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   USER PROFILE & WHATSAPP MANAGEMENT MODAL
   ═══════════════════════════════════════════════════════════════ */

.ah-profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000100;
    animation: ahProfileFadeIn 0.2s ease;
}

.ah-profile-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000101;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.ah-profile-card {
    background: #ffffff;
    width: 100%;
    max-width: 760px;
    border-radius: 18px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: ahProfileSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

[data-theme="dark"] .ah-profile-card {
    background: #0f172a;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(51, 65, 85, 0.8);
    color: #f8fafc;
}

@keyframes ahProfileFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ahProfileSlideUp {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Profile Header ── */
.ah-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

[data-theme="dark"] .ah-profile-header {
    border-bottom-color: #1e293b;
}

.ah-profile-header-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ah-profile-avatar-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.ah-profile-avatar-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    z-index: 1;
}

.ah-profile-avatar {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.ah-profile-avatar-online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #ffffff;
    z-index: 3;
}

.ah-profile-name {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

[data-theme="dark"] .ah-profile-name {
    color: #f8fafc;
}

.ah-profile-vip-tag {
    font-size: 11px;
    font-weight: 800;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

[data-theme="dark"] .ah-profile-vip-tag {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.4);
}

.ah-profile-username-tag {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 11.5px;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.2px;
}

[data-theme="dark"] .ah-profile-username-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.35);
}

.ah-profile-id-badge {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

[data-theme="dark"] .ah-profile-id-badge {
    background: #1e293b;
    color: #94a3b8;
    border-color: #334155;
}

.ah-profile-role-tag {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

[data-theme="dark"] .ah-profile-role-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.35);
}

.ah-profile-email {
    display: block;
    margin-top: 3px;
    font-size: 12.5px;
    color: #64748b;
}

[data-theme="dark"] .ah-profile-email {
    color: #94a3b8;
}

.ah-profile-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ah-profile-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: rotate(90deg);
}

[data-theme="dark"] .ah-profile-close-btn {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

/* ── Profile Tabs ── */
.ah-profile-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    flex-wrap: wrap;
}

[data-theme="dark"] .ah-profile-tabs {
    background: #020617;
    border-bottom-color: #1e293b;
}

.ah-profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    position: relative;
}

[data-theme="dark"] .ah-profile-tab {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.ah-profile-tab:hover {
    background: #ffffff;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
}

.ah-profile-tab.active {
    background: #f0fdf4 !important;
    border-color: #16a34a !important;
    color: #15803d !important;
    box-shadow: 0 0 0 1.5px #16a34a, 0 3px 8px rgba(22, 163, 74, 0.15) !important;
}

[data-theme="dark"] .ah-profile-tab.active {
    background: rgba(22, 163, 74, 0.2) !important;
    border-color: #22c55e !important;
    color: #86efac !important;
    box-shadow: 0 0 0 1.5px #22c55e !important;
}

.ah-tab-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}

/* ── Profile Body & Panes ── */
.ah-profile-body {
    padding: 22px 24px;
    flex: 1 0 auto;
}

.ah-profile-pane {
    animation: ahProfileFadeIn 0.2s ease;
}

/* ── WhatsApp Hero Banner ── */
.ah-wa-hero-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(18, 140, 126, 0.05) 100%);
    border: 1.5px solid rgba(37, 211, 102, 0.3);
    border-radius: 14px;
    margin-bottom: 20px;
}

[data-theme="dark"] .ah-wa-hero-banner {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(37, 211, 102, 0.35);
}

.ah-wa-hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.ah-wa-hero-text h4 {
    margin: 0 0 4px;
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
}

[data-theme="dark"] .ah-wa-hero-text h4 {
    color: #f8fafc;
}

.ah-wa-hero-text p {
    margin: 0;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
}

[data-theme="dark"] .ah-wa-hero-text p {
    color: #94a3b8;
}

/* ── WhatsApp Card & States ── */
.ah-wa-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
}

[data-theme="dark"] .ah-wa-card {
    background: #020617;
    border-color: #1e293b;
}

.ah-wa-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.ah-wa-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.ah-wa-badge.not-verified {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

[data-theme="dark"] .ah-wa-badge.not-verified {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.35);
    color: #f87171;
}

.ah-wa-badge.verified {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

[data-theme="dark"] .ah-wa-badge.verified {
    background: rgba(5, 150, 105, 0.2);
    border-color: rgba(5, 150, 105, 0.4);
    color: #6ee7b7;
}

.ah-wa-badge.otp-pending {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* ── Phone Input Group ── */
.ah-profile-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

[data-theme="dark"] .ah-profile-label {
    color: #f8fafc;
}

.ah-phone-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.ah-phone-prefix-select {
    width: 190px;
    height: 46px;
    padding: 0 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
}

[data-theme="dark"] .ah-phone-prefix-select {
    background: #0b1120;
    border-color: #334155;
    color: #f8fafc;
}

.ah-phone-number-field {
    flex: 1;
    height: 46px;
    padding: 0 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.5px;
    outline: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-phone-number-field {
    background: #0b1120;
    border-color: #334155;
    color: #f8fafc;
}

.ah-phone-number-field:focus,
.ah-phone-prefix-select:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.ah-wa-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .ah-wa-features-grid {
        grid-template-columns: 1fr;
    }
    .ah-phone-input-group {
        flex-direction: column;
    }
    .ah-phone-prefix-select {
        width: 100%;
    }
}

.ah-wa-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: rgba(0, 0, 0, 0.02);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .ah-wa-feat-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

/* ── Primary WhatsApp Button ── */
.ah-btn-wa-primary {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: 1px solid #128C7E;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    font-family: inherit;
}

.ah-btn-wa-primary:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* ── OTP Verification Box ── */
.ah-wa-otp-instructions {
    font-size: 13.5px;
    color: #334155;
    margin: 0 0 16px;
    line-height: 1.5;
}

[data-theme="dark"] .ah-wa-otp-instructions {
    color: #cbd5e1;
}

.ah-wa-demo-banner {
    background: #f0fdf4;
    border: 1px dashed #16a34a;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    color: #15803d;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ah-otp-input-wrap {
    text-align: center;
    margin-bottom: 14px;
}

.ah-otp-field {
    width: 220px;
    height: 52px;
    font-size: 26px;
    font-weight: 900;
    font-family: monospace;
    letter-spacing: 8px;
    text-align: center;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ah-otp-field {
    background: #0b1120;
    border-color: #334155;
    color: #f8fafc;
}

.ah-otp-field:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.25);
}

.ah-otp-resend-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ah-wa-resend-btn {
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ah-wa-resend-btn:hover {
    text-decoration: underline;
}

.ah-wa-link-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ah-wa-link-btn:hover {
    color: #0f172a;
}

[data-theme="dark"] .ah-wa-link-btn:hover {
    color: #f8fafc;
}

/* ── State C: Verified Card ── */
.ah-wa-verified-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

[data-theme="dark"] .ah-wa-verified-card {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.35);
}

.ah-wa-verified-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ah-wa-verified-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.ah-wa-verified-phone {
    font-size: 16px;
    font-family: monospace;
    font-weight: 800;
    color: #166534;
}

[data-theme="dark"] .ah-wa-verified-phone {
    color: #86efac;
}

.ah-wa-verified-meta {
    font-size: 12px;
    color: #15803d;
    display: block;
    margin-top: 2px;
}

[data-theme="dark"] .ah-wa-verified-meta {
    color: #a7f3d0;
}

.ah-wa-verified-actions {
    display: flex;
    gap: 8px;
}

.ah-wa-btn-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

[data-theme="dark"] .ah-wa-btn-secondary {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

.ah-wa-btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.ah-wa-btn-danger {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.ah-wa-btn-danger:hover {
    background: #fecaca;
}

/* ── Notification Toggles Card ── */
.ah-wa-prefs-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
}

[data-theme="dark"] .ah-wa-prefs-card {
    background: #020617;
    border-color: #1e293b;
}

.ah-wa-prefs-title {
    margin: 0 0 4px;
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .ah-wa-prefs-title {
    color: #f8fafc;
}

.ah-wa-prefs-sub {
    margin: 0 0 16px;
    font-size: 12px;
    color: #64748b;
}

.ah-wa-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ah-wa-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
}

[data-theme="dark"] .ah-wa-toggle-item {
    background: #0f172a;
    border-color: #1e293b;
}

.ah-toggle-info strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 2px;
}

[data-theme="dark"] .ah-toggle-info strong {
    color: #f8fafc;
}

.ah-toggle-info span {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    display: block;
}

[data-theme="dark"] .ah-toggle-info span {
    color: #94a3b8;
}

/* ── Modern Switch Toggle ── */
.ah-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.ah-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ah-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.2s;
    border-radius: 24px;
}

.ah-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ah-switch input:checked + .ah-slider {
    background-color: #25D366;
}

.ah-switch input:checked + .ah-slider:before {
    transform: translateX(20px);
}

.ah-btn-wa-save {
    background: #25D366;
    border: 1px solid #16a34a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ah-btn-wa-save:hover {
    background: #16a34a;
}

/* ── Tab 2: Profile Form & Stats ── */
.ah-profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

@media (max-width: 480px) {
    .ah-profile-stats-grid {
        grid-template-columns: 1fr;
    }
}

.ah-pstat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.ah-pstat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.ah-pstat-card.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(5, 150, 105, 0.09) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .ah-pstat-card {
    background: #020617;
    border-color: #1e293b;
}

[data-theme="dark"] .ah-pstat-card:hover {
    border-color: #334155;
}

[data-theme="dark"] .ah-pstat-card.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(16, 185, 129, 0.35);
}

.pstat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 6px;
}

.pstat-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .pstat-label {
    color: #94a3b8;
}

.pstat-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
    letter-spacing: 0.3px;
}

[data-theme="dark"] .pstat-pill {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.pstat-sub {
    font-size: 10.5px;
    font-weight: 500;
    color: #64748b;
}

[data-theme="dark"] .pstat-sub {
    color: #94a3b8;
}

.pstat-val {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}

[data-theme="dark"] .pstat-val {
    color: #f8fafc;
}

.pstat-val.user-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    color: #2563eb;
    letter-spacing: -0.2px;
}

[data-theme="dark"] .pstat-val.user-code {
    color: #60a5fa;
}

.pstat-val.highlight {
    color: #10b981;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] .pstat-val.highlight {
    color: #34d399;
}

.pstat-link-btn {
    background: #10b981;
    color: #ffffff;
    border: none;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pstat-link-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* ── Form Rows, Prefixes & Readonly Styles ── */
.ah-form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 600px) {
    .ah-form-row.two-cols {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.ah-input-prefix-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.ah-input-prefix {
    position: absolute;
    left: 14px;
    font-size: 13.5px;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ah-input-prefix-wrap .ah-profile-input {
    padding-left: 38px;
}

.ah-profile-input.is-readonly {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
    cursor: not-allowed;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    user-select: all;
}

[data-theme="dark"] .ah-profile-input.is-readonly {
    background: #0b1120;
    border-color: #1e293b;
    color: #94a3b8;
}

.ah-profile-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ah-form-group {
    display: flex;
    flex-direction: column;
}

.ah-profile-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

[data-theme="dark"] .ah-profile-input {
    background: #020617;
    border-color: #334155;
    color: #f8fafc;
}

.ah-profile-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ah-password-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ah-toggle-pass-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    padding: 6px;
}

.ah-toggle-pass-btn:hover {
    color: #475569;
}

.ah-btn-profile-primary {
    background: #2563eb;
    border: 1px solid #1d4ed8;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ah-btn-profile-primary:hover {
    background: #1d4ed8;
}

.ah-security-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 12px;
    margin-bottom: 20px;
}

[data-theme="dark"] .ah-security-tip-card {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.ah-security-tip-card strong {
    font-size: 13.5px;
    color: #1e40af;
    display: block;
    margin-bottom: 2px;
}

[data-theme="dark"] .ah-security-tip-card strong {
    color: #93c5fd;
}

.ah-security-tip-card p {
    font-size: 12px;
    color: #3b82f6;
    margin: 0;
    line-height: 1.45;
}

[data-theme="dark"] .ah-security-tip-card p {
    color: #bfdbfe;
}

.ah-profile-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 14px;
}

.ah-profile-alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.ah-profile-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ── Profile Footer ── */
.ah-profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 18px 18px;
    flex-shrink: 0;
}

[data-theme="dark"] .ah-profile-footer {
    background: #020617;
    border-top-color: #1e293b;
}

.ah-security-badge {
    font-size: 12px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ah-btn-profile-logout {
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.ah-btn-profile-logout:hover {
    background: #fee2e2;
    color: #dc2626;
}


/* ==========================================================================
   Product Views Pill & Store Card Stats
   ========================================================================== */
.ah-prod-views-pill {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
[data-theme="dark"] .ah-prod-views-pill {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.3);
}
.ah-s-stat-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 2px 7px;
    border-radius: 6px;
}
[data-theme="dark"] .ah-s-stat-views {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
}
