/* CC UX Improvements */

/* --- Site top bar: trust message + phone + chat --- */
.cc-site-topbar {
    position: relative;
    z-index: 9999;
    width: 100%;
}
.cc-topbar--utility {
    background: #1a3a4a;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    line-height: 1;
    min-height: 36px;
}
.cc-topbar__inner--utility {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
    padding: 0 20px;
}
.cc-topbar__message {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
}
.cc-topbar__sep {
    opacity: 0.7;
    margin: 0 6px;
}
.cc-topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.cc-topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    line-height: 1;
}
.cc-topbar__phone:hover {
    color: #e85d04;
}
.cc-topbar__icon {
    flex-shrink: 0;
}
.cc-topbar__chat {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: #fff;
    color: #1a3a4a;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.2;
}
.cc-topbar__chat:hover {
    background: #e85d04;
    color: #fff;
}
@media (max-width: 991px) {
    .cc-topbar__message {
        font-size: 12px;
    }
    .cc-topbar__sep {
        margin: 0 6px;
    }
}
@media (max-width: 767px) {
    .cc-topbar--utility,
    .cc-topbar__inner--utility {
        min-height: 0;
    }
    .cc-topbar__inner--utility {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 8px 16px;
        gap: 8px;
    }
    .cc-topbar__message {
        font-size: 11px;
        line-height: 1.4;
        white-space: normal;
    }
    .cc-topbar__phone {
        font-size: 13px;
    }
    .cc-topbar__chat {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* --- Global main nav (homepage HTML widget, injected on inner pages) --- */
.cc-global-nav {
    position: relative;
    z-index: 998;
}
.custom-navbar {
    background-color: #002938;
    color: #fff;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.custom-navbar .nav-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.custom-navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
}
.custom-navbar .nav-links li {
    position: relative;
}
.custom-navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 2px 5px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.custom-navbar .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
.custom-navbar .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.custom-navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    background-color: #fff;
    color: #000;
    min-width: 240px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 999;
    list-style: none;
    margin: 0;
    padding: 0;
}
.custom-navbar .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333;
    white-space: nowrap;
    transition: 0.2s;
}
.custom-navbar .dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #1a3a4a;
}
.custom-navbar .dropdown-sub {
    position: relative;
}
.custom-navbar .dropdown-sub .dropdown-menu {
    top: 0;
    left: 100%;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    z-index: 1001;
}
.custom-navbar .dropdown-sub:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}
.custom-navbar .menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}
@media (max-width: 992px) {
    .custom-navbar .menu-toggle {
        display: block;
    }
    .custom-navbar .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        background-color: #1a3a4a;
        margin-top: 10px;
        border-radius: 10px;
    }
    .custom-navbar .nav-links.show {
        display: flex;
    }
    .custom-navbar .dropdown-menu,
    .custom-navbar .dropdown-sub .dropdown-menu {
        position: relative;
        left: 0;
        box-shadow: none;
        background-color: #1a3a4a;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        display: none;
    }
    .custom-navbar .dropdown-menu.show,
    .custom-navbar .dropdown-sub .dropdown-menu.show {
        display: block;
    }
    .custom-navbar .dropdown-menu li a {
        color: #fff;
        padding-left: 30px;
    }
    .custom-navbar .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        color: #fff;
    }
}

/* --- Logo sizing --- */
.site-header .custom-logo,
.site-header img.site-logo,
.elementor-widget-theme-site-logo img {
    max-height: 50px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
}

