.mysticky {
    position: fixed !important;
    z-index: 1 !important;
    top: 26px;
    right: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .05);
}

@media (min-width: 768px) {
    .mysticky {
        position: fixed !important;
        z-index: 1 !important;
        top: 39px;
        right: 0;
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 5px rgba(0, 0, 0, .05);
    }
}

.mystickypromo {
    position: fixed !important;
    z-index: 1 !important;
    top: 0px;
    right: 0;
    left: 0;

    background-color: #fff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .05);
}

body {
    margin-top: 119px;
}

/* Customize scrollbar appearance */
.scrollable-div::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

.scrollable-div::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the track */
}

.scrollable-div::-webkit-scrollbar-thumb {
    background: #888; /* Color of the thumb */
}

.scrollable-div::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color of the thumb on hover */
}


@media only screen and (min-width: 768px) {
    .bnslider.bnslider--own {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
}

.redButton {
    background-color: #dc3545 !important;
}

/* This exists because on card page there is js looking after if class redButton exists and block going forward */
.redButton2 {
    background-color: #dc3545 !important;
}

.greenButtonCoupon {
    background-color: #28a745 !important;
}

@media only screen and (min-width: 1025px) {
    .clerk {
        max-height: 700px !important;
        overflow-y: scroll !important;
    }
}

@media only screen and (max-width: 1024px) {
    .clerk {
        /*z-index: 2147483647 !important;*/
        position: absolute;
        width: 92%;
        border-bottom: black 1px solid;
        border-right: black 1px solid;
        border-left: black 1px solid;
        border-top: black 1px solid;
        line-height: 15px !important;
    }

    .clerk-design-component-It84sXCr > div:first-child {
        gap: 0;
    }

    .clerk-design-component-P4QHgn0B {
        margin: 0;
        margin-bottom: 5px;
    }

    .clerk-design-component-aDYXmLut {
        max-height: 50vh !important;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch; /* Enables momentum scrolling */
    }

    div[data-group="group1"] img {
        height: 110px;
    }

    div[data-group="group1"] a {
        height: 110px;
    }

    .hdr-content > .container > .mobileNavbar > * {
        padding: 0 !important;
        margin-right: 10px;
    }
}

.flags {
    display: inline !important;
}

.spinner-container {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5vh;
}

.fa-spinner {
    font-size: 5rem; /* Adjust the size as needed */
}


.carousel {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 1 0 20%; /* Show 5 items, adjust percentage for more/less items */
    box-sizing: border-box;
    text-align: center;
    padding: 10px; /* Add some padding if needed */
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 1 0 50%; /* Show 2 items on mobile */
    }
}

.carousel-item img {
    width: 200px;
    height: 200px;
    object-fit: cover; /* Ensures the image covers the area without distortion */
    display: block;
    margin: auto;
}

.carousel-item p {
    margin-top: 10px; /* Space between image and text */
}

.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theslidercontent .circle {
    border-style: solid;
    border-size: 0.5px;
}

.circleContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mss-bullets {
    z-index: 1 !important;
}

#slide-2 .mss-slider::before {
    padding-top: 50.0% !important;
}

#slide-3 .mss-slider::before {
    padding-top: 50.0% !important;
}


#slide-4 .mss-slider::before {
    padding-top: 50.0% !important;
}

@media (max-width: 1024px) {
    body {
        margin-top: 170px;
    }
}

@media (max-width: 991px) {
    body {
        margin-top: 160px;
    }
}

@media (max-width: 768px) {
    body {
        margin-top: 145px;
    }
}

@media (max-width: 478px) {
    body {
        margin-top: 135px;
    }
}

@media (max-width: 295px) {
    body {
        margin-top: 117px;
    }
}

@media (max-width: 280px) {
    body {
        margin-top: 108px;
    }
}

.original-price {
    text-decoration: line-through;
    color: gray;
}

.custom-club-selector-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-club-selector {
    position: relative;
    display: block;
    width: 100%;
}

.custom-club-selector-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.custom-club-options {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000;
}

