@media (max-width: 768px) {
    .footer-contact-bar {
        display: none !important;
    }
}
body {
    padding-top: 0; /* Hero sections handle their own header offset */
}
/* Custom scrollbar for storyline box */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #009FE3;
    border-radius: 8px;
}
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #009FE3 #e0f2fe;
}
/* --- STAT CARDS GLOW & PULSE --- */
.stat-card {
    background: #f8fafc;
    border-radius: 2rem;
    box-shadow: 0 0 0 0 #009FE3;
    transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), transform 0.2s;
    position: relative;
    z-index: 1;
}
.stat-card:hover {
    box-shadow: 0 0 32px 0 #009FE3cc, 0 0 0 4px #009FE333;
    animation: stat-pulse 0.7s cubic-bezier(.4,0,.2,1) infinite alternate;
    transform: translateY(-4px) scale(1.03);
}
@keyframes stat-pulse {
    0% { box-shadow: 0 0 32px 0 #009FE3cc, 0 0 0 4px #009FE333; }
    100% { box-shadow: 0 0 48px 8px #009FE3cc, 0 0 0 8px #009FE333; }
}

/* Gold 5-star card */
.stat-card-gold {
    background: linear-gradient(135deg, #fffbe6 60%, #ffe066 100%);
    box-shadow: 0 0 0 0 #FFD700;
}
.stat-card-gold:hover {
    box-shadow: 0 0 32px 0 #FFD700cc, 0 0 0 4px #FFD70033;
    animation: stat-gold-pulse 0.7s cubic-bezier(.4,0,.2,1) infinite alternate;
}
@keyframes stat-gold-pulse {
    0% { box-shadow: 0 0 32px 0 #FFD700cc, 0 0 0 4px #FFD70033; }
    100% { box-shadow: 0 0 48px 8px #FFD700cc, 0 0 0 8px #FFD70033; }
}

/* Green accent for 100% card */
.stat-card-green:hover {
    box-shadow: 0 0 32px 0 #10b981cc, 0 0 0 4px #10b98133;
    animation: stat-green-pulse 0.7s cubic-bezier(.4,0,.2,1) infinite alternate;
}
@keyframes stat-green-pulse {
    0% { box-shadow: 0 0 32px 0 #10b981cc, 0 0 0 4px #10b98133; }
    100% { box-shadow: 0 0 48px 8px #10b981cc, 0 0 0 8px #10b98133; }
}

/* Purple accent for 365 card */
.stat-card-purple:hover {
    box-shadow: 0 0 32px 0 #8b5cf6cc, 0 0 0 4px #8b5cf633;
    animation: stat-purple-pulse 0.7s cubic-bezier(.4,0,.2,1) infinite alternate;
}
@keyframes stat-purple-pulse {
    0% { box-shadow: 0 0 32px 0 #8b5cf6cc, 0 0 0 4px #8b5cf633; }
    100% { box-shadow: 0 0 48px 8px #8b5cf6cc, 0 0 0 8px #8b5cf633; }
}

/*
Theme Name: Cycle Fix London 2026 Final
Theme URI: https://cyclefixlondon.co.uk
Description: Professional cycling workshop website with smooth page transitions.
Version: 4.4.0
Author: Cycle Fix London
Text Domain: cyclefix-final
*/

/* --- DESIGN SYSTEM --- */
:root {
    --primary: #009FE3;
    --primary-hover: #00d4ff;
    --dark: #0B1120;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

/* --- BASE STYLES --- */
* {
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    overscroll-behavior-x: none;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* --- SHOP GRID --- */
.shop-grid {
    background: #f8fafc;
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Copy block below shop grid should never overlap cards */
.shop-copy-section {
    position: relative;
    z-index: 0;
    clear: both;
    margin-top: 4rem;
}

.shop-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 0.5rem 0 1.25rem;
}

.shop-filters .product-search {
    flex: 1 1 280px;
}

.shop-filters .category-chips {
    flex: 2 1 320px;
}

.shop-promos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.shop-top-filters {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 0.4rem 0.75rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}

.shop-top-row {
    display: none;
}

.shop-filter.categories {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.shop-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.shop-category-pills .pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.shop-category-pills .pill.is-active,
.shop-category-pills .pill:hover {
    background: #0b1120;
    color: #ffffff;
    border-color: #0b1120;
}

@media (max-width: 900px) {
    .shop-top-row {
        grid-template-columns: 1fr;
    }
}

.filter-card {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 1rem 1.125rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.filter-title {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0b1120;
    margin: 0 0 0.75rem;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
}

.filter-select {
    width: 100%;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0b1120;
    background: #f8fafc;
}

.filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.375rem;
}

.filter-list li {
    margin: 0;
}

.filter-list a {
    display: block;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #64748b;
    text-decoration: none;
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease;
}

.filter-list a:hover {
    color: #0b1120;
    background: #f1f5f9;
}

.filter-list a.is-active {
    background: #0b1120;
    color: #ffffff;
    padding: 0.4rem 0.75rem;
    font-weight: 700;
}

.repair-card {
    background: #fff7ed;
    border-color: #fed7aa;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.1);
    padding: 0.875rem 1rem;
}

.repair-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #c2410c;
    margin: 0 0 0.5rem;
}

.repair-text {
    font-size: 0.75rem;
    color: #9a3412;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.repair-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background 0.2s ease;
}

.repair-cta:hover {
    background: #ea580c;
    color: #ffffff;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 0.75rem;
    border-radius: 999px;
    border: 2px solid #009fe3;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #0b1120;
    background: #ffffff;
}

.search-input::placeholder {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
}

.search-button {
    position: absolute;
    right: 0.25rem;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: #009fe3;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-button svg {
    width: 14px;
    height: 14px;
}

.search-button:hover {
    background: #0080b3;
    transform: scale(1.05);
}

.shop-results,
.shop-results .woocommerce {
    width: 100%;
    display: flow-root;
    margin-bottom: 2rem;
}

/* ============================================
   GLOBAL WOOCOMMERCE FIX - Catch ALL product grids
   on the shop page template
   ============================================ */
.shop-grid ul.products,
.shop-grid .products,
.shop-grid-layout .shop-results ul.products,
.page-template-page-shop ul.products,
body.page-template-page-shop ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.25rem !important;
    width: calc(100% - 1.75rem) !important;
}

.shop-grid ul.products li.product,
.shop-grid .products li.product,
.shop-grid-layout .shop-results li.product,
.page-template-page-shop ul.products li.product,
body.page-template-page-shop ul.products li.product,
body.page-template-page-shop li.product {
    width: 100% !important;
    min-height: 350px !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    padding-bottom: 3.75rem !important;
    position: relative !important;
}

.shop-grid li.product img,
.shop-grid-layout .shop-results li.product img,
.page-template-page-shop li.product img,
body.page-template-page-shop li.product img {
    width: 100% !important;
    height: 220px !important;
    object-fit: contain !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
}

/* WooCommerce toolbar layout + ordering styling */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin: 0;
}

.woocommerce .woocommerce-ordering {
    float: none;
    position: relative;
}

.woocommerce .woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 44px 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background-color: #ffffff;
    line-height: 1.2;
    cursor: pointer;
    max-width: 100%;
    font: inherit;
}

.woocommerce .woocommerce-ordering::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.6;
}

.woocommerce .woocommerce-ordering select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    display: inline-flex;
    align-items: center;
}

.woocommerce .woocommerce-ordering {
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .woocommerce .woocommerce-result-count {
        float: left;
    }
    .woocommerce .woocommerce-ordering {
        float: right;
    }
}

@media (max-width: 767px) {
    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .woocommerce .woocommerce-ordering select {
        width: 100%;
    }
}

.shop-results .woocommerce-result-count,
.shop-results .woocommerce-ordering {
    display: block !important;
    margin: 0 !important;
}

.shop-results .woocommerce {
    max-width: 520px;
    margin: 0 auto;
}

.shop-results .woocommerce-result-count {
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.7rem;
}

.shop-results .woocommerce-ordering select {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 0.25rem 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.7rem;
    height: auto;
}

.shop-grid li.product > img,
.shop-grid-layout .shop-results li.product > img,
.page-template-page-shop li.product > img,
body.page-template-page-shop li.product > img {
    display: none !important;
}

/* ============================================
   WOOCOMMERCE PRODUCT GRID - 4 COLUMNS
   Ultra high specificity to override WooCommerce defaults
   ============================================ */

/* Product Grid Container - MUST expand to full width */
.shop-results,
.shop-results .woocommerce {
    width: 100% !important;
    min-width: 100% !important;
    display: block !important;
}

/* The products grid - target ALL possible WooCommerce product grids */
.shop-results ul.products,
.shop-results .woocommerce ul.products,
body .shop-results ul.products,
body.woocommerce .shop-results ul.products,
.woocommerce-page .shop-results ul.products,
.shop-results ul.products[class],
.shop-results .products,
/* Also target without .shop-results in case shortcode outputs differently */
.shop-grid ul.products,
.shop-grid .woocommerce ul.products,
.shop-grid-layout ul.products,
ul.products.columns-4,
ul.products.columns-3,
ul.products.columns-2,
.woocommerce ul.products.columns-4,
.woocommerce ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
    align-items: stretch !important;
    margin-bottom: 2rem !important;
}

/* Adjust grid when only a few products are shown */
.shop-results ul.products.products-count-1,
.shop-results .woocommerce ul.products.products-count-1,
body .shop-results ul.products.products-count-1 {
    grid-template-columns: minmax(0, 1fr) !important;
}

.shop-results ul.products.products-count-2,
.shop-results .woocommerce ul.products.products-count-2,
body .shop-results ul.products.products-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.shop-results ul.products.products-count-3,
.shop-results .woocommerce ul.products.products-count-3,
body .shop-results ul.products.products-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.shop-results ul.products.products-count-1 li.product,
.shop-results .woocommerce ul.products.products-count-1 li.product,
body .shop-results ul.products.products-count-1 li.product {
    max-width: 520px;
}

.shop-results ul.products.products-count-1,
.shop-results ul.products.products-count-2,
.shop-results ul.products.products-count-3 {
    justify-items: start !important;
}

/* Remove ALL pseudo-elements that WooCommerce adds for float clearing */
.shop-results ul.products::before,
body .shop-results ul.products::before {
    display: none !important;
    content: none !important;
    clear: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* WooCommerce loop clearfix + flex layout (global fix) */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    float: none !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.woocommerce ul.products::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.product * {
    box-sizing: border-box;
}

/* Ensure product cards can grow with content and keep button inside */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product .product,
.woocommerce ul.products li.product .product-inner,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product > a {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
    position: static !important;
    max-width: 100%;
    width: 100%;
    display: block;
    margin-top: auto;
    white-space: normal;
}

/* ============================================
   PRODUCT CARD STYLING
   Force explicit dimensions to prevent collapse
   ============================================ */

/* Product Card Container */
.shop-results ul.products li.product,
.shop-results ul.products > li,
.shop-results .products li.product,
body .shop-results ul.products li.product,
body.woocommerce .shop-results ul.products li.product,
.woocommerce .shop-results ul.products li.product,
.shop-results li.product,
ul.products li.product {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 350px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    padding-bottom: 1rem !important;
    float: none !important;
    clear: none !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    overflow: hidden !important;
    list-style: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.shop-results ul.products li.product:hover,
.shop-results li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12) !important;
}

/* Product Link Wrapper - MUST expand to fill the card */
.shop-results li.product > a,
.shop-results li.product a.woocommerce-LoopProduct-link,
.shop-results li.product .woocommerce-LoopProduct-link,
.shop-results li.product > a.woocommerce-loop-product__link,
ul.products li.product > a {
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    color: inherit !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
}

/* ============================================
   PRODUCT IMAGE - Force visible dimensions
   ============================================ */
.shop-results li.product img,
.shop-results li.product a img,
.shop-results li.product .woocommerce-LoopProduct-link img,
.shop-results li.product img.wp-post-image,
.shop-results li.product .wp-post-image,
.shop-results li.product .woocommerce-placeholder,
ul.products li.product img {
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 18px !important;
    margin: 0 0 0.75rem !important;
    padding: 0 !important;
    background: #f8fafc !important;
    display: block !important;
    flex-shrink: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ============================================
   PRODUCT CONTENT ELEMENTS
   ============================================ */

/* All text elements inside the product link need padding */
.shop-results li.product .product-card-category,
.shop-results li.product .woocommerce-loop-product__title,
.shop-results li.product h2,
.shop-results li.product .price,
.shop-results li.product a.added_to_cart {
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
}

/* ============================================
   SALE BADGE
   ============================================ */
.shop-results li.product .onsale,
.shop-results li.product span.onsale {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    background: #0b1120 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-size: 0.6rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 999px !important;
    z-index: 10 !important;
    margin: 0 !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* Featured badge */
.shop-results li.product .product-card-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: #f97316 !important;
    color: #ffffff !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.55rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    z-index: 10;
}

/* ============================================
   PRODUCT CATEGORY
   ============================================ */
.shop-results li.product .product-card-category {
    display: block !important;
    font-size: 0.6rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #f97316 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.25rem !important;
    order: 2;
}

/* ============================================
   PRODUCT TITLE
   ============================================ */
.shop-results li.product .woocommerce-loop-product__title,
.shop-results li.product h2.woocommerce-loop-product__title,
.shop-results li.product h2 {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    color: #0b1120 !important;
    margin: 0 0 0.5rem !important;
    min-height: auto;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    order: 3;
}

/* ============================================
   PRODUCT PRICE
   ============================================ */
.shop-results li.product .price,
.shop-results li.product span.price {
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #0b1120 !important;
    margin-bottom: 0.75rem !important;
    margin-top: 0 !important;
    display: block !important;
    order: 4;
}

.shop-results li.product .price del {
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    margin-right: 0.35rem !important;
}

.shop-results li.product .price ins {
    text-decoration: none !important;
    color: #0b1120 !important;
    font-weight: 900 !important;
}

/* ============================================
   ADD TO CART BUTTON
   ============================================ */
.shop-results li.product .button,
.shop-results li.product .add_to_cart_button,
.shop-results li.product a.button,
.shop-results li.product a.add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch;
    width: 100% !important;
    height: auto !important;
    margin: 0.6rem 0.875rem 0.8rem !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: 999px !important;
    background: #009fe3 !important;
    color: #ffffff !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    box-shadow: 0 10px 24px rgba(0, 159, 227, 0.3);
    order: 5;
    position: static !important;
    line-height: 1.1 !important;
    margin-top: auto !important;
}

.shop-results li.product .button:hover,
.shop-results li.product .add_to_cart_button:hover {
    background: #00d4ff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 159, 227, 0.4);
}

.shop-results li.product .button::before,
.shop-results li.product .add_to_cart_button::before {
    content: none;
    display: none;
}

/* Optional quick view button alignment (if plugin outputs one) */
.shop-results li.product .yith-wcqv-button,
.shop-results li.product .quick-view-button {
    position: absolute;
    bottom: 1rem;
    right: 4.75rem;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0b1120;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

/* Added to cart state */
.shop-results li.product .button.added,
.shop-results li.product .add_to_cart_button.added {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* View cart link after adding */
.shop-results li.product a.added_to_cart {
    display: none !important;
}

.shop-results li.product a.added_to_cart:hover {
    background: #e2e8f0 !important;
}

/* Loading state */
.shop-results li.product .button.loading,
.shop-results li.product .add_to_cart_button.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Select Options button (variable products) */
.shop-results li.product .button.product_type_variable {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.shop-results li.product .button.product_type_variable:hover {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%) !important;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

/* Grouped products */
.shop-results li.product .button.product_type_grouped {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* External products */
.shop-results li.product .button.product_type_external {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* LEGACY: Keep cyclefix classes for backwards compatibility */
.cyclefix-add-to-cart-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    width: 100%;
    padding-bottom: 0.75rem;
}

.cyclefix-qty-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 3px;
    width: 100%;
}

.cyclefix-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #ffffff;
    color: #0b1120;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cyclefix-qty-btn:hover {
    background: #009fe3;
    color: #ffffff;
}

.cyclefix-qty-btn:active {
    transform: scale(0.95);
}

.cyclefix-qty-input {
    width: 36px;
    height: 28px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #0b1120;
    -moz-appearance: textfield;
}

.cyclefix-qty-input::-webkit-outer-spin-button,
.cyclefix-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Basket Button */
.cyclefix-add-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100% !important;
    padding: 0.6rem 0.75rem !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #009fe3 0%, #0080b3 100%) !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 15px rgba(0, 159, 227, 0.35);
    text-decoration: none !important;
}

.cyclefix-add-btn:hover {
    background: linear-gradient(135deg, #00b8ff 0%, #009fe3 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 159, 227, 0.45);
}

.cyclefix-add-btn:active {
    transform: translateY(0);
}

.cyclefix-add-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyclefix-add-btn .btn-icon svg {
    width: 18px;
    height: 18px;
}

.cyclefix-add-btn .btn-text {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

/* Added to cart state */
.cyclefix-add-btn.added {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.cyclefix-add-btn.added .btn-text::after {
    content: ' ✓';
}

/* Loading state */
.cyclefix-add-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.cyclefix-add-btn.loading .btn-icon svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Select Options / Variable Products */
.cyclefix-select-options {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.cyclefix-select-options:hover {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* View Products / Grouped */
.cyclefix-view-products {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.cyclefix-view-products:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* External Product */
.cyclefix-external {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

.cyclefix-external:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%) !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}

/* Out of Stock */
.cyclefix-out-of-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: not-allowed;
}

/* Hide default WooCommerce button styling when our custom is present */
.shop-results li.product .cyclefix-add-to-cart-wrap .button::before {
    display: none !important;
    content: none !important;
}

.shop-results li.product .onsale {
    left: auto;
    right: 18px;
    top: 18px;
    background: #0b1120;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-results nav.woocommerce-pagination {
    margin-top: 2rem;
}

.shop-results nav.woocommerce-pagination ul {
    border: none;
    display: flex;
    gap: 0.5rem;
}

.shop-results nav.woocommerce-pagination li {
    border: none;
}

.shop-results nav.woocommerce-pagination a,
.shop-results nav.woocommerce-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #0b1120;
    font-weight: 800;
    text-decoration: none;
}

.shop-results nav.woocommerce-pagination span.current {
    background: #0b1120;
    color: #ffffff;
    border-color: #0b1120;
}

/* Book Service Card - Matches header "Book Now" button style */
.book-service-card {
    background: #009FE3 !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 159, 227, 0.4);
    color: #ffffff;
    text-align: center;
    padding: 1.25rem 1rem;
    transition: all 0.2s ease;
}

.book-service-card:hover {
    background: #00d4ff;
    box-shadow: 0 12px 32px rgba(0, 159, 227, 0.5);
}

.book-service-card .service-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.book-service-card .service-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.book-service-card .service-title {
    font-size: 0.85rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.book-service-card .service-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.875rem;
    line-height: 1.4;
}

.book-service-card .service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #009fe3;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid rgba(0, 159, 227, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-service-card .service-cta:hover {
    background: #00d4ff;
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.book-service-card .service-cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Free Shipping Banner */
.free-shipping-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    padding: 0.75rem 1rem;
    text-align: center;
    color: #ffffff;
}

.free-shipping-banner p {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.free-shipping-banner svg {
    width: 16px;
    height: 16px;
}

/* Product Card Enhancements */
.shop-results li.product {
    overflow: hidden;
}

/* Product image overlay on hover */
.shop-results li.product > a {
    position: relative;
    overflow: hidden;
    display: block;
}

.shop-results li.product > a::after {
    content: none;
    display: none;
}

.shop-results li.product:hover > a::after {
    opacity: 0;
    transform: translateY(0);
}

/* Sale badge pulse animation */
.shop-results li.product .onsale {
    animation: salePulse 2s ease-in-out infinite;
}

@keyframes salePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(11, 17, 32, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(11, 17, 32, 0);
    }
}

/* Product added to cart animation */
.shop-results li.product.product-added {
    animation: addedToCart 0.5s ease;
}

@keyframes addedToCart {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), 0 12px 32px rgba(15, 23, 42, 0.12);
    }
    100% {
        transform: scale(1);
    }
}

/* Cart toast notification */
.cyclefix-cart-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cyclefix-cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cyclefix-cart-toast svg {
    flex-shrink: 0;
}

/* Wishlist/Favorite button (future enhancement) */
.product-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shop-results li.product:hover .product-wishlist-btn {
    opacity: 1;
    transform: scale(1);
}

.product-wishlist-btn:hover {
    background: #ffffff;
    transform: scale(1.1) !important;
}

.product-wishlist-btn svg {
    width: 16px;
    height: 16px;
    color: #64748b;
    transition: all 0.2s ease;
}

.product-wishlist-btn:hover svg,
.product-wishlist-btn.active svg {
    color: #ef4444;
    fill: #ef4444;
}

/* Shop header stats */
.shop-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    margin-bottom: 1rem;
}

.shop-stats-bar .stat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #64748b;
}

.shop-stats-bar .stat svg {
    width: 14px;
    height: 14px;
    color: #009fe3;
}

.shop-stats-bar .stat strong {
    color: #0b1120;
    font-weight: 800;
}

/* Large desktop: 4 columns */
@media (max-width: 1400px) {
    .shop-grid-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .shop-filters {
        max-width: 100%;
    }
}

/* Medium desktop: 3 columns */
@media (max-width: 1200px) {
    .shop-results ul.products {
        gap: 1rem !important;
    }

    .shop-results ul.products li.product,
    .shop-results li.product {
        min-height: 300px !important;
    }

    .shop-results li.product img,
    .shop-results li.product a img,
    .shop-results li.product .wp-post-image {
        height: 160px !important;
        min-height: 160px !important;
    }
}

/* Tablet landscape: sidebar collapses to top, 3 columns */
@media (max-width: 1024px) {
    .shop-grid-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .shop-filters {
        gap: 0.75rem;
        max-width: 100%;
    }

    .shop-promos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-card {
        padding: 0.75rem;
    }

    .filter-title {
        margin-bottom: 0.5rem;
        font-size: 0.6rem;
    }

    .filter-list {
        gap: 0.25rem;
    }

    .filter-list a {
        font-size: 0.75rem;
        padding: 0.3rem 0.4rem;
    }

    .repair-card {
        display: none;
    }

    /* Book Service card spans full width on tablet */
    .book-service-card {
        grid-column: span 2;
        grid-row: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0.875rem 1.25rem;
    }

    .book-service-card .service-icon {
        margin: 0;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .book-service-card .service-icon svg {
        width: 20px;
        height: 20px;
    }

    .book-service-card .service-title {
        font-size: 0.8rem;
        margin-bottom: 0.125rem;
    }

    .book-service-card .service-text {
        font-size: 0.65rem;
        margin-bottom: 0;
    }

    .book-service-card .service-cta {
        margin-left: auto;
        width: auto;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }

    .free-shipping-banner {
        grid-column: span 2;
        padding: 0.5rem 0.75rem;
    }

    .free-shipping-banner p {
        font-size: 0.6rem;
    }

    /* Hide Quick View on touch devices */
    .shop-results li.product > a::after {
        display: none;
    }

    .shop-results ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem !important;
    }

    .shop-results ul.products li.product,
    .shop-results li.product {
        min-height: 280px !important;
    }
}

/* Tablet portrait: 2 columns */
@media (max-width: 900px) {
    .shop-filters {
        gap: 0.75rem;
    }

    .book-service-card {
        grid-column: auto;
    }

    .free-shipping-banner {
        grid-column: auto;
    }

    .shop-results ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem !important;
    }

    .shop-promos {
        grid-template-columns: 1fr;
    }

    .shop-results ul.products li.product,
    .shop-results li.product {
        min-height: 300px !important;
    }

    .shop-results li.product img,
    .shop-results li.product a img,
    .shop-results li.product .wp-post-image {
        height: 150px !important;
        min-height: 150px !important;
    }
}

/* Mobile landscape: 2 columns */
@media (max-width: 768px) {
    .shop-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .book-service-card {
        grid-column: span 2;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .book-service-card .service-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }

    .free-shipping-banner {
        grid-column: auto;
    }

    .shop-results li.product {
        border-radius: 12px;
    }

    .shop-results li.product .woocommerce-loop-product__title {
        font-size: 0.8rem;
    }

    .shop-results li.product .price {
        font-size: 0.85rem;
    }

    .cyclefix-qty-btn {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .cyclefix-qty-input {
        width: 32px;
        height: 26px;
        font-size: 0.8rem;
    }

    /* WooCommerce button - tablet */
    .shop-results li.product .button,
    .shop-results li.product .add_to_cart_button {
        padding: 0.6rem 0.75rem !important;
        font-size: 0.65rem !important;
    }
}

/* Mobile portrait: 2 columns (compact) */
@media (max-width: 640px) {
    .shop-grid {
        padding-top: 0.75rem;
        padding-bottom: 1rem;
    }

    .shop-filters {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Book Service card - compact mobile layout */
    .book-service-card {
        grid-column: span 2;
        order: -1;
        flex-direction: row;
        padding: 0.75rem;
        gap: 0.625rem;
    }

    .book-service-card .service-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .book-service-card .service-icon svg {
        width: 18px;
        height: 18px;
    }

    .book-service-card .service-title {
        font-size: 0.75rem;
    }

    .book-service-card .service-text {
        display: none;
    }

    .book-service-card .service-cta {
        padding: 0.4rem 0.75rem;
        font-size: 0.55rem;
        margin-left: auto;
        width: auto;
        margin-top: 0;
    }

    /* Free shipping banner - compact */
    .free-shipping-banner {
        grid-column: span 2;
        padding: 0.5rem;
    }

    .free-shipping-banner p {
        font-size: 0.55rem;
    }

    .free-shipping-banner svg {
        width: 14px;
        height: 14px;
    }

    .filter-card {
        padding: 0.625rem;
    }

    .filter-title {
        font-size: 0.55rem;
        margin-bottom: 0.375rem;
    }

    .filter-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .filter-list li {
        flex: 0 0 auto;
    }

    .filter-list a {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
    }

    .filter-list a.is-active {
        padding: 0.25rem 0.625rem;
    }

    .search-input {
        padding: 0.5rem 2.25rem 0.5rem 0.625rem;
        font-size: 0.65rem;
    }

    .search-button {
        width: 24px;
        height: 24px;
    }

    .filter-select {
        padding: 0.4rem 0.5rem;
        font-size: 0.65rem;
    }

    .shop-results ul.products {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.75rem !important;
    }

    .shop-results ul.products li.product,
    .shop-results li.product {
        border-radius: 10px;
        min-height: 260px !important;
    }

    .shop-results li.product img,
    .shop-results li.product a img,
    .shop-results li.product .wp-post-image {
        height: 120px !important;
        min-height: 120px !important;
    }

    .shop-results li.product .product-card-badge {
        top: 6px;
        left: 6px;
        font-size: 0.5rem;
        padding: 0.2rem 0.4rem;
    }

    .shop-results li.product .product-card-category {
        font-size: 0.5rem;
        margin-top: 0.5rem;
        letter-spacing: 0.06em;
    }

    .shop-results li.product .woocommerce-loop-product__title {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 2;
    }

    .shop-results li.product .price {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }

    .shop-results li.product .product-card-category,
    .shop-results li.product .woocommerce-loop-product__title,
    .shop-results li.product .price,
    .shop-results li.product .cyclefix-add-to-cart-wrap {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* WooCommerce button - mobile */
    .shop-results li.product .button,
    .shop-results li.product .add_to_cart_button {
        padding: 0.5rem 0.5rem !important;
        font-size: 0.55rem !important;
        border-radius: 8px !important;
        margin: auto 0.5rem 0.5rem !important;
        width: calc(100% - 1rem) !important;
    }

    .shop-results li.product a.added_to_cart {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.5rem !important;
        margin: 0 0.5rem 0.5rem !important;
        width: calc(100% - 1rem) !important;
    }

    /* Cart toast - mobile */
    .cyclefix-cart-toast {
        bottom: 16px;
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
    }
}

/* Very small screens (iPhone SE, small Android) */
@media (max-width: 400px) {
    .shop-filters {
        gap: 0.375rem;
    }

    .book-service-card {
        padding: 0.5rem 0.625rem;
    }

    .book-service-card .service-icon {
        width: 32px;
        height: 32px;
    }

    .book-service-card .service-title {
        font-size: 0.7rem;
    }

    .book-service-card .service-cta {
        padding: 0.35rem 0.5rem;
        font-size: 0.5rem;
    }

    .free-shipping-banner {
        padding: 0.375rem;
    }

    .free-shipping-banner p {
        font-size: 0.5rem;
    }

    .filter-card {
        padding: 0.5rem;
    }

    .filter-title {
        font-size: 0.5rem;
    }

    .filter-list a {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }

    .shop-results ul.products {
        gap: 0.375rem;
    }

    .shop-results li.product a img,
    .shop-results li.product > a > img {
        height: 85px;
    }

    .shop-results li.product .woocommerce-loop-product__title {
        font-size: 0.65rem;
    }

    .shop-results li.product .price {
        font-size: 0.7rem;
    }

    /* WooCommerce button - very small screens */
    .shop-results li.product .button,
    .shop-results li.product .add_to_cart_button {
        padding: 0.45rem 0.4rem !important;
        font-size: 0.5rem !important;
    }
}

.min-h-screen {
    overflow-x: hidden;
}

.seo-keyword-block {
    padding: 0.5rem 0;
}

.seo-keyword-block p {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    color: #64748b;
    letter-spacing: 0.02em;
}

.seo-content-block {
    padding: 0.75rem 0 1.25rem;
}

.seo-content-block p {
    margin: 0 0 0.6rem 0;
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.seo-content-block h2 {
    margin: 0 0 0.5rem 0;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    color: #475569;
    letter-spacing: 0.04em;
}

.seo-content-block p:last-child {
    margin-bottom: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.03em;
}

/* --- HEADER --- */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

:root {
    --header-height: 64px;
}

@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }
}

.nav-pill {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--dark);
}

.nav-pill-home {
    background: var(--primary) !important;
    color: #fff !important;
}

.nav-pill-home:hover {
    background: var(--primary-hover) !important;
    color: #fff !important;
}

.nav-phone-pill {
    white-space: nowrap;
    line-height: 1;
}

@media (max-width: 767px) {
    .nav-phone-pill {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 560px) {
    .header-actions {
        gap: 0.4rem;
    }

    .nav-phone-pill,
    .nav-book-pill {
        padding: 0.42rem 0.55rem;
        font-size: 9px;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 420px) {
    .nav-phone-pill,
    .nav-book-pill {
        padding: 0.36rem 0.5rem;
        font-size: 8px;
        letter-spacing: 0.04em;
    }

    .nav-phone-pill svg,
    .nav-book-pill svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 360px) {
    .nav-phone-pill span {
        font-size: 7px;
    }
}

.mobile-menu-panel {
    position: static;
}

@media (max-width: 1024px) {
    .mobile-menu-panel {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        z-index: 998;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 24px;
    }

    body.menu-open {
        overflow: hidden;
    }
}

.hero-standard {
    padding-top: calc(var(--header-height) + 0.75rem) !important;
    padding-bottom: 1.25rem !important;
    min-height: 0 !important;
    height: auto !important;
}

.hero-standard h1 {
    font-size: clamp(1.9rem, 3.1vw, 3rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.25rem !important;
    font-family: 'Montserrat', sans-serif !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
}

@media (max-width: 768px) {
    .hero-standard {
        padding-top: calc(var(--header-height) + 0.5rem) !important;
        padding-bottom: 1rem !important;
        min-height: 0 !important;
        height: auto !important;
    }
}

/* Ensure hero container also has padding for fixed header */
section.hero-standard > .container:first-child {
    padding-top: 0 !important;
}

.hero-standard.hero-compact {
    padding-top: calc(var(--header-height) + 0.5rem) !important;
    padding-bottom: 0.75rem !important;
    min-height: 0 !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .hero-standard.hero-compact {
        padding-top: calc(var(--header-height) + 0.4rem) !important;
        padding-bottom: 0.6rem !important;
        min-height: 0 !important;
        height: auto !important;
    }
}

.nav-pill:hover {
    background: var(--primary);
    color: white;
}

.site-logo .custom-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* --- FIXED FOOTER ISSUES --- */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 40px 0;
}

.social-icons-footer a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
    filter: brightness(1);
}

.whatsapp-float {
    z-index: 10000 !important;
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    .social-icons-footer {
        justify-content: center !important;
    }
}

.social-icons-footer a:hover,
.social-icons-footer a:focus-visible {
    transform: translateY(-2px) scale(1.15) !important;
    filter: brightness(1.2) drop-shadow(0 0 8px currentColor) drop-shadow(0 0 16px currentColor) !important;
    box-shadow: 0 8px 20px rgba(0, 159, 227, 0.4) !important;
}

.social-icons-footer svg {
    width: 16px !important;
    height: 16px !important;
}

.footer-logo svg {
    width: 48px;
    height: 48px;
}

.footer-logo h2 {
    font-size: 20px;
    letter-spacing: -1px;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--primary);
    font-size: 11px;
    margin-bottom: 24px;
    letter-spacing: 0.2em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav a:hover {
    color: var(--primary);
}

.cert-group img,
.payment-group img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 700px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slider-dot.active {
    background: var(--primary);
    width: 32px;
}

/* --- CAROUSEL --- */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-track {
    display: flex;
    gap: 120px;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.brand-item img {
    height: 48px;
    opacity: 1;
    transition: all 0.3s ease;
    filter: grayscale(0);
}

/* Cytech logo needs inversion since it's white on white background */
.brand-item img[alt="Cytech"],
.brand-item img[alt*="cytech"],
.brand-item img[src*="cytech"],
.brand-item img[src*="Cytech"] {
    filter: brightness(0) invert(1);
}

.brand-item:hover img {
    transform: scale(1.1);
}

/* Keep Cytech inverted on hover too */
.brand-item:hover img[alt="Cytech"],
.brand-item:hover img[alt*="cytech"],
.brand-item:hover img[src*="cytech"],
.brand-item:hover img[src*="Cytech"] {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

/* --- PREMIUM ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    transform: translateY(40px);
}

.active.fade-up {
    transform: translateY(0);
}

.page-fade {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down {
    animation: slide-down 0.25s ease-out forwards;
}

/* --- TOOLTIPS --- */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-content {
    visibility: hidden;
    width: 220px;
    background-color: #0B1120;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 150%;
    left: 50%;
    margin-left: -110px;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #0B1120 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* --- SERVICE GRID UTILS --- */
.service-icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

/* --- SMOOTH PAGE TRANSITIONS --- */
html {
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    background-color: #0B1120;
}

body {
    opacity: 1;
}

/* --- FOOTER TABS --- */
.footer-tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #6b7280;
    padding: 10px 16px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-tab-panel {
    animation: fadeIn 0.3s ease-out;
}

/* --- MOBILE OPTIMIZATIONS --- */
@media (max-width: 768px) {
    .stat-box-home {
        padding: 12px 16px;
    }

    .stat-number-home {
        font-size: 1.5rem;
    }

    .service-card {
        height: 280px;
    }

    .why-card {
        padding: 1.25rem;
    }

    .container {
        padding: 0 15px;
    }

    /* Improve touch targets on mobile - ensure perfect centering */
    .nav-pill,
    button,
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Perfect centering for all clickable buttons on mobile */
    a.rounded-full,
    button.rounded-full,
    a.px-4,
    a.px-6,
    a.px-8,
    a.px-10,
    button.px-4,
    button.px-6 {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        aspect-ratio: auto !important;
    }
    
    /* Phone number links */
    a[href^="tel:"] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Certifications stack nicely on mobile */
    .cert-group,
    .payment-group {
        justify-content: center;
        gap: 8px;
    }
    
    /* Global mobile price list alignment fix */
    .grid > div.flex.justify-between {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .grid > div.flex.justify-between span:first-child {
        flex: 1;
        text-align: left;
    }
    
    .grid > div.flex.justify-between span:last-child {
        flex-shrink: 0;
        text-align: right;
        white-space: nowrap;
    }
    
    /* Ensure small bullet point divs stay circular (not buttons) */
    div.w-2.h-2.rounded-full {
        border-radius: 9999px !important;
        aspect-ratio: 1 / 1;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .service-card {
        height: 240px;
    }
    
    /* Extra small screen optimizations */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Ensure text fits in buttons */
    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* --- ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }

    body {
        opacity: 1;
    }

    .brand-track {
        animation: none;
    }
}

/* --- FOCUS STATES FOR ACCESSIBILITY --- */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Rounded focus for pills and dropdown items */
.nav-pill:focus,
.nav-pill:focus-visible,
header a:focus,
header a:focus-visible,
header button:focus,
header button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 12px;
}

/* No focus outline for mouse clicks (better UX) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* FAQ answers: keep body text readable vs headings */
.faq-answer {
    font-weight: 400;
    color: #475569;
}

.faq-question span {
    font-weight: 600;
    color: #334155;
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* --- WORKSHOP PRICE LIST --- */
.workshop-packages-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .workshop-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .workshop-packages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .package-card {
        padding: 1.5rem 1rem;
    }
}

.package-card,
.specialty-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2rem;
    padding: 2rem 1.25rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: visible;
}

@media (min-width: 768px) {

    .package-card,
    .specialty-card {
        min-height: 800px;
    }
}

.repair-panel {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2rem;
    padding: 2rem 1.25rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.package-card h3 {
    font-size: 11px;
    margin-bottom: 0;
    line-height: 1.2;
    display: block;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    letter-spacing: 0.08em;
}

.package-card.highlighted {
    border: 2px solid #009FE3;
    background: #eff6ff;
    padding-top: 1.5rem;
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 159, 227, 0.15);
    transform: none;
    z-index: 5;
}

.package-card:hover,
.repair-panel:hover,
.specialty-card:hover {
    transform: translateY(-8px);
    border-color: #009FE3;
    box-shadow: 0 20px 40px rgba(0, 159, 227, 0.2);
}

.most-popular-badge,
.best-value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #009FE3;
    color: #fff;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 159, 227, 0.3);
    z-index: 10;
    border: 2px solid #ffffff;
}

.package-price {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0b1120;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.package-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0b1120;
    line-height: 1.4;
}

.package-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    padding: 2px;
    background: rgba(0, 159, 227, 0.1);
    border-radius: 4px;
    color: #009FE3;
}

.btn-select-package {
    margin-top: auto;
    width: 100%;
    padding: 1rem 0.75rem;
    border-radius: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    background: #009FE3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 159, 227, 0.2);
}

.btn-select-package:hover {
    background: #0077B3;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 159, 227, 0.4);
}

.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    z-index: 1000;
}

@media (min-width: 768px) {
    .sticky-mobile-cta {
        display: none;
    }
}

/* --- SERVICE FINDER --- */
.sf-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.sf-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    flex: 0 1 calc(50% - 15px);
    max-width: 340px;
}

@media (min-width: 768px) {
    .sf-grid .sf-card {
        flex: 0 1 calc(25% - 15px);
    }
}

.sf-card:hover {
    border-color: #009FE3;
    box-shadow: 0 8px 30px rgba(0, 159, 227, 0.15);
    transform: translateY(-4px);
}

.sf-card.active {
    border: 4px solid #009FE3;
    box-shadow: 0 12px 40px rgba(0, 159, 227, 0.25);
    background: #f0f9ff;
}

.sf-card-icon {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    padding: 12px;
}

.sf-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sf-card-label {
    color: #0f2137;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sf-card-sublabel {
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sf-results-grid {
    display: none;
}

.sf-results-grid.visible {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* --- HIDE TICK BADGE ON BIKE CARDS --- */
.sf-card-selected-badge {
    display: none;
}

/* --- FADE EFFECT FOR UNSELECTED BIKE CARDS --- */
.sf-card-grid.has-selection .sf-card:not(.active) {
    opacity: 0.4;
    filter: grayscale(30%);
    transform: scale(0.95);
}

.sf-card-grid.has-selection .sf-card.active {
    opacity: 1;
    filter: none;
    transform: scale(1);
    z-index: 2;
}

/* --- IMPROVED PACKAGE CARD SPACING --- */
.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.package-header h3 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.package-price {
    margin-top: 0.5rem;
}

.package-item-list {
    margin-top: 1rem;
    padding-top: 0.5rem;
}

/* Improved tap area and accessibility for info-trigger */
.info-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    background: #009FE3 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    font-style: normal !important;
    cursor: pointer !important;
    margin-left: 4px !important;
    vertical-align: baseline !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    line-height: 1 !important;
    outline: none !important;
    flex-shrink: 0 !important;
}

.info-trigger:focus {
    box-shadow: 0 0 0 2px #009FE3AA !important;
    background: #0077B3 !important;
}

.info-trigger:hover {
    background: #0077B3 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 2px 6px rgba(0, 159, 227, 0.4) !important;
}


/* --- TOOLTIP POPUP STYLING --- */
.tooltip-popup {
    position: fixed;
    background: #0B1120;
    color: white !important;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    max-width: 200px;
    z-index: 99999 !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.5);
    border: 1px solid #009FE3;
    line-height: 1.5;
}

.tooltip-popup.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-popup::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #0B1120;
}

/* --- TRAINING PAGE CARD FIXES --- */
/* Grid container for training cards */
.training-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.training-card .card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* Push the price section to the bottom and align its content to top */
.training-card .price-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 120px;
}

.training-card .card-footer {
    margin-top: 1.5rem;
    flex-shrink: 0;
}

/* Ensure equal height cards in grid */
section .grid > .training-card {
    align-self: stretch;
}

/* --- CONTACT PAGE GRID ALIGNMENT --- */
/* Ensure contact details and map align at the top */
.contact-grid {
    align-items: flex-start !important;
}

/* --- PHONE BANNER HIGHLIGHTING (GLOBAL) --- */
.phone-banner-highlight {
    background: #009FE3;
    padding: 12px 24px;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 159, 227, 0.3);
    transition: all 0.3s ease;
}