/* --- White header row (Cover Company style) --- */
.elementor-element-49ba845 {
    border-bottom: 1px solid #e8ecef;
    background: #fff !important;
    --cc-header-logo-h: 84px;
    --cc-header-logo-w: 308px;
    --cc-header-logo-h-compact: 48px;
    --cc-header-logo-w-compact: 176px;
}
.elementor-element-49ba845 > .elementor-container {
    display: grid !important;
    grid-template-columns: auto minmax(240px, 1fr) auto auto;
    align-items: center;
    gap: 16px 20px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 24px;
    width: 100%;
}
.elementor-element-49ba845 .elementor-element-dc8ae43 {
    grid-column: 1;
    grid-row: 1;
    width: auto !important;
    max-width: none !important;
    text-align: left;
    justify-self: start;
}
.elementor-element-49ba845 .elementor-element-bf0a5c0 {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    max-width: 560px;
    justify-self: center;
}
.elementor-element-49ba845 .elementor-element-451a29e {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: auto !important;
}
.elementor-element-49ba845 .elementor-element-5246c52 {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    width: auto !important;
}
.elementor-element-49ba845 .elementor-element-5246c52 .elementor-widget-container {
    margin: 0 !important;
}
.elementor-element-49ba845 .elementor-element-8880378 {
    display: none !important;
}
.cc-header-search-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 560px;
}
.cc-header-search-group .elementor-widget-search-form {
    flex: 1 1 auto;
    min-width: 0;
}
.elementor-element-49ba845 .elementor-search-form__container {
    border: 1px solid #d8dee3 !important;
    border-radius: 999px !important;
    min-height: 44px !important;
    background: #fff !important;
}
.elementor-element-49ba845 .elementor-search-form__input {
    font-size: 14px !important;
}
.elementor-element-49ba845 .elementor-element-dc8ae43 .elementor-widget-theme-site-logo img {
    max-height: var(--cc-header-logo-h) !important;
    max-width: var(--cc-header-logo-w) !important;
    width: auto !important;
    height: auto !important;
}
.cc-header-rfq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 11px 18px;
    background: #1a3a4a;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.2;
}
.cc-header-rfq-btn:hover {
    background: #e85d04;
    color: #fff !important;
}
.elementor-element-49ba845 .elementor-menu-cart__toggle .elementor-button {
    border: 1px solid #222 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #222 !important;
    padding: 10px 18px !important;
    min-height: 44px;
    box-shadow: none !important;
}
.elementor-element-49ba845 .elementor-menu-cart__toggle .elementor-button-text {
    font-weight: 500;
}
.elementor-element-49ba845 .elementor-menu-cart__toggle .elementor-button-icon {
    color: #222 !important;
}
@media (max-width: 991px) {
    .elementor-element-49ba845 {
        --cc-header-logo-h: 56px;
        --cc-header-logo-w: 206px;
        --cc-header-logo-h-compact: 42px;
        --cc-header-logo-w-compact: 154px;
    }
    .elementor-element-49ba845 > .elementor-container {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px 12px;
        padding: 12px 16px;
    }
    .elementor-element-49ba845 .elementor-element-dc8ae43 {
        order: 1;
        width: 40% !important;
    }
    .elementor-element-49ba845 .elementor-element-451a29e {
        order: 2;
        width: auto !important;
        margin-left: auto;
    }
    .elementor-element-49ba845 .elementor-element-5246c52 {
        display: block !important;
        order: 3;
        width: auto !important;
    }
    .elementor-element-49ba845 .elementor-element-bf0a5c0 {
        order: 4;
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: none !important;
    }
    .elementor-element-49ba845 .elementor-element-bf0a5c0 > .elementor-widget-wrap,
    .elementor-element-49ba845 .elementor-element-bf0a5c0 .elementor-widget-search-form,
    .elementor-element-49ba845 .elementor-element-bf0a5c0 .elementor-widget-container,
    .elementor-element-49ba845 .elementor-element-bf0a5c0 .elementor-search-form,
    .elementor-element-49ba845 .elementor-element-bf0a5c0 .elementor-search-form__container {
        width: 100% !important;
        max-width: none !important;
        --container-widget-width: 100% !important;
        --container-widget-flex-grow: 1 !important;
    }
    .elementor-element-49ba845 .elementor-element-bf0a5c0 .elementor-widget-search-form > .elementor-widget-container {
        margin: 0 !important;
    }
    .elementor-element-49ba845 .elementor-element-8880378 {
        display: none !important;
    }
    .cc-header-search-group {
        width: 100%;
        max-width: none;
    }
    .elementor-element-49ba845 .elementor-search-form--skin-minimal .elementor-search-form__container {
        display: flex;
        align-items: center;
    }
    .elementor-element-49ba845 .elementor-search-form--skin-minimal .elementor-search-form__icon {
        flex-shrink: 0;
        padding-left: 14px !important;
        --e-search-form-icon-size-minimal: 16px;
    }
    .elementor-element-49ba845 .elementor-search-form--skin-minimal .elementor-search-form__input {
        flex: 1 1 auto;
        min-width: 0;
        width: 100% !important;
        padding-left: 8px !important;
        padding-right: 14px !important;
    }
    .cc-header-rfq-btn {
        display: none;
    }
}
@media (max-width: 767px) {
    .elementor-element-49ba845 {
        --cc-header-logo-h: 48px;
        --cc-header-logo-w: 176px;
        --cc-header-logo-h-compact: 36px;
        --cc-header-logo-w-compact: 132px;
    }
    .elementor-element-49ba845 .elementor-element-dc8ae43 {
        width: auto !important;
        max-width: 58% !important;
    }
    .elementor-element-49ba845 .elementor-element-dc8ae43 .elementor-widget-theme-site-logo img {
        max-height: var(--cc-header-logo-h) !important;
        max-width: var(--cc-header-logo-w) !important;
    }
    .site-header .custom-logo,
    .site-header img.site-logo,
    .elementor-widget-theme-site-logo img {
        max-height: 36px !important;
        max-width: 140px !important;
    }
}

