/* ==========================================================================
   store.css — Flyco storefront visual refresh
   --------------------------------------------------------------------------
   Loaded AFTER style.css / style-responsive.css (see template/common/header.tpl)
   and BEFORE the admin-configurable inline <style> overrides (config_color_1,
   config_color_2, config_button_color) so brand-color settings from the
   admin panel still win.

   Scope of this pass: header, footer, homepage (hero / search / feature /
   product cards) + shared buttons & typography. Purely visual — no markup
   structure, IDs, classes or JS hooks were changed, so existing scripts
   (superfish, hover-dropdown, flexslider, revolution slider, colorbox,
   fancybox, common-scripts.js) keep working unmodified.

   Palette references flycoglobal.com's clean, corporate aviation-training
   look: deep navy + azure blue on white, with a warm amber CTA accent.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
    --flyco-navy: #0b2d4e;
    --flyco-navy-2: #123a63;
    --flyco-blue: #2363B8;
    --flyco-blue-light: #4a95d1;
    --flyco-hero-accent: #9fc1ef;
    --flyco-accent: #f5a623;
    --flyco-accent-dark: #d98c0f;
    --flyco-ink: #17233a;
    --flyco-gray-700: #3d4757;
    --flyco-gray-500: #7a8494;
    --flyco-gray-200: #e3e7ee;
    --flyco-gray-100: #f4f6f9;
    --flyco-white: #ffffff;
    --flyco-radius: 10px;
    --flyco-shadow-sm: 0 2px 10px rgba(11, 45, 78, 0.08);
    --flyco-shadow-md: 0 12px 30px rgba(11, 45, 78, 0.14);
    --flyco-font-body: 'Inter', 'Open Sans', sans-serif;
    --flyco-font-head: 'Poppins', 'Open Sans', sans-serif;
}

/* --------------------------------------------------------------------------
   Base typography
   -------------------------------------------------------------------------- */

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--flyco-font-body);
    color: var(--flyco-ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    margin-top: auto;
    flex-shrink: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--flyco-font-head);
    color: var(--flyco-navy);
    font-weight: 600;
}

h1 { font-weight: 700; letter-spacing: -0.3px; }

a {
    color: var(--flyco-blue);
}

