/* Base Metals hero header */

.base-metal * {
    box-sizing: border-box;
}

.base-metal-hero {
    position: relative;
    margin: 0 auto;
    min-height: 220px;
    padding: 36px 12%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image:
        /* linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15)), */
        url("/images/base-metal-images/BM-header-bg.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    cursor: pointer;
}

.base-metal-hero__content {
    max-width: 800px;
}

.base-metal-hero__eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.base-metal-hero__title {
    font-size: 50px;
    line-height: 1.2;
    margin: 0 0 1rem;
}
.base-metal-hero__content p{
    font-size: 23px;
    line-height: 1.6;
    max-width: 62rem;
}
.base-metal-hero__subtitle {
    font-size: 23px;
    line-height: 1.6;
    margin: 0 0 2rem;
    max-width: 62rem;
}

.base-metal-hero__cta {
    display: inline-block;
}

@media (max-width: 900px) {
    .base-metal-hero {
        justify-content: center;
        text-align: center;
        padding: 40px 16px;
    }

    .base-metal-hero__content {
        max-width: 100%;
    }

    .base-metal-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .base-metal-hero {
        min-height: 250px;
        padding: 52px 22px;
    }

    .base-metal-hero__title {
        font-size: 45px;
    }

    .base-metal-hero__content p{
    font-size: 18px;
}
    .base-metal-hero__subtitle {
        font-size: 18px;
    }
}

/* Base metal chooser section */
.base-metal-types {
    margin: 0 auto 40px;
    padding:  5%;
    color: #243D77;
    background-color: rgba(247, 247, 247, 0.54);
}

.base-metal-types__intro {
    max-width: 980px;
    margin: 0 auto 56px;
    text-align: center;
}

.base-metal-types__title {
    margin: 0 0 26px;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 700;
    color: #243D77;
}

.base-metal-types__subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #243D77;
    max-width: 600px;
    margin: 0 auto;
}

.base-metal-types__carousel {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 38px;
    align-items: start;
}

.base-metal-type-card {
    min-width: 0;
    padding: 15px;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.base-metal-type-card:hover {
    text-decoration: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

.base-metal-type-card__swatch {
    display: block;
    width: 77px;
    height: 77px;
    border-radius: 18px;
    margin: 0 0 28px;
}

.base-metal-type-card__swatch--copper {
    background: #d0915f;
}

.base-metal-type-card__swatch--bronze {
    background: #7a5519;
}

.base-metal-type-card__swatch--brass {
    background: #b8a069;
}

.base-metal-type-card__swatch--aluminium {
    background: #8c94a3;
}

.base-metal-type-card__swatch--plated {
    background: #e2c17d;
}

.base-metal-type-card__swatch--steel {
    background: #afb4bc;
}

.base-metal-type-card__title {
    margin: 0 0 24px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    color: #243D77;
}

.base-metal-type-card__list {
    margin: 0;
    padding-left: 18px;
    list-style-type: square;
    color: #243D77;
}

.base-metal-type-card__list li {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.22;
}

.base-metal-type-card__list li:last-child {
    margin-bottom: 0;
}


/* CSS SCROLLER */
.css_cards {
    width: 100%;
    margin: auto;
    padding: 10px;
    list-style: none;
    display: grid;
    gap: clamp(1.5rem, 2.2vw, 2.75rem);
    /* grid-template-columns: repeat(6, minmax(0, 1fr)); */
}

.css-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    /* cursor: pointer; */
    /* border: 1px solid var(--eveflex-border);
    border-radius: 20px; */
    padding: 10px;
    margin: 5px;
    /* transition: border-color 0.3s ease, box-shadow 0.3s ease; */
}

/* .css-card:hover{
    border: 1px solid var(--eveflex-blue);
    box-shadow:  0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
} */

.css-scroll {
    width: 100%;
    padding: 30px 0;
    gap: 0;
    scroll-snap-type: x mandatory;	
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: space-between;
	overflow-x: scroll;
}

::-webkit-scrollbar{
    height: 4px;
    width: 4px;
    background: gray;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

::-webkit-scrollbar-thumb:horizontal{
    background: #25407f;
    border-radius: 10px;
}

.css-scroll .css-card {
	scroll-snap-align: start;
    width: 15%;
    min-width: 175px;
}

.css-scroll .scroll-mobile{
    display: none;
}
.css-scroll .scroll-desktop{
    display: inline-block;
}
@media (max-width: 1100px) {
    .css-scroll .css-card {
        width: 19%;
    }
}

@media (max-width: 700px) {
    .css-scroll .scroll-mobile{
        display: block;
    }
    .css-scroll .scroll-desktop{
        display: none;
    }
    .base-metal-types__title {
    font-size: 26px;
    }
}
@media (max-width: 550px) {
    .css-scroll .css-card {
        min-width: 50%;
    }
}

.base-metal-shop {
    margin: 40px auto 40px;
    padding: 0 5%;
    color: #243D77;
}

.base-metal-shop__intro {
    margin: 0 auto 40px;
    text-align: center;
}

.base-metal-shop__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 700;
    color: #243D77;
}

.base-metal-shop__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 48px;
    align-items: stretch;
}