/* --- Sticky header: compact to ~50% height on scroll --- */
.elementor-element-49ba845 > .elementor-container,
.elementor-element-49ba845 .elementor-element-dc8ae43 .elementor-widget-theme-site-logo img,
.elementor-element-49ba845 .elementor-search-form__container,
.elementor-element-49ba845 .elementor-search-form__input,
.elementor-element-49ba845 .cc-header-rfq-btn,
.elementor-element-49ba845 .elementor-menu-cart__toggle .elementor-button {
    transition: padding 0.25s ease, gap 0.25s ease, max-height 0.25s ease, max-width 0.25s ease, min-height 0.25s ease, font-size 0.25s ease;
}
.elementor-element-49ba845.elementor-sticky--active > .elementor-container,
.elementor-element-49ba845.cc-header-compact > .elementor-container {
    padding: 8px 16px !important;
    gap: 8px 10px !important;
}
.elementor-element-49ba845.elementor-sticky--active .elementor-element-dc8ae43 .elementor-widget-theme-site-logo img,
.elementor-element-49ba845.cc-header-compact .elementor-element-dc8ae43 .elementor-widget-theme-site-logo img {
    max-height: var(--cc-header-logo-h-compact) !important;
    max-width: var(--cc-header-logo-w-compact) !important;
}
.elementor-element-49ba845.elementor-sticky--active .elementor-search-form__container,
.elementor-element-49ba845.cc-header-compact .elementor-search-form__container {
    min-height: 22px !important;
}
.elementor-element-49ba845.elementor-sticky--active .elementor-search-form__input,
.elementor-element-49ba845.cc-header-compact .elementor-search-form__input {
    font-size: 12px !important;
}
.elementor-element-49ba845.elementor-sticky--active .cc-header-rfq-btn,
.elementor-element-49ba845.cc-header-compact .cc-header-rfq-btn {
    padding: 5px 10px;
    font-size: 11px;
}
.elementor-element-49ba845.elementor-sticky--active .elementor-menu-cart__toggle .elementor-button,
.elementor-element-49ba845.cc-header-compact .elementor-menu-cart__toggle .elementor-button {
    padding: 5px 10px !important;
    min-height: 22px;
    font-size: 12px;
}
@media (max-width: 991px) {
    .elementor-element-49ba845.elementor-sticky--active > .elementor-container,
    .elementor-element-49ba845.cc-header-compact > .elementor-container {
        padding: 6px 10px !important;
        gap: 6px 8px !important;
    }
    .elementor-element-49ba845.elementor-sticky--active .elementor-search-form__container,
    .elementor-element-49ba845.cc-header-compact .elementor-search-form__container {
        min-height: 20px !important;
    }
    .elementor-element-49ba845.elementor-sticky--active .elementor-menu-cart__toggle .elementor-button,
    .elementor-element-49ba845.cc-header-compact .elementor-menu-cart__toggle .elementor-button {
        min-height: 20px;
        padding: 4px 8px !important;
    }
}

