
/*
Theme Name: AmpVault Custom
Theme URI: https://ampvault.in
Author: AmpVault Technologies
Description: Custom mobile-first WooCommerce theme for AmpVault.
Version: 1.0.0
Text Domain: ampvault-custom
Requires PHP: 8.0
*/

/* AmpVault design tokens */

:root {
    --av-primary: #2563eb;
    --av-primary-dark: #1d4ed8;
    --av-navy: #14213d;
    --av-background: #f8fafc;
    --av-surface: #ffffff;
    --av-accent: #ffb800;
    --av-text: #334155;
    --av-border: #e2e8f0;
    --av-radius: 16px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--av-background);
    color: var(--av-text);
    font-family: system-ui, -apple-system,
        "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--av-primary);
}

button,
input,
select {
    font: inherit;
}


/* AmpVault Header */

.av-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 100;
}

.av-header-inner {
    max-width: 1280px;
    margin: auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.av-brand a {
    color: #14213d;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.av-brand img {
    width: auto;
    max-width: 175px;
    max-height: 64px;
}

.av-desktop-nav ul {
    display: flex;
    gap: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.av-desktop-nav a,
.av-header-actions a {
    color: #14213d;
    text-decoration: none;
    font-weight: 500;
}

.av-header-actions {
    display: flex;
    gap: 20px;
}

.av-skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 1000;
    background: white;
    padding: 10px;
}

.av-skip-link:focus {
    top: 10px;
}

/* Footer */

.av-footer {
    background: #14213d;
    color: #fff;
    padding: 48px 24px;
}

.av-footer-inner {
    max-width: 1280px;
    margin: auto;
}

.av-footer p {
    color: #cbd5e1;
}

/* Hide mobile bar on desktop */

.av-mobile-nav {
    display: none;
}

/* Mobile layout */

@media (max-width: 767px) {

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .av-header-inner {
        padding: 12px 16px;
    }

    .av-brand img {
        max-width: 125px;
    }

    .av-desktop-nav {
        display: none;
    }

    .av-header-actions {
        gap: 12px;
        font-size: 13px;
    }

    .av-mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 900;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: #fff;
        border-top: 1px solid #e2e8f0;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        box-shadow: 0 -4px 16px rgba(0,0,0,.05);
    }

    .av-mobile-nav a {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 3px;
        padding: 4px;
        min-height: 44px;
        color: #475569;
        text-decoration: none;
    }

    .av-mobile-nav span {
        font-size: 23px;
        line-height: 1.2;
    }

    .av-mobile-nav small {
        font-size: 11px;
    }
}
/* AmpVault Header */

.av-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 100;
}


/* ==========================================
   AMPVAULT HOMEPAGE V1
   ========================================== */

.av-home {
    overflow: clip;
}

.av-home-container {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

/* Hero */

.av-home-hero {
    background: linear-gradient(
        125deg, #eff6ff 0%,
        #e0edff 65%, #ffffff 100%
    );
    padding: 80px 0;
}

.av-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.av-eyebrow {
    display: inline-block;
    color: #2563eb;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 16px;
}

.av-hero-content h1 {
    color: #14213d;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.12;
    letter-spacing: -1.7px;
    margin: 0 0 24px;
}

.av-hero-content h1 span {
    color: #2563eb;
}

.av-hero-content p {
    color: #475569;
    font-size: 17px;
    max-width: 520px;
    margin-bottom: 28px;
}

.av-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.av-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease;
}

.av-button-primary {
    color: #fff;
    background: #2563eb;
}

.av-button-primary:hover {
    color: #fff;
    background: #1d4ed8;
}

.av-button-outline {
    color: #1d4ed8;
    border: 1px solid #93b4fa;
    background: #fff;
}

.av-button-outline:hover {
    background: #eff6ff;
}

/* Hero Image */

.av-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.av-hero-visual-inner {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 390px;
    padding: 36px;
    border-radius: 28px;
    background: rgba(255,255,255,.75);
    box-shadow: 0 20px 60px rgba(30,64,175,.08);
}

.av-visual-placeholder {
    color: #64748b;
    font-size: 18px;
    font-weight: 600;
}

/* General Sections */

.av-home-section {
    padding: 76px 0;
}

.av-section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.av-section-heading h2 {
    color: #14213d;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    margin: 0 0 14px;
}

.av-section-heading p {
    margin: 0;
    color: #64748b;
}

/* Product Finder */

.av-finder-section {
    background: #ffffff;
}

.av-finder-panel {
    max-width: 850px;
    margin: auto;
    padding: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #f8fafc;
}

.av-finder-panel h3 {
    color: #14213d;
    font-size: 20px;
    text-align: center;
    margin: 0 0 24px;
}

.av-finder-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.av-finder-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 23px 12px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #14213d;
    cursor: pointer;
}

.av-finder-option strong {
    font-size: 22px;
}

.av-finder-option small {
    color: #64748b;
    text-align: center;
}

.av-finder-option:hover,
.av-finder-option:focus-visible {
    border-color: #2563eb;
    outline-offset: 3px;
}

.av-finder-option[aria-pressed="true"] {
    border-color: #2563eb;
    background: #eff6ff;
}

.av-finder-note {
    margin: 22px 0 0;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.av-finder-result {
    margin: 18px 0 0;
    color: #1d4ed8;
    font-weight: 600;
    text-align: center;
}

/* Product Grid */

.av-products-section {
    background: #f8fafc;
}

.av-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.av-product-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(15,23,42,.04);
}

.av-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    aspect-ratio: 1 / 1;
    background: #fff;
}

.av-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.av-product-details {
    padding: 18px;
}

.av-product-details h3 {
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 12px;
}

.av-product-details h3 a {
    color: #14213d;
    text-decoration: none;
}

.av-product-price {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #14213d;
}

.av-product-price del {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
}

.av-stock-label {
    display: block;
    margin-bottom: 12px;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
}

.av-product-details .av-button {
    width: 100%;
}

.av-section-action {
    text-align: center;
    margin-top: 32px;
}

/* Informational Cards */

.av-info-section {
    background: #ffffff;
}

.av-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.av-info-card {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.av-info-card h3 {
    color: #14213d;
    margin-top: 0;
}

/* Tablet */

@media (max-width: 900px) {

    .av-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .av-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 767px) {

    .av-home-container {
        width: min(100% - 32px, 520px);
    }

    .av-home-hero {
        padding: 38px 0;
    }

    .av-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .av-hero-content h1 {
        font-size: clamp(32px, 9vw, 44px);
        letter-spacing: -1px;
    }

    .av-hero-content p {
        font-size: 15px;
    }

    .av-hero-buttons {
        gap: 10px;
    }

    .av-hero-buttons .av-button {
        flex: 1;
        padding-inline: 12px;
    }

    .av-hero-visual-inner {
        min-height: 240px;
        padding: 20px;
    }

    .av-home-section {
        padding: 46px 0;
    }

    .av-section-heading {
        margin-bottom: 24px;
    }

    .av-section-heading h2 {
        font-size: 27px;
    }

    .av-finder-panel {
        padding: 22px 14px;
        border-radius: 16px;
    }

    .av-finder-panel h3 {
        font-size: 17px;
    }

    .av-finder-options {
        gap: 8px;
    }

    .av-finder-option {
        min-height: 100px;
        padding: 14px 5px;
        gap: 5px;
    }

    .av-finder-option strong {
        font-size: 17px;
    }

    .av-finder-option small {
        font-size: 10px;
    }

    .av-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .av-product-image {
        padding: 12px;
    }

    .av-product-details {
        padding: 12px;
    }

    .av-product-details h3 {
        font-size: 13px;
    }

    .av-product-price {
        font-size: 15px;
    }

    .av-product-details .av-button {
        font-size: 12px;
        padding: 10px 6px;
    }

    .av-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .av-info-card {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-button {
        transition: none;
    }
}


/* ============================================
   AMPVAULT HERO LAYOUT — CLEAN V5
   Fixed and responsive Smart Slider container
   ============================================ */

/* HERO SECTION */

.av-home-hero {
    padding: 44px 0;
    overflow: hidden;
}

/* TWO-COLUMN DESKTOP LAYOUT */

.av-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);
    align-items: center;
    gap: 36px;
}

/* Prevent children expanding the grid */

.av-hero-grid > * {
    min-width: 0;
    max-width: 100%;
}

/* LEFT CONTENT */

.av-hero-content {
    min-width: 0;
    align-self: center;
}

.av-hero-content h1 {
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.12;
    margin-bottom: 20px;
}

.av-hero-content p {
    max-width: 500px;
    margin-bottom: 26px;
}

/* RIGHT IMAGE / SLIDER COLUMN */

.av-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* FIXED HERO FRAME */

.av-hero-visual-inner {
    box-sizing: border-box;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    height: 420px;
    min-height: 0;
    max-height: 420px;

    padding: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #ffffff;
    border-radius: 24px;

    box-shadow:
        0 15px 40px rgba(30, 64, 175, 0.08);
}

/* DIRECT CHILDREN */

.av-hero-visual-inner > * {
    box-sizing: border-box;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    flex: 0 1 100%;
}

