/* 
Theme Name:		 Meccano Child Theme
Theme URI:		 http://childtheme-generator.com/
Description:	 Meccano Child Theme is a child theme of Unbranded System, created by ChildTheme-Generator.com
Author:			 Daniel Hardy
Author URI:     https://kehorne.co.uk/
Template:		 unbranded
Version:		 1.0.0
Text Domain:	 meccano-child-theme
*/

:root {
    --bs-body-font-family: 'Helvetica Neue' !important;
    --heading-font: 'EurostileLT-Bold' !important;
    --bs-btn-font-family: 'EurostileLT-Bold' !important;
    --bs-accordion-active-bg: var(--bs-primary) !important;
}
.btn {
    --bs-btn-font-family: 'EurostileLT-Bold' !important;
    font-family: 'EurostileLT-Bold' !important;
    text-transform: uppercase !important;
}
.btn-with-icon .btn-icon {
    margin-top: -2px !important;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-light) !important;
    background-color: var(--bs-primary) !important;
}

@font-face {
    font-family: 'EurostileLT-Bold';
    src: url('assets/fonts/EurostileLT-Bold.woff2') format('woff2'),
    url('assets/fonts/EurostileLT-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('assets/fonts/orig/HelveticaNeue-CondensedBlack.ttf') format('ttf');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('assets/fonts/orig/HelveticaNeue-MediumItalic.ttf') format('ttf');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('assets/fonts/orig/HelveticaNeue.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('assets/fonts/orig/HelveticaNeue-Italic.ttf') format('ttf');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('assets/fonts/orig/HelveticaNeue-Bold.ttf') format('ttf');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('assets/fonts/orig/HelveticaNeue-CondensedBold.ttf') format('ttf');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('assets/fonts/orig/HelveticaNeue-Medium.ttf') format('ttf');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('assets/fonts/orig/HelveticaNeue-Light.ttf') format('ttf');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@media (max-width: 991.98px) {
    .container-full {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
}

.bg-bg2, .site-header .container-nav.bg-bg2 .dropdown-menu {
    background-image: url('assets/images/Meccano-black-faded-background.jpg');
    background-size: 100% auto;
    background-position: center;
}

.site-header > .navbar {
    height: auto !important;
    font-family: 'EurostileLT-Bold' !important;
}

.navbar li {
    position: relative;
    padding-left: 10px;
    padding-right: 13px;
}
@media (min-width: 992px) and (max-width: 1200px) {
    .navbar li {
        padding-left:2px;
        padding-right: 5px;
    }
}
.navbar li:before {
    position: absolute;
    top: 50%;
    right: 0;
    width: 3px;
    height: 30px;
    margin-top: -15px;
    content: '';
    background-color: red;
}
.navbar li:last-child:before {
    display: none;
}

@media (max-width: 1100px) {
    .site-branding {
        max-width: 306px !important;
    }
}
@media (max-width: 500px) {
    .site-branding {
        max-width: 260px !important;
    }
}

.footer-top {
    font-family: 'EurostileLT-Bold' !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.footer-social > * {
    height: auto !important;
}
.footer-social svg {
    fill: white !important;
}

.footer-bottom {
    font-size: 13px !important;
}

@media (min-width: 992px) {
    .blog .row .col-lg-4 {
        width: 33.33333333% !important;
    }
}

@media (max-width: 768px) {
    .footer-menu-item {
        width: 100% !important;
        text-align: center !important;
    }
    .footer-bottom, .footer-bottom p {
        text-align: center !important;
    }
}

/* copied from ubrand */
.homepage-carousel .btn-wrapper {
    margin-bottom: 0 !important;
}
.homepage-carousel .swiper-slide {
    height: auto !important;
}
.homepage-carousel .flex-column .content-block > * {
    width: 100% !important;
}
.homepage-carousel .flex-column .button-ctas {
    margin-top: auto !important;
}
.homepage-carousel .justify-content-center .button-ctas, .homepage-carousel .text-center .button-ctas {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
/* copied from ubrand */

.homepage-carousel .swiper-slide {
    position: relative;
    background-size: auto 100%;
    background-position: center right;
    background-repeat: no-repeat;
}
.homepage-carousel .swiper-slide * {
    position: relative;
    z-index: 3;
}
.homepage-carousel .swiper-slide .bg-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 65%;
    height: 100%;
    content: '';
    background-position: center;
    background-size: cover;
    z-index: 1;
}
.homepage-carousel .swiper-slide:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 64%;
    height: 100%;
    content: '';
    background-image: url('assets/images/MEC_RedAngle_lrg_red_adjusted.png');
    background-position: center right;
    background-size: cover;
    z-index: 2;
}
.homepage-carousel .swiper-slide .row {
    padding-top: 113px;
    padding-bottom: 113px;
}
.homepage-carousel .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.homepage-carousel .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    border: solid 1px white;
    opacity: 1;
}
@media (max-width: 1399px) {
    .homepage-carousel .swiper-slide .bg-img {
        width: 64%;
    }
    .homepage-carousel .swiper-slide:before {
        width: 70%;
    }
    .homepage-carousel .swiper-slide .row {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}
@media (max-width: 1199px) {
    .homepage-carousel .swiper-slide .bg-img {
        width: 66%;
        background-position: 0% 100%;
    }
    .homepage-carousel .swiper-slide:before {
        width: 75%;
    }
    .homepage-carousel .swiper-slide .row {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}
@media (max-width: 991px) {
    .homepage-carousel .swiper-slide {
        height: inherit !important;
    }
    .homepage-carousel .swiper-slide .bg-img {
        display: block;
        position: relative;
        width: 100%;
        background-position: center;
        padding-top: 66%;
    }
    .homepage-carousel .swiper-slide .bg-img:before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: '';
        background-image: url('assets/images/MEC_RedAngle_mobile.png');
        background-position: center left -1px;
        background-repeat: no-repeat;
        background-size: auto 100%;
        z-index: 2;
    }
    .homepage-carousel .swiper-slide:before {
        display: none;
    }
    .homepage-carousel .swiper-slide .row {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}
@media (max-width: 767px) {
    .homepage-carousel .swiper {
        max-width: 100% !important;
    }
}
@media (max-width: 575px) {
    .homepage-carousel .swiper-slide .row {
        padding-bottom: 42px;
    }
}

.secondary-nav a {
    font-family: var(--heading-font) !important;
    text-transform: uppercase;
    color: #000;
    font-size: 29px;
    line-height: 1.3;
}
.secondary-nav a .btn-icon {
    width: auto;
}
.secondary-nav a .btn-text {
    margin: 0 27px;
    padding-top: 4px;
}
.secondary-nav .text-end a {
    justify-content: end;
}
@media (max-width: 1399px) {
    .secondary-nav a {
        font-size: 26px;
    }
    .secondary-nav a .btn-text {
        margin: 0 24px;
    }
}
@media (max-width: 1199px) {
    .secondary-nav a {
        font-size: 23px;
    }
    .secondary-nav a .btn-text {
        margin: 0 23px;
    }
}
@media (max-width: 991px) {
    .secondary-nav {
        display: none !important;
    }
}

.page-header h2 {
    margin-bottom: 0 !important;
}
.page-header .container-full * {
    position: relative;
    z-index: 3;
}
.page-header .container-full .bg-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 56%;
    height: 100%;
    content: '';
    background-position: center;
    background-size: cover;
    z-index: 1;
}
.page-header .container:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 63%;
    height: 100%;
    content: '';
    background-image: url('assets/images/MEC_RedAngle_lrg_red_adjusted.png');
    background-position: center right;
    background-size: cover;
    z-index: 2;
}
@media (max-width: 1399px) {
    .page-header .container-full .bg-img {
        width: 57%;
    }
    .page-header .container:before {
        width: 64%;
    }
}
@media (max-width: 1199px) {
    .page-header .container-full .bg-img {
        width: 57%;
    }
    .page-header .container:before {
        width: 70%;
    }
}
@media (max-width: 991px) {
    .page-header .container-full {
        flex-direction: column;
    }
    .page-header .container-full .bg-img {
        display: block;
        position: relative;
        width: 100%;
        background-position: center;
        padding-top: 50%;
    }
    .page-header .container-full .bg-img:before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: '';
        background-image: url('assets/images/MEC_RedAngle_mobile.png');
        background-position: center left -1px;
        background-repeat: no-repeat;
        background-size: auto 100%;
        z-index: 2;
    }
    .page-header .container:before {
        display: none;
    }
}
@media (max-width: 767px) {
}
@media (max-width: 575px) {
}

.woocommerce-shop, .woocommerce-page {
    background-image: url('assets/images/Tile_Background_Grid.jpg');
}

.products {
    display: flex;
    flex-wrap: wrap;
}
.products .product-content, .product-row .product-wrap .product-content {
    display: flex;
    flex-direction: column;
}
.products .product-content .product-image, .product-row .product-wrap .product-content .product-image {
    background-image: url('https://wordpress-1101307-5572749.cloudwaysapps.com/wp-content/uploads/2025/06/meccano-logo-square.png');
    display: flex;
    align-self: end !important;
    margin-top: auto !important;
    width: 100% !important;
    padding-top: 100%;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center;
}
.products .product-content .product-image.retired-image, .product-row .product-wrap .product-content .product-image.retired-image {
    filter: grayscale(100%);
}
.products .product-wrap, .product-row .product-wrap {
    background-color: #fff !important;
}
.products .see-more, .product-row .product-wrap .see-more {
    position: relative !important;
    width: auto !important;
}
.products .see-more a, .product-row .product-wrap .see-more a {
    width: auto !important;
background-color: var(--bs-primary) !important;
    padding: 5px 9px !important;
    font-size: 13px !important;
    color: var(--bs-light, #FFF) !important;
    text-align: center;
    display: inline-block;
}
.products .see-more a:hover, .product-row .product-wrap .see-more a:hover {
    background-color: black !important;
    border-color: black !important;
}
.product-content .product-tag {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 10px;
    background-color: var(--bs-primary);
    color: #fff;
    font-family: 'EurostileLT-Bold' !important;
    text-transform: uppercase !important;
    z-index: 2;
}
.product-content .product-tag.retired, .product-content .product-tag.retire-de-la-vente {
    background-color: black !important;
}

.woocommerce-page .product > .unbranded-row {
    background-color: #F7F7F7 !important;
    border: solid 1px #D9D9D9 !important;
}
@media (max-width: 1100px) {
    .woocommerce-page .full-width-text-block {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
}
.single-product .product {
    padding-bottom: 0px !important;
}
.single-product.woocommerce .product img, .single-product.woocommerce-page .product img  {
    width: 100% !important;
}
.single-product.woocommerce .retired-product .product img, .single-product.woocommerce-page .retired-product .product img  {
    filter: grayscale(100%);
}
.product .price-wrapper {
    display: none !important;
}
.product .swiper-button-prev, .product .swiper-button-next {
    color: var(--bs-primary) !important;
}
.single .product .product-category a {
    color: var(--bs-primary) !important;
}
.woo-faqs .accordion * {
    border: none !important;
}
.woo-faqs .accordion .accordion-header .accordion-button {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}
.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27rgb%28255, 255, 255%29%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e") !important;
}
/*.count-1 .accordion-button::after {
    display: none !important;
}*/
.woo-download-instructions a {
    border-radius: 0;
    line-height: 45px;
}
.woo-download-instructions a svg {
    margin-left: 10px;
    height: 26px;
}
.wpc-filters-scroll-container .wpc-filters-section.wpc-filters-section-808, .wpc-filters-scroll-container .wpc-filters-section {
    width: calc(33.3% - 16px) !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}
.wpc-filters-scroll-container .wpc-filters-widget-wrapper {
    padding-top: 15px !important;
}
@media (max-width: 1200px) {
    .wpc-filters-scroll-container .wpc-filters-section.wpc-filters-section-808, .wpc-filters-scroll-container .wpc-filters-section {
        width: 31% !important;
        margin: 0.3em 0 0 !important;
    }
    .wpc-filters-scroll-container .wpc-filters-widget-wrapper {
        //gap: 0 !important;
    }
}
@media (max-width: 768px) {
    .wpc-filters-scroll-container .wpc-filters-section.wpc-filters-section-808, .wpc-filters-scroll-container .wpc-filters-section {
        width: 100% !important;
        margin: 0.3em 0 0 !important;
    }
    .wpc-filters-scroll-container .wpc-filters-widget-wrapper {
        gap: 0 !important;
    }
}
.wpc-filters-section {
    margin-top: 1.5em !important;
}
.wpc-instead-of-posts-found {
    display: none !important;
}
body .wpc-filter-chips-list li.wpc-chip-reset-all a {
    border-color: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
}
.widget-title.wpc-filter-title {
    font-family: 'EurostileLT-Bold' !important;
    text-transform: uppercase !important;
}

.blog {
    margin-top: 0 !important;
}
.entry-meta {
    display: none !important;
}

.home .multicolumn-text-block, .page-id-1128 .full-width-text-block, .page-id-1128 .image-video-carousel {
    background: linear-gradient(270deg, #ED1C24 0%, #871015 100%) !important;
}

.single-product .product-category {
    display: none !important;
}

.woocommerce-page .popover-body:after {
    display: inline-block;
    content: '';
    width: 100%;
    padding-top: 65%;
    background-image: url('assets/images/popup+image.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 20px;
}

.post-category {
    display: inline-block;
    padding: 5px 10px;
    background-color: black !important;
    color: #fff;
    font-family: 'EurostileLT-Bold' !important;
    text-transform: uppercase !important;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .visual-links .link-wrapper .image-block-wrap img  {
        object-fit: contain !important;
    }
}

.mobile-header-cta .button-ctas {
    gap: 0 !important;
}
.mobile-header-cta .button-ctas a {
    border-color: #fff !important;
    border-radius: 0 !important;
}
.mobile-header-cta .button-ctas a:hover {
    opacity: 0.8 !important;
}
.mobile-header-cta .button-ctas a.btn-style1 {
    background-color: #555555 !important;
}
.mobile-header-cta .button-ctas a.btn-style1:hover {
    color: #fff !important;
}
@media (max-width: 992px) {
    .mobile-header-cta {
        margin-top: 5px;
        margin-left: 5px;
    }
}