.custom-club-option {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-club-option img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.custom-club-option:hover {
    background-color: #f0f0f0;
}

.custom-club-selector.open .custom-club-options {
    display: block;
}


.custom-club-search {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

@media only screen and (max-width: 767px) {
    .checkout-container .row {
        display: flex;
        flex-direction: column-reverse;
    }

    .checkout-container .col-md-8 {
        margin-top: 5px !important;
        order: 20;
    }

    .checkout-container .col-md-10 {
        order: 10;
    }

    .cart-table-prd-price:not(:first-child) {
        margin-top: 1px;
    }
}

.cart-table-prd {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f4f4f4;
}

.cart-table-prd-image {
    flex: 0 0 100px;
    margin-right: 15px;
}

.cart-table-prd-image img {
    max-width: 100%;
    height: auto;
}

.cart-table-prd-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-table-prd-info {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-table-prd-qty {
    /*font-weight: bold;*/
}

.cart-table-prd-name a {
    color: #333;
    text-decoration: none;
}

.cart-table-prd-price {
    font-size: 14px;
    color: #282828;
    margin-bottom: 1px;
}

.cart-table-prd-message {
    margin-top: 5px;
    font-size: 14px;
    color: #dc3545;
}

/* New container class for extra actions */
.cart-table-prd-extra {
    width: 100%;
    margin-top: 1px;
    display: block;
}

/* New custom button class */
.btn-custom-action {
    display: inline-block;
    padding: 8px 15px;
    background-color: #28a745; /* A different color to distinguish */
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 5px;
    cursor: pointer;
}

.btn-custom-action:hover {
    background-color: #218838; /* Darker shade for hover effect */
}

.error-message {
    font-size: 14px;
    color: red;
    display: none;
    margin-top: 5px;
}

@media (min-width: 1025px) {
    .hide-desktop {
        display: none !important;
    }
}

.bannerCategory {
    cursor: pointer; /* Changes the cursor to a hand icon on hover */
}

.paymentNotification {
    position: relative;
    z-index: 1;
    padding: 4px;
    transform: translateY(120%);
    pointer-events: all;
    opacity: 0;
    border-radius: 50%;
}

.paymentNotification.payment-notification--squared .payment-notification-inside {
    width: 280px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, .2);
}
.paymentNotification.payment-notification--squared .payment-notification-container {
    display: -ms-flexbox;
    display: flex;
    padding: 5px 30px 5px 5px;
    text-align: left;
    -ms-flex-align: center;
    align-items: center;
}
.paymentNotification.payment-notification--squared .payment-notification-image img {
    width: auto;
    height: 100%;
    object-fit: contain;
}
.paymentNotification.payment-notification--squared .payment-notification-content {
    margin: 0;
    padding: 0 10px;
}
.paymentNotification.payment-notification--squared .payment-notification-content-wrapper {
    height: auto;
}
.paymentNotification.payment-notification--squared .payment-notification-name {
    line-height: 1.2em;
    display: block;
    white-space: normal;
}
.paymentNotification.payment-notification--squared .payment-notification-close {
    font-size: 14px;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    box-shadow: none;
}
.paymentNotification.payment-notification--squared .payment-notification-qw {
    font-size: 16px;
    right: 5px;
    bottom: 5px;
    width: 24px;
    height: 24px;
    box-shadow: none;
}
.paymentNotification.payment-notification--squared .payment-notification-from {
    font-size: 11px;
    line-height: 1em;
}
.paymentNotification.payment-notification--squared:after {
    display: none;
}

/* More specific targeting to override existing styles */
/* Base tooltip styles for all items */
.colorswatch-label--variants ul li .hover-tooltip {
    visibility: hidden;
    opacity: 0;
    background-color: #efefef;
    color: black !important;
    max-width: 140px !important;
    min-width: 140px !important;
    height: 40px !important;
    text-align: center;
    padding: 9px 4px !important;
    position: absolute;
    right: -145px;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 12px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 5px !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: -10px;
}

.hover-tooltip {
    visibility: hidden; /* Default hidden */
    opacity: 0; /* Default opacity */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Transition effect */
}


/* Default arrow styling for tooltips */
.hover-tooltip::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -6px; /* Default left-side positioning */
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #333 transparent transparent; /* Left-pointing arrow */
}

/* Arrow styling for last tooltip */
.hover-tooltip.right-arrow::before {
    left: auto; /* Remove left positioning */
    right: -6px; /* Position on the right */
    border-color: transparent transparent transparent #333; /* Right-pointing arrow */
}

/* Show tooltip on hover */
.colorswatch-label--variants ul li > .color-circle:hover + .hover-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Tooltip styles specifically for the last item in each row */
.prd.last-in-row .hover-tooltip {
    left: -145px; /* Adjust this for the last tooltip */
    visibility: visible; /* Make it visible when it's the last in row */
    opacity: 1; /* Set opacity to 1 for visibility */
}


/* Container for the list of images */
.prd-block .images-list {
    display: flex;
    flex-wrap: wrap;
    margin: -5px 0 0;
    padding: 0;
    list-style: none;
}

/* Each list item */
.prd-block .images-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 5px 5px 0 0;
    height: 60px; /* Ensure this matches the image height */
    padding: 0; /* Remove padding */
    list-style: none; /* Remove bullet points */
}

/* Link inside each list item */
.prd-block .images-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    margin-top: 25px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: none;
    overflow: hidden; /* Hide any overflow */
    padding: 0; /* Remove padding */
    line-height: normal; /* Neutral line-height */
    box-sizing: border-box; /* Include padding and borders in the total size */
}

/* Image container inside the link */
.prd-block .images-list li .image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0; /* Remove padding */
}

/* The image itself */
.prd-block .images-list li a img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto; /* Center the image within its container */
}

/* Active and hover states */
.prd-block .images-list li.active a,
.prd-block .images-list li:hover:not(.absent-option) a {
    color: #fff;
}

.prd-block .images-list li.soldout .soldout-flag {
    position: absolute;
    top: 0;
    right: 0;
    background: rgb(242, 75, 150); /* Added comma for proper RGB syntax */
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    padding: 1px 2px; /* Reduced padding */
    border-bottom-left-radius: 2px;
    transform: translate(-10%, -90%); /* Adjusted transform */
    white-space: nowrap;
    z-index: 1;
    /* height: 20px; */ /* Removed fixed height */
    line-height: 1; /* Ensures text is vertically centered */
    display: flex; /* Added for Flexbox alignment */
    align-items: center; /* Vertically centers the text */
    justify-content: center; /* Horizontally centers the text */
}

/* The promo strip is fully server-rendered (layout/header.php:888-902), so the
   text is already on screen at first paint. Without this rule the generic FOUC
   guard in style-sport.css:28554-28557, [data-slick]:not(.slick-initialized)
   { opacity: 0 }, holds it invisible until slick runs on window load, which
   waits for every image on the page. Scoped to this one element: the product
   carousels still need that guard because they really do reflow on init.
   Outside a media query on purpose, so it survives someone widening the
   @media (min-width: 768px) block the guard lives in. */
.hdr-topline .custom-text.js-custom-text-carousel:not(.slick-initialized) {
    opacity: 1;
}