/* SMART SLIDER RESPONSIVE CONTAINMENT */

.av-hero-visual-inner .n2-section-smartslider {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

.av-hero-visual-inner .n2-ss-align {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.av-hero-visual-inner .n2-ss-slider-wrapper-outside,
.av-hero-visual-inner .n2-ss-slider-wrapper-inside {
    width: 100%;
    max-width: 100% !important;
    min-width: 0;
}

/* ORIGINAL IMAGE FALLBACK */

.av-hero-visual-inner .av-hero-product-image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;
}

/* TABLET */

@media (min-width: 768px) and (max-width: 1024px) {

    .av-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
        gap: 24px;
    }

    .av-hero-visual-inner {
        height: 340px;
        max-height: 340px;
        padding: 12px;
    }

    .av-hero-content h1 {
        font-size: clamp(30px, 4vw, 44px);
    }
}

/* MOBILE */

@media (max-width: 767px) {

    .av-home-hero {
        padding: 28px 0 36px;
    }

    .av-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .av-hero-content {
        width: 100%;
    }

    .av-hero-content h1 {
        font-size: clamp(30px, 8.5vw, 40px);
        line-height: 1.13;
        margin-bottom: 16px;
    }

    .av-hero-content p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .av-hero-visual {
        width: 100%;
        max-width: 100%;
    }

    .av-hero-visual-inner {
        width: 100%;

        height: 280px;
        min-height: 0;
        max-height: 280px;

        padding: 10px;
        border-radius: 18px;
    }

    .av-hero-visual-inner .av-hero-product-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* SMALL MOBILE */

@media (max-width: 375px) {

    .av-hero-visual-inner {
        height: 240px;
        max-height: 240px;
    }

    .av-hero-buttons {
        gap: 8px;
    }
}



/* ============================================
   AMPVAULT PRODUCT GRID V2
   Premium responsive shopping cards
   ============================================ */

.av-products-section {
    background: #f8fafc;
    padding: 72px 0;
}

.av-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Product card */

.av-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.045);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.av-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
}

/* Product image */

.av-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 22px;
    background: #ffffff;
    overflow: hidden;
}

.av-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/* Product information */

.av-product-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 20px;
}

.av-product-details h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    min-height: 4.3em;
    margin: 0;
    color: #14213d;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.av-product-details h3 a {
    color: inherit;
    text-decoration: none;
}

.av-product-details h3 a:hover {
    color: #2563eb;
}

/* Price */

.av-product-price {
    color: #14213d;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
}

.av-product-price del {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
}

.av-product-price ins {
    text-decoration: none;
}

/* Availability */

.av-stock-label {
    display: inline-flex;
    align-self: flex-start;
    color: #b45309;
    background: #fffbeb;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin: 0;
}

/* Product button */

.av-product-details .av-button {
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
}

.av-product-details .av-button:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {

    .av-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile shopping app layout */

@media (max-width: 767px) {

    .av-products-section {
        padding: 48px 0;
    }

    .av-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .av-product-card {
        border-radius: 14px;
    }

    .av-product-card:hover {
        transform: none;
    }

    .av-product-image {
        padding: 10px;
    }

    .av-product-details {
        padding: 12px;
        gap: 9px;
    }

    .av-product-details h3 {
        font-size: 13px;
        line-height: 1.4;
        min-height: 3.9em;
    }

    .av-product-price {
        font-size: 15px;
    }

    .av-product-price del {
        font-size: 11px;
    }

    .av-product-details .av-button {
        min-height: 44px;
        font-size: 12px;
        padding: 10px 6px;
    }

    .av-stock-label {
        font-size: 10px;
        padding: 4px 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-product-card {
        transition: none;
    }
}

/* AmpVault Product Card Badges */

.av-product-card {
    position: relative;
}

.av-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 7px;
    color: #ffffff;
    background: #15803d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
}

@media (max-width: 767px) {
    .av-sale-badge {
        top: 8px;
        left: 8px;
        padding: 5px 7px;
        font-size: 10px;
    }
}

/* ============================================
   AMPVAULT PRODUCT CARDS — V3
   Badge, image sizing and mobile improvements
   ============================================ */

.av-products-section .av-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Sale badge */

.av-products-section .av-sale-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 12px;
    border-radius: 8px;

    background: #15803d;
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

/* Consistent product image dimensions */

.av-products-section .av-product-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 290px;
    aspect-ratio: auto;

    padding: 22px;
    overflow: hidden;
    background: #ffffff;
}

.av-products-section .av-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Product details */

.av-products-section .av-product-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 20px;
}

/* Short product title */

.av-products-section .av-product-details h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    min-height: 0;
    margin: 0;
}

/* Price */

.av-products-section .av-product-price {
    font-size: 18px;
    font-weight: 800;
    color: #14213d;
    margin: 0;
}

/* Align button to card bottom */

.av-products-section .av-product-details .av-button {
    margin-top: auto;
    min-height: 46px;
}

/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {
    .av-products-section .av-product-image {
        height: 250px;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .av-products-section .av-product-image {
        height: 165px;
        padding: 12px;
    }

    .av-products-section .av-sale-badge {
        top: 8px;
        left: 8px;
        padding: 5px 8px;
        font-size: 10px;
    }

    .av-products-section .av-product-details {
        padding: 12px;
        gap: 9px;
    }

    .av-products-section .av-product-details h3 {
        font-size: 13px;
        line-height: 1.4;
    }

    .av-products-section .av-product-price {
        font-size: 15px;
    }

    .av-products-section .av-product-details .av-button {
        min-height: 44px;
        font-size: 12px;
    }
}


/* ======================================
   AMPVAULT SINGLE PRODUCT PAGE V1
   ====================================== */

/* Breadcrumb */

body.single-product .woocommerce-breadcrumb {
    max-width: 1240px;
    margin: 18px auto 24px !important;
    padding: 0 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    overflow-wrap: anywhere;
}

/* Main product container */

body.single-product div.product.type-product {
    position: relative;
    display: flow-root;
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Desktop product gallery */

body.single-product div.product.type-product > div.images {
    box-sizing: border-box;
    float: left !important;
    width: 47% !important;
    margin: 0 0 32px !important;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
}

/* Desktop product information */

body.single-product div.product.type-product > div.summary {
    box-sizing: border-box;
    float: right !important;
    width: 49% !important;
    margin: 0 0 32px !important;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
}

/* Constrain main gallery images */

body.single-product div.product.type-product
div.images .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: 420px !important;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
}

body.single-product div.product.type-product
div.images .flex-viewport {
    max-height: 440px;
}

/* Gallery thumbnails */

body.single-product div.product.type-product
div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

body.single-product div.product.type-product
div.images .flex-control-thumbs li {
    float: none !important;
    width: 65px !important;
}

body.single-product div.product.type-product
div.images .flex-control-thumbs img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Product heading */

body.single-product div.product.type-product
.summary .product_title {
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.25;
    color: #14213d;
    margin-bottom: 18px;
}

/* Product price */

body.single-product div.product.type-product
.summary .price {
    color: #14213d;
    font-size: 23px;
    font-weight: 800;
}

/* Product description */

body.single-product div.product.type-product
.summary .woocommerce-product-details__short-description {
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
}

/* Cable length dropdown */

body.single-product div.product.type-product
.summary table.variations {
    width: 100%;
    margin-top: 24px;
}

body.single-product div.product.type-product
.summary table.variations tr {
    display: block;
    margin-bottom: 12px;
}

body.single-product div.product.type-product
.summary table.variations th,
body.single-product div.product.type-product
.summary table.variations td {
    display: block;
    width: 100%;
    padding: 0 0 8px;
    text-align: left;
}

body.single-product div.product.type-product
.summary table.variations select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #14213d;
}

/* Add to cart */

body.single-product div.product.type-product
.summary button.single_add_to_cart_button {
    min-height: 48px;
    padding: 12px 24px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 10px;
    font-weight: 700;
}

body.single-product div.product.type-product
.summary button.single_add_to_cart_button:not(:disabled):hover {
    background: #1d4ed8;
}

/* Sale badge */

body.single-product div.product.type-product .onsale {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
    background: #15803d !important;
    font-size: 12px;
    line-height: 1.3 !important;
    font-weight: 800;
    z-index: 10;
}

/* Product metadata */