/* --- Nav Quote CTA --- */
.menu-item a[href*="request-a-quote"],
.menu-item a[href*="Request a Quote"] {
    background: #e85d04 !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    margin-left: 8px;
}
.menu-item a[href*="request-a-quote"]:hover {
    background: #c44d03 !important;
}

/* --- Homepage category buttons fix (P0-3) --- */
.cc-category-showcase-fixed,
.category-showcase {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
}
.category-showcase .category-item,
.category-showcase a {
    position: relative;
    z-index: 21 !important;
    pointer-events: auto !important;
}
.category-showcase .category-grid {
    position: relative;
    z-index: 22 !important;
}

/* Prevent carousel from capturing category clicks */
.elementor-widget-image-carousel,
.elementor-widget-slides {
    z-index: 1 !important;
    position: relative;
}
body.home .elementor-element:has(.category-showcase),
body.home .elementor-element:has(.cc-category-showcase-fixed) {
    position: relative !important;
    z-index: 100 !important;
}
.elementor-widget-image-carousel .swiper-container,
.elementor-widget-image-carousel .swiper,
.elementor-widget-image-carousel .swiper-wrapper {
    pointer-events: none !important;
}

/* --- Hero: static first slide only (W1-1) --- */
body.home .elementor-widget-image-carousel .swiper-slide:not(:first-child) {
    display: none !important;
}
body.home .elementor-widget-image-carousel .swiper-pagination,
body.home .elementor-widget-image-carousel .elementor-swiper-button {
    display: none !important;
}
body.home .elementor-widget-image-carousel {
    position: relative;
}
body.home .cc-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    z-index: 5;
    text-align: center;
    padding: 24px;
    pointer-events: none;
}
body.home .cc-hero-overlay h2,
body.home .cc-hero-overlay p,
body.home .cc-hero-overlay a {
    pointer-events: auto;
}
body.home .cc-hero-overlay h2 {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0 0 12px;
}
body.home .cc-hero-overlay p {
    color: #f0f0f0;
    margin: 0 0 20px;
    max-width: 560px;
}

/* --- Category cards (W3-7, W3-8) --- */
.category-showcase .category-item {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
    overflow: hidden;
}
.category-showcase .category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.category-showcase .category-item:nth-child(-n+4) figcaption { border-bottom: 3px solid #2a9d8f; }
.category-showcase .category-item:nth-child(n+5) figcaption { border-bottom: 3px solid #1a3a4a; }

/* --- Contact page --- */
.cc-contact-info {
    background: #f5f5f5;
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}
.cc-chat-btn, .cc-btn-primary {
    display: inline-block;
    background: #e85d04;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.cc-chat-btn:hover, .cc-btn-primary:hover {
    background: #c44d03;
    color: #fff !important;
}

/* --- Product page --- */
.cc-bulk-order-notice {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    background: #f8f4ef;
    border: 1px solid #f0dcc8;
    border-left: 4px solid #e85d04;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #1a3a4a;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}
.single-product-wrapper > .cc-bulk-order-notice {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
}
.cc-bulk-order-notice i {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1.4;
    color: #e85d04;
}
.cc-bulk-order-notice a {
    color: #e85d04;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cc-bulk-order-notice a:hover {
    color: #c44d03;
}
.cc-starting-price {
    background: #eef6f4;
    padding: 10px 14px;
    border-left: 4px solid #2a9d8f;
    margin-bottom: 16px;
    font-size: 15px;
}
.cc-material-specs {
    margin: 20px 0;
}
.cc-material-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cc-material-specs th,
.cc-material-specs td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}
.cc-material-specs th {
    background: #f5f5f5;
    width: 35%;
}
.cc-trust-panel {
    clear: both;
    width: 100%;
    margin: 20px 0 8px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
}
.cc-trust-commitment {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.cc-trust-commitment__badge {
    display: inline-block;
    background: #f5c518;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.2;
}
.cc-trust-commitment__title {
    font-size: 14px;
    font-weight: 600;
    color: #2a9d8f;
}
.cc-trust-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cc-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.3;
}
.cc-trust-badge__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #2a9d8f;
}
.cc-trust-badge__label {
    font-weight: 600;
    color: #1a3a4a;
}
.cc-secondary-cta {
    margin: 12px 0 20px;
    font-size: 14px;
}
.cc-secondary-cta a {
    color: #1a3a4a;
    font-weight: 600;
}

/* --- APF shape labels (P0-2) --- */
.wapf-image-swatch-wrapper .wapf-swatch-label,
.wapf-swatch-wrapper .wapf-swatch-label,
.wapf-image-swatch .wapf-swatch-label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
    text-align: center !important;
}
.wapf-field-input.wapf-field-image-swatch .wapf-label-text {
    display: block !important;
}

