/* Category Slider Styles */
h3.wordpress__header-title,
.wordpress__header-title {
    font-weight: bold !important;
    font-size: 1.75rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
    max-width: 1232px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

h3.page__row-title.wordpress__header-title {
    font-weight: bold !important;
    font-size: 1.75rem !important;
    max-width: 1232px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

.category-slider {
    position: relative;
    width: 100%;
    max-width: 1232px;
    margin: 2rem auto;
    overflow: hidden;
    padding: 0 16px;
}

.category-slider__container {
    position: relative;
    width: 100%;
    padding: 0;
}

.category-slider__track {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider__track::-webkit-scrollbar {
    display: none;
}

.category-slider__slide {
    flex-shrink: 0;
    width: 116.505px;
}

.category-slider__item {
    padding-bottom: 0;
}

.category-slider__link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.category-slider__link:hover {
    transform: scale(1.05);
}

.category-slider__image {
    display: block;
    width: 101px;
    height: 101px;
    margin: 0 auto;
}

.category-slider__img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    user-drag: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Brand Slider Specific Styles */
.brand-slider .category-slider__slide {
    flex-shrink: 0;
    width: 116.505px;
}

.brand-slider .category-slider__image {
    display: block;
    width: 101px;
    height: 101px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.brand-slider .category-slider__img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

.brand-slider .category-slider__placeholder {
    width: 101px;
    height: 101px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
    color: #666;
    padding: 0.5rem;
}

.brand-slider .category-slider__navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 20;
    padding: 0 1rem;
}

.brand-slider .category-slider__prev,
.brand-slider .category-slider__next {
    position: relative;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    left: auto;
    right: auto;
    transform: none;
    top: auto;
}

.brand-slider .category-slider__prev {
    left: 0;
}

.brand-slider .category-slider__next {
    right: 0;
}

.brand-slider .category-slider__prev:hover,
.brand-slider .category-slider__next:hover {
    background: #f5f5f5;
    border-color: #999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.brand-slider .category-slider__prev svg,
.brand-slider .category-slider__next svg {
    width: 24px;
    height: 24px;
    fill: #333;
    color: #333;
}

.category-slider__placeholder {
    width: 101px;
    height: 101px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
    color: #666;
    padding: 0.5rem;
}

.category-slider__navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    padding: 0 1rem;
}

.category-slider__prev,
.category-slider__next {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    left: auto;
    right: auto;
    transform: none;
    top: auto;
}

.category-slider__prev {
    left: 0;
}

.category-slider__next {
    right: 0;
}

.category-slider__prev:hover,
.category-slider__next:hover {
    background: #f5f5f5;
    border-color: #999;
}

.category-slider__prev.is-disabled,
.category-slider__next.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.category-slider__prev svg,
.category-slider__next svg {
    width: 24px;
    height: 24px;
    fill: #666;
    color: #666;
}

.icon-arrowLeft,
.icon-arrowRight {
    width: 24px;
    height: 24px;
}

@media (max-width: 767px) {
    .category-slider__slide {
        width: 100px;
    }
    
    .category-slider__image {
        width: 90px;
        height: 90px;
    }
    
    .category-slider__navigation {
        display: none;
    }
    
    .category-slider__prev,
    .category-slider__next {
        width: 36px;
        height: 36px;
    }
    
    .category-slider__prev svg,
    .category-slider__next svg {
        width: 20px;
        height: 20px;
    }
    
    /* Brand slider mobile styles */
    .brand-slider .category-slider__slide {
        width: 100px;
    }
    
    .brand-slider .category-slider__image {
        width: 90px;
        height: 90px;
        padding: 0;
    }
    
    .brand-slider .category-slider__navigation {
        display: flex;
        padding: 0 0.5rem;
    }
    
    .brand-slider .category-slider__prev,
    .brand-slider .category-slider__next {
        width: 36px;
        height: 36px;
    }
    
    .brand-slider .category-slider__prev svg,
    .brand-slider .category-slider__next svg {
        width: 20px;
        height: 20px;
    }
}

/* Product Slider Styles */
.slider-page {
    width: 100%;
    max-width: 1232px;
    margin: 2rem auto;
    padding: 0 16px;
}

.product-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hooper-list {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hooper-track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: transform 0.3s ease-in-out;
}

.hooper-track::-webkit-scrollbar {
    display: none;
}

.hooper-slide {
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    height: auto !important;
    transition: transform 0.3s ease-in-out;
}

[dir=ltr] .slider-page .banner .hooper-slide {
    margin-right: 0;
}

.slider-page .banner .hooper-slide {
    width: calc((100% - (4 * 16px)) / 5) !important;
}

[dir=ltr] .banner .hooper-slide {
    padding-left: 1px;
}

.banner__item {
    width: 100%;
}

.banner__item .product-tile__item {
    max-width: 100%;
    margin: 1px 0 4px 0;
}

.product-tile {
    width: 100%;
}

.product-tile__item {
    position: relative;
    max-width: 176px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 1px -1px rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.14);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 1px -1px rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.product-tile__link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.product-tile__col {
    display: flex;
    flex-direction: column;
}

.position-relative {
    position: relative;
}

.product-tile__image {
    width: 100%;
    padding: 0.5rem;
    background: #fff;
}

.product-tile__image.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.lazyload-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
}

.lazyload-wrapper .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image--contain {
    object-fit: contain;
}

.product-title__logo {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
}

.product-title__logo--position {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
}

.product-title__logo--bg {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-align: center;
}

.product-title__logo--bg.mw-75 {
    max-width: 75%;
    margin: 0 auto;
}

.product-title__brand {
    font-size: 0.75rem;
    font-weight: 500;
    color: #333;
}

.product-tile__container {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-tile__wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    margin-bottom: 0.5rem;
}

.product-title__title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    color: #273444;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title__info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
}

.product-title__info--box {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    background: #f5f5f5;
    border-radius: 4px;
    color: #666;
}

.product-tile__price-container {
    margin-top: auto;
    padding-top: 0.5rem;
}

.product-tile__price {
    width: 100%;
}

.price-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-box__row {
    display: flex;
    align-items: center;
}

.price {
    font-size: 1rem;
    font-weight: 600;
    color: #273444;
}

.price--old-red {
    color: #e74c3c;
    text-decoration: line-through;
    font-size: 0.875rem;
    font-weight: 400;
}

.price_alignment {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
}

.price__currency {
    font-size: 0.875em;
}

.product-tile__product-label {
    margin-top: 0.5rem;
}

.mt4 {
    margin-top: 1rem;
}

.divider {
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    margin: 0.5rem 0;
}

.divider--small {
    height: 1px;
}

.divider--small--pale-grey {
    background: #f0f0f0;
}

.product-tile__actions {
    padding: 0.5rem 0;
}

.actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.actions--circular {
    display: flex;
    gap: 0.25rem;
}

.actions__col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.button--circular {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
}

.button--standard {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
}

.button--floating {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button--floating:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.button--add-to-cart {
    background: #fff;
    color: #333;
    border-color: #ddd;
}

.button--add-to-cart:hover {
    background: #f5f5f5;
    border-color: #999;
}

.button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button__icon--small {
    width: 24px;
    height: 24px;
}

.icon--medium {
    width: 24px;
    height: 24px;
}

.button__content {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.button__content--with-icon {
    display: none;
}

.hooper-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 20;
    padding: 0 1rem;
}

.hooper-prev,
.hooper-next {
    position: relative;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hooper-prev {
    left: 0;
}

.hooper-next {
    right: 0;
}

.hooper-prev:hover,
.hooper-next:hover {
    background: #f5f5f5;
    border-color: #999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hooper-prev.is-disabled,
.hooper-next.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hooper-prev svg,
.hooper-next svg {
    width: 24px;
    height: 24px;
    fill: #333;
    color: #333;
}

.hooper-liveregion {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.hooper-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (max-width: 1024px) {
    .slider-page .banner .hooper-slide {
        width: calc((100% - (3 * 16px)) / 4) !important;
    }
}

@media (max-width: 768px) {
    .slider-page .banner .hooper-slide {
        width: calc((100% - (2 * 16px)) / 3) !important;
    }
    
    .hooper-navigation {
        padding: 0 0.5rem;
    }
    
    .hooper-prev,
    .hooper-next {
        width: 36px;
        height: 36px;
    }
    
    .hooper-prev svg,
    .hooper-next svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .slider-page .banner .hooper-slide {
        width: calc((100% - 16px) / 2) !important;
    }
    
    .button__content--with-icon {
        display: none;
    }
}

/* Product Listing Grid Styles */
.product-listing {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-tile__item--spacer {
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Bootstrap-like column classes for responsive grid */
.d-inline-flex {
    display: inline-flex !important;
}

.col-xs-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    display: block !important;
    visibility: visible !important;
}

.col-md-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    display: block !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .col-xs-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .col-md-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 480px) {
    .col-xs-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .col-md-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