body.single-product div.product.type-product .product_meta {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Keep lower WooCommerce sections below the columns */

body.single-product div.product.type-product > .woocommerce-tabs,
body.single-product div.product.type-product > .related,
body.single-product div.product.type-product > .upsells {
    clear: both;
}

/* Mobile */

@media (max-width: 767px) {

    body.single-product .woocommerce-breadcrumb {
        margin: 12px auto 16px !important;
        padding: 0 16px;
        font-size: 12px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    body.single-product div.product.type-product {
        padding: 0 16px 90px;
    }

    body.single-product div.product.type-product > div.images,
    body.single-product div.product.type-product > div.summary {
        float: none !important;
        width: 100% !important;
        margin: 0 0 18px !important;
    }

    body.single-product div.product.type-product > div.images {
        padding: 10px;
        border-radius: 16px;
    }

    body.single-product div.product.type-product
    div.images .woocommerce-product-gallery__image img {
        height: 300px !important;
        max-height: 300px;
    }

    body.single-product div.product.type-product
    div.images .flex-viewport {
        max-height: 310px;
    }

    body.single-product div.product.type-product > div.summary {
        padding: 18px;
        border-radius: 16px;
    }

    body.single-product div.product.type-product
    .summary .product_title {
        font-size: 24px;
    }
}


/* ==========================================
   AMPVAULT SUCCESS TOAST
   ========================================== */

.woocommerce-notices-wrapper .woocommerce-message {
    position: fixed !important;
    top: 24px;
    right: 24px;
    left: auto;
    bottom: auto;
    z-index: 99999;

    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    width: max-content;
    max-width: min(420px, calc(100vw - 32px));
    min-height: 64px;

    margin: 0 !important;
    padding: 16px 20px !important;

    border: none !important;
    border-radius: 14px;

    background: #15803d !important;
    color: #ffffff !important;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;

    box-shadow: 0 12px 35px rgba(0,0,0,.18);

    animation: av-toast-lifecycle 6s ease forwards;
}

/* Remove WooCommerce's default success icon */

.woocommerce-notices-wrapper
.woocommerce-message::before {
    display: none !important;
}

/* Toast text */

.av-toast-copy {
    color: #ffffff;
    flex: 1;
}

/* View cart action */

.av-toast-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.av-toast-link:hover,
.av-toast-link:focus-visible {
    background: rgba(255,255,255,.25);
    color: #ffffff !important;
}

.woocommerce-notices-wrapper
.woocommerce-message:hover,
.woocommerce-notices-wrapper
.woocommerce-message:focus-within {
    animation-play-state: paused;
}

/* Slide in, display, then disappear */

@keyframes av-toast-lifecycle {
    0% {
        opacity: 0;
        transform: translateY(-15px);
        visibility: visible;
    }

    10%, 85% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .woocommerce-notices-wrapper .woocommerce-message {
        top: 12px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        padding: 14px 16px !important;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce-notices-wrapper .woocommerce-message {
        animation: none;
    }
}

/* ==========================================
   AMPVAULT PRODUCT PAGE CLEANUP
   ========================================== */

/* Hide category and tag clutter in buying panel */

body.single-product .product_meta .posted_in,
body.single-product .product_meta .tagged_as {
    display: none;
}

/* Clean metadata spacing */

body.single-product .product_meta {
    font-size: 12px;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    margin-top: 24px;
    padding-top: 16px;
}

/* Product tabs */

body.single-product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 !important;
    margin-bottom: 24px !important;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 18px !important;
    color: #475569 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
    background: #eaf2ff !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #1d4ed8 !important;
}

/* Product description panel */

body.single-product .woocommerce-tabs .panel {
    padding: 20px 0;
    color: #475569;
    line-height: 1.7;
}

/* Mobile */

@media (max-width: 767px) {

    body.single-product .woocommerce-tabs ul.tabs {
        gap: 6px;
    }

    body.single-product .woocommerce-tabs ul.tabs li a {
        padding: 10px 12px !important;
        font-size: 12px;
    }
}

/* ==========================================
   AMPVAULT FULL-WIDTH SUCCESS TOAST V2
   ========================================== */

.woocommerce-notices-wrapper .woocommerce-message {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: none !important;

    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 20px;

    padding: 16px 24px !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 0 !important;

    background: #15803d !important;
    color: #ffffff !important;

    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    z-index: 99999;
}

/* Keep below WordPress admin toolbar */

body.admin-bar
.woocommerce-notices-wrapper .woocommerce-message {
    top: 32px !important;
}

/* Product name and success message */

.av-toast-copy {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    gap: 3px;
    color: #ffffff;
    min-width: 0;
}

.av-toast-copy strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.av-toast-copy small {
    color: #dcfce7;
    font-size: 13px;
    font-weight: 500;
}

/* View Cart */

.av-toast-link {
    padding: 9px 16px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 9px;
    color: #ffffff !important;
    background: rgba(255,255,255,0.15);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

/* Mobile layout */

@media (max-width: 767px) {

    .woocommerce-notices-wrapper
    .woocommerce-message {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;

        justify-content: space-between;
        gap: 10px;
        padding: 14px 16px !important;
    }

    .av-toast-copy strong {
        font-size: 14px;
    }

    .av-toast-copy small {
        font-size: 12px;
    }

    .av-toast-link {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Mobile logged-in admin toolbar */

@media (max-width: 782px) {

    body.admin-bar
    .woocommerce-notices-wrapper
    .woocommerce-message {
        top: 46px !important;
    }
}

/* ==========================================
   AMPVAULT MOBILE PURCHASE BAR V1
   ========================================== */

.av-mobile-buy-bar {
    display: none;
}

.av-mobile-buy-bar[hidden] {
    display: none !important;
}

@media (max-width: 767px) {

    body.single-product {
        padding-bottom: calc(
            160px + env(safe-area-inset-bottom)
        );
    }

    .av-mobile-buy-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(
            72px + env(safe-area-inset-bottom)
        );

        z-index: 890;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;

        padding: 12px 16px;

        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -5px 20px rgba(15,23,42,.08);
    }

    .av-mobile-buy-info {
        display: flex;
        flex-direction: column;
        gap: 3px;
        flex: 1;
        min-width: 0;
    }

    .av-mobile-buy-info strong {
        color: #14213d;
        font-size: 13px;
        font-weight: 750;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .av-mobile-buy-info small {
        color: #64748b;
        font-size: 11px;
    }

    .av-mobile-buy-button {
        flex-shrink: 0;
        min-height: 46px;
        padding: 10px 15px;

        border: none;
        border-radius: 10px;

        background: #2563eb;
        color: #ffffff;

        font-size: 13px;
        font-weight: 750;
        cursor: pointer;
    }

    .av-mobile-buy-button:focus-visible {
        outline: 3px solid #93c5fd;
        outline-offset: 2px;
    }
}

/* ==========================================
   AMPVAULT DISMISSIBLE TOAST V3
   ========================================== */

/* JavaScript handles visibility and removal */

.woocommerce-message.av-dismissible-toast {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    padding-right: 65px !important;
}

/* Close button */

.av-dismissible-toast .av-toast-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin: 0;
    padding: 0;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;

    background: rgba(255,255,255,.12);
    color: #ffffff;

    font-family: inherit;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
    transition: background-color .15s ease;
}

.av-dismissible-toast .av-toast-close:hover {
    background: rgba(255,255,255,.25);
}

.av-dismissible-toast .av-toast-close:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Mobile close button */

@media (max-width: 767px) {

    .woocommerce-message.av-dismissible-toast {
        padding-right: 52px !important;
    }

    .av-dismissible-toast .av-toast-close {
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 22px;
    }
}

/* ==========================================
   AMPVAULT CART PAGE V1
   Classic WooCommerce + Cart Block
   ========================================== */

body.woocommerce-cart {
    background: #f8fafc;
}

/* Main cart content */

body.woocommerce-cart .woocommerce,
body.woocommerce-cart .wp-block-woocommerce-cart {
    width: min(100% - 32px, 1200px);
    margin-inline: auto;
}

/* CLASSIC CART */

/* Shopping cart table */

body.woocommerce-cart
.woocommerce-cart-form table.shop_table {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

body.woocommerce-cart
.woocommerce-cart-form table.shop_table th {
    padding: 18px;
    color: #14213d;
    font-size: 13px;
    font-weight: 700;
    background: #f1f5f9;
}

body.woocommerce-cart
.woocommerce-cart-form table.shop_table td {
    padding: 18px;
    border-top: 1px solid #e2e8f0;
    vertical-align: middle;
}

/* Product images */

body.woocommerce-cart
.woocommerce-cart-form .product-thumbnail img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 10px;
}

/* Product name */

body.woocommerce-cart
.woocommerce-cart-form .product-name a {
    color: #14213d;
    font-weight: 700;
    text-decoration: none;
}

/* Product variations */

body.woocommerce-cart .variation {
    color: #64748b;
    font-size: 13px;
}

body.woocommerce-cart .variation dt,
body.woocommerce-cart .variation dd {
    margin-bottom: 5px;
}

/* Quantity */

body.woocommerce-cart
.woocommerce-cart-form input.qty {
    width: 65px;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    text-align: center;
}

/* Cart totals */

body.woocommerce-cart .cart_totals {
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
}

body.woocommerce-cart .cart_totals h2 {
    color: #14213d;
    font-size: 24px;
    margin-bottom: 20px;
}

body.woocommerce-cart .cart_totals table {
    width: 100%;
}

/* Checkout button */

body.woocommerce-cart
.wc-proceed-to-checkout .checkout-button {
    display: block;
    min-height: 50px;
    padding: 14px 18px;
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

body.woocommerce-cart
.wc-proceed-to-checkout .checkout-button:hover {
    background: #1d4ed8 !important;
}

/* CART BLOCK */

/* Block cards and summary */

body.woocommerce-cart
.wc-block-cart-items,
body.woocommerce-cart
.wc-block-cart__sidebar {
    border-radius: 16px;
}

body.woocommerce-cart
.wc-block-cart__sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px;
}

/* Block checkout button */

body.woocommerce-cart
.wc-block-cart__submit-button {
    min-height: 50px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
}

/* MOBILE */

@media (max-width: 767px) {

    body.woocommerce-cart
    .woocommerce-cart-form table.shop_table {
        border-radius: 14px;
    }

    body.woocommerce-cart
    .woocommerce-cart-form table.shop_table td {
        padding: 12px;
    }

    body.woocommerce-cart
    .woocommerce-cart-form .product-thumbnail img {
        width: 70px;
        height: 70px;
    }

    body.woocommerce-cart .cart_totals {
        padding: 18px;
        border-radius: 14px;
    }

    body.woocommerce-cart
    .wc-block-cart__sidebar {
        padding: 14px;
    }

    /* Space for existing mobile navigation */

    body.woocommerce-cart {
        padding-bottom: calc(
            90px + env(safe-area-inset-bottom)
        );
    }
}

/* AmpVault Cart — Heading Alignment */

body.woocommerce-cart .entry-header,
body.woocommerce-cart h1.entry-title {
    box-sizing: border-box;
    width: min(100% - 32px, 1200px);
    max-width: 1200px;
    margin: 28px auto 24px;
}

body.woocommerce-cart h1.entry-title {
    color: #14213d;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 767px) {

    body.woocommerce-cart .entry-header,
    body.woocommerce-cart h1.entry-title {
        margin-top: 20px;
        margin-bottom: 18px;
    }
}

/* AmpVault Cart Heading and Variation */

body.woocommerce-cart .av-cart-heading {
    width: min(100% - 32px, 1200px);
    margin: 28px auto 24px;
    color: #14213d;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
}

body.woocommerce-cart .av-cart-item-variant {
    margin-top: 7px;
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 767px) {
    body.woocommerce-cart .av-cart-heading {
        margin-top: 18px;
        margin-bottom: 18px;
    }

    body.woocommerce-cart .av-cart-item-variant {
        font-size: 12px;
    }
}


/* ==========================================
   AMPVAULT CART BADGE V2
   Desktop + Mobile
   ========================================== */

a.av-cart-link {
    position: relative !important;
}

/* Red quantity bubble */

.av-cart-count {
    position: absolute;
    top: -10px;
    right: -13px;
    z-index: 20;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 21px;
    height: 21px;
    box-sizing: border-box;
    padding: 0 5px;

    background: #dc2626;
    color: #ffffff;

    border: 2px solid #ffffff;
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;

    white-space: nowrap;
    pointer-events: none;
}

.av-cart-count[hidden] {
    display: none !important;
}

/* Mobile navigation */

@media (max-width: 767px) {

    .av-mobile-nav .av-cart-count,
    .av-bottom-nav .av-cart-count,
    .av-mobile-bottom-nav .av-cart-count {
        top: 0;
        right: 8%;
        min-width: 19px;
        height: 19px;
        padding: 0 4px;
        font-size: 10px;
    }
}

/* AmpVault Cart — Single Page Heading */

body.woocommerce-cart h1:not(.screen-reader-text) {
    box-sizing: border-box;
    width: min(100% - 32px, 1200px);
    margin: 28px auto 24px;
    color: #14213d;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 767px) {
    body.woocommerce-cart h1:not(.screen-reader-text) {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* ======================================
   AMPVAULT MOBILE CART CARDS V2
   ====================================== */

@media (max-width: 767px) {

    /* Product card */

    body.woocommerce-cart
    .woocommerce-cart-form
    tr.cart_item {
        position: relative;
        background: #ffffff;
    }

    /* Show product thumbnail */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail {
        display: block !important;
        padding: 16px !important;
        text-align: center !important;
        border-top: 0 !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail::before {
        display: none !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-thumbnail img {
        display: block;
        width: 110px;
        height: 110px;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto;
    }

    /* Remove button at top right */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-remove {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 2;
        display: block;
        width: auto !important;
        padding: 6px !important;
        border: 0 !important;
        background: transparent;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-remove::before {
        display: none !important;
    }

    /* Product name */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-name {
        padding: 16px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-name a {
        color: #14213d;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
    }

    /* Selected variation */

    body.woocommerce-cart
    .av-cart-item-variant {
        margin-top: 6px;
        color: #64748b;
        font-size: 12px;
    }

    /* Prices and quantities */

    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-price,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-quantity,
    body.woocommerce-cart
    .woocommerce-cart-form
    td.product-subtotal {
        padding: 14px 16px !important;
    }

    body.woocommerce-cart
    .woocommerce-cart-form
    input.qty {
        width: 70px;
        min-height: 44px;
    }

    /* Cart total card */

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        float: none !important;
        margin: 20px 0 0;
        padding: 18px;
    }

    /* Footer space above app navigation */

    body.woocommerce-cart {
        padding-bottom: calc(
            100px + env(safe-area-inset-bottom)
        );
    }
}

/* ==========================================
   AMPVAULT - HOW SAFEPOINT WORKS
   ========================================== */

.av-how-section {
    padding: 76px 20px;
    background: #ffffff;
}

.av-how-section *,
.av-how-section *::before,
.av-how-section *::after {
    box-sizing: border-box;
}

.av-how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 30px;
    border-radius: 24px;
    background: #fff6e9;
    align-items: stretch;
}

/* Title cell */

.av-how-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 315px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        #fff0d8 0%,
        #fff8ee 65%,
        #ffe7c4 100%
    );
}

.av-how-intro h2 {
    margin: 0;
    font-size: clamp(30px, 3.5vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: #14213d;
}

.av-how-intro h2 span {
    display: block;
}

.av-how-accent {
    display: block;
    width: 75px;
    height: 5px;
    margin-top: 28px;
    border-radius: 10px;
    background: #2563eb;
}

/* Step cards */

.av-how-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 315px;
    padding: 26px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #f0e2d0;
    box-shadow: 0 5px 18px rgba(20,33,61,.045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.av-how-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20,33,61,.08);
}

/* Image treatment */

.av-how-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 145px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #f4f9ff;
    overflow: hidden;
}

.av-how-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    mix-blend-mode: multiply;
}

/* Typography */

.av-how-card h3 {
    margin: 0 0 13px;
    color: #14213d;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.3;
}

.av-how-card h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    margin-top: 10px;
    border-radius: 8px;
    background: #2563eb;
}

.av-how-card p {
    margin: 0;
    color: #526179;
    font-size: 14px;
    line-height: 1.75;
}

/* Installation Guide button */

.av-how-help .av-how-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-top: auto;
    padding: 12px 19px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.av-how-button:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.av-how-button:focus-visible {
    outline: 3px solid #14213d;
    outline-offset: 3px;
}

/* Tablet */

@media (min-width: 641px) and (max-width: 1024px) {

    .av-how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 22px;
    }

    .av-how-intro,
    .av-how-card {
        min-height: 290px;
    }

    .av-how-intro h2 {
        font-size: clamp(32px, 4vw, 46px);
    }

}

/* Mobile */

@media (max-width: 640px) {

    .av-how-section {
        padding: 44px 14px;
    }

    .av-how-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }

    .av-how-intro {
        min-height: auto;
        padding: 26px 20px;
    }

    .av-how-intro h2 {
        font-size: clamp(32px, 9vw, 44px);
    }

    .av-how-accent {
        margin-top: 20px;
    }

    .av-how-card {
        min-height: auto;
        padding: 20px;
        border-radius: 14px;
    }

    .av-how-image {
        height: 130px;
        margin-bottom: 15px;
    }

    .av-how-card h3 {
        font-size: 19px;
    }

    .av-how-card p {
        font-size: 13px;
    }

    .av-how-help .av-how-button {
        width: 100%;
        margin-top: 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .av-how-card,
    .av-how-button {
        transition: none;
    }

    .av-how-card:hover {
        transform: none;
    }
}

/* ==========================================
   AMPVAULT HOMEPAGE FAQ SECTION
   ========================================== */

.av-home-faq {
    background: #ffffff;
    padding: 76px 20px 86px;
}

.av-home-faq *,
.av-home-faq *::before,
.av-home-faq *::after {
    box-sizing: border-box;
}

.av-faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.av-faq-heading {
    text-align: center;
    margin-bottom: 34px;
}

.av-faq-heading h2 {
    color: #14213d;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin: 10px 0 12px;
}

.av-faq-heading p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.av-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* FAQ accordion */

.av-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
    transition: border-color .2s ease;
}

.av-faq-item[open] {
    background: #ffffff;
    border-color: #bfdbfe;
}

.av-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 21px 24px;
    color: #14213d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.av-faq-item summary::-webkit-details-marker {
    display: none;
}

