/* Style for the preloader */
.r-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0 0 0 / 31%);
    backdrop-filter: blur(3px);
    z-index: 9999;
}

.r-preloader .r-spinner {
    border: 8px solid #ffffff;
    border-top: 8px solid #006616;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: rSpin 1.5s linear infinite;
}

/* Animation for spinning */
@keyframes rSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.dropdown.bootstrap-select.form-control.p-condition {
    width: 155px;
    flex: none;
}
.dropdown.bootstrap-select.form-control.country-code {
    max-width: 250px;
}
input[type="checkbox"],
input[type="radio"] {
    height: 20px;
    width: 20px;
}
.mobile-menu-bar {
    display: none;
}
.c-badge {
    width: auto !important;
}
.custom-header-menu .list-unstyled.categories {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.custom-header-menu .list-unstyled .list-inline-item {
    display: flex;
    align-items: center;
}
.custom-header-menu .category-nav-element:hover .sub-cat-menu {
    top: 100%;
    bottom: unset;
    left: 50%;
    transform: translateX(-50%);
    border-top: 1px solid #e2e5ec;
    display: block !important;
}
.custom-header-menu .list-unstyled .list-inline-item img {
    max-height: 35px;
    /* margin-right: 3px; */
}
.custom-header-menu .list-unstyled .list-inline-item a {
    display: flex !important;

    align-items: center;
}
.custom-header-menu .category-nav-element:hover > a {
    box-shadow: unset;
    /*color: #000000!important;  */
    opacity: 1 !important;
    background: transparent !important;
}

.custom-header-menu .category-nav-element:hover a .cat-name {
    color: #000000 !important;
}
.custom-header-menu .c-preloader {
    left: 50%;
    transform: translateX(-50%);
}

.header-top-right-btn {
    font-size: 12px;
}
.header-menu-toggler {
    display: none;
}
.aiz-top-menu-sidebar.header-m-sidebar {
    display: none;
}
.hover-category-menu.r-menu .sub-cat-menu {
    width: calc(100% - 25%);
    left: calc(25% - 10px);
}
.custom-header-menu .category-nav-element .sub-cat-menu {
    width: 80% !important;
    min-height: 300px;
    max-height: 400px;
    transition: none !important;
    display: none;
    z-index: 999 !important;
}
.header-top-right-btn.profile a {
    flex-direction: column;
}
.size-24px {
    height: 24px;
}
.r-search-form .form-control#search,
.r-search-form .p-condition [data-id="product_condition"] {
    height: calc(1.3125rem + 1.2rem + 3px);
}
.nav-toggler-btn {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    margin: 0;
    padding: 14px 10px;
    cursor: pointer;
}

.mobile-menu-visible .nav-toggler-btn {
    background: #ddd;
}

.nav-toggler-btn span {
    display: block;
    position: relative;
    height: 2px;
    background: #000;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.mobile-menu-visible .nav-toggler-btn span:nth-child(2) {
    display: none;
}

.mobile-menu-visible .nav-toggler-btn span:nth-child(1) {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 5px;
}

.mobile-menu-visible .nav-toggler-btn span:nth-child(3) {
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 3px;
}

.nav-toggler-btn span:nth-child(2) {
    margin: 4px 0;
}
.menu-toggle-btn-wrap {
    display: flex;
    align-items: center;
}
.custom-header-menu a.main-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    position: relative;
}
.custom-header-menu .submenu-arrow-btn {
    font-size: 18px;
}

