.elementor-96404 .elementor-element.elementor-element-c6d8880{--display:flex;}.elementor-96404 .elementor-element.elementor-element-a15d735{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-96404 .elementor-element.elementor-element-50a4cbf{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-96404 .elementor-element.elementor-element-72c4694{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-96404 .elementor-element.elementor-element-7f3a00d.elementor-element{--flex-grow:0;--flex-shrink:0;}}/* Start custom CSS for shortcode, class: .elementor-element-5ae9142 *//* =========================================
   HERO SLIDER
   ========================================= */

.rcuk-hero__slider {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  min-height: 260px;
}

.rcuk-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.rcuk-slider__slide {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.rcuk-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Screen-reader text */
.rcuk-slider__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Slider dots */
.rcuk-slider__dots {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.rcuk-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.rcuk-slider__dot.is-active {
  width: 18px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .rcuk-hero__slider {
    min-height: 220px;
  }
}


/* =========================================
   HERO PROMOS — BACKGROUNDS + OVERLAYS
   ========================================= */

/* Red Crawler Promo Tile */
.rcuk-promo--red {
  position: relative;
  background-image: url('https://radio-controlled.co.uk/wp-content/uploads/2025/11/RC-Crawlers.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.rcuk-promo--red::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.25)
  );
  pointer-events: none;
}

.rcuk-promo--red span {
  position: relative;
  z-index: 1;
}

/* Blue Rally & Race Promo Tile */
.rcuk-promo--blue {
  position: relative;
  background-image: url('https://radio-controlled.co.uk/wp-content/uploads/2025/09/MP11-Package-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.rcuk-promo--blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.25)
  );
  pointer-events: none;
}

.rcuk-promo--blue span {
  position: relative;
  z-index: 1;
}


/* =========================================
   FEATURE TILES — BACKGROUND IMAGES
   ========================================= */

.rcuk-feature {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* Dark overlay for readability */
.rcuk-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.15)
  );
  z-index: 0;
}

.rcuk-feature__eyebrow,
.rcuk-feature__title,
.rcuk-feature__cta {
  position: relative;
  z-index: 1;
}

/* Make eyebrow text white (override old blue) */
.rcuk-feature__eyebrow {
  color: #ffffff !important;
}

/* 1️⃣ Budget RCs */
.rcuk-hero__features .rcuk-feature:nth-of-type(1) {
  background-image: url('https://radio-controlled.co.uk/wp-content/uploads/2025/03/WL-toys-284010-main-jpg.webp');
}

/* 2️⃣ Nitro RCs */
.rcuk-hero__features .rcuk-feature:nth-of-type(2) {
  background-image: url('https://radio-controlled.co.uk/wp-content/uploads/2025/03/Kyosho-Inferno-MP10-18-RC-Nitro-Readyset-T1-Red-KE21SP-Engine-2.webp');
}

/* 3️⃣ Mini RCs */
.rcuk-hero__features .rcuk-feature:nth-of-type(3) {
  background-image: url('https://radio-controlled.co.uk/wp-content/uploads/2025/04/HPI-Racing-nano-TTR-1969-Ford-Mustang-RTR-X-3.webp');
}

/* 4️⃣ Best Sellers */
.rcuk-hero__features .rcuk-feature:nth-of-type(4) {
  background-image: url('https://radio-controlled.co.uk/wp-content/uploads/2025/03/RZ001B-C_4.webp');
}

/* Force white text on hero feature tiles */
body .rcuk-hero__features .rcuk-feature__eyebrow,
body .rcuk-hero__features .rcuk-feature__title,
body .rcuk-hero__features .rcuk-feature__cta {
  color: #ffffff !important;
}


/* ==== FORCE HERO FEATURE BACKGROUNDS ==== */

body .rcuk-hero__features .rcuk-feature.rcuk-feature--budget {
  background: url('https://radio-controlled.co.uk/wp-content/uploads/2025/03/WL-toys-284010-main-jpg.webp')
              center / cover no-repeat !important;
}

body .rcuk-hero__features .rcuk-feature.rcuk-feature--nitro {
  background: url('https://radio-controlled.co.uk/wp-content/uploads/2025/03/Kyosho-Inferno-MP10-18-RC-Nitro-Readyset-T1-Red-KE21SP-Engine-2.webp')
              center / cover no-repeat !important;
}

body .rcuk-hero__features .rcuk-feature.rcuk-feature--mini {
  background: url('https://radio-controlled.co.uk/wp-content/uploads/2025/04/HPI-Racing-nano-TTR-1969-Ford-Mustang-RTR-X-3.webp')
              center / cover no-repeat !important;
}

body .rcuk-hero__features .rcuk-feature.rcuk-feature--bestsellers {
  background: url('https://radio-controlled.co.uk/wp-content/uploads/2025/03/RZ001B-C_4.webp')
              center / cover no-repeat !important;
}




/* 1. Section titles: blue + inherit site font */
.home-section .section-title {
    color: #048de0;             /* RCUK blue */
    font-family: inherit;       /* use theme's default heading font */
    font-weight: 700;
    margin-bottom: 20px;
}

/* Reduce space between product grid and "See more" button */
.home-section .products {
    margin-bottom: 10px !important; /* reduce Woo default 30–40px */
}

/* Optional: tighten the See More wrapper too */
.home-section .home-section-toggle-wrap {
    margin-top: 10px !important; /* was around 25–30px */
}

/* ==== HERO MENU: DESKTOP vs MOBILE ==== */

.rcuk-hero__mobile-menu {
  display: none; /* hidden by default, shown on mobile */
}

/* Mobile layout */
@media (max-width: 768px) {

  /* Hide the big left sidebar on mobile */
  .rcuk-hero__sidebar--desktop {
    display: none;
  }

  /* Show collapsed menu at bottom */
  .rcuk-hero__mobile-menu {
    display: block;
    margin: 16px 0 24px;
  }

  .rcuk-mobile-cats {
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  }

  .rcuk-mobile-cats > summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    background: #0074c8; /* RCUK blue */
    color: #fff;
  }

  .rcuk-mobile-cats > summary::-webkit-details-marker {
    display: none;
  }

  .rcuk-mobile-cats__icon {
    font-size: 18px;
    line-height: 1;
  }

  .rcuk-hero__menu--mobile .rcuk-hero__menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
  }

  .rcuk-hero__menu--mobile .rcuk-hero__menu-list > li > a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    text-decoration: none;
  }

  .rcuk-hero__menu--mobile .rcuk-hero__menu-list > li > a:hover {
    background: rgba(255,255,255,0.06);
  }

  /* Simple indent for submenus */
  .rcuk-hero__menu--mobile .rcuk-hero__menu-list li ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .rcuk-hero__menu--mobile .rcuk-hero__menu-list li ul a {
    padding-left: 28px;
    font-size: 14px;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-c6d8880 *//* === RCUK Hero Layout === */

.rcuk-hero {
  padding: 15px 0 30px;
  background: #f5f8fc;
}

.rcuk-hero__inner {
  max-width: 1200px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1.8fr) 260px;
  gap: 16px;
}

