/* CSS Variables for Consistent Theming */
:root {
    --primary-color: #f52008;
    --secondary-color: #333;
    --text-color: #444;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --header-height: 80px;
    --mobile-panel-width: 320px;
    --z-header: 1000;
    --z-mobile-panel: 1100;
    --z-overlay: 1050;
    --z-modal: 1200;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Prevent body scrolling when mobile menu is open */
body.ahive-mobile-menu-open-u4k7b {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Main Header Styles */
.ahive-responsive-header-main-x9k2p {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    z-index: var(--z-header);
    border-bottom: 1px solid rgba(224, 224, 224, 0.3);
}

.ahive-header-container-wrapper-m7n4q {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    gap: 10px;
    min-width: 0;
    /* Prevent flex item from growing beyond container */
}

/* Logo Section */
.ahive-logo-section-container-r8v3w {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 200px;
    overflow: hidden;
    /* Prevent logo overflow */
}

.ahive-header-logo-link-t5b9c {
    display: flex;
    align-items: center;
    height: 62px;
    line-height: 0;
    min-width: 200px;
    white-space: nowrap;
    overflow: hidden;
}

.ahive-header-logo-link-t5b9c img {
    margin-left: -0px;
    height: 62px;
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 250px;
    flex-shrink: 0;
}

/* Desktop Navigation */
.ahive-desktop-navigation-menu-k6f7l {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-right: 20px;
    min-width: 0;
    /* Allow shrinking */
}

.ahive-nav-items-list-p3h8d {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.ahive-nav-item-dropdown-container-z2j5s {
    position: relative;
}

.ahive-nav-item-with-dropdown-n4x1y {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ahive-nav-link-builders-corner-g8u6e,
.ahive-nav-link-standard-h1c9b {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.ahive-nav-link-builders-corner-g8u6e:hover,
.ahive-nav-link-standard-h1c9b:hover {
    color: var(--primary-color);
}

.ahive-desktop-dropdown-arrow-v9i2o {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahive-desktop-dropdown-arrow-v9i2o:hover {
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.1);
}

.ahive-desktop-dropdown-arrow-v9i2o i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.ahive-desktop-dropdown-arrow-v9i2o.active i {
    transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.ahive-desktop-dropdown-menu-l5w3a {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.ahive-desktop-dropdown-menu-l5w3a.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ahive-desktop-dropdown-menu-l5w3a ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.ahive-desktop-dropdown-menu-l5w3a ul li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.ahive-desktop-dropdown-menu-l5w3a ul li a:hover {
    background: rgba(245, 32, 8, 0.05);
    color: var(--primary-color);
}

/* Desktop Header Actions */
.ahive-desktop-header-actions-f4d8x {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 130px;
}

.ahive-desktop-call-button-s6k2j {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 32, 8, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.ahive-desktop-call-button-s6k2j:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.ahive-desktop-auth-container-e7m3n {
    position: relative;
}

.ahive-desktop-auth-button-y5t9u {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahive-desktop-auth-button-y5t9u:hover {
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.1);
}

.ahive-desktop-auth-dropdown-w8p1i {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.ahive-desktop-auth-dropdown-w8p1i.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ahive-auth-dropdown-link-b4v7z {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.ahive-auth-dropdown-link-b4v7z:hover {
    background: rgba(245, 32, 8, 0.05);
    color: var(--primary-color);
}

.ahive-desktop-cta-button-c3x6q {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    white-space: nowrap;
}

.ahive-desktop-cta-button-c3x6q:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Hamburger Toggle */
.ahive-mobile-hamburger-toggle-a9l5k {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-mobile-panel) + 10);
    position: relative;
}

.ahive-hamburger-line-d2f8r {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.ahive-mobile-hamburger-toggle-a9l5k.active .ahive-hamburger-line-d2f8r:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--primary-color);
}

.ahive-mobile-hamburger-toggle-a9l5k.active .ahive-hamburger-line-d2f8r:nth-child(2) {
    opacity: 0;
}

.ahive-mobile-hamburger-toggle-a9l5k.active .ahive-hamburger-line-d2f8r:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--primary-color);
}

/* Mobile Menu Overlay */
.ahive-mobile-menu-overlay-background-x4n7g {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-overlay);
    backdrop-filter: blur(2px);
}

.ahive-mobile-menu-overlay-background-x4n7g.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Right Panel Menu */
.ahive-mobile-right-panel-menu-j8k2v {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: var(--mobile-panel-width);
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: var(--z-mobile-panel);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(224, 224, 224, 0.3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ahive-mobile-right-panel-menu-j8k2v.active {
    transform: translateX(0);
}

.ahive-mobile-panel-close-btn-m5p9t {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(245, 32, 8, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ahive-mobile-panel-close-btn-m5p9t:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.ahive-mobile-panel-content-q3w6s {
    padding: 80px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Mobile Navigation Items */
.ahive-mobile-nav-items-r1h4y {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ahive-mobile-nav-item-with-dropdown-u7e8z {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.ahive-mobile-nav-item-header-i2o5f {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.ahive-mobile-nav-link-l9c3x {
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
}

.ahive-mobile-nav-link-l9c3x:hover {
    color: var(--primary-color);
}

.ahive-mobile-submenu-toggle-b6v0d {
    background: rgba(245, 32, 8, 0.1);
    border: 1px solid rgba(245, 32, 8, 0.2);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahive-mobile-submenu-toggle-b6v0d:hover {
    background: rgba(245, 32, 8, 0.2);
}

.ahive-mobile-submenu-toggle-b6v0d i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.ahive-mobile-submenu-toggle-b6v0d.active i {
    transform: rotate(180deg);
}

.ahive-mobile-submenu-container-k4t7n {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(245, 32, 8, 0.03);
    border-radius: 8px;
    margin-top: 8px;
}

.ahive-mobile-submenu-container-k4t7n.active {
    max-height: 200px;
}

.ahive-mobile-submenu-list-a8w1p {
    list-style: none;
    padding: 12px 0;
    margin: 0;
}

.ahive-mobile-submenu-link-g5j9s {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: var(--transition);
    border-radius: 6px;
    margin: 0 8px;
}

.ahive-mobile-submenu-link-g5j9s:hover {
    background: rgba(245, 32, 8, 0.1);
    color: var(--primary-color);
}

/* Mobile Panel Actions */
.ahive-mobile-panel-actions-z2f6h {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ahive-mobile-action-btn-v3y8c {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.ahive-mobile-request-btn-n7k4m {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.ahive-mobile-request-btn-n7k4m:hover {
    background: transparent;
    color: var(--primary-color);
}

.ahive-mobile-call-btn-s1q5e {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.2);
}

.ahive-mobile-call-btn-s1q5e:hover {
    background: #16a34a;
    color: var(--white);
}

.ahive-mobile-login-btn-p9d2r {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

.ahive-mobile-login-btn-p9d2r:hover {
    background: #2563eb;
    color: var(--white);
}

.ahive-mobile-signup-btn-w6x0t {
    background: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
    border-color: rgba(168, 85, 247, 0.2);
}

.ahive-mobile-signup-btn-w6x0t:hover {
    background: #7c3aed;
    color: var(--white);
}

/* Authentication Modal Styles */
.ahive-auth-modal-overlay-h4s7j {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-modal);
    padding: 20px;
}

.ahive-auth-modal-overlay-h4s7j.active {
    opacity: 1;
    visibility: visible;
}

.ahive-auth-modal-container-t9p2w {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.ahive-auth-modal-overlay-h4s7j.active .ahive-auth-modal-container-t9p2w {
    transform: scale(1) translateY(0);
}

.ahive-auth-modal-close-e6k1x {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.ahive-auth-modal-close-e6k1x:hover {
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.1);
}

.ahive-auth-modal-container-t9p2w h3 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--secondary-color);
    font-size: 24px;
}

.ahive-auth-form-r5n8d {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ahive-auth-form-group-c7b4f {
    position: relative;
    display: flex;
    align-items: center;
}

.ahive-auth-form-group-c7b4f i {
    position: absolute;
    left: 16px;
    color: var(--text-color);
    font-size: 16px;
    z-index: 1;
}

.ahive-auth-form-group-c7b4f input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.ahive-auth-form-group-c7b4f input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 32, 8, 0.1);
}

.ahive-auth-submit-btn-m3v9y {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.ahive-auth-submit-btn-m3v9y:hover {
    background: #d41607;
    transform: translateY(-2px);
}

.ahive-auth-switch-text-l8q6z {
    text-align: center;
    margin-top: 20px;
    color: var(--text-color);
    font-size: 14px;
}

.ahive-auth-switch-link-a1i5o {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.ahive-auth-switch-link-a1i5o:hover {
    text-decoration: underline;
}

/* Responsive Design */

/* Tablet Landscape Optimizations (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
    .ahive-header-container-wrapper-m7n4q {
        padding: 0 16px;
        gap: 8px;
    }

    .ahive-logo-section-container-r8v3w {
        min-width: 180px;
    }

    .ahive-header-logo-link-t5b9c {
        min-width: 180px;
    }

    .ahive-header-logo-link-t5b9c img {
        margin-left: -0px;
        height: 58px;
        max-width: 220px;
    }

    .ahive-nav-items-list-p3h8d {
        gap: 20px;
    }

    .ahive-nav-link-builders-corner-g8u6e,
    .ahive-nav-link-standard-h1c9b {
        font-size: 14px;
    }

    .ahive-desktop-header-actions-f4d8x {
        gap: 10px;
        min-width: 120px;
    }

    .ahive-desktop-cta-button-c3x6q {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* iPad and Small Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .ahive-header-container-wrapper-m7n4q {
        padding: 0 16px;
        gap: 6px;
    }

    .ahive-logo-section-container-r8v3w {
        min-width: 160px;
    }

    .ahive-header-logo-link-t5b9c {
        min-width: 160px;
    }

    .ahive-header-logo-link-t5b9c img {
        margin-left: -0px;
        height: 56px;
        max-width: 200px;
    }

    .ahive-nav-items-list-p3h8d {
        gap: 16px;
    }

    .ahive-nav-link-builders-corner-g8u6e,
    .ahive-nav-link-standard-h1c9b {
        font-size: 13px;
    }

    .ahive-desktop-header-actions-f4d8x {
        gap: 8px;
        min-width: 110px;
    }

    .ahive-desktop-cta-button-c3x6q {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Mobile and Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .ahive-desktop-navigation-menu-k6f7l {
        display: none;
    }

    .ahive-desktop-header-actions-f4d8x {
        display: none;
    }

    .ahive-mobile-hamburger-toggle-a9l5k {
        display: flex;
    }

    /* Mobile header container adjustments */
    .ahive-header-container-wrapper-m7n4q {
        padding: 0 16px;
        display: flex;
        align-items: center;
        position: relative;
    }

    /* Center logo on mobile */
    .ahive-logo-section-container-r8v3w {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        min-width: auto;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    /* Position hamburger menu on the right */
    .ahive-mobile-hamburger-toggle-a9l5k {
        margin-left: auto;
        position: relative;
        z-index: 10;
    }

    /* Mobile logo link adjustments */
    .ahive-header-logo-link-t5b9c {
        justify-content: center;
        min-width: auto;
        white-space: nowrap;
    }

    /* Mobile logo image adjustments */
    .ahive-header-logo-link-t5b9c img {
        margin-left: 0;
        height: 55px;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .ahive-header-container-wrapper-m7n4q {
        padding: 0 16px;
    }

    .ahive-mobile-right-panel-menu-j8k2v {
        width: 100vw;
        max-width: 100vw;
    }

    .ahive-mobile-panel-content-q3w6s {
        padding: 80px 20px 20px;
    }

    .ahive-auth-modal-container-t9p2w {
        padding: 24px;
        margin: 16px;
    }
}

/* Hover Effects for Better UX */
@media (hover: hover) {
    .ahive-nav-item-dropdown-container-z2j5s:hover .ahive-desktop-dropdown-menu-l5w3a {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .ahive-desktop-auth-container-e7m3n:hover .ahive-desktop-auth-dropdown-w8p1i {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }
}

/* Focus Styles for Accessibility */
.ahive-mobile-hamburger-toggle-a9l5k:focus,
.ahive-desktop-dropdown-arrow-v9i2o:focus,
.ahive-desktop-auth-button-y5t9u:focus,
.ahive-mobile-submenu-toggle-b6v0d:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li {
    animation: fadeInUp 0.3s ease forwards;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(1) {
    animation-delay: 0.1s;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(2) {
    animation-delay: 0.15s;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(3) {
    animation-delay: 0.2s;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(4) {
    animation-delay: 0.25s;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(5) {
    animation-delay: 0.3s;
}

/* Header Cart Icon Styles */
.ahive-desktop-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    color: var(--text-color);
    font-size: 20px;
}

.ahive-desktop-cart-button:hover {
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.1);
}

.ahive-cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ahive-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.ahive-cart-badge.active {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Cart Button Styling */
.ahive-mobile-cart-btn {
    background: rgba(245, 32, 8, 0.05);
    color: var(--text-color);
    border-color: rgba(245, 32, 8, 0.1);
    justify-content: flex-start;
}

.ahive-mobile-cart-btn:hover {
    background: rgba(245, 32, 8, 0.1);
    color: var(--primary-color);
}

.ahive-mobile-cart-btn .ahive-cart-icon-wrapper {
    margin-right: 0;
}

.ahive-mobile-cart-btn .ahive-cart-badge {
    top: -5px;
    right: -8px;
    border-color: #f8f9fa;
    /* Match mobile menu background if possible, or white */
}

/* Floating Cart Button */
.ahive-floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #111;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* High z-index to stay on top */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ahive-floating-cart-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.ahive-floating-cart-icon {
    position: relative;
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahive-floating-cart-btn:hover .ahive-floating-cart-icon {
    color: #fff;
}

.ahive-floating-cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ef4444;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ahive-floating-cart-badge.active {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Adjustments for Floating Button */
@media (max-width: 768px) {
    .ahive-floating-cart-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .ahive-floating-cart-icon {
        font-size: 20px;
    }

    .ahive-floating-cart-badge {
        top: -6px;
        right: -8px;
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
}