/** START CUSTOM MY ACCOUNT MENU */

.bb-customer-sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

.bb-customer-sidebar-heading .wrapper-image {
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 50%;
}

.bb-customer-sidebar-heading .wrapper-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-customer-navigation .nav-link {
    color: #495057;
    font-size: 0.9rem;
    transition: background-color 0.2s, color 0.2s;
}

.bb-customer-navigation .nav-link:hover {
    background-color: #e9ecef;
    color: #212529;
}

.bb-customer-navigation .nav-link.active {
    background-color: var(--primary-color, #0d6efd);
    color: #fff;
}

.bb-customer-navigation .nav-link.active .nav-icon {
    color: #fff;
}

.bb-customer-navigation .nav-icon {
    color: #6c757d;
}

.bb-customer-navigation .nav-link:hover .nav-icon {
    color: #212529;
}

.bb-profile-content {
    min-height: 400px;
}

.bb-profile-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
}

.bb-profile-main {
    padding: 1.5rem;
}

.bb-mobile-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
}

.bb-mobile-avatar img {
    width: 36px !important;
    height: 36px !important;
    object-fit: cover;
}

/** END CUSTOM MY ACCOUNT MENU */

#password-validation {
    display: none;
}

.bookmark {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 20px;
    font-size: 14px;
    transform: translateY(-50%);
    border-bottom-left-radius: 10px;
    z-index: 1;
}

#tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

#custom-tooltip {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

#tooltip-container:hover .custom-tooltip {
    visibility: visible;
}

.read-more-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

.fixed-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.mismatch-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.delivery_date_area {
    background-color: var(--primary-color);
    padding: 0 10px;
    color: white;
    margin-top: 10px;
}

.cart-product-image img {
    width: 75px;
}

.list_payment_method {
    display: flex;
    flex-direction: row !important;
    gap: 15px;
}

.list_payment_method li {
    border: 1px solid #ccc;
    border-radius: 4px !important;
    padding-top: 1.12rem;
}

.list_payment_method li:first-child {
    border-bottom: 1px solid var(--bs-list-group-border-color);
    min-height: 60px;
}

.bb-product-filter-items.filter-visual .bb-product-filter-item .bb-product-attribute-text-display,
.bb-product-filter-items.filter-visual .bb-product-filter-item .bb-product-attribute-swatch-display {
    border-color: #1e1e1e;
}

.bb-product-filter-content {
    max-height: 300px !important;
}

input.filter-input.form-control.filter-custom-search {
    height: 40px;
    margin-bottom: 15px;
}

.tp-shop-top-result p {
    color: #343434 !important;
}

.tp-product-details-tab-nav .nav-tabs .nav-link {
    color: #343434 !important;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu-end a.dropdown-item.d-flex.align-items-center.gap-2 {
    font-size: 12px;
}

.dropdown-menu-end svg.icon {
    width: 20px;
}

/** Wishlist Dropdown Fix */
.tp-product-item {
    position: relative; /* establish a stacking context */
    overflow: visible !important; /* allow any children to overflow */
    z-index: 1; /* base z-index */
    transition: z-index 0.2s ease; /* smooth raise */
}

/* When dropdown opens, bump this card above the others */
.tp-product-item .dropdown.show,
.tp-product-item .show > .dropdown-menu {
    z-index: 9999 !important; /* dropdown itself on top */
}

.tp-product-item.show-dropdown { /* you can toggle this class via JS on open */
    z-index: 100 !important; /* card container above its siblings */
}

.tp-product-thumb {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tp-product-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.tp-product-action {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
}

.tp-product-action .dropdown {
    position: relative;
    z-index: 30;
}

.tp-product-action .dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 8px 0;
    max-height: 200px;
    overflow-y: auto;
    min-width: 160px;
    display: none;
    z-index: 9999 !important;
}

.tp-product-action .dropdown.show .dropdown-menu {
    display: block;
}