.base-metal-shop-card {
    overflow: hidden;
    border: 1px solid #d8d8d8;
    border-radius: 16px;
    background: #f1f1f1;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

.base-metal-shop-card__image-link {
    display: block;
    line-height: 0;
}

.base-metal-shop-card__image {
    display: block;
    width: 100%;
    /* aspect-ratio: 1/62; */
    object-fit: cover;
}

.base-metal-shop-card__body {
    padding: 14px 14px 18px;
}

.base-metal-shop-card__title {
    margin: 10px 0 18px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    color: #243D77;
}

.base-metal-shop-card__copy {
    margin: 10px 0 20px;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.35;
    color: #33518d;
}

.base-metal-shop-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 10px;
}

/* .base-metal-shop-card__tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 12px;
    border: 1px solid #5a74a8;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    color: #243D77;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.base-metal-shop-card__tag:hover,
.base-metal-shop-card__tag:focus {
    color: #ffffff;
    background: #243D77;
    border-color: #243D77;
    text-decoration: none;
} */

.button.button-small {
    height: 32px;
    padding: 0px 13px !important;
    line-height: 30px;
}

@media (max-width: 1100px) {
    .base-metal-shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .base-metal-shop {
        margin-bottom: 72px;
        padding: 0 0 0 0;
    }

    .base-metal-shop__intro {
        margin: 0 12px 28px 0;
        padding-right: 12px;
    }

    .base-metal-shop__title {
        font-size: 26px;
    }

    .base-metal-shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        width: 100%;
        margin: auto;
    }
}
@media (max-width: 500px) {
    .base-metal-shop__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 24px;
    }
}

.new-products{
		background-color: #FFF;
		width: 100%;
		margin: 30px 0;
	}
	.new-products .scroller-new-prods{
		width: 90%;
		margin: 0 auto;
	}
	.new-products .scroller-new-prods .slick-prev, .new-products .scroller-new-prods .slick-next {
		font-size: 0;
		line-height: 0;
		position: absolute;
		top: 50%;
		display: block;
		width: 25px !important;
		height: 30px !important;
		padding: 0;
		-webkit-transform: translate(0, -50%);
		-ms-transform: translate(0, -50%);
		transform: translate(0, -50%);
		cursor: pointer;
		border: none;
		outline: none;
		background-size: contain;
		background-repeat: no-repeat;
	}
	.new-products .scroller-new-prods .slick-prev{
		left: -40px;
		z-index: 2;
	}
	.new-products .scroller-new-prods .slick-next{
		right: -40px;
		z-index: 2;
	}
	.new-products .scroller-new-prods .prod-card{
		height: auto;
		border-radius: 15px;
		overflow: hidden;
		margin: 10px;
        background-color: #F5F5F5;
		transition: all 0.4s ease-in-out;
		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
	}
	.new-products .scroller-new-prods .prod-card:hover{
		text-decoration: none;
		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);
        cursor: pointer;
	}
	.new-products .scroller-new-prods .prod-card .prod-card-img{
		position: relative;
	}
	.new-products .scroller-new-prods .prod-card .prod-card-img img{
		width: 100%;
		height: auto;
	}
	.new-products .scroller-new-prods .prod-card .prod-card-img .flash{
		background-color: #3B7D33;
		color: #FFFFFF;
		padding: 0 4px;
		font-size: 18px;
		font-weight: bold;
		position: absolute;
		top: 10px;
		right: 10px;
	}
	.new-products .scroller-new-prods .prod-card .prod-card-footer{
        position: relative;
		padding: 10px 0;
        background-color: #F5F5F5;
        color: #000;
        text-align: center;
        font-size: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        flex-grow: 1;
        height: 110px;
	}   
    .new-products .scroller-new-prods .prod-card .prod-card-footer .title{
        margin: 15px 0;
    }
    .new-products .scroller-new-prods .prod-card .prod-card-footer .button{
        position: absolute;
        bottom: 10px;
    }
	/* .new-products .scroller-new-prods .prod-card .prod-card-footer .cta{
		background-color: #314C89;
		color: #FFFFFF;
		padding: 10px 20px;
		margin-top: 10px;
		border-radius: 25px;
		text-decoration: none;
		width: 90%;
		border: 1px solid transparent;
		transition: all 0.4s ease-in-out;
	}
	.new-products .scroller-new-prods .prod-card .prod-card-footer .cta:hover{
		background-color: #FFFFFF;
		color: #314C89;
		border: 1px solid #314C89;
	} */
	.slick-active{
		background-color: #FFF;
		border-radius: 10px;
	}
    .slick-track {
  display: flex !important;
}