a:hover, a:focus {
    color: var(--flyco-navy);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.header-frontend .navbar-default,
.header-frontend.alternative .navbar-default {
    /* !important: an admin-configurable inline <style> block further down
       in <head> (config_color_1) sets this same selector's background,
       and being later in source order it would otherwise win the cascade
       and silently override this white bar with the configured brand
       color. The design calls for an always-white header. */
    background-color: var(--flyco-white) !important;
    border-bottom: 1px solid var(--flyco-gray-200);
    box-shadow: var(--flyco-shadow-sm);
}

/* style.css makes .alternative headers position:absolute so they float
   transparently over a hero image/video; now that this header is an
   opaque white bar (matching the design) rather than a transparent
   overlay, it needs to sit in normal flow like every other page's header
   instead of covering the content underneath it. */
.header-frontend.alternative {
    position: relative;
}

.header-frontend .navbar {
    min-height: 64px;
    display: flex;
    align-items: center;
}

.header-frontend .navbar-header {
    display: flex;
    align-items: center;
}

.header-frontend .navbar > .container {
    width: 100%;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

/* Bootstrap gives .container > .navbar-header/.navbar-collapse a -15px
   margin below 768px (to bleed edge-to-edge against the container's own
   15px gutter, which we've replaced above) — cancel it so the logo and
   nav sit exactly at the container's 20px/40px inset instead of 15px
   further out, keeping them flush with the hero's left/right edge. */
.header-frontend .container > .navbar-header,
.header-frontend .container > .navbar-collapse {
    margin-left: 0;
    margin-right: 0;
}

.header-frontend .navbar-brand {
    margin-top: 0;
    margin-left: 0 !important;
    padding-left: 0;
    display: flex;
    align-items: center;
}

/* Center the logo against the nav row by height instead of a fixed
   margin-top guess — keeps alignment correct regardless of which logo
   asset (different height/aspect ratio) is configured. */
@media (min-width: 768px) {
    .header-frontend .navbar > .container {
        padding-left: 40px;
        padding-right: 40px;
        display: flex;
        align-items: center;
    }
    .header-frontend .navbar-header {
        float: none;
        flex: 0 0 auto;
    }
}

.header-frontend .navbar-nav > li {
    padding-top: 12px;
    padding-bottom: 12px;
}

.header-frontend .navbar-nav > li > a,
.header-frontend .nav li a {
    color: var(--flyco-ink) !important;
    font-family: var(--flyco-font-head);
    font-size: 14px;
    font-weight: 600;
    background: none !important;
    border-radius: 6px;
    transition: color .2s ease, background-color .2s ease;
}

.header-frontend .nav li a:hover,
.header-frontend .nav li a:focus {
    color: var(--flyco-blue) !important;
    background-color: var(--flyco-gray-100) !important;
}

.header-frontend .nav li.active a {
    color: var(--flyco-blue) !important;
    background-color: transparent !important;
}

@media (min-width: 768px) {
    .header-frontend .navbar-collapse.collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex: 1 1 auto;
    }
    .header-frontend .nav-auth {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        float: none;
        flex: 0 0 auto;
        gap: 18px;
    }
    .header-frontend .nav-auth > li {
        padding-top: 0;
        padding-bottom: 0;
        display: flex;
        align-items: center;
    }
    .header-frontend .nav-auth > li > a {
        display: inline-flex;
        align-items: center;
        height: 40px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.header-frontend .nav-auth-login {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.header-frontend .nav-auth-register.btn {
    display: inline-flex !important;
    align-items: center;
    height: 40px;
    padding: 0 20px !important;
    text-transform: none;
    letter-spacing: 0;
    background-color: var(--flyco-blue) !important;
    border-color: var(--flyco-blue) !important;
    color: var(--flyco-white) !important;
}

.header-frontend .nav-auth-register.btn:hover,
.header-frontend .nav-auth-register.btn:focus {
    background-color: var(--flyco-navy-2) !important;
    border-color: var(--flyco-navy-2) !important;
    color: var(--flyco-white) !important;
}

.header-frontend .nav li .dropdown-menu {
    border: none;
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-md);
    overflow: hidden;
    margin-top: 6px;
}

.header-frontend .nav li .dropdown-menu li a {
    color: var(--flyco-ink) !important;
    text-transform: none;
    font-weight: 500;
}

.header-frontend .nav li .dropdown-menu li a:hover {
    background-color: var(--flyco-gray-100) !important;
    color: var(--flyco-blue) !important;
}

.navbar-default .navbar-toggle {
    background-color: var(--flyco-navy);
    border-color: var(--flyco-navy);
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:active {
    background-color: var(--flyco-navy) !important;
    border-color: var(--flyco-navy) !important;
}

.navbar-default .navbar-toggle .fa-bars {
    color: var(--flyco-white);
}

/* utility bar (cart / login / register / lms) */
.header-sub {
    background-color: var(--flyco-navy);
}

.header-sub ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    transition: color .2s ease;
}

.header-sub ul li a:hover {
    color: var(--flyco-accent);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    font-family: var(--flyco-font-head);
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.2px;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn-info {
    background-image: none;
    background-color: var(--flyco-blue);
    border-color: var(--flyco-blue);
    box-shadow: var(--flyco-shadow-sm);
    font-size: 15px !important;
    font-weight: 500 !important;
}

.btn-info:hover,
.btn-info:focus {
    background-image: none;
    background-color: var(--flyco-navy-2);
    border-color: var(--flyco-navy-2);
    transform: translateY(-1px);
    box-shadow: var(--flyco-shadow-md);
}

.order-view-btn {
    font-size: 13px !important;
    padding: 6px 14px !important;
}

.btn-success {
    background-image: none;
    background-color: var(--flyco-accent);
    border-color: var(--flyco-accent);
    color: var(--flyco-navy);
    text-shadow: none;
}

.btn-success:hover,
.btn-success:focus {
    background-image: none;
    background-color: var(--flyco-accent-dark);
    border-color: var(--flyco-accent-dark);
    color: var(--flyco-navy);
    transform: translateY(-1px);
}

.btn.yellow {
    background-color: var(--flyco-accent) !important;
    color: var(--flyco-navy) !important;
    border: none;
}

.btn.yellow:hover {
    background-color: var(--flyco-accent-dark) !important;
}

.btn.red {
    background-color: var(--flyco-blue) !important;
    color: var(--flyco-white) !important;
    border: none;
}

.btn.red:hover {
    background-color: var(--flyco-navy-2) !important;
}

#home-page-splash {
    background: linear-gradient(135deg, #071c33 0%, var(--flyco-navy) 55%, var(--flyco-navy-2) 100%);
    padding-bottom: 60px;
}

.hero-bg-decoration {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-decoration svg {
    width: 100%;
    height: 100%;
}

.hero-bg-media {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
}

#home-page-splash .image-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(7, 28, 51, 0.35) 0%, rgba(7, 28, 51, 0.55) 100%);
}

#home-page-splash .splash-content {
    position: relative;
    z-index: 3;
    color: var(--flyco-white);
    text-align: left;
    padding: 70px 20px 0;
}

@media (min-width: 768px) {
    #home-page-splash .splash-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        text-align: left;
        padding: 150px 40px 0;
    }
}

.hero-headline {
    font-family: var(--flyco-font-head);
    font-weight: 700;
    font-size: 1.9em;
    line-height: 1.2;
    color: var(--flyco-white);
    margin: 0 0 18px;
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 2.6em;
    }
}

.hero-headline-accent {
    display: block;
    color: var(--flyco-hero-accent);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1em;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 0 28px;
}

.hero-cta {
    font-size: 15px;
    padding: 13px 30px;
}

.home-search-bg {
    background: transparent;
    position: relative;
    margin-top: -60px;
    padding-top: 0;
    z-index: 5;
    width: 100%;
    overflow: visible;
}

.home-search-bg .col-lg-12 {
    float: none;
    width: 100%;
}

.home-search-bg .btn {
    height: 44px;
    padding: 0 26px;
    line-height: 44px;
}

.how-it-works-slide-1,
.how-it-works-slide-2,
.how-it-works-slide-3 {
    height: 662px !important;
    width: 100%;
    background: linear-gradient(135deg, #071c33 0%, var(--flyco-navy) 55%, var(--flyco-navy-2) 100%) !important;
}

.hiw-title {
    color: var(--flyco-white) !important;
    font-family: var(--flyco-font-head) !important;
    font-weight: 700 !important;
    text-transform: none !important;
    font-size: 32px !important;
}

.hiw-subtitle {
    color: var(--flyco-hero-accent) !important;
    font-family: var(--flyco-font-head) !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    padding: 0 !important;
}

.hiw-desc {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.hiw-btn {
    font-family: var(--flyco-font-head) !important;
    text-transform: none !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
}

.hiw-device-desktop {
    width: 520px !important;
    height: 368px !important;
}

.hiw-device-ipad {
    width: 200px !important;
    height: 260px !important;
}

.hiw-device-mobile {
    width: 150px !important;
    height: 200px !important;
}

.hiw-device-laptop {
    width: 333px !important;
    height: 222px !important;
}

.hiw-device-certificate {
    width: 420px !important;
    height: 420px !important;
}

/* --------------------------------------------------------------------------
   Feature / "works well" section (#rt-feature)
   -------------------------------------------------------------------------- */

#rt-feature {
    background-color: var(--flyco-white);
    color: var(--flyco-gray-700);
    padding-bottom: 40px;
}

#rt-feature .container {
    width: 100%;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    #rt-feature .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

#rt-feature h3 {
    color: var(--flyco-navy);
}

.feature-eyebrow {
    color: var(--flyco-blue);
    font-family: var(--flyco-font-head);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.feature-checklist {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.feature-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    color: var(--flyco-gray-700);
    font-size: 14.5px;
}

.feature-checklist li i {
    color: var(--flyco-blue);
    margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Featured products (course cards)
   -------------------------------------------------------------------------- */

.product-grid-item {
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    background: var(--flyco-white);
    transition: transform .18s ease, box-shadow .18s ease;
    overflow: hidden;
}

.product-grid-item:hover {
    background: var(--flyco-white);
    transform: translateY(-4px);
    box-shadow: var(--flyco-shadow-md);
    border-color: var(--flyco-blue-light);
}

.product-grid-item .grid-body b {
    color: var(--flyco-ink);
    font-family: var(--flyco-font-head);
}

.product-grid-item .price {
    background-color: var(--flyco-accent);
    color: var(--flyco-navy);
    border-radius: 6px;
    padding: 3px 10px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
    background-color: var(--flyco-navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 44px 0 24px;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    transition: color .2s ease;
}

.footer a:hover {
    color: var(--flyco-accent);
}

.footer h1 {
    color: var(--flyco-white);
    font-family: var(--flyco-font-head);
}

.social-link-footer li a {
    background: rgba(255, 255, 255, 0.08);
    color: var(--flyco-white);
    border-radius: 50%;
}

.social-link-footer li a:hover {
    background: var(--flyco-accent);
    color: var(--flyco-navy);
}

#scrollToTop img {
    opacity: 0.75;
    transition: opacity .2s ease, transform .2s ease;
}

#scrollToTop:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Responsive tweaks (mobile nav / hero)
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .header-frontend .navbar {
        min-height: 56px;
    }
    .header-frontend .navbar-header {
        width: 100%;
        justify-content: space-between;
    }
    .header-frontend .navbar-toggle {
        order: 2;
        float: none;
        margin: 0;
    }
    .header-frontend .navbar-brand {
        order: 1;
        margin: 0;
        padding: 0;
    }
    .header-frontend .navbar-collapse ul.navbar-nav {
        background-color: var(--flyco-navy);
        border-radius: 8px;
        padding: 8px;
    }
    .header-frontend .navbar-collapse ul.navbar-nav > li {
        padding-top: 0;
        padding-bottom: 0;
    }
    .header-frontend .navbar-collapse ul.navbar-nav > li > a {
        color: var(--flyco-white) !important;
        padding: 12px 16px;
    }
    .header-frontend .navbar-collapse ul.navbar-nav > li > a.nav-auth-register.btn {
        display: block !important;
        height: auto !important;
        margin: 8px 16px 4px;
        padding: 10px 20px !important;
        text-align: center;
    }
    .header-frontend .navbar-collapse ul.navbar-nav > li > a:hover {
        background-color: rgba(255, 255, 255, 0.08) !important;
        color: var(--flyco-accent) !important;
    }
}

/* ==========================================================================
   Markup refresh — footer + homepage sections
   ========================================================================== */

/* ---- footer ------------------------------------------------------------ */
/* Self-contained flex layout — NOT built on Bootstrap .row/.col-md-*.
   Those only get width/float at >=992px, which combined with our own
   flex rules caused the same "no width below desktop" overflow/wrap
   bug as the feature section. Mobile-first: stacked & centered by
   default, 3-across from --footer-breakpoint up. */

.site-footer .container {
    width: 100%;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .site-footer .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.site-footer .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    width: 100%;
    box-sizing: border-box;
}

.footer-brand .footer-logo-link {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-brand .footer-logo {
    width: 140px;
}

.footer-tagline {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.55);
}

.footer-col-heading {
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--flyco-font-head);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-link-list {
    margin: 0;
    padding: 0;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list li:last-child {
    margin-bottom: 0;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.footer-link-list a:hover {
    color: var(--flyco-accent);
}

.footer-payment-icons {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.footer-payment-icons img {
    opacity: 0.75;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .social-link-footer {
    display: inline-flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.footer-bottom .social-link-footer > li {
    float: none;
    margin: 0;
}

.footer-bottom .social-link-footer > li > a {
    float: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

@media (min-width: 900px) {
    .site-footer .footer-top {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
        gap: 20px;
    }
    .footer-col {
        width: auto;
    }
    .footer-brand {
        flex: 1 1 auto;
        text-align: left;
        max-width: 320px;
    }
    .footer-tagline {
        margin: 0;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--flyco-navy);
    box-shadow: var(--flyco-shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.scroll-to-top img {
    width: 16px;
    height: 16px;
}

.scroll-to-top:hover {
    opacity: 1;
    background-color: var(--flyco-blue);
    transform: translateY(-3px);
}

/* ---- homepage hero content wrapper -------------------------------------- */

.hero-content-inner {
    max-width: 640px;
}

/* ---- homepage hero search card ------------------------------------------ */

.home-search-bg .hero-search-card {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: var(--flyco-white);
    padding: 22px 26px;
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-md);
}

.hero-search-card .filter-field {
    flex: 1 1 190px;
}

.hero-search-card .filter-field .select-wrap {
    display: flex;
    width: 100%;
}

.hero-search-card .filter-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--flyco-gray-500);
    margin-bottom: 6px;
}

.hero-search-card .hero-filter-btn {
    flex: 0 0 auto;
}

.hero-search-card .btn i {
    margin-left: 8px;
}

@media (max-width: 992px) {
    .hero-search-card {
        padding: 16px;
    }
    .hero-search-card .filter-field,
    .hero-search-card .btn {
        width: 100%;
        flex-basis: 100%;
        margin: 4px 0 !important;
    }
}

/* ---- category / sub-category select boxes -------------------------------
   Native <select> elements (no JS plugin is actually wired up despite the
   leftover "selectpicker" class name) restyled with the OS chrome removed
   and a custom chevron, so they read as one modern component instead of
   three mismatched native dropdowns. */

.select-wrap {
    position: relative;
    display: inline-flex;
    min-width: 0;
}

.select-wrap select.selectpicker,
.select-wrap select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 44px;
    padding: 0 34px 0 14px;
    border-radius: 8px;
    border: 1px solid var(--flyco-gray-200);
    background-color: var(--flyco-white);
    color: var(--flyco-ink);
    font-family: var(--flyco-font-body);
    font-size: 14px;
    line-height: 44px;
    box-shadow: none;
    cursor: pointer;
    text-overflow: ellipsis;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.select-wrap::after {
    content: "\f078";
    font-family: "FontAwesome";
    font-size: 11px;
    color: var(--flyco-gray-500);
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-wrap select.selectpicker:hover {
    border-color: var(--flyco-blue-light);
}

.select-wrap select.selectpicker:focus {
    outline: none;
    border-color: var(--flyco-blue);
    box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.15);
}

.select-wrap:focus-within::after {
    color: var(--flyco-blue);
}

.select-wrap select.selectpicker option[disabled] {
    color: var(--flyco-gray-500);
}

/* ---- "works well" feature split section --------------------------------- */
/* Self-contained flex layout — deliberately NOT built on Bootstrap's
   .row/.col-md-* (those only gain float/width rules at >=992px, which
   fought with display:flex on this row and broke alignment on tablet/
   mobile). Mobile-first: stacked & centered by default, side-by-side
   from --feature-breakpoint up. */

.feature-split-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 24px;
}

.feature-media,
.feature-copy {
    width: 100%;
    box-sizing: border-box;
}

.feature-media {
    text-align: center;
}

/* Fixed, moderate display width (source asset is 1096x766) — kept well
   under its native size so it stays crisp instead of being stretched
   and looking soft/low-res, and doesn't dominate the section. */
.feature-media img {
    max-width: 100%;
    height: auto;
}

.feature-copy {
    text-align: center;
    padding: 0 10px;
}

.feature-copy h3 {
    margin-top: 0;
}

.feature-copy .btn {
    margin-top: 10px;
}

@media (min-width: 900px) {
    .feature-split-row {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 50px;
    }
    /* flex: 1 1 0 (not a fixed width %) so the two columns share the
       remaining space evenly AFTER the gap is accounted for — fixed
       50%/50% widths alongside a gap overflowed the row by the gap's
       width and threw the columns out of alignment. */
    .feature-media,
    .feature-copy {
        width: auto;
        flex: 1 1 0;
    }
    .feature-copy {
        text-align: left;
        padding: 0;
    }
}

/* ---- featured products section heading ---------------------------------- */

.featured-products-section {
    background-color: var(--flyco-gray-100);
    padding: 100px 0;
}

.featured-products-section .container {
    width: 100%;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .featured-products-section .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4em;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--flyco-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-heading-left {
    text-align: left;
}

.section-heading-left .section-divider {
    margin: 10px 0 0;
}

.featured-products-section .section-heading-left {
    margin-bottom: 40px;
}

.section-eyebrow {
    color: var(--flyco-blue);
    font-family: var(--flyco-font-head);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.featured-products-section .section-heading-left h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.9em;
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 22px;
}

@media (min-width: 640px) {
    .course-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .course-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.course-card {
    display: block;
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-md);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--flyco-shadow-md);
    border-color: var(--flyco-blue-light);
}

.course-card-media {
    position: relative;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.recommended-courses-grid .course-card-media {
    height: 150px;
}

.featured-courses-grid .course-card-media {
    background-size: cover;
    background-repeat: initial;
}

.course-tag {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 1;
    font-family: var(--flyco-font-head);
    font-size: 10.5px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.course-card-body {
    padding: 18px 20px 20px;
}

.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px dashed var(--flyco-gray-200);
}

.course-card-price {
    font-family: var(--flyco-font-head);
    font-weight: 700;
    color: var(--flyco-ink);
}

.course-card-enroll {
    color: var(--flyco-blue);
    font-weight: 600;
    font-size: 14px;
}

.demo-section {
    background-color: var(--flyco-navy);
    padding: 50px 0;
}

.demo-section-inner {
    width: 100%;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.demo-section-copy h3 {
    color: var(--flyco-white);
    font-size: 1.5em;
    margin: 0 0 8px;
}

.demo-section-copy p {
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    max-width: 560px;
}

@media (min-width: 768px) {
    .demo-section-inner {
        padding-left: 40px;
        padding-right: 40px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ==========================================================================
   Product pages — category_list.tpl / list.tpl / detail.tpl
   --------------------------------------------------------------------------
   Visual layer only. None of the existing Bootstrap grid classes
   (col-sm-*, col-md-*, .row) were touched or mixed with display:flex —
   that combination is what broke responsive alignment in an earlier
   pass, so this section deliberately avoids it. Every element below is
   styled through its existing hook or an additive class; no column
   widths changed.
   ========================================================================== */

/* ---- category grid (category_list.tpl) ---------------------------------- */

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 560px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .category-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    align-items: center;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--flyco-shadow-md);
    border-color: var(--flyco-blue-light);
}

.category-card:focus {
    outline: none;
}

.category-card:focus-visible {
    border-color: var(--flyco-blue);
    box-shadow: 0 0 0 3px rgba(35, 99, 184, 0.15);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: rgba(35, 99, 184, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.category-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.category-card-name {
    flex: 1 0 auto;
    font-family: var(--flyco-font-head);
    font-weight: 600;
    color: var(--flyco-ink);
    font-size: 0.95em;
    line-height: 1.35;
    margin-bottom: 10px;
}

.category-card-link {
    color: var(--flyco-blue);
    font-weight: 600;
    font-size: 13px;
}

/* ---- product list sidebar (list.tpl) ------------------------------------- */

@media (min-width: 768px) {
    .course-list-content {
        padding-right: 20px;
    }
}

.course-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 40px 0 22px;
}

.bundle-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--flyco-gray-100);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    flex: 1 1 auto;
}

.bundle-banner-text {
    color: var(--flyco-gray-700);
    font-size: 14px;
    flex: 1 1 auto;
}

.bundle-banner-link {
    color: var(--flyco-blue);
    font-weight: 600;
    font-size: 14px;
    flex: 0 0 auto;
}

.bundle-banner-link:hover {
    color: var(--flyco-navy);
}

.course-search-wrap {
    position: relative;
    flex: 0 1 auto;
    width: 100%;
}

@media (min-width: 640px) {
    .course-search-wrap {
        flex: 0 1 320px;
        width: auto;
    }
}

.course-search-wrap .fa-search {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--flyco-gray-500);
    font-size: 13px;
}

.course-search-input {
    width: 100%;
    height: 56px;
    padding: 0 14px 0 38px;
    border-radius: 8px;
    border: 1px solid var(--flyco-gray-200);
    background-color: var(--flyco-white);
    color: var(--flyco-ink);
    font-family: var(--flyco-font-body);
    font-size: 14px;
    box-shadow: none;
}

.course-search-input:focus {
    outline: none;
    border-color: var(--flyco-blue);
    box-shadow: 0 0 0 3px rgba(35, 99, 184, 0.15);
}

@media (min-width: 640px) {
    .course-toolbar {
        flex-direction: row;
        align-items: center;
    }
}

.shop-filter-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 22px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.shop-filter-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-family: var(--flyco-font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--flyco-gray-500);
}

.shop-filter-card label {
    font-size: 14px;
    font-weight: 700;
    color: var(--flyco-ink);
    margin-top: 6px;
}

.shop-filter-card .select-wrap-block {
    display: flex;
    width: 100%;
    margin: 8px 0 16px;
}

.sidebar-bundle-card {
    background: var(--flyco-navy);
    border-radius: var(--flyco-radius);
    padding: 26px;
    margin-bottom: 20px;
}

.sidebar-bundle-card h4 {
    color: var(--flyco-white);
    font-size: 1.15em;
    margin: 0 0 10px;
}

.sidebar-bundle-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.sidebar-bundle-btn {
    display: inline-flex;
    background: transparent;
    color: var(--flyco-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.sidebar-bundle-btn:hover,
.sidebar-bundle-btn:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--flyco-white);
    border-color: var(--flyco-white);
}

/* ---- product detail (detail.tpl) ----------------------------------------- */

.course-hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-md);
    margin-bottom: 22px;
}

.about-course-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 24px;
    margin-bottom: 22px;
}

.about-course-card h3 {
    margin-top: 0;
    font-size: 1.15em;
}

.about-course-desc {
    color: var(--flyco-gray-700);
}

.recommended-heading {
    font-size: 1.3em;
    margin-bottom: 18px;
}

.course-info-card,
.course-content-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 24px;
    margin-bottom: 22px;
}

.course-info-card h3,
.course-content-card h3 {
    margin-top: 0;
    font-size: 1.15em;
}

.course-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--flyco-gray-200);
}

