/* TFS Kalles-style recommendation navigation V2 */

#nt_cart_canvas .tfs-rec {
    margin: 16px 20px 20px;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

#nt_cart_canvas .tfs-rec .kalles-minicart-recommendations__title {
    background: #f5f5f5;
    padding: 13px 14px;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: #333;
}

#nt_cart_canvas .tfs-rec-slider {
    position: relative;
    display: block;
    width: 100%;
    min-height: 145px;
    padding-bottom: 0;
}

#nt_cart_canvas .tfs-rec .flickity-viewport {
    height: 145px !important;
    width: 100%;
}

#nt_cart_canvas .tfs-rec-slide {
    width: 100%;
    min-height: 145px;
    padding: 16px 15px;
    box-sizing: border-box;
}

#nt_cart_canvas .tfs-rec-product {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 110px;
}

#nt_cart_canvas .tfs-rec-product img {
    display: block;
    width: 92px;
    height: 105px;
    object-fit: contain;
    flex: 0 0 92px;
}

#nt_cart_canvas .tfs-rec-details {
    flex: 1;
    min-width: 0;
}

#nt_cart_canvas .tfs-rec-name {
    font-size: 14px;
    line-height: 20px;
    color: #222;
}

#nt_cart_canvas .tfs-rec-price {
    margin: 7px 0;
    font-size: 14px;
    font-weight: 600;
}

#nt_cart_canvas .tfs-rec .flickity-prev-next-button,
#nt_cart_canvas .tfs-rec .flickity-page-dots {
    display: none !important;
}

/* Original Kalles-style bottom navigation */
#nt_cart_canvas .tfs-rec-navigation {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) 46px;
    align-items: stretch;
    height: 49px;
    border-top: 1px solid #eee;
    background: #fff;
}

#nt_cart_canvas .tfs-rec-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 49px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #888;
    cursor: pointer;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
}

#nt_cart_canvas .tfs-rec-nav-arrow:first-child {
    border-right: 1px solid #eee;
}

#nt_cart_canvas .tfs-rec-nav-arrow:last-child {
    border-left: 1px solid #eee;
}

#nt_cart_canvas .tfs-rec-nav-arrow:hover {
    background: #f7f7f7;
    color: #222;
}

#nt_cart_canvas .tfs-rec-nav-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-width: 0;
    overflow: hidden;
}

#nt_cart_canvas .tfs-rec-nav-dot {
    display: block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    padding: 0;
    border: 2px solid #d0d0d0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

#nt_cart_canvas .tfs-rec-nav-dot.is-active {
    background: #555;
    border-color: #555;
}

/* TFS_MINICART_ROUND_DOTS_FIX_V3 */
#nt_cart_canvas .tfs-rec-navigation .tfs-rec-nav-dots {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
}

#nt_cart_canvas .tfs-rec-navigation .tfs-rec-nav-dot {
    display: block !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    max-width: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;

    flex: 0 0 8px !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid #cfcfcf !important;
    border-radius: 50% !important;
    background: #fff !important;

    line-height: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

#nt_cart_canvas .tfs-rec-navigation .tfs-rec-nav-dot.is-active {
    background: #555 !important;
    border-color: #555 !important;
}

/* TFS_MINICART_QUICKVIEW_BUTTON_V1 */
#nt_cart_canvas .tfs-rec-product {
    position: relative;
}

#nt_cart_canvas .tfs-rec-details {
    padding-right: 45px;
}

#nt_cart_canvas .tfs-rec-quickview {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: #222222;
    color: #fff;
    cursor: pointer;
}

#nt_cart_canvas .tfs-rec-quickview:hover {
    background: #111111;
}

#nt_cart_canvas .tfs-rec-quickview svg {
    width: 18px;
    height: 18px;
}