.aiz-category-menu .sub-cat-menu .c-preloader {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.headline-notice-wrap .notice-inner {
    padding: 12px 20px 8px;
    background: #fff;
    margin-bottom: 60px;
    border-radius: 33px;
    font-size: 14px;
    color: #444;
    min-height: 40px;
}

.dropdown.bootstrap-select.form-control.p-condition .dropdown-item {
    padding-left: 8px;
    padding-right: 8px;
}
.dropdown.bootstrap-select.form-control.p-condition
    [data-id="product_condition"] {
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 1024px) {
    .aiz-category-menu.custom-header-menu {
        display: none;
    }
    .header-menu-toggler {
        display: inline-block;
    }
    .aiz-top-menu-sidebar.header-m-sidebar {
        display: block;
    }
    header .brand-logo {
        margin-right: 0 !important;
    }
    .mobile-menu-bar {
        display: block !important;
    }
    .custom-header-menu .list-unstyled .list-inline-item {
        display: inline-block;
        width: 100%;
        border-bottom: 1px solid #d5d5d5;
    }
    .header-main-menu-wrap {
        justify-content: space-between;
    }
    .h-search-btn-wrap {
        margin-left: 0 !important;
    }

    .h-logo-wrapper {
        padding-right: 0 !important;
    }
    .header-main-menu-wrap {
        background: transparent !important;
    }
    .mobile-menu-initiated .custom-header-menu .list-unstyled.categories {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    .aiz-category-menu.custom-header-menu {
        position: fixed;
        left: -100%;
        min-width: 90%;
        border-radius: 0 !important;
        box-shadow: -10px 10px 26px #c8c8c887;
        padding: 20px 20px;
        height: calc(100% - 70px);
        transition: all 0.3s ease;
        overflow-y: auto;
        /* display: flex; */
        /* align-items: flex-start; */
        /* justify-content: flex-end; */
    }

    .mobile-menu-visible .aiz-category-menu.custom-header-menu {
        left: 0%;
    }

    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu,
    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu
        * {
        height: unset;
        background: transparent !important;
    }

    .custom-header-menu .category-nav-element:hover .main-link,
    .custom-header-menu .category-nav-element:hover .main-link * {
        color: var(--primary) !important;
        background: transparent !important;
    }

    .mobile-menu-initiated
        .custom-header-menu
        .list-unstyled.categories
        .category-nav-element {
        width: 100%;
        border-bottom: 1px solid #d5d5d5;
    }

    .mobile-menu-initiated .custom-header-menu .submenu-arrow-btn {
        width: 50%;
        text-align: right;
        position: absolute;
        right: 0;
        height: 100%;
        line-height: 1.8;
        padding-right: 5px !important;
        display: flex !important;
        align-items: center;
        justify-content: end;
    }

    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu,
    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element:hover
        .sub-cat-menu {
        width: unset;
        padding: unset;
        min-height: unset;
        max-height: unset;
    }

    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu
        .card-columns,
    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element:hover
        .sub-cat-menu
        .card-columns {
        -webkit-column-count: unset;
        column-count: unset;
        height: auto;
    }
    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu
        .card-columns
        .card {
        margin-bottom: 0px !important;
    }
    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu
        ul,
    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element:hover
        .sub-cat-menu
        ul {
        width: 100%;
        display: block;
        margin-bottom: 30px !important;
    }

    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu
        ul:last-child {
        margin-bottom: 0 !important;
    }

    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu
        ul
        li,
    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element:hover
        .sub-cat-menu
        ul
        li {
        margin-bottom: 5px !important;
        padding-bottom: 5px !important;
    }

    .mobile-menu-initiated .aiz-category-menu.custom-header-menu .sub-cat-menu {
        display: none;
        position: unset;
        top: 0;
        transform: unset;
        box-shadow: unset !important;
        padding: 5px 40px !important;
    }

    .mobile-menu-initiated .custom-header-menu .c-preloader {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .mobile-menu-initiated
        .custom-header-menu
        .category-nav-element
        .sub-cat-menu
        ul
        li:not(:first-child) {
        padding-left: 10px;
    }
    .mobile-menu-initiated .aiz-mobile-bottom-nav {
        z-index: 11;
    }
    body.mobile-menu-visible {
        overflow: hidden;
    }
    .mobile-menu-initiated .custom-header-menu .submenu-arrow-btn i {
        transform: rotate(-90deg);
        transition: all 0.3s ease;
    }

    .mobile-menu-initiated
        .custom-header-menu
        .submenu-visible
        .submenu-arrow-btn
        i {
        transform: rotate(0deg);
    }
    body.mobile-menu-visible:before {
        content: "";
        position: absolute;
        z-index: 111;
        top: 0;
        left: 0;
        height: 10000%;
        width: 100%;
        background: #00000033;
        backdrop-filter: blur(5px);
    }
}

@media (max-width: 991.98px) {
    .front-header-search .input-group {
        flex-direction: row-reverse;
    }
}

@media (max-width: 767px) {
    .mobile-menu-initiated .aiz-category-menu.custom-header-menu {
        height: calc(100% - 60px);
    }
}

/* Product Image Hover */

.image-hover-effect {
    position: relative;
    overflow: hidden;
}
/* .product-hover-image (commented out)
.product-hover-image {
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.image-hover-effect:hover .product-hover-image {
    opacity: 1;
}
*/

.live-circle-icon {
    animation: blink-1p5 1.5s infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes blink-1p5 {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .blink {
        animation: none;
    }
}

.product-details-page .add-to-cart {
    transition: transform 0.3s ease-in-out;
}

.product-details-page .add-to-cart:hover {
    transform: scale(1.02, 1.1);
}

/* Image Gallery Viewer */

.img-zoom {
    cursor: grab;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    overflow: auto;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    top: 50%;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.lightbox-toolbar button {
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    border-radius: 5px;
}
.lightbox-close {
    font-size: 22px;
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: rgb(0 0 0 / 25%);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1100;
    transition: background 0.3s ease;
}
.lightbox-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}
.lightbox-arrow.prev {
    left: 20px;
}
.lightbox-arrow.next {
    right: 20px;
}

.lightbox-toolbar {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* left + right */
    align-items: center;
    padding: 0 15px;
    z-index: 1100;
}

.toolbar-left {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.toolbar-right button {
    margin-left: 4px;
    font-size: 18px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.toolbar-right button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-modal img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    max-width: 90% !important;
    max-height: 80% !important;
    margin: 0 !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* Expand Icon */
.carousel-box {
    position: relative;
    overflow: visible;
}

.wd-show-product-gallery-wrap {
    position: absolute;
    bottom: 40px;
    left: 10px;
    z-index: 999;
}

.wd-show-product-gallery-wrap a {
    display: flex;
    align-items: center;
    padding: 6px;
    background: rgba(0, 0, 0, 0);
    color: #666666;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    width: 35px;
    transition: width 0.3s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.wd-show-product-gallery-wrap a .text {
    margin-left: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wd-show-product-gallery-wrap a:hover {
    width: 145px;
    color: #000;
}

.wd-show-product-gallery-wrap a:hover .text {
    opacity: 1;
}

/* Custom hober effect on btn */
.custom-hov-btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.custom-hov-btn:active {
    transform: translateY(1px);
}

.pb-26px {
    padding-bottom: 1.625rem;
}
.py-19px {
    padding-top: 1.1875rem;
    padding-bottom: 1.1875rem;
}
.py-32px {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.pt-32px {
    padding-top: 2rem;
}
.pb-32px {
    padding-bottom: 2rem;
}
.mb-32px {
    margin-bottom: 2rem;
}

.my-32px {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
/* Extra small devices (xs) <576px */
@media (max-width: 575.98px) {
    .pb-26px {
        padding-bottom: 1rem !important;
    }
    .py-19px {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    .py-32px {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .pt-32px {
        padding-top: 1rem !important;
    }
    .pb-32px {
        padding-bottom: 1rem !important;
    }
    .mb-32px {
        margin-bottom: 1rem !important;
    }
    .my-32px {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Small devices (sm) ≥576px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .pb-26px {
        padding-bottom: 1.25rem !important;
    }
    .py-19px {
        padding-top: 0.875rem !important;
        padding-bottom: 0.875rem !important;
    }
    .py-32px {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }
    .pt-32px {
        padding-top: 1.25rem !important;
    }
    .pb-32px {
        padding-bottom: 1.25rem !important;
    }
    .mb-32px {
        margin-bottom: 1.25rem !important;
    }
    .my-32px {
        margin-top: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }
}

/* Medium devices (md) ≥768px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .pb-26px {
        padding-bottom: 1.5rem !important;
    }
    .py-19px {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .py-32px {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .pt-32px {
        padding-top: 1.5rem !important;
    }
    .pb-32px {
        padding-bottom: 1.5rem !important;
    }
    .mb-32px {
        margin-bottom: 1.5rem !important;
    }
    .my-32px {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Large devices (lg) ≥992px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .pb-26px {
        padding-bottom: 1.625rem !important;
    }
    .py-19px {
        padding-top: 1.1875rem !important;
        padding-bottom: 1.1875rem !important;
    }
    .py-32px {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }
    .pt-32px {
        padding-top: 1.75rem !important;
    }
    .pb-32px {
        padding-bottom: 1.75rem !important;
    }
    .mb-32px {
        margin-bottom: 1.75rem !important;
    }
    .my-32px {
        margin-top: 1.75rem !important;
        margin-bottom: 1.75rem !important;
    }
}

/* Extra large devices (xl) ≥1200px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .pb-26px {
        padding-bottom: 1.75rem !important;
    }
    .py-19px {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }
    .py-32px {
        padding-top: 1.875rem !important;
        padding-bottom: 1.875rem !important;
    }
    .pt-32px {
        padding-top: 1.875rem !important;
    }
    .pb-32px {
        padding-bottom: 1.875rem !important;
    }
    .mb-32px {
        margin-bottom: 1.875rem !important;
    }
    .my-32px {
        margin-top: 1.875rem !important;
        margin-bottom: 1.875rem !important;
    }
}

/* Extra extra large devices (xxl) ≥1400px */
@media (min-width: 1400px) {
    .pb-26px {
        padding-bottom: 1.625rem !important;
    }
    .py-19px {
        padding-top: 1.1875rem !important;
        padding-bottom: 1.1875rem !important;
    }
    .py-32px {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    } /* max 2rem */
    .pt-32px {
        padding-top: 2rem !important;
    }
    .pb-32px {
        padding-bottom: 2rem !important;
    }
    .mb-32px {
        margin-bottom: 2rem !important;
    }
    .my-32px {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

.custom-header-menu .category-nav-element:hover > a .cat-name {
    margin: 0 !important;
}

.z-99999 {
    z-index: 99999 !important;
}

/*Mobile menu start*/
.r-menu-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.r-menu-row.level3 {
    padding: 6px 0;
}

.r-menu-row a {
    flex: 1;
    margin-right: 10px;
}

.r-arrow-btn {
    width: 40px;
    min-width: 40px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.r-arrow-btn i {
    transition: transform 0.25s ease;
}

.r-arrow-btn.active i {
    transform: rotate(180deg);
}

.r-sub-cat-menu,
.r-child-cat-menu-wrap,
.r-child-cat-menu-item {
    display: none;
}

.r-mobile-menu-wrap {
    padding-right: 40px;
}

.aiz-card-box .cart-btn {
    display: none !important;
}
.product-condition-label,
.product-discount-label {
    z-index: 99;
}

.hummingbird-treeview label,
.hummingbird-treeview input[type=checkbox]{
    cursor: not-allowed!important;
}

.hummingbird-treeview input[type=checkbox]{
    display: none!important;
}

/* Homepage advertise slider */
.advertise-slider-area {
    width: 100%;
    overflow: hidden;
}

.advertise-slider .carousel-box {
    line-height: 0;
}

/* Full width, never cropped: the image keeps its own aspect ratio */
.advertise-slider .advertise-slider-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Show only the first slide until slick has initialised */
.advertise-slider:not(.slick-initialized) > .carousel-box:not(:first-child) {
    display: none;
}

.advertise-slider .slick-dots {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .advertise-slider .slick-arrow {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }

    .advertise-slider.dots-inside-bottom .slick-dots {
        bottom: 2px;
    }
}


/* Floating quick-links (All Categories / Flash Sale / Today's Deal)
   Parked in the bottom-left corner instead of the middle of the left edge,
   where they used to cover section headings and the carousel prev arrows. */
.floating-buttons-section {
    top: auto;
    bottom: 0;
    transform: none;
}

/* The quick-links column occupies the leftmost ~86px, and the carousel arrows
   sit at the very edge. On short screens the column reaches the arrows' height,
   so inset the advertise slider arrows past it. */
@media (min-width: 992px) {
    .advertise-slider .slick-prev {
        left: 100px;
    }

    .advertise-slider .slick-next {
        right: 100px;
    }
}

/* Keep the quick-links translucent so the page shows through them, and bring
   the whole column back to full strength as soon as the pointer is over it.
   Touch screens have no hover, so they keep the buttons fully opaque. */
@media (hover: hover) and (min-width: 992px) {
    .floating-buttons-section .aiz-floating-button {
        opacity: 0.5;
        transition: all 0.8s, opacity 0.25s;
    }

    .floating-buttons-section:hover .aiz-floating-button,
    .floating-buttons-section .aiz-floating-button:hover,
    .floating-buttons-section .aiz-floating-button:focus-within {
        opacity: 1;
    }
}


/* ==========================================================================
   Home featured categories — admin picker (Homepage Settings → tab)
   ========================================================================== */
.hfc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hfc-search {
    position: relative;
    flex: 1 1 240px;
    max-width: 340px;
}

.hfc-search i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #9da3ae;
    font-size: 16px;
    pointer-events: none;
}

.hfc-search .form-control {
    padding-left: 34px;
}

.hfc-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hfc-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 50em;
    background: #eef2ff;
    color: #4353ff;
    font-size: 12px;
    font-weight: 700;
}

.hfc-tree {
    border: 1px solid #e4e5eb;
    border-radius: 6px;
    max-height: 520px;
    overflow-y: auto;
    background: #fff;
}

.hfc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid #f2f3f7;
    transition: background 0.15s;
}

.hfc-item:last-child > .hfc-row {
    border-bottom: 0;
}

.hfc-row:hover {
    background: #fafbfd;
}

/* one indent step per tree level */
.hfc-indent {
    flex: 0 0 auto;
    width: 14px;
    align-self: stretch;
    border-left: 1px solid #e9eaf0;
    margin-left: 7px;
}

.hfc-toggle {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #9da3ae;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}

.hfc-toggle:hover {
    background: #eef0f5;
    color: #575b6a;
}

.hfc-toggle[aria-expanded="false"] i {
    transform: rotate(-90deg);
}

.hfc-toggle i {
    transition: transform 0.2s;
}

.hfc-toggle-leaf {
    cursor: default;
}

.hfc-thumb {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    overflow: hidden;
    background: #f2f3f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hfc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hfc-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: #253d4e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hfc-count {
    flex: 0 0 auto;
    min-width: 20px;
    padding: 1px 7px;
    border-radius: 50em;
    background: #f2f3f7;
    color: #9da3ae;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.hfc-switch {
    flex: 0 0 auto;
    margin-left: 4px;
}

/* Smooth open/close: animating grid-template-rows between 0fr and 1fr eases to the
   branch's real height without JS measuring anything. Needs the single
   .hfc-children-inner child to carry the overflow. */
.hfc-children {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.hfc-children-inner {
    min-height: 0;
    overflow: hidden;
}

.hfc-children.hfc-collapsed {
    grid-template-rows: 0fr;
}

/* a search forces every branch open so deep matches are reachable */
.hfc-tree.hfc-searching .hfc-children {
    grid-template-rows: 1fr;
}

@media (prefers-reduced-motion: reduce) {
    .hfc-children,
    .hfc-toggle i {
        transition: none;
    }
}

.hfc-empty {
    padding: 24px 14px;
    text-align: center;
    color: #9da3ae;
    font-size: 13px;
}

/* ==========================================================================
   Home featured categories — storefront cards
   ========================================================================== */
.home-featured-categories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.home-featured-category {
    flex: 0 0 auto;
    width: 138px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 12px;
    border: 1px solid #ebedf2;
    border-radius: 12px;
    background: #fff;
    color: #253d4e;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(20, 23, 28, 0.04);
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s, color 0.25s;
}

.home-featured-category:hover,
.home-featured-category:focus {
    color: var(--primary);
    text-decoration: none;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(20, 23, 28, 0.12);
    transform: translateY(-4px);
}

.home-featured-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    padding: 11px;
    border-radius: 14px;
    background: #f6f7fb;
    transition: background 0.25s;
}

.home-featured-category:hover .home-featured-category-icon {
    background: #eef1f8;
}

/* contain, never cover: these icons are illustrations and several are not square */
.home-featured-category-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-featured-category-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    /* two lines reserved so cards keep an even height when a name wraps */
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .home-featured-categories-list {
        gap: 12px;
    }

    .home-featured-category {
        width: 124px;
    }

    .home-featured-category-icon {
        width: 66px;
        height: 66px;
    }
}

@media (max-width: 575px) {
    .home-featured-categories-list {
        gap: 10px;
    }

    .home-featured-category {
        width: 104px;
        gap: 9px;
        padding: 14px 6px;
        border-radius: 10px;
    }

    .home-featured-category-icon {
        width: 54px;
        height: 54px;
        padding: 8px;
        border-radius: 12px;
    }

    .home-featured-category-name {
        font-size: 11.5px;
    }
}

/* --- Product category tree: the "Select Main" radio column ------------------
   Root cause: the project-wide `input[type="checkbox"], input[type="radio"]
   { height:20px; width:20px }` rule near the top of this file, meeting
   `.hummingbird-treeview * { line-height:12px }` from aiz-core.css.

   Each radio is float:right, and a 20px float does not fit a 12px line box.
   An <li> does not contain its own float, so every radio joined one shared
   float stack and was pushed down-and-left out of its row: the circles drifted
   diagonally away from their labels, overlapping and clipping each other.

   Taking the radio out of flow and pinning it to its own row makes the column
   immune to the control's height, so a future change to that 20px rule cannot
   bring the drift back. Sizing it to 14px keeps the circles from touching at
   this row pitch (12px line + 5px li margins).

   li{position:relative} is inert on its own -- it only creates the containing
   block. That matters because the storefront category filter
   (hummingbird-treeview2, resources/views/frontend/product_listing.blade.php)
   renders the same .hummingbird-treeview markup with no radios at all, and
   must not shift. */
.hummingbird-treeview li {
    position: relative;
}

.hummingbird-treeview input[type="radio"] {
    position: absolute;
    top: -1px;
    right: 10px;
    float: none;
    width: 14px;
    height: 14px;
    margin: 0;
}

[dir="rtl"] .hummingbird-treeview input[type="radio"] {
    right: auto;
    left: 10px;
    float: none;
    margin: 0;
}

/* Footer link columns: contact rows with a leading icon (Help column) */
.footer-widget .footer-contact-item {
    display: flex;
    align-items: flex-start;
}
.footer-widget .footer-contact-icon {
    flex: 0 0 auto;
    width: 18px;
    margin-right: 8px;
    font-size: 16px;
    line-height: 1.25;
    color: var(--secondary);
}
.footer-widget .footer-contact-item > span,
.footer-widget .footer-contact-item > a {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Admin > Website Footer: sortable, collapsible footer columns */
.footer-link-column-handle {
    cursor: grab;
    color: #8f97ab;
    line-height: 1;
    padding: 4px;
    touch-action: none;
}
.footer-link-column-handle:active {
    cursor: grabbing;
}
.footer-link-column-toggle:hover {
    text-decoration: none;
}
.footer-link-column-caret {
    transition: transform 0.2s;
    transform: rotate(180deg);
}
.footer-link-column-toggle.collapsed .footer-link-column-caret {
    transform: rotate(0deg);
}
.footer-link-column-ghost {
    opacity: 0.5;
    border: 1px dashed #8f97ab !important;
}

/* Contact Us page: address / phone / email values */
.contact-info-value {
    color: #3f4450;
}
a.contact-info-value:hover {
    text-decoration: underline;
}

/* Contact Us page: full-page loader uses the site colour */
.contact-us-preloader .r-spinner {
    border-top-color: var(--primary);
}
.contact-us-result-icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
}

/* Quick-links fade out while the footer is on screen (toggled in layouts/app) */
.floating-buttons-section {
    transition: all 0.4s, opacity 0.35s ease, visibility 0.35s ease;
}
.floating-buttons-section.is-over-footer {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ==========================================================================
   Footer link columns (frontend/inc/footer.blade.php)
   Columns take the width of their content (capped), and the free space is
   shared out evenly between them: the first column starts at the left edge,
   the last one ends at the right edge. Long titles or links wrap inside the
   cap instead of stretching one column. Below 768px the accordion is used.
   ========================================================================== */
.footer-link-grid {
    display: grid;
    gap: 0 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.footer-link-grid-item {
    min-width: 0;
}
.footer-link-grid-item h4,
.footer-link-grid-item li {
    overflow-wrap: anywhere;
}
@media (min-width: 992px) {
    .footer-link-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, max-content);
        justify-content: space-between;
        column-gap: 2.5rem;
    }
    .footer-link-grid-item {
        max-width: 20rem;
    }
}
@media (min-width: 1400px) {
    .footer-link-grid-item {
        max-width: 22rem;
    }
}

/* Google reCAPTCHA v3 badge: shown smaller in the bottom-right corner.
   Google makes the badge 256px wide and parks it at right:-186px so only the
   70px icon shows, sliding it to right:0 on hover. The badge is scaled from its
   right edge, so the parked offset is scaled too (186 x scale) to keep the whole
   icon visible, and on hover it still ends flush with the window's right edge.
   !important is needed to beat Google's inline styles. */
.grecaptcha-badge {
    transform: scale(0.7);
    transform-origin: right bottom;
    right: -130px !important;           /* 186 x 0.7 */
    bottom: 0 !important;               /* Google uses 14px; sit in the corner */
    transition: right 0.3s ease !important;
}
.grecaptcha-badge:hover,
.grecaptcha-badge:focus-within {
    right: 0 !important;
}
@media (max-width: 767px) {
    .grecaptcha-badge {
        transform: scale(0.6);
        right: -112px !important;       /* 186 x 0.6 */
    }
    .grecaptcha-badge:hover,
    .grecaptcha-badge:focus-within {
        right: 0 !important;
    }
}
/* phones: the bottom nav spans the full width, keep the badge just above it */
@media (max-width: 575.98px) {
    .grecaptcha-badge {
        bottom: 76px !important;
    }
}

/* Help column: space between its quick links and the contact rows below */
.footer-widget .footer-help-links-end {
    margin-bottom: 1.25rem !important;
}

/* Admin sidebar logo: centred horizontally and vertically, large enough for the tagline to be legible */
.aiz-side-nav-logo-wrap a {
    height: 78px;
    padding: 10px 20px;
}
.aiz-side-nav-logo-wrap img {
    height: auto;
    max-height: 56px;
    max-width: 100%;
    object-fit: contain;
}

.card-file .card-file-thumb{
    background-color: #ededed;
}
/* ------------------------------------------------------------------
   Company details card (frontend/partials/company_details_card.blade.php)
   Shown instead of price / "Sold by" for contact-only categories and on shop pages.
   ------------------------------------------------------------------ */
.company-card {
    border: 1px solid #ebebf0;
    border-radius: 12px;
    background: #fff;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(30, 30, 60, .05);
}
.company-card__head {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1rem;
}
.company-card__logo {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid #ebebf0;
    overflow: hidden;
    background: #f7f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.company-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.company-card__title { min-width: 0; }
.company-card__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2px;
}
.company-card__name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    word-break: break-word;
}
.company-card__info { margin: 0 0 1rem; }
.company-card__info li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: 13px;
    color: #55555f;
    padding: .35rem 0;
}
.company-card__info li i {
    flex: 0 0 18px;
    font-size: 18px;
    line-height: 1.1;
    color: #9a9aa5;
}
.company-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.company-card__actions .btn {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    padding: .5rem 1.1rem;
    display: inline-flex;
    align-items: center;
}
.company-card__socials { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed #ebebf0; }
.company-card__socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f7;
    color: #55555f;
    font-size: 16px;
}
.company-card__socials a:hover { background: var(--primary); color: #fff; }
@media (max-width: 575.98px) {
    .company-card { padding: 1rem; }
    .company-card__actions .btn { flex: 1 1 calc(50% - .5rem); justify-content: center; }
}

/* Seller shop page: company contact row under the shop header (frontend/seller_shop.blade.php) */
.shop-contact-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #e5e5ea;
}
.shop-contact-bar__details {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    min-width: 0;
}
.shop-contact-bar__item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: 13px;
    font-weight: 500;
    color: #3d3d47;
    min-width: 0;
}
.shop-contact-bar__item i { font-size: 18px; color: #9a9aa5; }
.shop-contact-bar__item:hover { color: var(--primary); }
.shop-contact-bar__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-contact-bar__actions .btn {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    padding: .5rem 1.1rem;
    display: inline-flex;
    align-items: center;
}
@media (max-width: 575.98px) {
    .shop-contact-bar__actions { width: 100%; }
    .shop-contact-bar__actions .btn { flex: 1 1 0; justify-content: center; padding-left: .5rem; padding-right: .5rem; }
}

/* Return policy page: highlighted "returns and exchanges" notice (frontend/policies/returnpolicy.blade.php) */
.policy-notice {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: #fff8f4;
    background: color-mix(in srgb, var(--primary) 7%, #fff);
    border: 1px solid #f6dccd;
    border-color: color-mix(in srgb, var(--primary) 22%, #fff);
}
.policy-notice__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.policy-notice__body { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.65; color: #3d3d47; }
.policy-notice__title { font-size: 16px; font-weight: 700; margin-bottom: .35rem; color: #1b1b28; }
.policy-notice__btn { flex: 0 0 auto; border-radius: 999px; font-weight: 600; white-space: nowrap; }
@media (max-width: 767.98px) {
    .policy-notice { flex-wrap: wrap; padding: 1.1rem; gap: .9rem; }
    .policy-notice__icon { flex-basis: 44px; width: 44px; height: 44px; font-size: 22px; }
    .policy-notice__body { flex-basis: calc(100% - 60px); }
    .policy-notice__btn { width: 100%; }
}

/* ------------------------------------------------------------------
   Homepage info boxes (frontend/partials/home_info_boxes.blade.php)
   ------------------------------------------------------------------ */
.home-info-boxes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.home-info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 118px;
    padding: 16px 12px;
    border: 1px solid #ececf2;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    color: #1b1b28;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.home-info-box:hover,
.home-info-box:focus-visible {
    color: #1b1b28;
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(30, 30, 60, .08);
}
.home-info-box__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    background: #fff4ee;
    background: color-mix(in srgb, var(--primary) 10%, #fff);
    transition: background .18s ease, color .18s ease;
}
.home-info-box:hover .home-info-box__icon { background: var(--primary); color: #fff; }
.home-info-box__label { font-size: 13px; font-weight: 600; line-height: 1.35; }
@media (max-width: 767.98px) {
    /* phones: one swipeable row instead of a tall grid */
    .home-info-boxes__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        gap: 10px;
        scrollbar-width: none;
    }
    .home-info-boxes__grid::-webkit-scrollbar { display: none; }
    /* ~3.4 boxes per screen so the next one peeks in and shows the row can be swiped */
    .home-info-box { flex: 0 0 calc((100% - 30px) / 3.4); min-height: 104px; scroll-snap-align: start; padding: 12px 8px; }
    .home-info-box__icon { width: 42px; height: 42px; font-size: 21px; }
    .home-info-box__label { font-size: 12px; }
}

/* ------------------------------------------------------------------
   Payment information cards: homepage strip + /payment-information
   (frontend/partials/home_payment_information, payment_information_cards)
   ------------------------------------------------------------------ */
.payinfo-section__inner {
    border-radius: 18px;
    padding: 28px;
    background: #fbf7f4;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, #fff), #fff 70%);
    border: 1px solid #f0e6df;
}
.payinfo-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.payinfo-section__title { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.payinfo-section__subtitle { font-size: 13px; color: #6d6d78; margin: 0; }
.payinfo-section__more { font-size: 13px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.payinfo-section__more:hover { color: var(--primary); text-decoration: underline; }
.payinfo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.payinfo-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ececf2;
    box-shadow: 0 4px 16px rgba(30, 30, 60, .04);
    transition: box-shadow .18s ease, transform .18s ease;
}
.payinfo-card:hover { box-shadow: 0 12px 28px rgba(30, 30, 60, .09); transform: translateY(-2px); }
.payinfo-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    background: var(--primary);
    margin-bottom: 14px;
    overflow: hidden;
}
.payinfo-card__icon img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.payinfo-card__title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.payinfo-card__text { font-size: 13px; line-height: 1.6; color: #5d5d68; margin: 0 0 14px; flex-grow: 1; }
.payinfo-card__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}
.payinfo-card__btn:hover { color: var(--primary); gap: 10px; }
.payinfo-grid--large .payinfo-card { padding: 28px; }
.payinfo-grid--large .payinfo-card__icon { width: 64px; height: 64px; font-size: 34px; }
.payinfo-grid--large .payinfo-card__title { font-size: 18px; }
.payinfo-grid--large .payinfo-card__text { font-size: 14px; }
.payinfo-help {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 14px;
    background: #fff;
    border: 1px dashed #e2e2ea;
}
.payinfo-help > i { font-size: 34px; color: #2bb673; flex: 0 0 auto; }
.payinfo-help > div { flex: 1 1 auto; min-width: 0; }
.payinfo-help .btn { border-radius: 999px; font-weight: 600; white-space: nowrap; }
@media (max-width: 575.98px) {
    .payinfo-section__inner { padding: 18px; border-radius: 14px; }
    .payinfo-section__head { flex-direction: column; align-items: flex-start; }
    .payinfo-section__title { font-size: 18px; }
    .payinfo-grid { grid-template-columns: 1fr; gap: 12px; }
    .payinfo-card { padding: 18px; }
    .payinfo-help { flex-wrap: wrap; }
    .payinfo-help .btn { width: 100%; }
}

/* ------------------------------------------------------------------
   Homepage showcases (frontend/partials/home_cars_showcase, home_service_companies,
   home_city_shops, company_tile)
   ------------------------------------------------------------------ */
.home-showcase__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.home-showcase__title { font-size: 20px; font-weight: 700; margin: 0 0 2px; }
.home-showcase__subtitle { font-size: 13px; color: #6d6d78; margin: 0; }
.home-showcase__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}
.home-showcase__more:hover { color: var(--primary); text-decoration: underline; }

/* vehicle photo tiles */
.car-tile {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef0f4;
    color: #fff;
}
.car-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.car-tile:hover .car-tile__img { transform: scale(1.06); }
.car-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}
.car-tile__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    backdrop-filter: blur(4px);
}
.car-tile__badge.is-new { background: #2bb673; }
.car-tile__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.car-tile__name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.car-tile__price { font-size: 14px; font-weight: 700; color: #ffd28a; }
.car-tile:hover, .car-tile:focus { color: #fff; }

/* company / shop tiles */
.company-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    height: 100%;
    padding: 16px 12px;
    border: 1px solid #ececf2;
    border-radius: 14px;
    background: #fff;
    color: #1b1b28;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.company-tile:hover { color: #1b1b28; transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 10px 24px rgba(30, 30, 60, .08); }
.company-tile__logo {
    width: 84px;
    height: 84px;
    border-radius: 16px;
    border: 1px solid #ececf2;
    background: #f7f7fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.company-tile__logo img { width: 100%; height: 100%; object-fit: cover; }
.company-tile__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.company-tile__meta { font-size: 12px; color: #7b7b86; display: inline-flex; align-items: center; gap: 2px; }
.company-tile-wrap { min-width: 0; }

/* city filter pills */
.city-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.city-pill {
    border: 1px solid #e2e2ea;
    background: #fff;
    color: #3d3d47;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all .15s ease;
}
.city-pill:hover { border-color: var(--primary); color: var(--primary); }
.city-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.city-pill__count {
    font-size: 11px;
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .08);
}
.city-pill.active .city-pill__count { background: rgba(255, 255, 255, .25); }

@media (max-width: 767.98px) {
    .home-showcase__title { font-size: 17px; }
    .home-showcase__subtitle { font-size: 12px; }
    .company-tile__logo { width: 64px; height: 64px; border-radius: 12px; }
    .city-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .city-pills::-webkit-scrollbar { display: none; }
    .city-pill { flex: 0 0 auto; }
}
/* vehicles showcase with 4 or fewer items: plain row instead of a carousel */
.car-tile-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991.98px) { .car-tile-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
    .car-tile-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; }
    .car-tile-row::-webkit-scrollbar { display: none; }
    .car-tile-row__item { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ------------------------------------------------------------------
   Jobs page tabs + job seekers (frontend/job_searches/index, job_seekers/*, user/job_seeker_profile)
   ------------------------------------------------------------------ */
.jobs-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.jobs-tabs { display: inline-flex; background: #f1f2f6; border-radius: 999px; padding: 4px; gap: 4px; }
.jobs-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: #55555f; white-space: nowrap;
}
.jobs-tab:hover { color: #1b1b28; }
.jobs-tab.active { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(30, 30, 60, .08); }
.jobs-tab__count { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(0, 0, 0, .07); }
.jobs-tab.active .jobs-tab__count { background: var(--primary); color: #fff; }
.jobs-search { position: relative; flex: 0 1 320px; }
.jobs-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9a9aa5; font-size: 18px; }
.jobs-search .form-control { padding-left: 38px; border-radius: 999px; height: 42px; }
.jobs-cta {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 18px; margin-bottom: 18px; border-radius: 14px;
    background: #fff8f4; background: color-mix(in srgb, var(--primary) 7%, #fff);
    border: 1px solid #f3e1d6;
}
.jobs-cta__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; flex: 0 0 auto; }
.jobs-cta__text { flex: 1 1 220px; display: flex; flex-direction: column; font-size: 13px; color: #55555f; }
.jobs-cta__text strong { font-size: 15px; color: #1b1b28; }
.jobs-cta .btn { border-radius: 999px; font-weight: 600; }

.seeker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.seeker-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 22px 18px; border-radius: 16px; background: #fff; border: 1px solid #ececf2;
    color: #1b1b28; height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.seeker-card:hover { color: #1b1b28; transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 12px 28px rgba(30, 30, 60, .09); }
.seeker-card__photo, .seeker-profile__photo {
    width: 88px; height: 88px; border-radius: 50%; overflow: hidden; margin-bottom: 12px;
    background: #f1f2f6; display: flex; align-items: center; justify-content: center; border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(30, 30, 60, .12);
}
.seeker-card__photo img, .seeker-profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.seeker-card__initials { font-size: 28px; font-weight: 700; color: var(--primary); }
.seeker-card__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.seeker-card__job { font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 4px; }
.seeker-card__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-size: 12px; color: #7b7b86; margin-top: 6px; }
.seeker-card__summary { font-size: 13px; color: #5d5d68; line-height: 1.55; margin-top: 10px; flex-grow: 1; }
.seeker-card__cta { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--primary); }
.seeker-empty { grid-column: 1 / -1; text-align: center; padding: 48px 0; background: #fff; border-radius: 14px; border: 1px dashed #e2e2ea; }

.seeker-profile { background: #fff; border: 1px solid #ececf2; border-radius: 16px; padding: 24px; text-align: center; }
.seeker-profile__photo { width: 120px; height: 120px; margin: 0 auto 14px; }
.seeker-profile__name { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.seeker-profile__job { font-size: 14px; font-weight: 600; color: var(--primary); }
.seeker-profile__facts { margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 13px; color: #6d6d78; }
.seeker-profile__contact { margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed #ececf2; text-align: left; }
.seeker-profile__contact li { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.seeker-profile__contact li i { font-size: 18px; color: #9a9aa5; }
.seeker-profile__actions { margin-top: 16px; display: grid; gap: 8px; }
.seeker-profile__actions .btn { border-radius: 999px; font-weight: 600; margin: 0; }
.seeker-profile__locked { margin-top: 18px; padding: 16px; border-radius: 12px; background: #f7f7fa; }
.seeker-profile__locked > i { font-size: 28px; color: #9a9aa5; }
.seeker-profile__locked p { font-size: 13px; color: #5d5d68; margin: 6px 0 12px; }
.seeker-profile__locked .btn-primary { border-radius: 999px; font-weight: 600; }

.seeker-status { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 13px; }
.seeker-status > i { font-size: 24px; line-height: 1; }
.seeker-status strong { display: block; font-size: 14px; margin-bottom: 2px; }
.seeker-status--warning { background: #fff8e6; color: #8a6100; }
.seeker-status--success { background: #e9f8f0; color: #1d7a4a; }
.seeker-status--danger { background: #fdecee; color: #a3242f; }
.seeker-photo-field { display: flex; align-items: center; gap: 16px; }
.seeker-photo-field__preview { width: 84px; height: 84px; border-radius: 50%; background: #f1f2f6 center / cover no-repeat; flex: 0 0 84px; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(30, 30, 60, .12); }
.seeker-file-drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    gap: 4px; padding: 26px 16px; margin: 0; border: 2px dashed #dcdce6; border-radius: 14px; background: #fafafc; cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.seeker-file-drop:hover { border-color: var(--primary); background: #fff; }
.seeker-file-drop > i { font-size: 34px; color: var(--primary); }
.seeker-file-drop__title { font-size: 14px; font-weight: 700; color: #1b1b28; word-break: break-all; }
.seeker-file-drop__hint { font-size: 12px; color: #7b7b86; }
@media (max-width: 575.98px) {
    .jobs-tabs { width: 100%; }
    .jobs-tab { flex: 1 1 0; justify-content: center; padding: 8px 10px; font-size: 13px; }
    .jobs-search { flex: 1 1 100%; }
    .jobs-cta .btn { width: 100%; }
    .seeker-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Tile rows (home featured categories, services companies, shops in your city):
   one row that always spans the container. A fixed number of tiles fits per screen;
   extra tiles scroll sideways (arrows on desktop, swipe on phones). Fewer tiles keep
   their size and line up from the left, so there are no stretched tiles or lone tiles
   on a second line. Script: frontend/partials/tile_scroller_script.blade.php
   ------------------------------------------------------------------ */
.tile-scroller { position: relative; }
.tile-row {
    --per: 7;
    --gap: 14px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 0;              /* room for the hover lift and shadow */
}
.tile-row::-webkit-scrollbar { display: none; }
.tile-row > * {
    flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    width: auto;
    min-width: 0;
    scroll-snap-align: start;
}
/* equal-height tiles: let the row stretch them (a percentage height would cancel the stretch) */
.tile-row > .company-tile { height: auto; }
.tile-row > .company-tile-wrap { display: flex; }
.tile-row > .company-tile-wrap > .company-tile { width: 100%; height: auto; }
/* featured category cards had a fixed width; inside a tile row they take the row's width */
.tile-row--categories > .home-featured-category { width: auto; }

.tile-scroller__btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e6e6ee;
    background: #fff;
    color: #1b1b28;
    box-shadow: 0 6px 16px rgba(30, 30, 60, .12);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: opacity .15s ease;
}
.tile-scroller__btn.is-prev { left: -18px; }
.tile-scroller__btn.is-next { right: -18px; }
.tile-scroller__btn:hover { color: var(--primary); border-color: var(--primary); }
.tile-scroller.has-overflow .tile-scroller__btn { display: inline-flex; }
.tile-scroller.at-start .tile-scroller__btn.is-prev,
.tile-scroller.at-end .tile-scroller__btn.is-next { opacity: 0; pointer-events: none; }

@media (max-width: 1199.98px) { .tile-row { --per: 6; } }
@media (max-width: 991.98px)  { .tile-row { --per: 5; --gap: 12px; } }
@media (max-width: 767.98px) {
    .tile-row { --per: 3.4; --gap: 10px; }
    .tile-row--companies { --per: 2.6; }
    .tile-scroller__btn { display: none !important; }   /* phones swipe */
}
@media (max-width: 400px) {
    .tile-row { --per: 3.2; }
    .tile-row--companies { --per: 2.4; }
}

/* Carousels with fewer items than slots (e.g. 3 featured products in a 6-slot row) were centred by
   slick's default `.slick-track { margin: 0 auto }`, leaving empty space on both sides. Start them at
   the left edge like the section title. No effect on full carousels; product image thumbs stay centred. */
.aiz-carousel:not(.product-gallery-thumb) .slick-track { margin-left: 0; }

/* Product page main image: soft framed box, image fitted inside (no odd white gaps next to the details column) */
.product-gallery-carousel {
    background: #f5f6f8;
    border: 1px solid #eceef1;
    border-radius: 12px;
    overflow: hidden;
}
.product-gallery-carousel .slick-list,
.product-gallery-carousel .slick-track { height: 100%; }
.product-gallery-carousel .carousel-box.lightbox-item {
    height: 500px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.product-gallery-carousel .carousel-box.lightbox-item > img.lightbox-source {
    width: auto;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; /* white photo backgrounds blend into the soft box */
}
@media (max-width: 767px) {
    .product-gallery-carousel { height: 380px !important; }
    .product-gallery-carousel .carousel-box.lightbox-item { height: 380px !important; padding: 12px; }
}
@media (max-width: 400px) {
    .product-gallery-carousel { height: 320px !important; }
    .product-gallery-carousel .carousel-box.lightbox-item { height: 320px !important; }
}
/* Hover magnifier (jquery-zoom adds img.zoomImg over the box): keep it opaque and unconstrained */
.product-gallery-carousel .carousel-box > img.zoomImg {
    mix-blend-mode: normal;
    max-width: none !important;
    max-height: none !important;
    background: #fff;
}
/* Product page "full view" button: solid white pill in the frame's bottom-right corner
   (bottom-left collides with the floating side buttons) */
.product-gallery-carousel .wd-show-product-gallery-wrap {
    bottom: 14px;
    left: auto;
    right: 14px;
    margin: 0 !important;
}
.product-gallery-carousel .wd-show-product-gallery-wrap a {
    width: 42px;
    height: 42px;
    padding: 0 11px;
    background: #fff;
    color: #222;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    flex-direction: row-reverse;
    transition: width 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.product-gallery-carousel .wd-show-product-gallery-wrap a span.pt-1 { padding-top: 0 !important; line-height: 1; }
.product-gallery-carousel .wd-show-product-gallery-wrap a i {
    font-size: 20px !important;
    margin-left: 0 !important;
}
.product-gallery-carousel .wd-show-product-gallery-wrap a .text {
    color: inherit !important;
    margin: 0 8px 0 0;
    font-size: 13px;
    font-weight: 600;
}
.product-gallery-carousel .wd-show-product-gallery-wrap a:hover {
    width: 158px;
    background: var(--primary, #f57224);
    border-color: transparent;
    color: #fff;
}

/* Header mega-menu: lay subcategories out left-to-right in aligned rows
   (Bata | Malabo | Oyala | Mongomo) instead of Bootstrap's top-to-bottom
   card-columns flow, where a child (e.g. Pegasos under Bata) pushed the
   other items out of line. Desktop only — the <=1024px accordion keeps its own rules. */
@media (min-width: 1025px) {
    .custom-header-menu .category-nav-element .sub-cat-menu .card-columns {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 2rem;
        align-items: start;
        -webkit-column-count: initial;
        column-count: initial;
    }
    .custom-header-menu .category-nav-element .sub-cat-menu .card-columns > .card {
        display: block;
        width: auto;
        min-width: 0;
        margin-bottom: 0.75rem;
    }
}

/* ===== Client PDF 01-12-2026 (points 2–6, 13) ===== */

/* 2–4. Header category menu: use the full page width on large screens and sit the rows
   closer together, so the block is shorter and more headings fit on each row. */
@media (min-width: 1025px) {
    .header-menu-container {
        max-width: none;
        padding-left: 24px;
        padding-right: 24px;
    }
    .custom-header-menu .list-unstyled.categories > .list-inline-item > a {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .custom-header-menu .list-unstyled .list-inline-item img {
        max-height: 26px;
    }
    .custom-header-menu .list-unstyled.categories {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}

/* 5. Header dropdown: as tall as its content (no fixed 300px white box) */
@media (min-width: 1025px) {
    /* aiz-core fixes it at height: 460px (cut to 400px by max-height); let it fit the list */
    .custom-header-menu .category-nav-element .sub-cat-menu {
        height: auto;
        min-height: 0;
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* 6. Info boxes: solid orange icon circle, white icon */
.home-info-box__icon {
    background: var(--primary);
    color: #fff;
}
.home-info-box:hover .home-info-box__icon {
    background: var(--hov-primary, var(--primary));
}

/* 13. "Lo mejor en moda": orange band of product cards */
.fashion-band {
    background: var(--primary);
    border-radius: 10px;
    padding: 14px 16px 16px;
}
.fashion-band__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.fashion-band__title {
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}
.fashion-band__title i { font-size: 18px; vertical-align: middle; }
.fashion-band__arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #222 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}
.fashion-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    color: #222 !important;
    transition: box-shadow .18s ease, transform .18s ease;
}
.fashion-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .18); transform: translateY(-2px); }
.fashion-card__img {
    display: block;
    aspect-ratio: 1 / 1;
    background: #fff;
}
.fashion-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.fashion-card__body { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 10px; }
.fashion-card__name {
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fashion-card__deal { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
.fashion-card__pct { background: #cc0c39; color: #fff; border-radius: 3px; padding: 2px 5px; }
.fashion-card__deal-text { color: #cc0c39; }
.fashion-card__price { font-size: 14px; font-weight: 700; color: #111; }
.fashion-card__price del { font-size: 11px; font-weight: 400; color: #777; margin-left: 4px; }
#section_fashion_highlight .aiz-carousel .slick-track { display: flex; }
#section_fashion_highlight .aiz-carousel .slick-slide { height: auto; }
#section_fashion_highlight .aiz-carousel .slick-slide > div,
#section_fashion_highlight .carousel-box { height: 100%; }
@media (max-width: 767.98px) {
    .fashion-band { padding: 12px 10px 12px; border-radius: 8px; }
    .fashion-band__title { font-size: 16px; }
}

/* Homepage: the page wrapper is a flex column, where margins do not collapse, so an empty
   AJAX placeholder (today's deal, new products, category products, …) added 32px of blank
   space. Placeholders without content take no room; filled ones keep their spacing. */
.aiz-main-wrapper > div:not(:has(*)) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Jobs page tabs on phones: the Spanish labels ("Personas que buscan empleo") are too long for
   one line and pushed the page 55px wider than the screen. Share the width and wrap instead. */
@media (max-width: 575.98px) {
    .jobs-tabs { display: flex; width: 100%; border-radius: 16px; }
    .jobs-tab {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.25;
        padding: 8px 10px;
        font-size: 13px;
        border-radius: 12px;
    }
    .jobs-search { flex: 1 1 100%; }
}