.course-info-row:last-of-type {
    border-bottom: none;
}

.course-info-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(35, 99, 184, 0.08);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.course-info-label {
    font-size: 12px;
    color: var(--flyco-gray-500);
    margin-bottom: 2px;
}

.course-info-value {
    font-weight: 600;
    color: var(--flyco-ink);
}

.course-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--flyco-gray-100);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 18px 0;
}

.course-price-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--flyco-gray-500);
    margin-bottom: 4px;
}

.course-price-value {
    font-family: var(--flyco-font-head);
    font-weight: 700;
    font-size: 1.4em;
    color: var(--flyco-ink);
}

.course-availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1e7a34;
}

.course-availability-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e7a34;
}

.course-action-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

.course-preview-btn {
    background-color: var(--flyco-white);
    color: var(--flyco-blue);
    border: 1px solid var(--flyco-gray-200);
}

.course-preview-btn:hover,
.course-preview-btn:focus {
    background-color: var(--flyco-gray-100);
    color: var(--flyco-blue);
}

.fancybox-skin {
    background: var(--flyco-white);
    border-radius: var(--flyco-radius);
}

.fancybox-opened .fancybox-skin {
    box-shadow: var(--flyco-shadow-md);
}

.fancybox-overlay {
    background: rgba(7, 28, 51, 0.75);
}