.av-faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    color: #2563eb;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.av-faq-item[open] summary::after {
    content: "−";
}

.av-faq-item summary:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: -3px;
}

.av-faq-answer {
    padding: 0 24px 22px;
    color: #526179;
    font-size: 14px;
    line-height: 1.8;
}

.av-faq-answer p {
    margin: 0 0 12px;
}

.av-faq-answer p:last-child {
    margin-bottom: 0;
}

.av-faq-answer a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: underline;
}

/* CTA */

.av-faq-action {
    text-align: center;
    margin-top: 28px;
}

.av-faq-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 12px 22px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #ffffff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.av-faq-button:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

/* Mobile */

@media (max-width: 640px) {

    .av-home-faq {
        padding: 48px 14px 58px;
    }

    .av-faq-heading {
        margin-bottom: 24px;
    }

    .av-faq-heading h2 {
        font-size: 28px;
    }

    .av-faq-item summary {
        padding: 18px 16px;
        font-size: 14px;
    }

    .av-faq-answer {
        padding: 0 16px 18px;
        font-size: 13px;
    }

}
/* =========================================
   AMPVAULT HOMEPAGE CONTACT SECTION
   ========================================= */

.av-home-contact {
    padding: 70px 20px 80px;
    background: transparent;
}

.av-home-contact *,
.av-home-contact *::before,
.av-home-contact *::after {
    box-sizing: border-box;
}

