/* DIY Off Road — luxury PDP related-products carousel (theme Hos/diy) */
.jadog-related-carousel {
    margin: 55px 0 35px;
    padding-top: 10px;
}

/* Centered, large heading with a brand-blue gradient underline */
.jadog-related-title {
    text-align: center;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .01em;
    color: #1b1b1b;
    margin: 0 0 30px;
    text-transform: none;
}
.jadog-related-title span {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}
.jadog-related-title span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 84px;
    height: 3px;
    background: linear-gradient(90deg, rgba(25, 121, 195, .18), #1979c3 35%, #5badde 50%, #1979c3 65%, rgba(25, 121, 195, .18));
    border-radius: 3px;
}

.jadog-carousel-wrap {
    position: relative;
    padding: 0 48px;
}

.jadog-carousel-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 2px 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.jadog-carousel-track::-webkit-scrollbar {
    display: none;
}

.jadog-carousel-card {
    flex: 0 0 auto;
    width: 224px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.jadog-carousel-card:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, .13);
    transform: translateY(-5px);
    border-color: #cfe5f2;
}

.jadog-card-image {
    display: block;
    margin-bottom: 12px;
}
.jadog-card-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.jadog-card-name {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: #2a2a2a;
    text-decoration: none;
    min-height: 38px;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.jadog-card-name:hover {
    color: #1979c3;
}

.jadog-card-price {
    margin-bottom: 14px;
    font-size: 17px;
}
.jadog-card-price .price {
    font-weight: 700;
    color: #1b1b1b;
}

.jadog-carousel-card form,
.jadog-carousel-card .jadog-card-view {
    margin-top: auto;
}
.jadog-card-cart {
    width: 100%;
    border-radius: 7px;
    font-weight: 600;
    letter-spacing: .02em;
}
.jadog-card-view {
    display: block;
    text-align: center;
    text-decoration: none;
}

/* Brand-blue rectangular scroll arrows, full card height */
.jadog-carousel-arrow {
    position: absolute;
    top: 8px;
    bottom: 14px;
    z-index: 3;
    width: 42px;
    border-radius: 8px;
    border: 1px solid #cfe5f2;
    background: #fff;
    color: #1b1b1b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.jadog-carousel-arrow:hover {
    background: linear-gradient(135deg, #1979c3, #006bb4);
    color: #fff;
    box-shadow: 0 6px 18px rgba(25, 121, 195, .42);
}
.jadog-carousel-arrow:active {
    transform: scale(.97);
}
.jadog-prev { left: 0; }
.jadog-next { right: 0; }

@media (max-width: 768px) {
    .jadog-related-title { font-size: 23px; }
    .jadog-carousel-wrap { padding: 0 38px; }
    .jadog-carousel-card { width: 168px; padding: 13px 11px; }
    .jadog-carousel-arrow { width: 36px; font-size: 22px; }
}