.phone-banner-highlight:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

.phone-banner-highlight svg,
.phone-banner-highlight span {
    color: white;
}

/* --- CLEARER SERVICE CARD FONTS --- */
.package-card h3,
.sf-bike-name,
#sf-bike-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.package-header h3 {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

/* Ensure package card text is crisp */
.package-card {
    -webkit-font-smoothing: antialiased;
}

.package-price {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- HERO BADGES --- */
.hero-badges {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0 !important;
    width: auto !important;
    max-width: 100% !important;
}

/* Increase spacing between hero subtext and badges/icons */
.hero-standard p + div {
    margin-top: 1.75rem !important;
}

/* Preserve homepage hero spacing */
.home .hero-standard p + div,
body.home .hero-standard p + div {
    margin-top: revert !important;
}

.home .hero-badges,
body.home .hero-badges {
    margin-top: revert !important;
}

/* Homepage blue buttons - add spacing below badges */
.home .hero-standard .flex.flex-wrap.gap-3,
body.home .hero-standard .flex.flex-wrap.gap-3 {
    margin-top: 2.5rem !important;
}

/* All other pages - spacing between subtitle and badges */
.hero-standard .hero-badges,
.hero-standard div[style*="display: flex"][style*="justify-content: center"] {
    margin-top: 2rem !important;
}

.hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.625rem 1.25rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 9999px !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    flex-shrink: 0 !important;
    width: auto !important;
    max-width: none !important;
}

.hero-badge span {
    font-size: 10px !important;
    line-height: 1.1 !important;
}

.hero-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-badge-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
}

.hero-badge-icon svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    color: white !important;
    display: block !important;
}

@media (max-width: 900px) {
    .hero-badges {
        flex-wrap: wrap !important;
    }
}

.specialist-dropdown.is-open .specialist-panel {
    opacity: 1;
    visibility: visible;
}

.mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: none;
    justify-content: center;
    padding: 12px 16px;
    background: #f04a24;
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.2);
}

.mobile-sticky-cta a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }
}