.fancybox-close {
    top: -16px;
    right: -16px;
    width: 34px;
    height: 34px;
    background-color: var(--flyco-white);
    border-radius: 50%;
    box-shadow: var(--flyco-shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}

.course-preview-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.fancybox-close:hover {
    transform: scale(1.08);
    box-shadow: var(--flyco-shadow-md);
}

.course-secure-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--flyco-gray-500);
    margin-top: 6px;
}

.course-secure-note .fa {
    color: var(--flyco-blue);
}

/* price / course-info / course-content panels */
.panel-bg-grey {
    background-color: var(--flyco-white) !important;
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
}

.panel-bg-grey.panel-default {
    border: 1px solid var(--flyco-gray-200);
}

.panel-bg-grey .panel-body {
    padding: 24px;
}

.panel-bg-grey h3 {
    font-size: 1.1em;
    margin-top: 0;
}

.panel-bg-grey table.table {
    margin-bottom: 0;
}

.panel-bg-grey table.table th {
    border-bottom: 2px solid var(--flyco-gray-200);
    padding-bottom: 10px;
}

.panel-bg-grey table.table td {
    border-top: 1px solid var(--flyco-gray-200);
    padding: 10px 8px;
    color: var(--flyco-gray-700);
}

.panel-bg-grey table.table tr:first-child td {
    border-top: none;
}