/* Sidebar wrapper */

.rcuk-hero__sidebar {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: visible;
  position: relative;
  z-index: 20;
}

.rcuk-hero__sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0077c8;
  color: #fff;
  font-weight: 600;
}

.rcuk-hero__sidebar-icon {
  font-size: 18px;
}

/* Base menu list from wp_nav_menu */

.rcuk-hero__menu-list,
.rcuk-hero__menu-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rcuk-hero__menu-list > li {
  position: relative;
}

.rcuk-hero__menu-list > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #f0f2f5;
  font-size: 14px;
  text-decoration: none;
  color: #222;
}

.rcuk-hero__menu-list > li > a::after {
  content: "›";
  opacity: 0.5;
}

.rcuk-hero__menu-list > li > a:hover {
  background: #f5f8fc;
}

/* Fly-out sub-menus (2nd level) */

.rcuk-hero__menu-list > li > .sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 230px;
  background: #000;
  padding: 8px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 30;
}

.rcuk-hero__menu-list > li:hover > .sub-menu,
.rcuk-hero__menu-list > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.rcuk-hero__menu-list > li > .sub-menu > li > a {
  display: block;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

.rcuk-hero__menu-list > li > .sub-menu > li > a:hover {
  background: rgba(255,255,255,0.08);
}

/* Slider + promos */

.rcuk-hero__slider {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.rcuk-hero__promos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rcuk-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  min-height: 160px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rcuk-promo--red {
  background-color: #d62828;
}

.rcuk-promo--blue {
  background-color: #023e8a;
}

.rcuk-promo__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .8;
}

.rcuk-promo__title {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 2px;
}

.rcuk-promo__cta {
  font-size: 13px;
}

/* Feature tiles */

.rcuk-hero__features {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.rcuk-feature {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}

.rcuk-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.rcuk-feature__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #0077c8;
}

.rcuk-feature__title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin: 4px 0 2px;
}