.tp-product-action .dropdown-menu li > a {
    display: block;
    padding: 6px 15px;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.tp-product-action .dropdown-menu li > a:hover {
    background-color: #f7f7f7;
}

/** Fix ancestors cutting off the dropdown */
.custom-floating-dropdown {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 8px 0;
    max-height: 200px;
    overflow-y: auto;
    min-width: 160px;
    position: absolute;
    z-index: 9999;
    font-size: 14px;
}

.custom-floating-dropdown li > a {
    display: block;
    padding: 6px 15px;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.custom-floating-dropdown li > a:hover {
    background-color: #f7f7f7;
}

/** End Wishlist Dropdown Fix */

.custom-tabs .btn.btn-primary {
    --tp-btn-color: var(--tp-common-white);
    --bs-btn-bg: var(--primary-color, #0d6efd);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: var(--tp-common-black, #000);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--tp-common-black, #000);
    --bs-btn-active-border-color: transparent;
    color: var(--tp-btn-color);
    background-color: var(--bs-btn-bg);
    border-color: var(--bs-btn-border-color);
    border-radius: 0 !important;
}

.custom-tabs .btn.btn-primary.active,
.custom-tabs .btn.btn-primary:active,
.custom-tabs .btn.btn-primary.active:focus {
    background-color: var(--tp-common-black, #000);
    border-color: transparent;
    color: var(--tp-common-white, #fff);
    box-shadow: none;
}

.custom-tabs .btn.btn-primary:hover {
    background-color: var(--tp-common-black, #000);
    color: var(--tp-common-white, #fff);
    border-color: transparent;
}

/** End Fix */

#product-cuttable .cuttable-item {
    width: 140px !important;
}

#product-cuttable .input-group .form-control.cuttable-qty {
    min-width: 84px;
    flex: 1 1 auto;
}

#product-sheet-calculator .sheet-calc-item {
    width: 100px;
    min-width: 0;
    flex: 0 0 100px;
}

#product-sheet-calculator .input-group .form-control.sheet-calc-qty {
    min-width: 0;
    flex: 1 1 auto;
}

#product-sheet-calculator .d-flex {
    flex-wrap: nowrap !important;
}

/** Used in checkout to present client discount in paypal payment method */
.bookmark-discount {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #009CDE 0%, #003087 100%);
    color: #fff;
    padding: 5px 20px;
    font-size: 14px;
    transform: translateY(-50%);
    border-bottom-left-radius: 10px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/** Guest Tracking Form Styles */
.tracking-hero-wrapper {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/tracking.png') no-repeat center center;
    background-size: cover;
    min-height: 500px;
}

.tracking-title-hero {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tracking-subtitle-hero {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.tracking-card-glass {
    background-color: rgba(255, 255, 255, 0.9);
}

.tracking-alert-glass {
    background-color: rgba(220, 53, 69, 0.9);
    border: none;
}

.tracking-form-input-lg {
    height: 50px;
    font-size: 1.1rem;
    border: 1px solid #ced4da;
}

.tracking-form-btn-lg {
    height: 50px;
    padding: 0 30px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #343a40;
    border-color: #343a40;
}

/** End Guest Tracking Form Styles */
.track {
    position: relative;
    background-color: #ddd;
    height: 7px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 100px;
    margin-top: 50px
}

.track .step {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 25%;
    margin-top: -18px;
    text-align: center;
    position: relative
}

.track .step.active:before {
    background: var(--tp-theme-primary)
}

.track .step::before {
    height: 7px;
    position: absolute;
    content: "";
    width: 100%;
    left: 0;
    top: 18px
}

.track .step.active .icon {
    background: var(--tp-theme-primary);
    color: #fff
}

.track .icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    position: relative;
    border-radius: 100%;
    background: #ddd
}

.track .step.active .text {
    font-weight: 400;
    color: #000
}

.track .text {
    display: block;
    margin-top: 7px
}

.itemside {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%
}

.itemside .aside {
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.img-sm {
    width: 80px;
    height: 80px;
    padding: 7px
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.sortable-item {
    cursor: move;
    cursor: grab;
}
.sortable-item:active {
    cursor: grabbing;
}
.sortable-list {
    user-select: none;
}


.address-picker-table tbody tr {
    cursor: pointer;
}

.address-picker-table tbody tr:hover {
    background-color: var(--bs-table-hover-bg);
}


/** Coupon Remove Button */
.tp-cart-coupon-remove-btn {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 30px;
    background-color: var(--tp-theme-1, #dc3545);
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.tp-cart-coupon-remove-btn:hover {
    opacity: 0.85;
    color: #fff;
}

/** Fix hover gap for Category Menu */
.tp-category-menu-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: transparent;
    z-index: -1;
}