.price-display {
    text-align: center;
    color: var(--flyco-ink);
}

.price-display span {
    color: var(--flyco-blue);
    font-family: var(--flyco-font-head);
    font-weight: 700;
    font-size: 1.3em;
}

.price-strike {
    color: var(--flyco-gray-500);
    font-size: 0.9em;
}

.btn-secondary {
    background-color: var(--flyco-white);
    color: var(--flyco-gray-700);
    border: 1px solid var(--flyco-gray-200);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--flyco-gray-100);
    color: var(--flyco-ink);
}

/* course content / curriculum list */
.curriculum-unit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--flyco-gray-200);
    font-family: var(--flyco-font-head);
    font-weight: 600;
    color: var(--flyco-ink);
}

.curriculum-subunit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0 6px 24px;
    color: var(--flyco-gray-700);
    font-size: 14px;
}

.curriculum-dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--flyco-blue);
}

/* generic dropdown polish (bundle optional-course selector + nav dropdowns) */
.dropdown-menu {
    border: none;
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-md);
    padding: 6px;
}

.dropdown-menu > li > a {
    border-radius: 6px;
    padding: 8px 12px;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: var(--flyco-gray-100);
    color: var(--flyco-blue);
}

@media (max-width: 768px) {
    .about-course-card,
    .panel-bg-grey .panel-body {
        padding: 18px;
    }
}