/* --- Product form wizard (W2-1) --- */
.cc-wapf-step-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cc-wapf-step-nav button {
    flex: 1;
    min-width: 120px;
    padding: 10px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.cc-wapf-step-nav button.is-active {
    border-color: #2a9d8f;
    background: #eef6f4;
}
.cc-wapf-step-nav button.is-done {
    border-color: #2a9d8f;
    opacity: 0.8;
}
.wapf-product-totals + .cc-wizard-actions {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}
.cc-wizard-actions .button { min-width: 120px; }

/* --- Brand WooCommerce buttons (product, cart, checkout) --- */
:root {
    --cc-brand-navy: #1a3a4a;
    --cc-brand-orange: #e85d04;
    --cc-brand-orange-hover: #c44d03;
    --cc-brand-teal: #2a9d8f;
}
.single_add_to_cart_button,
.single_add_to_cart_button.button,
.single_add_to_cart_button.button.alt,
.cc-sticky-cart__btn,
.cc-wizard-actions .button.alt,
.custom-cart-container .checkout-btn,
.custom-cart-container .shop-now-btn,
.woocommerce-checkout #place_order,
.woocommerce-checkout .place-order-button,
.woocommerce-checkout .button.alt {
    background: var(--cc-brand-orange) !important;
    background-color: var(--cc-brand-orange) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: background 0.2s ease, transform 0.1s ease;
}
.single_add_to_cart_button:hover,
.single_add_to_cart_button.button:hover,
.cc-sticky-cart__btn:hover,
.cc-wizard-actions .button.alt:hover,
.custom-cart-container .checkout-btn:hover,
.custom-cart-container .shop-now-btn:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .place-order-button:hover,
.woocommerce-checkout .button.alt:hover {
    background: var(--cc-brand-orange-hover) !important;
    background-color: var(--cc-brand-orange-hover) !important;
    color: #fff !important;
}
.custom-cart-container .update-cart-btn,
.woocommerce-checkout .update-totals-button,
.cc-wizard-actions .cc-wizard-prev {
    background: var(--cc-brand-navy) !important;
    background-color: var(--cc-brand-navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}
.custom-cart-container .update-cart-btn:hover,
.woocommerce-checkout .update-totals-button:hover,
.cc-wizard-actions .cc-wizard-prev:hover {
    background: var(--cc-brand-orange) !important;
    background-color: var(--cc-brand-orange) !important;
    color: #fff !important;
}
.custom-cart-container .continue-shopping {
    color: var(--cc-brand-navy) !important;
    font-weight: 600;
}
.custom-cart-container .continue-shopping:hover {
    color: var(--cc-brand-orange) !important;
}

/* --- Sticky mobile cart (W2-7) --- */
.cc-sticky-cart {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
    padding: 12px 16px;
    z-index: 99999;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.cc-sticky-cart.is-visible { display: flex; }
.cc-sticky-cart__title {
    font-size: 13px;
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .cc-sticky-cart { display: none; }
    .cc-sticky-cart.is-visible { display: flex; }
}

/* --- FAQ accordion --- */
.cc-faq-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 0 16px;
}
.cc-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 14px 0;
}
.cc-faq-item p { padding: 0 0 14px; margin: 0; }

/* --- Testimonials (W3-1) --- */
.elementor-testimonial-content::before,
.cc-testimonial-stars::before,
.testimonial-wrapper .testimonial-content::before {
    content: "★★★★★";
    color: #f5a623;
    display: block;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.elementor-testimonial-content::after,
.testimonial-wrapper .testimonial-role::after {
    content: "Verified Customer";
    display: block;
    font-size: 11px;
    color: #2a9d8f;
    font-weight: 600;
    margin-top: 8px;
}

/* --- Extra testimonials (W3-2) --- */
.cc-extra-testimonials {
    padding: 40px 24px;
    background: #f9f9f9;
    text-align: center;
}
.cc-extra-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 20px auto 0;
}
.cc-testimonial-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    text-align: left;
}
.cc-testimonial-card cite {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #666;
    font-style: normal;
}