.av-contact-panel {
    position: relative;
    overflow: hidden;
    padding: 60px 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    border: 1px solid #dbe5f2;
    box-shadow: 0 16px 40px rgba(20, 33, 61, 0.06);
}

.av-contact-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    pointer-events: none;
}

.av-contact-panel::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.08);
    pointer-events: none;
}

.av-contact-heading {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.av-contact-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.av-contact-heading h2 {
    margin: 0 0 14px;
    color: #14213d;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
}

.av-contact-heading p {
    margin: 0;
    color: #5f6f89;
    font-size: 15px;
    line-height: 1.75;
}

.av-contact-form-card {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e3eaf4;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(20, 33, 61, 0.08);
}

.av-contact-form-header {
    margin-bottom: 24px;
}

.av-contact-form-header h3 {
    margin: 0 0 8px;
    color: #14213d;
    font-size: 21px;
    font-weight: 800;
}

.av-contact-form-header p {
    margin: 0;
    color: #6b7a90;
    font-size: 14px;
    line-height: 1.6;
}

/* Fluent Forms styling */
#av-home-contact .ff-el-group {
    margin-bottom: 17px;
}

#av-home-contact .ff-el-input--label label {
    color: #14213d;
    font-size: 13px;
    font-weight: 700;
}

#av-home-contact .ff-el-form-control {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #d9e2ef;
    border-radius: 10px;
    background: #ffffff;
    color: #14213d;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#av-home-contact textarea.ff-el-form-control {
    min-height: 120px;
    resize: vertical;
}

#av-home-contact .ff-el-form-control:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

#av-home-contact .ff-btn-submit {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    background: #f4b931;
    color: #14213d;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

#av-home-contact .ff-btn-submit:hover {
    background: #e9ad1f;
    transform: translateY(-1px);
}

#av-home-contact .ff-btn-submit:focus-visible {
    outline: 3px solid rgba(20, 33, 61, 0.18);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .av-home-contact {
        padding: 45px 14px;
    }

    .av-contact-panel {
        padding: 36px 16px;
        border-radius: 18px;
    }

    .av-contact-form-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .av-contact-heading h2 {
        font-size: 30px;
    }
}

/* ==========================================
   AMPVAULT CONTACT - FINAL BUTTON STYLING
   Match existing website primary buttons
   ========================================== */

#av-home-contact .fluentform .ff-btn-submit,
#av-home-contact .ff-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;
    padding: 13px 22px;

    background: #2563eb !important;
    background-color: #2563eb !important;
    color: #ffffff !important;

    border: 1px solid #2563eb !important;
    border-radius: 10px !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    box-shadow: none !important;
    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease;
}

#av-home-contact .fluentform .ff-btn-submit:hover,
#av-home-contact .ff-btn-submit:hover {
    background: #1d4ed8 !important;
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

#av-home-contact .ff-btn-submit:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 3px;
}

#av-home-contact .ff-btn-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* ==========================================
   AMPVAULT CUSTOMER TESTIMONIALS
   ========================================== */

.av-reviews-section {
    padding: 76px 20px 88px;
    background: #ffffff;
}

.av-reviews-section *,
.av-reviews-section *::before,
.av-reviews-section *::after {
    box-sizing: border-box;
}

.av-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 32px;
}

.av-reviews-heading {
    max-width: 650px;
}

.av-reviews-heading h2 {
    margin: 10px 0 12px;
    color: #14213d;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

.av-reviews-heading p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* Right-side introduction */

.av-reviews-intro {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 210px;
    padding-left: 26px;
    border-left: 1px solid #e2e8f0;
}

.av-reviews-intro-icon {
    color: #f5b52e;
    font-size: 34px;
    line-height: 1;
}

.av-reviews-intro strong {
    color: #14213d;
    font-size: 17px;
}

.av-reviews-intro small {
    color: #64748b;
    font-size: 12px;
}

/* Review cards */

.av-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.av-review-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    box-shadow: 0 5px 18px rgba(20, 33, 61, .035);
}

.av-review-stars {
    margin-bottom: 18px;
    color: #f5b52e;
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 1;
}

.av-review-empty-stars {
    color: #cbd5e1;
}

.av-review-quote {
    flex: 1;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.av-review-footer {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.av-review-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.av-review-author strong {
    color: #14213d;
    font-size: 14px;
}

.av-review-verified {
    padding: 4px 8px;
    border-radius: 20px;
    background: #dcfce7;
    color: #166534;
    font-size: 10px;
    font-weight: 700;
}

.av-review-product {
    color: #2563eb;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
}

.av-review-product:hover {
    text-decoration: underline;
}

/* Admin-only empty-state message */

.av-reviews-empty {
    max-width: 990px;
    margin: 30px auto;
    padding: 18px 22px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
}

.av-reviews-empty p {
    margin: 0;
}

/* Tablet */

@media (max-width: 1024px) {
    .av-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 640px) {

    .av-reviews-section {
        padding: 50px 14px 60px;
    }

    .av-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .av-reviews-heading h2 {
        font-size: 30px;
    }

    .av-reviews-intro {
        min-width: 0;
        width: 100%;
        padding-left: 18px;
    }

    .av-reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .av-review-card {
        padding: 22px;
    }

    .av-review-quote {
        font-size: 14px;
    }
}

/* ==========================================
   AMPVAULT - AMAZON REVIEW LINK
   ========================================== */

.av-reviews-amazon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin-top: 26px;
    padding: 28px 32px;

    background: #f1f6fd;
    border: 1px solid #dce7f6;
    border-radius: 16px;
}

.av-reviews-amazon-copy {
    flex: 1;
    min-width: 0;
}

.av-reviews-amazon-copy strong {
    display: block;
    color: #14213d;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 8px;
}

.av-reviews-amazon-copy p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.av-reviews-amazon-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;

    min-height: 46px;
    padding: 12px 22px;

    color: #fff !important;
    background: #2563eb;
    border-radius: 10px;

    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
}

.av-reviews-amazon-button:hover {
    background: #1d4ed8;
    color: #fff !important;
}

.av-reviews-amazon-button:focus-visible {
    outline: 3px solid #14213d;
    outline-offset: 3px;
}

@media (max-width: 640px) {

    .av-reviews-amazon {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 22px;
    }

    .av-reviews-amazon-button {
        width: 100%;
    }

}

/* ==========================================
   AMPVAULT GLOBAL FOOTER
   ========================================== */

.av-site-footer {
    background: #14213d;
    color: #cbd5e1;
    padding: 68px 20px 0;
    border-top: 3px solid #2563eb;
}

.av-site-footer *,
.av-site-footer *::before,
.av-site-footer *::after {
    box-sizing: border-box;
}

.av-footer-container {
    max-width: 1180px;
    margin: 0 auto;
}

.av-footer-main {
    display: grid;
    grid-template-columns:
        minmax(0, 1.5fr)
        repeat(3, minmax(0, 1fr));
    gap: 42px;
    padding-bottom: 55px;
}

.av-footer-brand-logo {
    margin-bottom: 20px;
}

.av-footer-brand-logo img {
    display: block;
    max-width: 165px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.av-footer-brand-name {
    color: #ffffff !important;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none !important;
}

.av-footer-tagline {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.av-footer-description {
    max-width: 310px;
    margin: 0;
    color: #b8c7dd;
    font-size: 13px;
    line-height: 1.85;
}

.av-footer-title {
    margin: 2px 0 22px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
}

.av-footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.av-footer-links li {
    margin: 0;
    padding: 0;
}

.av-footer-links a {
    color: #cbd5e1 !important;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none !important;
    transition: color .2s ease;
}

.av-footer-links a:hover {
    color: #93c5fd !important;
}

.av-site-footer a:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 4px;
    border-radius: 2px;
}

/* Social media navigation */

.av-footer-social {
    margin-top: 24px;
}

.av-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.av-footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid #344665;
    border-radius: 9px;
    background: #1b2d4d;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.av-footer-social-links a:hover {
    background: #2563eb;
    border-color: #2563eb;
}

