.sticky-cta-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.sticky-cta-container .cta-button-test-drive,
.sticky-cta-container .cta-button-dealer,
.sticky-cta-container .cta-button-offers
{
    border: 1px solid black;
}

.sticky-cta-container .cta-button-test-drive a:hover,
.sticky-cta-container .cta-button-dealer a:hover,
.sticky-cta-container .cta-button-offers a:hover
{
    background-color: #D9D9D9!important;    
    
}


.sticky-cta-container .cta-button-test-drive a::before {
    content: "";
    display: inline-block;
    width: 15px;   /* control icon width */
    height: 15px;  /* control icon height */
    background-image: url("https://gwmcars.co.uk/wp-content/uploads/2026/05/icon_steering-wheel.svg");
    background-size: contain;      /* or 20px 20px */
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-right: 6px; /* optional spacing */
    margin-bottom: 2px;
}


.sticky-cta-container .cta-button-dealer a::before {
    content: "";
    display: inline-block;
    width: 15px;   /* control icon width */
    height: 15px;  /* control icon height */
    background-image: url("https://gwmcars.co.uk/wp-content/uploads/2026/05/icon_pound.svg");
    background-size: contain;      /* or 20px 20px */
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-right: 6px; /* optional spacing */
    margin-bottom: 2px;
}

.sticky-cta-container .cta-button-offers a::before {
    content: "";
    display: inline-block;
    width: 15px;   /* control icon width */
    height: 15px;  /* control icon height */
    background-image: url("https://gwmcars.co.uk/wp-content/uploads/2026/05/icon_pound.svg");
    background-size: contain;      /* or 20px 20px */
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-right: 6px; /* optional spacing */
    margin-bottom: 2px;
}

/* Mobile: icon only */
@media (max-width: 767px) {
    .sticky-cta-container .cta-button-test-drive a,
    .sticky-cta-container .cta-button-dealer a,
    .sticky-cta-container .cta-button-offers a {
        font-size: 0!important;          /* hides text */
        line-height: 0;        
    }
    .sticky-cta-container .cta-button-test-drive a::before,
    .sticky-cta-container .cta-button-dealer a::before,
    .sticky-cta-container .cta-button-offers a::before {
        margin-right: 0;       /* remove text spacing */
        width: 18px;           /* optional mobile size */
        height: 18px;
    }
}

.sticky-cta-container {
	/* Set your background RGB once (example shown). */
	--sticky-cta-bg-rgb: 255 255 255;
	background-color: rgb(var(--sticky-cta-bg-rgb) / 1);
	transition: background-color 0.3s ease;
}

.sticky-cta-container.is-scrolled {
	background-color: rgb(var(--sticky-cta-bg-rgb) / 0.5);
}

.sticky-cta-container:hover {
	background-color: rgb(var(--sticky-cta-bg-rgb) / 1);
}