/* --- Quote band (W3-9) --- */
.cc-quote-band {
    background: #1a3a4a;
    color: #fff;
    padding: 40px 24px;
    text-align: center;
    margin-top: 0;
}
.cc-quote-band h2 { color: #fff; margin: 0 0 12px; }
.cc-quote-band p { margin: 0 0 20px; opacity: 0.9; }

/* --- Footer Contact Us column (above Follow Us) --- */
.elementor-location-footer .cc-footer-contact {
    margin-bottom: 28px;
}
.elementor-location-footer .cc-footer-contact__title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 14px;
}
.elementor-location-footer .cc-footer-contact__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.elementor-location-footer .cc-footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
}
.elementor-location-footer .cc-footer-contact__item i {
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #e85d04;
}
.elementor-location-footer .cc-footer-contact__item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.elementor-location-footer .cc-footer-contact__item a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- Footer social buttons (Elementor footer widget) --- */
.elementor-location-footer .cc-footer-social .cc-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.elementor-location-footer .cc-footer-social .cc-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    padding: 0;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}
.elementor-location-footer .cc-footer-social .cc-social-icons a i {
    font-size: 22px;
    line-height: 1;
}
.elementor-location-footer .cc-footer-social .cc-social-icons a:hover {
    background: #e85d04;
    color: #fff !important;
    transform: translateY(-1px);
}

/* --- Nav mega-menu simplification (W1-3) --- */
@media (min-width: 1025px) {
    .elementor-nav-menu--main .sub-menu .sub-menu,
    .elementor-nav-menu--main .sub-menu .sub-menu .sub-menu {
        display: none !important;
    }
}

/* --- Homepage color scheme: replace legacy #00aeef with brand navy --- */
body.home {
    --blue: #1a3a4a;
}
body.home .elementor-search-form__container {
    border-color: #1a3a4a !important;
}
body.home .dots span.active,
body.home .dots span:hover {
    background: #1a3a4a !important;
}
body.home .custom-process-wrapper h2,
body.home .custom-process-wrapper .step-card .icon,
body.home .custom-process-wrapper .step-card h3,
body.home .testimonial-wrapper h2,
body.home .testimonial-author,
body.home .elementor-post__title,
body.home .elementor-post__title a,
body.home .elementor-post__read-more {
    color: #1a3a4a !important;
}
body.home .elementor-post__card {
    border-color: #1a3a4a !important;
}
body.home .step-card,
body.home .testimonial-card {
    border-top-color: #1a3a4a !important;
}
body.home .elementor-27872 .elementor-element.elementor-element-4dd41e0 .elementor-heading-title,
body.home .elementor-27872 .elementor-element.elementor-element-4dd41e0 a:hover,
body.home .elementor-27872 .elementor-element.elementor-element-bbeba6e .elementor-post__title,
body.home .elementor-27872 .elementor-element.elementor-element-bbeba6e .elementor-post__title a,
body.home .elementor-27872 .elementor-element.elementor-element-bbeba6e .elementor-post__read-more,
body.home .elementor-27872 .elementor-element.elementor-element-bbeba6e .elementor-post__card {
    color: #1a3a4a !important;
    border-color: #1a3a4a !important;
}

/* --- Performance: reduce layout shift --- */
img { height: auto; }