.rcuk-feature__cta {
  font-size: 13px;
  opacity: .8;
}

/* Responsive */

@media (max-width: 1024px) {
  .rcuk-hero__inner {
    grid-template-columns: 1fr;
  }

  .rcuk-hero__menu-list > li > .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: #111;
  }
}

@media (max-width: 768px) {
  .rcuk-hero__features {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-7f3a00d */@media (max-width: 767px) {
  /* Horizontal rails for product sections */
  .home-section .woocommerce ul.products,
  .home-section ul.products {
    display: flex;
    flex-wrap: nowrap;              /* one row only */
    overflow-x: auto;               /* horizontal scroll */
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin: 0 -12px 20px;
    padding: 0 12px 8px;
    scroll-snap-type: x mandatory;
  }

  .home-section .woocommerce ul.products li.product,
  .home-section ul.products li.product {
    flex: 0 0 75%;                  /* ~75% of viewport width */
    max-width: 75%;
    box-sizing: border-box;
    margin: 0 !important;
    scroll-snap-align: start;
  }

  .home-section ul.products.columns-4 li.product,
  .home-section ul.products.columns-3 li.product,
  .home-section ul.products.columns-2 li.product {
    width: auto !important;
  }

  /* Hide the old See more button on mobile */
  .home-section .home-section-toggle-wrap {
    display: none;
  }
}

@media (max-width: 767px) {
  .home-section-collapsible ul.products li.product {
    display: block !important;
  }
}

/* Mobile scroll hint for product rows */
@media (max-width: 767px) {

  .home-section .woocommerce ul.products,
  .home-section ul.products {
    position: relative;      /* so the hint can sit on top */
  }

  .home-section .woocommerce ul.products::after,
  .home-section ul.products::after {
    content: "Swipe to see more ›";
    position: absolute;
    right: 8px;
    top: 50%;                       /* vertical middle of the row */
    transform: translateY(-50%);    /* perfect centering */
    padding: 4px 10px 4px 20px;
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(
      to right,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.95) 35%,
      rgba(255,255,255,1) 100%
    );
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    pointer-events: none;
    white-space: nowrap;
    z-index: 5;
    animation: rcuk-scroll-hint 1.6s ease-in-out infinite alternate;
  }

  @keyframes rcuk-scroll-hint {
    0% {
      transform: translate(0, -50%);
      opacity: 0.15;
    }
    100% {
      transform: translate(-6px, -50%);
      opacity: 1;
    }
  }
}/* End custom CSS */
/* Start custom CSS *//* === Home product sections: horizontal scroll rails on mobile === */
@media (max-width: 767px) {

  /* Make the product list a horizontal rail */
  .home-section .woocommerce ul.products,
  .home-section ul.products {
    display: flex;
    flex-wrap: nowrap;              /* one row only */
    overflow-x: auto;               /* horizontal scroll */
    -webkit-overflow-scrolling: touch;
    gap: 12px;                      /* space between cards */
    margin: 0 -12px 20px;           /* bleed closer to screen edge */
    padding: 0 12px 8px;            /* inner padding */
    scroll-snap-type: x mandatory;  /* nice snapping between cards */
  }

  /* Each product card in the rail */
  .home-section .woocommerce ul.products li.product,
  .home-section ul.products li.product {
    flex: 0 0 75%;                  /* ~75% of viewport width per card */
    max-width: 75%;
    box-sizing: border-box;
    margin: 0 !important;           /* kill Woo default margins */
    scroll-snap-align: start;
  }

  /* Neutralise Woo's column width classes */
  .home-section ul.products.columns-4 li.product,
  .home-section ul.products.columns-3 li.product,
  .home-section ul.products.columns-2 li.product {
    width: auto !important;
  }

  /* (Optional) hide the See more toggle on mobile,
     since we're already scrolling horizontally */
  .home-section .home-section-toggle-wrap {
    display: none;
  }
}/* End custom CSS */