/* ============================================================
   TRIAL NUDGE — Conversion popup & multi-step modal
   ============================================================ */

/* ── Bottom sticky banner (first nudge) ─────────────────────── */
.trial-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #1565c0 100%);
    color: #fff;
    padding: 0.9rem 1.5rem;
    /* Safe area for notched phones */
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 6000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    transform: translateY(110%);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trial-banner.visible {
    transform: translateY(0);
}

.trial-banner-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.trial-banner-text strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.trial-banner-text span {
    opacity: 0.88;
    font-size: 0.85rem;
}

.trial-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.trial-banner-cta {
    background: #fff;
    color: #1b5e20;
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
    animation: pulseCta 2.5s ease-in-out infinite;
    /* Minimum tap target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trial-banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    animation: none;
}

@keyframes pulseCta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

.trial-banner-dismiss {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    /* Bigger tap target on mobile */
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.15s;
    padding: 0;
}

.trial-banner-dismiss:hover {
    color: #fff;
}

/* ── Mobile banner — compact single row ──────────────────────── */
@media (max-width: 600px) {
    .trial-banner {
        padding: 0.75rem 0.85rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        gap: 0.5rem;
        align-items: center;
        flex-wrap: nowrap; /* keep on one row */
    }
    .trial-banner-text {
        flex: 1;
        min-width: 0;
    }
    .trial-banner-text strong {
        font-size: 0.88rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Hide the sub-line on very small screens to save space */
    .trial-banner-text span {
        display: none;
    }
    .trial-banner-cta {
        flex-shrink: 0;
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
        min-height: 40px;
    }
    .trial-banner-dismiss {
        min-width: 40px;
        min-height: 40px;
        font-size: 1.35rem;
    }
}


/* ── Trial modal overlay ─────────────────────────────────────── */
.trial-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 7000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.trial-modal-overlay.open {
    display: flex;
    animation: fadeInOverlay 0.25s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.trial-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    animation: slideUpModal 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}

@keyframes slideUpModal {
    from { transform: translateY(60px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Scrollbar inside modal */
.trial-modal::-webkit-scrollbar { width: 5px; }
.trial-modal::-webkit-scrollbar-track { background: #f5f5f5; }
.trial-modal::-webkit-scrollbar-thumb { background: #4caf50; border-radius: 10px; }

/* Top accent stripe */
.trial-modal-accent {
    height: 7px;
    background: linear-gradient(90deg, #43a047 0%, #66bb6a 50%, #1565c0 100%);
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
}

/* Close button */
.trial-modal-close {
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #bbb;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    /* Tap target */
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, transform 0.15s;
}

.trial-modal-close:hover {
    color: #555;
    transform: rotate(90deg);
}

/* Inner padding wrapper */
.trial-modal-body {
    padding: 1.75rem 2rem 2rem;
}

/* ── Mobile: bottom sheet ────────────────────────────────────── */
@media (max-width: 540px) {
    .trial-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .trial-modal {
        border-radius: 20px 20px 0 0;
        max-width: 100%;
        max-height: 88vh;
        /* Safe area for home-bar phones */
        padding-bottom: env(safe-area-inset-bottom, 0px);
        animation: slideUpSheet 0.38s cubic-bezier(0.34, 1.2, 0.64, 1);
    }
    .trial-modal-accent {
        border-radius: 20px 20px 0 0;
    }
    /* Drag handle visual hint */
    .trial-modal-accent::after {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: rgba(255,255,255,0.5);
        border-radius: 2px;
        margin: 6px auto 0;
    }
    .trial-modal-body {
        padding: 1.25rem 1.1rem 1.5rem;
    }
    @keyframes slideUpSheet {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
}


/* ── Step progress dots ──────────────────────────────────────── */
.trial-step-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.trial-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: background 0.25s, transform 0.25s;
}

.trial-step-dot.active {
    background: #4caf50;
    transform: scale(1.35);
}

.trial-step-dot.done {
    background: #a5d6a7;
}


/* ── Step headings & sub-headings ────────────────────────────── */
.trial-step-icon {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.trial-step-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.trial-step-sub {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}


/* ── Step 1: Category cards ──────────────────────────────────── */
.trial-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.trial-category-card {
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    padding: 1.1rem 0.85rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.trial-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cat-color, #4caf50);
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 12px;
}

.trial-category-card:hover::before,
.trial-category-card:focus-visible::before {
    opacity: 0.06;
}

.trial-category-card:hover,
.trial-category-card:focus-visible {
    border-color: var(--cat-color, #4caf50);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    outline: none;
}

.trial-cat-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 0.45rem;
    line-height: 1;
    position: relative;
}

.trial-cat-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 0.25rem;
    position: relative;
}

.trial-cat-desc {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.4;
    display: block;
    position: relative;
}

/* Mobile: 1 column if only a couple categories */
@media (max-width: 380px) {
    .trial-category-grid {
        grid-template-columns: 1fr;
    }
}


/* ── Step 2: Package detail card ─────────────────────────────── */
.trial-package-card {
    border: 2px solid #e8f5e9;
    border-radius: 16px;
    padding: 1.5rem;
    background: #f9fbe7;
    margin-bottom: 1.25rem;
    position: relative;
}

.trial-pkg-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #43a047, #1565c0);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.trial-pkg-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0.5rem 0 0.25rem;
}

.trial-pkg-desc {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin: 0 0 1rem;
    line-height: 1.45;
}

.trial-pkg-price-block {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.trial-pkg-price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2e7d32;
    line-height: 1;
}

.trial-pkg-price-label {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-top: 0.2rem;
}

.trial-pkg-includes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trial-pkg-includes li {
    padding: 0.3rem 0;
    font-size: 0.875rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trial-pkg-includes li::before {
    content: '✓';
    color: #43a047;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.trial-pkg-courier-note {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: #e67e22;
    text-align: center;
}

/* Urgency nudge line */
.trial-urgency {
    text-align: center;
    font-size: 0.82rem;
    color: #c62828;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.45rem 1rem;
    background: #fff3e0;
    border-radius: 8px;
    border: 1px solid #ffcc80;
}

/* CTA button */
.trial-book-btn {
    width: 100%;
    padding: 0.95rem;
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(67, 160, 71, 0.4);
    transition: transform 0.15s, box-shadow 0.15s;
}

.trial-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(67, 160, 71, 0.5);
}

.trial-book-btn:active {
    transform: translateY(0);
}

/* Back link */
.trial-back-link {
    display: block;
    text-align: center;
    margin-top: 0.85rem;
    background: none;
    border: none;
    color: #888;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.trial-back-link:hover {
    color: #444;
}

/* Trust pills row */
.trial-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 1rem;
}

.trial-trust-pill {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    white-space: nowrap;
}

/* No packages found state */
.trial-no-pkg {
    text-align: center;
    color: #aaa;
    padding: 2rem 0;
    font-size: 0.9rem;
}


/* ============================================================
   TRIAL PACKAGES MODAL (footer link flow)
   ============================================================ */

.trial-pkgs-modal .modal-content,
.trial-pkgs-modal-content {
    max-width: 680px !important;
    padding: 2.5rem 2rem 2rem !important;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px !important;
    position: relative;
}

.trial-pkgs-modal-content::-webkit-scrollbar { width: 5px; }
.trial-pkgs-modal-content::-webkit-scrollbar-track { background: #f5f5f5; }
.trial-pkgs-modal-content::-webkit-scrollbar-thumb { background: #4caf50; border-radius: 10px; }

/* Header block */
.trial-pkgs-header {
    text-align: center;
    margin-bottom: 2rem;
}

.trial-pkgs-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.trial-pkgs-header h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.trial-pkgs-header p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.55;
    max-width: 460px;
    margin: 0 auto;
}

/* Back button */
.trial-pkgs-back-btn {
    background: none;
    border: none;
    color: #4caf50;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.2rem 0;
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.trial-pkgs-back-btn:hover { color: #2e7d32; }

/* ── Step A: Category grid ───────────────────────────────── */
.trial-pkgs-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.trial-pkgs-cat-card {
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 1.5rem 1.25rem 1.25rem;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
    position: relative;
    overflow: hidden;
}

.trial-pkgs-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cat-color, #4caf50);
    opacity: 0;
    transition: opacity 0.2s;
}

.trial-pkgs-cat-card:hover::before { opacity: 0.06; }

.trial-pkgs-cat-card:hover {
    border-color: var(--cat-color, #4caf50);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.tpcc-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
}

.tpcc-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 0.3rem;
    position: relative;
}

.tpcc-tagline {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.85rem;
    position: relative;
}

/* "Starting from ₹XXX" pill */
.tpcc-price-pill {
    display: inline-block;
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    position: relative;
}

.tpcc-cta-hint {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 0.5rem;
    position: relative;
}

/* ── Step B: Trial packages list ─────────────────────────── */
.trial-pkgs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trial-pkg-row {
    border: 2px solid #e8f5e9;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    background: #f9fbe7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.trial-pkg-row:hover {
    border-color: #4caf50;
    box-shadow: 0 4px 16px rgba(76,175,80,0.12);
}

/* "Best Value" badge on a card */
.trial-pkg-row-badge {
    position: absolute;
    top: -10px;
    left: 1.25rem;
    background: linear-gradient(90deg, #43a047, #1565c0);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.22rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.trial-pkg-row-info {
    flex: 1;
    min-width: 0;
}

.trial-pkg-row-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.25rem;
}

.trial-pkg-row-desc {
    font-size: 0.83rem;
    color: #666;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.trial-pkg-row-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.trial-pkg-row-tag {
    font-size: 0.72rem;
    background: #fff;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    border-radius: 10px;
    padding: 0.15rem 0.55rem;
    font-weight: 600;
}

.trial-pkg-row-right {
    text-align: right;
    flex-shrink: 0;
}

.trial-pkg-row-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2e7d32;
    line-height: 1;
    display: block;
}

.trial-pkg-row-duration {
    font-size: 0.78rem;
    color: #888;
    display: block;
    margin-bottom: 0.6rem;
}

.trial-pkg-row-btn {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: #fff;
    border: none;
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 3px 10px rgba(67,160,71,0.3);
}

.trial-pkg-row-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(67,160,71,0.45);
}

/* No trial packages state */
.trial-pkgs-empty {
    text-align: center;
    color: #aaa;
    padding: 2.5rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.trial-pkgs-empty a {
    color: #4caf50;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* ── Trial Packages modal — bottom sheet on mobile ───────────── */
@media (max-width: 560px) {
    .trial-pkgs-modal-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 0 !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        max-height: 90vh;
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        animation: slideUpSheet 0.38s cubic-bezier(0.34, 1.2, 0.64, 1);
    }
    /* Drag handle */
    .trial-pkgs-modal-content::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: #ddd;
        border-radius: 2px;
        margin: 10px auto 4px;
    }
    #trialPkgsStepA,
    #trialPkgsStepB {
        padding: 0 1rem 1.5rem;
    }
    .trial-pkgs-header {
        margin-bottom: 1.25rem;
    }
    .trial-pkgs-header h2 { font-size: 1.2rem; }
    .trial-pkgs-icon { font-size: 2.2rem; }

    .trial-pkgs-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .trial-pkgs-cat-card {
        padding: 1rem 0.75rem 0.85rem;
    }
    .tpcc-icon { font-size: 2.2rem; }
    .tpcc-name { font-size: 0.88rem; }
    .tpcc-tagline { font-size: 0.72rem; }

    /* Package rows: stack vertically */
    .trial-pkg-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .trial-pkg-row-right {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        margin-top: 0.5rem;
    }
    .trial-pkg-row-price { font-size: 1.35rem; }
    .trial-pkg-row-btn {
        padding: 0.5rem 1.1rem;
        font-size: 0.82rem;
        min-height: 40px;
    }
}

/* Very small phones (≤360px) */
@media (max-width: 360px) {
    .trial-pkgs-category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .tpcc-name { font-size: 0.8rem; }
    .tpcc-price-pill { font-size: 0.72rem; padding: 0.2rem 0.55rem; }
    .tpcc-cta-hint { display: none; }
    .trial-category-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   TRIAL PACKAGE FAB BUTTON
   Appears in the right-side FAB stack after banner is dismissed
   ============================================================ */

/* Gradient gold/green — visually distinct from other FABs */
.fab-btn--trial {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #16a34a 100%);
    color: #fff;
    /* Pulsing glow to catch the eye */
    animation: trialFabPulse 2.4s ease-in-out infinite;
}

.fab-btn--trial:hover {
    animation: none;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #22c55e 100%);
}

@keyframes trialFabPulse {
    0%, 100% { box-shadow: -3px 3px 14px rgba(0,0,0,0.22),  0 0 0 0   rgba(245,158,11,0.5); }
    50%       { box-shadow: -6px 4px 22px rgba(0,0,0,0.28), 0 0 0 7px rgba(245,158,11,0); }
}

/* The leaf emoji icon inside the button */
.fab-trial-icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
    display: block;
}

/* Slide-in animation when the FAB first appears */
#fabTrialPackage {
    animation: none;
}

#fabTrialPackage.fab-trial-entering {
    animation: trialFabSlideIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes trialFabSlideIn {
    from { transform: translateX(80px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================================
   TRIAL FAB — Mobile adjustments
   ============================================================ */
@media (max-width: 768px) {
    /* Match the size reduction of other FAB buttons on mobile */
    .fab-btn--trial {
        height: 40px;
        max-width: 40px;
        padding: 0 10px;
    }
    .fab-btn--trial:hover,
    .fab-btn--trial:active {
        max-width: 180px;
        padding-left: 12px;
    }
    /* Slightly smaller icon on mobile */
    .fab-trial-icon {
        font-size: 1rem;
    }
}