/* Bottom copyright bar */

.av-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 24px 0;
    border-top: 1px solid #344665;
}

.av-footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;
}

/* Tablet */

@media (max-width: 1024px) {

    .av-footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 40px;
    }
}

/* Mobile */

@media (max-width: 640px) {

    .av-site-footer {
        padding: 48px 20px
            calc(92px + env(safe-area-inset-bottom));
    }

    .av-footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 34px 20px;
        padding-bottom: 35px;
    }

    .av-footer-brand {
        grid-column: 1 / -1;
    }

    .av-footer-brand-logo img {
        max-width: 145px;
    }

    .av-footer-description {
        max-width: 100%;
    }

    .av-footer-title {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .av-footer-links {
        gap: 13px;
    }

    .av-footer-links a {
        font-size: 12px;
    }

    .av-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding-top: 22px;
    }

    .av-footer-bottom p {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-footer-links a {
        transition: none;
    }
}

/* ==========================================
   AMPVAULT GLOBAL PAGE DESIGN — V1
   ========================================== */

.av-page-main {
    display: block;
    width: 100%;
    min-width: 0;
}

.av-page-main *,
.av-page-main *::before,
.av-page-main *::after {
    box-sizing: border-box;
}

.av-page-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* Page heading */

.av-page-header {
    padding: 58px 20px 52px;
    background: linear-gradient(
        180deg,
        #f7faff 0%,
        #edf4fc 100%
    );
    border-bottom: 1px solid #e2eaf4;
    text-align: center;
}

.av-page-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.av-page-title {
    margin: 0;
    color: #14213d;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.av-page-subtitle {
    max-width: 720px;
    margin: 17px auto 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

/* Page content */

.av-page-body {
    padding: 52px 20px 76px;
    background: #ffffff;
}

.av-page-content {
    width: 100%;
    max-width: 960px;
    min-width: 0;
    margin: 0 auto;
    color: #334155;
    overflow-wrap: anywhere;
}

/* Standard text pages only */

.av-page-entry--standard .av-page-content > p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.85;
}

.av-page-entry--standard .av-page-content > h2 {
    margin: 38px 0 18px;
    color: #14213d;
    font-size: clamp(23px, 2.5vw, 30px);
    font-weight: 800;
    line-height: 1.3;
}

.av-page-entry--standard .av-page-content > h3 {
    margin: 28px 0 14px;
    color: #14213d;
    font-size: 21px;
    font-weight: 750;
}

.av-page-entry--standard .av-page-content > ul,
.av-page-entry--standard .av-page-content > ol {
    margin: 0 0 22px;
    padding-left: 25px;
    line-height: 1.85;
}

.av-page-entry--standard .av-page-content a {
    overflow-wrap: anywhere;
}

.av-page-content img {
    max-width: 100%;
    height: auto;
}

/* WooCommerce transactional pages */

.av-page-entry--commerce .av-page-header {
    padding: 38px 20px;
}

.av-page-entry--commerce .av-page-title {
    font-size: clamp(28px, 3vw, 36px);
}

.av-page-content--commerce {
    max-width: 1180px;
}

/* Full-width Video Gallery */

.av-page-body--gallery {
    padding: 0;
    background: transparent;
}

