/** START CUSTOM MY ACCOUNT MENU (shofy baseline — alaf overrides live in the "Customer Account" section below, scoped under .alaf-customer-page) */

.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;
}

.bb-product-items-wrapper .row {
    --bs-gutter-y: 1.5rem;
}

.bb-product-items-wrapper .row > .col {
    margin-bottom: 0;
}

/** 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;
}

.progress-stock-bar {
    height: 8px;
}

.related-products-container {
    min-height: 14rem;
}

.stock-label-min,
.stock-label-max {
    font-size: 13px;
    font-weight: 500;
}

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

/* Customer sidebar - consistent white background across all pages (shofy baseline).
   Guarded with :not(.alaf-customer-page) because these are !important — without the
   guard they'd beat alaf's scoped .alaf-customer-page rules below on specificity alone. */
.bb-customer-page:not(.alaf-customer-page) .bb-customer-sidebar-wrapper {
    background: #fff !important;
    border-right: 1px solid #e5e7eb !important;
}

.bb-customer-page:not(.alaf-customer-page) .bb-customer-sidebar-wrapper .bb-customer-sidebar .bb-customer-sidebar-heading {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.bb-customer-page:not(.alaf-customer-page) .bb-customer-sidebar-wrapper .bb-customer-navigation .nav-pills .nav-item .nav-link {
    color: #64748b !important;
    background: transparent !important;
    border: none !important;
}

.bb-customer-page:not(.alaf-customer-page) .bb-customer-sidebar-wrapper .bb-customer-navigation .nav-pills .nav-item .nav-link:hover:not(.active) {
    background-color: #f8fafc !important;
    color: #475569 !important;
}

.bb-customer-page:not(.alaf-customer-page) .bb-customer-sidebar-wrapper .bb-customer-navigation .nav-pills .nav-item .nav-link.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.bb-customer-page:not(.alaf-customer-page) .bb-customer-sidebar-wrapper .bb-customer-navigation .nav-pills .nav-item .nav-link.active .nav-icon {
    color: #fff !important;
}

.bb-customer-page:not(.alaf-customer-page) .bb-customer-sidebar-wrapper .bb-customer-navigation .nav-pills .nav-item .nav-link .nav-icon {
    color: #94a3b8 !important;
}

/** Stock Notification Bell Icon */
.stock-notification-bell-btn {
    position: relative;
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.stock-notification-bell-btn:hover:not(:disabled) {
    color: var(--tp-theme-primary, #0d6efd);
    border-color: var(--tp-theme-primary, #0d6efd);
    background-color: rgba(13, 110, 253, 0.05);
}

.stock-notification-bell-btn:disabled,
.stock-notification-bell-btn.disabled {
    opacity: 0.6;
    cursor: default;
    color: #198754;
    border-color: #198754;
}

.stock-notification-bell-btn .check-overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    color: #198754;
}

.stock-notification-bell-btn .spinner-border {
    width: 16px;
    height: 16px;
}

/** End Stock Notification Bell Icon */

/* Fix stock-reservation-modal appearing behind backdrop */
#stock-reservation-modal {
    z-index: 1056 !important;
}

/** DEBOUNCED QUANTITY CHANGE STYLES */
.qty-change-debounced {
    position: relative;
}

.qty-change-debounced .tp-cart-input {
    width: 60px;
    text-align: center;
}

.qty-change-debounced.qty-update-pending .tp-cart-input {
    border-color: #ffc107;
    background-color: #fff8e1;
}

.qty-change-debounced.qty-updating {
    opacity: 0.6;
    pointer-events: none;
}

.qty-change-debounced.qty-updating::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -24px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #007bff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: qty-spinner 0.6s linear infinite;
}

@keyframes qty-spinner {
    to {
        transform: rotate(360deg);
    }
}

.cartmini__content .qty-change-debounced .tp-cart-input {
    width: 50px;
    height: 30px;
    font-size: 0.85rem;
}

.cartmini__content .qty-change-debounced .tp-cart-minus,
.cartmini__content .qty-change-debounced .tp-cart-plus {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    position: static;
    transform: none;
}

.cartmini__content .qty-change-debounced .tp-cart-minus:hover,
.cartmini__content .qty-change-debounced .tp-cart-plus:hover {
    background-color: #f0f0f0;
}

/** CART PAGE - DEBOUNCE PENDING STATE */
.tp-cart-input.qty-pending {
    border-color: #ffc107;
    background-color: #fff8e1;
    transition: border-color 0.2s, background-color 0.2s;
}

/** CHECKOUT QUANTITY UPDATE - LOADING OVERLAY */
.qty-checkout-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-checkout-loading-spinner {
    text-align: center;
}

.qty-checkout-loading-spinner p {
    font-size: 1rem;
    color: #333;
    margin-top: 1rem;
}

/* Filter Option Counters */
.filter-option-count {
    color: var(--bs-secondary);
    font-size: 0.85em;
    margin-left: 0.25rem;
}

.filter-option--unavailable {
    opacity: 0.5;
    pointer-events: none;
}

.filter-option--unavailable label {
    color: var(--bs-secondary);
    text-decoration: line-through;
}

/* Active Filters Bar */
.active-filters-bar {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.active-filters-bar__label {
    margin-right: 0.5rem;
}

.active-filters-bar__tag {
    font-size: 0.875rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 2rem;
}

.active-filters-bar__remove {
    color: var(--bs-secondary);
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.active-filters-bar__remove:hover {
    color: var(--bs-danger);
}

.active-filters-bar__clear-all {
    font-size: 0.875rem;
    color: var(--bs-primary);
}

/* Filter Collapsible Sections */
.bb-filter-collapsible {
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.bb-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0.75rem;
}

.bb-filter-toggle-icon {
    transition: transform 0.2s ease;
    display: inline-flex;
}

.bb-filter-collapsible.is-collapsed .bb-filter-toggle-icon {
    transform: rotate(-90deg);
}

.bb-filter-collapsible.is-collapsed .bb-filter-body {
    display: none;
}

/* Show More / Less */
.bb-filter-hidden-option {
    display: none;
}

.bb-filter-expanded .bb-filter-hidden-option {
    display: list-item;
}

.bb-filter-show-more-btn {
    display: inline-block;
    color: var(--bs-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.4rem 0 0;
    text-decoration: none;
}

.bb-filter-show-more-btn:hover {
    text-decoration: underline;
}

.bb-filter-show-more-btn .bb-show-less-label {
    display: none;
}

.bb-filter-expanded .bb-filter-show-more-btn .bb-show-more-label {
    display: none;
}

.bb-filter-expanded .bb-filter-show-more-btn .bb-show-less-label {
    display: inline;
}


/* Product Item Style 6 */
.tp-product-item-6 {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.tp-product-item-6__thumb {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.tp-product-item-6__thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tp-product-item-6__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-product-item-6 .tp-product-action {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 250ms ease;
}

.tp-product-item-6:hover .tp-product-action,
.tp-product-item-6:focus-within .tp-product-action {
    opacity: 1;
}

.tp-product-item-6__content {
    padding: 0.75rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tp-product-item-6__title {
    font-size: 0.95rem;
    line-height: 1.4;
}

.tp-product-item-6__title a {
    color: inherit;
    text-decoration: none;
}

.tp-product-item-6__title a:hover {
    color: var(--bs-primary);
}

.tp-product-item-6__price {
    margin-top: auto;
}

/** CART/CHECKOUT QUANTITY - HIDE NATIVE NUMBER INPUT SPINNERS */
.tp-cart-input[type='number']::-webkit-outer-spin-button,
.tp-cart-input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tp-cart-input[type='number'] {
    -moz-appearance: textfield;
    appearance: textfield;
}


.tp-cart-quantity .qty-change-debounced {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tp-cart-quantity .qty-change-debounced .tp-cart-minus,
.tp-cart-quantity .qty-change-debounced .tp-cart-plus {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tp-border-primary, #e0e2e3);
    border-radius: 4px;
    cursor: pointer;
}

.tp-cart-quantity .qty-change-debounced .tp-cart-input[type='number'] {
    width: 70px;
    height: 30px;
    text-align: center;
    font-size: 13px;
    border: 1px solid var(--tp-border-primary, #e0e2e3);
    background-color: var(--tp-common-white, #fff);
    padding: 0;
}

/* Contact form (alaf theme) — the theme removes the contact plugin's
   contact-public.css, so the field controls lose all styling. Re-add the
   essential input/select/label/message styling here, scoped to the theme's
   contact form wrapper so nothing else is affected. */
.tp-contact-form .contact-form * {
    box-sizing: border-box;
}
.tp-contact-form .contact-form .contact-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.tp-contact-form .contact-form .contact-column-6,
.tp-contact-form .contact-form .contact-column-12 {
    position: relative;
    min-height: 1px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.tp-contact-form .contact-form .contact-label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}
.tp-contact-form .contact-form .contact-label.required:after {
    content: " *";
    color: #dc3545;
}
.tp-contact-form .contact-form .contact-form-input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 8px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #55585b;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #e0e2e3;
    border-radius: 6px;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.tp-contact-form .contact-form textarea.contact-form-input {
    height: auto;
    min-height: 140px;
    resize: vertical;
}
.tp-contact-form .contact-form select.contact-form-input {
    height: 48px;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
}
.tp-contact-form .contact-form .contact-form-input:focus {
    border-color: var(--tp-theme-primary, #66afe9);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(102, 175, 233, 0.25);
}
.tp-contact-form .contact-form .form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0.125rem;
}
.tp-contact-form .contact-form .form-check .form-check-input {
    float: left;
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    margin-left: -1.5em;
    vertical-align: top;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.tp-contact-form .contact-form .form-check .form-check-input[type="checkbox"] {
    border-radius: 0.25em;
}
.tp-contact-form .contact-form .form-check .form-check-input:checked {
    background-color: var(--tp-theme-primary, #0d6efd);
    border-color: var(--tp-theme-primary, #0d6efd);
}
.tp-contact-form .contact-form .contact-message {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 15px 30px 15px 15px;
    border-left: 5px solid #eeeeee;
}
.tp-contact-form .contact-form .contact-message.contact-success-message {
    background-color: #c0edf1;
    border-color: #58d0da;
    color: #000;
}
.tp-contact-form .contact-form .contact-message.contact-error-message {
    background-color: #faeaa9;
    border-color: #f3cc31;
    color: #000;
}
@media (min-width: 768px) {
    .tp-contact-form .contact-form .contact-column-6 {
        width: 50%;
    }
    .tp-contact-form .contact-form .contact-column-12 {
        width: 100%;
    }
}

/* ===================================================================== */
/* alaf-only: rounded corners for shop filters, subcategory cards and    */
/* the top sort/per-page dropdowns. Scoped under .theme-alaf (added to    */
/* <body> in platform/themes/alaf/config.php) so shofy is unaffected.     */
/* ===================================================================== */

/* Sidebar search box ("Search...") */
.theme-alaf .tp-sidebar-search .tp-sidebar-search-input {
    border-radius: 30px;
    overflow: hidden;
}

.theme-alaf .tp-sidebar-search .tp-sidebar-search-input input {
    border-radius: 30px;
}

.theme-alaf .tp-sidebar-search .tp-sidebar-search-input button {
    border-radius: 0 30px 30px 0;
}

/* Filter panel box ("Finishing", brands, attributes, price, categories) */
.theme-alaf .bb-shop-sidebar .bb-product-filter {
    border-radius: 16px;
    overflow: hidden;
}

/* Inner filter search input inside a filter panel */
.theme-alaf .bb-shop-sidebar input.filter-input,
.theme-alaf .bb-shop-sidebar .filter-custom-search {
    border-radius: 30px;
}

/* Attribute swatches / visual filter items */
.theme-alaf .bb-product-filter-items.filter-visual .bb-product-filter-item .bb-product-attribute-text-display,
.theme-alaf .bb-product-filter-items.filter-visual .bb-product-filter-item .bb-product-attribute-swatch-display {
    border-radius: 8px;
}

/* Subcategory cards ("Sous-catégories" grid) */
.theme-alaf .bb-child-category-thumb {
    border-radius: 16px 16px 0 0;
}

.theme-alaf .bb-child-category-thumb-image {
    border-radius: 16px 16px 0 0;
}

.theme-alaf .card:has(.bb-child-category-thumb) {
    border-radius: 16px;
    overflow: hidden;
}

/* Top sort / per-page dropdowns ("Default", "-32") built by nice-select */
.theme-alaf .tp-shop-top-select .nice-select {
    border-radius: 30px;
}

.theme-alaf .tp-shop-top-select .nice-select .list {
    border-radius: 16px;
}

/* "Filter" toggle button on mobile / no-sidebar layouts */
.theme-alaf .tp-shop-top-filter .tp-filter-btn {
    border-radius: 30px;
}
