.second-product-gallery {
    background: #333;
    padding: 60px 48px;
    margin-top: 0px;
    box-sizing: border-box;
}

.second-gallery-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.second-gallery-title {
    color: #fff;
    width: 410px;
    flex: 0 0 410px;
}

.second-gallery-title h2 {
    color: #fff;
    font-size: 46px;
    line-height: 1.1;
    margin: 0 0 30px;
    font-weight: 700;
    text-transform: uppercase;
}

.second-gallery-tag {
    color: #ffb400;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.second-gallery-social {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    text-transform: uppercase;
}

.second-gallery-carousel {
    position: relative;
    flex: 1;
    min-width: 0;
}

.second-gallery-viewport {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.second-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    transition: transform 0.25s ease;
    will-change: transform;
}

.second-gallery-track.is-dragging {
    transition: none;
}

.second-gallery-item {
	border: none !important;
    appearance: none;
    padding: 0;
    margin: 0;
    background: #fff;
    cursor: pointer;
    flex: 0 0 calc((100% - 24px) / 2);
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.second-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.second-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 42px;
    text-align: center;
}

.second-gallery-prev {
    left: 10px;
}

.second-gallery-next {
    right: 10px;
}

.second-gallery-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.second-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 50px;
    box-sizing: border-box;
    touch-action: pan-y;
}

.second-gallery-lightbox.is-open {
    display: flex;
}

.second-gallery-lightbox-image {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.second-gallery-lightbox-close,
.second-gallery-lightbox-arrow {
    position: absolute;
    z-index: 100000;
    border: 0;
    background: rgba(0, 0, 0, 0.65);
    color: #000;
    cursor: pointer;
    text-align: center;
}

.second-gallery-lightbox-close {
    top: 20px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 36px;
    line-height: 33px;
}

.second-gallery-lightbox-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 32px;
}

.second-gallery-lightbox-prev {
    left: 24px;
}

.second-gallery-lightbox-next {
    right: 24px;
}

@media (max-width: 768px) {
	.second-gallery-title h2{
		font-size: 36px;
		margin: 0 0 10px;
	}
	.second-gallery-tag{
		font-size: 22px;
	}
	.second-gallery-social {
	font-size: 22px;
	}
	
	.second-gallery-title .pre-footer-content p.pre-footer-title{
		margin-bottom: 5px;
	}
    .second-product-gallery {
        padding: 30px 20px;
    }

    .second-gallery-inner {
        flex-direction: column;
        gap: 24px;
    }

    .second-gallery-title {
        width: auto;
        flex: 0 0 auto;
    }

    .second-gallery-item {
		border: none !important;
        flex-basis: 85%;
        height: 350px;
		flex: 0 0 calc((100% - 0px) / 1);
    }

    .second-gallery-lightbox {
        padding: 30px 16px;
    }

    .second-gallery-lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .second-gallery-lightbox-prev {
        left: 10px;
    }

    .second-gallery-lightbox-next {
        right: 10px;
    }
}
.second-gallery-arrow{
	background: #000000 !important;
	line-height: 27px !important;
}