.slick-slide {
  height: auto;
}
	@media (max-width: 850px) {
		.sh-main .main-content{
			width: 100%;
			height: auto;
		}

		.sh-main .main-sidebar{
			display: none;
		}
	}


	@media (max-width: 800px) {
		.new-products .scroller-new-prods .slick-prev{
			left: -20px;
			z-index: 2;
		}
		.new-products .scroller-new-prods .slick-next{
			right: -25px;
			z-index: 2;
		}

        .base-metal-comparison__table-wrap {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
	}

.base-metal-comparison {
    margin: 50px auto 50px;
    padding: 0 5%;
    color: #243D77;
}

.base-metal-comparison__intro {
    margin: 0 auto 44px;
    text-align: center;
}

.base-metal-comparison__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 700;
    color: #243D77;
}

.base-metal-comparison__table-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.base-metal-comparison__table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 0 12px;
    color: #3f5f98;
    font-size: 15px;
    line-height: 1.3;
}

.base-metal-comparison__table thead th,
.base-metal-comparison__table tbody th,
.base-metal-comparison__table tbody td {
    padding: 26px 22px;
    background: #FFF;
    text-align: left;
    white-space: nowrap;
}

table tr:nth-child(even) td{
    background: rgba(247, 247, 247, 0.54);
}

.base-metal-comparison__table thead th {
    font-size: 16px;
    font-weight: 700;
    color: #243D77;
    background: rgba(247, 247, 247, 0.54);
}

.base-metal-comparison__table thead th:first-child {
    width: 190px;
}

.base-metal-comparison__table tbody th {
    font-size: 16px;
    font-weight: 700;
    color: #243D77;
}

.grey-row {
background-color: rgba(247, 247, 247, 0.54) !important;
}

.base-metal-comparison__table tbody td {
    font-size: 16px;
    font-weight: 400;
    color: #3f5f98;
}

@media (max-width: 1100px) {
    .base-metal-comparison__table {
        min-width: 900px;
    }

    .base-metal-comparison__table thead th,
    .base-metal-comparison__table tbody th,
    .base-metal-comparison__table tbody td {
        padding: 22px 18px;
    }

    .base-metal-comparison__table thead th,
    .base-metal-comparison__table tbody th,
    .base-metal-comparison__table tbody td {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .base-metal-comparison {
        margin: 64px auto 72px;
        padding: 0 0 0 12px;
    }

    .base-metal-comparison__intro {
        margin: 0 12px 28px 0;
        padding-right: 12px;
    }

    .base-metal-comparison__title {
        font-size: 26px;
    }

    .base-metal-comparison__table-wrap {
        padding: 0 12px 12px 0;
    }

    .base-metal-comparison__table {
        min-width: 860px;
        border-spacing: 0 10px;
    }

    .base-metal-comparison__table thead th,
    .base-metal-comparison__table tbody th,
    .base-metal-comparison__table tbody td {
        padding: 18px 16px;
        font-size: 18px;
    }

    .base-metal-comparison__table thead th:first-child {
        width: 170px;
    }
    }

.base-metal-faq {
    margin: 0 auto 50px;
    padding: 0 5%;
    color: #243D77;
}

.base-metal-faq__intro {
    margin: 0 auto 36px;
    text-align: center;
}

.base-metal-faq__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 700;
    color: #243D77;
}

.base-metal-faq__list {
    max-width: 950px;
    margin: 0 auto;
}

.base-metal-faq__item {
    margin-bottom: 16px;
    background-color: rgba(247, 247, 247, 0.54);
    overflow: hidden;
}

.base-metal-faq__item:last-child {
    margin-bottom: 0;
}

.base-metal-faq__trigger {
    width: 100%;
    padding: 18px 28px;
    border: 0;
    color: #243D77;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    background-color: transparent;
}

.base-metal-faq__trigger:focus{
    outline: none;
}

.base-metal-faq__question {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.base-metal-faq__icon {
    position: relative;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
}

.base-metal-faq__icon::before,
.base-metal-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background: #5b74a8;
    transform-origin: center;
    transition: transform 0.25s ease;
}

.base-metal-faq__icon::before {
    transform: translate(-85%, -50%) rotate(45deg);
}