/* breadcrumb (shared by nearly every inner page) */
.breadcrumb {
    font-size: 13px;
    padding: 14px 0;
}

.breadcrumb a {
    color: var(--flyco-blue);
}

.breadcrumb a:hover {
    color: var(--flyco-navy);
}

.breadcrumb li.active,
.breadcrumb span {
    color: var(--flyco-gray-500);
}

.page-hero {
    background: linear-gradient(135deg, #071c33 0%, var(--flyco-navy) 55%, var(--flyco-navy-2) 100%);
}

.page-hero .container,
.course-list-container,
.product-detail-container,
.category-list-container,
.contact-container,
.register-page-container,
.account-page-container,
.account-edit-page-container,
.password-page-container,
.order-list-page-container,
.checkout-cart-page-container,
.not-found-page-container,
.demo-page-container,
.information-page-container,
.checkout-page-container,
.order-info-page-container,
.success-page-container {
    width: 100%;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    .page-hero .container,
    .course-list-container,
    .product-detail-container,
    .category-list-container,
    .contact-container,
    .register-page-container,
    .account-page-container,
    .account-edit-page-container,
    .password-page-container,
    .order-list-page-container,
    .checkout-cart-page-container,
    .not-found-page-container,
    .demo-page-container,
    .information-page-container,
    .checkout-page-container,
    .order-info-page-container,
    .success-page-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.page-hero .breadcrumb {
    padding: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a:hover {
    color: var(--flyco-white);
}

.page-hero .breadcrumb li.active,
.page-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.45);
}

.page-hero-title {
    color: var(--flyco-white);
    font-family: var(--flyco-font-head);
    font-weight: 700;
    font-size: 1.9em;
    margin: 0 0 10px;
}

.page-hero-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1em;
    line-height: 1.6;
    max-width: 620px;
    margin: 0;
}

@media (min-width: 768px) {
    .page-hero-title {
        font-size: 2.2em;
    }
}

/* generic panel/card treatment — used by login, account, order_info,
   and (with .panel-bg-grey) the product detail page */
.panel.panel-default {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    overflow: hidden;
}

.panel-default > .panel-heading {
    background: var(--flyco-white);
    border-bottom: 1px solid var(--flyco-gray-200);
    padding: 16px 22px;
}

.panel-title {
    margin: 0;
    font-size: 1.05em;
    color: var(--flyco-navy);
}

.panel.panel-default .panel-body {
    padding: 22px;
}

.payment-address-panel {
    display: flex;
    flex-direction: column;
}

.payment-address-panel .panel-body {
    flex: 1;
    overflow-y: auto;
}

/* password.tpl card wrapper (page doesn't use .panel-default) */
.account-form-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 24px;
}

/* form inputs — shared across every account/checkout form */
.form-control {
    border: 1px solid var(--flyco-gray-200);
    border-radius: 8px;
    box-shadow: none;
    height: 42px;
    padding: 0 14px;
    color: var(--flyco-ink);
    font-family: var(--flyco-font-body);
    transition: border-color .2s ease, box-shadow .2s ease;
}

textarea.form-control {
    height: auto;
    padding: 10px 14px;
}

.form-control:focus {
    border-color: var(--flyco-blue);
    box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.15);
    outline: none;
}

.form-group label,
.control-label {
    font-weight: 600;
    color: var(--flyco-gray-700);
    font-size: 13px;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--flyco-blue);
}

/* alerts */
.alert {
    border-radius: 8px;
    border: none;
    font-size: 14px;
}

.alert-success {
    background-color: #e7f4ea;
    color: #1e7a34;
    margin-top: 10px;
}

.alert-danger {
    background-color: #fbe9e9;
    color: #b3261e;
}

.alert-warning {
    background-color: #fdf3e0;
    color: #92620b;
}

#password-policy-info {
    margin-top: 10px;
}