.av-page-content--gallery {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Accessible title for gallery */

.av-page-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Page pagination */

.av-page-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.av-page-pagination a {
    color: #2563eb;
    font-weight: 700;
}

/* Missing content */

.av-page-not-found {
    padding: 80px 20px;
    text-align: center;
}

.av-page-not-found h1 {
    color: #14213d;
}

/* Mobile */

@media (max-width: 640px) {

    .av-page-header {
        padding: 38px 16px 34px;
    }

    .av-page-title {
        font-size: 30px;
    }

    .av-page-subtitle {
        font-size: 14px;
    }

    .av-page-body {
        padding: 32px 16px 52px;
    }

    .av-page-body--gallery {
        padding: 0;
    }

    .av-page-entry--standard .av-page-content > p {
        font-size: 14px;
    }

    .av-page-entry--commerce .av-page-header {
        padding: 26px 16px;
    }
}

/* ============================================
   AMPVAULT CONTACT US PAGE
   Scoped to the Contact page only
   ============================================ */

.av-page-entry--contact .av-page-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Introduction */

.av-page-entry--contact
.av-page-content > h2.wp-block-heading {
    margin: 0 0 18px;
    color: #14213d;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.3;
}

.av-page-entry--contact
.av-page-content > p {
    color: #526179;
    font-size: 15px;
    line-height: 1.85;
}

.av-page-entry--contact
.av-page-content > h3.wp-block-heading {
    margin: 36px 0 20px;
    color: #14213d;
    font-size: 21px;
    font-weight: 750;
}

/* Kadence tabs container */

.av-page-entry--contact .wp-block-kadence-tabs,
.av-page-entry--contact .kt-tabs-wrap,
.av-page-entry--contact .kt-tabs-content-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Tab navigation */

.av-page-entry--contact .kt-tabs-title-list {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;

    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 0 15px !important;

    list-style: none;
    border: none !important;
}

.av-page-entry--contact .kt-tabs-title-list .kt-title-item {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.av-page-entry--contact
.kt-tabs-title-list .kt-tab-title {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 19px !important;

    color: #14213d !important;
    background: #f1f5f9 !important;

    border: 1px solid #dbe3ee !important;
    border-radius: 10px !important;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none !important;

    white-space: normal;
    overflow-wrap: anywhere;
    transition: background-color .2s ease;
}

/* Hover state */

.av-page-entry--contact
.kt-tabs-title-list .kt-tab-title:hover {
    background: #e8f0fc !important;
    border-color: #bfdbfe !important;
    color: #2563eb !important;
}

/* Active tab - AmpVault primary blue */

.av-page-entry--contact
.kt-tabs-title-list .kt-title-item.kt-tab-title-active
.kt-tab-title {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

.av-page-entry--contact
.kt-tabs-title-list .kt-title-item.kt-tab-title-active
.kt-tab-title:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
}

.av-page-entry--contact .kt-tab-title:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

/* Form content container */

.av-page-entry--contact .kt-tabs-content-wrap {
    margin: 0 !important;
    padding: 28px !important;

    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;

    box-shadow: 0 10px 30px rgba(20,33,61,.055);
}

.av-page-entry--contact .kt-tab-inner-content,
.av-page-entry--contact .kt-tab-inner-content-inner {
    max-width: 100%;
    min-width: 0;
}

/* Fluent Forms */

.av-page-entry--contact .fluentform {
    width: 100%;
    max-width: 100%;
}

.av-page-entry--contact .ff-el-group {
    margin-bottom: 18px;
}

.av-page-entry--contact .ff-el-input--label label {
    color: #14213d;
    font-size: 13px;
    font-weight: 700;
}

.av-page-entry--contact .ff-el-form-control {
    width: 100%;
    max-width: 100%;
    min-height: 46px;

    padding: 12px 14px;
    border: 1px solid #d9e2ef;
    border-radius: 9px;

    color: #14213d;
    background: #ffffff;
    font-size: 14px;
}

.av-page-entry--contact textarea.ff-el-form-control {
    min-height: 120px;
    resize: vertical;
}

.av-page-entry--contact .ff-el-form-control:focus {
    border-color: #2563eb;
    outline: 2px solid rgba(37,99,235,.15);
    box-shadow: none;
}

/* AmpVault primary button */

.av-page-entry--contact .ff-btn-submit {
    min-height: 46px;
    padding: 12px 24px;

    background: #2563eb !important;
    border: 1px solid #2563eb !important;
    border-radius: 9px !important;

    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
}

.av-page-entry--contact .ff-btn-submit:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

.av-page-entry--contact .ff-btn-submit:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

/* Mobile */

@media (max-width: 640px) {

    .av-page-entry--contact
    .av-page-content > h2.wp-block-heading {
        font-size: 26px;
    }

    .av-page-entry--contact .kt-tabs-title-list {
        flex-direction: column;
        gap: 9px;
    }

    .av-page-entry--contact
    .kt-tabs-title-list .kt-title-item {
        width: 100% !important;
    }

    .av-page-entry--contact
    .kt-tabs-title-list .kt-tab-title {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        padding: 13px 15px !important;
    }

    .av-page-entry--contact .kt-tabs-content-wrap {
        padding: 18px 14px !important;
        border-radius: 13px !important;
    }

    .av-page-entry--contact .ff-btn-submit {
        width: 100%;
    }
}

/* AmpVault Contact Details */

.av-page-entry--contact .av-contact-details {
    margin-top: 52px;
}

.av-page-entry--contact .av-contact-details h2 {
    margin: 0 0 22px;
    color: #14213d;
    font-size: clamp(24px, 2.8vw, 30px);
    font-weight: 800;
}

.av-contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.av-contact-detail-card {
    min-width: 0;
    padding: 26px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.av-contact-detail-card h3 {
    margin: 0 0 22px;
    color: #14213d;
    font-size: 19px;
    font-weight: 800;
}

.av-contact-detail-card p {
    margin: 0 0 18px;
    color: #526179;
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.av-contact-detail-card p:last-child {
    margin-bottom: 0;
}

.av-contact-detail-card strong {
    display: block;
    margin-bottom: 5px;
    color: #14213d;
}

.av-contact-detail-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.av-contact-detail-card a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {

    .av-contact-details-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .av-contact-detail-card {
        padding: 20px;
    }

    .av-page-entry--contact .av-contact-details {
        margin-top: 38px;
    }
}

/* ==========================================
   AMPVAULT FAQ PAGE — V1
   Scoped to standard FAQ page
   ========================================== */

.av-page-entry--faq {
    --av-faq-navy: #14213d;
    --av-faq-blue: #2563eb;
    --av-faq-border: #e0e8f2;
    --av-faq-muted: #526179;
}

/* Main content width */

.av-page-entry--faq .av-page-content {
    max-width: 960px;
    min-width: 0;
}

/* FAQ Categories / Rank Math TOC */

.av-page-entry--faq
.wp-block-rank-math-toc-block {
    padding: 28px;
    margin: 0 0 48px;
    background: #f1f6fd;
    border: 1px solid #dce7f6;
    border-radius: 18px;
}

.av-page-entry--faq
.wp-block-rank-math-toc-block h2 {
    margin: 0 0 20px;
    color: var(--av-faq-navy);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.av-page-entry--faq
.wp-block-rank-math-toc-block nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.av-page-entry--faq
.wp-block-rank-math-toc-block nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.av-page-entry--faq
.wp-block-rank-math-toc-block nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;

    padding: 10px 15px;

    background: #ffffff;
    border: 1px solid #dce7f6;
    border-radius: 10px;

    color: var(--av-faq-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.av-page-entry--faq
.wp-block-rank-math-toc-block nav a:hover {
    color: var(--av-faq-blue);
    border-color: var(--av-faq-blue);
    background: #eff6ff;
}

/* FAQ category headings */

.av-page-entry--faq
.av-page-content > h2.wp-block-heading {
    margin: 48px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--av-faq-border);

    color: var(--av-faq-navy);
    font-size: clamp(23px, 2.6vw, 29px);
    font-weight: 800;
    line-height: 1.3;
}

.av-page-entry--faq
.av-page-content > h2.wp-block-heading::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 14px;
    background: var(--av-faq-blue);
    border-radius: 10px;
}

.av-page-entry--faq
.av-page-content > h2[id] {
    scroll-margin-top: 110px;
}

/* Override unwanted Kadence row spacing */

.av-page-entry--faq
.av-page-content > .wp-block-kadence-rowlayout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
}

.av-page-entry--faq
.wp-block-kadence-rowlayout .kt-row-column-wrap {
    max-width: 100% !important;
    padding: 0 !important;
}

.av-page-entry--faq
.wp-block-kadence-rowlayout .kt-inside-inner-col {
    min-width: 0;
}

/* Accordion wrapper */

.av-page-entry--faq
.wp-block-kadence-accordion {
    width: 100%;
    max-width: 100%;
}

.av-page-entry--faq
.kt-accordion-inner-wrap {
    width: 100%;
}

/* Individual question cards */

.av-page-entry--faq
.kt-accordion-pane {
    margin: 0 0 12px !important;
    border: 1px solid var(--av-faq-border);
    border-radius: 13px;
    background: #f8fafc;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(20,33,61,.025);
}

/* Question button */

.av-page-entry--faq
.kt-blocks-accordion-header {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 60px;

    padding: 18px 20px !important;

    color: var(--av-faq-navy) !important;
    background: #f8fafc !important;

    border: none !important;
    border-radius: 0 !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
}

.av-page-entry--faq
.kt-blocks-accordion-header:hover {
    background: #eff6ff !important;
    color: var(--av-faq-blue) !important;
}

.av-page-entry--faq
.kt-blocks-accordion-header[aria-expanded="true"] {
    background: #eff6ff !important;
    color: var(--av-faq-navy) !important;
}

.av-page-entry--faq
.kt-blocks-accordion-header:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: -3px;
}

/* Question text */

.av-page-entry--faq
.kt-blocks-accordion-title {
    color: inherit;
    font-size: inherit;
    font-weight: 700;
    line-height: 1.55;
}

.av-page-entry--faq
.kt-blocks-accordion-title strong {
    font-weight: 700;
}

/* Preserve Kadence's interactive icon */

.av-page-entry--faq
.kt-blocks-accordion-icon-trigger {
    flex-shrink: 0;
}

/* Expanded answer */

.av-page-entry--faq
.kt-accordion-panel {
    background: #ffffff !important;
    border-top: 1px solid var(--av-faq-border);
}

.av-page-entry--faq
.kt-accordion-panel-inner {
    padding: 20px 24px !important;
    color: var(--av-faq-muted);
}

.av-page-entry--faq
.kt-accordion-panel-inner p,
.av-page-entry--faq
.kt-accordion-panel-inner li {
    color: var(--av-faq-muted);
    font-size: 14px;
    line-height: 1.85;
}

.av-page-entry--faq
.kt-accordion-panel-inner p {
    margin: 0 0 14px;
}

.av-page-entry--faq
.kt-accordion-panel-inner p:last-child {
    margin-bottom: 0;
}

.av-page-entry--faq
.kt-accordion-panel-inner ul {
    margin: 10px 0 18px;
    padding-left: 23px;
}

.av-page-entry--faq
.kt-accordion-panel-inner strong {
    color: var(--av-faq-navy);
}

.av-page-entry--faq
.kt-accordion-panel-inner a {
    color: var(--av-faq-blue);
    font-weight: 700;
}

/* Tablet and mobile */

@media (max-width: 640px) {

    .av-page-entry--faq
    .wp-block-rank-math-toc-block {
        margin-bottom: 32px;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .av-page-entry--faq
    .wp-block-rank-math-toc-block h2 {
        font-size: 18px;
    }

    .av-page-entry--faq
    .wp-block-rank-math-toc-block nav ul {
        gap: 8px;
    }

    .av-page-entry--faq
    .wp-block-rank-math-toc-block nav a {
        padding: 9px 11px;
        min-height: 40px;
        font-size: 12px;
    }

    .av-page-entry--faq
    .av-page-content > h2.wp-block-heading {
        margin: 38px 0 16px;
        font-size: 23px;
    }

    .av-page-entry--faq
    .kt-blocks-accordion-header {
        min-height: 54px;
        padding: 15px 14px !important;
        font-size: 13px;
    }

    .av-page-entry--faq
    .kt-accordion-panel-inner {
        padding: 16px !important;
    }

    .av-page-entry--faq
    .kt-accordion-panel-inner p,
    .av-page-entry--faq
    .kt-accordion-panel-inner li {
        font-size: 13px;
    }
}

/* ==========================================
   AMPVAULT INSTALLATION GUIDE
   ========================================== */

.av-page-entry--installation {
    --av-i-navy: #14213d;
    --av-i-blue: #2563eb;
    --av-i-muted: #526179;
    --av-i-border: #e2e8f0;
}

.av-install-guide *,
.av-install-guide *::before,
.av-install-guide *::after {
    box-sizing: border-box;
}

.av-install-guide h2,
.av-install-guide h3,
.av-install-guide p {
    margin-top: 0;
}

.av-install-guide h2 {
    color: var(--av-i-navy);
    font-size: clamp(26px, 3vw, 35px);
    font-weight: 800;
    line-height: 1.22;
}

.av-install-guide h3 {
    color: var(--av-i-navy);
    font-weight: 800;
}

.av-install-guide p {
    color: var(--av-i-muted);
    font-size: 14px;
    line-height: 1.85;
}

.av-install-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--av-i-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

/* Introduction */

.av-install-intro {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 70px;
}

.av-install-intro-copy p {
    margin-bottom: 15px;
}

.av-install-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--av-i-blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.av-install-link:hover {
    text-decoration: underline;
}

.av-install-intro-aside {
    padding: 30px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: linear-gradient(
        140deg,
        #eff6ff,
        #f8fbff
    );
}

.av-install-intro-aside h3 {
    margin: 0 0 14px;
    font-size: 23px;
    line-height: 1.3;
}

.av-install-intro-aside p {
    margin-bottom: 14px;
}

.av-install-intro-aside .av-install-aside-note {
    margin-bottom: 0;
    padding-top: 15px;
    border-top: 1px solid #dbeafe;
    font-size: 12px;
    font-weight: 700;
}

/* General sections */

.av-install-section {
    margin-bottom: 64px;
}

.av-install-section-heading {
    margin-bottom: 25px;
}

.av-install-section-heading h2 {
    margin-bottom: 12px;
}

.av-install-section-heading p {
    margin: 0;
}

/* Before installation checklist */

.av-install-check-panel {
    padding: 26px;
    border: 1px solid var(--av-i-border);
    border-radius: 18px;
    background: #f8fafc;
}

.av-install-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.av-install-check-grid li {
    position: relative;
    min-width: 0;
    padding: 18px 18px 18px 46px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.av-install-check-grid li::before {
    content: "✓";
    position: absolute;
    top: 17px;
    left: 16px;
    color: var(--av-i-blue);
    font-size: 18px;
    font-weight: 800;
}

.av-install-check-grid strong {
    display: block;
    margin-bottom: 5px;
    color: var(--av-i-navy);
    font-size: 14px;
}

.av-install-check-grid span {
    display: block;
    color: var(--av-i-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* Step cards */

.av-install-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.av-install-step {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--av-i-border);
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(20,33,61,.04);
}

.av-install-step-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    margin: 18px 18px 0;
    border-radius: 13px;
    background: #f1f6fd;
    overflow: hidden;
}

.av-install-step-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 15px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.av-install-step-content {
    padding: 22px 24px 26px;
}

.av-install-step-number {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #eaf2ff;
    color: var(--av-i-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

.av-install-step h3 {
    margin: 0 0 13px;
    font-size: 21px;
    line-height: 1.3;
}

.av-install-step p {
    margin: 0 0 12px;
}

.av-install-step p:last-child {
    margin-bottom: 0;
}

/* Safety information */

.av-install-safety {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 65px;
    padding: 28px;
    border: 1px solid #f0dfbf;
    border-radius: 17px;
    background: #fff9ed;
}

.av-install-safety-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8e8c8;
    color: #8a5200;
    font-size: 24px;
    font-weight: 800;
}

.av-install-safety h2 {
    margin-bottom: 14px;
    font-size: 24px;
}

.av-install-safety p {
    margin-bottom: 12px;
}

.av-install-safety p:last-child {
    margin-bottom: 0;
}

/* Support heading */

.av-install-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px;
    border: 1px solid #dbeafe;
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    background: #eff6ff;
}

.av-install-help-copy {
    flex: 1;
    min-width: 0;
}

.av-install-help h2 {
    margin-bottom: 12px;
}

.av-install-help p {
    margin-bottom: 11px;
}

.av-install-help p:last-child {
    margin-bottom: 0;
}

.av-install-help-image {
    display: block;
    flex-shrink: 0;
    width: 155px;
    max-width: 32%;
    height: 135px;
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
    object-fit: contain;
}

/* Fluent Forms support area */

.av-page-entry--installation .av-install-form-shell {
    max-width: 100%;
    margin: 0;
    padding: 28px;
    border: 1px solid #dbeafe;
    border-radius: 0 0 18px 18px;
    background: #ffffff;
}

.av-install-form-shell .fluentform {
    width: 100%;
    max-width: 100%;
}

.av-install-form-shell .ff-el-group {
    margin-bottom: 17px;
}

.av-install-form-shell .ff-el-input--label label {
    color: #14213d;
    font-size: 13px;
    font-weight: 700;
}

.av-install-form-shell .ff-el-form-control {
    width: 100%;
    max-width: 100%;
    min-height: 45px;
    padding: 11px 13px;
    border: 1px solid #dbe3ee;
    border-radius: 9px;
    background: #ffffff;
    color: #14213d;
    font-size: 14px;
}

.av-install-form-shell textarea.ff-el-form-control {
    min-height: 115px;
}

.av-install-form-shell .ff-el-form-control:focus {
    border-color: #2563eb;
    outline: 2px solid rgba(37,99,235,.17);
    box-shadow: none;
}

.av-install-form-shell .ff-btn-submit {
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid #2563eb !important;
    border-radius: 9px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
}

.av-install-form-shell .ff-btn-submit:hover {
    border-color: #1d4ed8 !important;
    background: #1d4ed8 !important;
    color: #ffffff !important;
}

.av-install-guide a:focus-visible,
.av-install-form-shell button:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

/* Responsive layout */

@media (max-width: 800px) {
    .av-install-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .av-install-intro {
        gap: 20px;
        margin-bottom: 45px;
    }

    .av-install-section {
        margin-bottom: 45px;
    }

    .av-install-guide h2 {
        font-size: 26px;
    }

    .av-install-intro-aside,
    .av-install-check-panel,
    .av-install-safety {
        padding: 21px;
    }

    .av-install-check-grid,
    .av-install-steps-grid {
        grid-template-columns: 1fr;
    }

    .av-install-step-image {
        height: 160px;
    }

    .av-install-step-content {
        padding: 19px;
    }

    .av-install-safety {
        gap: 13px;
        margin-bottom: 45px;
    }

    .av-install-safety-mark {
        width: 32px;
        height: 32px;
        font-size: 19px;
    }

    .av-install-safety h2 {
        font-size: 21px;
    }

    .av-install-help {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 22px;
    }

    .av-install-help-image {
        width: 125px;
        max-width: 100%;
        height: 110px;
    }

    .av-page-entry--installation .av-install-form-shell {
        padding: 20px 16px;
    }

    .av-install-form-shell .ff-btn-submit {
        width: 100%;
    }
}

/* ==========================================
   AMPVAULT INSTALLATION SUPPORT - FINAL CTA
   ========================================== */

.av-page-entry--installation
.av-install-form-shell .ff-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;
    padding: 13px 24px;

    background: #2563eb !important;
    border: 1px solid #2563eb !important;
    border-radius: 10px !important;

    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.av-page-entry--installation
.av-install-form-shell .ff-btn-submit:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

.av-page-entry--installation
.av-install-form-shell .ff-btn-submit:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

/* ==========================================
   AMPVAULT GLOBAL HEADER UTILITY BAR
   LANGUAGE TRANSLATOR + SCROLLING TICKER
   ========================================== */

.av-top-utility {
    position: relative;
    z-index: 30;
    width: 100%;
    min-height: 42px;
    background: #0b3d91;
    color: #ffffff;
    overflow: hidden;
}

.av-top-utility *,
.av-top-utility *::before,
.av-top-utility *::after {
    box-sizing: border-box;
}

.av-top-utility-inner {
    display: flex;
    align-items: center;
    gap: 24px;

    width: 100%;
    max-width: 1180px;
    min-height: 42px;
    margin: 0 auto;
    padding: 5px 20px;
}

/* Language selector */

.av-top-language {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
}

.av-top-language .gtranslate_wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.av-top-language a {
    color: #ffffff !important;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none !important;
}

.av-top-language a:hover {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

.av-top-language a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Scrolling announcement */

.av-top-announcement {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.av-announcement-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.av-announcement-track {
    display: flex;
    align-items: center;
    width: max-content;

    animation: av-announcement-scroll 28s linear infinite;
    will-change: transform;
}

.av-announcement-copy {
    flex: 0 0 auto;
    display: inline-block;

    padding-right: 65px;

    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.7;
    letter-spacing: .01em;
    white-space: nowrap;
}

@keyframes av-announcement-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause scrolling on hover */

.av-top-announcement:hover .av-announcement-track,
.av-top-announcement:focus-within .av-announcement-track {
    animation-play-state: paused;
}

/* Tablet */

@media (max-width: 900px) {

    .av-top-utility-inner {
        gap: 15px;
        padding: 6px 14px;
    }

    .av-announcement-track {
        animation-duration: 30s;
    }

}

/* Mobile */

@media (max-width: 640px) {

    .av-top-utility {
        min-height: 66px;
    }

    .av-top-utility-inner {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;

        min-height: 66px;
        gap: 5px;
        padding: 7px 12px;
    }

    .av-top-language {
        justify-content: center;
        width: 100%;
    }

    .av-top-language .gtranslate_wrapper {
        justify-content: center;
    }

    .av-top-language a {
        font-size: 12px;
    }

    .av-top-announcement {
        width: 100%;
    }

    .av-announcement-track {
        animation-duration: 32s;
    }

    .av-announcement-copy {
        font-size: 11px;
        padding-right: 45px;
    }

}

/* Accessibility: reduced motion */

@media (prefers-reduced-motion: reduce) {

    .av-announcement-track {
        width: 100%;
        animation: none;
        white-space: normal;
    }

    .av-announcement-copy {
        white-space: normal;
        padding-right: 0;
    }

    .av-announcement-copy:last-child {
        display: none;
    }

}

/* ==========================================
   AMPVAULT CUSTOM LANGUAGE SELECTOR
   Frontend-controlled native language names
   ========================================== */

.av-top-language {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 0;
}

.av-language-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 9px;
    white-space: nowrap;
}

.av-language-item {
    display: inline-flex;
    align-items: center;
}

.av-language-item a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 3px;

    color: #ffffff !important;
    font-family:
        "Noto Sans Telugu",
        "Noto Sans Devanagari",
        "Nirmala UI",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .2s ease;
}

.av-language-item a:hover {
    color: #bfdbfe !important;
}

.av-language-item a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
    border-radius: 3px;
}

.av-language-divider {
    display: inline-block;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 400;
    user-select: none;
}

/* Tablet */

@media (max-width: 900px) {

    .av-language-list {
        gap: 7px;
    }

    .av-language-item a {
        font-size: 11px;
    }
}

/* Mobile */

@media (max-width: 640px) {

    .av-top-language {
        width: 100%;
        justify-content: center;
    }

    .av-language-list {
        gap: 10px;
    }

    .av-language-item a {
        font-size: 12px;
        min-height: 28px;
    }
}