.base-metal-faq__icon::after {
    transform: translate(-15%, -50%) rotate(-45deg);
}

.base-metal-faq__item.is-open .base-metal-faq__icon::before {
    transform: translate(-85%, -50%) rotate(-45deg);
}

.base-metal-faq__item.is-open .base-metal-faq__icon::after {
    transform: translate(-15%, -50%) rotate(45deg);
}

.base-metal-faq__panel {
    padding: 0 28px 24px;
}

.base-metal-faq__answer {
    max-width: 850px;
    font-size: 16px;
    line-height: 1.4;
    color: #7b7b7b;
}

@media (max-width: 767px) {
    .base-metal-faq {
        margin-bottom: 50px;
        padding: 0 12px;
    }

    .base-metal-faq__intro {
        margin-bottom: 28px;
    }

    .base-metal-faq__title {
        font-size: 26px;
    }

    .base-metal-faq__trigger {
        padding: 16px 18px;
    }

    .base-metal-faq__panel {
        padding: 0 18px 18px;
    }
}

.base-metal-explainer {
    margin: 0 auto ;
    padding: 70px 9%;
    background-color: rgba(247, 247, 247, 0.54);
}

.base-metal-explainer__row {
    display: grid;
    grid-template-columns: minmax(320px, 450px) minmax(280px, 1fr);
    gap: 42px;
    align-items: center;
    margin-bottom: 58px;
}

.base-metal-explainer__row:last-child {
    margin-bottom: 0;
}

.base-metal-explainer__media {
    width: 100%;
}

.base-metal-explainer__image {
    display: block;
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
}

.base-metal-explainer__content {
    max-width: 900px;
}

.base-metal-explainer__title {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 700;
    color: #243D77;
}

.base-metal-explainer__copy {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #4262a0;
}

.base-metal-gallery {
    margin: 56px auto 56px;
    padding: 0 5%;
}

.base-metal-gallery__intro {
    margin: 0 auto 42px;
    text-align: center;
}

.base-metal-gallery__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 700;
    color: #243D77;
}

.base-metal-gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 26px;
}

/* .base-metal-gallery__item {
    overflow: hidden;
    border-radius: 18px;
} */

.base-metal-gallery__item--span-2 {
    grid-column: span 2;
}

.base-metal-gallery__item--span-3 {
    grid-column: span 3;
}

.base-metal-gallery__item--span-4 {
    grid-column: span 4;
}

.base-metal-gallery__item--span-5 {
    grid-column: span 5;
}

.base-metal-gallery__link {
    display: block;
    cursor: zoom-in;
    border-radius: inherit;
    overflow: hidden;
}

.base-metal-gallery__link:focus-visible {
    outline: 3px solid #243D77;
    outline-offset: 4px;
}

.base-metal-gallery__image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.base-metal-gallery__link:hover .base-metal-gallery__image,
.base-metal-gallery__link:focus-visible .base-metal-gallery__image {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .base-metal-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .base-metal-gallery__item--span-2,
    .base-metal-gallery__item--span-3,
    .base-metal-gallery__item--span-4,
    .base-metal-gallery__item--span-5 {
        grid-column: span 1;
    }

    .base-metal-explainer__row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .base-metal-explainer__content {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .base-metal-gallery {
        margin: 0 auto 48px;
        padding: 0 12px;
    }

    .base-metal-gallery__intro {
        margin-bottom: 28px;
    }

    .base-metal-gallery__title {
        font-size: 26px;
    }

    .base-metal-gallery__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .base-metal-explainer {
        padding: 50px 12px;
    }

    .base-metal-explainer__row {
        gap: 20px;
        margin-bottom: 32px;
    }

    .base-metal-explainer__image {
        border-radius: 18px;
    }

    .base-metal-explainer__title {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .base-metal-explainer__copy {
        font-size: 16px;
        line-height: 1.45;
    }
}

.base-metal-seo {
    margin: 0 auto 96px;
    padding: 50px 5% 0;
}

.base-metal-seo__inner {
    max-width: 900px;
    margin: 0 auto;
}

.base-metal-seo__title {
    margin: 0 0 32px;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 700;
    color: #243D77;
}

.base-metal-seo__copy {
    margin: 0 auto 34px;
    max-width: 1020px;
    font-size: 16px;
    line-height: 1.7;
    color: #4262a0;
}

.base-metal-seo__copy:last-child {
    margin-bottom: 0;
    max-width: 1030px;
}

@media (max-width: 767px) {
    .base-metal-seo {
        margin-bottom: 72px;
        padding: 56px 12px 0;
    }

    .base-metal-seo__title {
        margin-bottom: 24px;
        font-size: 26px;
    }

    .base-metal-seo__copy {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.6;
    }
}