/* buttons used on these pages */
.btn-danger {
    background-image: none;
    background-color: var(--flyco-white);
    color: var(--flyco-gray-700);
    border: 1px solid var(--flyco-gray-200);
    text-shadow: none;
}

.btn-danger:hover,
.btn-danger:focus {
    background-image: none;
    background-color: var(--flyco-gray-100);
    color: var(--flyco-ink);
    border-color: var(--flyco-gray-200);
}

/* generic tables used on order_list.tpl / order_info.tpl */
.account-table {
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    overflow: hidden;
}

.account-table > thead > tr > th {
    background-color: var(--flyco-gray-100);
    color: var(--flyco-gray-700);
    font-family: var(--flyco-font-head);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: none;
}

.account-table > tbody > tr:hover {
    background-color: var(--flyco-gray-100);
}

.account-table > tbody > tr > td {
    vertical-align: middle;
    color: var(--flyco-gray-700);
}

/* pagination (order_list.tpl) */
.pagination > li > a,
.pagination > li > span {
    color: var(--flyco-blue);
    border: 1px solid var(--flyco-gray-200);
}

.pagination > li > a:hover {
    background-color: var(--flyco-gray-100);
    color: var(--flyco-navy);
}

.pagination > .active > a,
.pagination > .active > span {
    background-color: var(--flyco-blue);
    border-color: var(--flyco-blue);
}

/* privacy modal (register.tpl) */
.modal-content {
    border: none;
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-md);
}

.modal-header {
    border-bottom: 1px solid var(--flyco-gray-200);
}

.modal-title {
    color: var(--flyco-navy);
    font-family: var(--flyco-font-head);
}

.modal-footer {
    border-top: 1px solid var(--flyco-gray-200);
}

@media (max-width: 768px) {
    .panel.panel-default .panel-body,
    .account-form-card {
        padding: 16px;
    }
}
hr {
    border-top: 1px solid var(--flyco-gray-200);
    margin: 20px 0;
}

/* CMS body content (privacy policy / terms / about us via $description) */
.content {
    color: var(--flyco-gray-700);
    line-height: 1.7;
    font-size: 15px;
}

.content h1,
.content h2,
.content h3 {
    color: var(--flyco-navy);
    margin-top: 24px;
}

.content a {
    color: var(--flyco-blue);
}

/* contact.tpl */
.contact-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-section-heading h2 {
    margin: 0;
    font-size: 1.4em;
}

.contact-section-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(35, 99, 184, 0.1);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-map-placeholder {
    height: 220px;
    border-radius: var(--flyco-radius);
    background-color: var(--flyco-navy);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flyco-white);
    font-size: 28px;
    margin-bottom: 22px;
}

.contact-info {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 24px;
}

@media (max-width: 767px) {
    .contact-info {
        margin-bottom: 32px;
    }
}

.contact-info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--flyco-gray-500);
    margin: 18px 0 8px;
}

.contact-info-label:first-child {
    margin-top: 0;
}

.contact-info-value {
    color: var(--flyco-ink);
    line-height: 1.6;
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.contact-info-row:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(35, 99, 184, 0.1);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.contact-form-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 24px;
}

.demo-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 992px) {
    .demo-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.demo-eyebrow {
    display: block;
    font-size: 0.85em;
    letter-spacing: 0.06em;
    color: var(--flyco-blue);
    font-weight: 700;
    text-transform: uppercase;
}

.demo-heading {
    margin: 10px 0 18px;
    color: var(--flyco-navy);
}

.demo-desc {
    color: var(--flyco-gray-700);
    line-height: 1.7;
}

.demo-platform-icons {
    display: flex;
    gap: 16px;
    margin: 24px 0;
}

.demo-platform-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(35, 99, 184, 0.08);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.demo-platform-select-label {
    display: block;
}

.demo-platform-select-list {
    margin-top: 8px;
}

.demo-platform-select-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: var(--flyco-gray-100);
    border-radius: 8px;
    font-weight: 400;
    color: var(--flyco-ink);
    cursor: pointer;
}

.demo-platform-select-item:last-child {
    margin-bottom: 0;
}

.demo-platform-select-icon {
    flex: 0 0 auto;
    color: var(--flyco-blue);
    font-size: 16px;
}

.demo-platform-select-text {
    flex: 1 1 auto;
}

.demo-platform-select-item input[type="checkbox"] {
    flex: 0 0 auto;
}

.register-login-banner {
    margin-bottom: 24px;
}

.register-form-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 28px;
}

.register-form-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.15em;
}

.register-form-row {
    display: flex;
    gap: 16px;
}

.register-form-row .form-group {
    flex: 1 1 0;
    min-width: 0;
}

.register-form-card .intl-tel-input {
    display: block;
    width: 100%;
}

.register-agree-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.register-agree-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    color: var(--flyco-gray-700);
    font-size: 13.5px;
    cursor: pointer;
}

.register-agree-label input[type="checkbox"] {
    margin-top: 3px;
}

.register-submit-btn {
    text-align: center;
}

.why-register-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
}

.why-register-heading {
    margin: 0 0 18px;
    font-size: 0.85em;
    letter-spacing: 0.06em;
    color: var(--flyco-gray-500);
    text-transform: uppercase;
}

.why-register-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--flyco-gray-200);
}

.why-register-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.why-register-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(35, 99, 184, 0.08);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.why-register-item-title {
    font-weight: 600;
    color: var(--flyco-ink);
    margin-bottom: 4px;
}

.why-register-item-desc {
    color: var(--flyco-gray-700);
    font-size: 13.5px;
    line-height: 1.55;
}

.support-contact-card {
    background: var(--flyco-navy);
    border-radius: var(--flyco-radius);
    padding: 24px;
}

.support-contact-heading {
    margin: 0 0 10px;
    font-size: 0.85em;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}

.support-contact-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.support-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.support-contact-row:last-of-type {
    border-bottom: none;
}

.support-contact-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--flyco-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.support-contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.support-contact-card a.support-contact-value {
    color: var(--flyco-white) !important;
    font-weight: 600;
}

.support-contact-card a.support-contact-value:hover,
.support-contact-card a.support-contact-value:focus {
    color: var(--flyco-white) !important;
    text-decoration: underline;
}

.support-contact-card a.support-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--flyco-white) !important;
    font-weight: 600;
    font-size: 13.5px;
}

.support-contact-card a.support-contact-link:hover,
.support-contact-card a.support-contact-link:focus {
    color: rgba(255, 255, 255, 0.8) !important;
}

.account-cards-row {
    margin-top: 4px;
}

.account-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.account-card-heading {
    margin: 0;
    padding: 20px 24px;
    font-size: 1.15em;
    color: var(--flyco-navy);
    border-bottom: 1px solid var(--flyco-gray-200);
}

.account-card-list {
    display: flex;
    flex-direction: column;
}

.account-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--flyco-gray-200);
    color: var(--flyco-ink);
}

.account-card-row:last-child {
    border-bottom: none;
}

.account-card-row:hover,
.account-card-row:focus {
    background: var(--flyco-gray-100);
    color: var(--flyco-ink);
}

.account-card-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(35, 99, 184, 0.08);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.account-card-row-text {
    flex: 1 1 auto;
    font-weight: 400;
}

.account-card-chevron {
    flex: 0 0 auto;
    color: var(--flyco-gray-500);
    font-size: 13px;
}

.account-edit-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.account-profile-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 28px 24px;
    margin-bottom: 20px;
    text-align: center;
}

.account-profile-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(35, 99, 184, 0.08);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3em;
}

.account-profile-name {
    font-weight: 700;
    color: var(--flyco-navy);
    margin-bottom: 4px;
}

.account-profile-email {
    color: var(--flyco-gray-500);
    font-size: 13.5px;
}

.empty-state-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 60px 24px;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    border-radius: 16px;
    background: rgba(35, 99, 184, 0.08);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.empty-state-title {
    margin: 0 0 10px;
    color: var(--flyco-navy);
}

.empty-state-desc {
    color: var(--flyco-gray-500);
    max-width: 420px;
    margin: 0 auto 26px;
    line-height: 1.6;
}

.empty-state-actions {
    display: inline-flex;
    gap: 12px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 992px) {
    .cart-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.cart-table-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 24px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--flyco-gray-700);
    border-bottom: 1px solid var(--flyco-gray-200);
    padding: 0 0 14px;
}

.cart-table thead th.text-right {
    text-align: right;
}

.cart-table tbody td {
    padding: 16px 0;
    border-bottom: 1px solid var(--flyco-gray-200);
    vertical-align: middle;
}

.cart-col-remove {
    width: 36px;
}

.cart-col-price,
.cart-col-total {
    width: 120px;
    white-space: nowrap;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-item-name {
    color: var(--flyco-ink);
    font-weight: 600;
}

.cart-item-name:hover,
.cart-item-name:focus {
    color: var(--flyco-blue);
}

.cart-item-bundle {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: var(--flyco-gray-500);
}

.cart-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--flyco-gray-200);
    border-radius: 8px;
    color: var(--flyco-gray-500);
}

.cart-item-remove:hover,
.cart-item-remove:focus {
    color: var(--flyco-blue);
    border-color: var(--flyco-blue);
}

.cart-total-row td {
    font-weight: 700;
    color: var(--flyco-navy);
}

.cart-coupon-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.cart-coupon-label {
    flex: 0 0 auto;
    margin: 0;
    font-weight: 600;
    color: var(--flyco-ink);
}

.cart-coupon-input {
    flex: 1 1 220px;
}

.cart-coupon-btn {
    flex: 0 0 auto;
}

.cart-coupon-applied {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
}

.cart-checkout-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.cart-checkout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-trust-card {
    background: var(--flyco-white);
    border: 1px solid var(--flyco-gray-200);
    border-radius: var(--flyco-radius);
    box-shadow: var(--flyco-shadow-sm);
    padding: 22px 24px;
}

.cart-trust-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--flyco-gray-200);
    color: var(--flyco-ink);
    font-size: 13.5px;
}

.cart-trust-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-trust-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(35, 99, 184, 0.08);
    color: var(--flyco-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 576px) {
    .cart-col-price,
    .cart-col-total {
        width: auto;
    }
}

@media (max-width: 768px) {
    .register-form-row {
        flex-direction: column;
        gap: 0;
    }
}

.columns.leading{
    padding-top: 40px;
    padding-bottom: 40px;
}

.checkout-section-label {
    display: block;
    font-weight: 600;
    color: var(--flyco-ink);
    margin-bottom: 10px;
}

.checkout-radio-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--flyco-gray-100);
    border-radius: 8px;
}

.checkout-radio-row:last-child {
    margin-bottom: 0;
}

.checkout-radio-row input[type="radio"] {
    flex: 0 0 auto;
}

.checkout-radio-row label {
    margin: 0;
    font-weight: 400;
    color: var(--flyco-ink);
    cursor: pointer;
}

.checkout-select-list {
    width: 100%;
    border: 1px solid var(--flyco-gray-200);
    border-radius: 8px;
    padding: 6px;
    font-family: var(--flyco-font-body);
    font-size: 13.5px;
    margin-bottom: 15px;
}

.checkout-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.checkout-agree-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.checkout-agree-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 400;
    color: var(--flyco-gray-700);
    font-size: 13.5px;
    cursor: pointer;
}

.checkout-inline-fields {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.checkout-inline-fields .form-control {
    width: auto;
}